This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 1. Daftar layanan yang diperkaya dengan informasi endpoint GeoIP | |
| # Setiap layanan kini mendefinisikan cara mengambil IP dan data Geo-nya sendiri. | |
| $services = @( | |
| # Layanan dengan endpoint JSON untuk GeoIP | |
| @{ Name="ipinfo.io"; Cmd4="curl -4 -s --max-time 5 ipinfo.io/ip"; Cmd6="curl -6 -s --max-time 5 ipinfo.io/ip"; GeoUrl="https://ipinfo.io/json"; IspProperty="org"; CityProperty="city" }, | |
| @{ Name="ifconfig.co"; Cmd4="curl -4 -s --max-time 5 ifconfig.co"; Cmd6="curl -6 -s --max-time 5 ifconfig.co"; GeoUrl="https://ifconfig.co/json"; IspProperty="asn.name"; CityProperty="city" }, | |
| @{ Name="wtfismyip.com"; Cmd4="curl -4 -s --max-time 5 wtfismyip.com/text"; Cmd6="curl -6 -s --max-time 5 wtfismyip.com/text"; GeoUrl="https://wtfismyip.com/json"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>GistRun</title> | |
| <link rel="stylesheet" href="styles.css"> | |
| </head> | |
| <body> | |
| <h1>Hello world!</h1> | |
| <script src="script.js"></script> |