Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (39 sloc) 1.71 KB
<!doctype html>
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Rodney Keeling | GitHub</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<header>
<h2 id="title">Rodney Keeling's Github Repositories</h2>
<h4><a href="http://www.github.com/rodneykeeling">View GitHub Profile &raquo;</a></h4>
<h4><a href="http://www.rodneykeeling.com">Visit website &raquo;</a></h4>
</header>
<section id="content"></section>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$.getJSON('https://api.github.com/users/rodneykeeling/repos?callback=?', function(data) {
var repos = data.data;
$.each(repos, function (i, repo) {
$('#content').append("<div class='repos'><h3><a href='"+ repo.html_url + "'>" + repo.name +"</a></h3><p>"+ (repo.description || 'No description :\(') +"</p></div>");
});
$('h2#title').append("<img src='"+ repos[0].owner.avatar_url +"' alt='Rodney Keeling' id='avatar' />");
});
});
</script>
<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.2/CFInstall.min.js"></script>
<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
<![endif]-->
</body>
</html>