This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raspberry | |
dietpi | |
uploader | |
marketing | |
webadmin | |
webmaster | |
maintenance | |
techsupport | |
logon | |
Passw@rd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysqlcheck --all-databases --optimize --skip-write-binlog -u root -p |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
root: true, | |
parser: '@typescript-eslint/parser', | |
plugins: [ | |
'@typescript-eslint', | |
'react', | |
'react-hooks', | |
'prettier', | |
], | |
extends: [ |