Skip to content

Instantly share code, notes, and snippets.

View screeny05's full-sized avatar

Sebastian Langer screeny05

View GitHub Profile
@emtii
emtii / sw5.htaccess
Created December 1, 2016 10:50
Shopware 5 mod_expires & mod_filter
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE "application/atom+xml" \
"application/javascript" \
"application/json" \
"application/ld+json" \
"application/manifest+json" \
"application/rdf+xml" \
"application/rss+xml" \
"application/schema+json" \
"application/vnd.geo+json" \
@emtii
emtii / shopware_get_all_versions_to_local.sh
Last active February 2, 2017 10:39
wget all shopware versions available as zip archives on github to local and unzip those.
#!/bin/bash
# array of file names in github = shopware versions
ARRAY=( v5.2.16 v5.2.15 v5.2.14 v5.2.13 v5.2.12 v5.2.11 v5.2.10 v5.2.9 v5.2.8 v5.2.7 v5.2.6 v5.2.5 v5.2.4 v5.2.3 v5.2.2 v5.2.1 v5.2.0 v5.1.6 v5.1.5 v5.1.4 v5.1.3 v5.1.1 v5.1.0 v5.0.4 v5.0.3 v5.0.2 v5.0.1 v5.0.0 4.3.7 4.3.6 4.3.3 4.3.2 4.3.1 4.3.0 4.2.3 4.2.2 4.2.1 4.2.0 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 )
# iterate filenames, wget files, unzip files
for (( i = 0; i < ${#ARRAY[@]}; ++i )); do
DIRNAME="shopware-${ARRAY[i]}"
FILENAME="${ARRAY[i]}.zip"