here is a phone number 555-123-1212 617-253-8810
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Rolling your own passkey auth in js, both on the web and in node. | |
// passkeys are pretty well supported in the browser, but there's a lot | |
// of simple crypto and bit twiddling that you need to do. it all adds up | |
// to a lot, but it's all quite straightforward in nature. | |
// this can be a good resource to pair with imperialviolet's passkey article. | |
// except for browser js/node js instead of typescript/python. | |
// Some utility methods here to convert from b64 encoded strings to Uint8Arrays and back |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $VBOX_VERSION should probably be something like 4.3.10 or somesuch | |
# | |
FROM boot2docker/boot2docker-rootfs | |
RUN apt-get install p7zip-full | |
RUN mkdir -p /vboxguest && \ | |
cd /vboxguest && \ | |
curl -L -o vboxguest.iso http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso && \ | |
7z x vboxguest.iso -ir'!VBoxLinuxAdditions.run' && \ | |
sh VBoxLinuxAdditions.run --noexec --target . && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Abandon normal instruments [1st ed.] | |
Accept advice [1st ed.] | |
Accretion [1st ed.] | |
A line has two sides [1st ed.] | |
Allow an easement (an easement is the abandonment of a stricture) [1st ed.] | |
Are there sections? Consider transitions [1st ed.] | |
Ask people to work against their better judgement [1st ed.] | |
Ask your body [1st ed.] | |
Assemble some of the instruments in a group and treat the group [1st ed.] | |
Balance the consistency principle with the inconsistency principle [1st ed.] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDOMServer from 'react-dom/server'; | |
import express from 'express' | |
const app = express(); | |
app.get('/', (_, res) => { | |
console.log() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(api, opts) { | |
const prod = process.env.NODE_ENV === "production"; | |
return { | |
presets: [ | |
[ | |
require("@babel/preset-env"), | |
{ | |
targets: { | |
browsers: [">1%", "not ie 11"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const request = require('superagent'); | |
class CouchClient { | |
constructor(db, host='http://localhost:5984') { | |
this.host = host; | |
this.db = db; | |
} | |
view(designDoc, viewName, opts = {}) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying my Blockstack ID is secured with the address 12yroXUpFaXP4bL9wxw3LARRX8Be8HYZui https://explorer.blockstack.org/address/12yroXUpFaXP4bL9wxw3LARRX8Be8HYZui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @flow | |
import {parse} from 'babylon'; | |
const commonParser = (input: string) => parse(input, { | |
sourceType: 'module', | |
plugins: ['jsx', 'flow'], | |
}); | |
const bodyParser = (input: string) => commonParser(input).program.body; |
NewerOlder