Skip to content

Instantly share code, notes, and snippets.

View ss-o's full-sized avatar
:octocat:

Sall ss-o

:octocat:
View GitHub Profile
@ss-o
ss-o / friday.md
Created March 22, 2025 21:50 — 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.

@ss-o
ss-o / gpg-key-migration.md
Last active September 4, 2022 20:50 — forked from angela-d/gpg-key-migration.md
Move GPG Keys from One Machine to Another

Migrate GPG Keys from One Workstation to Another

Replace [your key] with your key ID

To obtain your key ID

gpg --list-secret-keys --keyid-format LONG

Which returns something like

@ss-o
ss-o / build-zsh.sh
Created June 10, 2022 02:56 — forked from nicoulaj/build-zsh.sh
Build Zsh from sources on Ubuntu
#!/bin/sh​
# Build Zsh from sources on Ubuntu.
# From http://zsh.sourceforge.net/Arc/git.html and sources INSTALL file.
# Some packages may be missing
sudo apt-get install -y git-core gcc make autoconf yodl libncursesw5-dev texinfo
git clone git://zsh.git.sf.net/gitroot/zsh/zsh
cd zsh
@ss-o
ss-o / abbreviated-unbound.conf
Created April 19, 2022 03:11 — forked from martinrusev/abbreviated-unbound.conf
Unbound (http://unbound.net/) configuration for local network device testing.
# The server clause sets the main parameters.
server:
# Allow network connections outside of localhost
interface: 0.0.0.0
# Don't automatically run in the background because I want to be able to kill it without hunting a pid
do-daemonize: no
# TODO: Change this to your network range, like `192.168.0.0/16 allow`
access-control: 10.0.0.0/16 allow
# TODO: Change this to your username, or whatever user you want to run/own the `unbound` process
username: "bryanjswift"

Binary 2 LFS

Find binary files and include to .gitatributes.

Note: enable GitHub LFS for required repository.

#!/usr/bin/env bash

find . -type f -not -path "./.git/*" | perl -lne 'print if -B' | sed 's|.*\.||' | sort -u | while read in; do echo *.$in filter=lfs diff=lfs merge=lfs -text >> .gitattributes_new; done
@ss-o
ss-o / Creating an AUR Package.md
Created December 13, 2021 00:07 — forked from keilmillerjr/Creating an AUR Package.md
How to create and manage an AUR package. #AUR #ARCH #makepkg #PKGBUILD