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
bunyan = require 'bunyan' | |
restify = require 'restify' | |
requireDir = require 'require-dir' | |
middleware = requireDir './middleware' | |
routes = requireDir './routes' | |
settings = require './settings' | |
app = restify.createServer | |
name: 'Foo Bar API' |
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
// preserve Twitter's style of JSON string encoding... | |
// escape higher value unicode (lowercase hex) | |
// escape < and > (uppercase hex) | |
// escape / in strings (\/) | |
// hugs! https://gist.github.com/1306986 | |
// http://stackoverflow.com/questions/4901133/json-and-escaping-characters | |
function escapedStringify(s, emit_unicode) { | |
var json = JSON.stringify(s); | |
return emit_unicode ? json : json.replace(/\//g, | |
function(c) { |
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 express = require('express'), | |
requirejs = require('requirejs'), | |
app = module.exports = express.createServer(); | |
app.configure('development', function(){ | |
// Use development version of static files | |
app.use(express.static(__dirname + '/public')); | |
}); | |
app.configure('production', 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
75825 http://www.youtube.com/watch?feature=player_profilepage&v=3wbvpOIIBQA | |
75615 http://www.youtube.com/watch?v=f2JuxM-snGc | |
75311 https://www.youtube.com/watch?v=G33DdYQZbas | |
75279 http://www.youtube.com/v/isWyYDxFS8w?color2=FBE9EC& | |
75071 https://www.youtube.com/watch?v=TYytErqGdC4 | |
75003 https://www.youtube.com/watch?v=TYytErqGdC4 | |
74789 http://www.youtube.com/watch?v=nRckgn36lzY | |
74427 https://www.youtube.com/watch?feature=player_embedded&v=bhhpz9pKyj8 | |
74313 http://www.youtube.com/watch?v=1MwWZEZox2w | |
74099 http://www.youtube.com/watch?v=7SSXLIZkM3E |
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
Object | |
.keys(this._sources) | |
.map(function(source) { | |
return this._sources[source].resultColumn; | |
}.bind(this)) | |
.forEach(function(column) { | |
var colHeight = column.getHeight(); | |
if (scrollBottom + this._loadMoreOffset > colHeight) { | |
console.log('LOAD MORE'); |
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
<script type='text/javascript' src='http://public.tableausoftware.com/javascripts/api/viz_v1.js'></script><div class='tableauPlaceholder' style='width: 514px; height: 1094px;'><noscript><a href='http://www.cnbc.com/id/100869938'><img alt='Deficient Bridges in the U.S. ' src='http://public.tableausoftware.com/static/images/KM/KM5GBH3Z4/1_rss.png' style='border: none' /></a></noscript><object class='tableauViz' width='514' height='1094' style='display:none;'><param name='host_url' value='http%3A%2F%2Fpublic.tableausoftware.com%2F' /> <param name='path' value='shared/KM5GBH3Z4' /> <param name='toolbar' value='yes' /><param name='static_image' value='http://public.tableausoftware.com/static/images/KM/KM5GBH3Z4/1.png' /> <param name='animate_transition' value='yes' /><param name='display_static_image' value='yes' /><param name='display_spinner' value='yes' /><param name='display_overlay' value='yes' /><param name='display_count' value='yes |
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
<style type="text/css"> | |
iframe { | |
width: 500px; | |
height: 100%; | |
margin: 0 auto; | |
display block; | |
border: 1px solid #ccc; | |
} | |
</style> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>author</key> | |
<string>William D. Neumann</string> | |
<key>name</key> | |
<string>gazotem</string> | |
<key>settings</key> | |
<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
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
jQuery(document).ready(function() { | |
function addWmodeTransparent() { | |
var intervalID; | |
intervalID = setInterval(checkObject, 500); | |
function checkObject() | |
{ | |
if($('object').length){ | |
$('object').append('<param name="wmode" value="transparent">'); | |
clearInterval(intervalID); |
OlderNewer