Skip to content

Instantly share code, notes, and snippets.

Avatar

Rod Vagg rvagg

View GitHub Profile
@rvagg
rvagg / armv7-Makefile
Created Mar 2, 2015
OpenSSL 1.0.2 config for ARMv7 & ARMv8/AArch64
View armv7-Makefile
### Generated automatically from Makefile.org by Configure.
##
## Makefile for OpenSSL
##
VERSION=1.0.2
MAJOR=1
MINOR=0.2
SHLIB_VERSION_NUMBER=1.0.0
@rvagg
rvagg / README.md
Last active Oct 31, 2020
Kindleberry "Paperwhite" Pi
View README.md

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.

Prerequisites:

  • Raspberry Pi
  • Kindle Paperwhite freed from its locked down state (jailbroken) http://www.mobileread.com/forums/showthread.php?t=198446
    • 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 mobileread.com forums and wiki.
@rvagg
rvagg / thought-bubble.md
Created Sep 10, 2020
High-level JS abstractions for navigating IPLD data (thought-bubble)
View thought-bubble.md

Continuing on from https://github.com/multiformats/js-multiformats/pull/35#issuecomment-689933167, 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
rvagg / install-node.sh
Last active Feb 6, 2020
install-node.sh - simple script to fetch and install Node.js releases and nightlies on Linux (x86, x64 & ARM) and OS X
View install-node.sh
#!/bin/bash
# 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)
targetdir="/usr/local/"
domain=nodejs.org
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
rvagg / dpkg-l.diff
Created Oct 2, 2019
test-rackspace-debian8-x64-{1,2} dpkg -l differences
View dpkg-l.diff
27c27
< ii ca-certificates 20170717~14.04.1 all Common CA certificates
---
> ii ca-certificates 20141019+deb8u4 all Common CA certificates
29,30d28
< 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
32,34c30,32
< 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
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
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.
arch,armv6l,armv6l,armv6l,armv6l,armv6l,armv6l,armv6l,armv6l,armv6l,armv6l,armv6l,armv6l,armv7l,armv7l,armv7l,armv7l,armv7l,armv7l,armv7l,armv7l,armv7l,armv7l,armv7l,armv7l,x64,x64,x64,x64,x64,x64,x64,x64,x64,x64,x64,x64,ppc64le,ppc64le,ppc64le,ppc64le,ppc64le,ppc64le,ppc64le,ppc64le,ppc64le,ppc64le,ppc64le,ppc64le,arm64,arm64,arm64,arm64,arm64,arm64,arm64,arm64,arm64,arm64,arm64,arm64,ppc64,ppc64,ppc64,ppc64,ppc64,ppc64,ppc64,ppc64,ppc64,ppc64,ppc64,ppc64,x86,x86,x86,x86,x86,x86,x86,x86,x86,x86,x86,x86,s390x,s390x,s390x,s390x,s390x,s390x,s390x,s390x,s390x,s390x,s390x,s390x
version,0.10,0.11,0.12,0.8,0.9,4,5,6,7,8,9,10,0.10,0.11,0.12,0.8,0.9,4,5,6,7,8,9,10,0.10,0.11,0.12,0.8,0.9,4,5,6,7,8,9,10,0.10,0.11,0.12,0.8,0.9,4,5,6,7,8,9,10,0.10,0.11,0.12,0.8,0.9,4,5,6,7,8,9,10,0.10,0.11,0.12,0.8,0.9,4,5,6,7,8,9,10,0.10,0.11,0.12,0.8,0.9,4,5,6,7,8,9,10,0.10,0.11,0.12,0.8,0.9,4,5,6,7,8,9,10
2018-01-01,0,0,0,0,0,129,15,210,35,190,99,0,0,0,0,0,0,83,18,149,98,266,193,0,1814,60,2380,3254,2,27718,4600,53654,16847,56933,17064
@rvagg
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.
https://ci.nodejs.org/job/node-test-commit-linux-containered/2224/nodes=ubuntu1604_sharedlibs_openssl111_x64/consoleFull
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 https://github.com/nodejs/node.git
@rvagg
rvagg / 6-8-semver-major.md
Created Oct 26, 2017
Node 6.x - 8.x semver-major and semver-minor differences @ Oct 27 2017
View 6-8-semver-major.md
  • [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.