Weeknotes 58
7th August, 2022
“Unproductive content scroller”
-
More amazing CSS from Jhey in these two CSS-only content scrollers 🤩
-
I updated my /uses page with details of my home server setup.
The old school “design” of the page was bit too old skool, so I made a small tweak to give the page a maximum width specified with
ch
units. How modern. -
Hugo introduced a feature called “Render Hooks” in version 0.62.0. I’ve been looking for a way to output anchor IDs for list items allowing me to link directly to them and being able to hook into the rendering lifecycle sounded promising. The bad news is that there is no support for list items 😢
Which is why I’m interested in this PR: Listitem render hook #9858. So now I wait to see if it makes any progress towards being merged.
There doesn’t seem to be any way, save for forking the whole of Hugo, to create a plugin, so I will just have to wait.
-
Another great video from TJ DeVries this week – Execute anything in neovim (now customizable). I learnt how to pass callback functions as local functions, how to accept user input, and how to create user commands that can be called like other
Ex
commands. Like and subscribe. -
There was an interesting question asked on the Elixir Forum recently about how to keep generated Phoenix applications up-to-date.
Several tools were suggested that I’d not heard of before – phoenixdiff.org and gendiff. Very useful when you need them.
-
It hasn’t been a massively productive week. Some weeks are like that, but I had the day off on Wednesday, and travel either side, which certainly didn’t help. However, I think project fatigue and lack of any break are the more likely culprits.
-
You know in macOS when you drag something onto top of something else it does that little cool animation which takes far too long? Well, you can change the speed of that animation – nice.
-
Shu on Twitter demonstrates some cool fade-in animations. I made my own example to refer to in the future.
-
We setup scheduled Slack reminders for the team last week and they are very useful. Stop answering the same team questions all the time – schedule a reminder instead.
-
I’m a Rails contributor now. You. Are. Welcome.