Files
resume.github.com/views/index.html
David Coallier 4ab11a0bd5 Added a note
2011-02-06 15:16:41 +00:00

51 lines
2.2 KiB
HTML

<div id="doc" class="yui-t7">
<div id="hd" role="banner"><h1>My Github Resume</h1></div>
<div id="bd" role="main">
<div class="yui-g">
<p>
As a software startup owner I really enjoy when people send us their
resumes and they include their github account so we can see tangible work they have done.
</p>
<p><br /></p>
<p>
After a <a href="https://twitter.com/#!/jeresig/status/33968704983138304">tweet by John Resig</a>
I imagined that it may be nice for people to be able to generate their <a href="https://github.com" title="Github">Github</a> resumes.
</p>
<p><br /></p>
<p>
<input id="username" type="text" value="Enter your github username and click on generate" />
<button type="button" id="gen">Generate</button>
</p>
<p><br /></p>
<p>
This is the first version, please keep in mind that it only fetches your first 30 repositories for now. I am planning on adding
things as such as your most committed forks, most committed repositories and make the "My Popular Repositories" be built from
your complete list of repositories. The issue right now is say you have 37 repositories, this will only retrieve the first
30 repositories that were created. I'll put a note here when this is fixed or feel free to <a href="https://github.com/resume/resume.github.com">fork the page</a>,
make changes and send them back :-)
</p>
</div>
</div>
<div id="ft" role="contentinfo"><p>Brought to you by the brilliant mind of <a href="http://twitter.com/davidcoallier">@davidcoallier</a> &lt;/modesty&gt;</p></div>
</div>
<script type="text/javascript">
$(document).ready(function() {
$('input#username').live('click', function() {
$(this).val('');
});
$(document).keyup(function(e) {
if (e.keyCode == 13) {
var genUser = $('#username').val();
document.location.href = "/?" + genUser;
}
});
$('#gen').live('click', function() {
var genUser = $('#username').val();
document.location.href = "/?" + genUser;
});
});
</script>