create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| [user] | |
| email = DEFAULT_EMAIL_HERE | |
| name = DEFAULT_NAME_HERE | |
| [includeIf "gitdir:~/work/"] | |
| path = ~/.gitconfig-work | |
| [includeIf "gitdir:~/personal/"] | |
| path = ~/.gitconfig-personal |
| #!/bin/bash | |
| for i in $( gem list --local --no-version | grep cocoapods ); | |
| do | |
| gem uninstall $i; | |
| done | |
| rm -rf ~/.cocoapods/ | |
| -u "[USER_NAME_OR_EMAIL]" | |
| -p "[PASSWORD]" | |
| -i | |
| -c | |
| --no-warnings | |
| --no-check-certificate | |
| --restrict-filenames | |
| --add-header Referer:"https://app.pluralsight.com/library/courses/" | |
| --console-title | |
| --batch-file='batch-file.txt' |
| import java.time.LocalDateTime; | |
| import java.time.format.DateTimeFormatter; | |
| class App { | |
| public static void main(String[] args) { | |
| DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-mm-dd"); | |
| LocalDateTime now = LocalDateTime.now(); | |
| System.out.println("current date: " + formatter.format(now)); | |
Regular expression for JavaScript:
/((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*$/