This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .panel form .action { | |
| margin: 24px 0 0 0; | |
| overflow: hidden; | |
| p.reset_password { | |
| text-align:left; | |
| margin-bottom:0; | |
| float:left; | |
| a { | |
| opacity:.7; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .33), inset 0 1px 1px rgba(255, 255, 255, .1); |
NewerOlder