Weeknotes 94
16th April, 2023
“Work related anguish”
-
Flowbite is a component framework for Tailwind CSS. Some components are free, whilst others are available at a cost. Seems like a nice toolkit to keep in mind.
-
I had cause to work with some CSV files in Neovim this week. I don’t do that very often but I remembered that I’d installed a plugin – mechatroner/rainbow_csv – to help with this before.
Rainbow CSV - Vim plugin: Highlight columns in CSV and TSV files and run queries in SQL-like language
It can do various clever things, but I mainly used
:RainbowAlign
and:RainbowShrink
to try and make sense of the files. -
I was wrong about the
Model.none
method from Rails that I wrote about last week. It doesn’t do what I thought. Carry on. -
The work issue that was causing me anguish should hopefully be nearly over. I’m now in the hands of the PR reviewer once again. I need to stop beating myself up. It’s only ever counter-productive.
-
How to Access Hash Values with Methods Using OrderedOptions.
config = ActiveSupport::OrderedOptions.new # set the values config.api_key = "my-api-key" config.api_secret = "my-api-secret" # access the values config.api_key # => 'my-api-key' config.api_secret # => 'my-api-secret'
A neat API which I always forget about. I’ve avoided Rails specific additions like this in the past, and I think that has been a mistake.
-
Arc is not yet replacing my Pocket use due to a bug in Arc on iOS 🥲 I’m still loving it on desktop.
-
Another shorter week next week 👌