Skip to content

Instantly share code, notes, and snippets.

2HCaiPHxWFb4WjdqZKbjVa7Y8TDa1pjF4XadKNmSQcXz
Dxc5B7Lwtp3kr4SaPSU26qgDp6VNVUP7ZFZonBBSPfSD
4eCjbUCE3JwC3quzdvLZwRnn7rMB57voRPZLXmDNCeYV
HFPaT6WKk9SkwtYVZ5m5Sqw7ZbyehGu9GHjsctigm49S
CQUk6Djk6ZopPps1gZwzpgp7X7nFwyzcRp4sDauGpDHo
DmrkajG3SrTXnYSYxGRfkzfvhkevD6RdtFk4SdLC2G6Q
FRgYM8AUf2nMLa1prSwUiX6SmzWQdXywNYERu2cx1y1p
AxXhiZKyFHxgkjDF6XpGZ8SSo9sPAT1H2VR4sUiqrm83
3D49QorJyNaL4rcpiynbuS3pRH4Y7EXEM6v6ZGaqfFGK
GRnx8CHP9oabu2PScVBxDXb2dExQ99oqW6Uh3Sn1Dkdm
types/config.go:81: panic("Config is sealed")
types/kv/kv.go:21: panic("invalid comparison result")
types/address.go:94: panic(err)
types/address.go:97: panic(err)
types/address.go:100: panic(err)
types/address.go:599:// Returns an empty sting if the byte slice is 0-length. It panics if the bech32 conversion
types/address.go:604: panic(err)
types/address.go:658: panic(err)
types/bech32/legacybech32/pk.go:33:// Deprecated: MustMarshalPubKey calls MarshalPubKey and panics on error.
types/bech32/legacybech32/pk.go:37: panic(err)
# set -g default-command "reattach-to-user-namespace /bin/bash --login"
# bind y run-shell "tmux save-buffer - | reattach-to-user-namespace pbcopy"
# set -g default-command "/bin/bash --login"
set -g default-command "${SHELL} -l"
bind y run-shell "tmux save-buffer - | reattach-to-user-namespace pbcopy"
# Reload the file with Prefix r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# Reload the file with Prefix r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
bind | split-window -h # C-a | to create horizontal pane
bind - split-window -v # C-a - to create vertical pane
# moving between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
# Reload the file with Prefix r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
bind | split-window -h # C-a | to create horizontal pane
bind - split-window -v # C-a - to create vertical pane
# moving between panes
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U

Keybase proof

I hereby claim:

  • I am levicook on github.
  • I am levicook (https://keybase.io/levicook) on keybase.
  • I have a public key ASDdOvdaN5eapWbUGqBmNXdKe4BeeBcYmXJ0HWySrAyvygo

To claim this, I am signing this object:

require 'formula'
class Tidy < Formula
homepage 'http://tidy.sourceforge.net/'
url 'ftp://mirror.internode.on.net/pub/gentoo/distfiles/tidy-20090325.tar.bz2'
sha1 '28c000a2cd40262fc0d7c2c429eb2a09b2df7bf4'
head 'https://github.com/w3c/tidy-html5.git'
depends_on :automake => :build
@levicook
levicook / gist:6819972
Created October 4, 2013 02:10
make tmux start my project
#!/bin/bash
set -e # exit if anything goes wrong from here forward
bundle
# are we already in session?
if tmux ls | grep -q spyrojs; then # just attach to the existing session
tmux attach-session -d -t spyrojs
else # create a new session and start the world
@levicook
levicook / gist:6753826
Last active December 24, 2015 05:59
When posting to the create_datastore endpoint, I'm supposed to supply a "key" parameter. Where is the value supposed to come from? Attached, is an detailed view of the http request and response I'm seeing.
calling datastoreManager.CreateDatastore
2013/09/29 10:06:19 Request
2013/09/29 10:06:19 Method : POST
2013/09/29 10:06:19 URL : https://api.dropbox.com/r5/datastores/create_datastore
2013/09/29 10:06:19 Body : (ioutil.nopCloser) {
Reader: (*strings.Reader)(0xc2002634c0)({
s: (string) "dsid=.07b474e1a58eaddc2fd8d96cd19c14",
i: (int) 36,
prevRune: (int) -1
})
$ go version
go version go1.1.2 darwin/amd64
$ go get code.google.com/p/snappy-go/snappy
package code.google.com/p/snappy-go/snappy: Get https://code.google.com/p/snappy-go/source/checkout?repo=: x509: failed to load system roots and no roots provided