From 852ae003a6d8f9dbbfb047288e57d74a89ea4c6f Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Mon, 16 Mar 2015 18:56:44 +0100 Subject: [PATCH] Konami code --- .gitignore | 3 ++- Makefile | 6 +++++- index.php | 1 + 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8a44c9f..92237fa 100755 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ creds.php fonts/* */bootstrap* -*jquery* \ No newline at end of file +*jquery* +js/konami.js \ No newline at end of file diff --git a/Makefile b/Makefile index f21c25c..7c684d8 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ FONTS=robotech-gp.ttf robotaur.ttf BOOTSTRAPNEEDED=js/bootstrap.min.js css/bootstrap.min.css fonts/glyphicons-halflings-regular.* BOOTSTRAPNAME=bootstrap-$(BOOTSTRAPVER)-dist -all: redirs $(BOOTSTRAPNEEDED) js/jquery.min.js $(addprefix fonts/,$(FONTS)) +all: redirs $(BOOTSTRAPNEEDED) js/jquery.min.js js/konami.js $(addprefix fonts/,$(FONTS)) cd img; make # Redirs @@ -17,6 +17,10 @@ redirs: $(REDIRS) js/jquery.min.js: wget http://code.jquery.com/jquery-$(JQUERYVER).min.js -O $@ +js/konami.js: + wget https://gist.githubusercontent.com/scottstanfield/6450745/raw/ca320e86478f3026e138ab45f36820745bc2e6c0/cornify.js -O $@ + a=`sed 's/65,65/66,65/g' $@`; echo "$$a" > $@ + $(BOOTSTRAPNEEDED): wget https://github.com/twbs/bootstrap/releases/download/v$(BOOTSTRAPVER)/$(BOOTSTRAPNAME).zip -O $(BOOTSTRAPNAME).zip unzip $(BOOTSTRAPNAME).zip $(addprefix $(BOOTSTRAPNAME)/,$(BOOTSTRAPNEEDED)) diff --git a/index.php b/index.php index 42b2a51..8c9d021 100755 --- a/index.php +++ b/index.php @@ -45,6 +45,7 @@ if (isset($_GET['c'])) { + -- libgit2 0.21.2