Change the basedomian of your blog

Sometimes you have to change the base domains of your blog. Therefore there are the following possibilities (ATTENTION: These snippets are thought to be used with a single site installation): Backend settings If you have access to the Backend of your WordPress installation, you can change the basedomain of your blog under: Settings -> General -> WordPress […]

Install WP-CLI into a separated folder

WP-CLI (http://wp-cli.org/) is a great commandline tool to manage your WordPress installation. It has countless commands. For example to: change database settings clear the cache manage comments and posts install plugins … The “normal” installation is well documented on the project page. But I prefer to store my project tools (f.e.: vagrant, coposer, etc.) in […]

Make additional product attributes available over REST-API

To do this you only have to add a api2.xml in your modules etc folder that puts the necessary product tags into the node /config/api2/resources/product/attributes (xPath): <config> <api2> <resources> <product> <attributes> <sheldon_ean>EAN</sheldon_ean> <sheldon_articlenbr>Articlenumber (Model)</sheldon_articlenbr> <sheldon_stylenbr>Stylenumber</sheldon_stylenbr> <sheldon_color>Color</sheldon_color> <sheldon_size>Size</sheldon_size> <sheldon_material_description>Material Description</sheldon_material_description> <sheldon_supplement>Supplement</sheldon_supplement> <sheldon_carehints>Carehints</sheldon_carehints> <sheldon_is_aboable>Is aboable product</sheldon_is_aboable> <sheldon_is_sale_product>Is sale product</sheldon_is_sale_product> <sheldon_is_new_product>Is new product</sheldon_is_new_product> <sheldon_is_reddot_product>Is reddot Product</sheldon_is_reddot_product> <sheldon_reddot_years>Product Reddotyears</sheldon_reddot_years> […]

Install busware SCC board on Raspberry Pi

To use busware SCC boards (see busware shop) with FHEM you have to: Install FHEM (see my earlier blogpost) If not already root $> sudo su – Remove all reverences of the device ttyAMA0 (/dev/ttyAMA0) from /etc/inittab and /boot/cmdline.txt (if you use a Banana Pi you should look for ttyS2) $> nano /etc/inittab and replace #Spawn a getty on […]

FHEM Installation on Raspbian

To install FHEM into /opt/fhem you have to take the following steps: Switch to root mode: $> sudo su – Get archive key and add it to system keys: $> wget -qO – http://debian.fhem.de/archive.key | apt-key add – Add reposetory to your system sources: $> nano /etc/apt/sources.list and add the following line to the bottom :deb […]

Install Raspbian on a SD-Card

To install Rasbian on a SD-Card you have to follow these Steps Format SD-Card Fat32 (f.e. with GParted http://gparted.org/) Download Raspbian (or any other operation system) from http://www.raspberrypi.org/downloads/ Extract the downloaded zip-file Find out what is the devicepath of your SD-Card (you can use the df-command or get a list of partitions via linux-list-of-partitions) Execute the […]