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
When in the Course of human events, it becomes necessary for | |
one people to dissolve the political bands which have connected | |
them with another, and to assume, among the Powers of the earth, | |
the separate and equal station to which the Laws of Nature and | |
of Nature's God entitle them, a decent respect to the opinions | |
of mankind requires that they should declare the causes which | |
impel them to the separation. | |
We hold these truths to be self-evident, that all men are created equal, | |
that they are endowed by their Creator with certain unalienable Rights, |
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
cd ~/tmp | |
sudo apt-get install libpcre3 libpcre3-dev | |
wget http://nginx.org/download/nginx-1.2.5.tar.gz | |
gunzip -c nginx-1.2.5.tar.gz | tar xvf - | |
cd nginx-1.2.5 | |
./configure --with-http_ssl_module | |
make | |
sudo make install | |
cd ~/git/borkbork |
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
MIN_W = 100 | |
MIN_H = 100 | |
MAX_W = 300 | |
MAX_H = 300 | |
def test_50x50(self): | |
resize, crop = self.gen.transforms(50, 50) | |
self.assertIsNone(resize) | |
self.assertIsNone(crop) | |
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
################## | |
# INSTALL STATSD | |
################## | |
sudo apt-get install git-core python-software-properties build-essential | |
sudo apt-get -y install python-software-properties debhelper | |
sudo apt-add-repository ppa:chris-lea/node.js | |
sudo apt-get update | |
sudo apt-get -y install nodejs npm |