摘要: Did you make a typo in your last commit message? No problem, we can use the git --amend command to change it very easily. Note: This only holds if you 阅读全文
posted @ 2019-03-25 21:34 Zhentiw 阅读(247) 评论(0) 推荐(0)
摘要: Often you have your feature branch you’ve been working on and once it’s ready, you just want it to merge into master as a single commit. You don’t car 阅读全文
posted @ 2019-03-25 21:30 Zhentiw 阅读(230) 评论(0) 推荐(0)
摘要: Gosh no, I just added all of these commits to master. They were thought to be peer reviewed first in a dedicated branch! No worries, in this lesson we 阅读全文
posted @ 2019-03-25 20:59 Zhentiw 阅读(215) 评论(0) 推荐(0)
摘要: Recently, I am learning Working with ADT. Got some extra thought about State Monad. Basiclly how to thinking in State. First, we need to know the type 阅读全文
posted @ 2019-03-25 19:06 Zhentiw 阅读(266) 评论(0) 推荐(0)
摘要: Given a sorted array, for example: Then we rotated it 1 time, it becomes: 2 times: So now given you an array which is rotated N times based on an sort 阅读全文
posted @ 2019-03-25 05:12 Zhentiw 阅读(208) 评论(0) 推荐(0)