- 博客(3)
- 收藏
- 关注
原创 Scala Learning Notes
From Java to Scala 1.Use class parameters and default primary constructor. e.g.: class Rational(n: Int, d: Int){//do sth. \n def ...} 2.Use require to check class parameters (preconditions). e.g
2013-04-29 15:25:03 499
原创 Setup MySQL in user home without superuser using generic linux distribution
sudo apt-get install libaio-dev ~/mysql/scripts$> ./mysql_install_db --user=luyi --basedir=$HOME/db/mysql-5.5.30 --ldata=$HOME/db/mysql-5.5.30/data config my.cnf chmod 755 my.cnf mysqld --defa
2013-04-29 15:24:22 456
原创 Installing Moses
On Ubuntu 12.04.2 LTS 64bit 1.prepare sudo apt-get install libboost-all-dev automake csh tcl tcl-dev tk gawk gzip bzip2 p7zip subversion git libtool cd ~ mkdir moses cd moses mkdir bin
2013-04-29 15:19:35 1287
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人