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 "#manual" > >> /etc/apt.sources.list | |
echo "deb https://ftp.debian.org/debian/ bookworm contrib main non-free non-free-firmware" >> /etc/apt.sources.list | |
echo "deb https://ftp.debian.org/debian/ bookworm-updates contrib main non-free non-free-firmware" >> /etc/apt.sources.list | |
echo "deb https://ftp.debian.org/debian/ bookworm-proposed-updates contrib main non-free non-free-firmware" >> /etc/apt.sources.list | |
echo "deb https://ftp.debian.org/debian/ bookworm-backports contrib main non-free non-free-firmware" >> /etc/apt.sources.list | |
echo "deb https://security.debian.org/debian-security/ bookworm-security contrib main non-free non-free-firmware" >> /etc/apt.sources.list | |
apt update | |
apt install -y sudo | |
/usr/sbin/usermod -aG sudo blue |
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
version: "2.1" | |
services: | |
watchtower: | |
image: containrrr/watchtower | |
container_name: watchtower | |
environment: | |
- PUID=1000 | |
- PGID=1000 | |
- TZ=Europe/Bucharest |
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
version: "2.1" | |
services: | |
apt-cacher-ng: | |
image: sameersbn/apt-cacher-ng:3.7.4-20220421 | |
container_name: apt-cacher-ng | |
ports: | |
- <ip>:3142:3142 | |
volumes: |
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 | |
# Read the ID from the first argument | |
id="$1" | |
MODE="stop" | |
STORAGE_LOCAL="backups3" | |
STORAGE_LOCAL_PATH="/storage3/pve-backup" | |
REMOTE_HOST="outbound" |
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 cleanUpAll(){ | |
clean7DaysAutoPrune(); | |
clean6MonthsAutoPrune(); | |
clean1YearAutoPrune(); | |
} | |
function clean7DaysAutoPrune(){ | |
cleanUpWithParams(7,'auto-prune/auto-prune-7d'); | |
} |
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
# | |
# mkdir -p /shared/portainer/data/ | |
# docker-compose -f portainer-only.yml -p portainer up -d | |
# | |
version: '3.7' | |
services: | |
portainer: | |
image: portainer/portainer-ce:latest | |
container_name: 'portainer' |
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
# | |
# set start/end with gcode: | |
# | |
# SET_GCODE_VARIABLE MACRO=incremental_settings VARIABLE=start VALUE=2 | |
# SET_GCODE_VARIABLE MACRO=incremental_settings VARIABLE=now VALUE=2 | |
# SET_GCODE_VARIABLE MACRO=incremental_settings VARIABLE=end VALUE=5 | |
# | |
# if you set now on each toolchange, if it runs out, the next tool will be used | |
# | |
# then run gcode: |
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 "SUBSYSTEM==\"tty\", ATTRS{idVendor}==\"1a86\", ATTRS{idProduct}==\"7523\", SYMLINK+=\"aneta8\", " > /etc/udev/rules.d/99-aneta8.rules |
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 | |
# ========================================================= # | |
# MyEzBkp | |
# Easy and simple backup of your entire MySQL Server. | |
# | |
# Ver: 1.0 | |
# By: Kriansa | |
# | |
# This script requires root privileges to run! | |
# Tested only in RHEL based distros (Fedora & CentOS) |
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
# apt-get install dconf-editor | |
$ dconf-editor | |
/org/gnome/desktop/interface/text-scaling-factor = 0.80 | |
/org/gnome/nautilus/desktop/font/custom value = Ubuntu 10 | |
$ gnome-control-center | |
Dock -> Icon size = 28 | |
$ nautilus |
NewerOlder