Skip to content

Instantly share code, notes, and snippets.

View aqt01's full-sized avatar
🎯
Focusing

Lowell Tarek Abbott Vidal aqt01

🎯
Focusing
View GitHub Profile
@abiosoft
abiosoft / Caddyfile
Created September 18, 2016 16:16
Caddy wordpress docker-compose
:80
root /usr/src/wordpress
gzip
fastcgi / wordpress:9000 php
rewrite {
if {path} not_match ^\/wp-admin
to {path} {path}/ /index.php?_url={uri}
}
log stdout
errors stderr
@walchko
walchko / mjpeg2.py
Last active August 21, 2022 23:31
a better mjpeg streamer in python using opencv 3.x
#!/usr/bin/env python3
# MIT License
# (c) 2017 Kevin J. Walchko
#
# Updated 16 Mar 2020: Python 3.7.5 Ubuntu 19.10
# Desktop, wired interface is enp2s0
# Raspberry Pi: wlan0
# Ideally, this should be fixed, it is hard coded right now
@rohancme
rohancme / grafana-prometheus-values.yaml
Last active June 23, 2021 19:20
Values for the grafana helm chart to talk to an existing prometheus datasource
persistence:
enabled: true
accessModes:
- ReadWriteOnce
size: 5Gi
datasources:
datasources.yaml:
apiVersion: 1
datasources: