all repos

dotfiles @ 4e2f196e266846b8f4271876fe1bcd2f0b8a71db

my dotfiles

bin/public-ip (view raw)

1
2
3
4
5
6
7
#!/bin/sh
if [ -f '/usr/bin/curl' ]
then
    curl ipinfo.io/ip
else
    wget -qO- ipinfo.io/ip
fi