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 …

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 …

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 …

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 …