pod lib create YOUR_POD
git remote add origin your_repository_link
# Copy this function in your ~/.bashrc file. | |
# execute `source ~/.bashrc` or open a new terminal | |
cleanXcode () { | |
DIR=~/Library/Developer/Xcode/DerivedData/ | |
cd $DIR | |
ls | |
rm -r -- "$DIR"* | |
} |
#/bin/bash | |
PROJECT_NAME=my_website | |
WORKSPACE=/var/www | |
USERNAME=www-data | |
PORT=22 | |
DATEMARK=`date +%Y%m%d%H%M%S` | |
HOSTNAME=www.example.com |
# Aliases | |
alias refresh-source='source $HOME/.bashrc' |
#!/bin/sh | |
if [ $1 = 0000000000000000000000000000000000000000 ]; then | |
old=4b825dc642cb6eb9a060e54bf8d69288fbee4904 | |
else | |
old=$1 | |
fi | |
if [ -f Podfile ] && command -v pod install >/dev/null && | |
git diff --name-only $old $2 | egrep -q '^Podfile$' | |
then | |
(unset GIT_DIR; exec pod install) | grep -v '^Using ' | grep -v ' is complete' |