user:thomas 由使用者建立的 Gists
user:thomas
title:mygist Gists 的標題
title:mygist
filename:myfile.txt Gists 的檔案名稱
filename:myfile.txt
extension:yml Gists 的副檔名
extension:yml
language:go Gists 的程式語言
language:go
topic:homelab gists with given topic
topic:homelab
登錄
最後活躍 10 months ago
這個 Bash 腳本用於 查詢目前裝置的公網 IP 及其地理資訊。它會先檢查系統是否安裝了 curl 和 jq(jq 用於解析 JSON),然後使用 curl 向 ip-api.com 發送請求,獲取目前裝置的 IP 位址、國家、城市、ISP、時區等資訊,並透過 jq 以可讀格式輸出。這適用於 網路診斷、IP 追蹤、地理位置查詢或伺服器網路狀態檢測。
嵌入
將這個 Gist 嵌入您的網站。
透過 HTTPS 複製
使用 HTTP 基本認證透過 Git 複製。
透過 SSH 複製
使用 SSH 金鑰透過 Git 複製。
由 Opengist 提供支持 ⋅ Load: 3ms⋅