Web Bluetooth API in Chrome

navigator.bluetooth.requestDevice({ filters: [{ services: ['battery_service'] }] })
.then(device => {
  // Human-readable name of the device.
  // Indicates whether or not the device is paired with the system.
  // Filtered UUIDs of GATT services the website origin has access to.

  // Attempts to connect to remote GATT Server.
  return device.connectGATT();
.then(server => {...})
.catch(error => { console.log(error); });

Web Bluetooth API is at the time of writing partially implemented in Chrome OS M45 behind an experimental flag. [Once enabled] you should be able to scan for and connect to nearby Bluetooth devices and read/write Bluetooth characteristics.

In future releases you should also be able to subscribe to notifications and stuff like that.

Interact with BLE devices on the Web →

Elsewhere , , , Leave a comment

Crayon.css – Because colors have a name


Crayon.css is a list of css variables linking color names to hexadecimal values, usable with postCSS or with your favourite CSS preprocessor, being it Stylus, Sass or Less.

Crayon.css →

Elsewhere , , , Leave a comment

PHP Markdown

use \Michelf\Markdown;
$my_html = Markdown::defaultTransform($my_text);

This is a library package that includes the PHP Markdown parser and its sibling PHP Markdown Extra with additional features. Originally it was a port to PHP of the Markdown tool written by John Gruber.

Here’s how to get it via Composer:

composer require michelf/php-markdown

PHP Markdown →

Elsewhere , , Leave a comment

Alfred.app workflow for Trello


Quickly access any of your Trello boards, tickets, etc. straight from Alfred (Powerpack required).

Trello for Alfred.app →

Elsewhere , , , Leave a comment

STF – Control and manage real Smartphone devices from your browser


STF (or Smartphone Test Farm) is a web application for debugging smartphones, smartwatches and other gadgets remotely, from the comfort of your browser.


Wow, looks good!

STF | Smartphone Test Farm →

Elsewhere , , , Leave a comment

Word Wars


Gets the latest news from The New York Times. Filters them by keywords related to WAR. Renders a 720p video mimicking the STAR WARS crawl. Uploads to Youtube

Here’s the first episode:

Source available on GitHub :)

WORD WARS — News from the Empire →
Word Wars Source (GitHub) →

Elsewhere , Leave a comment

“It’s a UNIX system. I know this!”


Films rarely depict computing accurately – largely because, let’s face it, sitting in front of a terminal hacking away is hardly the most exciting thing to watch. Back in Jurassic Park, when Lex was trying to hack into the computer system to get the power back online, she used a 3D file manager. Lots of people liked to cite this as a great example of how Hollywood just ‘didn’t get’ computers. What most people fail to realise is that FSN, the File System Navigator, was a demo system tool from Silicon Graphics IRIX.

Jaw. Drops.

Here’s a demo of FSN (pronounced “Fusion”):

FSN – the IRIX 3D file system tool from Jurassic Park →
FSN (Wikipedia) →


Elsewhere , , Leave a comment

Fargo – Season 2

The all new “true crime” case in Fargo’s latest chapter takes you back to 1979 in Sioux Falls, South Dakota and Luverne, Minnesota. “Lou Solverson”, a young State Police Officer recently back from Vietnam, investigates a case involving a local crime gang, a major mob syndicate and a small town beautician “Peggy Blumquist” along with her husband “Ed”, the local butcher’s assistant. Helping Lou piece things together is his father-in-law, “Sheriff Hank Larsson”.

If you haven’t seen the first season – storywise unrelated to this second one – yet, I’d really recommend it.

Elsewhere , , , Leave a comment

Echochamber.js – All of the commenting, none of the comments.


echochamber.js is a third-party script you can install to add a simple comment form to your blog post or website.

Nothing new, right? Wrong! There’s a rather cunning twist:

When a user submits a comment, echochamber.js will save the comment to the user’s LocalStorage, so when they return to the page, they can be confident that their voice is being heard, and feel engaged with your very engaging content. It does not make any HTTP requests. Since LocalStorage is only local, you and your database need not be burdened with other people’s opinions.

Hilarious! Perhaps this could be of use over at The Verge.

Echochamber.js →

Elsewhere , , , , Leave a comment

Lightyear.fm – A journey through space, time, and music


Radio broadcasts leave Earth at the speed of light and travel outwards into space. Follow them through the Milky Way as you scroll backwards through time and listen to what the stars hear.

Built using Three.js. Taking a look at the source code reveals all tracks used.

And oh, don’t forget the “Inverse Square Law of Propagation”:

Although Lightyear.fm has radiowaves reaching over 100 lightyears into space, due to the Inverse Square Law of Propagation, any terrestrial radio broadcast would become nothing but background noise just a few light years away from Earth.

Lightyear.fm →

Elsewhere , , , , Leave a comment