Advanced Search
Search Results
67 total results found
Compress dir full of PDFs
for i in *.pdf; do gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile="tmp_$i" "$i" && mv "tmp_$i" "$i"; done
Upgrade python packages using pip
0) install jq 1) backup current versions 2) Update pip list --outdated --format=json | jq -r '.[].name' | xargs -n1 pip install -U
Setup postgresql
CREATE DATABASE myprojectdb;CREATE USER myprojectuser WITH PASSWORD 'strongpassword';ALTER ROLE myprojectuser SET client_encoding TO 'UTF8';ALTER ROLE myprojectuser SET default_transaction_isolation TO 'read committed';ALTER ROLE myprojectuser SET timezone TO ...
vdo.ninja + OBS tutorial
Step-by-Step: vdo.ninja + OBS for Separate Tracks Host creates a vdo.ninja room Go to https://vdo.ninja Click Create a Room → Name it (e.g., MyPodcastRoom) You’ll get: Director Link (for you to control guests) Guest Invite Link (to ...
.htaccess for HTTP redirect to HTTPS
# .htaccess in your webrootRewriteEngine On # If not already HTTPS…RewriteCond %{HTTPS} !=on # …and not marked HTTPS by a proxy/load balancerRewriteCond %{HTTP:X-Forwarded-Proto} !https [OR]RewriteCond %{HTTP:Forwarded} !proto=https # Redirect to same host+...
Pre - recording checklist
Pre vdo.ninja session checklist: a "general rehearsal" is a must - a 10 - 15 minute session with all the speakers on the exact same computers and connections they'll be using in the talk check bandwidth with each guest with cloudflare it has a comprehensiv...
Setup DHCP for guests on proxmox host
apt install dnsmasq/etc/dnsmasq.d/vmbr0.conf interface=vmbr0 dhcp-range=10.10.10.50,10.10.10.200,12h dhcp-option=3,10.10.10.1 dhcp-option=6,9.9.9.9,149.112.112.112 /etc/network/interfaces auto vmbr0 iface vmbr0 inet static address 10.10.10.1/24 ...
Proxmox via tailscale only
/etc/default/pveproxy LISTEN_IP="$TailscaleIP"
Passwordless sudo
# visudo ALL=(ALL) NOPASSWD:ALL
Wordpress custom styles
Block Name Block Type Supports register_block_style()? Notes / Quirks core/paragraph Text ✅ Yes Works normally core/heading Text ✅ Yes All heading levels core/list Text ✅ Yes core/quote Text ✅ Yes core/pull...
Tunneling over ssh to other computers on the lan
ssh -J $USER@$DOMAIN1 -i ~/.ssh/private_key1 $USER2@$IP -i ~/.ssh/private_key2
Notes
https://warpgate.null.page/
Bookstack Docker install
Create admin user after install sudo docker exec -it bookstack bash /app/www/artisan bookstack:create-admin