Skip to content

Instantly share code, notes, and snippets.

View dnburgess's full-sized avatar

David Burgess dnburgess

View GitHub Profile
// Shift Register LED Matrix Project - LEDMatrix
// Copyright (C) 2017 Michael Kamprath
//
// This file is part of Shift Register LED Matrix Project.
//
// Shift Register LED Matrix Project is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
#include <SPI.h>
#include <LedMatrix.h>
//LED Matrix Pins
#define NUMBER_OF_DEVICES 4
#define CS_PIN 15
#define CLK_PIN 14
#define MISO_PIN 2 //Not Used
#define MOSI_PIN 12
@dnburgess
dnburgess / gist:81973cde92ca668058094592b36fe00d
Last active June 19, 2020 12:27
NextCloud Portainer Setup
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: yobasystems/alpine-mariadb:latest
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
version: '2'
volumes:
nextcloud:
db:
services:
db:
image: mariadb
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
---
version: "2.1"
services:
pwndrop:
image: linuxserver/pwndrop
container_name: pwndrop
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
@dnburgess
dnburgess / gist:e232ebc7a8cd631202c0ab74f69384f7
Created August 3, 2020 15:01
DB Tech Lychee Docker Container
---
version: "2.1"
services:
lychee:
image: linuxserver/lychee
container_name: lychee
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
@dnburgess
dnburgess / gist:618a669c875fedb01cf0f2acd0b15329
Last active August 4, 2020 23:37
DB Tech Piwigo Photo Album
version: 2
networks:
piwigo:
name: piwigo
driver: bridge
services:
db:
image: linuxserver/mysql
version: '2'
services:
db:
image: mariadb
volumes:
- /database:/var/lib/mysql:rw # I haven't had good luck putting this database in a different directory
restart: unless-stopped
networks:
- private
@dnburgess
dnburgess / gist:b376061136f38aa8b8d37177eb94545a
Last active August 19, 2020 15:41
DB Tech Deezloader Remix
version: '2.1'
services:
deezloaderrmx:
image: bocki/deezloaderrmx
container_name: Deezldr
volumes:
- /srv/deezloaderrmx:/downloads
- /srv/deezloaderrmx:/config
environment:
- PUID=998 #Optional