Category Archives: Uncategorized

Use git subtree to modularization

Here is my situation, I’ve been developing several projects at the same time. There are some libraries are shared with these projects. After googling I found some really good articles:

How We Modularized Medium’s iOS codebase
https://medium.com/medium-eng/how-we-modularized-mediums-ios-codebase-8f8f26965c76

git subtrees: a tutorial
https://medium.com/@v/git-subtrees-a-tutorial-6ff568381844

Git Subtree Tracking Made Easy
http://endot.org/2012/02/12/git-subtree-tracking-made-easy/

Continue reading

WPKG redirect virus

Recently a lot websites keep automatically redirecting to “http://wpkg.org/”. It turns out caused by GFW. For more info you check the following page.

http://www.reddit.com/r/China/comments/33wpk3/anyone_else_almost_all_websites_in_both_chrome

Use Adblock plus block the links:

http://wpkg.org/my.js
http://www.ptraveler.com/pt.js

And edit hosts file to map these two sites to 127.0.0.1

 

ubuntu locale issue?

1. Get locale-specific information.

2. compile a list of locale definition files

3. reconfigure an already installed package