Annoying IE Compatability Mode
I recently had to create a site for an education facility, and they turn on Compatibility mode for all their networked…
Disabling certain days in jquery UI datepicker
I wrote a site for my local pub and it involved a restaurant booking section. The user could select a…
Connecting to MSSQL
I have had to create a few PHP sites that connect to a MSSQL server. Not being down with setting…
Redirect certain IP address .htaccess
If you ever wanted to prevent certain IP addresses from accessing your site, you can easily acheive this in the…
Convert a MySQL database to UTF8
This is a “script” to convert your latin1 myisam database to utf8 innodb Dump the database mysqldump -u root -p database_to_convert > db.latin1.sql…
Convert Excel headers to numbers
Quite often I have to convert datasets from one source to another target. Sometimes I can only export them as…
Find a file containing a text string on Linux
There is a very useful command in Linux, called grep. It is a utility for searching plain text files using…
Google Fonts – nasty bold
Say you are using Google Web fonts for some CSS. Well, if you don’t include the correct bits you may…
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…
Check open ports on Linux
To run a scan on the port status on a Linux box, you can use the Nmap tool: nmap -sT…