vidarara —

Jul 16 2008

Simple way to display the mysql databases you have created

Open up a terminal window and write:
sudo mysql -pyourpassword
E.g. if your password is dog this command will look like this: sudo mysql -pdog

After this, you’ll be inside the mysql command line and all you’ll have to do is execute this order:
show databases;

Your databases will be listed this way on the shell:
mysql> show databases;
--------------------
| Database |
--------------------
| information_schema |
| Typo3 |
| mysql |
--------------------
3 rows in set (0.00 sec)

mysql>

+

Scrollkeeper problems while installing packages on Ubuntu

I was getting a lot of parse errors while I was trying to install some packages this morning. The error messages were like this one:
/var/lib/scrollkeeper/it/scrollkeeper_extended_cl.xml:932: parser error : Extra content at the end of the document

I found out it was obviously a problem with scrollkeeper which is a software that is used to manage documentation (list, search and sort help catalogs). Well, all I had to do was just rebuild the scrollkeeper database, it took some minutes but it worked. I executed this command on the terminal:
sudo scrollkeeper-rebuilddb
+

In "One Reason Why I love Unix": Tip for getting all the ip addresses that exist on your network

Open up a Terminal.app window (if you’re on OS X) and type this on the console:
arp -a
It’s that simple. ARP stands for “address resolution display and control” and the “- a” argument displays all the current addresses.
Jul 08 2008

Happiness

These weeks have been the most beautiful weeks I’ve ever had in my life.
May 04 2008

What I feel right now

  • just live the life
  • listen to good music
  • play some good music
  • forget all those false friends (you know what I’m talking about)
  • finish the career
Feb 20 2008

Multi-line commenting in TextMate

I was wondering how to do multi-line commenting in TextMate and I just found it’s so easy to do.

  • Just select the text you want to be commented
  • press command + ⇧ + 7 to comment, and to uncomment it too. : )

Feb 14 2008

iPod touch

I finally bought an iPod touch. It’s just great, I’m in love with it. The out-of-the-box version that it had was 1.1.2. I updated to the 1.1.3 version using iTunes and then I did a jailbreak to it and installed the January applications using the Installer.app I’m happy and really not feeling regretful for the bought!


Feb 02 2008
PhotoAlt
The other day I prepared this Eggy at the basket for breakfast. I discovered this through a nice flickr contact I’m always visiting.
Jan 31 2008

Starting to learn Ruby

These days I’ve been doing a little search of resources for learning Ruby. I’m really interested in this object-oriented programming language. I want to share some links with you:

    • The first site I started to read was about object-oriented programming concepts at the Java tutorials site. It was useful for me since I didn’t have a clue about objects, classes, methods, inheritance, concepts you’ll be able to get in touch in that site. I also mixed the reading of those concepts with Wikipedia & Google searches.

    • Then I recommend going to the Ruby official site and read some examples of the language. You’ll notice that it’s so powerful and practical. Things I did in the C programming language are so easy to do with Ruby, I really love that. From the same site you’ll be able to access to a web application called Try Ruby! which is an interactive console that will show you in some minutes how Ruby works. With all these links I could get a very basic background about Ruby.

    • Now I’m in the process of reading a book called Learn to Program, which is focused to beginners in programming using Ruby. I started to read this book thanks to a Ruby course I joined today, so if you want to learn Ruby you can join too!

  • Jan 30 2008

    I want to buy an iPhone but...

    I saved some money during the summer (december+january) for getting an iPhone. I haven’t explored the underground unlocking world out there, that’s why I didn’t know how difficult is the iPhone unlock these days. There are a few methods to unlock it but they all need hardware intrution and I’m not going to open my future iPhone and probably get it broken. Then, what am I going to do? I’m just going to wait for a software unlock method which, some rumors say, will be out before the Apple iPhone/iPod Touch SDK release late in february. I’m thinking about buying it directly from the US Apple Store, it’s far cheaper than buying it here in Chile.
    Page 1 of 6