Weekend reading: "Freeing ourselves" edition

Weekend reading: "Too much stuff" edition

Self-hosting Gotify

Push notifications are great. You know what else is great? Gotify, a self-hosted server for sending and receiving push notifications. Distributed as a single binary file, Gotify is easy to deploy and maintain, and the accompanying Android app completes the picture.

Continue reading

Weekend reading: "Free will" edition

Get your exact position with a Bash one-liner

Need to get the geographical coordinates of your current position? On a Debian and Linux Mint, install the geoclue-2-demo package using the sudo apt install geoclue-2-demo command, then run the following one-liner:

/usr/libexec/geoclue-2.0/demos/where-am-i | grep -e 'Latitude' -e 'Longitude' | tail -n 2

If you need the latitude and longitude values only, use this one-liner instead:

/usr/libexec/geoclue-2.0/demos/where-am-i | \
grep -e 'Latitude' -e 'Longitude' | tr -d ' ' | \
cut -d':' -f2 | tr -d ° | tail -n 2