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'), | |
routingProxy = require('http-proxy').RoutingProxy(), | |
app = express.createServer(); | |
var apiVersion = 1.0, | |
apiHost = my.host.com, | |
apiPort = 8080; | |
function apiProxy(pattern, host, port) { | |
return function(req, res, next) { |
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
<dict> | |
<key>name</key> | |
<string>SublimeLinter Error Outline</string> | |
<key>scope</key> | |
<string>sublimelinter.outline.illegal</string> | |
<key>settings</key> | |
<dict> | |
<key>background</key> | |
<string>#440000</string> | |
<key>foreground</key> |
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 MyView = Backbone.View.extend((function () { | |
// ---------- Private ---------- | |
var _cantTouchThis = 0; | |
var _template; | |
return { |
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
define(function () { | |
'use strict'; | |
// ---------- Constants ---------- | |
var MY_STATIC_PRIVATE_CONST = 'only here, every instance, plz don\'t change meh'; | |
var TEMPLATE = '<div></div>'; | |
var MyView = Backbone.View.extend((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
// See: https://gist.github.com/1290439 | |
/* | |
You can now create a spinner using any of the variants below: | |
$('#el').spin(); // Produces default Spinner using the text color of #el. | |
$('#el').spin('small'); // Produces a 'small' Spinner using the text color of #el. | |
$('#el').spin('large', 'white'); // Produces a 'large' Spinner in white (or any valid CSS color). | |
$('#el').spin({ ... }); // Produces a Spinner using your custom settings. |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCxP1Oh8CnRJJM4pLbloF7FkR+WYuOHRvjTVrWyow9OWh466iM9ZPibUfUFCZejTionsMUMx1B24pCGL4rwhNG+epRICExil5jLRGJ34YWTqQIJZvw3BVwsX91cWzDCFQ8fYl3jyFL3pWoea0Wl9juZWhu18Kbac8aimDRi52eY5q4Hjo+K2qrHeDXRTqNItNlLESAp9q012C9M/hxHuEvkzT/ie3WZGk9Q66YkbbYw0tTe50I/G8T9o8ZSrfOmSWtIhpjM09zXttwMe7/TqEHmG2lNhlNxOYt0DJGuWS43NXJ6mvQ/i9amBA9glFa2uUNbTPVN47RENb/RvdZVzhw3 Jamie@Catwoman.local |
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
{ | |
"videos": { | |
"[]": "widescreen", | |
"author": "author", | |
"categories": "categories", | |
"description": "description", | |
"latitude": "latitude", | |
"longitude": "longitude", | |
"media_content": "media_content", | |
"state": "state", |
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
{ | |
"author": { | |
"name": "ytvidio", | |
"uri": "http://gdata.youtube.com/feeds/api/users/ytvidio" | |
}, | |
"categories": [{ | |
"term": "Film", | |
"label": "Film & Animation" | |
}], | |
"description": "TIL he was literally Samuel L. C(le)mons", |
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
nav > li > a:after { | |
content: attr(label); | |
} | |
@media (min-width: @navbarCollapseWidth) and (max-width: 1160px) { | |
nav > li > a:after { | |
content: attr(abbr-label); | |
} | |
} |
OlderNewer