Set up rTorrent using Dokku

Having a BitTorrent seedbox is convenient in many ways. Few days ago, I needed to download something (totally legal!) using BitTorrent, but I don’t want to open my laptop 24/7 for seeding. Since I already have a dokku server up and running, I can just set up a BitTorrent seedbox using rtorrent and ruTorrent
Read more →

Get data from a youtube gaming page

In my current project, I need to grab data from youtube gaming pages. I have done similar thing previously, but with the normal youtube channel pages. The new gaming pages are rendered in a completely different way. It took me some digging around the source code to finally be able to figure out a way to extract data. This blog post summarizes what I have done to get the data out of a youtube gaming channel page.
Read more →

Let’s build an API framework - Part 2

This is the second and final part of “Let’s build an API framework”. In the previous part, I wrote about the general design and requirements for the API framework that I am going to build. In this part, I am going to implement it. The actual implementation might be slightly different from the design but the ideas stay the same.
Read more →

Gulp, Mocha and Istanbul

Yes… you read that right, I am still using gulp. Recently, with all the hype and the fact that most of the people I know are switching to npm scripts, gulp seems to be something in the distant past. But, here I am, still using gulp because with gulp or similar task manager libraries, you can share the tasks between your projects. Or you can even have a set of tasks that you usually use in your side projects in one git repository and re-use them every time you have some brilliant ideas and want to roll a new side project (and quickly abandon it like I often do).
Read more →

Let’s build an API framework - Part 1

Today, I am going to take a break from the simple chat app series because I want to build something else for a change. During my work, I usually have to work with APIs a lot from integrating with existing APIs to building a new one for internal or external uses. I have tried a lot of different frameworks and even built one for my master’s thesis.
Read more →

Build a simple chat web app using Faye, Express and Vue - Part 2

Previously, I had the basic API server up and running. In this part I am going to continue with the authentication and authorization (via Github). The purpose is to have a simple login system where the users need to log in (via Github) before they can send messages.
Read more →

Build a simple chat web app using Faye, Express and Vue - Part 1

I have been keeping my eyes on Vuejs for quite some time, and I finally decided to build something with it. I am going to build a simple chat web app using Faye, Express and Vue. I have been using Faye and Express for several years, Vue is the new guy here.
Read more →

Install Pygments and configure nginx

After setting up the blog, I ran into several problems, two of them were that I didn’t have syntax highlighting and nginx redirected requests to paths without / at the end to wrong URL.
Read more →

Set up Hugo, Dokku and Travis

Setting up your own blog has never been easier. With less than an hour, one can have a blog up and running even without any Ops experience like myself
Read more →