I often write little CLI programs in Python, where I just want to call it “script” rather than “script.py”. I also want to be able to test functions in these scripts. It gets tricky if you want to test code from a file without a “.py” suffix.
[Read More]Understanding Headscale ACLs and Users
I spent quite a bit of time while I was learning Headscale being confused about users. Here are some key points that helped me understand them.
[Read More]Using jq to help remove headscale nodes by name
Headscale CLI requires that you remove a node by id rather than name. jq to the rescue!
[Read More]The More Things Change: ChatGPT Echoes Google's Early Days
Watching the discussion about ChatGPT reminds me of the early days of Google. I’m thinking back to when it was under the Stanford domain and opinions of it since.
[Read More]Using Systemd as a Socket Server for a Shell Command
In the past I’ve run socat as a daemon to run a shell command and send the output to a socket. It works well, but I wanted to try the systemd way of doing what “xinetd” has done in the past: Run a command and send the output to a socket.
[Read More]More Simple Static Site Generators
Looked at a few more static site generators, looking for a simple one, based on responses in a “Hacker News comment section on Hugo today”. Here are some more mini reviews.
[Read More]Simple Static Site Generators for a Blog
I’ve been playing around with a few simple static site generators, the simpler the better. Here’s a mini review.
[Read More]Connecting Android to Headscale
It’s a little tricky to connect android to Tailscale, but here’s how I do it using the Google Workspace authentication.
[Read More]Headscale Authentication with Google Workspace
OIDC Logins to your Tailnet via Google
Headscale “users” can be authenticated using Google Workspace logins. This only applies to nodes that do not have tags. Nodes with tags do not get logged in/out via OIDC.
[Read More]Using PGLoader to Copy Data from MS-SQL to PostgreSQL
PGLoader can painlessly copy data from a SQLServer into PostgreSQL, including setting up the schemas and copying the data. A very slick tool that I’d never used before.
[Read More]