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
#!/usr/bin/env ruby | |
require 'json' | |
# Remove all gists from a user | |
# Must be run repeatedly, as one request returns a maximum of 30 results | |
# Feel free to alter this to keep making requests until there are no more gists, | |
# but for my purposes this was sufficient | |
username = "username" | |
password = "password" |