Archive for June, 2009

How (NOT) to Make Decisions

June 17, 2009

3 golden rules. Never ever ever ever make decisions when,

  • you are extremely sad (Because you wont see what you haven’t lost)
  • you are extremely happy (Because you wont see what you have lost)
  • you are extremely angry (Because you wont see what you may loose)
Advertisements

patch command in linux to apply a svn patch

June 3, 2009

First of all how to create a patch if you dont know…
$ svn diff mychangedfile1 dir1/dir2/mychangeresource2 > mypatch.txt

To apply this patch it needs to be in the same svn location as the patch was taken. Then using the patch command u apply the patch
$ patch -p0 < patch.txt