Update: As of 11 January 2022, git.io no longer accepts new URLs.
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
#!/bin/bash | |
# Intended for use on macOS with brew. Requires changes for other environments. | |
# run `brew install terminal-notifier jq` before use | |
# This script will run 12 times in a minute. Ideally, use it in a cronjob as so: | |
# * * * * * /path/to/covid.sh | |
# Change the path to wherever the script is | |
set -Eeuo pipefail | |
` | |
~/ | |
~ | |
×™× | |
___ | |
__ | |
_ |
Update: As of 11 January 2022, git.io no longer accepts new URLs.
Command:
curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"
URLs that can be created is from:
https://github.com/*
https://*.github.com
from PIL import Image | |
import sys | |
import os | |
img_file = sys.argv[1] | |
im = Image.open(img_file) | |
w, h = im.size | |
print w, h |
i386 : iPhone Simulator | |
x86_64 : iPhone Simulator | |
arm64 : iPhone Simulator | |
iPhone1,1 : iPhone | |
iPhone1,2 : iPhone 3G | |
iPhone2,1 : iPhone 3GS | |
iPhone3,1 : iPhone 4 | |
iPhone3,2 : iPhone 4 GSM Rev A | |
iPhone3,3 : iPhone 4 CDMA | |
iPhone4,1 : iPhone 4S |