Skip to content

Instantly share code, notes, and snippets.

@bougui505
bougui505 / .vimrc
Last active August 29, 2015 13:56
.vimrc for ishikawa
" ishikawa
" choose colorscheme according to vim version
syntax on
set t_Co=256
set gfn=DejaVu\ Sans\ Mono\ 11
"set gfn=DejaVu\ LGC\ Sans\ Mono\ 11
" No highlight search
set nohls
" No error bell
set noeb
@bougui505
bougui505 / .zshrc
Created February 26, 2014 15:56
.zshrc for ishikawa
# ishikawa
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
module ()
{
eval `/usr/bin/modulecmd bash $*`
}
module load git/1.7.6
module load ruby/1.9.3-p125
@bougui505
bougui505 / .tmux.conf
Created March 14, 2014 08:30
.tmux.conf from ishikawa
set-option -g prefix C-a
setw -g mode-keys vi
# THEME
set -g status-bg black
set -g status-fg white
set -g status-interval 1
set -g status-left-length 100
set -g status-left '[#S:#I.#P]#[fg=green]#T#[default]'
@bougui505
bougui505 / beamerTemplate.tex
Created March 17, 2014 09:49
latex beamer template
\documentclass[]{beamer}
\usepackage[francais]{babel}
\usepackage[utf8]{inputenc}
\usepackage[babel=true,kerning=true]{microtype} % for tikz command plot [domain=a:b] (problem with : and frenchbabel)
\usepackage{bibentry}
\usepackage{epigraph}
\setlength{\epigraphwidth}{\textwidth}
\newcommand*\elide{\textup{[\,\dots]}}
\newcommand{\newfontsize}{\fontsize{6pt}{7.2}\selectfont}
%#1 : Auteurs ; #2 : Titre ; #3 : Journal ; #4 : Volume ; #5 : numero ; #6 : pages ; #7 : année
@bougui505
bougui505 / tableofcontents_options.tex
Last active August 29, 2015 13:57
syntax to show hide section, subsection, subsubsections. Syntax: \tableofcontents[sectionstyle=section en cours/autres sections]; \tableofcontents[subsectionstyle=sous-section en cours/autres sous-sections de la section en cours/autres sous-sections]; etc... From: http://mcclinews.free.fr/latex/introbeamer/elements_diaporama.html
\AtBeginSection[]
{
\begin{frame}[plain]
\tableofcontents[currentsection, section=show/shaded, subsectionstyle=show/show/hide, subsubsectionstyle=show/show/show/hide]
\end{frame}
}
@bougui505
bougui505 / config
Created March 18, 2014 06:33
git config with specified uploadpack (git-upload-pack) and denyCurrentBranch set to warn to push on checked out branch
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[receive]
denyCurrentBranch = warn
[remote "ishikawa"]
url = ishikawa:/Bis/home/bougui/presentations/doc_20140317_audition-Pasteur
uploadpack = /c5/shared/git/1.7.6/bin/git-upload-pack
@bougui505
bougui505 / testset.ipynb
Created April 3, 2014 11:53
SOM testset
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bougui505
bougui505 / dock_footprints.in
Created April 4, 2014 09:47
dock input file to generate footprints
ligand_atom_file LIG
limit_max_ligands no
skip_molecule no
read_mol_solvation no
calculate_rmsd no
use_database_filter no
orient_ligand no
use_internal_energy no
flexible_ligand no
bump_filter no
@bougui505
bougui505 / README.rst
Last active August 29, 2015 13:59
inadyn.conf file for Freedns (afraid.org). Location in /etc/inadyn.conf

Open the url:

http://freedns.afraid.org/dynamic/

Login with your account

Select the link Direct URL beside <your_host>.ignorelist.com

Copy everything from the right of the ? in the address bar (alphanumeric string)