Setting up Postfix to use an external mail server
Sometimes sending mail to a dev account is all well and good, but if the mail server you are sending to is not accepting the mail for one reason or…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
Sometimes sending mail to a dev account is all well and good, but if the mail server you are sending to is not accepting the mail for one reason or…
To run a scan on the port status on a Linux box, you can use the Nmap tool: nmap -sT -O localhost Obviously localhost can be a fully qualified domain…
Using Vagrant as a dev environment is great apart from when it goes arry after an OS crash, or battery fault… Chriss-MacBook-Pro:ceta chris$ vagrant reload Setting the name of the…
I use the openvpn command line to connect to a certain VPN site, and I get annoyed at having to find the password everytime So, in the .ovpn file, there…
I wanted to pass a simple key/value string to an Ajax request, but you cannot simply use the variable as the key in the data: var $fieldname = 'company_name'; var…
I often have the problem that the autosuggest isn’t flexible enough, and I need to show contact name AND client name in the drop down Here is a way you…
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…
I needed a custom sort column for jquery tablesorter (http://tablesorter.com/docs/) for dates in the format of 12-Aug-2013 as the default tried to sort it as a string Was quite complicated…
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…
MySQL allows you to profile queries, enabling you to see whats being run on your server. They are stored in a special profile table in the INFORMATION_SCHEMA database. You can…