Skip to content

Instantly share code, notes, and snippets.

View NiziL's full-sized avatar

Théo BL NiziL

  • Inria
  • Nancy, France
View GitHub Profile
NiziL / .gitconfig
Last active October 22, 2018 11:20
View .gitconfig
email =
name = NiziL
graph = log --graph --pretty=format:'%C(yellow)%h%Creset -%Cred%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --decorate
tool = vimdiff
NiziL / .vimrc
Last active March 3, 2017 14:56
View .vimrc
" == Vundle configuration ==
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin ''
Plugin 'aliva/vim-fish'
NiziL / config
Created February 28, 2017 16:17
i3 config file
View config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
# i3 config file (v4)
# Please see for a complete reference!
View .Xresources
! URXVT config
urxvt*foreground: #c9c9c9
urxvt*transparent: true
urxvt*shading: 20
urxvt*scrollBar: false
urxvt*font: xft:DejaVu Sans Mono for Powerline:size=11:antialiasing:true
! ROFI config
rofi.color-enabled: true
rofi.color-window: #002b37, #002b37, #003642
NiziL /
Last active December 13, 2016 14:41
My fish configuration, with autostart of ssh-agent and a Shellder prompt including a ranger level indicator
set -x EDITOR vi
if status --is-login
if test -z "$DISPLAY" -a "$XDG_VTNR" -eq "1"
exec startx
NiziL / nizil.zsh-theme
Last active September 10, 2015 09:53
Fork of the mortalscumbag theme, including a ranger level indicator
View nizil.zsh-theme
function my_git_prompt() {
tester=$(git rev-parse --git-dir 2> /dev/null) || return
INDEX=$(git status --porcelain 2> /dev/null)
# is branch ahead?
if $(echo "$(git log origin/$(current_branch)..HEAD 2> /dev/null)" | grep '^commit' &> /dev/null); then
NiziL /
Last active August 29, 2015 14:07
BodyEditor loader for libGDX 1.3.1
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.physics.box2d.Body;
import com.badlogic.gdx.physics.box2d.CircleShape;