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

Auth with JSON Web Tokens

When it comes to implementing authentication on web apps, one solution you’ll definitely hear about first are cookies. Cookie-based authentication uses a server side cookies to authenticate the user on every request. This means that you’ll need to keep a session store, whether it’s on a database or on something like Redis. A solution you’ll… Continue reading Auth with JSON Web Tokens

The Hacker and Designer News Newsletter

After recently building a scraper and web API for The News, I thought  it’d be a cool idea to use that data somehow. First thing that came to mind was to build a newsletter. And so The Hacker and Designer News Newsletter was built. Newsletter Every week I’ll send a newsletter with a curated recap… Continue reading The Hacker and Designer News Newsletter