Recently Updated Pages
.htaccess for HTTP redirect to HTTPS
# .htaccess in your webrootRewriteEngine On # If not already HTTPS…RewriteCond %{HTTPS} !=on # ...
vdo.ninja + OBS tutorial
Step-by-Step: vdo.ninja + OBS for Separate Tracks Host creates a vdo.ninja room Go to htt...
Setup postgresql
CREATE DATABASE myprojectdb;CREATE USER myprojectuser WITH PASSWORD 'strongpassword';ALTER ROLE m...
Upgrade python packages using pip
0) install jq 1) backup current versions 2) Update pip list --outdated --format=json | jq -...
Compress dir full of PDFs
for i in *.pdf; do gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -...
Setup bridge
/etc/network/interfaces auto lo iface lo inet loopback iface lo inet6 loopback auto $PHYS...
Creating an account
https://signup.oraclecloud.com/ use a private Chrome or Edge tab (signup is messy, Firefox is ...
Wipe data from SSD/HDD
Step 1: Identify the Drive TypeRun:lsblk -d -o name,rotaROTA 1 → HDD (spinning disk)ROTA 0 → SSD-...
Software
Blender A free and open-source 3D computer graphics software tool set. Blender constantly change...
Tailscale
docker-compose.yml services: tailscale-$SOMETHING: image: tailscale/tailscale:latest ...
macvlan
Create a macvlan network set to the adequate adapter (in our case br0) docker network create -d ...
Add to Proxmox after installation
add repos https://pve.proxmox.com/wiki/Package_Repositories add ubuntu server iso under local ...
CloneZilla
- Restore partition table (sda-pt.sf is in backup dir) sudo sfdisk /dev/sda < sda-pt.sf
Setting up public IP
Setting up public IP after provisioning the instance select the created instance on the bott...
Host network setup
To use the host with anything other then docker (like libvrtd, vmware or similar) the networks ne...
transcoding
#copy all audio into h264 mp4 video with static image (useful for playing back audio with video p...
Change paths
from django.db.models import F, Valuefrom django.db.models.functions import Replacefrom your_app....
WireGuard and lsyncd to sync a directory.
install wireguard apt install wireguard / pacman install wireguard-toolsgenerate keypairswg genk...
Setup webdav
fstabhttps://webdav.example.com /mnt/webdav davfs user,rw,uid=$username,auto 0 0sudo nano /etc/da...
nginx settings
For uploads (in server directive) client_max_body_size 5G; client_body_timeout 300s; sen...