Search the blog

Pixels to rem SCSS function

How-tos

A very lean CSS reset

Design

The JavaScript window.location object

Development

Giving read emails a white background in Gmail (and increasing spacing)

Hosting and emails

Make an element act like a link with jQuery

How-tos

How to make single words wrap in CSS

How-tos

Determine if a PHP variable is a JSON object or JSON array

How-tos

Prevent direct access to a PHP page

How-tos

How to determine if a PHP array element is indexed or associative

How-tos

Validate an email using the same rules as a HTML 5 email input

How-tos

jQuery animated scroll-to links

How-tos

How to add a line to the end of a CSV file using PHP

How-tos

Only allow a PHP script to be run in CLI

How-tos

How to set up git in cPanel and use it to publish files

Development

Get all files in a directory as an array using PHP and ignoring . and ..

How-tos