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": " 'verification:meshblu-protocol'\n username: 'bobby'\n password: 'drop tables'\n port: 0xd00d",
"end": 519,
"score": 0.9995836019515991,
"start": 514,
"tag": "USERNAME",
"value": "bobby"
},
{
"context": "rotocol'\n username: 'bobby'\n password: ... | test/integration/store-verification-spec.coffee | octoblu/meshblu-verifier-pingdom | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
moment = require 'moment'
request = require 'request'
Server = require '../../src/server.coffee'
describe 'Store Verification', ->
beforeEach (done) ->
@elasticsearch = create: sinon.... | 132688 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
moment = require 'moment'
request = require 'request'
Server = require '../../src/server.coffee'
describe 'Store Verification', ->
beforeEach (done) ->
@elasticsearch = create: sinon.... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
moment = require 'moment'
request = require 'request'
Server = require '../../src/server.coffee'
describe 'Store Verification', ->
beforeEach (done) ->
@elasticsearch = create: sinon.... |
[
{
"context": " \n# Copyright 2011 - 2013 Mark Masse (OSS project WRML.org) \n# ",
"end": 824,
"score": 0.9997959733009338,
"start": 814,
"tag": "NAME",
"value": "Mark Masse"
}
] | wrmldoc/js/app/components/form/FormController.coffee | wrml/wrml | 47 | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... | 194354 | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... | true | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... |
[
{
"context": "dArguments: [\n pgUser: user\n pgPassword: pass\n ]\n userCallback: (err, result) ->\n if",
"end": 132,
"score": 0.9953998923301697,
"start": 128,
"tag": "PASSWORD",
"value": "pass"
}
] | accounts-pg_client.coffee | Raynes/meteor-accounts-pg | 1 | Meteor.loginWithPg = (user, pass, cb) ->
Accounts.callLoginMethod
methodArguments: [
pgUser: user
pgPassword: pass
]
userCallback: (err, result) ->
if err
cb? and cb(err)
else
cb and cb()
| 100846 | Meteor.loginWithPg = (user, pass, cb) ->
Accounts.callLoginMethod
methodArguments: [
pgUser: user
pgPassword: <PASSWORD>
]
userCallback: (err, result) ->
if err
cb? and cb(err)
else
cb and cb()
| true | Meteor.loginWithPg = (user, pass, cb) ->
Accounts.callLoginMethod
methodArguments: [
pgUser: user
pgPassword: PI:PASSWORD:<PASSWORD>END_PI
]
userCallback: (err, result) ->
if err
cb? and cb(err)
else
cb and cb()
|
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9983174800872803,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-client-race.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... | 106248 | # 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": ".inDir DEST\n .withOptions\n realname: 'Octoblu, Inc'\n githubUrl: 'https://github.com/octoblu'\n",
"end": 419,
"score": 0.8886147737503052,
"start": 407,
"tag": "NAME",
"value": "Octoblu, Inc"
},
{
"context": "oblu, Inc'\n githubUrl: 'https://... | test/app.spec.coffee | octoblu/generator-meshblu-core-task-check-whitelist | 0 | path = require 'path'
fs = require 'fs-extra'
helpers = require 'yeoman-test'
assert = require 'yeoman-assert'
TASKNAME = 'do-something'
DEST = path.join __dirname, '..', 'tmp', "meshblu-core-task-#{TASKNAME}"
describe 'do-something', ->
before (done) ->
fs.mkdirsSync DEST
helpers
.run pa... | 78451 | path = require 'path'
fs = require 'fs-extra'
helpers = require 'yeoman-test'
assert = require 'yeoman-assert'
TASKNAME = 'do-something'
DEST = path.join __dirname, '..', 'tmp', "meshblu-core-task-#{TASKNAME}"
describe 'do-something', ->
before (done) ->
fs.mkdirsSync DEST
helpers
.run pa... | true | path = require 'path'
fs = require 'fs-extra'
helpers = require 'yeoman-test'
assert = require 'yeoman-assert'
TASKNAME = 'do-something'
DEST = path.join __dirname, '..', 'tmp', "meshblu-core-task-#{TASKNAME}"
describe 'do-something', ->
before (done) ->
fs.mkdirsSync DEST
helpers
.run pa... |
[
{
"context": "##############################################\n#\n# Markus 16/12/2017\n#\n####################################",
"end": 90,
"score": 0.9991677403450012,
"start": 84,
"tag": "NAME",
"value": "Markus"
}
] | client/3_database/modify.coffee | MooqitaSFH/worklearn | 0 | ###############################################################################
#
# Markus 16/12/2017
#
###############################################################################
###############################################################################
@set_field = (collection, document, field, value, verbo... | 13275 | ###############################################################################
#
# <NAME> 16/12/2017
#
###############################################################################
###############################################################################
@set_field = (collection, document, field, value, verbo... | true | ###############################################################################
#
# PI:NAME:<NAME>END_PI 16/12/2017
#
###############################################################################
###############################################################################
@set_field = (collection, document, field... |
[
{
"context": "iguration:\n# None\n#\n# Commands:\n# hubot insult @username - Shows a tastefully insult\n#\n# Author:\n# PiXeL",
"end": 145,
"score": 0.8286787271499634,
"start": 136,
"tag": "USERNAME",
"value": "@username"
},
{
"context": "ername - Shows a tastefully insult\n#\... | src/insult.coffee | PiXeL16/hubot-insults | 2 | # Description:
# Insult your colleages tastefully
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot insult @username - Shows a tastefully insult
#
# Author:
# PiXeL16 <cjimenez16@gmail.com> Chris Jimenez
insults = [
"May the chocolate chips in your cookies always turn out to be raisin... | 16195 | # Description:
# Insult your colleages tastefully
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot insult @username - Shows a tastefully insult
#
# Author:
# PiXeL16 <<EMAIL>> <NAME>
insults = [
"May the chocolate chips in your cookies always turn out to be raisins.",
"May every so... | true | # Description:
# Insult your colleages tastefully
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot insult @username - Shows a tastefully insult
#
# Author:
# PiXeL16 <PI:EMAIL:<EMAIL>END_PI> PI:NAME:<NAME>END_PI
insults = [
"May the chocolate chips in your cookies always turn out to ... |
[
{
"context": "or = (out, color) ->\n rgb = color.rgb\n key = rgb.join \"_\"\n if out[key]\n out[key].count++\n else\n ",
"end": 363,
"score": 0.975904643535614,
"start": 351,
"tag": "KEY",
"value": "rgb.join \"_\""
}
] | src/public/lib/editor/cssstats.coffee | tonistiigi/styler | 18 | define (require, exports, module) ->
hex2rgba = (hex) ->
hex = hex.substr 1
if hex.length == 3
hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2]
[ parseInt (hex.substr 0, 2), 16
parseInt (hex.substr 2, 2), 16
parseInt (hex.substr 4, 2), 16
1 ]
addColor = (out, color) ->... | 146124 | define (require, exports, module) ->
hex2rgba = (hex) ->
hex = hex.substr 1
if hex.length == 3
hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2]
[ parseInt (hex.substr 0, 2), 16
parseInt (hex.substr 2, 2), 16
parseInt (hex.substr 4, 2), 16
1 ]
addColor = (out, color) ->... | true | define (require, exports, module) ->
hex2rgba = (hex) ->
hex = hex.substr 1
if hex.length == 3
hex = hex[0] + hex[0] + hex[1] + hex[1] + hex[2] + hex[2]
[ parseInt (hex.substr 0, 2), 16
parseInt (hex.substr 2, 2), 16
parseInt (hex.substr 4, 2), 16
1 ]
addColor = (out, color) ->... |
[
{
"context": "eoverview Tests for no-self-assign rule.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 76,
"score": 0.9998593926429749,
"start": 62,
"tag": "NAME",
"value": "Toru Nagashima"
}
] | src/tests/rules/no-self-assign.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-self-assign rule.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-self-assign'
{Rul... | 68745 | ###*
# @fileoverview Tests for no-self-assign rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-self-assign'
{RuleTester}... | true | ###*
# @fileoverview Tests for no-self-assign rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-self-assign... |
[
{
"context": "3 Flarebyte.com Ltd. All rights reserved.\nCreator: Olivier Huin\nContributors:\n###\n\n'use strict'\n# Services\nflamin",
"end": 151,
"score": 0.9998688697814941,
"start": 139,
"tag": "NAME",
"value": "Olivier Huin"
}
] | nodejs/flarebyte.net/0.8/node/flaming/browser/js/services22.coffee | flarebyte/wonderful-bazar | 0 | ###
GENERATED - DO NOT EDIT - Tue Jan 14 2014 22:25:31 GMT+0000 (GMT)
Copyright (c) 2013 Flarebyte.com Ltd. All rights reserved.
Creator: Olivier Huin
Contributors:
###
'use strict'
# Services
flamingAppServices = angular.module('flamingApp.services', ['ngResource'])
flamingAppServices.value "version", "0.1"
# List ... | 32455 | ###
GENERATED - DO NOT EDIT - Tue Jan 14 2014 22:25:31 GMT+0000 (GMT)
Copyright (c) 2013 Flarebyte.com Ltd. All rights reserved.
Creator: <NAME>
Contributors:
###
'use strict'
# Services
flamingAppServices = angular.module('flamingApp.services', ['ngResource'])
flamingAppServices.value "version", "0.1"
# List all pr... | true | ###
GENERATED - DO NOT EDIT - Tue Jan 14 2014 22:25:31 GMT+0000 (GMT)
Copyright (c) 2013 Flarebyte.com Ltd. All rights reserved.
Creator: PI:NAME:<NAME>END_PI
Contributors:
###
'use strict'
# Services
flamingAppServices = angular.module('flamingApp.services', ['ngResource'])
flamingAppServices.value "version", "0.1"
... |
[
{
"context": " book: {title: \"Brighton Rock\", author: \"Graham Greene\"}\n clientId: \"12345\",\n callback",
"end": 2417,
"score": 0.9998900294303894,
"start": 2404,
"tag": "NAME",
"value": "Graham Greene"
}
] | src/readmill.coffee | aron/annotator.readmill.js | 0 | # Base class for the Readmill plugin. This will be called via the jQuery
# annotator interface.
#
# The "book", "clientId" and "callbackUrl" arguments are required. The
# book should be an object literal for a book on Readmill ideally with an
# "id" but if only a "title", "author" are provided the plugin will
# create ... | 191603 | # Base class for the Readmill plugin. This will be called via the jQuery
# annotator interface.
#
# The "book", "clientId" and "callbackUrl" arguments are required. The
# book should be an object literal for a book on Readmill ideally with an
# "id" but if only a "title", "author" are provided the plugin will
# create ... | true | # Base class for the Readmill plugin. This will be called via the jQuery
# annotator interface.
#
# The "book", "clientId" and "callbackUrl" arguments are required. The
# book should be an object literal for a book on Readmill ideally with an
# "id" but if only a "title", "author" are provided the plugin will
# create ... |
[
{
"context": "\" : [ 25.289606400000025, 54.6646826 ], \"path\" : \"ssslIokjyCjA`YNtJ@tDC`Do@lFYhB[pBUr@a@dB_@xBYhC_@tCUhAQ`@m@z@gCfBNvBFfAn@`IqEpASHa@XuFfGaA|@gAl@[LiFbA{Cz@sBx@eATyLpCaDx@cFxAcFnA{Ct@yD`AoBlAWRsCbBkCxA}@^cBZo@VyAPaADkETM?GEOMo@eAmIuLSQWOgGuAsA_@]Q_Ao@u@k@{B{AcCwAmAw@qByAqAfCgCtF{ApCq@vAQrAm@bF... | src/packages/carpool-api/carpool-api.coffee | ArnoldasSid/vilnius-carpool | 11 | Router.route('/api/user/:userId/location', where: 'server').get(->
try
headers =
'Content-type': 'application/json; charset=utf-8'
if not apiSecurity.authorize(@params.userId, @params.query.access_token)
@response.writeHead(404, headers);
@response.end(JSON.stringify({error: "Forbiden: token... | 50538 | Router.route('/api/user/:userId/location', where: 'server').get(->
try
headers =
'Content-type': 'application/json; charset=utf-8'
if not apiSecurity.authorize(@params.userId, @params.query.access_token)
@response.writeHead(404, headers);
@response.end(JSON.stringify({error: "Forbiden: token... | true | Router.route('/api/user/:userId/location', where: 'server').get(->
try
headers =
'Content-type': 'application/json; charset=utf-8'
if not apiSecurity.authorize(@params.userId, @params.query.access_token)
@response.writeHead(404, headers);
@response.end(JSON.stringify({error: "Forbiden: token... |
[
{
"context": "ers: { Name:{}, State:{} }\n params = { Name:'abc', State: 'Enabled' }\n xml = \"\"\"\n <Data ",
"end": 583,
"score": 0.8625643849372864,
"start": 580,
"tag": "NAME",
"value": "abc"
},
{
"context": " Xyz: 'xyz'\n Abc: 'abc'\n Name: 'john... | test/xml/builder.spec.coffee | daguej/aws-sdk-js | 28 | helpers = require('../helpers')
AWS = helpers.AWS
matchXML = helpers.matchXML
describe 'AWS.XML.Builder', ->
xmlns = 'http://mockservice.com/xmlns'
api = null
beforeEach ->
api = new AWS.Model.Api metadata: xmlNamespace: xmlns
toXML = (rules, params) ->
rules.type = 'structure'
shape = AWS.Model... | 58355 | helpers = require('../helpers')
AWS = helpers.AWS
matchXML = helpers.matchXML
describe 'AWS.XML.Builder', ->
xmlns = 'http://mockservice.com/xmlns'
api = null
beforeEach ->
api = new AWS.Model.Api metadata: xmlNamespace: xmlns
toXML = (rules, params) ->
rules.type = 'structure'
shape = AWS.Model... | true | helpers = require('../helpers')
AWS = helpers.AWS
matchXML = helpers.matchXML
describe 'AWS.XML.Builder', ->
xmlns = 'http://mockservice.com/xmlns'
api = null
beforeEach ->
api = new AWS.Model.Api metadata: xmlNamespace: xmlns
toXML = (rules, params) ->
rules.type = 'structure'
shape = AWS.Model... |
[
{
"context": "ail: 'E-Mail'\n full_name: 'Full Name'\n language_choice: 'Language Choice'\n ",
"end": 3668,
"score": 0.925242006778717,
"start": 3659,
"tag": "NAME",
"value": "Full Name"
},
{
"context": "k_as: 'Mark as'\n old_password: ... | app/assets/javascripts/i18n.js.coffee | fwoeck/voice-rails | 1 | env.i18n =
en:
dialog:
agent_created: 'You successfully added the new user<br /><strong>NAME</strong>.'
browser_warning: 'For now, Chrome CHROME+ and Firefox FIREFOX+ are the only supported browsers. Use this platform at own risk.'
call_failed: 'Sorry, your call to<br /><strong>TO</stro... | 106474 | env.i18n =
en:
dialog:
agent_created: 'You successfully added the new user<br /><strong>NAME</strong>.'
browser_warning: 'For now, Chrome CHROME+ and Firefox FIREFOX+ are the only supported browsers. Use this platform at own risk.'
call_failed: 'Sorry, your call to<br /><strong>TO</stro... | true | env.i18n =
en:
dialog:
agent_created: 'You successfully added the new user<br /><strong>NAME</strong>.'
browser_warning: 'For now, Chrome CHROME+ and Firefox FIREFOX+ are the only supported browsers. Use this platform at own risk.'
call_failed: 'Sorry, your call to<br /><strong>TO</stro... |
[
{
"context": "anes)\n tabsKey = 'Prin' if obj.compKey is 'Prin' and obj.level is 'Comp'\n tabsKey = 'Prac' i",
"end": 5705,
"score": 0.5667741298675537,
"start": 5703,
"tag": "KEY",
"value": "in"
},
{
"context": "s 'Prin' and obj.level is 'Comp'\n tabsKey = 'Prac' if o... | lib/src/navi/Nav.coffee | axiom6/aug | 0 |
import Mix from './Mix.js'
import Build from '../util/Build.js'
import Dir from './Dir.js'
class Nav extends Mix
constructor:( Main, stream, komps=null, pages={}, isRoutes=false ) ->
super( Main )
@stream = stream
@komps = komps
@pages = pages
@isRoutes = isRoutes
@navs ... | 124319 |
import Mix from './Mix.js'
import Build from '../util/Build.js'
import Dir from './Dir.js'
class Nav extends Mix
constructor:( Main, stream, komps=null, pages={}, isRoutes=false ) ->
super( Main )
@stream = stream
@komps = komps
@pages = pages
@isRoutes = isRoutes
@navs ... | true |
import Mix from './Mix.js'
import Build from '../util/Build.js'
import Dir from './Dir.js'
class Nav extends Mix
constructor:( Main, stream, komps=null, pages={}, isRoutes=false ) ->
super( Main )
@stream = stream
@komps = komps
@pages = pages
@isRoutes = isRoutes
@navs ... |
[
{
"context": "rowClicked}>\n <td className='name'>Tage Test</td>\n <td className='date'>{@props",
"end": 963,
"score": 0.8235144019126892,
"start": 954,
"tag": "NAME",
"value": "Tage Test"
},
{
"context": " <ReportRow\n key=... | clients/widgets/expense/reportlist.cjsx | jacob22/accounting | 0 | /*
Copyright 2019 Open End AB
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, software
dis... | 64178 | /*
Copyright 2019 Open End AB
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, software
dis... | true | /*
Copyright 2019 Open End AB
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, software
dis... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998905062675476,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/app/controllers/articleController.coffee | AbdelhakimRafik/Project | 1 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date June 2021
###
{ Article } = require '../../models'
###
Get all articles or filtred list if offset and limit are provided
###
module.exports.getArticles = (req, res) ->
# get a... | 178116 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date June 2021
###
{ Article } = require '../../models'
###
Get all articles or filtred list if offset and limit are provided
###
module.exports.getArticles = (req, res) ->
# get articles
articles = ... | 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
###
{ Article } = require '../../models'
###
Get all articles or filtred list if offset and limit are provided
###
module.exports.getArticles = (req, res) ->
... |
[
{
"context": "GS IN THE SOFTWARE.\n\n# Taken from hubot at commit 71d1c686d9ffdfad54751080c699979fa17190a1 and modified to fit current use.\n\nFs = require 'f",
"end": 1166,
"score": 0.9775893092155457,
"start": 1126,
"tag": "PASSWORD",
"value": "71d1c686d9ffdfad54751080c699979fa17190a1"
}... | src/bot.coffee | kumpelblase2/modlab-chat | 0 | # Copyright (c) 2013 GitHub Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# dis... | 116591 | # Copyright (c) 2013 GitHub Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# dis... | true | # Copyright (c) 2013 GitHub Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# dis... |
[
{
"context": "point_stack: []\n cur_sink_point : null\n key : 'ult'\n \n constructor : ()->\n @translator_hash = ",
"end": 3266,
"score": 0.9899770617485046,
"start": 3263,
"tag": "KEY",
"value": "ult"
}
] | src/translator.coffee | hu2prod/gram | 0 | require 'fy'
module = @
class @Sink_point
buffer : []
namespace : {}
constructor : ()->
@buffer = []
@namespace = {}
push : (v)-> @buffer.push v
unshift : (v)-> @buffer.unshift v
toStringBlockJS : ()->
ret = "\t" + @buffer.join "\n"
ret.replace /\n/g, "\n\t"
toString : ()-> @bu... | 176454 | require 'fy'
module = @
class @Sink_point
buffer : []
namespace : {}
constructor : ()->
@buffer = []
@namespace = {}
push : (v)-> @buffer.push v
unshift : (v)-> @buffer.unshift v
toStringBlockJS : ()->
ret = "\t" + @buffer.join "\n"
ret.replace /\n/g, "\n\t"
toString : ()-> @bu... | true | require 'fy'
module = @
class @Sink_point
buffer : []
namespace : {}
constructor : ()->
@buffer = []
@namespace = {}
push : (v)-> @buffer.push v
unshift : (v)-> @buffer.unshift v
toStringBlockJS : ()->
ret = "\t" + @buffer.join "\n"
ret.replace /\n/g, "\n\t"
toString : ()-> @bu... |
[
{
"context": "ib/jquery.js'\nMove = require './../move.coffee'\n\n# Tim Huminski's favorite move. Does base damage of 0.5,\n# Never",
"end": 82,
"score": 0.9959545135498047,
"start": 70,
"tag": "NAME",
"value": "Tim Huminski"
}
] | src/js/moves/sandal.coffee | nagn/Battle-Resolution | 0 | $ = require './../lib/jquery.js'
Move = require './../move.coffee'
# Tim Huminski's favorite move. Does base damage of 0.5,
# Never very effective
module.exports = class Sandal extends Move
constructor: () ->
super 'THROW SANDAL'
getDamage: () ->
return 0.5
use: (cb) ->
super()
@target.damage(@... | 6659 | $ = require './../lib/jquery.js'
Move = require './../move.coffee'
# <NAME>'s favorite move. Does base damage of 0.5,
# Never very effective
module.exports = class Sandal extends Move
constructor: () ->
super 'THROW SANDAL'
getDamage: () ->
return 0.5
use: (cb) ->
super()
@target.damage(@getDam... | true | $ = require './../lib/jquery.js'
Move = require './../move.coffee'
# PI:NAME:<NAME>END_PI's favorite move. Does base damage of 0.5,
# Never very effective
module.exports = class Sandal extends Move
constructor: () ->
super 'THROW SANDAL'
getDamage: () ->
return 0.5
use: (cb) ->
super()
@target.... |
[
{
"context": "event on exit\", ->\n command = 'echo \"Hello, wrold!\"'\n handler = jasmine.createSpy('onExit')\n\n ",
"end": 4097,
"score": 0.5473076701164246,
"start": 4093,
"tag": "NAME",
"value": "rold"
}
] | home/.atom/packages/run-command/spec/command-runner-spec.coffee | shadowbq/dot.atom | 0 | {CompositeDisposable} = require 'atom'
CommandRunner = require '../lib/command-runner'
describe "CommandRunner", ->
beforeEach ->
@runner = new CommandRunner()
it "runs commands", ->
command = 'echo "Hello, wrold!"'
waitsForPromise =>
@runner.run(command).then (result) ->
expect(... | 114455 | {CompositeDisposable} = require 'atom'
CommandRunner = require '../lib/command-runner'
describe "CommandRunner", ->
beforeEach ->
@runner = new CommandRunner()
it "runs commands", ->
command = 'echo "Hello, wrold!"'
waitsForPromise =>
@runner.run(command).then (result) ->
expect(... | true | {CompositeDisposable} = require 'atom'
CommandRunner = require '../lib/command-runner'
describe "CommandRunner", ->
beforeEach ->
@runner = new CommandRunner()
it "runs commands", ->
command = 'echo "Hello, wrold!"'
waitsForPromise =>
@runner.run(command).then (result) ->
expect(... |
[
{
"context": "quire 'util'\r\nfs = require 'fs'\r\n\r\nACCOUNT_KEY = 'test'\r\nRECORD = false\r\nRECORDED_FILE = 'test/bing_nock",
"end": 147,
"score": 0.9978238344192505,
"start": 143,
"tag": "KEY",
"value": "test"
},
{
"context": "eturn results', (done) ->\r\n search.spelling ... | test/search.coffee | Cryptix720/Bing-AI | 0 | Search = require '../src/search'
nock = require 'nock'
should = require 'should'
util = require 'util'
fs = require 'fs'
ACCOUNT_KEY = 'test'
RECORD = false
RECORDED_FILE = 'test/bing_nock.json'
describe 'search', ->
search = null
beforeEach ->
search = new Search ACCOUNT_KEY
search.useGzi... | 96558 | Search = require '../src/search'
nock = require 'nock'
should = require 'should'
util = require 'util'
fs = require 'fs'
ACCOUNT_KEY = '<KEY>'
RECORD = false
RECORDED_FILE = 'test/bing_nock.json'
describe 'search', ->
search = null
beforeEach ->
search = new Search ACCOUNT_KEY
search.useGz... | true | Search = require '../src/search'
nock = require 'nock'
should = require 'should'
util = require 'util'
fs = require 'fs'
ACCOUNT_KEY = 'PI:KEY:<KEY>END_PI'
RECORD = false
RECORDED_FILE = 'test/bing_nock.json'
describe 'search', ->
search = null
beforeEach ->
search = new Search ACCOUNT_KEY
... |
[
{
"context": "e http://incident57.com/codekit/help.php\n# @author Matthew Wagerfield @mwagerfield\n#\n#=================================",
"end": 281,
"score": 0.9998957514762878,
"start": 263,
"tag": "NAME",
"value": "Matthew Wagerfield"
},
{
"context": ".com/codekit/help.php\n# @au... | assets/scripts/coffee/scripts.coffee | wagerfield/danbo | 1 | #============================================================
#
# CoffeeScript Imports
#
# Lists the source files to be concatenated and compiled into
# ../js/scripts.js using CodeKit's import directives.
#
# @see http://incident57.com/codekit/help.php
# @author Matthew Wagerfield @mwagerfield
#
#======================... | 11702 | #============================================================
#
# CoffeeScript Imports
#
# Lists the source files to be concatenated and compiled into
# ../js/scripts.js using CodeKit's import directives.
#
# @see http://incident57.com/codekit/help.php
# @author <NAME> @mwagerfield
#
#==================================... | true | #============================================================
#
# CoffeeScript Imports
#
# Lists the source files to be concatenated and compiled into
# ../js/scripts.js using CodeKit's import directives.
#
# @see http://incident57.com/codekit/help.php
# @author PI:NAME:<NAME>END_PI @mwagerfield
#
#====================... |
[
{
"context": "taObj[0].data.waveletData\n model.public = 'public@a.gwave.com' in waveletData.participants\n tasks = [\n ",
"end": 3028,
"score": 0.9998785257339478,
"start": 3010,
"tag": "EMAIL",
"value": "public@a.gwave.com"
},
{
"context": "heckWaveData, waveDataObj)... | src/server/import/source_saver.coffee | LaPingvino/rizzoma | 88 | _ = require('underscore')
async = require('async')
CouchImportProcessor = require('./couch_processor').CouchImportProcessor
ex = require('./exceptions')
DateUtils = require('../utils/date_utils').DateUtils
WaveImportData = require('./models').WaveImportData
ImportSourceParser = require('./source_parser').ImportSourcePa... | 59328 | _ = require('underscore')
async = require('async')
CouchImportProcessor = require('./couch_processor').CouchImportProcessor
ex = require('./exceptions')
DateUtils = require('../utils/date_utils').DateUtils
WaveImportData = require('./models').WaveImportData
ImportSourceParser = require('./source_parser').ImportSourcePa... | true | _ = require('underscore')
async = require('async')
CouchImportProcessor = require('./couch_processor').CouchImportProcessor
ex = require('./exceptions')
DateUtils = require('../utils/date_utils').DateUtils
WaveImportData = require('./models').WaveImportData
ImportSourceParser = require('./source_parser').ImportSourcePa... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.999909520149231,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/_components/comments-sort.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 { Observer } from 'mobx-react'
import core from 'osu-core-singleton'
import * as React from 'react'
import { button, div } from 'react-dom... | 38112 | # 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 { Observer } from 'mobx-react'
import core from 'osu-core-singleton'
import * as React from 'react'
import { button, div } from 'react-dom-factor... | 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 { Observer } from 'mobx-react'
import core from 'osu-core-singleton'
import * as React from 'react'
import { button, div } from 'r... |
[
{
"context": "(eft) - left\n# r(ight) - right\n#\n# Author:\n# whyjustin\n\n\n# Copyright (c) 2014 Justin Young\n# Permission ",
"end": 406,
"score": 0.999400794506073,
"start": 397,
"tag": "USERNAME",
"value": "whyjustin"
},
{
"context": "t\n#\n# Author:\n# whyjustin\n\n\n# ... | src/2048.coffee | buzzedword/hubot-2048-slack | 0 | # Description:
# A 2048 Game Engine for Hubot
#
# Commands:
# hubot 2048 me - Start a game of 2048
# hubot 2048 <direction> - Move tiles in a <direction>
# hubot 2048 reset - Resets the current game of 2048
# hubot 2048 stop - Stops the current game of 2048
#
# Notes:
# Direction Commands:
# u(p) - up
#... | 223993 | # Description:
# A 2048 Game Engine for Hubot
#
# Commands:
# hubot 2048 me - Start a game of 2048
# hubot 2048 <direction> - Move tiles in a <direction>
# hubot 2048 reset - Resets the current game of 2048
# hubot 2048 stop - Stops the current game of 2048
#
# Notes:
# Direction Commands:
# u(p) - up
#... | true | # Description:
# A 2048 Game Engine for Hubot
#
# Commands:
# hubot 2048 me - Start a game of 2048
# hubot 2048 <direction> - Move tiles in a <direction>
# hubot 2048 reset - Resets the current game of 2048
# hubot 2048 stop - Stops the current game of 2048
#
# Notes:
# Direction Commands:
# u(p) - up
#... |
[
{
"context": "# Automatically creates project files\n#\n# Author: Anshul Kharbanda\n# Created: 10 - 20 - 2017\n\n# Describe Gitignore\nd",
"end": 89,
"score": 0.9998742341995239,
"start": 73,
"tag": "NAME",
"value": "Anshul Kharbanda"
}
] | spec/license-spec.coffee | andydevs/auto-create-files | 5 | # Auto Create Files
#
# Automatically creates project files
#
# Author: Anshul Kharbanda
# Created: 10 - 20 - 2017
# Describe Gitignore
describe 'License', ->
# Variables
activatedPromise = null
workspaceView = null
# Do before each
beforeEach ->
activatedPromise = atom.packages.activatePackage 'auto-c... | 11540 | # Auto Create Files
#
# Automatically creates project files
#
# Author: <NAME>
# Created: 10 - 20 - 2017
# Describe Gitignore
describe 'License', ->
# Variables
activatedPromise = null
workspaceView = null
# Do before each
beforeEach ->
activatedPromise = atom.packages.activatePackage 'auto-create-file... | true | # Auto Create Files
#
# Automatically creates project files
#
# Author: PI:NAME:<NAME>END_PI
# Created: 10 - 20 - 2017
# Describe Gitignore
describe 'License', ->
# Variables
activatedPromise = null
workspaceView = null
# Do before each
beforeEach ->
activatedPromise = atom.packages.activatePackage 'au... |
[
{
"context": "tMonday: '2015-12-07'}\n\t\t\tgroup_users_ = [{name: 'Elin'}, {name: 'Victor'}]\n\t\t\tres = editGroup_edit grou",
"end": 6361,
"score": 0.9980871677398682,
"start": 6357,
"tag": "NAME",
"value": "Elin"
},
{
"context": "2-07'}\n\t\t\tgroup_users_ = [{name: 'Elin'}, {nam... | super-glue/client/src/base/test__lifters.coffee | Cottin/react-coffee-boilerplates | 0 | assert = require 'assert'
moment = require 'moment'
util = require 'util'
{add, always, empty, flip, has, isNil, join, last, length, sort} = require 'ramda' #auto_require:ramda
{cc} = require 'ramda-extras'
{page_, topBarData_, dateData_, profile_, groups_} = lifters = require './lifters'
{editGroup_create, editGroup_e... | 214939 | assert = require 'assert'
moment = require 'moment'
util = require 'util'
{add, always, empty, flip, has, isNil, join, last, length, sort} = require 'ramda' #auto_require:ramda
{cc} = require 'ramda-extras'
{page_, topBarData_, dateData_, profile_, groups_} = lifters = require './lifters'
{editGroup_create, editGroup_e... | true | assert = require 'assert'
moment = require 'moment'
util = require 'util'
{add, always, empty, flip, has, isNil, join, last, length, sort} = require 'ramda' #auto_require:ramda
{cc} = require 'ramda-extras'
{page_, topBarData_, dateData_, profile_, groups_} = lifters = require './lifters'
{editGroup_create, editGroup_e... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998393058776855,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | src/Runtime.coffee | sjorek/goatee-script.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... | 12026 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": "http://kevin.vanzonneveld.net\n # + original by: Waldo Malqui Silva\n # + input by: Steve Hilder\n # + improve",
"end": 198,
"score": 0.9998957514762878,
"start": 180,
"tag": "NAME",
"value": "Waldo Malqui Silva"
},
{
"context": "iginal by: Waldo Malqui Silv... | node_modules/algebrite/runtime/otherCFunctions.coffee | geometor/geometor-explorer | 4 |
# The C library function int isspace(int c) checks
# whether the passed character is white-space.
strcmp = (str1, str2) ->
# http://kevin.vanzonneveld.net
# + original by: Waldo Malqui Silva
# + input by: Steve Hilder
# + improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
# + revis... | 208258 |
# The C library function int isspace(int c) checks
# whether the passed character is white-space.
strcmp = (str1, str2) ->
# http://kevin.vanzonneveld.net
# + original by: <NAME>
# + input by: <NAME>
# + improved by: <NAME> (http://kevin.vanzonneveld.net)
# + revised by: gorthaur
# * examp... | true |
# The C library function int isspace(int c) checks
# whether the passed character is white-space.
strcmp = (str1, str2) ->
# http://kevin.vanzonneveld.net
# + original by: PI:NAME:<NAME>END_PI
# + input by: PI:NAME:<NAME>END_PI
# + improved by: PI:NAME:<NAME>END_PI (http://kevin.vanzonneveld.net)
#... |
[
{
"context": "st, @last].join(' ')\n\n me = new Name(first: \"Jack\", last: \"Harkness\")\n me\n .on('change'",
"end": 1238,
"score": 0.9998613595962524,
"start": 1234,
"tag": "NAME",
"value": "Jack"
},
{
"context": "n(' ')\n\n me = new Name(first: \"Jack\", las... | test/computed_test.coffee | rstacruz/ento | 11 | require './setup'
Name = null
me = null
describe 'computed properties', ->
describe 'definition', ->
it '.attr(name, deps, fn) syntax', ->
Name = Ento()
.attr('full', ['first','last'], ->)
expect(Name.attributes.full.via).be.like ['first', 'last']
it '.attr(name, fn, deps) syntax', ->
... | 132431 | require './setup'
Name = null
me = null
describe 'computed properties', ->
describe 'definition', ->
it '.attr(name, deps, fn) syntax', ->
Name = Ento()
.attr('full', ['first','last'], ->)
expect(Name.attributes.full.via).be.like ['first', 'last']
it '.attr(name, fn, deps) syntax', ->
... | true | require './setup'
Name = null
me = null
describe 'computed properties', ->
describe 'definition', ->
it '.attr(name, deps, fn) syntax', ->
Name = Ento()
.attr('full', ['first','last'], ->)
expect(Name.attributes.full.via).be.like ['first', 'last']
it '.attr(name, fn, deps) syntax', ->
... |
[
{
"context": "\"\"\"\n\n@author: Nino P. Cocchiarella\n(c) 2016\n\nGeneral site-wide plerping-system\n-star",
"end": 34,
"score": 0.999866783618927,
"start": 14,
"tag": "NAME",
"value": "Nino P. Cocchiarella"
}
] | src/static/site/coffeescript/iframe.coffee | nino-c/plerp.org | 0 | """
@author: Nino P. Cocchiarella
(c) 2016
General site-wide plerping-system
-startup routines
"""
# globals
window.artboard = null
window.ctx = null
class ArtBoard
constructor: () ->
@canvas = document.createElement 'canvas'
document.body.appendChild @canvas
@adjust_size();
window.ctx = @canvas.get... | 52976 | """
@author: <NAME>
(c) 2016
General site-wide plerping-system
-startup routines
"""
# globals
window.artboard = null
window.ctx = null
class ArtBoard
constructor: () ->
@canvas = document.createElement 'canvas'
document.body.appendChild @canvas
@adjust_size();
window.ctx = @canvas.getContext("2d")
... | true | """
@author: PI:NAME:<NAME>END_PI
(c) 2016
General site-wide plerping-system
-startup routines
"""
# globals
window.artboard = null
window.ctx = null
class ArtBoard
constructor: () ->
@canvas = document.createElement 'canvas'
document.body.appendChild @canvas
@adjust_size();
window.ctx = @canvas.get... |
[
{
"context": "->\n\t\tDom.style textAlign: 'center'\n\t\tDom.text tr \"Best Hunters\"\n\n\tmeInTop3 = false\n\tDom.div !->\n\t\tDom.st",
"end": 1117,
"score": 0.7387544512748718,
"start": 1113,
"tag": "NAME",
"value": "Best"
},
{
"context": "\tDom.style textAlign: 'center'\n\t\tDom.t... | client.coffee | wwolbers/Photohunt | 0 | Db = require 'db'
Dom = require 'dom'
Modal = require 'modal'
Icon = require 'icon'
Loglist = require 'loglist'
Obs = require 'obs'
Plugin = require 'plugin'
Page = require 'page'
Server = require 'server'
Ui = require 'ui'
Form = require 'form'
Time = require 'time'
Colors = Plugin.colors()
Photo = require 'photo'
Soc... | 189364 | Db = require 'db'
Dom = require 'dom'
Modal = require 'modal'
Icon = require 'icon'
Loglist = require 'loglist'
Obs = require 'obs'
Plugin = require 'plugin'
Page = require 'page'
Server = require 'server'
Ui = require 'ui'
Form = require 'form'
Time = require 'time'
Colors = Plugin.colors()
Photo = require 'photo'
Soc... | true | Db = require 'db'
Dom = require 'dom'
Modal = require 'modal'
Icon = require 'icon'
Loglist = require 'loglist'
Obs = require 'obs'
Plugin = require 'plugin'
Page = require 'page'
Server = require 'server'
Ui = require 'ui'
Form = require 'form'
Time = require 'time'
Colors = Plugin.colors()
Photo = require 'photo'
Soc... |
[
{
"context": "\n else \n key = fuzzyMatches[index] || \"__$!SCALAR\" + originals.__next++\n originals[key] ",
"end": 2461,
"score": 0.4890611171722412,
"start": 2461,
"tag": "KEY",
"value": ""
},
{
"context": "else \n key = fuzzyMatches[index] || \"__$!SCALAR\" + or... | old-coffee-lib/index.coffee | luckygerbils/json-diff | 658 | { SequenceMatcher } = require 'difflib'
{ extendedTypeOf } = require './util'
{ colorize } = require './colorize'
isScalar = (obj) -> (typeof obj isnt 'object' || obj == null)
objectDiff = (obj1, obj2, options = {}) ->
result = {}
score = 0
for own key, value1 of obj1 when !(key of obj2)
result["#{key}__d... | 72173 | { SequenceMatcher } = require 'difflib'
{ extendedTypeOf } = require './util'
{ colorize } = require './colorize'
isScalar = (obj) -> (typeof obj isnt 'object' || obj == null)
objectDiff = (obj1, obj2, options = {}) ->
result = {}
score = 0
for own key, value1 of obj1 when !(key of obj2)
result["#{key}__d... | true | { SequenceMatcher } = require 'difflib'
{ extendedTypeOf } = require './util'
{ colorize } = require './colorize'
isScalar = (obj) -> (typeof obj isnt 'object' || obj == null)
objectDiff = (obj1, obj2, options = {}) ->
result = {}
score = 0
for own key, value1 of obj1 when !(key of obj2)
result["#{key}__d... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994344115257263,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/fs.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... | 75761 | # 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": "ient =\n client_id: 'uuid', client_secret: 'h4sh'\n verifier = () ->\n strategy = new OAut",
"end": 1515,
"score": 0.998765230178833,
"start": 1511,
"tag": "KEY",
"value": "h4sh"
},
{
"context": "ient =\n client_id: 'uuid', client_secret: 'h4sh'\... | test/unit/strategies/oauth2/authorizationCodeGrant.coffee | Zacaria/connect | 0 | # Test dependencies
_ = require 'lodash'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
proxyquire = require('proxyquire').noCallThru()
superagent = require 'superagent'
version = require('../../../../package').version
# Assertions
chai.use sinonChai
chai.should()
... | 25213 | # Test dependencies
_ = require 'lodash'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
proxyquire = require('proxyquire').noCallThru()
superagent = require 'superagent'
version = require('../../../../package').version
# Assertions
chai.use sinonChai
chai.should()
... | true | # Test dependencies
_ = require 'lodash'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
proxyquire = require('proxyquire').noCallThru()
superagent = require 'superagent'
version = require('../../../../package').version
# Assertions
chai.use sinonChai
chai.should()
... |
[
{
"context": "hema)\n \n instance = new SimpleModel({name: 'testName', title: 'testTitle'})\n should.exist instanc",
"end": 1796,
"score": 0.9007583856582642,
"start": 1788,
"tag": "USERNAME",
"value": "testName"
},
{
"context": "true\n instance.should.have.property '... | node_modules/mongoose-file/test/test.coffee | brilliantyy/Pictopia | 19 | chai = require 'chai'
assert = chai.assert
expect = chai.expect
should = chai.should()
mongoose = require 'mongoose'
fs = require 'fs'
path = require 'path'
index = require '../src/index'
PLUGIN_TIMEOUT = 800
rmDir = (dirPath) ->
try
files = fs.readdirSync(dirPath)
catch e
return
if files.length > 0
... | 82844 | chai = require 'chai'
assert = chai.assert
expect = chai.expect
should = chai.should()
mongoose = require 'mongoose'
fs = require 'fs'
path = require 'path'
index = require '../src/index'
PLUGIN_TIMEOUT = 800
rmDir = (dirPath) ->
try
files = fs.readdirSync(dirPath)
catch e
return
if files.length > 0
... | true | chai = require 'chai'
assert = chai.assert
expect = chai.expect
should = chai.should()
mongoose = require 'mongoose'
fs = require 'fs'
path = require 'path'
index = require '../src/index'
PLUGIN_TIMEOUT = 800
rmDir = (dirPath) ->
try
files = fs.readdirSync(dirPath)
catch e
return
if files.length > 0
... |
[
{
"context": "###\n# config/env/test.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Test environme",
"end": 51,
"score": 0.9996894598007202,
"start": 40,
"tag": "NAME",
"value": "Dan Nichols"
}
] | lib/config/env/test.coffee | dlnichols/h_media | 0 | ###
# config/env/test.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Test environment setup
###
'use strict'
###
# Test environment
###
module.exports = exports =
env: 'test'
port: process.env.PORT or 3001
logger: null
mongo:
uri: 'mongodb://localhost/h_media-test'
| 45928 | ###
# config/env/test.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Test environment setup
###
'use strict'
###
# Test environment
###
module.exports = exports =
env: 'test'
port: process.env.PORT or 3001
logger: null
mongo:
uri: 'mongodb://localhost/h_media-test'
| true | ###
# config/env/test.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Test environment setup
###
'use strict'
###
# Test environment
###
module.exports = exports =
env: 'test'
port: process.env.PORT or 3001
logger: null
mongo:
uri: 'mongodb://localhost/h_media-test'
|
[
{
"context": " #\n super( method, url, async, username, password )\n else\n ",
"end": 4931,
"score": 0.9914649128913879,
"start": 4923,
"tag": "USERNAME",
"value": "username"
},
{
"context": " @timeout\n\n @request.... | src/xdm.coffee | Qwerios/madlib-xhr-xdm | 0 | # The XDM variant of the browser XHR. If an xdm settings section exists for the
# called url we will use the easyXDM based fall back
#
( ( factory ) ->
if typeof exports is "object"
module.exports = factory(
require "madlib-console"
require "q"
require "madlib-xhr"
... | 159982 | # The XDM variant of the browser XHR. If an xdm settings section exists for the
# called url we will use the easyXDM based fall back
#
( ( factory ) ->
if typeof exports is "object"
module.exports = factory(
require "madlib-console"
require "q"
require "madlib-xhr"
... | true | # The XDM variant of the browser XHR. If an xdm settings section exists for the
# called url we will use the easyXDM based fall back
#
( ( factory ) ->
if typeof exports is "object"
module.exports = factory(
require "madlib-console"
require "q"
require "madlib-xhr"
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990074038505554,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-net-keepalive.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... | 75067 | # 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": " / 30)\n keygen username, (key) ->\n key = (new Buffer(key)).toString('hex')\n hmac = crypto.createHm",
"end": 329,
"score": 0.8049151301383972,
"start": 318,
"tag": "KEY",
"value": "new Buffer("
},
{
"context": "gen username, (key) ->\n key = (new Buf... | lib/auth-api.coffee | zenozeng/qr-auth | 3 | crypto = require 'crypto'
lm = require './login-manager.js'
module.exports = (req, res, keygen) ->
res.writeHead 200, {'Content-Type': 'text/html'}
{username, hash, sid} = req.body
if hash? # login from api
timestamp = parseInt((new Date().getTime()) / 1000 / 30)
keygen username, (key) ->
key = (ne... | 115966 | crypto = require 'crypto'
lm = require './login-manager.js'
module.exports = (req, res, keygen) ->
res.writeHead 200, {'Content-Type': 'text/html'}
{username, hash, sid} = req.body
if hash? # login from api
timestamp = parseInt((new Date().getTime()) / 1000 / 30)
keygen username, (key) ->
key = (<K... | true | crypto = require 'crypto'
lm = require './login-manager.js'
module.exports = (req, res, keygen) ->
res.writeHead 200, {'Content-Type': 'text/html'}
{username, hash, sid} = req.body
if hash? # login from api
timestamp = parseInt((new Date().getTime()) / 1000 / 30)
keygen username, (key) ->
key = (PI... |
[
{
"context": "**\n * The Calamity day lowers luck.\n *\n * @name Calamity\n * @effect -5% LUCK\n * @category Day\n * @",
"end": 98,
"score": 0.7168852090835571,
"start": 95,
"tag": "NAME",
"value": "Cal"
}
] | src/event/calendar/day/CalamityDay.coffee | sadbear-/IdleLands | 3 |
TimePeriod = require "../../TimePeriod"
`/**
* The Calamity day lowers luck.
*
* @name Calamity
* @effect -5% LUCK
* @category Day
* @package Calendar
*/`
class CalamityDay extends TimePeriod
constructor: ->
@dateName = "Day of Calamity"
@desc = "-5% LUCK"
@luckPercent: -> -5
module.exports ... | 224674 |
TimePeriod = require "../../TimePeriod"
`/**
* The Calamity day lowers luck.
*
* @name <NAME>amity
* @effect -5% LUCK
* @category Day
* @package Calendar
*/`
class CalamityDay extends TimePeriod
constructor: ->
@dateName = "Day of Calamity"
@desc = "-5% LUCK"
@luckPercent: -> -5
module.expor... | true |
TimePeriod = require "../../TimePeriod"
`/**
* The Calamity day lowers luck.
*
* @name PI:NAME:<NAME>END_PIamity
* @effect -5% LUCK
* @category Day
* @package Calendar
*/`
class CalamityDay extends TimePeriod
constructor: ->
@dateName = "Day of Calamity"
@desc = "-5% LUCK"
@luckPercent: -> -5... |
[
{
"context": " ->\n new DotLedger.Models.Account\n name: 'Some Account'\n balance: 10.00\n updated_at: '2013-01-",
"end": 126,
"score": 0.9965451955795288,
"start": 114,
"tag": "NAME",
"value": "Some Account"
},
{
"context": "model = new DotLedger.Models.Account\n ... | spec/javascripts/dot_ledger/views/accounts/list_item_spec.js.coffee | malclocke/dotledger | 0 | describe "DotLedger.Views.Accounts.ListItem", ->
createModel = ->
new DotLedger.Models.Account
name: 'Some Account'
balance: 10.00
updated_at: '2013-01-01T01:00:00Z'
unsorted_transaction_count: 123
id: 1
createView = (model = createModel()) ->
view = new DotLedger.Views.Accou... | 76864 | describe "DotLedger.Views.Accounts.ListItem", ->
createModel = ->
new DotLedger.Models.Account
name: '<NAME>'
balance: 10.00
updated_at: '2013-01-01T01:00:00Z'
unsorted_transaction_count: 123
id: 1
createView = (model = createModel()) ->
view = new DotLedger.Views.Accounts.Li... | true | describe "DotLedger.Views.Accounts.ListItem", ->
createModel = ->
new DotLedger.Models.Account
name: 'PI:NAME:<NAME>END_PI'
balance: 10.00
updated_at: '2013-01-01T01:00:00Z'
unsorted_transaction_count: 123
id: 1
createView = (model = createModel()) ->
view = new DotLedger.Vie... |
[
{
"context": "module.exports =\n name: \"Linus\"\n url: '/linus/:name/:from'\n fields: [\n { na",
"end": 31,
"score": 0.999638557434082,
"start": 26,
"tag": "NAME",
"value": "Linus"
}
] | lib/operations/linus.coffee | brettminnie/foaas | 0 | module.exports =
name: "Linus"
url: '/linus/:name/:from'
fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/linus/:name/:from', (req, res) ->
message = "#{req.params.name}, there aren't enough swear-words in the English language, s... | 181039 | module.exports =
name: "<NAME>"
url: '/linus/:name/:from'
fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/linus/:name/:from', (req, res) ->
message = "#{req.params.name}, there aren't enough swear-words in the English language, ... | true | module.exports =
name: "PI:NAME:<NAME>END_PI"
url: '/linus/:name/:from'
fields: [
{ name: 'Name', field: 'name'}
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/linus/:name/:from', (req, res) ->
message = "#{req.params.name}, there aren't enough swear-words in the Engl... |
[
{
"context": " keydown: (cb) => windowKeyDown = cb\n\n names = {bill: 'bill', sally: 'sally', bob: 'bob', joe: 'Joe'}\n",
"end": 784,
"score": 0.975897490978241,
"start": 780,
"tag": "NAME",
"value": "bill"
},
{
"context": "wn: (cb) => windowKeyDown = cb\n\n names = {bill: 'bill',... | test/user_input_handler_test.coffee | nornagon/ircv | 20 | describe 'A user input handler', ->
handler = altHeld = val = inputKeyDown = windowKeyDown = undefined
onVal = jasmine.createSpy 'onVal'
keyDown = (code) ->
e =
which: code
altKey: altHeld
isDefaultPrevented: ->
preventDefault: ->
windowKeyDown e
inputKeyDown e
type = (te... | 160516 | describe 'A user input handler', ->
handler = altHeld = val = inputKeyDown = windowKeyDown = undefined
onVal = jasmine.createSpy 'onVal'
keyDown = (code) ->
e =
which: code
altKey: altHeld
isDefaultPrevented: ->
preventDefault: ->
windowKeyDown e
inputKeyDown e
type = (te... | true | describe 'A user input handler', ->
handler = altHeld = val = inputKeyDown = windowKeyDown = undefined
onVal = jasmine.createSpy 'onVal'
keyDown = (code) ->
e =
which: code
altKey: altHeld
isDefaultPrevented: ->
preventDefault: ->
windowKeyDown e
inputKeyDown e
type = (te... |
[
{
"context": "ks: [ {name: 'Kana Abe', value: 'Kana'}, { name: 'Bob Olsen', value: 'Bob' } ]\n }\n ]\n ",
"end": 2013,
"score": 0.9996108412742615,
"start": 2004,
"tag": "NAME",
"value": "Bob Olsen"
},
{
"context": "be', value: 'Kana'}, { name: 'Bob Olsen', val... | desktop/components/article/test/templates.coffee | dblock/force | 0 | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
moment = require 'moment'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
fixtures = require '../../../test/helpers/fixtures.coffee'
render = (templateName) ... | 129804 | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
moment = require 'moment'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
fixtures = require '../../../test/helpers/fixtures.coffee'
render = (templateName) ... | true | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
moment = require 'moment'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
fixtures = require '../../../test/helpers/fixtures.coffee'
render = (templateName) ... |
[
{
"context": "by .doaxvv-news-scraper-bot.json.\n#\n# Author:\n# ktp <unofficial.doaxvv.bot@gmail.com>\n\nfs = require '",
"end": 867,
"score": 0.9996505975723267,
"start": 864,
"tag": "USERNAME",
"value": "ktp"
},
{
"context": "axvv-news-scraper-bot.json.\n#\n# Author:\n# ktp ... | scripts/doaxvv-news-scraper-bot.coffee | speedholicktp/doaxvv-news-scraper-bot | 1 | # Description
# A DOAXVV official site scraper for Discord.
#
# Configuration:
# HUBOT_DISCORD_TOKEN
# HUBOT_DISCORD_STATUS_MSG
# HUBOT_DISCORD_WEBHOOK_URL
# (Heroku only) HUBOT_HEROKU_KEEPALIVE_URL
# (Heroku only) HUBOT_HEROKU_KEEPALIVE_INTERVAL
# (Heroku only) HUBOT_HEROKU_WAKEUP_TIME
# (Heroku onl... | 19350 | # Description
# A DOAXVV official site scraper for Discord.
#
# Configuration:
# HUBOT_DISCORD_TOKEN
# HUBOT_DISCORD_STATUS_MSG
# HUBOT_DISCORD_WEBHOOK_URL
# (Heroku only) HUBOT_HEROKU_KEEPALIVE_URL
# (Heroku only) HUBOT_HEROKU_KEEPALIVE_INTERVAL
# (Heroku only) HUBOT_HEROKU_WAKEUP_TIME
# (Heroku onl... | true | # Description
# A DOAXVV official site scraper for Discord.
#
# Configuration:
# HUBOT_DISCORD_TOKEN
# HUBOT_DISCORD_STATUS_MSG
# HUBOT_DISCORD_WEBHOOK_URL
# (Heroku only) HUBOT_HEROKU_KEEPALIVE_URL
# (Heroku only) HUBOT_HEROKU_KEEPALIVE_INTERVAL
# (Heroku only) HUBOT_HEROKU_WAKEUP_TIME
# (Heroku onl... |
[
{
"context": "t = [\n {\n id: 0,\n name: \"supa\",\n race: \"shadow\",\n team: 0\n ",
"end": 15057,
"score": 0.998538613319397,
"start": 15053,
"tag": "NAME",
"value": "supa"
},
{
"context": " },\n {\n id: 1,\n n... | gameserver/test/unit/lib/game-unit-test.coffee | towerstorm/game | 11 | assert = require 'assert'
sinon = require 'sinon'
proxyquire = require 'proxyquire'
Player = require '../../../lib/player'
config = require 'config/general'
serverConfig = require 'config/gameserver'
Dispatcher = require '../dispatcher-mock'
GameModel = require '../mocks/game-model-mock'
gameMsg = require 'config/game-... | 81858 | assert = require 'assert'
sinon = require 'sinon'
proxyquire = require 'proxyquire'
Player = require '../../../lib/player'
config = require 'config/general'
serverConfig = require 'config/gameserver'
Dispatcher = require '../dispatcher-mock'
GameModel = require '../mocks/game-model-mock'
gameMsg = require 'config/game-... | true | assert = require 'assert'
sinon = require 'sinon'
proxyquire = require 'proxyquire'
Player = require '../../../lib/player'
config = require 'config/general'
serverConfig = require 'config/gameserver'
Dispatcher = require '../dispatcher-mock'
GameModel = require '../mocks/game-model-mock'
gameMsg = require 'config/game-... |
[
{
"context": "= redis.createClient()\n\nkeys = {\n token: \"tokens:%s\"\n client: \"clients:%s\"\n refreshToken: \"re",
"end": 139,
"score": 0.7946905493736267,
"start": 130,
"tag": "KEY",
"value": "tokens:%s"
}
] | src/models/oauth2.coffee | aegypius/smarter-tv | 0 | model = module.exports
util = require "util"
redis = require "fakeredis"
db = redis.createClient()
keys = {
token: "tokens:%s"
client: "clients:%s"
refreshToken: "refreshTokens:%s"
grantTypes: "grantTypes:%s"
user: "users:%s"
}
model.getAccessToken = (bearerToken, callback)->
... | 169825 | model = module.exports
util = require "util"
redis = require "fakeredis"
db = redis.createClient()
keys = {
token: "<KEY>"
client: "clients:%s"
refreshToken: "refreshTokens:%s"
grantTypes: "grantTypes:%s"
user: "users:%s"
}
model.getAccessToken = (bearerToken, callback)->
db.... | true | model = module.exports
util = require "util"
redis = require "fakeredis"
db = redis.createClient()
keys = {
token: "PI:KEY:<KEY>END_PI"
client: "clients:%s"
refreshToken: "refreshTokens:%s"
grantTypes: "grantTypes:%s"
user: "users:%s"
}
model.getAccessToken = (bearerToken, callb... |
[
{
"context": "###\n * cena_auth\n * https://github.com/1egoman/cena_app\n *\n * Copyright (c) 2015 Ryan Gaus\n * Li",
"end": 46,
"score": 0.9984235763549805,
"start": 39,
"tag": "USERNAME",
"value": "1egoman"
},
{
"context": "thub.com/1egoman/cena_app\n *\n * Copyright (c) 2015 Ryan ... | src/routes/auth.coffee | 1egoman/cena_app | 0 | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
'use strict';
passport = require "passport"
bodyParser = require "body-parser"
User = require '../models/user'
module.exports = (app) ->
# login view
app.get "/login", (req, res) ->
... | 126426 | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
'use strict';
passport = require "passport"
bodyParser = require "body-parser"
User = require '../models/user'
module.exports = (app) ->
# login view
app.get "/login", (req, res) ->
... | true | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
'use strict';
passport = require "passport"
bodyParser = require "body-parser"
User = require '../models/user'
module.exports = (app) ->
# login view
app.get "/login", (re... |
[
{
"context": "###\n# @author Jinzulen\n# @license Apache 2.0\n# @copyright Copyright 2020",
"end": 22,
"score": 0.9998658299446106,
"start": 14,
"tag": "NAME",
"value": "Jinzulen"
},
{
"context": "\n# @license Apache 2.0\n# @copyright Copyright 2020 Khalil G. <https://github.com/Jinz... | src/API/EmojiAPI.coffee | DiaxManPl/DEmojiJS | 24 | ###
# @author Jinzulen
# @license Apache 2.0
# @copyright Copyright 2020 Khalil G. <https://github.com/Jinzulen>
###
HTTPS = require "https"
Cache = require "./EmojiCache"
exports.GrabCategories = () ->
if !Cache.getCache "/Categories"
this.contactAPI "https://emoji.gg/api/?request=categories", (Error, Da... | 187760 | ###
# @author <NAME>
# @license Apache 2.0
# @copyright Copyright 2020 <NAME>. <https://github.com/Jinzulen>
###
HTTPS = require "https"
Cache = require "./EmojiCache"
exports.GrabCategories = () ->
if !Cache.getCache "/Categories"
this.contactAPI "https://emoji.gg/api/?request=categories", (Error, Data) ... | true | ###
# @author PI:NAME:<NAME>END_PI
# @license Apache 2.0
# @copyright Copyright 2020 PI:NAME:<NAME>END_PI. <https://github.com/Jinzulen>
###
HTTPS = require "https"
Cache = require "./EmojiCache"
exports.GrabCategories = () ->
if !Cache.getCache "/Categories"
this.contactAPI "https://emoji.gg/api/?request... |
[
{
"context": "\n }\n auth.login(server, {username: \"Viewer\", password:\"password\"}, 200, \n (res)->",
"end": 906,
"score": 0.7239108085632324,
"start": 900,
"tag": "USERNAME",
"value": "Viewer"
},
{
"context": "auth.login(server, {username: \"Viewer\", pas... | test/services_tests/test_permission_viewer_services.coffee | ureport-web/ureport-s | 3 | #load application models
server = require('../../app')
_ = require('underscore');
invTest = require('../api_objects/investigated_test_api_object')
assignment = require('../api_objects/assignment_api_object')
dashboard = require('../api_objects/dashboard_api_object')
setting = require('../api_objects/setting_api_object'... | 69868 | #load application models
server = require('../../app')
_ = require('underscore');
invTest = require('../api_objects/investigated_test_api_object')
assignment = require('../api_objects/assignment_api_object')
dashboard = require('../api_objects/dashboard_api_object')
setting = require('../api_objects/setting_api_object'... | true | #load application models
server = require('../../app')
_ = require('underscore');
invTest = require('../api_objects/investigated_test_api_object')
assignment = require('../api_objects/assignment_api_object')
dashboard = require('../api_objects/dashboard_api_object')
setting = require('../api_objects/setting_api_object'... |
[
{
"context": "ported\n beforeEach -> @clever = Clever {token: 'DEMO_TOKEN'}\n\n it 'can get Events', (done)->\n @clever.Ev",
"end": 285,
"score": 0.9343662261962891,
"start": 275,
"tag": "PASSWORD",
"value": "DEMO_TOKEN"
}
] | test/events.coffee | Clever/clever-js | 10 | assert = require 'assert'
_ = require 'underscore'
Clever = require "#{__dirname}/../index"
##
# Tests the Events functionality
##
describe '/events endpoint', ->
# Build Clever API tool, only Tokens are supported
beforeEach -> @clever = Clever {token: 'DEMO_TOKEN'}
it 'can get Events', (done)->... | 108883 | assert = require 'assert'
_ = require 'underscore'
Clever = require "#{__dirname}/../index"
##
# Tests the Events functionality
##
describe '/events endpoint', ->
# Build Clever API tool, only Tokens are supported
beforeEach -> @clever = Clever {token: '<PASSWORD>'}
it 'can get Events', (done)->... | true | assert = require 'assert'
_ = require 'underscore'
Clever = require "#{__dirname}/../index"
##
# Tests the Events functionality
##
describe '/events endpoint', ->
# Build Clever API tool, only Tokens are supported
beforeEach -> @clever = Clever {token: 'PI:PASSWORD:<PASSWORD>END_PI'}
it 'can get... |
[
{
"context": "nal notes required for the script>\n#\n# Author:\n# AJ Jordan <alex@strugee.net>\n\nresponses = ['yum!', '*catche",
"end": 259,
"score": 0.9998312592506409,
"start": 250,
"tag": "NAME",
"value": "AJ Jordan"
},
{
"context": "quired for the script>\n#\n# Author:\n# AJ... | src/botsnack.coffee | strugee/hubot-botsnack | 0 | # Description
# botsnack command implementation for Hubot
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot botsnack - give the bot a snack for being good
#
# Notes:
# <optional notes required for the script>
#
# Author:
# AJ Jordan <alex@strugee.net>
responses = ['yum!', '*catches the botsn... | 66377 | # Description
# botsnack command implementation for Hubot
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot botsnack - give the bot a snack for being good
#
# Notes:
# <optional notes required for the script>
#
# Author:
# <NAME> <<EMAIL>>
responses = ['yum!', '*catches the botsnack in midai... | true | # Description
# botsnack command implementation for Hubot
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot botsnack - give the bot a snack for being good
#
# Notes:
# <optional notes required for the script>
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
responses = ['yum!', '*... |
[
{
"context": " = service.where(predicate)\n if refKey is 'product'\n request.staged(true)\n request.f",
"end": 28708,
"score": 0.5735903978347778,
"start": 28701,
"tag": "KEY",
"value": "product"
}
] | lib/product-import.coffee | sphereio/sphere-product-import | 5 | _ = require 'underscore'
_.mixin require 'underscore-mixins'
debug = require('debug')('sphere-product-import')
Mutex = require('await-mutex').default
Promise = require 'bluebird'
slugify = require 'underscore.string/slugify'
{SphereClient, ProductSync} = require 'sphere-node-sdk'
{Repeater} = require 'sphere-node-utils... | 5481 | _ = require 'underscore'
_.mixin require 'underscore-mixins'
debug = require('debug')('sphere-product-import')
Mutex = require('await-mutex').default
Promise = require 'bluebird'
slugify = require 'underscore.string/slugify'
{SphereClient, ProductSync} = require 'sphere-node-sdk'
{Repeater} = require 'sphere-node-utils... | true | _ = require 'underscore'
_.mixin require 'underscore-mixins'
debug = require('debug')('sphere-product-import')
Mutex = require('await-mutex').default
Promise = require 'bluebird'
slugify = require 'underscore.string/slugify'
{SphereClient, ProductSync} = require 'sphere-node-sdk'
{Repeater} = require 'sphere-node-utils... |
[
{
"context": "op=\"author\">\n <meta itemprop=\"name\" content=\"Mr. Bees\" />\n <meta itemprop=\"url\" content=\"htt",
"end": 1874,
"score": 0.5682551860809326,
"start": 1872,
"tag": "NAME",
"value": "Mr"
},
{
"context": "\"author\">\n <meta itemprop=\"name\" content=... | allUtils/TheDrang/Aloha-Editor-master/Aloha-Editor-master/src/plugins/oer/media-embed/lib/media-embed-plugin.coffee | sunjerry019/sites | 0 | define [
'aloha'
'aloha/plugin'
'jquery'
'aloha/ephemera'
'ui/ui'
'ui/button'
'figure/figure-plugin'
'semanticblock/semanticblock-plugin'
'css!media-embed/css/media-embed-plugin.css'], (Aloha, Plugin, jQuery, Ephemera, UI, Button, Figure, semanticBlock) ->
DIALOG = '''
<div id="mediaEmbedDialog" cl... | 117078 | define [
'aloha'
'aloha/plugin'
'jquery'
'aloha/ephemera'
'ui/ui'
'ui/button'
'figure/figure-plugin'
'semanticblock/semanticblock-plugin'
'css!media-embed/css/media-embed-plugin.css'], (Aloha, Plugin, jQuery, Ephemera, UI, Button, Figure, semanticBlock) ->
DIALOG = '''
<div id="mediaEmbedDialog" cl... | true | define [
'aloha'
'aloha/plugin'
'jquery'
'aloha/ephemera'
'ui/ui'
'ui/button'
'figure/figure-plugin'
'semanticblock/semanticblock-plugin'
'css!media-embed/css/media-embed-plugin.css'], (Aloha, Plugin, jQuery, Ephemera, UI, Button, Figure, semanticBlock) ->
DIALOG = '''
<div id="mediaEmbedDialog" cl... |
[
{
"context": "#\t> File Name: user.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: W",
"end": 41,
"score": 0.9979894161224365,
"start": 39,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "\t> File Name: user.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@... | server/db/models/user.coffee | wiiliamking/miac-website | 0 | # > File Name: user.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Wednesday, November 19, 2014 PM03:15:46 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
util = require '../../common/util.coffee'
UserSchema = new Schema
username: String
passw... | 110039 | # > File Name: user.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Wednesday, November 19, 2014 PM03:15:46 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
util = require '../../common/util.coffee'
UserSchema = new Schema
username: String
password: <PASSWO... | true | # > File Name: user.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Wednesday, November 19, 2014 PM03:15:46 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
util = require '../../common/util.coffee'
UserSchema = new Schema
username: String
pa... |
[
{
"context": "========================================\n# Author: Christian Ebeling\n# Copyright (c) 2018 Fraunhofer Institute for Alg",
"end": 153,
"score": 0.9998322129249573,
"start": 136,
"tag": "NAME",
"value": "Christian Ebeling"
}
] | grammars/bel.cson | cebel/atom-bel-language | 1 | # Syntax highlighting for BEL (Biological Expression Language)
# ============================================================
# Author: Christian Ebeling
# Copyright (c) 2018 Fraunhofer Institute for Algorithms and Scientific Computing SCAI
# BEL 1.0 and 2.0 grammar
scopeName: 'source.bel'
name: 'BEL'
fileTypes: ['bel... | 105280 | # Syntax highlighting for BEL (Biological Expression Language)
# ============================================================
# Author: <NAME>
# Copyright (c) 2018 Fraunhofer Institute for Algorithms and Scientific Computing SCAI
# BEL 1.0 and 2.0 grammar
scopeName: 'source.bel'
name: 'BEL'
fileTypes: ['bel']
folding... | true | # Syntax highlighting for BEL (Biological Expression Language)
# ============================================================
# Author: PI:NAME:<NAME>END_PI
# Copyright (c) 2018 Fraunhofer Institute for Algorithms and Scientific Computing SCAI
# BEL 1.0 and 2.0 grammar
scopeName: 'source.bel'
name: 'BEL'
fileTypes: ['... |
[
{
"context": "t here\t\nNotification_Text = new TextLayer\n\ttext: \"Charlie Pace\"\n\tfontFamily: \"Roboto\"\n\tfontWeight: 500\n\tfontSize",
"end": 2387,
"score": 0.9998750686645508,
"start": 2375,
"tag": "NAME",
"value": "Charlie Pace"
}
] | Android-Components/Notifications/Notification.coffee | iamkeeler/UXTOOLTIME-Framer | 4 | plugin.run = (contents, options) ->
"""
#{contents}
# <fold>
#Notification
Notification = new Layer
width: Screen.width
height: 80
y: -180
shadowY: 2
shadowBlur: 2
shadowSpread: 0
shadowColor: "rgba(0,0,0,0.24)"
shadowY: 0
shadowBlur: 2
shadowSpread: 0
shadowColor: "rgba(0,0,0,0.12)"
backgroundColor: "#ff... | 119985 | plugin.run = (contents, options) ->
"""
#{contents}
# <fold>
#Notification
Notification = new Layer
width: Screen.width
height: 80
y: -180
shadowY: 2
shadowBlur: 2
shadowSpread: 0
shadowColor: "rgba(0,0,0,0.24)"
shadowY: 0
shadowBlur: 2
shadowSpread: 0
shadowColor: "rgba(0,0,0,0.12)"
backgroundColor: "#ff... | true | plugin.run = (contents, options) ->
"""
#{contents}
# <fold>
#Notification
Notification = new Layer
width: Screen.width
height: 80
y: -180
shadowY: 2
shadowBlur: 2
shadowSpread: 0
shadowColor: "rgba(0,0,0,0.24)"
shadowY: 0
shadowBlur: 2
shadowSpread: 0
shadowColor: "rgba(0,0,0,0.12)"
backgroundColor: "#ff... |
[
{
"context": "./Helpers/EmailHelper\": EmailHelper\n\t\t@user_id = \"mock-user-id\"\n\t\t@email = \"mock@example.com\"\n\t\t@callback = sino",
"end": 935,
"score": 0.9836840629577637,
"start": 923,
"tag": "USERNAME",
"value": "mock-user-id"
},
{
"context": "ailHelper\n\t\t@user_id = ... | test/unit/coffee/User/UserEmailsConfirmationHandlerTests.coffee | davidmehren/web-sharelatex | 0 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/User/UserEmailsConfirmationHandler"
expect = require("chai").expect
Errors = require "../../../../app/... | 74763 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/User/UserEmailsConfirmationHandler"
expect = require("chai").expect
Errors = require "../../../../app/... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/User/UserEmailsConfirmationHandler"
expect = require("chai").expect
Errors = require "../../../../app/... |
[
{
"context": "AABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowA",
"end": 613,
"score": 0.5365869998931885,
"start": 611,
"tag": "KEY",
"value": "AB"
},
{
"context": "EgAACxIB0t1+/AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8s... | bokehjs/src/coffee/tool/box_zoom_tool.coffee | csaid/bokeh | 1 |
define [
"underscore",
"backbone",
"./tool",
"./event_generators",
], (_, Backbone, Tool, EventGenerators) ->
TwoPointEventGenerator = EventGenerators.TwoPointEventGenerator
class BoxZoomToolView extends Tool.View
initialize: (options) ->
super(options)
bind_bokeh_events: () ->
super... | 191611 |
define [
"underscore",
"backbone",
"./tool",
"./event_generators",
], (_, Backbone, Tool, EventGenerators) ->
TwoPointEventGenerator = EventGenerators.TwoPointEventGenerator
class BoxZoomToolView extends Tool.View
initialize: (options) ->
super(options)
bind_bokeh_events: () ->
super... | true |
define [
"underscore",
"backbone",
"./tool",
"./event_generators",
], (_, Backbone, Tool, EventGenerators) ->
TwoPointEventGenerator = EventGenerators.TwoPointEventGenerator
class BoxZoomToolView extends Tool.View
initialize: (options) ->
super(options)
bind_bokeh_events: () ->
super... |
[
{
"context": " array for list of trigger phrases\n#\n# Author:\n# Morgan Wigmanich <okize123@gmail.com> (https://github.com/okize)\n\n",
"end": 276,
"score": 0.999884307384491,
"start": 260,
"tag": "NAME",
"value": "Morgan Wigmanich"
},
{
"context": "trigger phrases\n#\n# Author:\n... | src/businesscat.coffee | adrianpike/hubot-business-cat | 0 | # Description:
# Business cat is summoned when business jargon is used
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# business jargon - summons business cat
#
# Notes
# See jargon array for list of trigger phrases
#
# Author:
# Morgan Wigmanich <okize123@gmail.com> (https://github.com/ok... | 196920 | # Description:
# Business cat is summoned when business jargon is used
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# business jargon - summons business cat
#
# Notes
# See jargon array for list of trigger phrases
#
# Author:
# <NAME> <<EMAIL>> (https://github.com/okize)
images = requir... | true | # Description:
# Business cat is summoned when business jargon is used
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# business jargon - summons business cat
#
# Notes
# See jargon array for list of trigger phrases
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (https://githu... |
[
{
"context": "Assay = Backbone.Model.extend\n\n entityName: 'Assay'\n entityNamePlural: 'Assays'\n idAttribute: 'a",
"end": 49,
"score": 0.9404688477516174,
"start": 46,
"tag": "NAME",
"value": "Ass"
},
{
"context": "xtend\n\n entityName: 'Assay'\n entityNamePlural: 'Assays'\n ... | src/glados/static/coffee/models/Assay.coffee | BNext-IQT/glados-frontend-chembl-main-interface | 33 | Assay = Backbone.Model.extend
entityName: 'Assay'
entityNamePlural: 'Assays'
idAttribute: 'assay_chembl_id'
defaults:
fetch_from_elastic: true
indexName: 'chembl_assay'
initialize: ->
id = @get('id')
id ?= @get('assay_chembl_id')
@set('id', id)
@set('assay_chembl_id', id)
if @get(... | 22427 | Assay = Backbone.Model.extend
entityName: '<NAME>ay'
entityNamePlural: '<NAME>ays'
idAttribute: 'assay_chembl_id'
defaults:
fetch_from_elastic: true
indexName: 'chembl_assay'
initialize: ->
id = @get('id')
id ?= @get('assay_chembl_id')
@set('id', id)
@set('assay_chembl_id', id)
if... | true | Assay = Backbone.Model.extend
entityName: 'PI:NAME:<NAME>END_PIay'
entityNamePlural: 'PI:NAME:<NAME>END_PIays'
idAttribute: 'assay_chembl_id'
defaults:
fetch_from_elastic: true
indexName: 'chembl_assay'
initialize: ->
id = @get('id')
id ?= @get('assay_chembl_id')
@set('id', id)
@set('a... |
[
{
"context": " beforeEach ->\n @sut.resetToken 'river-song'\n\n it 'should call resetToken on meshbluHttp",
"end": 2474,
"score": 0.6472532153129578,
"start": 2470,
"tag": "PASSWORD",
"value": "song"
},
{
"context": "oken.yield null, uuid: 'river-uuid', token: 'river... | test/flow-deploy-model-spec.coffee | octoblu/deprecated-flow-deploy-service | 1 | FlowDeployModel = require '../src/flow-deploy-model'
describe 'FlowDeployModel', ->
beforeEach ->
@flowId = '1234'
@meshbluHttp =
mydevices: sinon.stub()
message: sinon.stub()
device: sinon.stub()
update: sinon.stub()
updateDangerously: sinon.stub()
resetToken: sinon.stub... | 5349 | FlowDeployModel = require '../src/flow-deploy-model'
describe 'FlowDeployModel', ->
beforeEach ->
@flowId = '1234'
@meshbluHttp =
mydevices: sinon.stub()
message: sinon.stub()
device: sinon.stub()
update: sinon.stub()
updateDangerously: sinon.stub()
resetToken: sinon.stub... | true | FlowDeployModel = require '../src/flow-deploy-model'
describe 'FlowDeployModel', ->
beforeEach ->
@flowId = '1234'
@meshbluHttp =
mydevices: sinon.stub()
message: sinon.stub()
device: sinon.stub()
update: sinon.stub()
updateDangerously: sinon.stub()
resetToken: sinon.stub... |
[
{
"context": ">\n expect(\n _B.isEqualArraySet [1, 2, 3, 'John', 'Doe'], ['John', 3, 'Doe', 2, 1]\n ).to.be.tr",
"end": 210,
"score": 0.9997692704200745,
"start": 206,
"tag": "NAME",
"value": "John"
},
{
"context": "pect(\n _B.isEqualArraySet [1, 2, 3, 'John', 'Doe'],... | source/spec/collections/array/isEqualArraySet-spec.coffee | anodynos/uBerscore | 1 | # clone to check mutability
{ obj, arrInt, arrInt2, arrStr } = _.clone data, true
describe 'isEqualArraySet :', ->
it "simple arrays with primitives", ->
expect(
_B.isEqualArraySet [1, 2, 3, 'John', 'Doe'], ['John', 3, 'Doe', 2, 1]
).to.be.true
it "arrays with primitives & references", ->
expec... | 152778 | # clone to check mutability
{ obj, arrInt, arrInt2, arrStr } = _.clone data, true
describe 'isEqualArraySet :', ->
it "simple arrays with primitives", ->
expect(
_B.isEqualArraySet [1, 2, 3, '<NAME>', '<NAME>'], ['<NAME>', 3, '<NAME>', 2, 1]
).to.be.true
it "arrays with primitives & references", ->... | true | # clone to check mutability
{ obj, arrInt, arrInt2, arrStr } = _.clone data, true
describe 'isEqualArraySet :', ->
it "simple arrays with primitives", ->
expect(
_B.isEqualArraySet [1, 2, 3, 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI'], ['PI:NAME:<NAME>END_PI', 3, 'PI:NAME:<NAME>END_PI', 2, 1]
).to... |
[
{
"context": "name: \"Louk\"\nscopeName: \"text.html.vue.louk\"\nfileTypes: [\n\t\"l",
"end": 11,
"score": 0.9976301193237305,
"start": 7,
"tag": "NAME",
"value": "Louk"
}
] | grammars/louk.cson | louk-lang/louk-editor-atom | 0 | name: "Louk"
scopeName: "text.html.vue.louk"
fileTypes: [
"louk"
]
uuid: "444bb94d-ce8b-415d-8683-534f8524ee5a"
patterns: [
{
comment: "Script section marker"
name: "meta.section.vue.louk"
begin: "^(script)(,)"
end: "(?=^([^\\s]*)(,))"
beginCaptures:
"1":
name: "entity.name.tag.html.louk"
"2":
... | 60876 | name: "<NAME>"
scopeName: "text.html.vue.louk"
fileTypes: [
"louk"
]
uuid: "444bb94d-ce8b-415d-8683-534f8524ee5a"
patterns: [
{
comment: "Script section marker"
name: "meta.section.vue.louk"
begin: "^(script)(,)"
end: "(?=^([^\\s]*)(,))"
beginCaptures:
"1":
name: "entity.name.tag.html.louk"
"2":
... | true | name: "PI:NAME:<NAME>END_PI"
scopeName: "text.html.vue.louk"
fileTypes: [
"louk"
]
uuid: "444bb94d-ce8b-415d-8683-534f8524ee5a"
patterns: [
{
comment: "Script section marker"
name: "meta.section.vue.louk"
begin: "^(script)(,)"
end: "(?=^([^\\s]*)(,))"
beginCaptures:
"1":
name: "entity.name.tag.html.l... |
[
{
"context": "loginInfo =\n username: 'username'\n password: 'password'\n\nwindow.loginInfo = log",
"end": 35,
"score": 0.9987185001373291,
"start": 27,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ginInfo =\n username: 'username'\n password: 'password'\n\nwind... | halite/test/mock/loginConf.coffee | CARFAX/halite | 212 | loginInfo =
username: 'username'
password: 'password'
window.loginInfo = loginInfo
| 137476 | loginInfo =
username: 'username'
password: '<PASSWORD>'
window.loginInfo = loginInfo
| true | loginInfo =
username: 'username'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
window.loginInfo = loginInfo
|
[
{
"context": " person: '=person'\n askPost: '@askPost'\n hideSpecialitySelector: '@hideSpeciali",
"end": 277,
"score": 0.793716549873352,
"start": 270,
"tag": "USERNAME",
"value": "askPost"
},
{
"context": "endingRequests.length > 0\n\n for key in... | app/assets/javascripts/manage/spa/app/directives/people_input.coffee | openteam-tusur/aspirant-site | 0 | angular.module('dashboard')
.directive('peopleInput', ['$http', 'localization', 'science',
($http, localization, science) ->
return {
scope:
context: '=context'
people: '=people'
person: '=person'
askPost: '@askPost'
hideSpecialitySelector: '@hideS... | 36272 | angular.module('dashboard')
.directive('peopleInput', ['$http', 'localization', 'science',
($http, localization, science) ->
return {
scope:
context: '=context'
people: '=people'
person: '=person'
askPost: '@askPost'
hideSpecialitySelector: '@hideS... | true | angular.module('dashboard')
.directive('peopleInput', ['$http', 'localization', 'science',
($http, localization, science) ->
return {
scope:
context: '=context'
people: '=people'
person: '=person'
askPost: '@askPost'
hideSpecialitySelector: '@hideS... |
[
{
"context": "r ID of user who created request\",\n username: \"username of user who created request\",\n email: \"email of user who c",
"end": 780,
"score": 0.9815064668655396,
"start": 760,
"tag": "USERNAME",
"value": "username of user who"
},
{
"context": "nd\n service:... | noddy/service/oabutton/request.coffee | jibe-b/website | 0 |
import { Random } from 'meteor/random'
###
to create a request the url and type are required, What about story?
{
url: "url of item request is about",
type: "article OR data (OR code eventually and possibly other things)",
story: "the story of why this request / support, if supplied",
email: "email address o... | 44852 |
import { Random } from 'meteor/random'
###
to create a request the url and type are required, What about story?
{
url: "url of item request is about",
type: "article OR data (OR code eventually and possibly other things)",
story: "the story of why this request / support, if supplied",
email: "email address o... | true |
import { Random } from 'meteor/random'
###
to create a request the url and type are required, What about story?
{
url: "url of item request is about",
type: "article OR data (OR code eventually and possibly other things)",
story: "the story of why this request / support, if supplied",
email: "email address o... |
[
{
"context": "\":\n _lastBackupHash: \"ba46f32e916ddcbae202ed91f85ef9999eb18ec3\"\n gistId: \"be0c571e97df1e57f60ae9abd7e75573\"\n ",
"end": 1620,
"score": 0.9253738522529602,
"start": 1605,
"tag": "PASSWORD",
"value": "85ef9999eb18ec3"
},
{
"context": "df1e57f60ae9abd7e75573\"... | config/config.cson | concon121/atom-quickstart | 0 | "*":
"atom-beautify":
bash:
beautify_on_save: true
general:
_analyticsUserId: "d22e841b-58b7-4104-9647-1129661e82c2"
java: {}
js:
beautify_on_save: true
end_with_newline: true
indent_size: 2
jslint_happy: true
space_after_anon_function: true
json:
be... | 6752 | "*":
"atom-beautify":
bash:
beautify_on_save: true
general:
_analyticsUserId: "d22e841b-58b7-4104-9647-1129661e82c2"
java: {}
js:
beautify_on_save: true
end_with_newline: true
indent_size: 2
jslint_happy: true
space_after_anon_function: true
json:
be... | true | "*":
"atom-beautify":
bash:
beautify_on_save: true
general:
_analyticsUserId: "d22e841b-58b7-4104-9647-1129661e82c2"
java: {}
js:
beautify_on_save: true
end_with_newline: true
indent_size: 2
jslint_happy: true
space_after_anon_function: true
json:
be... |
[
{
"context": " other_keys = _.without([\"enable_auto_attendant\",\"enable_custom_greeting\",\"enable_g",
"end": 1718,
"score": 0.5921764373779297,
"start": 1718,
"tag": "KEY",
"value": ""
},
{
"context": " other_keys = _.without([\"enable_auto_attendant... | pages/group_settings/call_settings/call_settings_page.coffee | signonsridhar/sridhar_hbs | 0 | define([
'bases/page'
'models/group/group',
'modules/set_vm/set_vm',
'modules/file_uploader/file_uploader',
'modules/settings/change_voicemail_pin/change_voicemail_pin',
'modules/set_group_ring/set_group_ring',
'modules/auto_attendant_settings/auto_attendant_settings',
'models/auth/auth'... | 139742 | define([
'bases/page'
'models/group/group',
'modules/set_vm/set_vm',
'modules/file_uploader/file_uploader',
'modules/settings/change_voicemail_pin/change_voicemail_pin',
'modules/set_group_ring/set_group_ring',
'modules/auto_attendant_settings/auto_attendant_settings',
'models/auth/auth'... | true | define([
'bases/page'
'models/group/group',
'modules/set_vm/set_vm',
'modules/file_uploader/file_uploader',
'modules/settings/change_voicemail_pin/change_voicemail_pin',
'modules/set_group_ring/set_group_ring',
'modules/auto_attendant_settings/auto_attendant_settings',
'models/auth/auth'... |
[
{
"context": "# anison.js\n# https://github.com/hdemon/anison.js\n#\n# Copyright (c) 2014 Masami Yonehara\n",
"end": 39,
"score": 0.9996045231819153,
"start": 33,
"tag": "USERNAME",
"value": "hdemon"
},
{
"context": "github.com/hdemon/anison.js\n#\n# Copyright (c) 2014 Masami Yonehar... | lib/anison.coffee | hdemon/anison.js | 1 | # anison.js
# https://github.com/hdemon/anison.js
#
# Copyright (c) 2014 Masami Yonehara
# Licensed under the MIT license.
request = require 'request'
Promise = require 'bluebird'
$ = require 'cheerio'
Song = require './song'
Anison = {}
Anison._getSearchHtml = (title) ->
new Promise (resolve, reject) =>
reques... | 16879 | # anison.js
# https://github.com/hdemon/anison.js
#
# Copyright (c) 2014 <NAME>
# Licensed under the MIT license.
request = require 'request'
Promise = require 'bluebird'
$ = require 'cheerio'
Song = require './song'
Anison = {}
Anison._getSearchHtml = (title) ->
new Promise (resolve, reject) =>
request
u... | true | # anison.js
# https://github.com/hdemon/anison.js
#
# Copyright (c) 2014 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
request = require 'request'
Promise = require 'bluebird'
$ = require 'cheerio'
Song = require './song'
Anison = {}
Anison._getSearchHtml = (title) ->
new Promise (resolve, reject) =>
r... |
[
{
"context": " host: \"localhost\"\n # username: \"username\"\n # password: \"password\"\n # })\n #\n ",
"end": 1630,
"score": 0.9980002641677856,
"start": 1622,
"tag": "USERNAME",
"value": "username"
},
{
"context": " username: \"username\"\n # ... | lib/driver/driver.coffee | wanbok/mongo-model | 1 | _ = require 'underscore'
# ### Driver.
module.exports = Driver =
# Makes CRUD operation to throw error if there's something wrong (in native
# mongo driver by default it's false).
safe: true
# Update all elements, not just first (in native mongo driver by default it's false).
multi: true
# Generates shor... | 38079 | _ = require 'underscore'
# ### Driver.
module.exports = Driver =
# Makes CRUD operation to throw error if there's something wrong (in native
# mongo driver by default it's false).
safe: true
# Update all elements, not just first (in native mongo driver by default it's false).
multi: true
# Generates shor... | true | _ = require 'underscore'
# ### Driver.
module.exports = Driver =
# Makes CRUD operation to throw error if there's something wrong (in native
# mongo driver by default it's false).
safe: true
# Update all elements, not just first (in native mongo driver by default it's false).
multi: true
# Generates shor... |
[
{
"context": "c = _czc || [];\n @_czc.push([\"_setAccount\", \"1258121061\"]);\n if this.isWeixin()\n @openType = ",
"end": 202,
"score": 0.9761613011360168,
"start": 192,
"tag": "KEY",
"value": "1258121061"
}
] | demo-cache/scripts/stat.coffee | xiaocat/gulp-front-demo | 1 | 'use strict'
define ['zepto'], ($, _czc)->
class Stat
constructor: ()->
@ua = window.navigator.userAgent.toLowerCase()
@_czc = _czc || [];
@_czc.push(["_setAccount", "1258121061"]);
if this.isWeixin()
@openType = '1'
else if this.isIOS()
@openType = '3'
else
... | 7447 | 'use strict'
define ['zepto'], ($, _czc)->
class Stat
constructor: ()->
@ua = window.navigator.userAgent.toLowerCase()
@_czc = _czc || [];
@_czc.push(["_setAccount", "<KEY>"]);
if this.isWeixin()
@openType = '1'
else if this.isIOS()
@openType = '3'
else
... | true | 'use strict'
define ['zepto'], ($, _czc)->
class Stat
constructor: ()->
@ua = window.navigator.userAgent.toLowerCase()
@_czc = _czc || [];
@_czc.push(["_setAccount", "PI:KEY:<KEY>END_PI"]);
if this.isWeixin()
@openType = '1'
else if this.isIOS()
@openType = '3'
... |
[
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/24/15 ",
"end": 16,
"score": 0.9995814561843872,
"start": 13,
"tag": "NAME",
"value": "易晓峰"
},
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/24/15 4:48 PM\n# Description:\n_as... | src/cache/index.coffee | kiteam/kiteam | 0 | # Author: 易晓峰
# E-mail: wvv8oo@gmail.com
# Date: 6/24/15 4:48 PM
# Description:
_async = require 'async'
_member = require './member'
_projectMember = require './project_member'
_gitMap = require './git_map'
_project = require './project'
module.exports =
member: _member
gitMap: _gitMap
projectMembe... | 124826 | # Author: <NAME>
# E-mail: <EMAIL>
# Date: 6/24/15 4:48 PM
# Description:
_async = require 'async'
_member = require './member'
_projectMember = require './project_member'
_gitMap = require './git_map'
_project = require './project'
module.exports =
member: _member
gitMap: _gitMap
projectMember: _pr... | true | # Author: PI:NAME:<NAME>END_PI
# E-mail: PI:EMAIL:<EMAIL>END_PI
# Date: 6/24/15 4:48 PM
# Description:
_async = require 'async'
_member = require './member'
_projectMember = require './project_member'
_gitMap = require './git_map'
_project = require './project'
module.exports =
member: _member
gitMap:... |
[
{
"context": "************************** Copyright (c) 2008-2010 Ricardo Quesada Copyright (c) 2011-2012 cocos2d-x.org Copyright (",
"end": 6303,
"score": 0.9998722672462463,
"start": 6288,
"tag": "NAME",
"value": "Ricardo Quesada"
},
{
"context": "************************** Copyrigh... | output/cc.coffee | jeremyfa/node-cocos2d-coffee-autocomplete | 1 |
class cc
# Default Action tag
@ACTION_TAG_INVALID = {}
# The adjust factor is needed to prevent issue #442 One solution is to use DONT_RENDER_IN_SUBPIXELS images, but NO The other issue is that in some transitions (and I don't know why) the order should be reversed (In in top of Out or vice-versa).
#... | 94134 |
class cc
# Default Action tag
@ACTION_TAG_INVALID = {}
# The adjust factor is needed to prevent issue #442 One solution is to use DONT_RENDER_IN_SUBPIXELS images, but NO The other issue is that in some transitions (and I don't know why) the order should be reversed (In in top of Out or vice-versa).
#... | true |
class cc
# Default Action tag
@ACTION_TAG_INVALID = {}
# The adjust factor is needed to prevent issue #442 One solution is to use DONT_RENDER_IN_SUBPIXELS images, but NO The other issue is that in some transitions (and I don't know why) the order should be reversed (In in top of Out or vice-versa).
#... |
[
{
"context": "s\"\nPAGES: \"Pagina's\"\nPOSTS: \"Berichten\"\nAUTHORS: \"Auteurs\"\nSEARCH: \"Zoeken\"\nSOCIAL_NETWORKS: \"Sociale netwe",
"end": 405,
"score": 0.9794626235961914,
"start": 398,
"tag": "NAME",
"value": "Auteurs"
},
{
"context": "}}\"\n\"sharing\":\n \"shared\": \"G... | src/i18n/nl.cson | Intraktio/hybrid | 2 | PULL_TO_REFRESH: "Omlaag om te herladen!"
RETRY: "Opnieuw"
CANCEL: "Cancel"
SUBMIT: "Submit"
BACK: "Terug"
ERROR: "Er ging iets mis, probeer het opnieuw."
ATTEMPT_TO_CONNECT: "Poging {{attempt}} van {{attemptMax}}. Om te laden"
OK: "Ok"
YES: "Ja"
NO: "Nee"
EMPTY_LIST: "Er is niks hier!"
ENABLED: "Ingeschakeld"
MENU: "M... | 168577 | PULL_TO_REFRESH: "Omlaag om te herladen!"
RETRY: "Opnieuw"
CANCEL: "Cancel"
SUBMIT: "Submit"
BACK: "Terug"
ERROR: "Er ging iets mis, probeer het opnieuw."
ATTEMPT_TO_CONNECT: "Poging {{attempt}} van {{attemptMax}}. Om te laden"
OK: "Ok"
YES: "Ja"
NO: "Nee"
EMPTY_LIST: "Er is niks hier!"
ENABLED: "Ingeschakeld"
MENU: "M... | true | PULL_TO_REFRESH: "Omlaag om te herladen!"
RETRY: "Opnieuw"
CANCEL: "Cancel"
SUBMIT: "Submit"
BACK: "Terug"
ERROR: "Er ging iets mis, probeer het opnieuw."
ATTEMPT_TO_CONNECT: "Poging {{attempt}} van {{attemptMax}}. Om te laden"
OK: "Ok"
YES: "Ja"
NO: "Nee"
EMPTY_LIST: "Er is niks hier!"
ENABLED: "Ingeschakeld"
MENU: "M... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998892545700073,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/base/navurls.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 18655 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "ssword, callback) ->\n if login is 'admin' and password is 'password'\n c",
"end": 1151,
"score": 0.9967373609542847,
"start": 1146,
"tag": "USERNAME",
"value": "admin"
},
{
"context": " if login is 'admin' and password is '... | examples/blog/docpad.coffee | TranscendOfSypherus/docpad-plugin-minicms | 1 | module.exports =
# The data generated by minicms is just like any other content
# So we can create custom collections or simply add template helpers
templateData:
getIndex: ->
@getCollection('html').findOne(url: '/')?.toJSON()
getArticles: ->
@getCollection('html')... | 85633 | module.exports =
# The data generated by minicms is just like any other content
# So we can create custom collections or simply add template helpers
templateData:
getIndex: ->
@getCollection('html').findOne(url: '/')?.toJSON()
getArticles: ->
@getCollection('html')... | true | module.exports =
# The data generated by minicms is just like any other content
# So we can create custom collections or simply add template helpers
templateData:
getIndex: ->
@getCollection('html').findOne(url: '/')?.toJSON()
getArticles: ->
@getCollection('html')... |
[
{
"context": "Autocomplete.ContainerConfiguration\n token: 'asdfdsf'\n el: $('[data-id=test]')\n url: @sandbo",
"end": 670,
"score": 0.9838557243347168,
"start": 663,
"tag": "PASSWORD",
"value": "asdfdsf"
},
{
"context": "(@server, [{\n 'id': '1',\n 'task_nam... | spec/dash-autocomplete/integration/render_search_results.coffee | samaritanministries/dash-autocomplete.js | 0 | describe 'Rendering search results', ->
class CollectionView extends Backbone.View
render: ->
@$el.html('Collection View Template')
@
showNoResults: ->
showError: ->
showResults: (data) ->
@render()
collection = new Backbone.Collection(data)
collection.each((model) => @$... | 213196 | describe 'Rendering search results', ->
class CollectionView extends Backbone.View
render: ->
@$el.html('Collection View Template')
@
showNoResults: ->
showError: ->
showResults: (data) ->
@render()
collection = new Backbone.Collection(data)
collection.each((model) => @$... | true | describe 'Rendering search results', ->
class CollectionView extends Backbone.View
render: ->
@$el.html('Collection View Template')
@
showNoResults: ->
showError: ->
showResults: (data) ->
@render()
collection = new Backbone.Collection(data)
collection.each((model) => @$... |
[
{
"context": "###*\n * CrowdSync version 0.6.5\n * (c) 2011 Central Christian Church - www.centralaz.com\n * CrowdSync may be freely di",
"end": 68,
"score": 0.9965288639068604,
"start": 44,
"tag": "NAME",
"value": "Central Christian Church"
}
] | coffeescripts/public/crowdsync.coffee | CentralAZ/CrowdSync | 1 | ###*
* CrowdSync version 0.6.5
* (c) 2011 Central Christian Church - www.centralaz.com
* CrowdSync may be freely distributed under the MIT license.
* For all details and documentation head to https://github.com/centralaz/crowdsync
###
class window.CrowdSync
constructor: (options = {}) ->
if options then @setti... | 30984 | ###*
* CrowdSync version 0.6.5
* (c) 2011 <NAME> - www.centralaz.com
* CrowdSync may be freely distributed under the MIT license.
* For all details and documentation head to https://github.com/centralaz/crowdsync
###
class window.CrowdSync
constructor: (options = {}) ->
if options then @settings = options
@i... | true | ###*
* CrowdSync version 0.6.5
* (c) 2011 PI:NAME:<NAME>END_PI - www.centralaz.com
* CrowdSync may be freely distributed under the MIT license.
* For all details and documentation head to https://github.com/centralaz/crowdsync
###
class window.CrowdSync
constructor: (options = {}) ->
if options then @settings ... |
[
{
"context": "\n beforeEach ->\n options =\n value : 'Fatih Acet'\n name : 'name'\n checked : yes\n\n ",
"end": 254,
"score": 0.998893141746521,
"start": 244,
"tag": "NAME",
"value": "Fatih Acet"
},
{
"context": " =\n value : 'Fatih Acet'\n n... | src/tests/components/inputs/test_checkbox.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.require 'spark.components.Checkbox'
goog.require 'spark.components.Field'
describe 'spark.components.Checkbox', ->
checkbox = null
options = null
beforeEach ->
options =
value : 'Fatih Acet'
name : 'name'
checked : yes
checkbox = new ... | 147622 | goog = goog or goog = require: ->
goog.require 'spark.components.Checkbox'
goog.require 'spark.components.Field'
describe 'spark.components.Checkbox', ->
checkbox = null
options = null
beforeEach ->
options =
value : '<NAME>'
name : '<NAME>'
checked : yes
checkbox = new sp... | true | goog = goog or goog = require: ->
goog.require 'spark.components.Checkbox'
goog.require 'spark.components.Field'
describe 'spark.components.Checkbox', ->
checkbox = null
options = null
beforeEach ->
options =
value : 'PI:NAME:<NAME>END_PI'
name : 'PI:NAME:<NAME>END_PI'
checked :... |
[
{
"context": "', { method: 'addIncomingIntegration' }\n\n\t\ttoken = Random.id(48)\n\n\t\tintegration.type = 'webhook-incoming'\n\t\tinteg",
"end": 2539,
"score": 0.8902661800384521,
"start": 2527,
"tag": "KEY",
"value": "Random.id(48"
}
] | packages/rocketchat-integrations/server/methods/incoming/addIncomingIntegration.coffee | org100h1/Rocket.Panda | 0 | Meteor.methods
addIncomingIntegration: (integration) ->
if (not RocketChat.authz.hasPermission @userId, 'manage-integrations') and (not RocketChat.authz.hasPermission @userId, 'manage-own-integrations')
throw new Meteor.Error 'not_authorized'
if not _.isString(integration.channel)
throw new Meteor.Error 'er... | 192489 | Meteor.methods
addIncomingIntegration: (integration) ->
if (not RocketChat.authz.hasPermission @userId, 'manage-integrations') and (not RocketChat.authz.hasPermission @userId, 'manage-own-integrations')
throw new Meteor.Error 'not_authorized'
if not _.isString(integration.channel)
throw new Meteor.Error 'er... | true | Meteor.methods
addIncomingIntegration: (integration) ->
if (not RocketChat.authz.hasPermission @userId, 'manage-integrations') and (not RocketChat.authz.hasPermission @userId, 'manage-own-integrations')
throw new Meteor.Error 'not_authorized'
if not _.isString(integration.channel)
throw new Meteor.Error 'er... |
[
{
"context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ",
"end": 3051,
"score": 0.7815399765968323,
"start": 3044,
"tag": "NAME",
"value": "Patient"
},
{
"context": "rary\" : {\n \"identifier\" : {\... | Src/coffeescript/cql-execution/test/elm/query/data.coffee | esteban-aliverti/clinical_quality_language | 0 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### DateRangeOptimizedQuery
library TestSnippet version '1'
using QUICK
parameter MeasurementPeriod default inter... | 105233 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### DateRangeOptimizedQuery
library TestSnippet version '1'
using QUICK
parameter MeasurementPeriod default inter... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### DateRangeOptimizedQuery
library TestSnippet version '1'
using QUICK
parameter MeasurementPeriod default inter... |
[
{
"context": "lumns ?= new Backbone.Collection [\n { name: 'greeting' }\n { name: 'everyone' }\n ]\n\n model ?=",
"end": 216,
"score": 0.9975782632827759,
"start": 208,
"tag": "NAME",
"value": "greeting"
},
{
"context": "ction [\n { name: 'greeting' }\n { na... | spec/body-row-columns-spec.coffee | juanca/marion-tree | 1 | describe 'BodyRowColumns', ->
BodyRowColumns = require '../lib/javascripts/body-row-columns'
view = null
initView = ({ columns, model } = {}) ->
columns ?= new Backbone.Collection [
{ name: 'greeting' }
{ name: 'everyone' }
]
model ?= new Backbone.Model
greeting: 'hola'
ever... | 216032 | describe 'BodyRowColumns', ->
BodyRowColumns = require '../lib/javascripts/body-row-columns'
view = null
initView = ({ columns, model } = {}) ->
columns ?= new Backbone.Collection [
{ name: '<NAME>' }
{ name: '<NAME>' }
]
model ?= new Backbone.Model
greeting: 'h<NAME>'
every... | true | describe 'BodyRowColumns', ->
BodyRowColumns = require '../lib/javascripts/body-row-columns'
view = null
initView = ({ columns, model } = {}) ->
columns ?= new Backbone.Collection [
{ name: 'PI:NAME:<NAME>END_PI' }
{ name: 'PI:NAME:<NAME>END_PI' }
]
model ?= new Backbone.Model
gre... |
[
{
"context": "\n\n\t_.forIn thing, (val, key) ->\n\t\tif key is 'using_filesort' and val is true\n\t\t\tfilesorts.push thing\n\n\t\tif",
"end": 293,
"score": 0.5359348058700562,
"start": 288,
"tag": "KEY",
"value": "files"
}
] | lib/checks/filesort.coffee | juristat/mysql2-auditor | 0 | _ = require 'lodash'
module.exports = (entry, result) ->
if entry.explanation?
fs = findFilesort entry.explanation
if fs.length > 0
result.warning "Query uses #{fs.length} filesort(s)"
findFilesort = (thing) ->
filesorts = []
_.forIn thing, (val, key) ->
if key is 'using_filesort' and val is true
fil... | 142977 | _ = require 'lodash'
module.exports = (entry, result) ->
if entry.explanation?
fs = findFilesort entry.explanation
if fs.length > 0
result.warning "Query uses #{fs.length} filesort(s)"
findFilesort = (thing) ->
filesorts = []
_.forIn thing, (val, key) ->
if key is 'using_<KEY>ort' and val is true
fil... | true | _ = require 'lodash'
module.exports = (entry, result) ->
if entry.explanation?
fs = findFilesort entry.explanation
if fs.length > 0
result.warning "Query uses #{fs.length} filesort(s)"
findFilesort = (thing) ->
filesorts = []
_.forIn thing, (val, key) ->
if key is 'using_PI:KEY:<KEY>END_PIort' and val i... |
[
{
"context": "ontact/shared/tableview.tpl'\n\n COL_COOKIE_KEY = 'list_columns:'\n ORDER_KEY = 'columns_order:'\n\n $cols",
"end": 420,
"score": 0.5193333625793457,
"start": 416,
"tag": "KEY",
"value": "list"
},
{
"context": "t/shared/tableview.tpl'\n\n COL_COOKIE_KEY = 'list_colu... | vendor/assets/javascripts/keybridge/kb.tableview.js.coffee | eduvo/bootstrap-sass | 0 | ###
Keybridge Table view control
columns_statements: This file define the field candidate,
field label and sort arguments.
###
define (require)->
require 'jquery.currency'
UrlPath = require 'keybridge/urlpath'
Pagination = require 'keybridge/kb.pagination'
ColumnStatements = require 'contact/shared/column... | 29580 | ###
Keybridge Table view control
columns_statements: This file define the field candidate,
field label and sort arguments.
###
define (require)->
require 'jquery.currency'
UrlPath = require 'keybridge/urlpath'
Pagination = require 'keybridge/kb.pagination'
ColumnStatements = require 'contact/shared/column... | true | ###
Keybridge Table view control
columns_statements: This file define the field candidate,
field label and sort arguments.
###
define (require)->
require 'jquery.currency'
UrlPath = require 'keybridge/urlpath'
Pagination = require 'keybridge/kb.pagination'
ColumnStatements = require 'contact/shared/column... |
[
{
"context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 25,
"score": 0.9938544034957886,
"start": 19,
"tag": "NAME",
"value": "Balena"
},
{
"context": " = (options) ->\n\n\t_.defaults options,\n\t\tnetmask: '255.255.255.0'\n\n\tconfig = '... | lib/settings.coffee | balena-io-modules/resin-device-config | 2 | ###
Copyright 2016 Balena
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, software
distribu... | 124488 | ###
Copyright 2016 <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, software
distribu... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
[
{
"context": "ata: \"fullName()\", title: \"Name\"}\n {data: \"firstName\", title: \"First Name\"}\n {data: \"lastName\",",
"end": 1160,
"score": 0.9973204731941223,
"start": 1151,
"tag": "NAME",
"value": "firstName"
},
{
"context": "itle: \"Name\"}\n {data: \"fi... | common/tabulartables.coffee | drobbins/kassebaum | 0 | TabularTables = {}
if Meteor.isClient then Template.registerHelper "TabularTables", TabularTables
TabularTables.LogEntries = new Tabular.Table
name: "LogEntries"
collection: Logs.collection
columns: [
{data: "timestamp", title: "Time", render: (val) -> moment(val).format(Session.get("momentLogDate... | 39025 | TabularTables = {}
if Meteor.isClient then Template.registerHelper "TabularTables", TabularTables
TabularTables.LogEntries = new Tabular.Table
name: "LogEntries"
collection: Logs.collection
columns: [
{data: "timestamp", title: "Time", render: (val) -> moment(val).format(Session.get("momentLogDate... | true | TabularTables = {}
if Meteor.isClient then Template.registerHelper "TabularTables", TabularTables
TabularTables.LogEntries = new Tabular.Table
name: "LogEntries"
collection: Logs.collection
columns: [
{data: "timestamp", title: "Time", render: (val) -> moment(val).format(Session.get("momentLogDate... |
[
{
"context": " = @sut.getFromAnywhere headers: {authorization: 'Bearer Z3JlZW5pc2gteWVsbG93OmJsdWUtYS1sb3QK'}\n\n it ",
"end": 327,
"score": 0.7055783271789551,
"start": 321,
"tag": "KEY",
"value": "Bearer"
},
{
"context": "t.getFromAnywhere headers: {authorization: 'Bearer Z3Jl... | node_modules/express-meshblu-auth/test/meshblu-auth-express-spec.coffee | ratokeshi/endo-google-cloud-platform | 0 | MeshbluAuthExpress = require '../src/meshblu-auth-express'
describe 'MeshbluAuthExpress', ->
describe '->getFromAnywhere', ->
beforeEach ->
@sut = new MeshbluAuthExpress
describe '2nd to worst case (bearer token)', ->
beforeEach ->
@result = @sut.getFromAnywhere headers: {authorization: ... | 189434 | MeshbluAuthExpress = require '../src/meshblu-auth-express'
describe 'MeshbluAuthExpress', ->
describe '->getFromAnywhere', ->
beforeEach ->
@sut = new MeshbluAuthExpress
describe '2nd to worst case (bearer token)', ->
beforeEach ->
@result = @sut.getFromAnywhere headers: {authorization: ... | true | MeshbluAuthExpress = require '../src/meshblu-auth-express'
describe 'MeshbluAuthExpress', ->
describe '->getFromAnywhere', ->
beforeEach ->
@sut = new MeshbluAuthExpress
describe '2nd to worst case (bearer token)', ->
beforeEach ->
@result = @sut.getFromAnywhere headers: {authorization: ... |
[
{
"context": "4, cost: 16000, duration: {days: 2}},\n {name: \"Dexterity IV\", level: 50, members: 4, cost: 25000, duration: {",
"end": 2958,
"score": 0.8737130165100098,
"start": 2946,
"tag": "NAME",
"value": "Dexterity IV"
},
{
"context": "000, duration: {days: 2, hours: 12}},\n... | src/character/guildBuffs/GuildDexterity.coffee | sadbear-/IdleLands | 0 |
GuildBuff = require "../base/GuildBuff"
`/**
* The Dexterity I guild buff increases Dexterity.
*
* @name Dexterity I
* @requirement {gold} 4000
* @requirement {guild level} 20
* @requirement {guild members} 1
* @effect +5% DEX
* @duration 1 day
* @category Dexterity
* @package GuildBuffs
*/`
`/**
... | 147647 |
GuildBuff = require "../base/GuildBuff"
`/**
* The Dexterity I guild buff increases Dexterity.
*
* @name Dexterity I
* @requirement {gold} 4000
* @requirement {guild level} 20
* @requirement {guild members} 1
* @effect +5% DEX
* @duration 1 day
* @category Dexterity
* @package GuildBuffs
*/`
`/**
... | true |
GuildBuff = require "../base/GuildBuff"
`/**
* The Dexterity I guild buff increases Dexterity.
*
* @name Dexterity I
* @requirement {gold} 4000
* @requirement {guild level} 20
* @requirement {guild members} 1
* @effect +5% DEX
* @duration 1 day
* @category Dexterity
* @package GuildBuffs
*/`
`/**
... |
[
{
"context": "scopeName: \"source.danmakufu\"\nname: \"Danmakufu\"\nfileTypes: [\n \"dnh\"\n]\nfirstLineMatch: \"^\\\\s*(#T",
"end": 46,
"score": 0.537645697593689,
"start": 43,
"tag": "NAME",
"value": "ufu"
}
] | grammars/danmakufu.cson | drakeirving/atom-language-danmakufu | 0 | scopeName: "source.danmakufu"
name: "Danmakufu"
fileTypes: [
"dnh"
]
firstLineMatch: "^\\s*(#TouhouDanmakufu|script_|#include).*"
patterns: [
{
match: "//.*$\\n?"
name: "comment.line.double-slash.danmakufu"
}
{
begin: "/\\*"
end: "\\*/"
name: "comment.block.danmakufu"
}
{
match: "\\b... | 160025 | scopeName: "source.danmakufu"
name: "Danmak<NAME>"
fileTypes: [
"dnh"
]
firstLineMatch: "^\\s*(#TouhouDanmakufu|script_|#include).*"
patterns: [
{
match: "//.*$\\n?"
name: "comment.line.double-slash.danmakufu"
}
{
begin: "/\\*"
end: "\\*/"
name: "comment.block.danmakufu"
}
{
match: "... | true | scopeName: "source.danmakufu"
name: "DanmakPI:NAME:<NAME>END_PI"
fileTypes: [
"dnh"
]
firstLineMatch: "^\\s*(#TouhouDanmakufu|script_|#include).*"
patterns: [
{
match: "//.*$\\n?"
name: "comment.line.double-slash.danmakufu"
}
{
begin: "/\\*"
end: "\\*/"
name: "comment.block.danmakufu"
}
... |
[
{
"context": " file are taken from the extrordinary work done by Chris Wilson (https://github.com/cwilso/PitchDetect/blob/maste",
"end": 88,
"score": 0.9997807145118713,
"start": 76,
"tag": "NAME",
"value": "Chris Wilson"
},
{
"context": "ary work done by Chris Wilson (https://github... | public/src/waveform-0.1.coffee | Sulcalibur/pi-voice-server | 0 | ###
Large parts of this file are taken from the extrordinary work done by Chris Wilson (https://github.com/cwilso/PitchDetect/blob/master/js/pitchdetect.js):
Copyright (c) 2014 Chris Wilson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documen... | 146478 | ###
Large parts of this file are taken from the extrordinary work done by <NAME> (https://github.com/cwilso/PitchDetect/blob/master/js/pitchdetect.js):
Copyright (c) 2014 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files... | true | ###
Large parts of this file are taken from the extrordinary work done by PI:NAME:<NAME>END_PI (https://github.com/cwilso/PitchDetect/blob/master/js/pitchdetect.js):
Copyright (c) 2014 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and as... |
[
{
"context": "---------------------------------------------\n# @: The Anh\n# d: 150328\n# f: init app\n# ---------------------",
"end": 86,
"score": 0.999620258808136,
"start": 79,
"tag": "NAME",
"value": "The Anh"
}
] | app/assets/javascripts/init.coffee | theanh/96b0e903c0b3889b355a821204fb7dcf | 31 | 'use strict'
# ----------------------------------------------------------
# @: The Anh
# d: 150328
# f: init app
# ----------------------------------------------------------
((angular) ->
angular.module('AppSurvey', [
# 'angular-data.DSCacheFactory'
'pascalprecht.translate'
'ui.bootstrap'
... | 185828 | 'use strict'
# ----------------------------------------------------------
# @: <NAME>
# d: 150328
# f: init app
# ----------------------------------------------------------
((angular) ->
angular.module('AppSurvey', [
# 'angular-data.DSCacheFactory'
'pascalprecht.translate'
'ui.bootstrap'
... | true | 'use strict'
# ----------------------------------------------------------
# @: PI:NAME:<NAME>END_PI
# d: 150328
# f: init app
# ----------------------------------------------------------
((angular) ->
angular.module('AppSurvey', [
# 'angular-data.DSCacheFactory'
'pascalprecht.translate'
'ui.... |
[
{
"context": " config.headers['X-PhpDraft-DraftPassword'] = \"#{$sessionStorage.draft_password}\"\n\n config\n\nangul",
"end": 277,
"score": 0.7813090682029724,
"start": 277,
"tag": "PASSWORD",
"value": ""
},
{
"context": "raftPassword'] = \"#{$sessionStorage.draft_password}\... | app/coffee/config/add_draft_password_header.coffee | justinpyvis/phpdraft | 0 | angular.module('app').factory 'draftPasswordHttpRequestInterceptor', ($sessionStorage) ->
request: (config) ->
if $sessionStorage.draft_password? and $sessionStorage.draft_password != undefined
config.headers ?= {}
config.headers['X-PhpDraft-DraftPassword'] = "#{$sessionStorage.draft_password}"
c... | 198909 | angular.module('app').factory 'draftPasswordHttpRequestInterceptor', ($sessionStorage) ->
request: (config) ->
if $sessionStorage.draft_password? and $sessionStorage.draft_password != undefined
config.headers ?= {}
config.headers['X-PhpDraft-DraftPassword'] =<PASSWORD> "#{$sessionStorage.draft_passwor... | true | angular.module('app').factory 'draftPasswordHttpRequestInterceptor', ($sessionStorage) ->
request: (config) ->
if $sessionStorage.draft_password? and $sessionStorage.draft_password != undefined
config.headers ?= {}
config.headers['X-PhpDraft-DraftPassword'] =PI:PASSWORD:<PASSWORD>END_PI "#{$sessionSto... |
[
{
"context": "ssage', => done()\n @sut.send 'message', 'Minerva Walters'\n\n it 'should call socket.emit', ->\n ",
"end": 4579,
"score": 0.9998452067375183,
"start": 4564,
"tag": "NAME",
"value": "Minerva Walters"
}
] | test/src/srv-socket-spec.coffee | octoblu/npm | 3 | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
{EventEmitter} = require 'events'
SrvSocket = require '../../src/srv-socket'
AsymetricSocket = require '../asymmetric-socket'
describe 'SrvSocket spec', ->
describe '->connect', ->
describe 'when constructed with resolveSrv ... | 26672 | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
{EventEmitter} = require 'events'
SrvSocket = require '../../src/srv-socket'
AsymetricSocket = require '../asymmetric-socket'
describe 'SrvSocket spec', ->
describe '->connect', ->
describe 'when constructed with resolveSrv ... | true | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
{EventEmitter} = require 'events'
SrvSocket = require '../../src/srv-socket'
AsymetricSocket = require '../asymmetric-socket'
describe 'SrvSocket spec', ->
describe '->connect', ->
describe 'when constructed with resolveSrv ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999107122421265,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmap-discussions/new-reply.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 { MessageLengthCounter } from './message-length-counter'
import { BigButton } from 'big-button'
import * as React from 'react'
import { bu... | 99619 | # 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 { MessageLengthCounter } from './message-length-counter'
import { BigButton } from 'big-button'
import * as React from 'react'
import { button, d... | 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 { MessageLengthCounter } from './message-length-counter'
import { BigButton } from 'big-button'
import * as React from 'react'
imp... |
[
{
"context": "xRequest\r\n \t\r\n Creates a new checklist.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass AircraftCheckli",
"end": 1000,
"score": 0.9998506307601929,
"start": 988,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/ajax/aircraft/AircraftChecklistsRoute.coffee | qrefdev/qref | 0 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
ChecklistManager = require('../../../../db/manager/ChecklistManager')
AircraftChecklistFilter = requir... | 200638 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
ChecklistManager = require('../../../../db/manager/ChecklistManager')
AircraftChecklistFilter = requir... | true | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
ChecklistManager = require('../../../../db/manager/ChecklistManager')
AircraftChecklistFilter = requir... |
[
{
"context": "=========================================\n# Autor: Esteve Lladó (Fundació Bit), 2016\n# ==========================",
"end": 65,
"score": 0.9998823404312134,
"start": 53,
"tag": "NAME",
"value": "Esteve Lladó"
}
] | source/coffee/data_availability.coffee | Fundacio-Bit/twitter-intranet | 0 | # =========================================
# Autor: Esteve Lladó (Fundació Bit), 2016
# =========================================
# -----------------------------------------------------------
# Extrae disponibilidad de datos de la 'data admin' API REST
# -----------------------------------------------------------
get... | 3349 | # =========================================
# Autor: <NAME> (Fundació Bit), 2016
# =========================================
# -----------------------------------------------------------
# Extrae disponibilidad de datos de la 'data admin' API REST
# -----------------------------------------------------------
getAvaila... | true | # =========================================
# Autor: PI:NAME:<NAME>END_PI (Fundació Bit), 2016
# =========================================
# -----------------------------------------------------------
# Extrae disponibilidad de datos de la 'data admin' API REST
# -------------------------------------------------------... |
[
{
"context": " user = {\n id: 1,\n name: \"username\"\n }\n\n ctrl.searchUser(user)\n\n ",
"end": 2371,
"score": 0.9657618999481201,
"start": 2363,
"tag": "USERNAME",
"value": "username"
},
{
"context": " user = {\n id: 1,\n ... | app/modules/projects/create/import-project-members/import-project-members.controller.spec.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | 225986 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.