Skip to content

Instantly share code, notes, and snippets.

View AndreaRivadossi's full-sized avatar
♻️
Keep calm and clear cache

Andrea Rivadossi AndreaRivadossi

♻️
Keep calm and clear cache
View GitHub Profile
@AndreaRivadossi
AndreaRivadossi / satis_install.sh
Created August 27, 2018 08:25 — forked from h4cc/satis_install.sh
Guide to install a satis server for composer. It can mirror packages and create a index for own packages.
# Install a Webserver
apt-get -y install apache2
# Target docroot to /home/satis/web/
# Install PHP5 CLI and needed programs.
apt-get -y install php5-cli php5-curl php5-json git wget
# Add a specifix user for our task
adduser satis
@AndreaRivadossi
AndreaRivadossi / robots.txt
Created July 4, 2018 10:31 — forked from hn-support/robots.txt
Magento 2 recommended additions for robots.txt
User-agent: *
# Directories
Disallow: /app/
Disallow: /bin/
Disallow: /dev/
Disallow: /lib/
Disallow: /phpserver/
Disallow: /pkginfo/
Disallow: /report/
@AndreaRivadossi
AndreaRivadossi / Debug-Knockout-JS.html
Created May 2, 2018 11:01 — forked from maxcnunes/Debug-Knockout-JS.html
Simple way to debug viewmodel data bind with knockout
<pre data-bind="text: ko.toJSON($data, null, 2)"></pre>