Index.前言‎ > ‎

My MacOS X



輸入法





OpenVanilla, 為 Mac 提供各種常用輸入法的套件



急救



開機按住Option

USB碟

http://osxdaily.com/2011/07/08/make-a-bootable-mac-os-x-10-7-lion-installer-from-a-usb-flash-drive/



Lion 10.8



/etc/paths or /etc/paths.d/*
/usr/local/bin
/usr/bin
/bin
/usr/local/sbin
/usr/sbin
/sbin



~/.bash_profile
# by ChaoYi
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad

PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\W\$ \[\033[00m\]'

alias ls='ls -F'

# export PATH=$PATH:~/bin => change to use /etc/paths
# export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"

if [ -f `brew --prefix`/etc/bash_completion ]; then
  . `brew --prefix`/etc/bash_completion
fi


export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad

PS1='\[\033[01;32m\]\u@\h \[\033[01;34m\]\W\$ \[\033[00m\]'

alias ls='ls -F'

export PATH=$PATH:~/bin

JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home
export JAVA_HOME

# export AKKA_HOME=/Applications/typesafe-stack
# export PATH=$PATH:$AKKA_HOME/bin

# ANT_HOME=~/Downloads/apache-ant-1.8.2
# export ANT_HOME
# export PATH=$PATH:$ANT_HOME/bin

SCALA_HOME=/Users/kuochaoyi/Downloads/scala-2.9
export SCALA_HOME
export PATH=$PATH:$SCALA_HOME/bin

export PATH=$PATH:~/Downloads/play-2.0
# export PATH=$PATH:~/Downloads/play-1.2.3



http://www.rowanwatson.com/?p=2713


~/.hgrc

[ui]
username = ChaoYi <Kuo.ChaoYi@gmail.com>
verbose = True


/etc/bashrc

alias ls='ls -F'

JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
export JAVA_HOME

SCALA_HOME=/KuoSDK/scala-2.8
export SCALA_HOME
PATH=$PATH:$SCALA_HOME/bin
export PATH

PLAY_HOME=/KuoSDK/play-1.1
PATH=$PATH:$PLAY_HOME
export PLAY_HOME
export PATH






ChaoYi$ cat ~/.profile

# export PATH="/Library/PostgreSQL/8.4/bin:$PATH"

ANT_HOME=/KuoJavaLibrary/ant
export ANT_HOME
PATH=$PATH:$ANT_HOME/bin
export PATH


JBOSS_HOME=/KuoJavaLibrary/jboss-as
export JBOSS_HOME
PATH=$PATH:$JBOSS_HOME/bin
export PATH

#GWT_HOME=/KuoJavaLibrary/gwt
#export GWT_HOME
#PATH=$PATH:$GWT_HOME


SEAM_HOME=/KuoJavaLibrary/jboss-seam
export SEAM_HOME
PATH=$PATH:$SEAM_HOME
export PATH

# APPENGINE_HOME=/KuoJavaLibrary/appengine-java-sdk-1.2.1
# export APPENGINE_HOME


Comments