Shell text substitution
I learned a neat shell trick this week. In both bash and zsh you can use the circumflex / caret (^) symbol to find & replace a word from the previous command. Usage: ^prev^next. It’s best illustrated with examples: ...
I learned a neat shell trick this week. In both bash and zsh you can use the circumflex / caret (^) symbol to find & replace a word from the previous command. Usage: ^prev^next. It’s best illustrated with examples: ...
When working on Python projects, pyenv is a great python environment / version manager, especially on macOS wherein you cannot easily control the python system version. ...
I used to have the following handy script to launch a new (fresh!) instance of Google Chrome when working on Chrome for Testing in the Browser Automation team at Google: ...
I changed my macOS system language to German, with the intent of getting more exposure to it. One negative side effect is that most binaries I execute with my shell (for example: git) are now outputting German text as well1. In hindsight, this should have been expected. ...
This post is a follow-up of Terraforming a Linode: hello world. In a future post, we will continue from here by using Ansible to install and set up Miniflux in our new Linode. Before we extensively use Ansible to configure our VPS instance, first let’s set up a basic integration between Terraform and Ansible. ...
This blog is rendered by the means of a static site generator (SSG) called Hugo. Each blog post has a set of one or more tags associated to it. The more posts I create, the more consolidated the tags become. Sometimes I need to rename tags after-the-fact to better reflect the underlying posts they represent. ...
Whenever I want to upgrade any one of my systems, I run sd-world. ...
Let’s discuss the raison d’etre of Google Chrome for Testing, a project I was the Tech Lead of during my tenure on the Chrome Tooling / Browser Automation team at Google. ...
I host my own Miniflux instance, which happens to be my favorite RSS reader. Currently it is hosted on Linode (Akamai Cloud) running Alpine Linux. My current setup was performed manually. I was thinking that, for fun, it would be cool to fully automate it under the principles of IaC. ...
Some websites attempt to prevent users from pasting text (i.e. Ctrl+V / Cmd+V) in web browsers. It serves no purpose in most cases other than hindering accessibility and increasing annoyance for users. ...