I hereby claim:
- I am kevinejohn on github.
- I am kevinejohn (https://keybase.io/kevinejohn) on keybase.
- I have a public key whose fingerprint is 97C1 387B F14B 6BDC AABA 06E3 F685 2FFB 8608 97B1
To claim this, I am signing this object:
https://whatsonchain.com/tx/05757b42770da5ee5835a9156f4e5ed9466b5d320117e222cde9a8661bfc56a8 |
prettier --write --single-quote --trailing-comma es5 "src/**/*.js" |
# Run detatched client in the background | |
docker run -it --rm -d -p 8545:8545 -p 30303:30303 -v /root/.ethereum:/root/.ethereum --name geth ethereum/client-go | |
# Connect to client's console | |
docker run -it --rm -v /root/.ethereum:/root/.ethereum ethereum/client-go attach | |
# Testing contracts on testnet | |
docker run -it --rm -v /root/testnet3301/.ethash:/root/.ethash -v /root/script.js:/root/script.js ethereum/client-go --maxpeers 0 --nodiscover --networkid 3301 js /root/script.js 2>> geth.log |
find ./src -name '*.js' | xargs | pbcopy | |
jscodeshift -t ~/Projects/temp/codemod-RN24-to-RN25/transform.js <PASTE> |
#!/bin/bash | |
WEB_IP=$1 | |
rsync --archive --progress --compress ./*.service core@$WEB_IP:/home/core/ | |
ssh core@$WEB_IP sudo cp /home/core/*.service /etc/systemd/system/ | |
ssh core@$WEB_IP sudo systemctl daemon-reload |
sudo fallocate -l 1G /swap | |
sudo mkswap /swap | |
sudo chmod 600 /swap | |
sudo swapon /swap |
sequelize.transaction({ | |
isolationLevel: Sequelize.Transaction.ISOLATION_LEVELS.SERIALIZABLE, | |
//autocommit: false, ??? | |
}, function (t) { | |
return Config.findAll({ | |
where: { assigned: false }, | |
transaction: t, | |
//lock: t.LOCK.UPDATE, ??? | |
//lock: t.LOCK.SHARE, ??? | |
//lock: t.LOCK.KEY_SHARE ??? |
ssh [email protected] -fNL 12345:localhost:2375 | |
# Forwards local port 12345 to remote port 2375 |
{ | |
"name": "PROJECT_NAME", | |
"description": "", | |
"version": "0.0.2", | |
"author": "Jeff Barczewski <[email protected]>", | |
"repository": { | |
"type": "git", | |
"url": "http://github.com/jeffbski/PROJECT_NAME.git" | |
}, | |
"bugs": { |
I hereby claim:
To claim this, I am signing this object: