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": "###\n@fileoverview\n\nCreated by Davide on 1/30/18.\n###\n\nrequire 'coffeescript/register'\n",
"end": 36,
"score": 0.9998461604118347,
"start": 30,
"tag": "NAME",
"value": "Davide"
}
] | js/atom-macros/lib/run-macro.coffee | pokemoncentral/wiki-util | 1 | ###
@fileoverview
Created by Davide on 1/30/18.
###
require 'coffeescript/register'
fs = require 'fs'
util = require 'util'
macros = require __dirname + '/macros'
path = require 'path'
TEST = process.env.NODE_ENV == 'testing'
applyMacro = (text, macroName, fileName) ->
global.getActiveTextEditor = () ->
... | 109836 | ###
@fileoverview
Created by <NAME> on 1/30/18.
###
require 'coffeescript/register'
fs = require 'fs'
util = require 'util'
macros = require __dirname + '/macros'
path = require 'path'
TEST = process.env.NODE_ENV == 'testing'
applyMacro = (text, macroName, fileName) ->
global.getActiveTextEditor = () ->
... | true | ###
@fileoverview
Created by PI:NAME:<NAME>END_PI on 1/30/18.
###
require 'coffeescript/register'
fs = require 'fs'
util = require 'util'
macros = require __dirname + '/macros'
path = require 'path'
TEST = process.env.NODE_ENV == 'testing'
applyMacro = (text, macroName, fileName) ->
global.getActiveTextEditor... |
[
{
"context": ".xml', 'sitemapfr.xml' ]\n nconf.set 'APIKey', \"VWC1I0uyU\"\n nconf.set 'redisPort', 6379\n nconf.set 'r",
"end": 582,
"score": 0.9995263814926147,
"start": 573,
"tag": "KEY",
"value": "VWC1I0uyU"
},
{
"context": "set 'redisPort', 6379\n nconf.set 'redisHos... | src/test/commands_config.coffee | gerardtoko/fantomas | 0 | assert = require 'assert'
fs = require 'fs'
path = require 'path'
nconf = require 'nconf'
config = path.resolve './config/locale_test.json'
shell = require 'shelljs'
describe 'test command config:set', ->
this.timeout 1500000
it 'set config value with error', (done) ->
nconf.argv().env().file {file: config}
... | 201258 | assert = require 'assert'
fs = require 'fs'
path = require 'path'
nconf = require 'nconf'
config = path.resolve './config/locale_test.json'
shell = require 'shelljs'
describe 'test command config:set', ->
this.timeout 1500000
it 'set config value with error', (done) ->
nconf.argv().env().file {file: config}
... | true | assert = require 'assert'
fs = require 'fs'
path = require 'path'
nconf = require 'nconf'
config = path.resolve './config/locale_test.json'
shell = require 'shelljs'
describe 'test command config:set', ->
this.timeout 1500000
it 'set config value with error', (done) ->
nconf.argv().env().file {file: config}
... |
[
{
"context": " </pre>\n '''\n\n tokens: ['JSX_TAG', 'CALL_START', 'CALL_END', 'STRING_START', '",
"end": 661,
"score": 0.5541360974311829,
"start": 660,
"tag": "KEY",
"value": "X"
}
] | src/rules/no_nested_string_interpolation.coffee | UziTech/coffeelint | 13 | module.exports = class NoNestedStringInterpolation
rule:
type: 'problem'
name: 'no_nested_string_interpolation'
level: 'warn'
message: 'Nested string interpolation is forbidden'
description: '''
This rule warns about nested string interpolation,
as it... | 68311 | module.exports = class NoNestedStringInterpolation
rule:
type: 'problem'
name: 'no_nested_string_interpolation'
level: 'warn'
message: 'Nested string interpolation is forbidden'
description: '''
This rule warns about nested string interpolation,
as it... | true | module.exports = class NoNestedStringInterpolation
rule:
type: 'problem'
name: 'no_nested_string_interpolation'
level: 'warn'
message: 'Nested string interpolation is forbidden'
description: '''
This rule warns about nested string interpolation,
as it... |
[
{
"context": "#!/usr/bin/env coffee\n### (C) 2014 Narazaka : Licensed under The MIT License - http://narazak",
"end": 43,
"score": 0.9992151260375977,
"start": 35,
"tag": "NAME",
"value": "Narazaka"
}
] | src/bin/germ.coffee | Narazaka/germ | 1 | #!/usr/bin/env coffee
### (C) 2014 Narazaka : Licensed under The MIT License - http://narazaka.net/license/MIT?2014 ###
argv = require 'argv'
Germ = require 'germ'
argv.info """
-- Ukagaka package manager Germ --
germ [OPTIONS] (install/remove/update/list/search/info/get) [PACKAGE_NAME]
"""
argv.version '1.0.0'
a... | 90555 | #!/usr/bin/env coffee
### (C) 2014 <NAME> : Licensed under The MIT License - http://narazaka.net/license/MIT?2014 ###
argv = require 'argv'
Germ = require 'germ'
argv.info """
-- Ukagaka package manager Germ --
germ [OPTIONS] (install/remove/update/list/search/info/get) [PACKAGE_NAME]
"""
argv.version '1.0.0'
arg... | true | #!/usr/bin/env coffee
### (C) 2014 PI:NAME:<NAME>END_PI : Licensed under The MIT License - http://narazaka.net/license/MIT?2014 ###
argv = require 'argv'
Germ = require 'germ'
argv.info """
-- Ukagaka package manager Germ --
germ [OPTIONS] (install/remove/update/list/search/info/get) [PACKAGE_NAME]
"""
argv.versi... |
[
{
"context": "part of image-helpers\n# Copyright (C) 2018-present Dario Giovannetti <dev@dariogiovannetti.net>\n# Licensed under MIT\n#",
"end": 83,
"score": 0.9998494982719421,
"start": 66,
"tag": "NAME",
"value": "Dario Giovannetti"
},
{
"context": "s\n# Copyright (C) 2018-present ... | index.coffee | kynikos/lib.js.image-helpers | 1 | # This file is part of image-helpers
# Copyright (C) 2018-present Dario Giovannetti <dev@dariogiovannetti.net>
# Licensed under MIT
# https://github.com/kynikos/lib.js.image-helpers/blob/master/LICENSE
path = require('path')
blueimpLoadImage = require('blueimp-load-image')
# https://github.com/blueimp/JavaScript-Can... | 169001 | # This file is part of image-helpers
# Copyright (C) 2018-present <NAME> <<EMAIL>>
# Licensed under MIT
# https://github.com/kynikos/lib.js.image-helpers/blob/master/LICENSE
path = require('path')
blueimpLoadImage = require('blueimp-load-image')
# https://github.com/blueimp/JavaScript-Canvas-to-Blob
# This is also a... | true | # This file is part of image-helpers
# Copyright (C) 2018-present PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Licensed under MIT
# https://github.com/kynikos/lib.js.image-helpers/blob/master/LICENSE
path = require('path')
blueimpLoadImage = require('blueimp-load-image')
# https://github.com/blueimp/JavaScript-Ca... |
[
{
"context": "n context.message.user.name else person\n\n key = key.toUpperCase()\n chatUser = Utils.lookupChatUser person\n\n i",
"end": 304,
"score": 0.9764227271080017,
"start": 287,
"tag": "KEY",
"value": "key.toUpperCase()"
},
{
"context": "ssue/#{key}/watchers#{if remo... | src/jira/watch.coffee | ndaversa/hubot-jira-bug | 65 | Config = require "../config"
User = require "./user"
Utils = require "../utils"
class Watch
@forTicketKeyForPerson: (key, person, context, includeAttachment=no, remove=no, emit=yes) ->
person = if person is "me" or not person then context.message.user.name else person
key = key.toUpperCase()
chatUser = ... | 119046 | Config = require "../config"
User = require "./user"
Utils = require "../utils"
class Watch
@forTicketKeyForPerson: (key, person, context, includeAttachment=no, remove=no, emit=yes) ->
person = if person is "me" or not person then context.message.user.name else person
key = <KEY>
chatUser = Utils.lookup... | true | Config = require "../config"
User = require "./user"
Utils = require "../utils"
class Watch
@forTicketKeyForPerson: (key, person, context, includeAttachment=no, remove=no, emit=yes) ->
person = if person is "me" or not person then context.message.user.name else person
key = PI:KEY:<KEY>END_PI
chatUser =... |
[
{
"context": "er to handle a form inside of a view.\n\n @author Sebastian Sachtleben\n###\nclass FormView extends BaseView\n\t\n\ttype: 'POS",
"end": 178,
"score": 0.9998850226402283,
"start": 158,
"tag": "NAME",
"value": "Sebastian Sachtleben"
}
] | app/assets/javascripts/shared/views/formView.coffee | ssachtleben/herowar | 1 | BaseView = require 'views/baseView'
app = require 'application'
###
The FormView contains several helper to handle a form inside of a view.
@author Sebastian Sachtleben
###
class FormView extends BaseView
type: 'POST'
dataType: 'json'
url: ''
events:
'submit form': 'submitForm'
initialize: (o... | 107373 | BaseView = require 'views/baseView'
app = require 'application'
###
The FormView contains several helper to handle a form inside of a view.
@author <NAME>
###
class FormView extends BaseView
type: 'POST'
dataType: 'json'
url: ''
events:
'submit form': 'submitForm'
initialize: (options) ->
@... | true | BaseView = require 'views/baseView'
app = require 'application'
###
The FormView contains several helper to handle a form inside of a view.
@author PI:NAME:<NAME>END_PI
###
class FormView extends BaseView
type: 'POST'
dataType: 'json'
url: ''
events:
'submit form': 'submitForm'
initialize: (o... |
[
{
"context": "###\n Copyright 2015 Packt Publishing\n\n Licensed under the Apache License, Version 2.",
"end": 38,
"score": 0.9997153282165527,
"start": 22,
"tag": "NAME",
"value": "Packt Publishing"
}
] | chapter-10/3-objects-array.coffee | fabiancook/nodejs-essentials | 4 | ###
Copyright 2015 Packt Publishing
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to ... | 71895 | ###
Copyright 2015 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing... | true | ###
Copyright 2015 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed... |
[
{
"context": "eval ((group)->\n Meteor.loginWithPassword 'b@b.com', '123456', (err)->\n Router.go \"/run\"\n ",
"end": 390,
"score": 0.9993936419487,
"start": 383,
"tag": "EMAIL",
"value": "b@b.com"
}
] | src/tests/regression/testGroups.coffee | ArnoldasSid/vilnius-carpool | 11 | helper = new (require '../actions').Helper()
describe 'Save trip in a group', ->
it 'it should stay on a group page', (done, server, cA, cB) ->
cA.eval helper.createABUsers
cA.once 'usersCreated', ->
cA.eval helper.userACreatesGroup
cA.once 'groupCreated', (data)->
cB.eval helper.userBJoinsGr... | 172615 | helper = new (require '../actions').Helper()
describe 'Save trip in a group', ->
it 'it should stay on a group page', (done, server, cA, cB) ->
cA.eval helper.createABUsers
cA.once 'usersCreated', ->
cA.eval helper.userACreatesGroup
cA.once 'groupCreated', (data)->
cB.eval helper.userBJoinsGr... | true | helper = new (require '../actions').Helper()
describe 'Save trip in a group', ->
it 'it should stay on a group page', (done, server, cA, cB) ->
cA.eval helper.createABUsers
cA.once 'usersCreated', ->
cA.eval helper.userACreatesGroup
cA.once 'groupCreated', (data)->
cB.eval helper.userBJoinsGr... |
[
{
"context": "rsion 1.0.0\n@file Debug.js\n@author Welington Sampaio (http://welington.zaez.net/)\n@contact http://",
"end": 138,
"score": 0.999893307685852,
"start": 121,
"tag": "NAME",
"value": "Welington Sampaio"
}
] | vendor/assets/javascripts/joker/Debug.coffee | zaeznet/joker-rails | 0 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Debug.js
@author Welington Sampaio (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free soft... | 59295 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Debug.js
@author <NAME> (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free software, under... | true | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Debug.js
@author PI:NAME:<NAME>END_PI (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free s... |
[
{
"context": "rts.Octahedron extends Entity\n\n\tentity :\n\t\tname: \"Octahedron\"\n\t\ttype: \"a-octahedron\"\n\n\t# ---------------------",
"end": 118,
"score": 0.6557270884513855,
"start": 108,
"tag": "NAME",
"value": "Octahedron"
}
] | src/Octahedron.coffee | etiennepinchon/hologram | 89 | {entityAttribute, Entity} = require "./Entity"
class exports.Octahedron extends Entity
entity :
name: "Octahedron"
type: "a-octahedron"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
| 117017 | {entityAttribute, Entity} = require "./Entity"
class exports.Octahedron extends Entity
entity :
name: "<NAME>"
type: "a-octahedron"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
| true | {entityAttribute, Entity} = require "./Entity"
class exports.Octahedron extends Entity
entity :
name: "PI:NAME:<NAME>END_PI"
type: "a-octahedron"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
|
[
{
"context": "H_SECRET\n\ncities=[\n \"almeria\"\n \"cordoba\"\n \"cadiz\"\n \"granada\"\n \"Huel",
"end": 200,
"score": 0.6491277813911438,
"start": 198,
"tag": "NAME",
"value": "ob"
},
{
"context": "es=[\n \"almeria\"\n \"cordoba\"\n... | get-AND.coffee | pleonex/github-city-rankings | 26 | #!/usr/bin/env coffee
Top = require './lib/top'
ECT = require 'ect'
renderer = ECT({ root : 'layout' });
id=process.env.GH_ID
secret=process.env.GH_SECRET
cities=[
"almeria"
"cordoba"
"cadiz"
"granada"
"Huelva"
"Jaén"
"malaga"
"Sevilla"
]
... | 220165 | #!/usr/bin/env coffee
Top = require './lib/top'
ECT = require 'ect'
renderer = ECT({ root : 'layout' });
id=process.env.GH_ID
secret=process.env.GH_SECRET
cities=[
"almeria"
"cord<NAME>a"
"<NAME>"
"granada"
"<NAME>"
"<NAME>"
"malaga"
"Sevilla"
]... | true | #!/usr/bin/env coffee
Top = require './lib/top'
ECT = require 'ect'
renderer = ECT({ root : 'layout' });
id=process.env.GH_ID
secret=process.env.GH_SECRET
cities=[
"almeria"
"cordPI:NAME:<NAME>END_PIa"
"PI:NAME:<NAME>END_PI"
"granada"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<N... |
[
{
"context": "atus: 200, responseText: JSON.stringify({ email: 'some@email.com' })}\n}\n\n\n# xdescribe 'CreateAccountModal', ->\n\n# ",
"end": 734,
"score": 0.9999076128005981,
"start": 720,
"tag": "EMAIL",
"value": "some@email.com"
},
{
"context": " data: factories.makeC... | test/app/views/core/CreateAccountModal.spec.coffee | pickettd/codecombat | 0 | CreateAccountModal = require 'views/core/CreateAccountModal'
Classroom = require 'models/Classroom'
#COPPADenyModal = require 'views/core/COPPADenyModal'
forms = require 'core/forms'
factories = require 'test/app/factories'
SchoolInfoPanel = Vue.extend(require 'views/core/CreateAccountModal/teacher/SchoolInfoPanel')
T... | 85935 | CreateAccountModal = require 'views/core/CreateAccountModal'
Classroom = require 'models/Classroom'
#COPPADenyModal = require 'views/core/COPPADenyModal'
forms = require 'core/forms'
factories = require 'test/app/factories'
SchoolInfoPanel = Vue.extend(require 'views/core/CreateAccountModal/teacher/SchoolInfoPanel')
T... | true | CreateAccountModal = require 'views/core/CreateAccountModal'
Classroom = require 'models/Classroom'
#COPPADenyModal = require 'views/core/COPPADenyModal'
forms = require 'core/forms'
factories = require 'test/app/factories'
SchoolInfoPanel = Vue.extend(require 'views/core/CreateAccountModal/teacher/SchoolInfoPanel')
T... |
[
{
"context": "> path.join component, file\n\t\t\t\t\tkey = path.join component, componentType\n\t\t\t\t\tcomponents[key] = [] if not c",
"end": 738,
"score": 0.9470951557159424,
"start": 719,
"tag": "KEY",
"value": "path.join component"
}
] | tasks/bower/normalizeComponents.coffee | webmaster89898/CaryLandholt-fatarrow | 0 | es = require 'event-stream'
fs = require 'fs'
q = require 'q'
pkg = require '../../package.json'
{BOWER_DIRECTORY, BOWER_FILE, COMPONENTS_DIRECTORY, VENDOR_DIRECTORY} = require '../constants'
{BOWER_COMPONENTS} = require '../../config/bower'
path = require 'path'
module.exports = (gulp, plugins) -> ->
{onError} = req... | 79973 | es = require 'event-stream'
fs = require 'fs'
q = require 'q'
pkg = require '../../package.json'
{BOWER_DIRECTORY, BOWER_FILE, COMPONENTS_DIRECTORY, VENDOR_DIRECTORY} = require '../constants'
{BOWER_COMPONENTS} = require '../../config/bower'
path = require 'path'
module.exports = (gulp, plugins) -> ->
{onError} = req... | true | es = require 'event-stream'
fs = require 'fs'
q = require 'q'
pkg = require '../../package.json'
{BOWER_DIRECTORY, BOWER_FILE, COMPONENTS_DIRECTORY, VENDOR_DIRECTORY} = require '../constants'
{BOWER_COMPONENTS} = require '../../config/bower'
path = require 'path'
module.exports = (gulp, plugins) -> ->
{onError} = req... |
[
{
"context": "\n###\n\tTexture example for JOpenFrameworks\n\tby florin.braghis@gmail.com\n###\n\noflib = require 'lib/of'\noflib._.extend this",
"end": 70,
"score": 0.9998968243598938,
"start": 46,
"tag": "EMAIL",
"value": "florin.braghis@gmail.com"
}
] | bin/textureExample.coffee | codeboost/JOpenFrameworks | 12 |
###
Texture example for JOpenFrameworks
by florin.braghis@gmail.com
###
oflib = require 'lib/of'
oflib._.extend this, oflib
window = new ofAppGlutWindow
ofSetupOpenGL window, 1024, 768, OF_WINDOW
class TextureExample
setup: ->
@w = 250
@h = 200
w = @w
h = @h
@texGray = new ofTexture
@texColor = new ... | 120417 |
###
Texture example for JOpenFrameworks
by <EMAIL>
###
oflib = require 'lib/of'
oflib._.extend this, oflib
window = new ofAppGlutWindow
ofSetupOpenGL window, 1024, 768, OF_WINDOW
class TextureExample
setup: ->
@w = 250
@h = 200
w = @w
h = @h
@texGray = new ofTexture
@texColor = new ofTexture
@texC... | true |
###
Texture example for JOpenFrameworks
by PI:EMAIL:<EMAIL>END_PI
###
oflib = require 'lib/of'
oflib._.extend this, oflib
window = new ofAppGlutWindow
ofSetupOpenGL window, 1024, 768, OF_WINDOW
class TextureExample
setup: ->
@w = 250
@h = 200
w = @w
h = @h
@texGray = new ofTexture
@texColor = new of... |
[
{
"context": "me: process.env.HUBOT_WALLABAG_USERNAME\n\tpassword: process.env.HUBOT_WALLABAG_PASSWORD\n\tclientId: process.env.HUBOT_WALLABAG_CLIENT_ID\n\t",
"end": 556,
"score": 0.9767882823944092,
"start": 521,
"tag": "PASSWORD",
"value": "process.env.HUBOT_WALLABAG_PASSWORD"
}
] | src/hubot-link-archive.coffee | Grummfy/hubot-wallabag | 2 | # Description:
# Detect all link to send to a link archive
#
# Commands:
# hubot link exporter add here - save all link from this channel to wallbag
# hubot link exporter stop here - stop to save link from this channel to wallbag
# hubot link export this - save the link comming in the message
# hubot link exporte... | 117979 | # Description:
# Detect all link to send to a link archive
#
# Commands:
# hubot link exporter add here - save all link from this channel to wallbag
# hubot link exporter stop here - stop to save link from this channel to wallbag
# hubot link export this - save the link comming in the message
# hubot link exporte... | true | # Description:
# Detect all link to send to a link archive
#
# Commands:
# hubot link exporter add here - save all link from this channel to wallbag
# hubot link exporter stop here - stop to save link from this channel to wallbag
# hubot link export this - save the link comming in the message
# hubot link exporte... |
[
{
"context": "##\n knockback.js 1.2.3\n Copyright (c) 2011-2016 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 66,
"score": 0.9997984170913696,
"start": 52,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/core/functions/extend.coffee | kmalakoff/knockback | 160 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneO... | 61070 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 <NAME>.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###
... | true | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 PI:NAME:<NAME>END_PI.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Bac... |
[
{
"context": " params =\n q: term,\n key: '5aa73ae4e27b43248135d8817205efb4'\n\n successHandler = (data) ->\n ",
"end": 6427,
"score": 0.9997611045837402,
"start": 6395,
"tag": "KEY",
"value": "5aa73ae4e27b43248135d8817205efb4"
}
] | index/src/main/frontend/src/js/map.coffee | MichaelTran262/mapseries | 0 | import mapboxgl from 'mapbox-gl'
import $ from 'jquery'
import bootbox from 'bootbox'
import loading from 'js/loading'
import turf from 'turf'
import page from 'js/page'
import 'js/autocomplete'
showError = (msg) ->
bootbox.alert {
size: 'large',
title: window.msg.error,
message: msg
}
export default ... | 6317 | import mapboxgl from 'mapbox-gl'
import $ from 'jquery'
import bootbox from 'bootbox'
import loading from 'js/loading'
import turf from 'turf'
import page from 'js/page'
import 'js/autocomplete'
showError = (msg) ->
bootbox.alert {
size: 'large',
title: window.msg.error,
message: msg
}
export default ... | true | import mapboxgl from 'mapbox-gl'
import $ from 'jquery'
import bootbox from 'bootbox'
import loading from 'js/loading'
import turf from 'turf'
import page from 'js/page'
import 'js/autocomplete'
showError = (msg) ->
bootbox.alert {
size: 'large',
title: window.msg.error,
message: msg
}
export default ... |
[
{
"context": "'called', ->\n user = User.create(firstName: \"Lance\")\n expect(user.get('createdAt')).toEqual new",
"end": 556,
"score": 0.9984380006790161,
"start": 551,
"tag": "NAME",
"value": "Lance"
},
{
"context": " 'should track attribute changes', ->\n expect(@use... | test/cases/modelTest.coffee | ca98am79/tower | 1 | require '../config'
scope = null
criteria = null
###
describe 'Tower.Model', ->
beforeEach ->
User.store(new Tower.Store.Memory(name: "users", className: "App.User"))
describe 'Tower.Model.Callbacks', ->
beforeEach ->
User.store(new Tower.Store.Memory(name: "users", type: "User"))
scope = User.... | 88775 | require '../config'
scope = null
criteria = null
###
describe 'Tower.Model', ->
beforeEach ->
User.store(new Tower.Store.Memory(name: "users", className: "App.User"))
describe 'Tower.Model.Callbacks', ->
beforeEach ->
User.store(new Tower.Store.Memory(name: "users", type: "User"))
scope = User.... | true | require '../config'
scope = null
criteria = null
###
describe 'Tower.Model', ->
beforeEach ->
User.store(new Tower.Store.Memory(name: "users", className: "App.User"))
describe 'Tower.Model.Callbacks', ->
beforeEach ->
User.store(new Tower.Store.Memory(name: "users", type: "User"))
scope = User.... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998963475227356,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/config/index.coffee | AbdelhakimRafik/Project | 1 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date June 2021
###
# return system configuration
module.exports =
server:
host: "localhost"
port: 8000
db:
dialect: "mysql"
host: "localhost"
port: 3306
username: "roo... | 224769 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date June 2021
###
# return system configuration
module.exports =
server:
host: "localhost"
port: 8000
db:
dialect: "mysql"
host: "localhost"
port: 3306
username: "root"
password: ""
... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date June 2021
###
# return system configuration
module.exports =
server:
host: "localhost"
port: 8000
db:
dialect: "mysql"
host: "localhost"
port: 3306
userna... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999227523803711,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/directives/duplicate_experiment.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 113507 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "\n\t\t\ttype: \"text\"\n\t\t\tomit:true\n\t\towner:\n\t\t\tlabel: '顾客'\n\t\t\ttype: 'lookup'\n\t\t\trequired: true\n\t\t\treferenc",
"end": 226,
"score": 0.5817404985427856,
"start": 225,
"tag": "NAME",
"value": "顾"
},
{
"context": "lection('vip_share_gift').insert({\n\... | packages/steedos-vip-card/models/vip_order.coffee | zonglu233/fuel-car | 42 | Creator.Objects.vip_order =
name: "vip_order"
label: "订单"
icon: "orders"
fields:
name:
label: "名称"
type: "text"
required: true
out_trade_no:
label: "订单编号"
type: "text"
omit:true
owner:
label: '顾客'
type: 'lookup'
required: true
reference_to:'users'
product_amount:
label: '商... | 124921 | Creator.Objects.vip_order =
name: "vip_order"
label: "订单"
icon: "orders"
fields:
name:
label: "名称"
type: "text"
required: true
out_trade_no:
label: "订单编号"
type: "text"
omit:true
owner:
label: '<NAME>客'
type: 'lookup'
required: true
reference_to:'users'
product_amount:
labe... | true | Creator.Objects.vip_order =
name: "vip_order"
label: "订单"
icon: "orders"
fields:
name:
label: "名称"
type: "text"
required: true
out_trade_no:
label: "订单编号"
type: "text"
omit:true
owner:
label: 'PI:NAME:<NAME>END_PI客'
type: 'lookup'
required: true
reference_to:'users'
product_a... |
[
{
"context": "encrypt\n decrypt: decrypt\n hashPassword: hashPassword\n checkHash: checkHash\n generate",
"end": 1625,
"score": 0.5033642053604126,
"start": 1621,
"tag": "PASSWORD",
"value": "hash"
}
] | src/index.coffee | ndxbxrme/rs-token | 0 | bcrypt = require 'bcrypt-nodejs'
crypto = require 'crypto'
module.exports = (config) ->
(rs) ->
config = config or {}
algorithm = config.algorithm or rs.config.algorithm or 'aes-256-ctr'
encryptionKey = Buffer.alloc 32
iv = Buffer.alloc 16, 0
encryptionKey = Buffer.concat [Buffer.from(config.encr... | 77528 | bcrypt = require 'bcrypt-nodejs'
crypto = require 'crypto'
module.exports = (config) ->
(rs) ->
config = config or {}
algorithm = config.algorithm or rs.config.algorithm or 'aes-256-ctr'
encryptionKey = Buffer.alloc 32
iv = Buffer.alloc 16, 0
encryptionKey = Buffer.concat [Buffer.from(config.encr... | true | bcrypt = require 'bcrypt-nodejs'
crypto = require 'crypto'
module.exports = (config) ->
(rs) ->
config = config or {}
algorithm = config.algorithm or rs.config.algorithm or 'aes-256-ctr'
encryptionKey = Buffer.alloc 32
iv = Buffer.alloc 16, 0
encryptionKey = Buffer.concat [Buffer.from(config.encr... |
[
{
"context": "art of butterfly\n#\n# butterfly Copyright (C) 2014 Florian Mounier\n# This program is free software: you can redistri",
"end": 106,
"score": 0.9998416900634766,
"start": 91,
"tag": "NAME",
"value": "Florian Mounier"
}
] | components/butterfly/selection.coffee | kornalius/termos | 0 | # *-* coding: utf-8 *-*
# This file is part of butterfly
#
# butterfly Copyright (C) 2014 Florian Mounier
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (... | 99305 | # *-* coding: utf-8 *-*
# This file is part of butterfly
#
# butterfly Copyright (C) 2014 <NAME>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your o... | true | # *-* coding: utf-8 *-*
# This file is part of butterfly
#
# butterfly Copyright (C) 2014 PI:NAME:<NAME>END_PI
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, o... |
[
{
"context": "### Copyright (c) 2015 Magnus Leo. All rights reserved. ###\n\nutil = require('../mod",
"end": 33,
"score": 0.9998573064804077,
"start": 23,
"tag": "NAME",
"value": "Magnus Leo"
}
] | src/classes/Frame.coffee | magnusleo/Leo-Engine | 1 | ### Copyright (c) 2015 Magnus Leo. All rights reserved. ###
util = require('../modules/util')
module.exports =
class Frame
constructor: (data) -> # Frame::constructor
defaultData =
x: 0
y: 0
w: 16
h: 16
offsetX: 0
offsetY: 0
... | 612 | ### Copyright (c) 2015 <NAME>. All rights reserved. ###
util = require('../modules/util')
module.exports =
class Frame
constructor: (data) -> # Frame::constructor
defaultData =
x: 0
y: 0
w: 16
h: 16
offsetX: 0
offsetY: 0
... | true | ### Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved. ###
util = require('../modules/util')
module.exports =
class Frame
constructor: (data) -> # Frame::constructor
defaultData =
x: 0
y: 0
w: 16
h: 16
offsetX: 0
offsetY: ... |
[
{
"context": "uper summary'\n attendees: [email: 'random@isp.tld']\n wrapper = -> alarm = new VAlarm opt",
"end": 1907,
"score": 0.9998852610588074,
"start": 1893,
"tag": "EMAIL",
"value": "random@isp.tld"
},
{
"context": "uper summary'\n atte... | test/valarm.coffee | RubenVerborgh/cozy-ical | 25 | should = require 'should'
{VAlarm} = require '../src/index'
{MissingFieldError, FieldConflictError, InvalidValueError} = require '../src/errors'
describe "vAlarm", ->
describe "Validation", ->
it "should throw an error if a mandatory property 'action' is missing", ->
options =
... | 114452 | should = require 'should'
{VAlarm} = require '../src/index'
{MissingFieldError, FieldConflictError, InvalidValueError} = require '../src/errors'
describe "vAlarm", ->
describe "Validation", ->
it "should throw an error if a mandatory property 'action' is missing", ->
options =
... | true | should = require 'should'
{VAlarm} = require '../src/index'
{MissingFieldError, FieldConflictError, InvalidValueError} = require '../src/errors'
describe "vAlarm", ->
describe "Validation", ->
it "should throw an error if a mandatory property 'action' is missing", ->
options =
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.998390257358551,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-agent-destroyed-socket.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... | 103017 | # 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": "ew cache'\n this.use express.session\n secret: \"178ce3955bc39def93274c384eec7b\", \n key: 'plop.sid' \n store: sessionStor",
"end": 1230,
"score": 0.9972856044769287,
"start": 1200,
"tag": "KEY",
"value": "178ce3955bc39def93274c384eec7b"
},
{
"context": "r... | src/app.coffee | robertothais/plop-web | 0 | require '../lib/config'
express = require 'express'
templates = require '../lib/templates'
Post = require('../lib/post').model
SocketApp = require '../lib/socket_app'
SocketRedisStore = require 'socket.io/lib/stores/redis'
ConnectRedisStore = new require('connect-redis')(express)
sessionStore = new Co... | 101774 | require '../lib/config'
express = require 'express'
templates = require '../lib/templates'
Post = require('../lib/post').model
SocketApp = require '../lib/socket_app'
SocketRedisStore = require 'socket.io/lib/stores/redis'
ConnectRedisStore = new require('connect-redis')(express)
sessionStore = new Co... | true | require '../lib/config'
express = require 'express'
templates = require '../lib/templates'
Post = require('../lib/post').model
SocketApp = require '../lib/socket_app'
SocketRedisStore = require 'socket.io/lib/stores/redis'
ConnectRedisStore = new require('connect-redis')(express)
sessionStore = new Co... |
[
{
"context": ": 'Letterbox'\n ,\n id: 11\n name: 'Wherigo'\n ,\n id: 137\n name: 'Earth Cache",
"end": 359,
"score": 0.770336925983429,
"start": 352,
"tag": "NAME",
"value": "Wherigo"
},
{
"context": " =\n Code: 'GC1BAZ8'\n Name... | storage/test/unit-poi.coffee | foobert/gc | 1 | {expect} = require 'chai'
poi = require '../lib/poi/format'
describe 'poi', ->
gc = null
sizes = ['Other', 'Not Specified', 'Micro', 'Small', 'Regular', 'Large']
types = [
id: 2
name: 'Traditional'
,
id: 3
name: 'Multi'
,
id: 5
name: 'Letterbox'
... | 74103 | {expect} = require 'chai'
poi = require '../lib/poi/format'
describe 'poi', ->
gc = null
sizes = ['Other', 'Not Specified', 'Micro', 'Small', 'Regular', 'Large']
types = [
id: 2
name: 'Traditional'
,
id: 3
name: 'Multi'
,
id: 5
name: 'Letterbox'
... | true | {expect} = require 'chai'
poi = require '../lib/poi/format'
describe 'poi', ->
gc = null
sizes = ['Other', 'Not Specified', 'Micro', 'Small', 'Regular', 'Large']
types = [
id: 2
name: 'Traditional'
,
id: 3
name: 'Multi'
,
id: 5
name: 'Letterbox'
... |
[
{
"context": "name isnt me?.username\n userDiff.username = username\n\n if email and email isnt me?.email\n ",
"end": 5628,
"score": 0.9954946637153625,
"start": 5620,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\n\n if newPassword\n userDif... | src/components/edit_profile/index.coffee | FreeRoamApp/free-roam | 14 | z = require 'zorium'
RxReplaySubject = require('rxjs/ReplaySubject').ReplaySubject
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
Avatar = require '../avatar'
Icon = require '../icon'
EditProfileAbout = require '../edit_profile_about'
EditProfileGeneral = require '../edit_profile_general'
EditProf... | 107703 | z = require 'zorium'
RxReplaySubject = require('rxjs/ReplaySubject').ReplaySubject
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
Avatar = require '../avatar'
Icon = require '../icon'
EditProfileAbout = require '../edit_profile_about'
EditProfileGeneral = require '../edit_profile_general'
EditProf... | true | z = require 'zorium'
RxReplaySubject = require('rxjs/ReplaySubject').ReplaySubject
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
Avatar = require '../avatar'
Icon = require '../icon'
EditProfileAbout = require '../edit_profile_about'
EditProfileGeneral = require '../edit_profile_general'
EditProf... |
[
{
"context": "# svg.draggable.js 0.1.0 - Copyright (c) 2014 Wout Fierens - Licensed under the MIT license\n# extended by Fl",
"end": 58,
"score": 0.9998487234115601,
"start": 46,
"tag": "NAME",
"value": "Wout Fierens"
},
{
"context": "ens - Licensed under the MIT license\n# extended ... | src/ext/svg-draggable.coffee | ocxtal/curve | 53 | # svg.draggable.js 0.1.0 - Copyright (c) 2014 Wout Fierens - Licensed under the MIT license
# extended by Florian Loch
#
# Modified by benogle
# * It's now using translations for moves, rather than the move() method
# * I removed a bunch of features I didnt need
SVG = require '../../vendor/svg'
TranslateRegex = /tran... | 156594 | # svg.draggable.js 0.1.0 - Copyright (c) 2014 <NAME> - Licensed under the MIT license
# extended by <NAME>
#
# Modified by benogle
# * It's now using translations for moves, rather than the move() method
# * I removed a bunch of features I didnt need
SVG = require '../../vendor/svg'
TranslateRegex = /translate\(([-0-... | true | # svg.draggable.js 0.1.0 - Copyright (c) 2014 PI:NAME:<NAME>END_PI - Licensed under the MIT license
# extended by PI:NAME:<NAME>END_PI
#
# Modified by benogle
# * It's now using translations for moves, rather than the move() method
# * I removed a bunch of features I didnt need
SVG = require '../../vendor/svg'
Transl... |
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998586773872375,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
}
] | src/app/components/phone/PhoneService.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# 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 l... | 127348 | # Copyright (c) 2015 naymspace software (<NAME>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # Copyright (c) 2015 naymspace software (PI:NAME:<NAME>END_PI)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": "nd their coat darkens.\n '''\n\n scientificName: '(Hippotragus niger)'\n mainImage: 'assets/fieldguide-content/mammals",
"end": 584,
"score": 0.9998854994773865,
"start": 567,
"tag": "NAME",
"value": "Hippotragus niger"
}
] | app/lib/field-guide-content/sable_antelope.coffee | zooniverse/snapshot-wisconsin | 0 | module.exports =
description: '''
The sable antelope is a rotund, barrel-chested antelope with a short neck, long face, and dark mane. They are best known for their impressive ringed horns that rise vertically and curve backward. Sable antelopes have a short, glossy coat that appears black in males and sorrel to ... | 150831 | module.exports =
description: '''
The sable antelope is a rotund, barrel-chested antelope with a short neck, long face, and dark mane. They are best known for their impressive ringed horns that rise vertically and curve backward. Sable antelopes have a short, glossy coat that appears black in males and sorrel to ... | true | module.exports =
description: '''
The sable antelope is a rotund, barrel-chested antelope with a short neck, long face, and dark mane. They are best known for their impressive ringed horns that rise vertically and curve backward. Sable antelopes have a short, glossy coat that appears black in males and sorrel to ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.999911904335022,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/user-verification.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 @UserVerification
constructor: ->
addEventListener 'turbolinks:load', @setModal
$(document).on 'ajax:error', @showOnError
$(d... | 128136 | # 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 @UserVerification
constructor: ->
addEventListener 'turbolinks:load', @setModal
$(document).on 'ajax:error', @showOnError
$(document... | 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 @UserVerification
constructor: ->
addEventListener 'turbolinks:load', @setModal
$(document).on 'ajax:error', @showOnError... |
[
{
"context": "rname = process.env.HUBOT_JIRA_USERNAME\njiraPass = process.env.HUBOT_JIRA_PASS\ninfobipUsername = process.env.HUB",
"end": 69,
"score": 0.8244248032569885,
"start": 58,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "T_JIRA_USERNAME\njiraPass = process.env.H... | dodrandom.coffee | infobip/infobip-slackbot-scripts | 0 | jiraUsername = process.env.HUBOT_JIRA_USERNAME
jiraPass = process.env.HUBOT_JIRA_PASS
infobipUsername = process.env.HUBOT_IB_USERNAME
infobipPass = process.env.HUBOT_IB_PASS
users = {
"denis.cutic": {
jira: "dcutic",
},
josip: {
jira: "jantolis",
},
mmatosevic: {
jira: "mmatosevic",
},
mbrunc... | 175444 | jiraUsername = process.env.HUBOT_JIRA_USERNAME
jiraPass = <PASSWORD>.HUBOT_JIRA_<PASSWORD>
infobipUsername = process.env.HUBOT_IB_USERNAME
infobipPass = process.env.HUBOT_IB_PASS
users = {
"denis.cutic": {
jira: "dcutic",
},
josip: {
jira: "jantolis",
},
mmatosevic: {
jira: "mmatosevic",
},
m... | true | jiraUsername = process.env.HUBOT_JIRA_USERNAME
jiraPass = PI:PASSWORD:<PASSWORD>END_PI.HUBOT_JIRA_PI:PASSWORD:<PASSWORD>END_PI
infobipUsername = process.env.HUBOT_IB_USERNAME
infobipPass = process.env.HUBOT_IB_PASS
users = {
"denis.cutic": {
jira: "dcutic",
},
josip: {
jira: "jantolis",
},
mmatosevic... |
[
{
"context": "sage has been sent successfully.'\n name: 'Your Name'\n company: 'Company name'\n email: ",
"end": 1446,
"score": 0.9962055683135986,
"start": 1437,
"tag": "NAME",
"value": "Your Name"
},
{
"context": "raphic groups.\n\"\"\"\n two:\n ... | src/app/i18n/en.coffee | easle-green/p2p | 0 | angular.module 'landing'
.config ($translateProvider) ->
$translateProvider.preferredLanguage 'en'
$translateProvider.translations 'en',
menu:
about: 'Our advantages'
clients: 'Clients about us'
feedback: 'Feedback'
languageImg: """
<img src="/assets/images/v2/sli... | 215160 | angular.module 'landing'
.config ($translateProvider) ->
$translateProvider.preferredLanguage 'en'
$translateProvider.translations 'en',
menu:
about: 'Our advantages'
clients: 'Clients about us'
feedback: 'Feedback'
languageImg: """
<img src="/assets/images/v2/sli... | true | angular.module 'landing'
.config ($translateProvider) ->
$translateProvider.preferredLanguage 'en'
$translateProvider.translations 'en',
menu:
about: 'Our advantages'
clients: 'Clients about us'
feedback: 'Feedback'
languageImg: """
<img src="/assets/images/v2/sli... |
[
{
"context": "point).host\n endpoint: endpoint\n name: @robot.name\n access_token: accessToken\n proxyURL: pro",
"end": 1917,
"score": 0.6498143076896667,
"start": 1906,
"tag": "USERNAME",
"value": "@robot.name"
},
{
"context": "oint\n name: @robot.name\n ... | src/direct.coffee | lisb/hubot-direct | 1 |
# customize
endpoint = process.env.HUBOT_DIRECT_ENDPOINT ? "wss://api.direct4b.com/albero-app-server/api"
accessToken = process.env.HUBOT_DIRECT_TOKEN
proxyURL = process.env.HUBOT_DIRECT_PROXY_URL or process.env.HTTPS_PROXY or process.env.HTTP_PROXY
talkWithBot = process.env.HUBOT_DIRECT_TALKWITHBOT
storage_path = pro... | 89825 |
# customize
endpoint = process.env.HUBOT_DIRECT_ENDPOINT ? "wss://api.direct4b.com/albero-app-server/api"
accessToken = process.env.HUBOT_DIRECT_TOKEN
proxyURL = process.env.HUBOT_DIRECT_PROXY_URL or process.env.HTTPS_PROXY or process.env.HTTP_PROXY
talkWithBot = process.env.HUBOT_DIRECT_TALKWITHBOT
storage_path = pro... | true |
# customize
endpoint = process.env.HUBOT_DIRECT_ENDPOINT ? "wss://api.direct4b.com/albero-app-server/api"
accessToken = process.env.HUBOT_DIRECT_TOKEN
proxyURL = process.env.HUBOT_DIRECT_PROXY_URL or process.env.HTTPS_PROXY or process.env.HTTP_PROXY
talkWithBot = process.env.HUBOT_DIRECT_TALKWITHBOT
storage_path = pro... |
[
{
"context": "calhost'\n username: process.env.USERNAME || 'admin'\n password: process.env.PASSWORD || '9999'\n ",
"end": 322,
"score": 0.9957298636436462,
"start": 317,
"tag": "USERNAME",
"value": "admin"
},
{
"context": " 'admin'\n password: process.env.PASSWORD || '... | test/events.coffee | vvvait/onvif | 1 | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
describe 'Events', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: process.env.USERNAME || 'adm... | 168602 | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
describe 'Events', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: process.env.USERNAME || 'adm... | true | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
describe 'Events', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: process.env.USERNAME || 'adm... |
[
{
"context": "\t\t\tformElements: [{\n\t\t\t\t\ttype: \"text\"\n\t\t\t\t\tname: \"New Name\"\n\t\t\t\t\tvalue: oldName\n\t\t\t\t\tvalidation: (value",
"end": 1234,
"score": 0.7041500806808472,
"start": 1231,
"tag": "NAME",
"value": "New"
}
] | src/scripts/directives/menubar.coffee | rizziemma/apo | 0 | ###
This is the menubar directive and its controller.
It is used to show net sensitive menus and submenus above the editor.
###
class MenubarController extends Controller
constructor: ($mdDialog, netStorageService, $state, aptService, $http, formDialogService, converterService, $timeout, $rootScope) ->
# Show
... | 70584 | ###
This is the menubar directive and its controller.
It is used to show net sensitive menus and submenus above the editor.
###
class MenubarController extends Controller
constructor: ($mdDialog, netStorageService, $state, aptService, $http, formDialogService, converterService, $timeout, $rootScope) ->
# Show
... | true | ###
This is the menubar directive and its controller.
It is used to show net sensitive menus and submenus above the editor.
###
class MenubarController extends Controller
constructor: ($mdDialog, netStorageService, $state, aptService, $http, formDialogService, converterService, $timeout, $rootScope) ->
# Show
... |
[
{
"context": "Fields = false\n _.each ['current_password', 'password', 'confirm_password'], (fieldName) ->\n $sc",
"end": 1654,
"score": 0.6489081978797913,
"start": 1646,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "se\n _.each ['current_password', 'passw... | ui/app/components/profile-settings-page/profile-settings-page.coffee | Metaburn/cobudget | 1 | module.exports =
resolve:
userValidated: ($auth) ->
$auth.validateUser()
membershipsLoaded: ->
global.cobudgetApp.membershipsLoaded
url: '/profile_settings?previous_group_id'
template: require('./profile-settings-page.html')
reloadOnSearch: false
controller: (CurrentUser, Dialog, $location... | 14104 | module.exports =
resolve:
userValidated: ($auth) ->
$auth.validateUser()
membershipsLoaded: ->
global.cobudgetApp.membershipsLoaded
url: '/profile_settings?previous_group_id'
template: require('./profile-settings-page.html')
reloadOnSearch: false
controller: (CurrentUser, Dialog, $location... | true | module.exports =
resolve:
userValidated: ($auth) ->
$auth.validateUser()
membershipsLoaded: ->
global.cobudgetApp.membershipsLoaded
url: '/profile_settings?previous_group_id'
template: require('./profile-settings-page.html')
reloadOnSearch: false
controller: (CurrentUser, Dialog, $location... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999143481254578,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/contest-entry.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { UserEntryList } from './contest-entry/user-entry-list'
propsFunction = ->
data = osu.parseJson('json-contest')
userEntries = osu.pa... | 67153 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { UserEntryList } from './contest-entry/user-entry-list'
propsFunction = ->
data = osu.parseJson('json-contest')
userEntries = osu.parseJson... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { UserEntryList } from './contest-entry/user-entry-list'
propsFunction = ->
data = osu.parseJson('json-contest')
userEntries ... |
[
{
"context": ": (event, template) ->\n name = template.find('#userName').value\n email = template.find('#userEmail').v",
"end": 149,
"score": 0.9861935973167419,
"start": 141,
"tag": "USERNAME",
"value": "userName"
},
{
"context": "ts.createUser {\n email: email\n pas... | src/packages/carpool-view-map/profilePanel.coffee | ArnoldasSid/vilnius-carpool | 11 | Template.profilePanel.events
'click .accordion': (event, template) ->
'click .register': (event, template) ->
name = template.find('#userName').value
email = template.find('#userEmail').value
password = template.find('#userPassword').value
if !Match.test(name, NonEmptyString)
return Session.se... | 164158 | Template.profilePanel.events
'click .accordion': (event, template) ->
'click .register': (event, template) ->
name = template.find('#userName').value
email = template.find('#userEmail').value
password = template.find('#userPassword').value
if !Match.test(name, NonEmptyString)
return Session.se... | true | Template.profilePanel.events
'click .accordion': (event, template) ->
'click .register': (event, template) ->
name = template.find('#userName').value
email = template.find('#userEmail').value
password = template.find('#userPassword').value
if !Match.test(name, NonEmptyString)
return Session.se... |
[
{
"context": " return done(err) if err\n coll.find({name: 'tobi'}).count (err, count) ->\n return done(err)",
"end": 546,
"score": 0.7141864895820618,
"start": 542,
"tag": "NAME",
"value": "tobi"
},
{
"context": "ount.should.be.equal 1\n\n coll.find({name: 'loki'}... | test/fromdir.coffee | SquantoInc/mongodb-migrations | 0 | path = require 'path'
mm = require '../src/mongodb-migrations'
testsCommon = require './common'
describe 'Migrator from Directory', ->
migrator = null
db = null
coll = null
beforeEach (done) ->
testsCommon.beforeEach (res) ->
{migrator, db} = res
coll = db.collection 'test'
coll.deleteMa... | 225327 | path = require 'path'
mm = require '../src/mongodb-migrations'
testsCommon = require './common'
describe 'Migrator from Directory', ->
migrator = null
db = null
coll = null
beforeEach (done) ->
testsCommon.beforeEach (res) ->
{migrator, db} = res
coll = db.collection 'test'
coll.deleteMa... | true | path = require 'path'
mm = require '../src/mongodb-migrations'
testsCommon = require './common'
describe 'Migrator from Directory', ->
migrator = null
db = null
coll = null
beforeEach (done) ->
testsCommon.beforeEach (res) ->
{migrator, db} = res
coll = db.collection 'test'
coll.deleteMa... |
[
{
"context": "{_} = require 'underscore'\n\nLOG_KEY = \"log\"\nLOG_MAX = 100\nredis = require('./redis')\n\nlog = ",
"end": 42,
"score": 0.8753577470779419,
"start": 39,
"tag": "KEY",
"value": "log"
}
] | server/logger.coffee | sarenji/pokebattle-sim | 5 | {_} = require 'underscore'
LOG_KEY = "log"
LOG_MAX = 100
redis = require('./redis')
log = (message, context={}, next) ->
context = _.extend({}, @context, context)
obj = {message, context}
objStr = JSON.stringify(obj)
redis.lpush LOG_KEY, objStr, (err) ->
return next(err) if err
redis.ltrim LOG_KEY, 0... | 169488 | {_} = require 'underscore'
LOG_KEY = "<KEY>"
LOG_MAX = 100
redis = require('./redis')
log = (message, context={}, next) ->
context = _.extend({}, @context, context)
obj = {message, context}
objStr = JSON.stringify(obj)
redis.lpush LOG_KEY, objStr, (err) ->
return next(err) if err
redis.ltrim LOG_KEY,... | true | {_} = require 'underscore'
LOG_KEY = "PI:KEY:<KEY>END_PI"
LOG_MAX = 100
redis = require('./redis')
log = (message, context={}, next) ->
context = _.extend({}, @context, context)
obj = {message, context}
objStr = JSON.stringify(obj)
redis.lpush LOG_KEY, objStr, (err) ->
return next(err) if err
redis.l... |
[
{
"context": "ull\n\t\t\t\tsocket.emit 'add message',\n\t\t\t\t\tauthor : 'Arbiter'\n\t\t\t\t\tmessage : 'How I wish to see you play! Unfo",
"end": 2075,
"score": 0.7156758904457092,
"start": 2068,
"tag": "USERNAME",
"value": "Arbiter"
},
{
"context": "l.'\n\t\t\t\tsocket.emit 'add m... | apps/sockets.coffee | octodoodle/salpakan-online | 1 | sockets = (server) ->
# server-side using socket.io
io = require('socket.io').listen server
io.set 'log level', 1
# assuming io is the Socket.IO server object
io.set 'transports', ['xhr-polling']
io.set 'polling-duration', 10
# # TESTING AUTH
# io.set 'authorization', (handshakeData, accept) ->
# if handsh... | 106544 | sockets = (server) ->
# server-side using socket.io
io = require('socket.io').listen server
io.set 'log level', 1
# assuming io is the Socket.IO server object
io.set 'transports', ['xhr-polling']
io.set 'polling-duration', 10
# # TESTING AUTH
# io.set 'authorization', (handshakeData, accept) ->
# if handsh... | true | sockets = (server) ->
# server-side using socket.io
io = require('socket.io').listen server
io.set 'log level', 1
# assuming io is the Socket.IO server object
io.set 'transports', ['xhr-polling']
io.set 'polling-duration', 10
# # TESTING AUTH
# io.set 'authorization', (handshakeData, accept) ->
# if handsh... |
[
{
"context": "ub.io/grunt-docc-multi\n#\n# Copyright (©) 2013 Joe Mathews (abovethewater)\n# Licensed under the [MIT](http:/",
"end": 112,
"score": 0.9998596906661987,
"start": 101,
"tag": "NAME",
"value": "Joe Mathews"
}
] | Gruntfile.coffee | gruntjs-updater/grunt-docco-multi | 0 | #
# grunt-docco-multi
# https://abovethewater.github.io/grunt-docc-multi
#
# Copyright (©) 2013 Joe Mathews (abovethewater)
# Licensed under the [MIT](http://abovethewater.mit-license.org) licence
#
# # grunt-docco-multi
module.exports = (grunt) ->
grunt.initConfig
docco:
# ## use current sane defa... | 97784 | #
# grunt-docco-multi
# https://abovethewater.github.io/grunt-docc-multi
#
# Copyright (©) 2013 <NAME> (abovethewater)
# Licensed under the [MIT](http://abovethewater.mit-license.org) licence
#
# # grunt-docco-multi
module.exports = (grunt) ->
grunt.initConfig
docco:
# ## use current sane defaults
... | true | #
# grunt-docco-multi
# https://abovethewater.github.io/grunt-docc-multi
#
# Copyright (©) 2013 PI:NAME:<NAME>END_PI (abovethewater)
# Licensed under the [MIT](http://abovethewater.mit-license.org) licence
#
# # grunt-docco-multi
module.exports = (grunt) ->
grunt.initConfig
docco:
# ## use current ... |
[
{
"context": "uses current time as seed\n # Uses Knuth and Lewis' improvements to Park and Miller's LCPRNG\n ",
"end": 150,
"score": 0.6433900594711304,
"start": 148,
"tag": "NAME",
"value": "ew"
}
] | bokehjs/src/coffee/common/random.coffee | hhuuggoo/bokeh | 2 |
define [], () ->
class Random
constructor: (@seed) ->
# If created without a seed, uses current time as seed
# Uses Knuth and Lewis' improvements to Park and Miller's LCPRNG
@multiplier = 1664525
@modulo = 4294967296 # 2**32-1;
@offset = 1013904223
unless @seed? && 0 <= seed... | 72417 |
define [], () ->
class Random
constructor: (@seed) ->
# If created without a seed, uses current time as seed
# Uses Knuth and L<NAME>is' improvements to Park and Miller's LCPRNG
@multiplier = 1664525
@modulo = 4294967296 # 2**32-1;
@offset = 1013904223
unless @seed? && 0 <= ... | true |
define [], () ->
class Random
constructor: (@seed) ->
# If created without a seed, uses current time as seed
# Uses Knuth and LPI:NAME:<NAME>END_PIis' improvements to Park and Miller's LCPRNG
@multiplier = 1664525
@modulo = 4294967296 # 2**32-1;
@offset = 1013904223
unless @... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988886713981628,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-init.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... | 205768 | # 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": "rint(b is 20)\nprint(c is 30)\n\n\nperson: {\n name: \"Bob\"\n family: {\n brother: {\n addresses: [\n ",
"end": 259,
"score": 0.9992892146110535,
"start": 256,
"tag": "NAME",
"value": "Bob"
},
{
"context": "dresses: [one, {city: b}]}}}: person\n\nprint(a is ... | test/fixtures/execution/test_destructuring_assignment.coffee | tlrobinson/coffee-script | 1 | a: -1
b: -2
[a, b]: [b, a]
print(a is -2)
print(b is -1)
arr: [1, 2, 3]
[a, b, c]: arr
print(a is 1)
print(b is 2)
print(c is 3)
obj: {x: 10, y: 20, z: 30}
{x: a, y: b, z: c}: obj
print(a is 10)
print(b is 20)
print(c is 30)
person: {
name: "Bob"
family: {
brother: {
addresses: [
"firs... | 18929 | a: -1
b: -2
[a, b]: [b, a]
print(a is -2)
print(b is -1)
arr: [1, 2, 3]
[a, b, c]: arr
print(a is 1)
print(b is 2)
print(c is 3)
obj: {x: 10, y: 20, z: 30}
{x: a, y: b, z: c}: obj
print(a is 10)
print(b is 20)
print(c is 30)
person: {
name: "<NAME>"
family: {
brother: {
addresses: [
"f... | true | a: -1
b: -2
[a, b]: [b, a]
print(a is -2)
print(b is -1)
arr: [1, 2, 3]
[a, b, c]: arr
print(a is 1)
print(b is 2)
print(c is 3)
obj: {x: 10, y: 20, z: 30}
{x: a, y: b, z: c}: obj
print(a is 10)
print(b is 20)
print(c is 30)
person: {
name: "PI:NAME:<NAME>END_PI"
family: {
brother: {
addresses... |
[
{
"context": "EGIN PGP PRIVATE KEY BLOCK-----\nVersion: GnuPG v2\n\nlgAAAQYEVcxneRMJKyQDAwIIAQENBAMEKTuXDuEoTy1rG7iUm/llXg28H7xTPS+R\nROnsD6h2Kh6iy15YR2m1YIJuIhx5RYYyE2KNn89PXToah1//+9uSRh2e+TveGkuE\nPd4Hu8LFBP2ofXxk5D2f3vmjoyOhNUEe+9uaSftFZmLs/r4oaZ/u8eGlx7s47wRS\nG2kPDKUO6/D+BwMCMMuaL5lfhQ3Rj8R0akKIcueYulMCQg... | test/files/brainpool512.iced | samkenxstream/kbpgp | 464 | {KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
km = null
top = require '../../lib/main'
#=================================================================
exports.import_brainpool512_key_with_private_gen_by_gnupg = (T, cb) ->
... | 8600 | {KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
km = null
top = require '../../lib/main'
#=================================================================
exports.import_brainpool512_key_with_private_gen_by_gnupg = (T, cb) ->
... | true | {KeyManager} = require '../../lib/main'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
km = null
top = require '../../lib/main'
#=================================================================
exports.import_brainpool512_key_with_private_gen_by_gnupg = (T, cb) ->
... |
[
{
"context": "sage\": @message\n options =\n to:\n email: \"help@kindzy.com\"\n name: \"Kindzy\"\n surname: \"Help\"\n s",
"end": 281,
"score": 0.9999244809150696,
"start": 266,
"tag": "EMAIL",
"value": "help@kindzy.com"
},
{
"context": " to:\n email: \"he... | models/invite_request.coffee | doomhz/daycare_social_platform | 3 | InviteRequestSchema = new Schema
email:
type: String
message:
type: String
created_at:
type: Date
default: Date.now
InviteRequestSchema.methods.send = ()->
data =
"email": @email
"message": @message
options =
to:
email: "help@kindzy.com"
name: "Kindzy"
surname: "... | 152496 | InviteRequestSchema = new Schema
email:
type: String
message:
type: String
created_at:
type: Date
default: Date.now
InviteRequestSchema.methods.send = ()->
data =
"email": @email
"message": @message
options =
to:
email: "<EMAIL>"
name: "<NAME>"
surname: "<NAME>"
... | true | InviteRequestSchema = new Schema
email:
type: String
message:
type: String
created_at:
type: Date
default: Date.now
InviteRequestSchema.methods.send = ()->
data =
"email": @email
"message": @message
options =
to:
email: "PI:EMAIL:<EMAIL>END_PI"
name: "PI:NAME:<NAME>END... |
[
{
"context": " = null\n\n setup ->\n data =\n first_name: \"Asterix\",\n last_name: \"Gaul\",\n is_active: \"Ano\"",
"end": 124,
"score": 0.9997790455818176,
"start": 117,
"tag": "NAME",
"value": "Asterix"
},
{
"context": " =\n first_name: \"Asterix\",\n ... | wzk/resource/Model_test.coffee | vojtatranta/werkzeug | 1 | suite 'wzk.resource.Model', ->
Model = wzk.resource.Model
data = null
setup ->
data =
first_name: "Asterix",
last_name: "Gaul",
is_active: "Ano",
id: "1",
role: "Superuser",
is_verified: "Ne",
email: "asterix@rychmat.eu"
test 'Should return _obj_name when convert... | 96826 | suite 'wzk.resource.Model', ->
Model = wzk.resource.Model
data = null
setup ->
data =
first_name: "<NAME>",
last_name: "<NAME>",
is_active: "Ano",
id: "1",
role: "Superuser",
is_verified: "Ne",
email: "<EMAIL>"
test 'Should return _obj_name when converting into s... | true | suite 'wzk.resource.Model', ->
Model = wzk.resource.Model
data = null
setup ->
data =
first_name: "PI:NAME:<NAME>END_PI",
last_name: "PI:NAME:<NAME>END_PI",
is_active: "Ano",
id: "1",
role: "Superuser",
is_verified: "Ne",
email: "PI:EMAIL:<EMAIL>END_PI"
test 'Sho... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http",
"end": 63,
"score": 0.5833407640457153,
"start": 62,
"tag": "NAME",
"value": "H"
}
] | src/ComponentSelector.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./Component'
'./Container'
], (dou, Component, Container) ->
"use strict"
match_by_id = (sel... | 45801 | # ==========================================
# Copyright 2014 <NAME>atio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./Component'
'./Container'
], (dou, Component, Container) ->
"use strict"
match_by_id =... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PIatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./Component'
'./Container'
], (dou, Component, Container) ->
"use strict"
... |
[
{
"context": "meta:\n name: \"shiptag\"\n version: \"2019/12/16/01\"\n\ndata:\n mapname: [\n ",
"end": 22,
"score": 0.7198088765144348,
"start": 15,
"tag": "NAME",
"value": "shiptag"
}
] | fcd/shiptag.cson | Artoria-0x04/poi | 0 | meta:
name: "shiptag"
version: "2019/12/16/01"
data:
mapname: [
"E1"
"E2"
"E3"
"E4"
"E5"
"E6"
]
color: [
"#F48FB1"
"#03A9F4"
"#3F51B5"
"#8BC34A"
"#BDBDBD"
"#FFCA28"
]
fleetname:
"zh-CN": [
"攻略护卫队"
"空袭部队"
"兰印部队"
"马来部队"
"哨戒部队... | 77512 | meta:
name: "<NAME>"
version: "2019/12/16/01"
data:
mapname: [
"E1"
"E2"
"E3"
"E4"
"E5"
"E6"
]
color: [
"#F48FB1"
"#03A9F4"
"#3F51B5"
"#8BC34A"
"#BDBDBD"
"#FFCA28"
]
fleetname:
"zh-CN": [
"攻略护卫队"
"空袭部队"
"兰印部队"
"马来部队"
"哨戒部队"... | true | meta:
name: "PI:NAME:<NAME>END_PI"
version: "2019/12/16/01"
data:
mapname: [
"E1"
"E2"
"E3"
"E4"
"E5"
"E6"
]
color: [
"#F48FB1"
"#03A9F4"
"#3F51B5"
"#8BC34A"
"#BDBDBD"
"#FFCA28"
]
fleetname:
"zh-CN": [
"攻略护卫队"
"空袭部队"
"兰印部队"
"马来部队... |
[
{
"context": "# Subject.coffee\n# Tomasz (Tomek) Zemla\n# tomek@datacratic.com\n\n# Abstract ba",
"end": 25,
"score": 0.9920719265937805,
"start": 19,
"tag": "NAME",
"value": "Tomasz"
},
{
"context": "# Subject.coffee\n# Tomasz (Tomek) Zemla\n# tomek@datacratic.com\n\n# Abstract base... | src/Subject.coffee | SachithDassanayaka/sachithdassanayaka.github.io | 0 | # Subject.coffee
# Tomasz (Tomek) Zemla
# tomek@datacratic.com
# Abstract base class for all subjects in the Observer pattern for passing events.
# Subject provides interface for attaching and detaching Observer objects.
class Subject
# M E M B E R S
observers : null # list of listeners
# C O N S T R U C... | 152651 | # Subject.coffee
# <NAME> (<NAME>
# <EMAIL>
# Abstract base class for all subjects in the Observer pattern for passing events.
# Subject provides interface for attaching and detaching Observer objects.
class Subject
# M E M B E R S
observers : null # list of listeners
# C O N S T R U C T O R
construc... | true | # Subject.coffee
# PI:NAME:<NAME>END_PI (PI:NAME:<NAME>END_PI
# PI:EMAIL:<EMAIL>END_PI
# Abstract base class for all subjects in the Observer pattern for passing events.
# Subject provides interface for attaching and detaching Observer objects.
class Subject
# M E M B E R S
observers : null # list of listener... |
[
{
"context": "messageFormSchemaUrl\n logo: @logo\n name: @name\n owner: params.owner\n configureWhit",
"end": 790,
"score": 0.6240519881248474,
"start": 790,
"tag": "NAME",
"value": ""
},
{
"context": "ssageFormSchemaUrl\n logo: @logo\n name: @name\n ... | src/models/credential-device-manager.coffee | octoblu/little-bits-cloud-proxy | 0 | _ = require 'lodash'
class CredentialDeviceManager
constructor: (@options, @meshbluConfig, dependencies={}) ->
@type = @options.type
@logo = @options.logo
@name = @options.name
@messageSchemaUrl = @options.messageSchemaUrl
@messageFormSchemaUrl = @options.messageFormSchemaUrl
@MeshbluHttp = ... | 116128 | _ = require 'lodash'
class CredentialDeviceManager
constructor: (@options, @meshbluConfig, dependencies={}) ->
@type = @options.type
@logo = @options.logo
@name = @options.name
@messageSchemaUrl = @options.messageSchemaUrl
@messageFormSchemaUrl = @options.messageFormSchemaUrl
@MeshbluHttp = ... | true | _ = require 'lodash'
class CredentialDeviceManager
constructor: (@options, @meshbluConfig, dependencies={}) ->
@type = @options.type
@logo = @options.logo
@name = @options.name
@messageSchemaUrl = @options.messageSchemaUrl
@messageFormSchemaUrl = @options.messageFormSchemaUrl
@MeshbluHttp = ... |
[
{
"context": " port: 21\n authKey: 'union'\n\n src: '<%= src_dir %>/public_htm",
"end": 7060,
"score": 0.9977812170982361,
"start": 7055,
"tag": "KEY",
"value": "union"
}
] | Gruntfile.coffee | rrdelaney/RPO-Website | 0 | js_dependencies = [
'./bower_components/angular-bootstrap/ui-bootstrap-tpls.js:angular-bootstrap'
'./bower_components/angular-parallax/scripts/angular-parallax.js:angular-parallax'
'./bower_components/angular-ui-router/release/angular-ui-router.js:angular-ui-router'
'./bower_components/isMobile/isMobile... | 60207 | js_dependencies = [
'./bower_components/angular-bootstrap/ui-bootstrap-tpls.js:angular-bootstrap'
'./bower_components/angular-parallax/scripts/angular-parallax.js:angular-parallax'
'./bower_components/angular-ui-router/release/angular-ui-router.js:angular-ui-router'
'./bower_components/isMobile/isMobile... | true | js_dependencies = [
'./bower_components/angular-bootstrap/ui-bootstrap-tpls.js:angular-bootstrap'
'./bower_components/angular-parallax/scripts/angular-parallax.js:angular-parallax'
'./bower_components/angular-ui-router/release/angular-ui-router.js:angular-ui-router'
'./bower_components/isMobile/isMobile... |
[
{
"context": "nodes:\r\n [\r\n {'node': 1, 'name': 'Test 1'}\r\n {'node': 2, 'name': 'Test 2'}\r\n ",
"end": 133,
"score": 0.9609468579292297,
"start": 127,
"tag": "NAME",
"value": "Test 1"
},
{
"context": "'name': 'Test 1'}\r\n {'node': 2, 'name... | assets/plugins/nvd3/test/mocha/sankey.coffee | Chrissu-chan/Wifiger | 1 | describe 'NVD3', ->
describe 'Sankey Chart', ->
sampleData1 =
nodes:
[
{'node': 1, 'name': 'Test 1'}
{'node': 2, 'name': 'Test 2'}
{'node': 3, 'name': 'Test 3'}
{'node': 4, 'name': 'Test 4'}
{'node': 5, 'name': 'Test 5'}
{'node': ... | 69961 | describe 'NVD3', ->
describe 'Sankey Chart', ->
sampleData1 =
nodes:
[
{'node': 1, 'name': '<NAME>'}
{'node': 2, 'name': '<NAME>'}
{'node': 3, 'name': '<NAME>'}
{'node': 4, 'name': '<NAME> 4'}
{'node': 5, 'name': 'Test 5'}
{'node'... | true | describe 'NVD3', ->
describe 'Sankey Chart', ->
sampleData1 =
nodes:
[
{'node': 1, 'name': 'PI:NAME:<NAME>END_PI'}
{'node': 2, 'name': 'PI:NAME:<NAME>END_PI'}
{'node': 3, 'name': 'PI:NAME:<NAME>END_PI'}
{'node': 4, 'name': 'PI:NAME:<NAME>END_PI 4'}
... |
[
{
"context": " port: null\n username: null\n password: null\n database: null\n db_file: null",
"end": 760,
"score": 0.9981779456138611,
"start": 756,
"tag": "PASSWORD",
"value": "null"
}
] | app/assets/javascripts/welcome.coffee | Defman21/pisatel.rb | 1 | window.app = new Vue
el: '#app'
methods:
setup: (event) ->
event.preventDefault()
event.stopPropagation()
data = new FormData
data.append 'json', JSON.stringify @selected
fetch('/setup', {
method: 'POST',
body: data
}).then((response) -> response.json()... | 185993 | window.app = new Vue
el: '#app'
methods:
setup: (event) ->
event.preventDefault()
event.stopPropagation()
data = new FormData
data.append 'json', JSON.stringify @selected
fetch('/setup', {
method: 'POST',
body: data
}).then((response) -> response.json()... | true | window.app = new Vue
el: '#app'
methods:
setup: (event) ->
event.preventDefault()
event.stopPropagation()
data = new FormData
data.append 'json', JSON.stringify @selected
fetch('/setup', {
method: 'POST',
body: data
}).then((response) -> response.json()... |
[
{
"context": "e Music\n * @category Web Components\n * @author Nazar Mokrynskyi <nazar@mokrynskyi.com>\n * @copyright Copyright (c",
"end": 96,
"score": 0.999894380569458,
"start": 80,
"tag": "NAME",
"value": "Nazar Mokrynskyi"
},
{
"context": "y Web Components\n * @author Na... | html/cs-music-library-grouped/script.coffee | mariot/Klif-Mozika | 0 | ###*
* @package CleverStyle Music
* @category Web Components
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @copyright Copyright (c) 2014-2015, Nazar Mokrynskyi
* @license MIT License, see license.txt
###
document.webL10n.ready ->
music_library = cs.music_library
stop = false
music_library_a... | 168338 | ###*
* @package CleverStyle Music
* @category Web Components
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2014-2015, <NAME>
* @license MIT License, see license.txt
###
document.webL10n.ready ->
music_library = cs.music_library
stop = false
music_library_action = document.querySelector('c... | true | ###*
* @package CleverStyle Music
* @category Web Components
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright Copyright (c) 2014-2015, PI:NAME:<NAME>END_PI
* @license MIT License, see license.txt
###
document.webL10n.ready ->
music_library = cs.music_library
stop = false
music... |
[
{
"context": "# -*- coding: utf-8 -*-\n#\n# Copyright 2015 Roy Liu\n#\n# Licensed under the Apache License, Version 2.",
"end": 50,
"score": 0.9995968341827393,
"start": 43,
"tag": "NAME",
"value": "Roy Liu"
}
] | app/assets/javascripts/components/static_entity_image_component.coffee | carsomyr/nurf-stats | 0 | # -*- coding: utf-8 -*-
#
# Copyright 2015 Roy Liu
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 35374 | # -*- coding: utf-8 -*-
#
# Copyright 2015 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # -*- coding: utf-8 -*-
#
# Copyright 2015 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": "hannels: channels\n\t\t\tpayments: payments\n\t\t\tapiKey: Random.secret()\n\t\t\tts: new Date()\n\n\t\t_.extend product, options\n",
"end": 1042,
"score": 0.9458163380622864,
"start": 1029,
"tag": "KEY",
"value": "Random.secret"
},
{
"context": "hannels: channels\n\t\t... | packages/finlabs-payment/server/models/Product.coffee | mboozell/rocket-chat-example-package | 0 | FinLabs.models.Product = new class extends RocketChat.models._Base
constructor: ->
@_initModel 'payment_product'
@tryEnsureIndex {'name': 1}, {'unique': 1}
@tryEnsureIndex {'apiKey': 1}, {'unique': 1}
# FIND ONE
findOneById: (_id, options) ->
query =
_id: _id
return @findOne query, options
findOne... | 7766 | FinLabs.models.Product = new class extends RocketChat.models._Base
constructor: ->
@_initModel 'payment_product'
@tryEnsureIndex {'name': 1}, {'unique': 1}
@tryEnsureIndex {'apiKey': 1}, {'unique': 1}
# FIND ONE
findOneById: (_id, options) ->
query =
_id: _id
return @findOne query, options
findOne... | true | FinLabs.models.Product = new class extends RocketChat.models._Base
constructor: ->
@_initModel 'payment_product'
@tryEnsureIndex {'name': 1}, {'unique': 1}
@tryEnsureIndex {'apiKey': 1}, {'unique': 1}
# FIND ONE
findOneById: (_id, options) ->
query =
_id: _id
return @findOne query, options
findOne... |
[
{
"context": "le\n# written in [CoffeeScript](https://github.com/TheSwanFactory/hourofnode/wiki/CoffeeScript).\n#\n# Specifically, ",
"end": 136,
"score": 0.941644012928009,
"start": 122,
"tag": "USERNAME",
"value": "TheSwanFactory"
},
{
"context": "pt Object Notation or\n# [CSON](ht... | config/kiosk-config.cson | TheSwanFactory/self-service-kiosk | 0 | #
# kiosk-config.cson
#
# This is an example kiosk configuration JSON file
# written in [CoffeeScript](https://github.com/TheSwanFactory/hourofnode/wiki/CoffeeScript).
#
# Specifically, it is written in CoffeeScript Object Notation or
# [CSON](https://github.com/bevry/cson), a streamlined alternative to JSON.
#
# Our p... | 141008 | #
# kiosk-config.cson
#
# This is an example kiosk configuration JSON file
# written in [CoffeeScript](https://github.com/TheSwanFactory/hourofnode/wiki/CoffeeScript).
#
# Specifically, it is written in CoffeeScript Object Notation or
# [CSON](https://github.com/bevry/cson), a streamlined alternative to JSON.
#
# Our p... | true | #
# kiosk-config.cson
#
# This is an example kiosk configuration JSON file
# written in [CoffeeScript](https://github.com/TheSwanFactory/hourofnode/wiki/CoffeeScript).
#
# Specifically, it is written in CoffeeScript Object Notation or
# [CSON](https://github.com/bevry/cson), a streamlined alternative to JSON.
#
# Our p... |
[
{
"context": "ht for the annotator subcomponent:\n\nCopyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.\n\nPermission is",
"end": 167,
"score": 0.9998807311058044,
"start": 155,
"tag": "NAME",
"value": "Aron Carroll"
},
{
"context": "otator subcomponent:\n\nCopyright 2012 ... | app/js/loader/loader_common.coffee | cdunlap/factlink-js | 2 | ###@license
Factlink JavaScript library - https://factlink.com
Copyright (c) 2014 Factlink Team
Copyright for the annotator subcomponent:
Copyright 2012 Aron Carroll, Rufus Pollock, and Nick Stenning.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated docume... | 183709 | ###@license
Factlink JavaScript library - https://factlink.com
Copyright (c) 2014 Factlink Team
Copyright for the annotator subcomponent:
Copyright 2012 <NAME>, <NAME>, and <NAME>.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"... | true | ###@license
Factlink JavaScript library - https://factlink.com
Copyright (c) 2014 Factlink Team
Copyright for the annotator subcomponent:
Copyright 2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, and PI:NAME:<NAME>END_PI.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software... |
[
{
"context": "vanescent: a fading carousel jQuery plugin\n\t© 2014 Joel Pan\n\tjoel@ketsugi.com\n\n\tOriginally written for use wi",
"end": 65,
"score": 0.9997122883796692,
"start": 57,
"tag": "NAME",
"value": "Joel Pan"
},
{
"context": "a fading carousel jQuery plugin\n\t© 2014 Joel... | src/evanescent.coffee | ketsugi/Evanescent | 0 | ###
Evanescent: a fading carousel jQuery plugin
© 2014 Joel Pan
joel@ketsugi.com
Originally written for use with SunriseClick.com
###
(($) ->
if !$
false
Evanescent = ->
# Slider parent element
@slidesList = false
# Slides
@slides = false
# TimerID from window.setTimeout is used to clear the timer... | 104760 | ###
Evanescent: a fading carousel jQuery plugin
© 2014 <NAME>
<EMAIL>
Originally written for use with SunriseClick.com
###
(($) ->
if !$
false
Evanescent = ->
# Slider parent element
@slidesList = false
# Slides
@slides = false
# TimerID from window.setTimeout is used to clear the timer if necessa... | true | ###
Evanescent: a fading carousel jQuery plugin
© 2014 PI:NAME:<NAME>END_PI
PI:EMAIL:<EMAIL>END_PI
Originally written for use with SunriseClick.com
###
(($) ->
if !$
false
Evanescent = ->
# Slider parent element
@slidesList = false
# Slides
@slides = false
# TimerID from window.setTimeout is used ... |
[
{
"context": "==========\n# * Copyright 2013 Twitter, Inc.\n# * By Nicolas Giethlen\n#\n\n# How to use :\n# - say your plugin name is 'F",
"end": 269,
"score": 0.9998652338981628,
"start": 253,
"tag": "NAME",
"value": "Nicolas Giethlen"
}
] | app/templates/assets/coffee/plugins/jquery-plugin.coffee | Chmood/generator-wordpress-themify | 5 | "use strict"
# ========================================================================
# * BOOTSTRAP STYLE JQUERY PLUGIN TEMPLATE
# *
# * ========================================================================
# * Copyright 2013 Twitter, Inc.
# * By Nicolas Giethlen
#
# How to use :
# - say your plugin name is 'Fo... | 110952 | "use strict"
# ========================================================================
# * BOOTSTRAP STYLE JQUERY PLUGIN TEMPLATE
# *
# * ========================================================================
# * Copyright 2013 Twitter, Inc.
# * By <NAME>
#
# How to use :
# - say your plugin name is 'Foo'
# - re... | true | "use strict"
# ========================================================================
# * BOOTSTRAP STYLE JQUERY PLUGIN TEMPLATE
# *
# * ========================================================================
# * Copyright 2013 Twitter, Inc.
# * By PI:NAME:<NAME>END_PI
#
# How to use :
# - say your plugin name is... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nAttributedString = require",
"end": 35,
"score": 0.9996732473373413,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/core/item.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
AttributedString = require './attributed-string'
Constants = require './constants'
Mutation = require './mutation'
ItemPath = require './item-path'
UrlUtil = require './url-util'
_ = require 'underscore-plus'
assert = require 'assert'
# Essential: A paragraph ... | 55941 | # Copyright (c) 2015 <NAME>. All rights reserved.
AttributedString = require './attributed-string'
Constants = require './constants'
Mutation = require './mutation'
ItemPath = require './item-path'
UrlUtil = require './url-util'
_ = require 'underscore-plus'
assert = require 'assert'
# Essential: A paragraph of text ... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
AttributedString = require './attributed-string'
Constants = require './constants'
Mutation = require './mutation'
ItemPath = require './item-path'
UrlUtil = require './url-util'
_ = require 'underscore-plus'
assert = require 'assert'
# Essential: A para... |
[
{
"context": "uld.equal 19\n @poop.short_name.should.equal 'hankey'\n @poop.short_names.should.deep.equal [\"hank",
"end": 1133,
"score": 0.5525714159011841,
"start": 1127,
"tag": "NAME",
"value": "hankey"
}
] | test/emoji_char.spec.coffee | boreal-is/emoji-data-js | 71 | require 'coffee-errors'
chai = require 'chai'
sinon = require 'sinon'
# using compiled JavaScript file here to be sure module works
EmojiChar = require '../lib/emoji_char.js'
expect = chai.expect
chai.use require 'sinon-chai'
describe "EmojiChar", ->
describe ".new", ->
before ->
poop_json = '{"name":"... | 6312 | require 'coffee-errors'
chai = require 'chai'
sinon = require 'sinon'
# using compiled JavaScript file here to be sure module works
EmojiChar = require '../lib/emoji_char.js'
expect = chai.expect
chai.use require 'sinon-chai'
describe "EmojiChar", ->
describe ".new", ->
before ->
poop_json = '{"name":"... | true | require 'coffee-errors'
chai = require 'chai'
sinon = require 'sinon'
# using compiled JavaScript file here to be sure module works
EmojiChar = require '../lib/emoji_char.js'
expect = chai.expect
chai.use require 'sinon-chai'
describe "EmojiChar", ->
describe ".new", ->
before ->
poop_json = '{"name":"... |
[
{
"context": "ay…'\n '''\n It was late on a Tuesday when Mrs. Abigail Brown walked into your office. Normally, ",
"end": 2648,
"score": 0.9908825755119324,
"start": 2645,
"tag": "NAME",
"value": "Mrs"
},
{
"context": " '''\n It was late on a Tuesday when Mrs. Abig... | src/coffee/game/intro.coffee | arashikou/exper3-2015 | 0 | angular.module 'gameDefinition.introStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, start, choice, reqs, consq} = qbnEdsl
{origins} = enums
start 'lets-begin'
storylet 'lets-begin',
'It was a dark and stormy decade…'
'''
The years that followed th... | 9982 | angular.module 'gameDefinition.introStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, start, choice, reqs, consq} = qbnEdsl
{origins} = enums
start 'lets-begin'
storylet 'lets-begin',
'It was a dark and stormy decade…'
'''
The years that followed th... | true | angular.module 'gameDefinition.introStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, start, choice, reqs, consq} = qbnEdsl
{origins} = enums
start 'lets-begin'
storylet 'lets-begin',
'It was a dark and stormy decade…'
'''
The years that followed th... |
[
{
"context": "t: null\n standalone: true\n annotation_key: 'value'\n focus: true\n doneButtonLabel: 'Okay'\n ",
"end": 686,
"score": 0.7609664797782898,
"start": 681,
"tag": "KEY",
"value": "value"
}
] | app/assets/javascripts/components/verify/tools/verify-tool/index.cjsx | UMD-DCIC/scribe-deploy | 0 | React = require 'react'
DraggableModal = require '../../../draggable-modal'
GenericButton = require 'components/buttons/generic-button'
DoneButton = require 'components/buttons/done-button'
HelpButton = require 'components/buttons/help-button'
BadSubjectBut... | 193714 | React = require 'react'
DraggableModal = require '../../../draggable-modal'
GenericButton = require 'components/buttons/generic-button'
DoneButton = require 'components/buttons/done-button'
HelpButton = require 'components/buttons/help-button'
BadSubjectBut... | true | React = require 'react'
DraggableModal = require '../../../draggable-modal'
GenericButton = require 'components/buttons/generic-button'
DoneButton = require 'components/buttons/done-button'
HelpButton = require 'components/buttons/help-button'
BadSubjectBut... |
[
{
"context": "r: config.mysql.username\n password: config.mysql.password\n database: config.mysql.database\n res",
"end": 923,
"score": 0.9989217519760132,
"start": 902,
"tag": "PASSWORD",
"value": "config.mysql.password"
}
] | src/server/app.coffee | AlexNeises/Sunkern | 0 | config = require './config/config'
csv = require 'csvtojson'
express = require 'express'
http = require 'http'
moment = require 'moment'
mysql = require 'mysql'
path = require 'path'
pug = require 'pug'
socket = require 'socket.io'
timer = require 'node-schedule'
PORT = 3000
app = express(... | 172658 | config = require './config/config'
csv = require 'csvtojson'
express = require 'express'
http = require 'http'
moment = require 'moment'
mysql = require 'mysql'
path = require 'path'
pug = require 'pug'
socket = require 'socket.io'
timer = require 'node-schedule'
PORT = 3000
app = express(... | true | config = require './config/config'
csv = require 'csvtojson'
express = require 'express'
http = require 'http'
moment = require 'moment'
mysql = require 'mysql'
path = require 'path'
pug = require 'pug'
socket = require 'socket.io'
timer = require 'node-schedule'
PORT = 3000
app = express(... |
[
{
"context": " 12345678, low: 12345678 },\n displayName: 'Sample Bot',\n canonicalDisplayName: 'Sample Bot',\n ",
"end": 330,
"score": 0.8200225234031677,
"start": 320,
"tag": "USERNAME",
"value": "Sample Bot"
},
{
"context": ": { high: 336, low: -596682080 },\n ... | test/fixture.coffee | co-meeting/botdock-helper | 0 | sinon = require 'sinon'
module.exports =
# join時のレスポンス
join_response: ->
message:
done: false,
room: '_100645059_-943718400',
roomType: 1,
roomTopic: undefined,
user: {
id: '_99999999_-9999999999',
domainId: { high: 12345678, low: 12345678 },
displayName: '... | 93674 | sinon = require 'sinon'
module.exports =
# join時のレスポンス
join_response: ->
message:
done: false,
room: '_100645059_-943718400',
roomType: 1,
roomTopic: undefined,
user: {
id: '_99999999_-9999999999',
domainId: { high: 12345678, low: 12345678 },
displayName: '... | true | sinon = require 'sinon'
module.exports =
# join時のレスポンス
join_response: ->
message:
done: false,
room: '_100645059_-943718400',
roomType: 1,
roomTopic: undefined,
user: {
id: '_99999999_-9999999999',
domainId: { high: 12345678, low: 12345678 },
displayName: '... |
[
{
"context": "df', '')\n\tdeepEqual route.appUrl, 'http://example.com'\n\tdeepEqual route.params, { 'base': 'asdf' }\n",
"end": 1456,
"score": 0.8052653074264526,
"start": 1453,
"tag": "EMAIL",
"value": "com"
}
] | source/tests/services/route.js.coffee | tasuki/side-by-side | 29 | route = {}
module "route", {}
setup = (
base = 'http://example.com'
path = '/base:asdf/section:7'
hash = '#test'
) ->
angular.module("sideBySide").service("$location", ->
@path = -> path
@url = -> path + hash
@absUrl = -> base + path + hash
@
)
route = getInjector().get 'route'
test "has app url", ->
... | 32731 | route = {}
module "route", {}
setup = (
base = 'http://example.com'
path = '/base:asdf/section:7'
hash = '#test'
) ->
angular.module("sideBySide").service("$location", ->
@path = -> path
@url = -> path + hash
@absUrl = -> base + path + hash
@
)
route = getInjector().get 'route'
test "has app url", ->
... | true | route = {}
module "route", {}
setup = (
base = 'http://example.com'
path = '/base:asdf/section:7'
hash = '#test'
) ->
angular.module("sideBySide").service("$location", ->
@path = -> path
@url = -> path + hash
@absUrl = -> base + path + hash
@
)
route = getInjector().get 'route'
test "has app url", ->
... |
[
{
"context": "reenable\"\n data:\n token: token.id\n plan_id: @model.get('plan_id')\n\n ",
"end": 4308,
"score": 0.8416240215301514,
"start": 4306,
"tag": "KEY",
"value": "id"
}
] | apps/settings/components/payment_methods/view.coffee | 1aurabrown/ervell | 0 | Promise = require 'bluebird-q'
Backbone = require 'backbone'
{ extend, invoke } = require 'underscore'
{ STRIPE_PUBLISHABLE_KEY } = require('sharify').data
{ track, en, trackWithPromise } = require '../../../../lib/analytics.coffee'
styles = require './lib/styles.coffee'
CouponCodeView = require '../coupon_code/view.co... | 211371 | Promise = require 'bluebird-q'
Backbone = require 'backbone'
{ extend, invoke } = require 'underscore'
{ STRIPE_PUBLISHABLE_KEY } = require('sharify').data
{ track, en, trackWithPromise } = require '../../../../lib/analytics.coffee'
styles = require './lib/styles.coffee'
CouponCodeView = require '../coupon_code/view.co... | true | Promise = require 'bluebird-q'
Backbone = require 'backbone'
{ extend, invoke } = require 'underscore'
{ STRIPE_PUBLISHABLE_KEY } = require('sharify').data
{ track, en, trackWithPromise } = require '../../../../lib/analytics.coffee'
styles = require './lib/styles.coffee'
CouponCodeView = require '../coupon_code/view.co... |
[
{
"context": " params = @_editor.getLineParams()\n key = LineLevelParams.BULLETED\n if params[key]?\n params[key] =",
"end": 7823,
"score": 0.8721235394477844,
"start": 7799,
"tag": "KEY",
"value": "LineLevelParams.BULLETED"
}
] | src/client/rizzoma/index.coffee | HansPinckaers/ShareJS-editor | 4 | renderContainer = require('./template').renderContainer
Editor = require('./editor/editor_v2').Editor
TextLevelParams = require('./editor/model').TextLevelParams
LineLevelParams = require('./editor/model').LineLevelParams
ModelField = require('./editor/model').ModelField
ModelType = require('./editor/model').ModelType
... | 169675 | renderContainer = require('./template').renderContainer
Editor = require('./editor/editor_v2').Editor
TextLevelParams = require('./editor/model').TextLevelParams
LineLevelParams = require('./editor/model').LineLevelParams
ModelField = require('./editor/model').ModelField
ModelType = require('./editor/model').ModelType
... | true | renderContainer = require('./template').renderContainer
Editor = require('./editor/editor_v2').Editor
TextLevelParams = require('./editor/model').TextLevelParams
LineLevelParams = require('./editor/model').LineLevelParams
ModelField = require('./editor/model').ModelField
ModelType = require('./editor/model').ModelType
... |
[
{
"context": ". It is named after 17th century German astronomer Johannes Kepler, who is best known for developing the laws of pla",
"end": 233,
"score": 0.9897436499595642,
"start": 218,
"tag": "NAME",
"value": "Johannes Kepler"
},
{
"context": "it is just the time interval between ... | app/lib/mini-course-content.coffee | zooniverse/Planet-Hunters-2 | 1 | content = [
{
course_number: 1
material:
title: "The Kepler Mission"
text: """
<p>The Kepler space telescope was launched by NASA in 2009. It is named after 17th century German astronomer Johannes Kepler, who is best known for developing the laws of planetary motion. For 4 years it stared ... | 155215 | content = [
{
course_number: 1
material:
title: "The Kepler Mission"
text: """
<p>The Kepler space telescope was launched by NASA in 2009. It is named after 17th century German astronomer <NAME>, who is best known for developing the laws of planetary motion. For 4 years it stared at a patc... | true | content = [
{
course_number: 1
material:
title: "The Kepler Mission"
text: """
<p>The Kepler space telescope was launched by NASA in 2009. It is named after 17th century German astronomer PI:NAME:<NAME>END_PI, who is best known for developing the laws of planetary motion. For 4 years it st... |
[
{
"context": "ense\": \"MIT\",\n\t\"browsers\": true,\n\t\"author\": \"2017+ Reme Le Hane <reme.lehane@gmail.com> (https://www.remelehane.m",
"end": 323,
"score": 0.9998902082443237,
"start": 311,
"tag": "NAME",
"value": "Reme Le Hane"
},
{
"context": "\"browsers\": true,\n\t\"author... | projectz.cson | RemeJuan/react-balloon.css | 2 | {
"title": "React Balloon.css",
"name": "react-balloon.css",
"homepage": "https://react-balloon.css-demo.surge.sh",
"description": "A react styled-components implementation of kazzkiq's balloon.css",
"demo": "http://react-balloon.css-demo.surge.sh",
"license": "MIT",
"browsers": true,
"author": "2017+ Reme Le H... | 187319 | {
"title": "React Balloon.css",
"name": "react-balloon.css",
"homepage": "https://react-balloon.css-demo.surge.sh",
"description": "A react styled-components implementation of kazzkiq's balloon.css",
"demo": "http://react-balloon.css-demo.surge.sh",
"license": "MIT",
"browsers": true,
"author": "2017+ <NAME> <<... | true | {
"title": "React Balloon.css",
"name": "react-balloon.css",
"homepage": "https://react-balloon.css-demo.surge.sh",
"description": "A react styled-components implementation of kazzkiq's balloon.css",
"demo": "http://react-balloon.css-demo.surge.sh",
"license": "MIT",
"browsers": true,
"author": "2017+ PI:NAME:<... |
[
{
"context": "ading The Communist Manifesto (11,772 words) which Marx and Engels worked on at the nearby Chetham's libr",
"end": 394,
"score": 0.9731509685516357,
"start": 390,
"tag": "NAME",
"value": "Marx"
},
{
"context": " Communist Manifesto (11,772 words) which Marx and Engels w... | old_scripts/wordcount.coffee | robertocarroll/chatui | 0 | # Description:
# Wordcount for Central library topic page
#
# Commands:
# local news - Details about Central library stories
#
module.exports = (robot) ->
robot.hear /local news/i, (msg) ->
msg.send "MEN has written 15,626 words about me in the last 7 months and a human would take about 63 minutes to read t... | 164628 | # Description:
# Wordcount for Central library topic page
#
# Commands:
# local news - Details about Central library stories
#
module.exports = (robot) ->
robot.hear /local news/i, (msg) ->
msg.send "MEN has written 15,626 words about me in the last 7 months and a human would take about 63 minutes to read t... | true | # Description:
# Wordcount for Central library topic page
#
# Commands:
# local news - Details about Central library stories
#
module.exports = (robot) ->
robot.hear /local news/i, (msg) ->
msg.send "MEN has written 15,626 words about me in the last 7 months and a human would take about 63 minutes to read t... |
[
{
"context": "mpleted all the tasks in this town!\"\n password: \"gen1games\" # to be replaced by author\n otherTownsBin",
"end": 1526,
"score": 0.9992522597312927,
"start": 1517,
"tag": "PASSWORD",
"value": "gen1games"
}
] | app/src/models.coffee | concord-consortium/genigames | 0 | GG.User = Ember.Object.extend
login: null
first: null
last: null
class_words: []
cohorts: []
teacher: false
group: false
reputation: 0
skipSave: false
powerups: []
codeName: null
_idBinding: 'login'
name: (->
return @get('first') + " " + @get('last')
).property('first', 'last')
nameW... | 46252 | GG.User = Ember.Object.extend
login: null
first: null
last: null
class_words: []
cohorts: []
teacher: false
group: false
reputation: 0
skipSave: false
powerups: []
codeName: null
_idBinding: 'login'
name: (->
return @get('first') + " " + @get('last')
).property('first', 'last')
nameW... | true | GG.User = Ember.Object.extend
login: null
first: null
last: null
class_words: []
cohorts: []
teacher: false
group: false
reputation: 0
skipSave: false
powerups: []
codeName: null
_idBinding: 'login'
name: (->
return @get('first') + " " + @get('last')
).property('first', 'last')
nameW... |
[
{
"context": "0, 0, 1\n 1, 1, 0\n]\n\nkids =\n brother:\n name: \"Max\"\n age: 11\n sister:\n name: \"Ida\"\n age: ",
"end": 159,
"score": 0.9998428821563721,
"start": 156,
"tag": "NAME",
"value": "Max"
},
{
"context": " name: \"Max\"\n age: 11\n sister:\n ... | documentation/examples/objects_and_arrays.coffee | Trott/coffeescript | 8,728 | song = ["do", "re", "mi", "fa", "so"]
singers = {Jagger: "Rock", Elvis: "Roll"}
bitlist = [
1, 0, 1
0, 0, 1
1, 1, 0
]
kids =
brother:
name: "Max"
age: 11
sister:
name: "Ida"
age: 9
| 1292 | song = ["do", "re", "mi", "fa", "so"]
singers = {Jagger: "Rock", Elvis: "Roll"}
bitlist = [
1, 0, 1
0, 0, 1
1, 1, 0
]
kids =
brother:
name: "<NAME>"
age: 11
sister:
name: "<NAME>"
age: 9
| true | song = ["do", "re", "mi", "fa", "so"]
singers = {Jagger: "Rock", Elvis: "Roll"}
bitlist = [
1, 0, 1
0, 0, 1
1, 1, 0
]
kids =
brother:
name: "PI:NAME:<NAME>END_PI"
age: 11
sister:
name: "PI:NAME:<NAME>END_PI"
age: 9
|
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992710947990417,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-net-connect-buffer.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... | 199491 | # 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": "\n item_opts:\n items:[{\n id:1\n name:\"春雨\"\n pinyin:\"chunyu\"\n abbr:\"cy\"\n url:",
"end": 66,
"score": 0.8405313491821289,
"start": 64,
"tag": "NAME",
"value": "春雨"
},
{
"context": "items:[{\n id:1\n name:\"春雨\"\n pinyin... | spec/src/helper.coffee | mycolorway/simditor-mention | 20 | window.spec =
item_opts:
items:[{
id:1
name:"春雨"
pinyin:"chunyu"
abbr:"cy"
url:"http://www.example.com"
},{
id:2
name:"夏荷"
pinyin:"xiahe"
abbr:"xh"
},{
id:3
name:"秋叶"
pinyin:"qiuye"
abbr:"qy"
},{
id:4
name:"冬雪"
... | 85032 | window.spec =
item_opts:
items:[{
id:1
name:"<NAME>"
pinyin:"<NAME>"
abbr:"cy"
url:"http://www.example.com"
},{
id:2
name:"<NAME>"
pinyin:"<NAME>"
abbr:"xh"
},{
id:3
name:"<NAME>"
pinyin:"<NAME>"
abbr:"qy"
},{
id:4
... | true | window.spec =
item_opts:
items:[{
id:1
name:"PI:NAME:<NAME>END_PI"
pinyin:"PI:NAME:<NAME>END_PI"
abbr:"cy"
url:"http://www.example.com"
},{
id:2
name:"PI:NAME:<NAME>END_PI"
pinyin:"PI:NAME:<NAME>END_PI"
abbr:"xh"
},{
id:3
name:"PI:NAME:<NA... |
[
{
"context": "# grunt-escaped-seo\n# https://github.com/hazart/grunt-escaped-seo\n#\n# Copyright (c) 2013 Alex Koc",
"end": 47,
"score": 0.9988792538642883,
"start": 41,
"tag": "USERNAME",
"value": "hazart"
},
{
"context": "om/hazart/grunt-escaped-seo\n#\n# Copyright (c) 2013 Alex Ko... | src/escaped-seo.coffee | enthought/grunt-escaped-seo | 0 | # grunt-escaped-seo
# https://github.com/hazart/grunt-escaped-seo
#
# Copyright (c) 2013 Alex Koch
# Licensed under the MIT license.
path = require('path')
env = require('jsdom').env
node_url = require('url')
module.exports = (grunt) ->
grunt.registerMultiTask 'escaped-seo', 'Generate an SEO website and sitemap for... | 64789 | # grunt-escaped-seo
# https://github.com/hazart/grunt-escaped-seo
#
# Copyright (c) 2013 <NAME>
# Licensed under the MIT license.
path = require('path')
env = require('jsdom').env
node_url = require('url')
module.exports = (grunt) ->
grunt.registerMultiTask 'escaped-seo', 'Generate an SEO website and sitemap for go... | true | # grunt-escaped-seo
# https://github.com/hazart/grunt-escaped-seo
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
path = require('path')
env = require('jsdom').env
node_url = require('url')
module.exports = (grunt) ->
grunt.registerMultiTask 'escaped-seo', 'Generate an SEO website and ... |
[
{
"context": ", key) ->\n if key isnt 'factory' and key isnt 'makeSubNameSpace' and key isnt 'constants'\n count += 1\n expe",
"end": 245,
"score": 0.8826815485954285,
"start": 229,
"tag": "KEY",
"value": "makeSubNameSpace"
},
{
"context": ", key) ->\n if key isnt 'factor... | test/inputs/test.allInputs.coffee | ahamid/oj | 2 | qunit = require 'qunit'
qunit.module 'all inputs', setup: ->
OJ['GENERATE_UNIQUE_IDS'] = true
test 'Test all inputs', ->
count = 0
OJ.each OJ.inputs.members, (val, key) ->
if key isnt 'factory' and key isnt 'makeSubNameSpace' and key isnt 'constants'
count += 1
expect count * 5
OJ.ea... | 175861 | qunit = require 'qunit'
qunit.module 'all inputs', setup: ->
OJ['GENERATE_UNIQUE_IDS'] = true
test 'Test all inputs', ->
count = 0
OJ.each OJ.inputs.members, (val, key) ->
if key isnt 'factory' and key isnt '<KEY>' and key isnt 'constants'
count += 1
expect count * 5
OJ.each OJ.input... | true | qunit = require 'qunit'
qunit.module 'all inputs', setup: ->
OJ['GENERATE_UNIQUE_IDS'] = true
test 'Test all inputs', ->
count = 0
OJ.each OJ.inputs.members, (val, key) ->
if key isnt 'factory' and key isnt 'PI:KEY:<KEY>END_PI' and key isnt 'constants'
count += 1
expect count * 5
OJ.... |
[
{
"context": "pxy x:223, y:207\n p.mapx.should.equals 6,'mapx'\n p.mapy.should.equals 5,'mapy'\n describe '",
"end": 7068,
"score": 0.28670579195022583,
"start": 7067,
"tag": "NAME",
"value": "x"
}
] | src/test/coffeescript/UtilsTest.coffee | fukuyama/nineteen | 2 | # UtilsTest.coffee
require('chai').should()
require('../../main/coffeescript/nz/System.coffee')
require('../../main/coffeescript/nz/Utils.coffee')
Math.RAD_TO_DEG = 180/Math.PI
Math.degToRad = (deg) -> deg * Math.DEG_TO_RAD
Math.radToDeg = (rad) -> rad * Math.RAD_TO_DEG
lineRouteTest = (p1,p2,data ... ) ->
ret = ... | 168530 | # UtilsTest.coffee
require('chai').should()
require('../../main/coffeescript/nz/System.coffee')
require('../../main/coffeescript/nz/Utils.coffee')
Math.RAD_TO_DEG = 180/Math.PI
Math.degToRad = (deg) -> deg * Math.DEG_TO_RAD
Math.radToDeg = (rad) -> rad * Math.RAD_TO_DEG
lineRouteTest = (p1,p2,data ... ) ->
ret = ... | true | # UtilsTest.coffee
require('chai').should()
require('../../main/coffeescript/nz/System.coffee')
require('../../main/coffeescript/nz/Utils.coffee')
Math.RAD_TO_DEG = 180/Math.PI
Math.degToRad = (deg) -> deg * Math.DEG_TO_RAD
Math.radToDeg = (rad) -> rad * Math.RAD_TO_DEG
lineRouteTest = (p1,p2,data ... ) ->
ret = ... |
[
{
"context": " \r\n xmlhttp.send JSON.stringify\r\n 'key': 'cdLt5vHVtJK5gYJhL1k_FQ',\r\n 'message': \r\n 'from_email': 'atmo",
"end": 6195,
"score": 0.9995087385177612,
"start": 6173,
"tag": "KEY",
"value": "cdLt5vHVtJK5gYJhL1k_FQ"
},
{
"context": "k_FQ',\r\n ... | src/app/app.coffee | shurochkin/kater | 0 |
$(document).ready ->
# console.log window.isMobile
checkSize = ->
if window.orientation == 0 or window.orientation == 180
$('#orientation-info').css 'width', $(window).width()
$('#orientation-info').css 'height', $(window).height()
$('#orientation-info').css 'visibility', 'visible'... | 166816 |
$(document).ready ->
# console.log window.isMobile
checkSize = ->
if window.orientation == 0 or window.orientation == 180
$('#orientation-info').css 'width', $(window).width()
$('#orientation-info').css 'height', $(window).height()
$('#orientation-info').css 'visibility', 'visible'... | true |
$(document).ready ->
# console.log window.isMobile
checkSize = ->
if window.orientation == 0 or window.orientation == 180
$('#orientation-info').css 'width', $(window).width()
$('#orientation-info').css 'height', $(window).height()
$('#orientation-info').css 'visibility', 'visible'... |
[
{
"context": "failed\") if @storageAuthFailed\n return cb null, @user if @user\n @loadCredentials (err) =>\n ",
"end": 3661,
"score": 0.6974937319755554,
"start": 3661,
"tag": "USERNAME",
"value": ""
},
{
"context": "b) ->\n log 'authenticate:start'\n @password = aut... | lib/services/imdoneio-client.coffee | robbynshaw/imdone-atom | 0 | request = require 'superagent'
noCache = require 'superagent-no-cache'
async = require 'async'
authUtil = require './auth-util'
{Emitter} = require 'atom'
{allowUnsafeEval} = require 'loophole'
Pusher = allowUnsafeEval -> require 'pusher-js'
_ = require 'lodash'
Task = require 'imdone-core/lib/task'
config = require '.... | 221625 | request = require 'superagent'
noCache = require 'superagent-no-cache'
async = require 'async'
authUtil = require './auth-util'
{Emitter} = require 'atom'
{allowUnsafeEval} = require 'loophole'
Pusher = allowUnsafeEval -> require 'pusher-js'
_ = require 'lodash'
Task = require 'imdone-core/lib/task'
config = require '.... | true | request = require 'superagent'
noCache = require 'superagent-no-cache'
async = require 'async'
authUtil = require './auth-util'
{Emitter} = require 'atom'
{allowUnsafeEval} = require 'loophole'
Pusher = allowUnsafeEval -> require 'pusher-js'
_ = require 'lodash'
Task = require 'imdone-core/lib/task'
config = require '.... |
[
{
"context": "Tutorial Actions (assets)\nProject: Waaave\nAuthors: Julien Le Coupanec, Valerian Saliou\nCopyright: 2014, Waaave\n###\n\n__ ",
"end": 91,
"score": 0.9998570680618286,
"start": 73,
"tag": "NAME",
"value": "Julien Le Coupanec"
},
{
"context": "sets)\nProject: Waaave\nAut... | static/src/assets/moderation/javascripts/moderation_tutorial_actions.coffee | valeriansaliou/waaave-web | 1 | ###
Bundle: Dashboard Tutorial Actions (assets)
Project: Waaave
Authors: Julien Le Coupanec, Valerian Saliou
Copyright: 2014, Waaave
###
__ = window
class DashboardTutorialActions
init: ->
try
# Selectors
@_tutorials_sel = $ '.tutorials'
@_manager_form_sel = $ 'form.m... | 225278 | ###
Bundle: Dashboard Tutorial Actions (assets)
Project: Waaave
Authors: <NAME>, <NAME>
Copyright: 2014, Waaave
###
__ = window
class DashboardTutorialActions
init: ->
try
# Selectors
@_tutorials_sel = $ '.tutorials'
@_manager_form_sel = $ 'form.manager-form'
... | true | ###
Bundle: Dashboard Tutorial Actions (assets)
Project: Waaave
Authors: PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
Copyright: 2014, Waaave
###
__ = window
class DashboardTutorialActions
init: ->
try
# Selectors
@_tutorials_sel = $ '.tutorials'
@_manager_form_sel = $ ... |
[
{
"context": "\": [{ \"value\": \"1\" }],\n \"name\": {\"given\":[\"John\"], \"family\": [\"Smith\"]},\n \"gender\": \"M\",\n ",
"end": 564,
"score": 0.9998701810836792,
"start": 560,
"tag": "NAME",
"value": "John"
},
{
"context": "],\n \"name\": {\"given\":[\"Jo... | src/example/exec-age.coffee | luis1van/cql-execution-1 | 2 | cql = require '../cql'
measure = require './age'
lib = new cql.Library(measure)
executor = new cql.Executor(lib)
psource = new cql.PatientSource [ {
"resourceType": "Bundle",
"id": "example1",
"meta": {
"versionId": "1",
"lastUpdated": "2014-08-18T01:43:30Z"
},
"base": "http://example.c... | 80799 | cql = require '../cql'
measure = require './age'
lib = new cql.Library(measure)
executor = new cql.Executor(lib)
psource = new cql.PatientSource [ {
"resourceType": "Bundle",
"id": "example1",
"meta": {
"versionId": "1",
"lastUpdated": "2014-08-18T01:43:30Z"
},
"base": "http://example.c... | true | cql = require '../cql'
measure = require './age'
lib = new cql.Library(measure)
executor = new cql.Executor(lib)
psource = new cql.PatientSource [ {
"resourceType": "Bundle",
"id": "example1",
"meta": {
"versionId": "1",
"lastUpdated": "2014-08-18T01:43:30Z"
},
"base": "http://example.c... |
[
{
"context": "file', ->\n expectedGithubConfig =\n username: 'abcd'\n password: 'x-oauth-basic'\n\n appConfigStub =",
"end": 510,
"score": 0.998033344745636,
"start": 506,
"tag": "USERNAME",
"value": "abcd"
},
{
"context": "ithubConfig =\n username: 'abcd'\n password: '... | server/test/units/git_hub_deploy.coffee | unepwcmc/NRT | 0 | assert = require('chai').assert
sinon = require('sinon')
request = require('request')
_ = require('underscore')
AppConfig = require('../../initializers/config')
GitHubDeploy = require('../../lib/git_hub_deploy')
defaultHeaders =
'Accept': 'application/vnd.github.cannonball-preview+json'
'User-Agent': 'National Re... | 44638 | assert = require('chai').assert
sinon = require('sinon')
request = require('request')
_ = require('underscore')
AppConfig = require('../../initializers/config')
GitHubDeploy = require('../../lib/git_hub_deploy')
defaultHeaders =
'Accept': 'application/vnd.github.cannonball-preview+json'
'User-Agent': 'National Re... | true | assert = require('chai').assert
sinon = require('sinon')
request = require('request')
_ = require('underscore')
AppConfig = require('../../initializers/config')
GitHubDeploy = require('../../lib/git_hub_deploy')
defaultHeaders =
'Accept': 'application/vnd.github.cannonball-preview+json'
'User-Agent': 'National Re... |
[
{
"context": "= teamsnap.createMember()\n member.firstName = 'Esdee'\n member.lastName = 'Kay'\n member.teamId = ",
"end": 260,
"score": 0.999744176864624,
"start": 255,
"tag": "NAME",
"value": "Esdee"
},
{
"context": "member.firstName = 'Esdee'\n member.lastName = 'Kay'\... | test/statisticData.coffee | teamsnap/teamsnap-javascript-sdk | 9 | describe 'Statistic Data', ->
member = null
location = null
event = null
statistic = null
statisticDatum = null
bulkStatistic = null
bulkStatisticDatum = null
before (done) ->
member = teamsnap.createMember()
member.firstName = 'Esdee'
member.lastName = 'Kay'
member.teamId = team.id
... | 202180 | describe 'Statistic Data', ->
member = null
location = null
event = null
statistic = null
statisticDatum = null
bulkStatistic = null
bulkStatisticDatum = null
before (done) ->
member = teamsnap.createMember()
member.firstName = '<NAME>'
member.lastName = '<NAME>'
member.teamId = team.i... | true | describe 'Statistic Data', ->
member = null
location = null
event = null
statistic = null
statisticDatum = null
bulkStatistic = null
bulkStatisticDatum = null
before (done) ->
member = teamsnap.createMember()
member.firstName = 'PI:NAME:<NAME>END_PI'
member.lastName = 'PI:NAME:<NAME>END_PI... |
[
{
"context": "2 then v2\n else v1 + (r-r1)/(r2-r1)*(v2-v1)\n\n@heros =\n Ana: color: \"#718ab3\", role: 'healer",
"end": 504,
"score": 0.998162567615509,
"start": 498,
"tag": "USERNAME",
"value": "@heros"
},
{
"context": " Ball\"\n\n@weapons = [\n# D.va mech\n name: \... | scripts/weapons.coffee | yfp/owdmgchart | 32 | gravity_acc = 9.0 #m/s^2
degtan = (angle) -> Math.tan(angle/180*Math.PI) #angle/180*Math.PI
degcos = (angle) -> Math.cos(angle/180*Math.PI) #angle/180*Math.PI
degsin = (angle) -> Math.sin(angle/180*Math.PI) #angle/180*Math.PI
max_arc_range = (v) => v*v/gravity_acc
ramp = (values, args) ->
[r1, r2] = args
[v1, v2] ... | 128518 | gravity_acc = 9.0 #m/s^2
degtan = (angle) -> Math.tan(angle/180*Math.PI) #angle/180*Math.PI
degcos = (angle) -> Math.cos(angle/180*Math.PI) #angle/180*Math.PI
degsin = (angle) -> Math.sin(angle/180*Math.PI) #angle/180*Math.PI
max_arc_range = (v) => v*v/gravity_acc
ramp = (values, args) ->
[r1, r2] = args
[v1, v2] ... | true | gravity_acc = 9.0 #m/s^2
degtan = (angle) -> Math.tan(angle/180*Math.PI) #angle/180*Math.PI
degcos = (angle) -> Math.cos(angle/180*Math.PI) #angle/180*Math.PI
degsin = (angle) -> Math.sin(angle/180*Math.PI) #angle/180*Math.PI
max_arc_range = (v) => v*v/gravity_acc
ramp = (values, args) ->
[r1, r2] = args
[v1, v2] ... |
[
{
"context": "# \n# Trelloist.\n# @author Alireza Sheikholmolouki / @alireza29675\n# \n\napi = require \"./Utilites/tre",
"end": 49,
"score": 0.9998939037322998,
"start": 26,
"tag": "NAME",
"value": "Alireza Sheikholmolouki"
},
{
"context": " \n# Trelloist.\n# @author Alireza Sheikho... | src/Trelloist.coffee | Alireza29675/Trelloist | 0 | #
# Trelloist.
# @author Alireza Sheikholmolouki / @alireza29675
#
api = require "./Utilites/trelloAPI"
Board = require "./Objects/Board"
class Trelloist
init: (data, startApp) ->
@GLOBAL_BOARD = null
data = appName: data, boardId: null, workerFile: null if typeof data isnt "object"
@workerFile = data.wo... | 25733 | #
# Trelloist.
# @author <NAME> / @alireza29675
#
api = require "./Utilites/trelloAPI"
Board = require "./Objects/Board"
class Trelloist
init: (data, startApp) ->
@GLOBAL_BOARD = null
data = appName: data, boardId: null, workerFile: null if typeof data isnt "object"
@workerFile = data.workerFile
Trell... | true | #
# Trelloist.
# @author PI:NAME:<NAME>END_PI / @alireza29675
#
api = require "./Utilites/trelloAPI"
Board = require "./Objects/Board"
class Trelloist
init: (data, startApp) ->
@GLOBAL_BOARD = null
data = appName: data, boardId: null, workerFile: null if typeof data isnt "object"
@workerFile = data.worke... |
[
{
"context": "#\t> File Name: article.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: T",
"end": 44,
"score": 0.9980106949806213,
"start": 42,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "File Name: article.coffee\n#\t> Author: LY\n#\t> Mail: ly.frank... | server/db/models/article.coffee | wiiliamking/miac-website | 0 | # > File Name: article.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Thursday, November 27, 2014 AM11:11:15 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ArticleSchema = new Schema
category: String
title: String
content: String
createdBy: String
createdAt: { ty... | 214080 | # > File Name: article.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Thursday, November 27, 2014 AM11:11:15 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ArticleSchema = new Schema
category: String
title: String
content: String
createdBy: String
createdAt: { type: Date, de... | true | # > File Name: article.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Thursday, November 27, 2014 AM11:11:15 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ArticleSchema = new Schema
category: String
title: String
content: String
createdBy: String
createdAt: {... |
[
{
"context": " beforeEach ->\n @oldDevice = uuid: 'oldie'\n @meshbluHttp.devices.yields null, {devic",
"end": 3269,
"score": 0.7130245566368103,
"start": 3267,
"tag": "USERNAME",
"value": "ie"
},
{
"context": "ndencies\n @sut.updateClientSecret 'me', 'shhhhhh... | test/src/models/credential-device-manager-spec.coffee | octoblu/little-bits-cloud-proxy | 0 | CredentialDeviceManager = require '../../../src/models/credential-device-manager'
describe 'CredentialDeviceManager', ->
beforeEach ->
@meshbluHttp =
devices: sinon.stub()
register: sinon.stub()
updateDangerously: sinon.stub()
update: sinon.stub()
@MeshbluHttp = sinon.spy => @meshbluH... | 101797 | CredentialDeviceManager = require '../../../src/models/credential-device-manager'
describe 'CredentialDeviceManager', ->
beforeEach ->
@meshbluHttp =
devices: sinon.stub()
register: sinon.stub()
updateDangerously: sinon.stub()
update: sinon.stub()
@MeshbluHttp = sinon.spy => @meshbluH... | true | CredentialDeviceManager = require '../../../src/models/credential-device-manager'
describe 'CredentialDeviceManager', ->
beforeEach ->
@meshbluHttp =
devices: sinon.stub()
register: sinon.stub()
updateDangerously: sinon.stub()
update: sinon.stub()
@MeshbluHttp = sinon.spy => @meshbluH... |
[
{
"context": " have the word image, picture, or photo.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 141,
"score": 0.9998836517333984,
"start": 130,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/img-redundant-alt.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce img alt attribute does not have the word image, picture, or photo.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# ----------------------------------------------------------------------------... | 44533 | ### eslint-env jest ###
###*
# @fileoverview Enforce img alt attribute does not have the word image, picture, or photo.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
pa... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce img alt attribute does not have the word image, picture, or photo.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# -------------------------------------------------------------------... |
[
{
"context": ".create\n name: @newUsername()\n password: @newPassword()\n contingent: parseInt @newContingent()\n ",
"end": 834,
"score": 0.9958223700523376,
"start": 822,
"tag": "PASSWORD",
"value": "@newPassword"
}
] | app/scripts/pages/tutors/tutors.coffee | Welfenlab/tutor-lecturer | 0 | ko = require 'knockout'
_ = require 'lodash'
api = require '../../api'
class TutorViewModel
constructor: (data) ->
@name = ko.observable data.name
@contingent = ko.observable data.contingent
class ViewModel
constructor: ->
@newUsername = ko.observable()
@newPassword = ko.observable()
@newConti... | 171510 | ko = require 'knockout'
_ = require 'lodash'
api = require '../../api'
class TutorViewModel
constructor: (data) ->
@name = ko.observable data.name
@contingent = ko.observable data.contingent
class ViewModel
constructor: ->
@newUsername = ko.observable()
@newPassword = ko.observable()
@newConti... | true | ko = require 'knockout'
_ = require 'lodash'
api = require '../../api'
class TutorViewModel
constructor: (data) ->
@name = ko.observable data.name
@contingent = ko.observable data.contingent
class ViewModel
constructor: ->
@newUsername = ko.observable()
@newPassword = ko.observable()
@newConti... |
[
{
"context": " a device by id', ->\n\t\t\t\tbalena.models.device.note(@device.id, 'What you do today can improve all your tomorr",
"end": 23632,
"score": 0.7973585724830627,
"start": 23625,
"tag": "USERNAME",
"value": "@device"
},
{
"context": " tomorrows').then =>\n\t\t\t\t\tbalena.... | tests/integration/models/device.spec.coffee | josecoelho/balena-sdk | 0 | _ = require('lodash')
m = require('mochainon')
superagent = require('superagent')
Promise = require('bluebird')
{
balena
givenADevice
givenAnApplication
givenAnApplicationWithADevice
givenLoggedInUser
givenMulticontainerApplication
sdkOpts
IS_BROWSER
} = require('../setup')
{
itShouldSetGetAndRemoveTags
itS... | 43366 | _ = require('lodash')
m = require('mochainon')
superagent = require('superagent')
Promise = require('bluebird')
{
balena
givenADevice
givenAnApplication
givenAnApplicationWithADevice
givenLoggedInUser
givenMulticontainerApplication
sdkOpts
IS_BROWSER
} = require('../setup')
{
itShouldSetGetAndRemoveTags
itS... | true | _ = require('lodash')
m = require('mochainon')
superagent = require('superagent')
Promise = require('bluebird')
{
balena
givenADevice
givenAnApplication
givenAnApplicationWithADevice
givenLoggedInUser
givenMulticontainerApplication
sdkOpts
IS_BROWSER
} = require('../setup')
{
itShouldSetGetAndRemoveTags
itS... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999140501022339,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/_components/mods.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { Mod } from 'mod'
import { div, img } from 'react-dom-factories'
el = React.createElement
export Mods = (... | 117914 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { Mod } from 'mod'
import { div, img } from 'react-dom-factories'
el = React.createElement
export Mods = ({modifi... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { Mod } from 'mod'
import { div, img } from 'react-dom-factories'
el = React.createElement
export ... |
[
{
"context": "--------------\n# Copyright Joe Drago 2018.\n# Distributed under the Boost Softw",
"end": 123,
"score": 0.9998208284378052,
"start": 114,
"tag": "NAME",
"value": "Joe Drago"
}
] | lib/templates/src/coffee/report.coffee | EwoutH/colorist | 0 | # ---------------------------------------------------------------------------
# Copyright Joe Drago 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#... | 108392 | # ---------------------------------------------------------------------------
# Copyright <NAME> 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# --... | true | # ---------------------------------------------------------------------------
# Copyright PI:NAME:<NAME>END_PI 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.