Bash double quotes lesson

#itnuts

This is the correct way to nest the double quotes in the subshell

a="$(command "$arg")"

Using $() creates a new quoting context. Thus, double quotes inside a command substitution are completely independent of those outside it…

https://stackoverflow.com/questions/42652185/how-to-quote-nested-sub-shell-arguments-correctly

December 8, 2023

#artinstinctive

these anagrams are amazing!

dangeng.github.io/visual_an…

November 30, 2023

Convert SVG to EPS

#itnuts

inkscape -o result.eps input.svg

November 18, 2023

Sad clown paradox

#scitisfaction

https://en.wikipedia.org/wiki/Sad_clown_paradox

just found an excuse for my silly jokes :)

November 9, 2023

Cleaning flatpak bloat

#itnuts

this command cleaned 11gb of space for me flatpak repair --user

https://www.reddit.com/r/flatpak/comments/u32xkb/flatpak_objects_folder_impossibly_large/

October 28, 2023

Keychain - the secret agent manager

#itnuts

If you spawn ssh-agent from current terminal, other terminals don’t pick up the populated env vars. (read more on SO)

Keychain is to the rescue:

www.funtoo.org/Funtoo:Ke…

it originates from Gentoo, which is one love :)

September 21, 2023

human cell mass-size pattern

#scitisfaction

As well as a total cell count, the study revealed something really interesting: if you group cells into categories based on their size, each size category contributes roughly the same amount to the mass of the body.

www.sciencealert.com/strange-m…

September 20, 2023

Reverse autoimmune disease by selectively shutting down the immunity

#scitisfaction

They discovered in recent years that tagging molecules with a sugar known as N-acetylgalactosamine (pGal) could mimic this process, sending the molecules to the liver where tolerance to them develops.

“The idea is that we can attach any molecule we want to pGal and it will teach the immune system to tolerate it,” explained Hubbell. “Rather than rev up immunity as with a vaccine, we can tamp it down in a very specific way with an inverse vaccine.”

pme.uchicago.edu/news/inve…

September 16, 2023

Learned: force Firefox to print non .txt files instead of downloading them

#itnuts

Use prefix view-source: before the url. This allows to quickly check the contents of curl-to-bash install scripts like this:

view-source:https://pyenv.run/

September 8, 2023

The longest word one can type on the first row

#interrobang

Spoiler:

Eriwtureiwotuqwriqwerewreqqwioop

The article lists more comprehensible words as well :)

rubenerd.com/the-longe…

August 26, 2023