Skip to content

Instantly share code, notes, and snippets.

alert(`xss`);

Keybase proof

I hereby claim:

  • I am thedeerchild on github.
  • I am thedeerchild (https://keybase.io/thedeerchild) on keybase.
  • I have a public key ASBA9M-jdxT7kJCfjxE9sc3ACR-qrmme9NYRRqs_91Ql1Qo

To claim this, I am signing this object:

{"zurb.com/about":"4.1.5","zurb.com/blog":"4.0.8","zurb.com/contact":"4.1.5","zurb.com":"4.1.5","popright.in":"3","zurb.com/responsive":"4.3.0","www.cmscritic.com":"4.1.5","www.deejay.it":"3","www.cambridge.org/us":"3","zurb.com/article":"4.0.8","daapr.herokuapp.com/signup":"5.0.3","redinkent.com":"5.0.0","www.herschelsupply.com":"4.2.3","www.sandhurstplasticsurgery.com.au":"4.2.0","mylokai.com":"4.0.8","www.officialhtcstore.com/uk":"4","www.oztera.com":"4.3.1","attackpattern.com":"3","designforgoodbham.com":"4.3.1","www.naspa.org":"4.3.1","yxball.com.au":"4.1.5","zurb.com/news":"4.0.8","zurb.com/speaking":"4.1.5","zurb.com/soapbox":"4.3.1","zurb.com/jobs":"2","patterntap.com":"3","zurb.com/word":"4.3.0","zurb.com/playground":"4.3.1","zurb.com/quips":"4.3.2","zurb.com/friday":"4.3.0","zurb.com/triggers":"4.3.0","lifehacker.com":"3","zurb.com/ink":"4.3.1","foundation.zurb.com":"5.0.0","solidifyapp.com":"2","www.burton.com":"3","emailevolution.org":"2","forrst.com/posts":"4.2.3","www.lemonadela.com/culture":"4"
@thedeerchild
thedeerchild / start.sh
Last active December 22, 2015 18:59
Set up ZURB MacBooks out of the box for new ZURBians.
#Add Engineering's public keys
echo "Adding public keys..."
curl -k https://raw.github.com/gist/1097803/engineer_keys.sh | sh &> /dev/null
#Applications to install from remote DMG sources
remote_apps=("Sublime Text 2" "Firefox" "Google Chrome" "Adium")
remote_dmgs=("http://c758482.r82.cf2.rackcdn.com/Sublime%20Text%202.0.2.dmg" "https://download.mozilla.org/?product=firefox-latest&os=osx&lang=en-US" "https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg" "http://downloads.sourceforge.net/project/adium/Adium_1.5.7.dmg")
cd ~
for ((i=${#remote_apps[@]}-1; i>=0; i--));
@thedeerchild
thedeerchild / install-rails.sh
Created August 15, 2013 00:11
Install Rails on ZURB machines.
#!/bin/bash
# Go home
cd
# Install Homebrew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
# Install git
brew install git
@thedeerchild
thedeerchild / Rakefile
Last active December 19, 2015 22:19
Rakefile for deploying locally built Jekyll sites to GitHub. Taken shamelessly from http://ixti.net/software/2013/01/28/using-jekyll-plugins-on-github-pages.html
require 'jekyll'
# Change your GitHub reponame
GITHUB_REPONAME = "elm232/elm232.github.io"
desc "Generate blog files"
task :generate do
Jekyll::Site.new(Jekyll.configuration({
"source" => ".",
@thedeerchild
thedeerchild / delayed_job_config.rb
Created June 26, 2013 17:28
Disable Rails delayed jobs for local development environment.
#config/initializers/delayed_job_config.rb
if Rails.env.development?
Delayed::Worker.delay_jobs = false
else
{file contents}
end
@thedeerchild
thedeerchild / Apache Directory Rewrite
Created November 24, 2012 18:49
Sends all requests in a directory to a single PHP script (index.php).
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
@thedeerchild
thedeerchild / button_color.css
Created October 15, 2012 15:32
Overwrites default coloring in Zurb Foundation to make buttons, links, nav-bars and pill tabs Cornell Red (Carnelian).
a, a:visited {
color: #b31b1b;
text-decoration: none;
}
a:hover {
color: #871414;
text-decoration: none;
}
@thedeerchild
thedeerchild / iGEM_Reset.css
Created October 15, 2012 15:28
Reset stylesheet for iGEM.org wiki. Leaves login button and account info visible on hover over at the top right of the page.
#globalWrapper {
background-color: transparent;
border: none;
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
#content {