#4001 · 7 answers · 4y

What's your latest computing lifehack?

The latest computing hack was how to see the contents of secrets in Kuberenetes but that's boring so let me tell you another one! I've been writing some bash scripts lately and learned some new commands that I didn't know about.
Use sponge if you want to directly modify a json file with jq. jq doesn't have a -i option like sed. Also use trap to clean up the mess when your script exits.
I feel this sounds boring too!

Setup a share drive using your router's storage USB port, I had a TB external which is now my dedicated share drive. I also have FTP enabled and use a DDNS so I can get to my files from anywhere.

Also I discovered something amazing which is I'm able to browse the network drive using my file manager app AND open it with Web Video Caster so I can beam it directly to any Roku or Chromecast. Now I don't need to spend another $100+ on a Pi/components for a dedicated Plex server.

I just found out that deflate media in compressed archives can be directly opened in your favourite player in KDE Ark, treats it like a normal webstream.

Retrospring uses Markdown for formatting

*italic text* for italic text

**bold text** for bold text

[link](https://example.com) for link