Error whil creating super user in django1.4 on MAC

I got the following error while trying to create a super user from shell for django1.4.

This problem was rectified by running this command in terminal before adding the user export LANG=”en_US.UTF-8″ I’m guessing this character encoding problem while running syncdb is the reason for the following error while accessing admin section of django1.4 […]

Make command not found in Mac OSX

If you get a -bash: make: command not found error while trying to compile from source, you have to install xcode and then in xcode goto preferences->downloads and install xcode developer tools Download Xcode I’m not sure if you can install command lines without xcode. I can not test as I already have Xcode on […]

Trying cakePHP, lets see how it goes.

My growing list of direct AD sales was becoming hard to manage, dealing with direct AD sales was taking more time than it should actually take. It’s not streamlined. I lost AD revenue several times because I was too lazy to mail the advertisers about the renewal of their adspace. I always wanted to automate […]

Subtracting two dimensional arrays in PHP

In the development a WordPress plugin I had to subtract two dimensional arrays. I tried array_diff() function, unfortunately it doesn’t seem to work for two dimensional arrays. Even if it worked, it wasn’t exactly the functionality I wanted. Be warned, this isn’t exactly a alternate for array_diff(). For difference of two dimensional arrays you may […]