Skip to content

Instantly share code, notes, and snippets.

@vendethiel
Created October 7, 2015 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vendethiel/16202ff76b2009a75019 to your computer and use it in GitHub Desktop.
Save vendethiel/16202ff76b2009a75019 to your computer and use it in GitHub Desktop.
All my languages are belong to my repos
// distinct names of the languages you have github repos in
// use it on github.com/NAME?tab=repositories
var xs = [];
Array.prototype.slice.call($$('.repo-list-stats'))
.map(function (x) { return x.innerHTML.split(/\s+/)[1] })
.filter(function (x) {
if (~xs.indexOf(x) || x[0] == '<') return false;
xs.push(x);
return true;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment