Skip to content

Instantly share code, notes, and snippets.

View fuhrysteve's full-sized avatar

Stephen J. Fuhry fuhrysteve

View GitHub Profile
@fuhrysteve
fuhrysteve / Bcrypt.php
Created October 26, 2011 18:03 — forked from krypton/Bcrypt.php
Simple PHP 5.3+ Bcrypt class adapted from phpass
<?php
/*
Re-Adaptation by Marco Arment <me@marco.org> by Stephen J. Fuhry.
This fork doesn't have any legacy support, because I don't need it.
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
@fuhrysteve
fuhrysteve / pre-commit.php
Created October 25, 2011 20:37 — forked from mvriel/pre-commit.php
Pre-commit
#!/usr/bin/php
<?php
echo PHP_EOL;
// output a little introduction
echo '>> Starting unit tests' . PHP_EOL;
// get the name for this project; probably the topmost folder name
$projectName = basename(getcwd());