Howto

Quick Vi Guide

Vi Cheat SheetHere at work they considered me as Vi expert, hahaha! Every time they need something in Vi they will ask me. I used Vi for 10 years now, and really it is my editor of choice, maybe because I was not exposed to other *nix editor like Emacs, nano and even the graphical gedit - very rare you will see me using it in even I'm in GNOME.

Vi is a terminal-based plain text editor loved by most *nixers. It is most known as a "programmer's text editor," Vi is full of keyboard shortcuts that make it really useful for editing system files and plain text.

Most beginners find that Vi has a hefty learning curve – maybe because they are not really trying to remember those keyboard shortcuts. This learning curve often leaves Vi completely untouched by new Linux users.

I found an excellent introductory Vi guide in UCSD and I’m sure this guide will get you proficient in no time.

Let me quickly quote here Searching and Replacing text as this is the most asked help to me:

/the — Finds the next occurence of "the". This will also find "their", "them", "another", etc.

Drupal 5.1

Just upgraded this site to Drupal 5.1, as some core bugs and security vulnerability was fixed from the old 5.0 version. Upgrade is highly advisable.

Since there is no database change, the upgrade is pretty straight forward.

Here are my steps:

  1. Move sandrorafael.com directory to another directory as backup
    mv sandrorafaeldotcom sandrorafaeldotcom-backup-20070130

  • Download Drupal 5.1
    wget http://ftp.osuosl.org/pub/drupal/files/projects/drupal-5.1.tar.gz
  • Untar the source file
    tar -xzvf drupal-5.1.tar.gz
  • Drupal 5.0

    I’m now running here the brand new Drupal 5.0. The upgrade from RC2 was easy as I anticipated.

    Here are my quick steps:

    Bump Keys: How to unlock all locks

    Do you think when you locked your doors and gates you are safe?

    Watching this and reading this, makes me think of changing some important locks like our main door into electronic one. But still given enough time and resources electronic locks are also hackable.

    Free SMS to Philippines Using Google Talk or Gmail Chat

    You can always do this using Chikka, and now with the convenience of your Google Talk or Gmail Chat, you can now send SMS to Globe/Smart/Sun mobile phones in the Philippines.

    To send to a mobile phone, simply add a new contact on your Google Talk client or Gmail Chat, using the format 639xxxxxxxxx@chikkatalk.com.

    I just tried it and it works both in Google Talk client and in Gmail Chat.

    Ubuntu Desktop Installation

    Five days ago, I upgraded Athena (our main desktop PC here) from 5.10 (Breezy Badger) to 6.06 LTS (Dapper Drake); it was pretty easy, and even all my additional installations and hacks like chikka, skype, various multimedia capabilities, and many more; all works like a charm.