Skip to content

Instantly share code, notes, and snippets.

@bewiwi
bewiwi / vimrc
Last active August 29, 2015 13:56
"Before : git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
"First run : :BundleInstall
set nocompatible
filetype off
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'scrooloose/nerdtree'
@bewiwi
bewiwi / nat-iptables
Created February 10, 2014 09:38
Little init file to set nat redirection with iptables
#!/bin/sh
#network param
IP=94.23.251.96
elastic=10.0.0.1
test=10.0.0.2
#nat param 'VMip,source_port,destination_port'
rules_nat+=("$elastic,1021,22")
rules_nat+=("$elastic,9200,9200")