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 /
Last active Dec 15, 2019
install ubuntu
# most basic commands and programs
sudo apt install \
tilix \
fish \
npm \
silversearcher-ag \
git \
gimp \
curl \
tree \
View .gitignore
Bastes / .gitconfig
Last active Dec 15, 2019
More and better aliases
View .gitconfig
ui = true
name = Michel Belleville
email =
signingkey = E230DD441778324B
autosetupmerge = always
autosetuprebase = always
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
autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
call plug#begin('~/.vim/plugged')
" " Add or remove your Bundles here:
" " - syntaxes
You can’t perform that action at this time.