Skip to content

Instantly share code, notes, and snippets.

Avatar

Théo B.L. NiziL

  • Inria
  • Nancy, France
View GitHub Profile
@NiziL
NiziL / config
Created Feb 28, 2017
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 http://i3wm.org/docs/userguide.html for a complete reference!
View .vimrc
" == Vundle configuration ==
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'matchit.zip'
Plugin 'aliva/vim-fish'
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
NiziL / config.fish
Last active Dec 13, 2016
My fish configuration, with autostart of ssh-agent and a Shellder prompt including a ranger level indicator
View config.fish
start_agent
set -x EDITOR vi
if status --is-login
if test -z "$DISPLAY" -a "$XDG_VTNR" -eq "1"
exec startx
end
end
View .gitconfig
[user]
email = biasutto.t@gmail.com
name = NiziL
[alias]
graph = log --graph --pretty=format:'%C(yellow)%h%Creset -%Cred%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --decorate
[diff]
tool = vimdiff
@NiziL
NiziL / nizil.zsh-theme
Last active Sep 10, 2015
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)
STATUS=""
# is branch ahead?
if $(echo "$(git log origin/$(current_branch)..HEAD 2> /dev/null)" | grep '^commit' &> /dev/null); then
STATUS="$STATUS$ZSH_THEME_GIT_PROMPT_AHEAD"
fi
View gist:8af45627fc28e5ffacda
### Keybase proof
I hereby claim:
* I am NiZiL on github.
* I am nizil (https://keybase.io/nizil) on keybase.
* I have a public key whose fingerprint is EA78 8125 950C A58E A83F B385 9258 F0F8 489C B285
To claim this, I am signing this object:
@NiziL
NiziL / BodyEditorLoader.java
Last active Aug 29, 2015
BodyEditor loader for libGDX 1.3.1
View BodyEditorLoader.java
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;