This file contains hidden or 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
/*global $ */ | |
/* | |
_______ _______ _______ _______ _______ _______ _______ ___ _ | |
| || _ || || || _ || || || | | | | |
| ___|| |_| || || ___|| |_| || _ || _ || |_| | | |
| |___ | || || |___ | || | | || | | || _| | |
| ___|| || _|| ___|| _ | | |_| || |_| || |_ | |
| | | _ || |_ | |___ | |_| || || || _ | |
This file contains hidden or 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
Show hidden characters
{ | |
"selector": "source.ts", | |
"cmd": ["tsc", "$file"], | |
"file_regex": "^(.+?) \\((\\d+),(\\d+)\\)(: .+)$", | |
"line_regex": "\\((\\d+),(\\d+)\\)", | |
"osx": { | |
"path": "/usr/local/bin:/opt/local/bin" |
This file contains hidden or 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
// adapted from: http://stackoverflow.com/questions/901115/get-query-string-values-in-javascript | |
// wrapped it in a module and only exposing a getter function make the datastructure immutable | |
// usage: var bla = QueryString.get('loginEnabled') | |
var QueryString = (function () { | |
var urlParams = {}; | |
var e, | |
a = /\+/g, // Regex for replacing addition symbol with a space | |
r = /([^&=]+)=?([^&]*)/g, | |
d = function (s) { return decodeURIComponent(s.replace(a, " ")); }, |
This file contains hidden or 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
#!/usr/bin/env python | |
# determines filename and extension, then delegates compiling the LESS files to lessc via a shell command | |
import sys, os.path | |
from subprocess import call | |
src = sys.argv[1] | |
base,ext = os.path.splitext(src) |
This file contains hidden or 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
.love { | |
.heart(hotpink, 200px); | |
.transform-rotate(15deg); | |
} | |
.heart(@color: red, @size: 100px) { | |
position: relative; | |
width: @size; | |
height: 90px; |
NewerOlder