Skip to content

Instantly share code, notes, and snippets.

View GabeStah's full-sized avatar

Gabe Wyatt GabeStah

View GitHub Profile
; This example allows you to move the mouse around to see
; the title of the window currently under the cursor:
#Persistent
SetTimer, WatchCursor, 100
return
WatchCursor:
MouseGetPos, xpos, ypos, id, control
WinGetTitle, title, ahk_id %id%
WinGetClass, class, ahk_id %id%
@GabeStah
GabeStah / gist:1163e1cb71bfb5a4fe90
Last active August 29, 2015 14:07
VCP Attendance Simulation Results
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
5 simulations @ 100,000 iterations each.
Assumed Average Attendance: 95.32%, Raid Size: 20, Roster Size: 22, Special Member Attendance: 90.00%
/////////////////////////////////////////////////////////////////////////////////////////////////////
95.065% attendance with 90,870 full & 9,130 partial raids [90.870%] or 1 in every ~9 raids missed.
Special_Member with 90.00% attendance raided 81,231 times [81.231%]
Average_Member with 95.32% attendance raided 90,813 times [90.813%]
-----------------------------------------------------------------------------------------------------
95.068% attendance with 90,855 full & 9,145 partial raids [90.855%] or 1 in every ~9 raids missed.
Special_Member with 90.00% attendance raided 81,317 times [81.317%]
function() -- Trigger
return (UnitExists('target') and UnitCanAttack('player', 'target') and (UnitHealth('target') / UnitHealthMax('target')) <= 0.35)
end
function() -- Untrigger
return not (UnitExists('target') and UnitCanAttack('player', 'target') and (UnitHealth('target') / UnitHealthMax('target')) <= 0.35)
end
function()
PetBattleFrame.BottomFrame.SwitchPetButton:SetScale(2,2)
return false
end
dy1GlcGiQQ0JOiHUeru6tOsgfbCkuPwfru8keIywev3IGSlsv)cPkfddbDmIsldPQEgbvnnQQ4Aiu2gcOVrrW4OiPZHqvRJiQMhcrQ6EOQ2hsvQgifjOoivPfsQOhsKyIiKUisvSrKk1hjOYiPi1jjISsjAMue6Mia7Ki8tKkzOiu5OiePYsri8uszQuuxLQQ2kbLVIanwKQu6SuKaVLi1CriQ7suSxH(lPsdgoSOfJuXJPWKr0LLAZiLplbJwcDAkTAksqEnbA2e62OIDtYVrYWrvoocrklNkpxsthLRly7ufFNIenEIKopvL1JuL8EkIMpcrY9jvy)QJYgnh1YO5ilQvJA0xpH6jE9MGqYsGcvGyggMk9BHpQXjQrg1iJMJAsLUOrR2SiDleXiEcKafEcjEtG4jMPsFHNaPpHrAc5h)e1APYlvKnzuNrTAlsJ4OSkwutN0LzZ0fbyI0dDBoQLKKwMLsLI6YC2cfAxnAoYIAUUGLsz2hVoQvWrf4f18rx0OvBwKUfIajKq)yQesGeibkRFeEI3pep9J0eYpeyutf4y2zluOD1OeYg1ePsYO5OwO26AiM1AKornxA0rZrnobrMnAoYISOglfBflAoQXjiYSrZrwKf1CuID0CuJtqKzJMJSilYIAwYOMPTfkYjdIdHgsIdV2Lmk3GashxfOeCi0WRZiv9GGUKvCiCoQaVilQzenhLq2O5OgPTYtm9zULklQjf)jcIGEKWCuZAqPI6mQrJsXOBXSqnQrx(B2eLKe0tuJ5Sfk0UO5OwLLgcQRvrJkQvzPHGrnvYP11QOrf14jM(AxnQfuwwuRGJkWlQr20jqJMzF86OMP9seeaD7Vjg1ujNUgnhLq2OMoDPISjJsq)OMoDPISjL8brTvEIPrZPvSOecFutNUur2Ks(GUPCmlnRrYSuQOe(jQPtxQiBsjFqenprRrYSuQOeelQjSwrXzOXtmRfJSOwbhvGNUgubfJU41UKr5IA07rTcoQapDnOckwuJWOMrOYO4OBrlz
@GabeStah
GabeStah / gist:74e6978dc3e2ec41ed00
Created December 19, 2014 03:48
Mark of Chaos Group v1
duLJ4bGiuc9iucWLiuiFIKAuivofIQvbuukVcOOKzHsDluI2ff5xaffggjYXOs1Yak8mcLmnefUgjOTrOIVrrjJdrrohIswhjknpGIICpKY(qjqhebTqcf8qGster0fPOuBKqL(iIsnsus6KKqwjfMjII6MeQANic)eOidLqPokqrrTucf9uiAQurxLIQTIsQVsLYybkQCwGIQElcmxsu0DbQ2lb)LevdwDyqlMe4XqyYO4YqTze6ZivnAQWPj1QbkkvVgrA2i52KKDt0VH0WbYXjuOwoLEoGPJQRtvBNk57Oe04rjX5jK1tIcVNII5JsaDFsO2VSG7cofqcfCkWfqciGemmPKjYYKzXs3fhwsVcrGGmbgyXsaPkbKmcizeCkGKvatejcG5cIllvOzzwIfzImehYImadfsMuYSelXrGiljdYqaPiWerIayUajadYqjtIdzsSuizjwMLcfqIzfqqjdMrqmiGeatruSr1sUasXayYPtWK4jZMT46uaPMrajRQP3HkONQzzRivGWwih12IhAvtpkPnlBXdTK2OeBW6aIc0KTf1dsajKHrZ1OsiLY5wn90JTacof4ciLEvoTA6PhBbeiH7ciPqHmcofq6bWkhbfeaqqbciTqeybNciv5P4AbNcCbUasoKcl5cofqQYtX1cof4cCbKwukSGtbKQ8uCTGtbUaxGlG0IPxJkDkcewaj9wupibUasecofiH7cofqIWdWrv5eZkCZbXa5ybKEqmqowajebxJkbeCkGeGdTCbNcizqvocpahvLGceqIWdWrvjGKLSSbtKOrYQGj3YGcfbKQ1mnTwnRQP3HkONs8ql9OKsOfbuIDZc5ouNbfkcivd9wiqtRntgD3Tz0mnT2DfkoGbyOq2TeQc30AwumyHsgmdlYUvaeaRCgOki94MwBwkujLuIDZavbPhRCTeHfdbWnTwjtGHcz3mAaouIaRClMXJGRrLnTwjtkuXSZO7UnJMPP1UloKHskrgSBjufUP1SOyWcLmygLTjPgaefe
@GabeStah
GabeStah / gist:30908a7b8102600f6faf
Last active August 29, 2015 14:12
[WoW] Skip confirmation dialog for Trading Post <Trader> purchases
/run StaticPopupDialogs['CONFIRM_PURCHASE_TOKEN_ITEM'].OnShow = function() _,_,_,_,_,d=strsplit('-',UnitGUID('target')or'')if tContains({86777,87200,86779,87201,86778,86776,86683,87203,87202},tonumber(d)) then StaticPopup1Button1:Click() end end
function() -- Trigger
return not HasPetSpells()
end
function() -- Untrigger
return HasPetSpells()
end
WeakAurasSaved = {
["displays"] = {
["B5 BR6"] = {
["parent"] = "Red rune border",
["mirror"] = false,
["untrigger"] = {
["form"] = 1,
},
["regionType"] = "texture",
["blendMode"] = "BLEND",
WeakAurasSaved = {
["displays"] = {
["existing-display1"] = {
-- sub-table stuff
},
["existing-display2"] = {
-- sub-table stuff
},
["existing-display3"] = {
-- sub-table stuff