Skip to content

Instantly share code, notes, and snippets.

View Teraskull's full-sized avatar
💻
Working from home

Anton Grouchtchak Teraskull

💻
Working from home
View GitHub Profile
@Teraskull
Teraskull / friday.md
Created October 21, 2025 00:32 — forked from yorickdowne/friday.md
Debian 13 trixie upgrade

Debian 13

Caution Upgrading from Debian 12 to Debian 13 on machines with mdadm has intermittently failed for me; symptom is that grub EFI is not up to date and system boots into BIOS. Root cause under investigation; it might not be related to mdadm.

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.

@Teraskull
Teraskull / custom.css
Created July 16, 2024 03:33
Custom CSS for the `JSON Viewer Pro` browser extension.
/**Write your CSS style **/
/* Dracula Theme */
body {
background-color: #282A36;
}
.property {
color: #FF79C6;
}
@Teraskull
Teraskull / philips_sonicare_generator.py
Created June 2, 2024 02:07
Python version for Philips Sonicare NFC Password generation.
"""Python version for Philips Sonicare NFC Password generation."""
# /// script
# requires-python = ">=3.8"
# dependencies = [
# "segno",
# ]
# ///
# Made possible with the amazing work of:
@Teraskull
Teraskull / remove_pylint_comments.py
Created May 23, 2024 16:00
Remove `pylint: disable` comments from Python files.
import argparse
import re
from pathlib import Path
class TypedNamespace(argparse.Namespace):
"""Typed `argparse.Namespace()` class for argparse arguments."""
path: str
"""Path to the file or directory."""
@Teraskull
Teraskull / pocketbase-dark.user.css
Last active July 29, 2023 00:11
PocketBase Dark Theme
/* ==UserStyle==
@name Pocketbase dark theme
@version 20230621.20.36
@namespace userstyles.world/user/sergio9929
@description Pocketbase dark theme.
@author sergio9929
@license No License
==/UserStyle== */
@-moz-document regexp("^(http).*(\\/_\\/|\\/pocketbase.io\\/docs).*") {
@Teraskull
Teraskull / style.user.css
Last active December 28, 2021 15:52
Duplicati Night Sky Theme
/* ==UserStyle==
@name Duplicati Night Sky Theme
@description Alternative Dark Theme for Duplicati
@namespace github.com/Teraskull/a16e6482b8ca74ca79a2f13cb7137f88
@homepageURL https://github.com/Teraskull/a16e6482b8ca74ca79a2f13cb7137f88
@supportURL https://github.com/Teraskull/a16e6482b8ca74ca79a2f13cb7137f88
@updateURL https://gist.github.com/Teraskull/a16e6482b8ca74ca79a2f13cb7137f88/raw/6d8eb1e2b0e7d86cb2452d04695b65d0467825dd/style.user.css
@author Teraskull
@version 1.0.0
@preprocessor stylus
@Teraskull
Teraskull / flame_custom.css
Last active September 24, 2025 20:29
Custom CSS for Flame Dashboard.
/* Use `Onedark` theme for best results */
/* Hide Application URLs */
[class^="AppCard_AppCardDetails__"] {
height: 50%;
}
[class^="AppCard_AppCardDetails__"] span {
display: none !important;
}

Keybase proof

I hereby claim:

  • I am Teraskull on github.
  • I am teraskull (https://keybase.io/teraskull) on keybase.
  • I have a public key whose fingerprint is 7ABB D49F 9EF7 1F8C 2638 D8AA C678 9360 818A 2990

To claim this, I am signing this object: