Skip to content

Instantly share code, notes, and snippets.

@legierski
legierski / redbean_example_1.php
Created April 17, 2012 23:28
RedBean example 1
$user = R::dispense(‘user’);
$user->login = ‘legierski’;
$user->password = ‘H4XX0RP4SSW0RD’; // with salts, encryptions and all that fancy stuff
R::store($user);
@legierski
legierski / most_popular.php
Created April 10, 2012 18:56
Shows 20 most popular words in a text file