Chemicaloliver - chemicaloliver.net - Oliver Smith

Latest News:

Fixing Email Addresses in Git Repos after migration from Mercurial using Fast Export 30 Mar 2013 | 11:36 pm

Migrating repos from Mercurial to Git can be achieved by a variety of methods. The best method I’ve found is to use fast-export (not HgGit), however regardless of the method  they all borked the impor...

Cropping videos using ffmpeg / libav / avconv 30 Dec 2012 | 05:43 pm

Explanatory note: Ubuntu (my distro of choice) and others are transitioning from ffmpeg to libav, libav is a fork of ffmpeg and most tools are drop in compatible, the method described in this post sho...

Atomic Counters using Mongodb’s findAndModify with PHP 9 Jul 2012 | 05:42 am

A common problem when developing web applications is the ability to generate unique sequential numbers, my recent use case was an API which generated an order number on receiving an order but before t...

Styling the HTML5 Meter Tag Using the Shadow DOM 20 May 2012 | 09:27 am

Almost three years ago I read an article on html5doctor describing the meter tag, during the course of the article an example is given of the http://www.justgiving.com/  gauge of how near you are to y...

Inspecting the Shadow DOM using Google Chrome 20 May 2012 | 02:27 am

Over the past year or so there has been much hype surrounding the shadow DOM and the new options it allows for styling standard elements such as <input> or <progress>, it can be used with any element ...

Using PHP – Resque with Silex and the Symfony2 Classloader 12 May 2012 | 08:43 am

Resque is a popular Redis-backed Ruby library for creating and processing background jobs, this is all well and good if you’re building applications in Ruby but fortunately for those, like me, who pre...

HTTP Basic Auth in Silex 8 May 2012 | 03:08 am

Silex is a great platform for building small web applications and APIs, recently I’ve been using it to build an API with only a couple of routes. As this API will only be used by a couple of users it ...

JSON Error / Exception Messages in Codeigniter 2.0+ 10 Apr 2012 | 06:39 am

The Problem One of my recent projects required me to build a quick JSON only API to abstract interaction with multiple databases for multiple web applications, as I’d already got some of the logic in...

Codeigniter Conference 2012 – Post Conference Thoughts 20 Feb 2012 | 11:38 am

Having not even got back home yet after the 2012 Codeigniter Conference I thought I’d write up some of my highlights of a very enjoyable weekend: Testing - John Crepizzi Testing is something I’ve be...

Streaming audio from Ubuntu Linux to a DLNA player (Blu Ray or PS3) using Rygel 11 Jan 2012 | 10:15 am

This project started out of researching how to play sound from spotify or rhythmbox from my laptop running ubuntu 11.10 through my hifi. Initially I set out to see if an airport express would work usi...

Recently parsed news:

Recent searches: