This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# git | |
alias cm='git cm' | |
alias st='git st' | |
# git | |
alias pull='git pull' | |
alias push='git push' | |
alias t='git topo-log -15' | |
alias ggrep='git grep -n --color' | |
alias ci='git commit' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from bs4 import BeautifulSoup | |
import mechanize | |
class SomfyException(Exception): | |
def __init__(self, value): | |
Exception.__init__(self, value) | |
self.value = value | |
def __str__(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prefix is CTRL-B and CTRL-X | |
set -g prefix C-b,C-x | |
# enable CTRL-B and CTRL-X under other programms (like vim) - you'll have to press twice le combination to have the ancien one | |
bind C-b send-prefix | |
bind C-x send-prefix | |
# UTF-8 | |
set-option -g status-utf8 on | |
set-window-option -g utf8 on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" This must be first, because it changes other options as side effect | |
set nocompatible | |
" coloration syntaxique | |
syn on | |
" met les buffers en arriere plan plutot que de les fermer | |
set hidden | |
" fond sombre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
interactive = auto | |
[user] | |
name = Stéphan Lascar | |
email = stephan.lascar@advys.fr | |
[alias] | |
last = cat-file commit HEAD |