Extend Magento Product Attribute Api

# OPTIONAL, install patch
apt-get install -y patch

# patch on command line
cd /var/www/
wget http://www.panticz.de/sites/default/files/api.xml_.diff -O /tmp/api.xml.diff
patch -p2 ./app/code/core/Mage/Catalog/etc/api.xml < /tmp/api.xml.diff

wget http://www.panticz.de/sites/default/files/Api.php_.diff -O /tmp/Api.php.diff
patch -p2 ./app/code/core/Mage/Catalog/Model/Product/Attribute/Api.php < /tmp/Api.php.diff

1. go to magento installation folder, for example /var/www/magento

2.

Install Magento

Installation
<?php
$URL="https://raw.githubusercontent.com/panticz/magento/master/scripts/install_magento.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 "

";
?>

LINKS
https://linoxide.com/tools/install-magento-ubuntu/
http://YOUR_SERVER_IP/magento/index.php/ - store frontend
http://YOUR_SERVER_IP/magento/index.php/admin/dashboard/ - admin menu
http://YOUR_SERVER_IP/magento/downloader/index.php - connect manager
http://www.magentocommerce.com/wiki/groups/227/installing_magento_via_shell_ssh
http://www.magentocommerce.com/wiki/general/installing-magento-on-slicehost-with-ubuntu
http://www.magentocommerce.com/wiki/groups/227/command_line_installation_wizard
http://svn.magentocommerce.com/source/branches/1.1-trunk/install.php
http://blog.magentomagik.com/how-to-install-magento-extensions-magento-extension-installation-guide/ - How to install magento extensions

MagentoConnector - Connecting to Magento API with Java using SOAP

# continuation on github
https://github.com/magja/magja

Project Magja on Google Code:
http://code.google.com/p/magja/

Magento Connector for Java, a free wrapper / library to manage Magento informations from a Java application. The latest version (source code) can be downloaded from
https://github.com/panticz/magja
http://code.google.com/p/magja/

If someone is interested in co-development, please contact my over my homepage,
http://www.panticz.de/contact

How to start:
1.

Create c't Debian Server installation USB pen (ctsrv4stick)

sudo su

DEVICE=/dev/sdb
VOLUME=ctsrv4stick

# mount usb
umount ${DEVICE}1

# create filesystem on usb pen
mkfs.vfat -n ${VOLUME} ${DEVICE}1

# mount usb
mount ${DEVICE}1 /mnt/

# install syslinux and make stick bootable
install-mbr ${DEVICE}
syslinux -f ${DEVICE}1

# unzip support files from ct dvd
unzip /media/ctsw0905/support/stickins.zip -d /mnt/

# create exclude list
cat < /tmp/exclude.lst
/media/ctsw0905/bilder
/media/ctsw0905/html
/media/ctsw0905/scrshots
/media/ctsw0905/software
/media/ctsw0905/tools
/media/ctsw0905/video2brain
EOF

# create iso fro

Ubuntu: Emergency LiveCD from harddisk (direct boot from iso file)

sudo su

mkdir /boot/iso
wget http://releases.ubuntu.com/18.04/ubuntu-18.04.2-desktop-amd64.iso -O /boot/iso/buntu-18.04.2-desktop-amd64.iso

cat <> /boot/grub/grub.cfg
menuentry "Ubuntu-18.04.2 CLI" {
loopback loop /boot/iso/ubuntu-18.04.2-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/iso/ubuntu-18.04.2-desktop-amd64.iso toram init 2 --
initrd (loop)/casper/initrd
}

menuentry "Ubuntu-18.04.2 GUI" {
loopback loop /boot/iso/ubuntu-18.04.2-desktop-amd64.iso
linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=/boot/

mkEbook.sh

#!/bin/bash

# check parameter
if [ $# -lt 1 ]; then
echo "USAGE: $0 LIST_NO"
exit
else
LISTID=$1
fi

function create_pdfmark() {
cat < /tmp/pdfmarks
[ /Author (panticz.de)
/Creator (panticz.de)
/Producer (panticz.de)
/Keywords ($1, panticz.de)
/Title (panticz.de ${LISTID} - $1)
/Subject (panticz.de ${LISTID})
/DOCINFO pdfmark
EOF
}

for DIR in *
do
if [ -d "${DIR}" ]; then
# convert to lowercase
OUT=$(echo ${DIR} | tr "[:upper:]" "[:lower:]")

# filter
OUT="${OUT// /_}" # replace " " with "_"
OUT="${OUT//ä/ae}" # replace "ä" with "ae"

Java2Snom

public String getSnomSetting(String phoneIp, String field) {
String value = "";

try {
URL url = new URL("http://" + phoneIp + "/settings.htm");
BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream()));

String inputLine;
while ((inputLine = in.readLine()) != null) {
if (inputLine.indexOf(field) == 0) {
value = inputLine.substring(inputLine.indexOf(":") + 1).trim();
}
}

in.close();
} catch (Exception e) {
System.out.println("[!] getSnomSetting:" +