Skip to content

Instantly share code, notes, and snippets.

View parkervcp's full-sized avatar

Michael (Parker) Parker parkervcp

View GitHub Profile
[2025-02-09 22:42:04] production.ERROR: file_put_contents(/var/www/pelican/storage/framework/cache/data/25/14/2514da550732ea026b604983e4082683c7b99423): Failed to open stream: Permission denied {"userId":1,"exception":"[object] (ErrorException(code: 0): file_put_contents(/var/www/pelican/storage/framework/cache/data/25/14/2514da550732ea026b604983e4082683c7b99423): Failed to open stream: Permission denied at /var/www/pelican/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php:204)
[stacktrace]
#0 /var/www/pelican/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(256): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#1 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#2 /var/www/pelican/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php(204): file_put_contents()
#3 /var/www/pelican/vendor/laravel/framework/src/Illuminate/Cache/FileStore.php(83): Illuminate\\File
# MariaDB database server configuration file.
!include /etc/mysql/mariadb.cnf
!includedir /etc/mysql/conf.d/
[client]
port = 3306
socket = /home/container/run/mariadbd/mariadbd.sock
# The MariaDB server
[mysqld]
@parkervcp
parkervcp / wireguard_proxy.conf
Created October 8, 2022 04:58
A wireguard config for running wings on a server behind another server
[Interface]
Address = 192.168.254.1/26
ListenPort = 51820
PrivateKey =
# setup for iptables to forward traffic to proxied host
## On Startup
## make sure ports are routed back properly
PostUp = iptables -t nat -A POSTROUTING -o wg0 -j SNAT --to-source 192.168.254.1
## Accept established and related packets early for perf reasons
sudo virt-install \
-n broadcast0 \
--description "OBS broadcast VM" \
--os-type=Linux \
--os-variant=ubuntu18.04 \
--ram=32768 \
--vcpus=20 \
--disk path=/gluster/cached0/brick/vms/broadcast0.qcow2,bus=virtio,size=64 \
--graphics none \
--location http://gb.archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/ \
@parkervcp
parkervcp / gist:5bd62a09068dc1501a042e59b31e3b89
Last active May 25, 2017 21:12
add arch gpg keys for aur
gpg --recv-keys --keyserver hkp://pgp.mit.edu <key>