Merge branch 'master' into master

This commit is contained in:
Igor Chubin 2020-06-28 19:46:53 +02:00 committed by GitHub
commit 779ba368dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 26 additions and 3 deletions

View file

@ -120,6 +120,7 @@ test_curl 200 curlmyip.net
test_curl 200 ipinfo.io/ip
test_curl 200 icanhazip.com
test_curl 200 checkip.amazonaws.com
test_curl 200 ifconfig.es
echo -e "### DNS"
# dont know how to test dig, exit code always return 0
@ -142,6 +143,13 @@ test_curl 200 ifconfig.co/country
test_curl 200 ifconfig.co/city
test_curl 200 ifconfig.co/country-iso
test_curl 200 ifconfig.co/json
test_curl 200 ifconfig.es/country
test_curl 200 ifconfig.es/code
test_curl 200 ifconfig.es/city
test_curl 200 ifconfig.es/latitude
test_curl 200 ifconfig.es/longitude
test_curl 200 ifconfig.es/geo
test_curl 200 ifconfig.es/json
echo -e "## Text Sharing"
## * `echo "Hello world!" | curl -F 'f:1=<-' ix.io`

View file

@ -59,6 +59,8 @@ Structured data of the list (kept in sync) is in [structured.yaml](structured.ya
* `curl ip-api.com/line?fields=query`
* `curl ifconfig.io/ip`
* `curl -s ip.liquidweb.com`
* `curl ifconfig.es`
* `curl ipaddress.sh`
### DNS
@ -68,6 +70,7 @@ Structured data of the list (kept in sync) is in [structured.yaml](structured.ya
* `dig @ns1.google.com o-o.myaddr.l.google.com TXT -4 +short` (IPv4)
* `dig resolver.dnscrypt.info TXT +short`
* `curl https://dnsjson.com/resolver.dnscrypt.info/TXT.json`
* `curl -L https://edns.ip-api.com/json`
### JSON only
@ -83,7 +86,9 @@ Structured data of the list (kept in sync) is in [structured.yaml](structured.ya
## Geolocation
* `curl ipinfo.io/8.8.8.8` or `curl ipinfo.io/8.8.8.8/loc`
* `curl ip-api.com` or `curl ip-api.com/8.8.8.8`
* `curl ifconfig.co/country` or `curl ifconfig.co/city` or `curl ifconfig.co/country-iso` or `http ifconfig.co/json`
* `curl ifconfig.es/geo` or `curl ifconfig.es/json` or `curl ifconfig.es/country` or `curl ifconfig.es/code` or `curl ifconfig.es/city` or `curl ifconfig.es/latitude` or `curl ifconfig.es/longitude`
## Text Sharing
@ -151,6 +156,7 @@ Structured data of the list (kept in sync) is in [structured.yaml](structured.ya
* `curl moneroj.org` — get Monero exchange rate
* `curl cmc.rjldev.com` — get coinmarketcap top 100 cryptocurrencies
* `telnet ticker.bitcointicker.co 10080` — get BTC/USD exchange rate
* `curl stonks.icu/amd/msft` get stock visualizer and tracker
## Documentation
@ -164,8 +170,8 @@ Structured data of the list (kept in sync) is in [structured.yaml](structured.ya
## Generators
* `git commit -m "$(curl -sk whatthecommit.com/index.txt)"` — generate random commit message
* curl `"https://www.random.org/integers/?num=1&min=1&max=100&col=1&base=10&format=plain&rnd=new"` - generate random number
* `git commit -m $(curl -sk whatthecommit.com/index.txt)` — generate random commit message
* `curl -H 'Accept: text/plain' foaas.com/cool/:from` — fuck off as a service
* `curl pseudorandom.name` — generate a pseudo random (American?) name ([treyhunner/pseudorandom.name](https://github.com/treyhunner/pseudorandom.name))
* `curl -s https://uinames.com/api/?region=france\&amount=25 | jq '.[] | .name +" " + .surname'` — generate 25 random french names
@ -183,6 +189,7 @@ Structured data of the list (kept in sync) is in [structured.yaml](structured.ya
* `curl node-web-console.glitch.me` — watch an emoji race ([source](https://glitch.com/edit/#!/node-web-console))
* `curl ascii.live/forrest` - run Forrest, run!
* `curl ascii.live/nyan` - watch Nyan Cat
* `curl https://poptart.spinda.net` — fullscreen colorized Nyan Cat
* `gopher://fld.gp:70` - gopher resources / news / weather / entertainment
* `gopher://mozz.us:70` - games, drink recipes, and other
* `gopher://port70.net/1board/b` - 4chan

View file

@ -7,6 +7,8 @@ by_category:
tags: [curl, plain]
ifconfig.me:
tags: [curl, plain]
ipaddress.sh:
tags: [curl, plain]
ipecho.net:
tags: [curl, plain]
ident.me:
@ -43,11 +45,15 @@ by_category:
tags: [curl, json]
wtfismyip.com:
tags: [curl, json]
ifconfig.es:
tags: [curl, plain, newline, ipv6]
- geo:
ipinfo.io:
tags: [curl]
ifconfig.co:
tags: [curl]
ifconfig.es:
tags: [curl]
- sharing:
ix.io:
tags: [curl]
@ -92,6 +98,8 @@ by_category:
tags: [curl]
moneroj.org:
tags: [curl]
stonks.icu:
tags: [curl]
- documentation:
cheat.sh:
tags: [curl]