Skip to content

Instantly share code, notes, and snippets.

@dominicusin
dominicusin / sources
Created October 23, 2024 14:13
sources
Uris: http://labs.consol.de/repo/stable/debian
Architectures: amd64
Types: deb
Suites: bookworm
Components: main
Signed-By: /var/lib/extrepo/keys/consol.asc
Enabled: yes
Types: deb deb-src
Suites: trixie
YunoHost
curl https://install.yunohost.org | bash
CapRover
docker run -p 80:80 -p 443:443 -p 3000:3000 -e ACCEPTED_TERMS=true -v /var/run/docker.sock:/var/run/docker.sock -v /captain:/captain caprover/caprover
PikaPods
https://www.pikapods.com/pods
umbrelOS
winget upgrade --accept-package-agreements --accept-source-agreements --include-unknown --all -ruh
C:\Windows\System32\wbadmin.exe delete backup -keepVersions:1 -quiet
C:\Windows\System32\Dism.exe /Online /Cleanup-Image /StartComponentCleanup /ResetBase /RestoreHealth
C:\Windows\System32\sfc.exe /SCANNOW
C:\Windows\System32\compact.exe /CompactOs:always
https://packages.jdel.org
https://digitalbox.go.zd.fr
https://get.filebot.net/syno/
https://packages.pcloadletter.co.uk/
https://packages.synocommunity.com/
https://packages.synocommunity.com/?beta=1
https://spk7.imnks.com/
https://synology.sysco.ch
https://synopackage.com/repository/spk/all
chrome://flags/
#enable-quic
#enable-tls13-kyber
about:config.
network.http.http3.enabled
security.tls.enable_kyber
opera://flags/
#enable-quic
@dominicusin
dominicusin / raid_bootloader_install.sh
Created June 19, 2024 07:43
raid_bootloader_install
#!/bin/bash
# Переменные для разделов и RAID массива
raid_device="/dev/md0"
efi_partitions=("/dev/sdd2" "/dev/sdb2" "/dev/nvme2n1p2" "/dev/sdc2" "/dev/nvme1n1p2" "/dev/sda2")
mount_point="/mnt/efi"
backup_dir="/tmp/efi_backup"
log_file="/var/log/raid_bootloader_install.log"
# Функция для логирования сообщений
@dominicusin
dominicusin / bcachefs
Last active September 17, 2025 00:20
bcf
bcachefs format --verbose --force --acl --usrquota --grpquota --prjquota --errors=fix_safe \
--fs_label=Linux --label=Linux --compression=lz4 --background_compression=zstd --inodes_use_key_cache \
--replicas=3 --metadata_replicas=3 --data_replicas=2 --metadata_replicas_required=3 --data_replicas_required=2 \
--str_hash=siphash --gc_reserve_percent=10 --root_reserve_percent=5 --metadata_checksum=xxhash --data_checksum=xxhash --wide_macs \
--label=hdd.tsh1 --durability=1 --data_allowed=journal,btree,user /dev/disk/by-id/ata-TOSHIBA_HDWR11A_X1K0A031FB4G-part4 \
--label=hdd.tsh2 --durability=1 --data_allowed=journal,btree,user /dev/disk/by-id/ata-TOSHIBA_HDWR11A_X1K0A036FB4G-part4 \
--label=hdd.wdc1 --durability=1 --data_allowed=journal,btree,user /dev/disk/by-id/ata-WDC_WD4003FRYZ-01F0DB0_VBGGL0RF-part4 \
--label=hdd.wdc2 --durability=1 --data_allowed=journal,btree,user /dev/disk/by-id/ata-WDC_WD4003FRYZ-01F0DB0_VBGGLSNF-part4 \
--label=ssd.wd21 --discard --durability=0 /dev/disk/by-id/nvme-WD_Blue_SN580
cd /mnt/root/usr;tar -cpf - .|tar -C /mnt/Data/sys/usr -xpvf -
/usr/bin/apt --install-suggests --install-recommends --autoremove --purge -fmy --allow-unauthenticated --allow-downgrades --allow-remove-essential --allow-change-held-packages --fix-missing --fix-broken --ignore-hold --show-progress --option DPkg::Options::="--force-all" --option DPkg::Options::="--force-confnew" -t experimental --reinstall --update full-upgrad
@dominicusin
dominicusin / 00-ubuntu.sources apt-fast.sources sublime.sources
Last active February 7, 2024 20:42
/etc/apt/sources.list.d/00-ubuntu.sources apt-fast.sources sublime.sources
Enabled: yes
Types: deb deb-src
URIs: https://mirrors.edge.kernel.org/ubuntu/ mirror://mirrors.ubuntu.com/mirrors.txt
Suites: noble noble-updates noble-security noble-proposed noble-backports devel-backports devel-proposed devel-security devel-updates devel
Components: main multiverse restricted universe
Signed-By: /usr/share/keyrings/ubuntu-master-keyring.gpg /usr/share/keyrings/ubuntu-archive-keyring.gpg
X-Repolib-Name: "Ubuntu Sources"
Architectures: amd64 i386
By-Hash: force
Check-Valid-Until: yes