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": "'foo', \"Data foo in key\"\n\n el.data('key', {fizz: 1, buzz: 2})\n assert.deepEqual el.data('key'), {fizz:",
"end": 697,
"score": 0.9527223110198975,
"start": 681,
"tag": "KEY",
"value": "fizz: 1, buzz: 2"
},
{
"context": "z: 2})\n assert.deepEqual... | test/data.spec.coffee | ryejs/rye | 50 |
suite 'Data', ->
test 'storage data', ->
e = {}
assert.equal data.get(e, 'key'), undefined, "No initial data"
data.set(e, 'key', 'foo')
assert.equal data.get(e, 'key'), 'foo', "Data foo in key"
data.set(e, 'key', 'bar')
assert.equal data.get(e, 'key'), 'bar', "Da... | 109213 |
suite 'Data', ->
test 'storage data', ->
e = {}
assert.equal data.get(e, 'key'), undefined, "No initial data"
data.set(e, 'key', 'foo')
assert.equal data.get(e, 'key'), 'foo', "Data foo in key"
data.set(e, 'key', 'bar')
assert.equal data.get(e, 'key'), 'bar', "Da... | true |
suite 'Data', ->
test 'storage data', ->
e = {}
assert.equal data.get(e, 'key'), undefined, "No initial data"
data.set(e, 'key', 'foo')
assert.equal data.get(e, 'key'), 'foo', "Data foo in key"
data.set(e, 'key', 'bar')
assert.equal data.get(e, 'key'), 'bar', "Da... |
[
{
"context": "pts = extendOpts(opts, @metric.labelNames)\n\t\tkey = optsKey(opts)\n\t\t@instances.set(key, { time: new Date(), o",
"end": 2160,
"score": 0.9466886520385742,
"start": 2153,
"tag": "KEY",
"value": "optsKey"
},
{
"context": "endOpts(opts, @metric.labelNames)\n\t\tkey = o... | prom_wrapper.coffee | j-licht/metrics-module | 0 | prom = require('prom-client')
registry = require('prom-client').register
metrics = new Map()
optsKey = (opts) ->
keys = Object.keys(opts)
return '' if keys.length == 0
keys = keys.sort()
hash = '';
for key in keys
hash += "," if hash.length
hash += "#{key}:#{opts[key]}"
return hash
extendOpts = (opts, l... | 35116 | prom = require('prom-client')
registry = require('prom-client').register
metrics = new Map()
optsKey = (opts) ->
keys = Object.keys(opts)
return '' if keys.length == 0
keys = keys.sort()
hash = '';
for key in keys
hash += "," if hash.length
hash += "#{key}:#{opts[key]}"
return hash
extendOpts = (opts, l... | true | prom = require('prom-client')
registry = require('prom-client').register
metrics = new Map()
optsKey = (opts) ->
keys = Object.keys(opts)
return '' if keys.length == 0
keys = keys.sort()
hash = '';
for key in keys
hash += "," if hash.length
hash += "#{key}:#{opts[key]}"
return hash
extendOpts = (opts, l... |
[
{
"context": "###\n* @author Andrew D.Laptev <a.d.laptev@gmail.com>\n###\n\n###global describe, b",
"end": 29,
"score": 0.9998876452445984,
"start": 14,
"tag": "NAME",
"value": "Andrew D.Laptev"
},
{
"context": "###\n* @author Andrew D.Laptev <a.d.laptev@gmail.com>\n###\n\n###global ... | test/test.getObject.coffee | agsh/boobst | 16 | ###
* @author Andrew D.Laptev <a.d.laptev@gmail.com>
###
###global describe, beforeEach, afterEach, it###
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^testObject';
describe 'getObject', () ->
this.timeout 1000
bs = new BoobstSocket(require './test.config')... | 206478 | ###
* @author <NAME> <<EMAIL>>
###
###global describe, beforeEach, afterEach, it###
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^testObject';
describe 'getObject', () ->
this.timeout 1000
bs = new BoobstSocket(require './test.config')
#bs.on('debug', co... | true | ###
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
###global describe, beforeEach, afterEach, it###
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^testObject';
describe 'getObject', () ->
this.timeout 1000
bs = new BoobstSocket(require './test.c... |
[
{
"context": "@ds.ApiHero.createCollection 'People', (d = name:'Jimmy', \"age\":20), (e, col)=>\n col.insert d, =>\n ",
"end": 1821,
"score": 0.9995180368423462,
"start": 1816,
"tag": "NAME",
"value": "Jimmy"
}
] | test/server/node_modules/loopback-connector-apihero-mongodb/test/mongodb.coffee | vancarney/apihero-module-socket.io | 0 | {_} = require 'lodash'
{should,expect} = require './_init'
Customer = null
describe 'mongodb connector', ->
before =>
should()
@ds = getDataSource()
it 'should connect', (done)=>
@ds.connector.connect done
it 'should have the API Hero Mixin Defined', =>
expect( @ds.ApiHer... | 142996 | {_} = require 'lodash'
{should,expect} = require './_init'
Customer = null
describe 'mongodb connector', ->
before =>
should()
@ds = getDataSource()
it 'should connect', (done)=>
@ds.connector.connect done
it 'should have the API Hero Mixin Defined', =>
expect( @ds.ApiHer... | true | {_} = require 'lodash'
{should,expect} = require './_init'
Customer = null
describe 'mongodb connector', ->
before =>
should()
@ds = getDataSource()
it 'should connect', (done)=>
@ds.connector.connect done
it 'should have the API Hero Mixin Defined', =>
expect( @ds.ApiHer... |
[
{
"context": "null\ndeliverStub = null\n\nbefore () ->\n apiKey = \"71ab53572c7b45316fb894d446f2e11d\"\n Bugsnag.register apiKey, notifyReleaseStages: ",
"end": 237,
"score": 0.9997579455375671,
"start": 205,
"tag": "KEY",
"value": "71ab53572c7b45316fb894d446f2e11d"
}
] | test/error.coffee | wennergr2/bugsnag-node | 0 | path = require("path")
should = require("chai").should()
sinon = require("sinon")
Bugsnag = require "../"
BugsnagError = require "../lib/error"
apiKey = null
deliverStub = null
before () ->
apiKey = "71ab53572c7b45316fb894d446f2e11d"
Bugsnag.register apiKey, notifyReleaseStages: ["production", "development"]
be... | 135620 | path = require("path")
should = require("chai").should()
sinon = require("sinon")
Bugsnag = require "../"
BugsnagError = require "../lib/error"
apiKey = null
deliverStub = null
before () ->
apiKey = "<KEY>"
Bugsnag.register apiKey, notifyReleaseStages: ["production", "development"]
beforeEach ->
Bugsnag.confi... | true | path = require("path")
should = require("chai").should()
sinon = require("sinon")
Bugsnag = require "../"
BugsnagError = require "../lib/error"
apiKey = null
deliverStub = null
before () ->
apiKey = "PI:KEY:<KEY>END_PI"
Bugsnag.register apiKey, notifyReleaseStages: ["production", "development"]
beforeEach ->
... |
[
{
"context": "issions.allowRead and @userId)\n\n# \t\t\t\t\tif key is 'cfs.files.filerecord'\n# \t\t\t\t\t\tcreateQuery.query['metadata.space'] = sp",
"end": 10025,
"score": 0.9969121217727661,
"start": 10005,
"tag": "KEY",
"value": "cfs.files.filerecord"
},
{
"context": "\treadable_... | creator/packages/steedos-odata/server/odata.coffee | yicone/steedos-platform | 42 | Meteor.startup ->
MeteorODataRouter = require('@steedos/core').MeteorODataRouter;
ODataRouter = require('@steedos/core').ODataRouter
express = require('express');
app = express();
app.use('/api/odata/v4', MeteorODataRouter);
MeteorODataAPIV4Router = require('@steedos/core').MeteorODataAPIV4Router;
if MeteorOData... | 72683 | Meteor.startup ->
MeteorODataRouter = require('@steedos/core').MeteorODataRouter;
ODataRouter = require('@steedos/core').ODataRouter
express = require('express');
app = express();
app.use('/api/odata/v4', MeteorODataRouter);
MeteorODataAPIV4Router = require('@steedos/core').MeteorODataAPIV4Router;
if MeteorOData... | true | Meteor.startup ->
MeteorODataRouter = require('@steedos/core').MeteorODataRouter;
ODataRouter = require('@steedos/core').ODataRouter
express = require('express');
app = express();
app.use('/api/odata/v4', MeteorODataRouter);
MeteorODataAPIV4Router = require('@steedos/core').MeteorODataAPIV4Router;
if MeteorOData... |
[
{
"context": " Info : http://bit.ly/LsODY8\n\t* Copyright (c) 2013 Stephen Braitsch\n*\n###\n\nexpress = require('express')\nhttp = requir",
"end": 108,
"score": 0.999860942363739,
"start": 92,
"tag": "NAME",
"value": "Stephen Braitsch"
}
] | app.coffee | VirsixInc/serverSide | 0 | ###*
* Node.js Login Boilerplate
* More Info : http://bit.ly/LsODY8
* Copyright (c) 2013 Stephen Braitsch
*
###
express = require('express')
http = require('http')
bodyParser = require('body-parser')
multer = require('multer')
app = express()
app.configure ->
app.set 'port', 8000
app.set 'views', __dirname + '/... | 160001 | ###*
* Node.js Login Boilerplate
* More Info : http://bit.ly/LsODY8
* Copyright (c) 2013 <NAME>
*
###
express = require('express')
http = require('http')
bodyParser = require('body-parser')
multer = require('multer')
app = express()
app.configure ->
app.set 'port', 8000
app.set 'views', __dirname + '/app/views'... | true | ###*
* Node.js Login Boilerplate
* More Info : http://bit.ly/LsODY8
* Copyright (c) 2013 PI:NAME:<NAME>END_PI
*
###
express = require('express')
http = require('http')
bodyParser = require('body-parser')
multer = require('multer')
app = express()
app.configure ->
app.set 'port', 8000
app.set 'views', __dirname ... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998850226402283,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\n#= require new... | source/javascripts/new_src/loaders/collada/morph.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/collada/source
#= require new_src/loaders/collada/input
class Morph
constructor: (loader) ->
@method = null
@source = null
@targets = null
@weights = null
... | 113851 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
#= require new_src/loaders/collada/source
#= require new_src/loaders/collada/input
class Morph
constructor: (loader) ->
@method = null
@source = null
@targets = null
@weights = null
@loader = load... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/collada/source
#= require new_src/loaders/collada/input
class Morph
constructor: (loader) ->
@method = null
@source = null
@targets = null
@weights... |
[
{
"context": "ut:\n# -\n\n'scopeName': 'source.juniper'\n'name': 'Juniper'\n'fileTypes': [\n 'jun'\n]\n'patterns': [\n {\n '",
"end": 121,
"score": 0.646151602268219,
"start": 114,
"tag": "NAME",
"value": "Juniper"
}
] | grammars/juniper.cson | calebh/language-juniper | 1 | # If this is your first time writing a language grammar, check out:
# -
'scopeName': 'source.juniper'
'name': 'Juniper'
'fileTypes': [
'jun'
]
'patterns': [
{
'include': '#line-comments'
}
{
'include': '#comments'
}
{
'include': '#inlinecpp'
}
{
'include': '#module'
}
{
'inclu... | 16285 | # If this is your first time writing a language grammar, check out:
# -
'scopeName': 'source.juniper'
'name': '<NAME>'
'fileTypes': [
'jun'
]
'patterns': [
{
'include': '#line-comments'
}
{
'include': '#comments'
}
{
'include': '#inlinecpp'
}
{
'include': '#module'
}
{
'includ... | true | # If this is your first time writing a language grammar, check out:
# -
'scopeName': 'source.juniper'
'name': 'PI:NAME:<NAME>END_PI'
'fileTypes': [
'jun'
]
'patterns': [
{
'include': '#line-comments'
}
{
'include': '#comments'
}
{
'include': '#inlinecpp'
}
{
'include': '#module'
}
... |
[
{
"context": "###\n grunt-breakshots\n https://github.com/EightMedia/grunt-breakshots\n\n Copyright (c) 2013 J. Tangeld",
"end": 54,
"score": 0.9989984035491943,
"start": 44,
"tag": "USERNAME",
"value": "EightMedia"
},
{
"context": "/EightMedia/grunt-breakshots\n\n Copyright (c) ... | tasks/breakshots.coffee | EightMedia/grunt-breakshots | 2 | ###
grunt-breakshots
https://github.com/EightMedia/grunt-breakshots
Copyright (c) 2013 J. Tangelder
Licensed under the MIT license.
###
path = require 'path'
jade = require 'jade'
fs = require 'fs'
module.exports = (grunt)->
# Please see the Grunt documentation for more information regarding task
# cr... | 155376 | ###
grunt-breakshots
https://github.com/EightMedia/grunt-breakshots
Copyright (c) 2013 <NAME>
Licensed under the MIT license.
###
path = require 'path'
jade = require 'jade'
fs = require 'fs'
module.exports = (grunt)->
# Please see the Grunt documentation for more information regarding task
# creation... | true | ###
grunt-breakshots
https://github.com/EightMedia/grunt-breakshots
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
path = require 'path'
jade = require 'jade'
fs = require 'fs'
module.exports = (grunt)->
# Please see the Grunt documentation for more information regarding tas... |
[
{
"context": "###\n# grunt-svg2storeicons\n# https://github.com/PEM/grunt-svg2storeicons\n#\n# Copyright (c) 2013 Pierr",
"end": 51,
"score": 0.9780550599098206,
"start": 48,
"tag": "USERNAME",
"value": "PEM"
},
{
"context": "om/PEM/grunt-svg2storeicons\n#\n# Copyright (c) 2013 Pierr... | Gruntfile.coffee | gruntjs-updater/grunt-svg2storeicons | 0 | ###
# grunt-svg2storeicons
# https://github.com/PEM/grunt-svg2storeicons
#
# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)
# Licensed under the MIT license.
###
'use strict'
module.exports = (grunt) ->
# Load all tasks plugins declared in package.json
((require 'matchdep').filterDev ... | 26254 | ###
# grunt-svg2storeicons
# https://github.com/PEM/grunt-svg2storeicons
#
# Copyright (c) 2013 <NAME> (PEM-- <<EMAIL>>)
# Licensed under the MIT license.
###
'use strict'
module.exports = (grunt) ->
# Load all tasks plugins declared in package.json
((require 'matchdep').filterDev 'grunt-*').forEach grunt.loadNp... | true | ###
# grunt-svg2storeicons
# https://github.com/PEM/grunt-svg2storeicons
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI (PEM-- <PI:EMAIL:<EMAIL>END_PI>)
# Licensed under the MIT license.
###
'use strict'
module.exports = (grunt) ->
# Load all tasks plugins declared in package.json
((require 'matchdep').filterDev 'g... |
[
{
"context": "g of Scheme expression to JS/Coffee array\r\n#\r\n# by Dmitry Soshnikov <dmitry.soshnikov@gmail.com>\r\n# (C) MIT Style Lic",
"end": 79,
"score": 0.9998531341552734,
"start": 63,
"tag": "NAME",
"value": "Dmitry Soshnikov"
},
{
"context": "ion to JS/Coffee array\r\n#\r\n... | parse.coffee | DmitrySoshnikov/scheme-on-coffee | 7 | # Pre-parsing of Scheme expression to JS/Coffee array
#
# by Dmitry Soshnikov <dmitry.soshnikov@gmail.com>
# (C) MIT Style License
#
window.parse = (exp) ->
exp = exp
.replace(/;.*$/gm, "") # strip comments
.replace(/^\s+|\s+$/g, "") # and trailing whitespaces
return [exp] if isVariable(exp) ... | 160138 | # Pre-parsing of Scheme expression to JS/Coffee array
#
# by <NAME> <<EMAIL>>
# (C) MIT Style License
#
window.parse = (exp) ->
exp = exp
.replace(/;.*$/gm, "") # strip comments
.replace(/^\s+|\s+$/g, "") # and trailing whitespaces
return [exp] if isVariable(exp) or exp is ''
exp = exp
... | true | # Pre-parsing of Scheme expression to JS/Coffee array
#
# by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# (C) MIT Style License
#
window.parse = (exp) ->
exp = exp
.replace(/;.*$/gm, "") # strip comments
.replace(/^\s+|\s+$/g, "") # and trailing whitespaces
return [exp] if isVariable(exp) ... |
[
{
"context": "##\n# MIT License\n#\n# Copyright (c) 2016 Jérôme Quéré <contact@jeromequere.com>\n#\n# Permission is hereb",
"end": 52,
"score": 0.9998103976249695,
"start": 40,
"tag": "NAME",
"value": "Jérôme Quéré"
},
{
"context": " MIT License\n#\n# Copyright (c) 2016 Jérôme Quéré ... | src/services/GitlabProvider.coffee | jerome-quere/la-metric-gitlab | 1 | ##
# MIT License
#
# Copyright (c) 2016 Jérôme Quéré <contact@jeromequere.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
#... | 190060 | ##
# MIT License
#
# Copyright (c) 2016 <NAME> <<EMAIL>>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify,... | true | ##
# MIT License
#
# Copyright (c) 2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the r... |
[
{
"context": "->\n parts= _.getKeyParts keypath\n key= parts.pop()\n container= if parts.length \n _.getKe",
"end": 1781,
"score": 0.859412431716919,
"start": 1778,
"tag": "KEY",
"value": "pop"
}
] | src/tools.coffee | elucidata/ogre.js | 1 | changeEvent= require './change-event'
module.exports= _=
extend: require('lodash-node/compat/objects/assign')
clone: require('lodash-node/compat/objects/clone')
compact: require('lodash-node/compat/arrays/compact')
isPlainObject: require('lodash-node/compat/objects/isPlainObject')
isEqual: require('lodash-no... | 40482 | changeEvent= require './change-event'
module.exports= _=
extend: require('lodash-node/compat/objects/assign')
clone: require('lodash-node/compat/objects/clone')
compact: require('lodash-node/compat/arrays/compact')
isPlainObject: require('lodash-node/compat/objects/isPlainObject')
isEqual: require('lodash-no... | true | changeEvent= require './change-event'
module.exports= _=
extend: require('lodash-node/compat/objects/assign')
clone: require('lodash-node/compat/objects/clone')
compact: require('lodash-node/compat/arrays/compact')
isPlainObject: require('lodash-node/compat/objects/isPlainObject')
isEqual: require('lodash-no... |
[
{
"context": "ovides pagination service.\n * @function\n * @author İsmail Demirbilek\n###\nangular.module 'esef.frontend.pagination', []",
"end": 198,
"score": 0.999891996383667,
"start": 181,
"tag": "NAME",
"value": "İsmail Demirbilek"
}
] | src/pagination/coffee/app.coffee | egemsoft/esef-frontend | 0 | 'use strict'
###*
* @ngdoc overview
* @name esef.frontend.pagination
* @description
* Pagination module for esef-frontend. Provides pagination service.
* @function
* @author İsmail Demirbilek
###
angular.module 'esef.frontend.pagination', [] | 32550 | 'use strict'
###*
* @ngdoc overview
* @name esef.frontend.pagination
* @description
* Pagination module for esef-frontend. Provides pagination service.
* @function
* @author <NAME>
###
angular.module 'esef.frontend.pagination', [] | true | 'use strict'
###*
* @ngdoc overview
* @name esef.frontend.pagination
* @description
* Pagination module for esef-frontend. Provides pagination service.
* @function
* @author PI:NAME:<NAME>END_PI
###
angular.module 'esef.frontend.pagination', [] |
[
{
"context": "in all models if one changes\", ->\n testName = \"Teemu Testi\"\n scope.repo.activeModel.team.members[0].name ",
"end": 860,
"score": 0.9974983334541321,
"start": 849,
"tag": "NAME",
"value": "Teemu Testi"
}
] | app/coffee/controllerSpec.coffee | mathewsk/cypress-example-piechopper | 17 | describe 'AppCtrl', ->
scope = null
ctrl = null
beforeEach ->
module('piechopper')
inject ($controller, $rootScope) ->
scope = $rootScope.$new()
ctrl = $controller('AppCtrl', $scope: scope)
it "should have specific active model at the start", ->
expect(scope.repo.activeModel).not.toB... | 195943 | describe 'AppCtrl', ->
scope = null
ctrl = null
beforeEach ->
module('piechopper')
inject ($controller, $rootScope) ->
scope = $rootScope.$new()
ctrl = $controller('AppCtrl', $scope: scope)
it "should have specific active model at the start", ->
expect(scope.repo.activeModel).not.toB... | true | describe 'AppCtrl', ->
scope = null
ctrl = null
beforeEach ->
module('piechopper')
inject ($controller, $rootScope) ->
scope = $rootScope.$new()
ctrl = $controller('AppCtrl', $scope: scope)
it "should have specific active model at the start", ->
expect(scope.repo.activeModel).not.toB... |
[
{
"context": "'t be blank\"] }\n \n user.set \"firstName\", \"Joe\"\n \n assert.deepEqual user.validate(), tru",
"end": 497,
"score": 0.9995446801185608,
"start": 494,
"tag": "NAME",
"value": "Joe"
}
] | test/cases/model/validationTest.coffee | ludicast/tower | 1 | require '../../config'
scope = null
criteria = null
user = null
describeWith = (store) ->
describe "Tower.Model.Validation (Tower.Store.#{store.constructor.name})", ->
beforeEach (done) ->
App.User.store(store)
user = new App.User(id: 1)
done()
it 'should be invalid',... | 66379 | require '../../config'
scope = null
criteria = null
user = null
describeWith = (store) ->
describe "Tower.Model.Validation (Tower.Store.#{store.constructor.name})", ->
beforeEach (done) ->
App.User.store(store)
user = new App.User(id: 1)
done()
it 'should be invalid',... | true | require '../../config'
scope = null
criteria = null
user = null
describeWith = (store) ->
describe "Tower.Model.Validation (Tower.Store.#{store.constructor.name})", ->
beforeEach (done) ->
App.User.store(store)
user = new App.User(id: 1)
done()
it 'should be invalid',... |
[
{
"context": "==============\n\nmodule.exports = \n firstName: \"Baptiste\"\n lastName: \"Vannesson\"\n",
"end": 141,
"score": 0.9997859001159668,
"start": 133,
"tag": "NAME",
"value": "Baptiste"
},
{
"context": "ports = \n firstName: \"Baptiste\"\n lastName: \"Vannesson\... | GoF/idiomatic/Creational/Singleton/CoffeeScript/API/me.coffee | irynaO/JavaScript-Design-Patterns | 293 | 'use strict'
# ==============================
# SINGLETON: "ME"
# ==============================
module.exports =
firstName: "Baptiste"
lastName: "Vannesson"
| 201021 | 'use strict'
# ==============================
# SINGLETON: "ME"
# ==============================
module.exports =
firstName: "<NAME>"
lastName: "<NAME>"
| true | 'use strict'
# ==============================
# SINGLETON: "ME"
# ==============================
module.exports =
firstName: "PI:NAME:<NAME>END_PI"
lastName: "PI:NAME:<NAME>END_PI"
|
[
{
"context": ": false\n 'public-key': null\n 'pusher-key': '79ae88bd931ea68464d9'\n 'cdn-base': 'http://www.ucarecdn.com'\n 'u",
"end": 708,
"score": 0.9996377229690552,
"start": 688,
"tag": "KEY",
"value": "79ae88bd931ea68464d9"
}
] | app/assets/javascripts/uploadcare/settings.js.coffee | uniiverse/uploadcare-widget | 0 | {
expose
namespace,
utils,
jQuery: $
} = uploadcare
namespace 'uploadcare.settings', (ns) ->
defaults =
# developer hooks
'live': true
'manual-start': false
'locale': null
'locale-pluralize': null
'locale-translations': null
# widget settings
'system-dialog': false
'crop'... | 123322 | {
expose
namespace,
utils,
jQuery: $
} = uploadcare
namespace 'uploadcare.settings', (ns) ->
defaults =
# developer hooks
'live': true
'manual-start': false
'locale': null
'locale-pluralize': null
'locale-translations': null
# widget settings
'system-dialog': false
'crop'... | true | {
expose
namespace,
utils,
jQuery: $
} = uploadcare
namespace 'uploadcare.settings', (ns) ->
defaults =
# developer hooks
'live': true
'manual-start': false
'locale': null
'locale-pluralize': null
'locale-translations': null
# widget settings
'system-dialog': false
'crop'... |
[
{
"context": "the 789 should have the diff property with value hoff\"\n test.ok anotherBucket.getById(\"456\")?, \"th",
"end": 8299,
"score": 0.9217618703842163,
"start": 8296,
"tag": "NAME",
"value": "off"
},
{
"context": "st.expect 5\n @myBucket.set {id: \"4711\", name: \"t... | test/test.coffee | KONDENSATOR/bucket-node | 1 | bucket = require "../index.js"
exports.testBucket_group1 = {
setUp : (callback) ->
bucket.initSingletonBucket "./test.db", (instance) =>
if instance?
@myBucket = instance
@myBucket.set {id: "123", fluff: "fluff", diff: "diff1"}
@myBucket.set {id: "456", fluff: "fluff", diff: "diff2... | 174779 | bucket = require "../index.js"
exports.testBucket_group1 = {
setUp : (callback) ->
bucket.initSingletonBucket "./test.db", (instance) =>
if instance?
@myBucket = instance
@myBucket.set {id: "123", fluff: "fluff", diff: "diff1"}
@myBucket.set {id: "456", fluff: "fluff", diff: "diff2... | true | bucket = require "../index.js"
exports.testBucket_group1 = {
setUp : (callback) ->
bucket.initSingletonBucket "./test.db", (instance) =>
if instance?
@myBucket = instance
@myBucket.set {id: "123", fluff: "fluff", diff: "diff1"}
@myBucket.set {id: "456", fluff: "fluff", diff: "diff2... |
[
{
"context": "g \"called redrawToIframe\"\n \n key = '1n3uci3ucTqJOA1nIDO90ihfPPJkpM6JQRSdwZdLN6aQ'\n dat = document.getElementById(\"location\"",
"end": 8246,
"score": 0.999776303768158,
"start": 8202,
"tag": "KEY",
"value": "1n3uci3ucTqJOA1nIDO90ihfPPJkpM6JQRSdwZdLN6aQ... | app/assets/javascripts/gmapapi.coffee | cloudhc/hello-play | 0 | # ________ ________ ________ ___ _______ _______
# |\ __ \|\ __ \|\ __ \ |\ \ |\ ___ \ |\ ___ \
# \ \ \|\ /\ \ \|\ \ \ \|\ /_ \ \ \ \ \ __/|\ \ __/|
# \ \ __ \ \ \\\ \ \ __ \ \ \ \ \ \ \_|/_\ \ \_|/__
# \ \ \|\ \ \ \... | 72574 | # ________ ________ ________ ___ _______ _______
# |\ __ \|\ __ \|\ __ \ |\ \ |\ ___ \ |\ ___ \
# \ \ \|\ /\ \ \|\ \ \ \|\ /_ \ \ \ \ \ __/|\ \ __/|
# \ \ __ \ \ \\\ \ \ __ \ \ \ \ \ \ \_|/_\ \ \_|/__
# \ \ \|\ \ \ \... | true | # ________ ________ ________ ___ _______ _______
# |\ __ \|\ __ \|\ __ \ |\ \ |\ ___ \ |\ ___ \
# \ \ \|\ /\ \ \|\ \ \ \|\ /_ \ \ \ \ \ __/|\ \ __/|
# \ \ __ \ \ \\\ \ \ __ \ \ \ \ \ \ \_|/_\ \ \_|/__
# \ \ \|\ \ \ \... |
[
{
"context": "entID': '1646621778998777'\n # 'clientSecret': '491d294a0b463f3dac5658ec962650c2'\n 'clientID': '1646621778998777'\n 'clientSe",
"end": 169,
"score": 0.9995924234390259,
"start": 137,
"tag": "KEY",
"value": "491d294a0b463f3dac5658ec962650c2"
},
{
"context": "li... | src/config/auth.coffee | tonymuu/koalie-backend | 0 | module.exports =
'facebookAuth':
######## prod credentials ###########
# 'clientID': '1646621778998777'
# 'clientSecret': '491d294a0b463f3dac5658ec962650c2'
'clientID': '1646621778998777'
'clientSecret': '491d294a0b463f3dac5658ec962650c2'
'callbackURL': 'http://localhost:3000/auth/facebook/cal... | 225866 | module.exports =
'facebookAuth':
######## prod credentials ###########
# 'clientID': '1646621778998777'
# 'clientSecret': '<KEY>'
'clientID': '1646621778998777'
'clientSecret': '<KEY>'
'callbackURL': 'http://localhost:3000/auth/facebook/callback'
| true | module.exports =
'facebookAuth':
######## prod credentials ###########
# 'clientID': '1646621778998777'
# 'clientSecret': 'PI:KEY:<KEY>END_PI'
'clientID': '1646621778998777'
'clientSecret': 'PI:KEY:<KEY>END_PI'
'callbackURL': 'http://localhost:3000/auth/facebook/callback'
|
[
{
"context": "s\n # altersql.push ' '\n\n {\n name: fkName,\n column,\n referenced_table,\n ",
"end": 9085,
"score": 0.9865169525146484,
"start": 9083,
"tag": "NAME",
"value": "fk"
},
{
"context": " # altersql.push ' '\n\n {\n name: fkN... | src/schema/SchemaCompiler.coffee | smbape/node-dblayer | 0 | _ = require 'lodash'
module.exports = class SchemaCompiler
constructor: (options = {})->
columnCompiler = this.columnCompiler = new this.ColumnCompiler options
this.indent = options.indent or ' '
this.LF = options.LF or '\n'
this.delimiter = options.delimiter or ';'
for... | 42511 | _ = require 'lodash'
module.exports = class SchemaCompiler
constructor: (options = {})->
columnCompiler = this.columnCompiler = new this.ColumnCompiler options
this.indent = options.indent or ' '
this.LF = options.LF or '\n'
this.delimiter = options.delimiter or ';'
for... | true | _ = require 'lodash'
module.exports = class SchemaCompiler
constructor: (options = {})->
columnCompiler = this.columnCompiler = new this.ColumnCompiler options
this.indent = options.indent or ' '
this.LF = options.LF or '\n'
this.delimiter = options.delimiter or ';'
for... |
[
{
"context": "##############################################\n#\n# Markus 1/23/2017\n#\n#####################################",
"end": 75,
"score": 0.9987417459487915,
"start": 69,
"tag": "NAME",
"value": "Markus"
}
] | server/methods/permissions.coffee | agottschalk10/worklearn | 0 | ################################################################
#
# Markus 1/23/2017
#
################################################################
################################################################
Meteor.methods
add_db_permission: (role, collection_name, field) ->
user = Meteor.user()
if !use... | 208222 | ################################################################
#
# <NAME> 1/23/2017
#
################################################################
################################################################
Meteor.methods
add_db_permission: (role, collection_name, field) ->
user = Meteor.user()
if !use... | true | ################################################################
#
# PI:NAME:<NAME>END_PI 1/23/2017
#
################################################################
################################################################
Meteor.methods
add_db_permission: (role, collection_name, field) ->
user = Meteor.us... |
[
{
"context": " @\n\n set: (id, data, callback) ->\n key = @_key(id)\n data = JSON.stringify(data)\n # de",
"end": 524,
"score": 0.8217121958732605,
"start": 519,
"tag": "KEY",
"value": "@_key"
},
{
"context": " set: (id, data, callback) ->\n key = @_key(id... | record/connectors/memcached.coffee | printercu/costa | 1 | # debug = require('debug') 'record:connector:memcached'
module.exports =
class Memcached extends require('coffee_classkit').Module
@extendsWithProto().concern()
@include require './redis'
class @ClassMethods
nextId: (callback) ->
key = @_keySeq 'id'
@kv.incr key, 1, (err, value) =>
retu... | 15487 | # debug = require('debug') 'record:connector:memcached'
module.exports =
class Memcached extends require('coffee_classkit').Module
@extendsWithProto().concern()
@include require './redis'
class @ClassMethods
nextId: (callback) ->
key = @_keySeq 'id'
@kv.incr key, 1, (err, value) =>
retu... | true | # debug = require('debug') 'record:connector:memcached'
module.exports =
class Memcached extends require('coffee_classkit').Module
@extendsWithProto().concern()
@include require './redis'
class @ClassMethods
nextId: (callback) ->
key = @_keySeq 'id'
@kv.incr key, 1, (err, value) =>
retu... |
[
{
"context": "card_types = [\n {\n name: 'amex'\n pattern: /^3[47]/\n valid_length: [ 15 ]\n",
"end": 33,
"score": 0.5452522039413452,
"start": 30,
"tag": "NAME",
"value": "ame"
},
{
"context": "-9])/\n valid_length: [ 16 ]\n }\n {\n name: 'laser'\n pattern: /^(6... | templates/conekta.js-0.6.0/src/card.js.coffee | josmrhyde/Base | 0 | card_types = [
{
name: 'amex'
pattern: /^3[47]/
valid_length: [ 15 ]
}
{
name: 'diners_club_carte_blanche'
pattern: /^30[0-5]/
valid_length: [ 14 ]
}
{
name: 'diners_club_international'
pattern: /^36/
valid_length: [ 14 ]
}
{
name: 'jcb'
pattern: /^35(2[89]|[3-8... | 103634 | card_types = [
{
name: '<NAME>x'
pattern: /^3[47]/
valid_length: [ 15 ]
}
{
name: 'diners_club_carte_blanche'
pattern: /^30[0-5]/
valid_length: [ 14 ]
}
{
name: 'diners_club_international'
pattern: /^36/
valid_length: [ 14 ]
}
{
name: 'jcb'
pattern: /^35(2[89]|[... | true | card_types = [
{
name: 'PI:NAME:<NAME>END_PIx'
pattern: /^3[47]/
valid_length: [ 15 ]
}
{
name: 'diners_club_carte_blanche'
pattern: /^30[0-5]/
valid_length: [ 14 ]
}
{
name: 'diners_club_international'
pattern: /^36/
valid_length: [ 14 ]
}
{
name: 'jcb'
pattern... |
[
{
"context": "m'\n\tauth = process.env.HUBOT_CODEBASE_APIAUTH || 'jollyscience/jollyscience:3kqo5bdat3uln2bnv90mvvti1stuonjg99bn",
"end": 1219,
"score": 0.9229260087013245,
"start": 1207,
"tag": "PASSWORD",
"value": "jollyscience"
},
{
"context": "e\", { context: \"codebase\", source... | src/codebase.coffee | jollyscience/josi-access | 1 | # Description:
# Codebase Stuff
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot report codebase users - 'These are the users I know about...'
# hubot report codebase activity - 'Here are the latest 20 updates.'
# hubot report codebase projects - 'These are all of the projects I can fin... | 218053 | # Description:
# Codebase Stuff
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot report codebase users - 'These are the users I know about...'
# hubot report codebase activity - 'Here are the latest 20 updates.'
# hubot report codebase projects - 'These are all of the projects I can fin... | true | # Description:
# Codebase Stuff
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot report codebase users - 'These are the users I know about...'
# hubot report codebase activity - 'Here are the latest 20 updates.'
# hubot report codebase projects - 'These are all of the projects I can fin... |
[
{
"context": " attribute = new RogueGirl.Attribute('user', 'Peter')\n\n expect(attribute.name).to.eql('user')\n ",
"end": 183,
"score": 0.993537187576294,
"start": 178,
"tag": "NAME",
"value": "Peter"
},
{
"context": "l('user')\n expect(attribute.value()).to.eql('Peter... | spec/rogue_girl/attribute_spec.coffee | smolnar/rogue-girl | 0 | #= require spec_helper
describe 'RogueGirl.Attribute', ->
describe '#build', ->
it 'builds an attribute with value', ->
attribute = new RogueGirl.Attribute('user', 'Peter')
expect(attribute.name).to.eql('user')
expect(attribute.value()).to.eql('Peter')
attributes = {}
attribute.b... | 188552 | #= require spec_helper
describe 'RogueGirl.Attribute', ->
describe '#build', ->
it 'builds an attribute with value', ->
attribute = new RogueGirl.Attribute('user', '<NAME>')
expect(attribute.name).to.eql('user')
expect(attribute.value()).to.eql('<NAME>')
attributes = {}
attribute... | true | #= require spec_helper
describe 'RogueGirl.Attribute', ->
describe '#build', ->
it 'builds an attribute with value', ->
attribute = new RogueGirl.Attribute('user', 'PI:NAME:<NAME>END_PI')
expect(attribute.name).to.eql('user')
expect(attribute.value()).to.eql('PI:NAME:<NAME>END_PI')
attr... |
[
{
"context": "ew for OLD source objects, i.e,. texts such\n # as Uhlenbeck (1917). The only modification of the base class i",
"end": 253,
"score": 0.994125485420227,
"start": 244,
"tag": "NAME",
"value": "Uhlenbeck"
},
{
"context": " # options by author (in citation form, e.g., ... | app/scripts/views/source-select-field.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'./select-field'
'./../utils/bibtex'
], (SelectFieldView, BibTeXUtils) ->
# Source Select(menu) Field View
# ------------------------------
#
# A specialized SelectFieldView for OLD source objects, i.e,. texts such
# as Uhlenbeck (1917). The only modification of the base class is that a
# `sel... | 205288 | define [
'./select-field'
'./../utils/bibtex'
], (SelectFieldView, BibTeXUtils) ->
# Source Select(menu) Field View
# ------------------------------
#
# A specialized SelectFieldView for OLD source objects, i.e,. texts such
# as <NAME> (1917). The only modification of the base class is that a
# `select... | true | define [
'./select-field'
'./../utils/bibtex'
], (SelectFieldView, BibTeXUtils) ->
# Source Select(menu) Field View
# ------------------------------
#
# A specialized SelectFieldView for OLD source objects, i.e,. texts such
# as PI:NAME:<NAME>END_PI (1917). The only modification of the base class is that... |
[
{
"context": "inarySearchTree cmp\n tree.insert c,c for c in \"márton\"\n expect(trace).to.eql [\n \"á>m\"\n \"r>",
"end": 862,
"score": 0.8938320279121399,
"start": 856,
"tag": "NAME",
"value": "márton"
},
{
"context": "SearchTree cmp\n tree.insert c,i for c, i ... | spec/binary-search-tree-spec.coffee | ldegen/geometry | 0 | describe "The Binary Search Tree", ->
BinarySearchTree = require "../src/binary-search-tree"
shortNode = (key)->(left=null,right=null)->[key,left,right]
[m,ä,á,é,r,t,o,n] = (shortNode c for c in "mäáérton")
_t = (k,v,l,r)->
key:k
value:v
left:l
right:r
trace = undefined
beforeEach ->
tr... | 131180 | describe "The Binary Search Tree", ->
BinarySearchTree = require "../src/binary-search-tree"
shortNode = (key)->(left=null,right=null)->[key,left,right]
[m,ä,á,é,r,t,o,n] = (shortNode c for c in "mäáérton")
_t = (k,v,l,r)->
key:k
value:v
left:l
right:r
trace = undefined
beforeEach ->
tr... | true | describe "The Binary Search Tree", ->
BinarySearchTree = require "../src/binary-search-tree"
shortNode = (key)->(left=null,right=null)->[key,left,right]
[m,ä,á,é,r,t,o,n] = (shortNode c for c in "mäáérton")
_t = (k,v,l,r)->
key:k
value:v
left:l
right:r
trace = undefined
beforeEach ->
tr... |
[
{
"context": "els/LevelSession'\n\ntestPost =\n data:\n email: 'scott@codecombat.com'\n id: '12345678'\n merges:\n INTERESTS: ",
"end": 331,
"score": 0.9999215602874756,
"start": 311,
"tag": "EMAIL",
"value": "scott@codecombat.com"
},
{
"context": ", Diplomats, Ambassa... | spec/server/functional/mail.spec.coffee | kbespalyi/codecombat | 1 | require '../common'
utils = require '../utils'
mail = require '../../../server/routes/mail'
sendwithus = require '../../../server/sendwithus'
User = require '../../../server/models/User'
request = require '../request'
LevelSession = require '../../../server/models/LevelSession'
testPost =
data:
email: 'scott@cod... | 60530 | require '../common'
utils = require '../utils'
mail = require '../../../server/routes/mail'
sendwithus = require '../../../server/sendwithus'
User = require '../../../server/models/User'
request = require '../request'
LevelSession = require '../../../server/models/LevelSession'
testPost =
data:
email: '<EMAIL>'
... | true | require '../common'
utils = require '../utils'
mail = require '../../../server/routes/mail'
sendwithus = require '../../../server/sendwithus'
User = require '../../../server/models/User'
request = require '../request'
LevelSession = require '../../../server/models/LevelSession'
testPost =
data:
email: 'PI:EMAIL:... |
[
{
"context": "(user) ->\n return '' unless user?\n u =\n name: user.name\n email: user.email\n token: user.token\n",
"end": 72,
"score": 0.5428692102432251,
"start": 68,
"tag": "NAME",
"value": "user"
},
{
"context": ") ->\n return '' unless user?\n u =\n name: user.n... | server/http/auth/createAuthScript.coffee | stevelacy/portal | 0 | module.exports = (user) ->
return '' unless user?
u =
name: user.name
email: user.email
token: user.token
image: user.image
online: user.online
return u
| 149107 | module.exports = (user) ->
return '' unless user?
u =
name: <NAME>.name
email: user.email
token: user.token
image: user.image
online: user.online
return u
| true | module.exports = (user) ->
return '' unless user?
u =
name: PI:NAME:<NAME>END_PI.name
email: user.email
token: user.token
image: user.image
online: user.online
return u
|
[
{
"context": "lInNewTab\", url}\n\n copyCurrentUrl: ->\n # TODO(ilya): When the following bug is fixed, revisit this a",
"end": 14963,
"score": 0.8946846127510071,
"start": 14959,
"tag": "NAME",
"value": "ilya"
}
] | content_scripts/vimium_frontend.coffee | iscriptology/edge-vimium | 21 | #
# This content script must be run prior to domReady so that we perform some operations very early.
#
chrome = browser
isEnabledForUrl = true
isIncognitoMode = false
try
if not window.indexedDB
isIncognitoMode = true
catch error
isIncognitoMode = true
normalMode = null
# We track whther the current window... | 181227 | #
# This content script must be run prior to domReady so that we perform some operations very early.
#
chrome = browser
isEnabledForUrl = true
isIncognitoMode = false
try
if not window.indexedDB
isIncognitoMode = true
catch error
isIncognitoMode = true
normalMode = null
# We track whther the current window... | true | #
# This content script must be run prior to domReady so that we perform some operations very early.
#
chrome = browser
isEnabledForUrl = true
isIncognitoMode = false
try
if not window.indexedDB
isIncognitoMode = true
catch error
isIncognitoMode = true
normalMode = null
# We track whther the current window... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999158978462219,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/loading-overlay.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.
overlay = document.getElementsByClassName 'js-loading-overlay'
show = ->
return if overlay.length == 0
overlay[0].classList.add 'loading-o... | 14392 | # 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.
overlay = document.getElementsByClassName 'js-loading-overlay'
show = ->
return if overlay.length == 0
overlay[0].classList.add 'loading-overlay-... | 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.
overlay = document.getElementsByClassName 'js-loading-overlay'
show = ->
return if overlay.length == 0
overlay[0].classList.add 'l... |
[
{
"context": "###\n@Author: Kristinita\n@Date: 2018-03-20 10:35:20\n@Last Modified time:",
"end": 23,
"score": 0.9998233914375305,
"start": 13,
"tag": "NAME",
"value": "Kristinita"
},
{
"context": "#####\n# JQuery carousel and/or slideshow\n# http://kenwheeler.github.io/slick/\n$(d... | themes/sashapelican/static/coffee/Slick/slick.coffee | Kristinita/KristinitaPelicanCI | 0 | ###
@Author: Kristinita
@Date: 2018-03-20 10:35:20
@Last Modified time: 2018-03-21 09:49:03
###
#########
# Slick #
#########
# JQuery carousel and/or slideshow
# http://kenwheeler.github.io/slick/
$(document).ready ->
$('.slider').slick
###
[NOTE] If “ondemand”, need wrap each image in <div>:
https://github.c... | 71175 | ###
@Author: <NAME>
@Date: 2018-03-20 10:35:20
@Last Modified time: 2018-03-21 09:49:03
###
#########
# Slick #
#########
# JQuery carousel and/or slideshow
# http://kenwheeler.github.io/slick/
$(document).ready ->
$('.slider').slick
###
[NOTE] If “ondemand”, need wrap each image in <div>:
https://github.com/k... | true | ###
@Author: PI:NAME:<NAME>END_PI
@Date: 2018-03-20 10:35:20
@Last Modified time: 2018-03-21 09:49:03
###
#########
# Slick #
#########
# JQuery carousel and/or slideshow
# http://kenwheeler.github.io/slick/
$(document).ready ->
$('.slider').slick
###
[NOTE] If “ondemand”, need wrap each image in <div>:
https:... |
[
{
"context": "cord[attr] ? \"null\"\n flatKey = key.join String.fromCharCode(0)\n if not tot",
"end": 691,
"score": 0.6604684591293335,
"start": 687,
"tag": "KEY",
"value": "join"
},
{
"context": "ll\"\n flatKey = key.join String.fromCharC... | subtotal.coffee | Sakuto/subtotal | 50 | callWithJQuery = (pivotModule) ->
if typeof exports is "object" and typeof module is "object" # CommonJS
pivotModule require("jquery")
else if typeof define is "function" and define.amd # AMD
define ["jquery"], pivotModule
# Plain browser env
else
pivotModule jQuery
callWithJQue... | 207518 | callWithJQuery = (pivotModule) ->
if typeof exports is "object" and typeof module is "object" # CommonJS
pivotModule require("jquery")
else if typeof define is "function" and define.amd # AMD
define ["jquery"], pivotModule
# Plain browser env
else
pivotModule jQuery
callWithJQue... | true | callWithJQuery = (pivotModule) ->
if typeof exports is "object" and typeof module is "object" # CommonJS
pivotModule require("jquery")
else if typeof define is "function" and define.amd # AMD
define ["jquery"], pivotModule
# Plain browser env
else
pivotModule jQuery
callWithJQue... |
[
{
"context": "30749edcd0a554bd94e301c651\",\n \"authorName\": \"Bee Wilkerson\",\n \"relativeDate\": \"6 days ago\",\n \"auth",
"end": 370,
"score": 0.9995821714401245,
"start": 357,
"tag": "NAME",
"value": "Bee Wilkerson"
},
{
"context": "exit) ->\n format = (\"\"\"{... | atom.symlink/packages/git-time-machine/lib/git-utils.coffee | sanata-/dotenv | 0 |
{BufferedProcess} = require "atom"
_ = require('underscore-plus');
path = require "path"
fs = require "fs"
GitUtils = exports
###
returns an array of javascript objects representing the commits that effected the requested file
with line stats, that looks like this:
[{
"id": "1c41d8f647f7ad30749edcd0a55... | 55910 |
{BufferedProcess} = require "atom"
_ = require('underscore-plus');
path = require "path"
fs = require "fs"
GitUtils = exports
###
returns an array of javascript objects representing the commits that effected the requested file
with line stats, that looks like this:
[{
"id": "1c41d8f647f7ad30749edcd0a55... | true |
{BufferedProcess} = require "atom"
_ = require('underscore-plus');
path = require "path"
fs = require "fs"
GitUtils = exports
###
returns an array of javascript objects representing the commits that effected the requested file
with line stats, that looks like this:
[{
"id": "1c41d8f647f7ad30749edcd0a55... |
[
{
"context": "\n# 紀錄登入資訊的 Model\n $scope.loginInfo =\n email: \"Alice@meigic.tw\"\n password: \"Alice0000\"\n rememberMe: false\n",
"end": 241,
"score": 0.9999293088912964,
"start": 226,
"tag": "EMAIL",
"value": "Alice@meigic.tw"
},
{
"context": "nfo =\n email: \"Alice@m... | app/assets/javascripts/view_controllers.coffee | hackboard/hackboard | 5 | controllers = angular.module 'hackboardControllers', []
# Login, Register Controller
controllers.controller 'UserCtrl', ['$scope', 'User', '$window', ($scope, User, $window)->
# 紀錄登入資訊的 Model
$scope.loginInfo =
email: "Alice@meigic.tw"
password: "Alice0000"
rememberMe: false
hasError: false
hasWa... | 102201 | controllers = angular.module 'hackboardControllers', []
# Login, Register Controller
controllers.controller 'UserCtrl', ['$scope', 'User', '$window', ($scope, User, $window)->
# 紀錄登入資訊的 Model
$scope.loginInfo =
email: "<EMAIL>"
password: "<PASSWORD>"
rememberMe: false
hasError: false
hasWarning: ... | true | controllers = angular.module 'hackboardControllers', []
# Login, Register Controller
controllers.controller 'UserCtrl', ['$scope', 'User', '$window', ($scope, User, $window)->
# 紀錄登入資訊的 Model
$scope.loginInfo =
email: "PI:EMAIL:<EMAIL>END_PI"
password: "PI:PASSWORD:<PASSWORD>END_PI"
rememberMe: false
... |
[
{
"context": ", jqXHR) ->\n $.growl.notice({ title: '주문서 메모', message: '저장되었습니다.' })\n error: (jqXHR, tex",
"end": 3449,
"score": 0.8171762824058533,
"start": 3448,
"tag": "NAME",
"value": "모"
}
] | public/assets/coffee/order-id-purchase-payment-done.coffee | ejang/OpenCloset-Share-Web | 2 | $.fn.editable.defaults.ajaxOptions =
type: "PUT"
dataType: 'json'
$ ->
order_id = location.pathname.split('/')[2]
$.ajax "/clothes/recommend?order_id=#{order_id}",
type: 'GET'
dataType: 'json'
success: (data, textStatus, jqXHR) ->
template = JST['recommend']
html = template(data)
... | 125920 | $.fn.editable.defaults.ajaxOptions =
type: "PUT"
dataType: 'json'
$ ->
order_id = location.pathname.split('/')[2]
$.ajax "/clothes/recommend?order_id=#{order_id}",
type: 'GET'
dataType: 'json'
success: (data, textStatus, jqXHR) ->
template = JST['recommend']
html = template(data)
... | true | $.fn.editable.defaults.ajaxOptions =
type: "PUT"
dataType: 'json'
$ ->
order_id = location.pathname.split('/')[2]
$.ajax "/clothes/recommend?order_id=#{order_id}",
type: 'GET'
dataType: 'json'
success: (data, textStatus, jqXHR) ->
template = JST['recommend']
html = template(data)
... |
[
{
"context": "ion = Hippodrome.createAction\n displayName: 'test1'\n build: -> {}\n\n store = makeTempStore\n ",
"end": 2254,
"score": 0.6125511527061462,
"start": 2250,
"tag": "NAME",
"value": "test"
},
{
"context": "ion = Hippodrome.createAction\n displayName: 'te... | test/store_spec.coffee | Structural/hippodrome | 0 | Hippodrome = require('../dist/hippodrome')
_ = require('lodash')
# This is annoying, but because the Dispatcher is a single instance across all
# tests, stores created in one test still have their callbacks registered in
# subsequent tests, unless we get rid of them like this.
unregisterStore = (store) ->
_.forEach ... | 164216 | Hippodrome = require('../dist/hippodrome')
_ = require('lodash')
# This is annoying, but because the Dispatcher is a single instance across all
# tests, stores created in one test still have their callbacks registered in
# subsequent tests, unless we get rid of them like this.
unregisterStore = (store) ->
_.forEach ... | true | Hippodrome = require('../dist/hippodrome')
_ = require('lodash')
# This is annoying, but because the Dispatcher is a single instance across all
# tests, stores created in one test still have their callbacks registered in
# subsequent tests, unless we get rid of them like this.
unregisterStore = (store) ->
_.forEach ... |
[
{
"context": "b:\n# @(#)$Id: bg.coffee 543 2014-11-05 00:41:31Z knoppix $\n# @author: koolb@hotmail.com\n# @description: De",
"end": 75,
"score": 0.5638165473937988,
"start": 69,
"tag": "USERNAME",
"value": "noppix"
},
{
"context": "ffee 543 2014-11-05 00:41:31Z knoppix $\n# @author:... | src/bg.coffee | koolb/devops-ce-demo | 0 | # vim:ts=2 expandtab:
# @(#)$Id: bg.coffee 543 2014-11-05 00:41:31Z knoppix $
# @author: koolb@hotmail.com
# @description: Demo/fake sidepanel updater
# @usage: click on open items to see content and check to make it mine!
#
# @release state: alpha testing only many functions do not yet exist
#
console.log "#(@) $Id: b... | 217151 | # vim:ts=2 expandtab:
# @(#)$Id: bg.coffee 543 2014-11-05 00:41:31Z knoppix $
# @author: <EMAIL>
# @description: Demo/fake sidepanel updater
# @usage: click on open items to see content and check to make it mine!
#
# @release state: alpha testing only many functions do not yet exist
#
console.log "#(@) $Id: bg.coffee 5... | true | # vim:ts=2 expandtab:
# @(#)$Id: bg.coffee 543 2014-11-05 00:41:31Z knoppix $
# @author: PI:EMAIL:<EMAIL>END_PI
# @description: Demo/fake sidepanel updater
# @usage: click on open items to see content and check to make it mine!
#
# @release state: alpha testing only many functions do not yet exist
#
console.log "#(@) $... |
[
{
"context": "arseToken} = require('../index')(encryptionKey: '135x!')({config:{}})\n\nuserId = new Date().valueOf().to",
"end": 113,
"score": 0.8806249499320984,
"start": 110,
"tag": "KEY",
"value": "35x"
},
{
"context": "ed\nconsole.log 'decrypted', decrypted\npassword = \"monkey12... | src/test/test.coffee | ndxbxrme/rs-token | 0 | {encrypt, decrypt, hashPassword, checkHash, generateToken, parseToken} = require('../index')(encryptionKey: '135x!')({config:{}})
userId = new Date().valueOf().toString(23)
console.log 'userId', userId
encrypted = encrypt userId
console.log 'encrypted', encrypted
decrypted = decrypt encrypted
console.log 'decrypted', ... | 221264 | {encrypt, decrypt, hashPassword, checkHash, generateToken, parseToken} = require('../index')(encryptionKey: '1<KEY>!')({config:{}})
userId = new Date().valueOf().toString(23)
console.log 'userId', userId
encrypted = encrypt userId
console.log 'encrypted', encrypted
decrypted = decrypt encrypted
console.log 'decrypted'... | true | {encrypt, decrypt, hashPassword, checkHash, generateToken, parseToken} = require('../index')(encryptionKey: '1PI:KEY:<KEY>END_PI!')({config:{}})
userId = new Date().valueOf().toString(23)
console.log 'userId', userId
encrypted = encrypt userId
console.log 'encrypted', encrypted
decrypted = decrypt encrypted
console.lo... |
[
{
"context": "t> - Send <text> to <phone number>\n#\n# Author:\n# Kazuma Ieiri\n\nquerystring = require 'querystring'\nclient = req",
"end": 590,
"score": 0.9998847842216492,
"start": 578,
"tag": "NAME",
"value": "Kazuma Ieiri"
}
] | src/twilio-call.coffee | hbkr/hubot-twilio-call | 5 | # Description
# A Hubot script that calls the twilio API
#
# Dependencies:
# "querystring": "0.2.0",
# "twilio": "2.2.1"
#
# Configuration:
# HUBOT_TWILIO_FROM_PHONE_NUMBER (from phone number)
# HUBOT_TWILIO_ACCOUNT_SID (twilio API account SID)
# HUBOT_TWILIO_AUTH_TOKEN (twilio API auth token)
# HUBOT_TWI... | 178225 | # Description
# A Hubot script that calls the twilio API
#
# Dependencies:
# "querystring": "0.2.0",
# "twilio": "2.2.1"
#
# Configuration:
# HUBOT_TWILIO_FROM_PHONE_NUMBER (from phone number)
# HUBOT_TWILIO_ACCOUNT_SID (twilio API account SID)
# HUBOT_TWILIO_AUTH_TOKEN (twilio API auth token)
# HUBOT_TWI... | true | # Description
# A Hubot script that calls the twilio API
#
# Dependencies:
# "querystring": "0.2.0",
# "twilio": "2.2.1"
#
# Configuration:
# HUBOT_TWILIO_FROM_PHONE_NUMBER (from phone number)
# HUBOT_TWILIO_ACCOUNT_SID (twilio API account SID)
# HUBOT_TWILIO_AUTH_TOKEN (twilio API auth token)
# HUBOT_TWI... |
[
{
"context": "eep.equal {\n calvin:\n id: 'calvin'\n startTime: '2016-09-28T14:00:00Z'\n ",
"end": 1257,
"score": 0.8197587728500366,
"start": 1251,
"tag": "NAME",
"value": "calvin"
}
] | test/integration/non-recurring-today-we-are-in-it-spec.coffee | octoblu/groundhog-day-service | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
moment = require 'moment'
request = require 'request'
sinon = require 'sinon'
NON_RECURRING_TODAY_WE_ARE_IN_IT = require '../fixtures/non-recurring-today-we-are-in-it.cson'
Server = require '../../src/server'
describe 'non-recur... | 18649 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
moment = require 'moment'
request = require 'request'
sinon = require 'sinon'
NON_RECURRING_TODAY_WE_ARE_IN_IT = require '../fixtures/non-recurring-today-we-are-in-it.cson'
Server = require '../../src/server'
describe 'non-recur... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
moment = require 'moment'
request = require 'request'
sinon = require 'sinon'
NON_RECURRING_TODAY_WE_ARE_IN_IT = require '../fixtures/non-recurring-today-we-are-in-it.cson'
Server = require '../../src/server'
describe 'non-recur... |
[
{
"context": "require(\"./Framer\")\n\n# Made with Framer\n# by Pete Lada\n# www.framerjs.com\n\n# Background\nbg = new Backgro",
"end": 54,
"score": 0.9998833537101746,
"start": 45,
"tag": "NAME",
"value": "Pete Lada"
}
] | src/index.coffee | irwansyahwii/-SimpleLayer | 0 | require("./Framer")
# Made with Framer
# by Pete Lada
# www.framerjs.com
# Background
bg = new BackgroundLayer backgroundColor: "#439FD8", name:"BackgroundLayer"
# Defaults and variables
animSpeed = .25
defaultAnimCurve = "spring(250,25,5)"
smallBounce = "spring(250,25,2)"
margin = 20
noAnim =
curve: "ease"
ti... | 161402 | require("./Framer")
# Made with Framer
# by <NAME>
# www.framerjs.com
# Background
bg = new BackgroundLayer backgroundColor: "#439FD8", name:"BackgroundLayer"
# Defaults and variables
animSpeed = .25
defaultAnimCurve = "spring(250,25,5)"
smallBounce = "spring(250,25,2)"
margin = 20
noAnim =
curve: "ease"
time:... | true | require("./Framer")
# Made with Framer
# by PI:NAME:<NAME>END_PI
# www.framerjs.com
# Background
bg = new BackgroundLayer backgroundColor: "#439FD8", name:"BackgroundLayer"
# Defaults and variables
animSpeed = .25
defaultAnimCurve = "spring(250,25,5)"
smallBounce = "spring(250,25,2)"
margin = 20
noAnim =
curve: ... |
[
{
"context": "# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.outsider.ne.kr/>\n# L",
"end": 35,
"score": 0.9998775124549866,
"start": 21,
"tag": "NAME",
"value": "JeongHoon Byun"
},
{
"context": "# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.o... | test/parser/scala-parser.test.coffee | uppalapatisujitha/CodingConventionofCommitHistory | 421 | # Copyright (c) 2013 JeongHoon Byun aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
should = require 'should'
parser = require '../../src/parser/scala-parser'
describe 'scala-parser >', ->
describe 'indent >', ->
it 'check space indent #1', ... | 87313 | # Copyright (c) 2013 <NAME> aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
should = require 'should'
parser = require '../../src/parser/scala-parser'
describe 'scala-parser >', ->
describe 'indent >', ->
it 'check space indent #1', ->
... | true | # Copyright (c) 2013 PI:NAME:<NAME>END_PI aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
should = require 'should'
parser = require '../../src/parser/scala-parser'
describe 'scala-parser >', ->
describe 'indent >', ->
it 'check space indent... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998838305473328,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Vendor/Twig/Extension/TwigFunctionMethod.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
#
# TwigFunctionMethod
#
# @author Jessym Reziga <jessym@konsserto.com>
#
class TwigFun... | 97455 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
#
# TwigFunctionMethod
#
# @author <NAME> <<EMAIL>>
#
class TwigFunctionMethod
constructor:(@method) ->
... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
#
# TwigFunctionMethod
#
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_P... |
[
{
"context": "e or @district()\n shehiaUnit?.name or @shehia()\n ]\n else\n [@district()",
"end": 44474,
"score": 0.9745113253593445,
"start": 44468,
"tag": "USERNAME",
"value": "shehia"
},
{
"context": ")\n ]\n else\n [@di... | _attachments/app/models/Case.coffee | Abdillah390/matatizo | 0 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
moment = require 'moment'
Dhis2 = require './Dhis2'
CONST = require "../Constants"
humanize = require 'underscore.string/humanize'
titleize = require 'underscore.string/titleize'
PouchDB = require 'pouchdb-core'
radix64 = requir... | 222069 | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
moment = require 'moment'
Dhis2 = require './Dhis2'
CONST = require "../Constants"
humanize = require 'underscore.string/humanize'
titleize = require 'underscore.string/titleize'
PouchDB = require 'pouchdb-core'
radix64 = requir... | true | _ = require 'underscore'
$ = require 'jquery'
Backbone = require 'backbone'
Backbone.$ = $
moment = require 'moment'
Dhis2 = require './Dhis2'
CONST = require "../Constants"
humanize = require 'underscore.string/humanize'
titleize = require 'underscore.string/titleize'
PouchDB = require 'pouchdb-core'
radix64 = requir... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999120831489563,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/global-drag.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 @GlobalDrag
constructor: ->
$(document).on 'dragenter', @dragenter
$(document).on 'dragover', @dragend
dragenter: =>
# T... | 127608 | # 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 @GlobalDrag
constructor: ->
$(document).on 'dragenter', @dragenter
$(document).on 'dragover', @dragend
dragenter: =>
# The even... | 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 @GlobalDrag
constructor: ->
$(document).on 'dragenter', @dragenter
$(document).on 'dragover', @dragend
dragenter: =>... |
[
{
"context": "re modelsDir + modName\n new exports.User(email: 'ze@example.com').fetch(withRelated: ['nucleus'])\n .then (usr)",
"end": 2868,
"score": 0.9999149441719055,
"start": 2854,
"tag": "EMAIL",
"value": "ze@example.com"
}
] | src/bookrack.coffee | aurium/bookrack | 0 | fs = require 'fs'
# Main class
# Bookrack instances stores the bookshelf+knex refferences and works as a
# model store to the application.
class Bookrack
constructor: (options={})->
unless options.connection?
throw new Error "You must to define a DB connection,
or a knex object for ... | 131789 | fs = require 'fs'
# Main class
# Bookrack instances stores the bookshelf+knex refferences and works as a
# model store to the application.
class Bookrack
constructor: (options={})->
unless options.connection?
throw new Error "You must to define a DB connection,
or a knex object for ... | true | fs = require 'fs'
# Main class
# Bookrack instances stores the bookshelf+knex refferences and works as a
# model store to the application.
class Bookrack
constructor: (options={})->
unless options.connection?
throw new Error "You must to define a DB connection,
or a knex object for ... |
[
{
"context": "# \n# Bezier3d formula\n# @author David Ronai / Makiopolis.com / @Makio64 \n# \nclass Bezier3d\n\n\t",
"end": 43,
"score": 0.9998689889907837,
"start": 32,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "# \n# Bezier3d formula\n# @author David Ronai / Makiopolis.... | src/coffee/core/3d/Bezier3d.coffee | Makio64/Kyari | 0 | #
# Bezier3d formula
# @author David Ronai / Makiopolis.com / @Makio64
#
class Bezier3d
# p0 the starting point
# p1 the anchor
# p2 the ending point
@calc = (p0,p1,p2,t)->
x = Math.pow(1 - t, 2) * p0.x + 2 * t * (1 - t) * p1.x + Math.pow(t, 2) * p2.x
y = Math.pow(1 - t, 2) * p0.y + 2 * t * (1 - t) * p1.y +... | 73386 | #
# Bezier3d formula
# @author <NAME> / <EMAIL> / @Makio64
#
class Bezier3d
# p0 the starting point
# p1 the anchor
# p2 the ending point
@calc = (p0,p1,p2,t)->
x = Math.pow(1 - t, 2) * p0.x + 2 * t * (1 - t) * p1.x + Math.pow(t, 2) * p2.x
y = Math.pow(1 - t, 2) * p0.y + 2 * t * (1 - t) * p1.y + Math.pow(t,... | true | #
# Bezier3d formula
# @author PI:NAME:<NAME>END_PI / PI:EMAIL:<EMAIL>END_PI / @Makio64
#
class Bezier3d
# p0 the starting point
# p1 the anchor
# p2 the ending point
@calc = (p0,p1,p2,t)->
x = Math.pow(1 - t, 2) * p0.x + 2 * t * (1 - t) * p1.x + Math.pow(t, 2) * p2.x
y = Math.pow(1 - t, 2) * p0.y + 2 * t *... |
[
{
"context": " 'articles', {\n author_id: aid = ObjectId '4d8cd73191a5c50ce220002a'\n title: 'Hello Wurld'\n }, ->\n ",
"end": 1702,
"score": 0.8705459833145142,
"start": 1678,
"tag": "KEY",
"value": "4d8cd73191a5c50ce220002a"
},
{
"context": " fabricate 'a... | src/api/apps/articles/test/model/index/retrieval.test.coffee | artsyjian/positron | 0 | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../../../test/helpers/db'
Article = require '../../../model/index'
{ ObjectId } = require 'mongojs'
express = require 'express'
fabricateGravity = require('@artsy/antigravity').fabricate
gravity = require('@artsy/anti... | 149738 | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../../../test/helpers/db'
Article = require '../../../model/index'
{ ObjectId } = require 'mongojs'
express = require 'express'
fabricateGravity = require('@artsy/antigravity').fabricate
gravity = require('@artsy/anti... | true | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../../../test/helpers/db'
Article = require '../../../model/index'
{ ObjectId } = require 'mongojs'
express = require 'express'
fabricateGravity = require('@artsy/antigravity').fabricate
gravity = require('@artsy/anti... |
[
{
"context": "derstood\n# MUST be ignored. See Sections 3.1.3.6, 3.3.2.11, 5.1, and 7.4 for additional\n# Claims defined by ",
"end": 6410,
"score": 0.992071270942688,
"start": 6402,
"tag": "IP_ADDRESS",
"value": "3.3.2.11"
}
] | test/unit/models/idTokenSpec.coffee | LorianeE/connect | 331 | # Test dependencies
cwd = process.cwd()
path = require 'path'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
# Assertions
chai.use sinonChai
chai.should()
# Code under test
IDToken = require path.join cwd, 'models/IDToken'
J... | 9163 | # Test dependencies
cwd = process.cwd()
path = require 'path'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
# Assertions
chai.use sinonChai
chai.should()
# Code under test
IDToken = require path.join cwd, 'models/IDToken'
J... | true | # Test dependencies
cwd = process.cwd()
path = require 'path'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
# Assertions
chai.use sinonChai
chai.should()
# Code under test
IDToken = require path.join cwd, 'models/IDToken'
J... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992150664329529,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "lines to HTTP/1.0 clients.\n#\n# https://github.com/joyent/node/issues/1234\n#\n(->\n handler... | test/simple/test-http-1.0.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 137223 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "panelContrast: true\n \"circle-ci\":\n apiToken: \"CIRCLE_CI_API_TOKEN\"\n core:\n closeDeletedFileTabs",
"end": 306,
"score": 0.7431240677833557,
"start": 303,
"tag": "KEY",
"value": "CIR"
},
{
"context": " emmet: {}\n \"exception-reporting\":\n userId: \"... | init/config.cson | kuatsure/dotfiles | 2 | "*":
"advanced-new-file":
createFileInstantly: true
suggestCurrentFilePath: true
"atom-material-ui":
depth: true
fonts: {}
panelContrast: true
tabs:
compactTabs: true
treeView:
compactList: true
ui:
panelContrast: true
"circle-ci":
apiToken: "CIRCLE_CI_API_TOK... | 55435 | "*":
"advanced-new-file":
createFileInstantly: true
suggestCurrentFilePath: true
"atom-material-ui":
depth: true
fonts: {}
panelContrast: true
tabs:
compactTabs: true
treeView:
compactList: true
ui:
panelContrast: true
"circle-ci":
apiToken: "<KEY>CLE_CI_API_T... | true | "*":
"advanced-new-file":
createFileInstantly: true
suggestCurrentFilePath: true
"atom-material-ui":
depth: true
fonts: {}
panelContrast: true
tabs:
compactTabs: true
treeView:
compactList: true
ui:
panelContrast: true
"circle-ci":
apiToken: "PI:KEY:<KEY>END_P... |
[
{
"context": "vices, anywhere,\n anytime.\n '''\n,\n name: 'Blitz'\n image: 'blitz.png'\n url: 'http://blitz.io/'",
"end": 535,
"score": 0.8859333992004395,
"start": 530,
"tag": "NAME",
"value": "Blitz"
},
{
"context": "formance and\n scalability.\n '''\n,\n name: ... | models/sponsor.coffee | nko2/website | 4 | module.exports = [
name: 'Adobe'
image: 'adobe.png'
url: 'http://www.adobe.com/'
description:
'''
We help our customers create, deliver, and optimize compelling content and
applications — improving the impact of their communications, enhancing
their brands and productivity, and ultimately bri... | 156054 | module.exports = [
name: 'Adobe'
image: 'adobe.png'
url: 'http://www.adobe.com/'
description:
'''
We help our customers create, deliver, and optimize compelling content and
applications — improving the impact of their communications, enhancing
their brands and productivity, and ultimately bri... | true | module.exports = [
name: 'Adobe'
image: 'adobe.png'
url: 'http://www.adobe.com/'
description:
'''
We help our customers create, deliver, and optimize compelling content and
applications — improving the impact of their communications, enhancing
their brands and productivity, and ultimately bri... |
[
{
"context": "er.\n# https://docs.google.com/spreadsheet/ccc?key=0AlwCBXG5ae-wdGo5b3hRcnU1RDZsYlV2YVpjMWtNU0E\n\n# The order of these values must match the order",
"end": 296,
"score": 0.9996085166931152,
"start": 252,
"tag": "KEY",
"value": "0AlwCBXG5ae-wdGo5b3hRcnU1RDZsYlV2YVpjMWtNU0E"
}... | app/lib/animals.coffee | zooniverse/Serengeti | 8 | FilteringSet = require 'models/filtering_set'
Animal = require 'models/animal'
translate = require 't7e'
# The master list of animals is generated from this spreadsheet that the science team put together.
# https://docs.google.com/spreadsheet/ccc?key=0AlwCBXG5ae-wdGo5b3hRcnU1RDZsYlV2YVpjMWtNU0E
# The order of these v... | 155367 | FilteringSet = require 'models/filtering_set'
Animal = require 'models/animal'
translate = require 't7e'
# The master list of animals is generated from this spreadsheet that the science team put together.
# https://docs.google.com/spreadsheet/ccc?key=<KEY>
# The order of these values must match the order in the sprea... | true | FilteringSet = require 'models/filtering_set'
Animal = require 'models/animal'
translate = require 't7e'
# The master list of animals is generated from this spreadsheet that the science team put together.
# https://docs.google.com/spreadsheet/ccc?key=PI:KEY:<KEY>END_PI
# The order of these values must match the order... |
[
{
"context": ", '.ajax-form', ( ->\n data = user:\n \"email\": 'a@maildrop.cc'\n \"password\": 'password'\n \"remember_me\": 1\n",
"end": 361,
"score": 0.9999048709869385,
"start": 348,
"tag": "EMAIL",
"value": "a@maildrop.cc"
},
{
"context": "er:\n \"email\": 'a@maildro... | app/assets/javascripts/home.coffee | mreigen/AQ-Test | 12 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).on 'ready page:load', ->
Prism.highlightAll()
$(document).on('click', '.ajax-form', ( ->
... | 48571 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).on 'ready page:load', ->
Prism.highlightAll()
$(document).on('click', '.ajax-form', ( ->
... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).on 'ready page:load', ->
Prism.highlightAll()
$(document).on('click', '.ajax-form', ( ->
... |
[
{
"context": "scope: scope })\n expect(scope.data.name).toBe('Gulangco Plate')",
"end": 263,
"score": 0.9995566010475159,
"start": 249,
"tag": "NAME",
"value": "Gulangco Plate"
}
] | src/app/main/mainCtrl.spec.coffee | SteefTheBeef/ng-gulp | 0 | describe 'MainCtrl Test', () ->
beforeEach ->
module 'mainCtrl'
it 'should validate on true', inject ($rootScope, $controller) ->
scope = $rootScope.$new()
$controller('mainCtrl', {$scope: scope })
expect(scope.data.name).toBe('Gulangco Plate') | 201759 | describe 'MainCtrl Test', () ->
beforeEach ->
module 'mainCtrl'
it 'should validate on true', inject ($rootScope, $controller) ->
scope = $rootScope.$new()
$controller('mainCtrl', {$scope: scope })
expect(scope.data.name).toBe('<NAME>') | true | describe 'MainCtrl Test', () ->
beforeEach ->
module 'mainCtrl'
it 'should validate on true', inject ($rootScope, $controller) ->
scope = $rootScope.$new()
$controller('mainCtrl', {$scope: scope })
expect(scope.data.name).toBe('PI:NAME:<NAME>END_PI') |
[
{
"context": "amount_in_cents: 999\n\t\taccount:\n\t\t\taccount_code: \"user-123\"\n\n\n\tbeforeEach ->\n\t\t@user =\n\t\t\temail:\"tom@yahoo.c",
"end": 453,
"score": 0.8106220364570618,
"start": 445,
"tag": "KEY",
"value": "user-123"
},
{
"context": ": \"user-123\"\n\n\n\tbeforeEach... | test/unit/coffee/Subscription/SubscriptionViewModelBuilderTests.coffee | dtu-compute/web-sharelatex | 0 | SandboxedModule = require('sandboxed-module')
sinon = require 'sinon'
should = require("chai").should()
modulePath = '../../../../app/js/Features/Subscription/SubscriptionViewModelBuilder'
describe 'SubscriptionViewModelBuilder', ->
mockSubscription =
uuid: "subscription-123-active"
plan:
name: "Gold"
plan_... | 142203 | SandboxedModule = require('sandboxed-module')
sinon = require 'sinon'
should = require("chai").should()
modulePath = '../../../../app/js/Features/Subscription/SubscriptionViewModelBuilder'
describe 'SubscriptionViewModelBuilder', ->
mockSubscription =
uuid: "subscription-123-active"
plan:
name: "Gold"
plan_... | true | SandboxedModule = require('sandboxed-module')
sinon = require 'sinon'
should = require("chai").should()
modulePath = '../../../../app/js/Features/Subscription/SubscriptionViewModelBuilder'
describe 'SubscriptionViewModelBuilder', ->
mockSubscription =
uuid: "subscription-123-active"
plan:
name: "Gold"
plan_... |
[
{
"context": "\": @fullHref()\n \"author\": {\n \"name\": \"Artsy Editorial\"\n }\n \"publisher\": {\n \"name\": \"Ar",
"end": 9701,
"score": 0.9996680021286011,
"start": 9686,
"tag": "NAME",
"value": "Artsy Editorial"
},
{
"context": "al\"\n }\n ... | src/desktop/models/article.coffee | fossabot/force | 0 | _ = require 'underscore'
_s = require 'underscore.string'
Q = require 'bluebird-q'
Backbone = require 'backbone'
moment = require 'moment'
momentTimezone = require 'moment-timezone'
{ POSITRON_URL, APP_URL, ARTSY_EDITORIAL_CHANNEL } = sd = require('sharify').data
request = require 'superagent'
Artwork = require '../mod... | 153848 | _ = require 'underscore'
_s = require 'underscore.string'
Q = require 'bluebird-q'
Backbone = require 'backbone'
moment = require 'moment'
momentTimezone = require 'moment-timezone'
{ POSITRON_URL, APP_URL, ARTSY_EDITORIAL_CHANNEL } = sd = require('sharify').data
request = require 'superagent'
Artwork = require '../mod... | true | _ = require 'underscore'
_s = require 'underscore.string'
Q = require 'bluebird-q'
Backbone = require 'backbone'
moment = require 'moment'
momentTimezone = require 'moment-timezone'
{ POSITRON_URL, APP_URL, ARTSY_EDITORIAL_CHANNEL } = sd = require('sharify').data
request = require 'superagent'
Artwork = require '../mod... |
[
{
"context": "###\n X-Wing Card Browser\n Geordan Rosario <geordan@gmail.com>\n https://github.com/georda",
"end": 47,
"score": 0.9998932480812073,
"start": 32,
"tag": "NAME",
"value": "Geordan Rosario"
},
{
"context": "###\n X-Wing Card Browser\n Geordan Rosario <geor... | coffeescripts/browser.coffee | jpkelm/xwing | 0 | ###
X-Wing Card Browser
Geordan Rosario <geordan@gmail.com>
https://github.com/geordanr/xwing
###
exportObj = exports ? this
# Assumes cards.js has been loaded
TYPES = [ 'pilots', 'upgrades' ]
byName = (a, b) ->
if a.display_name
a_name = a.display_name.toLowerCase().replace(/[^a-zA-Z0-9]/g, ... | 159488 | ###
X-Wing Card Browser
<NAME> <<EMAIL>>
https://github.com/geordanr/xwing
###
exportObj = exports ? this
# Assumes cards.js has been loaded
TYPES = [ 'pilots', 'upgrades' ]
byName = (a, b) ->
if a.display_name
a_name = a.display_name.toLowerCase().replace(/[^a-zA-Z0-9]/g, '')
else
... | true | ###
X-Wing Card Browser
PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
https://github.com/geordanr/xwing
###
exportObj = exports ? this
# Assumes cards.js has been loaded
TYPES = [ 'pilots', 'upgrades' ]
byName = (a, b) ->
if a.display_name
a_name = a.display_name.toLowerCase().replace(/[^a-zA... |
[
{
"context": "#\t> File Name: db.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: W",
"end": 39,
"score": 0.9991077780723572,
"start": 37,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "#\t> File Name: db.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gma... | server/db/db.coffee | wiiliamking/miac-website | 0 | # > File Name: db.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Wednesday, November 19, 2014 PM03:58:31 CST
mongoose = require "mongoose"
UserModel = require "./models/user.coffee"
config = require '../config.coffee'
MessageModel = require './models/message.coffee'
ArticleModel = require './mod... | 41964 | # > File Name: db.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Wednesday, November 19, 2014 PM03:58:31 CST
mongoose = require "mongoose"
UserModel = require "./models/user.coffee"
config = require '../config.coffee'
MessageModel = require './models/message.coffee'
ArticleModel = require './models/article.... | true | # > File Name: db.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Wednesday, November 19, 2014 PM03:58:31 CST
mongoose = require "mongoose"
UserModel = require "./models/user.coffee"
config = require '../config.coffee'
MessageModel = require './models/message.coffee'
ArticleModel = require './... |
[
{
"context": "stenTo @collection, 'sync', @render\n @key = 'popular'\n\n remove: ->\n $('.search-result-navbar')",
"end": 312,
"score": 0.9923372268676758,
"start": 305,
"tag": "KEY",
"value": "popular"
}
] | app/assets/javascripts/backbone/views/searchresultview.js.coffee | vacaybug/vacaybug | 0 | jQuery ->
class SearchResultView extends window.Vacaybug.GenericView
template: JST["backbone/templates/search-result"]
className: 'row search-result'
events:
'click .js-guide-item': '_openModal'
initialize: (options) ->
@listenTo @collection, 'sync', @render
@key = 'popular'
r... | 197025 | jQuery ->
class SearchResultView extends window.Vacaybug.GenericView
template: JST["backbone/templates/search-result"]
className: 'row search-result'
events:
'click .js-guide-item': '_openModal'
initialize: (options) ->
@listenTo @collection, 'sync', @render
@key = '<KEY>'
rem... | true | jQuery ->
class SearchResultView extends window.Vacaybug.GenericView
template: JST["backbone/templates/search-result"]
className: 'row search-result'
events:
'click .js-guide-item': '_openModal'
initialize: (options) ->
@listenTo @collection, 'sync', @render
@key = 'PI:KEY:<KEY>END... |
[
{
"context": "ey', 0, 'key2'], [{p: ['key', 0, 'key2'], od: ['meow123'], oi: 'newobj'}])\n\n describe 'randomizer', ->\n ",
"end": 28560,
"score": 0.799922525882721,
"start": 28555,
"tag": "PASSWORD",
"value": "ow123"
}
] | test/json0.coffee | wheatco/json00 | 0 | # Tests for JSON OT type.
assert = require 'assert'
nativetype = require '../lib/json0'
fuzzer = require 'ot-fuzzer'
nativetype.registerSubtype
name: 'mock'
transform: (a, b, side) ->
return { mock: true }
# Cross-transform helper function. Transform server by client and client by
# server. Returns [server,... | 71102 | # Tests for JSON OT type.
assert = require 'assert'
nativetype = require '../lib/json0'
fuzzer = require 'ot-fuzzer'
nativetype.registerSubtype
name: 'mock'
transform: (a, b, side) ->
return { mock: true }
# Cross-transform helper function. Transform server by client and client by
# server. Returns [server,... | true | # Tests for JSON OT type.
assert = require 'assert'
nativetype = require '../lib/json0'
fuzzer = require 'ot-fuzzer'
nativetype.registerSubtype
name: 'mock'
transform: (a, b, side) ->
return { mock: true }
# Cross-transform helper function. Transform server by client and client by
# server. Returns [server,... |
[
{
"context": "# Droplet Treewalker framework.\n#\n# Copyright (c) Anthony Bau (dab1998@gmail.com)\n# MIT License\nhelper = requir",
"end": 61,
"score": 0.9998689889907837,
"start": 50,
"tag": "NAME",
"value": "Anthony Bau"
},
{
"context": "ewalker framework.\n#\n# Copyright (c) Antho... | src/treewalk.coffee | takeratta/droplet | 145 | # Droplet Treewalker framework.
#
# Copyright (c) Anthony Bau (dab1998@gmail.com)
# MIT License
helper = require './helper.coffee'
model = require './model.coffee'
parser = require './parser.coffee'
exports.createTreewalkParser = (parse, config, root) ->
class TreewalkParser extends parser.Parser
constructor: (@... | 179882 | # Droplet Treewalker framework.
#
# Copyright (c) <NAME> (<EMAIL>)
# MIT License
helper = require './helper.coffee'
model = require './model.coffee'
parser = require './parser.coffee'
exports.createTreewalkParser = (parse, config, root) ->
class TreewalkParser extends parser.Parser
constructor: (@text, @opts = {... | true | # Droplet Treewalker framework.
#
# Copyright (c) PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# MIT License
helper = require './helper.coffee'
model = require './model.coffee'
parser = require './parser.coffee'
exports.createTreewalkParser = (parse, config, root) ->
class TreewalkParser extends parser.Parser
c... |
[
{
"context": "h module 'ui.gravatar'\n element = {}\n\n email = 'sebastian.wallin@gmail.com'\n emailmd5 = '46ab5c60ced85b09c35fd31a510206ef'\n",
"end": 139,
"score": 0.999932587146759,
"start": 113,
"tag": "EMAIL",
"value": "sebastian.wallin@gmail.com"
},
{
"context": "($rootScope... | node_modules/angular-gravatar/spec/tests.coffee | timlevett/timlevett.github.io | 1 | 'use strict'
describe 'Directive: gravatarSrc', ->
beforeEach module 'ui.gravatar'
element = {}
email = 'sebastian.wallin@gmail.com'
emailmd5 = '46ab5c60ced85b09c35fd31a510206ef'
$compile = {}
gravatarService = {}
beforeEach inject (_gravatarService_, _$compile_) ->
gravatarService = _gravatarServi... | 5941 | 'use strict'
describe 'Directive: gravatarSrc', ->
beforeEach module 'ui.gravatar'
element = {}
email = '<EMAIL>'
emailmd5 = '46ab5c60ced85b09c35fd31a510206ef'
$compile = {}
gravatarService = {}
beforeEach inject (_gravatarService_, _$compile_) ->
gravatarService = _gravatarService_
$compile = ... | true | 'use strict'
describe 'Directive: gravatarSrc', ->
beforeEach module 'ui.gravatar'
element = {}
email = 'PI:EMAIL:<EMAIL>END_PI'
emailmd5 = '46ab5c60ced85b09c35fd31a510206ef'
$compile = {}
gravatarService = {}
beforeEach inject (_gravatarService_, _$compile_) ->
gravatarService = _gravatarService_
... |
[
{
"context": "# Copyright (c) 2016-2017 Bennet Carstensen\n#\n# Permission is hereby granted, free of charge,",
"end": 43,
"score": 0.9998495578765869,
"start": 26,
"tag": "NAME",
"value": "Bennet Carstensen"
}
] | spec/linter-opencl-spec.coffee | BenSolus/linter-clcc | 0 | # Copyright (c) 2016-2017 Bennet Carstensen
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publi... | 152107 | # Copyright (c) 2016-2017 <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distr... | true | # Copyright (c) 2016-2017 PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, pu... |
[
{
"context": "class CreateImage\r\n @name = \"CreateImage\"\r\n\r\n constructor: () ->\r\n # BITMAP",
"end": 38,
"score": 0.7626983523368835,
"start": 32,
"tag": "NAME",
"value": "Create"
}
] | src/CreateImg.coffee | tanaikech/CreateImg | 2 | class CreateImage
@name = "CreateImage"
constructor: () ->
# BITMAPFILEHEADER
@bfType = iniAr2f.call @
@bfSize = iniAr4f.call @
@bfReserved1 = iniAr2f.call @
@bfReserved2 = iniAr2f.call @
@bfOffBits = iniAr4f.call @
# BITMAPINFOHEADER
@... | 42287 | class CreateImage
@name = "<NAME>Image"
constructor: () ->
# BITMAPFILEHEADER
@bfType = iniAr2f.call @
@bfSize = iniAr4f.call @
@bfReserved1 = iniAr2f.call @
@bfReserved2 = iniAr2f.call @
@bfOffBits = iniAr4f.call @
# BITMAPINFOHEADER
@... | true | class CreateImage
@name = "PI:NAME:<NAME>END_PIImage"
constructor: () ->
# BITMAPFILEHEADER
@bfType = iniAr2f.call @
@bfSize = iniAr4f.call @
@bfReserved1 = iniAr2f.call @
@bfReserved2 = iniAr2f.call @
@bfOffBits = iniAr4f.call @
# BITMAPINFOHEA... |
[
{
"context": "es[\"names\"])\n expect(items).toContain({\"name\":\"Jacob\"})\n expect(items).toContain({\"name\":\"Isabella\"",
"end": 521,
"score": 0.9985795021057129,
"start": 516,
"tag": "NAME",
"value": "Jacob"
},
{
"context": "e\":\"Jacob\"})\n expect(items).toContain({... | spec/javascripts/default_callbacks.spec.coffee | GerHobbelt/At.js | 0 |
$inputor = null
app = null
describe "default callbacks", ->
callbacks = null
text = null
beforeEach ->
loadFixtures("inputors.html")
$inputor = $("#inputor").atwho at: "@", data: fixtures["names"]
app = getAppOf $inputor
beforeEach ->
text = $.trim $inputor.text()
callbacks = $.fn.atw... | 625 |
$inputor = null
app = null
describe "default callbacks", ->
callbacks = null
text = null
beforeEach ->
loadFixtures("inputors.html")
$inputor = $("#inputor").atwho at: "@", data: fixtures["names"]
app = getAppOf $inputor
beforeEach ->
text = $.trim $inputor.text()
callbacks = $.fn.atw... | true |
$inputor = null
app = null
describe "default callbacks", ->
callbacks = null
text = null
beforeEach ->
loadFixtures("inputors.html")
$inputor = $("#inputor").atwho at: "@", data: fixtures["names"]
app = getAppOf $inputor
beforeEach ->
text = $.trim $inputor.text()
callbacks = $.fn.atw... |
[
{
"context": "addTo(@map).bringToBack()\n if boundaryName is \"Shehias\"\n @$(\"#shehiaOptions\").show()\n if @sheh",
"end": 11017,
"score": 0.9914600253105164,
"start": 11010,
"tag": "NAME",
"value": "Shehias"
},
{
"context": " \"\n div\n\n legend.addTo(@map)\n... | _attachments/app/views/MapView.coffee | jongoz/coconut-analytice | 3 | _ = require "underscore"
$ = require "jquery"
Backbone = require "backbone"
Case = require '../models/Case'
DateSelectorView = require '../views/DateSelectorView'
Backbone.$ = $
require('leaflet')
global.CenterOfPolygon = require 'polylabel'
#require('leaflet.heat')
HTMLHelpers = require '../HTMLHelpers'
dasherize = re... | 108043 | _ = require "underscore"
$ = require "jquery"
Backbone = require "backbone"
Case = require '../models/Case'
DateSelectorView = require '../views/DateSelectorView'
Backbone.$ = $
require('leaflet')
global.CenterOfPolygon = require 'polylabel'
#require('leaflet.heat')
HTMLHelpers = require '../HTMLHelpers'
dasherize = re... | true | _ = require "underscore"
$ = require "jquery"
Backbone = require "backbone"
Case = require '../models/Case'
DateSelectorView = require '../views/DateSelectorView'
Backbone.$ = $
require('leaflet')
global.CenterOfPolygon = require 'polylabel'
#require('leaflet.heat')
HTMLHelpers = require '../HTMLHelpers'
dasherize = re... |
[
{
"context": "apAsync(f)(args...)\n\nclass IrcClient\n\tconstructor: (@loginReq) ->\n\t\t@user = @loginReq.user\n\t\tircClientMap[@user",
"end": 709,
"score": 0.9934280514717102,
"start": 699,
"tag": "USERNAME",
"value": "(@loginReq"
},
{
"context": ")\n\nclass IrcClient\n\tconstruct... | packages/rocketchat-irc/server/server.coffee | claysaad/Rocket.Chat | 0 | # # #
# Assign values
#
# Package availability
IRC_AVAILABILITY = RocketChat.settings.get('IRC_Enabled');
# Cache prep
net = Npm.require('net')
Lru = Npm.require('lru-cache')
MESSAGE_CACHE_SIZE = RocketChat.settings.get('IRC_Message_Cache_Size');
ircReceiveMessageCache = Lru MESSAGE_CACHE_SIZE
ircSendMessageCache = ... | 18212 | # # #
# Assign values
#
# Package availability
IRC_AVAILABILITY = RocketChat.settings.get('IRC_Enabled');
# Cache prep
net = Npm.require('net')
Lru = Npm.require('lru-cache')
MESSAGE_CACHE_SIZE = RocketChat.settings.get('IRC_Message_Cache_Size');
ircReceiveMessageCache = Lru MESSAGE_CACHE_SIZE
ircSendMessageCache = ... | true | # # #
# Assign values
#
# Package availability
IRC_AVAILABILITY = RocketChat.settings.get('IRC_Enabled');
# Cache prep
net = Npm.require('net')
Lru = Npm.require('lru-cache')
MESSAGE_CACHE_SIZE = RocketChat.settings.get('IRC_Message_Cache_Size');
ircReceiveMessageCache = Lru MESSAGE_CACHE_SIZE
ircSendMessageCache = ... |
[
{
"context": "###\n# Author: iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)\n#",
"end": 21,
"score": 0.9978118538856506,
"start": 14,
"tag": "USERNAME",
"value": "iTonyYo"
},
{
"context": "###\n# Author: iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)\n# Last Update ... | node_modules/node-find-folder/gulp/clean.for.test.coffee | long-grass/mikey | 0 | ###
# Author: iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)
# Last Update (author): iTonyYo <ceo@holaever.com> (https://github.com/iTonyYo)
###
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
del = require 'del'
ff ... | 72531 | ###
# Author: iTonyYo <<EMAIL>> (https://github.com/iTonyYo)
# Last Update (author): iTonyYo <<EMAIL>> (https://github.com/iTonyYo)
###
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
del = require 'del'
ff = require '..... | true | ###
# Author: iTonyYo <PI:EMAIL:<EMAIL>END_PI> (https://github.com/iTonyYo)
# Last Update (author): iTonyYo <PI:EMAIL:<EMAIL>END_PI> (https://github.com/iTonyYo)
###
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
del = require '... |
[
{
"context": "{username:process.env.HUBOT_JENKINS_USER,password:process.env.HUBOT_JENKINS_PASSWORD},headers:{}};\n\t\t\tif crumbv",
"end": 1878,
"score": 0.549887478351593,
"start": 1867,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "nkins-Crumb\"] = crumbvalue\n\t\t\t\t... | scripts/jenkins/scripts-hipchat/statuscheck.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | 30397 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... |
[
{
"context": "= new metrics.Timer(\"lock.#{namespace}\")\n\t\tkey = \"lock:web:#{namespace}:#{id}\"\n\t\tLockManager._getLock key, namespace, (error, lo",
"end": 1617,
"score": 0.9259598255157471,
"start": 1589,
"tag": "KEY",
"value": "lock:web:#{namespace}:#{id}\""
}
] | app/coffee/infrastructure/LockManager.coffee | shyoshyo/web-sharelatex | 1 | metrics = require('metrics-sharelatex')
Settings = require('settings-sharelatex')
RedisWrapper = require("./RedisWrapper")
rclient = RedisWrapper.client("lock")
logger = require "logger-sharelatex"
os = require "os"
crypto = require "crypto"
async = require "async"
HOST = os.hostname()
PID = process.pid
RND = crypto.r... | 176902 | metrics = require('metrics-sharelatex')
Settings = require('settings-sharelatex')
RedisWrapper = require("./RedisWrapper")
rclient = RedisWrapper.client("lock")
logger = require "logger-sharelatex"
os = require "os"
crypto = require "crypto"
async = require "async"
HOST = os.hostname()
PID = process.pid
RND = crypto.r... | true | metrics = require('metrics-sharelatex')
Settings = require('settings-sharelatex')
RedisWrapper = require("./RedisWrapper")
rclient = RedisWrapper.client("lock")
logger = require "logger-sharelatex"
os = require "os"
crypto = require "crypto"
async = require "async"
HOST = os.hostname()
PID = process.pid
RND = crypto.r... |
[
{
"context": "gramming for microcontrollers\n# Copyright (c) 2014 Jon Nordby <jononor@gmail.com>\n# MicroFlo may be freely dist",
"end": 90,
"score": 0.9997788071632385,
"start": 80,
"tag": "NAME",
"value": "Jon Nordby"
},
{
"context": "microcontrollers\n# Copyright (c) 2014 Jon Nord... | lib/serial.coffee | microflo/microflo | 136 | ### MicroFlo - Flow-Based Programming for microcontrollers
# Copyright (c) 2014 Jon Nordby <jononor@gmail.com>
# MicroFlo may be freely distributed under the MIT license
###
util = require './util'
if util.isBrowser()
# Requires Chrome APIs and permissions
if 'chrome' in window and 'serial' in window.chrome
se... | 78898 | ### MicroFlo - Flow-Based Programming for microcontrollers
# Copyright (c) 2014 <NAME> <<EMAIL>>
# MicroFlo may be freely distributed under the MIT license
###
util = require './util'
if util.isBrowser()
# Requires Chrome APIs and permissions
if 'chrome' in window and 'serial' in window.chrome
serial = window.... | true | ### MicroFlo - Flow-Based Programming for microcontrollers
# Copyright (c) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MicroFlo may be freely distributed under the MIT license
###
util = require './util'
if util.isBrowser()
# Requires Chrome APIs and permissions
if 'chrome' in window and 'serial' in windo... |
[
{
"context": "=\n brand: 'Rainbow'\n name: 'Lisa Doe' # those which uses i18n directive can not be rep",
"end": 259,
"score": 0.9998858571052551,
"start": 251,
"tag": "NAME",
"value": "Lisa Doe"
}
] | rainbow-v1.2/rainbow/client/scripts/shared/main.coffee | DigitalWant/K11 | 0 | 'use strict';
angular.module('app.controllers', [])
# overall control
.controller('AppCtrl', [
'$scope', '$rootScope'
($scope, $rootScope) ->
$window = $(window)
$scope.main =
brand: 'Rainbow'
name: 'Lisa Doe' # those which uses i18n directive can not be replaced for n... | 154537 | 'use strict';
angular.module('app.controllers', [])
# overall control
.controller('AppCtrl', [
'$scope', '$rootScope'
($scope, $rootScope) ->
$window = $(window)
$scope.main =
brand: 'Rainbow'
name: '<NAME>' # those which uses i18n directive can not be replaced for now... | true | 'use strict';
angular.module('app.controllers', [])
# overall control
.controller('AppCtrl', [
'$scope', '$rootScope'
($scope, $rootScope) ->
$window = $(window)
$scope.main =
brand: 'Rainbow'
name: 'PI:NAME:<NAME>END_PI' # those which uses i18n directive can not be re... |
[
{
"context": "key: 'pandoc'\npatterns: [\n\n # grid_tables extension\n {\n n",
"end": 12,
"score": 0.9987005591392517,
"start": 6,
"tag": "KEY",
"value": "pandoc"
}
] | grammars/repositories/flavors/pandoc.cson | doc22940/language-markdown | 138 | key: 'pandoc'
patterns: [
# grid_tables extension
{
name: 'table.storage.md'
match: '^(\\+-+)+\\+$'
captures:
0: name: 'punctuation.md'
}
# grid_tables extension: head/body separator
{
name: 'table.storage.md'
match: '^(\\+=+)+\\+$'
captures:
0: name: 'punctuation.md'
}... | 160261 | key: '<KEY>'
patterns: [
# grid_tables extension
{
name: 'table.storage.md'
match: '^(\\+-+)+\\+$'
captures:
0: name: 'punctuation.md'
}
# grid_tables extension: head/body separator
{
name: 'table.storage.md'
match: '^(\\+=+)+\\+$'
captures:
0: name: 'punctuation.md'
}
... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# grid_tables extension
{
name: 'table.storage.md'
match: '^(\\+-+)+\\+$'
captures:
0: name: 'punctuation.md'
}
# grid_tables extension: head/body separator
{
name: 'table.storage.md'
match: '^(\\+=+)+\\+$'
captures:
0: name: 'punctua... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.9998700022697449,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | source/NearMapGenerator.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.NearMapGenerator
constructor: (mapResolution) ->
# load shaders
@heightGenShader = []
for i in [0 .. kosmosShaderHeightFunctions.length-1]
@heightGenShader[i] = xgl.loadProgr... | 83821 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.NearMapGenerator
constructor: (mapResolution) ->
# load shaders
@heightGenShader = []
for i in [0 .. kosmosShaderHeightFunctions.length-1]
@heightGenShader[i] = xgl.loadProgram("ne... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
class root.NearMapGenerator
constructor: (mapResolution) ->
# load shaders
@heightGenShader = []
for i in [0 .. kosmosShaderHeightFunctions.length-1]
@heightGenShader[i] = xgl.l... |
[
{
"context": "------------\ncustomers = [\n { id: 1, firstName: \"justin\", balance: 10 },\n { id: 2, firstName: \"sissel\", ",
"end": 815,
"score": 0.9996803998947144,
"start": 809,
"tag": "NAME",
"value": "justin"
},
{
"context": ": \"justin\", balance: 10 },\n { id: 2, firstNam... | dev/snippets/src/push-and-pull-queries.coffee | loveencounterflow/hengist | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'PUSH&PULL'
debug = CND.get_logger 'debug', badge
warn ... | 137682 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'PUSH&PULL'
debug = CND.get_logger 'debug', badge
warn ... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'PUSH&PULL'
debug = CND.get_logger 'debug', badge
warn ... |
[
{
"context": "9\\[\\]/\"'\\*=~\\-\\u2013\\u2014])|$)///gi\n\t,\n\t\tosis: [\"John\"]\n\t\tregexp: ///(^|#{bcv_parser::regexps.pre_book}",
"end": 17785,
"score": 0.9728336930274963,
"start": 17781,
"tag": "NAME",
"value": "John"
},
{
"context": "9\\[\\]/\"'\\*=~\\-\\u2013\\u2014])|$)/... | src/ta/regexps.coffee | phillipb/Bible-Passage-Reference-Parser | 149 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏஂ-ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹீ்ௐḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt... | 86285 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏஂ-ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹீ்ௐḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt... | true | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏஂ-ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹீ்ௐḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt... |
[
{
"context": "ter_combo(\n keys : \"a b c\"\n is_exclusive : true\n ",
"end": 23738,
"score": 0.584638237953186,
"start": 23737,
"tag": "KEY",
"value": "a"
},
{
"context": "ter_combo(\n keys : \"a b c\"... | public/plugins/Keypress-development/test/tests.coffee | 20181180/Sist_ventas | 1,423 | describe "Keypress:", ->
SHIFT = false
listener = null
beforeEach ->
listener = new window.keypress.Listener()
convert_readable_key_to_keycode = (keyname) ->
for keycode, name of window.keypress._keycode_dictionary
return keycode if name is keyname
return
even... | 57916 | describe "Keypress:", ->
SHIFT = false
listener = null
beforeEach ->
listener = new window.keypress.Listener()
convert_readable_key_to_keycode = (keyname) ->
for keycode, name of window.keypress._keycode_dictionary
return keycode if name is keyname
return
even... | true | describe "Keypress:", ->
SHIFT = false
listener = null
beforeEach ->
listener = new window.keypress.Listener()
convert_readable_key_to_keycode = (keyname) ->
for keycode, name of window.keypress._keycode_dictionary
return keycode if name is keyname
return
even... |
[
{
"context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ",
"end": 1088,
"score": 0.9387900233268738,
"start": 1081,
"tag": "NAME",
"value": "Patient"
},
{
"context": " \"localId\" : \"5\",\n ... | test/elm/logical/data.coffee | luis1van/cql-execution-1 | 0 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.cql to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### And
library TestSnippet version '1'
using QUICK
context Patient
define TT: true and true
define TF: true and fal... | 119579 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.cql to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### And
library TestSnippet version '1'
using QUICK
context Patient
define TT: true and true
define TF: true and fal... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.cql to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### And
library TestSnippet version '1'
using QUICK
context Patient
define TT: true and true
define TF: true and fal... |
[
{
"context": "',\n IS_MOBILE: true\n CURRENT_USER: 'John'\n view = new @EditorialSignupView el: @$el\n ",
"end": 2230,
"score": 0.9980307221412659,
"start": 2226,
"tag": "NAME",
"value": "John"
},
{
"context": "',\n IS_MOBILE: true\n CURRENT_USER: 'Jo... | src/desktop/components/email/test/editorial_signup.coffee | kanaabe/force | 0 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
{ stubChildClasses } = require '../../../test/helpers/stubs'
describe 'EditorialSignupView', ->
beforeEach (done) ->
benv.setup =>
benv.expose $: benv.require('jquery'), jQuery... | 119775 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
{ stubChildClasses } = require '../../../test/helpers/stubs'
describe 'EditorialSignupView', ->
beforeEach (done) ->
benv.setup =>
benv.expose $: benv.require('jquery'), jQuery... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
{ stubChildClasses } = require '../../../test/helpers/stubs'
describe 'EditorialSignupView', ->
beforeEach (done) ->
benv.setup =>
benv.expose $: benv.require('jquery'), jQuery... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998876452445984,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\n#= require new... | source/javascripts/new_src/loaders/collada/instance_controller.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/collada/instance_material
class InstanceController
constructor: (loader) ->
@url = ""
@skeleton = []
@instance_material = []
@loader ... | 139627 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
#= require new_src/loaders/collada/instance_material
class InstanceController
constructor: (loader) ->
@url = ""
@skeleton = []
@instance_material = []
@loader = loader
... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/collada/instance_material
class InstanceController
constructor: (loader) ->
@url = ""
@skeleton = []
@instance_material = []
@... |
[
{
"context": "e.exports = class Eraser extends Pencil\n\n name: 'Eraser'\n iconName: 'eraser'\n optionsStyle: 'stroke-thi",
"end": 132,
"score": 0.9897934794425964,
"start": 126,
"tag": "NAME",
"value": "Eraser"
}
] | src/tools/Eraser.coffee | entrylabs/literallycanvas | 4 | Pencil = require './Pencil'
{createShape} = require '../core/shapes'
module.exports = class Eraser extends Pencil
name: 'Eraser'
iconName: 'eraser'
optionsStyle: 'stroke-thickness'
makePoint: (x, y, lc) ->
createShape('Point', {x, y, size: @strokeWidth, color: '#000'})
makeShape: -> createShape('Erase... | 136127 | Pencil = require './Pencil'
{createShape} = require '../core/shapes'
module.exports = class Eraser extends Pencil
name: '<NAME>'
iconName: 'eraser'
optionsStyle: 'stroke-thickness'
makePoint: (x, y, lc) ->
createShape('Point', {x, y, size: @strokeWidth, color: '#000'})
makeShape: -> createShape('Erase... | true | Pencil = require './Pencil'
{createShape} = require '../core/shapes'
module.exports = class Eraser extends Pencil
name: 'PI:NAME:<NAME>END_PI'
iconName: 'eraser'
optionsStyle: 'stroke-thickness'
makePoint: (x, y, lc) ->
createShape('Point', {x, y, size: @strokeWidth, color: '#000'})
makeShape: -> crea... |
[
{
"context": "ffeescript.\n#\n# MIT License\n#\n# Copyright (c) 2015 Dennis Raymondo van der Sluis\n#\n# Permission is hereby granted, free of charge,",
"end": 143,
"score": 0.9998777508735657,
"start": 114,
"tag": "NAME",
"value": "Dennis Raymondo van der Sluis"
}
] | custom-log.coffee | phazelift/custom-log | 0 | # custom-log.coffee - A tiny console.log wrapper, written in Coffeescript.
#
# MIT License
#
# Copyright (c) 2015 Dennis Raymondo van der Sluis
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Softwa... | 154133 | # custom-log.coffee - A tiny console.log wrapper, written in Coffeescript.
#
# MIT License
#
# Copyright (c) 2015 <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction,... | true | # custom-log.coffee - A tiny console.log wrapper, written in Coffeescript.
#
# MIT License
#
# Copyright (c) 2015 PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software withou... |
[
{
"context": " type: \"string\"\n username:\n title: \"XenServer username\"\n type: \"string\"\n password:\n t",
"end": 250,
"score": 0.9953545331954956,
"start": 232,
"tag": "USERNAME",
"value": "XenServer username"
},
{
"context": " type: \"string... | configs/default/config.cson | ratokeshi/meshblu-connector-xenserver | 0 | title: "Default Configuration"
type: "object"
properties:
options:
title: "Options"
type: "object"
properties:
serveraddress:
title: "XenServer URL"
type: "string"
username:
title: "XenServer username"
type: "string"
password:
title: "XenServer pas... | 140680 | title: "Default Configuration"
type: "object"
properties:
options:
title: "Options"
type: "object"
properties:
serveraddress:
title: "XenServer URL"
type: "string"
username:
title: "XenServer username"
type: "string"
password:
title: "<PASSWORD>"
... | true | title: "Default Configuration"
type: "object"
properties:
options:
title: "Options"
type: "object"
properties:
serveraddress:
title: "XenServer URL"
type: "string"
username:
title: "XenServer username"
type: "string"
password:
title: "PI:PASSWORD:<... |
[
{
"context": "{\\\"closeButton\\\":false};toastr.warning('My name is Inigo Montoya. You killed my father, prepare to di",
"end": 1319,
"score": 0.9998456835746765,
"start": 1306,
"tag": "NAME",
"value": "Inigo Montoya"
}
] | test/example.coffee | kamaln7/express-toastr | 4 | should = require 'should'
assert = require 'assert'
request = require 'supertest'
app = require '../example/index.js'
server =
port = 4000
url = "http://localhost:#{port}"
Cookies =
describe 'express-toastr', ->
before (done) ->
server = app.listen port, (err) ->
if err
done err
else
... | 20315 | should = require 'should'
assert = require 'assert'
request = require 'supertest'
app = require '../example/index.js'
server =
port = 4000
url = "http://localhost:#{port}"
Cookies =
describe 'express-toastr', ->
before (done) ->
server = app.listen port, (err) ->
if err
done err
else
... | true | should = require 'should'
assert = require 'assert'
request = require 'supertest'
app = require '../example/index.js'
server =
port = 4000
url = "http://localhost:#{port}"
Cookies =
describe 'express-toastr', ->
before (done) ->
server = app.listen port, (err) ->
if err
done err
else
... |
[
{
"context": "D}', (SELECT NutzerID FROM Nutzer WHERE Name = '#{Nutzername}'))\", (err, row) ->\n\t\t\tif err\n\t\t\t\tbot.logger.erro",
"end": 4124,
"score": 0.9301008582115173,
"start": 4114,
"tag": "USERNAME",
"value": "Nutzername"
},
{
"context": "onn.query 'select id from termin... | docker/hubot/scripts/termine.coffee | ohli/steckerbot | 0 | mysql = require 'mysql'
module.exports = (bot) ->
conversation={}
url = process.env.MYSQL_URL
bot.logger.info "MySQL URl: " + url
conn = mysql.createConnection(url)
conn.connect (err) ->
if err?
bot.logger.info "Error\n#{err}"
else
bot.logger.info "connected to mysql"
################ Text Listener
... | 177681 | mysql = require 'mysql'
module.exports = (bot) ->
conversation={}
url = process.env.MYSQL_URL
bot.logger.info "MySQL URl: " + url
conn = mysql.createConnection(url)
conn.connect (err) ->
if err?
bot.logger.info "Error\n#{err}"
else
bot.logger.info "connected to mysql"
################ Text Listener
... | true | mysql = require 'mysql'
module.exports = (bot) ->
conversation={}
url = process.env.MYSQL_URL
bot.logger.info "MySQL URl: " + url
conn = mysql.createConnection(url)
conn.connect (err) ->
if err?
bot.logger.info "Error\n#{err}"
else
bot.logger.info "connected to mysql"
################ Text Listener
... |
[
{
"context": ">\n evt = _registerEvent\n name: nameA\n callBack: callBackA\n\n expec",
"end": 1444,
"score": 0.8282486200332642,
"start": 1440,
"tag": "NAME",
"value": "name"
},
{
"context": ">\n evt = _registerEvent\n name:... | test/EventService.coffee | marc-ed-raffalli/EventService | 2 | # global require
'use strict'
EventService = require '../src/EventService.js'
Event = require '../src/Event.js'
testEvtArr = []
nameA = 'nameA'
channelA = 'channelA'
evtService = undefined
callBackA = undefined
priorityDefault = 1
priorityA = 2
_registerEvent = (evtArgs) ->
evt = evtService.on evtArgs
testEvtArr... | 11820 | # global require
'use strict'
EventService = require '../src/EventService.js'
Event = require '../src/Event.js'
testEvtArr = []
nameA = 'nameA'
channelA = 'channelA'
evtService = undefined
callBackA = undefined
priorityDefault = 1
priorityA = 2
_registerEvent = (evtArgs) ->
evt = evtService.on evtArgs
testEvtArr... | true | # global require
'use strict'
EventService = require '../src/EventService.js'
Event = require '../src/Event.js'
testEvtArr = []
nameA = 'nameA'
channelA = 'channelA'
evtService = undefined
callBackA = undefined
priorityDefault = 1
priorityA = 2
_registerEvent = (evtArgs) ->
evt = evtService.on evtArgs
testEvtArr... |
[
{
"context": "vices/authenticator-service'\n\nSESSION_SECRET='some-secret-that-does-not-really-matter'\n\nclass Server\n",
"end": 562,
"score": 0.6510350108146667,
"start": 562,
"tag": "KEY",
"value": ""
},
{
"context": "uthenticator-service'\n\nSESSION_SECRET='some-secret-that-does-... | src/server.coffee | octoblu/meshblu-authenticator-azure-ad | 0 | session = require 'cookie-session'
cookieParser = require 'cookie-parser'
octobluExpress = require 'express-octoblu'
http = require 'http'
passport = require 'passport'
AzureAdOAuth2Strategy = require 'passport-azure-ad-oauth2'
enableDestroy ... | 81029 | session = require 'cookie-session'
cookieParser = require 'cookie-parser'
octobluExpress = require 'express-octoblu'
http = require 'http'
passport = require 'passport'
AzureAdOAuth2Strategy = require 'passport-azure-ad-oauth2'
enableDestroy ... | true | session = require 'cookie-session'
cookieParser = require 'cookie-parser'
octobluExpress = require 'express-octoblu'
http = require 'http'
passport = require 'passport'
AzureAdOAuth2Strategy = require 'passport-azure-ad-oauth2'
enableDestroy ... |
[
{
"context": " currently it supports only Slack.\n#\n# Author:\n# Nikolaos Anastopoulos <ebababi@ebababi.net>\n\nmoment = require 'moment-t",
"end": 405,
"score": 0.999855101108551,
"start": 384,
"tag": "NAME",
"value": "Nikolaos Anastopoulos"
},
{
"context": "nly Slack.\n#\n# Auth... | src/timezone-converter.coffee | ebababi/hubot-timezone-converter | 1 | # Description
# Enable hubot to convert times in user time zones during discussion.
#
# Configuration:
# HUBOT_TIMEZONE_CONVERTER_FORMAT - Moment.js compatible format of response.
#
# Commands:
# <time expression> - Sends the time converted to all room users time zones.
#
# Notes:
# It requires a time zone awar... | 23673 | # Description
# Enable hubot to convert times in user time zones during discussion.
#
# Configuration:
# HUBOT_TIMEZONE_CONVERTER_FORMAT - Moment.js compatible format of response.
#
# Commands:
# <time expression> - Sends the time converted to all room users time zones.
#
# Notes:
# It requires a time zone awar... | true | # Description
# Enable hubot to convert times in user time zones during discussion.
#
# Configuration:
# HUBOT_TIMEZONE_CONVERTER_FORMAT - Moment.js compatible format of response.
#
# Commands:
# <time expression> - Sends the time converted to all room users time zones.
#
# Notes:
# It requires a time zone awar... |
[
{
"context": "ee: Github organization class\n#\n# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved\n#\n\n# Requiring modules\n\n# In",
"end": 82,
"score": 0.9998356699943542,
"start": 63,
"tag": "NAME",
"value": "Pavan Kumar Sunkara"
},
{
"context": "rganization's member.\n ... | src/octonode/org.coffee | noscripter/octonode | 0 | #
# org.coffee: Github organization class
#
# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved
#
# Requiring modules
# Initiate class
class Org
constructor: (@name, @client) ->
# Get an organization
# '/orgs/flatiron' GET
info: (cb) ->
@client.get "/orgs/#{@name}", (err, s, b, h) ->
retu... | 211596 | #
# org.coffee: Github organization class
#
# Copyright © 2011 <NAME>. All rights reserved
#
# Requiring modules
# Initiate class
class Org
constructor: (@name, @client) ->
# Get an organization
# '/orgs/flatiron' GET
info: (cb) ->
@client.get "/orgs/#{@name}", (err, s, b, h) ->
return cb(err) if... | true | #
# org.coffee: Github organization class
#
# Copyright © 2011 PI:NAME:<NAME>END_PI. All rights reserved
#
# Requiring modules
# Initiate class
class Org
constructor: (@name, @client) ->
# Get an organization
# '/orgs/flatiron' GET
info: (cb) ->
@client.get "/orgs/#{@name}", (err, s, b, h) ->
ret... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998940229415894,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/database/migrations/2021032400011-create-sale-attachments.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
###
Create sale attachments table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Sale-attachments',
id:
al... | 67304 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
###
Create sale attachments table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Sale-attachments',
id:
allowNull: false
a... | 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
###
###
Create sale attachments table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Sale-attachments',
id... |
[
{
"context": "h1 = document.createElement 'h1'\nh1.innerText = 'Hello World'\n\ndocument.body.appendChild h1\n",
"end": 60,
"score": 0.7246079444885254,
"start": 49,
"tag": "NAME",
"value": "Hello World"
}
] | src/renderer/main.coffee | carsmie/electron-starter | 212 | h1 = document.createElement 'h1'
h1.innerText = 'Hello World'
document.body.appendChild h1
| 190967 | h1 = document.createElement 'h1'
h1.innerText = '<NAME>'
document.body.appendChild h1
| true | h1 = document.createElement 'h1'
h1.innerText = 'PI:NAME:<NAME>END_PI'
document.body.appendChild h1
|
[
{
"context": "ver = second\n rest = others\n\ncontenders = [\n \"Michael Phelps\"\n \"Liu Xiang\"\n \"Yao Ming\"\n \"Allyson Felix\"\n \"",
"end": 164,
"score": 0.9998334050178528,
"start": 150,
"tag": "NAME",
"value": "Michael Phelps"
},
{
"context": " = others\n\ncontende... | public/node_modules/coffee-register/benchmarks/samples/small2.coffee | nandartika/bibe | 1 | gold = silver = rest = "unknown"
awardMedals = (first, second, others...) ->
gold = first
silver = second
rest = others
contenders = [
"Michael Phelps"
"Liu Xiang"
"Yao Ming"
"Allyson Felix"
"Shawn Johnson"
"Roman Sebrle"
"Guo Jingjing"
"Tyson Gay"
"Asafa Powell"
"Usain Bolt"
]
awardMed... | 198717 | gold = silver = rest = "unknown"
awardMedals = (first, second, others...) ->
gold = first
silver = second
rest = others
contenders = [
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
]
awardMedals contenders...
a = "Gold: " + gold
b = "Silver: ... | true | gold = silver = rest = "unknown"
awardMedals = (first, second, others...) ->
gold = first
silver = second
rest = others
contenders = [
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI... |
[
{
"context": "text onto HTML canvas elements\n\nWritten in 2013 by Karl Naylor <kpn103@yahoo.com>\n\nTo the extent possible under ",
"end": 106,
"score": 0.9998904466629028,
"start": 95,
"tag": "NAME",
"value": "Karl Naylor"
},
{
"context": " canvas elements\n\nWritten in 2013 by Kar... | src/content/coffee/handywriteOnCanvas/handywriteOnCanvas.coffee | karlorg/phonetify | 1 | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by Karl Naylor <kpn103@yahoo.com>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed wit... | 161954 | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by <NAME> <<EMAIL>>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed without any
warra... | true | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is ... |
[
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## Licensed under the Apache Licen",
"end": 42,
"score": 0.9998529553413391,
"start": 34,
"tag": "NAME",
"value": "M. Hoppe"
},
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## L... | app/assets/javascripts/dotiw/time_hash.coffee | LiScI-Lab/Guardian-of-Times | 3 | ############
##
## Copyright 2018 M. Hoppe & N. Justus
##
## 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... | 224757 | ############
##
## Copyright 2018 <NAME> & <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 ... | true | ############
##
## Copyright 2018 PI:NAME:<NAME>END_PI & 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... |
[
{
"context": "###\njQuery Growl\nCopyright 2015 Kevin Sylvestre\n1.3.5\n###\n\n\"use strict\"\n\n$ = jQuery\n\nclass Animat",
"end": 47,
"score": 0.9998615980148315,
"start": 32,
"tag": "NAME",
"value": "Kevin Sylvestre"
}
] | javascripts/jquery.growl.coffee | gabrielferrazduque/jquery-growl | 7 | ###
jQuery Growl
Copyright 2015 Kevin Sylvestre
1.3.5
###
"use strict"
$ = jQuery
class Animation
@transitions:
"webkitTransition": "webkitTransitionEnd"
"mozTransition": "mozTransitionEnd"
"oTransition": "oTransitionEnd"
"transition": "transitionend"
@transition: ($el) ->
el = $el[0]
re... | 16054 | ###
jQuery Growl
Copyright 2015 <NAME>
1.3.5
###
"use strict"
$ = jQuery
class Animation
@transitions:
"webkitTransition": "webkitTransitionEnd"
"mozTransition": "mozTransitionEnd"
"oTransition": "oTransitionEnd"
"transition": "transitionend"
@transition: ($el) ->
el = $el[0]
return resu... | true | ###
jQuery Growl
Copyright 2015 PI:NAME:<NAME>END_PI
1.3.5
###
"use strict"
$ = jQuery
class Animation
@transitions:
"webkitTransition": "webkitTransitionEnd"
"mozTransition": "mozTransitionEnd"
"oTransition": "oTransitionEnd"
"transition": "transitionend"
@transition: ($el) ->
el = $el[0]
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.