-
Tu-144 CCCP-68001 - Scrapped -
Tu-144S CCCP-77101 - Scrapped -
Tu-144S CCCP-77102 - Crashed at 1973 Paris Air Show -
Tu-144S CCCP-77103 - Scrapped -
Tu-144S CCCP-77104 - Remamed CCCP-77144, scrapped -
Tu-144S CCCP-77105 - Converted to Tu-144D, scrapped - Tu-144S CCCP-77106 - On display in Monino, Russia
- Tu-144S CCCP-77107 - On display in Kazan, Russia
- Tu-144S CCCP-77108 - On display in Samara, Russia
-
Tu-144S CCCP-77109 - Scrapped
This file contains hidden or 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 got = require('got') | |
const { | |
concat, | |
difference, | |
flatten, | |
identity, | |
map, | |
memoize, | |
padEnd, | |
sortBy, |
This file contains hidden or 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 { Transaction } = require('bitcore-lib') | |
const { decrypt } = require('bip38') | |
const encryptedKey = '<private key beginning with 6>' | |
const password = '<private key password>' | |
const privateKey = decrypt(encryptedKey, password).privateKey | |
// Check UTXO info at https://insight.bitpay.com/api/addr/<origin address>/utxo | |
const utxo = { |
This file contains hidden or 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 Web3 = require('web3') | |
const erc20Abi = abi = require('human-standard-token-abi') | |
const config = { | |
node: 'localhost:8546', | |
address: '0x0000000000000000000000000000000000000000' // set to contract address | |
} | |
const provider = new Web3.providers.WebsocketProvider(`ws://${config.node}`) | |
const web3 = new Web3(provider) |
This file contains hidden or 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
#!/usr/bin/env bash | |
date > env.log | |
lsb_release -a >> env.log | |
echo "node: $(node --version)" >> env.log | |
echo "nodejs: $(nodejs --version)" >> env.log | |
echo "npm: $(npm --version)" >> env.log | |
echo "git HEAD: $(git rev-parse --short HEAD)" >> env.log | |
git status >> env.log |
This file contains hidden or 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
'use strict' | |
const bitcore = require('bitcore-lib') | |
const ROUNDS = 15 | |
const targetStrings = { | |
networkMagic: 'mYnT', | |
pubkeyhash: 'G', | |
scripthash: '2', |
This file contains hidden or 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
Show hidden characters
{ | |
"parserOptions": { | |
"ecmaVersion": 6, | |
"sourceType": "script", | |
"ecmaFeatures": { | |
"globalReturn": false, | |
"impliedStrict": false, | |
"jsx": true, | |
"experimentalObjectRestSpread": false | |
} |
This file contains hidden or 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 mapFields = (obj, map) => | |
Object.keys(map) | |
.map(key => ({ key, value: obj[map[key]] })) | |
.reduce((res, { key, value }) => Object.assign(res, { [key]: value }), {}) |
This file contains hidden or 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 waterfall = promises => init => promises.reduce((chain, promise) => chain.then(promise), Promise.resolve(init)) |
This file contains hidden or 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
#!/bin/bash | |
if [ ! -d .git ]; then | |
echo Not a git repo | |
exit | |
fi | |
if ! (git remote | grep -q origin); then | |
echo No origin remote | |
exit |