Skip to content

Instantly share code, notes, and snippets.

local _, ns = ...
local i = 1
local j = {}
local k = false
local _, class = UnitClass'player'
local colour = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS)[class]
local menu = CreateFrame('Frame', 'modui_elementsmenu', menu)
## Interface: 11302
## Title: mod ui
## Author: modernist
## Notes: a ui (stripped of everything but the energy bar)
unit/energy.lua
MODUI_VAR = {
["theme"] = {
["b"] = 0,
["g"] = 0,
["r"] = 0,
},
["statusbar"] = {
["smooth"] = true,
},
@obble
obble / best.txt
Last active December 3, 2017 20:08
best records I’ve liked 2017
ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʕ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ•̫͡•ʕ•̫͡•ʔ•̫͡•ʔ
top... 11 ~
- william eggleston - musik
- theme - passages
- white noise sounds of frozen arctic ocean with polar icebreaker idling - creating delta waves
- mono no aware
- madteo - confessions of a permanent alien opium beater
@obble
obble / aura.lua
Created September 25, 2016 08:59
local playerUnits = {
player = true,
pet = true,
vehicle = true
}
local dispelTypes = {
Magic = true,
Curse = true,
Disease = true,
--Settings
local showPets = false
local enableAddOn = true
local showFriendly = false
local showDebuffs = true
--Don't edit
local currentDebuffs = {}
local Players = {}
local create = function(plate)
plate.target = plate:CreateTexture(nil, 'OVERLAY')
plate.target:SetWidth(30) plate.target:SetHeight(30)
plate.target:SetPoint('BOTTOMLEFT', plate, 'TOPLEFT')
plate.target:SetTexture[[Interface\Tooltips\UI-Tooltip-Background]]
plate.target:SetVertexColor(1, 0, 0)
plate.target:Hide()
plate.modded = true
-- Garrison
-- colour -------------------------------------------------------------------------------
local r, g, b = 103/255, 103/255, 103/255
-- implement ----------------------------------------------------------------------------
local SkinGarriButtons = CreateFrame("Frame", nil, UIParent)