💾 Archived View for tilde.club › ~lewiscowper › gemlog › 2020-09-12.gmi captured on 2023-04-19 at 23:20:25. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2020-09-24)
-=-=-=-=-=-=-
I'm definitely getting worse at keeping up with writing in here, but I'm trying to force myself to write more. So over the course of this week I did some things, that are tiny in the grand scheme of things, but they're still something to have done, which is nice.
I wanted to make weechat show timestamps in my local time, as opposed to the server local time. To do this, after a quick search on the big internet, I discovered this page:
[http] In depth tutorial on setting timezone for local user on *nix systems
It boiled down to adding a line that resembles:
export TZ="/usr/share/zoneinfo/{TIMEZONE-DIRECTORY}/{TIMEZONE_FILE}"
To my shell startup script, in my case that's ~/.zshrc. For me the blanks are "Europe/Berlin", but you can `ls` the directory `/usr/share/zoneinfo` and find out your own timezone file as you like.
After doing this, I closed weechat, and restarted it, but had forgotten to run "source ~/.zshrc" for my changes to take effect. Although that was the least of my problems, as I also then discovered that my random 64 character NickServ password I'd used when registering my nickname hadn't saved in my password manager. Even looking through the list of generated passwords didn't work. But I then discovered that I could reset the password given I knew the username and the email address I'd used when registering, so all was not lost after all.
I then started looking into CGI scripts, something I'd heard of but never actually used.
Gemini Wikipedia mirror for Common Gateway Interface
This seems to be the accepted way of grabbing data from somewhere and allowing gemini capsule hosts to serve that content. This has given me some ideas, but I'm still not 100% sure how I can go about this. Hopefully with no dentist appointment tomorrow I'll be able to get some time to dig into the topic.
I also discovered a graphical gemini client that doesn't break due to host/cert mismatch, (unlike my still preferred terminal gemini experience, bombadillo). Castor. It's written in Rust, which I like, but my main gripe with it is the default theme is exceptionally bright, although having looked into it, it looks like adding (or potentially updating) a config file (that even respects the XDG Base Directory spec by default <3).
[http] Sourecehut link to Castor README.md changing settings section
[http] Arch Wiki on XDG Base Directory
So it looks like before I go to bed this evening I'll try and configure castor with a more comfortable theme for my tired night time eyes.
Until next time
~lewiscowper