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
#!/usr/bin/env lua | |
-- new `_ENV' in lua 5.2 (on mac osx 10.8.2 x64, lua 5.2 rc4) | |
--[[ | |
-- test 1 | |
--]] | |
do | |
local oldenv = _ENV | |
local _ENV = {} |
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
require 'formula' | |
class Vim < Formula | |
homepage 'http://www.vim.org/' | |
url 'ftp://ftp.vim.org/pub/vim/unix/vim-7.3.tar.bz2' | |
head 'https://vim.googlecode.com/hg/' | |
sha256 '5c5d5d6e07f1bbc49b6fe3906ff8a7e39b049928b68195b38e3e3d347100221d' | |
version '7.3.294' | |
def features; %w(tiny small normal big huge) end |
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="Windows-1252" ?> | |
<NotepadPlus> | |
<!-- The key words of the supported languages, don't touch them! --> | |
<Languages> | |
<Language name="normal" ext="txt"/> | |
<Language name="actionscript" ext="as mx" commentLine="//" commentStart="/*" commentEnd="*/"> | |
<Keywords name="instre1">add for lt tellTarget and function ne this break ge new typeof continue gt not var delete if on void do ifFrameLoaded onClipEvent while else in or with eq le return instanceof case default switch</Keywords> | |
<Keywords name="type1">arguments constructor class dynamic false extends implements import interface intrinsic newline null private public super static true undefined Accessibility Arguments Array Boolean Button Camera ContextMenu ContextMenuItem CustomActions Color Date Error Function Key LoadVars LocalConnection Math Microphone Mouse MovieClip MovieClipLoader NetConnection NetStream Number PrintJob Object TextField StyleSheet TextFormat TextSnapshot SharedObjec |
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
*** ouf.lua 2010-09-07 10:18:39.233070300 +0800 | |
--- ../ouf.lua 2010-09-10 17:56:59.963724800 +0800 | |
*************** | |
*** 397,407 **** | |
--- 397,412 ---- | |
-- Attempt to guess what the header is set to spawn. | |
local parent = object:GetParent() | |
if(not unit) then | |
+ local suffix = object:GetAttribute'unitsuffix' | |
if(parent:GetAttribute'showRaid') then |
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
-- Attempt to guess what the header is set to spawn. | |
local parent = object:GetParent() | |
if(not unit) then | |
local suffix = object:GetAttribute'unitsuffix' | |
if(parent:GetAttribute'showRaid') then | |
unit = 'raid' | |
elseif(parent:GetAttribute'showParty') then | |
unit = 'party' | |
end |
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
local function Update(self, event, unit) | |
if unit ~= self.unit then return end | |
local _name, _icon, _count, _dtype, _duration, _endTime | |
local _priority, priority = 0 | |
local i = 0 | |
while(true) do | |
i = i + 1 | |
local name, rank, icon, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId = UnitAura(unit, i) | |
if (not name) then break end | |
priority = debuff_data[addon.MatchBySpellName and name or spellId] |
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
local function update(button, paperDollItemSlot) | |
local link | |
if(button.location and button.location < PDFITEMFLYOUT_FIRST_SPECIAL_LOCATION) then | |
local id, name, texture = EquipmentManager_GetItemInfoByLocation(button.location) | |
if(texture) then | |
_, link = GetItemInfo(id) | |
end | |
end | |
oGlow:CallFilters('flyout', button, link) |
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
--[[ | |
Copyright (c) 2008-2010 yleaf (yaroot@gmail.com) | |
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 | |
furnished to do so, subject to the following conditions: | |
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
--[[ | |
Copyright (c) 2008-2009 yleaf (yaroot@gmail.com) | |
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 | |
furnished to do so, subject to the following conditions: | |
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
--[[ | |
oUF_Caellian.toc | |
change | |
## OptionalDeps: oUF_CombatFeedback, oUF_ReadyCheck, oUF_SpellRange, oUF_TotemBar, oUF_WeaponEnchant | |
to | |
## OptionalDeps: oUF_CombatFeedback, oUF_ReadyCheck, oUF_SpellRange, oUF_TotemBar, oUF_WeaponEnchant, oUF_RaidDebuffs | |
]] |