2014年7月30日
摘要:
设置一张背景图or背景图片轮换https://github.com/srobbin/jquery-backstretch
阅读全文
posted @ 2014-07-30 15:49
qinyan20
阅读(472)
推荐(0)
2014年7月25日
摘要:
linux目录或文件权限 字符 解析drwxr-xr-x通过 ls -l 可以查看 目录 或 文件 的权限时间 大小 等信息,权限 占据10 个字符,eg: "drwxrwxrwx"格式: "目录标记" + “所有者操作权限” + “所有者所在组成员操作权限” + “其他人操作权限”1.“目录标记”...
阅读全文
posted @ 2014-07-25 18:10
qinyan20
阅读(158)
推荐(0)
摘要:
# starts the app server (non-daemonized)$ padrino start # starts the app server (daemonized) with given port, environment and adapter$ padrino start -...
阅读全文
posted @ 2014-07-25 11:06
qinyan20
阅读(207)
推荐(0)
2014年7月24日
摘要:
安装为了开发Padrino应用,我们得先有点儿准备吧。显然,我们得先把Ruby和RubyGems装了;然后,再来安装Padrino框架:$ gem install padrino点击这里了解关于安装的详细信息。安装流程一旦完成,所有必需的依赖项也都自动准备就绪,我们现在就可以开始开发自己的博客了。生...
阅读全文
posted @ 2014-07-24 18:17
qinyan20
阅读(192)
推荐(0)
2014年7月23日
摘要:
http://www.padrinorb.com/guides/development-commandshttp://www.cnblogs.com/Autumoon/p/IntroduceToPadrino.htmlhttps://devcenter.heroku.com/articles/get...
阅读全文
posted @ 2014-07-23 10:58
qinyan20
阅读(156)
推荐(0)
2014年7月21日
摘要:
mongoid-elasticsearch https://github.com/rs-pro/mongoid-elasticsearchgem 'mongoid-elasticsearch'$ bundleclass Post include Mongoid::Document include M...
阅读全文
posted @ 2014-07-21 16:13
qinyan20
阅读(313)
推荐(0)
2014年7月18日
摘要:
questionI'm playing with a standalone ruby application and can't configure Mongoid 3.0.13 to work.I've run across a couple example apps that have conf...
阅读全文
posted @ 2014-07-18 18:04
qinyan20
阅读(370)
推荐(0)
2014年7月17日
摘要:
In addition to those validations, information is provided with each macro about its specific options.ValidationMacroOptionsValidate acceptance of term...
阅读全文
posted @ 2014-07-17 13:46
qinyan20
阅读(365)
推荐(0)
2014年7月16日
摘要:
sunspot for rails https://github.com/sunspot/sunspotmongoid-sphinx https://github.com/butaji/mongoid-sphinxSiri 第三方服务器 Siri Proxy近来黑客们都想把Siri变为公有,大家都...
阅读全文
posted @ 2014-07-16 16:24
qinyan20
阅读(296)
推荐(0)
2014年7月14日
摘要:
require 'multi_json'MultiJson.load('{"abc":"def"}') #=> {"abc" => "def"}MultiJson.load('{"abc":"def"}', :symbolize_keys => true) #=> {:abc => "def"}Mu...
阅读全文
posted @ 2014-07-14 16:22
qinyan20
阅读(409)
推荐(0)