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
| @IBOutlet weak var txtPassword: UITextField! | |
| @IBOutlet weak var lblPasswordValidation: UILabel! | |
| var isPasswordValid = true | |
| @objc func textFieldDidChange(_ textField: UITextField) { | |
| let attrStr = NSMutableAttributedString ( | |
| string: "Password must be at least 8 characters, and contain at least one upper case letter, one lower case letter, and one number.", | |
| attributes: [ | |
| .font: UIFont.init(name: "Roboto", size: 11.0) ?? UIFont.systemFont(ofSize: 11.0), | |
| .foregroundColor: UIColor(hexString: "6A6A6A") |
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
| # githubPersonal | |
| Host personal | |
| HostName github.com | |
| User git | |
| IdentityFile ~/.ssh/id_rsa_personal | |
| # githubWork | |
| Host work | |
| HostName github.com | |
| User git |
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
| [user] | |
| [alias] | |
| co = checkout | |
| hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short | |
| [push] | |
| default = simple | |
| [core] | |
| excludesfile = /Users/{user}/.gitignore_global | |
| [credential] | |
| helper = osxkeychain |
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
| alias gnb=newBranch | |
| # FUNCTIONS | |
| newBranch() { | |
| NOW=$(date +"%Y%m%d") | |
| NAME="username" | |
| TYPE="" | |
| BRANCH="" | |
| TICKET="" |
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
| # | |
| # Sets Prezto options. | |
| # | |
| # Authors: | |
| # Sorin Ionescu <sorin.ionescu@gmail.com> | |
| # | |
| # | |
| # General | |
| # |
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
| # | |
| # Executes commands at login pre-zshrc. | |
| # | |
| # Authors: | |
| # Sorin Ionescu <sorin.ionescu@gmail.com> | |
| # | |
| # | |
| # Browser | |
| # |
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
| # THEME | |
| # - Powerlevel9k AwesomeFont selection (must call before sourcing) | |
| POWERLEVEL9K_MODE='awesome-fontconfig' | |
| # - Source Prezto | |
| if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | |
| source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" | |
| fi |
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
| alias gnb="git checkout -b $*" | |
| alias gnbf=gitNewBranchFeature | |
| alias gnbt=gitNewBranchTest | |
| alias gnbs=gitNewBranchSupport | |
| # FUNCTIONS | |
| NOW=$(date +"%Y-%m-%d") | |
| NAME="yournamehere" | |
| gitNewBranchFeature() { |
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
| { | |
| “save_on_focus_lost”: true | |
| } |
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
| # EDITOR | |
| export EDITOR='subl -w' |
NewerOlder