Learning

Podman repositories on ubuntu like distros

2020/08/01

Recently I installed podman on ubuntu based dervative. I like podman a lot but to my distress I found that after installation, I was not able to search or run any containers. Found out that the …

Pygmentize Styles

2020/07/26

I have recently started using pygmentize for looking at my code in terminal. A very good and native way to do this is to use pygmentize. If you do not know about pygmentize then […] Highlight …

scripting – performance improvement with file open

2020/04/20

Sometimes just one line of code can make all the difference. I will show you with example.  Here is script with 2 functions. Both are writing some lines of text to a file. First function, “a” I have …

List all the tags for a image on docker hub

2020/03/16

Something that you may want to know sometimes and docker cli does not show by default is all the tags for the image on docker hub. Here is example to list all tags fro the centos image  curl …

kitty terminal themes

2020/03/09

Kitty is a very nice and fast terminal that uses GPU, you can find more information here. For this terminal there are lot of themes available that you can checkout on the kitty themes github page …

unicode characters in urxvt terminal

2020/03/02

If you quickly want to type the unicode character in urxvt terminal, then try doing this:  Press Shift+Ctrl and then type the number for the unicode. 🙂

Get the git url of current repo in clipboard

2019/12/30

Lot of times, I just want to copy the git url to clipboard. This is so common in my flow of work that I created an alias for it. Here it is:  

Script to try various themes from kitty terminal

2019/12/16

Here is the script. Very simple yet very useful script.

i3 – show mapped hotkeys

2019/12/02

Here is a simple script that can show you the hotkeys bound in ~/.config/i3/config :  #!/bin/bash - #=============================================================================== # # FILE: …

check hard disk rpm or rotation speed

2019/09/23

Lot of times you want to check the disk rpm, especially on the servers to check if it is 7.2K or 10K or 15K rpm disk. How do you do this from linux terminal. Here it is :  sginfo -g …

ssh trick – ssh to remote host with bastion host

2019/09/16

Lot of times, you have to ssh to a server with bastion host. If you dont know what is bastion host then see this:  Now, in such cases, either you add an entry in “~/.ssh/config” to route the ssh …

Check your session type – wayland or X11

2019/07/15

With both wayland and X11 in mainstream, its pretty easy to forget if you are running in Wayland or in X11. To check this here are the commands:


This website uses cookies to ensure you get the best experience on our website. Learn more Got it