Siri, start my car

That, of course, was inevitable: Here’s proof with my car of using my “Viper Control” plugin with plamoni’s “Siri Proxy” to start and stop my Viper SmartStart enabled vehicle. The command is sent from Siri to a Viper server, then relayed via cellular connection to the car. The car then broadcasts an update via RF …

punycode.js

A robust javascript Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms Allows you to do stuff like: // encode/decode domain names punycode.toASCII(‘mañana.com’); // ‘xn--maana-pta.com’ punycode.toUnicode(‘xn--maana-pta.com’); // ‘mañana.com’ punycode.toASCII(‘☃-⌘.com’); // ‘xn—-dqo34k.com’ punycode.toUnicode(‘xn—-dqo34k.com’); // ‘☃-⌘.com’ // encode/decode domain name parts punycode.encode(‘mañana’); // ‘maana-pta’ punycode.decode(‘maana-pta’); // ‘mañana’ punycode.encode(‘☃-⌘’); …

Photoshop-style blend modes for HTML Canvas Contexts

Adobe Photoshop has a variety of helpful blend modes for compositing images from multiple RGBA layers. This small library provides the same functionality for HTML Canvas Contexts, with the goal of producing the same results as Photoshop. Allows you to do stuff like: // Likely an ‘offscreen’ (not in the DOM) canvas var over = …

Instagram Unshredder Challenge: Javascript Solutions

Recently the engineers at Instagram challenged the interwebs to write some code that unshreds a chopped up image. Some of us took the liberty of solving the problem in Javascript, although it wasn’t one of the languages suggested. Solution by Joe Lambert Solution by Ron Ilan Solution by Diego Ferreiro Be sure to check and …

Developer Tools in Firefox Aurora 10

Aurora 10 (the next version of Firefox) now sports built-in developer tools. Using built-in tools, you can now peek into your page’s structure and layout. Choose “Inspect” from the “Web Developer” menu and you can visually select the page element that is of interest to you. Be sure to note Robert Nyman‘s comment in the …