This file contains hidden or 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 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 file contains hidden or 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 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 file contains hidden or 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
#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; |
This file contains hidden or 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
" Press ? for help | |
.. (up a dir) | |
/home/tibi/proiect/ | |
server.c | |
serverApp* |
This file contains hidden or 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
-A INPUT -p udp -m state --state NEW --dport 53 -j ACCEPT | |
-A INPUT -p tcp -m state --state NEW --dport 53 -j ACCEPT |
This file contains hidden or 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
" VSVIM | |
syntax on | |
set ignorecase | |
set smartcase | |
set hlsearch | |
set wrap | |
set number | |
set laststatus=2 | |
set autoindent | |
set smartindent |
This file contains hidden or 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
" No Vundle, just settings | |
set nocompatible | |
filetype on | |
syntax on | |
set backspace=indent,eol,start | |
fixdel | |
set ignorecase | |
set smartcase | |
set hlsearch | |
set wrap |
This file contains hidden or 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
#!/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('.') |
This file contains hidden or 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
set nocompatible | |
filetype off | |
syntax on | |
set backspace=indent,eol,start | |
fixdel | |
set ignorecase | |
set smartcase | |
set hlsearch | |
set wrap | |
set textwidth=79 |
This file contains hidden or 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
let mapleader="," | |
inoremap jj <ESC> | |
nmap <tab> <c-w><c-w> |