Blog

How to compress PDF files on Ubuntu Linux with Ghostscript

March 28, 2021

This is something I have to do from time to time especially around tax season as I tend to get scanned documents in PDF format which are just unnecessarily too big in size.

I like to keep important documents in smaller sizes as I keep them archived for a long a time and they add up.  I want to be able to quickly download or upload them somewhere even with a slow internet connection.

I …

How to bulk unfollow people on Twitter through your web browser

October 4, 2020

I wanted to do some cleanup for a couple of Twitter accounts I use last night as I'm following too many people.  One account has thousands of them which would of course take a long time to do manually.

Normally, I'd just write a Python script and do it via the API but I decided to do a quick search to see if there's an easier way.

It turned out, there is!  I found this nice …

Thoughts on SaaS Pricing

September 6, 2020

Your pricing could make or break your business. It's one of those things that's fairly quick and easy to change but can have a huge impact on the growth of your business, especially for subscription-based software businesses.

Yet many of us probably don't think about it enough. If you're like us, when we initially launched our apps, we basically just looked at our competitors' pricing and used them as a baseline.

This is probably fine …

Travel Updates

August 2, 2020

Traveling is certainly not as easy as it used to nowadays with most countries' borders still closed to foreigners.

I'm currently in Belgrade, Serbia and been here for about 6 weeks now.  I've been here a few times before and while I really like it here, the main reason I chose Serbia this year is it's one of only a handful of countries that's currently open to Americans without quarantine requirements.

Before Serbia, I was …

Setting up additional entropy for your Ubuntu VPS with haveged

June 28, 2020

We've recently ran into an issue with one of our staging servers where a scheduled cron job would occassionally hang for a few minutes before executing.  The issue turned out to be due to a low entopy (i.e. randomness) value in /proc/sys/kernel/random/entropy_avail.

Randomness in Linux is generated from hardware interrupts such as the keyboard, mouse, and disk/network IO.  This goes into a pool which then gets consumed by applications that require randomness for security, such as …

Older