Self-made Alfred workflows for myself only.
Query IP geolocation with API provided by ip-api.
ip <IP/domain>
: Query IP geolocation.
Query IP geolocation with IP138.
Since no API is provided for non-commercial users, the script uses regular expression to get results from the HTML page. Also I need to use a fake user agent.
The script may not work when the site changes its front-end framework or applies better anti-crawler strategies.
ip138 <IP/domain>
: Query IP geolocation.
Common hashing, encoding & decoding operations.
hash <string>
: Hash a string into MD5, SHA1, SHA256, SHA512 or CRC32.encode <string>
: Encode a string with Base64 or URL Encoding (RFC 3986).decode <string>
: Decode a Base64-encoded or URL-encoded string.
Unix-related tools.
timestamp [timestamp]
: Get current timestamp, or get UTC datetime by a timestamp.