Stupid Microsoft error messages
Why is it that the Microsoft developers have an inability to get their systems and processes to output a meaningful error message now and again? I mean, is it really that hard? I try to stay away from company slagging, but Microsoft, really…? I have recently bought an XBox 360 and I think its great. [...]
How to use mysqldump
Using mysqldump to back up a database If you want to make a super quick backup of a MySQL database, the best tool for the job is the native mysqldump. Its also a command line utility, so you can use it from a telnet or SSH connection, etc… The basic command structure of mysqldump is: [...]
Zend_Db – Performing a LIKE search
When performing a simple SQL search using Zend_Db_Select, $select->where(‘name = ?’, ‘chris’); But what if you want to do a LIKE search? $select->where(‘name LIKE ?’, ‘chris%’); Simples.
Linux – CHMOD 777
Just a note, when you update the permissions of a file: chmod +777 somefile.txt This change will only last as long as the session is logged in, i.e. once you reboot, it will revert back to what the permissions were.