Skip to content

Instantly share code, notes, and snippets.

View max's full-sized avatar
🏔️

Max Schoening max

🏔️
View GitHub Profile
require 'digest/md5'
email = 'nick@bylinebreak.com'
secret = 'FLAREAPPISAWESOME'
md5 = Digest::MD5.hexdigest(email + secret)
random_charset = Array.new(10) { (rand(122-97) + 97).chr }.join
serial = md5.tr('0-9', random_charset).upcase
puts serial
.panel form .action {
margin: 24px 0 0 0;
overflow: hidden;
p.reset_password {
text-align:left;
margin-bottom:0;
float:left;
a {
opacity:.7;
}
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .33), inset 0 1px 1px rgba(255, 255, 255, .1);