Link in Template setzen, der die ScrollTo Funktion von Shopware benutzt:
<p>
<a href="#"
data-scroll="true"
data-scrollTarget="#category_text">
Weiter lesen
</a>| #!/bin/bash | |
| # Copyright (C) 2020 Kia | |
| # Licensed under Zero Clause BSD License | |
| # Copy of original Gist from https://gist.github.com/superbaud/651d898b3958be552e8d3c403c988fad | |
| if [[ $# -ne 3 ]]; then | |
| echo "usage: $0 (BMC I2C BUS NUMBER) (FAN PAGE) (DUTY CYCLE FLOOR)" | |
| echo "" |
Link in Template setzen, der die ScrollTo Funktion von Shopware benutzt:
<p>
<a href="#"
data-scroll="true"
data-scrollTarget="#category_text">
Weiter lesen
</a>| const orgTrigger = document.trigger; | |
| document.trigger = function(eventName, ...args){ | |
| console.log(eventName, args); | |
| orgTrigger(eventName, ...args); | |
| }; |
| #!/bin/bash | |
| # letsencrypt-for-pure-ftpd.sh: compares the ssl certficate/key used by pure-ftpd | |
| # with the current certificate/key issued by letsencrypt and copy the latter | |
| # to the former if they differ. | |
| # this can be run as a cronjob to propogate letsencrypt certificate changes | |
| # to pure-ftpd | |
| PUREFTPD_CERT=/etc/ssl/private/pure-ftpd.pem |
| user www-data; | |
| worker_processes auto; | |
| pid /run/nginx.pid; | |
| worker_rlimit_nofile 100000; | |
| events { | |
| worker_connections 4096; | |
| multi_accept on; | |
| use epoll; | |
| } | |
| http { |
| <body onLoad="resizeParent();"> | |
| <script type="text/javascript"> | |
| function resizeParent() { | |
| var height = document.getElementsByTagName("html")[0].scrollHeight; | |
| window.parent.postMessage(["setIframeHeight", height], "*"); | |
| } | |
| </script> | |
| </body> |
| <?php | |
| /** | |
| * Adds the variable AboCommerceEnabled to the view | |
| * | |
| * @param Arguments $arguments | |
| */ | |
| public function addAboCommerceData(Arguments $arguments) | |
| { | |
| /** @var \Enlight_Controller_Action $controller */ | |
| $controller = $arguments->get('subject'); |
Install basic build tools for RVM
apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config
Install dependencies to compile the mysql2 gem
apt-get install libmysqlclient-dev
Install dependencies to compile the postgre db gem
I use the latest Puma v1.4.0 from rubygems.
Make sure you have nginx installed with these options:
>/opt/nginx/sbin/nginx -V
nginx version: nginx/1.0.15
built by gcc 4.6.1 (Ubuntu/Linaro 4.6.1-9ubuntu3)