Skip to content

Instantly share code, notes, and snippets.

View sarbogast's full-sized avatar

Sebastien Arbogast sarbogast

View GitHub Profile
@sarbogast
sarbogast / gist:48f45f9cd9235ed53668
Created April 30, 2015 20:26
Couchbase docker on Joyent
laptop:sdc-docker sarbogast$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
laptop:sdc-docker sarbogast$ clear
laptop:sdc-docker sarbogast$ for i in `seq 1 3`; do export container_$i=`docker run --name couchbase-server-$i -d -P couchbase/server couchbase-start`; done
laptop:sdc-docker sarbogast$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
57d1d27c6aa6 couchbase/server:latest "/usr/local/bin/couc 36 seconds ago Up 28 seconds 0.0.0.0:8091-8092->8091-8092/tcp, 0.0.0.0:11207->11207/tcp, 0.0.0.0:11210-11211->11210-11211/tcp, 0.0.0.0:18091-18092->18091-18092/tcp couchbase-server-3
f72a42376742 couchbase/server:latest "/usr/local/bin/couc About a minute ago Up About a minu
Verifying that +sebastienarbogast is my blockchain ID. https://onename.com/sebastienarbogast
Verifying that "sebastienarbogast.id" is my Blockstack ID. https://onename.com/sebastienarbogast
@sarbogast
sarbogast / genesis.json
Created March 25, 2017 18:05
Ethereum genesis file compatible with Truffle tests.
{ "config": { "homesteadBlock": 10 }, "nonce": "0", "difficulty": "0x20000", "mixhash": "0x00000000000000000000000000000000000000647572616c65787365646c6578", "coinbase": "0x0000000000000000000000000000000000000000", "timestamp": "0x00", "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "extraData": "0x", "gasLimit": "0x2FEFD8", "alloc": {} }
@sarbogast
sarbogast / Chainlist-coinbase.txt
Created September 3, 2017 18:03
Chainlist-coinbase
0x85bb5e4d35667a6575e3e390ca70f308d41bed02
@sarbogast
sarbogast / truffle.js
Created September 3, 2017 19:02
Truffle config
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*" // Match any network id
},
rinkeby: {
host: "localhost",
port: 8545,
@sarbogast
sarbogast / truffle.js
Created September 3, 2017 20:44
Truffle config with live net
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*" // Match any network id
},
rinkeby: {
host: "localhost",
port: 8545,
@sarbogast
sarbogast / coinbase.txt
Created September 3, 2017 22:09
Rinkeby coinbase
0x607A546c4FeA7689783692Dcd2165e84fa0d0589
@sarbogast
sarbogast / coinbase.txt
Created September 4, 2017 17:45
rinkeby coinbase
0x7CaA41DceefDEA52cDd5Cb1bC48383F0fEf85647
MacBook-Pro:chainlist-01-sell-contract-end sarbogast$ truffle migrate
Compiling ./contracts/ChainList.sol...
Compiling ./contracts/Migrations.sol...
Writing artifacts to ./build/contracts
Using network 'development'.
Running migration: 1_initial_migration.js
Deploying Migrations...
... 0x8d58016169d16d932cf1f35d3c4df926b4d75cb1da8f59fe2cde4477907c8aa5