Skip to content

Instantly share code, notes, and snippets.

Michel Belleville Bastes

Block or report user

Report or block Bastes

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View git-chain-rebase
#! /usr/bin/env ruby
raise 'requires the new base and 1 branch to rebase' unless ARGV.length == 2
to_rebase = ARGV[0]
new_base = ARGV[1]
puts "to rebase: #{to_rebase.inspect}"
puts "new base: #{new_base.inspect}"
@Bastes
Bastes / install.sh
Last active Dec 15, 2019
install ubuntu
View install.sh
# most basic commands and programs
sudo apt install \
tilix \
fish \
npm \
silversearcher-ag \
git \
gimp \
curl \
tree \
View .gitignore
## BEFORE STOOTIE
.netrwhist
.*.sw[a-z]
.rvmrc
.rbenv-*
*~
.DS_Store
coverage
.sass-cache
vendor/bundle
@Bastes
Bastes / .gitconfig
Last active Dec 15, 2019
More and better aliases
View .gitconfig
[color]
ui = true
[user]
name = Michel Belleville
email = michel.belleville@lifen.fr
signingkey = E230DD441778324B
[branch]
autosetupmerge = always
autosetuprebase = always
[core]
@Bastes
Bastes / .vimrc
Last active Dec 15, 2019
My very own vimrc
View .vimrc
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
" " Add or remove your Bundles here:
" " - syntaxes
You can’t perform that action at this time.