mercoledì 12 dicembre 2012
mercoledì 28 novembre 2012
Inserire iframe in joomla 2.5
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
venerdì 16 novembre 2012
failed to initialize audio driver 'pulse'
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
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..........
martedì 13 novembre 2012
DH-PL
02 - Rage Against The Machine ft Outkast - Bombs Over Baghdad
03 - Slipknot - Disasterpiece
04 - ACDC - Highway to hell
05 - Iron Maiden - The Trooper
06 - Limp Bizkit - Rollin
07 - System of a down - Sad Statue
08 - Cypress Hill - Get Out Of My Head
09 - Metallica - Whiplash
10 - The Offsprings - Original Prankster
11 - Korn ft Skrillex - Get Up
12 - Goldfinger - 99 Baloons
13 - Motorhead - Smiling like a killer
14 - Disturbed - Voices
15 - Smut Peddlers - If you wanna be dumb you gotta be tough
lunedì 12 novembre 2012
venerdì 19 ottobre 2012
lunedì 25 giugno 2012
mercoledì 13 giugno 2012
HowTo Play The Blues Bass
Instructions
-
Know Your Styles
-
1
Study. Though blues doesn't require the clinical study that other genres such as metal or classical music, knowing which style of blues you're playing will help you find the right bass line. Blues sounds different depending on the region of its origin, so it's helpful to know the difference between 12-bar blues, shuffle blues, jump blues, Delta blues and the other blues styles.
-
2
Listen. People become great blues players by listening to other great blues players. Taking in a night of music at a blues club, taking lessons from a blues bassist or simply listening to the recordings of masters such as B.B. King and Muddy Waters will help you get the right feel.
- 3
Work on your timing. Blues bass lines are largely spelled out by the style, but the timing is where the bassist makes a mark on the music. Many styles of blues, especially slow blues, sound more powerful if the bass is played "behind the beat," or lagging ever so slightly behind the tempo.
-
4
Work on your dynamics. A bassist can also influence the performance with the dynamics. Playing with dynamics means knowing the right times to play loudly or softly. Developing good dynamic skill requires good picking-hand technique---the best players can go from raging to near silent or anywhere in between in a single note, and it's all about how hard you're plucking the strings.
-
5
Study sheet music. Blues has a musical theory all its own, complete with modified versions of the standard major and minor scales of Western music. You'll learn these scales by playing blues tablature (sheet music made especially for guitar) to songs you know.
-
6
Experiment. The beauty of the blues is that it's emotional, not clinical. Though you should know and respect the standard styles, consider players such as Jimi Hendrix, who took his deep love for the blues and reinterpreted it so effectively that he became the best-known guitarist in history.
-
7
Play with others. Blues musicians have a brotherhood; they love to jam with fellow blues artists and share their secrets and techniques. Attending a local open-mic night at a blues club can put you in touch with people to teach you new tricks and tips. And though playing along with recorded music can be helpful, nothing beats performing with competent musicians.
-
1
domenica 10 giugno 2012
giovedì 7 giugno 2012
Rules Of The Blues (funny)
1. | Most Blues begin, "Woke up this morning..." |
2. | "I got a good woman" is a bad way to begin the Blues, unless you stick something nasty in the next line like, "I got a good woman, with the meanest face in town." |
3. | The Blues is simple. After you get the first line right, repeat it. Then find something that rhymes... sort of: "Got a good woman with the meanest face in town. Yes, I got a good woman with the meanest face in town. Got teeth like Margaret Thatcher, and she weigh 500 pound." |
4. | The Blues is not about choice. You stuck in a ditch, you stuck in a ditch--ain't no way out. |
5. | Blues cars: Chevys, Fords, Cadillacs and broken-down trucks. Blues don't travel in Volvos, BMWs, or Sport Utility Vehicles. Most Blues transportation is a Greyhound bus or a southbound train. Jet aircraft and company motor pools ain't even in the running. Walkin' plays a major part in the blues lifestyle. So does fixin' to die. |
6. | Teenagers can't sing the Blues. They ain't fixin' to die yet. Adults sing the Blues. In Blues, "adulthood" means being old enough to get the electric chair if you shoot a man in Memphis. |
7. | Blues can take place in New York City but not in Hawaii or any place in Canada. Hard times in Minneapolis or Seattle is probably just clinical depression. Chicago, St. Louis, and Kansas City are still the best places to have the Blues. You cannot have the blues in any place that don't get rain. |
8. | A man with male pattern baldness ain't the blues. A woman with male pattern baldness is. Breaking your leg cause you were skiing is not the blues. Breaking your leg 'cause a alligator be chompin' on it is. |
9. | You can't have no Blues in a office or a shopping mall. The lighting is wrong. Go outside to the parking lot or sit by the dumpster. |
10. | Good places for the Blues: |
a. Highway | |
b. Jailhouse | |
c. An empty bed | |
d. Bottom of a whiskey glass | |
11. | Bad places for the Blues: |
a. Nordstrom's | |
b. Gallery openings | |
c. Ivy league institutions | |
d. Golf courses | |
12. | No one will believe it's the Blues if you wear a suit, 'less you happen to be a old ethnic person, and you slept in it. |
13. | You have the right to sing the Blues if: |
a. You older than dirt | |
b. You blind | |
c. You shot a man in Memphis | |
d. You can't be satisfied | |
14. | You don't have the right to sing the Blues if: |
a. You have all your teeth | |
b. You were once blind but now can see | |
c. The man in Memphis lived | |
d. You have a pension fund | |
15. | Blues is not a matter of color. It's a matter of bad luck. Tiger Woods cannot sing the blues. Sonny Liston could. Ugly white people also got a leg up on the blues. |
16. | If you ask for water and your darlin' give you gasoline, it's the Blues |
17. | Other acceptable Blues beverages are: |
a. Cheap wine | |
b. Whiskey or bourbon | |
c. Muddy water | |
d. Nasty black coffee | |
18. | The following are NOT Blues beverages: |
a. Perrier | |
b. Chardonnay | |
c. Snapple | |
d. Slim Fast | |
19. | If death occurs in a cheap motel or a shotgun shack, it's a Blues death. Stabbed in the back by a jealous lover is another Blues way to die. So is the electric chair, substance abuse and dying lonely on a broke-down cot. You can't have a Blues death if you die during a tennis match or while getting liposuction. |
20. | Some Blues names for women: |
a. Sadie | |
b. Big Mama | |
c. Bessie | |
d. Fat River Dumpling | |
21. | Some Blues names for men: |
a. Joe | |
b. Willie | |
c. Little Willie | |
d. Big Willie | |
22. | Persons with names like Michelle, Amber, Debbie, and Heather can't sing the Blues no matter how many men they shoot in Memphis. |
23. | Make your own Blues name Starter Kit: a. name of physical infirmity (Blind, Cripple, Lame, etc.) b. first name (see above) plus name of fruit (Lemon, Lime, Melon, Kiwi, etc.) c. last name of President (Jefferson, Johnson, Fillmore, etc.) For example: Blind Lime Jefferson, Jackleg Lemon Johnson or Cripple Kiwi Fillmore, etc. (Well, maybe not "Kiwi.") |
24. | I don't care how tragic your life: if you own even one computer, you cannot sing the blues. |
mercoledì 30 maggio 2012
martedì 22 maggio 2012
domenica 13 maggio 2012
lunedì 7 maggio 2012
pavilion g6 Atheros wifi Debian solution
sabato 5 maggio 2012
venerdì 4 maggio 2012
John Lee Hooker / Bottle Up And Go
(Lyrics)
Well, mama killed a chicken
Thought it was a duck
Put him on the table with his legs stickin' up
You gotta bottle up and go, yeah
You gotta bottle up and go
Well, ya high pile o' women
Sho' gotta bottle up and go
May be old, may be gray
You ain't too old just to shift them gears
You gotta bottle up and go
You gotta bottle up and go
You gotta bottle up and go
Sho' gotta bottle up and go
Yeah
Well, a nickel is a nickel, dime is a dime
House full-a chillun and now one's mine
I gotta bottle up and go, I gotta bottle up and go
Well, you high pile o' women sho' gotta bottle up and go
domenica 22 aprile 2012
Un buon modo di installare gnu/linux
$ mkfs.xxxx /dev/hdxx
$ mkswap /dev/hdxx
$ mount /dev/hdxx /mnt
$ swapon /dev/hdxx
$setup
$ mount --bind /dev /mnt/dev
$ mount --bind /tmp /mnt/tmp
$ mount -t proc proc /mnt/proc
$ mount -t sysfs none /mnt/sys
$ chroot /mnt /bin/bash
$passwd
//edita i file di configurazione: tra cui fstab
$ cd /usr/src/linux-2.6.35.x
$ make menuconfig
$ make all
$ make modules_install
$ cp arch/x86/boot/bzIma
...e installa il boot loader grub o lilo
sabato 21 aprile 2012
lunedì 19 marzo 2012
sabato 17 marzo 2012
Alla base dei dati.
Con 1 bit ho 2 possibili valori,
con 2 bit ho 2x2=4 possibili valori,
con 3 bit ho 2x2x2=8 possibili valori,
con 4 bit ho 2x2x2x2=16 possibili valori,
Cosi' come in base 10 ho 10, 10^2, 10^3 = 10, 100, 1000 in base 2 ho 2, 2^2, 2^4, 2^5 = 2, 4, 8, 16, 32 .
Il byte (8 bit) e' considerata l'unita' standard successiva al bit:
Numero di bit Possibili Valori Valore Rappresentato
1 2 2
2 2x2 4
3 2x2x2 8
4 2x2x2x2 16
5 2x2x2x2x2 32
6 2x2x2x2x2x2 64
7 2x2x2x2x2x2x2 128
8 2x2x2x2x2x2x2x2 256
[...]
Ecco perche' il numero 256 e' sempre presente nelle nostre giornate.
sabato 10 marzo 2012
Joomla! , aggiornamento e problema loading feed
Ho aggiornato un paio di siti dalla versione 1.7 alla 2.5.2, visto che per motivi di sicurezza non si puo' aggiornare direttamente tramite Sito->Manutenzione->Aggiorna ho scaricato l'aggiornamento dal sito joomla.it e ho seguito i passi seguenti:
1. ho meso il sito offline
2. ho pulito la chache
3. ho fatto un backup
4. ho caricato il pacchetto dell'aggiornamento sul server sostituendo tutti i file
5. su Estensioni->Aggiorna ho aggiornato tutte le estensioni
6. Ho rimesso il sito online.
Ho riscontrato anche un problema di Caricamento Feed ed il motivo era un modulo di newsfeed che sempre per motivi di sicurezza dava fastidio al sistema.
martedì 6 marzo 2012
Arch: problema dipendenze.
ho provato un'improbabile pacman -Sy pacman e forse funziona, a questo punto il problema scala ed ora mi trovo in alta marea, ho a che fare con le chiavi, pacman-key e' il tool che permette di gestire le chiavi.
prima di tutto faccio pacman-key --init
le info sulle chiavi si trovano in /etc/pacman.d/gnupg/gpg.conf , ma non mi servono a molto, invece mi servono le chiavi, le ho trovate QUI.
e utilizzo questo script per aggiornare la lista delle chiavi di pacman-key:
#/bin/bash
for key in 0x6AC6A4C2 0x824B18E8 0x4C7EA887 0xCDFD6BB0 0xFFF979E7; do
pacman-key --recv-keys $key
pacman-key --lsign-key $key
printf 'trust\n3\nquit\n' | gpg --homedir /etc/pacman.d/gnupg/ \
--no-permission-warning --command-fd 0 --edit-key $key
done
L'output e' buono...ma ho ancora degli impicci con l'affidabilita' delle chiavi..e ora ho anche lezione.
..rieccomi:
gestire le singole chiavi per assegnare loro un livello di affidabilita':
pacman-key --edit-key
gpg>lsign
... nulla, gia' segnate... allora provo cambiando il keyserver in /etc/pacman.d/gnupg/gpg.conf
comunque mi da conflitti tra eclipse e xulrunner.
Allora provo a rimuovere /etc/pacman.d/gnupg e a fare un pacman-key --init per rigenerare il tutto.
Ho anche provato a sostituire il keyserver e ho sistemato tutte le chiavi, come keyserver ho messo hkp://pgp.mit.edu ma il problema non e' gpg.
Infatti leggo che nella mia assenza trimestrale dai forum ci sono molte novita', tra cui module-init-tools che e' stato sostituito da kmod, il sistema mi chiede di sostituire anche altri pacchetti, che come kmod pero' gestiscono i moduli, quindi io non mi sentivo di cambiare, ora faccio le sostituzioni che mi richiede pacman, elimino i programmi gestiti da progetti defunti e provo l'aggiornamento. Funziona.
L'aggiornamento e' di piu' di 700 mega, e preparo la macchina all'intervento: BACKUP!!!
..fine della storia.
lunedì 27 febbraio 2012
Il tragico distacco di una persona per bene.
Un modello efficace di persuasione e' quello di utilizzare mezzi estranei al fine. Ma chi lo fa non e' che un vigliacco.
La musica ad esempio e' un potente mezzo di aggregazione, e alcune volte e' ben utilizzato, per propaganda, artisti che vogliono che la propria arte rappresenti il volto della ribellione alle ingiustizie, e persone che ci si riconoscono.
Funziona bene, e' efficace; e visto che funziona bene altri "artisti", artisti della convinzione, utilizzano lo stesso mezzo per riuscire nel successo, portando il mezzo ad un livello inferiore e spargendo merda in giro.
Ora.. visto che la diversita' e' comune, l'ignoranza di questi untori non li rende consapevoli del fatto che esiste gente che raccoglie merda.
Ma prima, non li rende consapevoli che merda potrebbe essere la loro arte, e potrebbe portare a qualcosa di brutto.. di cui non si dichiarerebbero colpevoli. Come uno spacciatore di droga.
Gli amici si conoscono, si conoscono le loro debolezze, e le loro qualita', ma quando cadono in trappola di queste violenze ricorsive ci si rende conto di quanto siamo deboli, incastrati e stupidi.
Una foto di fascisti con un volto colorato tra di loro. La intitolerei "Il tragico distacco di una persona per bene".
Vuoi fare l'attivista? Documentati, decidi e guarda cosa ha fatto di buono la societa' e cosa ha fatto di sbagliato, conta, conta piu' che puoi.
venerdì 24 febbraio 2012
domenica 12 febbraio 2012
Java Drops... Precondizione e Postcondizione dei metodi.
La precondizione di un metodo e' una condizione che deve essere verificata prima che quel metodo sia invocato. Le precondizioni descrivono i parametri di un metodo e ogni altra assunzione che viene fatta a proposito dello stato corrente del programma al momento dell'invocazione.
Se un utente non soddisfa le precondizioni, allora il comportamento del metodo e' indefinito.
Cio' significa che esso puo' lanciare un'eccezione, procedere con un valore non corretto dello stato, oppure tentare di ripristinare uno stato corretto.
A ogni modo, non dovreste mai aspettarvi un comportamento coerente dall'esecuzione di un metodo, se le sue precondizioni on sono soddisfatte.
Postcondizione:
La postcondizione di un metodo esprime una condizione che deve essere verificata al termine dell'esecuzione del metodo stesso. Le postcondizioni descrivono delle proprieta' relative ai valori di ritorno e a qualsiasi altro effetto collaterale che l'esecuzione del metodo ha causato sullo stato corrente del programma. Nel momento in cui invocate un metodo, dovete assumere che il metodo termini soddisfacendo tutte le sue precondizioni. Se invece state scrivendo un metodo, dovreste documentare tutte le postcondizioni in modo che gli altri programmatori sappiano cosa aspettarsi dall'esecuzione del metodo.
sabato 11 febbraio 2012
Jah Rastafari - Culture
Too long in our little ghetto,
Wrong has been going on, let's protest,
Children of Israel who really, love rights.
For Jah set I and I as a watchman,
Around Babylonian walls,
Oh.. yes, children of Israel.
I and I and I will never hold no peace while we are penalized,
Day nor night.
We gonna bust down Babylon's wall,
Preparing the way, preparing the way for Jah People,
Fight down war and crime, Rasta fight down war and crime,
Fight down war and crime and build up di righteousness.
Jah Rastafari..
Jah Rastafari..
Jah Rastafari..
For Jah set I and I as a watchman,
Around Babylonian walls,
Oh.. yes, children of Israel.
I and I and I should never hold no peace while wrong is going on,
Day nor night.
We should bust down Babylon's wall,
Preparing the way, preparing the way for Jah People,
Fight down war and crime, Rasta fight down war and crime,
Fight down war and crime and build up di righteousness.
Jah Rastafari..
Jah Rastafari..
Jah Rastafari..
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...
-
My intent is to configure SSO on Keycloak and Liferay. I have createad a docker-compose environment with Keycloak: #####################...
-
Precondizione: La precondizione di un metodo e' una condizione che deve essere verificata prima che quel metodo sia invocato. Le preco...