— Clone repository with submodules automatically:
git clone --recursive git@github.com:name/repo.git
— Initialize submodules after regular cloning:
| const Web3 = require('web3') | |
| const Tx = require('ethereumjs-tx').Transaction | |
| // connect to Infura node | |
| const web3 = new Web3(new Web3.providers.HttpProvider('https://mainnet.infura.io/INFURA_KEY')) | |
| // the address that will send the test transaction | |
| const addressFrom = '0x1889EF49cDBaad420EB4D6f04066CA4093088Bbd' | |
| const privateKey = new Buffer('PRIVATE_KEY', 'hex') |
| kubectl get pods | grep Evicted | awk '{print $1}' | xargs kubectl delete pod |
| eval `/usr/bin/ssh-agent -s` | |
| trap "kill $SSH_AGENT_PID" 0 |
| /** | |
| * D Holbrook | |
| * | |
| * Code Club: PO1 | |
| * | |
| * (*) Define a binary tree data structure and related fundamental operations. | |
| * | |
| * Use whichever language features are the best fit (this will depend on the language you have selected). The following operations should be supported: | |
| * | |
| * Constructors |