cloud services via curl

* latency, moon status and ip info
This commit is contained in:
Morgan Wattiez 2019-08-16 16:41:13 +02:00
parent a331ff38a6
commit e94dd284de

View File

@ -62,6 +62,10 @@ alias tunnel='sshuttle --dns -r "$(whoami)@management.collibra.com" 0/0'
alias sshpub='cat ~/.ssh/id_ed25519.pub'
alias ssla="openssl x509 -alias -noout -in" # Usage : ssla <cert>
# Network
alias ip='echo $(curl ident.me 2>/dev/null)'
alias ipinfo='curl "ipinfo.io/"$(ip)'
# Misc
alias h='cd $HOME'
alias diff='colordiff'
@ -86,6 +90,9 @@ alias current_year='`echo date +"%Y"`'
alias meteo='weather'
alias learnmore="apropos . | sort --random-sort | awk 'NR == 1 {print$1}' | cut -d'(' -f 1 | xargs man"
alias biggerthan10='biggerthan 10M'
alias latency='curl cheat.sh/latency'
alias moon='curl wttr.in/Moon'
alias lune='moon'
# Show/hide hidden files in Finder
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"