This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Outfitting Search Multi-Column Sort | Inara.cz Elite Dangerous | |
// @namespace http://tampermonkey.net/ | |
// @version 2025-05-07 | |
// @description Adds multi-column sorting to the Outfitting Search page on Inara.cz | |
// @author JamesDBartlett3 | |
// @match https://inara.cz/elite/nearest-outfitting/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=inara.cz | |
// @grant none | |
// ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<Root PresetName="Jules Vector" MajorVersion="4" MinorVersion="2"> | |
<KeyboardLayout>en-US</KeyboardLayout> | |
<MouseXMode Value="" /> | |
<MouseXDecay Value="0" /> | |
<MouseYMode Value="" /> | |
<MouseYDecay Value="0" /> | |
<MouseReset> | |
<Primary Device="{NoDevice}" Key="" /> | |
<Secondary Device="{NoDevice}" Key="" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name Microsoft Build 2023 - Hide Chat | |
@version 20230524.16.47 | |
@namespace ? | |
==/UserStyle== */ | |
@-moz-document domain("build.microsoft.com") { | |
#studioplayer-container > div > div.home-page__live-stream--content__video { | |
width: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document url-prefix("https://radacad.6connex.com/event/") { | |
.related-content .self-content .screen-container { | |
width: 100% !important; | |
min-height: 600px !important; | |
max-height: 1024px !important; | |
margin-bottom: 6px !important; | |
height: 100% !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WARNING: NON-WORKING CODE - DO NOT USE IN PRODUCTION! | |
#TODO: Implement $AppName & $MainWindowHandle parameters | |
function Set-WindowState { | |
<# | |
.SYNOPSIS | |
Set a given window state using WinAPI. | |
.DESCRIPTION | |
Use the ShowWindowAsync function to set the Window state for |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To download and install, run this command in PowerShell: | |
# PowerShell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/JamesDBartlett3/40d4459e39402cbc30a73731e310a27c/raw/'))" | |
#Install WinGet | |
#Based on this gist: https://gist.github.com/Codebytes/29bf18015f6e93fca9421df73c6e512c | |
$hasPackageManager = Get-AppPackage -name 'Microsoft.DesktopAppInstaller' | |
if (!$hasPackageManager -or [version]$hasPackageManager.Version -lt [version]"1.10.0.0") { | |
"Installing winget Dependencies" | |
Add-AppxPackage -Path 'https://aka.ms/Microsoft.VCLibs.x64.14.00.Desktop.appx' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<version major="2" minor="19" revision="2" build="0" /> | |
<OfficeMouse Enable="false" /> | |
<Layers Number="3" /> | |
<Cursor Allow="true" Speed="6" CS1="6" CS2="7" CS3="10" CS4="2" ChangeLayer="true" ChangeChord="1" ChangeHeld="1" EnhancePointerPrecision="1" /> | |
<Logging Disable="false" Thread="false" /> | |
<RazorMouse DoubleClickFix="false" /> | |
<ScrollWheel ScrollWindowUnderCursor="true" /> | |
<ScrollLock BypassAll="true" BypassDisabled="false" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
Custom PowerShell Functions and Aliases | |
Author: @JamesDBartlett3 | |
#> | |
################################################################################################## | |
<# | |
Stop-ProcessName | |
Alias: spn | |
Example 1: Stop-ProcessName explorer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/********************************************************************************************************************************\ | |
# Description | |
- Some videos on YouTube have a problem where the sound only comes out of the left or right channel | |
- This happens when the person who edits the video forgets to convert any mono audio signals to stereo before rendering | |
- Run this JavaScript snippet in your web browser to make YouTube play stereo audio as mono (same audio signal on all channels) | |
# How To Use | |
- Method 1 (best): Copy/paste into "Custom script" box in "Enhancer for YouTube™ (download & instructions: bit.ly/3GmQgZC) | |
- Method 2: Install as a UserScript using Tampermonkey, Greasemonkey, etc. (download & instructions: bit.ly/3K6B991) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: https://social.technet.microsoft.com/Forums/en-US/2e7db624-2260-4a65-a57b-f6f2e22312f0/sha1-hash-of-an-entire-folder-structure | |
Function Get-FolderHash ($folder) { | |
Get-ChildItem $folder -Recurse | | |
Where-Object {!$_.psiscontainer} | | |
ForEach-Object {[Byte[]]$contents += [System.IO.File]::ReadAllBytes($_.fullname)} | |
$hasher = [System.Security.Cryptography.SHA1]::Create() | |
[string]::Join("",$($hasher.ComputeHash($contents) | ForEach-Object {"{0:x2}" -f $_})) | |
} |
NewerOlder