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": "defined\", () ->\n user = {id: 1, name: \"fake1\"}\n\n currentUserService.setUser = sinon",
"end": 2368,
"score": 0.8567046523094177,
"start": 2363,
"tag": "USERNAME",
"value": "fake1"
},
{
"context": "->\n user = Immutable.fromJS({id: 1, na... | app/modules/services/current-user.service.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 ... | 37095 | ###
# 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": "pt.apply(hasher, arguments)\n @\n password = mnemonicPhrase.normalize('NFKD')\n salt = \"mnemonic\" + passphrase.normalize('N",
"end": 2427,
"score": 0.838266134262085,
"start": 2397,
"tag": "PASSWORD",
"value": "mnemonicPhrase.normalize('NFKD"
},
{
"context"... | app/src/bitcoin/bip39.coffee | romanornr/ledger-wallet-crw | 173 | ledger.bitcoin ?= {}
ledger.bitcoin.bip39 ?= {}
Bip39 = ledger.bitcoin.bip39
_.extend ledger.bitcoin.bip39,
ENTROPY_BIT_LENGTH: 256
DEFAULT_PHRASE_LENGTH: 24
# @param [String] mnemonicWords Mnemonic words.
# @return [Array] Mnemonic words in the phrase.
isMnemonicPhraseValid: (mnemonicPhrase) ->
try
... | 112582 | ledger.bitcoin ?= {}
ledger.bitcoin.bip39 ?= {}
Bip39 = ledger.bitcoin.bip39
_.extend ledger.bitcoin.bip39,
ENTROPY_BIT_LENGTH: 256
DEFAULT_PHRASE_LENGTH: 24
# @param [String] mnemonicWords Mnemonic words.
# @return [Array] Mnemonic words in the phrase.
isMnemonicPhraseValid: (mnemonicPhrase) ->
try
... | true | ledger.bitcoin ?= {}
ledger.bitcoin.bip39 ?= {}
Bip39 = ledger.bitcoin.bip39
_.extend ledger.bitcoin.bip39,
ENTROPY_BIT_LENGTH: 256
DEFAULT_PHRASE_LENGTH: 24
# @param [String] mnemonicWords Mnemonic words.
# @return [Array] Mnemonic words in the phrase.
isMnemonicPhraseValid: (mnemonicPhrase) ->
try
... |
[
{
"context": "sts for the given manufacturer and model.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass AircraftCheckli",
"end": 814,
"score": 0.9998360276222229,
"start": 802,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/ajax/aircraft/AircraftChecklistsByModelRoute.coffee | qrefdev/qref | 0 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
###
Service route that allows the retrieval of all checklists for a given manufacturer and model.
@ex... | 175699 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
###
Service route that allows the retrieval of all checklists for a given manufacturer and model.
@ex... | true | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
###
Service route that allows the retrieval of all checklists for a given manufacturer and model.
@ex... |
[
{
"context": "angular: [\n { key: \"data.name\" }\n #{ key: \"data.storagerepositoryname\" }\n]\n",
"end": 71,
"score": 0.9354338049888611,
"start": 45,
"tag": "KEY",
"value": "data.storagerepositoryname"
}
] | jobs/vm-action-copy/form.cson | ratokeshi/meshblu-connector-xenserver | 0 | angular: [
{ key: "data.name" }
#{ key: "data.storagerepositoryname" }
]
| 64867 | angular: [
{ key: "data.name" }
#{ key: "<KEY>" }
]
| true | angular: [
{ key: "data.name" }
#{ key: "PI:KEY:<KEY>END_PI" }
]
|
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9981744289398193,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": ".com\"\n cert:\n subjectaltname: \"IP Address:127.0.0.1\"\n subject: {}\n\n er... | test/simple/test-tls-check-server-identity.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... | 32666 | # 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": "require '../lib/user'\n{prng} = require 'crypto'\n\nalice = bob = charlie = null\n\nexports.init = (T,cb) ->\n",
"end": 112,
"score": 0.9926829934120178,
"start": 107,
"tag": "NAME",
"value": "alice"
},
{
"context": " '../lib/user'\n{prng} = require 'crypto'\n\nalice ... | test/files/5_dir.iced | AngelKey/Angelkey.nodeclient | 151 | fs = require 'fs'
path = require 'path'
{User} = require '../lib/user'
{prng} = require 'crypto'
alice = bob = charlie = null
exports.init = (T,cb) ->
tmp = {}
await User.load_many { names : [ 'alice', 'bob', 'charlie'], res : tmp }, defer err
{alice,bob,charlie} = tmp
cb err
ctext = null
# -------... | 170831 | fs = require 'fs'
path = require 'path'
{User} = require '../lib/user'
{prng} = require 'crypto'
<NAME> = <NAME> = <NAME> = null
exports.init = (T,cb) ->
tmp = {}
await User.load_many { names : [ '<NAME>', '<NAME>', '<NAME>'], res : tmp }, defer err
{<NAME>,<NAME>,<NAME>} = tmp
cb err
ctext = null
... | true | fs = require 'fs'
path = require 'path'
{User} = require '../lib/user'
{prng} = require 'crypto'
PI:NAME:<NAME>END_PI = PI:NAME:<NAME>END_PI = PI:NAME:<NAME>END_PI = null
exports.init = (T,cb) ->
tmp = {}
await User.load_many { names : [ 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_... |
[
{
"context": "ges/icons/jira@2x.png'\n\n @_fields.push\n key: 'webhookUrl'\n type: 'text'\n readonly: true\n descr",
"end": 1264,
"score": 0.6933654546737671,
"start": 1257,
"tag": "KEY",
"value": "webhook"
}
] | src/services/jira.coffee | jianliaoim/talk-services | 40 | util = require '../util'
_receiveWebhook = ({body}) ->
payload = body
message = {}
attachment = category: 'quote', data: {}
JIRA_CREATE_EVENT = "jira:issue_created"
JIRA_UPDATE_EVENT = "jira:issue_updated"
if body.webhookEvent is JIRA_CREATE_EVENT
attachment.data.title = "#{body.user.displayName} cr... | 8144 | util = require '../util'
_receiveWebhook = ({body}) ->
payload = body
message = {}
attachment = category: 'quote', data: {}
JIRA_CREATE_EVENT = "jira:issue_created"
JIRA_UPDATE_EVENT = "jira:issue_updated"
if body.webhookEvent is JIRA_CREATE_EVENT
attachment.data.title = "#{body.user.displayName} cr... | true | util = require '../util'
_receiveWebhook = ({body}) ->
payload = body
message = {}
attachment = category: 'quote', data: {}
JIRA_CREATE_EVENT = "jira:issue_created"
JIRA_UPDATE_EVENT = "jira:issue_updated"
if body.webhookEvent is JIRA_CREATE_EVENT
attachment.data.title = "#{body.user.displayName} cr... |
[
{
"context": "miniEditor.getText()\n keys = @sessionId.split(\"-\")\n [@app_key, @app_secret] = [keys[0], keys[",
"end": 11783,
"score": 0.5900612473487854,
"start": 11783,
"tag": "KEY",
"value": ""
}
] | lib/controller.coffee | mingsai/atom-supercopair | 7 | #atom-supercollider
url = require('url')
Repl = require('./repl')
## {$, Range} = require 'atom'
{$, Range} = require 'atom-space-pen-views'
#atom-pair
StartView = require './views/start-view'
InputView = require './views/input-view'
AlertView = require './views/alert-view'
require './pusher/pusher'
require './pusher... | 126712 | #atom-supercollider
url = require('url')
Repl = require('./repl')
## {$, Range} = require 'atom'
{$, Range} = require 'atom-space-pen-views'
#atom-pair
StartView = require './views/start-view'
InputView = require './views/input-view'
AlertView = require './views/alert-view'
require './pusher/pusher'
require './pusher... | true | #atom-supercollider
url = require('url')
Repl = require('./repl')
## {$, Range} = require 'atom'
{$, Range} = require 'atom-space-pen-views'
#atom-pair
StartView = require './views/start-view'
InputView = require './views/input-view'
AlertView = require './views/alert-view'
require './pusher/pusher'
require './pusher... |
[
{
"context": "rverPort}\"\n auth:\n username: 'user-uuid'\n password: 'user-token'\n jso",
"end": 1228,
"score": 0.9996647834777832,
"start": 1219,
"tag": "USERNAME",
"value": "user-uuid"
},
{
"context": " username: 'user-uuid'\n ... | test/integration/send-message-spec.coffee | octoblu/meshblu-responder-service | 0 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
FakeMeshblu = require '../fake-meshblu'
describe 'Send Message', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
serverOptions =
port: undefined,
disableLogging: true
... | 213372 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
FakeMeshblu = require '../fake-meshblu'
describe 'Send Message', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
serverOptions =
port: undefined,
disableLogging: true
... | true | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
FakeMeshblu = require '../fake-meshblu'
describe 'Send Message', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
serverOptions =
port: undefined,
disableLogging: true
... |
[
{
"context": "tScope.$new()\n $scope.ann = {id: 401, name: \"Ann\"}\n $scope.myfields = [{key: 'age', label: \"A",
"end": 812,
"score": 0.9998055696487427,
"start": 809,
"tag": "NAME",
"value": "Ann"
},
{
"context": "Equal(true)\n\n fetch.resolve({id: 401, name: \"Ann\... | karma/test-directives.coffee | rapidpro/ureport-partners | 21 | # Unit tests for our Angular directives
describe('directives:', () ->
$compile = null
$rootScope = null
$templateCache = null
$q = null
$filter = null
beforeEach(() ->
module('templates')
module('cases')
inject((_$compile_, _$rootScope_, _$templateCache_, _$q_, _$filter_) ->
$compile = ... | 17225 | # Unit tests for our Angular directives
describe('directives:', () ->
$compile = null
$rootScope = null
$templateCache = null
$q = null
$filter = null
beforeEach(() ->
module('templates')
module('cases')
inject((_$compile_, _$rootScope_, _$templateCache_, _$q_, _$filter_) ->
$compile = ... | true | # Unit tests for our Angular directives
describe('directives:', () ->
$compile = null
$rootScope = null
$templateCache = null
$q = null
$filter = null
beforeEach(() ->
module('templates')
module('cases')
inject((_$compile_, _$rootScope_, _$templateCache_, _$q_, _$filter_) ->
$compile = ... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.999855637550354,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/cleanup.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a table to the editable
((jQuery) ->
jQuery.widget 'IKS.hallocleanup',
dropdownform: null
tmpid: 0
html: null
deb... | 125876 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a table to the editable
((jQuery) ->
jQuery.widget 'IKS.hallocleanup',
dropdownform: null
tmpid: 0
html: null
debug: fal... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a table to the editable
((jQuery) ->
jQuery.widget 'IKS.hallocleanup',
dropdownform: null
tmpid: 0
html: null
... |
[
{
"context": "####\nAccountsTemplates.configure\n\tconfirmPassword: true,\n\tenablePasswordChange: true,\n\tforbidClientAccoun",
"end": 249,
"score": 0.7077646851539612,
"start": 245,
"tag": "PASSWORD",
"value": "true"
}
] | both/scripts/1_init/accounts.coffee | agottschalk10/worklearn | 0 | ##########################################################
# login and accounts
##########################################################
##########################################################
AccountsTemplates.configure
confirmPassword: true,
enablePasswordChange: true,
forbidClientAccountCreation: false,
ov... | 206792 | ##########################################################
# login and accounts
##########################################################
##########################################################
AccountsTemplates.configure
confirmPassword: <PASSWORD>,
enablePasswordChange: true,
forbidClientAccountCreation: fals... | true | ##########################################################
# login and accounts
##########################################################
##########################################################
AccountsTemplates.configure
confirmPassword: PI:PASSWORD:<PASSWORD>END_PI,
enablePasswordChange: true,
forbidClientAcc... |
[
{
"context": "=====================\n\nplanck = {\n passphrase : \"mmpp\",\n key : \"\"\"\n-----BEGIN PGP PRIVATE KEY BLOCK---",
"end": 288,
"score": 0.9993495941162109,
"start": 284,
"tag": "PASSWORD",
"value": "mmpp"
},
{
"context": "LOCK-----\nVersion: GnuPG/MacGPG2 v2.0.22 (Dar... | test/files/elgamal.iced | samkenxstream/kbpgp | 464 | {KeyManager} = require '../../'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
testing_unixtime = Math.floor(new Date(2014, 2, 21)/1000)
#=================================================================
planck = {
passphrase : "mmpp",
key : """
-----BEGIN PGP PR... | 165200 | {KeyManager} = require '../../'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
testing_unixtime = Math.floor(new Date(2014, 2, 21)/1000)
#=================================================================
planck = {
passphrase : "<PASSWORD>",
key : """
-----BEGIN ... | true | {KeyManager} = require '../../'
{do_message} = require '../../lib/openpgp/processor'
{burn} = require '../../lib/openpgp/burner'
testing_unixtime = Math.floor(new Date(2014, 2, 21)/1000)
#=================================================================
planck = {
passphrase : "PI:PASSWORD:<PASSWORD>END_PI",
key... |
[
{
"context": "# Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Redistribution and u",
"end": 35,
"score": 0.9998364448547363,
"start": 22,
"tag": "NAME",
"value": "Yusuke Suzuki"
},
{
"context": "# Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Red... | src/instrumenter.coffee | HBOCodeLabs/ibrik | 0 | # Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
#
# 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 condition... | 80899 | # Copyright (C) 2012 <NAME> <<EMAIL>>
#
# 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 and the following d... | true | # Copyright (C) 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# 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 c... |
[
{
"context": " An anode lambda calculus library based on work of Dale Schumacher\n#\n# see: http://www.dalnefre.com/wp/2010/08/evalu",
"end": 86,
"score": 0.9998048543930054,
"start": 71,
"tag": "NAME",
"value": "Dale Schumacher"
},
{
"context": "ressions-part-1-core-lambda-calculus/... | examples/lambda1.coffee | tristanls/anodejs | 3 | #
# lambda1.coffee: An anode lambda calculus library based on work of Dale Schumacher
#
# see: http://www.dalnefre.com/wp/2010/08/evaluating-expressions-part-1-core-lambda-calculus/
#
# (C) 2011 Tristan Slominski
#
anode = require '../lib/anode'
beh = anode.beh
Lambda = exports
# Constants
Lambda.const_expr_beh = b... | 68277 | #
# lambda1.coffee: An anode lambda calculus library based on work of <NAME>
#
# see: http://www.dalnefre.com/wp/2010/08/evaluating-expressions-part-1-core-lambda-calculus/
#
# (C) 2011 <NAME>
#
anode = require '../lib/anode'
beh = anode.beh
Lambda = exports
# Constants
Lambda.const_expr_beh = beh 'value',
'cust... | true | #
# lambda1.coffee: An anode lambda calculus library based on work of PI:NAME:<NAME>END_PI
#
# see: http://www.dalnefre.com/wp/2010/08/evaluating-expressions-part-1-core-lambda-calculus/
#
# (C) 2011 PI:NAME:<NAME>END_PI
#
anode = require '../lib/anode'
beh = anode.beh
Lambda = exports
# Constants
Lambda.const_expr... |
[
{
"context": "------------------------------------\n#\n# Author : philippe.billet@noos.fr\n#\n# Gamma function gamma(x)\n# \n#---------------",
"end": 116,
"score": 0.9962747693061829,
"start": 93,
"tag": "EMAIL",
"value": "philippe.billet@noos.fr"
}
] | node_modules/algebrite/sources/gamma.coffee | souzamonteiro/maialexa | 928 | #-----------------------------------------------------------------------------
#
# Author : philippe.billet@noos.fr
#
# Gamma function gamma(x)
#
#-----------------------------------------------------------------------------
Eval_gamma = ->
push(cadr(p1))
Eval()
gamma()
gamma = ->
save()
gammaf()
r... | 125653 | #-----------------------------------------------------------------------------
#
# Author : <EMAIL>
#
# Gamma function gamma(x)
#
#-----------------------------------------------------------------------------
Eval_gamma = ->
push(cadr(p1))
Eval()
gamma()
gamma = ->
save()
gammaf()
restore()
gammaf... | true | #-----------------------------------------------------------------------------
#
# Author : PI:EMAIL:<EMAIL>END_PI
#
# Gamma function gamma(x)
#
#-----------------------------------------------------------------------------
Eval_gamma = ->
push(cadr(p1))
Eval()
gamma()
gamma = ->
save()
gammaf()
re... |
[
{
"context": "#\r\n# lib/index.coffee\r\n#\r\n# Copyright (c) 2012 Lee Olayvar <leeolayvar@gmail.com>\r\n# MIT Licensed\r\n#\r\n\r\n\r\n\r\n",
"end": 58,
"score": 0.9998905658721924,
"start": 47,
"tag": "NAME",
"value": "Lee Olayvar"
},
{
"context": "ndex.coffee\r\n#\r\n# Copyright (... | lib/index.coffee | leeola/eggplant | 1 | #
# lib/index.coffee
#
# Copyright (c) 2012 Lee Olayvar <leeolayvar@gmail.com>
# MIT Licensed
#
exports = module.exports = require './eggplant' | 100155 | #
# lib/index.coffee
#
# Copyright (c) 2012 <NAME> <<EMAIL>>
# MIT Licensed
#
exports = module.exports = require './eggplant' | true | #
# lib/index.coffee
#
# Copyright (c) 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MIT Licensed
#
exports = module.exports = require './eggplant' |
[
{
"context": "amed as \"name\" above\n\t\tcascade: false\n\t,\n\t\tname: 'Author'\n\t\tfield: 'author' # related documents will be po",
"end": 343,
"score": 0.8726648688316345,
"start": 337,
"tag": "NAME",
"value": "Author"
}
] | controllers/admin/article.coffee | winnlab/Optimeal | 0 | Crud = require '../../lib/crud'
crud = new Crud
modelName: 'Article'
relatedModels: [
name: 'ArticleCategory'
field: 'articleCategory' # related documents will be populated into variable, named as "field" variable
findAllInRelated: true # findAll will be returned in variable, named as "name" above
cascade: f... | 186025 | Crud = require '../../lib/crud'
crud = new Crud
modelName: 'Article'
relatedModels: [
name: 'ArticleCategory'
field: 'articleCategory' # related documents will be populated into variable, named as "field" variable
findAllInRelated: true # findAll will be returned in variable, named as "name" above
cascade: f... | true | Crud = require '../../lib/crud'
crud = new Crud
modelName: 'Article'
relatedModels: [
name: 'ArticleCategory'
field: 'articleCategory' # related documents will be populated into variable, named as "field" variable
findAllInRelated: true # findAll will be returned in variable, named as "name" above
cascade: f... |
[
{
"context": "le('gapi')\n .value 'GoogleApp',\n apiKey: '1234'\n clientId: 'abcd'\n\n\n beforeEach module 'ga",
"end": 249,
"score": 0.9979103207588196,
"start": 245,
"tag": "KEY",
"value": "1234"
},
{
"context": "GoogleApp',\n apiKey: '1234'\n clientId: 'abc... | public/libs/ngGAPI/test/spec/BloggerSpec.coffee | Evezown/evezown_production | 94 | describe 'GAPI', ->
{
GAPI,Blogger,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '1234'
clientId: 'abcd'
beforeEach module 'gapi'
beforeEach in... | 19553 | describe 'GAPI', ->
{
GAPI,Blogger,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '<KEY>'
clientId: '<KEY>'
beforeEach module 'gapi'
beforeEach ... | true | describe 'GAPI', ->
{
GAPI,Blogger,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders,
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: 'PI:KEY:<KEY>END_PI'
clientId: 'PI:KEY:<KEY>END_PI'
beforeEach mod... |
[
{
"context": " const ApplicationId = '$1'\n const ApiKey = '$2'\n Bmob.initialize(ApplicationId, ApiKey)\n ",
"end": 169,
"score": 0.47499558329582214,
"start": 166,
"tag": "KEY",
"value": "'$2"
}
] | snippets/bmob.cson | youngjuning/atom-bmob | 0 | '.source.js':
'Bmob全局初始化':
'prefix': 'binit'
'body': """
import Bmob from './utils/bmob.min.js'
const ApplicationId = '$1'
const ApiKey = '$2'
Bmob.initialize(ApplicationId, ApiKey)
$3
"""
'description': '下载和安装BmobSDK'
'descriptionMoreURL': 'http://doc.bmob.cn/data/we... | 208436 | '.source.js':
'Bmob全局初始化':
'prefix': 'binit'
'body': """
import Bmob from './utils/bmob.min.js'
const ApplicationId = '$1'
const ApiKey = <KEY>'
Bmob.initialize(ApplicationId, ApiKey)
$3
"""
'description': '下载和安装BmobSDK'
'descriptionMoreURL': 'http://doc.bmob.cn/data/... | true | '.source.js':
'Bmob全局初始化':
'prefix': 'binit'
'body': """
import Bmob from './utils/bmob.min.js'
const ApplicationId = '$1'
const ApiKey = PI:KEY:<KEY>END_PI'
Bmob.initialize(ApplicationId, ApiKey)
$3
"""
'description': '下载和安装BmobSDK'
'descriptionMoreURL': 'http://doc.... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990379214286804,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream-push-strings.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... | 128708 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "********\n# JSImage - image handle class\n# Coded by Hajime Oh-yake 2013.03.26\n#*************************************",
"end": 99,
"score": 0.9998957514762878,
"start": 85,
"tag": "NAME",
"value": "Hajime Oh-yake"
}
] | JSKit/01_JSImage.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSImage - image handle class
# Coded by Hajime Oh-yake 2013.03.26
#*****************************************
class JSImage extends JSObject
constructor: (imagename) ->
super()
if (imagename?)
@imageNamed(imagename)
imageNamed: (@_imagepa... | 166491 | #*****************************************
# JSImage - image handle class
# Coded by <NAME> 2013.03.26
#*****************************************
class JSImage extends JSObject
constructor: (imagename) ->
super()
if (imagename?)
@imageNamed(imagename)
imageNamed: (@_imagepath) ->
... | true | #*****************************************
# JSImage - image handle class
# Coded by PI:NAME:<NAME>END_PI 2013.03.26
#*****************************************
class JSImage extends JSObject
constructor: (imagename) ->
super()
if (imagename?)
@imageNamed(imagename)
imageNamed: (@_i... |
[
{
"context": "ate:paused;\ndisplay:none;\n}\n\n\n\n/* \n *Contact me at zashworth2@gmail.com\n *Github link https://github.com/ashworth-zach\n *",
"end": 2098,
"score": 0.9999268651008606,
"start": 2078,
"tag": "EMAIL",
"value": "zashworth2@gmail.com"
},
{
"context": "worth2@gmail.co... | static/coffeescript/index.coffee | ashworth-zach/SelfCodingLandingPage | 1 | styles = """
body {
background-color: #1a1c24; color: #fff;
font-size: 13px; line-height: 1.4;
-webkit-font-smoothing: subpixel-antialiased;
}
.container{
height:100px;
}
pre em:not(.comment) { font-style: normal; }
.comment { color: #00b3ff; }
.selector { color: #00fdd3; }
.selector .key { color: #... | 190130 | styles = """
body {
background-color: #1a1c24; color: #fff;
font-size: 13px; line-height: 1.4;
-webkit-font-smoothing: subpixel-antialiased;
}
.container{
height:100px;
}
pre em:not(.comment) { font-style: normal; }
.comment { color: #00b3ff; }
.selector { color: #00fdd3; }
.selector .key { color: #... | true | styles = """
body {
background-color: #1a1c24; color: #fff;
font-size: 13px; line-height: 1.4;
-webkit-font-smoothing: subpixel-antialiased;
}
.container{
height:100px;
}
pre em:not(.comment) { font-style: normal; }
.comment { color: #00b3ff; }
.selector { color: #00fdd3; }
.selector .key { color: #... |
[
{
"context": "dModel extends Backbone.Model\n idAttribute: 'eyeDee'\n url: 'eyes/'\n model = new Nonstandar",
"end": 2380,
"score": 0.6830521821975708,
"start": 2377,
"tag": "NAME",
"value": "eye"
},
{
"context": "del extends Backbone.Model\n idAttribute: 'eyeDee'\n... | spec/integration_spec.coffee | GerHobbelt/Backbone.dualStorage | 0 | {backboneSync, localsync, dualSync, localStorage} = window
{collection, model} = {}
beforeEach ->
backboneSync.calls = []
localsync 'clear', {}, ignoreCallbacks: true, storeName: 'eyes/'
collection = new Backbone.Collection
id: 123
vision: 'crystal'
collection.url = 'eyes/'
model = collection.models[... | 49041 | {backboneSync, localsync, dualSync, localStorage} = window
{collection, model} = {}
beforeEach ->
backboneSync.calls = []
localsync 'clear', {}, ignoreCallbacks: true, storeName: 'eyes/'
collection = new Backbone.Collection
id: 123
vision: 'crystal'
collection.url = 'eyes/'
model = collection.models[... | true | {backboneSync, localsync, dualSync, localStorage} = window
{collection, model} = {}
beforeEach ->
backboneSync.calls = []
localsync 'clear', {}, ignoreCallbacks: true, storeName: 'eyes/'
collection = new Backbone.Collection
id: 123
vision: 'crystal'
collection.url = 'eyes/'
model = collection.models[... |
[
{
"context": "@name\n header: {rows: 1}\n mainKeyName: \"数据名\"\n columnToKey: {'*':'{{columnHeader}}'}\n ",
"end": 1985,
"score": 0.7663877010345459,
"start": 1982,
"tag": "KEY",
"value": "数据名"
}
] | analyze/singletons.coffee | Tostig0916/hqcoffee | 2 | path = require 'path'
{JSONUtils} = require './jsonUtils'
StormDB = require 'stormdb'
# 抽象class 将共性放在此处
# 所有从Excel转换而来的JSON辅助文件,均为一对一关系,故均使用class一侧编程
class StormDBSingleton extends JSONUtils
# 只有从Excel转换来的JSON才可以将参数 rebuild 设置为 true
@fetchSingleJSON: (funcOpts={}) ->
{rebuild=false} = funcOpts
opts ... | 36741 | path = require 'path'
{JSONUtils} = require './jsonUtils'
StormDB = require 'stormdb'
# 抽象class 将共性放在此处
# 所有从Excel转换而来的JSON辅助文件,均为一对一关系,故均使用class一侧编程
class StormDBSingleton extends JSONUtils
# 只有从Excel转换来的JSON才可以将参数 rebuild 设置为 true
@fetchSingleJSON: (funcOpts={}) ->
{rebuild=false} = funcOpts
opts ... | true | path = require 'path'
{JSONUtils} = require './jsonUtils'
StormDB = require 'stormdb'
# 抽象class 将共性放在此处
# 所有从Excel转换而来的JSON辅助文件,均为一对一关系,故均使用class一侧编程
class StormDBSingleton extends JSONUtils
# 只有从Excel转换来的JSON才可以将参数 rebuild 设置为 true
@fetchSingleJSON: (funcOpts={}) ->
{rebuild=false} = funcOpts
opts ... |
[
{
"context": "ashTable = require('../HashTable')\n\nsomeNames = [\"David\", \"Jennifer\", \"Donnie\", \"Raymond\",\n \"",
"end": 56,
"score": 0.9998560547828674,
"start": 51,
"tag": "NAME",
"value": "David"
},
{
"context": "= require('../HashTable')\n\nsomeNames = [\"Davi... | HashTable/test/method.coffee | youqingkui/DataStructure | 0 | HashTable = require('../HashTable')
someNames = ["David", "Jennifer", "Donnie", "Raymond",
"Cynthia", "Mike", "Clayton", "Danny", "Jonathan"]
hTable = new HashTable()
for i in someNames
hTable.put i
hTable.showDistro() | 61121 | HashTable = require('../HashTable')
someNames = ["<NAME>", "<NAME>", "<NAME>", "<NAME>",
"<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>"]
hTable = new HashTable()
for i in someNames
hTable.put i
hTable.showDistro() | true | HashTable = require('../HashTable')
someNames = ["PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI",
"PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI"]
hTable = new HashTable()
for i in someN... |
[
{
"context": "yHelper'\n\n #general pathes\n DS_URL: \"http://127.0.0.1\"\n DS_PORT: 9101\n DI_PORT: 9102\n\n #specif",
"end": 684,
"score": 0.9960315227508545,
"start": 675,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "username = process.env.NAME\n ... | server/lib/dataSystem.coffee | poupotte/cozy-databrowser | 0 | CoreClass = require './../helpers/CoreClass'
#********************************************************
#******************** CLASS DataSystem ******************
#********************************************************
#@description : used to communicate with the cozy data-system
class DataSystem extends CoreClass
... | 143544 | CoreClass = require './../helpers/CoreClass'
#********************************************************
#******************** CLASS DataSystem ******************
#********************************************************
#@description : used to communicate with the cozy data-system
class DataSystem extends CoreClass
... | true | CoreClass = require './../helpers/CoreClass'
#********************************************************
#******************** CLASS DataSystem ******************
#********************************************************
#@description : used to communicate with the cozy data-system
class DataSystem extends CoreClass
... |
[
{
"context": "ue, I will append it to end\n #console.log(\"pridavam\")\n order_by_array.pop() if order_by_array.le",
"end": 1655,
"score": 0.6626817584037781,
"start": 1649,
"tag": "NAME",
"value": "idavam"
}
] | app/assets/javascripts/backbone_js/ladas_table_sorting.js.coffee | Ladas/application-backbone | 1 | class TableSorting
@max_together = 2
@change_sorting: (form_id, order_by_value, dir, obj) ->
order_by_value = order_by_value.toLowerCase()
dir = dir.toLowerCase()
order_by_id = '#' + form_id + '_order_by'
default_order_by_val = $('#' + form_id + '_default_order_by').val().toLowerCase()
order_... | 200130 | class TableSorting
@max_together = 2
@change_sorting: (form_id, order_by_value, dir, obj) ->
order_by_value = order_by_value.toLowerCase()
dir = dir.toLowerCase()
order_by_id = '#' + form_id + '_order_by'
default_order_by_val = $('#' + form_id + '_default_order_by').val().toLowerCase()
order_... | true | class TableSorting
@max_together = 2
@change_sorting: (form_id, order_by_value, dir, obj) ->
order_by_value = order_by_value.toLowerCase()
dir = dir.toLowerCase()
order_by_id = '#' + form_id + '_order_by'
default_order_by_val = $('#' + form_id + '_default_order_by').val().toLowerCase()
order_... |
[
{
"context": "'#contact_form')\n#\n# contact_form_dv.run()\n#\n# Wael Nasreddine <wael.nasreddine@gmail.com>\nwindow.FormDefaultVal",
"end": 263,
"score": 0.9998992085456848,
"start": 248,
"tag": "NAME",
"value": "Wael Nasreddine"
},
{
"context": "\n# contact_form_dv.run()\n#... | lib/assets/javascripts/form_default_values/main.js.coffee | TechnoGate/contao_template | 0 | # This class provides some helpfull methods to hide the default text
# on view and show the text on blue if it is equal to the default text
#
# Usage:
# contact_form_dv = new FormDefaultValues('#contact_form')
#
# contact_form_dv.run()
#
# Wael Nasreddine <wael.nasreddine@gmail.com>
window.FormDefaultValues = c... | 37733 | # This class provides some helpfull methods to hide the default text
# on view and show the text on blue if it is equal to the default text
#
# Usage:
# contact_form_dv = new FormDefaultValues('#contact_form')
#
# contact_form_dv.run()
#
# <NAME> <<EMAIL>>
window.FormDefaultValues = class FormDefaultValues
# ... | true | # This class provides some helpfull methods to hide the default text
# on view and show the text on blue if it is equal to the default text
#
# Usage:
# contact_form_dv = new FormDefaultValues('#contact_form')
#
# contact_form_dv.run()
#
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
window.FormDefaultValues =... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998412132263184,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/gearbox/application.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 36617 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>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:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "oGLib\n# Module | Stat Methods\n# Author | Sherif Emabrak\n# Description | The boundary method partitions th",
"end": 163,
"score": 0.9998717308044434,
"start": 149,
"tag": "NAME",
"value": "Sherif Emabrak"
}
] | src/lib/statistics/bin/boundry.coffee | Sherif-Embarak/gp-test | 0 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | Sherif Emabrak
# Description | The boundary method partitions the plane with irregular polygons that are
# usually derived from geographic boundary or shape ... | 151536 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | <NAME>
# Description | The boundary method partitions the plane with irregular polygons that are
# usually derived from geographic boundary or shape files.
#... | true | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | PI:NAME:<NAME>END_PI
# Description | The boundary method partitions the plane with irregular polygons that are
# usually derived from geographic boundary or ... |
[
{
"context": "tkey: \"threshold-\"\n endkey: \"threshold-\\ufff0\"\n .then (result) ->\n docsToDelete = for r",
"end": 240,
"score": 0.6095776557922363,
"start": 238,
"tag": "KEY",
"value": "f0"
}
] | _attachments/app/models/Issues.coffee | jongoz/coconut-analytice | 3 | _ = require 'underscore'
$ = require 'jquery'
moment = require 'moment'
Reports = require './Reports'
class Issues
@resetEpidemicThreshold = =>
Coconut.database.allDocs
startkey: "threshold-"
endkey: "threshold-\ufff0"
.then (result) ->
docsToDelete = for row in result.rows
_i... | 15571 | _ = require 'underscore'
$ = require 'jquery'
moment = require 'moment'
Reports = require './Reports'
class Issues
@resetEpidemicThreshold = =>
Coconut.database.allDocs
startkey: "threshold-"
endkey: "threshold-\uff<KEY>"
.then (result) ->
docsToDelete = for row in result.rows
... | true | _ = require 'underscore'
$ = require 'jquery'
moment = require 'moment'
Reports = require './Reports'
class Issues
@resetEpidemicThreshold = =>
Coconut.database.allDocs
startkey: "threshold-"
endkey: "threshold-\uffPI:KEY:<KEY>END_PI"
.then (result) ->
docsToDelete = for row in result.r... |
[
{
"context": ">\n selfRoom = @room\n selfRoom.user.say('alice', '@hubot bcycle')\n setTimeout(() ->\n ",
"end": 1390,
"score": 0.9945741891860962,
"start": 1385,
"tag": "USERNAME",
"value": "alice"
},
{
"context": " expect(selfRoom.messages).to.eql [\n ... | test/bcycle-finder_test.coffee | stephenyeargin/hubot-bcycle-finder | 2 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper('../src/bcycle-finder.coffee')
describe 'hubot-bcycle-finder', ->
beforeEach ->
nock.disableNetConnect()
nock('https://gbfs.bcycle.com')
.get('/bcycle_nashville/system_informati... | 57272 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper('../src/bcycle-finder.coffee')
describe 'hubot-bcycle-finder', ->
beforeEach ->
nock.disableNetConnect()
nock('https://gbfs.bcycle.com')
.get('/bcycle_nashville/system_informati... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper('../src/bcycle-finder.coffee')
describe 'hubot-bcycle-finder', ->
beforeEach ->
nock.disableNetConnect()
nock('https://gbfs.bcycle.com')
.get('/bcycle_nashville/system_informati... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999135732650757,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
},
{
"context": "s[undefined] =\n username: osu.trans 'users.deleted'\n\... | resources/assets/coffee/react/modding-profile/main.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 { Events } from './events'
import { ExtraTab } from '../profile-page/extra-tab'
import { Discussions} from './discussions'
import { Header... | 163318 | # 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 { Events } from './events'
import { ExtraTab } from '../profile-page/extra-tab'
import { Discussions} from './discussions'
import { Header } from... | 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 { Events } from './events'
import { ExtraTab } from '../profile-page/extra-tab'
import { Discussions} from './discussions'
import ... |
[
{
"context": "ingle line of markdown', ->\n\t\t\tmarkdown = \"\"\"\n\t\t\t# fatarrow\n\t\t\t\"\"\"\n\n\t\t\thtml = @markdownService.convert ma",
"end": 213,
"score": 0.8162595629692078,
"start": 205,
"tag": "USERNAME",
"value": "fatarrow"
},
{
"context": "iple lines of markdown',... | src/components/markdown/test/markdownService.spec.coffee | webmaster89898/CaryLandholt-fatarrow | 0 | describe 'markdown', ->
describe 'markdownService', ->
beforeEach module 'app'
beforeEach inject (@markdownService) ->
it 'converts html from a single line of markdown', ->
markdown = """
# fatarrow
"""
html = @markdownService.convert markdown
expected = '<h1 id="fatarrow">fatarrow</h1>'
... | 215424 | describe 'markdown', ->
describe 'markdownService', ->
beforeEach module 'app'
beforeEach inject (@markdownService) ->
it 'converts html from a single line of markdown', ->
markdown = """
# fatarrow
"""
html = @markdownService.convert markdown
expected = '<h1 id="fatarrow">fatarrow</h1>'
... | true | describe 'markdown', ->
describe 'markdownService', ->
beforeEach module 'app'
beforeEach inject (@markdownService) ->
it 'converts html from a single line of markdown', ->
markdown = """
# fatarrow
"""
html = @markdownService.convert markdown
expected = '<h1 id="fatarrow">fatarrow</h1>'
... |
[
{
"context": "e 'apn'\n\nclass PushServiceAPNS\n tokenFormat: /^[0-9a-f]{64}$/i\n validateToken: (token) ->\n if PushServic",
"end": 72,
"score": 0.8423500061035156,
"start": 64,
"tag": "KEY",
"value": "9a-f]{64"
}
] | lib/pushservices/apns.coffee | Lytro/pushd | 0 | apns = require 'apn'
class PushServiceAPNS
tokenFormat: /^[0-9a-f]{64}$/i
validateToken: (token) ->
if PushServiceAPNS::tokenFormat.test(token)
return token.toLowerCase()
constructor: (conf, @logger, tokenResolver) ->
conf.errorCallback = (errCode, note, device) =>
@logger?.error("APNS Error... | 122056 | apns = require 'apn'
class PushServiceAPNS
tokenFormat: /^[0-<KEY>}$/i
validateToken: (token) ->
if PushServiceAPNS::tokenFormat.test(token)
return token.toLowerCase()
constructor: (conf, @logger, tokenResolver) ->
conf.errorCallback = (errCode, note, device) =>
@logger?.error("APNS Error #{... | true | apns = require 'apn'
class PushServiceAPNS
tokenFormat: /^[0-PI:KEY:<KEY>END_PI}$/i
validateToken: (token) ->
if PushServiceAPNS::tokenFormat.test(token)
return token.toLowerCase()
constructor: (conf, @logger, tokenResolver) ->
conf.errorCallback = (errCode, note, device) =>
@logger?.error("... |
[
{
"context": "verview Rule to flag no-unneeded-ternary\n# @author Gyandeep Singh\n###\n\n'use strict'\n\nastUtils = require '../eslint-",
"end": 78,
"score": 0.9998258352279663,
"start": 64,
"tag": "NAME",
"value": "Gyandeep Singh"
}
] | src/rules/no-unneeded-ternary.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag no-unneeded-ternary
# @author Gyandeep Singh
###
'use strict'
astUtils = require '../eslint-ast-utils'
# Operators that always result in a boolean value
BOOLEAN_OPERATORS = new Set [
'=='
'is'
'!='
'isnt'
'>'
'>='
'<'
'<='
'in'
'not in'
'of'
'not of'
'insta... | 130264 | ###*
# @fileoverview Rule to flag no-unneeded-ternary
# @author <NAME>
###
'use strict'
astUtils = require '../eslint-ast-utils'
# Operators that always result in a boolean value
BOOLEAN_OPERATORS = new Set [
'=='
'is'
'!='
'isnt'
'>'
'>='
'<'
'<='
'in'
'not in'
'of'
'not of'
'instanceof'
]... | true | ###*
# @fileoverview Rule to flag no-unneeded-ternary
# @author PI:NAME:<NAME>END_PI
###
'use strict'
astUtils = require '../eslint-ast-utils'
# Operators that always result in a boolean value
BOOLEAN_OPERATORS = new Set [
'=='
'is'
'!='
'isnt'
'>'
'>='
'<'
'<='
'in'
'not in'
'of'
'not of'
... |
[
{
"context": " @[setting] = value\n\nclass User\n constructor: (@name, @slack, @salary, @timetable, @row = null) ->\n ",
"end": 2432,
"score": 0.9973101019859314,
"start": 2428,
"tag": "USERNAME",
"value": "name"
},
{
"context": "verageLogged)\n user = new User(temp.name, temp... | src/models/user.coffee | fangamer/ibizan | 0 |
moment = require 'moment-timezone'
Q = require 'q'
{ HEADERS, TIMEZONE } = require '../helpers/constants'
Logger = require('../helpers/logger')()
getPositiveNumber = (input, current) ->
if not current
current = 0
if not input
return current
if not isNaN input
# number
if input >= 0
return... | 161031 |
moment = require 'moment-timezone'
Q = require 'q'
{ HEADERS, TIMEZONE } = require '../helpers/constants'
Logger = require('../helpers/logger')()
getPositiveNumber = (input, current) ->
if not current
current = 0
if not input
return current
if not isNaN input
# number
if input >= 0
return... | true |
moment = require 'moment-timezone'
Q = require 'q'
{ HEADERS, TIMEZONE } = require '../helpers/constants'
Logger = require('../helpers/logger')()
getPositiveNumber = (input, current) ->
if not current
current = 0
if not input
return current
if not isNaN input
# number
if input >= 0
return... |
[
{
"context": "# Original Author: David Morrow\n# https://github.com/dperrymorrow/callbacks.js\n# ",
"end": 31,
"score": 0.9997570514678955,
"start": 19,
"tag": "NAME",
"value": "David Morrow"
},
{
"context": "riginal Author: David Morrow\n# https://github.com/dperrymorrow/callbacks.j... | app/assets/javascripts/0-utils/callbacks.js.coffee | quark-zju/gerrit-frontend | 2 | # Original Author: David Morrow
# https://github.com/dperrymorrow/callbacks.js
# MIT license
#
# Modified:
# - Rename method names. For example, remove `Callback`
# - Fix `remove`
# - Remove `instance`, change `method` from string to real method
# - Callbacks.add = Callbacks.get().add
class @Callbacks
constructor: ... | 204320 | # Original Author: <NAME>
# https://github.com/dperrymorrow/callbacks.js
# MIT license
#
# Modified:
# - Rename method names. For example, remove `Callback`
# - Fix `remove`
# - Remove `instance`, change `method` from string to real method
# - Callbacks.add = Callbacks.get().add
class @Callbacks
constructor: ->
... | true | # Original Author: PI:NAME:<NAME>END_PI
# https://github.com/dperrymorrow/callbacks.js
# MIT license
#
# Modified:
# - Rename method names. For example, remove `Callback`
# - Fix `remove`
# - Remove `instance`, change `method` from string to real method
# - Callbacks.add = Callbacks.get().add
class @Callbacks
const... |
[
{
"context": "oment().add(1, 'days').format()\n title: \"Andy Foobar's Retrospective\"\n )\n fixtures.secti",
"end": 644,
"score": 0.9596894383430481,
"start": 633,
"tag": "NAME",
"value": "Andy Foobar"
},
{
"context": ".running()[0].get('title')\n .shou... | test/collections/verticals.coffee | l2succes/force | 0 | _ = require 'underscore'
moment = require 'moment'
sinon = require 'sinon'
Backbone = require 'backbone'
fixtures = require '../helpers/fixtures'
Sections = require '../../collections/sections'
describe 'Sections', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@sections = new Sections [fixtures.section]
a... | 7005 | _ = require 'underscore'
moment = require 'moment'
sinon = require 'sinon'
Backbone = require 'backbone'
fixtures = require '../helpers/fixtures'
Sections = require '../../collections/sections'
describe 'Sections', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@sections = new Sections [fixtures.section]
a... | true | _ = require 'underscore'
moment = require 'moment'
sinon = require 'sinon'
Backbone = require 'backbone'
fixtures = require '../helpers/fixtures'
Sections = require '../../collections/sections'
describe 'Sections', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@sections = new Sections [fixtures.section]
a... |
[
{
"context": ", xor_digest }\n\ndesc = \"Set 1, vector# 0\"\nkey = \"80000000000000000000000000000000\"\nIV = \"0000000000000000\"\nstream = [\n { \"low\" : 0",
"end": 372,
"score": 0.9995388984680176,
"start": 340,
"tag": "KEY",
"value": "80000000000000000000000000000000"
},
{
"co... | test/gen/gen_salsa20_key128.iced | CyberFlameGO/triplesec | 274 | # These test vectors can be found here:
#
# http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/verified.test-vectors?logsort=rev&rev=210&view=markup"
#
# They specify keystreams for various inputs
#
out = []
f = () ->
out.push { desc, key, IV, stream, xor_digest }
desc = "Set 1,... | 175564 | # These test vectors can be found here:
#
# http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/verified.test-vectors?logsort=rev&rev=210&view=markup"
#
# They specify keystreams for various inputs
#
out = []
f = () ->
out.push { desc, key, IV, stream, xor_digest }
desc = "Set 1,... | true | # These test vectors can be found here:
#
# http://www.ecrypt.eu.org/stream/svn/viewcvs.cgi/ecrypt/trunk/submissions/salsa20/full/verified.test-vectors?logsort=rev&rev=210&view=markup"
#
# They specify keystreams for various inputs
#
out = []
f = () ->
out.push { desc, key, IV, stream, xor_digest }
desc = "Set 1,... |
[
{
"context": "app.use cookieParser()\napp.use session { secret: '934b7dec-705d-4f5d-b0ee-e2d68782b67d', cookie: { maxAge: 3600000 } }\napp.use bodyParse",
"end": 1513,
"score": 0.9996007084846497,
"start": 1477,
"tag": "KEY",
"value": "934b7dec-705d-4f5d-b0ee-e2d68782b67d"
}
] | src/server/server.coffee | bipio-server/pod-server | 1 | ###
Copyright (c) 2017 InterDigital, Inc. All Rights Reserved
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | 76136 | ###
Copyright (c) 2017 InterDigital, Inc. All Rights Reserved
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | true | ###
Copyright (c) 2017 InterDigital, Inc. All Rights Reserved
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... |
[
{
"context": "ntact'}\n {id: '512ef4805a67a8c507000001', name: 'Nick'}\n {id: '5162fab9c92b4c751e000274', name: 'Scott",
"end": 860,
"score": 0.9998176693916321,
"start": 856,
"tag": "NAME",
"value": "Nick"
},
{
"context": "'Nick'}\n {id: '5162fab9c92b4c751e000274', name: 'Scott'}... | app/views/user/JobProfileView.coffee | rishiloyola/codecombat | 1 | UserView = require 'views/common/UserView'
template = require 'templates/account/job-profile-view'
User = require 'models/User'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'collections/CocoCollection'
{me} = require 'core/auth'
JobProfileContactModal = require 'views/modal/JobProfileContactMod... | 138826 | UserView = require 'views/common/UserView'
template = require 'templates/account/job-profile-view'
User = require 'models/User'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'collections/CocoCollection'
{me} = require 'core/auth'
JobProfileContactModal = require 'views/modal/JobProfileContactMod... | true | UserView = require 'views/common/UserView'
template = require 'templates/account/job-profile-view'
User = require 'models/User'
LevelSession = require 'models/LevelSession'
CocoCollection = require 'collections/CocoCollection'
{me} = require 'core/auth'
JobProfileContactModal = require 'views/modal/JobProfileContactMod... |
[
{
"context": "###\nAuthor: Ansel Chen\nThanks xiaoshan5733\n###\ncrypto = require(\"crypto\"",
"end": 22,
"score": 0.9997196197509766,
"start": 12,
"tag": "NAME",
"value": "Ansel Chen"
},
{
"context": "###\nAuthor: Ansel Chen\nThanks xiaoshan5733\n###\ncrypto = require(\"crypto\")\n\... | src/libs/roa-signer.coffee | lln7777/aliyun-ros | 1 | ###
Author: Ansel Chen
Thanks xiaoshan5733
###
crypto = require("crypto")
ACCEPT = "Accept"
CONTENT_MD5 = "Content-MD5"
CONTENT_TYPE = "Content-Type"
DATE = "Date"
QUERY_SEPARATOR = "&"
HEADER_SEPARATOR = "\n"
###
Header 排序:
http协议Header
计算签名必须包含参数,Accept、Content-MD5、Content-Type、Date... | 113129 | ###
Author: <NAME>
Thanks xiaoshan5733
###
crypto = require("crypto")
ACCEPT = "Accept"
CONTENT_MD5 = "Content-MD5"
CONTENT_TYPE = "Content-Type"
DATE = "Date"
QUERY_SEPARATOR = "&"
HEADER_SEPARATOR = "\n"
###
Header 排序:
http协议Header
计算签名必须包含参数,Accept、Content-MD5、Content-Type、Date的值(没... | true | ###
Author: PI:NAME:<NAME>END_PI
Thanks xiaoshan5733
###
crypto = require("crypto")
ACCEPT = "Accept"
CONTENT_MD5 = "Content-MD5"
CONTENT_TYPE = "Content-Type"
DATE = "Date"
QUERY_SEPARATOR = "&"
HEADER_SEPARATOR = "\n"
###
Header 排序:
http协议Header
计算签名必须包含参数,Accept、Content-MD5、Content... |
[
{
"context": " = require 'odoql'\nql = ql()\n\ndata = [\n { name: 'one' }\n { name: 'two' }\n { name: 'three' }\n { name",
"end": 55,
"score": 0.9977249503135681,
"start": 52,
"tag": "NAME",
"value": "one"
},
{
"context": "\nql = ql()\n\ndata = [\n { name: 'one' }\n { name: 'tw... | examples/fill.coffee | odojs/odoql | 2 | ql = require 'odoql'
ql = ql()
data = [
{ name: 'one' }
{ name: 'two' }
{ name: 'three' }
{ name: 'four' }
]
query = ql 'test'
.concat ql.param 'param1'
.fill
param1: 'name'
.query()
console.log JSON.stringify query, null, 2
exe = require 'odoql-exe'
exe = exe()
exe.build(query) (err, results) ->... | 171797 | ql = require 'odoql'
ql = ql()
data = [
{ name: '<NAME>' }
{ name: '<NAME>' }
{ name: '<NAME>' }
{ name: '<NAME>' }
]
query = ql 'test'
.concat ql.param 'param1'
.fill
param1: '<NAME>'
.query()
console.log JSON.stringify query, null, 2
exe = require 'odoql-exe'
exe = exe()
exe.build(query) (err, ... | true | ql = require 'odoql'
ql = ql()
data = [
{ name: 'PI:NAME:<NAME>END_PI' }
{ name: 'PI:NAME:<NAME>END_PI' }
{ name: 'PI:NAME:<NAME>END_PI' }
{ name: 'PI:NAME:<NAME>END_PI' }
]
query = ql 'test'
.concat ql.param 'param1'
.fill
param1: 'PI:NAME:<NAME>END_PI'
.query()
console.log JSON.stringify query, n... |
[
{
"context": "elf.login = options.login\n self.password = options.password\n self.rooms = options.rooms\n s",
"end": 3070,
"score": 0.8048778176307678,
"start": 3063,
"tag": "PASSWORD",
"value": "options"
}
] | node_modules/hubot-kato/src/kato.coffee | nitroniks/hubot | 0 | HTTP = require('http')
HTTPS = require('https')
EventEmitter = require('events').EventEmitter
WebSocketClient = require('websocket').client
# for inspectiong and loggingig
Util = require("util")
Winston = require('winston')
# for scripts loading
Fs = require('fs')... | 114724 | HTTP = require('http')
HTTPS = require('https')
EventEmitter = require('events').EventEmitter
WebSocketClient = require('websocket').client
# for inspectiong and loggingig
Util = require("util")
Winston = require('winston')
# for scripts loading
Fs = require('fs')... | true | HTTP = require('http')
HTTPS = require('https')
EventEmitter = require('events').EventEmitter
WebSocketClient = require('websocket').client
# for inspectiong and loggingig
Util = require("util")
Winston = require('winston')
# for scripts loading
Fs = require('fs')... |
[
{
"context": " team: challenge.team,\n ratingKey: alts.uniqueId(challengerId, challenge.altName)\n }\n {\n",
"end": 4735,
"score": 0.7114149332046509,
"start": 4724,
"tag": "KEY",
"value": "ts.uniqueId"
},
{
"context": ".team,\n ratingKey: alts.uniqueId(... | server/server.coffee | sarenji/pokebattle-sim | 5 | {createHmac} = require 'crypto'
{_} = require 'underscore'
Limiter = require 'ratelimiter'
{User} = require('./user')
{BattleQueue} = require './queue'
{UserStore} = require './user_store'
async = require('async')
gen = require './generations'
auth = require('./auth')
learnsets = require '../shared/learnsets'
{Conditi... | 98788 | {createHmac} = require 'crypto'
{_} = require 'underscore'
Limiter = require 'ratelimiter'
{User} = require('./user')
{BattleQueue} = require './queue'
{UserStore} = require './user_store'
async = require('async')
gen = require './generations'
auth = require('./auth')
learnsets = require '../shared/learnsets'
{Conditi... | true | {createHmac} = require 'crypto'
{_} = require 'underscore'
Limiter = require 'ratelimiter'
{User} = require('./user')
{BattleQueue} = require './queue'
{UserStore} = require './user_store'
async = require('async')
gen = require './generations'
auth = require('./auth')
learnsets = require '../shared/learnsets'
{Conditi... |
[
{
"context": "d] - Resumes check by id\n#\n# Forked from script by patcon@myplanetdigital\n\napiKey = process.env.HUBOT_UPTIMEROBOT_APIKEY\n\nm",
"end": 344,
"score": 0.952419102191925,
"start": 322,
"tag": "EMAIL",
"value": "patcon@myplanetdigital"
}
] | scripts/uptimerobot.coffee | wunderkraut/care-hubot | 0 | # Description
# A hubot script to list, pause and resume monitor checks
#
# Configuration:
# HUBOT_UPTIMEROBOT_APIKEY
#
# Commands:
# hubot uptime list - Lists all checks in private message
# hubot uptime pause [id] - Pauses check by id
# hubot uptime resume [id] - Resumes check by id
#
# Forked from script b... | 134693 | # Description
# A hubot script to list, pause and resume monitor checks
#
# Configuration:
# HUBOT_UPTIMEROBOT_APIKEY
#
# Commands:
# hubot uptime list - Lists all checks in private message
# hubot uptime pause [id] - Pauses check by id
# hubot uptime resume [id] - Resumes check by id
#
# Forked from script b... | true | # Description
# A hubot script to list, pause and resume monitor checks
#
# Configuration:
# HUBOT_UPTIMEROBOT_APIKEY
#
# Commands:
# hubot uptime list - Lists all checks in private message
# hubot uptime pause [id] - Pauses check by id
# hubot uptime resume [id] - Resumes check by id
#
# Forked from script b... |
[
{
"context": "ion default false]\n }\n jsonStr = '{\"name\": \"ylw\", \"age\": \"12\"}'\n javaSrc = j2j.toJava jsonStr,",
"end": 599,
"score": 0.5201805830001831,
"start": 596,
"tag": "NAME",
"value": "ylw"
}
] | lib/gen-code/json-java-db-xutils.coffee | yuanliwei/generate | 0 | ClassModel = require '../model/class-model'
Modifiers = require '../model/modifiers'
Filed = require '../model/filed'
StringUtil = require '../utils/string-util'
###
JSON 转 Java model
使用:
Json2Java = require './json-java'
j2j = new Json2Java()
[option]
opts = {
packageName: 'com.ylw.generate' [... | 209172 | ClassModel = require '../model/class-model'
Modifiers = require '../model/modifiers'
Filed = require '../model/filed'
StringUtil = require '../utils/string-util'
###
JSON 转 Java model
使用:
Json2Java = require './json-java'
j2j = new Json2Java()
[option]
opts = {
packageName: 'com.ylw.generate' [... | true | ClassModel = require '../model/class-model'
Modifiers = require '../model/modifiers'
Filed = require '../model/filed'
StringUtil = require '../utils/string-util'
###
JSON 转 Java model
使用:
Json2Java = require './json-java'
j2j = new Json2Java()
[option]
opts = {
packageName: 'com.ylw.generate' [... |
[
{
"context": "# Try POH\n# author: Leonardone @ NEETSDKASU\n\nprocess.stdin.resume()\nprocess.stdi",
"end": 30,
"score": 0.9995585680007935,
"start": 20,
"tag": "NAME",
"value": "Leonardone"
},
{
"context": "# Try POH\n# author: Leonardone @ NEETSDKASU\n\nprocess.stdin.resume()\nproc... | POH7/Mizugi/Main.coffee | neetsdkasu/Paiza-POH-MyAnswers | 3 | # Try POH
# author: Leonardone @ NEETSDKASU
process.stdin.resume()
process.stdin.setEncoding 'utf8'
process.stdin.on 'data', (data) ->
n = parseInt data.toString()
r = 1
c = 0
md = 1000000000
while n > 1
x = n--
while x % 5 == 0
x /= 5
c--
while x % 2... | 149920 | # Try POH
# author: <NAME> @ NEETSDKASU
process.stdin.resume()
process.stdin.setEncoding 'utf8'
process.stdin.on 'data', (data) ->
n = parseInt data.toString()
r = 1
c = 0
md = 1000000000
while n > 1
x = n--
while x % 5 == 0
x /= 5
c--
while x % 2 == ... | true | # Try POH
# author: PI:NAME:<NAME>END_PI @ NEETSDKASU
process.stdin.resume()
process.stdin.setEncoding 'utf8'
process.stdin.on 'data', (data) ->
n = parseInt data.toString()
r = 1
c = 0
md = 1000000000
while n > 1
x = n--
while x % 5 == 0
x /= 5
c--
w... |
[
{
"context": "nique-name', [\n {\n name: 'Test-package'\n action: 'added'\n }\n ",
"end": 3474,
"score": 0.6832570433616638,
"start": 3462,
"tag": "NAME",
"value": "Test-package"
},
{
"context": ".show bundles, null, [\n {\n ... | spec/name-view-spec.coffee | deprint/package-switch | 20 | { NameView } = require '../lib/name-view'
{ Bundles } = require '../lib/bundles'
describe 'Name View', ->
view = null
callbacks = null
bundles = null
beforeEach ->
bundles = new Bundles('')
bundles.addBundle 'already-used', [
{
name: 'Test-package'
action: 'added'
}
{... | 172690 | { NameView } = require '../lib/name-view'
{ Bundles } = require '../lib/bundles'
describe 'Name View', ->
view = null
callbacks = null
bundles = null
beforeEach ->
bundles = new Bundles('')
bundles.addBundle 'already-used', [
{
name: 'Test-package'
action: 'added'
}
{... | true | { NameView } = require '../lib/name-view'
{ Bundles } = require '../lib/bundles'
describe 'Name View', ->
view = null
callbacks = null
bundles = null
beforeEach ->
bundles = new Bundles('')
bundles.addBundle 'already-used', [
{
name: 'Test-package'
action: 'added'
}
{... |
[
{
"context": "st <Magic the Gathering card name>\r\n# Author:\r\n# FaytLeingod\r\n\r\nmodule.exports = (robot) ->\r\n robot.r",
"end": 220,
"score": 0.8359100222587585,
"start": 217,
"tag": "NAME",
"value": "Fay"
},
{
"context": "Magic the Gathering card name>\r\n# Author:\r\n# ... | Hubot/MtG.coffee | FaytLeingod007/JabbR | 3 | # Description:
# Have Hubot look up a MtG card and return an image of it
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot cast <Magic the Gathering card name>
# Author:
# FaytLeingod
module.exports = (robot) ->
robot.respond /cast (.+)/i, (msg) ->
msg.http('https... | 73667 | # Description:
# Have Hubot look up a MtG card and return an image of it
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot cast <Magic the Gathering card name>
# Author:
# <NAME>t<NAME>
module.exports = (robot) ->
robot.respond /cast (.+)/i, (msg) ->
msg.http('htt... | true | # Description:
# Have Hubot look up a MtG card and return an image of it
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot cast <Magic the Gathering card name>
# Author:
# PI:NAME:<NAME>END_PItPI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.respond /cast (.+)/i,... |
[
{
"context": "name: 'Azor'\nscopeName: 'azor'\ntype: 'tree-sitter'\nparser: 't",
"end": 11,
"score": 0.9792447090148926,
"start": 7,
"tag": "NAME",
"value": "Azor"
}
] | grammars/azor.cson | cstuartroe/language-azor | 0 | name: 'Azor'
scopeName: 'azor'
type: 'tree-sitter'
parser: 'tree-sitter-azor'
fileTypes: ['azor']
scopes:
'base_type > identifier, generics > identifier': 'entity.name.type',
'comment': 'comment',
'string': 'string',
'numeric, bool, char': 'constant.numeric.integer',
'''
definition > identifie... | 193749 | name: '<NAME>'
scopeName: 'azor'
type: 'tree-sitter'
parser: 'tree-sitter-azor'
fileTypes: ['azor']
scopes:
'base_type > identifier, generics > identifier': 'entity.name.type',
'comment': 'comment',
'string': 'string',
'numeric, bool, char': 'constant.numeric.integer',
'''
definition > identif... | true | name: 'PI:NAME:<NAME>END_PI'
scopeName: 'azor'
type: 'tree-sitter'
parser: 'tree-sitter-azor'
fileTypes: ['azor']
scopes:
'base_type > identifier, generics > identifier': 'entity.name.type',
'comment': 'comment',
'string': 'string',
'numeric, bool, char': 'constant.numeric.integer',
'''
defini... |
[
{
"context": "urvey</a>?</p>\n\n<p>Thank you in advance.</p>\n\n<p>\nHenry <br>\nShareLaTeX Co-founder\n</p>\n'''\n\ntemplates.pa",
"end": 1200,
"score": 0.9996678233146667,
"start": 1195,
"tag": "NAME",
"value": "Henry"
}
] | app/coffee/Features/Email/EmailBuilder.coffee | bowlofstew/web-sharelatex | 0 | _ = require('underscore')
PersonalEmailLayout = require("./Layouts/PersonalEmailLayout")
NotificationEmailLayout = require("./Layouts/NotificationEmailLayout")
settings = require("settings-sharelatex")
templates = {}
templates.registered =
subject: _.template "Activate your #{settings.appName} Account"
layout: ... | 99376 | _ = require('underscore')
PersonalEmailLayout = require("./Layouts/PersonalEmailLayout")
NotificationEmailLayout = require("./Layouts/NotificationEmailLayout")
settings = require("settings-sharelatex")
templates = {}
templates.registered =
subject: _.template "Activate your #{settings.appName} Account"
layout: ... | true | _ = require('underscore')
PersonalEmailLayout = require("./Layouts/PersonalEmailLayout")
NotificationEmailLayout = require("./Layouts/NotificationEmailLayout")
settings = require("settings-sharelatex")
templates = {}
templates.registered =
subject: _.template "Activate your #{settings.appName} Account"
layout: ... |
[
{
"context": " React.createElement Record, key: record.id, record: record",
"end": 639,
"score": 0.7380763292312622,
"start": 637,
"tag": "KEY",
"value": "id"
}
] | app/assets/javascripts/components/records.js.coffee | mbouzi/Accounts | 0 | @Records = React.createClass
getInitialState: ->
records: @props.data
getDefaultProps: ->
records: []
render: ->
React.DOM.div
className: 'records'
React.DOM.h2
className: 'title'
'Records'
React.DOM.table
className: 'table table-border... | 78487 | @Records = React.createClass
getInitialState: ->
records: @props.data
getDefaultProps: ->
records: []
render: ->
React.DOM.div
className: 'records'
React.DOM.h2
className: 'title'
'Records'
React.DOM.table
className: 'table table-border... | true | @Records = React.createClass
getInitialState: ->
records: @props.data
getDefaultProps: ->
records: []
render: ->
React.DOM.div
className: 'records'
React.DOM.h2
className: 'title'
'Records'
React.DOM.table
className: 'table table-border... |
[
{
"context": " beforeEach ->\n file =\n name: \"test name\"\n size: 2 * 1000 * 1000\n dropzone",
"end": 15140,
"score": 0.9935028553009033,
"start": 15131,
"tag": "NAME",
"value": "test name"
}
] | src/Jariff/ProjectBundle/Resources/public/admin/plugins/jquery.dropzone/rsc/test/test.coffee | mrkahfi/stradetegy | 0 | chai.should()
describe "Dropzone", ->
getMockFile = ->
name: "test file name"
size: 123456
type: "text/html"
describe "static functions", ->
describe "Dropzone.createElement()", ->
element = Dropzone.createElement """<div class="test"><span>Hallo</span></div>"""
it "should proper... | 169829 | chai.should()
describe "Dropzone", ->
getMockFile = ->
name: "test file name"
size: 123456
type: "text/html"
describe "static functions", ->
describe "Dropzone.createElement()", ->
element = Dropzone.createElement """<div class="test"><span>Hallo</span></div>"""
it "should proper... | true | chai.should()
describe "Dropzone", ->
getMockFile = ->
name: "test file name"
size: 123456
type: "text/html"
describe "static functions", ->
describe "Dropzone.createElement()", ->
element = Dropzone.createElement """<div class="test"><span>Hallo</span></div>"""
it "should proper... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9985182285308838,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": " client.send msg, 0, msg.length, common.PORT, \"127.0.0.1\", (err) ->\n throw err i... | test/simple/test-child-process-fork-dgram.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... | 97311 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "\n yield [\n new User(username: 'alice', flag: true, email: 'alice@bookstore').save()\n ",
"end": 378,
"score": 0.938847541809082,
"start": 373,
"tag": "USERNAME",
"value": "alice"
},
{
"context": " new User(username: 'alice', flag: true, email: 'al... | test/count.coffee | bgaeddert/bookshelf-schema | 44 | Bookshelf = require 'bookshelf'
CheckIt = require 'checkit'
Schema = require '../src/'
init = require './init'
describe "Count", ->
this.timeout 3000
db = null
User = null
before co ->
db = init.init()
yield init.users()
class User extends db.Model
tableName: 'user... | 215227 | Bookshelf = require 'bookshelf'
CheckIt = require 'checkit'
Schema = require '../src/'
init = require './init'
describe "Count", ->
this.timeout 3000
db = null
User = null
before co ->
db = init.init()
yield init.users()
class User extends db.Model
tableName: 'user... | true | Bookshelf = require 'bookshelf'
CheckIt = require 'checkit'
Schema = require '../src/'
init = require './init'
describe "Count", ->
this.timeout 3000
db = null
User = null
before co ->
db = init.init()
yield init.users()
class User extends db.Model
tableName: 'user... |
[
{
"context": "\"Email\"\n type: String\n firstName:\n label: \"First Name\"\n type: String\n lastName:\n label: \"Last Na",
"end": 8174,
"score": 0.9920589327812195,
"start": 8164,
"tag": "NAME",
"value": "First Name"
},
{
"context": "st Name\"\n type: String\n last... | lib/scriptoriumCollections.coffee | UK-AS-HIVE/Scriptorium | 4 | @AvailableManifests = new Meteor.Collection('availablemanifests')
@AvailableManifests.attachSchema new SimpleSchema
user:
label: "User"
type: String
project:
label: "Project ID"
type: String
manifestPayload:
label: "Manifest Payload"
type: Object
blackbox: true
manifestLocation:
... | 81572 | @AvailableManifests = new Meteor.Collection('availablemanifests')
@AvailableManifests.attachSchema new SimpleSchema
user:
label: "User"
type: String
project:
label: "Project ID"
type: String
manifestPayload:
label: "Manifest Payload"
type: Object
blackbox: true
manifestLocation:
... | true | @AvailableManifests = new Meteor.Collection('availablemanifests')
@AvailableManifests.attachSchema new SimpleSchema
user:
label: "User"
type: String
project:
label: "Project ID"
type: String
manifestPayload:
label: "Manifest Payload"
type: Object
blackbox: true
manifestLocation:
... |
[
{
"context": "gger'\n\n\nclient = redis.createClient()\n\nbaseKey = 'bbb:recordings:'\n\nwatch = ->\n #clear the keys first\n keys = clie",
"end": 204,
"score": 0.8938528895378113,
"start": 188,
"tag": "KEY",
"value": "bbb:recordings:'"
},
{
"context": " timestamp = pathArray[1]\n... | labs/api/recordings/lib/recording-dir-watcher.coffee | thong-hoczita/bigbluebutton | 0 | ##
## Watches the recording dirs for new recordings
##
chokidar = require 'chokidar'
redis = require 'redis'
log = require './logger'
client = redis.createClient()
baseKey = 'bbb:recordings:'
watch = ->
#clear the keys first
keys = client.keys(baseKey.concat('*'))
client.del(keys)
#start watching... | 15508 | ##
## Watches the recording dirs for new recordings
##
chokidar = require 'chokidar'
redis = require 'redis'
log = require './logger'
client = redis.createClient()
baseKey = '<KEY>
watch = ->
#clear the keys first
keys = client.keys(baseKey.concat('*'))
client.del(keys)
#start watching
chokidar... | true | ##
## Watches the recording dirs for new recordings
##
chokidar = require 'chokidar'
redis = require 'redis'
log = require './logger'
client = redis.createClient()
baseKey = 'PI:KEY:<KEY>END_PI
watch = ->
#clear the keys first
keys = client.keys(baseKey.concat('*'))
client.del(keys)
#start watchi... |
[
{
"context": " is 10\nok b is 20\nok c is 30\n\nperson = {\n name: \"Moe\"\n family: {\n 'elder-brother': {\n address",
"end": 700,
"score": 0.9997746348381042,
"start": 697,
"tag": "NAME",
"value": "Moe"
},
{
"context": "addresses: [one, {city: b}]}}} = person\n\nok a is \... | node_modules/.npm/.cache/express/1.0.1/package/support/connect/support/coffee-script/test/test_pattern_matching.coffee | financeCoding/wtfjs | 1 | # Simple variable swapping.
a = -1
b = -2
[a, b] = [b, a]
ok a is -2
ok b is -1
func = ->
[a, b] = [b, a]
ok func().join(' ') is '-1 -2'
noop = ->
noop [a,b] = [c,d] = [1,2]
ok a is 1 and b is 2
# Array destructuring, including splats.
arr = [1, 2, 3]
[a, b, c] = arr
ok a is 1
ok b is 2
ok c is 3
[x,y...,... | 151429 | # Simple variable swapping.
a = -1
b = -2
[a, b] = [b, a]
ok a is -2
ok b is -1
func = ->
[a, b] = [b, a]
ok func().join(' ') is '-1 -2'
noop = ->
noop [a,b] = [c,d] = [1,2]
ok a is 1 and b is 2
# Array destructuring, including splats.
arr = [1, 2, 3]
[a, b, c] = arr
ok a is 1
ok b is 2
ok c is 3
[x,y...,... | true | # Simple variable swapping.
a = -1
b = -2
[a, b] = [b, a]
ok a is -2
ok b is -1
func = ->
[a, b] = [b, a]
ok func().join(' ') is '-1 -2'
noop = ->
noop [a,b] = [c,d] = [1,2]
ok a is 1 and b is 2
# Array destructuring, including splats.
arr = [1, 2, 3]
[a, b, c] = arr
ok a is 1
ok b is 2
ok c is 3
[x,y...,... |
[
{
"context": "te()\n @tom = Mozart.MztObject.create({name: 'tom'})\n @john = Mozart.MztObject.create({name: '",
"end": 6067,
"score": 0.9872379302978516,
"start": 6064,
"tag": "NAME",
"value": "tom"
},
{
"context": "'})\n @john = Mozart.MztObject.create({name: 'john'})... | src/spec/object-spec.coffee | creativeprogramming/mozart | 1 | Test = window.Test = @Test = {}
Spec = window.Spec = @Spec = {}
describe 'Mozart.MztObject', ->
describe 'Mixins', ->
Mozart.TestMixin =
test: -> 'Mozart.TestMixin.text'
class TestModule1 extends Mozart.MztObject
@extend Mozart.TestMixin
class TestModule2 extends Mozart.MztObject
@i... | 37348 | Test = window.Test = @Test = {}
Spec = window.Spec = @Spec = {}
describe 'Mozart.MztObject', ->
describe 'Mixins', ->
Mozart.TestMixin =
test: -> 'Mozart.TestMixin.text'
class TestModule1 extends Mozart.MztObject
@extend Mozart.TestMixin
class TestModule2 extends Mozart.MztObject
@i... | true | Test = window.Test = @Test = {}
Spec = window.Spec = @Spec = {}
describe 'Mozart.MztObject', ->
describe 'Mixins', ->
Mozart.TestMixin =
test: -> 'Mozart.TestMixin.text'
class TestModule1 extends Mozart.MztObject
@extend Mozart.TestMixin
class TestModule2 extends Mozart.MztObject
@i... |
[
{
"context": "z.zone('America/New_York'))\n @user = new User('Jimmy Hendricks', 'jeff', false, timetable)\n describe '#parse(ro",
"end": 3592,
"score": 0.9998878240585327,
"start": 3577,
"tag": "NAME",
"value": "Jimmy Hendricks"
},
{
"context": "_York'))\n @user = new User('Ji... | tests/models/test_user.coffee | fangamer/ibizan | 0 | moment = require 'moment-timezone'
expect = require('chai').expect
constants = require '../../src/helpers/constants'
{User, Timetable} = require '../../src/models/user'
describe 'Timetable', ->
beforeEach ->
start = moment({day: 3, hour: 7})
end = moment({day: 3, hour: 18})
@timetable = new Timetable(st... | 221321 | moment = require 'moment-timezone'
expect = require('chai').expect
constants = require '../../src/helpers/constants'
{User, Timetable} = require '../../src/models/user'
describe 'Timetable', ->
beforeEach ->
start = moment({day: 3, hour: 7})
end = moment({day: 3, hour: 18})
@timetable = new Timetable(st... | true | moment = require 'moment-timezone'
expect = require('chai').expect
constants = require '../../src/helpers/constants'
{User, Timetable} = require '../../src/models/user'
describe 'Timetable', ->
beforeEach ->
start = moment({day: 3, hour: 7})
end = moment({day: 3, hour: 18})
@timetable = new Timetable(st... |
[
{
"context": "nticationHandler = (req, res, next) ->\n token = 'EastIndiaCompany'\n timestamp = req.query['timestamp']\n nonce = r",
"end": 301,
"score": 0.9573272466659546,
"start": 285,
"tag": "PASSWORD",
"value": "EastIndiaCompany"
}
] | server/wechat/index.coffee | hotpxl/myap.ml | 1 | crypto = require 'crypto'
xml2js = require 'xml2js'
Q = require 'q'
utils = require '../utils'
database = require '../database'
logger = utils.logging.newConsoleLogger module.filename
redisConnection = database.getConnection()
authenticationHandler = (req, res, next) ->
token = 'EastIndiaCompany'
timestamp = req... | 219948 | crypto = require 'crypto'
xml2js = require 'xml2js'
Q = require 'q'
utils = require '../utils'
database = require '../database'
logger = utils.logging.newConsoleLogger module.filename
redisConnection = database.getConnection()
authenticationHandler = (req, res, next) ->
token = '<PASSWORD>'
timestamp = req.query... | true | crypto = require 'crypto'
xml2js = require 'xml2js'
Q = require 'q'
utils = require '../utils'
database = require '../database'
logger = utils.logging.newConsoleLogger module.filename
redisConnection = database.getConnection()
authenticationHandler = (req, res, next) ->
token = 'PI:PASSWORD:<PASSWORD>END_PI'
tim... |
[
{
"context": "/pothibo.testing.s3.amazonaws.com',\n accessKey: 'AKIAIW6GIE2SUPSM6XLQ',\n policy: 'eyJleHBpcmF0aW9uIjoiMjAyMC0wMS0wMVQw",
"end": 102,
"score": 0.999678373336792,
"start": 82,
"tag": "KEY",
"value": "AKIAIW6GIE2SUPSM6XLQ"
},
{
"context": ",\n accessKey: 'AKIAIW6GIE2S... | test/server/app/assets/javascripts/secret.coffee | 418sec/written | 15 | window.AWS = {
bucket: 'http://pothibo.testing.s3.amazonaws.com',
accessKey: 'AKIAIW6GIE2SUPSM6XLQ',
policy: 'eyJleHBpcmF0aW9uIjoiMjAyMC0wMS0wMVQwMDowMDowMFoiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJwb3RoaWJvLnRlc3RpbmcifSxbInN0YXJ0cy13aXRoIiwiJGtleSIsIiJdLHsiYWNsIjoicHJpdmF0ZSJ9LFsic3RhcnRzLXdpdGgiLCIkQ29udGVudC1UeXBl... | 24714 | window.AWS = {
bucket: 'http://pothibo.testing.s3.amazonaws.com',
accessKey: '<KEY>',
policy: '<KEY>',
signature: 'oxZtTxMsEZRER2nNcNqT1YPNaDo='
}
| true | window.AWS = {
bucket: 'http://pothibo.testing.s3.amazonaws.com',
accessKey: 'PI:KEY:<KEY>END_PI',
policy: 'PI:KEY:<KEY>END_PI',
signature: 'oxZtTxMsEZRER2nNcNqT1YPNaDo='
}
|
[
{
"context": "ent({\n \"server\": \"production\"\n \"projectToken\": \"serengeti\"\n \"zooUserIDGetter\": checkZooUserID\n \"subjectGe",
"end": 368,
"score": 0.9955518245697021,
"start": 359,
"tag": "PASSWORD",
"value": "serengeti"
}
] | app/lib/geordi_and_experiments_setup.coffee | zooniverse/Serengeti | 8 | ExperimentServerClient = require 'lib/experiments'
Subject = require 'models/subject'
User = require 'Zooniverse/lib/models/user'
GeordiClient = require 'zooniverse-geordi-client'
checkZooUserID = ->
User.current?.zooniverse_id
checkZooSubject = ->
Subject.current?.zooniverseId
Geordi = new GeordiClient({
"se... | 137130 | ExperimentServerClient = require 'lib/experiments'
Subject = require 'models/subject'
User = require 'Zooniverse/lib/models/user'
GeordiClient = require 'zooniverse-geordi-client'
checkZooUserID = ->
User.current?.zooniverse_id
checkZooSubject = ->
Subject.current?.zooniverseId
Geordi = new GeordiClient({
"se... | true | ExperimentServerClient = require 'lib/experiments'
Subject = require 'models/subject'
User = require 'Zooniverse/lib/models/user'
GeordiClient = require 'zooniverse-geordi-client'
checkZooUserID = ->
User.current?.zooniverse_id
checkZooSubject = ->
Subject.current?.zooniverseId
Geordi = new GeordiClient({
"se... |
[
{
"context": "gs Notifications (assets)\nProject: Waaave\nAuthors: Julien Le Coupanec, Valerian Saliou\nCopyright: 2014, Waaave\n###\n\n__ ",
"end": 95,
"score": 0.9998618364334106,
"start": 77,
"tag": "NAME",
"value": "Julien Le Coupanec"
},
{
"context": "sets)\nProject: Waaave\nAut... | static/src/assets/account/javascripts/account_settings_notifications.coffee | valeriansaliou/waaave-web | 1 | ###
Bundle: Account Settings Notifications (assets)
Project: Waaave
Authors: Julien Le Coupanec, Valerian Saliou
Copyright: 2014, Waaave
###
__ = window
class AccountSettingsNotifications
init: ->
try
# Selectors
@_window_sel = $ window
@_document_sel = $ document
... | 206543 | ###
Bundle: Account Settings Notifications (assets)
Project: Waaave
Authors: <NAME>, <NAME>
Copyright: 2014, Waaave
###
__ = window
class AccountSettingsNotifications
init: ->
try
# Selectors
@_window_sel = $ window
@_document_sel = $ document
@_body_sel =... | true | ###
Bundle: Account Settings Notifications (assets)
Project: Waaave
Authors: PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
Copyright: 2014, Waaave
###
__ = window
class AccountSettingsNotifications
init: ->
try
# Selectors
@_window_sel = $ window
@_document_sel = $ docum... |
[
{
"context": "###\nmac-open\nhttps://github.com/weareinteractive/node-mac-open\n\nCopyright (c) 2013 We Are Interact",
"end": 48,
"score": 0.9995918273925781,
"start": 32,
"tag": "USERNAME",
"value": "weareinteractive"
},
{
"context": "weareinteractive/node-mac-open\n\nCopyright (c) ... | Gruntfile.coffee | gndgn/node-mac-open | 5 | ###
mac-open
https://github.com/weareinteractive/node-mac-open
Copyright (c) 2013 We Are Interactive
Licensed under the MIT license.
###
"use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
coffeelint:
files: ["Gruntfile.coffee... | 6053 | ###
mac-open
https://github.com/weareinteractive/node-mac-open
Copyright (c) 2013 <NAME>
Licensed under the MIT license.
###
"use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
coffeelint:
files: ["Gruntfile.coffee", "src/**/*... | true | ###
mac-open
https://github.com/weareinteractive/node-mac-open
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
"use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON "package.json"
coffeelint:
files: ["Gruntfile.coff... |
[
{
"context": "l\n\n beforeEach ->\n options =\n value : 'Fatih Acet'\n name : 'name'\n\n textarea = new spark.",
"end": 267,
"score": 0.9988500475883484,
"start": 257,
"tag": "NAME",
"value": "Fatih Acet"
}
] | src/tests/components/textarea/test_textareaWithCharCounter.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.require 'spark.components.TextareaWithCharCounter'
goog.require 'spark.components.Textarea'
describe 'spark.components.TextareaWithCharCounter', ->
textarea = null
beforeEach ->
options =
value : 'Fatih Acet'
name : 'name'
textarea = new spark.com... | 183963 | goog = goog or goog = require: ->
goog.require 'spark.components.TextareaWithCharCounter'
goog.require 'spark.components.Textarea'
describe 'spark.components.TextareaWithCharCounter', ->
textarea = null
beforeEach ->
options =
value : '<NAME>'
name : 'name'
textarea = new spark.compone... | true | goog = goog or goog = require: ->
goog.require 'spark.components.TextareaWithCharCounter'
goog.require 'spark.components.Textarea'
describe 'spark.components.TextareaWithCharCounter', ->
textarea = null
beforeEach ->
options =
value : 'PI:NAME:<NAME>END_PI'
name : 'name'
textarea = new... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998329281806946,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/util/medial_axis.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 44717 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "re = 0\n return\n\nLocalScoreManager = ->\n @key = \"bestScore\"\n supported = @localStorageSupported()\n @storag",
"end": 884,
"score": 0.9881583452224731,
"start": 875,
"tag": "KEY",
"value": "bestScore"
},
{
"context": "eManager::localStorageSupported = ->\n tes... | lib/atom-2048-view.coffee | void-main/atom-2048 | 7 | {View} = require 'atom-space-pen-views'
AchievementsView = require './achievements-view'
{CompositeDisposable, Emitter} = require 'atom'
Tile = (position, value) ->
@x = position.x
@y = position.y
@value = value or 2
@previousPosition = null
@mergedFrom = null # Tracks tiles that merged together
return
Gr... | 14590 | {View} = require 'atom-space-pen-views'
AchievementsView = require './achievements-view'
{CompositeDisposable, Emitter} = require 'atom'
Tile = (position, value) ->
@x = position.x
@y = position.y
@value = value or 2
@previousPosition = null
@mergedFrom = null # Tracks tiles that merged together
return
Gr... | true | {View} = require 'atom-space-pen-views'
AchievementsView = require './achievements-view'
{CompositeDisposable, Emitter} = require 'atom'
Tile = (position, value) ->
@x = position.x
@y = position.y
@value = value or 2
@previousPosition = null
@mergedFrom = null # Tracks tiles that merged together
return
Gr... |
[
{
"context": "xtends LayerInfo\n @shouldParse: (key) -> key is 'lyid'\n\n parse: ->\n @id = @file.readInt()",
"end": 130,
"score": 0.9671165943145752,
"start": 126,
"tag": "KEY",
"value": "lyid"
}
] | lib/psd/layer_info/layer_id.coffee | LoginovIlya/psd.js | 2,218 | LayerInfo = require '../layer_info.coffee'
module.exports = class LayerId extends LayerInfo
@shouldParse: (key) -> key is 'lyid'
parse: ->
@id = @file.readInt() | 139893 | LayerInfo = require '../layer_info.coffee'
module.exports = class LayerId extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
parse: ->
@id = @file.readInt() | true | LayerInfo = require '../layer_info.coffee'
module.exports = class LayerId extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
parse: ->
@id = @file.readInt() |
[
{
"context": " elements to contain accessible content.\n# @author Lisa Ring & Niklas Holmberg\n###\n\n# ------------------------",
"end": 119,
"score": 0.9998742938041687,
"start": 110,
"tag": "NAME",
"value": "Lisa Ring"
},
{
"context": " contain accessible content.\n# @author Lisa ... | src/tests/rules/anchor-has-content.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce anchor elements to contain accessible content.
# @author Lisa Ring & Niklas Holmberg
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
p... | 195129 | ### eslint-env jest ###
###*
# @fileoverview Enforce anchor elements to contain accessible content.
# @author <NAME> & <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = requir... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce anchor elements to contain accessible content.
# @author PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# ----------------------------------------------------------------... |
[
{
"context": "###\n@authors\nNicolas Laplante - https://plus.google.com/108189012221374960701\nN",
"end": 29,
"score": 0.9998888969421387,
"start": 13,
"tag": "NAME",
"value": "Nicolas Laplante"
},
{
"context": "e - https://plus.google.com/108189012221374960701\nNicholas McCready - h... | public/bower_components/angular-google-maps/src/coffee/directives/polygons.coffee | arslannaseem/notasoft | 1 | ###
@authors
Nicolas Laplante - https://plus.google.com/108189012221374960701
Nicholas McCready - https://twitter.com/nmccready
Rick Huizinga - https://plus.google.com/+RickHuizinga
###
angular.module('uiGmapgoogle-maps').directive 'uiGmapPolygons', ['uiGmapPolygons', (Polygons) -> new Polygons()]
| 226030 | ###
@authors
<NAME> - https://plus.google.com/108189012221374960701
<NAME> - https://twitter.com/nmccready
<NAME> - https://plus.google.com/+RickHuizinga
###
angular.module('uiGmapgoogle-maps').directive 'uiGmapPolygons', ['uiGmapPolygons', (Polygons) -> new Polygons()]
| true | ###
@authors
PI:NAME:<NAME>END_PI - https://plus.google.com/108189012221374960701
PI:NAME:<NAME>END_PI - https://twitter.com/nmccready
PI:NAME:<NAME>END_PI - https://plus.google.com/+RickHuizinga
###
angular.module('uiGmapgoogle-maps').directive 'uiGmapPolygons', ['uiGmapPolygons', (Polygons) -> new Polygons()]
|
[
{
"context": "ookie has github_api_key value', ->\n\n token = 'TEST_TOKEN'\n beforeEach ->\n cookies.put 'github_api_",
"end": 772,
"score": 0.7463067173957825,
"start": 762,
"tag": "PASSWORD",
"value": "TEST_TOKEN"
}
] | test/spec/services/setgithubapikeytodefaultauthorizationheader.coffee | JumpeiArashi/blog.arashike.com | 0 | 'use strict'
describe 'Service: setGithubApiKeyToDefaultAuthorizationHeader', ->
beforeEach () ->
module 'arashike-blog'
service = undefined
cookies = undefined
http = undefined
beforeEach ->
inject (_setGithubApiKeyToDefaultAuthorizationHeader_, _$cookies_, _$http_) ->
service = _setGithubA... | 30058 | 'use strict'
describe 'Service: setGithubApiKeyToDefaultAuthorizationHeader', ->
beforeEach () ->
module 'arashike-blog'
service = undefined
cookies = undefined
http = undefined
beforeEach ->
inject (_setGithubApiKeyToDefaultAuthorizationHeader_, _$cookies_, _$http_) ->
service = _setGithubA... | true | 'use strict'
describe 'Service: setGithubApiKeyToDefaultAuthorizationHeader', ->
beforeEach () ->
module 'arashike-blog'
service = undefined
cookies = undefined
http = undefined
beforeEach ->
inject (_setGithubApiKeyToDefaultAuthorizationHeader_, _$cookies_, _$http_) ->
service = _setGithubA... |
[
{
"context": "iv id=\"mapContent\"><h1 id=\"firstHeading\">4K Studio Karol Flont</h1><p>Może jakiś opis?</p></div>'\n\n infowindo",
"end": 718,
"score": 0.8989925980567932,
"start": 707,
"tag": "NAME",
"value": "Karol Flont"
}
] | source/assets/js/maps.js.coffee | dolphideo/4k-studio | 0 | class Maps
constructor: (options) ->
@setOptions options
@googleMaps()
googleMaps: ->
map = undefined
position = new google.maps.LatLng(52.21108, 21.01273)
pinIcon = new google.maps.MarkerImage(
'../assets/images/dolphin-icon.png'
null,
null,
null,
new google.maps... | 32200 | class Maps
constructor: (options) ->
@setOptions options
@googleMaps()
googleMaps: ->
map = undefined
position = new google.maps.LatLng(52.21108, 21.01273)
pinIcon = new google.maps.MarkerImage(
'../assets/images/dolphin-icon.png'
null,
null,
null,
new google.maps... | true | class Maps
constructor: (options) ->
@setOptions options
@googleMaps()
googleMaps: ->
map = undefined
position = new google.maps.LatLng(52.21108, 21.01273)
pinIcon = new google.maps.MarkerImage(
'../assets/images/dolphin-icon.png'
null,
null,
null,
new google.maps... |
[
{
"context": ": 'Redis host'.white\n default: '127.0.0.1'\n prompt.start()\n prompt.ge",
"end": 2349,
"score": 0.9786251187324524,
"start": 2341,
"tag": "IP_ADDRESS",
"value": "27.0.0.1"
}
] | src/app/commands/init.coffee | gerardtoko/fantomas | 0 | fs = require 'fs'
nconf = require 'nconf'
prompt = require 'prompt'
path = require 'path'
colors = require 'colors'
Q = require 'Q'
U = require './../helpers/utils'
config = path.resolve './config/locale.json'
exports.command = (program, messages, regexs) ->
program
.command 'init'
.description 'Init configu... | 164417 | fs = require 'fs'
nconf = require 'nconf'
prompt = require 'prompt'
path = require 'path'
colors = require 'colors'
Q = require 'Q'
U = require './../helpers/utils'
config = path.resolve './config/locale.json'
exports.command = (program, messages, regexs) ->
program
.command 'init'
.description 'Init configu... | true | fs = require 'fs'
nconf = require 'nconf'
prompt = require 'prompt'
path = require 'path'
colors = require 'colors'
Q = require 'Q'
U = require './../helpers/utils'
config = path.resolve './config/locale.json'
exports.command = (program, messages, regexs) ->
program
.command 'init'
.description 'Init configu... |
[
{
"context": " {\n clientID: \"APP_ID\",\n clientSecret: \"APP_SECRET\",\n callbackURL: \"http://localhost:300",
"end": 1845,
"score": 0.8507148027420044,
"start": 1842,
"tag": "KEY",
"value": "APP"
}
] | src/config/config.coffee | yi/coffee-nodejs-passport-boilerplate | 1 |
path = require('path')
rootPath = path.normalize(__dirname + '/../..')
console.log "[config::rootPath] #{rootPath}"
templatePath = path.normalize(__dirname + '/../app/mailer/templates')
notifier =
APN: false,
email: false, # true
actions: ['comment'],
tplPath: templatePath,
postmarkKey: 'POSTMARK_KEY',
p... | 129450 |
path = require('path')
rootPath = path.normalize(__dirname + '/../..')
console.log "[config::rootPath] #{rootPath}"
templatePath = path.normalize(__dirname + '/../app/mailer/templates')
notifier =
APN: false,
email: false, # true
actions: ['comment'],
tplPath: templatePath,
postmarkKey: 'POSTMARK_KEY',
p... | true |
path = require('path')
rootPath = path.normalize(__dirname + '/../..')
console.log "[config::rootPath] #{rootPath}"
templatePath = path.normalize(__dirname + '/../app/mailer/templates')
notifier =
APN: false,
email: false, # true
actions: ['comment'],
tplPath: templatePath,
postmarkKey: 'POSTMARK_KEY',
p... |
[
{
"context": "###\n *\n * Responsive Navigation by Gary Hepting\n *\n * Open source under the MIT License.\n *\n * ",
"end": 48,
"score": 0.9998644590377808,
"start": 36,
"tag": "NAME",
"value": "Gary Hepting"
},
{
"context": "rce under the MIT License.\n *\n * Copyright © 2013 G... | src/coffee/components/navigation.coffee | katophelix/PristinePooch | 357 | ###
*
* Responsive Navigation by Gary Hepting
*
* Open source under the MIT License.
*
* Copyright © 2013 Gary Hepting. All rights reserved.
*
###
responsiveNavigationIndex = 0
window.delayMenuClose = ''
window.delayNavigationClose = ''
class ResponsiveNavigation
constructor: (el) ->
@index = respons... | 139168 | ###
*
* Responsive Navigation by <NAME>
*
* Open source under the MIT License.
*
* Copyright © 2013 <NAME>. All rights reserved.
*
###
responsiveNavigationIndex = 0
window.delayMenuClose = ''
window.delayNavigationClose = ''
class ResponsiveNavigation
constructor: (el) ->
@index = responsiveNavigatio... | true | ###
*
* Responsive Navigation by PI:NAME:<NAME>END_PI
*
* Open source under the MIT License.
*
* Copyright © 2013 PI:NAME:<NAME>END_PI. All rights reserved.
*
###
responsiveNavigationIndex = 0
window.delayMenuClose = ''
window.delayNavigationClose = ''
class ResponsiveNavigation
constructor: (el) ->
... |
[
{
"context": "il = Package.email.Email\n\t\t\t\tEmail.send\n\t\t\t\t\tto: 'support@steedos.com'\n\t\t\t\t\tfrom: Accounts.emailTemplates.from\n\t\t\t\t\tsub",
"end": 792,
"score": 0.9999284148216248,
"start": 773,
"tag": "EMAIL",
"value": "support@steedos.com"
}
] | creator/packages/steedos-base/server/methods/billing_settleup.coffee | yicone/steedos-platform | 42 | Meteor.methods
billing_settleup: (accounting_month, space_id="")->
check(accounting_month, String)
check(space_id, String)
user = db.users.findOne({_id: this.userId}, {fields: {is_cloudadmin: 1}})
if not user.is_cloudadmin
return
console.time 'billing'
spaces = []
if space_id
spaces = db.spaces.... | 215986 | Meteor.methods
billing_settleup: (accounting_month, space_id="")->
check(accounting_month, String)
check(space_id, String)
user = db.users.findOne({_id: this.userId}, {fields: {is_cloudadmin: 1}})
if not user.is_cloudadmin
return
console.time 'billing'
spaces = []
if space_id
spaces = db.spaces.... | true | Meteor.methods
billing_settleup: (accounting_month, space_id="")->
check(accounting_month, String)
check(space_id, String)
user = db.users.findOne({_id: this.userId}, {fields: {is_cloudadmin: 1}})
if not user.is_cloudadmin
return
console.time 'billing'
spaces = []
if space_id
spaces = db.spaces.... |
[
{
"context": "### @license\nWishlist\nhttps://github.com/zhanzhenzhen/wishlist\nCopyright 2015 Zhenzhen Zhan\nReleased un",
"end": 53,
"score": 0.9988524317741394,
"start": 41,
"tag": "USERNAME",
"value": "zhanzhenzhen"
},
{
"context": "://github.com/zhanzhenzhen/wishlist\nCopyright ... | src/1.license.coffee | zhanzhenzhen/wishlist | 0 | ### @license
Wishlist
https://github.com/zhanzhenzhen/wishlist
Copyright 2015 Zhenzhen Zhan
Released under the MIT license
###
| 207135 | ### @license
Wishlist
https://github.com/zhanzhenzhen/wishlist
Copyright 2015 <NAME>
Released under the MIT license
###
| true | ### @license
Wishlist
https://github.com/zhanzhenzhen/wishlist
Copyright 2015 PI:NAME:<NAME>END_PI
Released under the MIT license
###
|
[
{
"context": ".SetIndex',\n setup: ->\n @zeke = Batman name: 'Zeke'\n @mary = Batman name: 'Mary'\n @fred = Batm",
"end": 74,
"score": 0.9990407824516296,
"start": 70,
"tag": "NAME",
"value": "Zeke"
},
{
"context": "e = Batman name: 'Zeke'\n @mary = Batman name: 'Mary'\n... | tests/batman/set/set_index_test.coffee | nickjs/batman | 1 | QUnit.module 'Batman.SetIndex',
setup: ->
@zeke = Batman name: 'Zeke'
@mary = Batman name: 'Mary'
@fred = Batman name: 'Fred'
@jill = Batman name: 'Jill'
@byZeke = Batman author: @zeke
@byMary = Batman author: @mary
@byFred = Batman author: @fred
@anotherByFred = Batman author: @fred
... | 61322 | QUnit.module 'Batman.SetIndex',
setup: ->
@zeke = Batman name: '<NAME>'
@mary = Batman name: '<NAME>'
@fred = Batman name: '<NAME>'
@jill = Batman name: '<NAME>'
@byZeke = Batman author: @zeke
@byMary = Batman author: @mary
@byFred = Batman author: @fred
@anotherByFred = Batman author... | true | QUnit.module 'Batman.SetIndex',
setup: ->
@zeke = Batman name: 'PI:NAME:<NAME>END_PI'
@mary = Batman name: 'PI:NAME:<NAME>END_PI'
@fred = Batman name: 'PI:NAME:<NAME>END_PI'
@jill = Batman name: 'PI:NAME:<NAME>END_PI'
@byZeke = Batman author: @zeke
@byMary = Batman author: @mary
@byFred =... |
[
{
"context": "\n# See https://github.com/OAButton/discussion/issues/1516\n\nimport crypto from 'crypt",
"end": 34,
"score": 0.9996805787086487,
"start": 26,
"tag": "USERNAME",
"value": "OAButton"
},
{
"context": " id: af.issn\n meta:\n creator: ['joe+doaj@openaccess... | noddy/service/v2/permissions.coffee | oaworks/API | 2 |
# See https://github.com/OAButton/discussion/issues/1516
import crypto from 'crypto'
import moment from 'moment'
API.add 'service/oab/permissions',
get: () ->
if this.queryParams?.q? or this.queryParams.source? or _.isEmpty this.queryParams
return oab_permissions.search this.queryParams
else
re... | 222735 |
# See https://github.com/OAButton/discussion/issues/1516
import crypto from 'crypto'
import moment from 'moment'
API.add 'service/oab/permissions',
get: () ->
if this.queryParams?.q? or this.queryParams.source? or _.isEmpty this.queryParams
return oab_permissions.search this.queryParams
else
re... | true |
# See https://github.com/OAButton/discussion/issues/1516
import crypto from 'crypto'
import moment from 'moment'
API.add 'service/oab/permissions',
get: () ->
if this.queryParams?.q? or this.queryParams.source? or _.isEmpty this.queryParams
return oab_permissions.search this.queryParams
else
re... |
[
{
"context": "ername: config.customer.username\n password: config.customer.password\n body: @objToXml params.trx\n headers:\n ",
"end": 1490,
"score": 0.9992234110832214,
"start": 1466,
"tag": "PASSWORD",
"value": "config.customer.password"
},
{
"context": " else\n ... | src/genesis/request.coffee | Pogix3m/genesis.js | 0 | _ = require 'underscore'
fs = require 'fs'
path = require 'path'
util = require 'util'
config = require 'config'
js2xml = require 'js2xmlparser'
request = require 'request'
Response = require './response'
Promise = require 'bluebird'
class Request
constructor: ->
@response = new Respo... | 5511 | _ = require 'underscore'
fs = require 'fs'
path = require 'path'
util = require 'util'
config = require 'config'
js2xml = require 'js2xmlparser'
request = require 'request'
Response = require './response'
Promise = require 'bluebird'
class Request
constructor: ->
@response = new Respo... | true | _ = require 'underscore'
fs = require 'fs'
path = require 'path'
util = require 'util'
config = require 'config'
js2xml = require 'js2xmlparser'
request = require 'request'
Response = require './response'
Promise = require 'bluebird'
class Request
constructor: ->
@response = new Respo... |
[
{
"context": "# (c) 2013-2017 Flowhub UG\n# (c) 2011-2012 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 116,
"score": 0.9998551607131958,
"start": 103,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "2017 Flowhub UG\n# (c) 2011-2012 He... | src/lib/Component.coffee | rrothenb/noflo | 0 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2017 Flowhub UG
# (c) 2011-2012 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
{EventEmitter} = require 'events'
ports = require './Ports'
IP = require './IP'
debug = require('debug') 'noflo:component'
debugBrack... | 150093 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2017 Flowhub UG
# (c) 2011-2012 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
{EventEmitter} = require 'events'
ports = require './Ports'
IP = require './IP'
debug = require('debug') 'noflo:component'
debugBrackets = r... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2017 Flowhub UG
# (c) 2011-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
{EventEmitter} = require 'events'
ports = require './Ports'
IP = require './IP'
debug = require('debug') 'noflo:... |
[
{
"context": " [\n id: 'm_4',\n threadID: 't_2',\n threadName: 'Dave and Bill',\n authorName: 'Bill',\n text: 'Hey Dave, want t",
"end": 73,
"score": 0.9651613235473633,
"start": 60,
"tag": "NAME",
"value": "Dave and Bill"
},
{
"context": "2',\n threadName: 'Dave and Bill',\n ... | src/client/chat/message/message-directive_test.coffee | DavidSouther/song-flux-chat | 1 | messages = [
id: 'm_4',
threadID: 't_2',
threadName: 'Dave and Bill',
authorName: 'Bill',
text: 'Hey Dave, want to get a beer after the conference?',
timestamp: Date.now() - 69999
,
id: 'm_5',
threadID: 't_2',
threadName: 'Dave and Bill',
authorName: 'Dave',
text: 'Totally! Meet you at the hotel ... | 6868 | messages = [
id: 'm_4',
threadID: 't_2',
threadName: '<NAME>',
authorName: '<NAME>',
text: 'Hey <NAME>, want to get a beer after the conference?',
timestamp: Date.now() - 69999
,
id: 'm_5',
threadID: 't_2',
threadName: '<NAME>',
authorName: '<NAME>',
text: 'Totally! Meet you at the hotel bar.',
... | true | messages = [
id: 'm_4',
threadID: 't_2',
threadName: 'PI:NAME:<NAME>END_PI',
authorName: 'PI:NAME:<NAME>END_PI',
text: 'Hey PI:NAME:<NAME>END_PI, want to get a beer after the conference?',
timestamp: Date.now() - 69999
,
id: 'm_5',
threadID: 't_2',
threadName: 'PI:NAME:<NAME>END_PI',
authorName: 'PI... |
[
{
"context": "@fileoverview Validate JSX maximum depth\n# @author Chris<wfsr@foxmail.com>\n###\n'use strict'\n\n# -----------",
"end": 63,
"score": 0.9996255040168762,
"start": 58,
"tag": "NAME",
"value": "Chris"
},
{
"context": "erview Validate JSX maximum depth\n# @author Chris<wfs... | src/tests/rules/jsx-max-depth.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Validate JSX maximum depth
# @author Chris<wfsr@foxmail.com>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/ru... | 114618 | ###*
# @fileoverview Validate JSX maximum depth
# @author <NAME><<EMAIL>>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/jsx-... | true | ###*
# @fileoverview Validate JSX maximum depth
# @author PI:NAME:<NAME>END_PI<PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslin... |
[
{
"context": "uire localstorage\n#= require usecase\n\nfullname = \"Pusher Chat\"\ndescription = \"Pusher Chat\"\n\nclass Templates\n m",
"end": 179,
"score": 0.9851713180541992,
"start": 168,
"tag": "NAME",
"value": "Pusher Chat"
},
{
"context": "at: (nick) ->\n\n\nclass @PusherCha... | app/assets/javascripts/pusher_chat.js.coffee | CoffeeDesktop/coffeedesktop-rails | 0 | #Warning: This code contains ugly this
#Warning: You have been warned about this
#= require gui
#= require glue
#= require localstorage
#= require usecase
fullname = "Pusher Chat"
description = "Pusher Chat"
class Templates
main: ->
"<form id='nick_form'>
<h2>Pusher Chat</h2><hr>
Choose your nickname: <... | 121841 | #Warning: This code contains ugly this
#Warning: You have been warned about this
#= require gui
#= require glue
#= require localstorage
#= require usecase
fullname = "<NAME>"
description = "Pusher Chat"
class Templates
main: ->
"<form id='nick_form'>
<h2>Pusher Chat</h2><hr>
Choose your nickname: <input... | true | #Warning: This code contains ugly this
#Warning: You have been warned about this
#= require gui
#= require glue
#= require localstorage
#= require usecase
fullname = "PI:NAME:<NAME>END_PI"
description = "Pusher Chat"
class Templates
main: ->
"<form id='nick_form'>
<h2>Pusher Chat</h2><hr>
Choose your ni... |
[
{
"context": "ypeId: null\n protocol: 3 << 16\n\n constructor: (@user, @database, @options) ->\n\n payload: ->\n pos =",
"end": 977,
"score": 0.6839166283607483,
"start": 973,
"tag": "USERNAME",
"value": "user"
},
{
"context": " when Authentication.methods.MD5_PASSWORD then \"m... | src/frontend_message.coffee | simplereach/node-vertica | 0 | Authentication = require('./authentication')
Buffer = require('./buffer').Buffer
###########################################
# Client messages
###########################################
class FrontendMessage
typeId: null
payload: ->
new Buffer(0)
toBuffer: ->
payloadBuffer = @payload()
... | 93907 | Authentication = require('./authentication')
Buffer = require('./buffer').Buffer
###########################################
# Client messages
###########################################
class FrontendMessage
typeId: null
payload: ->
new Buffer(0)
toBuffer: ->
payloadBuffer = @payload()
... | true | Authentication = require('./authentication')
Buffer = require('./buffer').Buffer
###########################################
# Client messages
###########################################
class FrontendMessage
typeId: null
payload: ->
new Buffer(0)
toBuffer: ->
payloadBuffer = @payload()
... |
[
{
"context": "user.get('id')\n tempUsername = user.get('username')\n fn(err, user.data)\n ))\n rou",
"end": 2029,
"score": 0.981255292892456,
"start": 2021,
"tag": "USERNAME",
"value": "username"
},
{
"context": "kets()\n request.get(\"/user/create?... | gameserver/test/int/models/game-int-test.coffee | towerstorm/game | 11 | app = require('../../../lib/app.coffee')
request = require("supertest")(app)
_ = require 'lodash'
sinon = require 'sinon'
Game = require('../../../models/game.coffee')
tdb = require 'database'
User = tdb.models.User
assert = require 'assert'
sio = require('socket.io')
cio = require('socket.io-client')
xhr = require('so... | 33249 | app = require('../../../lib/app.coffee')
request = require("supertest")(app)
_ = require 'lodash'
sinon = require 'sinon'
Game = require('../../../models/game.coffee')
tdb = require 'database'
User = tdb.models.User
assert = require 'assert'
sio = require('socket.io')
cio = require('socket.io-client')
xhr = require('so... | true | app = require('../../../lib/app.coffee')
request = require("supertest")(app)
_ = require 'lodash'
sinon = require 'sinon'
Game = require('../../../models/game.coffee')
tdb = require 'database'
User = tdb.models.User
assert = require 'assert'
sio = require('socket.io')
cio = require('socket.io-client')
xhr = require('so... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9976466298103333,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-write-callbacks.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... | 82118 | # 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": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998847842216492,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Bundle/TwigBundle/Extension/FunctionExtension.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Security = use('/app/config/security')
TwigExtension = use('@Konsserto/Vendor/Twig/Exte... | 11738 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Security = use('/app/config/security')
TwigExtension = use('@Konsserto/Vendor/Twig/Extension/TwigExtension'... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Security = use('/app/config/security')
TwigExtension = use('@Konsserto/Vendor/... |
[
{
"context": " AccessKeyId: 'KEY'\n SecretAccessKey: 'SECRET'\n SessionToken: 'TOKEN'\n Expirati",
"end": 375,
"score": 0.8467820882797241,
"start": 369,
"tag": "KEY",
"value": "SECRET"
},
{
"context": " AccessKeyId: 'KEY'\n SecretAccessKey: 'SEC... | node_modules/aws-sdk/test/services/sts.spec.coffee | jhford/aws-provisioner | 15 | helpers = require('../helpers')
AWS = helpers.AWS
require('../../lib/services/sts')
describe 'AWS.STS', ->
sts = null
beforeEach ->
sts = new AWS.STS()
describe 'credentialsFrom', ->
it 'creates a TemporaryCredentials object with hydrated data', ->
creds = sts.credentialsFrom Credentials:
... | 10198 | helpers = require('../helpers')
AWS = helpers.AWS
require('../../lib/services/sts')
describe 'AWS.STS', ->
sts = null
beforeEach ->
sts = new AWS.STS()
describe 'credentialsFrom', ->
it 'creates a TemporaryCredentials object with hydrated data', ->
creds = sts.credentialsFrom Credentials:
... | true | helpers = require('../helpers')
AWS = helpers.AWS
require('../../lib/services/sts')
describe 'AWS.STS', ->
sts = null
beforeEach ->
sts = new AWS.STS()
describe 'credentialsFrom', ->
it 'creates a TemporaryCredentials object with hydrated data', ->
creds = sts.credentialsFrom Credentials:
... |
[
{
"context": "tNormalJoe = (done, force) ->\n unittest.getUser('Joe', 'normal@jo.com', 'food', done, force)\nunittest.",
"end": 2340,
"score": 0.8700928688049316,
"start": 2337,
"tag": "USERNAME",
"value": "Joe"
},
{
"context": "Joe = (done, force) ->\n unittest.getUser('Joe', 'nor... | test/server/common.coffee | pougounias/codecombat | 0 | # import this at the top of every file so we're not juggling connections
# and common libraries are available
console.log 'IT BEGINS'
require 'jasmine-spec-reporter'
jasmine.getEnv().defaultTimeoutInterval = 300000
jasmine.getEnv().reporter.subReporters_ = []
jasmine.getEnv().addReporter(new jasmine.SpecReporter({
... | 36263 | # import this at the top of every file so we're not juggling connections
# and common libraries are available
console.log 'IT BEGINS'
require 'jasmine-spec-reporter'
jasmine.getEnv().defaultTimeoutInterval = 300000
jasmine.getEnv().reporter.subReporters_ = []
jasmine.getEnv().addReporter(new jasmine.SpecReporter({
... | true | # import this at the top of every file so we're not juggling connections
# and common libraries are available
console.log 'IT BEGINS'
require 'jasmine-spec-reporter'
jasmine.getEnv().defaultTimeoutInterval = 300000
jasmine.getEnv().reporter.subReporters_ = []
jasmine.getEnv().addReporter(new jasmine.SpecReporter({
... |
[
{
"context": "subteams are working in these tests.\n\nusers: {\n \"herb\": {}\n \"basil\":\n keys:\n default:\n ",
"end": 298,
"score": 0.9924757480621338,
"start": 294,
"tag": "USERNAME",
"value": "herb"
},
{
"context": "working in these tests.\n\nusers: {\n \"herb... | teamchains/inputs/stub_by_revoked.iced | keybase/keybase-test-vectors | 4 | description: "stub a chain link signed by a revoked device, thus invalid"
# Note: this test doesn't actually test inflating.
# Because the loader throws out the whole cache when need_admin turns on.
# This test could be adapted to inflate when subteams are working in these tests.
users: {
"herb": {}
"basil":
k... | 225217 | description: "stub a chain link signed by a revoked device, thus invalid"
# Note: this test doesn't actually test inflating.
# Because the loader throws out the whole cache when need_admin turns on.
# This test could be adapted to inflate when subteams are working in these tests.
users: {
"herb": {}
"basil":
k... | true | description: "stub a chain link signed by a revoked device, thus invalid"
# Note: this test doesn't actually test inflating.
# Because the loader throws out the whole cache when need_admin turns on.
# This test could be adapted to inflate when subteams are working in these tests.
users: {
"herb": {}
"basil":
k... |
[
{
"context": "de wrapper around Node.js net library\n#\n# (C) 2011 Tristan Slominski\n#\nanode = require '../lib/anode'\nnodenet = requir",
"end": 88,
"score": 0.9996618032455444,
"start": 71,
"tag": "NAME",
"value": "Tristan Slominski"
}
] | src/net.coffee | tristanls/anodejs | 3 | #
# net.coffee : anode wrapper around Node.js net library
#
# (C) 2011 Tristan Slominski
#
anode = require '../lib/anode'
nodenet = require 'net'
#
# Initialized net server behavior wrapped around a created server
#
initializedServer_beh = anode.beh 'server'
'cust, #address' : ->
@send( @, '#address', @ser... | 35975 | #
# net.coffee : anode wrapper around Node.js net library
#
# (C) 2011 <NAME>
#
anode = require '../lib/anode'
nodenet = require 'net'
#
# Initialized net server behavior wrapped around a created server
#
initializedServer_beh = anode.beh 'server'
'cust, #address' : ->
@send( @, '#address', @server.address... | true | #
# net.coffee : anode wrapper around Node.js net library
#
# (C) 2011 PI:NAME:<NAME>END_PI
#
anode = require '../lib/anode'
nodenet = require 'net'
#
# Initialized net server behavior wrapped around a created server
#
initializedServer_beh = anode.beh 'server'
'cust, #address' : ->
@send( @, '#address', @... |
[
{
"context": "\n cloudinary.config({api_key:'key',api_secret:'shhh'})\n res = cloudinary.utils.sign_request({param",
"end": 642,
"score": 0.9384742975234985,
"start": 638,
"tag": "KEY",
"value": "shhh"
}
] | node_modules/keystone/node_modules/cloudinary/test/util.coffee | aratinankarplanetria/visintel | 0 | dotenv = require('dotenv')
dotenv.load()
expect = require("expect.js")
cloudinary = require("../cloudinary")
utils = require("../lib/utils")
_ = require("underscore")
Q = require('q')
fs = require('fs')
describe "util", ->
return console.warn("**** Please setup environment for api test to run!") if !cloudinary.confi... | 93248 | dotenv = require('dotenv')
dotenv.load()
expect = require("expect.js")
cloudinary = require("../cloudinary")
utils = require("../lib/utils")
_ = require("underscore")
Q = require('q')
fs = require('fs')
describe "util", ->
return console.warn("**** Please setup environment for api test to run!") if !cloudinary.confi... | true | dotenv = require('dotenv')
dotenv.load()
expect = require("expect.js")
cloudinary = require("../cloudinary")
utils = require("../lib/utils")
_ = require("underscore")
Q = require('q')
fs = require('fs')
describe "util", ->
return console.warn("**** Please setup environment for api test to run!") if !cloudinary.confi... |
[
{
"context": "idate\", () ->\n file = {\n name: 'test',\n size: 4000\n }\n\n resul",
"end": 2487,
"score": 0.9991651773452759,
"start": 2483,
"tag": "NAME",
"value": "test"
},
{
"context": "idate\", () ->\n file = {\n name:... | app/modules/services/attachments.service.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 ... | 123265 | ###
# 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": "':new Date(2012, 9), 'color':'#ff7f0e'}, {'name':'Winter', 'date':new Date(2012,12), 'color':'#7f7f7f'}]\n ",
"end": 1299,
"score": 0.9967656135559082,
"start": 1293,
"tag": "NAME",
"value": "Winter"
}
] | slides/color_seasons/coffee/all.coffee | Nordstrom/stratanyc | 1 |
root = exports ? this
showAll = true
valid_cities = {'seaptl':0, 'fla':0, 'laoc':0, 'sfbay':0,'chi':0,'dc':0, 'all':1}
# showColors = {'Red':1, 'Orange': 1, 'Yellow':1, 'Green':0, 'Blue':0, 'Violet':0, 'Brown':0, 'Black':0}
showColors = {'Red':1, 'Orange': 1, 'Yellow':1, 'Green':0, 'Blue':0, 'Violet':0, 'Brown':0, 'B... | 108947 |
root = exports ? this
showAll = true
valid_cities = {'seaptl':0, 'fla':0, 'laoc':0, 'sfbay':0,'chi':0,'dc':0, 'all':1}
# showColors = {'Red':1, 'Orange': 1, 'Yellow':1, 'Green':0, 'Blue':0, 'Violet':0, 'Brown':0, 'Black':0}
showColors = {'Red':1, 'Orange': 1, 'Yellow':1, 'Green':0, 'Blue':0, 'Violet':0, 'Brown':0, 'B... | true |
root = exports ? this
showAll = true
valid_cities = {'seaptl':0, 'fla':0, 'laoc':0, 'sfbay':0,'chi':0,'dc':0, 'all':1}
# showColors = {'Red':1, 'Orange': 1, 'Yellow':1, 'Green':0, 'Blue':0, 'Violet':0, 'Brown':0, 'Black':0}
showColors = {'Red':1, 'Orange': 1, 'Yellow':1, 'Green':0, 'Blue':0, 'Violet':0, 'Brown':0, 'B... |
[
{
"context": "ear <= 0\n\t\t\t\t\t\ttoCentury += 1\n\t\t\t\t\t\tgrammarKey = \"CENTURY_RANGE_BC\"\n\t\t\t\t\telse\n\t\t\t\t\t\tgrammarKey = \"CENTURY_R",
"end": 16803,
"score": 0.7383214831352234,
"start": 16796,
"tag": "KEY",
"value": "CENTURY"
},
{
"context": "\ttoCentury += 1\n\t\... | src/elements/DateTime/DateTimeRangeGrammar.coffee | programmfabrik/coffeescript-ui | 10 | class CUI.DateTimeRangeGrammar
@REGEXP_DATE = /^[0-9]+[-/.][0-9]+[-/.][0-9]+$/ # Exact date
@REGEXP_MONTH = /^[0-9]+[-/.][0-9]+$/ # Matches if the date has Year and month (no day)
@REGEXP_YEAR = /^\-?[0-9]+$/ # Matches if the date has Year. (no day, no month)
@REGEXP_YEAR_DOT = /^[0-9]+.$/ # Matches Year ending wi... | 192531 | class CUI.DateTimeRangeGrammar
@REGEXP_DATE = /^[0-9]+[-/.][0-9]+[-/.][0-9]+$/ # Exact date
@REGEXP_MONTH = /^[0-9]+[-/.][0-9]+$/ # Matches if the date has Year and month (no day)
@REGEXP_YEAR = /^\-?[0-9]+$/ # Matches if the date has Year. (no day, no month)
@REGEXP_YEAR_DOT = /^[0-9]+.$/ # Matches Year ending wi... | true | class CUI.DateTimeRangeGrammar
@REGEXP_DATE = /^[0-9]+[-/.][0-9]+[-/.][0-9]+$/ # Exact date
@REGEXP_MONTH = /^[0-9]+[-/.][0-9]+$/ # Matches if the date has Year and month (no day)
@REGEXP_YEAR = /^\-?[0-9]+$/ # Matches if the date has Year. (no day, no month)
@REGEXP_YEAR_DOT = /^[0-9]+.$/ # Matches Year ending wi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.