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

Convert SVG to EPS

#itnuts

inkscape -o result.eps input.svg

November 18, 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

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

Oldest still alive domain names

#itnuts

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

August 25, 2023

Bidirectional tcp - udp forwarding oneliner

#itnuts

if you ever wondered how to connect to Wireguard server via SSH:

mkfifo /tmp/fifo
nc -l -p 5679 < /tmp/fifo | nc -u 127.0.0.1 5678 > /tmp/fifo

https://superuser.com/questions/53103/udp-traffic-through-ssh-tunnel

August 9, 2023

Some people just inspire

#itnuts

kognise.dev

She is 17 and knows how CPUs work: cpu.land , also how networking works: github.com/kognise/a… , plays cello, composes music and piloting aircrafts, and I guess many more…

im-press-ive

August 9, 2023

The Website Existential Crisis

#itnuts

Redesigning a website goes beyond applying a fresh coat of CSS: it can (and maybe should) make your project go through an existential crisis. You need to put words on who you are, what you do, for whom, and who you’re talking to. It requires stepping out of your comfort zone but it rewards you with a better compass for your project.

ergaster.org/posts/202…

August 9, 2023

Mark Pilgrim's case

#itnuts HN

It’s funny how after 15 years Mark Pilgrim re-appeared in my infospace, provided that he literally removed all his presence / websites / repos / etc from web in 2011.

www.hanselman.com/blog/410-…

August 8, 2023