Archive

Posts Tagged ‘Linux’

Pseudo-Console using Flex 3

September 5th, 2009 No comments

Today I’ll show you a way to realize a console-like component in Flex 3 (3.4). This is really a personal way to handle the problem, I can’t garantee it is a best practice, I can garantee it works.

gnomeTerminal

Let’s move forward…

Read more…

Restore Grub after Windows installation

August 6th, 2009 No comments

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: , ,

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: ,

Full Circle recommends (?) Linux Mint? O_o

April 16th, 2008 2 comments

I was reading “The Flavor of the Month” on Full Circle Magazine Issue#11 March 2008 written by Robert Clipsham.
If you don’t know Full Circle Magazine you’re a bad guy. It is a really interesting magazine developed by Ubuntu Community and it’s very useful because you can find very interesting news and articles like this one I’ll talk about today.

Read more…

Categories: News, Ubuntu, Web Tags: , , ,

Save your Firefox cache flv files (Macromedia Flash Video)

October 23rd, 2007 4 comments

Today we will see how to save your flv taken from your Firefox cache. Due to using some specific console commands this tutorial is useful only for a Unix-like system, not for Windows. I’m sorry P
Before starting let’s say there are tools, like Clive or Videodownload (firefox plugin), made for similar purpose but they work in a different way:

  • they works on specific sites only (like Youtube), and that’s a problem because some sites are not supported
  • If you have some bandwith limit issue, Clive and Videodownload force you to re-download the video

Especially the second point, to me, it’s a problem because I use an UMTS connection and it works using a limited bandwith per month and generally a flv file consumes some MBs.
Let’s see my way.
Read more…