Managing Proxy Authentication and Exclusion List

February 28, 2013 10:45 pm Leave your thoughts

A lot of companies have implemented firewalls and closed off direct external internet access for security reasons. This results in developers going through proxy servers (internal to the company) in order to access external websites. Normally, these proxy server can be configured through the OS global configuration or through individual... View Article

Counting Associative Array Length in JavaScript

February 26, 2013 1:47 pm Leave your thoughts

Before we look at the code snippets, yes there is no such thing as associative array in JavaScript, they are all objects. But really, a lot of people search for “how do we  get JavaScript associative array length?” so I might as well publish this short post. So say we have an... View Article

Super small USB drive sticks

February 25, 2013 6:37 pm Leave your thoughts

Anyone who has bought the 128GB or even 256GB MacBook Pro will eventually know how precious disk space really is. The common solution is of course moving off the unneeded files such as music, books, etc to external storage such as usb hard drive or usb drive sticks. The problem is, if... View Article

Code Standards: Who Cares?…Right?

February 21, 2013 8:20 am Leave your thoughts

If I remembered correctly during my university years there were very little reasoning provided for adhering to code standards apart from the occasional fear that we might lose mark. This is not the right attitude to be taught to budding programmers, it lacks the long term reasoning of software maintenance.... View Article

Instant Messenger at Work – Chatting at Work

February 17, 2013 4:36 am Leave your thoughts

The Danger of Interruptions The worst problem is of course the fact that according to a research, interruptions drop a person’s IQ up to 10 points which is 4 points more than smoking marijuana 1, concerning indeed. The paper also further explained that in order to return to the fully... View Article

On Playing Computer Games for Education

February 10, 2013 10:19 pm Leave your thoughts

I think getting kids to play PC games are on of the best education tools (keeping in mind the age ratings of course). Note that I’m talking about PC not the general console games as they are pretty much plug and play. The idea is to get them curious with... View Article

Running UNIX/Linux command as anyone

February 7, 2013 11:18 pm Leave your thoughts

Sometimes you need to run a command in the terminal as another user in the system. I forgot the way to do this all the time, so here’s a little code snippets on how to do so. sudo su -s /bin/sh <insert user here> -c "CMD HERE"