Skip to content

Instantly share code, notes, and snippets.

@thejonanshow
Last active August 29, 2015 14:00
Show Gist options
  • Save thejonanshow/11384191 to your computer and use it in GitHub Desktop.
Save thejonanshow/11384191 to your computer and use it in GitHub Desktop.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type="text/javascript" >
$(window).load(function() {
$("#navFill").height($("#contentWrapper").height()-558);
});
var kkeys = [], konami = "38,38,40,40,37,39,37,39,66,65";
$(document).keydown(function(e) {
kkeys.push( e.keyCode );
if ( kkeys.toString().indexOf( konami ) >= 0 ){
$(document).unbind('keydown',arguments.callee);
$.getScript('http://www.cornify.com/js/cornify.js',function(){
cornify_add();
$(document).keydown(cornify_add);
});
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment