Compile error on Intrepid

/home/pako/xserver-xorg-video-ati-6.6.3# fakeroot ./debian/rules binary
 
mkdir stampdir
>stampdir/stampdir
if [ ! -e stampdir/patches ]; then \
		mkdir stampdir/patches; \
		ln -s stampdir/patches .pc; \
		echo 2 >stampdir/patches/.version; \
	fi; \
	if [ ! -e stampdir/log ]; then \
		mkdir stampdir/log; \
	fi; \
	if [ ! -e patches ]; then \
		ln -s debian/patches patches; \
	fi; \
	>stampdir/prepare
if ! [ `which quilt` ]; then \
		echo "Couldn't find quilt.

Install Drupal SMTP authentication support module

# install SMTP Authentication Support
http://drupal.org/project/smtp
 
download
http://ftp.drupal.org/files/projects/smtp-6.x-1.0-beta4.tar.gz
extract
copy smtp /var/www/sites/all/modules
 
# install PHPMailer
#http://phpmailer.worxware.com/
#http://sourceforge.net/projects/phpmailer/files/phpmailer%20for%20php5_6/
 
download phpMailer v2.3 (NOT 5.x)
http://downloads.sourceforge.net/phpmailer/phpMailer_v2.3.tar.gz
extract
rename phpMailer_v2.3 to phpmailer (LOWERCASE!)
copy phpMailer/ /sites/all/modules/smtp/
 
 
# Configure
# Enable the SMTP Authentication Support module 
Admi

convertToUtf.php

<?php
function convertToUtf($string) {
	$string = str_replace("ü", "ü", $string);
	$string = str_replace("Ãœ", "Ü", $string);
	$string = str_replace("ö", "ö", $string);
	$string = str_replace("Ö", "Ö", $string);
	$string = str_replace("ä", "ä", $string);
	$string = str_replace("Ä", "Ä", $string);
	$string = str_replace("ß", "ß", $string);
 
	return $string;
}
?>

Add embeded Flash video to your homepage

# 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

install Java database (JDBC) driver for MySQL

sudo apt-get install libmysql-java
 
# old, manuall installation
# wget http://ftp.gwdg.de/pub/misc/mysql/Downloads/Connector-J/mysql-connector-java-5.1.6.tar.gz -P /tmp
# tar xzf /tmp/mysql-connector-java-5.1.6.tar.gz -C /tmp
# cp /tmp/mysql-connector-java-5.1.6/mysql-connector-java-5.1.6-bin.jar /opt/gwt-linux/
 
# LINKS
http://packages.ubuntu.com/feisty/libs/libmysql-java

Install Google Web Toolkit

#!/bin/bash
 
#URL=http://google-web-toolkit.googlecode.com/files/gwt-linux-1.7.1.tar.bz2
URL=http://google-web-toolkit.googlecode.com/files/gwt-2.0.0.zip
 
# download
wget ${URL} -P /tmp
 
# install
unzip /tmp/gwt-*.zip -d /tmp
rm /tmp/gwt-*.zip
sudo mv /tmp/gwt-* /usr/share
 
 
# GWT Designer
apt-get install xulrunner-1.9.2
http://dl.google.com/eclipse/inst/d2gwt/beta/3.7
 
 
# Links
http://code.google.com/p/google-web-toolkit/

Create GWT MySQLConn project under Netbeans

# HowTo
1. install Netbeans: http://www.panticz.de/install_netbeans
1.1 install http://www.panticz.de/install-GWT4NB
2. install GWT: http://www.panticz.de/install_gwt
3. install MySQL driver: http://www.panticz.de/install_mysql_driver
4.

Ubuntu MID USB boot

DEVICE=/dev/mmcblk0
IMG=ubuntu-8.10-mid-lpia.img
VOLUME=SDCARD_2GB
 
wget http://releases.ubuntu.com/8.10/${IMG} -P /tmp
 
mkfs.vfat -n ${VOLUME} ${DEVICE}p1
syslinux -f ${DEVICE}p1
 
install-mbr ${DEVICE}
 
mount ${IMG} /mnt/ -o loop
cp -a /mnt/* /media/${VOLUME}
cp -a /mnt/.disk/ /media/SDCARD_2GB
umount /mnt
 
sync
umount /media/${VOLUME}
 
 
 
# netboot
LABEL linux
   MENU LABEL Ubuntu MID 
   KERNEL ubuntu-8.10-mid/casper/vmlinuz
   APPEND initrd=ubuntu-8.10-mid/initrd.img boot=casper netboot=nfs nfsroot=192.168.1.2:/tftpboot/ubuntu-8.10-mid file=/cdrom/preseed/mid.seed p

Install rTorrent

#!/bin/bash
 
useradd -m rtorrent
passwd rtorrent
apt-get install -y rtorrent screen
 
su rtorrent
cd ${HOME}
 
wget http://de.archive.ubuntu.com/ubuntu-releases/intrepid/ubuntu-8.10-desktop-i386.iso.torrent
wget http://de.archive.ubuntu.com/ubuntu-releases/intrepid/ubuntu-8.10-desktop-amd64.iso.torrent
 
screen -S rtorrent
rtorrent *.torrent

GWT + MySQL + Netbeans Demo

# INFO
url : jdbc:mysql://localhost:3306/Bible
user: gwt-examples
pass: password
 
# create database and user
mysql -u root -p
create database Bible;
CREATE USER 'gwt-examples' IDENTIFIED BY 'password';
grant all on Bible.* to 'gwt-examples'@'%' identified by "password";
#grant all on Bible.* to 'gwt-examples'@'192.168.1.10' identified by "password";
#grant all on Bible.* to 'gwt-examples'@'localhost' identified by "password";
commit;
quit;
 
# get gwt examples 
cd ${HOME}
svn checkout http://gwt-examples.googlecode.com/svn/trunk/ gwt-examples
 
# fill database
wget http://ken
Syndicate content