January 13th, 2010 — Programming, Travel
As I mentioned in last post, I’m taking part in a programming contest in Brazil. It started a little more than a week ago and it has been excellent. Last week we were trained by Fabio Dias Moreira, an awesome guy who taught us a lot.
The problems and scoreboards from the different contests are being published here.
Here’s a photo of the door to the university:

The university is incredibly big. There are two bus routes inside of it and you could take some good 40 minutes in any of them. It’s also very green:

São Paulo in general is a very sinful city, but just for the record:

December 26th, 2009 — Programming, Travel
Yeah, I’ll spend one full month in São Paulo! I’ll be assisting to the Treino para Final Mundial do ICPC 2010.
That means I’m going to be trained by Petr! (If you don’t know who Petr is, please leave now; I don’t want to talk you).
I will be posting pics and details about the trip in the coming days.
November 30th, 2009 — Leisure, Work

Wouldn’t be possible without oDesk. Hire me or start working.
November 26th, 2009 — Never forget
Creating a new tar:
tar zcvf new.tar.gz the_folder_i_want_to_tar
Exploding the tar:
tar zxvf new.tar.gz
November 1st, 2009 — My life, Work
I arrived home and they told me an envelope with my name had arrived. I looked at it and this is what I found:

I live in Colombia, so I was rather skeptic with this card. But now it is a reality. It took barely 3 weeks to arrive, which was much faster than I expected.

Want a card like this?
Sign up to oDesk and start working. Choose Payoneer credit card as your payment method and that’s it.
October 21st, 2009 — My life, Programming, Work
I earned $42.03 on my first week of work on oDesk (I worked 4.67 hours this week). I’m working on a Ruby on Rails application. oDesk is awesome! Working from home or wherever you are, at the time you want, for as long as you want, and in what you want, well, that’s very enjoyable.

Give it a try.

October 18th, 2009 — Never forget
Backup:
mysqldump -u user -p database_name > dump.sql
(Enter password)
Restore:
mysql -u user -p new_database_name < dump.sql
(Enter password)
October 11th, 2009 — Never forget, Web
On the remote server:
mkdir repository.git
cd repository.git
git --bare init
On the developer’s machine:
mkdir cool_app
cd cool_app
git init
touch README
git add README
git commit -m 'first commit'
git remote add origin ssh://user@server:port/full/path/to/repository.git
git push origin master
More…
October 3rd, 2009 — My life
Today was my last day working at Ceiba Software House. I decided to quit because I want to focus on studying. I feel like I’m wasting too much time on work and not doing the things that I really enjoy. Besides, I got quite bored working with big Java enterprise applications. That’s not enjoyable.
I will continue working part-time on Mentez, a small company that develops applications for social media. It’s very fun to work there and my workmates are awesome. Besides, we’ll code in Ruby!
September 23rd, 2009 — Never forget, Programming
The number of tests in the app I’m developing it’s getting really big. Sometimes, I just need to run a single test and not all of them. I only need to remember this line:
ruby -Itest test/unit/availability_time_test.rb