I've opened up Github Discussions to further discuss Jailmaker.
This file contains 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 | |
# This script is to be used in combination with Synology Autorun: | |
# - https://github.com/reidemei/synology-autorun | |
# - https://github.com/Jip-Hop/synology-autorun | |
# | |
# You need to change the task_id to match your Hyper Backup task. | |
# Get it with command: more /usr/syno/etc/synobackup.conf | |
# | |
# I like to keep "Beep at start and end" disabled in Autorun, because I don't |
See the example usage inside configparser.py
. Output when running the configparser.py
file:
# Comments may appear before the first section
[Simple Values]
key = value
spaces in keys = allowed
spaces in values = allowed as well
spaces around the delimiter = obviously
you can also use = to delimit keys from values
This file contains 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
#!/usr/bin/env bash | |
# | |
# Enable docker and docker-compose on TrueNAS SCALE (no Kubernetes) | |
# | |
# This script is a hack! Use it at your own risk!! | |
# Using this script to enable Docker is NOT SUPPORTED by ix-systems! | |
# You CANNOT use SCALE Apps while using this script! | |
# | |
# 1 Create a dedicated Docker zvol on one of your zpools: zfs create -V 100G data/_docker |
This file contains 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
FROM alpine as bootstrap | |
# Optionally add e.g. coreutils (if you don't want to remove the shell) | |
ARG PACKAGES_TO_INSTALL="openjdk11-jre" | |
ARG REMOVE_SHELL=1 | |
# Create rootfs folder and enable apk repo | |
RUN mkdir -p /rootfs/etc/apk && \ | |
cp -a /etc/apk/repositories /rootfs/etc/apk/repositories && \ | |
cp -a /etc/apk/keys /rootfs/etc/apk/keys |
This file contains 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
(function enable() { | |
var titleSuffixCounter = 0; | |
var popupWidth = 480; | |
var popupHeight = 270; | |
var xOffset = screen.availLeft, | |
yOffset = screen.availTop; | |
const data = { | |
windows: [], |
This file contains 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
# references | |
# https://fabianstumpf.de/articles/tinycore_images.htm | |
# https://gist.github.com/dankrause/2a9ed5ed30fa7f9aaaa2 | |
# https://github.com/Drive-Trust-Alliance/sedutil/wiki/Encrypting-your-drive | |
# follow these steps on Ubuntu | |
sudo su | |
qemu-img create core-image.img 120M -f raw | |
modprobe nbd max_part=8 && sleep 2 && qemu-nbd -c /dev/nbd0 core-image.img -f raw |
This file contains 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/bash | |
set -e | |
function cleanup() { | |
# clean up our temp folder | |
rm -rf "${TMPDIR}" | |
} | |
trap cleanup EXIT |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Transparent!</title> | |
</head> | |
<body> | |
<h1>Transparent!</h1> | |
<!-- All of the Node.js APIs are available in this renderer process. --> | |
We are using Node.js <script>document.write(process.versions.node)</script>, |
This file contains 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
-- PLAY key menu | |
-- Use PLAY button to toggle RAW video preferences | |
require("config") | |
play_key_timestamp = nil | |
currently_selected_preset = nil | |
last_run_preset = nil | |
before_last_run_preset = nil | |
-- TODO: find a better way to set resolution in "RAW video" submenu |
NewerOlder