• Git Pathspec Exclude

    git grep NodeName ':!/vendor/**'

  • 你当像鸟飞往你的山

    教育的意义多少都知道, 看完书后, 还应该想一想, 怎么样让教育更普及,有时候它不是自然而然的

  • Drive Life

    人生就像开车, 什么时候到达目标, 不取决于你现在开多快, 而是前面的堵车缓解了多少了, 你并不能控制

  • happiness

    快乐才是目的, 其他都不是

  • Go To Definition

    https://vim.fandom.com/wiki/Go_to_definition_using_g

  • Easymotion Display Vscode

    https://github.com/VSCodeVim/Vim/issues/2938 I was having the same problem, but I found a workaround. Mine had to do with my line-height setting. “editor.lineHeight”: 30,. Updating the “vim.easymotionMarkerHeight”: 30, to match made it...

  • Find Linux

    find . \( \( \! -path "./vendor/*" \) -and \( -name "*.go" \) \)

  • Group List Python

    list(zip(*[iter(sequence)] * chunk_size))

  • Tip Json Golang

    Golang 中使用 JSON 的小技巧 http://jsoniter.com/go-tips.cn.html

  • Timer In Hammerspoon

    https://github.com/Hammerspoon/hammerspoon/issues/1942 timer 可能被 GC, 所以使用全局变量