aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorJohan Nilsson <[email protected]>2011-11-26 10:31:31 +0100
committerJohan Nilsson <[email protected]>2011-11-26 10:31:31 +0100
commit7f2d8e883bba5ba0f222acb8f44a94ce6456a4b9 (patch)
tree4772f6b21cfd0e57bf1614fe0bae4a540f03dc8f /index.html
You are only as good as your last commit
Diffstat (limited to 'index.html')
-rw-r--r--index.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..51c973f
--- /dev/null
+++ b/index.html
@@ -0,0 +1,35 @@
+<!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="johannilsson">
+ </span>
+
+ <p>And now you!</p>
+
+ <pre>
+&lt;span class=&quot;lastcommit-widget&quot; data-user=&quot;your github username&quot;&gt;&lt;/span&gt;
+&lt;script src=&quot;widget.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>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="http://platform.twitter.com/widgets.js" type="text/javascript"></script>
+
+ <script src="http://code.jquery.com/jquery-1.7.min.js"></script>
+ <script src="widget.js"></script>
+</body>
+</html> \ No newline at end of file