Skip to content

Instantly share code, notes, and snippets.

Gabriel Montes gabmontes

  • Buenos Aires, Argentina
Block or report user

Report or block gabmontes

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 concord-visited.md
  • 001 F-WTSS - Museum of Air and Space, Le Bourget, France
  • 002 G-BSST - Fleet Air Arm Museum, Yeovilton, England, UK
  • 101 G-AXDN - Imperial War Museum, Duxford, England, UK
  • 102 F-WTSA - Musée Delta, Orly Airport, Paris, France
  • 201 F-WTSB - Airbus Factory, Toulouse, France
  • 202 G-BBDG - Brooklands Museum, Weybridge, Surrey, England, UK
  • 203 F-BTSC - Destroyed in air crash outside Paris, France
  • 204 G-BOAC - Manchester Airport, England, UK
  • 205 F-BVFA - Smithsonian National Air and Space Museum, Chantilly, Virginia USA
  • 206 G-BOAA - Museum of Flight, East Lothian, Scotland, UK
View space-shuttle-visited.md
  • Enterprise OV-101 Intrepid Sea-Air-Space Museum, New York City, New York
  • Discovery OV-103 Udvar-Hazy Center, Smithsonian Institution's National Air and Space Museum, Chantilly, Virginia
  • Atlantis OV-104 Kennedy Space Center, Merritt Island, Florida
  • Endeavour OV-105 California Science Center, Los Angeles, California.

Ref: https://en.wikipedia.org/wiki/Space_Shuttle_retirement

View sr-71-visited.md

Alabama:

  • A-12 #06930 - On display at the U.S. Space & Rocket Center, Huntsville, AL.
  • A-12 #06937 - On display at the Southern Museum of Flight, Birmingham, AL.
  • A-12 #06938 - On display at the USS Alabama Battleship Memorial Park, Mobile, AL.

Arizona:

  • SR-71A #17951 - On display at the Pima Air Museum, Tucson, AZ.

California:

  • A-12 #06924 - On display at the Blackbird Airpark in Palmdale, CA.
@gabmontes
gabmontes / mnemonic-balance.js
Created Feb 17, 2019
Walk through all addresses derived from a mnemonic and sum up balances
View mnemonic-balance.js
const got = require('got')
const Mnemonic = require('bitcore-mnemonic')
const mnemonic = '? ? ? ? ? ? ? ? ? ? ? ?' // 12-word mnemonic
const words = Mnemonic.Words.ENGLISH // or SPANISH, etc
const derivationPath = "m/44'/0'/0'" // BIP-44
const insightApiUrl = 'https://insight.bitpay.com/api'
const toBtc = sat => sat / 100000000
View tu-144.md
Reg. no Model Type Engines Status
CCCP-68001 Tu-144 Prototype NK-144 Scrapped
CCCP-77101 Tu-144S Pre-production NK-144A Scrapped
CCCP-77102 Tu-144S Production NK-144A Crashed at 1973 Paris Air Show
CCCP-77103 Tu-144S Production NK-144A Scrapped
CCCP-77104 Tu-144S Production NK-144A Scrapped, remamed CCCP-77144
CCCP-77105 Tu-144S Production NK-144A Converted to Tu-144D, RD36-51, scrapped
CCCP-77106 Tu-144S Production NK-144A On display in Monino, Russia
CCCP-77107 Tu-144S Production NK-144A On display in Kazan, Russia
@gabmontes
gabmontes / crawl.js
Last active Apr 3, 2018
Analize a set of bitcoin addresses and find other related addresses
View crawl.js
const got = require('got')
const {
concat,
difference,
flatten,
identity,
map,
memoize,
padEnd,
sortBy,
@gabmontes
gabmontes / create-bitcoin-tx.js
Created Dec 7, 2017
Create bitcoin transaction from BIP38 private key
View create-bitcoin-tx.js
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 = {
@gabmontes
gabmontes / erc20EventsListener.js
Last active Jun 12, 2018
Very simple example of an ERC20 token events listener
View erc20EventsListener.js
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)
@gabmontes
gabmontes / env-status.sh
Created Aug 7, 2017
Gather information about the runtime environment
View env-status.sh
#!/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
@gabmontes
gabmontes / netParams.js
Last active May 8, 2017
Brute force approach to find desired bitcoin network params
View netParams.js
'use strict'
const bitcore = require('bitcore-lib')
const ROUNDS = 15
const targetStrings = {
networkMagic: 'mYnT',
pubkeyhash: 'G',
scripthash: '2',
You can’t perform that action at this time.