find ~ -iname '*brave*' -print0 | xargs -0 rm -rf
New #blog post: Gathering Hashtags from the Fediverse
https://rldane.space/gathering-hashtags-from-the-fediverse.html
282 words (2233 counting the hashtags, but that's just silly)
cc: my wonderful #chorus: @joel @dm @sotolf @thedoctor @pixx @twizzay @orbitalmartian @adamsdesk @krafter @roguefoam @clayton @giantspacesquid
(I will happily add/remove you from the chorus upon request! :)
#rlDaneWriting #hashtags #bash #OneLiner #OneLiners #ShellScripting #Fediverse #API
๐งช I found myself establishing connections to new hosts often enough this week that this was super helpful:
๐ echo $(whoami)@$(curl --silent ifconfig.me)
๐คญ Not new, just more helpful than usual!
#Development #Techniques
Minimal dark mode ยท Light and dark mode in just 1 line of CSS https://ilo.im/163ec0
_____
#OneLiner #ColorScheme #LightMode #DarkMode #Browser #WebDev #Frontend #CSS
Wait for 152 seconds - Transmission64 BASIC One-Liner Winner 2024 ๐
https://www.youtube.com/watch?v=uTqWw62zllY
@nickmofo , you'll probably like this #c64 #BASIC #oneliner
#programming #demoscene
Note to myself: This makes an android device take a photo via USB or networked Android Debug Bridge adb (download it via adb pull)
"adb shell input keyevent 26 & adb shell input keyevent 26 & adb shell input keyevent 26 & adb shell input keyevent 27"
(triple click on power button 26 followed by an instantaeneous "take photo" button 27)
#adb #android #photography #linux #opensource #oneliner #basheinzeiler
"Noone is dumb enough to go where we are going".
This feels like a one-liner that could describe every Jurassic Park or Jurassic World film ever made.
perl -e 'for(1..9){$y+=$_*$_*$_};print "$y\n"'
Impossible Mission: Eine Zeile Basic
https://www.golem.de/news/podcast-besser-wissen-impossible-mission-eine-zeile-basic-2412-191331.html #Programmiersprache #Basic #Programmcode #Oneliner
i should not be proud of myself for this. i should be ashamed.
jq -c '.[] | select(.shortcode | contains("flan_")) | {shortcode, static_url}' emojis.json \
| while read flan; do \
code=$(jq -cr '.shortcode' <<< "${flan}"); \
url=$(jq -cr '.static_url' <<< "${flan}"); \
curl -o "flans/${code}.png" -sSL $url; \
done
(it finds all the flan_
entries in a list and downloads them)
(in retrospect i could have used the category
prop for that)
(look i said i should be ashamed ok)
Absolut madness! This is a ONE-LINER! https://www.youtube.com/watch?v=uTqWw62zllY #c64 #oneliner #commodore
Tip: List the packages in a given apt repository by finding the `Packages` file URL and then doing this:
```bash
curl -sSL http://example.com/Packages | awk '/Package:/ { package=$2 } /Version:/ { print(package "\t" $2) }' | column -t
```
#MastodonNeedsMarkdownSupport #apt #bash #OneLiner #Tip #NoteToSelf #Linux #Debian #Ubuntu
When a zombie with biometric house-locks is expecting visitors, it leaves a finger under the doormat.