HTTPS on WebFaction using Let's Encrypt
On my shared hosting on WebFaction, it was pretty painless:
- Install acme.sh.
- Generate certificates.
- Upload certificates in the WebFaction control panel.
- Set up an auto-renewal script that uses the WebFaction API.
From Wordpress to Hakyll
Today I switched my blog from Wordpress to this static version created with Hakyll.
I’ve had a few abortive attempts at switching to a static blog: Windows compatibility headaches with various systems have thwarted me. Even with my beloved Python I encountered Windows-hostile dependencies. This time the Haskell Stack worked for me without a hitch.
There were a few things I wanted to change from the vanilla Hakyll site, which I’ll describe below.
Simple Diet Diary
After more than a year of spare-time work, I’ve released my new Simple Diet Diary app! It’s a complete rewrite of my old Simple Calorie Count app with lots of new features, including…
- Multiple nutrients: standard ones, or invent your own
- Reordering of entries
- Time logging
- Prediction of your next entry based on your habits
- Cloud backup
- Share your data
There’s also a companion app which provides a database of nutrition data for easy lookup of foods that you’ve not logged before, and stays out of the way when you’re re-entering your habitual meals.
Using the Android uiautomator to Record a Promo Video
I don’t usually do something manually when I can write a program to automate it, so I made the promo video for Simple Tasks & Notes using the Android uiautomator tool and ADB screenrecord. Below I’ll share some snippets of code and an Ant script that helped to make it painless.
It was reliable text entry that initially led me down this path, but that wasn’t the only benefit:
- Subsections of the “script” can be honed in isolation.
- The video can be re-recorded with minimal effort, so…
- Small improvements are still worth making and re-recording.
- Text entry via the on-screen keyboard is fast and flawless.
- The resulting video needs only very simple editing.
Other recent posts:
…or you can find more in the archives.