April 2012
1 post
Essential PHP functions
Wow, these look superbly useful. I don’t know how many times a day I write the whole pre/print_r thing.
jacob:
function pre_r($array)
{
echo "<pre>" . print_r($array, true) . "</pre>";
}
function die_r($array)
{
die(pre_r($array);
}
December 2011
1 post
The first 90 percent of the code accounts for the first 90 percent of the...
– Tom Cargill
November 2011
1 post
Never memorize what you can look up in a book.
– Einstein
October 2011
8 posts
3 tags
WebGL: 3D Cars w/ Motion Blur, Reflections, etc.... →
The web is about to get really interesting.
2 tags
5 tags
Twitter's Bootstrap App Framework →
This has got to be one of the best collection of tools for beginning an application I’ve ever used.
Includes:
Styles for forms, common elements
Column based layouts
Navigation
UI Elements like notifications, pagination, modals, etc.
Bootstrap + CodeIgniter and I can get an app halfway working and somewhat presentable in a day or two.
Notificon :: Client-side favicon notifications. →
This is an awesome use of favicons.
ericbarnes:
Notificon is a BSD licensed javascript class for providing client-side favicon notifications. Instead of requiring a number of favicons be created and served up to the client, you can specify a label and a favicon (default being the current favicon) and it will generate a favicon notification.
Example is available here
3 tags
PHP Fog →
Just started using PHPFog for a project. I’ve always liked the idea of Heroku, but not using rails / node / etc as my primary platform, I’ve never implemented it. PHPFog gives you the ability to add projects, manage source with Git and, best of all, easily scale server resources.
So for a client of mine that’s a startup, they get cheap hosting when they’re small and then...
4 tags
March 2010
4 posts
August 2009
1 post
Javascript: Get query string as an object
A little function that takes the query string and turns it into an object thats easily referenced.
function queryString(){
var qArr = {};
var sstring = window.location.search.substring(1).split("&");
for (i=0;i<sstring.length;i++) {
var thisVal = sstring[i].split("=");
qArr[thisVal[0]] = thisVal[1];
}
return qArr;
}
July 2009
38 posts