I hereby claim:
- I am emattson on github.
- I am elimattson (https://keybase.io/elimattson) on keybase.
- I have a public key whose fingerprint is 8372 DE5F 3B26 A02F 73FA FF4D B867 117A F3A5 04CC
To claim this, I am signing this object:
function f(s) { | |
s -> x + 1 | |
} |
npm install shift-reducer shift-parser |
//depends on shift-parser, shift-reducer, and shift MonoidalReducer | |
import parse from "shift-parser"; | |
import reduce, { | |
MonoidalReducer | |
} | |
from "shift-reducer"; | |
//IdentifierCounter inherits from MonoidalReducer | |
class IdentifierCounter extends MonoidalReducer { |
//es5 | |
var parse = require("shift-parser").default; | |
var reduce = require("shift-reducer").default; | |
var MonoidalReducer = require("shift-reducer").MonoidalReducer; | |
//must return a Monoid | |
function IdentifierCounter() { | |
// a monoid over integers and addition | |
function Sum() {} | |
// by default reduce any node to the identity, zero |
I hereby claim:
To claim this, I am signing this object:
pbpaste | highlight --syntax=js -O rtf -K 40 -k monokai -s seashell | pbcopy |
# taken from https://www.postgresql.org/download/linux/debian/ | |
# assumes you are root | |
echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' > /etc/apt/sources.list.d/pgdg.list | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - | |
apt-get update | |
yes Y | apt-get install postgresql-client-10 |
{ | |
"version": "1.0", | |
"sources": [ | |
"api-model" | |
], | |
"maven": { | |
"dependencies": [ | |
"software.amazon.smithy:smithy-openapi:1.50.0", | |
"software.amazon.smithy:smithy-aws-traits:1.50.0", | |
"software.amazon.smithy:smithy-validation-model:1.50.0", |