我用的Toast Wallet。
刚刚恢复了钱包,看了一眼,3627 USD,4 年前刚知道 Ripple 货币总量为 1000 亿时,我想,这几个发明人想钱想疯了,自己印的钱送了很多人后,难道就会变成钱了?,现在我反思了一下,觉得自己那时候还是太年轻了。。
你网站怎么部署的?我觉得如果按照官方文档安装,根本就不可能碰到这个问题啊。。
Xkey 37就不错。
附议,Rails 最大优势就是全栈,一上 react/vue.js,前后端分离了,后端我大 Rails 还又啥优势?!
看了你的 github,好多 Python 项目,再加上本科电气工程的话,数学基础应该还是有一点的,要不尝试一下转转 AI?人工智能机会多,无责任瞎评。。。
PS:27 了,赶快找个妹子结婚生孩子。。。
Faria 赞助了RubyConf China 2017会议,9 月中旬前入职还能一起参加会议哦。。
Class 的 name 吧,跟一下比较好。
可能 RubyMine 速度慢,高手觉得赶不上他的思维速度吧。。但我觉得 RubyMine 那么贵,至少说明用的人是有钱人啊。。
今天的 slide: Shadowsocks Go
wechat material_delete实现是有问题,在 0.8.10 版本里面已经修正了。
不追剧不看小说不打游戏
这样真的很省时间。
没继续搞,中国节假日实在太变态了,比如今天,周六换周一,这个 holidays 本身就不支持(也许支持,记不清了,不过绝对无法定义只出现一次的反法西斯胜利放假日),也许还是楼主这样老老实实定义是唯一可行办法。。。
嗯
我作证,后端还有一个名额,大家快来!
兹瓷就快去
终于有公司用 Phoenix 了,不容易啊。@tony612
关键还是 Ruby 现在不火了,今天参加了一下 JavaScript 的线下活动,人家 JS 线下活动后的招聘环节是:10 多个想招聘前端的排队,一人只能说 2 分钟。今年 JS 的大会直接在“上海中心”(听这个名字就高大上)举办,不服不行啊。。
歪个楼,@huobazi 的七牛文件直穿好高级!有个 PR 能收一下么?
有人抢了我的 sass-rails Rails 5.1 兼容 PR
可以看看这篇 blog,我之前做过一个类似的,似乎不需要复写 rails.confirm 就可以了。
$.rails.allowAction = function(element){
var message = element.data("confirm");
if (!message) { return true; }
$(".confirm-message").html(message)
$("#confirm_message").show();
setTimeout(function(){
$("#confirm_message").children(".confirm-div").addClass("mask-show");
}, 10);
$("#confirm_ok").click(function(){
element.data("confirm", null);
element.trigger("click.rails");
element.data("confirm", message);
$("#confirm_message").hide();
});
return false;
}
document.addEventListener("turbolinks:load", function() {
$("#confirm_close").click(function(){
$("#confirm_message").hide();
});
});
我也是 phantomjs 2.1.1,我会报这个错,虽然可以加page.driver.browser.js_errors = false,单感觉这办法不好。
Error:
NewProductTest#test_create_a_new_product:
Capybara::Poltergeist::JavascriptError: One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).
TypeError: undefined is not an object (evaluating 'handler.call')
TypeError: undefined is not an object (evaluating 'handler.call')
at http://127.0.0.1:52934/assets/application-98eeb46022232c75bc6d2971073ca25d12383cefe13cc520805de10f77a13424.js:145
at :0 in sendEvent
at phantomjs://code/web_page.js:59
at phantomjs://code/web_page.js:558 in mouseEvent
at phantomjs://code/node.js:67 in mouseEvent
at phantomjs://code/browser.js:398 in mouse_event
at phantomjs://code/browser.js:418 in click
at phantomjs://code/browser.js:89 in runCommand
at phantomjs://code/cmd.js:35 in run
at phantomjs://code/main.js:17 in runCommand
at phantomjs://code/connection.js:16 in commandReceived
at phantomjs://code/connection.js:1
TypeError: undefined is not an object (evaluating 'handler.call')
TypeError: undefined is not an object (evaluating 'handler.call')
at http://127.0.0.1:52934/assets/application-98eeb46022232c75bc6d2971073ca25d12383cefe13cc520805de10f77a13424.js:145
at :0 in sendEvent
at phantomjs://code/web_page.js:59
at phantomjs://code/web_page.js:558 in mouseEvent
at phantomjs://code/node.js:67 in mouseEvent
at phantomjs://code/browser.js:398 in mouse_event
at phantomjs://code/browser.js:418 in click
at phantomjs://code/browser.js:89 in runCommand
at phantomjs://code/cmd.js:35 in run
at phantomjs://code/main.js:17 in runCommand
at phantomjs://code/connection.js:16 in commandReceived
at phantomjs://code/connection.js:1
test/integration/new_product_test.rb:12:in `block in <class:NewProductTest>'
这 gem 怎么用?
capistrano3-puma 从 2 到 3 是个大版本升级,当然需要看一下Usage,如果看一下的话,其实这个问题根本就不应该说是诡异异常。
把 gem 文件 clone 到本地,然后在用到的 Gemfile 中直接引用即可。
# $ bundle config --local local.wechat /Users/guochunzhong/git/oss/wechat
gem 'wechat', git: 'https://github.com/Eric-Guo/wechat', branch: :master
如果要 autoloading 这个 gem,在 development.rb 中启用:
config.autoload_paths += Dir["#{config.root}/../oss/wechat/lib/**/"]
这个方法比直接引用 path 好的地方在于,不影响 deploy。
求问怎么样才能认识半年吃一次饭,一次给 200 万的朋友。
app 目录下任何修改都不用,其他目录都需要,config 目录,除了 routes.rb 以外的任何文件。(假设用默认设置)
同意楼上,并且删掉.rvm 后别用 rvm 了,通过brew install ruby装吧,你只要一个版本的话,还是用 brew 方便。