mount
# apply /etc/fstab changes
sudo mount -a
# get disk information and UUIDs
bklid
sudo fdisk -l
diskutil verifyVolume /dev/disk2
# fill disk with zeros
sudo dd if=/dev/zero of=/dev/diskX
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
# get previous nightly from https://www.iterm2.com/downloads/nightly/#/section/home | |
cd /tmp | |
wget https://www.iterm2.com/downloads/nightly/iTerm2-3_1_20170419-nightly.zip | |
unzip iTerm2-3_1_20170419-nightly.zip -o -d ~/Users/scheffield/Applications/ |
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
# http://apple.stackexchange.com/questions/121401/how-do-i-install-r-on-os-x | |
brew install r r-gui | |
brew link r-gui | |
open /Applications/R.app |
- https://github.com/winterbe/java8-tutorial
- Frok/Join http://blog.takipi.com/forkjoin-framework-vs-parallel-streams-vs-executorservice-the-ultimate-benchmark/
- why are parallel streams are bad: https://dzone.com/articles/think-twice-using-java-8
- when to use parallel streams: http://gee.cs.oswego.edu/dl/html/StreamParallelGuidance.html
- find all commits introduced
<string>
and show diff - http://stackoverflow.com/questions/5816134/finding-a-git-commit-that-introduced-a-string-in-any-branch
git log -S <string> --source --all -p
- find all commits changing
<filename>
and show diff
git log --follow --all -p -- '*<filename>'
- remove remote and show side effects
- http://krypted.com/mac-security/mac-network-commands-cheat-sheet/
- https://yourmacguy.wordpress.com/2008/08/07/networksetup-command/
- http://www.infoworld.com/article/2614879/mac-os-x/top-20-os-x-command-line-secrets-for-power-users.html?page=3
- https://jamfnation.jamfsoftware.com/discussion.html?id=11189
- http://hints.macworld.com/article.php?story=2004062902195410
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
[user] | |
name = Max Scheffler | |
email = [email protected] | |
[alias] | |
co = checkout | |
ci = commit | |
cia = !git add -A && git commit | |
ciad = !git add -A && git commit -m "." | |
st = status | |
br = branch |
#Some links http://effectif.com/mac-os-x/installing-specific-version-of-homebrew-formula http://stackoverflow.com/questions/3987683/homebrew-install-specific-version-of-formula/4158763#4158763 https://github.com/Homebrew/homebrew-versions
#How to install particular version of a formula
- finding the commit of the formula change for the version your looking for:
cd $(brew --repository)
git log -- Library/Formula/<formula_name>.rb
orgit log -S '<version>' -- Library/Formula/<formula_name>.rb
- unlink previous installed version
ansible all -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -u vagrant --private-key .vagrant/machines/default/virtualbox/private_key -m ping
NewerOlder