Naming things is by far the most difficult part of writing CSS. This is because we can’t predict the future. A class name might make perfect sense one day, then the design changes, and it’s a misnomer the next day. We’re then tasked with refactoring our markup and styles so that they make sense. Yuck. …
Tag Archives: link
The Sound So Loud That It Circled the Earth Four Times
Think, for a moment, just how crazy this is. If you’re in Boston and someone tells you that they heard a sound coming from New York City, you’re probably going to give them a funny look. But Boston is a mere 200 miles from New York. What we’re talking about here is like being in …
Continue reading “The Sound So Loud That It Circled the Earth Four Times”
The Physical Web
The Physical Web is an approach to unleash the core super power of the web: interaction on demand. People should be able to walk up to any smart device: e.g. a vending machine, a poster, a toy, a bus stop, a rental car, and not have to download an app first in order to use …
Build your own PHP Framework with Symfony Components
switch($_SERVER[‘PATH_INFO’]) { case ‘/’: echo ‘This is the home page’; break; case ‘/about’: echo ‘This is the about page’; break; default: echo ‘Not found!’; } Good introduction on the Sitepoint website to getting started with a few of the Symfony Components. Starts with the example code above and – one by one – introduces the …
Continue reading “Build your own PHP Framework with Symfony Components”
Monit – Easy, proactive monitoring
check host localhost with address 127.0.0.1 if failed ping then alert if failed port 3306 protocol mysql then alert check process apache with pidfile /var/run/httpd.pid start program = “/etc/init.d/apache2 start” stop program = “/etc/init.d/apache2 stop” Monit is a small Open Source utility for managing and monitoring Unix systems. Monit conducts automatic maintenance and repair and …
The Ultimate Guide To iPhone Resolutions
The Bézier Game
Building OS X Apps with JavaScript
OS X Yosemite introduced JavaScript for Automation. This makes it possible to access native OS X frameworks with JavaScript. The result above can be built using this code: ObjC.import(“Cocoa”); var styleMask = $.NSTitledWindowMask | $.NSClosableWindowMask | $.NSMiniaturizableWindowMask; var windowHeight = 85; var windowWidth = 600; var ctrlsHeight = 80; var minWidth = 400; var minHeight …
Manual Camera for iPhone
Storing MD5 values
A common occurrence I have noticed in MySQL apps is that MD5 values are stored as 32 byte values rather than 16. Just to ‘rehash’, an MD5 value is a 16 byte hexadecimal value, typically used as a unique fixed-length signature of a string, useful for identifying unique strings or one-way encryption of passwords. The …