Skip to content

Instantly share code, notes, and snippets.

git config --global alias.tree 'log --graph --full-history --all --color --date=short --pretty=format:"%Cred%x09%h %Creset%ad%Cblue%d %Creset %s %C(bold)(%an)%Creset"'
kill $(lsof -t -i :YOUR_PORT_NUMBER)
@maxlibin
maxlibin / bsconfig.json
Last active September 12, 2019 15:28
bsconfig
{
"name": "some-name",
"version": "0.0.1",
"namespace": false,
"sources": {
"dir": "src",
"subdirs": true
},
"ignored-dirs": ["./ignored-folder"],
"bs-dependencies": ["reason-react"],
@maxlibin
maxlibin / init.vim
Last active February 19, 2022 05:42
Vim setup
" Start Vim
" ------------------------------------------------------------------------------
syntax on
set number
set relativenumber
set rnu
set tabstop=2
set shiftwidth=2
set softtabstop=2
set expandtab
@maxlibin
maxlibin / kitty.conf
Last active January 28, 2022 05:10
Kitty terminal config
# include ./theme.conf
include ./tokyo-night-kitty.conf
hide_window_decorations yes
window_padding_width 0
window_margin_width 0
font_family Fira Code
italic_font Fira Code Italic
// ~/.config/nvim/init.vim
lua require('init')
lua require('plugins')
call plug#begin('~/.vim/plugged')
Plug 'reasonml-editor/vim-reason-plus'
Plug 'TaDaa/vimade'
Plug 'tpope/vim-fugitive'
Plug 'folke/tokyonight.nvim', { 'branch': 'main' }