Author Archive
Working on an Android Game
Lately Ali and I are planning to work together on a simple free android game. We thought of working on IPhone first, considering the volume of users we could reach. But eventually, we could not resist the simpler Java language over the cryptic Objective C. We will think about porting to IPhone after the Android [...]
Progress Bar to display server’s script execution: using JQuery/JQueryUI
Until now, you have been opening a shell or terminal to execute your script, but now your boss wants to be able to execute the script, but he doesn’t know anything about CLI(command line interface) commands. So, what can you do? how about having a web interface that allows him to easily activate the script. [...]
Absolute beginner’s guide to Eclipse
Following article is a part of my Lab exercise for Eclipse course I am taking during Winter2011.
Click here for the java files used to create this tutorial
When Eclipse is run, it asks for a workspace location. I will use ./wksp/basics/labs. You can choose to use this workspace by default by ticking the checkbox. Eclipse starts [...]
Adapter design pattern
Adapter pattern adapts a piece of code to work with another. In real world, consider a battery charger for your phone. If you went for vacation to a somewhere in Europe, your charger won’t fit into the wall outlet. You would need a piece that can wrap your that fits into the socket in [...]
This batch file will lessen your sqlplus login frustration at zenit server.
If you are in DBS501 like me, you must be frustrated with sqlplus command. Why did they remove the good old isqlplus and instead put sqlplus. The problem with the sqlplus for most of us is because of connection problem.
If you haven’t modified the ora file to include host address for neptune, you must do [...]
CSS Layout without the hassle of div position
Tables are for tabular data. Div with CSS has been the new layout trend. With div and css, the code is much cleaner and accessible. But div positioning is something I always had problem with. But now using float attribute, I can create CSS Layout in much easier way.
I just watched a very good video [...]
Reading about how to customize WordPress
I have been reading about WordPress this weekend.
WordPress is a Web CMS that can be used to create a blog. By default, it is set to create blog. But lots of website use WordPress as the base website and customize it to create amazing websites.
I still need to hone my CSS 2 skills, specially the [...]
JQuery rocks !!!
JQuery is a libray of javascript functions that can be used for creating a website. Once JQuery is installed and included in your document, you have access to $ function or the jQuery(). I am reading a cookbook on JQuery on my ipod touch. Also got a cool ipod app with JQuery references.
One of the [...]
Earthquake in Toronto
Wow, there was small earthquake in Toronto at about 1:40pm today. It lasted for about 10 seconds. I was not sure if the house I was in was shaking or was it really an earthquake. I was about to run out of the house but the earthquake stopped. So I turned on the tv and checked CP24. It was showing a live speech by Obama. As soon as Obama’s speech was over, then CP24 talked about the earthquake. There were people calling CP24 about the earthquake and telling their experiences. It was funny. Why did these people call the news? and they had the phone number of CP24 handy too? wow..these people are resourceful, they can get you a phone number of the tv news in the middle of an earthquake.
Singleton Pattern
In Singleton Pattern, the class can only create a single instance. We want a class to have only a single instance for various reasons.
Sometimes, we want use a global object to keep information about your program. This object should not have any copies. This information might be things like configuration of the program, or a [...]

