Check the link above when you want to combine several commits into one patch. It might be needed when you want to submit all your local changes into one changeset to the upstream.
Indent only XML file
Recently I have worked on editing XML files in Vim. These XML files are the documents of a software in DocBook style. Since they are maintained manually, the indentation is badly formatted. So before getting deeper, the very first thing to do was to re-indent the files. It turned out ...
Quick print: a little trick for gdb setting
Don't show the hidden files in GTK+ application open file dialog
It is quite annoying when you open a file selection dialog in a typical GTK+ application a pile of hidden files and directories occupy the window. Solution: edit ~/.config/gtk-2.0/gtkfilechooser.ini to disable the option 'ShowHidden'
Arrow keys don't work properly in Totalview Debugger
Totalview is a very powerful debugger for C/C++, Fortran languages, especially for debugging high performance programs. In this commandline interface(a new xterm window) no matter how hard I tried my arrow 'Up' key entered [[A char and 'Down' keys gave [[B char. What I really wanted was the ...