Results for programming

A start in Android programming

Recently, with my blog ‘A look at mobile websites’, I gave a insight about the growth of use of smart mobile devices. These devices, which are glued to human hands, ears and eyes for more hours in the day than ever before, run on mobile operating systems, like iOS, Android, Symbian, Windows 7, etc. I thought it would be beneficial to dedicate this blog to introduce you to the fastest-growing mobile operating system in Google's Android.

read more
Software Recipes: Optimisation - the IF statement

Seems that the there's not much we as software programmers can do with the statements...But hey, did you know that double-digit-percentage optimisation results can be achieved with simple steps.

read more
How do I pass $_GET or $_POST to php via CLI?

For different reasons, I encounter this problem every year and kept forgetting how to solve this. So I thought I would write this solution as a blog so I always remember. :)First of all, the answer to the question is you cannot. Why?Because $_GET and $_POST (and a few others) are HTTP variables. Meaning they can only be accessed if you are running the PHP file behind a web server. If you are trying to run a PHP file via CLI(command Line Interface), you'll not get those $_GET and $_POST variables

read more
SSH login using config

My last blog, which discussed how you can login via ssh without entering a password, makes your life easier as you don't have to remember each and every password on every single computer.Not to mention, it ensures greater security as you are accessing the other computer with a key which only you have access to.This time I'll make ssh login even easier by using a config file.Instead of typing ssh with different arguments plus the long domain name or IP address and user name, you'll just need to t

read more
SSH login without a password

Tired of always typing your password when logging in to your server? Here are steps on how to you can eliminate the typing of your password and making it more secure when connecting to your server.

read more