Internet Speed Tests on a Raspberry Pi

A couple of weeks ago soynerdito soynerdito shared a bot he made to tweet internet connection speed results every now and then. I then remembered I had a Raspberry Pi I wasn’t using at all. So I built a small app that runs speed tests every 3 hours. It’s based on speedtest-cli which is a Command line interface for… Continue reading Internet Speed Tests on a Raspberry Pi

The easiest way to add WebSockets to Django

TL;DR – I came up with a very simple solution to handle WebSockets in Django apps. You just install django-websocket-request, run a script and you have WebSockets for your Django app. The cool thing is that this solution makes Django believe its getting a (somewhat) normal HTTP request so you can reuse almost all of you… Continue reading The easiest way to add WebSockets to Django

Ember.js + Django

Quick deck about how easy it was to switch an Ember.js app from using localStorage adapter to using an adapter for Django REST Framework. To show the simplicity of it, I took the simple Markdown Editor I built a couple of days ago, Poe, and switched the localStorage adapter with one that works with Django… Continue reading Ember.js + Django

Python shell history

  If you’re not a fan of enhanced Python interpreters like IPython or BPython but still do heavy use of it you might have notice how annoying it could get whenever you have to quit it, started again, and remember what was the last things you ran. I do this all the time, usually for… Continue reading Python shell history

Vagrant VM for StatsD + Graphite

StatsD is this little awesome network daemon built by Etsy used to aggregate stats like counters and timers to a pluggable backend service like Graphite. You can read more about how it works on Etsy’s Measure Anything, Measure Everything blog post. Since I’ve been already playing around with Vagrant and Chef I decided to just… Continue reading Vagrant VM for StatsD + Graphite