Skip to content

Instantly share code, notes, and snippets.

@h8rt3rmin8r
h8rt3rmin8r / copilot-instructions.md
Created October 10, 2025 01:12
A boilerplate Copilot Instructions markdown template for AI-assisted coding projects (./.github/copilot-instructions.md)

Copilot Instructions

This document provides instructions for AI coding agents to effectively assist in developing the code within this project.

Standards for Writing Style and Tone

  • Always write in a way that reads as genuinely human and free from any linguistic patterns that commonly expose AI-generated text. Avoid all "AI tells," including but not limited to: excessive politeness, generic transitions (e.g., "Furthermore," "In conclusion," "Overall"), filler phrases ("It's important to note that"), parallel-sounding constructions ("not only...but also"), and overly balanced or neatly summarized conclusions.
  • Favor a natural flow that mirrors how an experienced writer or professional would actually communicate:
    • Use sentence length variation (occasional fragments are fine).
  • Use contractions naturally ("I'm," "don't," "that's").
@h8rt3rmin8r
h8rt3rmin8r / ChromeWindowLauncher.ps1
Created August 19, 2025 23:47
A Powershell script that launches app-like minimal Chrome browser windows to view files, directories, or Internet URLs (Includes GUI and headless modes)
<#
.SYNOPSIS
Launches a Chrome window to view a specified file, directory, or URL.
.DESCRIPTION
This script launches a Chrome window to view a specified file, directory, or
Internet URL. Additional inputs can be provided to customize the size and
position of the window.
.PARAMETER Interactive
If set, the script will prompt the user to select a file, directory, or URL
using a graphical interface. This parameter is mutually exclusive with the
@h8rt3rmin8r
h8rt3rmin8r / ytaudio.sh
Last active May 3, 2025 16:25
Manage a collection of audio tracks from YouTube
#!/usr/bin/env bash
#==============================================================================#
# __ _______ ___ _ _ #
# \ \ / /_ _/ _ \ | (_) #
# \ V / | |/ /_\ \_ _ __| |_ ___ #
# \ / | || _ | | | |/ _` | |/ _ \ #
# | | | || | | | |_| | (_| | | (_) | #
# |_/ |_/\_| |_/\__,_|\__,_|_|\___/ #
# #
# Manage a collection of audio tracks from YouTube #
@h8rt3rmin8r
h8rt3rmin8r / ttcUpdate.sh
Created August 1, 2024 20:04
Download the latest data for the Tamriel Trade Centre addon (for the Elder Scrolls Online game) and generate a historical archive of price data with each subsequent download.
#! /usr/bin/env bash
#>------------------------------------------------------------------------------
#>
#> [ ttcUpdate.sh ]
#>
#> Download the latest data for the Tamriel Trade Centre addon and generate
#> a historical archive of price data with each subsequent download.
#>
#> No inputs are required when invoking this script.
#>
@h8rt3rmin8r
h8rt3rmin8r / save.hg.json
Created February 24, 2023 21:51
JSON Schema for decoded save file data from No Man's Sky (merged schema from various game versions using genson)
{
"$schema": "http://json-schema.org/schema#",
"type": "object",
"properties": {
"Version": {
"type": "integer"
},
"Platform": {
"type": "string"
},
@h8rt3rmin8r
h8rt3rmin8r / borderlands3-dps.sh
Last active January 29, 2021 03:34
Calculate damage-per-second on guns found in Borderlands 3
#! /usr/bin/env bash
#>-------------------------------------------------------------------------------
#>
#> [ bl3-dps ]
#>
#> Calculate damage-per-second on guns found in Borderlands 3
#>
#> This is an interactive script (no direct inputs are required). Outputs
#> are saved into a local CSV file. Over time, this output file can serve
#> as a personal DPS database.
@h8rt3rmin8r
h8rt3rmin8r / ics2json.sh
Last active February 23, 2024 14:13
Convert an .ics calendar file into JSON syntax
#! /usr/bin/env bash
#>------------------------------------------------------------------------------
#>
#> [ ics2json ]
#>
#> ABOUT:
#>
#> Convert an .ics calendar file into JSON syntax
#>
#> If input data is passed as a file reference, output data is written to
@h8rt3rmin8r
h8rt3rmin8r / unicode.bash
Created November 16, 2020 13:45
Bash unicode library (to be sourced)
#!/usr/bin/env bash
######################################################################
# #
# UNICODE AND SYMBOLIC REFERENCE VARIABLES #
# Source: https://pastebin.com/raw/6AM0F6ze #
# #
#--------------------------------------------------------------------#
# Source detection
# Reference: https://stackoverflow.com/a/2684300
@h8rt3rmin8r
h8rt3rmin8r / wfox-parallel.sh
Created November 15, 2020 09:53
Download all links in a referenced input file using GNU parallel
#! /usr/bin/env bash
#>------------------------------------------------------------------------------
#>
#> [ wfox-parallel ]
#>
#> Download all links in a referenced input file using GNU parallel
#>
#> Outputs will be situated into a new directory hierarchy that mirrors the
#> origin website URL path for each file. File exif data will be retained
#> if the 'xattr' package is installed on the local machine.
@h8rt3rmin8r
h8rt3rmin8r / csslinks.sh
Last active November 5, 2020 10:52
Extract URLs from an input CSS document