QR Code Terminal

qrcode-terminal is a tiny npm module that allows you to encode text as a QR code and render it to a UNIX-compatible terminal. // render QR code to the console qrcode.generate(‘http://michaelbrooks.ca’); // return QR code as a string qrcode.generate(‘http://michaelbrooks.ca’, function (qrcode) { console.log(qrcode); }); QR Code Terminal →

Teton Gravity Research Aerial Reel – The Bay Area in 4K

From the Golden Gate Bridge to Alcatraz to the Bay Lights at night, see the Bay Area’s most iconic locations like you’ve never seen them before. Shot in 4K/”Ultra-HD,” Teton Gravity Research presents the first footage from their new RED Epic-equipped gyrostabilized camera platform: The GSS C520.

Silex Code Fiddles/Examples

For the course Webscripting2 I’m lecturing at ikdoeict.be/KaHo Sint-Lieven, we’re working with Silex. Next to the slidedeck explaining Silex, all examples are freely available on GitHub (links at the bottom of this post) The collection of examples start with the very basics of Silex and introduce more routing options and services as they continue. Basic:The …

Événement — PHP Event Dispatcher

Événement is a very simple event dispatching library for PHP. It has the same design goals as Silex and Pimple, to empower the user while staying concise and simple. Concise indeed. At the core it’s a tad above 50 lines of codes. Listening for events: $emitter->on(‘user.created’, function (User $user) use ($logger) { $logger->log(sprintf(“User ‘%s’ was …

How to troll frontend web developers

@media only screen and (min-width: 960px) and (max-width: 970px) { body { -webkit-transform : rotate(180deg); -moz-transform : rotate(180deg); -o-transform : rotate(180deg); transform : rotate(180deg); } } That’ll teach them, constantly resizing their browser windows and what not! — Puh! (via)

Sublime Web Inspector — Debug JavaScript in SublimeText

Set and remove breakpoints right in SublimeText See all console messages with level See object properties See a stack and all variables (local, global, closure) Evaluate selection on current call frame Live reload Sublime Web Inspector →