Getting wkhtmltopdf working on Linux
I’ve had a few troubles getting this running, and thought I would document it here. First of all get the static binaries from the wkhtmltopdf site And then install the…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
I’ve had a few troubles getting this running, and thought I would document it here. First of all get the static binaries from the wkhtmltopdf site And then install the…
IMAP To get imap support in PHP on your Mac, you need to get the php_imap module compiled for your version of PHP. I have attached mine to this to…
If you have just set up a new Centos server and found that the network isn’t functioning, and you have no IP address for it then fear not, its a…
find / -xdev -size +1000000 -exec ls -lh {} \; The above will list files greater than a gigabyte in size… YOu can pipe it to a file if you…
If like me you need to check out the PHP error log, but its bloody massive, you might want to take the last few lines of it. tail -x log_file…
Its really very easy to have two Dropbox account clients runing on your Mac if you use Dropbox Encore. Not quite sure who writes it, either Dropbox or the Gandalf…
So you’ve made changes to your Apache config, but there are hundreds of uses currently online. To reload the config changes without restarting the service or server, you can run…
GZIP and TAR are two different utilities bound by the same cause. Compressing files and making file catalogs. To compress a file, simply gzip it: $> gzip database_dump.sql That will…
On Mountain Lion, I found that the my.cnf file is missing. This is because Mac uses the default MySQL settings and therefore doesn’t require a config file. If you want…
So you want to stop MySQL, or restart it? sudo /usr/local/mysql/support-files/mysql.server start sudo /usr/local/mysql/support-files/mysql.server stop sudo /usr/local/mysql/support-files/mysql.server restart