Skip to content

Instantly share code, notes, and snippets.

@krypton
krypton / Bcrypt.php
Created June 29, 2011 09:33
Simple PHP 5.3+ Bcrypt class adapted from phpass
<?php
/*
Adaptation by Marco Arment <me@marco.org>.
Adapted from Portable PHP Password Hashing Framework (phpass) version 0.3:
http://www.openwall.com/phpass/
phpass was by Solar Designer <solar at openwall.com> in 2004-2006 and is in
the public domain. This adaptation is also in the public domain.
@krypton
krypton / .vimrc
Created May 9, 2011 22:26
.vimrc
let mapleader = ","
syntax enable
set foldmethod syntax
set ignorecase
set hlsearch
set autoindent
set fileencoding=utf-8
set encoding=utf-8
set backspace=indent,eol,start
set ts=2 sts=2 sw=2 expandtab