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": "0.0.0'\ndescription: 'sike css0to1 day 1'\nauthor: 'FooTearth <footearth@gmail.com>'\nmain: 'mainfile'\nlicense: ",
"end": 112,
"score": 0.9955465197563171,
"start": 103,
"tag": "USERNAME",
"value": "FooTearth"
},
{
"context": "ription: 'sike css0to1 day 1'\nauthor: 'Fo... | npb.cson | footearth/sike_css0to1_day_1 | 0 | # PUBLIC CONFIG
name: 'sike_css0to1_day_1'
version: '0.0.0'
description: 'sike css0to1 day 1'
author: 'FooTearth <footearth@gmail.com>'
main: 'mainfile'
license: 'MIT'
repository:
type: 'git'
url: 'https://github.com/footearth/sike_css0to1_day_1.git'
bugs:
url: 'https://github.com/footearth/sike_css0to1_day_1/iss... | 208830 | # PUBLIC CONFIG
name: 'sike_css0to1_day_1'
version: '0.0.0'
description: 'sike css0to1 day 1'
author: 'FooTearth <<EMAIL>>'
main: 'mainfile'
license: 'MIT'
repository:
type: 'git'
url: 'https://github.com/footearth/sike_css0to1_day_1.git'
bugs:
url: 'https://github.com/footearth/sike_css0to1_day_1/issues'
homepag... | true | # PUBLIC CONFIG
name: 'sike_css0to1_day_1'
version: '0.0.0'
description: 'sike css0to1 day 1'
author: 'FooTearth <PI:EMAIL:<EMAIL>END_PI>'
main: 'mainfile'
license: 'MIT'
repository:
type: 'git'
url: 'https://github.com/footearth/sike_css0to1_day_1.git'
bugs:
url: 'https://github.com/footearth/sike_css0to1_day_1/... |
[
{
"context": "-already-exists', 'Token already exists'\n\n\t\tpass = Meteor.uuid()\n\n\t\tloop\n\t\t\tqt = Meteor.users.find({ 'profile.gu",
"end": 251,
"score": 0.7848718762397766,
"start": 240,
"tag": "PASSWORD",
"value": "Meteor.uuid"
},
{
"context": "break if not userExists\n\n\t... | packages/rocketchat-livechat/methods.coffee | 41studio/41chat | 1 | Meteor.methods
registerGuest: (token) ->
check token, String
user = Meteor.users.findOne { "profile.token": token }, { fields: { _id: 1 } }
if user?
throw new Meteor.Error 'token-already-exists', 'Token already exists'
pass = Meteor.uuid()
loop
qt = Meteor.users.find({ 'profile.guest': true }).count... | 30894 | Meteor.methods
registerGuest: (token) ->
check token, String
user = Meteor.users.findOne { "profile.token": token }, { fields: { _id: 1 } }
if user?
throw new Meteor.Error 'token-already-exists', 'Token already exists'
pass = <PASSWORD>()
loop
qt = Meteor.users.find({ 'profile.guest': true }).count(... | true | Meteor.methods
registerGuest: (token) ->
check token, String
user = Meteor.users.findOne { "profile.token": token }, { fields: { _id: 1 } }
if user?
throw new Meteor.Error 'token-already-exists', 'Token already exists'
pass = PI:PASSWORD:<PASSWORD>END_PI()
loop
qt = Meteor.users.find({ 'profile.gues... |
[
{
"context": "port\n username: 'a'\n password: 'b'\n\n @sut.getOpenEwsRequest {}, (@error) => ",
"end": 829,
"score": 0.9992998838424683,
"start": 828,
"tag": "PASSWORD",
"value": "b"
}
] | test/services/authenticated-request-spec.coffee | octoblu/bourse | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
AuthenticatedRequest = require '../../src/services/authenticated-request'
describe 'AuthenticatedRequest', ->
beforeEach ->
@responseDelay = 0
delayResponse = (req, re... | 17386 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
AuthenticatedRequest = require '../../src/services/authenticated-request'
describe 'AuthenticatedRequest', ->
beforeEach ->
@responseDelay = 0
delayResponse = (req, re... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
AuthenticatedRequest = require '../../src/services/authenticated-request'
describe 'AuthenticatedRequest', ->
beforeEach ->
@responseDelay = 0
delayResponse = (req, re... |
[
{
"context": "###\n X-Wing Squad Builder 2.0\n Stephen Kim <raithos@gmail.com>\n https://raithos.github.io",
"end": 48,
"score": 0.9996230006217957,
"start": 37,
"tag": "NAME",
"value": "Stephen Kim"
},
{
"context": "###\n X-Wing Squad Builder 2.0\n Stephen Kim <raitho... | coffeescripts/system/xwing.coffee | piffopi/xwing | 0 | ###
X-Wing Squad Builder 2.0
Stephen Kim <raithos@gmail.com>
https://raithos.github.io
###
exportObj = exports ? this
exportObj.sortHelper = (a, b) ->
if a.points == b.points
a_name = a.text.replace(/[^a-z0-9]/ig, '')
b_name = b.text.replace(/[^a-z0-9]/ig, '')
if a_name == b_nam... | 128591 | ###
X-Wing Squad Builder 2.0
<NAME> <<EMAIL>>
https://raithos.github.io
###
exportObj = exports ? this
exportObj.sortHelper = (a, b) ->
if a.points == b.points
a_name = a.text.replace(/[^a-z0-9]/ig, '')
b_name = b.text.replace(/[^a-z0-9]/ig, '')
if a_name == b_name
0... | true | ###
X-Wing Squad Builder 2.0
PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
https://raithos.github.io
###
exportObj = exports ? this
exportObj.sortHelper = (a, b) ->
if a.points == b.points
a_name = a.text.replace(/[^a-z0-9]/ig, '')
b_name = b.text.replace(/[^a-z0-9]/ig, '')
if a... |
[
{
"context": "ame: 1, modelYear: 1 }, { unique: true })\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n@abstract\r\n###\r\nclass Airc",
"end": 327,
"score": 0.999836802482605,
"start": 315,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/schema/AircraftModelSchema.coffee | qrefdev/qref | 0 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a specific aircraft make and model.
@example MongoDB Collection
db.aircraft.models
@example MongoDB Indexes
db.aircraft.models.ensureIndex({ name: 1, modelYear: 1 }, { unique: true })
@author Natha... | 97864 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a specific aircraft make and model.
@example MongoDB Collection
db.aircraft.models
@example MongoDB Indexes
db.aircraft.models.ensureIndex({ name: 1, modelYear: 1 }, { unique: true })
@author <NAME... | true | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a specific aircraft make and model.
@example MongoDB Collection
db.aircraft.models
@example MongoDB Indexes
db.aircraft.models.ensureIndex({ name: 1, modelYear: 1 }, { unique: true })
@author PI:NA... |
[
{
"context": "#!/usr/bin/env coffee\n\n# Copyright (c) Konode. All rights reserved.\n# This source code is su",
"end": 42,
"score": 0.7492069005966187,
"start": 39,
"tag": "USERNAME",
"value": "Kon"
},
{
"context": "#!/usr/bin/env coffee\n\n# Copyright (c) Konode. All rights reserved... | scripts/decrypt.coffee | LogicalOutcomes/KoNote | 1 | #!/usr/bin/env coffee
# Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Use this script from a command line.
# Pipe encrypted data into stdin, and it will output dec... | 117297 | #!/usr/bin/env coffee
# Copyright (c) Kon<NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Use this script from a command line.
# Pipe encrypted data into stdin, and it will output ... | true | #!/usr/bin/env coffee
# Copyright (c) KonPI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Use this script from a command line.
# Pipe encrypted data into stdin, and i... |
[
{
"context": ".watsonplatform.net/tone-analyzer/api'\n username: watsonCredentials.username\n password: watsonCredentials.password\n version_",
"end": 355,
"score": 0.9160674214363098,
"start": 329,
"tag": "USERNAME",
"value": "watsonCredentials.username"
},
{
"context": " userna... | server-side-source/api-routes/tone-api.coffee | Lissy93/twitter-sentiment-visualisation- | 155 | express = require('express')
router = express.Router()
fetchSentimentTweets = require '../utils/fetch-sentiment-tweets'
watson = require 'watson-developer-cloud'
watsonCredentials = require('../config/keys').watson
toneAnalyzer = watson.tone_analyzer {
url: 'https://gateway.watsonplatform.net/tone-analyzer/api'
u... | 105745 | express = require('express')
router = express.Router()
fetchSentimentTweets = require '../utils/fetch-sentiment-tweets'
watson = require 'watson-developer-cloud'
watsonCredentials = require('../config/keys').watson
toneAnalyzer = watson.tone_analyzer {
url: 'https://gateway.watsonplatform.net/tone-analyzer/api'
u... | true | express = require('express')
router = express.Router()
fetchSentimentTweets = require '../utils/fetch-sentiment-tweets'
watson = require 'watson-developer-cloud'
watsonCredentials = require('../config/keys').watson
toneAnalyzer = watson.tone_analyzer {
url: 'https://gateway.watsonplatform.net/tone-analyzer/api'
u... |
[
{
"context": "sOfQuantumNeutrinoFields\n professor: \"Professor Hubert Farnsworth\"\n books: [\":shrug:\"]\n\n drop: ->\n con",
"end": 297,
"score": 0.9998828768730164,
"start": 280,
"tag": "NAME",
"value": "Hubert Farnsworth"
},
{
"context": "ports.InlineClass = clas... | test/resources/exports/exports.coffee | hulu/splitshot | 13 | exports.Foo = "Some string"
exports.Bar = {
someObjectLiteral: true
}
exports.function = "fnucotin" # tests reserved word exports
exports.getStuff = (anArgument) ->
return ["stuff", "and more stuff"]
class TheMathematicsOfQuantumNeutrinoFields
professor: "Professor Hubert Farnsworth"
books: [":shrug:"... | 178131 | exports.Foo = "Some string"
exports.Bar = {
someObjectLiteral: true
}
exports.function = "fnucotin" # tests reserved word exports
exports.getStuff = (anArgument) ->
return ["stuff", "and more stuff"]
class TheMathematicsOfQuantumNeutrinoFields
professor: "Professor <NAME>"
books: [":shrug:"]
drop... | true | exports.Foo = "Some string"
exports.Bar = {
someObjectLiteral: true
}
exports.function = "fnucotin" # tests reserved word exports
exports.getStuff = (anArgument) ->
return ["stuff", "and more stuff"]
class TheMathematicsOfQuantumNeutrinoFields
professor: "Professor PI:NAME:<NAME>END_PI"
books: [":shru... |
[
{
"context": "vent usage of this.state within setState\n# @author Rolf Erik Lekang, Jørgen Aaberg\n###\n\n'use strict'\n\ndocsUrl = requi",
"end": 91,
"score": 0.9998639822006226,
"start": 75,
"tag": "NAME",
"value": "Rolf Erik Lekang"
},
{
"context": ".state within setState\n# @auth... | src/rules/no-access-state-in-setstate.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent usage of this.state within setState
# @author Rolf Erik Lekang, Jørgen Aaberg
###
'use strict'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
{isDeclarationAssignment} = require '../util/ast-utils'
# ------------------------------------------------------------------------------... | 115465 | ###*
# @fileoverview Prevent usage of this.state within setState
# @author <NAME>, <NAME>
###
'use strict'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
{isDeclarationAssignment} = require '../util/ast-utils'
# ------------------------------------------------------------------------------
# Rule Definitio... | true | ###*
# @fileoverview Prevent usage of this.state within setState
# @author PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
###
'use strict'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
{isDeclarationAssignment} = require '../util/ast-utils'
# -------------------------------------------------------------------... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998855590820312,
"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/conf.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
... | 54879 | ###
# 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": "ogin and logout', ->\n token = null\n username = 'test2'\n email = 'test2@ivus.com'\n password = 'passwor",
"end": 324,
"score": 0.9994690418243408,
"start": 319,
"tag": "USERNAME",
"value": "test2"
},
{
"context": "->\n token = null\n username = 'test2'\n email ... | test/user_hook_tests.coffee | adthrasher/meteor-restivus | 613 | HookApi = new Restivus
useDefaultAuth: true
apiPath: 'hook-api'
onLoggedIn: -> Meteor.users.findOne({_id: @userId})
onLoggedOut: -> Meteor.users.findOne({_id: @userId})
DefaultApi = new Restivus
useDefaultAuth: true
apiPath: 'no-hook-api'
describe 'User login and logout', ->
token = null
username = 't... | 101338 | HookApi = new Restivus
useDefaultAuth: true
apiPath: 'hook-api'
onLoggedIn: -> Meteor.users.findOne({_id: @userId})
onLoggedOut: -> Meteor.users.findOne({_id: @userId})
DefaultApi = new Restivus
useDefaultAuth: true
apiPath: 'no-hook-api'
describe 'User login and logout', ->
token = null
username = 't... | true | HookApi = new Restivus
useDefaultAuth: true
apiPath: 'hook-api'
onLoggedIn: -> Meteor.users.findOne({_id: @userId})
onLoggedOut: -> Meteor.users.findOne({_id: @userId})
DefaultApi = new Restivus
useDefaultAuth: true
apiPath: 'no-hook-api'
describe 'User login and logout', ->
token = null
username = 't... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999109506607056,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/modding-profile/header.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 { Badges } from '../profile-page/badges'
import { Detail } from './detail'
import { HeaderInfo } from '../profile-page/header-info'
import... | 13907 | # 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 { Badges } from '../profile-page/badges'
import { Detail } from './detail'
import { HeaderInfo } from '../profile-page/header-info'
import { Link... | 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 { Badges } from '../profile-page/badges'
import { Detail } from './detail'
import { HeaderInfo } from '../profile-page/header-info... |
[
{
"context": ".mail.service\n user: config.mail.username\n pass: config.mail.password\n authMethod: \"LOGIN\"\n",
"end": 622,
"score": 0.9990832209587097,
"start": 602,
"tag": "PASSWORD",
"value": "config.mail.password"
}
] | server/commons/mail.coffee | madawei2699/codecombat | 0 | config = require '../../server_config'
module.exports.MAILCHIMP_LIST_ID = 'e9851239eb'
module.exports.MAILCHIMP_GROUP_ID = '4529'
# these two need to be parallel
module.exports.MAILCHIMP_GROUPS = ['Announcements', 'Adventurers', 'Artisans', 'Archmages', 'Scribes', 'Diplomats', 'Ambassadors']
module.exports.NEWS_GROUP... | 199593 | config = require '../../server_config'
module.exports.MAILCHIMP_LIST_ID = 'e9851239eb'
module.exports.MAILCHIMP_GROUP_ID = '4529'
# these two need to be parallel
module.exports.MAILCHIMP_GROUPS = ['Announcements', 'Adventurers', 'Artisans', 'Archmages', 'Scribes', 'Diplomats', 'Ambassadors']
module.exports.NEWS_GROUP... | true | config = require '../../server_config'
module.exports.MAILCHIMP_LIST_ID = 'e9851239eb'
module.exports.MAILCHIMP_GROUP_ID = '4529'
# these two need to be parallel
module.exports.MAILCHIMP_GROUPS = ['Announcements', 'Adventurers', 'Artisans', 'Archmages', 'Scribes', 'Diplomats', 'Ambassadors']
module.exports.NEWS_GROUP... |
[
{
"context": " File : bigbang.coffee\n# Maintainer : Felix C. Stegerman <flx@obfusk.net>\n# Date : 2020-09-02\n#",
"end": 97,
"score": 0.9998835921287537,
"start": 79,
"tag": "NAME",
"value": "Felix C. Stegerman"
},
{
"context": "ng.coffee\n# Maintainer :... | src/bigbang.coffee | obfusk/bigbang.coffee | 1 | # <!--
###
# {{{1 -->
#
# File : bigbang.coffee
# Maintainer : Felix C. Stegerman <flx@obfusk.net>
# Date : 2020-09-02
#
# Copyright : Copyright (C) 2020 Felix C. Stegerman
# Licence : LGPLv3+
# Version : v0.2.1
#
# <!-- }}}1
###
# -->
# graphical/evented functional pr... | 41042 | # <!--
###
# {{{1 -->
#
# File : bigbang.coffee
# Maintainer : <NAME> <<EMAIL>>
# Date : 2020-09-02
#
# Copyright : Copyright (C) 2020 <NAME>
# Licence : LGPLv3+
# Version : v0.2.1
#
# <!-- }}}1
###
# -->
# graphical/evented functional programming for js/coffee
#
# Cre... | true | # <!--
###
# {{{1 -->
#
# File : bigbang.coffee
# Maintainer : PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Date : 2020-09-02
#
# Copyright : Copyright (C) 2020 PI:NAME:<NAME>END_PI
# Licence : LGPLv3+
# Version : v0.2.1
#
# <!-- }}}1
###
# -->
# graphical/evented f... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999147653579712,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/status-chart.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @StatusChart
constructor: (element, name) ->
@ratio = 2 * Math.PI
width = $(element).width()
height = $(element).height()
... | 204182 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @StatusChart
constructor: (element, name) ->
@ratio = 2 * Math.PI
width = $(element).width()
height = $(element).height()
outer... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @StatusChart
constructor: (element, name) ->
@ratio = 2 * Math.PI
width = $(element).width()
height = $(element).heig... |
[
{
"context": ">\n @sut = new GetGlobalPublicKey publicKey: 'oh, hi mom!'\n\n describe 'when called', ->\n beforeEach ",
"end": 201,
"score": 0.7798652648925781,
"start": 189,
"tag": "KEY",
"value": "oh, hi mom!'"
},
{
"context": " expect(@response.data).to.deep.equal pub... | test/get-global-public-key-spec.coffee | octoblu/meshblu-core-task-get-global-public-key | 0 | GetGlobalPublicKey = require '../'
describe 'GetGlobalPublicKey', ->
describe 'when instantiated with a public key', ->
beforeEach ->
@sut = new GetGlobalPublicKey publicKey: 'oh, hi mom!'
describe 'when called', ->
beforeEach (done) ->
@sut.do {}, (error, @response) => done error
... | 59376 | GetGlobalPublicKey = require '../'
describe 'GetGlobalPublicKey', ->
describe 'when instantiated with a public key', ->
beforeEach ->
@sut = new GetGlobalPublicKey publicKey: '<KEY>
describe 'when called', ->
beforeEach (done) ->
@sut.do {}, (error, @response) => done error
it 'sh... | true | GetGlobalPublicKey = require '../'
describe 'GetGlobalPublicKey', ->
describe 'when instantiated with a public key', ->
beforeEach ->
@sut = new GetGlobalPublicKey publicKey: 'PI:KEY:<KEY>END_PI
describe 'when called', ->
beforeEach (done) ->
@sut.do {}, (error, @response) => done error
... |
[
{
"context": "llipse\"\n\n# svg.import.js 0.11 - Copyright (c) 2013 Wout Fierens - Licensed under the MIT license\n#\n# Converted to",
"end": 205,
"score": 0.9998770952224731,
"start": 193,
"tag": "NAME",
"value": "Wout Fierens"
}
] | src/deserialize-svg.coffee | ocxtal/curve | 53 | SVG = require "../vendor/svg"
require "../vendor/svg.parser"
Path = require "./path"
Rectangle = require "./rectangle"
Ellipse = require "./ellipse"
# svg.import.js 0.11 - Copyright (c) 2013 Wout Fierens - Licensed under the MIT license
#
# Converted to coffeescript and modified by benogle
# Place the `svgString` in... | 203255 | SVG = require "../vendor/svg"
require "../vendor/svg.parser"
Path = require "./path"
Rectangle = require "./rectangle"
Ellipse = require "./ellipse"
# svg.import.js 0.11 - Copyright (c) 2013 <NAME> - Licensed under the MIT license
#
# Converted to coffeescript and modified by benogle
# Place the `svgString` in the s... | true | SVG = require "../vendor/svg"
require "../vendor/svg.parser"
Path = require "./path"
Rectangle = require "./rectangle"
Ellipse = require "./ellipse"
# svg.import.js 0.11 - Copyright (c) 2013 PI:NAME:<NAME>END_PI - Licensed under the MIT license
#
# Converted to coffeescript and modified by benogle
# Place the `svgSt... |
[
{
"context": "./format-number'\nEasyTable = require 'easy-table'\nPeter = require './players/peter'\nAaron = require './pl",
"end": 100,
"score": 0.9577273726463318,
"start": 95,
"tag": "NAME",
"value": "Peter"
},
{
"context": "= require 'easy-table'\nPeter = require './players/peter... | lib/game-runner.coffee | peterdemartini/betting-strategies | 0 | _ = require 'lodash'
formatNumber = require './format-number'
EasyTable = require 'easy-table'
Peter = require './players/peter'
Aaron = require './players/aaron'
PLAYERS = {
'peter': Peter,
'aaron': Aaron
}
class GameRunner
constructor: (@numberOfGames=20, @gameName) ->
@results = []
newPerson: (Player) ... | 216231 | _ = require 'lodash'
formatNumber = require './format-number'
EasyTable = require 'easy-table'
<NAME> = require './players/<NAME>'
<NAME> = require './players/<NAME>'
PLAYERS = {
'<NAME>': <NAME>,
'<NAME>': <NAME>
}
class GameRunner
constructor: (@numberOfGames=20, @gameName) ->
@results = []
newPerson: (... | true | _ = require 'lodash'
formatNumber = require './format-number'
EasyTable = require 'easy-table'
PI:NAME:<NAME>END_PI = require './players/PI:NAME:<NAME>END_PI'
PI:NAME:<NAME>END_PI = require './players/PI:NAME:<NAME>END_PI'
PLAYERS = {
'PI:NAME:<NAME>END_PI': PI:NAME:<NAME>END_PI,
'PI:NAME:<NAME>END_PI': PI:NAME:<NA... |
[
{
"context": "es.map (x) ->\n return {\n author: x.author.username\n from: x.source.branch.name\n to: x.dest",
"end": 274,
"score": 0.5018647313117981,
"start": 266,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ord\n\n buildAuth: () ->\n return {\n ... | lib/util/bitbucket-manager.coffee | ExentriqLtd/Advanced-Web-Editor | 0 | API_URL = 'https://api.bitbucket.org/2.0/repositories/'
request = require 'request'
q = require 'q'
log = require './logger'
PAGE_SIZE = 50
transformResponse = (body) ->
if !body
return []
return body.values.map (x) ->
return {
author: x.author.username
from: x.source.branch.name
to: x.... | 142270 | API_URL = 'https://api.bitbucket.org/2.0/repositories/'
request = require 'request'
q = require 'q'
log = require './logger'
PAGE_SIZE = 50
transformResponse = (body) ->
if !body
return []
return body.values.map (x) ->
return {
author: x.author.username
from: x.source.branch.name
to: x.... | true | API_URL = 'https://api.bitbucket.org/2.0/repositories/'
request = require 'request'
q = require 'q'
log = require './logger'
PAGE_SIZE = 50
transformResponse = (body) ->
if !body
return []
return body.values.map (x) ->
return {
author: x.author.username
from: x.source.branch.name
to: x.... |
[
{
"context": "oProject', ->\n\n\t\tbeforeEach ->\n\t\t\t@targetEmail = \"user@example.com\"\n\t\t\t@req.params =\n\t\t\t\tProject_id: @project_id\n\t\t\t",
"end": 3156,
"score": 0.9999133944511414,
"start": 3140,
"tag": "EMAIL",
"value": "user@example.com"
},
{
"context": ")\n\t\t\t@... | test/unit/coffee/Collaborators/CollaboratorsInviteControllerTests.coffee | shyoshyo/web-sharelatex | 1 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Collaborators/CollaboratorsInviteController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockRequest = require "../helpers/MockRequest"
MockResponse = requ... | 28867 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Collaborators/CollaboratorsInviteController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockRequest = require "../helpers/MockRequest"
MockResponse = requ... | true | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Collaborators/CollaboratorsInviteController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockRequest = require "../helpers/MockRequest"
MockResponse = requ... |
[
{
"context": " else \"unknown\"\n\n clientData =\n name: info.name\n project: projectId\n session_id: sessio",
"end": 2862,
"score": 0.7214862704277039,
"start": 2853,
"tag": "NAME",
"value": "info.name"
}
] | src/backend/clients.coffee | tonistiigi/styler | 18 | fs = require "fs"
{_} = require "underscore"
useragent = require 'useragent'
{Projects, Clients, Settings} = require "./data"
{isAllowedIP} = require './utils'
log = require './log'
io = global.io
# Call an async method in client's side.
exports.callClient = (clientId, method, params={}, cb=->) ->
client = Clients.g... | 44539 | fs = require "fs"
{_} = require "underscore"
useragent = require 'useragent'
{Projects, Clients, Settings} = require "./data"
{isAllowedIP} = require './utils'
log = require './log'
io = global.io
# Call an async method in client's side.
exports.callClient = (clientId, method, params={}, cb=->) ->
client = Clients.g... | true | fs = require "fs"
{_} = require "underscore"
useragent = require 'useragent'
{Projects, Clients, Settings} = require "./data"
{isAllowedIP} = require './utils'
log = require './log'
io = global.io
# Call an async method in client's side.
exports.callClient = (clientId, method, params={}, cb=->) ->
client = Clients.g... |
[
{
"context": "uest = \n\t\t\theaders:\n\t\t\t\t'sec-websocket-key1': \", 3524 2h 70M U|580 . t?[T\"\n\t\t\t\t'sec-websocket-key2': \"g",
"end": 445,
"score": 0.9317595362663269,
"start": 438,
"tag": "KEY",
"value": "3524 2h"
},
{
"context": "\t\theaders:\n\t\t\t\t'sec-websocket-k... | spec/client_spec.coffee | petrjanda/platformjs | 1 | require './spec_helper'
Client = require 'client'
sys = require 'sys'
net = require 'net'
buffer = require 'buffer'
http = require 'http'
Server = require 'server'
WebSocket = require('websocket-client').WebSocket
describe "Client", ->
beforeEach ->
@socket =
setTimeout: () ->
setEncoding: () ->
setKe... | 55791 | require './spec_helper'
Client = require 'client'
sys = require 'sys'
net = require 'net'
buffer = require 'buffer'
http = require 'http'
Server = require 'server'
WebSocket = require('websocket-client').WebSocket
describe "Client", ->
beforeEach ->
@socket =
setTimeout: () ->
setEncoding: () ->
setKe... | true | require './spec_helper'
Client = require 'client'
sys = require 'sys'
net = require 'net'
buffer = require 'buffer'
http = require 'http'
Server = require 'server'
WebSocket = require('websocket-client').WebSocket
describe "Client", ->
beforeEach ->
@socket =
setTimeout: () ->
setEncoding: () ->
setKe... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9987351894378662,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "ePeqZfpm\" + \"XAKLRKbLOzx/HK73q6vOrhCunlF1qIDJhNUeW5I2ozT5OkDlKWLJWkncJG5403HQXAkT3\" + \"Jw2... | test/simple/test-zlib-from-string.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... | 37140 | # 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": "able.addColumn 'mode'\n\n table.addRow ['name', 'Jane Doe', 'read']\n table.addRow ['age', 30, 'read']\n ",
"end": 827,
"score": 0.9997527003288269,
"start": 819,
"tag": "NAME",
"value": "Jane Doe"
}
] | spec/cursor-spec.coffee | lionel-rigoux/atom-tablr | 186 | require './helpers/spec-helper'
{Point} = require 'atom'
TableEditor = require '../lib/table-editor'
Table = require '../lib/table'
Selection = require '../lib/selection'
Cursor = require '../lib/cursor'
Range = require '../lib/range'
describe 'Cursor', ->
[table, displayTable, tableEditor, selection, cursor] = []
... | 50961 | require './helpers/spec-helper'
{Point} = require 'atom'
TableEditor = require '../lib/table-editor'
Table = require '../lib/table'
Selection = require '../lib/selection'
Cursor = require '../lib/cursor'
Range = require '../lib/range'
describe 'Cursor', ->
[table, displayTable, tableEditor, selection, cursor] = []
... | true | require './helpers/spec-helper'
{Point} = require 'atom'
TableEditor = require '../lib/table-editor'
Table = require '../lib/table'
Selection = require '../lib/selection'
Cursor = require '../lib/cursor'
Range = require '../lib/range'
describe 'Cursor', ->
[table, displayTable, tableEditor, selection, cursor] = []
... |
[
{
"context": " return true\n if token == 'group:__world__'\n return true\n if token",
"end": 660,
"score": 0.5730932950973511,
"start": 655,
"tag": "KEY",
"value": "world"
},
{
"context": " return true\n if token == 'group... | h/js/services.coffee | gergely-ujvari/h | 0 | class Hypothesis extends Annotator
events:
serviceDiscovery: 'serviceDiscovery'
# Plugin configuration
options:
noMatching: true
Discovery: {}
Heatmap: {}
Permissions:
permissions:
read: ['group:__world__']
userAuthorize: (action, annotation, user) ->
if annotation... | 102612 | class Hypothesis extends Annotator
events:
serviceDiscovery: 'serviceDiscovery'
# Plugin configuration
options:
noMatching: true
Discovery: {}
Heatmap: {}
Permissions:
permissions:
read: ['group:__world__']
userAuthorize: (action, annotation, user) ->
if annotation... | true | class Hypothesis extends Annotator
events:
serviceDiscovery: 'serviceDiscovery'
# Plugin configuration
options:
noMatching: true
Discovery: {}
Heatmap: {}
Permissions:
permissions:
read: ['group:__world__']
userAuthorize: (action, annotation, user) ->
if annotation... |
[
{
"context": "ling.\n#\n# URI parsing logic taken from parseUri by Steven Levithan:\n#\n# http://stevenlevithan.com/demo/parseuri/js/\n",
"end": 118,
"score": 0.9997349381446838,
"start": 103,
"tag": "NAME",
"value": "Steven Levithan"
},
{
"context": "ery logic taken from Rack:\n#\n#... | src/utilities/uri.coffee | davidcornu/batman | 1 | # A lightweight URI class for parsing and param juggling.
#
# URI parsing logic taken from parseUri by Steven Levithan:
#
# http://stevenlevithan.com/demo/parseuri/js/
#
# Nested query logic taken from Rack:
#
# https://github.com/rack/rack/blob/master/lib/rack/utils.rb
class Batman.URI
###
# URI parsing
###
st... | 153821 | # A lightweight URI class for parsing and param juggling.
#
# URI parsing logic taken from parseUri by <NAME>:
#
# http://stevenlevithan.com/demo/parseuri/js/
#
# Nested query logic taken from Rack:
#
# https://github.com/rack/rack/blob/master/lib/rack/utils.rb
class Batman.URI
###
# URI parsing
###
strictParse... | true | # A lightweight URI class for parsing and param juggling.
#
# URI parsing logic taken from parseUri by PI:NAME:<NAME>END_PI:
#
# http://stevenlevithan.com/demo/parseuri/js/
#
# Nested query logic taken from Rack:
#
# https://github.com/rack/rack/blob/master/lib/rack/utils.rb
class Batman.URI
###
# URI parsing
###... |
[
{
"context": "6b2a17b9\",\n \"latestCommit\": \"07d4a9749a09d4891b82fcb55bc1883f6b2a17b9\",\n \"repository\": {\n ",
"end": 612,
"score": 0.4726472795009613,
"start": 607,
"tag": "PASSWORD",
"value": "891b8"
},
{
"context": ",\n \"latestCommit\": \"07d4a9749a09d... | offline/rest/inbox/latest/pull-requests.cson | fuminchao/atlassian-stash-reviewboard | 0 | "size": 3,
"limit": 10,
"isLastPage": true,
"values": [{
"id": 88,
"version": 0,
"title": "Feature/ULTRA-11163 patch goal alignments to assessment question",
"state": "OPEN",
"open": true,
"closed": false,
"createdDate": 1456117898790,
"updatedDate": 1456117898790,
"fromRef": {
... | 130755 | "size": 3,
"limit": 10,
"isLastPage": true,
"values": [{
"id": 88,
"version": 0,
"title": "Feature/ULTRA-11163 patch goal alignments to assessment question",
"state": "OPEN",
"open": true,
"closed": false,
"createdDate": 1456117898790,
"updatedDate": 1456117898790,
"fromRef": {
... | true | "size": 3,
"limit": 10,
"isLastPage": true,
"values": [{
"id": 88,
"version": 0,
"title": "Feature/ULTRA-11163 patch goal alignments to assessment question",
"state": "OPEN",
"open": true,
"closed": false,
"createdDate": 1456117898790,
"updatedDate": 1456117898790,
"fromRef": {
... |
[
{
"context": "_bar_', '.Foo09-_bar']\n BAD_DSIDS = ['', 'A', 'foo@bar.com', Array(66).join('x'), '.', 'foo.', '.foo.bar']\n\n",
"end": 2157,
"score": 0.9999224543571472,
"start": 2146,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": "', ':' + Array(64).join('x')]\n BAD_I... | test/src/fast/datastore/datastore_test.coffee | noamraph/datastore-js | 0 | impl = Dropbox.Datastore.impl
Delta = impl.Delta
class FakeClient
constructor: (snapshotReturn = { rev: 0, rows: [], role: impl.ROLE_OWNER }) ->
@_snapshotReturn = snapshotReturn
isAuthenticated: -> true
_datastoreAwait: ->
# TODO: do something
_getOrCreateDatastore: (dsid, cb) ->
cb null, { han... | 628 | impl = Dropbox.Datastore.impl
Delta = impl.Delta
class FakeClient
constructor: (snapshotReturn = { rev: 0, rows: [], role: impl.ROLE_OWNER }) ->
@_snapshotReturn = snapshotReturn
isAuthenticated: -> true
_datastoreAwait: ->
# TODO: do something
_getOrCreateDatastore: (dsid, cb) ->
cb null, { han... | true | impl = Dropbox.Datastore.impl
Delta = impl.Delta
class FakeClient
constructor: (snapshotReturn = { rev: 0, rows: [], role: impl.ROLE_OWNER }) ->
@_snapshotReturn = snapshotReturn
isAuthenticated: -> true
_datastoreAwait: ->
# TODO: do something
_getOrCreateDatastore: (dsid, cb) ->
cb null, { han... |
[
{
"context": "0.1\"')\n expect(path).toContain('\"author\": \"John Doe\"')\n expect(path).toContain('\"description\":",
"end": 1271,
"score": 0.999497652053833,
"start": 1263,
"tag": "NAME",
"value": "John Doe"
}
] | test/functionals/commands/generate/package.spec.coffee | bcmw/neat | 1 | require '../../../test_helper'
Neat = require '../../../../lib/neat'
{run} = require '../../../../lib/utils/commands'
{print} = require 'util'
options = {}
# stderr: (data)-> print data
# stdout: (data)-> print data
describe 'when outside a project', ->
beforeEach ->
process.chdir TEST_TMP_DIR
addFileMa... | 168323 | require '../../../test_helper'
Neat = require '../../../../lib/neat'
{run} = require '../../../../lib/utils/commands'
{print} = require 'util'
options = {}
# stderr: (data)-> print data
# stdout: (data)-> print data
describe 'when outside a project', ->
beforeEach ->
process.chdir TEST_TMP_DIR
addFileMa... | true | require '../../../test_helper'
Neat = require '../../../../lib/neat'
{run} = require '../../../../lib/utils/commands'
{print} = require 'util'
options = {}
# stderr: (data)-> print data
# stdout: (data)-> print data
describe 'when outside a project', ->
beforeEach ->
process.chdir TEST_TMP_DIR
addFileMa... |
[
{
"context": "###\n# test/coverage/blanket.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Wrapper for bl",
"end": 57,
"score": 0.9997239112854004,
"start": 46,
"tag": "NAME",
"value": "Dan Nichols"
}
] | test/coverage/blanket.coffee | dlnichols/h_media | 0 | ###
# test/coverage/blanket.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Wrapper for blanket.js
###
'use strict'
require('blanket')(
#pattern: /\/h_media\/(test\/lib|lib)\//
pattern: 'lib'
loader: './node-loaders/coffee-script'
'data-cover-never': 'node_modules'
'data-cover-reporter-optio... | 206419 | ###
# test/coverage/blanket.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Wrapper for blanket.js
###
'use strict'
require('blanket')(
#pattern: /\/h_media\/(test\/lib|lib)\//
pattern: 'lib'
loader: './node-loaders/coffee-script'
'data-cover-never': 'node_modules'
'data-cover-reporter-options':
... | true | ###
# test/coverage/blanket.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Wrapper for blanket.js
###
'use strict'
require('blanket')(
#pattern: /\/h_media\/(test\/lib|lib)\//
pattern: 'lib'
loader: './node-loaders/coffee-script'
'data-cover-never': 'node_modules'
'data-cover-repor... |
[
{
"context": "@_steps.slice()\n\n toJSON: ->\n me =\n name: @_name\n start: @_start\n me.details = @_detai",
"end": 872,
"score": 0.9686201810836792,
"start": 870,
"tag": "NAME",
"value": "@_"
},
{
"context": "teps.slice()\n\n toJSON: ->\n me =\n name: @_nam... | src/profiler.coffee | couchand/tinyprofiler | 0 | # base profiler
# doesn't like to be explicitly constructed
{EventEmitter2} = require 'eventemitter2'
{diff, now} = require './time'
class Profiler extends EventEmitter2
constructor: (parent_baseline, @_name, @_details) ->
@_baseline = now()
@_steps = []
@_start = diff parent_baseline or @_baseline
... | 38923 | # base profiler
# doesn't like to be explicitly constructed
{EventEmitter2} = require 'eventemitter2'
{diff, now} = require './time'
class Profiler extends EventEmitter2
constructor: (parent_baseline, @_name, @_details) ->
@_baseline = now()
@_steps = []
@_start = diff parent_baseline or @_baseline
... | true | # base profiler
# doesn't like to be explicitly constructed
{EventEmitter2} = require 'eventemitter2'
{diff, now} = require './time'
class Profiler extends EventEmitter2
constructor: (parent_baseline, @_name, @_details) ->
@_baseline = now()
@_steps = []
@_start = diff parent_baseline or @_baseline
... |
[
{
"context": "gify\n \"mail_tel\": @mail\n \"password\": @password\n .then (result) =>\n @session ?= j._jar.st",
"end": 4408,
"score": 0.9985474348068237,
"start": 4399,
"tag": "PASSWORD",
"value": "@password"
}
] | lib/livenico.coffee | hdemon/livenico.js | 1 | net = require 'net'
tough = require 'tough-cookie'
request = require "request"
Promise = require "bluebird"
qs = require 'querystring'
cheerio = require 'cheerio'
_ = require 'lodash'
require 'source-map-support'
j = request.jar()
request = request.defaults {jar: j}
class Nico
constructor: (args) ->
@session = ... | 42749 | net = require 'net'
tough = require 'tough-cookie'
request = require "request"
Promise = require "bluebird"
qs = require 'querystring'
cheerio = require 'cheerio'
_ = require 'lodash'
require 'source-map-support'
j = request.jar()
request = request.defaults {jar: j}
class Nico
constructor: (args) ->
@session = ... | true | net = require 'net'
tough = require 'tough-cookie'
request = require "request"
Promise = require "bluebird"
qs = require 'querystring'
cheerio = require 'cheerio'
_ = require 'lodash'
require 'source-map-support'
j = request.jar()
request = request.defaults {jar: j}
class Nico
constructor: (args) ->
@session = ... |
[
{
"context": "url\n\n# your google shortener API key?!\nAPI_KEY = 'AIzaSyAZ2wia3BqnEkJEBQ7WYiDw3_VMi0bCC8s'\n\n# app-defined mimetypes...\nmake_mimetypes = (fe",
"end": 3543,
"score": 0.9997344613075256,
"start": 3504,
"tag": "KEY",
"value": "AIzaSyAZ2wia3BqnEkJEBQ7WYiDw3_VMi0bCC8s"
}
] | cache_builder/cb.coffee | cgreenhalgh/opensharingtoolkit-kiosk | 4 | # coffee-script version of cache builder
https = require 'https'
http = require 'http'
fs = require 'fs'
xml2js = require 'xml2js'
parse_url = (require 'url').parse
resolve_url = (require 'url').resolve
if process.argv.length<3
console.log 'usage: coffee cb.coffee <KIOSK-ATOM-FILE>'
process.exit -1
# devices cof... | 100858 | # coffee-script version of cache builder
https = require 'https'
http = require 'http'
fs = require 'fs'
xml2js = require 'xml2js'
parse_url = (require 'url').parse
resolve_url = (require 'url').resolve
if process.argv.length<3
console.log 'usage: coffee cb.coffee <KIOSK-ATOM-FILE>'
process.exit -1
# devices cof... | true | # coffee-script version of cache builder
https = require 'https'
http = require 'http'
fs = require 'fs'
xml2js = require 'xml2js'
parse_url = (require 'url').parse
resolve_url = (require 'url').resolve
if process.argv.length<3
console.log 'usage: coffee cb.coffee <KIOSK-ATOM-FILE>'
process.exit -1
# devices cof... |
[
{
"context": "$scope.submitterParams\n translatedKey = \"submitter[#{key}]\"\n $scope.submissionParams[tra",
"end": 1001,
"score": 0.7614695429801941,
"start": 995,
"tag": "KEY",
"value": "submit"
},
{
"context": "bmitterParams\n translatedKey = \"submitter... | frontend/src/controllers/private/teacher/results.coffee | greysteil/evaluator | 1 | angular.module 'evaluator'
.controller 'TeacherResultsController', ($scope, ProjectSubmissionsResource,
CoursesResource, CourseProjectsResource, Pagination, Submission,
defaultPageSize, deletedSubmissionIds) ->
$scope.loadingSubmissions = false
# Data used by the search form
$scope.formData ... | 124081 | angular.module 'evaluator'
.controller 'TeacherResultsController', ($scope, ProjectSubmissionsResource,
CoursesResource, CourseProjectsResource, Pagination, Submission,
defaultPageSize, deletedSubmissionIds) ->
$scope.loadingSubmissions = false
# Data used by the search form
$scope.formData ... | true | angular.module 'evaluator'
.controller 'TeacherResultsController', ($scope, ProjectSubmissionsResource,
CoursesResource, CourseProjectsResource, Pagination, Submission,
defaultPageSize, deletedSubmissionIds) ->
$scope.loadingSubmissions = false
# Data used by the search form
$scope.formData ... |
[
{
"context": "# parsing C# code\n#\n# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.outsider.ne.kr/>\n# L",
"end": 55,
"score": 0.9998639225959778,
"start": 41,
"tag": "NAME",
"value": "JeongHoon Byun"
},
{
"context": "# code\n#\n# Copyright (c) 2013 JeongHoon Byun... | src/parser/csharp-parser.coffee | outsideris/popularconvention | 421 | # parsing C# code
#
# Copyright (c) 2013 JeongHoon Byun aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
helpers = require '../helpers'
_ = require 'underscore'
javaParser = module.exports =
lang: 'csharp'
parse: (line, convention, commitUrl) ->... | 84935 | # parsing C# code
#
# Copyright (c) 2013 <NAME> aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
helpers = require '../helpers'
_ = require 'underscore'
javaParser = module.exports =
lang: 'csharp'
parse: (line, convention, commitUrl) ->
con... | true | # parsing C# code
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
helpers = require '../helpers'
_ = require 'underscore'
javaParser = module.exports =
lang: 'csharp'
parse: (line, convention, commitU... |
[
{
"context": "GGING == \"true\"\n npmUsername: process.env.NPM_USERNAME\n npmPassword: process.env.NPM_PASSWORD\n ",
"end": 277,
"score": 0.9011438488960266,
"start": 265,
"tag": "USERNAME",
"value": "NPM_USERNAME"
},
{
"context": " process.env.NPM_USERNAME\n ... | command.coffee | octoblu/connector-detail-service | 0 | _ = require 'lodash'
Server = require './src/server'
class Command
constructor: ->
@serverOptions =
port: process.env.PORT || 80
disableLogging: process.env.DISABLE_LOGGING == "true"
npmUsername: process.env.NPM_USERNAME
npmPassword: process.env.NPM_PASS... | 219132 | _ = require 'lodash'
Server = require './src/server'
class Command
constructor: ->
@serverOptions =
port: process.env.PORT || 80
disableLogging: process.env.DISABLE_LOGGING == "true"
npmUsername: process.env.NPM_USERNAME
npmPassword: <PASSWORD>
npm... | true | _ = require 'lodash'
Server = require './src/server'
class Command
constructor: ->
@serverOptions =
port: process.env.PORT || 80
disableLogging: process.env.DISABLE_LOGGING == "true"
npmUsername: process.env.NPM_USERNAME
npmPassword: PI:PASSWORD:<PASSWOR... |
[
{
"context": "calvin:\n id: 'calvin'\n\n startDate: '2016-09-28'\n endDate: '2016-0",
"end": 25,
"score": 0.6642548441886902,
"start": 22,
"tag": "USERNAME",
"value": "cal"
},
{
"context": "calvin:\n id: 'calvin'\n\n startDate: '2016-09-28'\n endDate: '2016-09-2",... | test/fixtures/non-recurring-today-we-are-in-it.cson | octoblu/groundhog-day-service | 0 | calvin:
id: 'calvin'
startDate: '2016-09-28'
endDate: '2016-09-28'
duration:
length: 2
units: 'hours'
schedules: [
startTimes: ['14:00:00']
]
| 82517 | calvin:
id: 'cal<NAME>'
startDate: '2016-09-28'
endDate: '2016-09-28'
duration:
length: 2
units: 'hours'
schedules: [
startTimes: ['14:00:00']
]
| true | calvin:
id: 'calPI:NAME:<NAME>END_PI'
startDate: '2016-09-28'
endDate: '2016-09-28'
duration:
length: 2
units: 'hours'
schedules: [
startTimes: ['14:00:00']
]
|
[
{
"context": "Prevent definitions of unused prop types\n# @author Evgueni Naverniouk\n###\n'use strict'\n\n# As for exceptions for props.c",
"end": 90,
"score": 0.9998604655265808,
"start": 72,
"tag": "NAME",
"value": "Evgueni Naverniouk"
},
{
"context": "lassName (and alike) look at... | src/rules/no-unused-prop-types.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent definitions of unused prop types
# @author Evgueni Naverniouk
###
'use strict'
# As for exceptions for props.children or props.className (and alike) look at
# https://github.com/yannickcr/eslint-plugin-react/issues/7
Components = require '../util/react/Components'
astUtil = require '../ut... | 46681 | ###*
# @fileoverview Prevent definitions of unused prop types
# @author <NAME>
###
'use strict'
# As for exceptions for props.children or props.className (and alike) look at
# https://github.com/yannickcr/eslint-plugin-react/issues/7
Components = require '../util/react/Components'
astUtil = require '../util/react/ast... | true | ###*
# @fileoverview Prevent definitions of unused prop types
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# As for exceptions for props.children or props.className (and alike) look at
# https://github.com/yannickcr/eslint-plugin-react/issues/7
Components = require '../util/react/Components'
astUtil = require '../... |
[
{
"context": "sers =\n 14: {request: 14, id: 21, name: 'Josh'}\n 12: {request: 12, id: 25, name: 'Leo'",
"end": 17939,
"score": 0.9997209310531616,
"start": 17935,
"tag": "NAME",
"value": "Josh"
},
{
"context": "Josh'}\n 12: {request: 12, id: 25, name: 'Leo... | spec/Helpers.coffee | aretecode/noflo-built | 1 | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
else
noflo = require 'noflo'
describe 'Component traits', ->
describe 'MapComponent', ->
c = null
it 'should pass data to the callba... | 153661 | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
else
noflo = require 'noflo'
describe 'Component traits', ->
describe 'MapComponent', ->
c = null
it 'should pass data to the callba... | true | if typeof process isnt 'undefined' and process.execPath and process.execPath.match /node|iojs/
chai = require 'chai' unless chai
noflo = require '../src/lib/NoFlo.coffee'
else
noflo = require 'noflo'
describe 'Component traits', ->
describe 'MapComponent', ->
c = null
it 'should pass data to the callba... |
[
{
"context": "### Copyright (c) 2015 Magnus Leo. All rights reserved. ###\n\nutil = require('./util",
"end": 33,
"score": 0.9998658299446106,
"start": 23,
"tag": "NAME",
"value": "Magnus Leo"
},
{
"context": " if typeof key is 'string'\n key = keyCodes[key.toUpperCase()]... | src/modules/io.coffee | magnusleo/Leo-Engine | 1 | ### Copyright (c) 2015 Magnus Leo. All rights reserved. ###
util = require('./util')
event = require('./event')
io = {}
module.exports = io
io.getPressedKeys = ->
return event.pressedKeys
io.isKeyPressed = (key) ->
if typeof key is 'string'
key = util.KEY_CODES[key.toUpperCase()]
unless typeof k... | 181861 | ### Copyright (c) 2015 <NAME>. All rights reserved. ###
util = require('./util')
event = require('./event')
io = {}
module.exports = io
io.getPressedKeys = ->
return event.pressedKeys
io.isKeyPressed = (key) ->
if typeof key is 'string'
key = util.KEY_CODES[key.toUpperCase()]
unless typeof key i... | true | ### Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved. ###
util = require('./util')
event = require('./event')
io = {}
module.exports = io
io.getPressedKeys = ->
return event.pressedKeys
io.isKeyPressed = (key) ->
if typeof key is 'string'
key = util.KEY_CODES[key.toUpperCase()]
unles... |
[
{
"context": "nv.MONGO_GUSHITIE_URL || 'mongodb://hotShareAdmin:aei_19056@host1.tiegushi.com:27017/hotShare'\n\n GushitieDB = new MongoInternal",
"end": 121,
"score": 0.9999281764030457,
"start": 93,
"tag": "EMAIL",
"value": "aei_19056@host1.tiegushi.com"
},
{
"context": "ollection(... | rocketchat/server/methods/gushitieMethods.coffee | Ritesh1991/mobile_app_server | 0 |
Meteor.startup ()->
mongourl = process.env.MONGO_GUSHITIE_URL || 'mongodb://hotShareAdmin:aei_19056@host1.tiegushi.com:27017/hotShare'
GushitieDB = new MongoInternals.RemoteCollectionDriver(mongourl)
@GushitieViewers = new Mongo.Collection("viewers", { _driver: GushitieDB })
@GushitiePosts = new Mongo.Collect... | 22066 |
Meteor.startup ()->
mongourl = process.env.MONGO_GUSHITIE_URL || 'mongodb://hotShareAdmin:<EMAIL>:27017/hotShare'
GushitieDB = new MongoInternals.RemoteCollectionDriver(mongourl)
@GushitieViewers = new Mongo.Collection("viewers", { _driver: GushitieDB })
@GushitiePosts = new Mongo.Collection("posts", { _drive... | true |
Meteor.startup ()->
mongourl = process.env.MONGO_GUSHITIE_URL || 'mongodb://hotShareAdmin:PI:EMAIL:<EMAIL>END_PI:27017/hotShare'
GushitieDB = new MongoInternals.RemoteCollectionDriver(mongourl)
@GushitieViewers = new Mongo.Collection("viewers", { _driver: GushitieDB })
@GushitiePosts = new Mongo.Collection("p... |
[
{
"context": " scope._store, \"create\"\n scope.create name: \"Lance\"\n expect(scope._store.create).toHaveBeenCall",
"end": 552,
"score": 0.9994379281997681,
"start": 547,
"tag": "NAME",
"value": "Lance"
},
{
"context": "scope._store.create).toHaveBeenCalledWith {name: \"L... | test/cases/store/mongodbTest.coffee | ludicast/tower | 1 | ###
require '../../config'
scope = null
user = null
quit = false
ini = false
describe 'Tower.Store.MongoDB', ->
beforeEach ->
User.store(new Tower.Store.MongoDB(name: "users", type: "User"))
#User.store.database.close() if User.store.database
#Tower.Store.MongoDB.initialize()
scope ... | 111918 | ###
require '../../config'
scope = null
user = null
quit = false
ini = false
describe 'Tower.Store.MongoDB', ->
beforeEach ->
User.store(new Tower.Store.MongoDB(name: "users", type: "User"))
#User.store.database.close() if User.store.database
#Tower.Store.MongoDB.initialize()
scope ... | true | ###
require '../../config'
scope = null
user = null
quit = false
ini = false
describe 'Tower.Store.MongoDB', ->
beforeEach ->
User.store(new Tower.Store.MongoDB(name: "users", type: "User"))
#User.store.database.close() if User.store.database
#Tower.Store.MongoDB.initialize()
scope ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9982690215110779,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-pipe-file-to-http.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... | 175641 | # 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": "ata =\n domain: @config.domain\n userName: @config.userName\n password: @config.password\n database: ",
"end": 19587,
"score": 0.9797621965408325,
"start": 19571,
"tag": "USERNAME",
"value": "@config.userName"
},
{
"context": "n\n userName: @con... | src/connection.coffee | sgermain06/tedious-int64-native | 0 | require('./buffertools')
BulkLoad = require('./bulk-load')
Debug = require('./debug')
EventEmitter = require('events').EventEmitter
instanceLookup = require('./instance-lookup').instanceLookup
TYPE = require('./packet').TYPE
PreloginPayload = require('./prelogin-payload')
Login7Payload = require('./login7-payload')
NTL... | 14970 | require('./buffertools')
BulkLoad = require('./bulk-load')
Debug = require('./debug')
EventEmitter = require('events').EventEmitter
instanceLookup = require('./instance-lookup').instanceLookup
TYPE = require('./packet').TYPE
PreloginPayload = require('./prelogin-payload')
Login7Payload = require('./login7-payload')
NTL... | true | require('./buffertools')
BulkLoad = require('./bulk-load')
Debug = require('./debug')
EventEmitter = require('events').EventEmitter
instanceLookup = require('./instance-lookup').instanceLookup
TYPE = require('./packet').TYPE
PreloginPayload = require('./prelogin-payload')
Login7Payload = require('./login7-payload')
NTL... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999095797538757,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/account-edit.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @AccountEdit
constructor: ->
$(document).on 'input change', '.js-account-edit', @initializeUpdate
$(document).on 'ajax:error', '... | 176259 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @AccountEdit
constructor: ->
$(document).on 'input change', '.js-account-edit', @initializeUpdate
$(document).on 'ajax:error', '.js-acc... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @AccountEdit
constructor: ->
$(document).on 'input change', '.js-account-edit', @initializeUpdate
$(document).on 'ajax:e... |
[
{
"context": " }\r\n ]\r\n }\r\n]\r\nconfig = [\r\n {\r\n \"name\": \"AAA\",\r\n \"operations\": [\r\n {\r\n \"type\": ",
"end": 4239,
"score": 0.5278414487838745,
"start": 4236,
"tag": "NAME",
"value": "AAA"
},
{
"context": "\r\n }\r\n ]\r\n },\r\n ... | src/test/test.general.coffee | c301/declarative-parser | 0 | "use strict"
default_config = [
{
"name": "contact_telephone",
"operations": {
"valName": "phone"
}
},
{
"name": "contact_email",
"operations": {
"valName": "email"
}
},
{
"name": "heading",
"operations": {
"valName": "title"
}
},
{... | 193363 | "use strict"
default_config = [
{
"name": "contact_telephone",
"operations": {
"valName": "phone"
}
},
{
"name": "contact_email",
"operations": {
"valName": "email"
}
},
{
"name": "heading",
"operations": {
"valName": "title"
}
},
{... | true | "use strict"
default_config = [
{
"name": "contact_telephone",
"operations": {
"valName": "phone"
}
},
{
"name": "contact_email",
"operations": {
"valName": "email"
}
},
{
"name": "heading",
"operations": {
"valName": "title"
}
},
{... |
[
{
"context": "mountain3b.alpha = 0.4\n\n move = @game.add.tween(@mountain0a)\n move.to({x: -2000}, 31000, Phaser.Easing.Lin",
"end": 2836,
"score": 0.9990341067314148,
"start": 2825,
"tag": "USERNAME",
"value": "@mountain0a"
},
{
"context": "ear.None, true, 0, 999)\n move = ... | src/Landscape.coffee | jasonhutchens/laggy_dash | 1 | LaggyDash = window.LaggyDash
class Landscape extends Phaser.State
SPEED = 1
constructor:->
preload:->
window.laggydash.send({ action: 'spawn' })
create:->
@game.stage.backgroundColor = '#000055'
@night = @game.add.sprite(@game.world.centerX, @game.world.centerY, 'night')
@night.body = null
... | 8747 | LaggyDash = window.LaggyDash
class Landscape extends Phaser.State
SPEED = 1
constructor:->
preload:->
window.laggydash.send({ action: 'spawn' })
create:->
@game.stage.backgroundColor = '#000055'
@night = @game.add.sprite(@game.world.centerX, @game.world.centerY, 'night')
@night.body = null
... | true | LaggyDash = window.LaggyDash
class Landscape extends Phaser.State
SPEED = 1
constructor:->
preload:->
window.laggydash.send({ action: 'spawn' })
create:->
@game.stage.backgroundColor = '#000055'
@night = @game.add.sprite(@game.world.centerX, @game.world.centerY, 'night')
@night.body = null
... |
[
{
"context": "#Original JS from Francois Deschenes (https://github.com/fdeschenes/bootstrap-tag)\ncla",
"end": 36,
"score": 0.9998818039894104,
"start": 18,
"tag": "NAME",
"value": "Francois Deschenes"
},
{
"context": "al JS from Francois Deschenes (https://github.com/fdeschenes/boot... | lib/assets/javascripts/bootstrap-tag.js.coffee | zherk/bootstrap-tag | 0 | #Original JS from Francois Deschenes (https://github.com/fdeschenes/bootstrap-tag)
class Tag
constructor: ( element, options ) ->
this.element = $(element)
this.options = $.extend(true, {}, $.fn.tag.defaults, options)
this.values = $.grep($.map(this.element.val().split(','), $.trim),
( value ) ->
... | 102921 | #Original JS from <NAME> (https://github.com/fdeschenes/bootstrap-tag)
class Tag
constructor: ( element, options ) ->
this.element = $(element)
this.options = $.extend(true, {}, $.fn.tag.defaults, options)
this.values = $.grep($.map(this.element.val().split(','), $.trim),
( value ) ->
value.... | true | #Original JS from PI:NAME:<NAME>END_PI (https://github.com/fdeschenes/bootstrap-tag)
class Tag
constructor: ( element, options ) ->
this.element = $(element)
this.options = $.extend(true, {}, $.fn.tag.defaults, options)
this.values = $.grep($.map(this.element.val().split(','), $.trim),
( value ) ->
... |
[
{
"context": "-7', triode.get_all_superkeys()\n # debug 'µ76777-8', triode.disambiguate_subkey 'n', 'n.'\n debug 'µ",
"end": 9930,
"score": 0.9302263259887695,
"start": 9929,
"tag": "KEY",
"value": "8"
},
{
"context": "7-11', triode.get_all_superkeys()\n debug 'µ7887-13', triode.h... | dev/triode/src/main.test.coffee | loveencounterflow/hengist | 0 |
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'TRIODE/TESTS/basic'
debug = CND.get_logger 'debug', badge
urge ... | 83584 |
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'TRIODE/TESTS/basic'
debug = CND.get_logger 'debug', badge
urge ... | true |
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'TRIODE/TESTS/basic'
debug = CND.get_logger 'debug', badge
urge ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affe",
"end": 23,
"score": 0.5040093064308167,
"start": 21,
"tag": "NAME",
"value": "ty"
},
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",... | resources/assets/coffee/navbar-mobile.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.
topIcon = document.getElementsByClassName('js-navbar-mobile--top-icon')
$(document).on 'show.bs.collapse', '.js-navbar-mobile--menu', ->
Fade.... | 2499 | # Copyright (c) ppy P<NAME> Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
topIcon = document.getElementsByClassName('js-navbar-mobile--top-icon')
$(document).on 'show.bs.collapse', '.js-navbar-mobile--menu', ->
Fade.out... | true | # Copyright (c) ppy PPI:NAME:<NAME>END_PI 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.
topIcon = document.getElementsByClassName('js-navbar-mobile--top-icon')
$(document).on 'show.bs.collapse', '.js-navbar... |
[
{
"context": "###\n backbone-sql.js 0.5.7\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-sql\n Lice",
"end": 57,
"score": 0.9982708692550659,
"start": 49,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/vi... | src/index.coffee | michaelBenin/backbone-sql | 1 | ###
backbone-sql.js 0.5.7
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-sql
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
module.exports =
sync: require './sync'
| 77620 | ###
backbone-sql.js 0.5.7
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-sql
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
module.exports =
sync: require './sync'
| true | ###
backbone-sql.js 0.5.7
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-sql
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
module.exports =
sync: require './sync'
|
[
{
"context": "# @file lampyridae.coffee\n# @Copyright (c) 2016 Taylor Siviter\n# This source code is licensed under the MIT Lice",
"end": 62,
"score": 0.9998774528503418,
"start": 48,
"tag": "NAME",
"value": "Taylor Siviter"
},
{
"context": "file\n### @file lampyridae.js\n# @Copyrigh... | src/lampyridae.coffee | siviter-t/lampyridae.coffee | 4 | # @file lampyridae.coffee
# @Copyright (c) 2016 Taylor Siviter
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
# Header information for the concatenated master file
### @file lampyridae.js
# @Copyright (c) 2016 Taylor Siviter
# This source code is... | 136216 | # @file lampyridae.coffee
# @Copyright (c) 2016 <NAME>
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
# Header information for the concatenated master file
### @file lampyridae.js
# @Copyright (c) 2016 <NAME>
# This source code is licensed under ... | true | # @file lampyridae.coffee
# @Copyright (c) 2016 PI:NAME:<NAME>END_PI
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
# Header information for the concatenated master file
### @file lampyridae.js
# @Copyright (c) 2016 PI:NAME:<NAME>END_PI
# This so... |
[
{
"context": " opts.url = @browserConfig.url\n\n logger(\"#{@id} requests #{opts.url}\")\n request opts, (er",
"end": 8242,
"score": 0.7394710779190063,
"start": 8239,
"tag": "USERNAME",
"value": "@id"
},
{
"context": ".cookieName\n return cookie.key is ... | benchmarks/clients/client_process.coffee | bladepan/cloudbrowser | 0 | {EventEmitter} = require('events')
parseUrl = require('url').parse
querystring = require('querystring')
timers = require('timers')
socketio = require('socket.io-client')
request = require('request')
lodash = require('lodash')
debug = require('debug')
async... | 75543 | {EventEmitter} = require('events')
parseUrl = require('url').parse
querystring = require('querystring')
timers = require('timers')
socketio = require('socket.io-client')
request = require('request')
lodash = require('lodash')
debug = require('debug')
async... | true | {EventEmitter} = require('events')
parseUrl = require('url').parse
querystring = require('querystring')
timers = require('timers')
socketio = require('socket.io-client')
request = require('request')
lodash = require('lodash')
debug = require('debug')
async... |
[
{
"context": "egister', new LocalStrategy({\n usernameField: 'username'\n passwordField: 'password'\n passReqToCallb",
"end": 339,
"score": 0.9993149042129517,
"start": 331,
"tag": "USERNAME",
"value": "username"
},
{
"context": " usernameField: 'username'\n passwordFi... | passport.coffee | jastribl/stir-server | 0 | LocalStrategy = require('passport-local').Strategy
passport = require('passport')
UserRepo = require('./data/UserRepo')
passport.serializeUser (user, done) ->
done(null, user.id)
passport.deserializeUser (_user, done) ->
UserRepo.getUserById _user, done
passport.use 'register', new LocalStrategy({
usern... | 156216 | LocalStrategy = require('passport-local').Strategy
passport = require('passport')
UserRepo = require('./data/UserRepo')
passport.serializeUser (user, done) ->
done(null, user.id)
passport.deserializeUser (_user, done) ->
UserRepo.getUserById _user, done
passport.use 'register', new LocalStrategy({
usern... | true | LocalStrategy = require('passport-local').Strategy
passport = require('passport')
UserRepo = require('./data/UserRepo')
passport.serializeUser (user, done) ->
done(null, user.id)
passport.deserializeUser (_user, done) ->
UserRepo.getUserById _user, done
passport.use 'register', new LocalStrategy({
usern... |
[
{
"context": "cache-loop'\n\nkeys_cache = new CacheLoop {\n key: 'mkay:apikeys'\n interval: '10 seconds'\n use: ((cb) ->",
"end": 242,
"score": 0.9777781963348389,
"start": 238,
"tag": "KEY",
"value": "mkay"
}
] | core/internal.iced | tosadvisor/link-shortener | 7 | # vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2
_ = require('wegweg')({
globals: off
})
basic_auth = require 'basic-auth'
valid_key = conf.api.auth
CacheLoop = require 'taky-cache-loop'
keys_cache = new CacheLoop {
key: 'mkay:apikeys'
interval: '10 seconds'
use: ((cb) ->
if !conf.mongo then ret... | 16138 | # vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2
_ = require('wegweg')({
globals: off
})
basic_auth = require 'basic-auth'
valid_key = conf.api.auth
CacheLoop = require 'taky-cache-loop'
keys_cache = new CacheLoop {
key: '<KEY>:apikeys'
interval: '10 seconds'
use: ((cb) ->
if !conf.mongo then re... | true | # vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2
_ = require('wegweg')({
globals: off
})
basic_auth = require 'basic-auth'
valid_key = conf.api.auth
CacheLoop = require 'taky-cache-loop'
keys_cache = new CacheLoop {
key: 'PI:KEY:<KEY>END_PI:apikeys'
interval: '10 seconds'
use: ((cb) ->
if !conf.... |
[
{
"context": "Validate closing bracket location in JSX\n# @author Yannick Croissant\n###\n'use strict'\n\n{has} = require 'lodash'\ndocsUr",
"end": 89,
"score": 0.9998561143875122,
"start": 72,
"tag": "NAME",
"value": "Yannick Croissant"
}
] | src/rules/jsx-closing-bracket-location.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Validate closing bracket location in JSX
# @author Yannick Croissant
###
'use strict'
{has} = require 'lodash'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ------------------------------------------------------------------------------
# Rule Definition
# ----------------------------... | 79422 | ###*
# @fileoverview Validate closing bracket location in JSX
# @author <NAME>
###
'use strict'
{has} = require 'lodash'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ------------------------------------------------------------------------------
# Rule Definition
# ---------------------------------------... | true | ###*
# @fileoverview Validate closing bracket location in JSX
# @author PI:NAME:<NAME>END_PI
###
'use strict'
{has} = require 'lodash'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ------------------------------------------------------------------------------
# Rule Definition
# -------------------------... |
[
{
"context": "req =\n params: {}\n body:\n name: 'test1'\n description: 'My awesome pipeline'\n ",
"end": 198,
"score": 0.8273487687110901,
"start": 193,
"tag": "NAME",
"value": "test1"
},
{
"context": "me is already used', (done)->\n item = name: 'te... | test/pipeline.coffee | kr1sp1n/service-pipeline | 1 |
should = require 'should'
describe 'Pipeline', ->
Pipeline = require "#{__dirname}/../src/pipeline"
beforeEach ->
@res = null
@req =
params: {}
body:
name: 'test1'
description: 'My awesome pipeline'
steps: [ { template: { uri: "https://example.com/mytemplate" } } ]
... | 68545 |
should = require 'should'
describe 'Pipeline', ->
Pipeline = require "#{__dirname}/../src/pipeline"
beforeEach ->
@res = null
@req =
params: {}
body:
name: '<NAME>'
description: 'My awesome pipeline'
steps: [ { template: { uri: "https://example.com/mytemplate" } } ]
... | true |
should = require 'should'
describe 'Pipeline', ->
Pipeline = require "#{__dirname}/../src/pipeline"
beforeEach ->
@res = null
@req =
params: {}
body:
name: 'PI:NAME:<NAME>END_PI'
description: 'My awesome pipeline'
steps: [ { template: { uri: "https://example.com/mytem... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998900294303894,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/database/migrations/2021032400002-create-providers.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
###
Create providers table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Providers',
id:
allowNull: false... | 158063 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
###
Create providers table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Providers',
id:
allowNull: false
autoIncrement: ... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
###
Create providers table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Providers',
id:
allowNul... |
[
{
"context": "ld ($a) ->\n expect($a).to.contain(@user.name)\n\n it \"displays username in success",
"end": 2621,
"score": 0.6203030347824097,
"start": 2617,
"tag": "USERNAME",
"value": "user"
},
{
"context": "ialog\", ->\n cy.get(\".modal\").contai... | packages/desktop-gui/cypress/integration/login_spec.coffee | zacharoth/cypress | 0 | describe "Login", ->
beforeEach ->
cy.fixture("user").as("user")
cy.visitIndex().then (win) ->
{ start, @ipc } = win.App
cy.stub(@ipc, "onMenuClicked")
cy.stub(@ipc, "getOptions").resolves({})
cy.stub(@ipc, "getCurrentUser").resolves(null)
cy.stub(@ipc, "updaterCheck").resolves... | 164967 | describe "Login", ->
beforeEach ->
cy.fixture("user").as("user")
cy.visitIndex().then (win) ->
{ start, @ipc } = win.App
cy.stub(@ipc, "onMenuClicked")
cy.stub(@ipc, "getOptions").resolves({})
cy.stub(@ipc, "getCurrentUser").resolves(null)
cy.stub(@ipc, "updaterCheck").resolves... | true | describe "Login", ->
beforeEach ->
cy.fixture("user").as("user")
cy.visitIndex().then (win) ->
{ start, @ipc } = win.App
cy.stub(@ipc, "onMenuClicked")
cy.stub(@ipc, "getOptions").resolves({})
cy.stub(@ipc, "getCurrentUser").resolves(null)
cy.stub(@ipc, "updaterCheck").resolves... |
[
{
"context": "name\n\t\t\t\t\t\t\temail: req.body.email\n\t\t\t\t\t\t\tpassword: req.body.password\n\t\t\t\t\t\t.then ()->\n\t\t\t\t\t\t\tconsole.log 'ACCOUNT CREA",
"end": 716,
"score": 0.9992383718490601,
"start": 699,
"tag": "PASSWORD",
"value": "req.body.password"
},
{
"context":... | app/controllers/public.coffee | jrdbnntt/theMenu | 0 | module.exports = (app) ->
class app.PublicController
@index = (req, res) ->
res.render 'index',
title: 'Home'
########################################################################
# Sign up '/signup'
@signup = (req, res)->
res.render 'public/signup',
title: 'Signup'
@signup_submit = ... | 204537 | module.exports = (app) ->
class app.PublicController
@index = (req, res) ->
res.render 'index',
title: 'Home'
########################################################################
# Sign up '/signup'
@signup = (req, res)->
res.render 'public/signup',
title: 'Signup'
@signup_submit = ... | true | module.exports = (app) ->
class app.PublicController
@index = (req, res) ->
res.render 'index',
title: 'Home'
########################################################################
# Sign up '/signup'
@signup = (req, res)->
res.render 'public/signup',
title: 'Signup'
@signup_submit = ... |
[
{
"context": "= new Thorax.Views.InputStringView(initialValue: 'bonnie test', allowNull: false)\n view.render()\n\n ex",
"end": 446,
"score": 0.9997729659080505,
"start": 435,
"tag": "NAME",
"value": "bonnie test"
},
{
"context": "Value()).toBe true\n expect(view.value... | spec/javascripts/patient_builder_tests/input_views/string_input_view_spec.js.coffee | projectcypress/bonnie | 33 | describe 'InputView', ->
describe 'StringView', ->
it 'starts with valid null, default params', ->
view = new Thorax.Views.InputStringView()
view.render()
expect(view.hasValidValue()).toBe true
expect(view.value).toBe null
expect(view.$('input').prop('placeholder')).toEqual 'stri... | 21230 | describe 'InputView', ->
describe 'StringView', ->
it 'starts with valid null, default params', ->
view = new Thorax.Views.InputStringView()
view.render()
expect(view.hasValidValue()).toBe true
expect(view.value).toBe null
expect(view.$('input').prop('placeholder')).toEqual 'stri... | true | describe 'InputView', ->
describe 'StringView', ->
it 'starts with valid null, default params', ->
view = new Thorax.Views.InputStringView()
view.render()
expect(view.hasValidValue()).toBe true
expect(view.value).toBe null
expect(view.$('input').prop('placeholder')).toEqual 'stri... |
[
{
"context": "okieParser()\n\n\tapp.use express.session\n\t\tsecret:\t'ozclient'\n\t\tcookie:\n\t\t\tmaxAge:\tnull\n\n\tapp.use app.router\n\n",
"end": 379,
"score": 0.5584929585456848,
"start": 371,
"tag": "KEY",
"value": "ozclient"
}
] | server/server.coffee | standart-n/sn-oz-client | 0 |
express = require('express')
colors = require('colors')
http = require('http')
path = require('path')
fs = require('fs')
port = 3000
app = express()
app.configure ->
app.use express.logger 'dev'
app.use express.bodyParser()
app.use express.methodOverride()
app.use express.c... | 602 |
express = require('express')
colors = require('colors')
http = require('http')
path = require('path')
fs = require('fs')
port = 3000
app = express()
app.configure ->
app.use express.logger 'dev'
app.use express.bodyParser()
app.use express.methodOverride()
app.use express.c... | true |
express = require('express')
colors = require('colors')
http = require('http')
path = require('path')
fs = require('fs')
port = 3000
app = express()
app.configure ->
app.use express.logger 'dev'
app.use express.bodyParser()
app.use express.methodOverride()
app.use express.c... |
[
{
"context": "{\n name: 'Drunk Marine Students'\n author: 'Geronimoo'\n requires: ['Potion', 'Un",
"end": 32,
"score": 0.9997068643569946,
"start": 11,
"tag": "NAME",
"value": "Drunk Marine Students"
},
{
"context": "{\n name: 'Drunk Marine Students'\n author: 'Geronimoo'\n req... | strategies/DrunkenMarineStudents.coffee | rspeer/dominiate | 65 | {
name: 'Drunk Marine Students'
author: 'Geronimoo'
requires: ['Potion', 'University', 'Vineyard', 'Wharf', 'Alchemist', 'Bazaar', 'Wharf']
gainPriority: (state, my) -> [
"Vineyard" if my.numActionCardsInDeck() > 11
"Province"
"Duchy" if state.countInSupply("Province") <= 2
"Estate" if state.cou... | 131416 | {
name: '<NAME>'
author: '<NAME>'
requires: ['Potion', 'University', 'Vineyard', 'Wharf', 'Alchemist', 'Bazaar', 'Wharf']
gainPriority: (state, my) -> [
"Vineyard" if my.numActionCardsInDeck() > 11
"Province"
"Duchy" if state.countInSupply("Province") <= 2
"Estate" if state.countInSupply("Provin... | true | {
name: 'PI:NAME:<NAME>END_PI'
author: 'PI:NAME:<NAME>END_PI'
requires: ['Potion', 'University', 'Vineyard', 'Wharf', 'Alchemist', 'Bazaar', 'Wharf']
gainPriority: (state, my) -> [
"Vineyard" if my.numActionCardsInDeck() > 11
"Province"
"Duchy" if state.countInSupply("Province") <= 2
"Estate" if... |
[
{
"context": "->\n ops = options()\n ops.body =\n firstName: 'Test'\n lastName: 'User'\n email: testUserEmail\n ",
"end": 377,
"score": 0.9994944334030151,
"start": 373,
"tag": "NAME",
"value": "Test"
},
{
"context": " ops.body =\n firstName: 'Test'\n lastName: 'Us... | test/routes/users.coffee | t3mpus/tempus-api | 3 | request = require 'request'
async = require 'async'
should = require 'should'
_ = require 'underscore'
uuid = require 'uuid'
startApp = require './../start_app'
base = require './../base'
options = require './../options'
UserTestHelper = require './user_test_helper'
testUsers = []
makeUser = (testUserEmail, status, ... | 143312 | request = require 'request'
async = require 'async'
should = require 'should'
_ = require 'underscore'
uuid = require 'uuid'
startApp = require './../start_app'
base = require './../base'
options = require './../options'
UserTestHelper = require './user_test_helper'
testUsers = []
makeUser = (testUserEmail, status, ... | true | request = require 'request'
async = require 'async'
should = require 'should'
_ = require 'underscore'
uuid = require 'uuid'
startApp = require './../start_app'
base = require './../base'
options = require './../options'
UserTestHelper = require './user_test_helper'
testUsers = []
makeUser = (testUserEmail, status, ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9984757304191589,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-dgram-bind-shared-ports.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... | 49394 | # 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": "key { color: #c66c75; }\n.key { color: #c7ccd4; }\n.value { color: #d5927b; }\n\n\n/* \n ",
"end": 1162,
"score": 0.5845543146133423,
"start": 1161,
"tag": "KEY",
"value": "7"
},
{
"context": " * I mean *I* did it, but you know, whatever...\n * jake al... | codepen.coffee | stormluke/melonwithluke | 0 | styles = """
/*
* "Myself" v1.0.4
* Robot rights protected under BOT License
* Authored by pen#PwLXXP
*/
body {
background-color: #1a1c24; color: #fff;
font-size: 13px; line-height: 1.4;
-webkit-font-smoothing: subpixel-antialiased;
}
/* ...
*
* ...hello?
*
* Oh hai guys! ... | 160631 | styles = """
/*
* "Myself" v1.0.4
* Robot rights protected under BOT License
* Authored by pen#PwLXXP
*/
body {
background-color: #1a1c24; color: #fff;
font-size: 13px; line-height: 1.4;
-webkit-font-smoothing: subpixel-antialiased;
}
/* ...
*
* ...hello?
*
* Oh hai guys! ... | true | styles = """
/*
* "Myself" v1.0.4
* Robot rights protected under BOT License
* Authored by pen#PwLXXP
*/
body {
background-color: #1a1c24; color: #fff;
font-size: 13px; line-height: 1.4;
-webkit-font-smoothing: subpixel-antialiased;
}
/* ...
*
* ...hello?
*
* Oh hai guys! ... |
[
{
"context": " this.arrow = paper.Path.Arrow\n name: \"spine\"\n arrowColor: \"purple\"\n arr",
"end": 6679,
"score": 0.8045692443847656,
"start": 6674,
"tag": "NAME",
"value": "spine"
},
{
"context": " tensioner = new paper.Path.Circle\n name:... | rails-material/app/assets/javascripts/canvas_ui/heater_magnet.coffee | The-Hybrid-Atelier/program-as-material | 0 |
class window.HeaterMagnet extends UIElement
name: "heater_magnet"
strokeWidth: 10
strokeInterval: Ruler.mm2pts(0.5)
styles:
boundary_passive: (scope)->
heatColor = HeatSim.temperatureColor(scope.getRelationalResistance(), with_white=false, reverse=true)
heatColor.alpha = 0.5
... | 136881 |
class window.HeaterMagnet extends UIElement
name: "heater_magnet"
strokeWidth: 10
strokeInterval: Ruler.mm2pts(0.5)
styles:
boundary_passive: (scope)->
heatColor = HeatSim.temperatureColor(scope.getRelationalResistance(), with_white=false, reverse=true)
heatColor.alpha = 0.5
... | true |
class window.HeaterMagnet extends UIElement
name: "heater_magnet"
strokeWidth: 10
strokeInterval: Ruler.mm2pts(0.5)
styles:
boundary_passive: (scope)->
heatColor = HeatSim.temperatureColor(scope.getRelationalResistance(), with_white=false, reverse=true)
heatColor.alpha = 0.5
... |
[
{
"context": "r to the workspace of a {@link Project}\n\n @author Fabian M. <mail.fabianm@gmail.com>\n###\nclass Workspace\n\n\t#",
"end": 145,
"score": 0.9998472332954407,
"start": 137,
"tag": "NAME",
"value": "Fabian M"
},
{
"context": "kspace of a {@link Project}\n\n @author Fab... | kaffee/src/main/kaffee/project/workspace.coffee | fabianm/kaffee | 1 | Fs = require "fs"
Path = require "path"
###
The {@link Workspace} class is a pointer to the workspace of a {@link Project}
@author Fabian M. <mail.fabianm@gmail.com>
###
class Workspace
###
Constructs a new {@link Workspace} instance.
@since 0.1.1
@param path The path pointing to the workspace.
###
... | 175187 | Fs = require "fs"
Path = require "path"
###
The {@link Workspace} class is a pointer to the workspace of a {@link Project}
@author <NAME>. <<EMAIL>>
###
class Workspace
###
Constructs a new {@link Workspace} instance.
@since 0.1.1
@param path The path pointing to the workspace.
###
constructor: (pa... | true | Fs = require "fs"
Path = require "path"
###
The {@link Workspace} class is a pointer to the workspace of a {@link Project}
@author PI:NAME:<NAME>END_PI. <PI:EMAIL:<EMAIL>END_PI>
###
class Workspace
###
Constructs a new {@link Workspace} instance.
@since 0.1.1
@param path The path pointing to the work... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998447299003601,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": ",10], price:25.85, quantity: 15 }\n ... | spec/GoateeScriptTestSpec.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... | 103022 | ### ^
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": "#\n# grunt-md-templator\n# https://github.com/realyze/grunt-md-templator\n#\n# Copyright (c) 2013 Tomas B",
"end": 51,
"score": 0.9988315105438232,
"start": 44,
"tag": "USERNAME",
"value": "realyze"
},
{
"context": "/realyze/grunt-md-templator\n#\n# Copyright (c) 2013 T... | tasks/md_to_html.coffee | salsita/grunt-md-templator | 0 | #
# grunt-md-templator
# https://github.com/realyze/grunt-md-templator
#
# Copyright (c) 2013 Tomas Brambora
# Licensed under the MIT license.
#
'use strict'
module.exports = (grunt) ->
_ = require 'underscore'
_s = require 'underscore.string'
_.mixin(_s.exports())
{markdown} = require('markdown')
beautif... | 100671 | #
# grunt-md-templator
# https://github.com/realyze/grunt-md-templator
#
# Copyright (c) 2013 <NAME>
# Licensed under the MIT license.
#
'use strict'
module.exports = (grunt) ->
_ = require 'underscore'
_s = require 'underscore.string'
_.mixin(_s.exports())
{markdown} = require('markdown')
beautifyHTML = ... | true | #
# grunt-md-templator
# https://github.com/realyze/grunt-md-templator
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
#
'use strict'
module.exports = (grunt) ->
_ = require 'underscore'
_s = require 'underscore.string'
_.mixin(_s.exports())
{markdown} = require('markdown')
b... |
[
{
"context": "et = '<keyboard cat>'\nexports.twitter =\n token :\"your token\"\n secret :\"your token secret\"\n",
"end": 130,
"score": 0.3674981892108917,
"start": 126,
"tag": "KEY",
"value": "your"
},
{
"context": " '<keyboard cat>'\nexports.twitter =\n token :\"your token\"\n ... | config-sample.coffee | mizchi/Wanderer | 3 | exports.domain = 'http://localhost'
exports.port = 4444
exports.session_secret = '<keyboard cat>'
exports.twitter =
token :"your token"
secret :"your token secret"
| 49471 | exports.domain = 'http://localhost'
exports.port = 4444
exports.session_secret = '<keyboard cat>'
exports.twitter =
token :"<KEY> token"
secret :"your token secret"
| true | exports.domain = 'http://localhost'
exports.port = 4444
exports.session_secret = '<keyboard cat>'
exports.twitter =
token :"PI:KEY:<KEY>END_PI token"
secret :"your token secret"
|
[
{
"context": "enQuerying('project').respondWith [{\n Name: 'test Project'\n _ref: '/project/2'\n }]\n\n @_createApp",
"end": 2463,
"score": 0.8691965937614441,
"start": 2451,
"tag": "NAME",
"value": "test Project"
}
] | test/spec/portfoliohierarchy/PortfolioHierarchyAppSpec.coffee | rdayan1/app-catalog | 0 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.app.Context'
'Rally.test.mock.data.WsapiModelFactory'
'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp'
]
describe 'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp', ->
helpers
_createApp: (settings) ->
globalContext = Rally.environment.... | 199065 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.app.Context'
'Rally.test.mock.data.WsapiModelFactory'
'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp'
]
describe 'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp', ->
helpers
_createApp: (settings) ->
globalContext = Rally.environment.... | true | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.app.Context'
'Rally.test.mock.data.WsapiModelFactory'
'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp'
]
describe 'Rally.apps.portfoliohierarchy.PortfolioHierarchyApp', ->
helpers
_createApp: (settings) ->
globalContext = Rally.environment.... |
[
{
"context": " id: 1\n name: 'Translation manager'\n prefixNamespace: ''\n defaultLa",
"end": 106,
"score": 0.789883553981781,
"start": 95,
"tag": "NAME",
"value": "Translation"
},
{
"context": " id: 2\n name: ... | server/db/seeds/development/000006-project.coffee | Contactis/translation-manager | 0 | moment = require 'moment'
projects = [
{
id: 1
name: 'Translation manager'
prefixNamespace: ''
defaultLanguageId: 1
description: 'This is dummy description for translation manager'
isDeleted: 0
createdAt: moment().format()
upd... | 207393 | moment = require 'moment'
projects = [
{
id: 1
name: '<NAME> manager'
prefixNamespace: ''
defaultLanguageId: 1
description: 'This is dummy description for translation manager'
isDeleted: 0
createdAt: moment().format()
updatedA... | true | moment = require 'moment'
projects = [
{
id: 1
name: 'PI:NAME:<NAME>END_PI manager'
prefixNamespace: ''
defaultLanguageId: 1
description: 'This is dummy description for translation manager'
isDeleted: 0
createdAt: moment().format(... |
[
{
"context": "###\n backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n Lice",
"end": 58,
"score": 0.9989747405052185,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/relations/many.coffee | michaelBenin/backbone-orm | 1 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
Backbone = require 'backbone'
_ = require 'underscore'
inflection = require 'inflectio... | 167 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
Backbone = require 'backbone'
_ = require 'underscore'
inflection = require 'inflection'... | true | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
Backbone = require 'backbone'
_ = require 'underscore'
inflection = requir... |
[
{
"context": " \"user\": {\n \"login\": \"test-user\"\n }\n },\n {\n ",
"end": 998,
"score": 0.9996069073677063,
"start": 989,
"tag": "USERNAME",
"value": "test-user"
},
{
"context": " \"user\": {\n ... | test/commands/pulls.coffee | boxuk/albot | 0 | Require = require('covershot').require.bind(null, require)
should = require('chai').should()
Commands = Require '../../lib/commands'
Nock = Require 'nock'
Moment = Require 'moment'
describe 'Commands', () ->
describe '#pulls()', () ->
before () ->
Nock('https://api.github.com')
.persist()
... | 125375 | Require = require('covershot').require.bind(null, require)
should = require('chai').should()
Commands = Require '../../lib/commands'
Nock = Require 'nock'
Moment = Require 'moment'
describe 'Commands', () ->
describe '#pulls()', () ->
before () ->
Nock('https://api.github.com')
.persist()
... | true | Require = require('covershot').require.bind(null, require)
should = require('chai').should()
Commands = Require '../../lib/commands'
Nock = Require 'nock'
Moment = Require 'moment'
describe 'Commands', () ->
describe '#pulls()', () ->
before () ->
Nock('https://api.github.com')
.persist()
... |
[
{
"context": "rl\"\n suggestAddMembersCtrl.contactQuery = 'lololo@lolo.com'\n\n result = suggestAddMembersCtrl.isEmail(",
"end": 1567,
"score": 0.9998652338981628,
"start": 1552,
"tag": "EMAIL",
"value": "lololo@lolo.com"
},
{
"context": " {\n ... | app/modules/invite-members/suggest-add-members/suggest-add-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 ... | 25627 | ###
# 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 ... |
[
{
"context": "# name: watch.js\n#\n# author: 沈维忠 ( Shen Weizhong / Tony Stark )\n#\n# Last Update: 沈",
"end": 32,
"score": 0.9998965263366699,
"start": 29,
"tag": "NAME",
"value": "沈维忠"
},
{
"context": "# name: watch.js\n#\n# author: 沈维忠 ( Shen Weizhong / Tony Stark )\n#\n# Last Upda... | dev/splited_tasks_for_gulp/watch.coffee | gitter-badger/is-object-brace | 0 | # name: watch.js
#
# author: 沈维忠 ( Shen Weizhong / Tony Stark )
#
# Last Update: 沈维忠 ( Shen Weizhong / Tony Stark )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
gulp.task 'watch', ->
gulp.watch '*.coffee',
cwd: 'dev'
, ['coffeescript']
... | 198821 | # name: watch.js
#
# author: <NAME> ( <NAME> / <NAME> )
#
# Last Update: <NAME> ( <NAME> / <NAME> )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
gulp.task 'watch', ->
gulp.watch '*.coffee',
cwd: 'dev'
, ['coffeescript']
return
| true | # name: watch.js
#
# author: PI:NAME:<NAME>END_PI ( PI:NAME:<NAME>END_PI / PI:NAME:<NAME>END_PI )
#
# Last Update: PI:NAME:<NAME>END_PI ( PI:NAME:<NAME>END_PI / PI:NAME:<NAME>END_PI )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
gulp.task 'wat... |
[
{
"context": "o ->\n url = \"https://raw.githubusercontent.com/DealPete/forceDirected/master/countries.json\"\n\n frame =",
"end": 3945,
"score": 0.9935333728790283,
"start": 3937,
"tag": "USERNAME",
"value": "DealPete"
},
{
"context": "(\"title\", true)\n .text(\"35 fas... | src/main.coffee | de-passage/data-visualization | 0 | d3 = Object.assign require("d3"), require("d3-time"), require("d3-scale")
topojson = require "topojson"
$ ->
totalWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth
totalHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
... | 151132 | d3 = Object.assign require("d3"), require("d3-time"), require("d3-scale")
topojson = require "topojson"
$ ->
totalWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth
totalHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
... | true | d3 = Object.assign require("d3"), require("d3-time"), require("d3-scale")
topojson = require "topojson"
$ ->
totalWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth
totalHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
... |
[
{
"context": "r templates, refer to the FAQ: https://github.com/bevry/docpad/wiki/FAQ\n\n\ttemplateData:\n\n\t\t# Specify some",
"end": 1527,
"score": 0.9426062703132629,
"start": 1522,
"tag": "USERNAME",
"value": "bevry"
},
{
"context": "\t\t\"\"\"\n\n\t\t\t# The website author's na... | docpad.coffee | dorajistyle/blogger-docpad | 0 | cheerio = require('cheerio')
url = require('url')
categories = {
'여행': ['준비'],
'대한민국': ['서울','인천','부산','경기도','강원도','충청남도','충청북도','전라남도','전라북도','경상남도','경상북도','제주도'],
# '대한민국': ['서울','인천','대전','대구','울산','광주','부산','경기도','강원도','충청남도','충청북도','전라남도','전라북도','경상남도','경상북도','제주도'],
'유럽': ['이탈리아','스페인','프랑스','독일','영국','아일랜드'... | 141595 | cheerio = require('cheerio')
url = require('url')
categories = {
'여행': ['준비'],
'대한민국': ['서울','인천','부산','경기도','강원도','충청남도','충청북도','전라남도','전라북도','경상남도','경상북도','제주도'],
# '대한민국': ['서울','인천','대전','대구','울산','광주','부산','경기도','강원도','충청남도','충청북도','전라남도','전라북도','경상남도','경상북도','제주도'],
'유럽': ['이탈리아','스페인','프랑스','독일','영국','아일랜드'... | true | cheerio = require('cheerio')
url = require('url')
categories = {
'여행': ['준비'],
'대한민국': ['서울','인천','부산','경기도','강원도','충청남도','충청북도','전라남도','전라북도','경상남도','경상북도','제주도'],
# '대한민국': ['서울','인천','대전','대구','울산','광주','부산','경기도','강원도','충청남도','충청북도','전라남도','전라북도','경상남도','경상북도','제주도'],
'유럽': ['이탈리아','스페인','프랑스','독일','영국','아일랜드'... |
[
{
"context": "constants\"\n\n.constant \"firebaseConfig\",\n\tapiKey: \"AIzaSyC84FRJ5B4fs1ZqHwFjv7uhQ3rr3NaFJ-c\"\n\tauthDomain: \"tracker-9c7c9.firebaseapp.com\"\n\tda",
"end": 123,
"score": 0.9997727870941162,
"start": 84,
"tag": "KEY",
"value": "AIzaSyC84FRJ5B4fs1ZqHwFjv7uhQ3rr3NaFJ-c"
... | app/src/constants.coffee | jimmynguyen/tracker | 0 | "use strict"
angular.module "app.constants"
.constant "firebaseConfig",
apiKey: "AIzaSyC84FRJ5B4fs1ZqHwFjv7uhQ3rr3NaFJ-c"
authDomain: "tracker-9c7c9.firebaseapp.com"
databaseURL: "https://tracker-9c7c9.firebaseio.com"
projectId: "tracker-9c7c9"
storageBucket: "tracker-9c7c9.appspot.com"
messagingSenderId: "5422... | 183909 | "use strict"
angular.module "app.constants"
.constant "firebaseConfig",
apiKey: "<KEY>"
authDomain: "tracker-9c7c9.firebaseapp.com"
databaseURL: "https://tracker-9c7c9.firebaseio.com"
projectId: "tracker-9c7c9"
storageBucket: "tracker-9c7c9.appspot.com"
messagingSenderId: "542245163827"
.constant "firebaseTest... | true | "use strict"
angular.module "app.constants"
.constant "firebaseConfig",
apiKey: "PI:KEY:<KEY>END_PI"
authDomain: "tracker-9c7c9.firebaseapp.com"
databaseURL: "https://tracker-9c7c9.firebaseio.com"
projectId: "tracker-9c7c9"
storageBucket: "tracker-9c7c9.appspot.com"
messagingSenderId: "542245163827"
.constant ... |
[
{
"context": " # - Spanish: es_es (credit: https://github.com/bomberstudios)\n #\n constructor: (locale) ->\n @i18n = local",
"end": 795,
"score": 0.9995426535606384,
"start": 782,
"tag": "USERNAME",
"value": "bomberstudios"
},
{
"context": ": =>\n switch @i18n\n when ... | src/documents/guideguide/js/lib/GuideGuideMessages.js.coffee | Acidburn0zzz/core-1 | 0 | # The Messages class makes it possible to provide GuideGuide in multiple
# languages. English is used by default if a translation does not exist for the
# i18n string provided. To add a new language, add a new `when` block for the
# desired i18n string that returns the translated string. For methods that
# include dyna... | 8855 | # The Messages class makes it possible to provide GuideGuide in multiple
# languages. English is used by default if a translation does not exist for the
# i18n string provided. To add a new language, add a new `when` block for the
# desired i18n string that returns the translated string. For methods that
# include dyna... | true | # The Messages class makes it possible to provide GuideGuide in multiple
# languages. English is used by default if a translation does not exist for the
# i18n string provided. To add a new language, add a new `when` block for the
# desired i18n string that returns the translated string. For methods that
# include dyna... |
[
{
"context": "e-1884.firebaseio.com'\n\t.constant 'chainAPIKey', 'aa8318ad204b105287ef578fe9d42966'\n\t.constant 'mandrillAPIKey', 'J0ab-AhedE5pUR1Bbb",
"end": 626,
"score": 0.9997323751449585,
"start": 594,
"tag": "KEY",
"value": "aa8318ad204b105287ef578fe9d42966"
},
{
"context": "5... | js/dazzle.coffee | SwarmCorp/razzledazzle | 0 | window.app = angular.module 'Dazzle', ['ngRoute', 'ngAnimate', 'ngSanitize', 'restangular', 'firebase', 'ja.qr', 'angularytics', 'ui.bootstrap.modal', 'ui.bootstrap.datepicker', 'ui.bootstrap.timepicker', 'ui.bootstrap.tpls', 'angular-redactor']
.constant 'discourseUrl', '//discourse.swarm.fund/'
.constant 'counterp... | 61400 | window.app = angular.module 'Dazzle', ['ngRoute', 'ngAnimate', 'ngSanitize', 'restangular', 'firebase', 'ja.qr', 'angularytics', 'ui.bootstrap.modal', 'ui.bootstrap.datepicker', 'ui.bootstrap.timepicker', 'ui.bootstrap.tpls', 'angular-redactor']
.constant 'discourseUrl', '//discourse.swarm.fund/'
.constant 'counterp... | true | window.app = angular.module 'Dazzle', ['ngRoute', 'ngAnimate', 'ngSanitize', 'restangular', 'firebase', 'ja.qr', 'angularytics', 'ui.bootstrap.modal', 'ui.bootstrap.datepicker', 'ui.bootstrap.timepicker', 'ui.bootstrap.tpls', 'angular-redactor']
.constant 'discourseUrl', '//discourse.swarm.fund/'
.constant 'counterp... |
[
{
"context": "#### Copyright Paules\n#### Collbot\n\n#### ToDos\n\n# - bei 'live' Bots ver",
"end": 21,
"score": 0.9991675615310669,
"start": 15,
"tag": "NAME",
"value": "Paules"
}
] | bot_collatzesar.coffee | drcollatz/crypto | 1 | #### Copyright Paules
#### Collbot
#### ToDos
# - bei 'live' Bots verbose automatisch aktivieren
# - beim start checken ob bereits eine Position offen ist und evtl. invested=true setzen
# - Programmablauf / logging etc neu sortieren
# - First Position Strategie? Warten bis zum nächsten Wechsel, oder direkt loslegen?
... | 156663 | #### Copyright <NAME>
#### Collbot
#### ToDos
# - bei 'live' Bots verbose automatisch aktivieren
# - beim start checken ob bereits eine Position offen ist und evtl. invested=true setzen
# - Programmablauf / logging etc neu sortieren
# - First Position Strategie? Warten bis zum nächsten Wechsel, oder direkt loslegen?
... | true | #### Copyright PI:NAME:<NAME>END_PI
#### Collbot
#### ToDos
# - bei 'live' Bots verbose automatisch aktivieren
# - beim start checken ob bereits eine Position offen ist und evtl. invested=true setzen
# - Programmablauf / logging etc neu sortieren
# - First Position Strategie? Warten bis zum nächsten Wechsel, oder dir... |
[
{
"context": "# s2.2.7.9, s2.2.7.10\n\nparser = (buffer, options) ->\n lengt",
"end": 10,
"score": 0.9772949814796448,
"start": 3,
"tag": "IP_ADDRESS",
"value": "2.2.7.9"
},
{
"context": "# s2.2.7.9, s2.2.7.10\n\nparser = (buffer, options) ->\n length = buffer.",
"end": 21,
... | src/token/infoerror-token-parser.coffee | sgermain06/tedious-int64-native | 1 | # s2.2.7.9, s2.2.7.10
parser = (buffer, options) ->
length = buffer.readUInt16LE()
number = buffer.readUInt32LE()
state = buffer.readUInt8()
class_ = buffer.readUInt8()
message = buffer.readUsVarchar()
serverName = buffer.readBVarchar()
procName = buffer.readBVarchar()
if options.tdsVersion < '7_2'
... | 194282 | # s172.16.17.32, s192.168.3.11
parser = (buffer, options) ->
length = buffer.readUInt16LE()
number = buffer.readUInt32LE()
state = buffer.readUInt8()
class_ = buffer.readUInt8()
message = buffer.readUsVarchar()
serverName = buffer.readBVarchar()
procName = buffer.readBVarchar()
if options.tdsVersion < ... | true | # sPI:IP_ADDRESS:172.16.17.32END_PI, sPI:IP_ADDRESS:192.168.3.11END_PI
parser = (buffer, options) ->
length = buffer.readUInt16LE()
number = buffer.readUInt32LE()
state = buffer.readUInt8()
class_ = buffer.readUInt8()
message = buffer.readUsVarchar()
serverName = buffer.readBVarchar()
procName = buffer.r... |
[
{
"context": "\n If your data is mission critical, mail to info@piechopper.com.\n </p>\n \"\"\")\n\n addDefaultMembers = -> ",
"end": 2061,
"score": 0.9999272227287292,
"start": 2042,
"tag": "EMAIL",
"value": "info@piechopper.com"
}
] | app/coffee/controllers/appCtrl.coffee | mathewsk/cypress-example-piechopper | 17 | app.controller "AppCtrl",
($scope, $location, $http, $modal, $window, modelRepo, trace) =>
# from http://stackoverflow.com/a/2117523
uuid = ->
"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace /[xy]/g, (c) ->
r = Math.random() * 16 | 0
v = (if c is "x" then r else r & 0x3 | 0x8)
v.toString 16
... | 115295 | app.controller "AppCtrl",
($scope, $location, $http, $modal, $window, modelRepo, trace) =>
# from http://stackoverflow.com/a/2117523
uuid = ->
"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace /[xy]/g, (c) ->
r = Math.random() * 16 | 0
v = (if c is "x" then r else r & 0x3 | 0x8)
v.toString 16
... | true | app.controller "AppCtrl",
($scope, $location, $http, $modal, $window, modelRepo, trace) =>
# from http://stackoverflow.com/a/2117523
uuid = ->
"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace /[xy]/g, (c) ->
r = Math.random() * 16 | 0
v = (if c is "x" then r else r & 0x3 | 0x8)
v.toString 16
... |
[
{
"context": "###\n backbone-rest.js 0.5.3\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-rest\n Lic",
"end": 58,
"score": 0.9993582963943481,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/lib/json_controller.coffee | founderlab/fl-backbone-rest | 0 | ###
backbone-rest.js 0.5.3
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-rest
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
_ = require 'underscore'
BackboneEvents = (require 'backbone').Events
module.exports = class JSONController
constructor: (app, options={}) ->... | 200956 | ###
backbone-rest.js 0.5.3
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-rest
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
_ = require 'underscore'
BackboneEvents = (require 'backbone').Events
module.exports = class JSONController
constructor: (app, options={}) ->
... | true | ###
backbone-rest.js 0.5.3
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-rest
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
_ = require 'underscore'
BackboneEvents = (require 'backbone').Events
module.exports = class JSONController
constructor: (app, op... |
[
{
"context": " @getGithub = @github\n .get '/users/sqrtofsaturn/followers'\n .query access_token: 'gith",
"end": 2468,
"score": 0.5892256498336792,
"start": 2459,
"tag": "USERNAME",
"value": "tofsaturn"
},
{
"context": "en'\n .reply 200,\n ... | test/integration/channel-proxy-github-make-request-spec.coffee | octoblu/channel-proxy-service | 0 | http = require 'http'
request = require 'request'
mongojs = require 'mongojs'
{ObjectId} = require 'mongojs'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
ChannelConfig = require '../../src/models/channel-config'
textCrypt = require '../../src/models/text-c... | 149289 | http = require 'http'
request = require 'request'
mongojs = require 'mongojs'
{ObjectId} = require 'mongojs'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
ChannelConfig = require '../../src/models/channel-config'
textCrypt = require '../../src/models/text-c... | true | http = require 'http'
request = require 'request'
mongojs = require 'mongojs'
{ObjectId} = require 'mongojs'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
ChannelConfig = require '../../src/models/channel-config'
textCrypt = require '../../src/models/text-c... |
[
{
"context": "'three', text: '', filterText: 'x'}\n {name: 'four', text: '', filterText: 'z'}\n ]\n list.setIt",
"end": 1851,
"score": 0.8539687991142273,
"start": 1847,
"tag": "NAME",
"value": "four"
},
{
"context": "list.setItems(items)\n\n items = [\n {name: 'on... | spec/list-view-spec.coffee | Aerijo/settings-view | 316 | List = require '../lib/list'
ListView = require '../lib/list-view'
describe 'ListView', ->
[list, view, container] = []
beforeEach ->
list = new List('name')
container = document.createElement('div')
view = new ListView list, container, (item) ->
element = document.createElement('div')
ele... | 91475 | List = require '../lib/list'
ListView = require '../lib/list-view'
describe 'ListView', ->
[list, view, container] = []
beforeEach ->
list = new List('name')
container = document.createElement('div')
view = new ListView list, container, (item) ->
element = document.createElement('div')
ele... | true | List = require '../lib/list'
ListView = require '../lib/list-view'
describe 'ListView', ->
[list, view, container] = []
beforeEach ->
list = new List('name')
container = document.createElement('div')
view = new ListView list, container, (item) ->
element = document.createElement('div')
ele... |
[
{
"context": " e.g. http://elastic.search.com:80\n#\n# Author:\n# HenryCook <henry@havingatinker.uk>\n\n{spawn, exec} = requir",
"end": 373,
"score": 0.9988150596618652,
"start": 364,
"tag": "NAME",
"value": "HenryCook"
},
{
"context": "/elastic.search.com:80\n#\n# Author:\n# He... | scripts/elasticsearch.coffee | HenryCook/hubot-scripts | 0 | # Description:
# Interacts with Elasticsearch
#
# Commands:
# hubot elasticsearch list indices - Lists all indices in ElasticSearch Cluster.
# hubot elasticsearch remove index <host> - Removes index from Elasticsearch Cluster.
#
# Configuration:
# ELASTICSEARCH_ENDPOINT - The endpoint for Salt's REST API e.g. h... | 65387 | # Description:
# Interacts with Elasticsearch
#
# Commands:
# hubot elasticsearch list indices - Lists all indices in ElasticSearch Cluster.
# hubot elasticsearch remove index <host> - Removes index from Elasticsearch Cluster.
#
# Configuration:
# ELASTICSEARCH_ENDPOINT - The endpoint for Salt's REST API e.g. h... | true | # Description:
# Interacts with Elasticsearch
#
# Commands:
# hubot elasticsearch list indices - Lists all indices in ElasticSearch Cluster.
# hubot elasticsearch remove index <host> - Removes index from Elasticsearch Cluster.
#
# Configuration:
# ELASTICSEARCH_ENDPOINT - The endpoint for Salt's REST API e.g. h... |
[
{
"context": "\nDisassembler = require 'disasm'\n\nEXAMPLE_CODE = \"\nIyMjIE11bHRpcGxpY2F0aW9uIG9mIHR3byBudW1iZXJzCiMgVmFsdWVzIGFyZSBsb2FkZWQgZnJv\nbSBSYW0sCiMgYXQgYWRkcmVzc2VzIDMgYW5kIDQuCiMgUmVzdWx0IGlzIHdyaXR0ZW4gaW50byBh\nZGRyZXNzIDkKIyAKIyBUbyBzZXQgaW5pdGlhbCB2YWx1ZXMgZm9yIFJhbS9SZWdpc3RlcnMKIyBk\nb3VibGUg... | src/main.coffee | Dav1dde/Micro16 | 1 | Parser = require 'parser'
Disassembler = require 'disasm'
EXAMPLE_CODE = "
IyMjIE11bHRpcGxpY2F0aW9uIG9mIHR3byBudW1iZXJzCiMgVmFsdWVzIGFyZSBsb2FkZWQgZnJv
bSBSYW0sCiMgYXQgYWRkcmVzc2VzIDMgYW5kIDQuCiMgUmVzdWx0IGlzIHdyaXR0ZW4gaW50byBh
ZGRyZXNzIDkKIyAKIyBUbyBzZXQgaW5pdGlhbCB2YWx1ZXMgZm9yIFJhbS9SZWdpc3RlcnMKIyBk
b3VibGUgY2xpY... | 130528 | Parser = require 'parser'
Disassembler = require 'disasm'
EXAMPLE_CODE = "
<KEY>
DISASM_HTML = '<div class="toolbar" class="container-fluid">
<div class="row-fluid">
<div class="span5 mrm15">
<div class="status">
<span class="label label-info">Status:</span>
<span class="status-text" style... | true | Parser = require 'parser'
Disassembler = require 'disasm'
EXAMPLE_CODE = "
PI:KEY:<KEY>END_PI
DISASM_HTML = '<div class="toolbar" class="container-fluid">
<div class="row-fluid">
<div class="span5 mrm15">
<div class="status">
<span class="label label-info">Status:</span>
<span class="statu... |
[
{
"context": "is, those are lost when bot exits.\n#\n# Author:\n# Jin Araki <jinzam.rock@gmail.com>\n\nclass Track\n\n construct",
"end": 410,
"score": 0.9997851848602295,
"start": 401,
"tag": "NAME",
"value": "Jin Araki"
},
{
"context": "e lost when bot exits.\n#\n# Author:\n# ... | scripts/tt.coffee | jinzam/hubot-tt | 0 | # Description:
# Personal Time Tracker
#
# Commands:
# hubot tt start <project>/<task> - Start tracking on project/task
# hubot tt stop - Stop current tracking
# hubot tt report - Report tracking data of you
# hubot tt reset - Reset database (Clear all trackings of you)
#
# Notes:
# All tracking data are st... | 168343 | # Description:
# Personal Time Tracker
#
# Commands:
# hubot tt start <project>/<task> - Start tracking on project/task
# hubot tt stop - Stop current tracking
# hubot tt report - Report tracking data of you
# hubot tt reset - Reset database (Clear all trackings of you)
#
# Notes:
# All tracking data are st... | true | # Description:
# Personal Time Tracker
#
# Commands:
# hubot tt start <project>/<task> - Start tracking on project/task
# hubot tt stop - Stop current tracking
# hubot tt report - Report tracking data of you
# hubot tt reset - Reset database (Clear all trackings of you)
#
# Notes:
# All tracking data are st... |
[
{
"context": "#*\n# @fileoverview Detects unused styles\n# @author Tom Hastjarjanto\n###\n\n'use strict'\n\nComponents = require '../util/",
"end": 69,
"score": 0.9998912811279297,
"start": 53,
"tag": "NAME",
"value": "Tom Hastjarjanto"
}
] | src/rules/no-unused-styles.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Detects unused styles
# @author Tom Hastjarjanto
###
'use strict'
Components = require '../util/react/Components'
styleSheet = require '../util/react-native/stylesheet'
# styleSheet = require 'eslint-plugin-react-native/lib/util/stylesheet'
{StyleSheets, astHelpers} = styleSheet
module.exports ... | 108037 | ###*
# @fileoverview Detects unused styles
# @author <NAME>
###
'use strict'
Components = require '../util/react/Components'
styleSheet = require '../util/react-native/stylesheet'
# styleSheet = require 'eslint-plugin-react-native/lib/util/stylesheet'
{StyleSheets, astHelpers} = styleSheet
module.exports = Componen... | true | ###*
# @fileoverview Detects unused styles
# @author PI:NAME:<NAME>END_PI
###
'use strict'
Components = require '../util/react/Components'
styleSheet = require '../util/react-native/stylesheet'
# styleSheet = require 'eslint-plugin-react-native/lib/util/stylesheet'
{StyleSheets, astHelpers} = styleSheet
module.expo... |
[
{
"context": "eLeap extends Skill\n target: TARGET_DIR8\n key: 'savage_leap'\n name: 'savage leap'\n mp: 5\n cooldown: 10\n\n ",
"end": 72,
"score": 0.8396689295768738,
"start": 61,
"tag": "KEY",
"value": "savage_leap"
}
] | js/skills/savage_leap.coffee | ktchernov/7drl-lion.github.io | 27 | class SavageLeap extends Skill
target: TARGET_DIR8
key: 'savage_leap'
name: 'savage leap'
mp: 5
cooldown: 10
run: (dir) ->
[i, j] = @state.get_pos @id
[x, y] = @state.pos_in_direction i, j, dir, 3
return if @state.is_blocked(x, y)
adjacent = @state.get_all_adjacent_pos x, y
has_enemy... | 11809 | class SavageLeap extends Skill
target: TARGET_DIR8
key: '<KEY>'
name: 'savage leap'
mp: 5
cooldown: 10
run: (dir) ->
[i, j] = @state.get_pos @id
[x, y] = @state.pos_in_direction i, j, dir, 3
return if @state.is_blocked(x, y)
adjacent = @state.get_all_adjacent_pos x, y
has_enemy = []
... | true | class SavageLeap extends Skill
target: TARGET_DIR8
key: 'PI:KEY:<KEY>END_PI'
name: 'savage leap'
mp: 5
cooldown: 10
run: (dir) ->
[i, j] = @state.get_pos @id
[x, y] = @state.pos_in_direction i, j, dir, 3
return if @state.is_blocked(x, y)
adjacent = @state.get_all_adjacent_pos x, y
ha... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9986518025398254,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-zlib-from-multiple-huge-gzip.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... | 11914 | # 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": " collection = new Collection\n title: 'First Todo'\n done: true\n\n view = new TodoLi",
"end": 277,
"score": 0.9286161065101624,
"start": 272,
"tag": "NAME",
"value": "First"
}
] | app/templates/seed/js/routers/todo-list.coffee | mmonto7/generator-thorax | 22 | define [
'backbone'
'cs!collection'
'cs!views/root'
'cs!views/todo-list/index'
], (Backbone, Collection, RootView, TodoListIndexView) ->
return Backbone.Router.extend
routes:
"": "index"
index: ->
collection = new Collection
title: 'First Todo'
done: true
view = new... | 185127 | define [
'backbone'
'cs!collection'
'cs!views/root'
'cs!views/todo-list/index'
], (Backbone, Collection, RootView, TodoListIndexView) ->
return Backbone.Router.extend
routes:
"": "index"
index: ->
collection = new Collection
title: '<NAME> Todo'
done: true
view = ne... | true | define [
'backbone'
'cs!collection'
'cs!views/root'
'cs!views/todo-list/index'
], (Backbone, Collection, RootView, TodoListIndexView) ->
return Backbone.Router.extend
routes:
"": "index"
index: ->
collection = new Collection
title: 'PI:NAME:<NAME>END_PI Todo'
done: true
... |
[
{
"context": " 0\n tasks\n\n createTask: =>\n task = {name: \"New task\", original_estimate: 0}\n Api.create_task gon.p",
"end": 750,
"score": 0.8769179582595825,
"start": 742,
"tag": "NAME",
"value": "New task"
}
] | app/assets/javascripts/models/tasks.js.coffee | dfraser74/sofreakingboring | 17 |
class @TasksModel
constructor: ->
@tasks = []
@members = []
@selectableMembers = []
@subscribers = []
subscribe: (callback) ->
@subscribers.push callback
unsubscribe: (callback) ->
@subscribers = @subscribers.filter (item) -> item isnt callback
notify: ->
subscriber() for subs... | 7386 |
class @TasksModel
constructor: ->
@tasks = []
@members = []
@selectableMembers = []
@subscribers = []
subscribe: (callback) ->
@subscribers.push callback
unsubscribe: (callback) ->
@subscribers = @subscribers.filter (item) -> item isnt callback
notify: ->
subscriber() for subs... | true |
class @TasksModel
constructor: ->
@tasks = []
@members = []
@selectableMembers = []
@subscribers = []
subscribe: (callback) ->
@subscribers.push callback
unsubscribe: (callback) ->
@subscribers = @subscribers.filter (item) -> item isnt callback
notify: ->
subscriber() for subs... |
[
{
"context": ".f-c-js-atoms-placement-label')\n else if key == 'perex'\n $setting = $('.f-c-js-atoms-placement-perex'",
"end": 1938,
"score": 0.952973484992981,
"start": 1933,
"tag": "KEY",
"value": "perex"
}
] | app/assets/javascripts/folio/console/modules/simple-form-with-atoms.coffee | sinfin/folio | 4 | sendMessage = (data) ->
$('.f-c-simple-form-with-atoms__iframe, .f-c-merges-form-row__atoms-iframe').each ->
@contentWindow.postMessage(data, window.origin)
$(document)
.one 'click', '.f-c-simple-form-with-atoms__form', (e) ->
$('.f-c-simple-form-with-atoms').addClass('f-c-simple-form-with-atoms--expanded-... | 154948 | sendMessage = (data) ->
$('.f-c-simple-form-with-atoms__iframe, .f-c-merges-form-row__atoms-iframe').each ->
@contentWindow.postMessage(data, window.origin)
$(document)
.one 'click', '.f-c-simple-form-with-atoms__form', (e) ->
$('.f-c-simple-form-with-atoms').addClass('f-c-simple-form-with-atoms--expanded-... | true | sendMessage = (data) ->
$('.f-c-simple-form-with-atoms__iframe, .f-c-merges-form-row__atoms-iframe').each ->
@contentWindow.postMessage(data, window.origin)
$(document)
.one 'click', '.f-c-simple-form-with-atoms__form', (e) ->
$('.f-c-simple-form-with-atoms').addClass('f-c-simple-form-with-atoms--expanded-... |
[
{
"context": "elayed-runners'\n\nDEVICES_WITH_TOKEN = ['email', 'xmpp', 'sms', 'telegram', 'matrix']\nSEND_GUARD = 10000",
"end": 250,
"score": 0.47303012013435364,
"start": 247,
"tag": "KEY",
"value": "mpp"
}
] | app/components/tfa/enter-token.coffee | melis-wallet/melis-cm-client | 1 | import Component from '@ember/component'
import { validator, buildValidations } from 'ember-cp-validations'
import { task } from 'ember-concurrency'
import { waitTime } from 'melis-cm-svcs/utils/delayed-runners'
DEVICES_WITH_TOKEN = ['email', 'xmpp', 'sms', 'telegram', 'matrix']
SEND_GUARD = 10000
Validations = buil... | 143166 | import Component from '@ember/component'
import { validator, buildValidations } from 'ember-cp-validations'
import { task } from 'ember-concurrency'
import { waitTime } from 'melis-cm-svcs/utils/delayed-runners'
DEVICES_WITH_TOKEN = ['email', 'x<KEY>', 'sms', 'telegram', 'matrix']
SEND_GUARD = 10000
Validations = bu... | true | import Component from '@ember/component'
import { validator, buildValidations } from 'ember-cp-validations'
import { task } from 'ember-concurrency'
import { waitTime } from 'melis-cm-svcs/utils/delayed-runners'
DEVICES_WITH_TOKEN = ['email', 'xPI:KEY:<KEY>END_PI', 'sms', 'telegram', 'matrix']
SEND_GUARD = 10000
Val... |
[
{
"context": "ypto.randomBytes(16), \"utf8\"\n\n token = md5.digest \"base64\"\n response.cookie \"XSRF-TOKEN\", token\n",
"end": 3055,
"score": 0.6652007699012756,
"start": 3045,
"tag": "PASSWORD",
"value": "md5.digest"
},
{
"context": "-------------------------------... | lib-src/server.coffee | pmuellr/gh-miner | 1 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
crypto = require "crypto"
_ = require "underscore"
ports = require "ports"
express = require "express"
passport = require "passport"
ppGithub = require "passport-github"
pkg = require "../package.jso... | 76401 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
crypto = require "crypto"
_ = require "underscore"
ports = require "ports"
express = require "express"
passport = require "passport"
ppGithub = require "passport-github"
pkg = require "../package.jso... | true | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
crypto = require "crypto"
_ = require "underscore"
ports = require "ports"
express = require "express"
passport = require "passport"
ppGithub = require "passport-github"
pkg = require "../package.jso... |
[
{
"context": "tion generator command\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\n\nfs = require('fs')\ngenerate = require(",
"end": 95,
"score": 0.9998855590820312,
"start": 78,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/commands/docs.coffee | lovely-io/lovely.io-stl | 2 | #
# Automatic api-documentation generator command
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
fs = require('fs')
generate = require('../documentation')
cwd = process.cwd()
docs = 'docs/'
overwrite = false
index = []
#
# Generates docs from a coffee-script file
#
# @param {String} filename
... | 91926 | #
# Automatic api-documentation generator command
#
# Copyright (C) 2011-2012 <NAME>
#
fs = require('fs')
generate = require('../documentation')
cwd = process.cwd()
docs = 'docs/'
overwrite = false
index = []
#
# Generates docs from a coffee-script file
#
# @param {String} filename
#
generate_... | true | #
# Automatic api-documentation generator command
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
fs = require('fs')
generate = require('../documentation')
cwd = process.cwd()
docs = 'docs/'
overwrite = false
index = []
#
# Generates docs from a coffee-script file
#
# @param {String} filena... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.