Skip to content

Instantly share code, notes, and snippets.


Rod Vagg rvagg

View GitHub Profile
rvagg / armv7-Makefile
Created Mar 2, 2015
OpenSSL 1.0.2 config for ARMv7 & ARMv8/AArch64
View armv7-Makefile
### Generated automatically from by Configure.
## Makefile for OpenSSL
rvagg /
Last active Oct 31, 2020
Kindleberry "Paperwhite" Pi

Work in progress, I'll write this up properly when I'm done.

Almost all credit goes to @maxogden for putting me on to this and pointing me in the right direction for each of these items.


  • Raspberry Pi
  • Kindle Paperwhite freed from its locked down state (jailbroken)
    • You have to downgrade your Kindle to 5.3.1 to install the current jailbreak; that's just a matter of getting the old version image, putting it on your Kindle via USB and telling it to install "upgrade". Then you put in the Jailbreak files, load the ebook and break.
    • Your kindle will be quick to detect an upgrade is available so it'll want to upgrade soon afterwards but the jailbreak will last but you have to reinstall the developer certificates so it's a bit of a pain but doable. Find all the instructions on the forums and wiki.
rvagg /
Created Sep 10, 2020
High-level JS abstractions for navigating IPLD data (thought-bubble)

Continuing on from, because I don't want to derail that but I'd like to seed more thinking about how we can move toward better high-level IPLD abstractions.

There are currently a few different visions about this topic, but mostly I think it's pretty grey because we need to experiment with it more to figure out what actually makes sense. I think some of our current core differences are around what to do with the block boundary. I'd like us to try and erase the block boundary more at the user-facing end (not entirely, it's an abstraction that has to leak to some degree because there are costs to pretending it doesn't exist). go-ipld-prime is pushing forward to a model that I think we can somewhat mirror in JavaScript, with some major differences - primarily in that we have the async boundary to deal with, and we can use plain JavaScript objects to represent complex things (they have to either pre-define their object shapes or us

rvagg /
Last active Feb 6, 2020 - simple script to fetch and install Node.js releases and nightlies on Linux (x86, x64 & ARM) and OS X
# Note your /usr/local will need to be writable by the user running it,
# alternatively run it with `sudo`
hasxz=$(which xzcat)
os=$(uname | tr '[A-Z]' '[a-z]')
arch=$(uname -m)
View apple_notarize_developer_log.json
"logFormatVersion": 1,
"jobId": "f7c77a9c-472c-4a0e-b80b-b776c42e1fad",
"status": "Accepted",
"statusSummary": "Ready for distribution",
"statusCode": 0,
"archiveFilename": "node-v14.0.0-nightly20200122c68fa207d7.pkg",
"uploadDate": "2020-01-22T04:18:58Z",
"sha256": "da3f7b4293a98afa17753a376e9b8240940b859eef305cdeeb874a1094097e78",
"ticketContents": [
rvagg / dpkg-l.diff
Created Oct 2, 2019
test-rackspace-debian8-x64-{1,2} dpkg -l differences
View dpkg-l.diff
< ii ca-certificates 20170717~14.04.1 all Common CA certificates
> ii ca-certificates 20141019+deb8u4 all Common CA certificates
< ii cloud-guest-utils 0.29-1~bpo8+1 all cloud guest utilities
< ii cloud-image-utils 0.29-1~bpo8+1 all cloud image management utilities
< ii cloud-initramfs-dyn-netconf 0.25ubuntu1.14.04.2 all write a network interface file in /run for BOOTIF
< ii cloud-initramfs-growroot 0.25ubuntu1.14.04.2 all automatically resize the root partition on first boot
rvagg / gist:3943404
Created Oct 24, 2012
npm CouchDB registry/_design/app
View gist:3943404
"_id": "_design/app",
"_rev": "607-6efd9a48552b62b0e2f52b1851589ea2",
"views": {
"updated": {
"map": "function (doc) {\n var l = doc[\"dist-tags\"].latest\n , t = doc.time && doc.time[l]\n if (t) emit(t, 1)\n}"
"listAll": {
"map": "function (doc) { return emit(doc._id, doc) }"
rvagg / arch-vers-perday.csv
Created May 5, 2018
Node arch+version download stats 2018
View arch-vers-perday.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 3 should actually have 97 columns, instead of 36. in line 2.
rvagg / openssl_1.1.1-pre1_node_failures.log
Created Feb 13, 2018
OpenSSL 1.1.1-pre1 Node.js master test output
View openssl_1.1.1-pre1_node_failures.log
This file has been truncated, but you can view the full file.
00:00:00.001 Started by upstream project "node-test-commit-linux-containered" build number 2224
00:00:00.003 originally caused by:
00:00:00.064 Started by user Rod Vagg
00:00:00.067 [EnvInject] - Loading node environment variables.
00:00:00.869 Building remotely on test-joyent-ubuntu1604_sharedlibs_container-x64-3 (ubuntu1604_sharedlibs_openssl102_x64 ubuntu1604_sharedlibs_x64 ubuntu1604_sharedlibs_openssl111_x64 ubuntu1604_sharedlibs_zlib_x64 ubuntu1604_sharedlibs_debug_x64 ubuntu1604_sharedlibs_fips20_x64 ubuntu1604_sharedlibs_openssl110_x64) in workspace /home/iojs/build/workspace/node-test-commit-linux-containered/nodes/ubuntu1604_sharedlibs_openssl111_x64
00:00:23.535 Cloning the remote Git repository
00:00:23.804 Cloning repository
rvagg /
Created Oct 26, 2017
Node 6.x - 8.x semver-major and semver-minor differences @ Oct 27 2017
  • [63036a8d6d] - (SEMVER-MINOR) http2: support generic Duplex streams (Anna Henningsen) #16269
  • [80b0dcfd2b] - (SEMVER-MINOR) test: add makeDuplexPair() helper (Anna Henningsen) #16269
  • [d356022087] - (SEMVER-MINOR) src: turn JS stream into a full duplex (Anna Henningsen) #16269
  • [2788cb7524] - (SEMVER-MINOR) src: allow top-level calls into JSStream (Anna Henningsen) #16269
  • [a5c3143539] - (SEMVER-MINOR) crypto: expose ECDH class (Bryan English) #8188
  • [[8f778d2506](https://
You can’t perform that action at this time.