Log in to SSH with no password
So you want to have your password remembered by a remote SSH connection? Easy, following these steps On your local machine, create a new SSH key: ssh-keygen It will ask…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
So you want to have your password remembered by a remote SSH connection? Easy, following these steps On your local machine, create a new SSH key: ssh-keygen It will ask…
Subversion, by default will stop you from editing a log message after its been committed. This is because SVN has a powerful feature called ‘hooks’ that enable the repo administrator…
I have a particular Linux set up I need to test something on, but I use a Mac, so I use VirtualBox with a Linux VM for the testing. So,…
If you are trying to ignore a file and git is mucking you about, it may be because the file you are trying to ignore is already in the repository,…
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .* index.php/$0
I found that a script I was running was calling some linux functions using exec() but they weren’t always successful and I couldn’t tell why. exec('command to run'); This would…
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…
So you got a nice 64GB USB stick, and can’t format it NTFS but want to transfer huge files on it. You probably formatted it with eXfat (Windows Vista, 7,…
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…