Technical
For IT related stuff
Windows
Windows related tips
Windows 10 Pro upgrade from Home
Below key should provide several days activation and upgrade to Pro from Home edition 8DVY4-NV2M...
Azure AD Connect
https://www.microsoft.com/en-us/download/details.aspx?id=47594
Windows Server Activation
Windows Server 2019 Eval will shut off in 4 hours when trial expires. DISM /online /Set-Edition:...
RDPWrap - Windows Remote Desktop Wrapper
Most active to date: https://github.com/sebaxakerhtc/rdpwrap Config file update: https://github.c...
Docker
Restart Policies
Use a restart policy To configure the restart policy for a container, use the --restart flag whe...
WatchTower
https://containrrr.github.io/watchtower/ With watchtower you can update the running version of y...
Insecure Registries
in /etc/docker/daemon.json add this (don't forget comma after existing lines) "insecure-registri...
Operating Folder
In /etc/docker/daemon.js (don't forget to comma after existing lines) "data-root": "/data/docker"
Prune unused objects
Prune images and containers https://docs.docker.com/config/pruning/ Prune images The docker im...
Troubleshooting
https://bobcares.com/blog/iptables-no-chain-target-match-by-that-name-docker/ Our customers often...
aliases
alias dcud="docker-compose up -d" alias dcd="docker-compose down" alias dcp="docker-compose pul...
Using Docker for temp app usage
docker run -it --rm -v .:/tmp -w /tmp node /usr/local/bin/npm install
Misc Apps
Zerotier Openvz zt0 issue
Apparently the issue was a "rights issue"; adding the -U option as described down below fixed it....
EdgeRouter Conditional Forwarding Hostnames
Log in to CLI or SSH to Ubiquiti router configure set service dhcp-server hostfile-update enabl...
Market
https://www.morphtoken.com/
Octoprint
http://192.168.0.114/ 192.168.55.117 Open the the thingiverse/stl file in Cura Slicer
FileBot
Season Padding Firefly - 01x01 - Serenity {n.take(120)} - {sxe.pad(2)} - {t.take(122)} {n.removeA...
Usenet
nzbgeek newshosting
Linux
Linux Stuff
Samba Client CIFS
https://www.thomas-krenn.com/en/wiki/Mounting_a_Windows_Share_in_Linux sudo apt-get install cifs-...
Debian Update Release Distro
update to the next distro stretch buster apt update && apt upgrade -y && sed -i ...
Bash Scripting Techniques
cat multiline cat <<EOF > /etc/apt/sources.list deb http://http.kali.org/kali kali-rol...
Swap
sudo fallocate -l 2G /swapfile && sudo chmod 600 /swapfile && sudo mkswap /swapfi...
Useradd
useradd -m -s /bin/bash -d /home/madsprite -c "MadSprite" madsprite passwd madsprite usermo...
XFS format
mkfs.xfs -f /dev/sdf mkdir /disk6 mount -t xfs /dev/sdf /disk6 echo "/dev/sdf /disk6 xfs def...
Disable Colour profile
cd /usr/share/polkit-1/actions/ cp -a org.freedesktop.color.policy org.freedesktop.color.polic...
Qradar CE license issue
https://www.ibm.com/support/pages/node/6395080
Netboot
apt update; apt install ipxe; wget 'https://boot.netboot.xyz/ipxe/netboot.xyz.lkrn' -O /boot/ipxe...
Proxmox
promox tings
tun enabled for lxc
/etc/pve/lxc/###.conf lxc.cgroup2.devices.allow: c 10:200 rwm lxc.hook.autodev: sh -c "modprobe t...
Hostname Naming Format
[hosting provider acronym][u-unix,m-windows + d-windows desktop][# iteration].madsprite.com ie. ...
Resource Pages
Windows Best Practices VM https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers Shrink Qcow2 filesy...
ZFS container mount
pct shutdown 100 pct status 100 pct set 100 -mp0 /storage/share/downloads,mp=/home/user/torrent...
MergerFS and Snapraid
https://www.linuxserver.io/blog/2017-06-24-the-perfect-media-server-2017 mergerfs in /etc/fstab /...
System migration
virt-sysprep
fstab settings
# <file system> <mount point> <type> <options> <dump> <pass> /dev/pve/root / ext4 errors=remount-...
Auth Apps
https://github.com/nitnelave/lldap https://www.pomerium.com/
Pihole LXC
Required: lxc config set {container-name} security.nesting true.
Restart hosts if down
crontab -e */5 * * * * pct start 100 >/dev/null #container restart */5 * * * * qm start 100 > /de...
iGPU Passthrough
https://www.derekseaman.com/2023/11/proxmox-ve-8-1-windows-11-vgpu-vt-d-passthrough-with-intel-al...
Mac OS
Mac OS technical