I use an Ubuntu 10.04 box at work, and needed a newer rubygems installation.
Borrowing instructions from Ascarter and changing version (1.3.6 to 1.8.7):
When I build from source and install to the system, I prefer to put the source in
/usr/local/src.
But feel free to install anywhere you like. To install rubygems, you
need to download the latest tarball. As of this writing, it is 1.8.7.
Then extract the archive and install:
cd /usr/local/src
wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.7.tgz
tar xzvf rubygems-1.3.6.tgz
cd rubygems-1.3.6
sudo ruby setup.rbThe gem binary is now installed:
/usr/bin/gem1.8If you want to have
gempoint to the 1.8 binary:
sudo update-alternatives --install /usr/bin/gem gem /usr/bin/gem1.8 1Next, run a gem system update to be sure you are on the latest version:
sudo gem update --systemRubygems should now be installed and ready to go.
Node.js is a server-side javascript environment.
You'll need to have git and build-essential packages.
$ mkdir -p $HOME/opt
$ git clone https://github.com/joyent/node.git && cd node
$ ./configure --prefix=$HOME/opt
$ make
$ make install
Add $HOME/opt/bin to your path. Add to $HOME/.bashrc
if [ -d ~/opt/bin ]; then
PATH=$HOME/opt/bin:"${PATH}"
fi
Reload it:
$ source $HOME/.bashrc
See what version you've got:
$ node -v
At the time of this writting, I got v0.5.0-pre.
Node package manager, aka npm, is the way we have to install packages and dependencies.
You'll need to have curl client installed.
(first published on my posterous)
I just saw in somebody's twitter that the final edition of Zeitgeist was released.
Yesterday my MBA class group had a barbecue at one of our colleagues' home. It was a great time with my colleagues, mostly because of the speeches of some of them. I resized and uploaded photos and they are shown below. I got some videos also, but as I'll have to edit them, I just don't know when they are gonna be released to the public :-p.
I decided to migrate my blog from wordpress to this drupal instalation. Firstly, I had to export the WXR file, and then I used wordpress_import drupal module (it requires trackback and some core modules).
I wanted to blog using some desktop blogging software and found this gotdrupal post. Now, I'm happily editing this blog post using scribefire.

Last december, I wrote about getting things done methodology. I know some free web apps like Remember The Milk, Runway, Clocking It... There are a lot of other software listed in gtd-br wiki, (in brazilian portuguese). My main requisite is to be able to install the tool at my hosting (I have privacy issues), so I tried to use Taskfreak for some time. I gave up taskfreak because I didn't find it usable enough. I switched to Tracks, and it is much better. I recommend it. I found Clocking It recently, and haven't tried For further information, refer to the LifeHacker blog "Which online GTD app is right for you?". Update: take a look at the Interactive GTD Software Comparison Table.Thanks to Márcio Nilo @ GTD-BR mailing list.
Nice and smart script using find and awk to find large files.
I am reading Chris Anderson's The Long Tail (in portuguese) and yesterday I read about Lulu.com, a service where anyone can publish a book and get an ISBN. As he wrote this book some years ago, probably there are other 'long tail' book publishing services out there. If you know any, please let me know. I haven't looked throghout all the site, so I don't know whether I can write a book in portuguese (my native tongue) and publish there. Anyways, I have a new goal: write a book in english and publish ;-).