Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

March 28 2010

Using Things with Dropbox

Things is probably one of the best task management applications for Mac that I’ve come across. And the only that I didn’t completely forgot after 2-3 days. The iPhone/iPod app is just the cherry on top of the cake. You can sync with your Mac app and all.

The one feature Things is missing (besides being Mac only), is sync between different computers. I constantly use 2 Macs (personal and work) so this was a major turn off. But that’s where Dropbox kicks in and saves the day.

Although not very explicit, Things has the option to select the location of your tasks database. So it’s pretty much obvious: save the database in a Dropbox folder, configure all you’re Things apps to use the new database location and you’re done.

This is where you’re Things database is stored:

~/Library/Application Support/Cultured Code/

Just copy the Things/ folder that lives in the path above to your Dropbox and then open the Things app pressing simultaneously the option key (alt). A popup will show up asking you to choose the library (database) location:

Things - Choose A Library Dialog

Now choose the Things folder in your Dropbox and that’s it. Repeat this step for every application that you use on a different Mac, and you’re ready to kick some serious ass at Getting Things Done.

You can find this info about selecting Things library/database on the Cultured Code wiki.

November 15 2009

Using git with dropbox

This is just another way to give some use to your dropbox account. Although I use git in this article, you can pretty much do it with any other SCM tool.

First of all you obviously need a dropbox account. If you don’t have one already, go register for one and get 2Gb of free online storage.

Now that you have an account, create a folder on your dropbox and on the web interface and share the folder with some friends if you wish to do so.

All is ready now to start creating the repo. For this post I’m assuming you already have a local git repository of a project called my_killer_app and that you are working on a unix based operating system like OS X or Linux.

Open up a terminal, and change directory to your project folder:

cd ~/Sites/my_killer_app

The next step is to clone your existing local repo into the shared dropbox folder:

git clone --bare . ~/Dropbox/shared_folder/my_killer_app.git

The --bare option tells git to not include the project files. Only those files needed to track the versioning are cloned (mainly those present in the .git/ folder).

Now you have sort of a remote repository. Although it’s on your machine, it’s remote to everyone else sharing the folder. But to make things work we need to add this “remote” location and give it an alias:

git remote add my_killer_app ~/Dropbox/shared_folder/my_killer_app.git

There! It’s done. Now you can push your changes to the repository. And pull the changes on another machine with your dropbox account. Also people sharing the folder will be able to do the same.

Just for the sake of completeness, here’s how you would make changes and commit them to the “remote” server:

You made changes to the code, now it’s time to add and commit:

git commit -a -m "another commit example"

Nice! Now let push them to the “remote” server:

git push my_killer_app master

Piece of cake.

And here’s how a different user sharing the folder would do to collaborate on your project:

Clone the repository:

git clone ~/Dropbox/shared_folder/my_killer_app.git

Add the alias to remote repository:

git remote add my_killer_app ~/Dropbox/shared_folder/my_killer_app.git

And that’s it! Now it’s pull, commit, push. If you need more info on git usage you can check this manual.

Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.