◄ = ◄
► = ►
▼ = ▼
▲ = ▲
| # app/controllers/users/password_controller.rb | |
| class Users::PasswordsController < Devise::PasswordsController | |
| def resource_params | |
| params.require(:user).permit(:email, :password, :password_confirmation) | |
| end | |
| private :resource_params | |
| end |
◄ = ◄
► = ►
▼ = ▼
▲ = ▲
Installing Xcode and the command line tools need to be done first because it installs gcc.
https://developer.apple.com/xcode/features/
Or via the terminal:
| #!/usr/bin/env python | |
| from subprocess import * | |
| import sys | |
| import re | |
| # Add Regex to blacklist here | |
| blacklist = [ | |
| "\+[ ]+NSLog.+" # Prevent NSLog's from being added | |
| ] |
| #!/usr/bin/python | |
| import os | |
| import re | |
| ## | |
| # Helper function for setting permissions | |
| # | |
| def chmod(permissions, path): | |
| permissions = str(permissions) |
| /** | |
| * CSS Triangles test | |
| */ | |
| body { | |
| background-color: #C0DFEC; | |
| } | |
| .funky { | |
| width: 0px; |