===============================
== Andrew Imeson's Microblog ==
===============================
My microblog about anything

GitHub Actions Annotations

GitHub Linting Continuous Integration
You can annotate files in GitHub Actions by echoing a special format to STDOUT or STDERR. I submitted a PR to add that functionality to yamllint a while ago, but I can never remember where the docs are for the GitHub feature. They are under Workflow commands for GitHub Actions ::warning file={name},line={line},col={col}::{message} ::warning file=app.js,line=1,col=5::Missing semicolon I want to add this feature to more tools, but I think it’s kind of a waste to have to implement it in each tool. Read more...

SSH to a Mac on the LAN with Bonjour

Apple macOS SSH networking zeroconf
Bonjour is Apple’s zeroconf technology. I wanted to SSH to another Macbook I have, but I want it to always work even if I’m on another network (provided we’re both on the same network). To do this, we just append the special “.local” TLD to the hostname of the target machine, and this tells the name resolution system to consult its MDNS database. $ ssh andrew-macbook-air.local The authenticity of host 'andrew-macbook-air. Read more...

Logitech G600 on M1 Mac

macOS M1 Mac How I work
I have had a Logitech G600 for almost 6 years. I recently switched to an M1 Macbook Pro and was disappointed that I couldn’t get the Logitech software to work. I still wasn’t able to, but I was able to get my mappings stored on the mouse by booting up my old Intel Mac. Initially, it wouldn’t even show the mouse in the Logitech G HUB software, but searching around I found I had to also install the Logitech Control Center. Read more...

Apple Mail and IMAP Autodiscover

Apple macOS E-Mail DNS zeroconf
I think zeroconfiguration networking is a great thing. MDNS is an example of this super cool technology. The use of SRV records is also really cool. Apple loves this stuff, right? Then why does the Mail App still not support any kind of automatic configuration discovery for standard IMAP/SMTP accounts? No DNS lookups, no HTTP(s) requests to your domain for a special configuration file (I’d even settle for something nonstandard / Apple Mail only). Read more...

Quitting Nano

Linux Text Editor
I logged into a Linux box, and EDITOR was set to nano. I panicked trying to exit the file, and was worried that I would accidentally write the literal “:q!” I had put in the file. I remember that panic years ago when I logged into a box that didn’t have nano and only had vi. Funny what a few years can do.

Sorting du with human readable output

Linux
TIL about the sort -h (or --human-numeric-sort) option which will sort by human readable byte measurements. It’s present in both GNU and BSD versions of sort I checked. $ du -h | sort -h | tail -n 3 81M ./tmpchrome/Default 129M ./tmpchrome 10G .

Microblog

I’m trying something new. A “microblog.” Maybe that’s not what this is, but the word “micro” makes it seem like there’s less ceremony and polish I need to do before I post. Something is often better than nothing. I haven’t written a “normal” blog post in over 5 years, so if I can do at least once a year I’m already doing way better. It feels like less commitment than having it on my main page. Read more...
1 of 1