Skip to content

Instantly share code, notes, and snippets.

View jamct's full-sized avatar

Jan jamct

  • c't magazine
  • Hannover
View GitHub Profile
import qrcode
def createQr(vwz,iban,bic,recipient,amount,filename="epc_qr"):
# The docs can be found here: https://pypi.org/project/qrcode/
qr = qrcode.QRCode(error_correction=qrcode.constants.ERROR_CORRECT_M)
qr.add_data("BCD\n")
qr.add_data("002\n")
qr.add_data("1\n")
qr.add_data("SCT\n")
@jamct
jamct / Readme.md
Last active October 25, 2022 16:49

Folder structure

docker-compose.yml
elastic/
  elasticsearch.yml
kibana/
  kibana.yml
logstash/
 logstash.yml
@jamct
jamct / 2-first-deployment.yml
Last active June 6, 2023 13:24
Beispiele: Kubernetes-Einstieg für Docker-Kenner
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: my-first-nginx-deployment
labels:
app: my-nginx
spec:
replicas: 3
strategy:
@jamct
jamct / .env
Created February 1, 2024 21:44
Nextcloud + Rocket.Chat
NC_VERSION=28
NC_HOST=cloud.example.org
RC_VERSION=6.5.0
RC_HOST=chat.example.org
MONGO_VERSION=7.0
MYSQL_ROOT_PASSWORD=verySecret
MYSQL_PASSWORD=secret
@jamct
jamct / docker-compose.env
Created April 18, 2024 08:16
Docker-Compose for Paperless-ngx
# The UID and GID of the user used to run paperless in the container. Set this
# to your UID and GID on the host so that you have write access to the
# consumption directory.
USERMAP_UID=1028
USERMAP_GID=100
# Additional languages to install for text recognition, separated by a
# whitespace. Note that this is
# different from PAPERLESS_OCR_LANGUAGE (default=eng), which defines the