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
| grep -r -n -i --include="*.swift" setUp . |
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
| sudo xcrun simctl delete unavailable |
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
| carthage build --no-skip-current --platform iOS | |
| carthage archive |
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
| carthage build --no-skip-current --platform iOS | |
| carthage archive | |
| git tag 1.1.1 | |
| git push --tags | |
| hub release create -F release.txt -a DifferenceKit.framework.zip 1.1.1 |
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
| sudo ln -s /Applications/Xcode11.4.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/13.4 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport |
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
| ## put this file under /usr/local/bin | |
| git diff develop --name-only | while read filename; do | |
| if [[ $filename == *.swift ]] | |
| then | |
| swiftlint autocorrect --path "$filename"; | |
| fi | |
| done |
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
| rm -rf ~/Desktop/DerivedData |
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
| // | |
| // main.swift | |
| // CreateChangeAzureBranchPR | |
| // | |
| // Created by bill on 30.11.20. | |
| // | |
| import Foundation | |
| let branch = "chore/azure_xcode12" |
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
| // | |
| // main.swift | |
| // carthageGraph | |
| // | |
| // Created by Bill, Yiu Por Chan on 17.09.21. | |
| // | |
| import Foundation | |
| var path: String! = "/Users/bill/ios_dev/wire/xcode13/wire-ios/Cartfile.resolved" |
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
| import Foundation | |
| func diceChance() { | |
| var sums = [Int: Int]() | |
| for i in 1...6 { | |
| for j in 1...6 { | |
| for k in 1...6 { | |
| sums[i+j+k, default: 0] += 1 | |
| } | |
| } |