Monthly January 2014

Recomemend Readings

  1. Free Bootstrap Themes
  2. Multiple file upload with jQuery, Rails 4 and Paperclip
  3. C++必读书籍推荐
  4. A Note About Git Commit Messages - Tim Pope
  5. CSS Content
  6. 第41期设计圈最新干货大集合
  7. What can we learn from Java HelloWorld?
  8. 用户隐私早沦陷了
  9. 韩国造星骇人真相
  10. IO - 同步,异步,阻塞,非阻塞 (亡羊补牢篇)
  11. 别给 12306 洗地了
  12. 中国互联网的地下世界:五毛党网络赌博都是现实
  13. 鬼脚七:淘宝搜索入门级介绍
  14. 《淘宝技术这十年》读后感
  15. 实战演示黑客如何利用SQL注入漏洞攻破一个WordPress网站
  16. 这些年陪伴我的设备——咖啡篇 HARIO 手摇磨豆机 MSCS-2TB 、虹吸壶、奶泡器 CQT-45、illy Y-1 胶囊咖啡机
  17. 马克杯装腔指南

Ruby skills

  1. How to do operator overriding in Ruby?
  2. Forwardable module in standard Ruby library
  3. Combine proc with threequals operator, using in case..when clause
  4. module_function in Ruby
  5. reverse_merge

Videos

1. Ben Orenstein - Write code faster: expert-level vim (Railsberry 2012)

  • Simplify saving file
  • Using leader
  • Grow your vimrc
  • Use hjkl
  • Navigate: command-t, vim-rails

2. More Git and GitHub Secrets with Zach Holman

Here his blog

  • git merge master -s ours
  • git merge master -s recursive -X patience
  • Second Order Diff
  • Emoji diff, git --no-pager diff
  • git diff --check
  • git stripspace
  • git merge --abort | --no-commit
  • Proper message
  • y key: look for deleted file
  • /allenlsy.keys
  • Fetching pull request: git fetch origin pull/12/head:pr, fetches Pull Request #12 into a branch named "pr"
  • Top emoji on Github: :clap:, :+1:, :-1:, :sparkles:, :shipit:
  • Page as a todo list

3. Confident Ruby

  • Duck typing: `object.respond_to? :quack
  • 3 Strategies to deal with uncertain input
    • Coerce
    • Reject
    • Ignore
      • Guard clause: reject statement at beginning of a method
  • Hash#fetch: collection.fetch(key) { fallback_option }
  • Confident Style: Iteration
  • Bouncer method: for result checking, raise or do nothing
    • Inline error handleing
    • result << begin; ... ; rescue Error::EPIPE; ...; end
  • Why confident code?
    • Fewer paths == fewer bugs
    • Easier to debug
    • Self-documenting

4. Computer Programming | A short interesting film

5. Nathan Marz on Storm

6. Vert.x: This ain't your Dad's Node.


Share this article