curl -L http://bootstrap.saltstack.org | sudo sh -s -- -M -N git develop
# Good pip
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python2.7
curl --show-error --retry 5 https://raw.github.com/pypa/pip/master/contrib/get-pip.py | python2.7
# gitpython
pip install GitPython==0.3.2.RC1 --upgrade
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/env python | |
# -*- coding: utf-8 -*- | |
''' | |
Wrote this very fast to quickly mirror nodejs's dist directory, which nvm | |
(the node version manager) uses to pull releases of node. | |
If nodejs.org provided rsync access (or other means), I would have | |
just mirrored it that way. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
.Cft1ftLG8@@@@@@@@@@@@Ct11ii1tfCfffLLLCCGG00008888888@@@@@@@88800GGCLCLfftfffttttLG@@@@@@@@@@@@@@@@@@@8G. | |
fLfftt. G8@@@@@@@@@@0fi;:;ii1tftttttfffLCCCCGGG000808888800GGCCCLffffttftttttt11i11tLC8@@@@@@@@@@@@@@@@@Ci | |
tL ;8@@@@@@@@@8L1;::::;;;;iii111tttfffLLLLCCCCG00880GCCCCLLftttttt11111111iiiiiii1tfG0@@@@@@@@@@@@@@@L tLCLGGfG | |
1ff. 1G@@@@@@@8Gt:,:,,::::;;iii;ii1ttttftffffLLLCC0CLfLLLLLLLLffttt11111ii11;;;;;;ii11tfC8@@@@@@@@@@@@@@f ,LLCCCC:fi.:i | |
ttL, ,f8@@@@@8Gf1:,,,,,:::::;;;i1ftttttttttfftfffGfffffttttt1111111iiiiiiiit1i;;;;:;;iii1tLG@@@@@@@@@@@@@@L1;,;tLG0CC;0;. | |
CCf t1f .:C@@@@@8GL1:,,.,.,,::::::::;LCtiiii111tfffCfffffffft1111111iiiiiii;;;;;;:::;;;::;;;iitfG@@@@@@@@@@@@@0L;i. .;f08@@@8 | |
G; t1tt,10@@@@8Lf;:,,. |
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
# This was the order I installed things for a working scientific computing environment on my Mac. | |
brew install python | |
pip install virtualenv virtualenvwrapper | |
# Also add these to your ~/.bash_profile: | |
export PATH=/usr/local/bin:/usr/bin:$PATH | |
source /usr/local/bin/virtualenvwrapper.sh | |
# Not necessary, but quite nice |
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/env python | |
# -*- coding: utf-8 -*- | |
''' | |
Super duper arrow printing app, inspired by | |
http://stackoverflow.com/questions/18778266/image-making-in-python | |
Example run: |
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 | |
# | |
# Take a clipboard saved Server Private Key from Rackspace's deployment panel, clean it up. | |
# | |
# Requires OS X. Hipster jeans optional. | |
# | |
# Usage: | |
# clipkey ~/key | |
# | |
# Takes whatever is in your clipboard, puts it in the file specified as the first argument, |
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
[DEBUG ] loading log_handlers in ['/var/cache/salt/master/extmods/log_handlers', '/usr/lib/pymodules/python2.7/salt/log/handlers'] | |
[DEBUG ] Skipping /var/cache/salt/master/extmods/log_handlers, it is not a directory | |
[DEBUG ] None of the required configuration sections, 'logstash_udp_handler' and 'logstash_zmq_handler', were found the in the configuration. Not loading the Logstash logging handlers module. |
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
base: | |
'*': | |
- python | |
- memcache | |
- nbviewer | |
- supervisor | |
- firewall |
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/env python | |
''' | |
Builds a server with no SSH key then rebuilds it with an SSH Key. | |
''' | |
import os | |
import getpass | |
import pyrax |
OlderNewer