Skip to content

Instantly share code, notes, and snippets.

View rigelrozanski's full-sized avatar
🔭
ajsdkajgkjasdlka

frog power 4000 rigelrozanski

🔭
ajsdkajgkjasdlka
View GitHub Profile
@rigelrozanski
rigelrozanski / imgcat.go
Created April 30, 2020 03:55
Iterm2 imgcat image output from golang
import (
"encoding/base64"
"fmt"
"io/ioutil"
"os"
)
func main() {
r, err := os.Open("yourimagehere.png")
if err != nil {
package main
import (
"fmt"
"sync"
"time"
)
func main() {
c := make(chan string, 3)
@rigelrozanski
rigelrozanski / RRR.md
Last active September 12, 2019 05:27
AIB Rige Roles and Responsibilities

2019 Sep 12 Rige Roles and Responsibilities (RRR)

  • New primary focus is on liquid democracy
    • Work to reach consensus with Jae on d.gov strategies
    • Management role for software implementation of liquid democracy initiatives
      • Documentation, both technical / inspirational
      • Implementation technical lead
  • Weekly all-hands updates
~/go/src/github.com/cosmos/cosmos-sdk$ make test
ok github.com/cosmos/cosmos-sdk/baseapp (cached)
? github.com/cosmos/cosmos-sdk/client [no test files]
? github.com/cosmos/cosmos-sdk/client/context [no test files]
? github.com/cosmos/cosmos-sdk/client/keys [no test files]
LADDR tcp://0.0.0.0:11367
E[05-31|19:30:26.691] CONSENSUS FAILURE!!! module=consensus err="Bytes left over in UnmarshalBinary, should read 22 more bytes but have 36" stack="goroutine 70 [running]:\nruntime/debug.Stack(0xc4210a1de8, 0x1820a60, 0xc42116abe0)\n\t/usr/local/Cellar/go/1.10.1/libexec/src/runtime/debug/stack.go:24 +0xa7\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).receiveRoutine.func1(0xc420e8cb00)\n\t/Users/rigelrozanski/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:538 +0x57\npanic(0x1820a60, 0xc42116abe0)\n\t/usr/local/Cellar/go/1.10.1/libexec/src/runtime/panic.go:502 +0x229\ngithub.com/cosmos/
~/go/src/github.com/cosmos/cosmos-sdk$ make test
ok github.com/cosmos/cosmos-sdk/baseapp (cached)
? github.com/cosmos/cosmos-sdk/client [no test files]
? github.com/cosmos/cosmos-sdk/client/context [no test files]
? github.com/cosmos/cosmos-sdk/client/keys [no test files]
LADDR tcp://0.0.0.0:11367
E[05-31|19:30:26.691] CONSENSUS FAILURE!!! module=consensus err="Bytes left over in UnmarshalBinary, should read 22 more bytes but have 36" stack="goroutine 70 [running]:\nruntime/debug.Stack(0xc4210a1de8, 0x1820a60, 0xc42116abe0)\n\t/usr/local/Cellar/go/1.10.1/libexec/src/runtime/debug/stack.go:24 +0xa7\ngithub.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus.(*ConsensusState).receiveRoutine.func1(0xc420e8cb00)\n\t/Users/rigelrozanski/go/src/github.com/cosmos/cosmos-sdk/vendor/github.com/tendermint/tendermint/consensus/state.go:538 +0x57\npanic(0x1820a60, 0xc42116abe0)\n\t/usr/local/Cellar/go/1.10.1/libexec/src/runtime/panic.go:502 +0x229\ngithub.com/cosmos/
rm -rf $GOPATH/src/github.com/cosmos/testnets/
rm -rf $HOME/.gaiad/config/gentx
mkdir $HOME/.gaiad/config/gentx
go get github.com/cosmos/testnets
cp -a $GOPATH/src/github.com/cosmos/testnets/gaia-5000/. $HOME/.gaiad/config/gentx
gaiad unsafe_reset_all
gaiad init --gen-txs -o --chain-id=gaia-5000
gaiad start

Keybase proof

I hereby claim:

  • I am rigelrozanski on github.
  • I am rigel (https://keybase.io/rigel) on keybase.
  • I have a public key whose fingerprint is D813 5294 93A1 1926 F37C 6E8E 8221 B0DF ADFD 4643

To claim this, I am signing this object: