Created
October 7, 2015 08:38
-
-
Save vendethiel/16202ff76b2009a75019 to your computer and use it in GitHub Desktop.
All my languages are belong to my repos
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
// 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