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
// Unattended-Upgrade::Origins-Pattern controls which packages are | |
// upgraded. | |
// | |
// Lines below have the format "keyword=value,...". A | |
// package will be upgraded only if the values in its metadata match | |
// all the supplied keywords in a line. (In other words, omitted | |
// keywords are wild cards.) The keywords originate from the Release | |
// file, but several aliases are accepted. The accepted keywords are: | |
// a,archive,suite (eg, "stable") | |
// c,component (eg, "main", "contrib", "non-free") |
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
@echo off | |
:initial_Section | |
::var defaults | |
set debugmode=0 | |
::0 = Normally | |
::1 = Normally + Debug Skip Intro | |
::2 = Normally + Backup Debug Skip Intro | |
::3 = Only Backup Normally | |
::4 = Only Backup + Debug Skip Intro | |
::5 = Backup + delete old date file |
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
@echo off | |
::var defaults | |
::caller | |
set Backup_Caller="C:\_bat\Backups\Factorio Backup.bat" | |
set timer_m=5 | |
set /a timer_s= %timer_m% * 60 | |
::UI | |
set color_red=04 |
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 | |
apt update | |
chown -R www-data:www-data /var/www | |
find /var/www/nextcloud/ -type d -exec chmod 750 {} \; | |
find /var/www/nextcloud/ -type f -exec chmod 640 {} \; | |
if [ -d "/var/www/nextcloud/apps/notify_push" ]; then | |
sudo chmod ug+x /var/www/nextcloud/apps/notify_push/bin/x86_64/notify_push | |
fi | |
clear | |
echo -n "Nextcloud Updates gewünscht [y|n]?" |
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
PAPERLESS_URL=https://paperless.domain.de | |
PAPERLESS_TIME_ZONE=Europe/Berlin | |
PAPERLESS_OCR_LANGUAGE=deu | |
PAPERLESS_SECRET_KEY=xXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxXxX | |
PAPERLESS_TASK_WORKERS=2 | |
PAPERLESS_THREADS_PER_WORKER=4 | |
PAPERLESS_ENABLE_COMPRESSION=1 | |
# email fetching frequency / every 2 min |
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 | |
ask() { | |
while true ; do | |
if [[ -z $3 ]] ; then | |
read -r -p "$1 [$2]: " result | |
else | |
read -r -p "$1 ($3) [$2]: " result | |
fi | |
if [[ -z $result ]]; then |
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
@echo off | |
::var defaults | |
::caller | |
set Backup_Caller="C:\_bat\Backups\Minecraft Backup.bat" | |
set timer_m=30 | |
set /a timer_s= %timer_m% * 60 | |
::UI | |
set color_red=04 |
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
@echo off | |
:initial_Section | |
::var defaults | |
set debugmode=0 | |
::0 = Normally | |
::1 = Normally + Debug Skip Intro | |
::2 = Normally + Backup Debug Skip Intro | |
::3 = Only Backup Normally | |
::4 = Only Backup + Debug Skip Intro | |
::5 = Backup + delete old date file |
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 | |
# SinusBot installer by Philipp Eßwein - DAThosting.eu philipp.esswein@dathosting.eu | |
# Vars | |
MACHINE=$(uname -m) | |
Instversion="1.5" | |
USE_SYSTEMD=true |
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
@echo off | |
:initial_Section | |
::set async mode | |
setlocal EnableDelayedExpansion | |
:start_Section | |
::Process looking for: cmd as admin named "Local Date Time Generator" | |
for /f "TOKENS=2" %%a in ('tasklist /nh /fi "WINDOWTITLE eq Administrator: Local Date Time Generator"') do Set PID=%%a | |
if %PID% gtr 0 ( |
NewerOlder