Merging Subversion Repositories
Posted on March 29, 2008
Filed Under Linux | Leave a Comment
I had two different projects in separate subversion repositories and I wanted to merge them together. I found a simple tick like this.
1 2 3 4 5 6 7 | $ svnadmin dump srilankan > sri.dump $ svnadmin dump ebizlanka > ebiz.dump $ svnadmin create projects $ svn mkdir file:///home/ramesh/svn/projects/srilankan $ svnadmin load projects --parent-dir srilankan < sri.dump $ svn mkdir file:///home/ramesh/svn/projects/ebizlanka $ svnadmin load projects --parent-dir ebizlanka < ebiz.dump |
Show working directory in bash prompt
Posted on March 28, 2008
Filed Under Linux | Leave a Comment
I always get confused with which directory I’m working under. The solution I found is to display the working directory in the bash prompt. This is the single line that does the magic in the ~/.bashrc
1 | PS1=[\\w]\\$ |
U.S. Robotics Wireless USB Adapter in Ubuntu 7.10
Posted on February 4, 2008
Filed Under Linux | Leave a Comment
I had a hard time configuring my U.S. Robotics Wireless USB Adapter in Ubuntu 7.10, at last found out non of the native drives work for it and installed the windows driver with ndiswrapper and disabled all the native usb drivers by adding them to the /etc/modprobe.d/blacklist and boom it start working.
1 2 3 4 5 6 7 8 9 10 11 | blacklist islsm_pci blacklist islsm blacklist islsm_usb blacklist prism2_usb blacklist rtl8187 blacklist r8187b blacklist r8187 blacklist prism54usb blacklist prism54pci blacklist p54usb blacklist p54pci |
Note:If you don’t disable the these modules by adding them to the the blacklist the ndiswrapper wouldn’t work properly.
Download all file from ftp server recursively
Posted on January 7, 2008
Filed Under Linux | Leave a Comment
I moved http://www.sri-lankan.net to DreamHost last month and wanted to download all the files from my old hosting provider. I found the ncftpget command so useful. Here is how…
1 | $ ncftpget -T -R -v -u "ramesh" sri-lankan.net ./sri /www |