一次rm误删文件后git reset --hard又覆盖未提交代码的血泪教训:紧急时刻先冷静思考再行动,日常使用trash-cli替代原生rm命令避免灾难性后果。
Articles by grapeot
Inspiration Fragments
博士阶段的感悟:很多事需要耐心积累;方向对了事半功倍;向他人学习要关注冲突点;喜欢从零到一创造东西;做东西要时刻问自己最重要的是什么。
Self-Updating Node.js Web App
Using GitHub WebHook to create a self-updating Node.js web app that automatically pulls code and restarts when you push to the repository.
Reading Notes: the Power of Habit
Key takeaways from "The Power of Habit": identify key procedures, build automatic routines with cue-routine-reward cycles, and cultivate willpower for lasting change.
Inspiration Fragments
科研心得:麻利与急躁的区别在于预判问题,做事前想清楚为什么,多和导师合作者讨论,不要闷头搞,写paper和写代码都要多读别人的工作。