Monthly Archives: March 2011

Mercurial: How to ignore everything in a folder?

I have been looking for this for a while. It’s pretty simple. Let’s say you have project A, and want to ignore 2 folders: bin and output. 1. In your project folder, edit the file ‘.hgignore’, or create it if … Continue reading

Posted in Engineering | Leave a comment

Implement Unsigned Right Shift (>>>) if the Operator is Unsupported

If you are Java/Javascript/AS3 developer, you know what the >>> operator does. It is called unsigned right shift, or logical right shift. Check the definition in wikipedia. However, C# and C++ don’t have such operator for signed integers, though it … Continue reading

Posted in Engineering | Leave a comment