Commit 852ae003a6d8f9dbbfb047288e57d74a89ea4c6f
1 parent
7edae8f1
Konami code
Showing
3 changed files
with
8 additions
and
2 deletions
Show diff stats
.gitignore
Makefile
... | ... | @@ -5,7 +5,7 @@ FONTS=robotech-gp.ttf robotaur.ttf |
5 | 5 | BOOTSTRAPNEEDED=js/bootstrap.min.js css/bootstrap.min.css fonts/glyphicons-halflings-regular.* |
6 | 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 | 9 | cd img; make |
10 | 10 | |
11 | 11 | # Redirs |
... | ... | @@ -17,6 +17,10 @@ redirs: $(REDIRS) |
17 | 17 | js/jquery.min.js: |
18 | 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 | 24 | $(BOOTSTRAPNEEDED): |
21 | 25 | wget https://github.com/twbs/bootstrap/releases/download/v$(BOOTSTRAPVER)/$(BOOTSTRAPNAME).zip -O $(BOOTSTRAPNAME).zip |
22 | 26 | unzip $(BOOTSTRAPNAME).zip $(addprefix $(BOOTSTRAPNAME)/,$(BOOTSTRAPNEEDED)) | ... | ... |
index.php
... | ... | @@ -45,6 +45,7 @@ if (isset($_GET['c'])) { |
45 | 45 | <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp"></script> |
46 | 46 | <!-- <script type="text/javascript" src="js/whirlpool.min.js"></script> --> |
47 | 47 | <script type="text/javascript" src="js/crep.js"></script> |
48 | + <script type="text/javascript" src="js/konami.js"></script> | |
48 | 49 | <!-- <script type="text/javascript" src="js/base64.js"></script> --> |
49 | 50 | </head> |
50 | 51 | <body> | ... | ... |