Reccuring tasks are boring. The same kind of things that we must achieve again and again on a daily, weekly or monthly basis is something that I want to take care painlessly. I use taskwarrior for my todo list because it's a CLI app and since I past most of my time in terminals it was a natural choice. What's handy is that I've got everything in a git repo that is synchronized between my work and home laptops.
With the COVID-19 rise during last week and different government announcements, I was quie busy organizing my personal life and work. But here we are and her come some the weekly tips ! I'm a big fan of zsh and on my own servers I use it exclusively instead of bash. The first tip this week is one that will remind you a zsh behaviour.
As a sysadmin or should I say a devops to be a la mode, I spend a lot of time in terminals. I don't use Gnome terminal or any other fancy ones. I used to play a lot with xterm but I switched to rxvt-unicode because it's light and customizable … a LOT. Some things that I like about it :
Vim weekly tips is a series of small articles that I intend to write every week to share tips about my favorite editor : Vim I want to start this collection by showing you one feature that a lot of people don't know about. In Vim, you can use the large panel of external commands available in the *nix ecosystem inside your terminal.
I find myself losing time always looking for some Openshift commands that I stumbled upon once in the documentation. This page is just a reminder of these commands : List all cluster-admins of your cluster % oc get clusterrolebindings -o json | jq '.items | select(.metadata.name=="cluster-admins") | .userNames' Add the admin role to some user of an project % oc adm policy add-role-to-user admin userX -n project-Y Binds a given role to specified users for all projects in the cluster.
People around me know that I love to spend time in terminals. For them, I am probably a nerd that do a lot of obscure stuff in these little black windows. A lot of friends that look at my screen have the same reaction : Your computer doesn't work What the hell are you doing ? Can't you just have a normal laptop Since I'm using awesome as a window manager it keeps them even more dubious about how I'm using a computer.