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
var bitcoin = require('bitcoinjs-lib') | |
var keyPair = bitcoin.ECPair.makeRandom() | |
// Print your private key (in WIF format) | |
console.log(keyPair.toWIF()) | |
// => Kxr9tQED9H44gCmp6HAdmemAzU3n84H3dGkuWTKvE23JgHMW8gct | |
// Print your public key address | |
console.log(keyPair.getAddress()) | |
// => 14bZ7YWde4KdRb5YN7GYkToz3EHVCvRxkF |
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
# /etc/ hosts | |
# For local developement | |
127.0.0.1 app.local | |
127.0.0.1 api.app.local |
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
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $1}'` | |
# or... | |
sudo killall coreaudiod |