Code

Making sense of your phone invoices

Telephone companies tend to have a lot of data about a user. This data includes some information that could help you decide whether you could pay for another subscription that fits more to your usage. To fix that problem I’ve build a dashboard which uses all the information available trough the invoices my current company (T-mobile) provides in a PDF. (FYI, I got a version running that’s also working with receipts from Vodafone)

Building a Fitbit organisation dashboard

The Fitbit (affiliate link) is one of the best tools for activity tracking.The interface is nice and the hardware is durable and syncs wirelessly. For a personal level is good, but using group-wise or equipping all employees with a Fitbit turns out to be non-existent. During the past few days I’ve spend some time building a dashboard that lets people see the data from all users within a group. It gets all data trough the Fitbit API and summarizes it into a view per day/week/month.

A python library for the Moves App API

For Quantified Self starters I recommend the really nice Moves App. The interface is really nice and the battery drain isn’t that bad if you recharge it twice a day. They recently opened up their API enabling developers like me to create apps based on their platform. For me the first step towards creating an app is a easier way to communicate with the API. As with the fitbit, I’ve written a open-source library for you to use!

Building a Personal Health Dashboard with Panic's Statusboard

When Panic released their Statusboard app and I discovered it was possible to use JSON and html to embed it into pages, my mind raced with ideas about what to build. Both the Zeo and Fitbit API offer JSON output thus could be embeddable. To give a quick overview what it looks like with dummy data embedded, have a look at the following image:

The next step is to implement a simple server side script that shapes and caches the JSON data in the correct format.

Generating Mondrian like art with D3 & Javascript

SETUP is holding a competition to get programming known as modern day craftwork. I whole-fully agree to this and decided to enter the contest! With a small part of my time spend while traveling I and finally finishing up I’ve gotten my last version up and running. I use javascript and D3 (SVG) for drawing the elements as this is a library that I wanted to explore. The ease of use and adoption rate of it made a good starting point for me to quickly get to a result.

Datavisualisatie voor het CBS

Het CBS organiseert de eerste seminar over interactieve data visualisaties op 3 februari in Den Haag. Voor de seminar is een wedstrijd gemaakt en ik had een vrije middag over om er mee aan de slag te gaan. Nadat ik alle drie de data-sets heb bekeken leek het mij het beste om de derde (Landbouw; economische omvang naar omvangsklasse, hoofdbedrijfstype & regio) aan de slag te gaan. Nadat ik de data had gedownload heb ik eerst Google Refine gebruikt om de data schoon te maken en te filteren.

Python library for the FitBit API

My quest of building API wrappers in python continues with the FitBit. The handy devices tracks most of my activities and movements during daytime. So it’s an excellent self-tracking device, especially with the wireless sync. There wasn’t an API interface available in python, so with some borrowed code I decided to build my own. I made an GitHub repository with the code and an example for you to use. Please fork and correct any changes that you think would be useful for me to learn!

Sync Kindle notes and clippings to Evernote

Since I got my Kindle I started reading a lot more books and articles. And one of the nice things you can do is add notes and clip certain pieces of text. The Kindle saves all those things into a text file for easy access, but I wanted those to be searchable as well in my system. I wrote a small python script that extracts all notes and clippings from the text file and creates a new note in Evernote for each of them.

My effort for a better readinglist

I love the Read It Later List service. Each day I save about 20-30 articles from Google Reader or my Twitter client so I can read them later. However, these amounts make it hard for me to process all the things I save. That’s why I need a readinglist that has additional filtering/speed/shortcuts. As my endeavors with Python continue, for the last few months I’ve been developing my own version of the perfect readinglist build upon the API of Read It Later List.

Mobypicture Export

I love Mobypicture. It’s the service I use to post my pictures onto Twitter, Flickr and Facebook. It makes uploading photos from my mobile phone as simple as it could possibly be. Even better, the service is free to use, unlike Flickr which only allows access to last 200 images if you go with their freemium model. But sadly using Mobypicture isn’t without downsides. There is no export functionality as of yet.