Skip to content

Instantly share code, notes, and snippets.

# ---> Go
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
# Folders
_obj
_test
#!/bin/sh
# PATH modification needed for http_post and oauth_sign
export PATH=$PATH:/usr/local/bin
toplevel_path=`git rev-parse --show-toplevel`
toplevel_dir=`basename "$toplevel_path"`
branch=`git rev-parse --abbrev-ref HEAD`
subject=`git log --pretty=format:%s -n1`
git remote set-url --add --push origin git://original/repo.git
git remote set-url --add --push origin git://another/repo.git
convert 800px-Pill.svg.png -channel A -negate -threshold 0 -negate +channel 800px-Pill-threshold00.svg.png
montage 01* -background none -tile 2x -geometry +0+0 01-montage.png
convert 03b.png -gravity center -background 'rgb(71,80,154)' -extent 960x1080 03b-pad.png
@whilei
whilei / cc_9.json
Last active April 18, 2017 22:08
jsonified prelim default geth mainnet config
This file has been truncated, but you can view the full file.
{
"id": "",
"name": "",
"genesis": {
"nonce": "\"0x0000000000000042\"",
"timestamp": "",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"extraData": "11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa",
"gasLimit": "0x0000000000000000000000000000000000000000000000000000000000001388",
"difficulty": "0x0000000000000000000000000000000000000000000000000000000400000000",
@whilei
whilei / cc_7.json
Last active April 14, 2017 21:37
wip etc chain config exportations
{
"id": "",
"name": "",
"genesisDump": {
"nonce": "\"0x0000000000000042\"",
"timestamp": "",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"extraData": "11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa",
"gasLimit": "0x0000000000000000000000000000000000000000000000000000000000001388",
"difficulty": "0x0000000000000000000000000000000000000000000000000000000400000000",
@whilei
whilei / geth-chainconfig-dump.json
Created April 18, 2017 22:15
external chain config dump with 'features'
This file has been truncated, but you can view the full file.
{
"id": "",
"name": "",
"genesis": {
"nonce": "0x0000000000000042",
"timestamp": "0x0000000000000000000000000000000000000000000000000000000000000000",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"extraData": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa",
"gasLimit": "0x0000000000000000000000000000000000000000000000000000000000001388",
"difficulty": "0x0000000000000000000000000000000000000000000000000000000400000000",
This file has been truncated, but you can view the full file.
{
"id": "61",
"name": "mainnet",
"genesis": {
"nonce": "0x0000000000000042",
"timestamp": "0x0000000000000000000000000000000000000000000000000000000000000000",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"extraData": "0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa",
"gasLimit": "0x0000000000000000000000000000000000000000000000000000000000001388",
"difficulty": "0x0000000000000000000000000000000000000000000000000000000400000000",