A collection of CLI steps to setup AWS services using CLI.
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
| Set-Executionpolicy Unrestricted | |
| Get-Packageprovider Chocolatey |
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
| Get-AppxPackage *3dbuilder* | Remove-AppxPackage | |
| Get-AppxPackage *Appconnector* | Remove-AppxPackage | |
| Get-AppxPackage *bingfinance* | Remove-AppxPackage | |
| Get-AppxPackage *bingnews* | Remove-AppxPackage | |
| Get-AppxPackage *bingsports* | Remove-AppxPackage | |
| Get-AppxPackage *bingweather* | Remove-AppxPackage | |
| Get-AppxPackage *getstarted* | Remove-AppxPackage | |
| Get-AppxPackage *CandyCrushSaga* | Remove-AppxPackage | |
| Get-AppxPackage *CommsPhone* | Remove-AppxPackage | |
| Get-AppxPackage *ContactSupport* | Remove-AppxPackage |
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 | |
| # This script automatically sets the version and short version string of | |
| # an Xcode project from the Git repository containing the project. | |
| # | |
| # To use this script in Xcode, add the script's path to a "Run Script" build | |
| # phase for your application target. | |
| set -o errexit | |
| set -o nounset |
- Open an Xcode project in Terminal.
- Run
git tag -a <version number> -m '<commit message>'i.e.git tag -a 0.1 -m 'The very first version.'. - Optionally, run
git push origin --tagsto sync all tags with remote.
- Navigate to
Project ➭ TARGETS ➭ Target ➭ Build Phases. - Choose
Add Build Phase ➭ Add Run Script
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 | |
| # nth-commit.sh | |
| # Usage: `nth-commit.sh n [branch]` | |
| branch=${2:-'master'} | |
| SHA1=$(git rev-list $branch | tail -n $1 | head -n 1) | |
| git checkout $SHA1 |
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
| # xcode-build-bump.sh | |
| # @desc Auto-increment the build number every time the project is run. | |
| # @usage | |
| # 1. Select: your Target in Xcode | |
| # 2. Select: Build Phases Tab | |
| # 3. Select: Add Build Phase -> Add Run Script | |
| # 4. Paste code below in to new "Run Script" section | |
| # 5. Drag the "Run Script" below "Link Binaries With Libraries" | |
| # 6. Insure that your starting build number is set to a whole integer and not a float (e.g. 1, not 1.0) |