Profile cover photo
Profile photo
xi xiao
5 followers
5 followers
About
xi's posts

Post has attachment
git commands fundamentals
What I have learned as Git basic commands git init git log git status git add  git add -u git commit -m "message for comming" git diff HEAD~1.. git diff <#hash code>..<#hash code> git clean (it is to delete files from system!) .gitignore git log origin/mast...

Post has attachment
linux diff command
a good article for diff command output interpreting. referenced from: here diff  Output Formats diff  has several mutually exclusive options for output format. The following sections describe each format, illustrating how  diff  reports the differences betw...

Post has attachment
emacs users ergonomic concern
Emacs users are heavy function/modifier key users. I have followed originally the general idea to swap left ctrl with caplock, but the pinky finger really gets sore after days. Now by article from Xah Lee (http://ergoemacs.org/emacs/emacs_pinky.html), I rea...

Post has attachment
Officially, I am entitled as an Emacs beginner :)
I have studied emacs for couple of weeks and spent numerous time tinkering it. So much fun to learn such amazing text editing tool :D. until today, I found out that people should rebind cap-lock key to ctrl to ease the left hand muscles! I have used by-defa...

Post has attachment
C# IDisposable best practice
General Information .net managed code talks to and uses external resources, that needs to implement IDisposable interface GC(Garbage Collector) tries best to clean memory when using external resources, such as SQLconnection, without IDisposable. Thus, it is...

Post has attachment
C# Generic study
Generic Constraints Generic Constraints is used when T in the class needs to have specific characteristics/methods that object type doesn't have (object type has only "toString" and "hasHashCode" methods). "where" keyword can be used to constrain the generi...

Post has attachment
Hashset (how to remove object duplicates), SortedSet (how to sort objects) ,
1) Hashset (how to remove object duplicates) HashSet type is supposed to identify duplicates and guarantee the uniqueness of stored objects, while the uniqueness/equality comparison shall be defined by the code. HashSet has one construction that accepts a I...

Post has attachment
[book read] Win Friends influence people
This is a mind blowing book for me! In order to get the most out of this book: Develop a deep, driving desire to master the principles of human relations Read each chapter twice before going on to the next one Stop frequently to ask self how you can apply e...

Post has attachment
C# in a Nutshell Chapter 15 - Streams and I/O
The .NET stream architecture centers on three concepts: backing stores, decorators, and adapters. Backing store streams These are hard-wired to a particular type of backing store, such as FileStream or NetworkStream Decorator streams These feed off another ...

Post has attachment
C# in Nutshell Chapter 13 - Diagnostics and Code Contracts
Conditional Attribute The Conditional attribute instructs the compiler to ignore any calls to a particular class or method, if the specified symbol has not been defined.  static void Main()         {             WriteLine();             Console.ReadLine(); ...
Wait while more posts are being loaded