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
{ | |
"cmd": ["haml"], | |
"working_dir": "${file_path:${folder}}", | |
"selector": "source.haml", | |
"file_regex": "(.*\\.ts?)\\s\\(([0-9]+)\\,([0-9]+)\\)\\:\\s(...*?)$", | |
"windows": | |
{ | |
"cmd": ["haml", "--trace", "$file", "${file_base_name}.html"], | |
"shell": "true" |
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
{ | |
"cmd": ["sass", "--update", "$file:${file_path}/${file_base_name}.css"], | |
"selector": "source.sass", | |
"line_regex": "Line ([0-9]+):", | |
"osx": | |
{ | |
"path": "/usr/local/bin:$PATH" | |
}, |
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
interface Package { | |
person: { | |
firstName?:string; | |
lastName?:string; | |
age:number; | |
action: string; | |
}; | |
status: { | |
married?:bool; |
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
BitmapData.prototype.getContext = function() { | |
return this.context; | |
}; | |
BitmapData.prototype.getCanvas = function() { | |
return this.canvas; | |
}; | |
BitmapData.prototype.getCanvasPos = function(el) { | |
var canvas = document.getElementById(el) || this.getCanvas(); |
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
//for Windows | |
{ | |
"cmd": ["tsc","$file"], | |
"file_regex": "(.*\\.ts?)\\s\\(([0-9]+)\\,([0-9]+)\\)\\:\\s(...*?)$", | |
"selector": "source.ts", | |
"windows": { | |
"cmd": ["tsc.cmd", "$file"] | |
} | |
} |
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.display.Sprite; | |
import flash.display.StageAlign; | |
import flash.display.StageScaleMode; | |
import flash.utils.getTimer; | |
[SWF (backgroundColor = 0xffffff, width = 1090, height = 800)] | |
public class BallCollisionGrid extends Sprite { | |
private var _grids:Array; |
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 main | |
import ( | |
"fmt" | |
"time" | |
) | |
const LIM = 41 | |
var facts [LIM]uint64 |
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 main | |
import ( | |
"fmt" | |
) | |
func BubbleSort(arr[] int)[]int { | |
for i:=1; i< len(arr); i++ { | |
for j:=0; j < len(arr)-i; j++ { | |
if (arr[j] > arr[j+1]) { |
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 main | |
import ( | |
"fmt" | |
) | |
var ( | |
values = map[string]int{ | |
"alpha": 34, "bravo": 56, "charlie": 23, | |
"delta": 87, "echo": 56, "foxtrot": 12, "golf": 34, "hotel": 16, |
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 main | |
import ( | |
"math/rand" | |
"fmt" | |
) | |
const ( | |
N int = 128 | |
) |
OlderNewer