Just one geek's opinions and epiphanies

Dropbox + Eclipse = Awesome


Developing a side project is a lot of fun. I have been working on a pet project for a little while now and I have found the biggest slow down for my project is that I think of small changes, or major fixes, when I am away from my code. I have tried using USB thumbdrives, and even Amazon S3 to take my code with me, but it never fails I will forget to update the code, or forget to take the thumbdrive with me. Finally I have found a simple way to make it all work.

Dropbox, if you don't know, is 2.0GB of free online storage with an integrate synchronization program. It works on all three of the  major OSes (Windows, Mac, and Linux). You simply have to have internet access to use Dropbox anywhere you can install the application. This played a huge roll in my scheme for taking my code with me.

Basically what I have done is simple setting up Dropbox as my workspace for Eclipse. Let me show you what I did. I simply installed Dropbox on my laptop at home. Then set my workspace for my pet project as my Dropbox folder. Here's the steps I followed, and some screen shots to show what I did.

Step 1: Switch Workspaces. File -> Switch Workspace -> Other...

[caption id="attachment_159" align="alignnone" width="414" caption="File > Switch Workspace > Other..."]File > Switch Workspace > Other...[/caption]

Step 2: Select your Dropbox directory and add "workspace" to the end of the path

[caption id="attachment_162" align="alignnone" width="627" caption="Setting the Path to Dropbox + "workspace""]Setting the Path to Dropbox + "workspace"[/caption]

This will cause Eclipse to restart, so it can load the new workspace.

Step 3: Repeat these steps on your other machine (office, desktop, etc).

The sync between machines will take a few minutes. The basic drive home from work should be long enough for the sync to take place. When you get home simply refresh the workspace, or file directory in Eclipse and you will be ready to work right where you left off on your project.

With 2.0GB of free space you should have plenty of space to develop any project you may be working on. You can also share links to your public folder in Dropbox, so if you wanted to share some code files with a friend you can send them a link to your public folder.

Ubuntu Kung Fu: Tips, Tricks, Hints, and Hacks (Pragmatic Bookshelf)


[caption id="" align="alignleft" width="190" caption="Ubuntu Kung Fu: Tips, Tricks, Hints, and Hacks"]Ubuntu Kung Fu: Tips, Tricks, Hints, and Hacks[/caption]

First I would like to say thanks to O'reilly and the good people at Pragmatic Bookshelf, for allowing me to read and review Ubuntu Kung Fu: Tips, Tricks, Hints, and Hacks. I absolutely loved the book, and I am going to recommend it to everyone I know who uses Ubuntu.

The book was written for version 8.04 of Ubuntu, but will work great with 8.10 too! While reading and reviewing the book, you ought to have a machine nearby to test the hacks and hints. They are absolutely amazing. There are over 300 tips in the book, and each is a gem in its own right. The tips range rom optimizing the speed of your machine, to GUI hacks, hardware, messing with media, security enhancements, and system administration.

The table of contents is really great too! First it list each hack/tip in order of the book, then it shows you the tips organized into groups of topics, system admin, security, etc. Also each tip has information on getting to the next tips that are related. 

Truly this book is for anyone who is using Ubuntu who hasn't been working with the code directly and would like to know more about the OS and what it can do. 

Just after reading the first few tips I was able to reduce the boot times on my laptop from minute and twenty seconds to under thirty seconds. I was also able to accurately graph the results of these changes by installing and using bootchart, a tip from the Ubuntu Kung Fu book.

If you are looking for a good book to help you enhance your understanding of Linux and Ubuntu, this is the book, get it now at Amazon, or from the Pragmatic Bookshelf.