Git bisect

     

There must be sometime in your life when suddenly you find that your git project is broken by some commit. But how can you find that commit if it is hidden in the history? Fortunately, git has this awesome functionality called bisect. As explained in the name of the tool, git bisect is using binary search algorithm which helps you find the single evil commit that breaks your project. Now, I’m going to show you how to use it.


Automate Jobs on a Mac

     

While completing the data science project, I found I need to automate some job to help me crawl data from some API which should be invocated in a period style. So I investigated automation on a Mac. The tool we need for this is the launchctl command. And the files we will be playing with is the plist files under ~/Library/LaunchAgents, which belongs to only the user but not the system (so it’s run by the user).


A Pin Point Tool

          

I always wanted a tool that I can use to create points coordinates by simply clicking on a canvas. Today I made it in a web form. The page should be available here It’s is ugly but simple to use. Hope this is helpful.


Hello Hugo

     

This is really a good blog tool. # I can even show my code in this def foo(p1): return p1 * 3 I love to write markdown pages. They are elegent. They are easy. And They are powful. Ok, what I wrote above is just a testing. Let me note down how to use this tool first, in case I foget… What is Hugo? In my word, hugo is a tool used to create a static blog easily and fast.