user:thomas Gists erstellt von Nutzer
user:thomas
title:mygist Gists mit Titel
title:mygist
filename:myfile.txt Gists mit Dateinamen
filename:myfile.txt
extension:yml Gists mit Dateiendung
extension:yml
language:go Gists in Sprache
language:go
topic:homelab gists with given topic
topic:homelab
Anmelden
Zuletzt aktiv 10 months ago
這個 Bash 腳本用於 查詢目前裝置的公網 IP 及其地理資訊。它會先檢查系統是否安裝了 curl 和 jq(jq 用於解析 JSON),然後使用 curl 向 ip-api.com 發送請求,獲取目前裝置的 IP 位址、國家、城市、ISP、時區等資訊,並透過 jq 以可讀格式輸出。這適用於 網路診斷、IP 追蹤、地理位置查詢或伺服器網路狀態檢測。
Einbetten
Bette diese Gist in deine Webseite ein.
Mit HTTPS Klonen
Mit Git und HTTP Basic Authentication Klonen.
Mit SSH Klonen
Mit Git und SSH Schlüssel Klonen.
Powered by Opengist ⋅ Load: 2ms⋅