Skip to content

Instantly share code, notes, and snippets.

@ktemkin
ktemkin / README.md
Last active May 26, 2025 05:58
script to grab garmin maps from Express without waiting for them to transfer

Proof I'm Terminally Impatient

Tired of waiting for Garmin to transfer those map files to your GPS over its incredible 12Mbps full speed USB? Tired of waiting for two hours for it to copy, only for the cable to be jostled just enough for it to fail early -- and then you're stuck with a bunch of map files but none of the gods-forsaken unlock codes that you need to use them?

Well, I am, and since this is my README, you don't get to judge me. That's just the way it is.

Usage

  • Start Garmin Express, and tell it to download the target maps to your device.
  • Wait for the message to change from "downloading files" to "copying files".
@n1d3v
n1d3v / guide.txt
Last active May 30, 2025 08:03
Revert the new desktop Discord UI (2025)
So, you've probably gotten the new desktop client's UI if you're reading this and wondering how to revert the UI back to the classic look of Discord.
This is pretty easy if followed properly, For context, this new UI is called the "Desktop Visual Refresh" and was experimented with by Discord from May 2024.
Anyway, back to the actual guide.
1. Download Vencord's installer from https://vencord.dev (This is the only official Vencord link!)
2. Open the installer, install Vencord (It should show your Discord install path)
3. Once installed, relaunch your Discord client and go to settings, you should see a "Vencord" category.
4. Go to plugins, search for the plugin called "Experiments" and restart the Discord client.
5. Go back to settings, scroll down in the menu and you should see alot of new options in the category "Developer Only"
@jurajlutter
jurajlutter / z2m
Last active November 15, 2024 12:02
FreeBSD rc.d script for zigbee2mqtt
#!/bin/sh
#
# PROVIDE: z2m
# REQUIRE: NETWORKING
# KEYWORD: shutdown
#
# FreeBSD rc.d script for zigbee2mqtt
#
# (c) 2024 Juraj Lutter <[email protected]>
#
@matusnovak
matusnovak / README.md
Last active May 2, 2025 01:55
GPG + Git SSH Authentication and Signing on Windows 10

GPG + Git SSH Authentication and Signing on Windows 10

Introduction

This simple Gist will explain how to settup your GPG key to work for SSH authentication (with Git) and Git commit signing on Windows 10. This may seem straightforward on Linux, but there are certain tweaks needed on Windows.

No Cygwin, no MinGW, no Git Bash or any other Linux emulated environment. This works in pure Windows 10.

Software needed

Minecraft on Apple Silicon

In this gist, you can find the steps to run Minecraft 1.16.4 natively on Apple Silicon (AS), without needing Rosetta 2 translation of the dependencies (mainly LWJGL and related libraries).

While it's possible to use a launcher like MultiMC to have a prettier way to run the game on AS, it requires installing even more dependencies (like QT) which take time and are difficult to distribute. Therefore, I've put together a command line-based launcher tool using a couple shell & Python scripts.

To get up and running quickly, follow the steps below. Otherwise, for more detail, watch my YouTube video.

Download my package

@mafredri
mafredri / smb.conf
Last active May 11, 2025 20:07
Samba config for Open PS2 Loader (PlayStation 2)
# This setup works pretty well for OPL with a network link that travels through
# two UniFi switches and connects to a Samba server running inside Docker. The
# host OS is Debian with a ZFS filesystem and the container OS is also Debian.
# Latest Samba (4.11+).
[global]
# ======================
# General Samba settings
# ======================
log level = 1
@unixfox
unixfox / jool.conf
Last active May 13, 2025 02:35
IPv6 only NAT64 (Jool) with RA (radvd) + DNS64 (bind9)
{
"comment": "Sample configuration for the NAT64 Jool service.",
"instance": "default",
"framework": "netfilter",
"global": {
"comment": "Sample pool6 prefix",
"pool6": "64:ff9b::/96"
}