Skip to content

Instantly share code, notes, and snippets.

@metasnw
metasnw / link
Created November 30, 2019 10:07

export via dev console snippet (https://gist.github.com/MoOx/93c2853fee760f42d97f)


// go on you labels pages
// eg https://github.com/cssnext/cssnext/labels
// paste this script in your console
// copy the output and now you can import it using https://github.com/popomore/github-labels !
@metasnw
metasnw / restore
Created October 29, 2017 12:25 — forked from jgillman/restore.sh
pg_restore a local db dump into Docker
# Assumes the database container is named 'db'
DOCKER_DB_NAME="$(docker-compose ps -q db)"
DB_HOSTNAME=db
DB_USER=postgres
LOCAL_DUMP_PATH="path/to/local.dump"
docker-compose up -d db
docker exec -i "${DOCKER_DB_NAME}" pg_restore -C --clean --no-acl --no-owner -U "${DB_USER}" -d "${DB_HOSTNAME}" < "${LOCAL_DUMP_PATH}"
docker-compose stop db
@metasnw
metasnw / Produkt für die Produktion konfigurieren.md
Last active May 12, 2016 15:46
Produkt für die Produktion konfigurieren
@metasnw
metasnw / Howto_Stückliste.md
Last active May 12, 2016 15:25
Wie erstelle ich eine Stückliste mit Prozentualen Anteilen (Rezept)

--

Wie erstelle ich eine Stückliste mit Prozentualen Anteilen (Rezept)

Vorbereitung

  1. Es existiert ein Produkt namens "Ergebnis" das hergestellt werden soll
  2. Es existiert zwei Produkte namens "teil1" und "teil2" aus denen Produkt "Ergebnis" hergestellt werden soll

Schritte

  1. Fenster "Stücklistenkonfiguration" öffnen