a2ensite mysite # ‘mysite’ refers to /etc/apache2/sites-available/mysite # This creates the symbolic link between configuration files in /etc/apache2/sites-available and /etc/apache2/sites-enabled a2dissite mysite # disable the site
View CSS hacks for IE6, IE7 #someElement { background: red; /* modern browsers */ *background: green; /* IE 7 and below */ _background: yellow; /* IE6 exclusively...Read More
View Generar un password automatico function randomPass($longitud) { $pattern = “1234567890abcdefghijklmnopqrstuvwxyz”; for($i=0;$i<$longitud;$i++) { $key .= $pattern{rand(0,35)}; }...Read More
View Port mirroring on cisco and juniper switches - Catalyst Cisco 6509 or 3750: switch#configure terminal switch(config)#monitor session 1 source interface GigabitEthernet x/x switch(config)#monitor session 1 destination interface GigabitEthernet x/x - Catalyst...Read More
View Mettre en forme du texte avec vim gq met en forme le texte en fonction des options 'textwidth' et 'formatoptions'. Par défaut, la longueur de la ligne mise en forme est...Read More