This is the microblog of Avinash Meetoo. I’m using it to post whatever crosses my mind and I deem shareable…
Web
Use the default Android sharing mechanism with the Brave browser
(NB September 2021: This does not seem to work anymore… I’m investigating.)
I have been using the Brave browser on my phone for some time now and it works great.
When I find an interesting website or article, I often share it to social media and, for some reason, the Brave developers slightly changed the way sharing is done in the latest version of the browser. To restore the previous way of doing sharing i.e. using the default Android sharing mechanism, there is one setting to disable: Chrome Sharing Hub.
The idea is simply to go to brave://flags, look for Chrome Sharing Hub (which means that Brave probably is built on Chromium), disable the setting and relaunch Brave.
Enjoy.
Installing a previous version of a program in Homebrew
I’m an avid user of Homebrew on macOS.
Doing an updates rightly updates all software installed through Homebrew to their latest version as expected. But, sometimes, you might want to install the previous version of a program. Here is the correct way to do it courtesy of variar on Stack Overflow:
TAP=... # <org>/<repo>, for example "my-org/homebrew-old" MODULE=... # name of module you want to install, e.g. "hugo" VERS=... # version of $MODULE you want to install, e.g., "0.80.0" brew tap-new $TAP brew extract --version $VERS $MODULE $TAP brew install $TAP/$MODULE@$VERS
An example without using the shell variables is as follows:
brew tap-new avinash/homebrew-old brew extract --version 2.51.3 unison avinash/homebrew-old brew install avinash/homebrew-old/unison@2.51.3
The first command creates a new tap called avinash/homebrew-old and this needs to be done only once.
This will install a previous version of unison, version 2.51.3. Incidentally, to obtain the list of versions of a specific Homebrew program (called a formula), you can use this excellent search feature of Github.