赞 超级👍
+1
<h1>这个</h1>
#9 楼 @linjunhalida 我现在越来越感觉 你说的太有道理啦
无限欢喜~~~~
#6 楼 @linjunhalida 有哪些问题呢?介绍几个
我很快也会加入你们的行列。加油,兄弟
顶一下,马老大早日找到合适人选
最难受的是贷款,差丫,真心差,不稳定
https://gist.github.com/davejamesmiller/2192550
this may help
very gread,I admire your courage and ability
mac 转码 iconv -f gb2312 -t utf-8 ./public/uploads/lrc/lrc_path/279/1__.txt > public/uploads/lrc/lrc_path/279/11.txt
我怎么用 ruby 转码?请指教
对,就是文件编码问题
归根结底,僧多粥少,中国的资源少,分配极其不合理,不容许你三心二意的去‘创新’,否则吃饭就成为问题;其次人心浮躁不能对一个目标持之以恒
上面就是正确写法
require "net/http" require "open-uri" require "uri"
@agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.65 Safari/537.31' data = {"m"=>"user", "a" =>"login", "release"=>"20110501", "appid"=>"3"};
uri = URI.parse("http://localhost:8080/server/uc.php") http = Net::HTTP.new(uri.host, uri.port) request = Net::HTTP::Post.new(uri.request_uri) request.set_form_data(data) request.initialize_http_header({"USER-AGENT" => @agent})
response = http.request(request) puts response.body
在 gemfile 里面添加 gem devise-encryptable
首先安装 gem install libv8 然后安装 gem install therubyracer
这样就不会出错啦
$which passenger-install-nginx-module $/home/ryan/.rvm/gems/[email protected]/bin/passenger-install-nginx-module $rvmsudo ~/.rvm/gems/[email protected]/bin/passenger-install-nginx-module 重装之后发现命令还是不好用,用上面的解决我的问题 以下是参考链接 http://stackoverflow.com/questions/2225881/passenger-installation-with-nginx-fails http://stackoverflow.com/questions/2225881/passenger-installation-with-nginx-fails