Skip to content

Instantly share code, notes, and snippets.

View brandonjank's full-sized avatar

Brandon Jank brandonjank

View GitHub Profile
-- Schmoe's Feral Death Knight Mage Rotation
-- Import
local Actions, Receivers, Modifiers = Device.actions, Device.recivers, Device.modifiers
-- Actions
local spell, pause = Actions:Spell, Actions:Pause
-- Recivers
local unit, ground = Receivers:Unit, Receivers:Ground
-- Modifiers
local key, mouse, toggle = Modifiers:Key, Modifiers:Mouse, Modifiers:Toggle
@brandonjank
brandonjank / survival.lua
Last active August 29, 2015 14:04
Backburn's Survival Hunter Rotation for the Device Addon
-- Backburn's Survival Hunter Rotation
-- Updated on July 17th, 2014
-- PLAYER CONTROLLED: Rabid MUST be on Auto-Cast for Stampede pets to use them :)
-- SUGGESTED TALENTS:
-- CONTROLS: Pause - Left Control, Explosive/Ice/Snake Traps - Left Alt, Freezing Trap - Right Alt, Scatter Shot - Right Control
-- VARIABLES
local apiVersion = '1:0:0-alpha'
local rotationVersion = '1:0:0-alpha'
local developerName = 'Backburn'
# Executed before combat begins. Accepts non-harmful actions only.
actions.precombat=flask,type=greater_draenic_strength_flask
actions.precombat+=/food,type=calamari_crepes
actions.precombat+=/horn_of_winter
actions.precombat+=/unholy_presence
# Snapshot raid buffed stats before combat begins and pre-potting is done.
actions.precombat+=/snapshot_stats
actions.precombat+=/army_of_the_dead
actions.precombat+=/potion,name=draenic_strength
@brandonjank
brandonjank / UniconNPpp.xml
Created September 29, 2015 22:21
Unicon Language Profile for Notepad++
<NotepadPlus>
<UserLang name="Unicon" ext="" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00# 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@brandonjank
brandonjank / keybase.md
Created November 22, 2015 08:38
keybase.md

Keybase proof

I hereby claim:

  • I am backburn on github.
  • I am bjank (https://keybase.io/bjank) on keybase.
  • I have a public key whose fingerprint is CF99 3D68 AC89 5F9E 4A2F 4A98 DED0 53AD AC4E 43E4

To claim this, I am signing this object:

x += velocity * Math.cos(angle * Math.PI /180);
y += velocity * Math.sin(angle * Math.PI /180);
if (x < 0 || x > canvas.width) {
angle = 180 - angle;
}
else if (y < 0 ||y > canvas.height) {
angle = 360 - angle;
}
@brandonjank
brandonjank / nginx
Last active November 28, 2015 04:12
server {
listen 80;
server_name brandonjank.com www.brandonjank.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name brandonjank.com www.brandonjank.com;
class Submenu()
end
class "Main Menu"()
method newGame()
end
method closeGame()
end
method joinGame()
end
# Ubuntu 14.04 LTS kickstart for XenServer
# branch: develop
##########################################
# Install, not upgrade
install
# Install from a friendly mirror and add updates
url --url http://us.archive.ubuntu.com/ubuntu/
// Copyright (C) 2011-2015 Bossland GmbH
// See the file LICENSE for the source code's detailed license
using Buddy.BehaviorTree;
using DefaultCombat.Core;
using DefaultCombat.Helpers;
namespace DefaultCombat.Routines
{
internal class Marksmanship : RotationBase