git commands
git log
git status -s
alias: https://gist.github.com/ralfebert/515937
git gui
git log —pretty=oneline
git log —pretty=raw
git log
git status -s
alias: https://gist.github.com/ralfebert/515937
git gui
git log —pretty=oneline
git log —pretty=raw
Best way to install ruby —with-readline and prepare for ROR
link here:
http://ruby-china.org/wiki/install_ruby_guide
curl -L https://get.rvm.io | bash -s stable
$ rvm pkg install readline # 安装 Ruby 1.9.2 $ rvm install 1.9.2 --with-readline-dir=$rvm_path/usr
1 . Uninstall default ruby : aptitude purge ruby* ; remove /usr/local/bin/ruby
2. Remove ~/.rvm and install rvm ; edit ~/.bashrc
adding :
[[ -s “$HOME/.rvm/scripts/rvm” ]] && source “$HOME/.rvm/scripts/rvm”
# Load RVM into a shell session *as a function*
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
3. install newest ruby: rvm list known / never user sudo apt-get install
4. gem install rails
5. create a gemfile: if you have problem with sqlite 1.3.5 than it must be something wrong with libsqlite-dev, plz install it. or goto stackoverflow.com
6. after creating the rails project, do “bundle update” to kill errors.
bundle install might not remove the error. but upgrading can.
7. rails s #to start server
Real time trading in R
https://www.rmetrics.org/files/Meielisalp2009/Presentations/Ryan.pdf
Software: