@manwar Both challenges are appropriately solved with #RakuLang #RegEx

The second one is a #OneLiner but almost πŸ™‚

Decrypt string: ```
S:g/[(\d)|(\d\d)\#]/{chr 96+$0}/
```

Goal parser: ```
my %p = '()' => 'o', '(al)' => 'al';
S:g/@(%p.keys)/{%p{$/}}/
```

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.

#python #walrus #:= #python38 #oneliner #howto

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

How to Use the Walrus Operator to Write Less Code #python

YouTube

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 %

#linuxtips #oneliner

How to Swap Variables Without a Temp

Destructuring. One line. No third variable.

#javascript #destructure #swap #oneliner #howto

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

How to Swap Variables Without a Temp #destructure

YouTube
date -u -v+37S +%H:%M:%S|awk -F: '{printf":%06.2f\n",($1*3600+$2*60+$3)/86.4}'
#beattai #oneliner #BSD #freebsd

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

Shodan Snippets

Cleaning up merged git branches: a one-liner from the CIA's leaked dev docs | spencer.wtf

How to delete all merged git branches locally with a single command. This one-liner has been in my zshrc since 2017 β€” I found it buried in the CIA's Vault7 l...

spencer.wtf

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

https://www.youtube.com/watch?v=0KmTGH51AW8

Null Coalescing vs Walrus Operator: One-Line Power #codecomparison

YouTube