Hide Youtube Homepage using Ublock origin

How to Add following line to Ublock origin’s “My filter’s” m.youtube.com##[tab-identifier="FEwhat_to_watch"] Why I use NewPipe to watch videos, and sometimes want to “like” a video which isn’t possible through the app as it isn’t connected to your google account (which i love about it). So i open the video through my browser and find the homepage distracting which is why i searched hard on the internet to find a solution and the reddit comment...

March 21, 2023

Reload kitty using vim

Techniques Instead of restarting your whole terminal you can use the shortcut Control+Shift+F5 (kitty’s documentation on this) Or have kitty reload when you save your config file in vim (shown below) In vimscript: autocmd bufwritepost ~/.config/kitty/kitty.conf :silent !kill -SIGUSR1 $(pgrep kitty) In lua: autocmd("BufWritePost", { pattern = vim.fn.expand("$HOME/.config/kitty/kitty.conf"), command = "silent !kill -SIGUSR1 $(pgrep kitty)", }) Other Useful Resources kitty documentation on this topic reddit post with more ideas vim syntax highlighting plugin for kitty (vim-kitty) a Related To reload tmux config in a similar way:...

February 20, 2023

Ditto

Music videos Insight

January 4, 2023

How to setup figlet with shadow font

Example Setup save the shadow.flf file from https://github.com/xero/figlet-fonts or the raw file to $HOME/.config/figlet/Shadow Or for convenience can use the command bellow curl https://raw.githubusercontent.com/xero/figlet-fonts/master/ANSI%20Shadow.flf > $HOME/.config/figlet/Shadow.flf Usage Run figlet -f "$HOME/.config/figlet/Shadow" Can also add the line bellow to .zshrc or .bashrc as an alias for easier use figlets='figlet -f "$HOME/.config/figlet/Shadow"' e.g. $ figlets "hello world" ██╗ ██╗███████╗██╗ ██╗ ██████╗ ██║ ██║██╔════╝██║ ██║ ██╔═══██╗ ███████║█████╗ ██║ ██║ ██║ ██║ ██╔══██║██╔══╝ ██║ ██║ ██║ ██║ ██║ ██║███████╗███████╗███████╗╚██████╔╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝ ╚═════╝ ██╗ ██╗ ██████╗ ██████╗ ██╗ ██████╗ ██║ ██║██╔═══██╗██╔══██╗██║ ██╔══██╗ ██║ █╗ ██║██║ ██║██████╔╝██║ ██║ ██║ ██║███╗██║██║ ██║██╔══██╗██║ ██║ ██║ ╚███╔███╔╝╚██████╔╝██║ ██║███████╗██████╔╝ ╚══╝╚══╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═════╝ Alternatives You can also use this ASCII generator online for similar use cases...

July 18, 2022