• Android Layout Design and MultiThread

    Introduction Recently I am studying Android again, so many amazing changes since 2 years ago, it’s worth stepping forward. This post will introduce how to define your own style, how to design layout and how to use multiThread to update Activity components. Define your own style We can define our...

  • Set Git local/global config using CL/File

    Introduction There are two ways to set git config, commandline and directy write in git config file. The principle of two ways are similiar. Here introduce how to do them. Set Git configuration using command line Sometimes we use git config to set configuration, like # map st as status...

  • Build Powerline on OS Sierra

    Introduction The new python 3.5 environment and OS Sierra seems have some tricks when configure the powerline configuration. Here are my solutions to some tricky problems. (Solve powerline-config not found problem, etc.) The official doc seems a bit complex. Here is a short guide I find useful when build the...

  • Keep Fighting

    It has been four months since I came to Boston. Yesterday just finished the finals for this semester. Just made Tofu soup for lunch with sauce bought from H-Mart. I used to believe Kaju Tofu Soup (One of the best Korea Tofu Soup in Boston) is the best Korea Tofu...

  • TfIdf-Vectorize long text in Python with Sklearn

    Introduction It is a common topic in Data Science and Machine Learning to transfer human language into machine language. A popular solution is using vectorizing techiniques (Convert into 0-1 array). Recently I am learning Data Science and Machine Learning, here are my experience of TfidfVectorizer. In Python, there are two...

  • Parse huge XML file in Python

    These days I am learning Data Science, since there are a lot of effective ways to parse huge file in Python, today I am going to introduce a way that I recently learned. Here is the official document for iterparser, while it doesn’t give clear examples, I will make up...

  • Dreamless Sleep

    I used to have sleep troubles. Neither insomnia or so many dreams in the night and wake up for hundreds of time. Here is what I have recently read for dreamless sleep. The guy also suffers the same problem like me. And he said a dreamless sleep is the holy...

  • Build local jekyll environment

    Why we need to build jekyll locally I used to built my site remotely, while I find it makes too many commits and it’s a waste of time and resources to do so. So I decide to build a local Jekyll environment so that I can test it locally~! How...