Skip to content

Instantly share code, notes, and snippets.

Andreas Brekken abrkn

Block or report user

Report or block abrkn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View bitcoind.service
[Unit]
Description=Bitcoin Daemon
[Service]
User=ubuntu
Group=ubuntu
ExecStart=/usr/local/bin/bitcoind -datadir=/opt/bitcoin
[Install]
WantedBy=multi-user.target
View GA8903.md

GENERIC ANSWER [GA8903]

Thank you for evaluating the [technicals/econometrics/politics/game theory] of SideShift AI.

SideShift AI is currently in its TEST PILOT PHASE. The easiest way for you to give feedback, such as [insert user opinion], is to become a TEST PILOT by obtaining a TEST PILOT CODE.

See the form at https://sideshift.ai/pilot

Thank you CRLF

View sai.md

SAI is the native token of SideShift AI. At this time, 1 SAI = $0.10 USD. This is a temporary promotion during the TEST PILOT PHASE and not a guarantee. Basically, SAI could be worth zero in the future.

Smart Contract

  • Type: ERC20
  • Network: Ethereum (mainnet)
  • Address: 0xf5b403abd806eff15b339909943e2c22ecbac54c
  • Decimals: 18
  • Symbol: SAI
  • Name: Sai
@abrkn
abrkn / move-bitcoin-unspent-to-default-account.sh
Created Nov 22, 2018
Bitcoin: Move all unspent funds to the default ("") account
View move-bitcoin-unspent-to-default-account.sh
bitcoin-cli listunspent | grep address | cut -d\" -f4 | xargs -L1 -I{} bitcoin-cli setaccount {} ""
View drivechain.ai.md

Drivechain.ai

The following toolkit makes getting started with Drivechain TestDrive easier and more fun!

Services

@abrkn
abrkn / drivechain.ai.md
Created Oct 22, 2018
Welcome to Drivechain.ai
View drivechain.ai.md

Drivechain.ai

Drivechain.ai is a toolkit created by Andreas Brekken to make getting started and using the Drivechain TestDrive easier and more fun.

Services

View postgres-index.js
#!/usr/bin/env node -r panik -r dotenv/config
const assert = require('assert');
const { URL } = require('url');
const redis = require('redis');
const bitcoin = require('bitcoin');
const safync = require('./safync');
const { urlToBitcoinOptions } = require('./utils');
const Promise = require('bluebird');
const { pMemoize } = require('./pmr');
const pgp = require('pg-promise');
@abrkn
abrkn / drivechain-install-linux.sh
Last active Oct 31, 2018
Automatic installation of Drivechain TestDrive
View drivechain-install-linux.sh
#!/usr/bin/env bash
# AutoTestDrive v7
# Automation Drivechain TestDrive installation for Ubuntu
# Uses Drivenet-9, UTXO-7, Sidechain-8, Payment-1
#
# Changelog
#
# Revision 8
# - Do not restore wallet unless revision 8
# - Fix typo in wallet restore code (payment restored sidechain wallet)
View sane-jest.js
import assert from 'assert';
import createDebug from 'debug';
const debug = createDebug(`sane-jest`);
const theirDescribe = describe;
const theirTest = test;
const defaultTimeout = +(process.env.SANE_JEST_TIMEOUT || 30e3);
View sane-jest.js
import assert from 'assert';
import createDebug from 'debug';
const debug = createDebug(`sane-jest`);
const theirDescribe = describe;
const theirTest = test;
const defaultTimeout = +(process.env.SANE_JEST_TIMEOUT || 30e3);
You can’t perform that action at this time.