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
// Use this with the Custom Javascript For Websites | |
// plugin for Chrome to fix PivotalTracker | |
function fixIt(){ | |
jQuery('h3[title="icebox"],label[class="icebox"]') | |
.attr("title","graveyard") | |
.children(1) | |
.text("Graveyard"); | |
var horizon = jQuery('.story_name:contains("Event Horizon")') |
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
package | |
{ | |
public class Color | |
{ | |
public static function hsv(h:Number, s:Number, v:Number):uint | |
{ | |
var r:Number, g:Number, b:Number, i:Number, f:Number, p:Number, q:Number, t:Number; | |
h %= 360; | |
if (v == 0) | |
return rgb(0, 0, 0); |
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
package | |
{ | |
import flash.geom.Point; | |
public class AStar | |
{ | |
private var open:Array = null; | |
private var closed:Array = null; | |
private var canEnter:Function; |
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
// https://gist.github.com/trystan/4968958 | |
package | |
{ | |
import flash.geom.Point; | |
public class Dijkstra | |
{ | |
private var grid:Array; | |
public function Dijkstra(w:int, h:int) |
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
// https://gist.github.com/4704144 | |
package | |
{ | |
import flash.geom.Point; | |
public class Line | |
{ | |
public var points:Array = []; | |
public function Line(x0:int, y0:int, x1:int, y1:int) { |