apt-get what?

If you are like me, when you need to use a program in your console, the first thing is to run “bla –help”.

Well..

Having a Ubuntu box, typed apt-get --help. That’s what I saw, here shortened:

ursula@ursula-laptop:~$ apt-get --help
apt 0.7.9ubuntu17 for i386 compiled on Apr 22 2008 15:19:47
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]
...
...
This APT has Super Cow Powers.

This APT has Super Cow Powers? Hm… Let’s try something that a cow would do, like mooing:

ursula@ursula-laptop:~$ apt-get moo
.........(__)
.........(oo)
..../------\/
../.|....||
.*../\---/\
....~~...~~
...."Have you mooed today?"...

:)

Now, let’s see what aptitude says:

ursula@ursula-laptop:~$ aptitude --help
aptitude 0.4.9
Usage: aptitude [-S fname] [-u|-i]
aptitude [options]
...
...
This aptitude does not have Super Cow Powers.

Does not have? So it doesn’t feel like mooing… Let’s see:

ursula@ursula-laptop:~$ aptitude moo
There are no Easter Eggs in this program.

Uuhh… It doesn’t want to play! Please aptitude, be more verbose about it!


ursula@ursula-laptop:~$ aptitude -v moo
There really are no Easter Eggs in this program.

hauhauha.. Let’s push harder! :)

ursula@ursula-laptop:~$ aptitude -vv moo
Didn't I already tell you that there are no Easter Eggs in this program?
ursula@ursula-laptop:~$ aptitude -vvv moo
Stop it!
ursula@ursula-laptop:~$ aptitude -vvvv moo
Okay, okay, if I give you an Easter Egg, will you go away?
ursula@ursula-laptop:~$ aptitude -vvvvv moo
All right, you win.

.............................../----\
.......................-------/......\
....................../...............\
...................../................|
...-----------------/..................--------\
...----------------------------------------------
ursula@ursula-laptop:~$ aptitude -vvvvvv moo
What is it? It's an elephant being eaten by a snake, of course.

Cool! :D

Twitter and pidgin

Today I decided to give Twitter a chance. Started to see, try to find out how to use it, and then I suddenly felt that all that I wanted to blog, the short things, I could do with Twitter. Short jokes, comics, interesting links, stuff like that.

After that discover, I went on the journey of trying to use it from inside an IM, since I don’t want to access twitter.com every time I feel to twitt(er) something.

The steps for it are:

  1. Go to your preferences in twitter and enable the “Device Updates”. Then setup the IM user to which you want the updates to be sent;
  2. Add the user twitter@twitter.com to your IM account, as a buddy. In my case, a gtalk account.

I started to test it, and then the first issue came, that Otubo pointed me: twitter limits the posts up to 140 chars. How can I see that in pidgin?

So, thinking that someone (hopefully) had already thought about it, and relying on google, I found a plugin for pidgin that adds the number of typed chars on a chat window. Here it is, and it’s called pidgin-convcharcount-plugin. There you can get the patch, the source or the compiled libs as packages.

As I am using ubuntu right now, I’ve just installed the deb package available (found it on apt, later). To my friends, gentoo users (as otubo), sorry folks, but I didn’t find the package in the portage tree. :(

So, you’ll have to do it in a harder way. You can pick up the package source (tar.gz) on the site, untar it and perform make. It has a script (Makefile) that downloads pidgin source, patches it, and compiles the plugin libs.

I mean, this is the easiest way, but you can pick the patch instead, download pidgin source by yourself, patch it and yada yada. :)

After that, the libs should be placed on /usr/src/pidgin folder. It worked like a charm in here.. :)

Hope this helps. Any issues, let me know. :)