I hereby claim:
- I am keithmorris on github.
- I am keithmorris (https://keybase.io/keithmorris) on keybase.
- I have a public key ASDSFHRtkRNgkJAOWcOCZFH09qOvlczUMwZQA5xOSTNhswo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
server { | |
listen 80; | |
server_name *.foo.example.com; | |
# We need this to resolve the host, because it's a wildcard. | |
# This is google's DNS server. | |
resolver 8.8.8.8; | |
include /etc/nginx/includes/proxy.conf; |
Reference:
sudo fdisk -l
*/.Trash | |
.Spotlight-*/ | |
.Trash | |
.Trashes | |
/.DocumentRevisions-V100 | |
/.file | |
/.fseventsd | |
/.PKInstallSandboxManager | |
/.Spotlight-V100 | |
/.vol |
#!/bin/bash | |
src=/Users/kmorris | |
backupPath=/Volumes/Backups/backups | |
date=`date "+%Y-%m-%dT%H%M%S"` | |
dirname=backup_$date | |
excludeFile=/Users/kmorris/bin/backup-excludes.txt | |
rsync -aAXPlv --exclude-from=$excludeFile --link-dest=$backupPath/latest $src $backupPath/$dirname | |
rm -f $backupPath/latest |
#!/usr/bin/env bash | |
git init . | |
touch .gitignore | |
git add --all | |
git commit -m"initial commit" | |
git remote add origin $1 | |
git branch develop | |
git push origin --all |
for i in .ebextensions/*.dev.yaml; do cp "$i" "`echo $i | sed 's/\.dev\.yaml/\.config/g'`"; done |
files: | |
"/etc/httpd/conf.d/allow_override.conf": | |
mode: "000644" | |
owner: ec2-user | |
group: ec2-user | |
encoding: plain | |
content: | | |
<Directory /var/www/html/myproject/> | |
AllowOverride AuthConfig | |
</Directory> |
zip -r -9 gpb-test.zip . -x ".git*" |