Collect a keypress in a bash githook

After a flurry of accidental pushes direct to the main branch at work, I decided we need a technical solution. The obvious answer would be to use GitLab’s protected branches, but that’s not practical at our org. Next best: a to check the branch one is committing to, and have the user confirm or cancel as the case may be.

Continue reading “Collect a keypress in a bash githook”

MastoBot

I’ve started work on my # client library, #.

Initial work has progressed well; I have wrappers for HTML methods and reasonable coverage of helpers for Mastodon API endpoints.

Continue reading “MastoBot”

Sound check

Technology has changed since I last updated this site, but joining # has inspired nostalgic feelings about the old days of the Internet so I plan to shake the dust off this and maybe post some stuff again.

Speaking of Mastodon, I’m at https://tech.lgbt/@silvermoon82

Pictures from MarsPhoenix!

The Mars lander has touched down safely, and is sending pictures back already:

News Briefing Image
NASA – Phoenix Images

For more on the Phoenix project, check out NASA’s mission page, or MarsPhoenix’s Twitter feed.

Save vs. Death… failed. A fitting memorial to Gary Gygax

xkcd has posted the best possible memorial to the passing of Gary Gygax, the creator of Dunegons and Dragons:

The Ultimate Game

Good luck in the Outer Planes, Gary.

One of life’s important questions:

Is it more sinister to talk on a cellphone while using a urinal, or to finish what you’re doing, and continue to stand in front of the urinal, chatting loudly on the cellphone in the men’s room?
Continue reading “One of life’s important questions:”