Skip to content

Instantly share code, notes, and snippets.

Avatar

Alex Peattie alexpeattie

View GitHub Profile
View pvi_scores.csv
AL Alabama 9 R+13 R+14 -0.76
AK Alaska 3 R+13 R+12 1.35
AZ Arizona 11 R+6 R+7 -1.27
AR Arkansas 6 R+9 R+14 -5.21
CA California 55 D+7 D+9 1.81
CO Colorado 9 EVEN D+1 0.95
CT Connecticut 7 D+7 D+7 0.15
DE Delaware 3 D+7 D+8 1.2
DC District of Columbia 3 D+41 D+40 -0.57
FL Florida 29 R+2 R+2 -0.12
View keybase.md

Keybase proof

I hereby claim:

  • I am alexpeattie on github.
  • I am alexpeattie (https://keybase.io/alexpeattie) on keybase.
  • I have a public key whose fingerprint is CBDB BF8F 9DE7 4465 4BFB 6D90 CEED 9538 6DA9 52F8

To claim this, I am signing this object:

@alexpeattie
alexpeattie / nginx.conf
Created Mar 12, 2016 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
View gist:7b128fab3319a99eeced
rails new instagramjune -T -d postgresql
cd instagramjune/
bin/rake db:create
bin/rails g model post title:string
subl .
bundle
bin/rails g rspec:install
rspec
bin/rake db:migrate
rspec
View .rspec
--format documentation
@alexpeattie
alexpeattie / disable-autolinking.md
Created Feb 7, 2013
Disable Github-flavored Markdown autolinking
View disable-autolinking.md

http://example.com

http://<span></span>example.com