Archive
Twittering from command line (known also as passing parameters to aliases via bash shell)
This tutorial is pretty simple. We’ll see how to setup our linux box to send messages to our twitter account using the command line.

As always click on “Read More”.
Read more…
Listening to custom events from itemRender with Flex 3.3 ( bubble events )
Server Controls like DataGrid,DataGridView , DataList etc have other controls inside them.
Example an DataGridView can have an TextBox or an button inside it.
These Child Controls can not raize events by themselves,but they pass the event to the parent control (DataGridView), which is passed to the page as event.
This process is known as EventBubbling.
w32codecs ( medibuntu ) and converting rm to avi

Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. This package is not available from the Ubuntu repositories due to licensing and legal restrictions.
Read more…
Nano Syntax Highlighting improved…
I’ve found new syntax highlighting files for nano.
Here’s the link: http://wiki.linuxhelp.net/index.php/Nano_Syntax_Highlighting
Just after the image you can find some of my favourite ones.

Tips: Disabling Firefox 3 smart location bar.

If you, like me, have an old fileserver then you should use this trick because the Firefox 3 smart location bar can really rape your hard disk [valley girl talk mode]…like totally…[/valley girl talk mode]
A proper ‘ls’ output? I need it.
So when you use the list option you have this output:
pippo@pippo-laptop:~$ ls -gGh totale 175M -rw-r--r-- 1 175M 2008-11-05 23:15 Barack.Obama.Presidential.Victory.Speech.HDTV.XviD-XOXO.avi -rw-r--r-- 1 25K 2008-11-05 17:18 Barack.Obama.Presidential.Victory.Speech.HDTV.XviD-XOXO.srt drwxr-xr-x 2 4,0K 2008-10-20 01:28 Documenti drwxr-xr-x 2 4,0K 2008-10-20 03:33 Immagini drwxr-xr-x 2 4,0K 2008-10-20 01:28 Modelli drwxr-xr-x 2 4,0K 2008-10-20 01:28 Musica -rw-r--r-- 1 9,1K 2008-10-30 01:22 pes5.txt -rw-r--r-- 1 9,2K 2008-10-30 00:45 pes5.txt~ drwxr-xr-x 6 4,0K 2008-10-24 20:16 Programmi -rwxr-xr-x 1 281 2008-11-06 20:30 prova.sh drwxr-xr-x 2 4,0K 2008-10-20 01:28 Pubblici drwxr-xr-x 4 4,0K 2008-11-06 18:15 public_html drwxr-xr-x 2 4,0K 2008-11-06 18:15 Scrivania drwxr-xr-x 2 4,0K 2008-11-01 00:31 Video drwxr-xr-x 6 4,0K 2008-10-27 19:19 workspace
Sometimes my eyes cross and I read permissions in a wrong way, so I came up with this command:
ls -gGh|egrep ‘[d-][wrx-]{3}[wrx-]{3}[wrx-]{3}’|sed ’s/\([d-]\)\([wrx-]\{3\}\)\([wrx-]\{3\}\)\([wrx-]\{3\}\)/|\1|\2|\3|\4|/g’
pippo@pippo-laptop:~$ ls -gGh|egrep '[d-][wrx-]{3}[wrx-]{3}[wrx-]{3}'|sed 's/\([d-]\)\([wrx-]\{3\}\)\([wrx-]\{3\}\)\([wrx-]\{3\}\)/|\1|\2|\3|\4|/g'
|-|rw-|r--|r--| 1 175M 2008-11-05 23:15 Barack.Obama.Presidential.Victory.Speech.HDTV.XviD-XOXO.avi
|-|rw-|r--|r--| 1 25K 2008-11-05 17:18 Barack.Obama.Presidential.Victory.Speech.HDTV.XviD-XOXO.srt
|d|rwx|r-x|r-x| 2 4,0K 2008-10-20 01:28 Documenti
|d|rwx|r-x|r-x| 2 4,0K 2008-10-20 03:33 Immagini
|d|rwx|r-x|r-x| 2 4,0K 2008-10-20 01:28 Modelli
|d|rwx|r-x|r-x| 2 4,0K 2008-10-20 01:28 Musica
|-|rw-|r--|r--| 1 9,1K 2008-10-30 01:22 pes5.txt
|-|rw-|r--|r--| 1 9,2K 2008-10-30 00:45 pes5.txt~
|d|rwx|r-x|r-x| 6 4,0K 2008-10-24 20:16 Programmi
|-|rwx|r-x|r-x| 1 281 2008-11-06 20:30 prova.sh
|d|rwx|r-x|r-x| 2 4,0K 2008-10-20 01:28 Pubblici
|d|rwx|r-x|r-x| 4 4,0K 2008-11-06 18:15 public_html
|d|rwx|r-x|r-x| 2 4,0K 2008-11-06 18:15 Scrivania
|d|rwx|r-x|r-x| 2 4,0K 2008-11-01 00:31 Video
|d|rwx|r-x|r-x| 6 4,0K 2008-10-27 19:19 workspaceOh, BTW:

Ubuntu: Bug using SATA hard-disk
My hd is a Matsushita and I’m having problem because my Load_Cycle_Count is growing too fast.
Apparently Ubuntu’s having some problem dealing with it because there is some crappy configuration in the /etc/acpi/power.sh
I have no time to explain it completely but I have a temporary solution.

Downgrade to Firefox 2 in Ubuntu
If you use many firefox extensions, then you can understand the meaning of this tutorial.
Many extensions, especially the “non-institutional” ones are not upgraded to firefox 3 so they do not work.

Read more…
Recording and encoding a radio streaming.
Hello! Today we will see how to record a radio streaming. This tutorial can be used in Linux and Windows because we are going to use tools present in both “OSes”.



