Category: articles

Upgrading Dropbox to >16GB for 25USD

November 18th, 2011 — 03:12 pm

I love Dropbox and use it daily. From sharing project files and source code repositories in professional life to saving and synching my important personal belongings, I wouldn’t want to miss it.

For the services I like and use, I usually don’t bother paying for them. But in the case of Dropbox, just no plan seems right. I’m not even talking money here, but storage – the entry plan being 50GB. On my main machine(MBA 11″), I’m running a 128GB SSD – meaning that after having installed all necessary tools, I don’t even have 50GB storage free for things that I want backed up or synched. Since I can’t even physically use the plan properly, I don’t see myself paying for it. I would have been glad to pay for a 10GB or 20GB plan, though.

Not even having 50GB storage might seem very little space to the reader – or for my former self, that is. But for the stuff that I previously needed a NAS or even dedicated servers, I now have the cloud. Mail is on my private server (and backed up), music is on Spotify and Soundcloud, movies are in iTunes. The only thing I’m still hosting and managing myself are pictures.

Still, I wanted more than the 2GB storage that Dropbox offers for free initially. Luckily Dropbox offers up to 16GB extra space for bringing in referrals. Over the last year, I’ve gotten a few people to use Dropbox and got my account up to over 4GB. But then I thought that I could improve this process and set up an AdWords campaign.

Just one day later and having only spent 25USD, my Dropbox account is now 16.8GB.

Here are the details of the campaign. You can see that it only took a day to accumulate enough referrals.

dropbox adwords campaign

So now I can start putting more files into the bigger Dropbox.
dropbox storage

Update: As mentioned in the comments, Dropbox normally grants 250MB per referral. If you own an edu email address, however, they will give you 500MB – even retroactively. If you happen to live outside the USA and your university uses a different TLD, don’t worry – there’s a form to put your address, they will verify it and let you join the edu program.

If you liked this article, please feel free to re-tweet it and let others know.

    You should follow me on twitter here

17 comments » | articles

How to become a proficient Python programmer

June 12th, 2011 — 02:15 pm

Spoiler: This post is primarily gonna be an excerpt of my bookmarks collection. That’s because more intelligent men than me have already written great articles on the topic of how to become a great Python programmer.

I will focus on four primary topics: Functional programming, performance, testing and code guidelines. When those four aspects merge in one programmer, he or she will gain greatness no matter what.

Functional programming

Writing code in an imperative style has become the de facto standard. Imperative programs consist of statements that describe change of state. While this might sometimes be a performant way of coding, it sometimes isn’t (for example for sake of complexity) – also, it probably is not the most intuitive way when compared with declarative programming.

If you don’t know what I’m talking about, that’s great. Here are some starter articles to get your mind running. But beware, it’s a little like the red pill
– once you tasted functional programming, you don’t want to go back.


There’s so much talk going on about how inefficient these ‘scripting languages’ (Python, Ruby, …) are, that it’s easy to forget that very often it’s the algorithm chosen by the programmer that leads to horrible runtime behaviour.

Those articles are a great place to get a feel for the ins and outs of Python’s runtime behaviour, so you can get your high performing application writting in a language that is concise and fun to write. And if your manager asks about Python’s performance, don’t forget to mention that the second largest search engine in the world is run by Python – namely Youtube(see Python quotes).


Testing is probably one the most misjudged topics in computer science these days. Some programmers really got it and emphasize TDD(test driven development) and it’s successor BDD(behaviour driven development) whereever possible. Others simply don’t feel it yet and think it’s a waste of time. Well, I’m gonna be that guy and tell you: If you haven’t started out on TDD/BDD yet, you have missed out greatly!

It’s not about introducing a technology to replace that release management automaton in your company that mindlessly clicks through the application once in a while, it is about giving you a tool to deeply understand your own problem domain – to really conquer, manipulate and twist it the way you want and need it to be. If you haven’t yet, give it a shot. These articles will give you some impulses:

Code guidelines

Not all code is created equal. Some can be read and changed by any great programmer out there. But some can only be read and only sometimes changed by the original author – and that maybe only a couple of hours after he or she wrote it. Why is that? Because of missing test coverage (see above) and the lack of proper usage of coding guidelines.

These articles establish an absolute minimum to adhere to. When you follow these, you will write more consise and beautiful code. As a side effect it will be more readable and adaptable by you or anyone else.

Now go ahead and spread the word. Start with the guy sitting right next to you. Maybe you can go to the next hackathlon or code dojo and start becoming great proficient programmers together!

All the best on your journey.

If you liked this article, please feel free to re-tweet it and let others know.

    You should follow me on twitter here

31 comments » | articles

Delicious automation with Vimperator

May 7th, 2011 — 04:01 pm

Delicious might have been bought by mighty money makers now, but there’s still no add-on for Firefox 4 available. Thanks to the great Vimperator add-on which wraps VIM functionality inside Firefox, it is easy as cake to get a great automated ‘save to delicious’ workflow going.

So you know why you should bother reading this article any further: All I need to save to delicious is type two keys inside firefox. Then Delicious pops up, marked text already filled in as note.. you know the Delicious drill. When I’m done typing tags, all I do is hit [enter] again and the URL is saved to Delicious.

So, how do you get this functionality going? First, save the Delicious bookmarklet to your bookmarks. Then the magic happens.

Firefox is able to tag bookmarks with keywords, so it can look them up in the smartbar. We’ll use that functionality in combination with a VIM macro and we’re set. It’s only three steps, so bare with me.

1. Save a keyword to you delicious bookmarklet

2. Record the VIM macro

  • Find a website you like
  • Record the macro
    • q to start recording
    • d will be the macro name
    • o to open a bookmark
    • delicous, because that was the keyword
    • [enter] to open the page
    • [esc] to leave insert mode
    • q to save the macro

3. Save your lovely page to Delicious

4. Done

The next time you want to save a page to delicious, just hit @d to automatically redo what you just did by hand.

Note that there’s no end in usability here – you can do that with your readability bookmarklet, you can post a page to your favorite news aggregator and so on and so forth.

3 comments » | articles

« Previous Entries     Next Entries »