Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 904 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 904 Bytes

Summary

This script will permanently delete all your private Gists, so proceed with caution. It's handy for when you've built up a lot of cruft when sharing snippets. This will give you a nice clean slate to work with.

This is a slight tweak (aka, a complete rip of) Trevor's original Gist.

Setup

  1. From the command line: gem install httparty
  2. Open gist_cleaner.rb in any editor and change the @username and @password values to your's. If you're using Github's 2-factor authentication, you'll need to create an application password and choose a single permission: gist -> Create gists

Run

  1. From the command line: ruby gist_cleaner.rb