Skip to content

Instantly share code, notes, and snippets.

local healer_mode_raid_top = 85
function oUF_Quaiche:RAID_ROSTER_UPDATE()
self:CheckPartyVisibility()
if self.healerMode then
local max = 0
for i = 1,MAX_RAID_MEMBERS do
local subgroup = select(3, GetRaidRosterInfo(i))
if subgroup > max then max = subgroup end
@PProvost
PProvost / menurc
Created March 9, 2009 18:33
Photoshop-ish shortcuts for GIMP 2.x
; This file installs keyboard shortcuts from Photoshop 6 in GIMP 2.2.
;
; Rename it to 'menurc' and place it into your personal GIMP directory:
; ~/.gimp-2.2 folder (Linux) or C:\Documents and Settings\<user>\.gimp-2.2
; folder (Windows).
;
; There is a web-page describing these keybindings at
; http://epierce.freeshell.org/gimp/gimp_ps.php
;
(gtk_accel_path "<Actions>/view/view-show-selection" "<Control>h")
@PProvost
PProvost / Wow Minitimer
Created February 9, 2009 20:57
Wow/Lua minitimer code from wowprogramming.com
-- From http://wowprogramming.com/misc/snippets/Minitimer
local total = 0
local function onUpdate(self,elapsed)
total = total + elapsed
if total >= 2 then
print("ping!")
total = 0
end
@PProvost
PProvost / TakeControlOf.cmd
Created February 2, 2009 01:46
Use this script to "take control of" files that you can't access.
:: Use this script to "take control of" files that you can't access. Particularly
:: useful for external NTFS volumes that were created on another computer or by
:: another user
takeown /f %1 /r /d y
icacls %1 /grant administrators:F /t