Skip to content

Instantly share code, notes, and snippets.

View autoferrit's full-sized avatar

Shawn McElroy autoferrit

View GitHub Profile
@autoferrit
autoferrit / password.py
Created March 14, 2012 18:32 — forked from nigelbabu/password.py
Generate random password
#!/usr/bin/python
import string
from random import choice
print ''.join([choice(string.letters + string.digits + string.punctuation) for i
in range(15)])
@autoferrit
autoferrit / php password generator
Created March 13, 2012 20:16 — forked from bendo01/php password generator
php password generator
<?php
substr( str_shuffle( 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$' ) , 0 , 10 );
?>