entities
listlengths
1
8.61k
max_stars_repo_path
stringlengths
7
172
max_stars_repo_name
stringlengths
5
89
max_stars_count
int64
0
82k
content
stringlengths
14
1.05M
id
stringlengths
2
6
new_content
stringlengths
15
1.05M
modified
bool
1 class
references
stringlengths
29
1.05M
[ { "context": "\t\tname: agent.name\n\t\t\t\tpath: agent.path\n\t\t\t\tkey: 'upvote_'+data.post._id+'_'+agent._id\n\t\t\t\tcreated_at: Date.now() # Remove so addToSet c", "end": 658, "score": 0.9765053391456604, "start": 622, "tag": "KEY", "value": "upvote_'+data.post._id+'_'+agent._id" } ]
app/services/karma.coffee
f03lipe/qilabs
0
mongoose = require 'mongoose' async = require 'async' _ = require 'lodash' assert = require 'assert' please = require 'app/lib/please' Chunker = require './chunker' logger = require('app/config/bunyan')({ service: 'KarmaService' }) TMERA = require 'app/lib/tmera' KarmaItem = mongoose.model 'KarmaItem' KarmaChunk = m...
132073
mongoose = require 'mongoose' async = require 'async' _ = require 'lodash' assert = require 'assert' please = require 'app/lib/please' Chunker = require './chunker' logger = require('app/config/bunyan')({ service: 'KarmaService' }) TMERA = require 'app/lib/tmera' KarmaItem = mongoose.model 'KarmaItem' KarmaChunk = m...
true
mongoose = require 'mongoose' async = require 'async' _ = require 'lodash' assert = require 'assert' please = require 'app/lib/please' Chunker = require './chunker' logger = require('app/config/bunyan')({ service: 'KarmaService' }) TMERA = require 'app/lib/tmera' KarmaItem = mongoose.model 'KarmaItem' KarmaChunk = m...
[ { "context": "\":\n \"shared\": \"partagé avec succès!\"\nAUTHORS: \"Auteurs\"\nAUTHOR: \"Auteur\"\nAUTHOR_TITLE: \"Auteur: {{name}}", "end": 1379, "score": 0.9981281161308289, "start": 1372, "tag": "NAME", "value": "Auteurs" }, { "context": "partagé avec succès!\"\nAUTHORS: \"Aut...
src/i18n/fr.cson
Intraktio/hybrid
2
PULL_TO_REFRESH: "Tirer pour rafraîchir!" RETRY: "Réessayez" CANCEL: "Annuler" SUBMIT: "Envoyer" BACK: "Retour" ERROR: "Quelque chose d'inattendu est survenu, veuillez réessayer." ATTEMPT_TO_CONNECT: "Tentative de connection {{attempt}} sur {{attemptMax}}." OK: "Ok" YES: "Oui" NO: "Non" EMPTY_LIST: "La liste est vide!"...
158869
PULL_TO_REFRESH: "Tirer pour rafraîchir!" RETRY: "Réessayez" CANCEL: "Annuler" SUBMIT: "Envoyer" BACK: "Retour" ERROR: "Quelque chose d'inattendu est survenu, veuillez réessayer." ATTEMPT_TO_CONNECT: "Tentative de connection {{attempt}} sur {{attemptMax}}." OK: "Ok" YES: "Oui" NO: "Non" EMPTY_LIST: "La liste est vide!"...
true
PULL_TO_REFRESH: "Tirer pour rafraîchir!" RETRY: "Réessayez" CANCEL: "Annuler" SUBMIT: "Envoyer" BACK: "Retour" ERROR: "Quelque chose d'inattendu est survenu, veuillez réessayer." ATTEMPT_TO_CONNECT: "Tentative de connection {{attempt}} sur {{attemptMax}}." OK: "Ok" YES: "Oui" NO: "Non" EMPTY_LIST: "La liste est vide!"...
[ { "context": "ts by column\", ->\n test = [\n {first: 'Johann Sebastion', last: 'Bach'}\n {first: 'Wolfgang Amadeus", "end": 1046, "score": 0.9997704029083252, "start": 1030, "tag": "NAME", "value": "Johann Sebastion" }, { "context": "st = [\n {first: 'Johan...
test/mocha/array.coffee
alinex/node-util
0
chai = require 'chai' expect = chai.expect ### eslint-env node, mocha ### describe "Array", -> {array, clone} = require '../../src/index' describe "last", -> it "should get element", -> test = [1, 2, 3, 4, 5] expect array.last(test) , "get last" .to.be.equal 5 it "should get ele...
33831
chai = require 'chai' expect = chai.expect ### eslint-env node, mocha ### describe "Array", -> {array, clone} = require '../../src/index' describe "last", -> it "should get element", -> test = [1, 2, 3, 4, 5] expect array.last(test) , "get last" .to.be.equal 5 it "should get ele...
true
chai = require 'chai' expect = chai.expect ### eslint-env node, mocha ### describe "Array", -> {array, clone} = require '../../src/index' describe "last", -> it "should get element", -> test = [1, 2, 3, 4, 5] expect array.last(test) , "get last" .to.be.equal 5 it "should get ele...
[ { "context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li", "end": 43, "score": 0.999910831451416, "start": 29, "tag": "EMAIL", "value": "contact@ppy.sh" } ]
resources/assets/coffee/_classes/nav2.coffee
osu-katakuna/osu-katakuna-web
5
# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. class @Nav2 constructor: (@clickMenu) -> @menuBg = document.getElementsByClassName('js-nav2--menu-bg') $.subscribe 'click-menu:current...
29166
# Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. class @Nav2 constructor: (@clickMenu) -> @menuBg = document.getElementsByClassName('js-nav2--menu-bg') $.subscribe 'click-menu:current', @aut...
true
# Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. class @Nav2 constructor: (@clickMenu) -> @menuBg = document.getElementsByClassName('js-nav2--menu-bg') $.subscribe 'click-menu...
[ { "context": "ta)\n $\n ///\n\nmodule.exports =\n options:\n # Gina Trapani's todo.txt-cli format & implementation\n CANONI", "end": 913, "score": 0.9830895662307739, "start": 901, "tag": "NAME", "value": "Gina Trapani" } ]
lib/parser.coffee
mgielda/todotxt-parser
14
_ = require "underscore" buildPattern = (opt) -> # returns interpolation-friendly regex interp = (expr) -> regex = expr().toString() regex[1..(regex.lastIndexOf("/") - 1)] DATE = -> opt.dateRegex START = -> if opt.relaxedWhitespace then /^\s*/ else /^/ SPACE = -> if opt.relaxedWhitespace then /\s+/ ...
167124
_ = require "underscore" buildPattern = (opt) -> # returns interpolation-friendly regex interp = (expr) -> regex = expr().toString() regex[1..(regex.lastIndexOf("/") - 1)] DATE = -> opt.dateRegex START = -> if opt.relaxedWhitespace then /^\s*/ else /^/ SPACE = -> if opt.relaxedWhitespace then /\s+/ ...
true
_ = require "underscore" buildPattern = (opt) -> # returns interpolation-friendly regex interp = (expr) -> regex = expr().toString() regex[1..(regex.lastIndexOf("/") - 1)] DATE = -> opt.dateRegex START = -> if opt.relaxedWhitespace then /^\s*/ else /^/ SPACE = -> if opt.relaxedWhitespace then /\s+/ ...
[ { "context": "service:session\")\n @userParams =\n email: \"test@test.test\"\n password: \"password123\"\n Cookies.remove", "end": 520, "score": 0.999893307685852, "start": 506, "tag": "EMAIL", "value": "test@test.test" }, { "context": " =\n email: \"test@test.te...
tests/acceptance/session-basics-test.coffee
simwms/apiv4
2
`import Ember from 'ember'` `import { module, test } from 'qunit'` `import startApp from '../../tests/helpers/start-app'` module 'Acceptance: SessionBasics', beforeEach: -> @application = startApp() ### Don't return anything, because QUnit looks for a .then that is present on Ember.Application, but i...
191997
`import Ember from 'ember'` `import { module, test } from 'qunit'` `import startApp from '../../tests/helpers/start-app'` module 'Acceptance: SessionBasics', beforeEach: -> @application = startApp() ### Don't return anything, because QUnit looks for a .then that is present on Ember.Application, but i...
true
`import Ember from 'ember'` `import { module, test } from 'qunit'` `import startApp from '../../tests/helpers/start-app'` module 'Acceptance: SessionBasics', beforeEach: -> @application = startApp() ### Don't return anything, because QUnit looks for a .then that is present on Ember.Application, but i...
[ { "context": "t.test \"exact match\", ->\n assert(x.accept(\"matt\"))\n assert(x.accept(\"matthew\"))\n a", "end": 727, "score": 0.7105966210365295, "start": 724, "tag": "NAME", "value": "mat" }, { "context": "assert(x.accept(\"matt\"))\n assert(x.accept(\...
test/fsa_test.coffee
automatthew/djinn
4
Testify = require "testify" assert = require "assert" Djinn = require "../src/djinn" FSA = Djinn.FSA fs = require "fs" Testify.test "Djinn FSA", (context) -> fsa = new FSA() fsa.add_path("matthew") fsa.add_path("matt", 42) state_list = fsa.add_path("margin") fsa.add_arc(state_list[2], state_list[1], "z") ...
177806
Testify = require "testify" assert = require "assert" Djinn = require "../src/djinn" FSA = Djinn.FSA fs = require "fs" Testify.test "Djinn FSA", (context) -> fsa = new FSA() fsa.add_path("matthew") fsa.add_path("matt", 42) state_list = fsa.add_path("margin") fsa.add_arc(state_list[2], state_list[1], "z") ...
true
Testify = require "testify" assert = require "assert" Djinn = require "../src/djinn" FSA = Djinn.FSA fs = require "fs" Testify.test "Djinn FSA", (context) -> fsa = new FSA() fsa.add_path("matthew") fsa.add_path("matt", 42) state_list = fsa.add_path("margin") fsa.add_arc(state_list[2], state_list[1], "z") ...
[ { "context": "8.0/24'\n expect(result['nexthop']).to.equal '202.249.2.169'\n expect(result['origin_as']).to.equal 15169", "end": 396, "score": 0.9995221495628357, "start": 383, "tag": "IP_ADDRESS", "value": "202.249.2.169" }, { "context": "ns an array', ->\n result = @...
test/node-bgpdump2.coffee
codeout/node-bgpdump2
0
BGPDump = require('../index') expect = require('chai').expect describe 'node-bgpdump2', -> this.timeout(10000) beforeEach -> @bgpdump = new BGPDump('./test/rib.bz2') describe 'single IPv4 argument', -> it 'returns an object', -> result = @bgpdump.lookup('8.8.8.8') expect(result['prefix']).t...
13002
BGPDump = require('../index') expect = require('chai').expect describe 'node-bgpdump2', -> this.timeout(10000) beforeEach -> @bgpdump = new BGPDump('./test/rib.bz2') describe 'single IPv4 argument', -> it 'returns an object', -> result = @bgpdump.lookup('8.8.8.8') expect(result['prefix']).t...
true
BGPDump = require('../index') expect = require('chai').expect describe 'node-bgpdump2', -> this.timeout(10000) beforeEach -> @bgpdump = new BGPDump('./test/rib.bz2') describe 'single IPv4 argument', -> it 'returns an object', -> result = @bgpdump.lookup('8.8.8.8') expect(result['prefix']).t...
[ { "context": "ew Tests for no-inner-declarations rule.\n# @author Brandon Mills\n###\n'use strict'\n\n#------------------------------", "end": 82, "score": 0.998956561088562, "start": 69, "tag": "NAME", "value": "Brandon Mills" } ]
src/tests/rules/no-inner-declarations.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview Tests for no-inner-declarations rule. # @author Brandon Mills ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require '../../rules/no-inner-declar...
23887
###* # @fileoverview Tests for no-inner-declarations rule. # @author <NAME> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require '../../rules/no-inner-declarations'...
true
###* # @fileoverview Tests for no-inner-declarations rule. # @author PI:NAME:<NAME>END_PI ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require '../../rules/no-inner...
[ { "context": "= Client.Builder()\n\nc = null\nbuilder.setClientId(\"9cfa8712468e948b6a95d7a2\")\n .setClientSecret(\"990c37aec11cb6acf244073c036", "end": 127, "score": 0.8984870314598083, "start": 103, "tag": "KEY", "value": "9cfa8712468e948b6a95d7a2" }, { "context": "d(\"9cfa871246...
src/examples/client.coffee
streed/hydraconfig
0
Client = require('../client/client').Client builder = Client.Builder() c = null builder.setClientId("9cfa8712468e948b6a95d7a2") .setClientSecret("990c37aec11cb6acf244073c036873d0bfccd5607b061ac1") .setApiUri("http://hydraconfig.com/") .build().then( (cc) -> cc.configs().then((configs) -> console.log c...
104400
Client = require('../client/client').Client builder = Client.Builder() c = null builder.setClientId("<KEY>") .setClientSecret("<KEY>") .setApiUri("http://hydraconfig.com/") .build().then( (cc) -> cc.configs().then((configs) -> console.log configs cc.config("prod").then( (config) -> conso...
true
Client = require('../client/client').Client builder = Client.Builder() c = null builder.setClientId("PI:KEY:<KEY>END_PI") .setClientSecret("PI:KEY:<KEY>END_PI") .setApiUri("http://hydraconfig.com/") .build().then( (cc) -> cc.configs().then((configs) -> console.log configs cc.config("prod").then(...
[ { "context": " 'logs',\n username: req.session.username or 'anonymous'\n count: req.session.count\n url: req.ur", "end": 1478, "score": 0.8756811022758484, "start": 1469, "tag": "USERNAME", "value": "anonymous" }, { "context": "sole.log user.username\n if user.p...
lib/app.coffee
Vowow/LoginJS
0
http = require 'http' stylus = require 'stylus' nib = require 'nib' express = require 'express' bodyParser = require 'body-parser' cookieParser = require 'cookie-parser' methodOverride = require 'method-override' session = require 'express-session' errorhandler = require 'errorhandler' dojo = require 'connect-dojo' cof...
57664
http = require 'http' stylus = require 'stylus' nib = require 'nib' express = require 'express' bodyParser = require 'body-parser' cookieParser = require 'cookie-parser' methodOverride = require 'method-override' session = require 'express-session' errorhandler = require 'errorhandler' dojo = require 'connect-dojo' cof...
true
http = require 'http' stylus = require 'stylus' nib = require 'nib' express = require 'express' bodyParser = require 'body-parser' cookieParser = require 'cookie-parser' methodOverride = require 'method-override' session = require 'express-session' errorhandler = require 'errorhandler' dojo = require 'connect-dojo' cof...
[ { "context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n\nLicensed under the A", "end": 39, "score": 0.9998856782913208, "start": 26, "tag": "NAME", "value": "Stephan Jorek" }, { "context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com...
src/Dom/Traversal/Level1NodeTypeMatcher.coffee
sjorek/goatee.js
0
### © Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0> Unless required by applicable law o...
156753
### © Copyright 2013-2014 <NAME> <<EMAIL>> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0> Unless required by applicable law or agreed to in writing,...
true
### © Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at <http://www.apache.org/licenses/LICENSE-2.0> Unless required by applicable...
[ { "context": "allback) ->\n # eventMap = @eventMap\n # key = channel+DELIMITER+event\n # return if eventMap[key]\n [callback, queu", "end": 9989, "score": 0.9217235445976257, "start": 9966, "tag": "KEY", "value": "channel+DELIMITER+event" }, { "context": "g]\n\n off: (ch...
node_modules_koding/broker/lib/broker.coffee
ezgikaysi/koding
1
module.exports = class Broker amqp = require 'amqp' {dash} = require 'sinkrow' {extend} = require 'underscore' DELIMITER = 'λ' constructor: (options) -> @options = options options = extend {}, options @eventMap = {} @connection = amqp.createConnection options, reconnect: no @connection.on...
15311
module.exports = class Broker amqp = require 'amqp' {dash} = require 'sinkrow' {extend} = require 'underscore' DELIMITER = 'λ' constructor: (options) -> @options = options options = extend {}, options @eventMap = {} @connection = amqp.createConnection options, reconnect: no @connection.on...
true
module.exports = class Broker amqp = require 'amqp' {dash} = require 'sinkrow' {extend} = require 'underscore' DELIMITER = 'λ' constructor: (options) -> @options = options options = extend {}, options @eventMap = {} @connection = amqp.createConnection options, reconnect: no @connection.on...
[ { "context": "}} - a rich text editing jQuery UI widget\n(c) 2011 Henri Bergius, IKS Consortium\nHallo may be freely distributed u", "end": 85, "score": 0.9998626708984375, "start": 72, "tag": "NAME", "value": "Henri Bergius" }, { "context": "Focus = false\n , 300\n\n keepA...
src/hallo.coffee
git-j/hallo
0
### Hallo {{ VERSION }} - a rich text editing jQuery UI widget (c) 2011 Henri Bergius, IKS Consortium Hallo may be freely distributed under the MIT license http://hallojs.org ### ((jQuery) -> # Hallo provides a jQuery UI widget `hallo`. Usage: # # jQuery('p').hallo(); # # Getting out of the editing state:...
55269
### Hallo {{ VERSION }} - a rich text editing jQuery UI widget (c) 2011 <NAME>, IKS Consortium Hallo may be freely distributed under the MIT license http://hallojs.org ### ((jQuery) -> # Hallo provides a jQuery UI widget `hallo`. Usage: # # jQuery('p').hallo(); # # Getting out of the editing state: # ...
true
### Hallo {{ VERSION }} - a rich text editing jQuery UI widget (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium Hallo may be freely distributed under the MIT license http://hallojs.org ### ((jQuery) -> # Hallo provides a jQuery UI widget `hallo`. Usage: # # jQuery('p').hallo(); # # Getting out of the editing...
[ { "context": "anceof uglify.AST_Dot && node.expression.name == \"Batman\" && node.property == \"developer\"\n return tru", "end": 402, "score": 0.9721373915672302, "start": 396, "tag": "NAME", "value": "Batman" }, { "context": "anceof uglify.AST_Sub && node.expression.name == \"...
tools/remove_development_transform.coffee
nickjs/batman.js
3
uglify = require 'uglify-js' glob = require 'glob' fs = require 'fs' replacements = null emptyNode = (node) -> newNode = new uglify.AST_EmptyStatement newNode.start = node.start newNode.end = node.end newNode isDeveloperNamespace = (nodeOrString) -> if nodeOrString instanceof uglify.AST_Node node = nod...
5874
uglify = require 'uglify-js' glob = require 'glob' fs = require 'fs' replacements = null emptyNode = (node) -> newNode = new uglify.AST_EmptyStatement newNode.start = node.start newNode.end = node.end newNode isDeveloperNamespace = (nodeOrString) -> if nodeOrString instanceof uglify.AST_Node node = nod...
true
uglify = require 'uglify-js' glob = require 'glob' fs = require 'fs' replacements = null emptyNode = (node) -> newNode = new uglify.AST_EmptyStatement newNode.start = node.start newNode.end = node.end newNode isDeveloperNamespace = (nodeOrString) -> if nodeOrString instanceof uglify.AST_Node node = nod...
[ { "context": "\n type: 'bulldozer'\n name: 'willy'\n response = [machine]\n res.sen", "end": 1547, "score": 0.988024115562439, "start": 1542, "tag": "NAME", "value": "willy" }, { "context": "\n type: 'bulldozer'\n name: 'w...
test/integration/cli-test.coffee
HBOCodeLabs/dredd
0
{assert} = require('chai') {exec} = require('child_process') express = require 'express' fs = require 'fs' PORT = '3333' CMD_PREFIX = '' stderr = '' stdout = '' exitStatus = null requests = [] execCommand = (cmd, callback) -> stderr = '' stdout = '' exitStatus = null cli = exec CMD_PREFIX + cmd, (error, o...
207265
{assert} = require('chai') {exec} = require('child_process') express = require 'express' fs = require 'fs' PORT = '3333' CMD_PREFIX = '' stderr = '' stdout = '' exitStatus = null requests = [] execCommand = (cmd, callback) -> stderr = '' stdout = '' exitStatus = null cli = exec CMD_PREFIX + cmd, (error, o...
true
{assert} = require('chai') {exec} = require('child_process') express = require 'express' fs = require 'fs' PORT = '3333' CMD_PREFIX = '' stderr = '' stdout = '' exitStatus = null requests = [] execCommand = (cmd, callback) -> stderr = '' stdout = '' exitStatus = null cli = exec CMD_PREFIX + cmd, (error, o...
[ { "context": "= process.env.SURESPOT_REDIS_SENTINEL_HOSTNAME ? \"127.0.0.1\"\ndontUseSSL = process.env.SURESPOT_DONT_USE_SSL i", "end": 542, "score": 0.9997225999832153, "start": 533, "tag": "IP_ADDRESS", "value": "127.0.0.1" }, { "context": "\"true\"\n\n\npool = new helenus.Connecti...
test/test/chatTests.coffee
SchoolOfFreelancing/SureSpot
1
request = require("request") assert = require("assert") should = require("should") redis = require("redis") util = require("util") fs = require("fs") io = require 'socket.io-client' crypto = require 'crypto' dcrypt = require 'dcrypt' async = require 'async' redisSentinel = require 'redis-sentinel-client' helenus = requ...
145508
request = require("request") assert = require("assert") should = require("should") redis = require("redis") util = require("util") fs = require("fs") io = require 'socket.io-client' crypto = require 'crypto' dcrypt = require 'dcrypt' async = require 'async' redisSentinel = require 'redis-sentinel-client' helenus = requ...
true
request = require("request") assert = require("assert") should = require("should") redis = require("redis") util = require("util") fs = require("fs") io = require 'socket.io-client' crypto = require 'crypto' dcrypt = require 'dcrypt' async = require 'async' redisSentinel = require 'redis-sentinel-client' helenus = requ...
[ { "context": "\njQuery SVG Pan Zoom v1.0.3, October 2015\n\nAuthor: Daniel Hoffmann Bernardes (daniel.hoffmann.bernardes@gmail.com)\n\nRepository", "end": 79, "score": 0.9998869895935059, "start": 54, "tag": "NAME", "value": "Daniel Hoffmann Bernardes" }, { "context": " October 2015\...
src/jquery.svg.pan.zoom.coffee
DanielHoffmann/jquery-svg-pan-zoom
45
### jQuery SVG Pan Zoom v1.0.3, October 2015 Author: Daniel Hoffmann Bernardes (daniel.hoffmann.bernardes@gmail.com) Repository: https://github.com/DanielHoffmann/jquery-svg-pan-zoom/ jQuery plugin to enable pan and zoom in SVG images either programmatically or through mouse/touch events. [Demo page](http://danielh...
5234
### jQuery SVG Pan Zoom v1.0.3, October 2015 Author: <NAME> (<EMAIL>) Repository: https://github.com/DanielHoffmann/jquery-svg-pan-zoom/ jQuery plugin to enable pan and zoom in SVG images either programmatically or through mouse/touch events. [Demo page](http://danielhoffmann.github.io/jquery-svg-pan-zoom/) # Feat...
true
### jQuery SVG Pan Zoom v1.0.3, October 2015 Author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI) Repository: https://github.com/DanielHoffmann/jquery-svg-pan-zoom/ jQuery plugin to enable pan and zoom in SVG images either programmatically or through mouse/touch events. [Demo page](http://danielhoffmann.github.io/...
[ { "context": "com/2.0/?method=track.search' +\n '&api_key=c513f3a2a2dad1d1a07021e181df1b1f&format=json&track=' +\n encodeURIComponent(", "end": 1545, "score": 0.9997356534004211, "start": 1513, "tag": "KEY", "value": "c513f3a2a2dad1d1a07021e181df1b1f" } ]
coffee/_TrackSource.class.coffee
sayak-sarkar/Atraci
0
request = require('request') class TrackSource @search: (keywords, success) -> tracks_all = { "itunes": [] "lastfm": [] "soundcloud": [] } mashTracks = -> tracks_allconcat = tracks_all['itunes'].concat( tracks_all['lastfm'], tracks_all['soundcloud'] ) tracks_d...
51749
request = require('request') class TrackSource @search: (keywords, success) -> tracks_all = { "itunes": [] "lastfm": [] "soundcloud": [] } mashTracks = -> tracks_allconcat = tracks_all['itunes'].concat( tracks_all['lastfm'], tracks_all['soundcloud'] ) tracks_d...
true
request = require('request') class TrackSource @search: (keywords, success) -> tracks_all = { "itunes": [] "lastfm": [] "soundcloud": [] } mashTracks = -> tracks_allconcat = tracks_all['itunes'].concat( tracks_all['lastfm'], tracks_all['soundcloud'] ) tracks_d...
[ { "context": "ileoverview Tests for no-obj-calls rule.\n# @author James Allardice\n###\n\n'use strict'\n\n#-----------------------------", "end": 75, "score": 0.99985271692276, "start": 60, "tag": "NAME", "value": "James Allardice" } ]
src/tests/rules/no-obj-calls.coffee
danielbayley/eslint-plugin-coffee
21
###* # @fileoverview Tests for no-obj-calls rule. # @author James Allardice ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require 'eslint/lib/rules/no-obj-calls' {R...
27253
###* # @fileoverview Tests for no-obj-calls rule. # @author <NAME> ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require 'eslint/lib/rules/no-obj-calls' {RuleTester...
true
###* # @fileoverview Tests for no-obj-calls rule. # @author PI:NAME:<NAME>END_PI ### 'use strict' #------------------------------------------------------------------------------ # Requirements #------------------------------------------------------------------------------ rule = require 'eslint/lib/rules/no-obj-call...
[ { "context": "es/search-semantics\"\n { ConfigNode } = require \"@l.degener/irma-config\"\n Io = require \"../../src/config-typ", "end": 143, "score": 0.8862379789352417, "start": 134, "tag": "USERNAME", "value": "l.degener" }, { "context": "tics\n semantics.init {io}\n args ...
spec/config-types/search-semantics-spec.coffee
ldegen/irma
1
describe "The Search Semantic", -> SearchSemantics = require "../../src/config-types/search-semantics" { ConfigNode } = require "@l.degener/irma-config" Io = require "../../src/config-types/io.coffee" trace = undefined io = undefined settings = undefined semantics = undefined mockQuery = (f)-> cre...
103952
describe "The Search Semantic", -> SearchSemantics = require "../../src/config-types/search-semantics" { ConfigNode } = require "@l.degener/irma-config" Io = require "../../src/config-types/io.coffee" trace = undefined io = undefined settings = undefined semantics = undefined mockQuery = (f)-> cre...
true
describe "The Search Semantic", -> SearchSemantics = require "../../src/config-types/search-semantics" { ConfigNode } = require "@l.degener/irma-config" Io = require "../../src/config-types/io.coffee" trace = undefined io = undefined settings = undefined semantics = undefined mockQuery = (f)-> cre...
[ { "context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @", "end": 33, "score": 0.99989253282547, "start": 17, "tag": "NAME", "value": "Abdelhakim RAFIK" }, { "context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhakim ...
src/routes/index.coffee
AbdelhakimRafik/Pharmalogy-API
0
### * @author Abdelhakim RAFIK * @version v1.0.1 * @license MIT License * @copyright Copyright (c) 2021 Abdelhakim RAFIK * @date Mar 2021 ### # routes that can be accessed publicly module.exports.publicRouter = require './publicRouter' # routes that requires to be authenticated module.exports.privateRoute...
45522
### * @author <NAME> * @version v1.0.1 * @license MIT License * @copyright Copyright (c) 2021 <NAME> * @date Mar 2021 ### # routes that can be accessed publicly module.exports.publicRouter = require './publicRouter' # routes that requires to be authenticated module.exports.privateRouter= require './privat...
true
### * @author PI:NAME:<NAME>END_PI * @version v1.0.1 * @license MIT License * @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI * @date Mar 2021 ### # routes that can be accessed publicly module.exports.publicRouter = require './publicRouter' # routes that requires to be authenticated module.exports.priv...
[ { "context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ", "end": 33, "score": 0.9998655319213867, "start": 21, "tag": "NAME", "value": "John Judnich" } ]
source/Camera.coffee
anandprabhakar0507/Kosmos
46
# Copyright (C) 2013 John Judnich # Released under The MIT License - see "LICENSE" file for details. root = exports ? this class root.Camera aspect: 1.6 near: 0.1 far: 1000.0 fov: xgl.degToRad(90) position: vec3.fromValues(0, 0, 0) target: vec3.fromValues(0, 0, -1) up: vec3.fromValues(0, 1, 0) projMat: mat4...
223562
# Copyright (C) 2013 <NAME> # Released under The MIT License - see "LICENSE" file for details. root = exports ? this class root.Camera aspect: 1.6 near: 0.1 far: 1000.0 fov: xgl.degToRad(90) position: vec3.fromValues(0, 0, 0) target: vec3.fromValues(0, 0, -1) up: vec3.fromValues(0, 1, 0) projMat: mat4.creat...
true
# Copyright (C) 2013 PI:NAME:<NAME>END_PI # Released under The MIT License - see "LICENSE" file for details. root = exports ? this class root.Camera aspect: 1.6 near: 0.1 far: 1000.0 fov: xgl.degToRad(90) position: vec3.fromValues(0, 0, 0) target: vec3.fromValues(0, 0, -1) up: vec3.fromValues(0, 1, 0) projM...
[ { "context": "\n app = shell\n main:\n name: 'leftover'\n app.parse([]).should.eql\n leftover:", "end": 743, "score": 0.8246598839759827, "start": 735, "tag": "NAME", "value": "leftover" }, { "context": "\n app = shell\n main:\n n...
packages/shell/test/main.coffee
adaltas/node-shell
15
shell = require '../src' describe 'main', -> describe 'invalid', -> it 'command extra arguments without main', -> # Command with no option (-> shell commands: 'mycommand': {} .parse ['mycommand', 'mymain'] ).should.throw 'Invalid Argument: fail to inte...
42418
shell = require '../src' describe 'main', -> describe 'invalid', -> it 'command extra arguments without main', -> # Command with no option (-> shell commands: 'mycommand': {} .parse ['mycommand', 'mymain'] ).should.throw 'Invalid Argument: fail to inte...
true
shell = require '../src' describe 'main', -> describe 'invalid', -> it 'command extra arguments without main', -> # Command with no option (-> shell commands: 'mycommand': {} .parse ['mycommand', 'mymain'] ).should.throw 'Invalid Argument: fail to inte...
[ { "context": "tion block selection code:\n\t\t# https://github.com/ajaxorg/ace/blob/master/lib/ace/mouse/multi_select_handle", "end": 1556, "score": 0.9994901418685913, "start": 1549, "tag": "USERNAME", "value": "ajaxorg" }, { "context": "s, note)->\n\t\t@removePlayingNote(pos, note)...
src/TablatureEditor.coffee
shivambhatt003/guitar
71
{Range} = ace.require 'ace/range' event = require 'ace/lib/event' class @TablatureEditor constructor: (element)-> @multi_row_selection_mode = on @editor = ace.edit(element) @editor.getSession().setMode 'ace/mode/ocaml' @editor.setOption 'highlightActiveLine', off @editor.setOption 'showPrintMargin', off...
89864
{Range} = ace.require 'ace/range' event = require 'ace/lib/event' class @TablatureEditor constructor: (element)-> @multi_row_selection_mode = on @editor = ace.edit(element) @editor.getSession().setMode 'ace/mode/ocaml' @editor.setOption 'highlightActiveLine', off @editor.setOption 'showPrintMargin', off...
true
{Range} = ace.require 'ace/range' event = require 'ace/lib/event' class @TablatureEditor constructor: (element)-> @multi_row_selection_mode = on @editor = ace.edit(element) @editor.getSession().setMode 'ace/mode/ocaml' @editor.setOption 'highlightActiveLine', off @editor.setOption 'showPrintMargin', off...
[ { "context": "super props\n\n key = if globals.os is 'mac' then '⌘ + C' else 'Ctrl + C'\n\n @state = { key }\n\n\n onCMDCl", "end": 425, "score": 0.8213192820549011, "start": 418, "tag": "KEY", "value": "'⌘ + C'" }, { "context": " key = if globals.os is 'mac' then '⌘ + C' e...
client/app/lib/components/codeblock/index.coffee
mehmetalisavas/koding
1
kd = require 'kd' React = require 'kd-react' globals = require 'globals' Tracker = require 'app/util/tracker' copyToClipboard = require 'app/util/copyToClipboard' Spinner = require 'react-spinner' module.exports = class CodeBlock extends React.Component @propTypes = cmd: React.PropTypes.string @defaultProps ...
16480
kd = require 'kd' React = require 'kd-react' globals = require 'globals' Tracker = require 'app/util/tracker' copyToClipboard = require 'app/util/copyToClipboard' Spinner = require 'react-spinner' module.exports = class CodeBlock extends React.Component @propTypes = cmd: React.PropTypes.string @defaultProps ...
true
kd = require 'kd' React = require 'kd-react' globals = require 'globals' Tracker = require 'app/util/tracker' copyToClipboard = require 'app/util/copyToClipboard' Spinner = require 'react-spinner' module.exports = class CodeBlock extends React.Component @propTypes = cmd: React.PropTypes.string @defaultProps ...
[ { "context": " in React component props.\n# @author Daniel Lo Nigro <dan.cx>\n# @author Jacky Ho\n###\n'use strict'\n\npro", "end": 150, "score": 0.9998950958251953, "start": 135, "tag": "NAME", "value": "Daniel Lo Nigro" }, { "context": "React component props.\n# @auth...
src/rules/jsx-no-bind.coffee
danielbayley/eslint-plugin-coffee
0
###* # @fileoverview Prevents usage of Function.prototype.bind and arrow functions # in React component props. # @author Daniel Lo Nigro <dan.cx> # @author Jacky Ho ### 'use strict' propName = require 'jsx-ast-utils/propName' Components = require '../util/react/Components' docsUrl = require 'eslint-plugi...
163279
###* # @fileoverview Prevents usage of Function.prototype.bind and arrow functions # in React component props. # @author <NAME> <dan.cx> # @author <NAME> ### 'use strict' propName = require 'jsx-ast-utils/propName' Components = require '../util/react/Components' docsUrl = require 'eslint-plugin-react/lib...
true
###* # @fileoverview Prevents usage of Function.prototype.bind and arrow functions # in React component props. # @author PI:NAME:<NAME>END_PI <dan.cx> # @author PI:NAME:<NAME>END_PI ### 'use strict' propName = require 'jsx-ast-utils/propName' Components = require '../util/react/Components' docsUrl = requ...
[ { "context": "row: \"A\",\n column: 11\n user:\n name: \"Sven Popping\"\n\n publish:\n checked:\n value: false\n ", "end": 952, "score": 0.997908890247345, "start": 940, "tag": "NAME", "value": "Sven Popping" } ]
lib/components/lancie-seatmap/lancie-seatmap-seat.coffee
WISVCH/LANcie-legacy
0
Polymer 'lancie-seatmap-seat', modeoptions: [ { name: "open" colors: default: background: "#eeecec" border: "rgba(90, 90, 90, 0.6)" checked: background: "#3a5278" border: "rgba(90, 90, 90, 0.33)" tooltip: false disabled: false },...
177433
Polymer 'lancie-seatmap-seat', modeoptions: [ { name: "open" colors: default: background: "#eeecec" border: "rgba(90, 90, 90, 0.6)" checked: background: "#3a5278" border: "rgba(90, 90, 90, 0.33)" tooltip: false disabled: false },...
true
Polymer 'lancie-seatmap-seat', modeoptions: [ { name: "open" colors: default: background: "#eeecec" border: "rgba(90, 90, 90, 0.6)" checked: background: "#3a5278" border: "rgba(90, 90, 90, 0.33)" tooltip: false disabled: false },...
[ { "context": "h_list_id\n watch_list_entries_keypath = \"watch_lists.#{watch_list_index}.watch_list_entries\"\n ", "end": 3722, "score": 0.9321696758270264, "start": 3710, "tag": "KEY", "value": "watch_lists." }, { "context": "_entries_keypath = \"watch_lists.#{watc...
app/assets/javascripts/app/components/RecordActions/WatchLists/index.js.coffee
ubpb/katalog
0
#= require app/Component #= require app/components/ComboInput #= require app/path_helpers do(app = (window.app ?= {})) -> ((app.components ?= {}).RecordActions ?= {}).WatchLists = app.Component.extend components: ComboInput: app.components.ComboInput computed: api_v1_user_watch_lists_path: -> ap...
193337
#= require app/Component #= require app/components/ComboInput #= require app/path_helpers do(app = (window.app ?= {})) -> ((app.components ?= {}).RecordActions ?= {}).WatchLists = app.Component.extend components: ComboInput: app.components.ComboInput computed: api_v1_user_watch_lists_path: -> ap...
true
#= require app/Component #= require app/components/ComboInput #= require app/path_helpers do(app = (window.app ?= {})) -> ((app.components ?= {}).RecordActions ?= {}).WatchLists = app.Component.extend components: ComboInput: app.components.ComboInput computed: api_v1_user_watch_lists_path: -> ap...
[ { "context": "t(\"contribute.#{characterClass}_summary_pref\") + ' Mondo Bizarro' + $.i18n.t(\"contribute.#{characterClass}_summary", "end": 584, "score": 0.9977862238883972, "start": 571, "tag": "NAME", "value": "Mondo Bizarro" } ]
app/views/CommunityView.coffee
rishiloyola/codecombat
1
RootView = require 'views/core/RootView' template = require 'templates/community-view' module.exports = class CommunityView extends RootView id: 'community-view' template: template afterRender: -> super() @$el.find('.contribute-classes a').each -> characterClass = $(@).attr('href').split('#')[1] ...
130910
RootView = require 'views/core/RootView' template = require 'templates/community-view' module.exports = class CommunityView extends RootView id: 'community-view' template: template afterRender: -> super() @$el.find('.contribute-classes a').each -> characterClass = $(@).attr('href').split('#')[1] ...
true
RootView = require 'views/core/RootView' template = require 'templates/community-view' module.exports = class CommunityView extends RootView id: 'community-view' template: template afterRender: -> super() @$el.find('.contribute-classes a').each -> characterClass = $(@).attr('href').split('#')[1] ...
[ { "context": "rs bar', ->\n @newItem =\n userId: 37\n name: 'Whiskey'\n @scope.addIngre", "end": 813, "score": 0.634171724319458, "start": 812, "tag": "USERNAME", "value": "7" }, { "context": " @newItem =\n userId: 37\n name: 'Whiskey...
spec/javascripts/controllers/MyBarCtrl_spec.coffee
baberthal/cocktails
0
#= require spec_helper describe 'MyBarCtrl', -> beforeEach -> @setupController('MyBarCtrl', true) @Bar = @model('Bar') @Ingredient = @model('Ingredient') @loadFixtures() @http.whenGET('/bars').respond(200) @http.whenGET('/bars/available_cocktails.json').respond(200) @http.whenGET('/ingred...
147034
#= require spec_helper describe 'MyBarCtrl', -> beforeEach -> @setupController('MyBarCtrl', true) @Bar = @model('Bar') @Ingredient = @model('Ingredient') @loadFixtures() @http.whenGET('/bars').respond(200) @http.whenGET('/bars/available_cocktails.json').respond(200) @http.whenGET('/ingred...
true
#= require spec_helper describe 'MyBarCtrl', -> beforeEach -> @setupController('MyBarCtrl', true) @Bar = @model('Bar') @Ingredient = @model('Ingredient') @loadFixtures() @http.whenGET('/bars').respond(200) @http.whenGET('/bars/available_cocktails.json').respond(200) @http.whenGET('/ingred...
[ { "context": "y.turbolinks.js ~ v1.0.0-rc1 ~ https://github.com/kossnocorp/jquery.turbolinks\n\n jQuery plugin for drop-in fi", "end": 71, "score": 0.9979511499404907, "start": 61, "tag": "USERNAME", "value": "kossnocorp" }, { "context": "urbolinks\n\n The MIT License\n\n Copyrigh...
src/jquery.turbolinks.coffee
rstacruz/jquery.turbolinks
1
### jquery.turbolinks.js ~ v1.0.0-rc1 ~ https://github.com/kossnocorp/jquery.turbolinks jQuery plugin for drop-in fix binded events problem caused by Turbolinks The MIT License Copyright (c) 2012 Sasha Koss ### $ = require?('jquery') || window.jQuery # List for store callbacks passed to `$` or `$.ready` ca...
191909
### jquery.turbolinks.js ~ v1.0.0-rc1 ~ https://github.com/kossnocorp/jquery.turbolinks jQuery plugin for drop-in fix binded events problem caused by Turbolinks The MIT License Copyright (c) 2012 <NAME> ### $ = require?('jquery') || window.jQuery # List for store callbacks passed to `$` or `$.ready` callba...
true
### jquery.turbolinks.js ~ v1.0.0-rc1 ~ https://github.com/kossnocorp/jquery.turbolinks jQuery plugin for drop-in fix binded events problem caused by Turbolinks The MIT License Copyright (c) 2012 PI:NAME:<NAME>END_PI ### $ = require?('jquery') || window.jQuery # List for store callbacks passed to `$` or `$...
[ { "context": "r templates, refer to the FAQ: https://github.com/bevry/docpad/wiki/FAQ\n\n\ttemplateData:\n\n\t\t# Libraries\n\t\t", "end": 320, "score": 0.9941220879554749, "start": 315, "tag": "USERNAME", "value": "bevry" }, { "context": "\t\t\"\"\"\n\n\t\t\t# The website author's n...
docpad.coffee
DrSkipper/site
0
# The DocPad Configuration File # It is simply a CoffeeScript Object which is parsed by CSON docpadConfig = { # ================================= # Template Data # These are variables that will be accessible via our templates # To access one of these within our templates, refer to the FAQ: https://github.com/bevry...
118494
# The DocPad Configuration File # It is simply a CoffeeScript Object which is parsed by CSON docpadConfig = { # ================================= # Template Data # These are variables that will be accessible via our templates # To access one of these within our templates, refer to the FAQ: https://github.com/bevry...
true
# The DocPad Configuration File # It is simply a CoffeeScript Object which is parsed by CSON docpadConfig = { # ================================= # Template Data # These are variables that will be accessible via our templates # To access one of these within our templates, refer to the FAQ: https://github.com/bevry...
[ { "context": "# Copyright 2015 Vincent Spiewak\n#\n# Licensed under the Apache License, Version 2.", "end": 32, "score": 0.999782145023346, "start": 17, "tag": "NAME", "value": "Vincent Spiewak" } ]
src/index.coffee
vspiewak/hubot-ansible
16
# Copyright 2015 Vincent Spiewak # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
194320
# Copyright 2015 <NAME> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
true
# Copyright 2015 PI:NAME:<NAME>END_PI # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
[ { "context": "name: \"Lark\"\nscopeName: \"source.lark\"\nfileTypes: [\"lark\"]\npat", "end": 11, "score": 0.9702081084251404, "start": 7, "tag": "NAME", "value": "Lark" } ]
grammars/lark.cson
ThatXliner/language-grammars
0
name: "Lark" scopeName: "source.lark" fileTypes: ["lark"] patterns: [{ # Interpreter directive name: "comment.line.number-sign.shebang.lark" begin: "\\A#!" end: "$" beginCaptures: 0: name: "punctuation.definition.comment.shebang.lark" }, include: "#main"] firstLineMatch: """(?ix) # Hashbang ^\\#!.*(?:\\s|...
19753
name: "<NAME>" scopeName: "source.lark" fileTypes: ["lark"] patterns: [{ # Interpreter directive name: "comment.line.number-sign.shebang.lark" begin: "\\A#!" end: "$" beginCaptures: 0: name: "punctuation.definition.comment.shebang.lark" }, include: "#main"] firstLineMatch: """(?ix) # Hashbang ^\\#!.*(?:\\...
true
name: "PI:NAME:<NAME>END_PI" scopeName: "source.lark" fileTypes: ["lark"] patterns: [{ # Interpreter directive name: "comment.line.number-sign.shebang.lark" begin: "\\A#!" end: "$" beginCaptures: 0: name: "punctuation.definition.comment.shebang.lark" }, include: "#main"] firstLineMatch: """(?ix) # Hashbang...
[ { "context": " LIMIT : 3\n KEY : 'BlockForTooManyAttempts'\n DURATION : globals.config.payment", "end": 1097, "score": 0.9892889857292175, "start": 1074, "tag": "KEY", "value": "BlockForTooManyAttempts" }, { "context": " LIMIT ...
client/app/lib/payment/paymentconstants.coffee
ezgikaysi/koding
1
globals = require 'globals' module.exports = getOperation : (current, selected) -> arr = [ @planTitle.FREE @planTitle.HOBBYIST @planTitle.DEVELOPER @planTitle.PROFESSIONAL ] current = arr.indexOf current selected = arr.indexOf selected return switch when selecte...
64854
globals = require 'globals' module.exports = getOperation : (current, selected) -> arr = [ @planTitle.FREE @planTitle.HOBBYIST @planTitle.DEVELOPER @planTitle.PROFESSIONAL ] current = arr.indexOf current selected = arr.indexOf selected return switch when selecte...
true
globals = require 'globals' module.exports = getOperation : (current, selected) -> arr = [ @planTitle.FREE @planTitle.HOBBYIST @planTitle.DEVELOPER @planTitle.PROFESSIONAL ] current = arr.indexOf current selected = arr.indexOf selected return switch when selecte...
[ { "context": "n:\n\t\t\tuser_id: \"Dwrpf\"\n\t\t\tstudio_id: 1\n\t\t\ttoken: \"desfire-#{utils.randomString( 15 )}\"\n\t\t\t_t: 0\n\n\ttables:\n\t\t", "end": 1231, "score": 0.9789204001426697, "start": 1223, "tag": "KEY", "value": "desfire-" }, { "context": "alse, type: \"string\" }\...
_src/test/config.coffee
mpneuried/mysql-factory
1
utils = require( "../lib/utils" ) _envVars = process.env module.exports = mysql: showQueryTime: true host: if _envVars.MYSQLFAC_TEST_HOST? then _envVars.MYSQLFAC_TEST_HOST else 'localhost' user: if _envVars.MYSQLFAC_TEST_USER? then _envVars.MYSQLFAC_TEST_USER else 'root' password : if _envVars.MYSQLFAC_TEST_...
196223
utils = require( "../lib/utils" ) _envVars = process.env module.exports = mysql: showQueryTime: true host: if _envVars.MYSQLFAC_TEST_HOST? then _envVars.MYSQLFAC_TEST_HOST else 'localhost' user: if _envVars.MYSQLFAC_TEST_USER? then _envVars.MYSQLFAC_TEST_USER else 'root' password : if _envVars.MYSQLFAC_TEST_...
true
utils = require( "../lib/utils" ) _envVars = process.env module.exports = mysql: showQueryTime: true host: if _envVars.MYSQLFAC_TEST_HOST? then _envVars.MYSQLFAC_TEST_HOST else 'localhost' user: if _envVars.MYSQLFAC_TEST_USER? then _envVars.MYSQLFAC_TEST_USER else 'root' password : if _envVars.MYSQLFAC_TEST_...
[ { "context": " #\n # @param {object} dbConnArgs, {\n # user: 'some_user'\n # password: 'some_pass'\n # server: 'some_", "end": 299, "score": 0.9995868802070618, "start": 290, "tag": "USERNAME", "value": "some_user" }, { "context": "nArgs, {\n # user: 'some_user'\n # p...
src/lib/adapters/internal_storage.coffee
RaghavendhraK/daily_sales
0
Adapter = require './index' mongodb = require 'mongodb' MongoClient = mongodb.MongoClient ObjectID = mongodb.ObjectID async = require 'async' class ISAdapter extends Adapter # # ## configure # configure the db connection arguments # # @param {object} dbConnArgs, { # user: 'some_user' # password: 'so...
220262
Adapter = require './index' mongodb = require 'mongodb' MongoClient = mongodb.MongoClient ObjectID = mongodb.ObjectID async = require 'async' class ISAdapter extends Adapter # # ## configure # configure the db connection arguments # # @param {object} dbConnArgs, { # user: 'some_user' # password: '<P...
true
Adapter = require './index' mongodb = require 'mongodb' MongoClient = mongodb.MongoClient ObjectID = mongodb.ObjectID async = require 'async' class ISAdapter extends Adapter # # ## configure # configure the db connection arguments # # @param {object} dbConnArgs, { # user: 'some_user' # password: 'PI...
[ { "context": "###\n backbone-rest.js 0.5.3\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-rest\n Lic", "end": 58, "score": 0.9992944598197937, "start": 50, "tag": "NAME", "value": "Vidigami" }, { "context": " Copyright (c) 2013 Vidigami - https://github.com/v...
src/lib/join_table_controller_singleton.coffee
founderlab/fl-backbone-rest
0
### backbone-rest.js 0.5.3 Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-rest License: MIT (http://www.opensource.org/licenses/mit-license.php) ### path = require 'path' {_} = require 'backbone-orm' JoinTableController = null class JoinTableControllerSingleton constructor: -> @join_t...
160682
### backbone-rest.js 0.5.3 Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-rest License: MIT (http://www.opensource.org/licenses/mit-license.php) ### path = require 'path' {_} = require 'backbone-orm' JoinTableController = null class JoinTableControllerSingleton constructor: -> @join_tab...
true
### backbone-rest.js 0.5.3 Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-rest License: MIT (http://www.opensource.org/licenses/mit-license.php) ### path = require 'path' {_} = require 'backbone-orm' JoinTableController = null class JoinTableControllerSingleton constructor: ->...
[ { "context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed unde", "end": 23, "score": 0.9996047616004944, "start": 17, "tag": "NAME", "value": "SASAKI" }, { "context": "# Copyright 2015 SASAKI, Shunsuke. All rights reserved.\n#\n# Licensed under the Apac", ...
src/searcher.coffee
erukiti/cerebrums
7
# Copyright 2015 SASAKI, Shunsuke. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
50593
# Copyright 2015 <NAME>, <NAME>. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
true
# Copyright 2015 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
[ { "context": "s/icons/travis@2x.png'\n\n @_fields.push\n key: 'webhookUrl'\n type: 'text'\n readonly: true\n descr", "end": 1108, "score": 0.7935411334037781, "start": 1101, "tag": "KEY", "value": "webhook" } ]
src/services/travis.coffee
jianliaoim/talk-services
40
util = require '../util' _receiveWebhook = ({body}) -> payload = body?.payload try if toString.call(payload) is '[object String]' payload = JSON.parse payload return false unless toString.call(payload) is '[object Object]' catch err return false throw new Error('Params missing') unless payl...
203614
util = require '../util' _receiveWebhook = ({body}) -> payload = body?.payload try if toString.call(payload) is '[object String]' payload = JSON.parse payload return false unless toString.call(payload) is '[object Object]' catch err return false throw new Error('Params missing') unless payl...
true
util = require '../util' _receiveWebhook = ({body}) -> payload = body?.payload try if toString.call(payload) is '[object String]' payload = JSON.parse payload return false unless toString.call(payload) is '[object Object]' catch err return false throw new Error('Params missing') unless payl...
[ { "context": "========================================\n# Author: Esteve Lladó (Fundació Bit), 2017\n# Modified by: Elena Aguado ", "end": 66, "score": 0.9998785257339478, "start": 54, "tag": "NAME", "value": "Esteve Lladó" }, { "context": ": Esteve Lladó (Fundació Bit), 2017\n# Modi...
source/coffee/reports_covid.coffee
Fundacio-Bit/twitter-intranet
0
# ========================================= # Author: Esteve Lladó (Fundació Bit), 2017 # Modified by: Elena Aguado and Óscar Moya # ========================================= g_brands = [] # Function to extract the brands from the REST API and render the results # -----------------------------------------------------...
87446
# ========================================= # Author: <NAME> (Fundació Bit), 2017 # Modified by: <NAME> and <NAME> # ========================================= g_brands = [] # Function to extract the brands from the REST API and render the results # ---------------------------------------------------------------------...
true
# ========================================= # Author: PI:NAME:<NAME>END_PI (Fundació Bit), 2017 # Modified by: PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI # ========================================= g_brands = [] # Function to extract the brands from the REST API and render the results # ---------------------------...
[ { "context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li", "end": 43, "score": 0.9999153017997742, "start": 29, "tag": "EMAIL", "value": "contact@ppy.sh" } ]
resources/assets/coffee/_classes/checkbox-validation.coffee
osu-katakuna/osu-katakuna-web
5
# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. class @CheckboxValidation constructor: -> $(document).on 'change', '.js-checkbox-validation', @validate validate: (e) => e.currentT...
190937
# Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. class @CheckboxValidation constructor: -> $(document).on 'change', '.js-checkbox-validation', @validate validate: (e) => e.currentTarget._...
true
# Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. class @CheckboxValidation constructor: -> $(document).on 'change', '.js-checkbox-validation', @validate validate: (e) => e....
[ { "context": "verview Forbid target='_blank' attribute\n# @author Kevin Miller\n###\n\n'use strict'\n\ndocsUrl = require 'eslint-plug", "end": 76, "score": 0.9991100430488586, "start": 64, "tag": "NAME", "value": "Kevin Miller" } ]
src/rules/jsx-no-target-blank.coffee
helixbass/eslint-plugin-coffee
21
###* # @fileoverview Forbid target='_blank' attribute # @author Kevin Miller ### 'use strict' docsUrl = require 'eslint-plugin-react/lib/util/docsUrl' linkComponentsUtil = require 'eslint-plugin-react/lib/util/linkComponents' # ------------------------------------------------------------------------------ # Rule Def...
105010
###* # @fileoverview Forbid target='_blank' attribute # @author <NAME> ### 'use strict' docsUrl = require 'eslint-plugin-react/lib/util/docsUrl' linkComponentsUtil = require 'eslint-plugin-react/lib/util/linkComponents' # ------------------------------------------------------------------------------ # Rule Definitio...
true
###* # @fileoverview Forbid target='_blank' attribute # @author PI:NAME:<NAME>END_PI ### 'use strict' docsUrl = require 'eslint-plugin-react/lib/util/docsUrl' linkComponentsUtil = require 'eslint-plugin-react/lib/util/linkComponents' # ------------------------------------------------------------------------------ # ...
[ { "context": "ostAsync({uri: urlLogin, json: {\n username: 'some@email.com'\n password: '12345'\n }})\n expect(res.s", "end": 1014, "score": 0.9999160766601562, "start": 1000, "tag": "EMAIL", "value": "some@email.com" }, { "context": " username: 'some@email.com'\...
spec/server/functional/auth.spec.coffee
noscripter/codecombat
0
require '../common' User = require '../../../server/models/User' utils = require '../utils' _ = require 'lodash' Promise = require 'bluebird' nock = require 'nock' request = require '../request' sendwithus = require '../../../server/sendwithus' mongoose = require 'mongoose' LevelSession = require '../../../server/model...
218382
require '../common' User = require '../../../server/models/User' utils = require '../utils' _ = require 'lodash' Promise = require 'bluebird' nock = require 'nock' request = require '../request' sendwithus = require '../../../server/sendwithus' mongoose = require 'mongoose' LevelSession = require '../../../server/model...
true
require '../common' User = require '../../../server/models/User' utils = require '../utils' _ = require 'lodash' Promise = require 'bluebird' nock = require 'nock' request = require '../request' sendwithus = require '../../../server/sendwithus' mongoose = require 'mongoose' LevelSession = require '../../../server/model...
[ { "context": "Reply({threadId: '123', messageId: '234'}, \"Thanks Ben!\")\n ```\n ###\n @sendQuickReply: ActionScopeWind", "end": 7096, "score": 0.9949706792831421, "start": 7093, "tag": "NAME", "value": "Ben" } ]
app/src/flux/actions.coffee
immershy/nodemail
0
Reflux = require 'reflux' ActionScopeWindow = 'window' ActionScopeGlobal = 'global' ActionScopeWorkWindow = 'work' ### Public: In the Flux {Architecture.md}, almost every user action is translated into an Action object and fired globally. Stores in the app observe these actions and perform business logic. This loose ...
186659
Reflux = require 'reflux' ActionScopeWindow = 'window' ActionScopeGlobal = 'global' ActionScopeWorkWindow = 'work' ### Public: In the Flux {Architecture.md}, almost every user action is translated into an Action object and fired globally. Stores in the app observe these actions and perform business logic. This loose ...
true
Reflux = require 'reflux' ActionScopeWindow = 'window' ActionScopeGlobal = 'global' ActionScopeWorkWindow = 'work' ### Public: In the Flux {Architecture.md}, almost every user action is translated into an Action object and fired globally. Stores in the app observe these actions and perform business logic. This loose ...
[ { "context": " config.environment.stack.bucket\n key: join \"worker-code\", \"#{workerName}.zip\"\n arn: \"arn:aws:lambda:#{", "end": 777, "score": 0.7979680895805359, "start": 766, "tag": "KEY", "value": "worker-code" }, { "context": "nt.stack.bucket\n key: join \"worke...
src/configuration/preprocessors/workers/lambda.coffee
pandastrike/mango
4
import {join} from "path" import {dashed, merge, toJSON} from "panda-parchment" Dispatch = (config) -> {region, accountID} = config {lambda, variables, mixins, tags, name:workerName} = config.environment.worker if lambda? {runtime, memorySize, timeout, managedPolicies, trace, layers} = lambda name = dash...
39415
import {join} from "path" import {dashed, merge, toJSON} from "panda-parchment" Dispatch = (config) -> {region, accountID} = config {lambda, variables, mixins, tags, name:workerName} = config.environment.worker if lambda? {runtime, memorySize, timeout, managedPolicies, trace, layers} = lambda name = dash...
true
import {join} from "path" import {dashed, merge, toJSON} from "panda-parchment" Dispatch = (config) -> {region, accountID} = config {lambda, variables, mixins, tags, name:workerName} = config.environment.worker if lambda? {runtime, memorySize, timeout, managedPolicies, trace, layers} = lambda name = dash...
[ { "context": " he wouldn't have given us _____.\",\n \"(Pick 2) In M. Night Shamalan's new movie, Bruce Willis discovers that _____ ha", "end": 1039, "score": 0.9678202271461487, "start": 1022, "tag": "NAME", "value": "M. Night Shamalan" }, { "context": "_.\",\n \"(Pick 2) In M. Ni...
src/blackcards.coffee
veronism/hubot-cah
0
# Black Cards Against Humanity cards to be drawn by the Card Czar # # Blanks should be indicated by a sequence of exactly five underscores. # The number of blanks correspond to the number of white cards to be played. # If no blanks, one white card is expected per answer. module.exports = [ "(Pick 3) I went from ...
169024
# Black Cards Against Humanity cards to be drawn by the Card Czar # # Blanks should be indicated by a sequence of exactly five underscores. # The number of blanks correspond to the number of white cards to be played. # If no blanks, one white card is expected per answer. module.exports = [ "(Pick 3) I went from ...
true
# Black Cards Against Humanity cards to be drawn by the Card Czar # # Blanks should be indicated by a sequence of exactly five underscores. # The number of blanks correspond to the number of white cards to be played. # If no blanks, one white card is expected per answer. module.exports = [ "(Pick 3) I went from ...
[ { "context": "#---------------------\n# Localizor\n#\n# Author : Redy Ru\n# Email : redy.ru@gmail.com\n# License : MIT\n# Des", "end": 55, "score": 0.9998712539672852, "start": 48, "tag": "NAME", "value": "Redy Ru" }, { "context": "-------\n# Localizor\n#\n# Author : Redy Ru\n# Email...
client/src/libs/localizor.coffee
Soopro/totoro
0
#--------------------- # Localizor # # Author : Redy Ru # Email : redy.ru@gmail.com # License : MIT # Description: Localize UI text translations. #--------------------- version = '1.0.0' if not Function::property Function::property = (prop, methods) -> Object.defineProperty @prototype, prop, methods class Loc...
5316
#--------------------- # Localizor # # Author : <NAME> # Email : <EMAIL> # License : MIT # Description: Localize UI text translations. #--------------------- version = '1.0.0' if not Function::property Function::property = (prop, methods) -> Object.defineProperty @prototype, prop, methods class Localizor co...
true
#--------------------- # Localizor # # Author : PI:NAME:<NAME>END_PI # Email : PI:EMAIL:<EMAIL>END_PI # License : MIT # Description: Localize UI text translations. #--------------------- version = '1.0.0' if not Function::property Function::property = (prop, methods) -> Object.defineProperty @prototype, prop, m...
[ { "context": " is revoked'\n await entity.fetch [ Buffer.from('f6ad54717fa42a6e', 'hex') ], C.ops.encrypt, defer err, km, i\n T.a", "end": 545, "score": 0.8932666182518005, "start": 530, "tag": "KEY", "value": "6ad54717fa42a6e" }, { "context": "ew KeyRing()\n await keyring.fetch [...
test/files/revokes.iced
samkenxstream/kbpgp
464
{KeyManager,box,unbox} = require '../..' {PgpKeyRing} = require '../../lib/keyring' C = require '../../lib/const' exports.fetch_subkey_from_revoked_bundle = (T,cb) -> # Entire key bundle is revoked, trying to fetch subkey should not # succeed. await KeyManager.import_from_armored_pgp { raw : revokedKey1stParty }...
6229
{KeyManager,box,unbox} = require '../..' {PgpKeyRing} = require '../../lib/keyring' C = require '../../lib/const' exports.fetch_subkey_from_revoked_bundle = (T,cb) -> # Entire key bundle is revoked, trying to fetch subkey should not # succeed. await KeyManager.import_from_armored_pgp { raw : revokedKey1stParty }...
true
{KeyManager,box,unbox} = require '../..' {PgpKeyRing} = require '../../lib/keyring' C = require '../../lib/const' exports.fetch_subkey_from_revoked_bundle = (T,cb) -> # Entire key bundle is revoked, trying to fetch subkey should not # succeed. await KeyManager.import_from_armored_pgp { raw : revokedKey1stParty }...
[ { "context": "tring('ascii')\n auth.should.equal 'john:secret'\n req.method.should.equal \"", "end": 18309, "score": 0.5638276934623718, "start": 18305, "tag": "USERNAME", "value": "john" }, { "context": "ver\", (done) ->\n @client.setBasicAut...
tests.coffee
NickH-nz/request-json
0
should = require('chai').Should() http = require "http" express = require "express" fs = require "fs" path = require "path" bodyParser = require 'body-parser' multiparty = require 'connect-multiparty' request = require("./main") fakeServer = (json, code=200, callback=null) -> http.createServer (req, res) -> ...
117580
should = require('chai').Should() http = require "http" express = require "express" fs = require "fs" path = require "path" bodyParser = require 'body-parser' multiparty = require 'connect-multiparty' request = require("./main") fakeServer = (json, code=200, callback=null) -> http.createServer (req, res) -> ...
true
should = require('chai').Should() http = require "http" express = require "express" fs = require "fs" path = require "path" bodyParser = require 'body-parser' multiparty = require 'connect-multiparty' request = require("./main") fakeServer = (json, code=200, callback=null) -> http.createServer (req, res) -> ...
[ { "context": "next('.image-dialog-content')\n\n @pubsub_token = PubSub.subscribe('file_picker.select', @insert_file)\n\n render: ->", "end": 495, "score": 0.8367782235145569, "start": 479, "tag": "KEY", "value": "PubSub.subscribe" } ]
app/assets/javascripts/locomotive/views/inputs/rte/file_view.js.coffee
timsly/engine
0
#= require ../../content_assets/picker_view Locomotive.Views.Inputs.Rte ||= {} class Locomotive.Views.Inputs.Rte.FileView extends Backbone.View opened: popover: false picker: false container: dataset: [] initialize: -> _.bindAll(@, 'change_image', 'insert_file', 'hide') @$link ...
9456
#= require ../../content_assets/picker_view Locomotive.Views.Inputs.Rte ||= {} class Locomotive.Views.Inputs.Rte.FileView extends Backbone.View opened: popover: false picker: false container: dataset: [] initialize: -> _.bindAll(@, 'change_image', 'insert_file', 'hide') @$link ...
true
#= require ../../content_assets/picker_view Locomotive.Views.Inputs.Rte ||= {} class Locomotive.Views.Inputs.Rte.FileView extends Backbone.View opened: popover: false picker: false container: dataset: [] initialize: -> _.bindAll(@, 'change_image', 'insert_file', 'hide') @$link ...
[ { "context": ". this is used to fix\n ## https://github.com/cypress-io/cypress/issues/1321\n Cookie.serializableProp", "end": 4467, "score": 0.9994943737983704, "start": 4457, "tag": "USERNAME", "value": "cypress-io" }, { "context": "f not cookie.hostOnly\n ## https://...
packages/server/lib/request.coffee
nico-bellante/cypress
0
_ = require("lodash") r = require("request") rp = require("request-promise") url = require("url") tough = require("tough-cookie") debug = require("debug")("cypress:server:request") moment = require("moment") Promise = require("bluebird") stream = require("stream") d...
41908
_ = require("lodash") r = require("request") rp = require("request-promise") url = require("url") tough = require("tough-cookie") debug = require("debug")("cypress:server:request") moment = require("moment") Promise = require("bluebird") stream = require("stream") d...
true
_ = require("lodash") r = require("request") rp = require("request-promise") url = require("url") tough = require("tough-cookie") debug = require("debug")("cypress:server:request") moment = require("moment") Promise = require("bluebird") stream = require("stream") d...
[ { "context": "mails to the person who submitted the patch, or to Nick, George, or Scott.\n watchers = (w for w in watchers when", "end": 763, "score": 0.9678045511245728, "start": 751, "tag": "NAME", "value": "Nick, George" }, { "context": "on who submitted the patch, or to Nick, Ge...
server/commons/notify.coffee
IngJuanRuiz/codecombat
0
slack = require '../slack' sendgrid = require '../sendgrid' User = require '../models/User' co = require 'co' config = require '../../server_config' # TODO: Refactor notification (other slack messages, patch emails) logic here notifyChangesMadeToDoc = (req, doc) -> # TODO: Stop using headers to pass edit paths. Per...
80608
slack = require '../slack' sendgrid = require '../sendgrid' User = require '../models/User' co = require 'co' config = require '../../server_config' # TODO: Refactor notification (other slack messages, patch emails) logic here notifyChangesMadeToDoc = (req, doc) -> # TODO: Stop using headers to pass edit paths. Per...
true
slack = require '../slack' sendgrid = require '../sendgrid' User = require '../models/User' co = require 'co' config = require '../../server_config' # TODO: Refactor notification (other slack messages, patch emails) logic here notifyChangesMadeToDoc = (req, doc) -> # TODO: Stop using headers to pass edit paths. Per...
[ { "context": "name: 'Lemon'\nscopeName: 'source.lemon'\nfileTypes: [\n 'y'", "end": 8, "score": 0.3698047995567322, "start": 7, "tag": "NAME", "value": "L" }, { "context": "name: 'Lemon'\nscopeName: 'source.lemon'\nfileTypes: [\n 'y', # ", "end": 12, "score": 0.573712050914...
grammars/lemon.cson
kyursen/language-lemon
1
name: 'Lemon' scopeName: 'source.lemon' fileTypes: [ 'y', # NOTE 'y' may conflict with language-bison package 'lemon' ] patterns: [ { include: '#comments' } { include: '#grammars' } { include: '#directives' } ] repository: 'comments': patterns: [ { include: 'source.c#comments' } ] 'grammar...
32203
name: '<NAME>emon' scopeName: 'source.lemon' fileTypes: [ 'y', # NOTE 'y' may conflict with language-bison package 'lemon' ] patterns: [ { include: '#comments' } { include: '#grammars' } { include: '#directives' } ] repository: 'comments': patterns: [ { include: 'source.c#comments' } ] 'gr...
true
name: 'PI:NAME:<NAME>END_PIemon' scopeName: 'source.lemon' fileTypes: [ 'y', # NOTE 'y' may conflict with language-bison package 'lemon' ] patterns: [ { include: '#comments' } { include: '#grammars' } { include: '#directives' } ] repository: 'comments': patterns: [ { include: 'source.c#comments'...
[ { "context": "ey.should.equal(ST2.storageKey.key)\n\n secret1 = 'hello world'\n secret2 =\n a: 1\n b: 'big'\n ", "end": 1871, "score": 0.625984787940979, "start": 1866, "tag": "PASSWORD", "value": "hello" }, { "context": "ould.equal(ST2.storageKey.key)\n\n secret1 = '...
tests/specs/02.crypto_storage.coffee
vault12/glow
14
# Copyright (c) 2015 Vault12, Inc. # MIT License https://opensource.org/licenses/MIT window.__CRYPTO_DEBUG = true # Expose #theglow objects as window globals expect = require('chai').expect CryptoStorage = require 'crypto_storage' Keys = require 'keys' Utils = require 'utils' # ----- Cryptographic Storage ----- descr...
108008
# Copyright (c) 2015 Vault12, Inc. # MIT License https://opensource.org/licenses/MIT window.__CRYPTO_DEBUG = true # Expose #theglow objects as window globals expect = require('chai').expect CryptoStorage = require 'crypto_storage' Keys = require 'keys' Utils = require 'utils' # ----- Cryptographic Storage ----- descr...
true
# Copyright (c) 2015 Vault12, Inc. # MIT License https://opensource.org/licenses/MIT window.__CRYPTO_DEBUG = true # Expose #theglow objects as window globals expect = require('chai').expect CryptoStorage = require 'crypto_storage' Keys = require 'keys' Utils = require 'utils' # ----- Cryptographic Storage ----- descr...
[ { "context": "nnConfig =\n iceServers: [\n url: \"stun:23.21.150.121\"\n ]\n\n mediaConstraints =\n mandatory:", "end": 3879, "score": 0.9987342357635498, "start": 3866, "tag": "IP_ADDRESS", "value": "23.21.150.121" }, { "context": "meout(id);\n };\n}(...
lib/shims.coffee
twelephone/holla
2
# begin compatibility insanity PeerConnection = window.mozRTCPeerConnection or window.PeerConnection or window.webkitPeerConnection00 or window.webkitRTCPeerConnection IceCandidate = window.mozRTCIceCandidate or window.RTCIceCandidate SessionDescription = window.mozRTCSessionDescription or window.RTCSessionDescription...
148078
# begin compatibility insanity PeerConnection = window.mozRTCPeerConnection or window.PeerConnection or window.webkitPeerConnection00 or window.webkitRTCPeerConnection IceCandidate = window.mozRTCIceCandidate or window.RTCIceCandidate SessionDescription = window.mozRTCSessionDescription or window.RTCSessionDescription...
true
# begin compatibility insanity PeerConnection = window.mozRTCPeerConnection or window.PeerConnection or window.webkitPeerConnection00 or window.webkitRTCPeerConnection IceCandidate = window.mozRTCIceCandidate or window.RTCIceCandidate SessionDescription = window.mozRTCSessionDescription or window.RTCSessionDescription...
[ { "context": "person =\n name: 'Alice'\n tryToSayHelloButFail: (delay) ->\n setTimeou", "end": 23, "score": 0.9996243119239807, "start": 18, "tag": "NAME", "value": "Alice" }, { "context": "\nperson.sayHello 1000 # Hi from Alice :)\n", "end": 330, "sco...
coffeescript/greeter.coffee
idrougge/ple
59
person = name: 'Alice' tryToSayHelloButFail: (delay) -> setTimeout (() -> console.log "Hi from #{@name} :("), delay sayHello: (delay) -> setTimeout (() => console.log "Hi from #{@name} :)"), delay person.tryToSayHelloButFail 1000 # Hi from undefined :( person.sayHello 1000 # Hi ...
36957
person = name: '<NAME>' tryToSayHelloButFail: (delay) -> setTimeout (() -> console.log "Hi from #{@name} :("), delay sayHello: (delay) -> setTimeout (() => console.log "Hi from #{@name} :)"), delay person.tryToSayHelloButFail 1000 # Hi from undefined :( person.sayHello 1000 # Hi...
true
person = name: 'PI:NAME:<NAME>END_PI' tryToSayHelloButFail: (delay) -> setTimeout (() -> console.log "Hi from #{@name} :("), delay sayHello: (delay) -> setTimeout (() => console.log "Hi from #{@name} :)"), delay person.tryToSayHelloButFail 1000 # Hi from undefined :( person.sayHello 1000 ...
[ { "context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li", "end": 43, "score": 0.9999159574508667, "start": 29, "tag": "EMAIL", "value": "contact@ppy.sh" } ]
resources/assets/coffee/spoilerbox.coffee
osu-katakuna/osu-katakuna-web
5
# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. $(document).on 'click', '.js-spoilerbox__link', (e) -> e.preventDefault() $link = $(e.target).closest('.js-spoilerbox') $link.toggleClass...
182949
# Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. $(document).on 'click', '.js-spoilerbox__link', (e) -> e.preventDefault() $link = $(e.target).closest('.js-spoilerbox') $link.toggleClass 'js-sp...
true
# Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. $(document).on 'click', '.js-spoilerbox__link', (e) -> e.preventDefault() $link = $(e.target).closest('.js-spoilerbox') $link.tog...
[ { "context": "'thank-you-for-considering'\n token: 'the-environment'\n rawData: '{\"forwardedFor\":[\"thank-you-", "end": 558, "score": 0.9851808547973633, "start": 543, "tag": "PASSWORD", "value": "the-environment" }, { "context": "'thank-you-for-considering'\n...
test/check-forwarded-for-spec.coffee
octoblu/meshblu-core-task-check-forwarded-for
0
Datastore = require 'meshblu-core-datastore' CheckForwardedFor = require '..' describe 'CheckForwardedFor', -> beforeEach -> @uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid @sut = new CheckForwardedFor uuidAliasResolver: @uuidAliasResolver describe '->do', -> context 'when ...
131763
Datastore = require 'meshblu-core-datastore' CheckForwardedFor = require '..' describe 'CheckForwardedFor', -> beforeEach -> @uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid @sut = new CheckForwardedFor uuidAliasResolver: @uuidAliasResolver describe '->do', -> context 'when ...
true
Datastore = require 'meshblu-core-datastore' CheckForwardedFor = require '..' describe 'CheckForwardedFor', -> beforeEach -> @uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid @sut = new CheckForwardedFor uuidAliasResolver: @uuidAliasResolver describe '->do', -> context 'when ...
[ { "context": "tes link to stage or qa environment\n\n# Author:\n# matt.strenz@readytalk.com\n\nmodule.exports = (robot) ->\n\n robot.respond /sta", "end": 186, "score": 0.9999126195907593, "start": 161, "tag": "EMAIL", "value": "matt.strenz@readytalk.com" } ]
scripts/testing.coffee
mstrenz/theMountain
0
# Description # Provides link fro testing environments # # Commands: # mountain stageurl or qaurl - generates link to stage or qa environment # Author: # matt.strenz@readytalk.com module.exports = (robot) -> robot.respond /stageurl/i, (res) -> res.send "https://stage-www.readytalk.com" robot.respond /q...
208669
# Description # Provides link fro testing environments # # Commands: # mountain stageurl or qaurl - generates link to stage or qa environment # Author: # <EMAIL> module.exports = (robot) -> robot.respond /stageurl/i, (res) -> res.send "https://stage-www.readytalk.com" robot.respond /qaurl/i, (res2) -> ...
true
# Description # Provides link fro testing environments # # Commands: # mountain stageurl or qaurl - generates link to stage or qa environment # Author: # PI:EMAIL:<EMAIL>END_PI module.exports = (robot) -> robot.respond /stageurl/i, (res) -> res.send "https://stage-www.readytalk.com" robot.respond /qaur...
[ { "context": "ngs like in PHP', ->\n\t\t\texpect(Helpers.urlencode('Kevin van Zonneveld!')).to.be.equal('Kevin+van+Zonneveld%21')\n\t", "end": 180, "score": 0.8315186500549316, "start": 167, "tag": "NAME", "value": "Kevin van Zon" } ]
test/tests/Helpers.coffee
sakren/node-browser-http
3
Helpers = window.http.Helpers describe 'Helpers', -> describe '#urlencode()', -> it 'should return encoded strings like in PHP', -> expect(Helpers.urlencode('Kevin van Zonneveld!')).to.be.equal('Kevin+van+Zonneveld%21') expect(Helpers.urlencode('http://kevin.vanzonneveld.net/')).to.be.equal('http%3A%2F%2Fke...
15720
Helpers = window.http.Helpers describe 'Helpers', -> describe '#urlencode()', -> it 'should return encoded strings like in PHP', -> expect(Helpers.urlencode('<NAME>neveld!')).to.be.equal('Kevin+van+Zonneveld%21') expect(Helpers.urlencode('http://kevin.vanzonneveld.net/')).to.be.equal('http%3A%2F%2Fkevin.van...
true
Helpers = window.http.Helpers describe 'Helpers', -> describe '#urlencode()', -> it 'should return encoded strings like in PHP', -> expect(Helpers.urlencode('PI:NAME:<NAME>END_PIneveld!')).to.be.equal('Kevin+van+Zonneveld%21') expect(Helpers.urlencode('http://kevin.vanzonneveld.net/')).to.be.equal('http%3A%...
[ { "context": " () ->\n\n\t\t\t\tPotion.busy.show()\n\t\t\t\tusername = $('#username').val()\n\t\t\t\tpassword = $('#password').val()\n\t\t\t\tP", "end": 3470, "score": 0.9428884387016296, "start": 3462, "tag": "USERNAME", "value": "username" }, { "context": "sername = $('#username')....
potion/src/main.coffee
zeusricote/zeusricote.github.io
0
#Our App class Post constructor: (@path, cb) -> Potion.github.repository.read Potion.github.branch, @path, (err, data) => if !err @originalText = @data = data cb?() else alert "There was an error in fetching this post" #save: #Potion. isDraft: () -> @path.slice(0, 7) == "_drafts" toHTML: () ...
2348
#Our App class Post constructor: (@path, cb) -> Potion.github.repository.read Potion.github.branch, @path, (err, data) => if !err @originalText = @data = data cb?() else alert "There was an error in fetching this post" #save: #Potion. isDraft: () -> @path.slice(0, 7) == "_drafts" toHTML: () ...
true
#Our App class Post constructor: (@path, cb) -> Potion.github.repository.read Potion.github.branch, @path, (err, data) => if !err @originalText = @data = data cb?() else alert "There was an error in fetching this post" #save: #Potion. isDraft: () -> @path.slice(0, 7) == "_drafts" toHTML: () ...
[ { "context": "rs: #{error}\"\n )\n \n deleteUser: (firstName, lastName, user) ->\n @$log.debug \"deleteUs", "end": 535, "score": 0.9738299250602722, "start": 526, "tag": "NAME", "value": "firstName" }, { "context": "r}\"\n )\n \n deleteUser: (...
app/assets/javascripts/users/UserCtrl.coffee
npeaks/test-play-app
0
class UserCtrl constructor: (@$log, @$location, @UserService) -> @$log.debug "constructing UserController" @users = [] @getAllUsers() getAllUsers: () -> @$log.debug "getAllUsers()" @UserService.listUsers() .then( (data) => @$log.deb...
129018
class UserCtrl constructor: (@$log, @$location, @UserService) -> @$log.debug "constructing UserController" @users = [] @getAllUsers() getAllUsers: () -> @$log.debug "getAllUsers()" @UserService.listUsers() .then( (data) => @$log.deb...
true
class UserCtrl constructor: (@$log, @$location, @UserService) -> @$log.debug "constructing UserController" @users = [] @getAllUsers() getAllUsers: () -> @$log.debug "getAllUsers()" @UserService.listUsers() .then( (data) => @$log.deb...
[ { "context": " expect(selectList.getSelectedItem()).toBe 'Bermuda'\n\n describe \"when the text of the mini editor ch", "end": 1779, "score": 0.9768540859222412, "start": 1773, "tag": "NAME", "value": "ermuda" } ]
spec/select-list-view-spec.coffee
batista/atom
7
SelectListView = require '../src/select-list-view' {$, $$} = require 'atom' describe "SelectListView", -> [selectList, items, list, filterEditorView] = [] beforeEach -> items = [ ["A", "Alpha"], ["B", "Bravo"], ["C", "Charlie"], ["D", "Delta"], ["E", "Echo"], ["F", "Foxtrot"] ] selectList...
72237
SelectListView = require '../src/select-list-view' {$, $$} = require 'atom' describe "SelectListView", -> [selectList, items, list, filterEditorView] = [] beforeEach -> items = [ ["A", "Alpha"], ["B", "Bravo"], ["C", "Charlie"], ["D", "Delta"], ["E", "Echo"], ["F", "Foxtrot"] ] selectList...
true
SelectListView = require '../src/select-list-view' {$, $$} = require 'atom' describe "SelectListView", -> [selectList, items, list, filterEditorView] = [] beforeEach -> items = [ ["A", "Alpha"], ["B", "Bravo"], ["C", "Charlie"], ["D", "Delta"], ["E", "Echo"], ["F", "Foxtrot"] ] selectList...
[ { "context": "his at all cost when we add the delta service from Jonathan, this is a workaround as the cache doesn't know w", "end": 857, "score": 0.9859215021133423, "start": 849, "tag": "NAME", "value": "Jonathan" } ]
app/controllers/concepts/admin.coffee
tenforce/esco-mapping-frontend
0
`import Ember from 'ember'` AdminController = Ember.Controller.extend display: "dashboard" currentUser: Ember.inject.service() userIsAdmin: Ember.computed.alias 'currentUser.userIsAdmin' userIsAdminTester: Ember.computed.alias 'currentUser.userIsAdminTester' showTable: false mappingEffort: Ember.inject.ser...
126212
`import Ember from 'ember'` AdminController = Ember.Controller.extend display: "dashboard" currentUser: Ember.inject.service() userIsAdmin: Ember.computed.alias 'currentUser.userIsAdmin' userIsAdminTester: Ember.computed.alias 'currentUser.userIsAdminTester' showTable: false mappingEffort: Ember.inject.ser...
true
`import Ember from 'ember'` AdminController = Ember.Controller.extend display: "dashboard" currentUser: Ember.inject.service() userIsAdmin: Ember.computed.alias 'currentUser.userIsAdmin' userIsAdminTester: Ember.computed.alias 'currentUser.userIsAdminTester' showTable: false mappingEffort: Ember.inject.ser...
[ { "context": "###\ngrunt-i18n-pug\nhttps://github.com/SnijderC/grunt-i18n-pug\n\nCopyright (c) 2017 Chris Snijder\n", "end": 46, "score": 0.9992731213569641, "start": 38, "tag": "USERNAME", "value": "SnijderC" }, { "context": "ub.com/SnijderC/grunt-i18n-pug\n\nCopyright (c) 2017 Chri...
tasks/i18n-pug.coffee
SnijderC/grunt-i18n-pug
0
### grunt-i18n-pug https://github.com/SnijderC/grunt-i18n-pug Copyright (c) 2017 Chris Snijder Licensed under the MIT license. ### 'use strict' module.exports = (grunt) -> grunt.registerMultiTask( 'i18n_pug', 'Wrapper for mashpie\'s i18n-node in grunt-contrib-pug.', () -> try _ = requir...
225286
### grunt-i18n-pug https://github.com/SnijderC/grunt-i18n-pug Copyright (c) 2017 <NAME> Licensed under the MIT license. ### 'use strict' module.exports = (grunt) -> grunt.registerMultiTask( 'i18n_pug', 'Wrapper for mashpie\'s i18n-node in grunt-contrib-pug.', () -> try _ = require 'loda...
true
### grunt-i18n-pug https://github.com/SnijderC/grunt-i18n-pug Copyright (c) 2017 PI:NAME:<NAME>END_PI Licensed under the MIT license. ### 'use strict' module.exports = (grunt) -> grunt.registerMultiTask( 'i18n_pug', 'Wrapper for mashpie\'s i18n-node in grunt-contrib-pug.', () -> try _ =...
[ { "context": "password, 10, (err, hash) ->\n user.password = hash\n next()\n else\n next()\n \nuserSchema.st", "end": 720, "score": 0.7948326468467712, "start": 716, "tag": "PASSWORD", "value": "hash" } ]
express/models/user.coffee
denya133/neemb
0
mongoose = require "mongoose" bcrypt = require "bcrypt" Schema = mongoose.Schema userSchema = new Schema first_name: String last_name: String email: String created_at: type: Date default: Date.now updated_at: type: Date default: Date.now password: String apikey: type: Schema.Types.Obj...
219287
mongoose = require "mongoose" bcrypt = require "bcrypt" Schema = mongoose.Schema userSchema = new Schema first_name: String last_name: String email: String created_at: type: Date default: Date.now updated_at: type: Date default: Date.now password: String apikey: type: Schema.Types.Obj...
true
mongoose = require "mongoose" bcrypt = require "bcrypt" Schema = mongoose.Schema userSchema = new Schema first_name: String last_name: String email: String created_at: type: Date default: Date.now updated_at: type: Date default: Date.now password: String apikey: type: Schema.Types.Obj...
[ { "context": " # @codepen CSS selector: https://codepen.io/sol0mka/pen/emqbLN/\n # @codepen SVG line commands: htt", "end": 966, "score": 0.999603807926178, "start": 959, "tag": "USERNAME", "value": "sol0mka" }, { "context": " # @codepen SVG line commands: https://codepen.io/...
src/motion-path.coffee
jcansdale-test/mojs
3,556
# ## MotionPath # Class for moving object along path or curve # # @class MotionPath h = require './h' resize = require 'vendor/resize' Tween = require('tween/tween').default Timeline = require('tween/timeline').default class MotionPath # --- # ### Defaults/APIs # --- defaults: # Defines mot...
220764
# ## MotionPath # Class for moving object along path or curve # # @class MotionPath h = require './h' resize = require 'vendor/resize' Tween = require('tween/tween').default Timeline = require('tween/timeline').default class MotionPath # --- # ### Defaults/APIs # --- defaults: # Defines mot...
true
# ## MotionPath # Class for moving object along path or curve # # @class MotionPath h = require './h' resize = require 'vendor/resize' Tween = require('tween/tween').default Timeline = require('tween/timeline').default class MotionPath # --- # ### Defaults/APIs # --- defaults: # Defines mot...
[ { "context": "#!\n# jcs-middleware Copyright(c) 2014 Wu Yuntao\n# https://github.com/WuYuntaoTheGreat/jcs-middlew", "end": 47, "score": 0.9998525381088257, "start": 38, "tag": "NAME", "value": "Wu Yuntao" }, { "context": " Copyright(c) 2014 Wu Yuntao\n# https://github.com/WuYuntaoThe...
test/test.coffee
WuYuntaoTheGreat/jcs-middleware
1
#! # jcs-middleware Copyright(c) 2014 Wu Yuntao # https://github.com/WuYuntaoTheGreat/jcs-middleware # Released under the MIT License. # vim: set et ai ts=4 sw=4 cc=100 nu: # logger = require("../lib/logger").logger assert = require "assert" fs = require "fs" path = require "path" mkdirp = require "mkdirp" ...
146367
#! # jcs-middleware Copyright(c) 2014 <NAME> # https://github.com/WuYuntaoTheGreat/jcs-middleware # Released under the MIT License. # vim: set et ai ts=4 sw=4 cc=100 nu: # logger = require("../lib/logger").logger assert = require "assert" fs = require "fs" path = require "path" mkdirp = require "mkdirp" url...
true
#! # jcs-middleware Copyright(c) 2014 PI:NAME:<NAME>END_PI # https://github.com/WuYuntaoTheGreat/jcs-middleware # Released under the MIT License. # vim: set et ai ts=4 sw=4 cc=100 nu: # logger = require("../lib/logger").logger assert = require "assert" fs = require "fs" path = require "path" mkdirp = requir...
[ { "context": " Zikkko :\n# label : \"Zikkko\"\n# type : \"textarea\"\n# nam", "end": 3276, "score": 0.6328256726264954, "start": 3270, "tag": "NAME", "value": "Zikkko" }, { "context": " : \"textarea\"\n# name ...
src/components/forms/formviewwithfields.coffee
burakcan/kd
0
KDView = require './../../core/view.coffee' KDCustomHTMLView = require './../../core/customhtmlview.coffee' KDFormView = require './formview.coffee' KDButtonBar = require './../buttons/buttonbar.coffee' KDLabelView = require './../inputs/labelview.coffee' module.exports = class KDFormViewWith...
88108
KDView = require './../../core/view.coffee' KDCustomHTMLView = require './../../core/customhtmlview.coffee' KDFormView = require './formview.coffee' KDButtonBar = require './../buttons/buttonbar.coffee' KDLabelView = require './../inputs/labelview.coffee' module.exports = class KDFormViewWith...
true
KDView = require './../../core/view.coffee' KDCustomHTMLView = require './../../core/customhtmlview.coffee' KDFormView = require './formview.coffee' KDButtonBar = require './../buttons/buttonbar.coffee' KDLabelView = require './../inputs/labelview.coffee' module.exports = class KDFormViewWith...
[ { "context": " VPCはデフォルトで構わないので、サブネットの割り振りを行うこと。\n#\n# Author:\n# miura-simpline <miura.daisuke@simpline.co.jp>\n\nmodule.exports = ", "end": 590, "score": 0.9992462992668152, "start": 576, "tag": "USERNAME", "value": "miura-simpline" }, { "context": "、サブネットの割り振りを行うこと。\n#\n# Author...
scripts/training4th.coffee
simpline/TrainingBotBoss
0
# Description: # The 4th week of Training - 研修4週目 # 4週目における課題は、仮想化環境の必要性を理解することである。 # 研修の中でアクセスが高負荷な環境は作り出せない為、作業的負荷を増大させ必要性を理解してもらう。 # # Commands: # boss 16日目は何をしましょうか。 # boss レプリケーションを設定しました。[苦労した点] # boss 17日目は何をしましょうか。 # boss ApacheをAnsibleで作成してきました。[苦労した点] # boss 18日目は何をしましょうか。 # boss WordpressをA...
77114
# Description: # The 4th week of Training - 研修4週目 # 4週目における課題は、仮想化環境の必要性を理解することである。 # 研修の中でアクセスが高負荷な環境は作り出せない為、作業的負荷を増大させ必要性を理解してもらう。 # # Commands: # boss 16日目は何をしましょうか。 # boss レプリケーションを設定しました。[苦労した点] # boss 17日目は何をしましょうか。 # boss ApacheをAnsibleで作成してきました。[苦労した点] # boss 18日目は何をしましょうか。 # boss WordpressをA...
true
# Description: # The 4th week of Training - 研修4週目 # 4週目における課題は、仮想化環境の必要性を理解することである。 # 研修の中でアクセスが高負荷な環境は作り出せない為、作業的負荷を増大させ必要性を理解してもらう。 # # Commands: # boss 16日目は何をしましょうか。 # boss レプリケーションを設定しました。[苦労した点] # boss 17日目は何をしましょうか。 # boss ApacheをAnsibleで作成してきました。[苦労した点] # boss 18日目は何をしましょうか。 # boss WordpressをA...
[ { "context": "cssClass : 'user-email'\n placeholder : 'mail@example.com'\n validate :\n rules :\n ", "end": 488, "score": 0.9999136924743652, "start": 472, "tag": "EMAIL", "value": "mail@example.com" } ]
client/admin/lib/views/invitations/invitationinputview.coffee
ezgikaysi/koding
1
kd = require 'kd' KDView = kd.View KDInputView = kd.InputView KDCustomCheckBox = kd.CustomCheckBox module.exports = class InvitationInputView extends KDView constructor: (options = {}, data) -> options.cssClass = 'invite-inputs' options.cancellable ?= yes super option...
12551
kd = require 'kd' KDView = kd.View KDInputView = kd.InputView KDCustomCheckBox = kd.CustomCheckBox module.exports = class InvitationInputView extends KDView constructor: (options = {}, data) -> options.cssClass = 'invite-inputs' options.cancellable ?= yes super option...
true
kd = require 'kd' KDView = kd.View KDInputView = kd.InputView KDCustomCheckBox = kd.CustomCheckBox module.exports = class InvitationInputView extends KDView constructor: (options = {}, data) -> options.cssClass = 'invite-inputs' options.cancellable ?= yes super option...
[ { "context": "eaderview'\n\ncreateAvatar = (profile) ->\n\n { hash, firstName, lastName, nickname } = profile\n defaultImg = 'h", "end": 226, "score": 0.6911585330963135, "start": 217, "tag": "NAME", "value": "firstName" } ]
client/landing/site.landing/coffee/team/tabs/teamwelcometab.coffee
ezgikaysi/koding
1
kd = require 'kd' utils = require './../../core/utils' JView = require './../../core/jview' MainHeaderView = require './../../core/mainheaderview' createAvatar = (profile) -> { hash, firstName, lastName, nickname } = profile defaultImg = 'https://koding-cdn.s3.amazonaws.com/square-av...
167835
kd = require 'kd' utils = require './../../core/utils' JView = require './../../core/jview' MainHeaderView = require './../../core/mainheaderview' createAvatar = (profile) -> { hash, <NAME>, lastName, nickname } = profile defaultImg = 'https://koding-cdn.s3.amazonaws.com/square-avata...
true
kd = require 'kd' utils = require './../../core/utils' JView = require './../../core/jview' MainHeaderView = require './../../core/mainheaderview' createAvatar = (profile) -> { hash, PI:NAME:<NAME>END_PI, lastName, nickname } = profile defaultImg = 'https://koding-cdn.s3.amazonaws.co...
[ { "context": "r templates, refer to the FAQ: https://github.com/bevry/docpad/wiki/FAQ\n\n templateData:\n\n # Specify s", "end": 732, "score": 0.7957404255867004, "start": 727, "tag": "USERNAME", "value": "bevry" }, { "context": "\n # The website author's name\n author:...
docpad.coffee
nacyot/elasticsearch-kr.github.io.source
0
# The DocPad Configuration File # It is simply a CoffeeScript Object which is parsed by CSON docpadConfig = # Paths Configuration # ================================= # Regenerate Delay # The time (in milliseconds) to wait after a source file has # changed before using it to regenerate. Updating over the #...
22532
# The DocPad Configuration File # It is simply a CoffeeScript Object which is parsed by CSON docpadConfig = # Paths Configuration # ================================= # Regenerate Delay # The time (in milliseconds) to wait after a source file has # changed before using it to regenerate. Updating over the #...
true
# The DocPad Configuration File # It is simply a CoffeeScript Object which is parsed by CSON docpadConfig = # Paths Configuration # ================================= # Regenerate Delay # The time (in milliseconds) to wait after a source file has # changed before using it to regenerate. Updating over the #...
[ { "context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li", "end": 43, "score": 0.9999105334281921, "start": 29, "tag": "EMAIL", "value": "contact@ppy.sh" } ]
resources/assets/coffee/react/profile-page/cover-selector.coffee
osu-katakuna/osu-katakuna-web
5
# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. import { CoverSelection } from './cover-selection' import { CoverUploader } from './cover-uploader' import * as React from 'react' import { div, ...
150469
# Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. import { CoverSelection } from './cover-selection' import { CoverUploader } from './cover-uploader' import * as React from 'react' import { div, p } fro...
true
# Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0. # See the LICENCE file in the repository root for full licence text. import { CoverSelection } from './cover-selection' import { CoverUploader } from './cover-uploader' import * as React from 'react' import...
[ { "context": "scopeName: 'source.m'\nname: 'Emerald'\nfileTypes: [\n 'm'\n]\n", "end": 36, "score": 0.999385416507721, "start": 29, "tag": "NAME", "value": "Emerald" } ]
envs/atom-grammar/header.cson
emerald/modess
0
scopeName: 'source.m' name: 'Emerald' fileTypes: [ 'm' ]
158798
scopeName: 'source.m' name: '<NAME>' fileTypes: [ 'm' ]
true
scopeName: 'source.m' name: 'PI:NAME:<NAME>END_PI' fileTypes: [ 'm' ]
[ { "context": "ethods adapted from:\n[when.js](https://github.com/cujojs/when)\nCopyright (c) B Cavalier & J Hann\nOpen sour", "end": 251, "score": 0.974572479724884, "start": 245, "tag": "USERNAME", "value": "cujojs" }, { "context": ".js](https://github.com/cujojs/when)\nCopyright (c...
src/coffee/promise/Chain.coffee
bentrm/DeftJS
46
### Copyright (c) 2012-2013 [DeftJS Framework Contributors](http://deftjs.org) Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License). sequence(), parallel(), pipeline() methods adapted from: [when.js](https://github.com/cujojs/when) Copyright (c) B Cavalier & J Hann Open source under the [MIT L...
204334
### Copyright (c) 2012-2013 [DeftJS Framework Contributors](http://deftjs.org) Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License). sequence(), parallel(), pipeline() methods adapted from: [when.js](https://github.com/cujojs/when) Copyright (c) <NAME> & <NAME> Open source under the [MIT Licen...
true
### Copyright (c) 2012-2013 [DeftJS Framework Contributors](http://deftjs.org) Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License). sequence(), parallel(), pipeline() methods adapted from: [when.js](https://github.com/cujojs/when) Copyright (c) PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI Open...
[ { "context": "ame: connection.user\n password: connection.password\n success: (data) ->\n ", "end": 1576, "score": 0.9933960437774658, "start": 1557, "tag": "PASSWORD", "value": "connection.password" } ]
lib/provider.coffee
subugoe/atom-existdb
10
$ = require('jquery') path = require 'path' util = require './util' XQUtils = require './xquery-helper' InScopeVariables = require './var-visitor' MIN_LENGTH = 3 module.exports = class Provider selector: '.source.xq, .source.xql, .source.xquery, .source.xqm' inclusionPriority: 1 excludeLow...
12859
$ = require('jquery') path = require 'path' util = require './util' XQUtils = require './xquery-helper' InScopeVariables = require './var-visitor' MIN_LENGTH = 3 module.exports = class Provider selector: '.source.xq, .source.xql, .source.xquery, .source.xqm' inclusionPriority: 1 excludeLow...
true
$ = require('jquery') path = require 'path' util = require './util' XQUtils = require './xquery-helper' InScopeVariables = require './var-visitor' MIN_LENGTH = 3 module.exports = class Provider selector: '.source.xq, .source.xql, .source.xquery, .source.xqm' inclusionPriority: 1 excludeLow...
[ { "context": "cts.com/js/external/paypal-button.min.js?merchant=nicolas@3scale.net' data-button='qr' data-name='Product via QR code'", "end": 2500, "score": 0.9813604354858398, "start": 2482, "tag": "EMAIL", "value": "nicolas@3scale.net" } ]
src/ui/events.coffee
BKcore/BattleHack2014
1
MAX_WIDTH = 6000 MIN_SWIPE_DELAY = 1000 MIN_SWIPE_DISTANCE = 50 MIN_TOUCH_DELAY = 2000 SWIPE_INCREMENT_X = window.innerWidth LAYER_COUNT = 1 items = null $ -> fetchAll -> drawAll() fetchAll = (cb) -> Events.getConcerts 37.7833, -122.4167, (data) -> items = ([e.title, e.performers[0].image, e.venue.name, ...
25200
MAX_WIDTH = 6000 MIN_SWIPE_DELAY = 1000 MIN_SWIPE_DISTANCE = 50 MIN_TOUCH_DELAY = 2000 SWIPE_INCREMENT_X = window.innerWidth LAYER_COUNT = 1 items = null $ -> fetchAll -> drawAll() fetchAll = (cb) -> Events.getConcerts 37.7833, -122.4167, (data) -> items = ([e.title, e.performers[0].image, e.venue.name, ...
true
MAX_WIDTH = 6000 MIN_SWIPE_DELAY = 1000 MIN_SWIPE_DISTANCE = 50 MIN_TOUCH_DELAY = 2000 SWIPE_INCREMENT_X = window.innerWidth LAYER_COUNT = 1 items = null $ -> fetchAll -> drawAll() fetchAll = (cb) -> Events.getConcerts 37.7833, -122.4167, (data) -> items = ([e.title, e.performers[0].image, e.venue.name, ...
[ { "context": "load: true, format: \"bibtex\")\n i18n_key: -> \"RecordActions\"\n id: -> @_guid\n json_path: -> @get(\"ap", "end": 575, "score": 0.9984580874443054, "start": 562, "tag": "KEY", "value": "RecordActions" } ]
app/assets/javascripts/app/components/RecordActions/index.js.coffee
ubpb/katalog
0
#= require app/Component #= require ./Note #= require ./WatchLists do(app = window.app, Note = app.components.RecordActions.Note, WatchLists = app.components.RecordActions.WatchLists) -> app.components.RecordActions = app.Component.extend components: Note: Note WatchLists: WatchLists computed: ...
45169
#= require app/Component #= require ./Note #= require ./WatchLists do(app = window.app, Note = app.components.RecordActions.Note, WatchLists = app.components.RecordActions.WatchLists) -> app.components.RecordActions = app.Component.extend components: Note: Note WatchLists: WatchLists computed: ...
true
#= require app/Component #= require ./Note #= require ./WatchLists do(app = window.app, Note = app.components.RecordActions.Note, WatchLists = app.components.RecordActions.WatchLists) -> app.components.RecordActions = app.Component.extend components: Note: Note WatchLists: WatchLists computed: ...
[ { "context": " = Steedos.getSpaceId()\n\t\tauthToken[\"X-User-Id\"] = Meteor.userId()\n\t\tauthToken[\"X-Auth-Token\"] = Accounts._storedL", "end": 1092, "score": 0.699953019618988, "start": 1079, "tag": "KEY", "value": "Meteor.userId" }, { "context": "or.userId()\n\t\tauthToken[\"X-...
creator/client/router.coffee
baozhoutao/steedos-platform
10
checkUserSigned = (context, redirect) -> # if !Meteor.userId() # Setup.validate(); FlowRouter.route '/', action: (params, queryParams)-> FlowRouter.go '/app' FlowRouter.route '/admin', action: (params, queryParams)-> FlowRouter.go '/app/admin' FlowRouter.route '/steedos/sign-in', triggersEnter: [ (context,...
24527
checkUserSigned = (context, redirect) -> # if !Meteor.userId() # Setup.validate(); FlowRouter.route '/', action: (params, queryParams)-> FlowRouter.go '/app' FlowRouter.route '/admin', action: (params, queryParams)-> FlowRouter.go '/app/admin' FlowRouter.route '/steedos/sign-in', triggersEnter: [ (context,...
true
checkUserSigned = (context, redirect) -> # if !Meteor.userId() # Setup.validate(); FlowRouter.route '/', action: (params, queryParams)-> FlowRouter.go '/app' FlowRouter.route '/admin', action: (params, queryParams)-> FlowRouter.go '/app/admin' FlowRouter.route '/steedos/sign-in', triggersEnter: [ (context,...
[ { "context": "y migration.bulkInsert('Person', [\n name: 'John Doe'\n isBetaMember: false ],\n name: {}\n ", "end": 152, "score": 0.9998356699943542, "start": 144, "tag": "NAME", "value": "John Doe" } ]
node_modules/sequelize-cli/test/support/assets/seeders/20111117063700-seedPerson.coffee
poderosonovo/proy_CORE
1
nodeify = require 'nodeify' module.exports = up: (migration, DataTypes, done) -> nodeify migration.bulkInsert('Person', [ name: 'John Doe' isBetaMember: false ], name: {} isBetaMember: {}), done down: (migration, DataTypes, done) -> nodeify migration .bulkDelete 'Person', nu...
149161
nodeify = require 'nodeify' module.exports = up: (migration, DataTypes, done) -> nodeify migration.bulkInsert('Person', [ name: '<NAME>' isBetaMember: false ], name: {} isBetaMember: {}), done down: (migration, DataTypes, done) -> nodeify migration .bulkDelete 'Person', null...
true
nodeify = require 'nodeify' module.exports = up: (migration, DataTypes, done) -> nodeify migration.bulkInsert('Person', [ name: 'PI:NAME:<NAME>END_PI' isBetaMember: false ], name: {} isBetaMember: {}), done down: (migration, DataTypes, done) -> nodeify migration .bulkDelete ...
[ { "context": "_.startsWith(key, \"google\") or _.startsWith(key, \"nexus\") or _.startsWith(key, \"htc\") or _.startsWith(key", "end": 5290, "score": 0.5290987491607666, "start": 5285, "tag": "KEY", "value": "nexus" }, { "context": ".startsWith(key, \"nexus\") or _.startsWith(key, \"...
test/tests/DeviceComponentTest.coffee
ig-la/Framer
3,817
assert = require "assert" describe "DeviceComponent", -> it "should default to iphone 8 silver", -> comp = new DeviceComponent() comp.deviceType.should.equal "apple-iphone-8-silver" it "should use images on server for built in devices when not in Studio", -> comp = new DeviceComponent() localUrl = "resou...
148851
assert = require "assert" describe "DeviceComponent", -> it "should default to iphone 8 silver", -> comp = new DeviceComponent() comp.deviceType.should.equal "apple-iphone-8-silver" it "should use images on server for built in devices when not in Studio", -> comp = new DeviceComponent() localUrl = "resou...
true
assert = require "assert" describe "DeviceComponent", -> it "should default to iphone 8 silver", -> comp = new DeviceComponent() comp.deviceType.should.equal "apple-iphone-8-silver" it "should use images on server for built in devices when not in Studio", -> comp = new DeviceComponent() localUrl = "resou...
[ { "context": "ratorsHandler.getProjectsUserIsMemberOf.withArgs(@user_id, @fields).yields(\n\t\t\t\tnull,\n\t\t\t\t{\n\t\t\t\t\treadAndWri", "end": 5565, "score": 0.794295608997345, "start": 5558, "tag": "USERNAME", "value": "user_id" }, { "context": "mock-ro-projects\"],\n\t\t\t\t\tt...
test/UnitTests/coffee/Project/ProjectGetterTests.coffee
HasanSanli/web-sharelatex
0
sinon = require('sinon') chai = require('chai') should = chai.should() expect = chai.expect modulePath = "../../../../app/js/Features/Project/ProjectGetter.js" SandboxedModule = require('sandboxed-module') ObjectId = require("mongojs").ObjectId assert = require("chai").assert describe "ProjectGetter", -> beforeEach -...
100331
sinon = require('sinon') chai = require('chai') should = chai.should() expect = chai.expect modulePath = "../../../../app/js/Features/Project/ProjectGetter.js" SandboxedModule = require('sandboxed-module') ObjectId = require("mongojs").ObjectId assert = require("chai").assert describe "ProjectGetter", -> beforeEach -...
true
sinon = require('sinon') chai = require('chai') should = chai.should() expect = chai.expect modulePath = "../../../../app/js/Features/Project/ProjectGetter.js" SandboxedModule = require('sandboxed-module') ObjectId = require("mongojs").ObjectId assert = require("chai").assert describe "ProjectGetter", -> beforeEach -...
[ { "context": "iumvioletred\", hex: \"#C71585\"},\n {name: \"midnightblue\", hex: \"#191970\"},\n {name: \"mintcream", "end": 15838, "score": 0.6679332852363586, "start": 15826, "tag": "NAME", "value": "midnightblue" }, { "context": "nightblue\", hex: \"#...
app-src/ui.coffee
hyperbotic/crowdgame-trivially-pro
0
# ================================================================================================================== class Backgrounds @pixelOverlay = "assets/bkgnds/pixel-overlay.png" # ================================================================================================================== class Device...
163978
# ================================================================================================================== class Backgrounds @pixelOverlay = "assets/bkgnds/pixel-overlay.png" # ================================================================================================================== class Device...
true
# ================================================================================================================== class Backgrounds @pixelOverlay = "assets/bkgnds/pixel-overlay.png" # ================================================================================================================== class Device...
[ { "context": "(c) <%= grunt.template.today(\"yyyy\") %>\n * Evan Solomon; Licensed MIT\n */\n\n \"\"\"\n\n conca", "end": 699, "score": 0.9998725652694702, "start": 687, "tag": "NAME", "value": "Evan Solomon" } ]
Gruntfile.coffee
evansolomon/IsValid.org
11
module.exports = ( grunt ) -> grunt.loadNpmTasks 'grunt-contrib-coffee' grunt.loadNpmTasks 'grunt-contrib-concat' grunt.loadNpmTasks 'grunt-contrib-uglify' grunt.loadNpmTasks 'grunt-contrib-cssmin' grunt.loadNpmTasks 'grunt-text-replace' grunt.loadNpmTasks 'grunt-contrib-handlebars' grunt.loadNpmTasks 'g...
221112
module.exports = ( grunt ) -> grunt.loadNpmTasks 'grunt-contrib-coffee' grunt.loadNpmTasks 'grunt-contrib-concat' grunt.loadNpmTasks 'grunt-contrib-uglify' grunt.loadNpmTasks 'grunt-contrib-cssmin' grunt.loadNpmTasks 'grunt-text-replace' grunt.loadNpmTasks 'grunt-contrib-handlebars' grunt.loadNpmTasks 'g...
true
module.exports = ( grunt ) -> grunt.loadNpmTasks 'grunt-contrib-coffee' grunt.loadNpmTasks 'grunt-contrib-concat' grunt.loadNpmTasks 'grunt-contrib-uglify' grunt.loadNpmTasks 'grunt-contrib-cssmin' grunt.loadNpmTasks 'grunt-text-replace' grunt.loadNpmTasks 'grunt-contrib-handlebars' grunt.loadNpmTasks 'g...
[ { "context": "request:\n url: \"http://api.wherever.com/user/dyoder\"\n method: \"GET\"\n headers:\n \"Acce", "end": 2030, "score": 0.9826809763908386, "start": 2024, "tag": "USERNAME", "value": "dyoder" }, { "context": "or real base64\n \"Authorization\"...
test/classifier_test.coffee
patchboard/patchboard
38
assert = require("assert") Testify = require "testify" Service = require "../src/server/service" {augment_request} = require("../src/server/util") {api, partial_equal} = require("./helpers") {type, resources, mappings} = api service = new Service api, url: "http://api.wherever.com" validate: false log: de...
215428
assert = require("assert") Testify = require "testify" Service = require "../src/server/service" {augment_request} = require("../src/server/util") {api, partial_equal} = require("./helpers") {type, resources, mappings} = api service = new Service api, url: "http://api.wherever.com" validate: false log: de...
true
assert = require("assert") Testify = require "testify" Service = require "../src/server/service" {augment_request} = require("../src/server/util") {api, partial_equal} = require("./helpers") {type, resources, mappings} = api service = new Service api, url: "http://api.wherever.com" validate: false log: de...
[ { "context": "onnect/utils.js\nuid = (len = 16) ->\n keyspace = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\"\n key = \"\"\n\n while len-- > 0\n key += keyspac", "end": 233, "score": 0.9996911287307739, "start": 171, "tag": "KEY", "value": "ABCDEFGHIJKLMNOPQRSTUVWX...
lib/plunker/index.coffee
ggoodman/stsh
5
mime = require("mime") validator = require("./validate") Cromag = require("cromag") _ = require("underscore")._ # From connect/utils.js uid = (len = 16) -> keyspace = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" key = "" while len-- > 0 key += keyspace.charAt(Math.floor(Math.random() * k...
160909
mime = require("mime") validator = require("./validate") Cromag = require("cromag") _ = require("underscore")._ # From connect/utils.js uid = (len = 16) -> keyspace = "<KEY>" key = "" while len-- > 0 key += keyspace.charAt(Math.floor(Math.random() * keyspace.length)) key class Creater constructor: (@s...
true
mime = require("mime") validator = require("./validate") Cromag = require("cromag") _ = require("underscore")._ # From connect/utils.js uid = (len = 16) -> keyspace = "PI:KEY:<KEY>END_PI" key = "" while len-- > 0 key += keyspace.charAt(Math.floor(Math.random() * keyspace.length)) key class Creater con...
[ { "context": "0, line.indexOf('='))\n key = key.replace(/^tile\\./, 'block.')\n key = key.replace(/\\.name$/, '", "end": 699, "score": 0.7929039597511292, "start": 692, "tag": "KEY", "value": "tile\\./" }, { "context": "e(/^tile\\./, 'block.')\n key = key.replace...
lib/format.coffee
Snownee/m-trans
7
module.exports = class MTransFormatter parse: (str, return_error = false) -> try return JSON.parse(str) catch error console.error error if return_error return error else return false format: (jsonData = "") -> if (typeof jsonData) is 'string' jsonData = @pa...
7838
module.exports = class MTransFormatter parse: (str, return_error = false) -> try return JSON.parse(str) catch error console.error error if return_error return error else return false format: (jsonData = "") -> if (typeof jsonData) is 'string' jsonData = @pa...
true
module.exports = class MTransFormatter parse: (str, return_error = false) -> try return JSON.parse(str) catch error console.error error if return_error return error else return false format: (jsonData = "") -> if (typeof jsonData) is 'string' jsonData = @pa...
[ { "context": "ginControls: (name, plugin) ->\n settingsKey = \"minimap.plugins.#{name}\"\n @config.plugins.properties[name] =\n type", "end": 2850, "score": 0.9984642863273621, "start": 2826, "tag": "KEY", "value": "minimap.plugins.#{name}\"" } ]
packages/minimap/lib/mixins/plugin-management.coffee
mrkwse/.atom
0
Mixin = require 'mixto' {CompositeDisposable} = require 'event-kit' # Public: Provides methods to manage minimap plugins. # # Minimap plugins are Atom packages that will augment the minimap. # They have a secondary activation cycle going on constrained by the minimap # package activation. A minimap plugin life cycle w...
162257
Mixin = require 'mixto' {CompositeDisposable} = require 'event-kit' # Public: Provides methods to manage minimap plugins. # # Minimap plugins are Atom packages that will augment the minimap. # They have a secondary activation cycle going on constrained by the minimap # package activation. A minimap plugin life cycle w...
true
Mixin = require 'mixto' {CompositeDisposable} = require 'event-kit' # Public: Provides methods to manage minimap plugins. # # Minimap plugins are Atom packages that will augment the minimap. # They have a secondary activation cycle going on constrained by the minimap # package activation. A minimap plugin life cycle w...
[ { "context": "\"\"\n state: \"\"\n zip: \"\"\n\n name:\n first: \"John\"\n middle: \"\"\n last: \"Doe\"\n\n last_modified:", "end": 354, "score": 0.9998517036437988, "start": 350, "tag": "NAME", "value": "John" }, { "context": "name:\n first: \"John\"\n middle:...
test/mock_data/students.coffee
Clever/clever-js
10
module.exports = [ district: "51a5a56312ec00cc5100007e" dob: "12/12/1998" frl_status: "Paid" gender: "M" grade: "9" hispanic_ethnicity: "N" race: "" school: "51a5a56d4867bbdf51053bed" sis_id: "1" state_id: "2237504" student_number: "24772" location: address: "" city: "" state: "" ...
150386
module.exports = [ district: "51a5a56312ec00cc5100007e" dob: "12/12/1998" frl_status: "Paid" gender: "M" grade: "9" hispanic_ethnicity: "N" race: "" school: "51a5a56d4867bbdf51053bed" sis_id: "1" state_id: "2237504" student_number: "24772" location: address: "" city: "" state: "" ...
true
module.exports = [ district: "51a5a56312ec00cc5100007e" dob: "12/12/1998" frl_status: "Paid" gender: "M" grade: "9" hispanic_ethnicity: "N" race: "" school: "51a5a56d4867bbdf51053bed" sis_id: "1" state_id: "2237504" student_number: "24772" location: address: "" city: "" state: "" ...
[ { "context": "post \"/homecontroller/timer/create\",\n name: name\n duration: seconds\n alarm_0s: \"true", "end": 732, "score": 0.9974126219749451, "start": 728, "tag": "NAME", "value": "name" } ]
homedisplay/info_timers/static/js/custom_timers.coffee
ojarva/home-info-display
1
CustomTimer = (options) -> options = options or {} duration_elem = jq options.duration_elem modal_elem = jq options.modal_elem time_spec = "h_s": 0 "h_l": 3 "m_s": 3 "m_l": 2 "s_s": 5 "s_l": 2 clearLabels = -> jq(".custom-timer-labels").children().remove() jq(".timed-custom-ti...
176197
CustomTimer = (options) -> options = options or {} duration_elem = jq options.duration_elem modal_elem = jq options.modal_elem time_spec = "h_s": 0 "h_l": 3 "m_s": 3 "m_l": 2 "s_s": 5 "s_l": 2 clearLabels = -> jq(".custom-timer-labels").children().remove() jq(".timed-custom-ti...
true
CustomTimer = (options) -> options = options or {} duration_elem = jq options.duration_elem modal_elem = jq options.modal_elem time_spec = "h_s": 0 "h_l": 3 "m_s": 3 "m_l": 2 "s_s": 5 "s_l": 2 clearLabels = -> jq(".custom-timer-labels").children().remove() jq(".timed-custom-ti...
[ { "context": " apply(create, {type: 'Patient',resource: {name: \"Ivan\"}})\n assert.equal(res.method, \"POST\")\n asse", "end": 947, "score": 0.9995504021644592, "start": 943, "tag": "NAME", "value": "Ivan" }, { "context": ".send, true)\n assert.equal(res.data, '{\"name\":\"...
test/operationSpec.coffee
a-mroz/fhir.js
349
subj = require('../src/middlewares/core') url = require('../src/middlewares/url') assert = require('assert') Middleware = subj.Middleware; Path = url.Path; Method = subj.Method; Attribute = subj.Attribute; $$Attr = subj.$$Attr; p = (x)-> console.log(x) id = (x)-> x apply = (p,args)-> p.end(id)(args) describe "Middle...
216598
subj = require('../src/middlewares/core') url = require('../src/middlewares/url') assert = require('assert') Middleware = subj.Middleware; Path = url.Path; Method = subj.Method; Attribute = subj.Attribute; $$Attr = subj.$$Attr; p = (x)-> console.log(x) id = (x)-> x apply = (p,args)-> p.end(id)(args) describe "Middle...
true
subj = require('../src/middlewares/core') url = require('../src/middlewares/url') assert = require('assert') Middleware = subj.Middleware; Path = url.Path; Method = subj.Method; Attribute = subj.Attribute; $$Attr = subj.$$Attr; p = (x)-> console.log(x) id = (x)-> x apply = (p,args)-> p.end(id)(args) describe "Middle...
[ { "context": "nfig =\n url: 'https://s3.amazonaws.com/roysfunfun/ghostbuster_ringtone.mp3'\n content", "end": 281, "score": 0.6215982437133789, "start": 279, "tag": "USERNAME", "value": "ys" }, { "context": "=\n url: 'https://s3.amazonaws.com/roysfunfun/gho...
examples/default_media_receiver_example/init.coffee
chrisjpowers/chromecast-away
1
castAway = new CastAway() castAway.on 'receivers:available', -> console.log 'receivers available, safe to request a session' $('.music .cast').click (ev) -> castAway.requestSession success: (session) -> config = url: 'https://s3.amazonaws.com/roysfunfun/ghostbuster_ringtone.mp3' ...
79577
castAway = new CastAway() castAway.on 'receivers:available', -> console.log 'receivers available, safe to request a session' $('.music .cast').click (ev) -> castAway.requestSession success: (session) -> config = url: 'https://s3.amazonaws.com/roysfunfun/ghostbuster_ringtone.mp3' ...
true
castAway = new CastAway() castAway.on 'receivers:available', -> console.log 'receivers available, safe to request a session' $('.music .cast').click (ev) -> castAway.requestSession success: (session) -> config = url: 'https://s3.amazonaws.com/roysfunfun/ghostbuster_ringtone.mp3' ...
[ { "context": "describe 'ProjectCreationHandler', ->\n\townerId = '4eecb1c1bffa66588e0000a1'\n\tprojectName = 'project name goes here'\n\tproject", "end": 400, "score": 0.8578922152519226, "start": 376, "tag": "KEY", "value": "4eecb1c1bffa66588e0000a1" }, { "context": "non.stub().call...
test/UnitTests/coffee/Project/ProjectCreationHandlerTests.coffee
ukasiu/web-sharelatex
0
spies = require('chai-spies') chai = require('chai').use(spies) sinon = require("sinon") should = chai.should() modulePath = "../../../../app/js/Features/Project/ProjectCreationHandler.js" SandboxedModule = require('sandboxed-module') Settings = require('settings-sharelatex') Path = require "path" _ = require("undersco...
89394
spies = require('chai-spies') chai = require('chai').use(spies) sinon = require("sinon") should = chai.should() modulePath = "../../../../app/js/Features/Project/ProjectCreationHandler.js" SandboxedModule = require('sandboxed-module') Settings = require('settings-sharelatex') Path = require "path" _ = require("undersco...
true
spies = require('chai-spies') chai = require('chai').use(spies) sinon = require("sinon") should = chai.should() modulePath = "../../../../app/js/Features/Project/ProjectCreationHandler.js" SandboxedModule = require('sandboxed-module') Settings = require('settings-sharelatex') Path = require "path" _ = require("undersco...
[ { "context": "s:\n# None\n#\n# Commands:\n# None\n#\n# Author:\n# Dennis Newel <dennis.newel@gmail.com>\n#\n\nbender_quotes = [\n ", "end": 144, "score": 0.999890148639679, "start": 132, "tag": "NAME", "value": "Dennis Newel" }, { "context": " Commands:\n# None\n#\n# Author...
src/hubot-bender-quotes.coffee
dennisnewel/hubot-bender-quotes
0
# Description: # Reply with a random Bender quote when told off # # Dependencies: # None # # Commands: # None # # Author: # Dennis Newel <dennis.newel@gmail.com> # bender_quotes = [ 'Bite my shiny metal ass!', 'Kill all humans', 'Shut up baby, I know it', 'This is the worst kind of discriminati...
175401
# Description: # Reply with a random Bender quote when told off # # Dependencies: # None # # Commands: # None # # Author: # <NAME> <<EMAIL>> # bender_quotes = [ 'Bite my shiny metal ass!', 'Kill all humans', 'Shut up baby, I know it', 'This is the worst kind of discrimination there is: the kind...
true
# Description: # Reply with a random Bender quote when told off # # Dependencies: # None # # Commands: # None # # Author: # PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> # bender_quotes = [ 'Bite my shiny metal ass!', 'Kill all humans', 'Shut up baby, I know it', 'This is the worst kind of disc...
[ { "context": "ire of 'sys' module.\n\n# Github: http://github.com/ncr/node.ws.js\n# Compatible with node v0.1.91\n# Autho", "end": 197, "score": 0.9986229538917542, "start": 194, "tag": "USERNAME", "value": "ncr" }, { "context": "ode.ws.js\n# Compatible with node v0.1.91\n# Author: J...
src/prelude/ws.coffee
autotelicum/Smooth-CoffeeScript
66
# *WebSocket Draft 75/76 implementation.* # Straight port to CoffeeScript. # No intentional changes to style or substance. # Removed unused require of 'sys' module. # Github: http://github.com/ncr/node.ws.js # Compatible with node v0.1.91 # Author: Jacek Becela # Contributors: # Michael Stillwell http://github.com/...
177829
# *WebSocket Draft 75/76 implementation.* # Straight port to CoffeeScript. # No intentional changes to style or substance. # Removed unused require of 'sys' module. # Github: http://github.com/ncr/node.ws.js # Compatible with node v0.1.91 # Author: <NAME> # Contributors: # <NAME> http://github.com/ithinkihaveacat #...
true
# *WebSocket Draft 75/76 implementation.* # Straight port to CoffeeScript. # No intentional changes to style or substance. # Removed unused require of 'sys' module. # Github: http://github.com/ncr/node.ws.js # Compatible with node v0.1.91 # Author: PI:NAME:<NAME>END_PI # Contributors: # PI:NAME:<NAME>END_PI http://...
[ { "context": "way to massage camels into snakes...\n key = 'rotate-x' if key is 'rotateX'\n key = 'rotate-y' if ke", "end": 228, "score": 0.9649062156677246, "start": 220, "tag": "KEY", "value": "rotate-x" }, { "context": " into snakes...\n key = 'rotate-x' if key is '...
js/impress-bonus.coffee
zeke/impress.js
1
# Attach the class to window for global accessibility class window.Step constructor: (@id, @properties={}) -> for key,value of @properties # A ghetto way to massage camels into snakes... key = 'rotate-x' if key is 'rotateX' key = 'rotate-y' if key is 'rotateY' key = 'rotate-z' if k...
192989
# Attach the class to window for global accessibility class window.Step constructor: (@id, @properties={}) -> for key,value of @properties # A ghetto way to massage camels into snakes... key = '<KEY>' if key is '<KEY>' key = '<KEY>' if key is '<KEY>' key = '<KEY>' if key is '<KEY>'...
true
# Attach the class to window for global accessibility class window.Step constructor: (@id, @properties={}) -> for key,value of @properties # A ghetto way to massage camels into snakes... key = 'PI:KEY:<KEY>END_PI' if key is 'PI:KEY:<KEY>END_PI' key = 'PI:KEY:<KEY>END_PI' if key is 'PI:KE...
[ { "context": "tics'\nanalytics = new GoogleAnalytics\n account: 'UA-1224199-57'\n domain: 'www.penguinwatch.org'\n", "end": 1632, "score": 0.9986834526062012, "start": 1619, "tag": "KEY", "value": "UA-1224199-57" } ]
overrides.coffee
zooniverse/penguinwatch
0
FieldGuide = require 'zooniverse-readymade/lib/field-guide' FieldGuide::template = (examples) -> " <div class='readymade-field-guide-tabs'> #{(" <button id='fg-tab-#{i}' name='readymade-field-guide-tab'>#{page.label}</button> " for page, i in examples).join '\n'} </div> <div class='read...
5647
FieldGuide = require 'zooniverse-readymade/lib/field-guide' FieldGuide::template = (examples) -> " <div class='readymade-field-guide-tabs'> #{(" <button id='fg-tab-#{i}' name='readymade-field-guide-tab'>#{page.label}</button> " for page, i in examples).join '\n'} </div> <div class='read...
true
FieldGuide = require 'zooniverse-readymade/lib/field-guide' FieldGuide::template = (examples) -> " <div class='readymade-field-guide-tabs'> #{(" <button id='fg-tab-#{i}' name='readymade-field-guide-tab'>#{page.label}</button> " for page, i in examples).join '\n'} </div> <div class='read...