Name Section Description
Background Colour Slide
CSS
Shift a colour left to right, or right to left.
XAMPP MySQL start from command
Terminal
This command will start the mysql server if the XAMPP application is unable to force it.
Custom fonts not rendering
CSS
If you find you are having trouble rendering boostrap glythicons or font-awesome then its possible your service isn't...
Find website IP in Terminial
Terminal
Quickly find the IP address of any website via Terminial on a Mac using the nslookup command. Quick and...
FirstData credit card
Terminal
Visa card deatails for payment testing first data. 4035874000424977
Clockwise and anticlockwise spin in CSS keyframes
CSS
Feel like spinning an element? Using keyframes you can spin an element with this handy CSS animation, go...
SSH Keep Alive
Terminal
Create a config file within the ssh folder and configure with the settings below to greatly reduce the number of time...
Select a jQuery UI tab by link
jQuery
It will often be the case that you will need to trigger a jQuery UI tab from a bespoke link. This can be done...
Font smoothing
CSS
-webkit-font-smoothing: antialiased; is the webkit feature that smooths out custom fonts keeping them tidy and clean,...
LEVERAGE BROWSER CACHING
htaccess
Set cache header for front end files. I usually add this code once the website is online.
ENABLE GZIP COMPRESSION
htaccess
Enable GZIP file compression. Currently compress *.css, *.js, *.html, *.xml and your RSS. Please contribute by adding...
jQuery test if element exists
jQuery
This is a small plugin for jQuery to test if an element exists in the DOM. 
Using jQuery to target=blank
jQuery
Replicate the target="_blank" attribute with this HTML5 valid example in jQuery  
Rename File extensions
Terminal
bash script to rename file extensions
User Creation and Deletion and add them to sudoers and a custom linux user group
Terminal
Add and remove a user on a linux server set the password and add them to the list of sudoers.    The...
Create a DB user
Git
Creates a mySQL user called username with a password of password
Foreach loop with Bash
Git
Loops around a directory and echos each folder.  
Install Git on CentOS
Git
Install git on CENTOS
JQuery Toggle Button
jQuery
Button that toggles UI animation
Vimeo Video XML using oembed
PHP
Use oembed to pull an xml of a specific video using its URL.
YouTube Video XML using oembed
PHP
Use oembed to pull an xml of a YouTube video using its URL. Using simplexml_load_file you are able to convert the XML...
Using Border-box
CSS
Setting box-sizing to border-box brings padding and border values within the width specified, gone are the days of...
chmod recursively files only
Terminal
chmod recursively to directories only, adjust -type d to -type f to target files exclusively
chmod recursive directories only
Terminal
chmod recursively to directories only, adjust -type d to -type f to target files exclusively
FTP setup commands
Terminal
Setup up FTP
Clear Google PageSpeedMod Cache
Terminal
Clear Google PageSpeedMod Cache
Match last word after delimiter
PHP
Match last word after delimiter
Copy a trunk to branch
SVN
copy a trunk in svn
Flush Local DNS on Mac
Terminal
Flush the DNS cach for the following Mac OS'sOS X Yosemite Use the following Terminal command to reset the DNS cache:...
Update host files on a mac
Terminal
Update host files on a mac