上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 41 下一页
摘要: 比如在databases.yml里配置了一个cms_production,# -*- encoding : utf-8 -*-class CmsAaat < ActiveRecord::Baseestablish_connection "cms_#{Rails.env}".to_sym 阅读全文
posted @ 2014-09-23 17:39 冰凌花花~ 阅读(100) 评论(0) 推荐(0) 编辑
摘要: virtualenv 安装文档https://virtualenv.pypa.io/en/latest/virtualenv.html#installation(http://is.gd/RM0pSJ)Django Hello World步骤virtualenv helloworldsourcehe... 阅读全文
posted @ 2014-09-17 17:44 冰凌花花~ 阅读(166) 评论(0) 推荐(0) 编辑
摘要: redis安装 阅读全文
posted @ 2014-09-16 11:20 冰凌花花~ 阅读(133) 评论(0) 推荐(0) 编辑
摘要: http://libmemcached.org/libMemcached.html报错:Exception Value:unknown behavior names: remove_failedException Location:/usr/local/lib/python2.7/site-pack... 阅读全文
posted @ 2014-09-12 17:07 冰凌花花~ 阅读(335) 评论(0) 推荐(0) 编辑
摘要: http://linux.vbird.org/linux_server/0250simple_firewall.php#netfilteriptables 是利用封包过滤机制, 分析封包的表头资料,根据表头资料定义的规则来决定是否可以进入主机或者被丢弃.刚才在服务器上练习的时候把自己给屏蔽了,提醒大... 阅读全文
posted @ 2014-09-04 16:04 冰凌花花~ 阅读(193) 评论(0) 推荐(0) 编辑
摘要: https://rubygems.org/今天看到了如下的提示:Warning: You're using Rubygems 1.8.23.2 with Spring. Upgrate to at least Rubygems 2.1.0 and run Rails 4.1.4$gem update... 阅读全文
posted @ 2014-09-02 15:08 冰凌花花~ 阅读(209) 评论(0) 推荐(0) 编辑
摘要: http://www.ruby-doc.org/stdlib-1.9.3/libdoc/securerandom/rdoc/SecureRandom.html(1)base64(n=nil)::base64generates a random base64 string.The argumentns... 阅读全文
posted @ 2014-09-01 10:49 冰凌花花~ 阅读(1005) 评论(0) 推荐(0) 编辑
摘要: http://ruby-doc.org/core-2.1.2/File.html#method-c-dirname(1)basename(file_name [, suffix] ) → base_nameReturns the last component of the filename give... 阅读全文
posted @ 2014-08-28 17:24 冰凌花花~ 阅读(234) 评论(0) 推荐(0) 编辑
摘要: vim /var/log/secure 阅读全文
posted @ 2014-08-28 16:34 冰凌花花~ 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 找到文件的所有修改者git blame [file_name] 阅读全文
posted @ 2014-08-27 16:41 冰凌花花~ 阅读(96) 评论(0) 推荐(0) 编辑
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 41 下一页