[20 Feb 2011 | 2 Comments | ]

For the most part, WordPress is easy to use and you can set up your site in a few hours. This assumes everything works as expected. If things don’t work out as you have expected, then it will take some more troubleshooting to get to the root cause of the problem.

Read the full story »

Linux »

[4 Nov 2013 | No Comment | ]
Search for a string in a directory of files

Suppose you have a string that you want to search in a directory. How would you do it? What if this directory contains many files and sub-directories? What if you want to search the string in a particular set of files?

Linux »

[30 Jun 2013 | No Comment | ]
Read from a standard input and write to a standard file

In golf, a tee is a stand used to support a stationary golf ball so that a player can strike it. In Unix, a tee is a program used to read a standard input and write to a standard output and file.

Macintosh »

[21 May 2012 | No Comment | ]
Un-hide the User Library Folder

Why did Apple decide to hide the ~/Library folder in OS X Lion? Does it cause less problems for users if it is hidden. I think not. I think it creates more confusion. When I got my Lion, I could not find it on my Finder. Apparently, it’s an issue for other users too.

Linux »

[19 May 2012 | No Comment | ]
Ubuntu Blank Screen on Boot

Have you ever installed Ubuntu, rebooted and then got a blank screen? It does not mean Ubuntu has crashed on you. This has happened to me on version 10 and 11 of Ubuntu. It appears Ubuntu does not have video drivers for certain video adapters such as Nvidia cards.

Mobile »

[19 Feb 2012 | No Comment | ]
Learning Corona SDK by Examples

Do you want to build fast applications for the iPhone and Android mobile devices? If so, you probably already know about the Corona SDK. It is gaining steam throughout the world.

There are many modules created by the community. These modules are free to download and make it a lot easier to write applications for the mobile devices. I have listed below some useful modules for the Corona SDK you can use right now.

Linux, Macintosh, Windows »

[10 Jul 2011 | No Comment | ]
Send a Test Mail Using Telnet

When you are having a problem sending a mail message, the first thing you want to do is test the SMTP (Simple Mail Transfer Protocol) connectivity. By default, SMTP listens on port 25. By using telnet, you can connect to port 25 on the mail server and test whether or not you can send a message. This step is done on your own workstation. If you are having a problem sending mail from a web form, run this step from the server that is storing the web form.

Linux »

[19 Jun 2011 | No Comment | ]
What does

If you work with Unix systems, you may come across some strange commands such as numbers with greater than sign and ampersand. To the untrained viewer, these commands may appear gibberish, but in reality they do mean something meaningful. Their compactness brings about the elegance and beauty of Unix.
When I first saw the command such as the following in a crontab file, I was confused. I did not know what to make of it. Documentation for this command was very limited and required a lot of digging around to uncover what …