Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (10 sloc) 304 Bytes
#!/bin/bash -e
if [[ -z $1 ]]; then
echo "Usage: $(basename $0) <GitHub username>"
exit 1
fi
curl \
--user "$1" \
--data '{"scopes": [],"note": "GitHub Markdown render","note_url": "https://github.com/magnetikonline/ghmarkdownrender"}' \
"https://api.github.com/authorizations" | \
grep "token"
Something went wrong with that request. Please try again.