Skip to content

Instantly share code, notes, and snippets.

raidTarget = {
order = 24,
type = 'group',
name = L["Raid Target"],
get = function(info) return E.global.nameplate.filters[selectedNameplateFilter].triggers.raidTarget[info[#info]] end,
set = function(info, value) E.global.nameplate.filters[selectedNameplateFilter].triggers.raidTarget[info[#info]] = value; NP:ConfigureAll() end,
disabled = function() return not (E.db.nameplates and E.db.nameplates.filters and E.db.nameplates.filters[selectedNameplateFilter] and E.db.nameplates.filters[selectedNameplateFilter].triggers and E.db.nameplates.filters[selectedNameplateFilter].triggers.enable) end,
args = {
types = {
name = "",
// something doesnt feel quite right with the return value at the bottom - can i be doing this in a better way?
function checkTeacherResponses(request) {
var email = request[studentResponseEmailColumn-1]
var studentId = email.split("@")[0].split(".")[2]
var requests = []
var class1request = {
"teacher" : request[studentResponseCourse1TeacherColumn-1],
"class": request[studentResponseCourse1CodeColumn-1]
function()
local NM = GetSpellInfo(202767);
local HM = GetSpellInfo(202768);
local FM = GetSpellInfo(202771);
local LS = GetSpellInfo(194153);
local SW = GetSpellInfo(190984);
local maxpower = UnitPowerMax("player" , SPELL_POWER_LUNAR_POWER);
A0RIIAAgAYUuCSg1S5JbkmqXgGqYiGNEWqbgGVSmKXJNlbaJ1DchjVMq5xRqHRE5KFQWKuohETVRABclbFTKR0lppFLlpBAzRXITqXYi+anSUFUsVchT1FTgKii2Cij4Kik0VkDJWUnBWwG6KyB7qb9EGCxUdRixWNBjiSaD6rLUZiifBRpN1GklqwUUvZYUzVZxWyi7Rf0mDIeq5ZDnqppOug5iO0jfkdJ4UDqPFOuVqvYLVbbUwAwnSkKCvoGZIF0YKdXA3JmEpx1azQ2Lb7Q6l21g7kzC0w6tZllkgQzMnUl42qHVai4hCHVWAFGBFjmmpIMZIyjGa79NDUliDknwG5hXMAvUEe3YN5sDE5JrRkqRPZvL0wRxE1TKN0s+4rdnq1le8AYQFWiR49l8CI2AKLea4fgvmXxtZA5JkAXSSDAL1BHt2B/1b/VsDknwXwz7rduCbbhnc0xAG30Dc0r8L1lkReLQBbSRGdynKg4UJvIQ1FkrcJ8qqerTm5iLA4XZJEZkwaeELqCNzOA+qWIDVXGgMJGHoM5azReAS08VG6imKj1FzcWBxs0SUvN8Abj0VLGBqjhQmMhDUGet5gvApaeKDVRTNQxpc6oxlSwTpQtoI/N8Abj0VLGBqjhQmMhDUGet5gvApaeKDVRTNZmLA4XZJABBwVa6gDYyzxeAS6+KA4WJPAR11mq+AFx6NUxThUsSMyCn5srBvSbwDZFY0wW0kRncJ1VsoCoOFCbyENRZK3CfVLGBaqrquKjUPIv/Z4iqyGZwn6o4UJjIQ1BnrcB9KtyQVPXpfc1xRx9B22gmiC6gjczgPqNI7R6oigOFiTwEddYK3GcUqd0DVf2NTlX9lb7m4kDjZgmceb4AXHqq2EBVHChM5CGos1bzBeDSU8UGqqka3rG5ONC4WeI1zxeAS08VG6iKA4WJPAR11mq+AFx6qthANVXSMc6cEkI3RGJNF9BGZnCfVLGBqjhQmMhDUGetwH1SxQaqAfdWdRwuai4OFGaT2EQJ+ZLJ
function()
AP_Bar_Current_Cast = 0;
AP_Bar_Current = UnitPower("player", SPELL_POWER_LUNAR_POWER, forceUpdate);
local currentSpell = UnitCastingInfo('player');
local currentChannel = UnitChannelInfo('player');
local specGroup = GetActiveSpecGroup();
local maxpower = UnitPowerMax("player" , SPELL_POWER_LUNAR_POWER);
local currentSpellChannel = nil;
@wing5wong
wing5wong / doesntwork.lua
Created January 12, 2017 11:26
doesntwork.lua
function(progress, r1, g1, b1, a1, r2, g2, b2, a2)
local colors_for_astral = {}
colors_for_astral[0] = {red = .2, green = .2, blue = .2}
--uncomment this, bar always purple (>10 ASP)
-- colors_for_astral[9] = {red = .5, green = 0, blue = .5}
colors_for_astral[39] = {red = 0, green = 0.5, blue = 1}
colors_for_astral[59] = {red = 0.5, green = 0, blue = 0.5}
<body>
<app>
<router-view></router-view>
</app>
</body>
// OR
//subject-listing.vue
<template>
<div class="page" id="subjects">
<h1>Subjects</h1>
<select name="thing" id="thing" v-model="thing">
<option value="1">1</option>
<option value="2">2</option>
</select>
EthnicityCode - multiple, not nested within an <EthnicityCodes> element.
EnrollingProvider - multiple, not nested within an <EnrollingProviders> element.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:SecondaryLearnerData>
<ns3:DataExtractionDateTime>2016-06-14T08:57:26.758</ns3:DataExtractionDateTime>
<ns3:Learners>
<ns3:Learner>
<script>
var course= new Vue({
el: "#app",
data: {
courses: [{
id: 1,
name: 'my course',
students: [
{