Skip to content

Instantly share code, notes, and snippets.

@madewokherd
madewokherd / guesl.py
Last active January 24, 2022 21:38
Wordle optimizer
import collections
import math
import string
import sys
WORD_LENGTH = 5
VALID_ONLY = False
HARD_MODE = False
WORST_GUESS = False
? net/synergy/work
Index: net/synergy/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/net/synergy/distinfo,v
retrieving revision 1.28
diff -u -r1.28 distinfo
--- net/synergy/distinfo 4 Jun 2019 12:27:55 -0000 1.28
+++ net/synergy/distinfo 18 Jul 2019 15:53:38 -0000
@@ -4,7 +4,7 @@
RMD160 (synergy-core-1.10.2.tar.gz) = 06216e1e22be7427e041017e3d08ae26243d2708
@madewokherd
madewokherd / wininfo.ahk
Created February 21, 2019 22:55
autohotkey script that displays active window information with Win+F
DetectHiddenWindows, On
SendMode Input
#f::
WinGet, ID, ID, A
WinGet, ProcessName, ProcessName, ahk_id %ID%
WinGet, PID, PID, ahk_id %ID%
WinGetTitle, Title, ahk_id %ID%
WinGetClass, Class, ahk_id %ID%
@madewokherd
madewokherd / script.txt
Last active July 2, 2018 16:18
matchsticks puzzlescript
title Matchsticks
========
OBJECTS
========
Background
GREEN
Target
@madewokherd
madewokherd / gist:54df070c885845c7ea722b1097802c8f
Last active October 3, 2017 02:56
Gargoyle's Quest 2 (GB) practice passwords
Any%:
00000256-00000014 - Warrior training center
00000513-00000269 - Fighting through starting town
00004609-00000268 - Nagus
00069889-00525060 - Forced encounter
00068353-00525320 - First bridge
00396289-02622731 - River of Flames
00393985-02622724 - Forest
00398593-02622723 - Death Balloon
10226951-02689537 - Gaza Valley
@madewokherd
madewokherd / gw2pw.py
Last active October 2, 2017 04:08
Gargoyle's Quest 2 (GB) password generation
#!/usr/bin/env python
jump_level = 4 # FFD4: 0-4
health_level = 4 # FFE0: 0-4
wing_level = 4 # FFD8: 0-4
magic_types = 4 # FFD2: 0-4 ?
# 0 = fire
# 1 = buster
# 2 = tornado
# 3 = claw
OST: Aquatic Ambiance
OCR: Relics of an Ancient Race
OST: Kefka
OCR: Gusty Piano in a Garden
Covers: Clocktown (Time's End)
OST: Battle Scene 1 - arrange - Final Fantasy II
OST: Robo's Theme
OST: Redemption (Beyond Good & Evil)
OCR: Bionic Electronica
OCR: Femmes Fatales
@madewokherd
madewokherd / scores.md
Last active July 18, 2016 00:51
infinifactory scores
Puzzle Scores Categories Most Advanced Block Used InputRate Solution (in source)
Training Routine 1 44/53/43 Naive, Cycles, Rate-independent Conveyor 1
Training Routine 1 42/98/104 Cycles Conduit 1 [](AwAAAG8AAAABAP//AwD8/wIAABIAAAADAPz/AwAAAQABAAEA9/
@madewokherd
madewokherd / gist:51858cdbd21385d08cfa
Created October 25, 2015 15:47
ahk hotkey to show information about the active window
DetectHiddenWindows, On
#f::
WinGet, ID, ID, A
WinGet, ProcessName, ProcessName, ahk_id %ID%
WinGet, PID, PID, ahk_id %ID%
WinGetTitle, Title, ahk_id %ID%
WinGetClass, Class, ahk_id %ID%
MsgBox, Process Name: %ProcessName%`nProcess ID: %PID%`nHWND: %ID%`nTitle: %Title%`nClass: %Class%
return
/*
* WIC image conversion test program
*
* Copyright (c) 2012 Vincent Povirk for CodeWeavers
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is