Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am zehua on github.
  • I am zliu (https://keybase.io/zliu) on keybase.
  • I have a public key ASCpqKdc0OuDI_p4fSawlGLHO9PEmnah9ml2XRp49tebVwo

To claim this, I am signing this object:

@zehua
zehua / gist:a9f0def0c88374a29809
Created January 20, 2015 07:53
Unwatch all repositories under an organization
// select all unwatch buttons and filter by those belonging to THEORG
// replace THEORG below with your own organization name
// visit https://github.com/watching then run the script in dev tool console
$('button:contains("Unwatch")').each(function() {
var $a=$(this).parent().siblings("a:contains('THEORG/')");
if ($a.length == 1) {
$(this).click();
}
});