Instantly share code, notes, and snippets.

gekosurf /
Created Jun 28, 2018 — forked from midwire/
Reset routing table on OSX
#!/usr/bin/env bash
# Reset routing table on OSX
# display current routing table
echo "********** BEFORE ****************************************"
netstat -r
echo "**********************************************************"
for i in {0..4}; do
sudo route -n flush # several times
View gist:4823f8833c89b4492455
// after geth1.x installed.
mkdir /tmp/eth/70
geth console
// you can check the eth.accounts[0] address, copy it and memo to somewhere
// control + c then escape from geth console.
// next make the private net genesisblock json file.
vim privatenet_genesis_block.json