Skip to content

Instantly share code, notes, and snippets.

View GabeStah's full-sized avatar

Gabe Wyatt GabeStah

View GitHub Profile
@GabeStah
GabeStah / gist:6636034
Created September 20, 2013 11:10
WeakAuras: Amount per Interval Tracker - Custom Text Function
function() -- CUSTOM TEXT
-- BEGIN VARIABLES
local ID = 'AmountPerIntervalTracker'
-- END VARIABLES
-- BEGIN BASE FUNCTIONS
local GetValue = function(...)
if not WeakAuras.CustomValues then WeakAuras.CustomValues = {} end
if not ... then return end
local count, data = #{...}
@GabeStah
GabeStah / gist:6636046
Last active December 23, 2015 12:29
WeakAuras: Amount per Interval Skeleton - Custom Trigger Function
function(...) -- CUSTOM TRIGGER
-- BEGIN VARIABLES
local ID = 'AmountPerIntervalTracker'
local AMOUNT_TYPE = 'healing'
local DESTINATION_FLAG = COMBATLOG_OBJECT_TYPE_PLAYER
local EVENT_TYPE = 'SPELL_HEAL'
local INTERVAL_TIME = 4
local SOURCE = 'player'
local SPELL_NAME = 'Spinning Crane Kick'
-- END VARIABLES
local _ = 'apple'
function MyFunction(input)
print(input)
end
MyFunction(_)
-- OUTPUT: apple
@GabeStah
GabeStah / deploy.rb
Created September 15, 2014 13:02
deploy.rb example file
require 'mina/bundler'
require 'mina/rails'
require 'mina/git'
require 'mina_sidekiq/tasks'
# require 'mina/rbenv' # for rbenv support. (http://rbenv.org)
# require 'mina/rvm' # for rvm support. (http://rvm.io)
set :domain, 'gabestah.com'
set :deploy_to, '/var/www/vcp'
set :repository, 'https://github.com/GabeStah/vcp.git'
@GabeStah
GabeStah / gist:f9c2380eb1cd12b0cf53
Created September 18, 2014 05:54
Combat - Toggle Frames WeakAura
dO0mmaGiuHYJGuLUeQq1NijnkkPtrjMfjXTikPDrLggrLogvLwgfspJOIPrvKRHkyBeL6BqQKZruI1reCpizFqQOoifSqQcEiKYebL6IuuBKI4JePgjQqojfIvsIzck5MqQi7KO4NqQGHsvulLQINsPMkrYvHuH2kOQVseDwQc9wQQUlOyVOQ)cQmy1HrzXOIEmQ0Kr4YaBgr(mvPgnj1PHQxtu1Sj0TPIDtQFdLHteA5e8CqMosxhITJO(ovjJhsvCEiv17PqnFivQ7trA)Y8(YlfVTdVnbVnbVu82e4qsuKH(sbqpuEBEBbG34yAPqFjc4TPa0dL3MkG7T3abEP4TPOVeb82CrGOyo82eicmkoMM3wU82CrGOyoWPgNaWBZfbII5WBZfbII5WBtcrZLIJPTcid0ulP0D3IyCzIT0ak8mreqJQjHO5sXX0wDDDTKs3D3D34KAngTLeWK3aIadYfneikMd8mreautvd0TKaM8gqeyqUOHarXCGNjIaGAuTXM2anrkD3D3DJtQ1y0211TPQb6waqre0nqtKs3D3D3IyCzInxmenvLMGrznQg9ASRRRPP0D3D3noPMlgIM2mnrBLlgIM2OZTVwAQAGoLU7U7U7UBsycnUkKBCDlrgUaKvJDDDn1stGLs3D3D3D3D3DJtQXrHY3MQgOBjbm5nGiWGCrdbII5apteba5NmmnQwsatEdicmix0qGOyoWZeraq(jdtJj0gBAtWOSgvljGjVbebgKlAiqumh4zIiai)KHjLU7U7U7U7U7gicbACsnEh6gvZfdrtBQAGUXj1AmAtWOm)KHPPQb6MGrz(jdtJQn20gicbAcgL1OAcgL5Nmmnqt0ariqtWOSgvtWOm)KHPbAIgOjsP7U7U7U7gOjsP7U7UBGieOjyuwJQLeWK3aIadYfneikMd8mreaKFiGiGl1QVQ0UUUwGPbAIu6U7U7waqre0nbJYsP7UbAIu6UBrmUmX2gqHNjIaAunjenxkoM2kzMicqL2111skD3D3DJ
@GabeStah
GabeStah / gist:2356a038ba31a11fe0fb
Created September 19, 2014 03:36
Combat - Trigger Frames 2
dO0poaGiciEeur5sesvFcQYOOIofvYSisUfPc7cunmkbhdcSmOI8msfnnqP6AeeBJsOVbvuDoqjSoIuDpqSpqjYbjLwirkpeIAIuPCrIyJeOpcvAKeqDsQuTsIAMeu3Kas7eu8tqPmucjlLu4PG0ujv6QGsuBfQQVsk6SeKEle5UqO9sI)sfgS6WOSycXJjutgjxgyZiYNHGgnPQtdPxtjz2K0TPu7MIFdLHtawos9CQA6O66iSDe13HkmEqjDEcP8EkrZNqQCFkP2VSccu0vbQTcukfOuk6QaLc1lavMOPlaw5kqvGsy40OieHaAfDvGkMWZXSvGsIWiMJIzC6k5U7MgWjOnnNMaKmWqPWvGYPrricb0k6QaLlAcaOavmHNJzRaLIGMXrXmkqTGcuXeEoMTcusegXCumJtazGH7k5U7wh6OLMeCDhMgzydgbDh3K7UBvmXm1gaRCAMG0mBGVH0wMC3D3D34jqrnO2mbGxYD3T1j3D36qhTeyCRrg2Grq3Xn5U7wftmtTXfWXNPsaAinjcJyokMXjC4WDLC3D3D3OKAdgV1eWSslbnZdhzcphZgFMkbW3C9atRjGzLwcAMhoYeEoMn(mvcGVH0wADdmuj3D3D3nkP2GXB4WH3C9attd4e0MgyOsU7U7UBvmXm1wmgHHlvtX4SgsJZSeoC4wNC3D3D3OKAXyegEZmuTtXyegEdl1iWvZ1dmj3D3D3D3DtcJUrLICJAAbWqP9oTeoC4w7QPWsU7U7U7U7U7Urj1OqGGGMRhyAnbmR0sqZ8WrMWZXSXNPsa8irgXgsRjGzLwcAMhoYeEoMn(mvcGhjYi2y0TLw3umoRH0AcywPLGM5HJmHNJzJptLa4rImIj3D3D3D3D3D3avpOrj1ODIoiTymcdV56bMgLuBW4nfJZqImInxpW0umodjYi2qAlTUbQEqtX4SgstX4mKiJydmunq1dAkgN1qAkgNHezeBGHQbgQK7U7U7U7UbgQK7U7U7gO6bnfJZAiTMaMvAjOzE4i
elseif event == 'PLAYER_REGEN_DISABLED' or event == 'PLAYER_REGEN_ENABLED' then
print(event)
function(event)
-- BEGIN CONFIG
local extraFrames = {
'Minimap'
}
-- END CONFIG
local GetValue = function(...)
if not WeakAuras.CustomValues then WeakAuras.CustomValues = {} end
if not ... then return end
local count, data = #{...}
dS0VoaGiIuQhHksDjurIpbL0OOKofLYSOO6wKszxqXWiLQJbLyzKk1ZqvY0GuLRrKQTHQu6BOkvohQsX6iL09qvTpivuhKizHqQWdHuMirkCriv1gjcFKIYiHuPtIkQvsOzsQKBIQu1ojv1prfXqjLWsjLONsWuHkUkQiPTIQ4RKQCwIu0BHkDxOu7LQ(lr0GvhgLfJk8yizYiCzGndv9zsHrtroneRgsf51KIMnrDBkSBs(nOgoLWYr0ZPY0r66GSDuPVtjA8Kk68Kk8EkvMprk5(uQA)YES4XXly4fi8ceEC8ceiolKz6ahGoPEbVajqdeyfo6WcGxGc0j1lqG4qNGuOOiCbE0HxaHWlGgSbhmARTwcsMbOXbwdnKbEbkjIgAai944fO6WcGxafKJcB4fiGizueyLxq7EbuqokSHKMqiaEbuqokSHxafKJcB4fWdPqrrGvwbCbkQTe7UBTPTgDG(MXz9B04e9LGZMLy3DldJIj3aDsjzsqYmaUMFBxID3D3DJvEpIcXGzbwtS7UTpXU7wBARrF9LgnACI(sWzZsS7ULHrXKBbaLhMmeO534HuOOiWkRCzYqaZBmyWylXU7U7UrW3kyARhGPPuqKmhg0GCuydEyYqaxtnbuTEaMMsbrYCyqdYrHn4HjdbCn)2o7BGIiXU7U7UrW3kyAJbdMMAcOAsafIu1afrID3D3DldJIj3OGHuuZBcgL18BoTDyWGX(e7U7U7gpmzJyo3gr1wWqiDwTddgm2BRjGtS7U7U7U7gbFJWNpwAQjGQrW3OGHu0MPiAuWqkAZNFJLMAcOA9amnLcIK5WGgKJcBWdtgc4WLl2n)Mltgc0azhiXU7U7U7U7U7U7U1dW0ukisMddAqokSbpmziGdxUy38B9amnLcIK5WGgKJcBWdtgc4WLl2nmzBN9j2D3D3D3D3D3D3nbJYA(TEaMMsbrYCyqdYrHn4HjdbC4Yf7gOisS7U7U7U7gi7anc(gPtAXVrbdPOn1eq1i4BfmTjyugUCXUPM
<ul>
<li>Level: 100</li>
<li>Required Item Level: 645</li>
<li>Followers: 3</li>
<li>Mission Time: 8 hrs</li>
<li>Duration: 8 hrs</li>
<li>Cooldown Time: 14 days</li>
<li>Location: Highmaul</li>
<li class="q3 t">Rare</li>
<li class="q6 t">Exhausting</li>