sudo mkdir /usr/local
sudo chown -R `whoami` /usr/local
curl -L http://github.com/mxcl/homebrew/tarball/master | tar xz --strip 1 -C /usr/local
brew install git
cd /usr/local
git init
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
/* bye-bye brands */ | |
/* https://twitter.com/shauninman/status/1338535791643996160 */ | |
div[aria-label~="Timeline"] div[role="group"] + div { | |
background-color: black; | |
position: absolute !important; | |
top: -24px !important; | |
left: -64px !important; | |
margin-top: 0 !important; | |
width: calc(100% + 64px); | |
height: calc(100% + 24px); |
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
127.0.0.1 c13.zedo.com | |
127.0.0.1 c7.zedo.com | |
127.0.0.1 c5.zedo.com | |
127.0.0.1 ads.cnn.com | |
127.0.0.1 ad.doubleclick.net | |
127.0.0.1 ad.linkstorms.com | |
127.0.0.1 click.linkstorms.com | |
127.0.0.1 amch.questionmarket.com | |
127.0.0.1 ds.serving-sys.com | |
127.0.0.1 cdn.eyewonder.com |
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
#!/bin/sh -e | |
# Usage: license | |
# Prints an MIT license appropriate for totin' around. | |
# | |
# http://www.opensource.org/licenses/mit-license.php | |
# http://gist.github.com/287970 | |
# | |
# $ license > COPYING | |
#!/bin/sh | |
echo "The MIT License |
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
# first you'll want to create a gist then `git clone` the private url | |
# second you'll want to run this script in the gist's directory | |
loop do | |
`git commit -a -m save && git push origin master` | |
sleep 60 * 4 | |
end |
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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
set( | |
fab_hosts = ['host.com'], | |
fab_user = 'user', | |
server_path = '/home/user/django/apache2/bin', | |
project_path = '/home/user/django/project', | |
memcached_ip = 'IP', | |
memcached_port = 'PORT', |