Skip to content

Instantly share code, notes, and snippets.

View sui-fullnode-woes.log
$ cargo run --release --bin sui-node -- --config-path fullnode.yaml
info: syncing channel updates for '1.62.1-x86_64-unknown-linux-gnu'
info: latest update on 2022-07-19, rust version 1.62.1 (e092d0b6b 2022-07-16)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
@levicook
levicook / all-traits
Last active Apr 17, 2022
xalt 🤝 xape?
View all-traits
XALT Traits
BACKGROUND
BODY
EXALTED_STAT
FUR
GLASSES
HEAD
MOUTH
❤️
View .gitignore
node_modules
package-lock.json
View dape-holders.log
2HCaiPHxWFb4WjdqZKbjVa7Y8TDa1pjF4XadKNmSQcXz
Dxc5B7Lwtp3kr4SaPSU26qgDp6VNVUP7ZFZonBBSPfSD
4eCjbUCE3JwC3quzdvLZwRnn7rMB57voRPZLXmDNCeYV
HFPaT6WKk9SkwtYVZ5m5Sqw7ZbyehGu9GHjsctigm49S
CQUk6Djk6ZopPps1gZwzpgp7X7nFwyzcRp4sDauGpDHo
DmrkajG3SrTXnYSYxGRfkzfvhkevD6RdtFk4SdLC2G6Q
FRgYM8AUf2nMLa1prSwUiX6SmzWQdXywNYERu2cx1y1p
AxXhiZKyFHxgkjDF6XpGZ8SSo9sPAT1H2VR4sUiqrm83
3D49QorJyNaL4rcpiynbuS3pRH4Y7EXEM6v6ZGaqfFGK
GRnx8CHP9oabu2PScVBxDXb2dExQ99oqW6Uh3Sn1Dkdm
@levicook
levicook / dape-mints.json
Last active Jan 4, 2022
Ape Mint Hashes
View dape-mints.json
[
"127RACV8SfCbbVrLdRbukh63zCDcubW4xVGh6aV6pnZi",
"12BL2dkEvZFndkoAYW8hywJyjyqWfwWkVXhe1y4todSv",
"12C4w448q4nkeBa8Nv864mBD6m2gYk55uAyGHaA6SewL",
"12Cj2zaVkaxjWrCbbacYVWMTsRdAJnZVLe8WsAoG57mf",
"12Hzt883ocDZnorzCVi2u8KPZiwLZtpSmtQKwMHz5pUJ",
"12JF4YdDzWvhnr36ThC8L7C6RxkhQcJAGRJ6Rhestt1U",
"12N6ehGsoe7LFHFxtXFxK8z286PKA5gpMApFVqWpaGiu",
"12pKJHBUs9vnwNvj3MexoQ1rSCGkwwXQjLt5cJY9AqfW",
"12qWDHB66K1pDUzcod8iuTpUcQD6uUjFaig776rE6uXv",
View 1. list-candy-machines.sh
curl http://api.mainnet-beta.solana.com -X POST -H "Content-Type: application/json" -d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getProgramAccounts",
"params": [
"cndyAnrLdpjq1Ssp1z8xxDsB8dxe7u4HL5Nxi2K5WXZ",
{
"encoding": "jsonParsed",
"filters": [ ]
}
@levicook
levicook / curl.bash
Created Sep 9, 2021
token accounts for a specific mint
View curl.bash
curl http://api.mainnet-beta.solana.com -X POST -H "Content-Type: application/json" -d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getProgramAccounts",
"params": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
{
"encoding": "jsonParsed",
"filters": [
View gist:d27749a8c59aaf1f158dc22d06ade194
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)
View tmux.conf
# 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!"
View .tmux.conf
# 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