```onyx-gen-doc
{:foo true
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
| (defn then [promise-ch f] | |
| (let [out (async/promise-chan)] | |
| (async/pipeline-async 1 out #(async/pipe (f %1) %2) promise-ch) | |
| out)) |
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
| import { Connection } from 'tedious'; | |
| class TediousClient { | |
| constructor(config) { | |
| this.config = config; | |
| this._cx = null; | |
| } | |
| connect() { | |
| if (!this._cx) { |
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
| window.OB_releaseVer = "131699"; | |
| OBR = window.OBR || {}; | |
| OBR.i = OBR.i || []; | |
| OBR.na = OBR.na || {}; | |
| window.OBR$ = function(d) { | |
| return document.getElementById(d) | |
| }; | |
| OBR.c = OBR.c || function() { | |
| var d = {}, a = { | |
| F: 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| </head> | |
| <body> | |
| <ul id="here-is-where-i-want-a-newsticker"></ul> | |
| <!-- |
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 casper = require('casper').create(), | |
| images = []; | |
| // console arguments | |
| var sourcePage = casper.cli.get(0), | |
| filterExpression = casper.cli.get(1); | |
| function getPhotoUrls() { | |
| var els = document.querySelectorAll('img'); |
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
| _.mixin({ | |
| skipTake: function(array, options) { | |
| options = _.extend({skip:0, take:0}, options || {}); | |
| return _(array) | |
| .chain() | |
| .rest(options.skip) | |
| .first(options.take || array.length - options.skip) |
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 treetyIterator = function(obj) { | |
| var leaf = { | |
| children: [{ | |
| name: 'a1', | |
| children: [{ | |
| name: 'b1', | |
| children: [{ | |
| name: obj.id, | |
| files: [{ |
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
| <script src="http://the.cdn.com/path/to/jquery.js"></script> | |
| <script>window.jQuery || document.write('<script src="local/path/to/jquery.js"><\/script>')</script> |
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
| typescript: { | |
| compile: { | |
| files: { | |
| 'temp/scripts/app-all.js': 'app/scripts/**/*.ts' | |
| }, | |
| options: { | |
| comments: true, | |
| declarations: false, | |
| exec: false, | |
| module: 'commonjs', |
NewerOlder