Jokes a Comin' #gaming #residentevil #streaming #horror #residentevilrequiem #funny #quip #oneliner #owncast #loops
I am a huge fan of this latest sitcom my guys.
Check out my livestream: https://dingusmacdongle.live
Jokes a Comin' #gaming #residentevil #streaming #horror #residentevilrequiem #funny #quip #oneliner #owncast #loops
I am a huge fan of this latest sitcom my guys.
Check out my livestream: https://dingusmacdongle.live
How to Use the Walrus Operator to Write Less Code
:= assigns and returns in one expression. Combine assignment with conditions. It looks illegal. It's not.

The 'pv' #Linux utility is quite nice as you can track any process read process with the -d option. But what if it is not installed?
p=long_run_prog_name; while pgrep $p >/dev/null; do echo $(date -Isec) $(awk -v s=$(stat -c %s infile) '/pos/{printf "%.3f %%\n", 100*$2/s}' $(eval echo /proc/{$(pgrep -d, $p)}/fdinfo/3) ); sleep 30;done
'infile' is the file read on file descriptor 3 (after fdinfo)
output for two proceeses:
2026-03-09T19:20:15+02:00 40.552 % 44.543 %
How to Swap Variables Without a Temp
Destructuring. One line. No third variable.

To search for Google API keys recursively in the current folder and its sub-folders with ripgrep:
rg 'AIza[0-9A-Za-z\-_]{35}' -o
Also shared on Shodan Snippets:
https://snippets.shodan.io/c/FHw2r7wWIFmjVAfG
#Security #OneLiner #Google #GoogleAPIKeys #APIkeys #ripgrep #Regex #BugBounty #Snippet
I found a useful Git one liner buried in leaked CIA developer docs
#HackerNews #Git #OneLiner #CIA #Docs #UsefulTips #DeveloperTools
Null Coalescing vs Walrus Operator: One-Line Power
PHP's ?? operator vs Python's := walrus operator. Which language gives you more one-line superpowers? Mind = blown!
#php #python #phpvspython #nullcoalescing #walrusoperator #operators #oneliner #programmingcomparison #phptricks #pythontricks #codecomparison #syntaxcomparison #viralcoding
