Skip to content

Instantly share code, notes, and snippets.

View sstorholm's full-sized avatar

Sebastian Storholm sstorholm

View GitHub Profile
@sstorholm
sstorholm / friday.md
Created June 8, 2025 10:33 — forked from yorickdowne/friday.md
Debian 13 trixie upgrade

Debian 13

This is a placeholder for instructions when Debian 13 is released in August 2025

To start, read the official release notes.

If your install fits into "vanilla Debian plus maybe a handful of 3rd-party repos", then this guide for a simple upgrade to Debian 13 "trixie" from Debian 12 "bookworm" can be helpful. 3rd-party repos are handled with a find command.

Note upgrade is only supported from Debian 12 to Debian 13. If you are on Debian 11, upgrade to Debian 12 first. Then once on Debian 12, you can upgrade to Debian 13.

@sstorholm
sstorholm / bulk-convert.ps1
Last active March 1, 2022 23:12 — forked from frozenex/bulk-convert.ps1
Bulk convert images to webp format using cwebp library in windows
# Copy this file to any directory containing images & then run this script in powershell
# Get all png images in the current directory & convert it to webp format
$images = Get-ChildItem -Path (Get-Location) -Filter *.png
foreach ($image in $images) {
$fileName = $image.DirectoryName + "\" + $image.BaseName + ".webp"
.\cwebp.exe -q 80 $image.FullName -o $fileName
}
@sstorholm
sstorholm / 418.conf
Last active February 2, 2018 19:46 — forked from felixhummel/418.conf
The Last nginx Config You Will Ever Need
server {
listen 80 default_server;
location / {
return 418;
}
error_page 418 /custom_418.html;
location = /custom_418.html {
root /var/www/html/errors;