List all the tags for a image on docker hub

2020-03-16 1 min read Learning Vurtualization
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 https://registry.hub.docker.com/v2/repositories/library/centos/tags |jq '."results"[]["name"]' The example is for a v2 registry. The output for v1 is different than v2 registry. For a v1 registry, you can use command like below curl https://registry.hub.docker.com/v1/repositories/centos/tags |jq '. Continue reading

kitty terminal themes

2020-03-09 1 min read Learning
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 here. You can checkout the themes with git clone https://github.com/dexpota/kitty-themes ~/.config/kitty/kitty-themes Once you have done that, you can use the theme with adding a line in kitty.conf as : include

Script to try various themes from kitty terminal

2019-12-16 1 min read bash Learning
Here is the script. Very simple yet very useful script. #!/bin/bash - #=============================================================================== # # FILE: kitty-theme.sh # # USAGE: ./kitty-theme.sh # # DESCRIPTION: # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # AUTHOR: Amit Agarwal (aka), # ORGANIZATION: Individual # CREATED: 12/06/2019 10:15 # Last modified: Fri Dec 06, 2019 10:41AM # REVISION: --- #=============================================================================== set -o nounset # Treat unset variables as an error FOLDER=" Continue reading

i3 – show mapped hotkeys

2019-12-02 1 min read Learning
Here is a simple script that can show you the hotkeys bound in ~/.config/i3/config : #!/bin/bash - #=============================================================================== # # FILE: i3-showkeys.sh # # USAGE: ./i3-showkeys.sh # # DESCRIPTION: # # OPTIONS: --- # REQUIREMENTS: --- # BUGS: --- # NOTES: --- # AUTHOR: Amit Agarwal (aka) # ORGANIZATION: Individual # CREATED: 11/26/2019 14:22 # Last modified: Tue Nov 26, 2019 02:43PM # REVISION: --- #=============================================================================== set -o nounset # Treat unset variables as an error > /tmp/keys cd ~/. Continue reading
Older posts Newer posts