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 submodule add -b master [email protected]:/1951FDG/pt.git ProcessTimer | |
git config -f .gitmodules submodule.ProcessTimer.branch master | |
git submodule add [email protected]:PaddleHQ/Mac-Framework.git | |
git config -f .gitmodules submodule.Mac-Framework.url [email protected]:PaddleHQ/Mac-Framework.git | |
cd Mac-Framework | |
git checkout b684ec709b0cce91a7c2bc079cbe60407ad1b91b | |
git show b684ec709b0cce91a7c2bc079cbe60407ad1b91b |
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
brew list | |
brew outdated | |
brew upgrade node | |
brew uses -installed node | |
sudo npm -g install npm (update npm) | |
npm list -g --depth=0 (list of modules) | |
npm outdated -g --depth=0 (list of modules to be updated) | |
npm-check-updates -g (list of modules to be updated) |
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
sudo gem install xcpretty | |
sudo gem install iesd | |
iesd -i /Volumes/OS\ X\ Yosemite\ 10.10.4\ \[MAS\]\ 14E46/Install\ OS\ X\ Yosemite.app -o Yosemite.dmg -t BaseSystem | |
sudo gem install fui |
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 | |
while read line | |
do | |
FILE=$line | |
if [ ! -e "${1}/${FILE}" ]; then | |
echo "File not found! - ${FILE}" | |
fi | |
done < "${2}" |
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 clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
rbenv install -l | |
rbenv install 1.9.3-p551 | |
ruby -v | |
rbenv global 1.9.3-p551 | |
rbenv rehash | |
ruby -v |
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
echo export PATH='$HOME/Developer/oclint-0.7-x86_64-apple-darwin-10/bin/:$PATH' > ~/.bash_profile | |
cd $HOME/Developer/oclint-0.7-x86_64-apple-darwin-10/lib/oclint/rules | |
rm -rf libInvertedLogicRule.dylib | |
rm -rf libMisplacedNullCheckRule.dylib | |
rm -rf libRedundantNilCheckRule.dylib | |
rm -rf libBitwiseOperatorInConditionalRule.dylib | |
rm -rf libObjCContainerLiteralsRule.dylib |
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
cd ~/Developer/SixtyFour | |
rm -i .git/info/exclude | |
git init | |
git ls-files --others --exclude-standard >> .git/info/exclude | |
vim .git/info/exclude |
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
value.replace("0,18","0,50").replace("0,47","0,80").replace("0,65","1,00").replace("0,66","1,00").replace("0,67","1,00").replace("1,60","2,00").replace("1,62","2,00").replace("1,63","2,00").replace("2,56","3,00").replace("2,58","3,00").replace("2,59","3,00").replace("2,59","3,00").replace("3,49","4,00").replace("3,54","4,00").replace("4,44","5,00").replace("4,46","5,00").replace("4,50","5,00").replace("4,51","5,00").replace("4,53","5,00").replace("5,47","6,00").replace("6,43","7,00").replace("8,35","9,00").replace("9,31","10,00").replace("14,11","15,00").replace("18,92","20,00") |
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
opt[0] = "/bin/bash" | |
opt[1] = "-c" | |
opt[2] = " exec /usr/bin/arch -arch x86_64 /Volumes/Untitled/Users/administrator/Developer/SixtyFour/build/Release/SixtyFour.app/Contents/MacOS/SixtyFour" | |
opt[0] = "/usr/bin/arch" | |
opt[1] = "-arch" | |
opt[2] = "x86_64" | |
opt[3] = "/Volumes/Untitled/Users/administrator/Developer/SixtyFour/build/Release/SixtyFour.app/Contents/MacOS/SixtyFour" |
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
sysctl vm.swapusage | |
ls -la /var/vm | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist | |
sudo rm -rf /var/vm/swapfile* |