Nick Irving - The Reaper

https://www.youtube.com/watch?v=f8FhrqHHcNQ

Nick Irving is New York Times bestselling author and former Sergeant and Sniper with the Special Operations unit, 75th Ranger Regiment 3rd Ranger battalion. Nicknamed “The Reaper”.

Sed is more than search and replace

https://www.youtube.com/watch?v=akN2TFarz0A

Find some text in adobe after effects binary file

example 1

strings -a -e b marilyn.aep | grep -i mar
# or interactive fuzzy finder:
strings -a -e b marilyn.aep | fzf 

may return

maraRGB-kameraprofilRGB-Profil f
maraRGB-kameraprofilRGB-Profil f
MARILYN

example 2

strings -a -e b marilyn.aep | grep DIN | sort | uniq

may return

DINOffcPro
DINOffcPro-Medi
DINPro-Light
DINPro-Medium
DINPro-Regular

Explanation of the command line:

strings
-a or --all
-e b = encoding type is 16bit Unicode

The rest should be clear from examples.
Note: This will not find or display any multibyte chararacter correctly for unknown reasons.

Cputoy in golang

https://github.com/brontosaurusrex/cputoy

||||||||||
|||||
|||||||||||||||||||
|||||||||||||||||||
|||||||||||
|||||||
|||
||||||||||||||||||||

Print cpu usage in Linux with some vertical bars.

Earbud touch commands

https://support.lenovo.com/si/en/solutions/ht511353-lenovo-true-wireless-earbuds-faqs-and-troubleshooting-guide

  • To play/pause
    Tap the touch panel of the left/right earbuds twice.

  • To Pick/Hang up call
    Tap the touch panel of the left/right earbuds twice.

  • To Reject call
    Press the left/right earbud touch panel and hold 2 seconds.

  • To next song/previous
    Press the left earbud touch panel and hold 2 seconds to previous song. Press the right earbud touch panel and hold 2 seconds to next song.

  • Activate voice assistant
    Tap the touch panel of the left/right earbuds 3 times.

  • Bluetooth disconnected into pairing mode
    Tap the touch panel of the left/right earbuds 7 times.

  • To turn on/off earbuds manually
    When the earbuds are not in the charging box, press and hold for 5 seconds to turn on and 8 seconds to turn off.

golang cli arguments (os.Args > flag > cobra?)

https://www.kosli.com/blog/understanding-golang-command-line-arguments/
https://github.com/spf13/cobra

When you run a command like go run main.go the value of main.go is considered a command line argument. It is a way of parameterizing the execution of a program.

GitHub CLI

https://docs.github.com/en/github-cli/github-cli/quickstart

In case you are absosmurfly lost by the hardened github authorization tokens and stuff, this thing seems like a god given step by step solution.