Cloning a disk

Today I tried to use Parted Magic to clone a disk. At first, I used Clonezillathat came with Parted Magic. It failed on the last partition, which was a lvm2 pv partition. Next, I tried dd command with basic options, i.e. dd if=/dev/sda of=/dev/sdb That returned with an IO error. Then I used ddrescue, also bundled […]

Read more "Cloning a disk"

Adding print feature to a GWT app

Enable print: I was able to add print feature to a GWT app by using gwt-print-it library. I used last example in the documentation to get the printing to work (see included code fragment below). Print.it(“<!DOCTYPE HTML PUBLIC ‘-//W3C//DTD HTML 4.01//EN’ ‘http://www.w3.org/TR/html4/strict.dtd’>&#8221;, “<link rel=StyleSheet type=text/css media=paper href=/paperStyle.css>”, RootPanel.get(“myId”)); I had to use absolute URLs instead of […]

Read more "Adding print feature to a GWT app"

Photo recovery tool for Linux

A few days ago, I pressed “remove all” on my CF card before I copied the pictures to my computer. Even though I abort the operation as soon as I realized what I’ve done, some of the pictures were already deleted. So, I went online and found PhotoRec, which runs on Linux and worked pretty […]

Read more "Photo recovery tool for Linux"

SVN::Notify

After setting up an instance of SVN using the instructions I found here. I wanted to setup email notification for every commit on a SVN server. I was able to setup SVN::Notify using the tutorial on this page. When attempting to run perl -MCPAN -e ‘install SVN::Notify’, the install command complained that MakeMaker version is […]

Read more "SVN::Notify"

GWT, Maven, Eclipse and WebLogic: take 2

Maven + GWT I needed to create a GWT project using maven again. The original post lacked some details. This time, I got it to work with a slightly different steps. First, I ran the following command: mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo -DarchtypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.4.0 -DarchetypeRepository=repo1.maven.org Somehow, Maven didn’t pickup the group ID and artifact ID. So, I […]

Read more "GWT, Maven, Eclipse and WebLogic: take 2"