Skip to content

A quick script to quickly and easily delete your private Gists.

Notifications You must be signed in to change notification settings

lateplate/gist-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

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

About

A quick script to quickly and easily delete your private Gists.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages