Skip to content

Instantly share code, notes, and snippets.

View vongohren's full-sized avatar
⛓️

Snorre Lothar von Gohren Edwin vongohren

⛓️
View GitHub Profile
import IPFS from 'ipfs'
import OrbitDB from 'orbit-db'
// OrbitDB uses Pubsub which is an experimental feature
// and need to be turned on manually.
// Note that these options need to be passed to IPFS in
// all examples even if not specified so.
const ipfsOptions = {
EXPERIMENTAL: {
pubsub: true
const moment = require('moment');
const _ = require('lodash');
const Promise = require('bluebird');
const knex = require('knex')({
client: 'pg',
version: '9.6',
connection: {
user: 'postgres',
password: '',
database: 'bookshelf-test',
var User = Bookshelf.Model.extend({
tableName: 'user',
hasTimestamps: true
});
const to = (promise) => {
return promise.then(data => {
return [null, data];
})
.catch(err => [err]);
Verifying my Blockstack ID is secured with the address 1DxtveiG44Bd2V9B5mnNjUSLutMxzmb8Nx https://explorer.blockstack.org/address/1DxtveiG44Bd2V9B5mnNjUSLutMxzmb8Nx
Verifying that "vongohren.id" is my Blockstack ID. https://onename.com/vongohren
eth_sendTransaction
PUSH1
PUSH1
MSTORE
CALLDATASIZE
ISZERO
PUSH2
JUMPI
PUSH4
PUSH1
May 3 17:24:09 mac-snorreedwin reactnativetidr[52052] <Error>: objc[52052]: Class CLSInternalReport is implemented in both /Users/snorreedwin/Library/Developer/CoreSimulator/Devices/AF64E7E8-0686-4233-A079-029A308775F3/data/Containers/Bundle/Application/CB49A0B2-6A91-446B-BA28-CB0725048A5B/reactnativetidr.app/Frameworks/ReactNativeFabric.framework/ReactNativeFabric (0x10af7b950) and /Users/snorreedwin/Library/Developer/CoreSimulator/Devices/AF64E7E8-0686-4233-A079-029A308775F3/data/Containers/Bundle/Application/CB49A0B2-6A91-446B-BA28-CB0725048A5B/reactnativetidr.app/reactnativetidr (0x10ab107b8). One of the two will be used. Which one is undefined.
May 3 17:24:09 mac-snorreedwin reactnativetidr[52052] <Error>: objc[52052]: Class Crashlytics is implemented in both /Users/snorreedwin/Library/Developer/CoreSimulator/Devices/AF64E7E8-0686-4233-A079-029A308775F3/data/Containers/Bundle/Application/CB49A0B2-6A91-446B-BA28-CB0725048A5B/reactnativetidr.app/Frameworks/ReactNativeFabric.framework/ReactNativeFabric (0
var fs = require('fs'),
path = require('path'),
sourceMap = require('source-map');
var line = process.argv[2];
var column = process.argv[3];
var file = process.argv[4];
// file output by Webpack, Uglify, etc.
var GENERATED_FILE = path.join('.', file);
Verifying that +vongohren is my blockchain ID. https://onename.com/vongohren
Verifying that +vongohren is my blockchain ID. https://onename.com/vongohren