# transparent image on mouse over (IE too!) <style type="text/css"> <!-- .content a:hover img { filter:alpha(opacity=75); opacity: 0.75; } --> </style> # LINKS http://www.mandarindesign.com/opacity.html #content p { font-family:Palatino,Georgia,'Times New Roman',serif; font-size:16px; line-height:1.5em; margin:0; padding:0 0 10px; }
# download and extract Flowplayer #wget http://flowplayer.org/releases/flowplayer/flowplayer-3.0.0.zip -P /tmp wget http://flowplayer.org/releases/flowplayer/flowplayer-3.1.0.zip -P /tmp unzip /tmp/flowplayer*.zip -d /tmp # install mkdir -p /var/www/video/player/ cp /tmp/flowplayer/*.swf /var/www/video/player/ cp /tmp/flowplayer/example/flowplayer-3.0.0.min.js /var/www/video/player/ # copy your videos to /var/www/video/ # add source to page <script src="/video/player/flowplayer-3.0.3.min.js"></script> <a href="/video/VIDEO.flv" style="display:block;width:640px;height:360px" id
Drupal
API reference - Drupal 6.0 API
e-commerce suite
http://drupal.org/project/ubercart
HowTo update modules
install:
cumulus
download http://ftp.drupal.org/files/projects/cumulus-6.x-1.3.tar.gz
extract
upload to /modules/
download http://pratul.in/files/cumulus.js
upload to /modules/cumulus
configure:
admin/build/block/configure/cumulus/
Highlight color of cumulus: 000000
WP-Cumulus (3D Tag viewer)
http://wordpress.org/extend/plugins/wp-cumulus/
Reboot phone
"*" and "6" and "settings"
telnet
password: Cisco
Directory
External Directory
External Directory
USER_NAME
USER_PHONE
cat /var/lib/tftpboot/OS79XX.TXT
P003-08-2-00
cat /var/lib/tftpboot/SIP0007EB26EEBB.cnf
phone_label: "pako"
proxy1_address: "asterisk"
proxy1_port: 5060
line1_name: "pako"
# set domU parameter [ -z $DOMAIN_NAME ] && DOMAIN_NAME=webmail [ -z $DOMAIN_MAC ] && DOMAIN_MAC=00:11:22:7d:7e:7f [ -z $DOMAIN_RAM ] && DOMAIN_RAM=256Mb [ -z $DOMAIN_HDD ] && DOMAIN_HDD=2Gb # create domU http://www.panticz.de/Xen-domU-ubuntu-jaunty # add to autostart (optional) ln -s /etc/xen/${DOMAIN_NAME} /etc/xen/auto # start domU xm create -c ${DOMAIN_NAME} # install webmail http://www.panticz.de/install_roundcube
# create database mysql -u root -p create database drupal; CREATE USER drupalo IDENTIFIED BY 'drupalp'; grant all on drupal.* to 'drupalo'@'%' identified by "drupalp"; commit; quit; # create installation file on your webserver cat <<EOF> /var/www/drupal-install.php <?php # dowload system("wget http://ftp.drupal.org/files/projects/drupal-6.15.tar.gz"); # extract system("tar xzf ./drupal-*.tar.gz"); # move drupal files to current dir system("mv drupal-*/* ."); system("mv drupal-*/.* ."); # configure system("cp ./sites/default/default.settings.php ./sites/default/settin
Redirect http to https
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.panticz\.de [NC]
RewriteCond %{HTTP_HOST} !^$
RewriteRule ^(.*) http://www.panticz.de/$1 [L,R=301]
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}/$1 [L]
Allow directory listing
Options +Indexes
# Links
http://www.searchenginepromotionhelp.com/m/articles/search-engine-problems/url-redirect-safe.php
Show loaded modules
apache2ctl -M
Enable mod_rewrite module
a2enmod rewrite
/etc/init.d/apache2 force-reload
# change"AllowOverride None" to "AllowOverride All" in your /etc/apache2/sites-available/default for the directory in which you will use the mod_rewrite module
benchmark
apt-get install apache2-utils
ab -n 100 -c 10 http://www.google.com/ > ad.out
test
# echo "SetEnv REGISTER_GLOBALS 0" >> .htaccess
# start export JAVA_HOME=/usr/lib/jvm/jdk1.6.0 export JAVA_OPTS="$JAVA_OPTS -Xmx256m" /usr/local/apache-tomcat-5.5.20/bin/startup.sh # deploy /opt/SDK2/bin/asadmin deploy /tmp/Intranet.war
#!/bin/sh wget http://www.skype.com/go/getskype-linux-beta-ubuntu-32 -P /tmp sudo dpkg -i /tmp/skype-*.deb sudo apt-get install -f -y sudo su wget http://www.medibuntu.org/sources.list.d/karmic.list -O /etc/apt/sources.list.d/medibuntu.list apt-get update apt-get -y --force-yes install medibuntu-keyring apt-get update apt-get -y --force-yes install skype # OPTIONAL # disable ContactOnline / ContactOffline notification wget http://www.panticz.de/sites/default/files/config.xml_.diff -P /tmp/ patch -p2 ~/.Skype/*/config.xml < /tmp/config.xml_.diff # beta http://www.sk
Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!