Skip to content

Instantly share code, notes, and snippets.

Will Glynn willglynn

Block or report user

Report or block willglynn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@willglynn
willglynn / poppler-0.74.0.patch
Created Mar 14, 2019
Add WPTypographicSymbols support
View poppler-0.74.0.patch
diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc
index 41b8bb9..99fb36d 100644
--- a/poppler/GfxFont.cc
+++ b/poppler/GfxFont.cc
@@ -1242,11 +1242,15 @@ Gfx8BitFont::Gfx8BitFont(XRef *xref, const char *tagA, Ref idA, GooString *nameA
// pass 1: use the name-to-Unicode mapping table
missing = hex = false;
bool isZapfDingbats = name && name->endsWith("ZapfDingbats");
+ bool isWPTypographicSymbols = name && name->endsWith("WPTypographicSymbols");
for (int code = 0; code < 256; ++code) {
View Factorio GPU selection.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 10 should actually have 8 columns, instead of 6. in line 9.
Version,Release Date,Platform,Variant,Executable MD5,GUID,NvOptimusEnablement,AmdPowerXpressRequestHighPerformance
0.11.15,2015-02-04,win32,alpha,9f701052b017d07df9f32db5e7715703,8f10f577-56d8-4380-a9be451a8bffa6e1,,
0.11.15,2015-02-04,win64,alpha,5285d8b5217da9aa1bc5003bacc46054,b96b6759-3097-4d23-b35eaa2affa27382,,
0.11.16,2015-02-19,win32,alpha,0bb0ab29a6cf4ee87666ae37c0a1fc61,e6889163-33d8-44c3-9dda687271d69728,,
0.11.16,2015-02-19,win64,alpha,ebc129c6ab06febc149ffab6581d79e9,faabc7eb-9bb8-4872-91214967aab12427,,
0.11.17,2015-03-05,win32,alpha,e8ff279e1d599f7927330b733f1567f6,1dc8b273-6df7-4626-a288881be7b098b0,,
0.11.17,2015-03-05,win64,alpha,4cc69fc99ab330dd71b78dabeb1dd0bb,ce212b0f-c143-4050-ab09b976a6ae10d5,,
0.11.18,2015-03-12,win32,alpha,80db3441b8850a660d080538bb9a136a,68fae073-e7bd-4117-b2e9c0c01a1578fe,,
0.11.18,2015-03-12,win64,alpha,48bc220864c7010e51598272623254ed,c5086ec1-23bc-4823-835a792ea2f2e62e,,
0.11.19,2015-03-20,win32,alpha,b4fecc1462c81201b2c87de858de3807,6ddc86f2-372a-48c7-874423ae24
@willglynn
willglynn / gist:3395441349765803a5b28657a782c719
Created Jul 28, 2016
ec2-bundle-and-upload-image example
View gist:3395441349765803a5b28657a782c719
$ 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 Jul 26, 2016
CoreOS oem/ami/import-instance-store.sh output
View full-output.txt
$ 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 Dec 28, 2016
Ford SYNC 3 is unable to connect to 802.11r-capable wireless networks
View sync3-wifi-issue.md
@willglynn
willglynn / gist:9dfc050b95e72f9fc18c44146aaf0aa4
Last active Apr 17, 2016
HTC Vive shipments going out of order
View gist:9dfc050b95e72f9fc18c44146aaf0aa4

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:

View myreq.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:
View keybase.md

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 Nov 20, 2014
Tripp-Lite SNMPWEBCARD snmpwalk results
View gist:166ae3e24df55001e077
# 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
View gist:5db708d843953ecdf18c
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
You can’t perform that action at this time.