2 ms·
How is it counting? For me (tzs on Github) it says I have this many lines: 2038 JavaScript 43274 Lua 17425 Perl If I count up the heads of all my re
by tzs 15y ago
How is it counting? For me (tzs on Github) it says I have this many lines:
2038 JavaScript
43274 Lua
17425 Perl
If I count up the heads of all my repositories, just going by lines in the file to maximize the counts (i.e., not filtering out whitespace or comments, and counting mixed HTML/JavaScript as all JavaScript) I get numbers more like this:
1000 JavaScript
1100 Lua
600 Perl
- aaronpk 15y agoMy mistake! Apparently the counts that come back from the Github api are bytes, not lines. http://developer.github.com/v3/repos/#list-languages http://developer.github.com/v3/repos/#list-languages You can see an example of an API call for one of your repositories: https://api.github.com/repos/tzs/Reddit-Math-Display-for-Safari/languages https://api.github.com/repos/tzs/Reddit-Math-Display-for-Saf...
- xyzzyb 15y agoThis is one instance where the github documentation is lacking. Actually their entire API documentation site could use some serious attention.