This file contains 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
$in_dir = (Get-Item .).FullName | |
$out_dir = (Get-Item .).FullName + "\__sorted__" | |
Get-ChildItem ((Get-Item $in_dir).FullPath) | | |
Foreach-Object { | |
$name = $_.Name | |
$artist = '' | |
$found = $false | |
foreach ($char in $name.ToCharArray()) { |
This file contains 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
Shader "FX/PixelDot" | |
{ | |
Properties | |
{ | |
[NoScaleOffset] _MainTex ("Texture", 2D) = "white" {} | |
_Color ("Color", Color) = (1, 1, 1, 1) | |
_Size ("Pixel Size", Range(1, 64)) = 1 | |
} | |
SubShader | |
{ |
This file contains 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
using System; | |
using System.Collections.Generic; | |
using UnityEngine; | |
/// <summary> | |
/// For working with SkinnedMeshRenderer without failing silently or dealing with age old Unity decisions that were | |
/// <a href="https://forum.unity.com/threads/removing-clamping-of-blendshapes-to-the-range-0-100.504973/">never fully undone</a>. | |
/// </summary> | |
/// | |
public static class SkinnedMeshRendererExtensions { |
This file contains 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
def permute_sum_contributors(elements, target): | |
from random import sample | |
while True: | |
working = [] | |
workset = sample(elements, k=len(elements)) | |
while True: | |
working.append(workset.pop()) |
This file contains 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
param( | |
[string]$mo2MyGames = (Join-Path -Path ([environment]::GetFolderPath("MyDocuments")) -ChildPath "My Games\Fallout 76"), | |
[string]$targetIni = "Fallout76Custom.ini", | |
[string]$mo2Instance="$env:LOCALAPPDATA\ModOrganizer\Fallout 76", | |
[string]$mo2Profile="Default", | |
[string]$mo2GameFolder = "${env:ProgramFiles(x86)}\Bethesda.net Launcher\games\Fallout76" | |
) | |
<# | |
THE PROGRAM, BROKEN DOWN: | |
1) determine the load order for mods |
This file contains 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
; Y'all want a pringle say fuck that. | |
; For this to work you need to have the audio mixer be the first thing to the right of the system tray hidden icons. | |
SetKeyDelay, 78, 45 | |
; Open "Sound" window. | |
; WinActivate, ahk_class Shell_TrayWnd | |
Send, {LWin Down}{b}{LWin Up} | |
Sleep, 33 | |
Send, {Right} |
This file contains 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"?> | |
<AppCfg Default="false" xmlns="" CfgFormatVersion="1.2" ThisFileVersion="1.10"> | |
<AppInfo> | |
<Signature> | |
<Name>Tabletop Simulator</Name> | |
<ExecutableName>Tabletop Simulator.exe</ExecutableName> | |
</Signature> | |
<Options /> | |
</AppInfo> | |
<CfgProperties> |
This file contains 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
; note: ~ is the name of my cygwin terminal | |
WinActivate, ~ | |
WinWaitActive, ~ | |
; even though your password will be interpreted literally | |
; autohotkey it will still process the entire file for being a valid script before it executes | |
; so if your password contains % then you need to escape it with ` in order to not make it process it as a variable name | |
; or if your password contains ` then you may need to escape it with another ` | |
; read more: https://autohotkey.com/docs/commands/Send.htm | |
SendInput {Raw}YourLiteralPasswordHere |
This file contains 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
#!/bin/bash -e | |
# | |
# Purpose: Convert a Chromium extension zip into crx format | |
# Source: https://developer.chrome.com/extensions/crx | |
if test $# -ne 2; then | |
echo "Usage: zip2crx.sh <zip file> <pem path>" | |
exit 1 | |
fi |
NewerOlder