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

Co zrobić jeśli potrzebujesz szybko zdjąć hasło z PDF-a? Okazuje się, że nie trzeba wiele. Dla użytkowników Linuksa rozwiązaniem jest prosty one-liner  

https://blog.narecki.name/na-szybko-jak-usunac-haslo-z-pdf-a

#tutorial #oneliner #NaSzybko #PDF

Na szybko: jak usunąć hasło z PDF-a?

Dostałem niedawno plik PDF zabezpieczony hasłem. Aby jednak nie wpisywać hasła przy każdym otwarciu postanowiłem plik 'odbezpieczyć'. Na ...

Michał Narecki - blog

How to Replace 20 Lines With one any()

Check if ANY item matches. One expression. No loop variable. No append.

#python #any #all #oneliner #howto

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

How to Replace 20 Lines With one any #howto

YouTube

i dont know who needs to hear this... but this saved my day

`find . -mindepth 2 -type f -exec mv -n -t . {} + && find . -mindepth 1 -type d -empty -delete`

just flattens a folder, takes alllllll the sub folders and their sub folders and flattens them into the current dir.

#bash #oneliner #aitoldme #wow

Say What You Do
Do What You Say
Keep Record Of Both

#OneLiner
#WordsOfWisdom
#WoW
#اقوال_زریں
#سنہری_الفاظ

#One-liner #Politics & #TuneTues What did the corrupt congressman order on Election Day? A: Stuffed ballots. If you’re not part of the solution, then you’re probably running for president. I think we should get rid of democracy. All in favor raise your hand. open.spotify.com/track/4YXbMk...

Only a Dream
Only a Dream

Mary Chapin Carpenter · The Essential Mary Chapin Carpenter · Song · 2008

Spotify
#monoku by Laurence Stacy. Laurence teaches English & literature courses at Kennesaw State University. He is also the recent coauthor of Before the Earth: Haiku and Haikai. In addition to studying poetics, he is a longtime martial artist, and is interested in connections between the disciplines he enjoys. #poetry #haiku #poetrylovers #oneliner