Skip to content

Instantly share code, notes, and snippets.

View CrookedJ's full-sized avatar
💭
idk shit about fuck

CrookedJ CrookedJ

💭
idk shit about fuck
  • US
View GitHub Profile
@CrookedJ
CrookedJ / userscript.js
Created July 21, 2025 17:33
Remove Email Activity from SolarWinds Service Desk Audit Log
// ==UserScript==
// @name Remove emails from audit log
// @namespace http://tampermonkey.net/
// @version 2025-05-13
// @description remove the email related logs from the audit tab
// @author Josh Crook
// @match https://helpdesk.your-domain.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=samanage.com
// @grant none
// @run-at document-end
@CrookedJ
CrookedJ / Get-ConnectionsHint.ps1
Last active May 26, 2025 13:57
Get-ConnectionsHint.ps1
# Fetches category hints from Mashable for the NYT Connections game.
function Get-ConnectionsHint {
[CmdletBinding()]
param (
[Parameter(Position = 0)]
[string]$Number = ([int](New-TimeSpan -Start '2023-09-20' -End (Get-Date)).Days + 101),
[switch]$Categories
)
$lookupDate = ConnectionsNumberToDate $Number
$urlbase = 'https://mashable.com/article/nyt-connections-hint-answer-today-'
@CrookedJ
CrookedJ / DaD.ahk
Last active February 8, 2024 14:48
Functions for trading in Dark and Darker
; For AutoHotkey2
; Right now just has cell coords for 1440p and 1080p
CoordMode "Mouse", "Client"
WinGetClientPos ,, &Width, &Height, "ahk_exe DungeonCrawler.exe"
if (Width/Height != 16/9) {
throw("Detected res is not 16:9 or game window size could not be determined. Make sure the game is open")
}
if (Width = 1920 and Height = 1080) {
colStart := 1080