There are multiple ways to install ruby on your machine.
Official recommendation is to use your OS’s package manager like apt, pacman or brew
If you are using a version manager, rvm (Ruby Version Manager) seems to be popular. But in the past, I started using asdf, so I’ve decided to stick with it. It is also mentioned (first in the list) on the official Installing Ruby page 😄
asdf plugin add ruby https://github.
I’ve meaning to learn Ruby for some time now.
Especially, when I dabbled from time to time in Elixir, I felt that knowing Ruby may be an advantage (since Elixir syntax similar to Ruby)
No one learns (I think) Ruby just for the language. They learn it so that they can use Ruby on Rails (RoR as popularly known) RoR, in case you don’t know, is the Web framework. Like Django in Python land.
After using tmux for a while, I realized that whenever I create new session locally, I end up opening same set of panes.
One for work project (Sometimes more than one, but usually one) One for some kind of blog (I have three Hugo projects at this time) One misc. I start this in ~, I use this for running brew commands or standalone python session, or bin/doom sync (which I’ve been doing from inside doom emacs these days, so the last usecase has gone down) Turns out I’m not the only one™️ with such use case.
As I mentioned in an earlier post, I’m trying to move to more text based workflows.
On that journey, I came across readable which creates a clean version of a webpage, just like Firefox Reader mode would do. But without Firefox.
Which means, you can read cleaner website from your terminal (if you want)
Read Firefox Reader mode in your Terminal
I had installed fzf some time ago. But default key ** for invoking fzf did not work with fzf.
Upon searching, I came across couple of options. Of those, I chose the one with active development.
As of this writing, the last commit was 11 days ago. Very active, I would say. 😄
Installation instruction said fisher install PatrickF1/fzf.fish but when tried, I got an error:
fisher: unknown flag or command "install" 🤔
I’m leaning more and more towards text based workflow.
Earlier I enabled twittering-mode in Doom Emacs, and tweeted from Emacs. How 🆒 is that.
But that is when I realized that twitter has lots of URLs. If I visit a URL from my Twitter feed, it opens up in external browser by default.
I have two problems with that.
My flow gets disturbed. The browser already has gazillion links open. Once I go there, I get distracted.
Today while I was browsing thru The Tao of tmux - I came across a better pager called most
I think it is a play on default pagers called less and more
Unfortunately, the official website almost makes it impossible to find stuff about it.
Documentation is non existent.
I found elsewhere that most linux distro make it available via their package manager.
I did not find any mention of macOS though.
Today I spent some more time modifying the IndieFeed theme
As I mentioned earlier, I started using hugo modules instead of git submodule from the beginning. One of the downside of it was I could not preview my changes without pushing the changes to github first.
Sometimes that might be OK, most times it is not.
How do theme developers work in such scenario. Turns out there is a hack just for that.
I came across Dooble browser via one of the Hacker news post.
The browser use Qt library and thus biased towards Linux. Or so I thought. There is a pre-built dmg file for macOS.
It worked well in short test-run I did.
I wish there was a way to set it as a default browser, so I could have tested it more thoroughly.
FWIW, it did not register itself as a browser with macOS – which seems OS specific requirement.
I have been using Dendron for some time now as a PKM tool. I started when it was using 11ty to generate site out of the notes.
It would create the site in docs folder, using Dendron: Site Build in VSCode I had mapped the docs folder to a git repo.
I would push ready-made site to git, and netlify deploy was a no-op
%%{init: {'themeVariables':{'lineColor': 'lightblue', 'arrowheadColor': 'lightblue'}}}%% graph LR; A{ Write Content in markdown } A -->| git push | B[ source git repo ] A -->| Dendron: Site Build | C[ Site in `docs` folder ] C -->| git push | D[ netlify deploy ] Then recently they switched to next.