Rick Cogley's Tech Logr

Short Technical Laser Bursts %%


Here be my pithy, short, technical nuggets. Maybe I’m the only one who cares. Who says Hugo can’t be used for microblogging‽

05 Feb 2019


I love the utility jq from stedolan. It is so useful in day to day terminal activities, that I don’t know what I’d do without it. Even for a super simple task like pretty printing the stdout from some tool (that outputs json in a raw clump), it is useful. theutil | jq

RC Logr 20190205 130916 - I love the utility jq from … Rick Cogley

04 Feb 2019


TIL about the concept of a warrant canary, with which an org states the absence of any secret gov’t subpoena. For privacy’s sake, I hope it remains legal to state that you have not been served…

RC Logr 20190204 180330 - TIL about the concept of a … Rick Cogley

03 Feb 2019


I’m going to try dotbot for managing my dot files. I really need a quick and easy way to install them on any mac or *nix machine I happen to need to use. 🤖

RC Logr 20190203 073809 - I’m going to try dotbot … Rick Cogley


Made by the same fellow, Hasu, who also makes the programmable replacement control board for HHKB keyboards, there’s also his USB to USB Keyboard Converter, which is a USB dongle that you install between your keyboard and your computer. It works to make some keyboards programmable.

RC Logr 20190203 071418 - Made by the same fellow, Hasu, … Rick Cogley

02 Feb 2019


Hugo, my static site generator of choice, just released version 0.54.0, kompleat with pedantic semver rule compliance. Hopefully this post will generate, because it is getting generated using this fresh, new version. 😅

RC Logr 20190202 193900 - Hugo, my static site generator … Rick Cogley


I’ve ordered a cool programmable controller for PFU HHKB Happy Hacking keyboards from Hasu. You can remap the keys, so that no matter what system you connect to, it is set up in your expected configuration. This way, I can use a Japanese HHKB with its arrow keys, as an English keyboard; something PFU does not sell. To go with, I also ordered a replacement English keycap set. I love the Topre switches, but keycap choices are severely limited.

RC Logr 20190202 145014 - I’ve ordered a cool … Rick Cogley

31 Jan 2019


Sometimes you need a timestamp in a shell script, for example if you need to calculate the hmac signature for a payload you received from a web service. In Linux or Mac, you can do date -u +"%s" or date -u +"%s.%N" if you need the nanoseconds. Use Gnu gdate from brew on Mac because its stock date does not support %N. The -u tells it to return UTC, which you can leave off for local time. If you need to force a timezone, use something like TZ=":Japan" date +"%s". The result looks like 1548931141 or 1548931220.112871000.

RC Logr 20190131 193007 - Sometimes you need a timestamp … Rick Cogley

30 Jan 2019


Did significant changes to my Keyboardio Model 01 layout, putting the shifts under my pinkies and the backspace at upper left. It is mentally stressful to switch between laptop and the Model 01 and a PFU Happy Hacking Keyboard. See the latest layout.

RC Logr 20190130 194251 - Did significant changes to my … Rick Cogley


Got word from my ISP that a backup had a bunch of files with suspected malware (uh, why did they suddenly discover it now?!). I deleted the files in the backups, got the list of paths, pasted to Excel, used MID() to extract the file ids, appended double quotes by concatenating char(34), did a transpose to horizontal, copied the row out to an editor, then replaced the spaces with commas. Then, I put that string of id’s in a database query to filter the attachment records and delete them, like In(RecordId(),"1111111","2222222","3333333"). Malware b-gone.

RC Logr 20190130 110922 - Got word from my ISP that a … Rick Cogley


My Keyboardio Model 01 surely has some DNA from the Esrille New Keyboard from NISSE. The Esrille is beautiful and ready to support a Japanese layout, but is eye-wateringly expensive, and its firmware is probably not as flexible as the Model 01’s.

RC Logr 20190130 092746 - My Keyboardio Model 01 surely … Rick Cogley

29 Jan 2019


It’s been a looong time since I soldered anything, but the Helix ortholinear (grid) keyboard kit has my interest piqued. The kits are made and sold by Yushakobo here in Japan, and they recently opened an actual shop in Akihabara too.

RC Logr 20190129 233930 - It’s been a looong time … Rick Cogley


Apple’s FaceTime has a serious bug that lets people remotely listen in via your mobile’s mic, without your permission. Looks like Apple will fix soon and may have disabled it server-side, but disable just in case. iOS Settings > pull down > search “facetime” > open and toggle off.

RC Logr 20190129 133133 - Apple’s FaceTime has a serious … Rick Cogley


You can choose which of your keybase folders to sync from the terminal, although kbfs syncs none by default, instead utilizing a space-based cache (seems like Google File Stream). For example you can do: keybase fs sync enable /keybase/public/rickcogley/keep/this/on/my/hdd. Do it, and bask in the power.

RC Logr 20190129 115649 - You can choose which of your … Rick Cogley


Have you heard of “Have I Been Pwned”? It’s used by Firefox Monitor and Zetetic Codebook to find out if your email or password has been involved in a security breach.

RC Logr 20190129 093709 - Have you heard of “Have … Rick Cogley


If you’re a Facebook user (hard to justify in light of hard evidence), you should make use of Mozilla Firefox’s “Facebook Container” extension, that prevents Facebook from tracking you around the web. Or, you know, stop using Facebook!

RC Logr 20190129 092039 - If you’re a Facebook … Rick Cogley


Have you heard of the programming language Rust, for “safe systems programming”? It helps prevent common programming mistakes that can lead to security problems.

RC Logr 20190129 091645 - Have you heard of the … Rick Cogley

28 Jan 2019


In terms of cables, I like the brand ANKER because their products are sturdy and last well. It’s a bit insulting that Apple makes you buy so many dongles and cables, yet they don’t last.

RC Logr 20190128 205818 - In terms of cables, I like the … Rick Cogley


Successfully compiled and loaded the Arduino firmware with some basic customizations for my Keyboardio Model 01-Q (repo), and created a graphical layout for it.

RC Logr 20190128 195850 - Successfully compiled and … Rick Cogley

26 Jan 2019


Big advantage to a keyboard like the keyboardio Model 01 is, you can chord multiple modifier keys with your thumb.

RC Logr 20190126 182100 - Big advantage to a keyboard … Rick Cogley


Learned something important about keybase’s kbfs system, which is mounted as a fuse drive on macOS at /keybase: you don’t need to do a mkdir to make a shared private folder; rather just cd to it. To share a file with keybase friend heidi, just do cd /keybase/private/youruser,heidi and that folder will magically show up, and you can drop the files to share right in there. Slick! 😍

RC Logr 20190126 104851 - Learned something important … Rick Cogley