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
* setup a git repository | |
============================= | |
> reset to "original head" - master before the merge | |
$ git reset --hard ORIG_HEAD | |
> rebase (go to new branch then merges "base" branch to the new branch) | |
$ git checkout new-branch | |
$ git rebase base-branch | |
# now new-branch is merged with base-branches and is a continuum | |
> checkout and create branch at the same time |
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
#!/bin/sh | |
cd /System/Library/Frameworks/JavaVM.framework/Versions | |
CURJDK="`readlink CurrentJDK`" | |
echo Current JDK version: $CURJDK | |
if [ "$1" == "" ]; then | |
echo Installed versions: | |
ls |
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://money.cnn.com/2011/10/28/pf/college_tuition/index.htm?iid=SF_PF_River |