blob: 076d2168c0c5db03e200010e46c64ac74026934e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<!doctype html>
<html>
<head>
<title>You are only as good as your last commit</title>
<link rel="stylesheet" href="app.css">
<!-- <link rel="stylesheet" href="widget.css"> -->
</head>
<body>
<h1>You are only as good as your last commit</h1>
<p>An old <a href="http://twitter.com/sauy7">friend</a> once told me this, so here's mine.</p>
<span class="lastcommit-widget" data-user="victorhaggqvist"></span>
<p>And now you!</p>
<pre>
<span class="lastcommit-widget" data-user="your github username"></span>
<script src="widget.js"></script>
</pre>
<p>The code above will, when included on a webpage show the last commit made by the provided user.</p>
<p>It's not smart enough to filter out commits by others in a repository on the users account.</p>
<p>Oh...and it only works for GitHub accounts.</p>
<p>Fork it on GitHub.</p>
<p>Thank you</p>
<p><a href="http://twitter.com/johanni">Johan</a></p>
<script src="lastcommit.js"></script>
</body>
</html>
|