I hereby claim:
- I am dryan on github.
- I am dryan (https://keybase.io/dryan) on keybase.
- I have a public key whose fingerprint is 7E76 E4D1 C6A2 B6FD 8D5E 251E 0B1C D282 DD21 7A08
To claim this, I am signing this object:
#!/bin/bash | |
if [ -f 'package.json' ]; | |
then | |
npm install | |
fi | |
if [ -f 'bower.json' ]; | |
then | |
bower install | |
fi | |
if [ -f 'requirements.txt' ]; |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
import subprocess, sys, os, zipfile | |
try: | |
import boto | |
except ImportError: | |
print 'requires boto. `pip install boto`' | |
sys.exit(os.EX_UNAVAILABLE) | |
try: |
# Hosts/domain names that are valid for this site; required if DEBUG is False | |
# See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts | |
ALLOWED_HOSTS = [ | |
'yourdomain.tld', | |
'.compute-1.amazonaws.com', # allows viewing of instances directly | |
] | |
import requests | |
EC2_PRIVATE_IP = None | |
try: |
'use strict'; | |
var | |
SCSS_ROOT = 'media', | |
CSS_ROOT = 'media', | |
SASS_FRAMEWORKS = 'bower_components', | |
fs = require('fs'), | |
path = require('path'), | |
scssFileMap = {}, | |
scssFiles = fs.readdirSync(SCSS_ROOT), |
#! /usr/bin/env python | |
import sys, os, ConfigParser, argparse | |
from getpass import getpass | |
CLOUD_CONFIG_PATH = os.path.expanduser('~/.cloudapp') | |
CAMPFIRE_CONFIG_PATH = os.path.expanduser('~/.basecamp') | |
def log(message, error_code = None): | |
if error_code: |
# add this to the end of your .bashrc, .zshrc or equivalent | |
function cd() { | |
builtin cd "$@" | |
if [ -f "bin/activate" ] | |
then | |
source "bin/activate" | |
elif [ -f "../bin/activate" ] | |
then | |
source "../bin/activate" | |
else |
Your AWS credentials can be set in a number of ways:
-a
or --access-key
for the Access Key ID and -s
or --access-secret
for the Secret Access Key.This project has moved to dryan.github.io/d3ploy.