Skip to content

Instantly share code, notes, and snippets.

View miron0xff's full-sized avatar

Aleksandr Mironov miron0xff

  • Everywhere
View GitHub Profile
@miron0xff
miron0xff / .vimrc
Last active December 1, 2017 11:38
set nocompatible " required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
@miron0xff
miron0xff / main.py
Created March 10, 2017 13:32
TLS Mutual Auth
import os
import ssl
import http.server
import socketserver
HOST = 'localhost'
PORT = 8001
PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
CERT_DIR = os.path.join(PROJECT_ROOT, 'certificates')