Skip to content

Instantly share code, notes, and snippets.

ddev config --project-type=typo3 --docroot=public --create-docroot=true
ddev composer create typo3/cms-base-distribution:"^10.4" --prefer-dist
ddev start
touch public/FIRST_INSTALL && ddev launch typo3/install.php
@georgbez
georgbez / MULTIPASS_OPENFAAS.md
Created April 23, 2020 21:11 — forked from alexellis/MULTIPASS_OPENFAAS.md
Get k3s with OpenFaaS using k3sup and multipass

Get k3s with OpenFaaS using k3sup and multipass

multipass from Canoncial is like Docker Desktop, but for Ubuntu and works on MacOS, Linux and Windows.

Use-case:

We can get a Kubernetes cluster with k3s in a very short period of time. We can use this for workshops and building labs, and for R&D, including testing.

@georgbez
georgbez / docker-cleanup
Created April 14, 2020 17:16 — forked from wdullaer/docker-cleanup
Cleanup unused Docker images and containers
#!/bin/sh
# Cleanup docker files: untagged containers and images.
#
# Use `docker-cleanup -n` for a dry run to see what would be deleted.
untagged_containers() {
# Print containers using untagged images: $1 is used with awk's print: 0=line, 1=column 1.
# NOTE: "[0-9a-f]{12}" does not work with GNU Awk 3.1.7 (RHEL6).
# Ref: https://github.com/blueyed/dotfiles/commit/a14f0b4b#commitcomment-6736470
docker ps -a | tail -n +2 | awk '$2 ~ "^[0-9a-f]+$" {print $'$1'}'
select * from Fahrzeug fz
where EXISTS
( select * from Fahrzeugtyp ft
where ft.Hersteller_ID = 1
and fz.Fahrzeugtyp_ID = ft.ID );
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e6e2d16
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+.idea/
+/SchemaRecipe.patch
\ No newline at end of file
diff --git a/makePatch.txt b/makePatch.txt
@georgbez
georgbez / 0_reuse_code.js
Created October 29, 2013 10:32
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console