1
0
Fork 0

chore: updates here and there

This commit is contained in:
Arthur Khachaturov 2024-08-17 18:16:07 +03:00
parent ed190866f5
commit 05708570cb
No known key found for this signature in database
GPG key ID: CAC2B7EB6DF45D55
14 changed files with 58 additions and 67 deletions

6
.local/bin/scripts/ip.me Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
API_ENDPOINT='http://ip-api.com/json/?fields=7876383'
printf "%s" "$(curl "${API_ENDPOINT}" 2>/dev/null)" | jq -r '[ "IP: \(.query)", "Country: \(.country)", "City: \(.city)", "ISP: \(.isp)", "ASN: \(.as)" ][] | "\(.)"'
# vim: ft=bash