Blog

Just get started

August 31, 2018

A few weeks ago, I finally finished building a feature for one of our apps that I've been putting off for weeks.

I've been procrastinating because the problem seemed complex and just not that interesting to work on, even though it feels important and could potentially increase our conversion rate. Then one day, while sitting in a coffee shop and just about to wrap up for the day, I decided to just pick ...

Getting into cryptocurrencies with Robinhood

August 26, 2018

I signed up to Robinhood early this month mainly to invest a little bit of money into cryptos.

Robinhood is a stock brokerage that has really taken off as they let you buy stocks with zero fees, compared to other brokerages such as Charles Schwab that charge $4-5 per trade. Robinhood makes money from interests on unused cash in their users' acocunts.

What really caught my attention was when they announced "Robinhood Crypto" earlier this ...

How to disable Bluetooth on system startup on Ubuntu 16.04

July 29, 2018

Since I almost never use Bluetooth on my laptop, it's a good idea to just turn it off and keep it off by default as it's just another thing that drains the battery and an additional entry point for malicious hackers.

Disabling Bluetooth is surprising not as straightforward on Ubuntu as I would have thought. I was expecting to simply tick or untick a checkbox in the Bluetooth settings.

To keep Bluetooth disabled ...

How to download the entire contents of a folder in an S3 bucket with Ansible

June 21, 2018

Just ran into this issue today. I needed to be able to download all the files inside a folder stored in an S3 bucket with Ansible.

The aws_s3 module docs on the Ansible site didn't provide an example on how to do this, but I did find a couple of articles that pointed me in the right direction.

- name: Get list of files from S3
aws_s3:
mode: list
aws_access_key: "{{ aws_access_key_id }}"
aws_secret_key: "{{ aws_secret_access_key }}"
bucket: "{{ aws_storage_bucket_name ...

PostgreSQL Database Restore Commands

June 11, 2018

I've been finding myself doing restores from db backups to my local development more often recently as I've been building dashboard pages for a client and I want to have real data locally so I can get a better idea of what it will look like in production.

I also have a bunch of projects in production with real users and it's good to test-restore their backups at least once a month ...

Older