Archive

Archive for the ‘Linux’ Category

Restore Grub after Windows installation

August 6th, 2009 No comments

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

I’ve just installed Windows Seven so I’ve lost ma Grub boot window…

let’s see how we can do that…

Read more…

Twittering from command line (known also as passing parameters to aliases via bash shell)

May 26th, 2009 No comments

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…

Categories: Linux, Tutorial Tags: , , ,

Listening to custom events from itemRender with Flex 3.3 ( bubble events )

May 18th, 2009 No comments

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.


Read more…

w32codecs ( medibuntu ) and converting rm to avi

April 30th, 2009 No comments

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…

Categories: Linux, Tutorial, Ubuntu Tags: , ,

date +%s

February 14th, 2009 No comments

1234567890

Categories: Linux, Web Tags:

Nano Syntax Highlighting improved…

January 12th, 2009 No comments

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.
nano

Read more…

Tips: Disabling Firefox 3 smart location bar.

December 19th, 2008 No comments

firefox

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]

Read more…

A proper ‘ls’ output? I need it.

November 6th, 2008 No comments

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 workspace

Oh, BTW:
Image Hosted by ImageShack.us

Categories: Linux, Tutorial Tags: ,

Ubuntu: Bug using SATA hard-disk

October 21st, 2008 No comments

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.

Image Hosted by ImageShack.us

Read more…

Downgrade to Firefox 2 in Ubuntu

May 11th, 2008 No comments

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…

Categories: Linux, Tutorial, Ubuntu Tags: , , ,

Recording and encoding a radio streaming.

May 2nd, 2008 2 comments

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”.

Image Hosted by ImageShack.us

Read more…

Welcome Ubuntu Hardy

April 28th, 2008 2 comments

Categories: Linux, News, Ubuntu Tags: