Open Core for Mac in Simple Words

I have had a chance to use open core to install Mac OS into a PC recently.

There are a bunch of open core related tutorials outside, so I am not going into much details in this article.

However, the problem with many open core tutorials, as far as I saw when I put my head down last time, is that they get into too much details, and people could easily get lost the big picture when they get the hands dirty.

So, I just mark down some basic concepts and workflows here:

Read more Open Core for Mac in Simple Words

A Simple Way to Use NPM Library in Browser

Occasionally, we need to use a JS library in our browser side, yet it's only available from the NPM repository.

As usual, the Google result of any NPM related questions will bring you more yes-and-no answers, and leave you in further confusions and headaches.

Well, life better be simpler 🙂

Read more A Simple Way to Use NPM Library in Browser

A Small Git Problem
(And why I am still uncomfortable with Git)

Recently, I have used Trac to manage a git project, and I used a git post-receive hook to sync the commit back to Trac.

The hook starts with something like this:

It works fine for most cases, however, when I try to push a new branch to remote, the $oldrev becomes 0, and caused problem.

fatal: ambiguous argument '0..70e0844': unknown revision or path not in the working tree.

Read more A Small Git Problem
(And why I am still uncomfortable with Git)

Git vs SVN

There are so many comparisons of Git vs SVN outside, but as far as I can tell, 99% of them are biased. (And so is this one, probably.)

And there are many Git tutorials outside, and none is clear enough so others could get on hand easily. In fact, it remains to be one of the major drawbacks of Git.

I have used SVN for many years, and used Git for quite a while now. I admit that I am not yet an expert of Git, but I have tried and suffered a number of traps of Git, and I learned a lot from those painful experiences. Some of the traps could get me stuck for one day.

Read more Git vs SVN