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
| #!/bin/bash | |
| # problem: | |
| # you installed a new version of Xcode, and now the previously installed extensions are | |
| # not visible any more in menus or accessible via custom keyboard shortcuts | |
| # solution: | |
| # https://nshipster.com/xcode-source-extensions/ | |
| # ... when multiple copies of Xcode are on the same machine, extensions can stop working completely. In this case, Apple Developer Relations suggests re-registering your main copy of Xcode with Launch Services. |
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
| #!/bin/bash | |
| # Create a new Go project with a main.go file and a Go module | |
| # Option -c, --cobra: Initialize a Cobra CLI project in the module | |
| while getopts ":c" opt; do | |
| case $opt in | |
| c) | |
| c_flag=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
| [alias] | |
| aliases = config --get-regexp alias | |
| br = branch | |
| ### commit | |
| caam = commit -a --amend --no-edit ### commit tracked files squashing onto the last commit | |
| caamn = commit --no-verify -a --amend --no-edit ### --no-verify ignores pre-commit hook | |
| cam = commit -am ### add tracked files and commit with message |
OlderNewer