转 node.js 前端啊,钱多!
我想将“xxx/xxx/xxx”中的“/”替换成“.”
“xxx/xxx/xxx”.tr('/', '.')
Ruby 这边没有 QtWebView 的绑定,看起来还是有 QtWebView 的,没用过,帮不上忙。
rails 自带的 token 恢复验证
你指的是CSRF? 当初怎么去掉,反着操作不就可以加回来了么?
#34 楼 @killyfreedom 谢谢,我第一次知道,raibows。
时间过的好快
以 text_field 为例,读 text_field_tag 的 API 文档:
所以 data-*这样的 HTML 属性其实不属于 Rails 知识范围,Rails 只是帮你原样输出了。
RubyMotion、rhomobile、DCloud 的问题是,这些背后的公司都没有主营业务,也就是说,指着这些框架技术卖钱,所以,我更看好 Turbolink 或者 React Native,至少背后的公司不靠这个挣钱。
#35 楼 @shin 真要买也要等到新款出啊,马上出了啊!
情人节这样秀恩爱真的好么?。。。
#33 楼 @jjfujj 考虑转Alpine Linux不?
还有 DHH 大神的iOS/Android Adapter 方案,很期待!
现在《如何使用 vagrant 搭建开发环境》视频地址是了:http://haoduoshipin.com/v/105
需要安装libssl-dev,才能找到 OpenSSL 的头文件。
我中午吃饭狂看美女,放松眼睛,锻炼脖子。。
@huacnlee @lgn21st 其实 ActionCable 的文档有误,所有支持 socket hijacking API 的 server 都是可以的,包括 Unicorn 还有 Passenger。
#1 楼 @ywencn 所以还是React Native对我们 Web 程序员简单一点。。
我是通过 nginx 里面直接配置的。。
server {
listen 80;
server_name 10.71.5.88;
root /var/rails_apps/home;
location ~ ^/apc(/.*|$) {
alias /var/rails_apps/apc/public$1; # <-- be sure to point to 'public'!
passenger_base_uri /apc;
passenger_app_root /var/rails_apps/apc;
passenger_document_root /var/rails_apps/apc/public;
rails_env production; #development/production
passenger_enabled on;
}
location ~ ^/forms(/.*|$) {
alias /var/rails_apps/pl-form/public$1; # <-- be sure to point to 'public'!
passenger_base_uri /forms;
passenger_app_root /var/rails_apps/pl-form;
passenger_document_root /var/rails_apps/pl-form/public;
rails_env production; #development/production
passenger_enabled on;
}
}
PR to enable using PG as storage 和PR to remove EventMachine合并后,Windows 下终于也可以跑这个 ActionCable Demo 了,有兴趣可以看看。
补一张幻灯片。
我预感,今天要爆棚,所以我请假提前占位了。