One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
""" | |
A basic Shopware 5 API client I threw together for a project. There's a few gotchas in here that | |
I thought are useful enough to others to publish it. But please take it as is - it works for my | |
purpose (processing Shopware articles daily), I make no claims beyond that. | |
""" | |
import logging | |
import os | |
import requests |
{extends file="parent:frontend/advanced_menu/index.tpl"} | |
{block name="frontend_plugins_advanced_menu_button_category"}{/block} | |
{block name="frontend_plugins_advanced_menu_button_close"}{/block} | |
{block name="frontend_plugins_advanced_menu"} | |
{function name="emz_categories_top" level=0} | |
{$columnIndex = 0} |
# install gender http://www.php.net/manual/en/book.gender.php | |
sudo apt-get install libpcre3-dev | |
sudo pecl install gender | |
# generate data | |
mkdir ~/gender | |
sudo pear run-scripts pecl/gender | |
# eneble module | |
echo 'extension=gender.so' >> /etc/php5/cli/php.ini |
var http = require("http"), | |
url = require("url"), | |
path = require("path"), | |
fs = require("fs") | |
port = process.argv[2] || 8888; | |
http.createServer(function(request, response) { | |
var uri = url.parse(request.url).pathname | |
, filename = path.join(process.cwd(), uri); |