Skip to content

Instantly share code, notes, and snippets.

View tamewhale's full-sized avatar

Gavin Logan tamewhale

View GitHub Profile
@tamewhale
tamewhale / about.md
Created August 10, 2011 13:07 — forked from jasonrudolph/about.md
Programming Achievements: How to Level Up as a Developer
@tamewhale
tamewhale / Bcrypt.php
Created August 9, 2011 15:29
Simple PHP 5.3+ Bcrypt class and functions
<?php
/*
By Marco Arment <me@marco.org>.
This code is released in the public domain.
THERE IS ABSOLUTELY NO WARRANTY.
Usage example:
// In a registration or password-change form:
@tamewhale
tamewhale / daft.php
Created February 11, 2011 14:23 — forked from StuartFeldt/daft.php
Harder, Better, Faster, Stronger
<?php
//
// So that servers can understand Daft Punk's song 'Harder, Better, Faster, Stronger',
// that is, if the server in question has PHP installed..
//
for($k=0; $k<16; $k++)
{
for($j=0; $j<4; $j++)