Use MariaDB with PhpStorm

Update August 2018: PHPStorm now includes MariaDB as a schema type but does not include the driver files. It does offer to download the MariaDB driver for you, but if you want to use the native driver, install… Read More

Quickly reload a database

I’m mostly posting this to copy/paste when I forget, but it’s useful information nonetheless so lets have at it. Delete the database Create a new database Import SQL file into the new database Assume the mysql user/pass combo… Read More

Github and code review

I first wrote a post in March 2012 about code review with SVN. Since then, we’ve switched to Github and it’s awesome. Github isn’t free, buts its very inexpensive and amazing. Inline comments, automatic issue tracking, and you… Read More

IPv6 Subnet Calculator

I wrote a tool to organize subnet addressing for IPv6 Demo | Source Code A little about IPv6 An IPv6 address is 128-bits and commonly represented as eight colon separated groups with each group consisting of four hexadecimal digits. For the… Read More

iPad and iPhone Web Frameworks

Sencha Touch This is the gold standard of iPad web frameworks. It’s amazing (and free!), check out the kitchen sink demo. Project Page

Code Review

Where I work, we have a lot of new developers and people still learning the languages. When learning a language, being able to get feedback on your code is an invaluable learning asset. It lets the more experienced programmers help teach the… Read More

How do you measure productivity?

How do you measure your productivity while writing code? Judging a program’s success by lines of code (LOC) is like judging how successful an airplane is by its weight. Consider a more modern approach from Agile development called Weighted Micro… Read More

Quick CSS3 Fade Effect

Very simple fade effect for images that uses only CSS. .box_transition { -webkit-transition: all 0.3s ease-out; /* Saf3.2+, Chrome */ -moz-transition: all 0.3s ease-out; /* FF4+ */ -ms-transition: all 0.3s ease-out; /* IE10? */ -o-transition: all 0.3s ease-out;… Read More

LESS: The dynamic stylesheet language

Wow, just wow. Imagine if you could use variables in CSS… now you can. Here is the LESS website. The proposed method of using LESS is to write a style.less file and then include less.js which uses javascript… Read More