mercoledì 28 novembre 2012

Inserire iframe in joomla 2.5

Volevo inserire un iframe nel mio sito, e le strade che avevo in mente di seguire erano due, una era quella di cercare un plug-in, l'altra un opzione.
I plug-in scarseggiano e mi sembra comune volere inserire un iframe in una pagina web quindi ho risolto semplicemente così:

Nel pannello Administrator:
Extensions -> Gestione Plug-in -> TyniMCE-Editor

..e ho rimosso "iframe" da elementi proibiti.

Sembra una stronzata ma una dritta mi avrebbe fatto risparmiare tempo e denaro.

venerdì 23 novembre 2012

If you wanna get dumb you gotta be tough


 
 
 
Intro
G|G|C|D|G


                 C
If you're gonna be dumb you gotta be tough
D         G
When you get knocked down you gotta get back up

I ain't the sharpest knife in the drawer
C
BUt I know enough to know
D         G
If you're gonna be dumb you gotta be tough
       C
I lit my Brain with rot-gut whiskey
D     G
Till my pain was chicken fried
       C
And I had dudes with badges frisk me
D       G
And teach me how to swallow pride
       C 
I took advice no fool would take
D     G
I got some habits I can't shake

I ain't the sharpest knife in the drawer
C
But I know enough to know
D         G
If you're gonna be dumb you gotta be tough
         C
If you're gonna be dumb you gotta be tough
D          G    
When you get knocked down you gotta get back up
        C
That's the way it is with life and love
D         G
If you're gonna be dumb you gotta be tough

Break
C|D|G

G       C
I've been up and down and down and out
D        G    
I've been left and right and wrong
    C 
Well I walk the walk and run my mouth
D    G
Been on that short end for too long
     C
Well if they gave medals for honky-tonk wars
D       G
Hell I'd keep mine in my chest of drawers
      C
With my IRS bills and divorce papers and all that stuff
D       G
Hell If you're gonna be dumb you gotta be tough
         C
If you're gonna be dumb you gotta be tough
D        G
When you get knocked down you gotta get back up
        
I ain't the sharpest knife in the drawer
C
BUt I know enough to know
D         G
If you're gonna be dumb you gotta be tough
D         G 
If you're gonna be dumb you gotta be tough

Good Morning Formula

Best day in life is every single one, but those that start in a positive way are awesome, the problem is .. how can a day start in a positive mode ? The answer is "it does because it is planned the day before". With this formula, everyday is a good one.


venerdì 16 novembre 2012

failed to initialize audio driver 'pulse'

Questo è l'errore che ho trovato nell'avviare mplayer senza interfaccia grafica..:

AO: [pulse] Init failed: Connection terminated  Failed to initialize audio driver ‘pulse’
waitpid(): No child processes
[AO_ALSA] alsa-lib: pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Internal error
[AO_ALSA] Playback open error: Connection refused
Failed to initialize audio driver ‘alsa’
[AO OSS] audio_setup: Can’t open audio device /dev/dsp: No such file or directory
[AO_ALSA] alsa-lib: pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused


 ..l'ho risolto installando pulseaudio-module-x11.

root@localhost:~#apt-get install pulseaudio-module-x11

giovedì 15 novembre 2012

Sad Statue - System Of A down

"Sad Statue"









Conquest to the lover,
And your love to the fire,
Permanence unfolding in the absolute.

Forgivness is
The ultimate sacrifice.
Eloquence belongs,
To the conqueror.

The pictures of time and space are rearranged,
In this little piece of typical tragedy.

Justified Candy!
Brandy for the nerves,
Eloquence belongs,
To the conqueror.

You and me will all go down in history,
With a sad Statue of Liberty,
And a Generation that didn't agree.

You and me will all go down in history,
With a sad Statue of Liberty,
And a Generation that didn't agree.

I forgot to
I forgot to let you know that...

Justified Candy!
Brandy for the nerves,
Eloquence belongs,
To the conqueror.

Conquest to the lover,
And your love to the fire,
Permanence unfolding in the absolute.

Forgivness is
The ultimate sacrifice.
Eloquence belongs,
To the conqueror.

You and me will all go down in history,
With a sad Statue of Liberty,
And a Generation that didn't agree.

You and me will all go down in history,
With a sad Statue of Liberty,
And a Generation that didn't agree.

Generation..............

What is in us that turns a deaf ear to the cries of human suffering?!!!

WOAH!!!!!!!

Suffering, suffering now!

You and me will all go down in history,
With a sad Statue of Liberty,
And a Generation that didn't agree.

You and me will all go down in history,
With a sad Statue of Liberty,
And a Generation that didn't agree.

Generation..........

How to deploy Podman images to OpenShift Container Platform (CRC on localhost)

I have a microservice on localhost and I want to deploy its Podman image on OCP, which I am running using CRC on localhost.       1. Get the...