CLI Web Services

April 30, 2019 Application 0 minutes, 33 seconds

curl wttr.in/M√ľnchen

curl eur.rate.sx/eth

curl ipecho.net/plain

Translates marked text to de with the Google translate API and displays the result via notify-send

notify-send --icon=info "$(xsel -o)" \
    "$(wget -U "Mozilla/5.0" -qO - "http://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=de&dt=t&q=$(xsel -o | sed "s/[\"'<>]//g")" \
    | sed "s/,,,0]],,.*//g" | awk -F'"' '{print $2, $6}')"

curl cht.sh/ls
curl cht.sh/python/dirs+recursive

See cheat.sh

curl cheat.sh/latencies

curl qrenco.de/https://google.com
curl qrenco.de/Hello%20World

curl -s http://tinyurl.com/api-create.php\?url=https://google.com

curl -sk https://whatthecommit.com/index.txt

nc towel.blinkenlights.nl 23