Month: December 2010

  • Golden Rule 3 Use a Version Control System

    A few years ago I used to run around with an USB-Stick for my projects: if I worked at my office I copied the files at the end of the day and took them with me to keep working on the project at home or at my other office. Getting tired of that (especially of me forgetting to copy all the files or taking the stick with me) I changed to a synchronization software that kept my files at the same state everywhere I worked. That was a great improvement, although it did not solve my second problem: Keeping track
    Read the rest “Golden Rule 3 Use a Version Control System”

  • Formatted code in Word using Emacs

    Sometimes I have to write some documentation using Word instead of LaTeX. In LaTeX you have some nice options for typesetting code be it R, Stata or Gams. In Word, however, there is no easy way to format your code. I found a nice way to get my code nicely formatted (in color) using Emacs: I installed the Windows version of Emacs and there I can “Quick Print” – “Preview with Web Browser”. This opens the file as htm in my browser. I now just save this file somewhere on my computer and open it in Word. The text is
    Read the rest “Formatted code in Word using Emacs”


Name *

Email *