Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added hidden double rainbow reference; added title

  • Loading branch information...
commit 79a1dc04c4ef9ebec195e644ef0f8084f8b17467 1 parent fd0a1b2
zhuowei zhuowei authored
Showing with 26 additions and 2 deletions.
  1. +26 −2 index.html
28 index.html
View
@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>Untitled</title>
+ <title>Spoon-Knife</title>
<style type="text/css">
* {
margin:0px;
@@ -23,8 +23,29 @@
margin: 50px auto;
font: 30px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
}
+ #rainbow-message {
+ position: absolute;
+ right: 10px;
+ top: 10px;
+ box-shadow: -5px 10px 15px gray;
+ -moz-box-shadow: -5px 10px 15px gray;
+ font-family: sans-serif;
+ }
</style>
+ <script type="text/javascript">
+ var keyCodes=new Array(10);
+ var pattern=[38,38,40,40,37,39,37,39,66,65];
Bilgehan Saglik
blghns added a note

If you click up up down down left right left right b a characters, you'll see the hidden reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ function keydownHandler(e){
+ keyCodes.shift();
+ keyCodes.push(e.keyCode);
+ if(keyCodes.every(function(element, index, array){return element===pattern[index];})){
+ document.getElementById("rainbow-message").style.display="";
+ }
+ }
+ window.onkeydown=keydownHandler;
+ </script>
+
</head>
<body>
@@ -34,6 +55,9 @@
<p>
Fork me? No, fork you!
</p>
-
+<div id="rainbow-message" style="display:none">
+Double repositories all the way across the sky!<br/>
+<a href="http://help.github.com/fork-a-repo/">What does it mean?</a>
+</div>
</body>
</html>

4 comments on commit 79a1dc0

elieli

gevald

Daniel Miller

This commit made my day

Till Zoppke

why not?

netSlayer23274

$ GIT AWAY!!!

Bilgehan Saglik

If you click up up down down left right left right b a characters, you'll see the hidden reference.

Please sign in to comment.
Something went wrong with that request. Please try again.