Skip to content

Instantly share code, notes, and snippets.

View wouterds's full-sized avatar
:octocat:
Hello world!

Wouter wouterds

:octocat:
Hello world!
View GitHub Profile
{
"name": "voorproefje-streamz",
"items": [
{
"id": "tag:telenet.be:demo:big-little-lies",
"title": "Big Little Lies",
"synopsis": "",
"seasons": [],
"images": {
"cover": "https://i.imgur.com/FWeCvON.jpg",
sudo chown -R code:code /home/code
sudo chmod 600 /home/code/.ssh/id_rsa
sudo chmod 600 /home/code/.ssh/id_rsa.pub
sudo chmod 600 /home/code/.ssh/id_rsa.pem
sudo chmod 600 /home/code/.ssh/authorized_keys
sudo chmod 700 /home/code/.ssh
00:000 00:000 OC: OpenCore DBG-069-2021-05-03 is loading in Optional mode (0/0)...
00:110 00:110 OC: Boot timestamp - 2021.05.05 20:43:39
00:194 00:083 OCCPU: MP services threads 8 (enabled 8) - Success
00:224 00:030 OCCPU: MP services Pkg 1 Cores 4 Threads 2 - Success
00:254 00:030 OCCPU: Found Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
00:284 00:030 OCCPU: Signature 506E3 Stepping 3 Model 5E Family 6 Type 0 ExtModel 5 ExtFamily 0 uCode C2
00:313 00:029 OCCPU: EIST CFG Lock 1
00:343 00:029 OCCPU: TSC Adjust 0
00:373 00:029 OCCPU: Known Model Core Crystal Clock Frequency 24000000Hz
00:403 00:030 OCCPU: CPUFrequencyFromART 4008000000Hz 4008MHz = 24000000 * 334 / 2
raspberry
dietpi
uploader
marketing
webadmin
webmaster
maintenance
techsupport
logon
Passw@rd
mysqlcheck --all-databases --optimize --skip-write-binlog -u root -p
@wouterds
wouterds / docker-compose.yml
Last active January 27, 2024 10:24
Umbrel behind (traefik) reverse proxy
version: '3.7'
x-logging: &default-logging
driver: journald
options:
tag: "{{.Name}}"
services:
tor:
container_name: tor
image: lncm/tor:0.4.4.7@sha256:48094db3afff76472b20cd7b6a41151ef5e380e5ec5e6042c36b0f861236c45f
@wouterds
wouterds / backup.sh
Last active March 25, 2021 12:28
rsync backup script
#!/bin/sh
RSYNC="/usr/bin/sudo /usr/bin/rsync"
DTIME=`date +"%Y%m%d"`
LOCATION=/mnt/backups/servers/$1/$DTIME
mkdir -p $LOCATION
rsync -avx \
--rsync-path="$RSYNC" \
@wouterds
wouterds / mysql-docker.sh
Created February 6, 2021 10:57 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
@wouterds
wouterds / gist:fd548d3400d79bce47be87def9857739
Created November 6, 2020 09:01
Cache static assets served from node container for a year
location ~ \.(?:ico|css|js|gif|jpe?g|png|webp|gif|svg|txt)$ {
proxy_pass http://node:3000;
proxy_hide_header Cache-Control;
add_header Cache-Control "public, max-age=31536000, immutable";
}
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
'react',
'react-hooks',
'prettier',
],
extends: [