This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\usepackage{listings} | |
\usepackage{color} | |
\usepackage{float} | |
\definecolor{lightgray}{rgb}{0.95, 0.95, 0.95} | |
\definecolor{darkgray}{rgb}{0.4, 0.4, 0.4} | |
\definecolor{purple}{rgb}{0.65, 0.12, 0.82} | |
% Shamelessly stolen from: http://tex.stackexchange.com/a/22992/37828 | |
\lstdefinelanguage{Assembler}[x86masm]{Assembler}{% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lynx -dump http://www.daysoftheyear.com/days/$(date +%Y)/$(date +%m)/ | grep -v "^\s" | grep -v "^\s*$"|sed "s/\[[0-9]*\]/ -/;s/And also.../Fun 33th Mon, 9999/"|sed -n "/\S* $(date +%-d)\S* \S*, \d*/,/\S* \d*\S* \S*, \d*/p"|head -n -1;echo "See http://www.daysoftheyear.com for more" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function(){ | |
//Konami magic | |
var code=[38,38,40,40,37,39,37,39,66,65], konamiStep=0; | |
window.addEventListener("keydown", function(event) { | |
if(event.keyCode==code[konamiStep]){konamiStep++;}else{konamiStep=0;} | |
if(konamiStep==code.length){ | |
//KONAMI MAGIC HERE | |
konamiStep=0; | |
} | |
}, false); |
NewerOlder