Finding text in files in a folder
Quite often I find myself looking for files which contain the same text. Mainly config settings, etc. On linux you…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
Quite often I find myself looking for files which contain the same text. Mainly config settings, etc. On linux you…
If you are trying to mathematically calculate the percentage that something was overbooked then this calculation will work: 100 x…
Jquery is everywhere, its good. People like it. Its easy(ish) for beginners to create great web apps. It’s also large,…
Annoying to find, so a quick easy to find snippet here <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>New…
Simple syntax to create a super user (for editing users and dropping schemas etc) CREATE USER 'superuser'@'%' IDENTIFIED BY '[password]';…
You have some data which many users edit often, and you want to return a field with some sort of…
In order to compact a virtualbox VDI file and recover some of the lost space (especially useful when using a…
I’ve used openvpn on Mac (using Tunnelblick) for a few years for a home->work VPN connection with no issues, and…
We’ve been using a bit of a google doc recently for logging stuff, and sometimes cells get missed. I wanted…
I often need to check my WAN IP address – so this little command will do it for you in…