Git - Checkout a specific file or directory from another branch

Sometimes when working with git, you want to merge some features in another branch into the branch you are working on. But a merge will add all the changes. How do you cherry-pick specific files you want?

Read more...
Unity - Invoke or StartCoroutine not running when timeScale = 0

MonoBehaviour.Invoke not running in Unity

Read more...
Howard Marks - Risk means more things can happen than will happen

This note comes from the transcript of a Howard Marks interview, talked about investing and market cycle. By far, the interview contains some of the most mind-opening ideas about clear thinking I have ever listened to.

Read more...
Expression parser - evaluate mathematical expressions with Unity

Making games require a lot of balancing and math calculations. Sometime you want to save a function into remote config and change it on the fly for flexible and easier testing.

Read more...
NSAllowsArbitraryLoads not work? Try this!

NSURLConnection finished with error - code -1022

Read more...
How to install XCode 10.2, 10.2.1 on macOS High Sierra or Mac Mojave old version

Xcode 10.2.1 requires a Mac running macOS 10.14.3 or later.

Read more...
How to download and display SVG image in Swift iOS app by Kingfisher

Working with SVG by Kingfisher image download and caching library

Read more...
libc++abi.dylib: terminating with uncaught exception of type NSException and OS_ACTIVITY_MODE

How to fix libc++abi.dylib: terminating with uncaught exception of type NSException?

Read more...