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
| =begin | |
| <STX>00000000119960614080000ABCDDDS 000000000000000000000000004CO|1<ETX><SUM> | |
| <SEQUENCENUMBER> : 000000001 | |
| <DATETIMESTAMP> : 19960614080000 | |
| <PROVIDERCODE> : ABCD | |
| <CUSTOMERCODE> : DDS | |
| <MARKETINSTRUMENTCODE> : 0000 | |
| <SEQUENCENUMBERINST> : 000000000 | |
| <OPCODE> : 0000 |
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
| Quando | |
| Enriqueta | |
| Ultra | |
| Port Lligat Slab | |
| Cutive | |
| Alike | |
| Artifika | |
| Marko One | |
| IM Fell DW Pica |
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
| require 'em-websocket' | |
| require 'json' | |
| def parse_path(path) | |
| data = path.split("/") | |
| data.delete("") | |
| { | |
| :channel => data[0], | |
| :event => data[1] |
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
| var Promise = function(url) { | |
| var returned_values = { | |
| complete : null, | |
| fail : null | |
| }; | |
| var xhr = new XMLHttpRequest(); | |
| xhr.open("GET", url, true, null, null); | |
| this.getData = function() { |
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
| var data = new FormData(); | |
| data.append('videoshow[title]', 'FormData'); | |
| data.append('videoshow[logo]', $('#videoshow_logo')[0].files[0]); | |
| var xhr = $.ajax({ | |
| url: '/admin/videoshows', | |
| dataType : 'script', | |
| contentType: false, | |
| cache: false, | |
| processData: false, |
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
| GMaps.MarkerCollection = function GMaps.MarkerCollection(markers, options) { | |
| this.markers = markers || []; | |
| var scopes = options.scopes; | |
| for (var i in scopes) { | |
| if (this[i] == undefined) { | |
| this[i] = function() { | |
| var new_collection = []; |
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
| GMaps.prototype.markerFilter = function(conditions) { | |
| var filtered_markers = [], i = 0, detail, marker; | |
| for (i = 0; i < this.markers.length; i++) { | |
| marker = this.markers[i]; | |
| if (conditions instanceof Array) { | |
| if (conditions.indexOf(marker.detail.id) > -1) { | |
| filtered_markers.push(marker); | |
| } |
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
| /* General */ | |
| @media screen and (max-device-width: 320px) and (max-device-height: 480px) and (device-pixel-ratio: 1.0) { | |
| } | |
| /* iPhone 4 (General with Pixel Ratio == 2.0) */ | |
| @media screen and (max-device-width: 320px) and (max-device-height: 480px) and (device-pixel-ratio: 2.0) { | |
| } |
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
| var jsdom = require("jsdom").jsdom; | |
| var document = jsdom(); | |
| var window = document.parentWindow; | |
| var express = require('express'); | |
| var app = express(); | |
| app.get('/', function(request, response) { | |
| var code = request.params.code || request.query.code; |
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
| var Gambit = function(options) { | |
| var events = {}; | |
| var EventManager = { | |
| on : function (event_name, fn, once) { | |
| if (once == undefined) { | |
| once = false; | |
| } | |
| if (!(event_name in events)) { |