Install Wine

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.wine.sh";
echo "wget $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Downgrade to lastest Wine 1.2 (64 bit)
sudo apt-get remove wine1.4
cd /tmp
wget http://ie.archive.ubuntu.com/ubuntu/pool/universe/w/wine1.2/wine1.2_1.2.3-0ubuntu1_amd64.deb
wget http://ie.archive.ubuntu.com/ubuntu/pool/universe/n/nss-mdns/lib32nss-mdns_0.10-3.1ubuntu1_amd64.deb
sudo dpkg -i wine1.2_1.2.3-0ubuntu1_amd64.deb lib32nss-mdns_0.10-3.1ubuntu1_amd64.deb
wine --version

OPTIONAL: fake ie6 installation
wget kegel.com/wine/winetricks -P /tmp; sh /tmp/winetricks fakeie6

Compile wine
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get build-dep wine1.3
sudo apt-get --build source wine1.3
./configure
make

LINKS
http://appdb.winehq.org/ - supported applicatinos
http://www.winehq.org/site/download-deb - Wine for Debian based distributions
http://wiki.winehq.org/AdobePhotoshop
http://wiki.winehq.org/AdobeAcrobatPro

Auto update Ubuntu PXE files

Update script
<?php
$URL="https://raw.githubusercontent.com/panticz/preseed/master/pxe/scripts/update.ubuntu.pxe.files.sh";
echo "wget $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Create cronjob
<?php
$URL="https://raw.githubusercontent.com/panticz/preseed/master/pxe/scripts/update.ubuntu.pxe.files.cronjob";
echo "wget $URL -O - /etc/cron.d/update.ubuntu.pxe.files.cronjob; chmod a+x update.ubuntu.pxe.files.cronjob";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Configure PXE
wget https://installit.googlecode.com/hg/preseed/preseed.precise.i386.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.precise.i386.conf
wget https://installit.googlecode.com/hg/preseed/preseed.precise.amd64.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.precise.amd64.conf
wget https://installit.googlecode.com/hg/preseed/preseed.quantal.i386.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.quantal.i386.conf
wget https://installit.googlecode.com/hg/preseed/preseed.quantal.amd64.conf -O /var/lib/tftpboot/pxelinux.cfg/preseed.quantal.amd64.conf

vi /var/lib/tftpboot/default
MENU SEPARATOR
MENU BEGIN
MENU TITLE + Preseed
MENU INCLUDE pxelinux.cfg/preseed.oneiric.i386.conf
MENU INCLUDE pxelinux.cfg/preseed.oneiric.amd64.conf
MENU INCLUDE pxelinux.cfg/preseed.precise.i386.conf
MENU INCLUDE pxelinux.cfg/preseed.precise.amd64.conf
MENU INCLUDE pxelinux.cfg/preseed.quantal.i386.conf
MENU INCLUDE pxelinux.cfg/preseed.quantal.amd64.conf

MENU SEPARATOR
LABEL Back
MENU EXIT
MENU END

Magento: formal customer name

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/formal/Customer.php.formal.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/formal/Hello.php.formal.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/formal/Order.php.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/formal/hello.phtml.formal.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/formal/order_new.html";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

ToDo
file: formal.sql.txt ?
fix other "Hallo"s / "Hello"s
cd ./app
grep "getCustomerName()" * -R | grep Hallo

Links
http://www.magentocommerce.com/boards/v../viewthread/37850/P0/

Magento: Use customer suffix as salutation

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/salutation/Abstract.php.salutation.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/salutation/Customer.php.salutation.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/salutation/config.xml.salutation.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

OPTIONAL: fix address block
<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/salutation/config.xml.address.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Links
http://www.magentocommerce.com/boards/v../viewthread/37850/P0/
http://www.magentocommerce.com/boards/viewthread/176907/#t224666
http://www.magentocommerce.com/magento-connect/mxperts/extension/1603/mxperts--customeraddress

Magento: disable share wishlist

Disable Share Wishlist
mkdir -p ./app/design/frontend/default/default/template/wishlist/
cp ./app/design/frontend/base/default/template/wishlist/view.phtml ./app/design/frontend/default/default/template/wishlist/view.phtml
wget -nv http://dl.dropbox.com/u/4170695/magento/wishlist/view.phtml.diff -O /tmp/view.phtml.diff
patch -p2 ./app/design/frontend/default/default/template/wishlist/view.phtml <?php echo "<" ?> /tmp/view.phtml.diff
<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/wishlist/view.phtml.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Magento: Customize Recently Viewed Products block

Move block from right to bottom
<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/recently-viewed/recently-viewed.xml";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Fix design
<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/recently-viewed/recently-viewed.css";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Patch product_viewed.phtml
mkdir -p ./app/design/frontend/default/default/template/reports/
cp ./app/design/frontend/base/default/template/reports/product_viewed.phtml ./app/design/frontend/default/default/template/reports/product_viewed.phtml
wget -nv http://dl.dropbox.com/u/4170695/magento/recently-viewed/product_viewed.phtml.diff -O /tmp/product_viewed.phtml.diff
patch -p2 ./app/design/frontend/default/default/template/reports/product_viewed.phtml <?php echo "<" ?> /tmp/product_viewed.phtml.diff
<?php
$URL="http://" . $_SERVER['SERVER_NAME'] . "/sites/default/files/magento/recently-viewed/product_viewed.phtml.diff";
echo "$URL";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Change item count to 4
Go Admin > System > Configuration > Catatlog > Catalog
Recently Viewed/Compared Products
Default Recently Viewed Products count: 4

or run this SQL command:
UPDATE core_config_data SET value = '4' WHERE path = 'catalog/recently_products/viewed_count';

Links
http://svn.magentocommerce.com/source/branches/1.3/app/design/frontend/default/default/template/reports/home_product_viewed.phtml