mirror of
https://github.com/chubin/awesome-console-services.git
synced 2025-04-29 10:16:25 +02:00
commit
610e4f613d
3 changed files with 16 additions and 2 deletions
10
.github/action-test/entrypoint.sh
vendored
10
.github/action-test/entrypoint.sh
vendored
|
@ -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`
|
||||
|
@ -230,4 +238,4 @@ test_telnet telehack.com 23
|
|||
echo -e "\nFinal test result: ${final_result}"
|
||||
echo -e "\n==END==\n\n"
|
||||
|
||||
exit ${final_result_code}
|
||||
exit ${final_result_code}
|
||||
|
|
|
@ -58,6 +58,7 @@ Structured data of the list (kept in sync) is in [structured.yaml](structured.ya
|
|||
* `curl smart-ip.net/myip`
|
||||
* `curl ip-api.com/line?fields=query`
|
||||
* `curl ifconfig.io/ip`
|
||||
* `curl ifconfig.es`
|
||||
|
||||
### DNS
|
||||
|
||||
|
@ -83,6 +84,7 @@ Structured data of the list (kept in sync) is in [structured.yaml](structured.ya
|
|||
|
||||
* `curl ipinfo.io/8.8.8.8` or `curl ipinfo.io/8.8.8.8/loc`
|
||||
* `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
|
||||
|
||||
|
@ -118,7 +120,7 @@ Structured data of the list (kept in sync) is in [structured.yaml](structured.ya
|
|||
## Weather
|
||||
|
||||
* `curl wttr.in` or `curl wttr.in/Berlin` — the right way to check the weather
|
||||
* `finger oslo@graph.no`
|
||||
* `finger oslo@graph.no`
|
||||
* `telnet rainmaker.wunderground.com 3000`
|
||||
* `curl https://tgftp.nws.noaa.gov/data/observations/metar/stations/KAAO.TXT` - METAR from the specified ICAO
|
||||
|
||||
|
|
|
@ -43,11 +43,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]
|
||||
|
|
Loading…
Add table
Reference in a new issue