This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install bitcoind | |
## build bitcoind | |
mkdir -p ~/source; cd ~/source | |
wget https://github.com/bitcoin/bitcoin/archive/v0.9.2.tar.gz | |
tar zxvf v0.9.2; cd bitcoin-0.9.2 | |
## open-nodes.org_hub-v0.9.2.patch | |
wget https://gist.githubusercontent.com/bitkevin/a1b4a556fffce6fc527a/raw/ -O open-nodes.org_hub-v0.9.2.patch | |
patch -p1 < open-nodes.org_hub-v0.9.2.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http | |
git config --global http.proxy http://127.0.0.1:1080 | |
git config --global https.proxy https://127.0.0.1:1080 | |
// socks5 | |
git config --global http.proxy socks5://127.0.0.1:1080 | |
git config --global https.proxy socks5://127.0.0.1:1080 | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
write_to () { | |
echo $2 | sudo tee $1 > /dev/null | |
} | |
set_rate () { | |
c=fclk$1 |