Have to measure a bunch of things (with rough granularity) in a short period of time?
I give you: 3 metal rulers and a magnet
#quickhack
#measurement
#batch
#lifehack
#labhack
#labgirl

New to Bluesky? πŸ‘€

#QuickHack: Repurpose top-performing content from other platforms and schedule it to Bluesky with Publer effortlessly.

You’re welcome! 🀭

Quick hack:
I wanted to make new directories for the month of the new year in a bunch of directories:

for d in */; do mkdir "${d}"2024/{01..12}; done

Not quite as easy as my first try, `mkdir -p */2024/{01..12}`

#Bash #Shell #QuickHack

How to simply get log messages from your OpenWRT router to your computer? Under System > Logging, configure "external system log server" and run this locally:

$ cat poormans-rsyslog.service
[Service]
Restart=always
RestartSec=5
ExecStart=/usr/bin/socat -u UDP-RECV:514 STDOUT

Then you can just use `journalctl -f` to view the log.

#openwrt #systemd #quickhack #dontuseinproduction