Pages

Tuesday, May 18, 2010

Creating diff patch patches

diff -ruN orig/ new/ > my.patch
cd orig
patch < ../my.patch

Takes care of new files, removed files, and changes within files.

http://stephenjungels.com/jungels.net/articles/diff-patch-ten-minutes.html
http://iihm.imag.fr/blanch/howtos/DiffPatch.html

Compiling mercurial (hg) from source

Fedora Core 10 (FC10)

Required rpm (among others)
sudo rpm -ivh python-devel-2.5.2-1.fc10.i386.rpm

Download and extract mercurial source (this example is 1.5.2)

sudo make all
sudo make install
sudo python setup.py install

hg debuginstall -- will debug the ~/.hgrc settings

~/.hgrc
[ui]
username = matt
verbose = True

mkdir test
cd test
hg init
hg serve -d


Saturday, May 15, 2010

Capturing config file for a remote on the USBUIRT

irrecord --driver=uirt2 --device=/dev/ttyUSB0 lircd.conf



Sunday, May 2, 2010

UNISON Tips

For windows add:
fastcheck = yes

Not sure how to fix the PROPS "question mark" confusion.  Seems to be mostly with svn stuff... which I really don't want in a UNISON sync anyway.

Reference:

RPMs required on FC10 to add VMWare Tools

rpm --force -ivh make-3.81-14.fc10.i386.rpm kernel-headers-2.6.27.5-117.fc10.i386.rpm gcc-4.3.2-7.i386.rpm glibc-devel-2.9-2.i386.rpm glibc-headers-2.9-2.i386.rpm kernel-devel-2.6.27.5-117.fc10.i686.rpm 

VMWare tools requires
make
gcc
kernel-headers