-
Recent Posts
Recent Comments
ali on Oprofile 0.9.6 ——-… Ola on Oprofile 0.9.6 ——-… tran dung on Oprofile 0.9.6 ——-… Jisu on Oprofile 0.9.6 ——-… Sachin Agarwalla on Oprofile 0.9.6 ——-… Archives
- December 2015
- August 2015
- June 2015
- May 2015
- January 2015
- October 2014
- September 2014
- June 2014
- May 2014
- March 2014
- February 2014
- January 2014
- November 2013
- October 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- January 2013
- November 2012
- September 2012
- August 2012
- July 2012
- June 2012
- April 2012
- March 2012
- February 2012
- January 2012
- November 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
Categories
Meta
Monthly Archives: August 2012
PSFTP
PSFTP: open serverIP get/put -r “local path” newName # if it is a folder, using -r
Posted in Uncategorized
Leave a comment
Ruby on Rails (3)
1. Migration After add in the /db/migrate/002_XX_.rb def self.up create_table :votes do |t| t.column :story_id, :integer t.column :created_at, :datetime end end run the command: $rake db:migrate class Story < ActiveRecord::Base validates_presence_of :name, :link has_many :votes end class Vote < ActiveRecord::Base belongs_to … Continue reading
Posted in Website design and implement
Leave a comment
Ruby on Rails (2)
1. Helper: A helper is a chunk of code that can be reused throughout an application, and is stored in a helper file. A new helper file called controllername_helper.rb. Helpers associated with a particular controller are available only to the views of that … Continue reading
Posted in Website design and implement
Leave a comment
Android 相关
1. JSON : 数据交换格式 http://www.json.org/json-zh.html http://blog.sina.com.cn/s/blog_52fea7b60100boou.html 2. Ruby http://www.sitepoint.com/learn-ruby-on-rails-3/ 3. Ruby on Rails http://guides.rubyonrails.org/association_basics.html 中文版:http://2goo.info/blog/panjj/Rails/2010/09/15/118 数据库例子: http://xuantan.iteye.com/blog/780113 http://xyz920z.blog.163.com/blog/static/60703320082903917775/ 4. REST http://www.infoq.com/articles/rest-introduction http://www.cnblogs.com/viaivi/archive/2010/02/28/1675194.html 5. Android Plot http://androidplot.com/wiki/Quickstart
Posted in Android
Leave a comment