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
#!/usr/bin/env bash | |
readonly APP_NAME=test_app | |
readonly GIT_WORK_TREE=~/apps/$APP_NAME | |
declare REF_NAME=$1 COMMIT_HASH=$3 | |
if [[ "$REF_NAME" == "refs/heads/master" ]]; then | |
echo "Master branch updated. Deploying to production." | |
mkdir -p $GIT_WORK_TREE |
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
git config --global url."https://".insteadOf git:// |
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 | |
sed -e 's/_\([a-z]\)/\U\1/g' |
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] | |
cp = cherry-pick | |
st = status | |
ci = commit | |
br = branch | |
co = checkout | |
cob = checkout -b | |
df = diff | |
lg = log --graph --oneline --all --decorate | |
cm = !git add -A && git commit -m |
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/sh | |
export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer" | |
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/DTDeviceKit.framework/Versions/A/Resources/symbolicatecrash -A -v "$1" |