As a follow on to my post about using a Git hook with PHP Code Sniffer to make sure that you’re committing good PHP code, this post is going to cover doing the same thing to make sure that your JavaScript passing a JSLint check. The only pre-requisite to get this to work is to […]
Posts in the Randomness category:
The Best Way To Vertically Center with CSS
If there is one thing that’s truly annoying in CSS, it’s trying to vertically center an element inside a parent. You’d think vertical-align:center would work, but normally it doesn’t. display:table-cell often has other issues that need working out. So where does that leave us? Enter transform. Most people only think to use transform to rotate […]
PHP 7 + Apache 2.4 + Ubuntu 14.04
It’s a pretty exciting time in the PHP development world. The release of PHP 7 is just around the corner. Which means now is the time to start testing if sites work with it or not. Here I’ll walk you through setting up a local server running PHP 7, with Apache 2.4 and Ubuntu 14.04. […]
Font-Based Spinners With Font Awesome
This is pretty awesome, and I hadn’t noticed it before. Until now I’ve used image based spinners for everything, but now with Font Awesome you can use fonts. Which means you can easily size them and change colors. It won’t work in IE8 or IE9 as it’s CSS3 animations, so keep that in mind.
Leave The Link Credit When Using Free Templates
This post is more personal opinion than any tip. On this blog I’m using a free template. It’s one that I found using the theme installer. It’s GPL, meaning I’m certainly free to remove the link in the footer. The author of this template (Simone) actually put two links in in addition to the link […]