linux guru
Friday, May 13, 2011
ruby date format yyyymmdd
[root@nt cronjobs]# irb
irb(main):001:0> today = Time.now.strftime("%Y%m%d").to_i
=> 20110513
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Ruby on Rails Paperclip tutorial - rails 4.0.3, Ruby 2.1, Paperclip 4.1.1
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
gunzip: aaa.zip: unknown suffix -- ignored
I used 7z to zip this file under Windows, try to unzip it under linux [ang@walker temp]$ gunzip 2011.sdf.zip gunzip: 2011.sdf.zip: unkno...
how to enable xmlwriter in php
By install php-xml, you may enable it. [root@localhost html]# yum install php-xml check: [root@localhost html]# php -m [PHP Modules] bz2 cal...
No comments:
Post a Comment