Blog Archives

Exporting Cypher queries from the Neo4j browser

Introduction Executive summary: need to export your Neo4j favourites to co-workers, friends and family? This article provides a JavaScript solution, as well as a Chrome extension, to do so. Neo4j is a really cool, fast and powerful graph database. It

Tagged with: , , , , , ,
Posted in Javascript, Technology

NPM in a corporate world

Spoilers: this article makes an incredibly basic clone of an NPM repo, with just the dependencies required for the job required of NPM, then makes it available for developers to run an npm install  on. The Problem It seems like every

Tagged with: , , , , , , , ,
Posted in Front-end, Javascript, Technology

JavaFX and JavaScript – calling Java from JavaScript

Introduction JavaFX’s integration with web pages is quite impressive – you can query the DOM, execute arbitrary JavaScript and get results back. In addition, you can trigger changes on the Java-side from the web page. In this brief introduction we’ll look

Tagged with: , ,
Posted in Java, Javascript

Get the message?

Following on from a bout of attempting (and finally succeeding) to get the content and background scripts in a Chrome extension to talk to one another, this seemed like a perfect opportunity to write down a couple of the things

Tagged with: , , ,
Posted in Javascript

Getting Some Context

Introduction I’ve recently started experimenting with creating Chrome extensions. Although there are a number of good tutorials out there  (turning divs red was particularly helpful), it’s almost impossible to have tutorials out there ready-and-waiting for all possible topics. So, let’s

Tagged with: , , , ,
Posted in Javascript

Web Audio API – Bits of Sound

Introduction “Da da da dum! Doesn’t that stir anything in you?” Ford Prefect, The Hitchhiker’s Guide to the Galaxy Sound and music have been an part of our society since time unknown. Impossible as it would be to describe to

Tagged with: , , , , ,
Posted in Javascript

Mental backups for impress.js

Impress.js impress.js is a beautiful piece of a presentation library that uses HTML5 elements to give you a continuous ‘infinite’ presentation surface. This allows you to develop presentations employing effects that are simply impossible using a traditional slide-based deck. The

Tagged with: , ,
Posted in Javascript

Analyzing a Poker Hand Analyzer

Introduction subskybox wrote an intimidating 5-card poker hand analyzer in four lines of JavaScript. The original is somewhat tricky to understand initially:

Of course, by somewhat tricky I mean extremely tricky, and by initially I mean always. The shock and

Tagged with: , , ,
Posted in Javascript

require.js, jQuery and canvas

In an attempt to bring some sort of order to my JavaScript projects, I’m introducing the require.js library. As it says, require.js is a Javascript file and module loader.

This means that I can break away from HTML files

Tagged with: , , ,
Posted in Javascript

Parsing Guitar Tab

Introduction Standard musical notation is extremely expressive but has an incredibly steep learning curve. Although it can specify notes and duration precisely it takes practice and time to learn how to convert from what you see to how you play it. For

Tagged with: , , , , , ,
Posted in Javascript