Commit 852ae003a6d8f9dbbfb047288e57d74a89ea4c6f

Authored by Geoffrey PREUD'HOMME
1 parent 7edae8f1

Konami code

Showing 3 changed files with 8 additions and 2 deletions   Show diff stats
@@ -2,4 +2,5 @@ @@ -2,4 +2,5 @@
2 creds.php 2 creds.php
3 fonts/* 3 fonts/*
4 */bootstrap* 4 */bootstrap*
5 -*jquery*  
6 \ No newline at end of file 5 \ No newline at end of file
  6 +*jquery*
  7 +js/konami.js
7 \ No newline at end of file 8 \ No newline at end of file
@@ -5,7 +5,7 @@ FONTS=robotech-gp.ttf robotaur.ttf @@ -5,7 +5,7 @@ FONTS=robotech-gp.ttf robotaur.ttf
5 BOOTSTRAPNEEDED=js/bootstrap.min.js css/bootstrap.min.css fonts/glyphicons-halflings-regular.* 5 BOOTSTRAPNEEDED=js/bootstrap.min.js css/bootstrap.min.css fonts/glyphicons-halflings-regular.*
6 BOOTSTRAPNAME=bootstrap-$(BOOTSTRAPVER)-dist 6 BOOTSTRAPNAME=bootstrap-$(BOOTSTRAPVER)-dist
7 7
8 -all: redirs $(BOOTSTRAPNEEDED) js/jquery.min.js $(addprefix fonts/,$(FONTS)) 8 +all: redirs $(BOOTSTRAPNEEDED) js/jquery.min.js js/konami.js $(addprefix fonts/,$(FONTS))
9 cd img; make 9 cd img; make
10 10
11 # Redirs 11 # Redirs
@@ -17,6 +17,10 @@ redirs: $(REDIRS) @@ -17,6 +17,10 @@ redirs: $(REDIRS)
17 js/jquery.min.js: 17 js/jquery.min.js:
18 wget http://code.jquery.com/jquery-$(JQUERYVER).min.js -O $@ 18 wget http://code.jquery.com/jquery-$(JQUERYVER).min.js -O $@
19 19
  20 +js/konami.js:
  21 + wget https://gist.githubusercontent.com/scottstanfield/6450745/raw/ca320e86478f3026e138ab45f36820745bc2e6c0/cornify.js -O $@
  22 + a=`sed 's/65,65/66,65/g' $@`; echo "$$a" > $@
  23 +
20 $(BOOTSTRAPNEEDED): 24 $(BOOTSTRAPNEEDED):
21 wget https://github.com/twbs/bootstrap/releases/download/v$(BOOTSTRAPVER)/$(BOOTSTRAPNAME).zip -O $(BOOTSTRAPNAME).zip 25 wget https://github.com/twbs/bootstrap/releases/download/v$(BOOTSTRAPVER)/$(BOOTSTRAPNAME).zip -O $(BOOTSTRAPNAME).zip
22 unzip $(BOOTSTRAPNAME).zip $(addprefix $(BOOTSTRAPNAME)/,$(BOOTSTRAPNEEDED)) 26 unzip $(BOOTSTRAPNAME).zip $(addprefix $(BOOTSTRAPNAME)/,$(BOOTSTRAPNEEDED))
@@ -45,6 +45,7 @@ if (isset($_GET['c'])) { @@ -45,6 +45,7 @@ if (isset($_GET['c'])) {
45 <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script> 45 <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script>
46 <!-- <script type="text/javascript" src="js/whirlpool.min.js"></script> --> 46 <!-- <script type="text/javascript" src="js/whirlpool.min.js"></script> -->
47 <script type="text/javascript" src="js/crep.js"></script> 47 <script type="text/javascript" src="js/crep.js"></script>
  48 + <script type="text/javascript" src="js/konami.js"></script>
48 <!-- <script type="text/javascript" src="js/base64.js"></script> --> 49 <!-- <script type="text/javascript" src="js/base64.js"></script> -->
49 </head> 50 </head>
50 <body> 51 <body>