Skip to content

Instantly share code, notes, and snippets.

Sean Chittenden sean-

View GitHub Profile
@sean-
sean- / gce-freebsd-11.tf
Last active Sep 1, 2016
FreeBSD 11.0-RC1 on GCE
View gce-freebsd-11.tf
// Quick Terraform file to spin up FreeBSD 11.0-RC1 on GCE
//
// Steps:
// 0) Install Terraform >= 0.6.16 <https://www.terraform.io/downloads.html>
// 0.1) Install Google SDK if not already done (hint: `which gcloud` must succeed): https://cloud.google.com/sdk/
// 0.2) If already installed, make sure GCE settings are correct by re-running: `gcloud init`
// 0.3) Load the correct SSH key into your ssh-agent: `ssh-add ~/.ssh/google_compute_engine`
// 1) Drop this file into a dedicated directory
// 2) Populate account.json from https://console.cloud.google.com/apis/credentials/serviceaccountkey?authuser=1
// 3) Plan the change by running: `terraform plan -out foo.plan`
View us_medals_rio2016.txt
# Data from: http://www.theguardian.com/sport/ng-interactive/2016/aug/05/rio-olympics-2016-medal-table-and-results-in-full
# $ cat us_medals_rio2016.txt | grep Men | wc -l
# 51
# $ cat us_medals_rio2016.txt | grep Women | wc -l
# 60
3 hours ago Gold Athletics, Men's 4 x 400m Relay Men's team
3 hours ago Gold Athletics, Women's 4 x 400m Relay Women's team
4 hours ago Bronze Taekwondo, Women +67kg Jackie Galloway
4 hours ago Silver Athletics, Men's 5000m Paul Kipkemoi Chelimo
4 hours ago Gold Athletics, Men's 1500m Matthew Centrowitz
View keybase.md

Keybase proof

I hereby claim:

  • I am sean- on github.
  • I am seanc (https://keybase.io/seanc) on keybase.
  • I have a public key whose fingerprint is D122 3D5C A7B9 3427 5A04 C7D4 4EBC 9DC1 6C2E 5E16

To claim this, I am signing this object:

@sean-
sean- / gist:8f99c312bc798b65c4fe
Last active Nov 25, 2015
This is your your data on a RAID card, any questions?
View gist:8f99c312bc798b65c4fe
pool: data
state: DEGRADED
status: One or more devices are faulted in response to IO failures.
action: Make sure the affected devices are connected, then run 'zpool clear'.
see: http://illumos.org/msg/ZFS-8000-HC
scan: none requested
config:
NAME STATE READ WRITE CKSUM
data DEGRADED 4 17.6K 0
You can’t perform that action at this time.