摘要:
window.innerHeight 是浏览器窗口可用的高度。 window.outerHeight 是浏览器窗口最大的高度。 打开chrome-inspector,上下移动inspector,看到screen右上角有坐标数字的变化。 window.scrollY 是当前顶部距离页面初始位置0的距离 阅读全文
摘要:
之前的博客:https://www.cnblogs.com/chentianwei/p/9167489.html Guide: https://guides.rubyonrails.org/security.html#custom-credentials 视频:https://gorails.com 阅读全文
摘要:
https://gorails.com/episodes/activerecord-explain?autoplay=1 比如没有加index的查询和加了index的查询,调用数据库的速度就差5倍。 create_table "tweets" do |t| t.integer "user_id" t 阅读全文