Skip to content

Instantly share code, notes, and snippets.

"this is for ctrl-c / ctrl-p on windows
source $VIMRUNTIME/mswin.vim
"Forget compatibility with Vi. Who cares.
set nocompatible
"for vundle
filetype off
"Write the old file out when switching between files.
"this is for ctrl-c / ctrl-p on windows
source $VIMRUNTIME/mswin.vim
"Forget compatibility with Vi. Who cares.
set nocompatible
"for vundle
filetype off
"Write the old file out when switching between files.
#include "mpi.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
int main( int argc, char *argv[] )
{
int num_errors = 0;
int rank, size;
" Press ? for help
.. (up a dir)
/home/tibi/proiect/
server.c
serverApp*
-A INPUT -p udp -m state --state NEW --dport 53 -j ACCEPT
-A INPUT -p tcp -m state --state NEW --dport 53 -j ACCEPT
" VSVIM
syntax on
set ignorecase
set smartcase
set hlsearch
set wrap
set number
set laststatus=2
set autoindent
set smartindent
" No Vundle, just settings
set nocompatible
filetype on
syntax on
set backspace=indent,eol,start
fixdel
set ignorecase
set smartcase
set hlsearch
set wrap
#!/usr/bin/env python
#Script redenumire subtitrari dupa numele fisierului video
# before https://dl.dropboxusercontent.com/u/69732156/before.png
# after https://dl.dropboxusercontent.com/u/69732156/after.png
import os
import re
VID_EXTS = ['.avi', '.mkv', '.mp4']
SUB_EXTS = ['.sub', '.srt']
files = os.listdir('.')
set nocompatible
filetype off
syntax on
set backspace=indent,eol,start
fixdel
set ignorecase
set smartcase
set hlsearch
set wrap
set textwidth=79
let mapleader=","
inoremap jj <ESC>
nmap <tab> <c-w><c-w>