お金に興味がある人
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
# Generate the private and public keys | |
openssl ecparam -name secp256k1 -genkey -noout | openssl ec -text -noout > key | |
# Extract the public key and remove the EC prefix 0x04 | |
cat key | grep pub -A 5 | tail -n +2 | tr -d '\n[:space:]:' | sed 's/^04//' > pub | |
# Extract the private key and remove the leading zero byte | |
cat key | grep priv -A 3 | tail -n +2 | tr -d '\n[:space:]:' | sed 's/^00//' > priv | |
# Generate the hash and take the address part |
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/bash | |
function usage { | |
echo " Description" | |
echo " this shell script uses for when updating lots of images." | |
echo "" | |
echo " Usage:" | |
echo " $ ./set-image.sh SEARCH_NAME SEARCH_VERSION TARGET_VERSION" | |
echo " * SEARCH_NAME: query for container image name" | |
echo " * SEARCH_VERSION: query for container image tag" |
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
pragma solidity ^0.4.25; | |
import "./KyberNetworkProxyInterface.sol"; | |
/** | |
* @title SafeMath | |
* @dev Math operations with safety checks that revert on error | |
*/ | |
library SafeMath { |
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
bitcoindを動かす | |
https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md | |
D/t/bitcoin ╍ cp ./src/bitcoind /usr/local/bin/. | |
D/t/bitcoin ╍ cp ./src/bitcoin-cli /usr/local/bin/. | |
D/t/bitcoin ╍ cp ./src/bitcoin-tx /usr/local/bin/. | |
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
btcwalletを入れる | |
https://github.com/btcsuite/btcwallet | |
/Users/shinohara-wataru/Library/Application\ Support/Btcwallet/btcwallet.conf | |
testnet=1 | |
btcwallet -u myuser -P SomeDecentp4ssw0rd | |
D/d/slide-smartcontract ╍ btcctl --testnet --wallet getbalance default |
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
btcd を動かす | |
https://github.com/btcsuite/btcd | |
一回動かしたらディレクトリはできるから一度動かす | |
止める | |
sampleを拾ってきて所定の場所に置く | |
https://github.com/btcsuite/btcd/blob/master/sample-btcd.conf | |
/Users/shinohara-wataru/Library/Application Support/Btcd/btcd.conf | |
testnetを有効にする |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
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
git clone keybase://private/wshino/mogemoge |
NewerOlder