This file contains 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
#### Clone | |
git clone <some_repo_url> | |
#### Branch | |
git branch <branch_name> | |
#### Checkout | |
git checkout <branch_name> | |
#### Commit |
This file contains 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/sh | |
set -eo pipefail | |
IFS=$'\n\t' | |
NOW=$(date +%s) | |
RELEASE_NOTES="" | |
BUILD_FILE_NAME="Project-${NOW}" # put file name here | |
API_TOKEN="TODO" # put API token here | |
PROVISIONING_PROFILE_IDENTITY="Some Distribution Profile" |
This file contains 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
# Merge Script | |
# http://code.hootsuite.com/an-introduction-to-creating-and-distributing-embedded-frameworks-in-ios/ | |
# 1 | |
# Set bash script to exit immediately if any commands fail. | |
set -e | |
# 2 | |
# Setup some constants for use later on. |
This file contains 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 | |
.DS_Store | |
*/build/* | |
*.pbxuser | |
!default.pbxuser | |
*.mode1v3 | |
!default.mode1v3 | |
*.mode2v3 | |
!default.mode2v3 | |
*.perspectivev3 |
This file contains 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/sh | |
set -eo pipefail | |
IFS=$'\n\t' | |
# Constants | |
NOW=$(date +%s) | |
BUILD_FILE_NAME="MyApp-${NOW}" | |
SCHEME="MyApp" | |
WORKSPACE="MyApp" | |
PROJECT="MyApp" |
This file contains 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
brew update && brew upgrade openssl | |
rvm osx-ssl-certs update all | |
rvm reinstall ruby-2.2.3 --with-openssl-dir=/usr/local |
This file contains 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
# dSYMs | |
# part 1 | |
ZIPPED_DSYM="${BUILD_FILE_NAME}.dSYM.zip" | |
cd "${BUILD_FILE_NAME}.xcarchive/" | |
zip -r "../$ZIPPED_DSYM" "dSYMs/" | |
cd .. | |
# Deploy |
This file contains 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
# To use save this file, open a terminal at its location and execute `ruby request.rb` | |
require 'net/http' | |
require 'json' | |
url = "https://api.spotify.com/v1/search?type=artist&q=bonobo" | |
uri = URI(url) | |
request = Net::HTTP::Get.new(uri) | |
request["MyCustomHeader"] = "abcde" |
This file contains 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
{ | |
"token": "c3fcd3d76192e4007dfb496cca67e13b" | |
} |
This file contains 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
export ANDROID_HOME=/YOUR_PATH_TO/android-sdk | |
export PATH=$ANDROID_HOME/platform-tools:$PATH | |
export PATH=$ANDROID_HOME/tools:$PATH |
OlderNewer