aboutsummaryrefslogtreecommitdiff
path: root/index.html
blob: 0ba91ea73ce2aa848ed626420e99ce4836627dd6 (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
<!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>

    <span class="lastcommit-widget" data-user="victorhaggqvist"></span>

    <p>And now you!</p>

    <pre class="prettyprint">
&lt;span class=&quot;lastcommit-widget&quot; data-user=&quot;your github username&quot;&gt;&lt;/span&gt;
&lt;script src=&quot;lastcommit.min.js&quot;&gt;&lt;/script&gt;
    </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><a href="https://github.com/victorhaggqvist/lastcommit">Fork on github</a></p>
    <p>Thank you</p>
    <p><a href="http://twitter.com/victorhggqvst">Victor</a></p>

    <script src="dist/lastcommit.min.js"></script>
    <script src="//google-code-prettify.googlecode.com/svn/loader/run_prettify.js"></script>
</body>
</html>