Skip to content

Instantly share code, notes, and snippets.

View FabulousCupcake's full-sized avatar
💫

FabulousCupcake

💫
View GitHub Profile
#!/usr/bin/env bash
# Special
readonly DIM="$(tput dim)"
readonly REVERSE="$(tput rev)"
readonly RESET="$(tput sgr0)"
readonly BOLD="$(tput bold)"
echo "Colors: $(tput colors) Text Number: [FG-BG]"
echo
@FabulousCupcake
FabulousCupcake / fetch-mapping.sh
Created October 16, 2021 10:23
Minecraft Mappings Fetcher Script
#!/usr/bin/env bash
VERSION_MANIFEST_FILE="/mnt/c/Users/fbcpck/AppData/Roaming/.minecraft/versions/version_manifest_v2.json"
# Prints usage help text
function usage {
echo "Usage: fetch-mapping.sh <version> [version-manifest-path]"
echo " <version>: Fetch server mappings of a specific version e.g. 21w41a"
echo " Use --latest-release to fetch latest release version"
echo " Use --latest-snapshot to fetch latest snapshot version"
@FabulousCupcake
FabulousCupcake / windows-bluetooth-autoconnect.md
Created August 27, 2021 18:49
Actually Disabling Bluetooth Autoconnect on Startup in Windows

Actually Disabling Bluetooth Autoconnect on Startup in Windows

Situation

I use multiple devices with my bluetooth earphone connected to my mac machine, phone, or tablet.
When I boot my windows machine, it automatically connects to and snatches my bluetooth earphone. This is very annoying.

Results from google on ways to disable this are unhelpful:

  • Unpair the device (???)
  • Disable bluetooth support system service via services.msc
  • Disable the device via Device Manager