Api blueprint https://apiblueprint.org/
vim plugin https://vimawesome.com/plugin/apiblueprint-vim
Plug 'kylef/apiblueprint.vim'
| set nocompatible | |
| let base16colorspace=256 " Access colors present in 256 colorspace | |
| set nu | |
| set mouse=a | |
| set clipboard+=unnamedplus | |
| set list | |
| set colorcolumn=80 | |
| " syntax enable | |
| " File type | |
| filetype plugin on |
| # Any items in the `env` entry below will be added as | |
| # environment variables. Some entries may override variables | |
| # set by alacritty it self. | |
| env: | |
| # TERM env customization. | |
| # | |
| # If this property is not set, alacritty will set it to xterm-256color. | |
| # | |
| # Note that some xterm terminfo databases don't declare support for italics. | |
| # You can verify this by checking for the presence of `smso` and `sitm` in |
| # Base16 Shell | |
| set -gx OBJC_DISABLE_INITIALIZE_FORK_SAFETY YES | |
| if status --is-interactive | |
| eval sh $HOME/.config/base16-shell/scripts/base16-twilight.sh | |
| end | |
| set -gx LANG en_US.UTF-8 | |
| set -gx LC_ALL en_US.UTF-8 | |
| set -gx EDITOR nvim | |
| set -gx PATH /home/linuxbrew/.linuxbrew/bin /opt/Telegram $PATH /usr/local/go/bin /home/boris/go/bin /home/boris/.yarn/bin | |
| set -gx LDFLAGS $LDFLAGS "-L/home/linuxbrew/.linuxbrew/opt/[email protected]/lib" "-L/home/boris/code/rocksdb" |
| set -g default-terminal "screen-256color" | |
| set -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
| # Mouse | |
| set -g mouse on | |
| #setw -g mode-mouse on | |
| #set -g mouse-select-pane on | |
| # VI key binding | |
| set -g status-keys vi | |
| setw -g mode-keys vi | |
| # Set prefix to `` |
Api blueprint https://apiblueprint.org/
vim plugin https://vimawesome.com/plugin/apiblueprint-vim
Plug 'kylef/apiblueprint.vim'
| set nocompatible | |
| let base16colorspace=256 " Access colors present in 256 colorspace | |
| set nu | |
| set mouse=a | |
| " syntax enable | |
| " File type | |
| filetype plugin on | |
| filetype plugin indent on " Enable filetype-specific plugins | |
| """""""""""""COMMON EDITOR RULES""""""""""""""""""" | |
| set tabstop=4 |
| #!/bin/sh | |
| # script to automate the creation of chroot jail | |
| # w/ minimal executables to run git | |
| export CHROOT=/var/chroot | |
| function copy_binary() { | |
| for i in $(ldd $*|grep -v dynamic|cut -d " " -f 3|sed 's/://'|sort|uniq) | |
| do | |
| cp --parents $i $CHROOT |
This script allows to use the free VPN service provided by VPNGate in an easy way. The user just needs to provide the desidered output country, and the script automatically chooses the best server.
After this step, OpenVPN is launched with the proper configuration. The VPN can be terminated by pressing Ctrl+C.
Run the script by providing the desired output country:
| # VI bindings in iex: | |
| brew install rlwrap # on OSX | |
| echo "alias iex='rlwrap -a foo iex'" >> ~/.bash_profile | |
| echo "set editing-mode vi" >> ~/.inputrc | |
| source ~/.bash_profile | |
| # To run iex WITHOUT rlwrap | |
| \iex |
| #!/bin/sh | |
| # First, build libc++ See <http://libcxx.llvm.org/>, "Build on Linux using CMake | |
| # and libsupc++." and substitute libsupc++ for libstdc++. NOTE: You'll probably | |
| # need to explicitly link libsupc++ when you compile your own code! | |
| # | |
| # Next, download Boost and extract it somewhere. Set SRC_DIR to that location. | |
| SRC_DIR=$HOME/src/boost_1_55_0 | |
| # Set this to be the install prefix. "/usr" is also a good choice. |