Pinned post

patreon.com/climagic # The latest CLImagic Supplement #024 is out with in-depth explanations of posts made during January. You can gain instant access to it and the 23 more issues by becoming a supporter on Patreon for just $2/month. Thanks for your support.

date -d @3133731337 # You heard it here first. Make sure you're around for this double l33t date. April 20th, 2069 and Unix will be 99.9 years old too. Quite a convergence. Less than 48 years to get ready.

grep -r ereg . --include='*.phtml' # Search for "ereg" in only files ending in .phtml within the current directory tree. (It's )

{ ps auxw | pgrep exim4 || which exim4; } && echo yes || echo probably not # Check to see if your server is affected by the recently released Exim vulnerabilities and you should look into upgrading. exim.org/static/doc/security/C

Listening to classical music highly dynamic range compressed the way 9[2-9].[13579]FM intended.
Using mpv to play a classical stream and jackd to route it through Carla and the LSP compressor because why not. Why do my ears hurt?

patreon.com/climagic # The latest CLImagic Supplement #024 is out with in-depth explanations of posts made during January. You can gain instant access to it and the 23 more issues by becoming a supporter on Patreon for just $2/month. Thanks for your support.

echo "scale=100000;9161/365.24" | BC_LINE_LENGTH=0 bc | while read -n 1 n ; do [[ $n =~ ^[0-9]$ ]] && c=$((n*12+20)) || c=0; printf "\e[48;5;${c}m$n\e[0m" ; done # Seeing repeating decimal number alignment visually with color. (wait for it)

git@github.com must have one hell of an authorized_keys file. *sarc

progress # Want to see how far along that cp is? Just run progress and it will show you the progress of a running GNU coreutils program on Linux. Check man page for more possibilities.

tr A-Z a-z <<<DOMAINNAME\.COM # Translate the letters in a string from uppercase to lowercase. Can be used for any string of course.

Do you run a general purpose webserver in your home? (Not counting specific purpose IoT devices like router admin panels, Rokus, NAS, etc.)

curl -r 28705-29696 -s http://artscene.textfiles\.com/vt100/globe.vt | sed -r '/^\e\[H /q' | GREP_COLORS="ms=01;32" egrep --color=always "[^ ]+" | GREP_COLORS="ms=01;44" grep -P --color=always -e "(?<=[^\ ])\ +" # Only take what you need. Happy !

Today is the 90th birthday of Louis Pouzin. Among the greater things that he did was to coin the term "shell" and invent the concept of what we now call the command line interface. en.wikipedia.org/wiki/Louis_Po

jq -C '.' data.json | less -R # Use jq to pretty print some JSON data with ANSI color coded syntax and use -R in less to process the color.

printf 'ibase=10;obase=2;%d\n' "'"{J,o,a,n,n,e} | bc # Show the binary representations of the ASCII letters making up the name 'Joanne'.

printf "AAAAKtDygfiL/5r31e+UtsWg1Iv5nPCR6LfEsNGlwOLYo4HyhueT9tTu36Lfog==" |base64 -d |nc -w2 10.0.107.105 9999 >/dev/null # Turn on a TPlink HS100 smart plug from the command line. From github.com/branning/hs100 Because they just listen on TCP port 9999 with no auth.

curl -s example.com/wp/my-hip-blog/art | egrep "20[012][0-9]" # Try to find the publish time of a blog that insists on not showing one in the rendered view, because that would be too helpful.

zgrep -a "Memory pressure relief" /var/log/syslog* | grep -v WebKit # Check over the past several syslog files if there was a case of "Memory pressure relief" that was not related to WebKit. Trying to find cause of hard lock about every 7 days. (No results)

echo -e "\e[1;40m" ; clear ; while :; do echo $LINES $COLUMNS $(( $RANDOM % $COLUMNS)) $( printf "\U$(( $RANDOM % 500 ))" ) ;sleep 0.05; done|gawk '{c=$4; letter=$4;a[$3]=0;for (x in a) {o=a[x];a[x]=a[x]+1; printf "\033[%s;%sH\033[2;32m%s",o,x,letter; printf "\033[%s;%sH\033[1;37m%s\033[0;0H",a[x],x,letter;if (a[x] >= $1) { a[x]=0; } }}' # Create a Matrix like effect in the terminal using bash syntax commands.

Check out the "crazy long" curl, grep, sed, awk command pipeline in this article for how botnets de-obfuscate IP botnet IPs stored in the blockchain. arstechnica.com/information-te Could it fit in a toot?

Show older
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!