Skip to content

Instantly share code, notes, and snippets.

View Beatz748's full-sized avatar
💭
<3

Pavel Beatz748

💭
<3
View GitHub Profile
set number
syntax on
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
Plugin 'VundleVim/Vundle.vim'
@Beatz748
Beatz748 / setContracts.sh
Last active May 16, 2022 08:50
set contract address in env
#!/bin/bash
if [ $# != 1 ]; then
echo "PUT CONTRACT ADDRESS"
else
echo "set $1"
export contract=$1
fi
@Beatz748
Beatz748 / setNet.sh
Last active September 2, 2022 12:14
set network in env
#!/bin/sh
if [ $# != 1 ]; then
echo "PUT NETWORK"
elif [ $1 = "binance" ]; then
echo "SETTINGS FOR BINANCE SMARTCHAIN NETWORK"
export weth=0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
export usdt=0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82
export routerAddr=0x10ED43C718714eb63d5aA57B78B54704E256024E
export factoryAddr=0xcA143Ce32Fe78f1f7019d7d551a6402fC5350c73
@Beatz748
Beatz748 / .vimrc
Last active March 21, 2021 15:51
Installation for .vim and brew with some packages for 42 school
set runtimepath^=~/.vim
call plug#begin('~/.vim/plugged')
"Plug 'Valloric/YouCompleteMe'
" Use release branch (recommend)
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'}
Plug 'neoclide/coc-python', {'do': 'yarn install --frozen-lockfile'}
Plug 'neoclide/coc-tsserver', {'do': 'yarn install --frozen-lockfile'}
Plug 'neoclide/coc-css', {'do': 'yarn install --frozen-lockfile'}
# RM -RF OLD DIRS
VBoxManage controlvm default poweroff soft
VBoxManage controlvm default poweroff soft
VBoxManage controlvm default poweroff soft
VBoxManage controlvm default poweroff soft
VBoxManage controlvm default poweroff soft
VBoxManage unregistervm default
VBoxManage unregistervm default
VBoxManage unregistervm default
VBoxManage unregistervm default
@Beatz748
Beatz748 / .vimrc
Last active February 16, 2021 12:53
set runtimepath^=~/.vim
call plug#begin('~/.vim/plugged')
" https://github.com/romainl/flattened
Plug 'romainl/flattened'
" https://github.com/itchyny/lightline.vim
Plug 'itchyny/lightline.vim'
" https://github.com/scrooloose/nerdtree