Skip to content

Instantly share code, notes, and snippets.

View fabiant7t's full-sized avatar

Fabian Topfstedt fabiant7t

View GitHub Profile
@fabiant7t
fabiant7t / vimrc
Created June 23, 2012 21:17
fabiant7t vimrc
set visualbell " shut up
" Disable the cursor keys to force moving the cursor by h j k l
"" noremap <Up> ""
"" noremap! <Up> <Esc>
"" noremap <Down> ""
"" noremap! <Down> <Esc>
"" noremap <Left> ""
"" noremap! <Left> <Esc>
"" noremap <Right> ""
@fabiant7t
fabiant7t / s3_multipart_upload.py
Created April 17, 2011 14:54
Parallel S3 multipart upload with retries
import logging
import math
import mimetypes
from multiprocessing import Pool
import os
from boto.s3.connection import S3Connection
from filechunkio import FileChunkIO