Skip to content

Instantly share code, notes, and snippets.

@willglynn
willglynn / gist:3395441349765803a5b28657a782c719
Created July 28, 2016 17:20
ec2-bundle-and-upload-image example
$ wget -q http://stable.release.core-os.net/amd64-usr/1068.8.0/coreos_production_ami_image.bin.bz2
$ ec2-bundle-and-upload-image -image coreos_production_ami_image.bin.bz2 -s3-bucket totally-not-official-ami -s3-prefix ec2-bundle-and-upload-image/ -name "CoreOS-stable-1068.8.0"
2016/07/28 12:08:19 Using "-region us-east-1" to match S3 bucket
2016/07/28 12:08:19 Using "-account 123456789012" based on active credentials
2016/07/28 12:08:19 Determining size of compressed image...
2016/07/28 12:09:18 Compressed image is 4756340736 bytes
2016/07/28 12:09:18 Writing to s3://totally-not-official-ami/ec2-bundle-and-upload-image/CoreOS-stable-1068.8.0.part.0
2016/07/28 12:09:23 Writing to s3://totally-not-official-ami/ec2-bundle-and-upload-image/CoreOS-stable-1068.8.0.part.1
2016/07/28 12:09:28 Writing to s3://totally-not-official-ami/ec2-bundle-and-upload-image/CoreOS-stable-1068.8.0.part.2
2016/07/28 12:09:31 Writing to s3://totally-not-official-ami/ec2-bundle-and-upload-image/CoreOS-stable-1068.8.0.part.3
@willglynn
willglynn / full-output.txt
Created July 26, 2016 16:24
CoreOS oem/ami/import-instance-store.sh output
$ export AWS_ACCESS_KEY_ID=AKI…
$ export AWS_SECRET_ACCESS_KEY=…
$ export AWS_ACCESS_KEY=$AWS_ACCESS_KEY_ID
$ export AWS_SECRET_KEY=$AWS_SECRET_ACCESS_KEY
$ VERSION=1068.8.0
$ oem/ami/import-instance-store.sh -V $VERSION -g stable -u http://stable.release.core-os.net/amd64-usr/$VERSION/coreos_production_ami_image.bin.bz2 -B totally-not-official-ami -c /home/ec2-user/secrets/cert.pem -k /home/ec2-user/secrets/pk.pem -a <123456789012> -X
Building AMI in zone us-east-1e
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 255M 100 255M 0 0 122M 0 0:00:02 0:00:02 --:--:-- 122M
@willglynn
willglynn / sync3-wifi-issue.md
Last active December 28, 2016 22:52
Ford SYNC 3 is unable to connect to 802.11r-capable wireless networks
@willglynn
willglynn / gist:9dfc050b95e72f9fc18c44146aaf0aa4
Last active April 17, 2016 02:54
HTC Vive shipments going out of order

Tuesday, April 5

The HTC Vive launched.

Daniel O'Brien – HTC VP of VR and HTC Vive Head – had been fielding complaints of out-of-order shipping all day, at one point stating:

@Drehmini we don't choose a region in US to deploy shipments to. We ship in the order which we received.

The @htcvive Twitter account insisted the same:

@willglynn
willglynn / myreq.csr
Created February 12, 2016 15:25
Matching CSR
$ openssl req -text -in Downloads/myreq.csr
Certificate Request:
Data:
Version: 0 (0x0)
Subject: CN=zd.horizon.willglynn.com, O=., OU=., L=., ST=., C=US
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public Key: (2048 bit)
Modulus (2048 bit):
00:ed:6c:4d:63:de:a4:c9:29:c7:2d:9a:9a:4b:01:

Keybase proof

I hereby claim:

  • I am willglynn on github.
  • I am willglynn (https://keybase.io/willglynn) on keybase.
  • I have a public key ASBvO5Mf3Toab8gslimAc76QGKVAgPlczPaZA0nVMCBUYgo

To claim this, I am signing this object:

@willglynn
willglynn / gist:166ae3e24df55001e077
Created November 20, 2014 20:45
Tripp-Lite SNMPWEBCARD snmpwalk results
# snmpwalk -v 2c -c public -Ofn 172.16.3.35; snmpwalk -v 2c -c public -d 172.16.3.35
.1.3.6.1.2.1.1.1.0 = STRING: POWERALERT 12
.1.3.6.1.2.1.1.2.0 = OID: .1.3.6.1.4.1.850.1
.1.3.6.1.2.1.1.3.0 = Timeticks: (2331061) 6:28:30.61
.1.3.6.1.2.1.1.4.0 = STRING: www.tripplite.com
.1.3.6.1.2.1.1.5.0 = STRING: trippliteUps
.1.3.6.1.2.1.1.6.0 = STRING: 1111 W. 35th St., Chicago, IL 60609
.1.3.6.1.2.1.1.7.0 = INTEGER: 72
.1.3.6.1.2.1.1.8.0 = Timeticks: (0) 0:00:00.00
.1.3.6.1.2.1.1.9.1.2.1 = OID: .1.3.6.1.6.3.1
pegasus# zpool status
pool: tank
state: ONLINE
scan: scrub in progress since Wed Nov 12 09:58:47 2014
4.67T scanned out of 19.3T at 304M/s, 13h57m to go
4K repaired, 24.25% done
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
@willglynn
willglynn / gist:98276399a50576d087a1
Created November 4, 2014 14:23
librarian-chef install --verbose output after queue prioritization
$ librarian-chef install --verbose | egrep 'Resolving|Checking|Conflict|Backtrack'
[Librarian] Resolving mysql (= 2.0.2) <https://supermarket.getchef.com/api/v1>
[Librarian] Checking manifests
[Librarian] Checking mysql/5.6.1 <https://supermarket.getchef.com/api/v1>
[Librarian] Conflict between mysql/5.6.1 <https://supermarket.getchef.com/api/v1> and mysql (= 2.0.2) <https://supermarket.getchef.com/api/v1>
[Librarian] Backtracking from mysql/5.6.1 <https://supermarket.getchef.com/api/v1>
[Librarian] Checking mysql/5.6.0 <https://supermarket.getchef.com/api/v1>
[Librarian] Conflict between mysql/5.6.0 <https://supermarket.getchef.com/api/v1> and mysql (= 2.0.2) <https://supermarket.getchef.com/api/v1>
[Librarian] Backtracking from mysql/5.6.0 <https://supermarket.getchef.com/api/v1>
[Librarian] Checking mysql/5.5.4 <https://supermarket.getchef.com/api/v1>
@willglynn
willglynn / gist:4f086324864d44ddf7fa
Last active August 29, 2015 14:08
librarian-chef install --verbose output
This file has been truncated, but you can view the full file.
$ librarian-chef install --verbose | egrep 'Resolving|Checking|Conflict|Backtrack'
[Librarian] Resolving apache2 (>= 0) <https://supermarket.getchef.com/api/v1>
[Librarian] Checking manifests
[Librarian] Checking apache2/2.0.0 <https://supermarket.getchef.com/api/v1>
[Librarian] Resolving apt (>= 0) <https://supermarket.getchef.com/api/v1>
[Librarian] Checking manifests
[Librarian] Checking apt/2.6.0 <https://supermarket.getchef.com/api/v1>
[Librarian] Resolving build-essential (>= 0) <https://supermarket.getchef.com/api/v1>
[Librarian] Checking manifests
[Librarian] Checking build-essential/2.1.2 <https://supermarket.getchef.com/api/v1>