/^(("[\w-\s]+”)|([\w-]+(?:\.[\w-]+)*)|(”[\w-\s]+”)([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i

Hi to everybody,
recently i’ve got a problem with few lines of javascript code:

obj = new Image()
obj.src =_imageToShow;
obj.onload = function loaded()
{
// do something..
}

In Internet Explorer 6 o 7, if the image is already in cache the loaded function isn’t called.
In Firefox or other (decent) browsers you do not experience this problem.
This is because Internet Explorer throws the onload event immediately if the image is already in cache.
To avoid this problem you have to exchange the order of the 2 lines about src and onload assignment:

obj = new Image()
obj.onload = function loaded()
{
// do something..
}
obj.src =_imageToShow;

If you are looking for a free and open source alternative to VirtualPC and Vmware go to:
http://www.virtualbox.org
It is very compact, easy and fast. It’s also available for any platform including a lot of linux distros.

Se state cercando una alternative gratuita e open source a VirtualPC e VMware andate su:
http://www.virtualbox.org
E’ un virtualizzatore molto compatto, facile da installare e veloce. Inoltre per gli amanti come me delle distro linux è anche presente per moltissime sue versioni (compresa l’ultima mia favorita la Ubuntu 9.04)

import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(some_mc, {type:Fade, direction:Transition.IN, duration:3, easing:Strong.easeOut});

Legenda:
Blinds La classe Blinds mostra l’oggetto clip filmato mediante rettangoli che scompaiono o compaiono.
Fade La classe Fade applica all’oggetto clip filmato una dissolvenza in entrata o in uscita.
Fly La classe Fly fa comparire l’oggetto clip filmato facendolo scorrere da una direzione particolare.
Iris La classe Iris rivela l’oggetto clip filmato utilizzando una maschera animata di forma quadrata o circolare che si ingrandisce o si riduce.
Photo Fa comparire o scomparire l’oggetto clip filmato con un effetto simile al flash fotografico.
PixelDissolve La classe PixelDissolve mostra l’oggetto clip filmato utilizzando dei rettangoli che scompaiono e compaiono in modo casuale ma secondo uno schema a scacchiera.
Rotate La classe Rotate ruota l’oggetto clip filmato.
Squeeze La classe Squeeze modifica in scala l’oggetto clip filmato in orizzontale o in verticale.
Wipe La classe Wipe mostra o nasconde l’oggetto clip filmato utilizzando la maschera animata di una forma che si sposta in senso orizzontale.
Zoom La classe Zoom ingrandisce o riduce l’oggetto clip filmato modificandone in scala le proporzioni.

Generosità, Moralità, Pazienza, Perseveranza, Concentrazione e Saggezza.

System Menu, then Administration, then Synaptic

In Settings, Packet Archives, Thirdy party Software add:

deb http://ppa.launchpad.net/stemp/ubuntu intrepid main

go in Synaptic and search: synfig

install synfigstudio and all dependencies proposed

bye!

Open the terminal and with root privileges type this commands:

echo deb http://akirad.cinelerra.org akirad-intrepid main | sudo tee /etc/apt/sources.list.d/akirad.list

wget -q http://akirad.cinelerra.org/dists/akirad.key -O- | sudo apt-key add -

sudo apt-get update

sudo apt-get install cinelerra

Installing Apache

1. Open Terminal (Application -> Accessories -> Terminal) and execute the following command:

sudo apt-get install apache2

2. When the setup is complete you can check if the Apache is working properly by pointing your browser to http://localhost. If you see the text “It works!”, it means Apache is working just fine.

3. Towards the end of the installation if you see a message like this inside Terminal, “Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName“, you can fix this by executing the following command. It will open Gedit (text editor).

gksu gedit /etc/apache2/conf.d/fqdn

4. When Gedit opens, type “ServerName localhost” inside the file and click Save. Then close the file.

Installing php5

1. Inside Terminal, execute the following command:

sudo apt-get install php5 libapache2-mod-php5

2. When setup is complete, you have to restart Apache so that php5 will work on Apache. Execute the following command in Terminal:

sudo /etc/init.d/apache2 restart

3. You can now test to see if php5 works with Apache. To do this you can create a new php file inside your /var/www/ folder. (The text in red is the filename. You can put any name.)

sudo gedit /var/www/info.php

4. The command above will open Gedit. Just type in the following php code, save and close the file:

5. Now point your browser to “http://localhost/info.php” and see if you can see the text “yoo hooo!” and a lot of information about your php5 installation. If you see that, it means your have successfully installed php5.

Installing MySQL

1. Inside Terminal, execute the following command:

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

2. Towards the end of the installation you will be prompted to set your root or admin password (see pic below)

Installing phpMyAdmin

1. Inside Terminal, execute the following command:

sudo apt-get install phpmyadmin

2 During the installation you will be asked to select the webserver that would be used to run phpMyAdmin. Select Apache2 (see pic below).

3. After the installation is over execute the following command to copy the phpmyadmin folder into the /var/www/ directory. (By default it is installed in /usr/share/phpmyadmin/ directory.)

sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin

4. Now you can go to the phpMyAdmin login page by pointing your browser to: http://localhost/phpmyadmin/index.php

The username for MySQL and phpMyAdmin is “root”. The password will be what you set in step 2 (under installing MySQL).

Berlusconi darà i nostri soldi (tasse) ai francesi per costruire 4 (non una) centrali nucleari su suolo (nostro) pubblico italiano per produrre energia (non nostra) loro che poi ci rivenderanno a carissimo prezzo e che dovremmo importare (noi) dai francesi anche se prodotta qui in Italia….

Da che ho saputo questa notizia continuo a meditare: “Provo profonda pena per la povertà di quell’uomo (quel piccolo comune mortale ed essere umano che ama farsi chiamare presidente). Provo grandissima compassione per le immani sofferenze che il suo ego gonfio e mortalmente pervasivo provoca a tantissime persone indifese, deboli e sottomesse con la forza.”

…ma il saggio zen dice: ”Tutto cambia sempre in continuazione. Proprio tutto.”

guardatevi questa video intervista a Veronesi e rabbrividite:


Poi leggete la risposta dell’onesto professor Montanari (che stimo davvero molto) che malvolentieri replica alle uscite poco dignitose di Veronesi…

http://www.stefanomontanari.net/index.php?option=com_content&task=view&id=1613&Itemid=1

PS: vedo che tra i partners della Conferenza Mondiale The Future of Science organizzata dalla Fondazione Umberto Veronesi c’è Veolia… mmh… ma la Veolia non costruisce e gestisce diversi inceneritori su tutto il nostro martoriato territorio nazionale?

http://www.fondazioneveronesi.it/partners.html

Mah!

Older Posts »

Onyrix.com (cc) 1998-2009 by Dino Olivieri - RSS Feeds:
Posts
Comments

Credits & disclaimer: Onyrix.com is NOT a commercial website and is NOT sponsored by any subject. This website does NOT contain advertising.
Cited trademarks are properties of their respective owners. The rest is original and some rights are reserved: read the Creative Common License.
Onyrix.com encourages: participation, free information, social web, common rights, open source and remixability.
This website is a personal and non-commercial customization of Wordpress and Mistylook by Sadish