Trying to use MySQL with Python and getting an ImportError? Traceback (most recent call last): File “some_file.py”, line 4, in import MySQLdb as mdb ImportError:… Read More »ImportError: No module named MySQLdb (Python)
If you are using Classic ASP (yuck) to create an arabic section of a website you can search for the arabic string in your Request… Read More »Search for "arabic" is url request and change codepage – ASP
Today we have finalised for ourselves that Windows 7 is definitely a “better” operating system than Ubuntu 12.04 when it comes to desktop environments. Now,… Read More »Windows 7 is better than Ubuntu 12.04 on desktop!
I often wonder to myself where the technology industry is heading as I see new things come out almost daily. You look around and something… Read More »Where is Technology heading, perhaps we should focus more on Software?
You are no doubt trying to add a vhost and you get the following error when attempting to affect changes by restarting the http daemon… Read More »(EAI 2)Name or service not known: Could not resolve host name *.80 — ignoring!
Firstly let’s just note that crontabs are read in the following way: Your current crontabs can be viewed on your linux setup by typing in… Read More »How to Comment out a line in a Crontab on Linux
With the following function you can easily convert an integer containing seconds to a nice days, hours, minutes, seconds string or array. To use the… Read More »Convert seconds to days, hours, minutes, seconds in PHP
A common error which occurs with foreach loops is the standard “Invalid argument supplied for foreach()” whch gets thrown up as a warning. This can… Read More »Warning: Invalid argument supplied for foreach()
If you get the following error while trying to connect to a MySQL database using a third party client such as TOAD or SQL Workbench,… Read More »Unable to connect to any of the specified MySQL hosts.