(via iso50)
bramus/router — A lightweight and simple object oriented PHP Router
For one of the courses I teach I was in need of a PHP Router. Having explored the available routers out there I found they either were: Outdated Not object oriented(sorry Klein (which has been updated by now, but wasn’t at the time)) Rather bad at the separation of concerns(sorry Ham & Klein; a router …
Continue reading “bramus/router — A lightweight and simple object oriented PHP Router”
JSON.stringify()’s arguments
JSON.stringify() has more than one argument: value – the value one wants to convert to a string replacer – an array or a function to filter fields space – the number of spaces (or a string) to use for indentation var person = {“name”:”Jim Cowart”,”location”:{“city”:{“name”:”Chattanooga”,”population”:167674},”state”:{“name”:”Tennessee”,”abbreviation”:”TN”,”population”:6403000}},”company”:”appendTo”}; JSON.stringify(person, [“name”, “company”], 4); /* produces: “{ “name”: “Jim Cowart”, …
Save for Web Claws
Tell a four-word story
Google Streetview Hyperlapse
Barry – Save full length webpages as images using your iPhone and iPad
JavaScript Dubstep Generator
Superhero.js
We come across a lot of great articles on creating, testing and maintaining large JavaScript applications. This page is a continously updated list of articles that help explain the syntax of JavaScript, how to organize your projects, how to test your code, and what’s on the horizon. Superhero.js → (via @thijsvandevelde)
CSSCSS – A CSS redundancy analyzer that analyzes redundancy.
$ csscss path/to/styles.css path/to/other-styles.css {.contact .content .primary} and {article, #comments} share 5 rules {.profile-picture}, {.screenshot img} and {a.blurb img} share 4 rules {.work h2:first-child, .archive h2:first-child, .missing h2:first-child, .about h2, .contact h2} and {body.home h2} share 4 rules {article.blurb:hover} and {article:hover} share 3 rules CSSCSS will parse any CSS files you give it and let …
Continue reading “CSSCSS – A CSS redundancy analyzer that analyzes redundancy.”