Articles tagged with ‘twitter’

An introduction to Docker: images, containers, links and names

This article discusses the process of ‘containerizing’ a Node.js project I made a couple of years ago, Nodeflakes. This seasonal festive demo is dusted off once a year around Christmas time and while the code has hardly changed since 2011 it’s nice to breathe some new life into it each year. While perusing the GitHub repository (and squirming a bit—my Node.js-based JavaScript has come a long way in two years) it occurred to me that its decentralized worker approach made it a perfect candidate for Docker containerization.

Full article (2,980 words)

Nodeflakes analysis using StatsD and Graphite

This year's nodeflakes demo has just been decommissioned after running for a little over a month. The number of Christmas related tweets drops dramatically after a certain date in December (you don't need to read this article to guess which one) but given that I started it a little after December 1st I wanted to collect at least a month's worth of information in Graphite before winding things down.

Full article (1,380 words)

It’s beginning to look a lot like… nodeflakes! (Again)

See nodeflakes in action!

It's hard to believe the original Nodeflakes Christmas demo was launched just over a year ago—time certainly flies when you're having fun (or at least when you're busy). Christmas hacks are always good fun and usually well received so I wanted to make sure I managed to get something out this year too. Unfortunately a combination of too much work and not enough imagination (probably more of the latter) meant that December 1st 2012 came and went and I'd not started thinking about anything, let alone building anything.

Full article (713 words)

Bootbox 2.0.0

The arrival of Twitter's second major version of Bootstrap heralds a new release of Bootbox, a simple JavaScript library I wrote back in November last year to programatically leverage Bootstrap's modal functionality. Shadowing Twitter's release like this is somewhat inevitable—their 2.0 branch is not compatible with older 1.x releases, so by upgrading Bootbox's dependency it too automatically becomes incompatible with older versions.

The upgrade process from 1.1.2→2.0.0 is pretty straightforward: this article explains the major changes, discusses some new dependencies and introduces some minor additional functionality.

Full article (459 words)

Nodeflakes - real time tweet powered snowflakes

The snowflakes you can hopefully see gently floating down your screen are real-time representations of tweets, taken live from Twitter's Streaming API. The size of each flake is loosely based on the author's follower count, and hovering over each flake will reveal the tweet it represents complete with highlighted hashtags, usernames and URLs.

Full article (1,956 words)

Bootbox.js - alert, confirm and flexible dialogs for twitter's bootstrap framework

I’ve been using twitter's bootstrap framework for a number of site builds recently, mainly because it gets me from black-and-white markup to vaguely-presentable websites in a very small amount of time. Version 1.3 introduced some JavaScript plugins to complement the array of stylistic elements it already provided - notably code to invoke dialog boxes, or modals.

Full article (1,610 words)