Skip to content

Instantly share code, notes, and snippets.

View BinToss's full-sized avatar
✍️
Making progress...

Noah Sherwin BinToss

✍️
Making progress...
View GitHub Profile
@BinToss
BinToss / README.md
Last active April 17, 2026 23:35
Linux Maximize Backlight Brightness

fullbright

This shell script, fullbright, selects one of your backlight of one of your displays and (if its backlight brightness is not maximized) sets the backlight to the value found in its max_brightness file.

At the time of writing, this script will only attempt to maximize the brightness of the first backlight it finds; It does not have a Choice prompt.

@BinToss
BinToss / QuickFT_Menu.xml
Last active March 12, 2026 21:01
Fallout 76 - Uni Map v1.3.3 + Treasure Hunter 2025 Fast Travel points
<?xml version="1.0" encoding="UTF-8"?>
<UniMap>
<QuickFT>
<Menu List="Main">
<Title>Main</Title>
<ID>92</ID> <!-- Mark this location -->
<ID>1</ID> <!-- Custom Marker -->
<ID>0</ID>
<ID>80</ID> <!-- Camp -->
<ID>81</ID> <!-- Tent -->
@BinToss
BinToss / CreateScripts.sh
Created January 2, 2026 03:31
ImprovedSocialMenuPatch scripts for Bourne Shell + Wine on Unix/Linux systems
#! /usr/bin/sh
# OPTIONAL. This writes the other scripts in this gist and flags them as executable.
if [ ! -r "../SeventySix - Interface.ba2" ]; then
echo "Error: SeventySix - Interface.ba2 not found!"
echo "Make sure you are running script in the correct directory: Fallout 76/Data/ImprovedSocialMenuPatch/"
echo $PWD
exit 1
fi
@BinToss
BinToss / NOAH-RAZERPC.pacmanity
Last active April 18, 2026 23:08
NOAH-RAZERPC: List of installed packages
7zip
a52dec
aalib
aardvark-dns
abseil-cpp
accounts-qml-module
accountsservice
acl
act
ada
@BinToss
BinToss / VSCode_versions_internal_deps.md
Created March 6, 2025 11:23
VSCode versions and their internal dependencies (e.g. Chromium, Electron, Node.js)

VSCode versions and their internal deps

VSCode Chromium Electron Node.js release notes
1.59 91.0.4472.124 13 14.16.0 https://code.visualstudio.com/updates/v1_59#_electron-13-update
1.66 98.0.4758.109 17 16.13.0 https://code.visualstudio.com/updates/v1_66#_electron-17-update
1.69 100.0.4896.160 18 16.13.2 https://code.visualstudio.com/updates/v1_69#_electron-18-update
1.71 102.0.5005.167 19 16.14.2 https://code.visualstudio.com/updates/v1_71#_electron-19-update
1.78 108.0.5359.215 22 16.17.1 https://code.visualstudio.com/updates/v1_78#_electron-22-update
1.82 114.0.5735.289 25 18.15.0
@BinToss
BinToss / ExecNupkgDeterministicator.target.xml
Last active August 26, 2024 02:24
An MSBuild Target wrapping Kuinox.NupkgDeterministicator to automate deterministic packing
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- ExecNupkgDeterministicator
<Summary>
| Inputs | Values/Types | Default | Usage |
| - - - - - - - - - - - | - - - - - - - - - - - - - - | - - - - - - - - - - - - - - | - - - - - - |
| Deterministic | `'true'`/`'false'`/`''` | `'true'` | If true, run NupkgDeterministicator on the nupkg and snupkg (if applicable) |
| PackageOutputPath | string | `'$(OutputPath)'` | The directory in which the package was created |
| PackageId | string | `'$(AssemblyName)'` | Used to identify the nupkg and symbols package |
| PackageVersion | string | `'$(Version)'` | Used to identify the nupkg and symbols package |
| IncludeSymbols | `'true'`/`'false'`/`''` | `''` (falsey) | If true, deterministicate the s
@BinToss
BinToss / FlatCompat.config#flatArray[16].js
Last active May 30, 2024 04:44
Debugging ESLint FlatCompat pushing a function to a string[]
// derived from https://github.com/moonrepo/dev/blob/f3c51298bf732182108ee8790371be0a4e376ff6/packages/eslint-config/src/module.ts#L131-L137
{
rules: {
"import/no-default-export": "off",
},
// files must be a string[]. Functions will cause minimatch to throw a TypeError.
files: [
absoluteFilePath => eslintrcConfig.criteria.test(absoluteFilePath),
],
}
@BinToss
BinToss / assignAttributeGroupIDs.mts
Last active February 5, 2024 06:43
redhat.vscode-xml - assignAttributeGroupIDs
// https://github.com/redhat-developer/vscode-xml/issues/965
import micromatch from 'micromatch';
// example of a PatternGroup[] parsed from the VSCode workspace's configuration (./.vscode/settings.json)
const workspaceConfigurationPatternGroups: PatternGroup[] = [
[
// same matches as "(mc|d):*", but implemented as two calls to micromatch.match and a call to array.push() to combine the matches
"mc:*",
"d:*"
],
@BinToss
BinToss / Avalonia Client.log
Last active January 20, 2024 00:58
2023-01-19 AvaloniaVsCode Daignostics
2024-01-19 16:44:25.869 [info] Creating language service
2024-01-19 16:44:25.869 [info] Starting Avalonia Language Server...
2024-01-19 16:44:25.947 [info] [Trace - 4:44:25 PM] Sending request 'initialize - (0)'.
2024-01-19 16:44:27.595 [info] [Trace - 4:44:27 PM] Received response 'initialize - (0)' in 1648ms.
2024-01-19 16:44:27.595 [info] [Trace - 4:44:27 PM] Sending notification 'initialized'.
2024-01-19 16:44:27.596 [info] [Trace - 4:44:27 PM] Sending notification 'workspace/didChangeConfiguration'.
2024-01-19 16:44:27.678 [info] [Trace - 4:44:27 PM] Received request 'client/registerCapability - (1)'.
2024-01-19 16:44:27.678 [info] [Trace - 4:44:27 PM] Sending response 'client/registerCapability - (1)'. Processing request took 1ms
2024-01-19 16:44:27.685 [info] [Trace - 4:44:27 PM] Received request 'workspace/configuration - (2)'.
2024-01-19 16:44:27.685 [info] [Trace - 4:44:27 PM] Sending response 'workspace/configuration - (2)'. Processing request took 0ms
@BinToss
BinToss / BetterInventory.patch
Created October 20, 2023 06:52
BetterInventory.patch for Fallout 76 Update October 10, 2023 (2023-10-10)
diff --git a/Pipboy_InvPage.class.asasm b/Pipboy_InvPage.class.asasm
index 010f670..28be0a7 100644
--- a/Pipboy_InvPage.class.asasm
+++ b/Pipboy_InvPage.class.asasm
@@ -279,20 +279,46 @@ class
getlex QName(PackageNamespace("Shared.AS3.COMPANIONAPP"), "CompanionAppMode")
getproperty QName(PackageNamespace(""), "isOn")
iffalse L238
getlocal0