Skip to content

Instantly share code, notes, and snippets.

View drego85's full-sized avatar

Andrea Draghetti drego85

View GitHub Profile
@drego85
drego85 / magnet-generator.html
Last active November 26, 2025 10:38
BitTorrent Magnet Link Generator
<!-- This tool generates a BitTorrent Magnet Link based on a given hash value and optionally a custom resource name.
You can also provide the "hash" and "name" parameters as URL GET parameters,
and they will be automatically filled into the form.
Customize the trackers by editing the list below.
These will be included in the generated magnet link to ensure better availability and downloading speed.
Made with ♥ by Andrea Draghetti
This file may be licensed under the terms of of the GNU General Public License Version 3 (the ``GPL''). -->
@drego85
drego85 / remove_dot.sh
Last active December 22, 2024 00:25
Clean and Safely Eject macOS Volumes
#!/bin/bash
# Utility Script: Clean and Safely Eject macOS Volumes
#
# This script is designed to to remove unnecessary macOS
# system files (e.g., .DS_Store) from USB drives or
# SD cards and safely eject selected volume
#
# It ensures a clean and clutter-free storage device for
# use on other systems and provides a streamlined process
# for volume management.