💾 Archived View for splint.rs › fun_commands.gmi captured on 2023-07-22 at 16:56:43. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-06-14)
-=-=-=-=-=-=-
These are some commands you can do from any Linux terminal. They all run through someone else's server, so any information you send will be visible to the owner.
curl wttr.in
It's best to open the terminal full-screen here to see the full result.
You can also do a city. For some reason, the default 'Glasgow' is somehwere in America, so I have to look up the real Glasgow by suffixing a tilda.
curl wttr.in/Glasgow~
You can get a specific city with a space in it like this:
curl wttr.in/San+Fransisco
Or even get the current moon phase:
curl wttr.in/moon
Send a small file, and get a URL to it.
curl -F"file=@[ your file ]" https://ttm.sh
Stick this in your `.bashrc` for easier use:
function sendfile(){ curl -F"file=@$1" https://ttm.sh }
Now you can do `sendfile myfile.md`, and get the URL back instantly.
echo '*random message*' | ncat termbin.com 9999
curl cht.sh/htop
This returns a tldr on `htop`.
curl https://corona-stats.online/%5B Country ]
https://corona-stats.online/%5B
For countries with a space, use `%20`, e.g.
curl https://corona-stats.online/South%20Africa
https://corona-stats.online/South%20Africa
Look up location info about an IP address.
curl http://api.db-ip.com/v2/free/*1.1.1.1*
http://api.db-ip.com/v2/free/*1.1.1.1*
Get a word's definition:
curl dict://dict.org/define:[ word ]:
You can add it to your `.bashrc` like this:
function wotsa(){ curl dict://dict.org/define:$1: }
Then get a definition simply by typing `wotsa kobold`.
Get current stock prices.
curl -L stonks.icu/btc
You can add multiple stocks by simply appending them, e.g. `stonks.icu/btc/amd`.
telnet towel.blinkenlights.nl