Skip to content

Instantly share code, notes, and snippets.

View davidski's full-sized avatar
🔬
Dance card is pretty full.

David F. Severski davidski

🔬
Dance card is pretty full.
View GitHub Profile
"UserData": {
"Fn::Base64": { "Fn::Join":["", [
"#!/bin/bash -ex\n",
"apt-get update\n",
"apt-get -y install python-setuptools\n",
"mkdir aws-cfn-bootstrap-latest\n",
"curl https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz | tar xz -C aws-cfn-bootstrap-latest --strip-components 1\n",
"easy_install aws-cfn-bootstrap-latest\n",
"/usr/local/bin/cfn-init --stack ", { "Ref":"AWS::StackName" }, " --resource WebServer", " --region ", { "Ref": "AWS::Region" }, "\n"
"\n",
@davidski
davidski / Leanpubs
Last active June 8, 2017 16:37
Coursera RStudio Ozone Example
The Elements of Data Analytic Style
Jeff Leek
https://leanpub.com/datastyle/
R Programming for Data Science
Roger Peng
https://leanpub.com/rprogramming
The Art of Data Science
Roger Peng and Elizabeth Matsui
@davidski
davidski / Rstudio Cheatsheets
Last active September 25, 2015 16:15
Coursera RStudio First Snowfall Example
https://www.rstudio.com/resources/cheatsheets/
Particularly
- Data Wrangling - https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf
- Data Visualization - https://www.rstudio.com/wp-content/uploads/2015/08/ggplot2-cheatsheet.pdf
@davidski
davidski / 2013_NBPD_Bike_Counts.csv
Created October 5, 2015 19:26
Knight Center D3 data set
Location Jan May July Sept
Linden Ave N and N 130th St 61 255 244 186
Greenwood Ave N and N 85th St 39 103 82 79
NE Ravenna Blvd, E Green Lake Way N/NE 71st St 176 408 420 492
32nd Ave NW and NW 54th St 81 298 212 258
NW Market St and 24th Ave NW/Shilshole Ave NW 135 415 481 424
15th Ave NW and NW Market St 82 92 73 85
N 45th St and Stone Way N 126 328 320 382
Lake City Way and NE 125th St 52 73 109 116
NE Northgate Way and 5th Ave NE 36 28 56 51
@davidski
davidski / 2013_NBPD_Bike_Counts.csv
Created October 5, 2015 19:45
Knight Center Module 2
Linden Ave N and N 130th St 61 255 244 186
Greenwood Ave N and N 85th St 39 103 82 79
NE Ravenna Blvd, E Green Lake Way N/NE 71st St 176 408 420 492
32nd Ave NW and NW 54th St 81 298 212 258
NW Market St and 24th Ave NW/Shilshole Ave NW 135 415 481 424
15th Ave NW and NW Market St 82 92 73 85
N 45th St and Stone Way N 126 328 320 382
Lake City Way and NE 125th St 52 73 109 116
NE Northgate Way and 5th Ave NE 36 28 56 51
@davidski
davidski / 2013_NBPD_Bike_Counts.csv
Last active October 5, 2015 22:22
Knight Center D3 - Module 3
Linden Ave N and N 130th St 61 255 244 186
Greenwood Ave N and N 85th St 39 103 82 79
NE Ravenna Blvd, E Green Lake Way N/NE 71st St 176 408 420 492
32nd Ave NW and NW 54th St 81 298 212 258
NW Market St and 24th Ave NW/Shilshole Ave NW 135 415 481 424
15th Ave NW and NW Market St 82 92 73 85
N 45th St and Stone Way N 126 328 320 382
Lake City Way and NE 125th St 52 73 109 116
NE Northgate Way and 5th Ave NE 36 28 56 51
@davidski
davidski / 2013_NBPD_Bike_Counts.csv
Created October 5, 2015 22:43
Knight Center D3 - Module 4
Linden Ave N and N 130th St 61 255 244 186
Greenwood Ave N and N 85th St 39 103 82 79
NE Ravenna Blvd, E Green Lake Way N/NE 71st St 176 408 420 492
32nd Ave NW and NW 54th St 81 298 212 258
NW Market St and 24th Ave NW/Shilshole Ave NW 135 415 481 424
15th Ave NW and NW Market St 82 92 73 85
N 45th St and Stone Way N 126 328 320 382
Lake City Way and NE 125th St 52 73 109 116
NE Northgate Way and 5th Ave NE 36 28 56 51
@davidski
davidski / 2013_NBPD_Bike_Counts.csv
Created October 5, 2015 23:07
Knight Center D3 - Module 5
Linden Ave N and N 130th St 61 255 244 186
Greenwood Ave N and N 85th St 39 103 82 79
NE Ravenna Blvd, E Green Lake Way N/NE 71st St 176 408 420 492
32nd Ave NW and NW 54th St 81 298 212 258
NW Market St and 24th Ave NW/Shilshole Ave NW 135 415 481 424
15th Ave NW and NW Market St 82 92 73 85
N 45th St and Stone Way N 126 328 320 382
Lake City Way and NE 125th St 52 73 109 116
NE Northgate Way and 5th Ave NE 36 28 56 51
@davidski
davidski / 2013_NBPD_Bike_Counts_edit.csv
Last active October 6, 2015 02:01
Knight Center D3 - Module 6
Location 01-01-2013 05-01-2013 07-01-2013 09-01-2013
Linden Ave N and N 130th St 61 255 244 186
Greenwood Ave N and N 85th St 39 103 82 79
NE Ravenna Blvd, E Green Lake Way N/NE 71st St 176 408 420 492
32nd Ave NW and NW 54th St 81 298 212 258
NW Market St and 24th Ave NW/Shilshole Ave NW 135 415 481 424
15th Ave NW and NW Market St 82 92 73 85
N 45th St and Stone Way N 126 328 320 382
Lake City Way and NE 125th St 52 73 109 116
NE Northgate Way and 5th Ave NE 36 28 56 51
@davidski
davidski / rstudio-cloudformation.json
Created November 5, 2015 22:27
Scrubbed version of RStudio CloudFormation template as referenced at http://blog.severski.net/2015/11/creating-rstudio-server-instance-on-aws.html
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "Spin up a RStudio Server instance with a HTTPS off-loading ELB.",
"Parameters" : {
"SSLcertificate" : {
"Type" : "String",
"Default" : "arn:aws:iam::ACCOUNT)NUMBER:server-certificate/rstudio-cert",
"Description" : "Enter the ARN of the server certificate for ELB front-end. Default is rstudio-cert."
},
"MaxSpotPrice" : {