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
/** | |
* Blaskan Framework | |
*/ | |
/** =RESET ----- */ | |
/** | |
* html5doctor.com Reset Stylesheet | |
* v1.6.1 | |
* Last Updated: 2010-09-17 | |
* Author: Richard Clark - http://richclarkdesign.com |
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
/* | |
* Scripps Tiny Scrollbar | |
* Modified by adding scrollSim() | |
* - manually trigger onscroll event during move. | |
* - also fixed update function to return $(element) | |
*/ | |
/*! | |
* Tiny Scrollbar 1.66 | |
* http://www.baijs.nl/tinyscrollbar/ |
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
// This file was automatically generated from c_template.soy. | |
// Please don't edit this file by hand. | |
if (typeof ClosureTemplate == 'undefined') { var ClosureTemplate = {}; } | |
ClosureTemplate.first = function(opt_data, opt_sb) { | |
var output = opt_sb || new soy.StringBuilder(); | |
output.append('\t<h3>', soy.$$escapeHtml(opt_data.lastName), ' ', soy.$$escapeHtml(opt_data.firstName), '</h3>'); | |
var skillList8 = opt_data.skills; |
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
Show hidden characters
{ | |
"cmd": ["java", "-jar", "../SoyToJsSrcCompiler.jar", "--outputPathFormat", "../${file_base_name}.js", "${file}"], | |
"selector": "source.soy" | |
} |
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
var Builder = function(parentObj, childObj) { | |
var F = function() {}; | |
F.prototype = parentObj; | |
return $.extend(new F(), childObj); | |
}; | |
var parent = { | |
Inherit: 'parent inherit', | |
Both: 'parent value' | |
}; |
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
/** | |
* Array.indexOf Polyfill (courtesy of MDN) | |
*/ | |
if (!Array.prototype.indexOf) { | |
Array.prototype.indexOf = function(searchElement /*, fromIndex */ ) { | |
if (this === null) { | |
throw new TypeError(); | |
} | |
var t = new Object(this); | |
var len = t.length >>> 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
server { | |
listen *:80; | |
server_name api.bostonbikeparty.com; | |
error_log /Users/bendman/Documents/Development/bbp/logs/error.log info; | |
access_log /Users/bendman/Documents/Development/bbp/logs/access.log main; | |
location / { | |
proxy_pass http://bostonbikeparty.com:3000; | |
proxy_set_header Host $http_host; |
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
function getExternalIp() { | |
var ifconfig = require('os').networkInterfaces(); | |
var device, i, I, protocol; | |
for (device in ifconfig) { | |
// ignore network loopback interface | |
if (device.indexOf('lo') !== -1 || !ifconfig.hasOwnProperty(device)) { | |
continue; | |
} | |
for (i=0, I=ifconfig[device].length; i<I; i++) { |
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
settings = { | |
jshint: true, | |
editor: { | |
theme: "monokai", | |
indentUnit: 4, | |
smartIndent: true, | |
lineWrapping: true, | |
lineNumbers: true, | |
matchBrackets: 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
var crossDomain = (function(){ | |
var top = null; | |
try { | |
top = window.top.location.host; | |
} catch(err) {} | |
return (top === null); | |
}()); |
OlderNewer