Skip to content

Instantly share code, notes, and snippets.

View axelsegebrecht's full-sized avatar

Axel Segebrecht axelsegebrecht

View GitHub Profile
@axelsegebrecht
axelsegebrecht / update-installed-packages.sh
Created March 31, 2025 09:58
update list of installed apt packages and flatpaks for an easy restoration
#!/usr/bin/env bash
# ==============================================================================
# Script Name: update-package-lists.sh
# Description: Generates lists of manually installed APT packages and all
# installed Flatpak applications for a specified user. These lists
# are saved to files in a format suitable for reinstalling the
# software after a system restore or on a new Debian-based machine.
# Designed to be run before a backup (e.g., using BorgBackup).
# Author: Gemini (Initial generation), Axel Segebrecht
# Copyright: Copyright (c) 2025 Axel Segebrecht
@axelsegebrecht
axelsegebrecht / libvirt-backups.sh
Last active March 25, 2025 10:21
libvirt virtual machine automatic backup script to external location
#!/bin/bash
# MIT License
#
# Copyright (c) 2024 Axel Segebrecht (bebraver.online)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@axelsegebrecht
axelsegebrecht / hubspot-multi-step-form-fix.js
Last active March 20, 2025 11:35
JavaScript workaround for Hubspot multi-step form validation issue
<script type="text/javascript">
//
// JavaScript workaround to Hubspot multi-step form's issue
// Ref. https://community.hubspot.com/t5/HubSpot-Ideas/Multi-Step-Forms-Required-Fields
//
// Simply add this entire <script> block to the footer of any page that contains the
// Hubspot multi-step form.
// __ __ ___
// / / ___ / / _______ __ _____ ____ ___ ___ / (_)__ ___
// / _ \/ -_) / _ \/ __/ _ `/ |/ / -_) __/ / _ \/ _ \/ / / _ \/ -_)
Verifying that +axelsegebrecht is my blockchain ID. https://onename.com/axelsegebrecht