0x90a2b685e47f7a5D46BC2170ccB407FE90df1b9f
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
// edit AppDelegate.swift file | |
// add the following to applicationWillResignActive | |
let blurEffect = UIBlurEffect(style: UIBlurEffect.Style.dark) | |
let blurEffectView = UIVisualEffectView(effect: blurEffect) | |
blurEffectView.frame = window!.frame | |
blurEffectView.tag = 221122 | |
self.window?.addSubview(blurEffectView) |
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 PATH=/opt/local/bin/:/opt/local/sbin:$PATH:/usr/local/bin: | |
if [ "${CONFIGURATION}" == "Release" ]; then | |
exit 0; | |
fi | |
convertPath=`which convert` | |
echo ${convertPath} | |
if [[ ! -f ${convertPath} || -z ${convertPath} ]]; then | |
echo "warning: Skipping Icon versioning, you need to install ImageMagick and ghostscript (fonts) first, you can use brew to simplify process: | |
brew install imagemagick |
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
buildNumber=$(/usr/libexec/PlistBuddy -c "Print CFBundleVersion" "${PROJECT_DIR}/${INFOPLIST_FILE}") | |
buildNumber=$(($buildNumber + 1)) | |
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $buildNumber" "${PROJECT_DIR}/${INFOPLIST_FILE}" |
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
git=`sh /etc/profile; which git` | |
branch_name=`$git symbolic-ref HEAD | sed -e 's,.*/\\(.*\\),\\1,'` | |
git_count=`$git rev-list $branch_name |wc -l | sed 's/^ *//;s/ *$//'` | |
simple_branch_name=`$git rev-parse --abbrev-ref HEAD` | |
build_number="$git_count" | |
if [ $CONFIGURATION != "Release" ]; then | |
build_number+="-$simple_branch_name" | |
fi |
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
0x341A02785E069Ab22C277CcE8E56c7a828751D62 |
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
0xF280e6FBfcB1F9c5Ba490BA503162D4ACC6adaFB |
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
0x90a2b685e47f7a5D46BC2170ccB407FE90df1b9f |
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
#!/usr/bin/env bash | |
# 'Wi-Fi' or 'Ethernet' or 'Display Ethernet' | |
INTERFACE=Wi-Fi | |
# Ask for the administrator password upfront | |
sudo -v | |
# Keep-alive: update existing `sudo` time stamp until finished | |
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & |
I hereby claim:
- I am ericjarvies on github.
- I am ericjarvies (https://keybase.io/ericjarvies) on keybase.
- I have a public key ASAUyZUfPoL2uUETp1oRZ2lSfLPBbUnNelJOQU0i2S0I6go
To claim this, I am signing this object: