In 2012, a group of researchers at UCLA discovered they could make single-layer sheets of graphene by coating a DVD with graphite oxide and then “playing” the disc in a plain old DVD drive. And then in a happy accident, they found that graphene has ususually high supercapacitance properties, which could mean that graphene could …
Monthly Archives: March 2013
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
Sublime Web Inspector — Debug JavaScript in SublimeText
CSS Jellyfish
wp-cli — A command line interface for WordPress
wp-cli is a set of command-line tools for managing WordPress installations. You can update plugins, set up multisite installs, create posts and much more. Once installed, you can run commands such as: wp plugin install hello-dolly which will output: Installing Hello Dolly (1.5) Downloading install package from http://downloads.WordPress.org/plugin/hello-dolly.1.5.zip … Unpacking the package … Installing the …
Continue reading “wp-cli — A command line interface for WordPress”
Pusher — HTML5 WebSocket Powered Realtime Messaging Service
Pusher is a hosted API for quickly, easily and securely adding scalable realtime functionality to web and mobile apps It’s as easy as subscribing to a channel: var channel = pusher.subscribe(‘my-channel’); channel.bind(‘my-event’, function(data) { alert(‘Received my-event with message: ‘ + data.message); }); and pushing messages to it: pusher.trigger(‘my-channel’, ‘my-event’, { "message": "hello world" } ); …
Continue reading “Pusher — HTML5 WebSocket Powered Realtime Messaging Service”
Docverter
Firefox CSS live editing via SublimeText
A lot of editors are scriptable in Python. And Firefox has remote capabilities. So we are building a python library that can be used by editors to interact with Firefox (desktop or mobile). We could for example add JS breakpoints from Vim, or edit the code of the current page from SublimeText. Note that the …