start new:
tmux
start new with session name:
tmux new -s myname
" Specify a directory for plugins | |
call plug#begin('~/.vim/plugged') | |
Plug 'neoclide/coc.nvim', {'branch': 'release'} | |
Plug 'scrooloose/nerdtree' | |
"Plug 'tsony-tsonev/nerdtree-git-plugin' | |
Plug 'Xuyuanp/nerdtree-git-plugin' | |
Plug 'tiagofumo/vim-nerdtree-syntax-highlight' | |
Plug 'ryanoasis/vim-devicons' | |
Plug 'airblade/vim-gitgutter' |
#include <eosiolib/eosio.hpp> | |
#include <eosiolib/print.hpp> | |
#include <eosiolib/crypto.h> | |
using namespace eosio; | |
std::string data = "hello"; | |
checksum256 digest; | |
sha256(&data[0], data.size(), &digest); | |
printhex(&digest, sizeof(digest)); // 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 |
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false |
#eval $(thefuck --alias) | |
function myPk() { | |
cd ~/workspaces/obbaeiei/my-code; | |
node -e "a = require('stellar-sdk').Keypair.fromSecret(\"$1\").publicKey(); console.log(a)"; | |
} | |
alias work1='cd ~/workspaces/thesixnetwork/six-web-wallet' | |
alias work2='cd ~/go/src/github.com/thesixnetwork/six.network' |