Skip to content

Instantly share code, notes, and snippets.

View FunnyMan3595's full-sized avatar

Charlie Nolan FunnyMan3595

View GitHub Profile
set nocompatible " be iMproved, 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')
" let Vundle manage Vundle, required
#!/usr/bin/env python
typable_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`-=[]\\;',./~!@#$%^&*()_+{}|:\"<>?"
import sys, hmac, hashlib, base64, getpass
from Crypto.Random import random
def mkpass(len):
passwd = ""
for i in range(len):
passwd += random.choice(typable_chars)
return passwd