上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页
  2014年6月17日
摘要: Magick::read("image.jpg") do |f| f.write("manipulated.jpg")endimage = MiniMagick::Image.open("input.jpg")image.resize "100x100"image.write "output.j... 阅读全文
posted @ 2014-06-17 13:46 qinyan20 阅读(252) 评论(0) 推荐(0) 编辑
  2014年6月16日
摘要: helloword!http://www.ituring.com.cn/article/13471 Hello {{'World'}}! 阅读全文
posted @ 2014-06-16 17:53 qinyan20 阅读(150) 评论(0) 推荐(0) 编辑
  2014年6月12日
摘要: http://hi.baidu.com/fengyanmin1990/item/abd8ef036240bf07addc70e5http://raylzhang520.iteye.com/blog/15697381.进入HBase Shell 命令:$ ${HBASE_HOME}/bin/hbase... 阅读全文
posted @ 2014-06-12 17:00 qinyan20 阅读(711) 评论(0) 推荐(0) 编辑
  2014年6月11日
摘要: Solr是一个独立的企业级搜索应用服务器,它对外提供类似于Web-service的API接口。Solr是一个高性能,采用Java5开发,基于Lucene的全文搜索服务器。同时对其进行了扩展,提供了比Lucene更为丰富的查询语言,同时实现了可配置、可扩展并对查询性能进行了优化,并且提供了一个完善的功... 阅读全文
posted @ 2014-06-11 10:15 qinyan20 阅读(800) 评论(0) 推荐(0) 编辑
  2014年6月10日
摘要: http://michael-roshen.iteye.com/blog/1731372对于linux运维,我们都是使用ssh登录到服务器,如果我们运行的任务需要很长时间或不间断运行,在我们直接关闭终端窗口或网络不稳定的情况下,任务就会中断,当然这只对于普通程序,不包括如mysqld,httpd这样... 阅读全文
posted @ 2014-06-10 17:41 qinyan20 阅读(299) 评论(0) 推荐(0) 编辑
摘要: RAILS_ENV=production bundle exec rake db:migrateRAILS_ENV=integ bundle exec rails cnohup 执行rake命令nohup bundle exec rake tianji:image_uploader --trace ... 阅读全文
posted @ 2014-06-10 11:46 qinyan20 阅读(385) 评论(0) 推荐(0) 编辑
  2014年6月6日
摘要: 时间(bootstrap-datetimepicker)http://www.bootcss.com/p/bootstrap-datetimepicker/http://tarruda.github.io/bootstrap-datetimepicker/http://www.oschina.net... 阅读全文
posted @ 2014-06-06 12:12 qinyan20 阅读(166) 评论(0) 推荐(0) 编辑
  2014年6月5日
摘要: 在 mac 下,可以利用homebrew直接安装 PostgreSQL:brewinstallpostgresql稍等片刻,PostgreSQL就安装完成。接下来就是初始数据库,在终端执行一下命令,初始配置 PostgreSQL:initdb/usr/local/var/postgres-E utf... 阅读全文
posted @ 2014-06-05 09:50 qinyan20 阅读(1241) 评论(0) 推荐(0) 编辑
  2014年6月4日
摘要: 以一个双小于号(<<)打头,后面紧跟叫“结束序列”的字符组。s = <<END This is a "multi-line" string wishing you a great #{Time.now.year + 1}END 阅读全文
posted @ 2014-06-04 12:00 qinyan20 阅读(116) 评论(0) 推荐(0) 编辑
  2014年5月29日
摘要: 1、Ruby中正则表达式的写法主要有三种在//之间,要进行转义在%r{}内,不用进行转义Regexp.new()内,不用进行转义/mm\/dd/,Regexp.new(“mm/dd”),%r{mm/dd}三者效果相同,实质都是新建了一个Regexp的类。2、匹配的两种方法=~肯定匹配, !~否定匹配... 阅读全文
posted @ 2014-05-29 18:28 qinyan20 阅读(391) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 18 下一页