Skip to content

Instantly share code, notes, and snippets.

#curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
#sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
#apt-cache policy docker-ce
#sudo apt-get install -y docker-ce
sudo apt-get install -y s3cmd
sudo curl -L https://github.com/docker/compose/releases/download/1.19.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
@cyclux
cyclux / generate_addresses.js
Created December 28, 2017 13:22
Generate IOTA addresses
'use strict';
var IOTA;
IOTA = require('./iota.lib.js/lib/iota');
// Get values from CLI parameters
var index_start = parseInt(process.argv[2]);
var amountOfAddresses = process.argv[3];
var seed = process.argv[4];
var iotajs = new IOTA({

Keybase proof

I hereby claim:

  • I am cyclux on github.
  • I am cyclux (https://keybase.io/cyclux) on keybase.
  • I have a public key ASD5Ui5HDWzX75w6b7MGzJBls12Le-F8aczg1z-VvJR45go

To claim this, I am signing this object:

@cyclux
cyclux / reattach.js
Last active December 13, 2017 23:24
IOTA reattacher
'use strict';
var IOTA;
IOTA = require('./iota.lib.js/lib/iota');
var tailTX = process.argv[2];
var iotajs = new IOTA({
'host': http://localhost,
'port': 14265
This file has been truncated, but you can view the full file.
SJQFJCQSFCPRGWKVWZNKIFAWYP9TVCRKQLWDPIRKMBZFHSEM99GFIRCABEDNWCJXKNHPZHZMO9CSPNCWB; 18264498990; KEY_REUSE_OCT
IDCHJETTGTQOO9UCRQCEJQSKGHSPVQZCIPDQBZAXWMPOB9OADAGBRDPBFQXRTX9KAMLAJPJTMJTMGJCH9; 3999996; KEY_REUSE_OCT
YTKFWOAE9LUYUSQBRQRWHPFPAFHNAYRIDSYEDAWJOBBVJTPI9EHNIKXWUNAEEDCCASY9REODAIQRAIJYB; 857351; KEY_REUSE_OCT
9HFIIQTGHIABK9VQXCHTBK9XEDIBGW9ZNQRQAYCJI9URUACEQGDBASXTYCEWWEVHRMULZLASSYVXMZYF9; 30003000000; KEY_REUSE_OCT
BXCJKDZHAOKZL9GTBSUK9RQOERQGBPIKDBHVZYTUBOMPXUIJQWBBOIJCLNLXYCRUEOZENJNTHIRXRWCZW; 27000000000; KEY_REUSE_OCT
SCG9YESCXUHFBHLTJVNDMTPHIXQDO9SF9SCLPORTRIOSFNXDSYBKEKAZ9YIQBIFLJGAULPRYJFDCYQHWB; 1000; KEY_REUSE_OCT
ZCZTZKGMKVETRWIBIFFSVKGMOHGYFNJREDAECEUYDAAKCKUCQWAMFQHFFSNTOPDDDQATVNHPRTIC9BAXD; 1532326467; KEY_REUSE_OCT
OZDCNW9Q9INHFRZXEIF9VVLJKKGB9QVKFVKQMY9ELFCIQFQ9WBDEYALWOHUFUFQFBCZBFHYJSNJMDNSHC; 1; KEY_REUSE_OCT
EOLLXBRJJIHNQVVONKUXANCWODXLZOEOBPLOHXUYBKKIQDGDBTUUPMEQ9WPKNECCZBGO9ERAYFNLKTRZX; 999; KEY_REUSE_OCT
LKIIAJNMEXSSMZACTRZFZJNLXRYWVVFTAWPWKBH9SNUSKYRYHMBCNW9INYD9TOGKMTKLZ
@cyclux
cyclux / address_checker.js
Last active January 21, 2018 12:04
IOTA address checker
/*eslint no-console: ["error", { allow: ["log", "error"] }] */
'use strict';
var IOTA;
IOTA = require('./iota.lib.js/lib/iota');
var index_start = process.argv[2];
var index_end = process.argv[3];
var seed = process.argv[4];