OpenVPN on Linux – save password
My Linux box is secure, so why do I need to remember the extremely difficult to remember password for one of my OpenVPN connections? I don’t. On Linux, I create…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
My Linux box is secure, so why do I need to remember the extremely difficult to remember password for one of my OpenVPN connections? I don’t. On Linux, I create…
Finding files is a little different to MS DOS! find <startlocation> <type> <filename> <exec> The exec is a simple way of performing functions on the results. If you leave it…
Had a routing issue the other day, and I was remotely trying to forward a port to a device. I didn’t know the MAC address of the device, and my…
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…
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…
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…
This application is awesome. I love it. Its a really easy to use but comprehensive time tracker. If you’re always flicking between tasks and you can never keep up with…
Taken from http://linuxinternetworks.com/applications/how-to-install-skype-on-centos6-rhel6/ Run update and install wget yum update yum install wget Install the dependencies and download the skype for enterprise linux yum install libXi.so.6 libXss.so.1 libasound.so.2 libXv.so.1 libSM.so.6…
I often forget the syntax for getting files over a SSH connection. scp user@address:/path/to/file /path/of/new/file For example: scp root@domain.com:/tmp/mysql/test.sql . Will transfer test.sql to the current folder (.) Also, if…