cloud services via curl
* latency, moon status and ip info
This commit is contained in:
parent
a331ff38a6
commit
e94dd284de
@ -62,6 +62,10 @@ alias tunnel='sshuttle --dns -r "$(whoami)@management.collibra.com" 0/0'
|
|||||||
alias sshpub='cat ~/.ssh/id_ed25519.pub'
|
alias sshpub='cat ~/.ssh/id_ed25519.pub'
|
||||||
alias ssla="openssl x509 -alias -noout -in" # Usage : ssla <cert>
|
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
|
# Misc
|
||||||
alias h='cd $HOME'
|
alias h='cd $HOME'
|
||||||
alias diff='colordiff'
|
alias diff='colordiff'
|
||||||
@ -86,6 +90,9 @@ alias current_year='`echo date +"%Y"`'
|
|||||||
alias meteo='weather'
|
alias meteo='weather'
|
||||||
alias learnmore="apropos . | sort --random-sort | awk 'NR == 1 {print$1}' | cut -d'(' -f 1 | xargs man"
|
alias learnmore="apropos . | sort --random-sort | awk 'NR == 1 {print$1}' | cut -d'(' -f 1 | xargs man"
|
||||||
alias biggerthan10='biggerthan 10M'
|
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
|
# Show/hide hidden files in Finder
|
||||||
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
|
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
|
||||||
|
Loading…
Reference in New Issue
Block a user