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": "Meteor.roles.upsert\n\tname: 'admin'\n,\n\t$set:\n\t\tname: 'admin'\n\t\tlabel: '管理员'\n\npreinst",
"end": 33,
"score": 0.9711763262748718,
"start": 28,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "eor.roles.upsert\n\tname: 'admin'\n,\n\t$set:\n\t\tname: 'admin'\... | server/seed.coffee | cuijiemmx/alpha | 0 | Meteor.roles.upsert
name: 'admin'
,
$set:
name: 'admin'
label: '管理员'
preinstalledApps = [
online: true
type: 'system'
userTypes: ['teacher']
userRoles: ['admin']
openInNewTab: true
clientId: 'admin'
label: '平台管理'
icon: '/appicons/manage.png'
startupUri: '/admin'
,
online: true
type: 'system'
userType... | 48747 | Meteor.roles.upsert
name: 'admin'
,
$set:
name: 'admin'
label: '管理员'
preinstalledApps = [
online: true
type: 'system'
userTypes: ['teacher']
userRoles: ['admin']
openInNewTab: true
clientId: 'admin'
label: '平台管理'
icon: '/appicons/manage.png'
startupUri: '/admin'
,
online: true
type: 'system'
userType... | true | Meteor.roles.upsert
name: 'admin'
,
$set:
name: 'admin'
label: '管理员'
preinstalledApps = [
online: true
type: 'system'
userTypes: ['teacher']
userRoles: ['admin']
openInNewTab: true
clientId: 'admin'
label: '平台管理'
icon: '/appicons/manage.png'
startupUri: '/admin'
,
online: true
type: 'system'
userType... |
[
{
"context": "###\nCopyright (C) 2012 - 2014 Markus Kohlhase <mail@markus-kohlhase.de>\n###\n\nasync = require '",
"end": 45,
"score": 0.9998950958251953,
"start": 30,
"tag": "NAME",
"value": "Markus Kohlhase"
},
{
"context": "###\nCopyright (C) 2012 - 2014 Markus Kohlhase <mail@mar... | src/Store.coffee | davgit/json-file-store | 1 | ###
Copyright (C) 2012 - 2014 Markus Kohlhase <mail@markus-kohlhase.de>
###
async = require 'async'
fs = require 'fs'
path = require 'path'
uuid = require 'node-uuid'
mkdirp = require 'mkdirp'
clone = require 'clone'
isJSONFile = (f) -> f.substr(-5) is ".json"
removeFileExtension = (f) -> f.split(".json")[0... | 192810 | ###
Copyright (C) 2012 - 2014 <NAME> <<EMAIL>>
###
async = require 'async'
fs = require 'fs'
path = require 'path'
uuid = require 'node-uuid'
mkdirp = require 'mkdirp'
clone = require 'clone'
isJSONFile = (f) -> f.substr(-5) is ".json"
removeFileExtension = (f) -> f.split(".json")[0]
getIDs = (a) -> a.filte... | true | ###
Copyright (C) 2012 - 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
async = require 'async'
fs = require 'fs'
path = require 'path'
uuid = require 'node-uuid'
mkdirp = require 'mkdirp'
clone = require 'clone'
isJSONFile = (f) -> f.substr(-5) is ".json"
removeFileExtension = (f) -> f.split(".json... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998883008956909,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/events.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 192753 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": " usernameOrEmail: null\n passwordVerific: null\n rememberAccount: false\n\n $scope.dataResu",
"end": 370,
"score": 0.8120083212852478,
"start": 366,
"tag": "PASSWORD",
"value": "null"
},
{
"context": "f config.dev\n $scope.data.usernameOrEmail = '... | assets/coffee/appLogin/controllers/_controller_login.coffee | ajenjo/backend-definition | 0 | # _controller_login.coffee
controller 'loginCtrl', [
'$scope'
'$sails'
'log'
'$rootScope'
'controlActivities'
'$location'
],
($scope, $sails, log, $rootScope, controlActivities, $location) ->
# Declara loginError
$scope.loginError = false
logLogin = new log 'Login'
$scope.data =
... | 183396 | # _controller_login.coffee
controller 'loginCtrl', [
'$scope'
'$sails'
'log'
'$rootScope'
'controlActivities'
'$location'
],
($scope, $sails, log, $rootScope, controlActivities, $location) ->
# Declara loginError
$scope.loginError = false
logLogin = new log 'Login'
$scope.data =
... | true | # _controller_login.coffee
controller 'loginCtrl', [
'$scope'
'$sails'
'log'
'$rootScope'
'controlActivities'
'$location'
],
($scope, $sails, log, $rootScope, controlActivities, $location) ->
# Declara loginError
$scope.loginError = false
logLogin = new log 'Login'
$scope.data =
... |
[
{
"context": "## Copyright (c) 2011, Chris Umbel\n##\n## Permission is hereby granted, free of charg",
"end": 34,
"score": 0.9998143315315247,
"start": 23,
"tag": "NAME",
"value": "Chris Umbel"
}
] | src/index_file.coffee | khanali21/wordnet | 3 | ## Copyright (c) 2011, Chris Umbel
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, publish, ... | 36660 | ## Copyright (c) 2011, <NAME>
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, publish, distr... | true | ## Copyright (c) 2011, PI:NAME:<NAME>END_PI
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, ... |
[
{
"context": "The UsersTable shows a list of users.\n\n @author Sebastian Sachtleben\n###\nclass UsersTable extends TableView\n\n\tentity: ",
"end": 118,
"score": 0.9998874664306641,
"start": 98,
"tag": "NAME",
"value": "Sebastian Sachtleben"
},
{
"context": "ity: 'db/users'\n\t\n... | app/assets/javascripts/admin/views/users/table.coffee | ssachtleben/herowar | 1 | TableView = require 'views/tableView'
###
The UsersTable shows a list of users.
@author Sebastian Sachtleben
###
class UsersTable extends TableView
entity: 'api/users'
tableEntity: 'db/users'
fields:
'#' : 'id'
'Username' : 'username'
'Email' : 'email'
'Active' : 'active'
... | 125996 | TableView = require 'views/tableView'
###
The UsersTable shows a list of users.
@author <NAME>
###
class UsersTable extends TableView
entity: 'api/users'
tableEntity: 'db/users'
fields:
'#' : 'id'
'Username' : 'username'
'Email' : 'email'
'Active' : 'active'
'Last Login D... | true | TableView = require 'views/tableView'
###
The UsersTable shows a list of users.
@author PI:NAME:<NAME>END_PI
###
class UsersTable extends TableView
entity: 'api/users'
tableEntity: 'db/users'
fields:
'#' : 'id'
'Username' : 'username'
'Email' : 'email'
'Active' : 'active'
... |
[
{
"context": "r'\n\nSTRATEGIES =\n 'wrong': 'wrongStrategy'\n\nclass Aaron extends Player\n constructor: (gameName) ->\n @",
"end": 102,
"score": 0.962821364402771,
"start": 97,
"tag": "NAME",
"value": "Aaron"
}
] | lib/players/aaron.coffee | peterdemartini/betting-strategies | 0 | _ = require 'lodash'
Player = require './player'
STRATEGIES =
'wrong': 'wrongStrategy'
class Aaron extends Player
constructor: (gameName) ->
@strategies = _.keys STRATEGIES
super(gameName)
@minumum = 1
@winningsPot = 1
@currentBet = 1
wrongStrategy: => 2
setStrategy: (key) =>
@strate... | 2003 | _ = require 'lodash'
Player = require './player'
STRATEGIES =
'wrong': 'wrongStrategy'
class <NAME> extends Player
constructor: (gameName) ->
@strategies = _.keys STRATEGIES
super(gameName)
@minumum = 1
@winningsPot = 1
@currentBet = 1
wrongStrategy: => 2
setStrategy: (key) =>
@strat... | true | _ = require 'lodash'
Player = require './player'
STRATEGIES =
'wrong': 'wrongStrategy'
class PI:NAME:<NAME>END_PI extends Player
constructor: (gameName) ->
@strategies = _.keys STRATEGIES
super(gameName)
@minumum = 1
@winningsPot = 1
@currentBet = 1
wrongStrategy: => 2
setStrategy: (key)... |
[
{
"context": "\"></label>\n <label>Password <input type=\"password\" name=\"password\"></label>\n <button>Sign ",
"end": 857,
"score": 0.9983617663383484,
"start": 849,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " <label>Password <input type=\"passwo... | spec/browser-spec.coffee | crskbel-ca/zombie | 1 | require "./helpers"
{ vows: vows, assert: assert, zombie: zombie, brains: brains } = require("vows")
jsdom = require("jsdom")
brains.get "/scripted", (req, res)-> res.send """
<html>
<head>
<title>Whatever</title>
<script src="/jquery.js"></script>
</head>
<body>Hello World</body>
<scrip... | 27429 | require "./helpers"
{ vows: vows, assert: assert, zombie: zombie, brains: brains } = require("vows")
jsdom = require("jsdom")
brains.get "/scripted", (req, res)-> res.send """
<html>
<head>
<title>Whatever</title>
<script src="/jquery.js"></script>
</head>
<body>Hello World</body>
<scrip... | true | require "./helpers"
{ vows: vows, assert: assert, zombie: zombie, brains: brains } = require("vows")
jsdom = require("jsdom")
brains.get "/scripted", (req, res)-> res.send """
<html>
<head>
<title>Whatever</title>
<script src="/jquery.js"></script>
</head>
<body>Hello World</body>
<scrip... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999209642410278,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/routes.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 11593 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Tony\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\n\n# Project Info\n#",
"end": 146,
"score": 0.9997040033340454,
"start": 142,
"tag": "NAME",
"value": "Tony"
},
{
"context": "er.Info =\n\ttitle: \"Rebound Drag'n'R... | 57drag.framer/app.coffee | gremjua-forks/100daysofframer | 26 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "Tony"
twitter: ""
description: ""
# Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: "Rebound Dr... | 215994 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "<NAME>"
twitter: ""
description: ""
# Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: "Rebound ... | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "PI:NAME:<NAME>END_PI"
twitter: ""
description: ""
# Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
ti... |
[
{
"context": "mary:null, poolSize: 50 },\n\t\treplset: {}\n\t\tuser: 'admin',\n\t\tpass: 'UCLZk2ddmQa8CsH',\n\t\thost: 'localhost'\n",
"end": 155,
"score": 0.9969236850738525,
"start": 150,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "ze: 50 },\n\t\treplset: {}\n\t\tuser: 'ad... | init/database.coffee | winnlab/Optimeal | 0 | mongoose = require 'mongoose'
module.exports = () ->
opts =
server: { auto_reconnect: true, primary:null, poolSize: 50 },
replset: {}
user: 'admin',
pass: 'UCLZk2ddmQa8CsH',
host: 'localhost'
port: '27017'
database: 'Optimeal'
primary: null
opts.server.socketOptions = opts.replset.socketOptions =
... | 95888 | mongoose = require 'mongoose'
module.exports = () ->
opts =
server: { auto_reconnect: true, primary:null, poolSize: 50 },
replset: {}
user: 'admin',
pass: '<PASSWORD>',
host: 'localhost'
port: '27017'
database: 'Optimeal'
primary: null
opts.server.socketOptions = opts.replset.socketOptions =
kee... | true | mongoose = require 'mongoose'
module.exports = () ->
opts =
server: { auto_reconnect: true, primary:null, poolSize: 50 },
replset: {}
user: 'admin',
pass: 'PI:PASSWORD:<PASSWORD>END_PI',
host: 'localhost'
port: '27017'
database: 'Optimeal'
primary: null
opts.server.socketOptions = opts.replset.sock... |
[
{
"context": "tSideValidations::VERSION %>\n# https://github.com/bcardarella/client_side_validations\n#\n# Copyright (c) <%= Dat",
"end": 107,
"score": 0.9996044635772705,
"start": 96,
"tag": "USERNAME",
"value": "bcardarella"
},
{
"context": "dations\n#\n# Copyright (c) <%= DateTime... | coffeescript/rails.validations.coffee | rdd-giga/client_side_validations | 0 | # Rails 3 Client Side Validations - v<%= ClientSideValidations::VERSION %>
# https://github.com/bcardarella/client_side_validations
#
# Copyright (c) <%= DateTime.now.year %> Brian Cardarella
# Licensed under the MIT license
# http://www.opensource.org/licenses/mit-license.php
$ = jQuery
$.fn.disableClientSideValidati... | 127565 | # Rails 3 Client Side Validations - v<%= ClientSideValidations::VERSION %>
# https://github.com/bcardarella/client_side_validations
#
# Copyright (c) <%= DateTime.now.year %> <NAME>
# Licensed under the MIT license
# http://www.opensource.org/licenses/mit-license.php
$ = jQuery
$.fn.disableClientSideValidations = ->
... | true | # Rails 3 Client Side Validations - v<%= ClientSideValidations::VERSION %>
# https://github.com/bcardarella/client_side_validations
#
# Copyright (c) <%= DateTime.now.year %> PI:NAME:<NAME>END_PI
# Licensed under the MIT license
# http://www.opensource.org/licenses/mit-license.php
$ = jQuery
$.fn.disableClientSideVali... |
[
{
"context": "sChrome\n if ua.isMac\n hintKeys = '⌘W, ⌘Q, ⌘N and ⌘T'\n else\n hintKeys = 'Ctrl-N, Ctrl-",
"end": 8720,
"score": 0.9912578463554382,
"start": 8703,
"tag": "KEY",
"value": "⌘W, ⌘Q, ⌘N and ⌘T"
},
{
"context": "⌘Q, ⌘N and ⌘T'\n else\... | src/public/lib/views/settings.coffee | tonistiigi/styler | 18 | define (require, exports, module) ->
ua = require 'ace/lib/useragent'
keys = require 'ace/lib/keys'
{node} = require 'lib/utils'
{addKeyboardListener, formatKeyCommand} = require 'lib/keyboard'
require 'vendor/link!css/settings.css'
Settings = Backbone.View.extend
className: 'overlay'
template:... | 220220 | define (require, exports, module) ->
ua = require 'ace/lib/useragent'
keys = require 'ace/lib/keys'
{node} = require 'lib/utils'
{addKeyboardListener, formatKeyCommand} = require 'lib/keyboard'
require 'vendor/link!css/settings.css'
Settings = Backbone.View.extend
className: 'overlay'
template:... | true | define (require, exports, module) ->
ua = require 'ace/lib/useragent'
keys = require 'ace/lib/keys'
{node} = require 'lib/utils'
{addKeyboardListener, formatKeyCommand} = require 'lib/keyboard'
require 'vendor/link!css/settings.css'
Settings = Backbone.View.extend
className: 'overlay'
template:... |
[
{
"context": "he user specific checklist if successful.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass AuthorizeAppleA",
"end": 719,
"score": 0.9998866319656372,
"start": 707,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/rpc/aircraft/AuthorizeAppleAircraftProductRoute.coffee | qrefdev/qref | 0 | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
###
Service route that performs authentication of Appl... | 193233 | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
###
Service route that performs authentication of Appl... | true | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
###
Service route that performs authentication of Appl... |
[
{
"context": "s\\coffeelint-min-colon-sapcing\nhttps://github.com/scalableminds/coffeelint-min-colon-sapcing\n\nCopyright (c) 2014 ",
"end": 79,
"score": 0.9629538655281067,
"start": 66,
"tag": "USERNAME",
"value": "scalableminds"
},
{
"context": "s/coffeelint-min-colon-sapcing\n\nCo... | index.coffee | scalableminds/coffeelint-min-colon-spacing | 1 | ###
scalableminds\coffeelint-min-colon-sapcing
https://github.com/scalableminds/coffeelint-min-colon-sapcing
Copyright (c) 2014 Tom Herold
Licensed under the MIT license.
###
# Export the Rule handler class
module.exports = require "./src/min_colon_spacing" | 218061 | ###
scalableminds\coffeelint-min-colon-sapcing
https://github.com/scalableminds/coffeelint-min-colon-sapcing
Copyright (c) 2014 <NAME>
Licensed under the MIT license.
###
# Export the Rule handler class
module.exports = require "./src/min_colon_spacing" | true | ###
scalableminds\coffeelint-min-colon-sapcing
https://github.com/scalableminds/coffeelint-min-colon-sapcing
Copyright (c) 2014 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
# Export the Rule handler class
module.exports = require "./src/min_colon_spacing" |
[
{
"context": "#materialKit Module\n#By Kevyn Arnott\n\n# Import framework\nexports.layout = layout = req",
"end": 36,
"score": 0.9998905658721924,
"start": 24,
"tag": "NAME",
"value": "Kevyn Arnott"
}
] | Material Demo.framer/modules/material-kit.coffee | k-vyn/framer-material-kit | 300 | #materialKit Module
#By Kevyn Arnott
# Import framework
exports.layout = layout = require 'material-kit-layout'
exports.lib = library = require 'material-kit-library'
exports.utils = utils = require 'material-kit-utils'
exports.stack = stack = require 'material-kit-stack'
# Setup resources
exports.device = utils.getD... | 86951 | #materialKit Module
#By <NAME>
# Import framework
exports.layout = layout = require 'material-kit-layout'
exports.lib = library = require 'material-kit-library'
exports.utils = utils = require 'material-kit-utils'
exports.stack = stack = require 'material-kit-stack'
# Setup resources
exports.device = utils.getDevice(... | true | #materialKit Module
#By PI:NAME:<NAME>END_PI
# Import framework
exports.layout = layout = require 'material-kit-layout'
exports.lib = library = require 'material-kit-library'
exports.utils = utils = require 'material-kit-utils'
exports.stack = stack = require 'material-kit-stack'
# Setup resources
exports.device = ut... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999222159385681,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/controllers/duplicate_experiment_modal_ctrl.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 116697 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": " = @slackbot.robot\n @slackbot.options.token = \"ABC123\"\n @slackbot.run() -\n logger.logs[\"error\"].l",
"end": 1324,
"score": 0.9569025039672852,
"start": 1318,
"tag": "KEY",
"value": "ABC123"
},
{
"context": "le', ->\n msg = 'Test'\n @slackbot.send {r... | test/bot.coffee | fabchia/hubot | 0 | should = require 'should'
{Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, Message, CatchAllMessage, Robot, Listener} = require.main.require 'hubot'
ReactionMessage = require '../src/reaction-message'
SlackClient = require '../src/client'
SlackTextMessage = require '../src/slack-message'
describe 'Adap... | 176611 | should = require 'should'
{Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, Message, CatchAllMessage, Robot, Listener} = require.main.require 'hubot'
ReactionMessage = require '../src/reaction-message'
SlackClient = require '../src/client'
SlackTextMessage = require '../src/slack-message'
describe 'Adap... | true | should = require 'should'
{Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, Message, CatchAllMessage, Robot, Listener} = require.main.require 'hubot'
ReactionMessage = require '../src/reaction-message'
SlackClient = require '../src/client'
SlackTextMessage = require '../src/slack-message'
describe 'Adap... |
[
{
"context": "ation1()\n FormattedID: 'S12345'\n Name: 'Hello Kitty Story'\n Description: 'foo bunny'\n ObjectID: 7",
"end": 17223,
"score": 0.9637987017631531,
"start": 17206,
"tag": "NAME",
"value": "Hello Kitty Story"
}
] | test/spec/iterationplanningboard/IterationPlanningBoardAppSpec.coffee | RallyHackathon/app-catalog | 1 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.ui.cardboard.CardBoard'
'Rally.ui.gridboard.plugin.GridBoardArtifactTypeChooser'
'Rally.util.Array'
'Rally.util.DateTime'
]
describe 'Rally.apps.iterationplanningboard.IterationPlanningBoardApp', ->
helpers
cardSelector: '.rui-card'
createApp: (o... | 50950 | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.ui.cardboard.CardBoard'
'Rally.ui.gridboard.plugin.GridBoardArtifactTypeChooser'
'Rally.util.Array'
'Rally.util.DateTime'
]
describe 'Rally.apps.iterationplanningboard.IterationPlanningBoardApp', ->
helpers
cardSelector: '.rui-card'
createApp: (o... | true | Ext = window.Ext4 || window.Ext
Ext.require [
'Rally.ui.cardboard.CardBoard'
'Rally.ui.gridboard.plugin.GridBoardArtifactTypeChooser'
'Rally.util.Array'
'Rally.util.DateTime'
]
describe 'Rally.apps.iterationplanningboard.IterationPlanningBoardApp', ->
helpers
cardSelector: '.rui-card'
createApp: (o... |
[
{
"context": "\tmatching = matching + 1\n\t\treturn matching\n\t\n\t\t\n\t#JOHNSON\n\tunblock: (u) ->\n\t\t@blocked[u.id] = false\n\t\twhile",
"end": 1794,
"score": 0.9840040802955627,
"start": 1787,
"tag": "NAME",
"value": "JOHNSON"
}
] | src/scripts/services/amgHelper.coffee | rizziemma/apo | 0 | class @AmgHelper
constructor: () ->
@pairX
@pairY
@Dist
@num
@p
@partition
@blocked
@A
@B
@stack
@circuitFound
@s
findSharedPlaces: (net) ->
shared = []
others = []
for p in net.nodes when p.type is "place"
if net.getPostset(p).length > 1
shared.push(p)
else
others.... | 207426 | class @AmgHelper
constructor: () ->
@pairX
@pairY
@Dist
@num
@p
@partition
@blocked
@A
@B
@stack
@circuitFound
@s
findSharedPlaces: (net) ->
shared = []
others = []
for p in net.nodes when p.type is "place"
if net.getPostset(p).length > 1
shared.push(p)
else
others.... | true | class @AmgHelper
constructor: () ->
@pairX
@pairY
@Dist
@num
@p
@partition
@blocked
@A
@B
@stack
@circuitFound
@s
findSharedPlaces: (net) ->
shared = []
others = []
for p in net.nodes when p.type is "place"
if net.getPostset(p).length > 1
shared.push(p)
else
others.... |
[
{
"context": "strong> is developed by <a href='http://k20e.com'>Kris Molendyke</a>. It is <a href='http://www.opensource.org/lic",
"end": 689,
"score": 0.9998733997344971,
"start": 675,
"tag": "NAME",
"value": "Kris Molendyke"
},
{
"context": "e code is available at <a href='http://g... | views/about.coffee | krismolendyke/traphicam | 0 | # About view.
view about: ->
div 'data-role': 'page', ->
div 'data-role': 'header', ->
h1 'About traphicam'
div 'data-role': 'content', ->
div -> """
<strong>traphicam.com</strong> provides a simple interface to view the Philadelphia region's traffic cameras. The traffic came... | 141481 | # About view.
view about: ->
div 'data-role': 'page', ->
div 'data-role': 'header', ->
h1 'About traphicam'
div 'data-role': 'content', ->
div -> """
<strong>traphicam.com</strong> provides a simple interface to view the Philadelphia region's traffic cameras. The traffic came... | true | # About view.
view about: ->
div 'data-role': 'page', ->
div 'data-role': 'header', ->
h1 'About traphicam'
div 'data-role': 'content', ->
div -> """
<strong>traphicam.com</strong> provides a simple interface to view the Philadelphia region's traffic cameras. The traffic came... |
[
{
"context": " @_super()\n\n user = new User(firstName: \"Lance\")\n assert.equal user.get('firstName'), \"Lanc",
"end": 2915,
"score": 0.9998173713684082,
"start": 2910,
"tag": "NAME",
"value": "Lance"
},
{
"context": "ance\")\n assert.equal user.get('firstName'),... | test/cases/support/shared/emberTest.coffee | jivagoalves/tower | 1 | describe 'Tower + Ember', ->
###
#before ->
# global.window = global # tmp ember hack
#
#after ->
# delete global.window
test 'coffeescript subclasses == ember subclasses', ->
A1 = Ember.Object.extend()
B1 = A1.extend()
C1 = B1.extend()
C2 = B1.extend()
B2 = A1.extend()
C3 = B2.e... | 73266 | describe 'Tower + Ember', ->
###
#before ->
# global.window = global # tmp ember hack
#
#after ->
# delete global.window
test 'coffeescript subclasses == ember subclasses', ->
A1 = Ember.Object.extend()
B1 = A1.extend()
C1 = B1.extend()
C2 = B1.extend()
B2 = A1.extend()
C3 = B2.e... | true | describe 'Tower + Ember', ->
###
#before ->
# global.window = global # tmp ember hack
#
#after ->
# delete global.window
test 'coffeescript subclasses == ember subclasses', ->
A1 = Ember.Object.extend()
B1 = A1.extend()
C1 = B1.extend()
C2 = B1.extend()
B2 = A1.extend()
C3 = B2.e... |
[
{
"context": "= JSON.parse(body)\n b parsed.params.name, 'joe'\n b parsed.query.q, 't'\n b parsed.q",
"end": 3574,
"score": 0.9954882860183716,
"start": 3571,
"tag": "NAME",
"value": "joe"
},
{
"context": "= JSON.parse(body)\n b parsed.params.name, 'joe'\n... | test/server.coffee | Zolmeister/zock | 3 | b = require 'b-assert'
http = require 'http'
https = require 'https'
zock = require '../src'
describe 'http', ->
it 'should get', (done) ->
request = zock
.base('http://baseurl.com')
.get('/test')
.reply(200, {hello: 'world'})
.nodeRequest()
opts =
hostname: 'baseurl.com'
... | 216979 | b = require 'b-assert'
http = require 'http'
https = require 'https'
zock = require '../src'
describe 'http', ->
it 'should get', (done) ->
request = zock
.base('http://baseurl.com')
.get('/test')
.reply(200, {hello: 'world'})
.nodeRequest()
opts =
hostname: 'baseurl.com'
... | true | b = require 'b-assert'
http = require 'http'
https = require 'https'
zock = require '../src'
describe 'http', ->
it 'should get', (done) ->
request = zock
.base('http://baseurl.com')
.get('/test')
.reply(200, {hello: 'world'})
.nodeRequest()
opts =
hostname: 'baseurl.com'
... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998563528060913,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/nuggetselector.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
# This plugin handles the selection from a list of previously associated nuggets
((jQuery) ->
jQuery.widget 'IKS.hallonuggetselector',
widget: null
selec... | 104533 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin handles the selection from a list of previously associated nuggets
((jQuery) ->
jQuery.widget 'IKS.hallonuggetselector',
widget: null
selectables:... | 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
# This plugin handles the selection from a list of previously associated nuggets
((jQuery) ->
jQuery.widget 'IKS.hallonuggetselector',
widget: null
... |
[
{
"context": ".\n charat_str = new Array(5)\n charat_str[0] = \"0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF012345... | deps/v8/test/mjsunit/string-external-cached.coffee | lxe/io.coffee | 0 | # Copyright 2010 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... | 158379 | # Copyright 2010 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... | true | # Copyright 2010 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... |
[
{
"context": "et et sw=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i@binux.me>\n# http://binux.me\n# Created o",
"end": 64,
"score": 0.9840574264526367,
"start": 59,
"tag": "USERNAME",
"value": "Binux"
},
{
"context": "w=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i... | web/static/coffee/har/editor.coffee | glqf/qiandao | 0 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<i@binux.me>
# http://binux.me
# Created on 2014-08-01 11:02:45
define (require, exports, module) ->
require '/static/har/contenteditable'
require '/static/har/upload_ctrl'
require '/static/har/entry_list'
require '/static/har/entry_editor... | 152602 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<<EMAIL>>
# http://binux.me
# Created on 2014-08-01 11:02:45
define (require, exports, module) ->
require '/static/har/contenteditable'
require '/static/har/upload_ctrl'
require '/static/har/entry_list'
require '/static/har/entry_editor'
... | true | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<PI:EMAIL:<EMAIL>END_PI>
# http://binux.me
# Created on 2014-08-01 11:02:45
define (require, exports, module) ->
require '/static/har/contenteditable'
require '/static/har/upload_ctrl'
require '/static/har/entry_list'
require '/static/har/... |
[
{
"context": "redentials.user\n pass: options.credentials.password\n\n mailOptions = \n from: options.message.f",
"end": 293,
"score": 0.7287279963493347,
"start": 285,
"tag": "PASSWORD",
"value": "password"
}
] | src/lib/email.coffee | assignittous/knodeo_courier | 0 | # email.coffee
nodemailer = require "nodemailer"
logger = require("knodeo-logger").Logger
exports.email = {
send: (options)->
transporter = nodemailer.createTransport
service: 'Gmail'
auth:
user: options.credentials.user
pass: options.credentials.password
mailOptions =
... | 121257 | # email.coffee
nodemailer = require "nodemailer"
logger = require("knodeo-logger").Logger
exports.email = {
send: (options)->
transporter = nodemailer.createTransport
service: 'Gmail'
auth:
user: options.credentials.user
pass: options.credentials.<PASSWORD>
mailOptions =
... | true | # email.coffee
nodemailer = require "nodemailer"
logger = require("knodeo-logger").Logger
exports.email = {
send: (options)->
transporter = nodemailer.createTransport
service: 'Gmail'
auth:
user: options.credentials.user
pass: options.credentials.PI:PASSWORD:<PASSWORD>END_PI
m... |
[
{
"context": "\"\n postal_code: '10012'\n name: 'Artsy'\n street: '401 Broadway'\n routes.",
"end": 2418,
"score": 0.9996161460876465,
"start": 2413,
"tag": "NAME",
"value": "Artsy"
}
] | src/desktop/apps/order/test/routes.coffee | kanaabe/force | 1 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
routes = require '../routes'
CurrentUser = require '../../../models/current_user.coffee'
{ fabricate } = require 'antigravity'
describe 'Order routes', ->
beforeEach ->
@req = { params: {}, user: new CurrentUser fabricate 'user' }
... | 37874 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
routes = require '../routes'
CurrentUser = require '../../../models/current_user.coffee'
{ fabricate } = require 'antigravity'
describe 'Order routes', ->
beforeEach ->
@req = { params: {}, user: new CurrentUser fabricate 'user' }
... | true | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
routes = require '../routes'
CurrentUser = require '../../../models/current_user.coffee'
{ fabricate } = require 'antigravity'
describe 'Order routes', ->
beforeEach ->
@req = { params: {}, user: new CurrentUser fabricate 'user' }
... |
[
{
"context": "er', () ->\n\tuser = new core.User({ \n\t\t\tusername: 'userteste', \n\t\t\tpassword: 'userteste', \n\t\t\temail: 'teste@te",
"end": 187,
"score": 0.9997113347053528,
"start": 178,
"tag": "USERNAME",
"value": "userteste"
},
{
"context": ".User({ \n\t\t\tusername: 'usert... | test/test.coffee | nextorigin/flat-white | 0 | core = require('../blog_core')
assert = require("assert")
core.config.dbUrl = 'mongodb://localhost:27017/blog_test'
describe('User', () ->
user = new core.User({
username: 'userteste',
password: 'userteste',
email: 'teste@teste.com',
admin: false
})
describe('#save()', () ->
it('should not have er... | 67046 | core = require('../blog_core')
assert = require("assert")
core.config.dbUrl = 'mongodb://localhost:27017/blog_test'
describe('User', () ->
user = new core.User({
username: 'userteste',
password: '<PASSWORD>',
email: '<EMAIL>',
admin: false
})
describe('#save()', () ->
it('should not have errors', ... | true | core = require('../blog_core')
assert = require("assert")
core.config.dbUrl = 'mongodb://localhost:27017/blog_test'
describe('User', () ->
user = new core.User({
username: 'userteste',
password: 'PI:PASSWORD:<PASSWORD>END_PI',
email: 'PI:EMAIL:<EMAIL>END_PI',
admin: false
})
describe('#save()', () -... |
[
{
"context": ",\n url: '/api/updatepass',\n data: {pwd: $('#new-pass').val(), conf: $('#conf-pass').val()})\n .done (d",
"end": 1821,
"score": 0.9726904034614563,
"start": 1813,
"tag": "PASSWORD",
"value": "new-pass"
}
] | web/coffee/account.coffee | zwade/CTF-Platform | 0 | window.load_group_memberships = ->
$.ajax(type: 'GET', dataType: 'json', url: '/api/groups')
.done (data) ->
html = "<div class=\"control-group\">"
if data.length == 0
html+= """<p class="text-info">You are currently not a member of any groups.</p>"""
else
for g in data
if g['owner'... | 124405 | window.load_group_memberships = ->
$.ajax(type: 'GET', dataType: 'json', url: '/api/groups')
.done (data) ->
html = "<div class=\"control-group\">"
if data.length == 0
html+= """<p class="text-info">You are currently not a member of any groups.</p>"""
else
for g in data
if g['owner'... | true | window.load_group_memberships = ->
$.ajax(type: 'GET', dataType: 'json', url: '/api/groups')
.done (data) ->
html = "<div class=\"control-group\">"
if data.length == 0
html+= """<p class="text-info">You are currently not a member of any groups.</p>"""
else
for g in data
if g['owner'... |
[
{
"context": "m example.\", createdAt: Date.now(), displayName: \"Craig\" },\n { _id: String(_id++), text: \"Try editing,",
"end": 237,
"score": 0.9957287311553955,
"start": 232,
"tag": "NAME",
"value": "Craig"
},
{
"context": "a comment!\", createdAt: Date.now(), displayName: \"C... | app/server/plugins/chatroomExample/index.coffee | mojo-js/mojojs.com | 0 | parseBody = require "body-parser"
xss = require "xss"
module.exports = (app) ->
_id = 1
messages = [
{ _id: String(_id++), text: "Welcome! This is a simple chatroom example.", createdAt: Date.now(), displayName: "Craig" },
{ _id: String(_id++), text: "Try editing, or adding a comment!", createdAt... | 67695 | parseBody = require "body-parser"
xss = require "xss"
module.exports = (app) ->
_id = 1
messages = [
{ _id: String(_id++), text: "Welcome! This is a simple chatroom example.", createdAt: Date.now(), displayName: "<NAME>" },
{ _id: String(_id++), text: "Try editing, or adding a comment!", createdA... | true | parseBody = require "body-parser"
xss = require "xss"
module.exports = (app) ->
_id = 1
messages = [
{ _id: String(_id++), text: "Welcome! This is a simple chatroom example.", createdAt: Date.now(), displayName: "PI:NAME:<NAME>END_PI" },
{ _id: String(_id++), text: "Try editing, or adding a comme... |
[
{
"context": "##\n * Federated Wiki : Node Server\n *\n * Copyright Ward Cunningham and other contributors\n * Licensed under the MIT ",
"end": 67,
"score": 0.9998774528503418,
"start": 52,
"tag": "NAME",
"value": "Ward Cunningham"
},
{
"context": "nsed under the MIT license.\n * htt... | farm.coffee | jpietrok-pnnl/wiki | 1 | ###
* Federated Wiki : Node Server
*
* Copyright Ward Cunningham and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki/blob/master/LICENSE.txt
###
# **farm.coffee**
# The farm module works by putting a bouncy host based proxy
# in front of servers that it creates
path = requi... | 1479 | ###
* Federated Wiki : Node Server
*
* Copyright <NAME> and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki/blob/master/LICENSE.txt
###
# **farm.coffee**
# The farm module works by putting a bouncy host based proxy
# in front of servers that it creates
path = require 'path'... | true | ###
* Federated Wiki : Node Server
*
* Copyright PI:NAME:<NAME>END_PI and other contributors
* Licensed under the MIT license.
* https://github.com/fedwiki/wiki/blob/master/LICENSE.txt
###
# **farm.coffee**
# The farm module works by putting a bouncy host based proxy
# in front of servers that it creates
path = ... |
[
{
"context": " [iOrder](http://neocotic.com/iOrder) \n# (c) 2013 Alasdair Mercer \n# Freely distributable under the MIT license. ",
"end": 67,
"score": 0.999872088432312,
"start": 52,
"tag": "NAME",
"value": "Alasdair Mercer"
}
] | chrome/src/lib/popup.coffee | neocotic/iOrder | 0 | # [iOrder](http://neocotic.com/iOrder)
# (c) 2013 Alasdair Mercer
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/iOrder>
# Private variables
# -----------------
# Easily accessible reference analytics, internationalization, logging, store, utilities, ... | 160547 | # [iOrder](http://neocotic.com/iOrder)
# (c) 2013 <NAME>
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/iOrder>
# Private variables
# -----------------
# Easily accessible reference analytics, internationalization, logging, store, utilities, and to
# ... | true | # [iOrder](http://neocotic.com/iOrder)
# (c) 2013 PI:NAME:<NAME>END_PI
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/iOrder>
# Private variables
# -----------------
# Easily accessible reference analytics, internationalization, logging, store, utilit... |
[
{
"context": "bject spread property over Object.assign\n# @author Sharmila Jesupaul\n# See LICENSE file in root directory for full lic",
"end": 98,
"score": 0.9998680353164673,
"start": 81,
"tag": "NAME",
"value": "Sharmila Jesupaul"
}
] | src/rules/prefer-object-spread.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prefers object spread property over Object.assign
# @author Sharmila Jesupaul
# See LICENSE file in root directory for full license.
###
'use strict'
{CALL, ReferenceTracker} = require 'eslint-utils'
###*
# Helper that checks if the Object.assign call has array spread
# @param {ASTNode} node - T... | 140720 | ###*
# @fileoverview Prefers object spread property over Object.assign
# @author <NAME>
# See LICENSE file in root directory for full license.
###
'use strict'
{CALL, ReferenceTracker} = require 'eslint-utils'
###*
# Helper that checks if the Object.assign call has array spread
# @param {ASTNode} node - The node tha... | true | ###*
# @fileoverview Prefers object spread property over Object.assign
# @author PI:NAME:<NAME>END_PI
# See LICENSE file in root directory for full license.
###
'use strict'
{CALL, ReferenceTracker} = require 'eslint-utils'
###*
# Helper that checks if the Object.assign call has array spread
# @param {ASTNode} node ... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998874664306641,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/resources/projects.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 149885 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "t'\nWxMsg = require './src'\n\nconf =\n token: '112Ecdc1iY'\n aesKey: 'SZjGYWat8iOle7bZJ8pqmkzurUBld0xDfPAwj",
"end": 84,
"score": 0.9945874214172363,
"start": 74,
"tag": "KEY",
"value": "112Ecdc1iY"
},
{
"context": " './src'\n\nconf =\n token: '112Ecdc1iY'\n a... | test.coffee | lusionx/wechat-msg-crypt | 0 | assert = require 'assert'
WxMsg = require './src'
conf =
token: '112Ecdc1iY'
aesKey: 'SZjGYWat8iOle7bZJ8pqmkzurUBld0xDfPAwjEELLU0'
appId: 'wx6d745422f1fb6108'
do ->
wx = new WxMsg conf.token, conf.aesKey, conf.appId
xml = "
<xml>
<ToUserName><![CDATA[gh_c6cd7f443d76]]></ToUserName>
<Encrypt>... | 29552 | assert = require 'assert'
WxMsg = require './src'
conf =
token: '<KEY>'
aesKey: '<KEY>'
appId: 'wx6d745422f1fb6108'
do ->
wx = new WxMsg conf.token, conf.aesKey, conf.appId
xml = "
<xml>
<ToUserName><![CDATA[gh_c6cd7f443d76]]></ToUserName>
<Encrypt><![CDATA[+<KEY>]]></Encrypt>
</xml>"
pa... | true | assert = require 'assert'
WxMsg = require './src'
conf =
token: 'PI:KEY:<KEY>END_PI'
aesKey: 'PI:KEY:<KEY>END_PI'
appId: 'wx6d745422f1fb6108'
do ->
wx = new WxMsg conf.token, conf.aesKey, conf.appId
xml = "
<xml>
<ToUserName><![CDATA[gh_c6cd7f443d76]]></ToUserName>
<Encrypt><![CDATA[+PI:KEY:... |
[
{
"context": "h item++ and decrement with item--\n#\n# Author:\n# Jeremy Brown <jeremy@tenfourty.com>\n#\n\nmodule.exports = (robot",
"end": 291,
"score": 0.9998626708984375,
"start": 279,
"tag": "NAME",
"value": "Jeremy Brown"
},
{
"context": "crement with item--\n#\n# Author:\n# ... | src/counter.coffee | tenfourty/hubot-counter | 1 | # Description:
# This script allows hubot to count whenever you ++ or -- something, for example:
# coffee++
# coffee: 1
#
# Commands:
# hubot get count <item> - get the current count of <item> you can increment with item++ and decrement with item--
#
# Author:
# Jeremy Brown <jeremy@tenfourty.com>
#
mo... | 65758 | # Description:
# This script allows hubot to count whenever you ++ or -- something, for example:
# coffee++
# coffee: 1
#
# Commands:
# hubot get count <item> - get the current count of <item> you can increment with item++ and decrement with item--
#
# Author:
# <NAME> <<EMAIL>>
#
module.exports = (rob... | true | # Description:
# This script allows hubot to count whenever you ++ or -- something, for example:
# coffee++
# coffee: 1
#
# Commands:
# hubot get count <item> - get the current count of <item> you can increment with item++ and decrement with item--
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END... |
[
{
"context": "\n# hubot duracel now\n#\n# Commands:\n#\n# Author:\n# Rick van Es\n\nmodule.exports = (robot) ->\n\n robot.respond /du",
"end": 224,
"score": 0.9998476505279541,
"start": 213,
"tag": "NAME",
"value": "Rick van Es"
}
] | scripts/duracel.coffee | orekers/bot-zero | 0 | # Description:
# Find active processes on an instance.
#
# Dependencies:
# None
#
# Configuration
# Change the script if you want to exeute a different command
# hubot duracel now
#
# Commands:
#
# Author:
# Rick van Es
module.exports = (robot) ->
robot.respond /duracel (.*)$/i, (msg) ->
message = msg.matc... | 221706 | # Description:
# Find active processes on an instance.
#
# Dependencies:
# None
#
# Configuration
# Change the script if you want to exeute a different command
# hubot duracel now
#
# Commands:
#
# Author:
# <NAME>
module.exports = (robot) ->
robot.respond /duracel (.*)$/i, (msg) ->
message = msg.match[1]
... | true | # Description:
# Find active processes on an instance.
#
# Dependencies:
# None
#
# Configuration
# Change the script if you want to exeute a different command
# hubot duracel now
#
# Commands:
#
# Author:
# PI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.respond /duracel (.*)$/i, (msg) ->
message =... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998930096626282,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/database/migrations/2021060500002-create-articles.coffee | AbdelhakimRafik/Project | 1 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date June 2021
###
###
Create articles table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Articles',
id:
allowNull: false
... | 111544 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date June 2021
###
###
Create articles table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Articles',
id:
allowNull: false
autoIncrement: tr... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date June 2021
###
###
Create articles table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Articles',
id:
allowNull:... |
[
{
"context": "ralized file\nuserFixture =\n id: 1\n first_name: 'Dane'\n last_name: 'Thurber'\n username: 'dane.thurber",
"end": 117,
"score": 0.9995502233505249,
"start": 113,
"tag": "NAME",
"value": "Dane"
},
{
"context": "ture =\n id: 1\n first_name: 'Dane'\n last_name: 'Th... | server/controllers/auth.coffee | jaketrent/night | 0 | jwt = require 'jsonwebtoken'
# TODO: move user fixture to centralized file
userFixture =
id: 1
first_name: 'Dane'
last_name: 'Thurber'
username: 'dane.thurber'
password: 'password'
module.exports =
token: (req, res) ->
user =
username: req?.body?.username
password: req?.body?.password
... | 57485 | jwt = require 'jsonwebtoken'
# TODO: move user fixture to centralized file
userFixture =
id: 1
first_name: '<NAME>'
last_name: '<NAME>'
username: 'dane.thurber'
password: '<PASSWORD>'
module.exports =
token: (req, res) ->
user =
username: req?.body?.username
password: req?.body?.password
... | true | jwt = require 'jsonwebtoken'
# TODO: move user fixture to centralized file
userFixture =
id: 1
first_name: 'PI:NAME:<NAME>END_PI'
last_name: 'PI:NAME:<NAME>END_PI'
username: 'dane.thurber'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
module.exports =
token: (req, res) ->
user =
username: req?.body?... |
[
{
"context": "###\n * https://github.com/jkuetemeier/gulp-tasks-common\n *\n * Copyright (c) 2014 Jörg K",
"end": 37,
"score": 0.9993346929550171,
"start": 26,
"tag": "USERNAME",
"value": "jkuetemeier"
},
{
"context": "temeier/gulp-tasks-common\n *\n * Copyright (c) 2014 Jörg Kütemei... | test/tasks/jshint.test.coffee | kuetemeier/gulp-tasks-common | 0 | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 Jörg Kütemeier
* Licensed under the MIT license.
###
require 'coffee-errors'
requireUncached = require '../tools/requireuncached'
chai = require 'chai'
sinon = require 'sinon'
expect = chai.expect
chai.use require 'sinon-chai'
_ = req... | 40961 | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
require 'coffee-errors'
requireUncached = require '../tools/requireuncached'
chai = require 'chai'
sinon = require 'sinon'
expect = chai.expect
chai.use require 'sinon-chai'
_ = require 'lo... | true | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
require 'coffee-errors'
requireUncached = require '../tools/requireuncached'
chai = require 'chai'
sinon = require 'sinon'
expect = chai.expect
chai.use require 'sinon-chai'
_... |
[
{
"context": "sCudKK1dWGeyeYVUA/y5AmBhsh8+QqMNb4EHksvtTYRxpcdoFFKCCx5ZCOgD9xofgOcAm8UgbrGpzlMX7aOdKmMMAEGAve1tgUcA92Sa+kKs6V5Xz4GQBIl1KV3gN/AN2Azevlx8k3ZjoGOl3ThO9SmC9HJPxCeuPDm1ovPQiFtm9l9MxuZ2X7AYYssY9tAK8C5L9uGMA/zDpx2gQ/e6c4CZKvAoZeJh8BqAHfmJdF7soIxHVKm5ROwl3OyAhxp/4sUra3ksHvy4UuQcET2oJ9QfLhtYa6Ap9Irra3nsHX... | bokehjs/src/coffee/tool/actions/object_explorer_tool.coffee | tswicegood/bokeh | 0 | define [
"underscore",
"jquery",
"bootstrap/modal",
"common/collection",
"widget/object_explorer",
"./action_tool",
"./object_explorer_tool_template",
], (_, $, $$1, Collection, ObjectExplorer, ActionTool, object_explorer_tool_template) ->
class ObjectExplorerToolView extends ActionTool.View
classN... | 34821 | define [
"underscore",
"jquery",
"bootstrap/modal",
"common/collection",
"widget/object_explorer",
"./action_tool",
"./object_explorer_tool_template",
], (_, $, $$1, Collection, ObjectExplorer, ActionTool, object_explorer_tool_template) ->
class ObjectExplorerToolView extends ActionTool.View
classN... | true | define [
"underscore",
"jquery",
"bootstrap/modal",
"common/collection",
"widget/object_explorer",
"./action_tool",
"./object_explorer_tool_template",
], (_, $, $$1, Collection, ObjectExplorer, ActionTool, object_explorer_tool_template) ->
class ObjectExplorerToolView extends ActionTool.View
classN... |
[
{
"context": "\nclass duck\n constructor: (name = 'Anonimous') ->\n @name = name\n quack: ->\n @",
"end": 47,
"score": 0.9983266592025757,
"start": 38,
"tag": "NAME",
"value": "Anonimous"
},
{
"context": "quack: ->\n @name + ' Duck: Quack-quack!'\n\ndonald ... | spec/fixtures/camel_case_classes/invalid.coffee | dopustim/coffeelint-config | 0 |
class duck
constructor: (name = 'Anonimous') ->
@name = name
quack: ->
@name + ' Duck: Quack-quack!'
donald = new duck 'Donald'
console.log donald.quack()
| 8074 |
class duck
constructor: (name = '<NAME>') ->
@name = name
quack: ->
@name + ' Duck: Quack-quack!'
d<NAME>d = new duck '<NAME>'
console.log donald.quack()
| true |
class duck
constructor: (name = 'PI:NAME:<NAME>END_PI') ->
@name = name
quack: ->
@name + ' Duck: Quack-quack!'
dPI:NAME:<NAME>END_PId = new duck 'PI:NAME:<NAME>END_PI'
console.log donald.quack()
|
[
{
"context": "scopeName: \"source.oberon\"\nname: \"Oberon\"\nfileTypes: [\"m\"]\nfirstLineMatch: \"MODULE\\\\s+\\\\w+",
"end": 40,
"score": 0.7059962153434753,
"start": 35,
"tag": "NAME",
"value": "beron"
}
] | grammars/oberon.cson | calintat/language-oberon | 4 | scopeName: "source.oberon"
name: "Oberon"
fileTypes: ["m"]
firstLineMatch: "MODULE\\s+\\w+;"
patterns: [
{
begin: "\\(\\*"
end: "\\*\\)"
name: "comment.oberon"
}
{
match: "\\.|,|;"
name: "punctuation.oberon"
}
{
match: "\\b([0-9]+\\.[0-9]*((E|D)[+-]?[... | 163691 | scopeName: "source.oberon"
name: "O<NAME>"
fileTypes: ["m"]
firstLineMatch: "MODULE\\s+\\w+;"
patterns: [
{
begin: "\\(\\*"
end: "\\*\\)"
name: "comment.oberon"
}
{
match: "\\.|,|;"
name: "punctuation.oberon"
}
{
match: "\\b([0-9]+\\.[0-9]*((E|D)[+-]?... | true | scopeName: "source.oberon"
name: "OPI:NAME:<NAME>END_PI"
fileTypes: ["m"]
firstLineMatch: "MODULE\\s+\\w+;"
patterns: [
{
begin: "\\(\\*"
end: "\\*\\)"
name: "comment.oberon"
}
{
match: "\\.|,|;"
name: "punctuation.oberon"
}
{
match: "\\b([0-9]+\\.[0-... |
[
{
"context": "= require('casper').create()\ncasper.start 'http://127.0.0.1:8080/doc/contact.html', ->\n @fill 'form#contact_",
"end": 66,
"score": 0.7682102918624878,
"start": 57,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "tml', ->\n @fill 'form#contact_form',\n ... | test/form.coffee | CALIL-archives/haika.js | 0 | casper = require('casper').create()
casper.start 'http://127.0.0.1:8080/doc/contact.html', ->
@fill 'form#contact_form',
email: 'contact@calil.jp',
category: 'ご質問',
content: 'これはフォームのテストです。'
, true
casper.run() | 3058 | casper = require('casper').create()
casper.start 'http://127.0.0.1:8080/doc/contact.html', ->
@fill 'form#contact_form',
email: '<EMAIL>',
category: 'ご質問',
content: 'これはフォームのテストです。'
, true
casper.run() | true | casper = require('casper').create()
casper.start 'http://127.0.0.1:8080/doc/contact.html', ->
@fill 'form#contact_form',
email: 'PI:EMAIL:<EMAIL>END_PI',
category: 'ご質問',
content: 'これはフォームのテストです。'
, true
casper.run() |
[
{
"context": "# simlulate key change\n form.name.value = 'john'\n $(form.name).trigger('keyup')\n ex",
"end": 381,
"score": 0.9984563589096069,
"start": 377,
"tag": "NAME",
"value": "john"
},
{
"context": "rialize').andCallFake(->\n return 'name=john d... | yacs/static/global/specs/liveform_spec.coffee | louy2/YACS | 10 | describe 'liveform', ->
it 'should invoke callback when form changes', ->
form = document.createElement('form')
form.action = '/'
form.method = 'POST'
$(form).append('<input type="text" name="name" value="" />')
spy = jasmine.createSpy()
liveform(form, changed: spy)
... | 38135 | describe 'liveform', ->
it 'should invoke callback when form changes', ->
form = document.createElement('form')
form.action = '/'
form.method = 'POST'
$(form).append('<input type="text" name="name" value="" />')
spy = jasmine.createSpy()
liveform(form, changed: spy)
... | true | describe 'liveform', ->
it 'should invoke callback when form changes', ->
form = document.createElement('form')
form.action = '/'
form.method = 'POST'
$(form).append('<input type="text" name="name" value="" />')
spy = jasmine.createSpy()
liveform(form, changed: spy)
... |
[
{
"context": "#################\n# Copyright (C) 2014-2017 by Vaughn Iverson\n# fileCollection is free software released un",
"end": 124,
"score": 0.9997919797897339,
"start": 110,
"tag": "NAME",
"value": "Vaughn Iverson"
}
] | src/gridFS.coffee | swiftcourt/meteor-file-collection | 0 | ############################################################################
# Copyright (C) 2014-2017 by Vaughn Iverson
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################... | 148560 | ############################################################################
# Copyright (C) 2014-2017 by <NAME>
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
import... | true | ############################################################################
# Copyright (C) 2014-2017 by PI:NAME:<NAME>END_PI
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
######################################################################... |
[
{
"context": "{\n angular: [\n { key: 'data.uuid' }\n ]\n}\n",
"end": 36,
"score": 0.9541370868682861,
"start": 27,
"tag": "KEY",
"value": "data.uuid"
}
] | src/jobs/get-device/form.cson | octoblu/endo-meshblu | 0 | {
angular: [
{ key: 'data.uuid' }
]
}
| 90574 | {
angular: [
{ key: '<KEY>' }
]
}
| true | {
angular: [
{ key: 'PI:KEY:<KEY>END_PI' }
]
}
|
[
{
"context": "###\nCopyright (c) 2014 Ramesh Nair (hiddentao.com)\n\nPermission is hereby granted, fr",
"end": 34,
"score": 0.9998832941055298,
"start": 23,
"tag": "NAME",
"value": "Ramesh Nair"
},
{
"context": "ion': ->\n e = squel.expr().and(\"s.name <> 'Fred'\")\n as... | test/baseclasses.test.coffee | martianboy/squel | 0 | ###
Copyright (c) 2014 Ramesh Nair (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish... | 170822 | ###
Copyright (c) 2014 <NAME> (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, dis... | true | ###
Copyright (c) 2014 PI:NAME:<NAME>END_PI (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge... |
[
{
"context": "enre> - <genre>しばりで<text>のお薦めを表示する\n#\n# Author:\n# yagizombie <yanagihara+zombie@brainpad.co.jp>\n\nhttp = requir",
"end": 358,
"score": 0.9996575117111206,
"start": 348,
"tag": "USERNAME",
"value": "yagizombie"
},
{
"context": "e>しばりで<text>のお薦めを表示する\n#\n# Author:\n#... | src/conomi-location.coffee | yagizombie/hubot-conomi-location | 0 | # Description
# お店の情報を取得する
# http://developer.yahoo.co.jp/webapi/map/openlocalplatform/v1/localsearch.html
#
# Configuration:
# CONOMI_YD_APP_ID Yahoo! JAPANのWebサービスを利用するためのアプリケーションID
#
# Commands:
# hubot お薦め - (白金台の)お薦めを表示する
# hubot <text>のお薦め - <text>のお薦めを表示する
# hubot <text>のお薦めの<genre> - <genre>しばりで<tex... | 76220 | # Description
# お店の情報を取得する
# http://developer.yahoo.co.jp/webapi/map/openlocalplatform/v1/localsearch.html
#
# Configuration:
# CONOMI_YD_APP_ID Yahoo! JAPANのWebサービスを利用するためのアプリケーションID
#
# Commands:
# hubot お薦め - (白金台の)お薦めを表示する
# hubot <text>のお薦め - <text>のお薦めを表示する
# hubot <text>のお薦めの<genre> - <genre>しばりで<tex... | true | # Description
# お店の情報を取得する
# http://developer.yahoo.co.jp/webapi/map/openlocalplatform/v1/localsearch.html
#
# Configuration:
# CONOMI_YD_APP_ID Yahoo! JAPANのWebサービスを利用するためのアプリケーションID
#
# Commands:
# hubot お薦め - (白金台の)お薦めを表示する
# hubot <text>のお薦め - <text>のお薦めを表示する
# hubot <text>のお薦めの<genre> - <genre>しばりで<tex... |
[
{
"context": "'#camera-username').val()\n data.camera_password = $('#camera-password').val()\n data.snapshot = $('#snapshot').val()\n ",
"end": 22298,
"score": 0.9513958692550659,
"start": 22279,
"tag": "PASSWORD",
"value": "$('#camera-password"
},
{
"context": "()\n data.camera_... | data/coffeescript/0181a3fd93393955757a065d36625b83_info.js.coffee | maxim5/code-inspector | 5 | previous = undefined
map_loaded = false
xhrRequestPortCheck = null
port = null
rtsp_port = null
flag = true
sendAJAXRequest = (settings) ->
token = $('meta[name="csrf-token"]')
if token.size() > 0
headers =
"X-CSRF-Token": token.attr("content")
settings.headers = headers
xhrRequestChangeMonth = jQu... | 155582 | previous = undefined
map_loaded = false
xhrRequestPortCheck = null
port = null
rtsp_port = null
flag = true
sendAJAXRequest = (settings) ->
token = $('meta[name="csrf-token"]')
if token.size() > 0
headers =
"X-CSRF-Token": token.attr("content")
settings.headers = headers
xhrRequestChangeMonth = jQu... | true | previous = undefined
map_loaded = false
xhrRequestPortCheck = null
port = null
rtsp_port = null
flag = true
sendAJAXRequest = (settings) ->
token = $('meta[name="csrf-token"]')
if token.size() > 0
headers =
"X-CSRF-Token": token.attr("content")
settings.headers = headers
xhrRequestChangeMonth = jQu... |
[
{
"context": "s.config\n appId: 'abc'\n appSecret: 'xyz'\n\n spyOn(Nylas.accounts.connection, 'request",
"end": 411,
"score": 0.6575911641120911,
"start": 408,
"tag": "KEY",
"value": "xyz"
},
{
"context": "Fake -> Promise.resolve([{\n \"account_id\": \"8rilm... | spec/management-account-spec.coffee | lever/nylas-nodejs | 0 | Nylas = require '../nylas'
NylasConnection = require '../nylas-connection'
Promise = require 'bluebird'
request = require 'request'
_ = require 'underscore'
describe "ManagementAccount", ->
beforeEach ->
Promise.onPossiblyUnhandledRejection (e, promise) ->
describe "list", ->
it "should do a GET request t... | 113855 | Nylas = require '../nylas'
NylasConnection = require '../nylas-connection'
Promise = require 'bluebird'
request = require 'request'
_ = require 'underscore'
describe "ManagementAccount", ->
beforeEach ->
Promise.onPossiblyUnhandledRejection (e, promise) ->
describe "list", ->
it "should do a GET request t... | true | Nylas = require '../nylas'
NylasConnection = require '../nylas-connection'
Promise = require 'bluebird'
request = require 'request'
_ = require 'underscore'
describe "ManagementAccount", ->
beforeEach ->
Promise.onPossiblyUnhandledRejection (e, promise) ->
describe "list", ->
it "should do a GET request t... |
[
{
"context": "le node url', (done) ->\n config =\n user: 'someuser'\n password: 'somepass'\n host: 'abcde',\n",
"end": 410,
"score": 0.9996274709701538,
"start": 402,
"tag": "USERNAME",
"value": "someuser"
},
{
"context": " config =\n user: 'someuser'\n pa... | test/url-builder.coffee | hashirama3141805/mongodb-migrations | 277 | mm = require '../src/mongodb-migrations'
urlBuilder = require '../src/url-builder'
describe 'Url Builder', ->
it 'uses the url as given', (done) ->
config =
url: 'mongodb://aaa.bb.ccc:27101/some-db?ssl=true'
connString = urlBuilder.buildMongoConnString config
connString.should.be.equal config.url... | 187011 | mm = require '../src/mongodb-migrations'
urlBuilder = require '../src/url-builder'
describe 'Url Builder', ->
it 'uses the url as given', (done) ->
config =
url: 'mongodb://aaa.bb.ccc:27101/some-db?ssl=true'
connString = urlBuilder.buildMongoConnString config
connString.should.be.equal config.url... | true | mm = require '../src/mongodb-migrations'
urlBuilder = require '../src/url-builder'
describe 'Url Builder', ->
it 'uses the url as given', (done) ->
config =
url: 'mongodb://aaa.bb.ccc:27101/some-db?ssl=true'
connString = urlBuilder.buildMongoConnString config
connString.should.be.equal config.url... |
[
{
"context": "te('set', name: 'Explore this bidness top', key: '0hello', id: 'def') ])\n\n _.last(Backbone.sync.args)",
"end": 3669,
"score": 0.9716371297836304,
"start": 3663,
"tag": "KEY",
"value": "0hello"
}
] | test/feature.coffee | joeyAghion/artsy-backbone-mixins | 0 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
FeatureMixin = require '../lib/feature.coffee'
Fetch = require '../lib/fetch.coffee'
{ fabricate } = require 'antigravity'
class SaleArtwork extends Backbone.Model
class FeaturedSet extends Backbone.Model
class FeaturedLinks extends Back... | 94692 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
FeatureMixin = require '../lib/feature.coffee'
Fetch = require '../lib/fetch.coffee'
{ fabricate } = require 'antigravity'
class SaleArtwork extends Backbone.Model
class FeaturedSet extends Backbone.Model
class FeaturedLinks extends Back... | true | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
FeatureMixin = require '../lib/feature.coffee'
Fetch = require '../lib/fetch.coffee'
{ fabricate } = require 'antigravity'
class SaleArtwork extends Backbone.Model
class FeaturedSet extends Backbone.Model
class FeaturedLinks extends Back... |
[
{
"context": "nt To Public\n# License, Version 3, as published by Devin Weaver. See\n# http://tritarget.org/wywtpl/COPYING for mo",
"end": 252,
"score": 0.9997434616088867,
"start": 240,
"tag": "NAME",
"value": "Devin Weaver"
}
] | src/app.coffee | sukima/1424-images | 1 | # This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What You Want To Public
# License, Version 3, as published by Devin Weaver. See
# http://tritarget.org/wywtpl/COPYING for more details.
expres... | 193554 | # This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What You Want To Public
# License, Version 3, as published by <NAME>. See
# http://tritarget.org/wywtpl/COPYING for more details.
express = re... | true | # This program is free software. It comes without any warranty, to
# the extent permitted by applicable law. You can redistribute it
# and/or modify it under the terms of the Do What You Want To Public
# License, Version 3, as published by PI:NAME:<NAME>END_PI. See
# http://tritarget.org/wywtpl/COPYING for more details... |
[
{
"context": "dLogger\n additionalFields:\n project_key: 'ensureDefaultAttributes'\n logConfig:\n name: \"#{package_json.name}",
"end": 891,
"score": 0.633463442325592,
"start": 868,
"tag": "KEY",
"value": "ensureDefaultAttributes"
}
] | test/ensure-default-attributes.spec.coffee | sphereio/sphere-product-import | 5 | _ = require 'underscore'
_.mixin require 'underscore-mixins'
{EnsureDefaultAttributes} = require '../lib'
{ExtendedLogger} = require 'sphere-node-utils'
package_json = require '../package.json'
defaultAttributes = [
name: 'defaultAttribute1'
value: 'attributeValue1'
,
name: 'defaultAttribute2'
value: 'attribut... | 209710 | _ = require 'underscore'
_.mixin require 'underscore-mixins'
{EnsureDefaultAttributes} = require '../lib'
{ExtendedLogger} = require 'sphere-node-utils'
package_json = require '../package.json'
defaultAttributes = [
name: 'defaultAttribute1'
value: 'attributeValue1'
,
name: 'defaultAttribute2'
value: 'attribut... | true | _ = require 'underscore'
_.mixin require 'underscore-mixins'
{EnsureDefaultAttributes} = require '../lib'
{ExtendedLogger} = require 'sphere-node-utils'
package_json = require '../package.json'
defaultAttributes = [
name: 'defaultAttribute1'
value: 'attributeValue1'
,
name: 'defaultAttribute2'
value: 'attribut... |
[
{
"context": "--------------\n# Copyright Joe Drago 2018.\n# Distributed under the Boost Softw",
"end": 123,
"score": 0.9998267292976379,
"start": 114,
"tag": "NAME",
"value": "Joe Drago"
},
{
"context": "s = []\n\n scrollElements.push div {\n ... | lib/templates/src/coffee/InfoPanel.coffee | TEAMCHINA/colorist | 0 | # ---------------------------------------------------------------------------
# Copyright Joe Drago 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#... | 63925 | # ---------------------------------------------------------------------------
# Copyright <NAME> 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# --... | true | # ---------------------------------------------------------------------------
# Copyright PI:NAME:<NAME>END_PI 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE... |
[
{
"context": "sing Paypal.\n Please contact <a href='mailto:billing@koding.com'>billing@koding.com</a>.\n \"\n @existingCredi",
"end": 6835,
"score": 0.9999244809150696,
"start": 6817,
"tag": "EMAIL",
"value": "billing@koding.com"
},
{
"context": "lease contact <a href='ma... | client/app/lib/payment/paymentform.coffee | ezgikaysi/koding | 1 | # PaymentForm contains the input fields that are required
# to make a purchase: Credit card number, CVC etc.
# It uses stripe.js for custom validations. If the inputs
# pass validation, it emits `PaymentSubmitted` event with
# the user inputted values.
#
# TODO: There are more than enough free month checks
# either ref... | 161516 | # PaymentForm contains the input fields that are required
# to make a purchase: Credit card number, CVC etc.
# It uses stripe.js for custom validations. If the inputs
# pass validation, it emits `PaymentSubmitted` event with
# the user inputted values.
#
# TODO: There are more than enough free month checks
# either ref... | true | # PaymentForm contains the input fields that are required
# to make a purchase: Credit card number, CVC etc.
# It uses stripe.js for custom validations. If the inputs
# pass validation, it emits `PaymentSubmitted` event with
# the user inputted values.
#
# TODO: There are more than enough free month checks
# either ref... |
[
{
"context": "name\" name=\"nickname\" ref=\"nickname\" placeholder=\"Přezdívka\" tabIndex=\"1\" />\r\n\t\t\t\t\t</div>\r\n\t\t\t\t</div>\r\n\t\t\t\t<d",
"end": 1293,
"score": 0.8989256620407104,
"start": 1284,
"tag": "NAME",
"value": "Přezdívka"
}
] | karty-frontend/src/js/login.cjsx | BS-Harou/karty-proti-lidskosti | 1 | React = require 'react'
ReactDOM = require 'react-dom'
PureRenderMixin = require 'react-addons-pure-render-mixin'
css = require '../css/login.styl'
module.exports = React.createClass
mixins: [PureRenderMixin]
getDefaultProps: ->
displayName: 'Login'
componentDidMount: ->
@refs.nickname.focus()
... | 10594 | React = require 'react'
ReactDOM = require 'react-dom'
PureRenderMixin = require 'react-addons-pure-render-mixin'
css = require '../css/login.styl'
module.exports = React.createClass
mixins: [PureRenderMixin]
getDefaultProps: ->
displayName: 'Login'
componentDidMount: ->
@refs.nickname.focus()
... | true | React = require 'react'
ReactDOM = require 'react-dom'
PureRenderMixin = require 'react-addons-pure-render-mixin'
css = require '../css/login.styl'
module.exports = React.createClass
mixins: [PureRenderMixin]
getDefaultProps: ->
displayName: 'Login'
componentDidMount: ->
@refs.nickname.focus()
... |
[
{
"context": "xtends LayerInfo\n @shouldParse: (key) -> key is 'SoCo'\n\n constructor: (layer, length) ->\n super(lay",
"end": 177,
"score": 0.9856770038604736,
"start": 173,
"tag": "KEY",
"value": "SoCo"
}
] | lib/psd/layer_info/solid_color.coffee | LoginovIlya/psd.js | 2,218 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class SolidColor extends LayerInfo
@shouldParse: (key) -> key is 'SoCo'
constructor: (layer, length) ->
super(layer, length)
@r = @g = @b = 0
parse: ->
@file.seek 4, true
@data = new Descrip... | 205890 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class SolidColor extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
constructor: (layer, length) ->
super(layer, length)
@r = @g = @b = 0
parse: ->
@file.seek 4, true
@data = new Descri... | true | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
module.exports = class SolidColor extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
constructor: (layer, length) ->
super(layer, length)
@r = @g = @b = 0
parse: ->
@file.seek 4, true
@data... |
[
{
"context": " ngParseRequestConfig.sessionToken = 'testSessionToken'\n request = new NgParseRequest oth",
"end": 6681,
"score": 0.9305860996246338,
"start": 6665,
"tag": "PASSWORD",
"value": "testSessionToken"
}
] | test/Request.spec.coffee | leonardfactory/ng-parse | 1 | describe 'NgParse.Request', ->
NgParseRequest = null
ngParseRequestConfig = null
resOptions = null
userOptions = null
queryOptions = null
otherOptions = null
$http = null
$httpBackend = null
beforeEach ->
angular.mock.module 'ngParse', ($provide) ->
... | 129872 | describe 'NgParse.Request', ->
NgParseRequest = null
ngParseRequestConfig = null
resOptions = null
userOptions = null
queryOptions = null
otherOptions = null
$http = null
$httpBackend = null
beforeEach ->
angular.mock.module 'ngParse', ($provide) ->
... | true | describe 'NgParse.Request', ->
NgParseRequest = null
ngParseRequestConfig = null
resOptions = null
userOptions = null
queryOptions = null
otherOptions = null
$http = null
$httpBackend = null
beforeEach ->
angular.mock.module 'ngParse', ($provide) ->
... |
[
{
"context": "l.createConnection ({\n\thost: 'localhost',\n\tuser: 'scott',\n\tpassword: 'tiger123'\n\t})\n\nconnection.query ('U",
"end": 1432,
"score": 0.9995605945587158,
"start": 1427,
"tag": "USERNAME",
"value": "scott"
},
{
"context": "{\n\thost: 'localhost',\n\tuser: 'scott',\... | maria/coffee/create/maria_create.coffee | ekzemplaro/data_base_language | 3 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# maria_create.coffee
#
# Apr/07/2017
#
# ---------------------------------------------------------------
mysql = require('mysql')
text_manipulate= require ('/var/www/data_base/common/coffee_common/text_manipulate')
# ------------... | 67762 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# maria_create.coffee
#
# Apr/07/2017
#
# ---------------------------------------------------------------
mysql = require('mysql')
text_manipulate= require ('/var/www/data_base/common/coffee_common/text_manipulate')
# ------------... | true | #! /usr/bin/coffee
# ---------------------------------------------------------------
# maria_create.coffee
#
# Apr/07/2017
#
# ---------------------------------------------------------------
mysql = require('mysql')
text_manipulate= require ('/var/www/data_base/common/coffee_common/text_manipulate')
# ------------... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999138712882996,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmapset-page/beatmap-picker.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 { BeatmapSelection } from './beatmap-selection'
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React.create... | 194208 | # 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 { BeatmapSelection } from './beatmap-selection'
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React.createElement... | 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 { BeatmapSelection } from './beatmap-selection'
import * as React from 'react'
import { div } from 'react-dom-factories'
el = Reac... |
[
{
"context": "output) ->)->\n\t\tUser.findById user_id, \"first_name last_name\", (error, user)->\n\t\t\treturn callback(error) if er",
"end": 4078,
"score": 0.7333442568778992,
"start": 4069,
"tag": "NAME",
"value": "last_name"
},
{
"context": "\tdata =\n\t\t\t\t\tproject_name: proj... | app/coffee/Features/Project/ProjectCreationHandler.coffee | dtu-compute/web-sharelatex | 0 | logger = require('logger-sharelatex')
async = require("async")
metrics = require('metrics-sharelatex')
Settings = require('settings-sharelatex')
ObjectId = require('mongoose').Types.ObjectId
Project = require('../../models/Project').Project
Folder = require('../../models/Folder').Folder
ProjectEntityUpdateHandler = req... | 186643 | logger = require('logger-sharelatex')
async = require("async")
metrics = require('metrics-sharelatex')
Settings = require('settings-sharelatex')
ObjectId = require('mongoose').Types.ObjectId
Project = require('../../models/Project').Project
Folder = require('../../models/Folder').Folder
ProjectEntityUpdateHandler = req... | true | logger = require('logger-sharelatex')
async = require("async")
metrics = require('metrics-sharelatex')
Settings = require('settings-sharelatex')
ObjectId = require('mongoose').Types.ObjectId
Project = require('../../models/Project').Project
Folder = require('../../models/Folder').Folder
ProjectEntityUpdateHandler = req... |
[
{
"context": ") =>\n return (key, args...) =>\n keys = key.toString().split(\".\")\n res = @_[lang]\n if lang not of @_\n ",
"end": 584,
"score": 0.868441104888916,
"start": 563,
"tag": "KEY",
"value": "toString().split(\".\")"
}
] | srcs/translator.coffee | AlynxZhou/hikaru-coffee | 0 | {format} = require("util")
Promise = require("bluebird")
{isObject, isArray, isString} = require("./utils")
class Translator
constructor: (logger) ->
@logger = logger
@_ = {}
register: (lang, obj) =>
if not isObject(obj)
throw new TypeError(
"obj must be a Object generated from yaml lang... | 26948 | {format} = require("util")
Promise = require("bluebird")
{isObject, isArray, isString} = require("./utils")
class Translator
constructor: (logger) ->
@logger = logger
@_ = {}
register: (lang, obj) =>
if not isObject(obj)
throw new TypeError(
"obj must be a Object generated from yaml lang... | true | {format} = require("util")
Promise = require("bluebird")
{isObject, isArray, isString} = require("./utils")
class Translator
constructor: (logger) ->
@logger = logger
@_ = {}
register: (lang, obj) =>
if not isObject(obj)
throw new TypeError(
"obj must be a Object generated from yaml lang... |
[
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed under the Apach",
"end": 35,
"score": 0.9998155832290649,
"start": 24,
"tag": "NAME",
"value": "Dan Elliott"
},
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed ... | clients/www/src/coffee/handler/isadore_current_data_setup_tab.coffee | bluthen/isadore_server | 0 | # Copyright 2010-2019 Dan Elliott, Russell Valentine
#
# 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 appl... | 99027 | # Copyright 2010-2019 <NAME>, <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | true | # Copyright 2010-2019 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... |
[
{
"context": " message: 'Unknown user'\n else if password != user.password\n logger.debug 'Invalid password'\n d",
"end": 718,
"score": 0.880154550075531,
"start": 705,
"tag": "PASSWORD",
"value": "user.password"
}
] | backend/utils/auth.coffee | rao1219/Vedio | 0 | LocalStrategy = require('passport-local').Strategy
passport = require 'passport'
db = require '../models'
logger = require('../utils/log').newConsoleLogger module.filename
initPassport = (passport) ->
passport.serializeUser (user, done) -> done null, user.id
passport.deserializeUser (id, done) ->
db.User
... | 27356 | LocalStrategy = require('passport-local').Strategy
passport = require 'passport'
db = require '../models'
logger = require('../utils/log').newConsoleLogger module.filename
initPassport = (passport) ->
passport.serializeUser (user, done) -> done null, user.id
passport.deserializeUser (id, done) ->
db.User
... | true | LocalStrategy = require('passport-local').Strategy
passport = require 'passport'
db = require '../models'
logger = require('../utils/log').newConsoleLogger module.filename
initPassport = (passport) ->
passport.serializeUser (user, done) -> done null, user.id
passport.deserializeUser (id, done) ->
db.User
... |
[
{
"context": "###*\n* Defined a base actor\n*\n* @author David Jegat <david.jegat@gmail.com>\n###\nclass BaseActor exten",
"end": 51,
"score": 0.9998868703842163,
"start": 40,
"tag": "NAME",
"value": "David Jegat"
},
{
"context": "*\n* Defined a base actor\n*\n* @author David Jegat <... | src/Actor/BaseActor.coffee | Djeg/MicroRacing | 1 | ###*
* Defined a base actor
*
* @author David Jegat <david.jegat@gmail.com>
###
class BaseActor extends BaseCollector
###*
* @constructor
* @param {string} name
###
constructor: (name, order) ->
@order = order
@name = name
@game = null
@input = null
@graphics = null
@scen... | 56311 | ###*
* Defined a base actor
*
* @author <NAME> <<EMAIL>>
###
class BaseActor extends BaseCollector
###*
* @constructor
* @param {string} name
###
constructor: (name, order) ->
@order = order
@name = name
@game = null
@input = null
@graphics = null
@scene = null
@mo... | true | ###*
* Defined a base actor
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
class BaseActor extends BaseCollector
###*
* @constructor
* @param {string} name
###
constructor: (name, order) ->
@order = order
@name = name
@game = null
@input = null
@graphics = null... |
[
{
"context": "fast')\n\t\t\t\n\t\t\t# process sign-in\n\t\t\tusername = $('#username').val()\n\t\t\tpassword = $('#password').val()\n\t\t\trem",
"end": 506,
"score": 0.9389387369155884,
"start": 498,
"tag": "USERNAME",
"value": "username"
},
{
"context": "username = $('#username').va... | src/login.coffee | roobin/StaticSite | 1 |
require ['app/auth', 'util/admin-redirect'], (auth) ->
# view code
$ ->
$('body').fadeIn()
$('div.alert').hide()
siteName = location.pathname.split('/')[1];
if siteName is 'websights'
$('a.cancel').remove()
else
$('a.cancel').attr('href', 'http://' + siteName + '/');
$('#site-name').text(site... | 154904 |
require ['app/auth', 'util/admin-redirect'], (auth) ->
# view code
$ ->
$('body').fadeIn()
$('div.alert').hide()
siteName = location.pathname.split('/')[1];
if siteName is 'websights'
$('a.cancel').remove()
else
$('a.cancel').attr('href', 'http://' + siteName + '/');
$('#site-name').text(site... | true |
require ['app/auth', 'util/admin-redirect'], (auth) ->
# view code
$ ->
$('body').fadeIn()
$('div.alert').hide()
siteName = location.pathname.split('/')[1];
if siteName is 'websights'
$('a.cancel').remove()
else
$('a.cancel').attr('href', 'http://' + siteName + '/');
$('#site-name').text(site... |
[
{
"context": "mber',\n id: 12\n firstName: 'Shin'\n age: 29\n registeredAt: ne",
"end": 316,
"score": 0.9997392892837524,
"start": 312,
"tag": "NAME",
"value": "Shin"
},
{
"context": "me: 'ingress' }\n { id: 3, name: 'Shogi' ... | spec/lib/base-model.coffee | CureApp/base-domain | 37 |
{ BaseModel, Entity, BaseList, BaseSyncRepository, BaseAsyncRepository } = Facade = require('../base-domain')
describe 'BaseModel', ->
beforeEach ->
@facade = require('../create-facade').create('domain')
@member = @facade.createModel 'member',
id: 12
firstName: 'Shin'
... | 160741 |
{ BaseModel, Entity, BaseList, BaseSyncRepository, BaseAsyncRepository } = Facade = require('../base-domain')
describe 'BaseModel', ->
beforeEach ->
@facade = require('../create-facade').create('domain')
@member = @facade.createModel 'member',
id: 12
firstName: '<NAME>'
... | true |
{ BaseModel, Entity, BaseList, BaseSyncRepository, BaseAsyncRepository } = Facade = require('../base-domain')
describe 'BaseModel', ->
beforeEach ->
@facade = require('../create-facade').create('domain')
@member = @facade.createModel 'member',
id: 12
firstName: 'PI:NAME:... |
[
{
"context": " = opts.afterEach\n @data = {}\n for key in ['session', 'schedule']\n if opts[key]?\n @data[k",
"end": 2263,
"score": 0.614621639251709,
"start": 2256,
"tag": "KEY",
"value": "session"
}
] | tests/libs/messenger.coffee | evanhuang8/teresa | 0 | chai = require 'chai'
chai.config.includeStack = true
should = chai.should()
_ = require 'lodash'
moment = require 'moment-timezone'
Q = require 'q'
supertest = require 'co-supertest'
request = supertest.agent
xml2js = require 'xml2js'
parseXML = Q.denodeify xml2js.parseString
db = require '../../src/db'
generator =... | 199445 | chai = require 'chai'
chai.config.includeStack = true
should = chai.should()
_ = require 'lodash'
moment = require 'moment-timezone'
Q = require 'q'
supertest = require 'co-supertest'
request = supertest.agent
xml2js = require 'xml2js'
parseXML = Q.denodeify xml2js.parseString
db = require '../../src/db'
generator =... | true | chai = require 'chai'
chai.config.includeStack = true
should = chai.should()
_ = require 'lodash'
moment = require 'moment-timezone'
Q = require 'q'
supertest = require 'co-supertest'
request = supertest.agent
xml2js = require 'xml2js'
parseXML = Q.denodeify xml2js.parseString
db = require '../../src/db'
generator =... |
[
{
"context": "ckup =\n users:\n \"simplelogin:2\":\n name: \"Test\"\n email: \"test@test.com\"\n\n \"simplelogin:1",
"end": 129,
"score": 0.5971856713294983,
"start": 125,
"tag": "NAME",
"value": "Test"
},
{
"context": "\"simplelogin:2\":\n name: \"Test\"\n ... | src/app/firebase/offline.coffee | anandthakker/yawpcow | 1 | angular.module("firebase.offline", [
]).value("firebaseOffline", firebaseBackup =
users:
"simplelogin:2":
name: "Test"
email: "test@test.com"
"simplelogin:1":
name: "Thakker"
email: "thakker@gmail.com"
links:
v1:
"-JDgs007jpAtvgcj6uvV":
description: "Test Reading"... | 126703 | angular.module("firebase.offline", [
]).value("firebaseOffline", firebaseBackup =
users:
"simplelogin:2":
name: "<NAME>"
email: "<EMAIL>"
"simplelogin:1":
name: "<NAME>"
email: "<EMAIL>"
links:
v1:
"-JDgs007jpAtvgcj6uvV":
description: "Test Reading"
"-JDlpQ... | true | angular.module("firebase.offline", [
]).value("firebaseOffline", firebaseBackup =
users:
"simplelogin:2":
name: "PI:NAME:<NAME>END_PI"
email: "PI:EMAIL:<EMAIL>END_PI"
"simplelogin:1":
name: "PI:NAME:<NAME>END_PI"
email: "PI:EMAIL:<EMAIL>END_PI"
links:
v1:
"-JDgs007jpAtvgc... |
[
{
"context": "set('workspace'), c.core['prefix']\n for key in ['bin', 'etc', 'lib', 'tmp', 'var', 'log']\n c.core[k",
"end": 258,
"score": 0.78581303358078,
"start": 255,
"tag": "KEY",
"value": "bin"
},
{
"context": "rkspace'), c.core['prefix']\n for key in ['bin', 'etc', 'lib',... | lib/core/plugin.coffee | zforkdump/heco | 0 |
path = require 'path'
shell = require 'shell'
module.exports = (req, res, next) ->
req.hmgr = {}
# Add configuration
c = require './conf'
c.core['prefix'] = path.normalize path.resolve req.shell.set('workspace'), c.core['prefix']
for key in ['bin', 'etc', 'lib', 'tmp', 'var', 'log']
c.core[key] = path.n... | 205464 |
path = require 'path'
shell = require 'shell'
module.exports = (req, res, next) ->
req.hmgr = {}
# Add configuration
c = require './conf'
c.core['prefix'] = path.normalize path.resolve req.shell.set('workspace'), c.core['prefix']
for key in ['<KEY>', '<KEY>', '<KEY>', '<KEY>', '<KEY>', '<KEY>']
c.core[k... | true |
path = require 'path'
shell = require 'shell'
module.exports = (req, res, next) ->
req.hmgr = {}
# Add configuration
c = require './conf'
c.core['prefix'] = path.normalize path.resolve req.shell.set('workspace'), c.core['prefix']
for key in ['PI:KEY:<KEY>END_PI', 'PI:KEY:<KEY>END_PI', 'PI:KEY:<KEY>END_PI', ... |
[
{
"context": "l include for octonode module\n#\n# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved\n#\n\noctonode = module.exports",
"end": 99,
"score": 0.9998277425765991,
"start": 80,
"tag": "NAME",
"value": "Pavan Kumar Sunkara"
}
] | src/octonode.coffee | troupe/octonode | 0 | #
# octonode.coffee: Top level include for octonode module
#
# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved
#
octonode = module.exports =
# [Authentication](octonode/auth.html) for github
auth: require './octonode/auth'
# [Client](octonode/client.html) for github
client: require './octonode/clie... | 46354 | #
# octonode.coffee: Top level include for octonode module
#
# Copyright © 2011 <NAME>. All rights reserved
#
octonode = module.exports =
# [Authentication](octonode/auth.html) for github
auth: require './octonode/auth'
# [Client](octonode/client.html) for github
client: require './octonode/client'
# [Use... | true | #
# octonode.coffee: Top level include for octonode module
#
# Copyright © 2011 PI:NAME:<NAME>END_PI. All rights reserved
#
octonode = module.exports =
# [Authentication](octonode/auth.html) for github
auth: require './octonode/auth'
# [Client](octonode/client.html) for github
client: require './octonode/cli... |
[
{
"context": "', utils.wrap (done) ->\n data = {\n name: 'Some Name'\n courseID: @course.id\n classroomID: @c",
"end": 1586,
"score": 0.9934616088867188,
"start": 1577,
"tag": "NAME",
"value": "Some Name"
},
{
"context": "', utils.wrap (done) ->\n data = {\n ... | spec/server/functional/course_instance.spec.coffee | adamcsillag/codecombat | 1 | async = require 'async'
config = require '../../../server_config'
require '../common'
stripe = require('stripe')(config.stripe.secretKey)
utils = require '../utils'
CourseInstance = require '../../../server/models/CourseInstance'
Course = require '../../../server/models/Course'
User = require '../../../server/models/Us... | 137768 | async = require 'async'
config = require '../../../server_config'
require '../common'
stripe = require('stripe')(config.stripe.secretKey)
utils = require '../utils'
CourseInstance = require '../../../server/models/CourseInstance'
Course = require '../../../server/models/Course'
User = require '../../../server/models/Us... | true | async = require 'async'
config = require '../../../server_config'
require '../common'
stripe = require('stripe')(config.stripe.secretKey)
utils = require '../utils'
CourseInstance = require '../../../server/models/CourseInstance'
Course = require '../../../server/models/Course'
User = require '../../../server/models/Us... |
[
{
"context": ", [\n\t\t\t\t\teventName: 'customerAdded', data: name: 'john'\n\t\t\t\t,\n\t\t\t\t\teventName: 'customerActivated', data:",
"end": 1529,
"score": 0.9981386661529541,
"start": 1525,
"tag": "NAME",
"value": "john"
},
{
"context": "Name: 'customerActivated', data: {}\n\t\t... | test/coreTest.coffee | ron-liu/node-eventstore-postgre | 4 | EventStore = require('../eventStore')
pg = require 'pg'
uuid = require 'uuid'
expect = require('chai').expect
tools = require './tools'
describe 'write/read events', ->
published = []
publish = (e) -> published.push e
eventStore = new EventStore tools.connString, publish
aggregateId = uuid.v4()
beforeEach (don... | 168005 | EventStore = require('../eventStore')
pg = require 'pg'
uuid = require 'uuid'
expect = require('chai').expect
tools = require './tools'
describe 'write/read events', ->
published = []
publish = (e) -> published.push e
eventStore = new EventStore tools.connString, publish
aggregateId = uuid.v4()
beforeEach (don... | true | EventStore = require('../eventStore')
pg = require 'pg'
uuid = require 'uuid'
expect = require('chai').expect
tools = require './tools'
describe 'write/read events', ->
published = []
publish = (e) -> published.push e
eventStore = new EventStore tools.connString, publish
aggregateId = uuid.v4()
beforeEach (don... |
[
{
"context": " data: $.param({\n username: username\n password: password\n ",
"end": 1029,
"score": 0.9984222650527954,
"start": 1021,
"tag": "USERNAME",
"value": "username"
},
{
"context": " username: username\n ... | src/services.coffee | telminov/sw-angular-auth | 1 | angular.module('swAuth')
.service 'auth', ($http, $rootScope, $cookieStore, $location, authConfig, AUTH_UPDATE_USER) ->
auth = this
auth.getUser = ->
return $cookieStore.get('user')
auth.setUser = (newUserData) ->
oldUserData = auth.getUser()
$cookieStor... | 64041 | angular.module('swAuth')
.service 'auth', ($http, $rootScope, $cookieStore, $location, authConfig, AUTH_UPDATE_USER) ->
auth = this
auth.getUser = ->
return $cookieStore.get('user')
auth.setUser = (newUserData) ->
oldUserData = auth.getUser()
$cookieStor... | true | angular.module('swAuth')
.service 'auth', ($http, $rootScope, $cookieStore, $location, authConfig, AUTH_UPDATE_USER) ->
auth = this
auth.getUser = ->
return $cookieStore.get('user')
auth.setUser = (newUserData) ->
oldUserData = auth.getUser()
$cookieStor... |
[
{
"context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 25,
"score": 0.995938777923584,
"start": 19,
"tag": "NAME",
"value": "Balena"
}
] | lib/logs.coffee | josecoelho/balena-sdk | 0 | ###
Copyright 2016 Balena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | 182523 | ###
Copyright 2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
[
{
"context": "ribe 'nesting templates', ->\n user =\n first: 'Huevo'\n last: 'Bueno'\n\n it 'renders nested template",
"end": 192,
"score": 0.9996484518051147,
"start": 187,
"tag": "NAME",
"value": "Huevo"
},
{
"context": "lates', ->\n user =\n first: 'Huevo'\n last: '... | test-react/nesting.coffee | jahbini/halvalla | 2 | expect = require 'expect.js'
{render,div, span, p, pureComponent} = require '../lib/halvalla-react'
#{render} = require './helpers'
describe 'nesting templates', ->
user =
first: 'Huevo'
last: 'Bueno'
it 'renders nested template in the same output', ->
nameHelper = (user) ->
p "#{user.first} #{... | 143397 | expect = require 'expect.js'
{render,div, span, p, pureComponent} = require '../lib/halvalla-react'
#{render} = require './helpers'
describe 'nesting templates', ->
user =
first: '<NAME>'
last: '<NAME>'
it 'renders nested template in the same output', ->
nameHelper = (user) ->
p "#{user.first} ... | true | expect = require 'expect.js'
{render,div, span, p, pureComponent} = require '../lib/halvalla-react'
#{render} = require './helpers'
describe 'nesting templates', ->
user =
first: 'PI:NAME:<NAME>END_PI'
last: 'PI:NAME:<NAME>END_PI'
it 'renders nested template in the same output', ->
nameHelper = (user... |
[
{
"context": " @_responseRoutingKey = \"#{FRONTEND_QUEUE_PREFIX}_auto_#{process.pid}_#{Date.now()}\"\n opt",
"end": 1238,
"score": 0.742327094078064,
"start": 1238,
"tag": "KEY",
"value": ""
},
{
"context": "esponseRoutingKey = \"#{FRONTEND_QUEUE_PREFIX}_auto_#{process.p... | src/server/ot/amqp_frontend_helper.coffee | LaPingvino/rizzoma | 88 | _ = require('underscore')
Conf = require('../conf').Conf
EventEmitter = require('events').EventEmitter
OtProcessorFrontend = require('../ot/processor_frontend').OtProcessorFrontend
AmqpHelper = require('./amqp_helper').AmqpHelper
{
OT_OP_BROADCAST_ROUTING_KEY
FRONTEND_QUEUE_PREFIX
BACKEND_QUEUE_PREFIX
} = ... | 127623 | _ = require('underscore')
Conf = require('../conf').Conf
EventEmitter = require('events').EventEmitter
OtProcessorFrontend = require('../ot/processor_frontend').OtProcessorFrontend
AmqpHelper = require('./amqp_helper').AmqpHelper
{
OT_OP_BROADCAST_ROUTING_KEY
FRONTEND_QUEUE_PREFIX
BACKEND_QUEUE_PREFIX
} = ... | true | _ = require('underscore')
Conf = require('../conf').Conf
EventEmitter = require('events').EventEmitter
OtProcessorFrontend = require('../ot/processor_frontend').OtProcessorFrontend
AmqpHelper = require('./amqp_helper').AmqpHelper
{
OT_OP_BROADCAST_ROUTING_KEY
FRONTEND_QUEUE_PREFIX
BACKEND_QUEUE_PREFIX
} = ... |
[
{
"context": "ltActiveState: 'all'\n\n maskings:\n key: 'maskingimages'\n stores: ['images']\n\n validStates:\n ",
"end": 519,
"score": 0.9971132874488831,
"start": 506,
"tag": "KEY",
"value": "maskingimages"
}
] | sencha/apps/cloud/coffee/app/Cloud/view/image/View.coffee | liverbool/c.com | 0 | Ext.define 'Magice.Cloud.view.image.View',
extend: 'Ext.panel.Panel'
xtype: 'images'
itemId: 'images'
border: no
controller: 'images'
viewModel: type: 'images'
dockedItems: xtype: 'view-images-toolbar'
bind: loading: '{maskingimages}'
xlayout:
type: 'vbox'
pack: ... | 173280 | Ext.define 'Magice.Cloud.view.image.View',
extend: 'Ext.panel.Panel'
xtype: 'images'
itemId: 'images'
border: no
controller: 'images'
viewModel: type: 'images'
dockedItems: xtype: 'view-images-toolbar'
bind: loading: '{maskingimages}'
xlayout:
type: 'vbox'
pack: ... | true | Ext.define 'Magice.Cloud.view.image.View',
extend: 'Ext.panel.Panel'
xtype: 'images'
itemId: 'images'
border: no
controller: 'images'
viewModel: type: 'images'
dockedItems: xtype: 'view-images-toolbar'
bind: loading: '{maskingimages}'
xlayout:
type: 'vbox'
pack: ... |
[
{
"context": "again, and if the problem continues, please email 4sweep@4sweep.com\"\n $.pnotify\n title: \"An error occurred\"\n ",
"end": 2027,
"score": 0.9999223351478577,
"start": 2010,
"tag": "EMAIL",
"value": "4sweep@4sweep.com"
}
] | app/assets/javascripts/search/FlagSubmissionService.js.coffee | lepht/4sweep | 11 | # A service to submit flags to 4sweep's backend, produce notifications
# to users on successful (and failed) submissions.
#
# Also supports undoing flag submissions and running them immediately
class FlagSubmissionService
@get: () ->
@instance ?= new FlagSubmissionService()
runImmediatelyStatus: () ->
$(".... | 165876 | # A service to submit flags to 4sweep's backend, produce notifications
# to users on successful (and failed) submissions.
#
# Also supports undoing flag submissions and running them immediately
class FlagSubmissionService
@get: () ->
@instance ?= new FlagSubmissionService()
runImmediatelyStatus: () ->
$(".... | true | # A service to submit flags to 4sweep's backend, produce notifications
# to users on successful (and failed) submissions.
#
# Also supports undoing flag submissions and running them immediately
class FlagSubmissionService
@get: () ->
@instance ?= new FlagSubmissionService()
runImmediatelyStatus: () ->
$(".... |
[
{
"context": " m(\"p\", m(\"ul\", m(\"li\", 'Dr. Vic Gannon: vic.gannon@phac-aspc.gc.ca')))\n ",
"end": 1984,
"score": 0.9997473955154419,
"start": 1974,
"tag": "NAME",
"value": "Vic Gannon"
},
{
"context": " m(\"p\", m(\"ul\", m(\"li\"... | app/SuperPhy/static/CoffeeScript/Pages/Home.coffee | superphy/semantic | 16 | # coffeelint: disable=max_line_length
###
CLASS Home
Page component for the main page
###
class Home extends Page
Routes.add('/', @)
Routes.add('/home', @)
@controller: (args) ->
args = args || {}
@debug = args.debugging || true
return @
@view: (ctrl) ->
super(
... | 131250 | # coffeelint: disable=max_line_length
###
CLASS Home
Page component for the main page
###
class Home extends Page
Routes.add('/', @)
Routes.add('/home', @)
@controller: (args) ->
args = args || {}
@debug = args.debugging || true
return @
@view: (ctrl) ->
super(
... | true | # coffeelint: disable=max_line_length
###
CLASS Home
Page component for the main page
###
class Home extends Page
Routes.add('/', @)
Routes.add('/home', @)
@controller: (args) ->
args = args || {}
@debug = args.debugging || true
return @
@view: (ctrl) ->
super(
... |
[
{
"context": "on.png\")) + \"\\\" alt=\\\"Here is the email found with Hunter!\\\" id=\\\"hunter-email-pointer\\\"/>\"\n $(\"#",
"end": 1990,
"score": 0.7098951935768127,
"start": 1989,
"tag": "NAME",
"value": "H"
}
] | src/content_script/js/websites-source.coffee | hunter-io/browser-extension | 10 | PageContent =
getEmailInHash: ->
if window.location.hash
hash = window.location.hash
if hash.indexOf(":") != -1 and hash.split(":")[0]
email = hash.split(":")[1]
if @validateEmail(email)
email
else
false
else
false
else
false
valid... | 196523 | PageContent =
getEmailInHash: ->
if window.location.hash
hash = window.location.hash
if hash.indexOf(":") != -1 and hash.split(":")[0]
email = hash.split(":")[1]
if @validateEmail(email)
email
else
false
else
false
else
false
valid... | true | PageContent =
getEmailInHash: ->
if window.location.hash
hash = window.location.hash
if hash.indexOf(":") != -1 and hash.split(":")[0]
email = hash.split(":")[1]
if @validateEmail(email)
email
else
false
else
false
else
false
valid... |
[
{
"context": "html\ncertName = process.env.common_name\npassword = process.env.password\nremoteIP = process.env.untrusted_ip\nusername = pr",
"end": 693,
"score": 0.9992439150810242,
"start": 673,
"tag": "PASSWORD",
"value": "process.env.password"
},
{
"context": "ON.stringify\n c... | auth.coffee | heap/duo-openvpn-cache | 3 | #!/usr/bin/env coffee
Promise = require 'bluebird'
crypto = require 'crypto'
Duo = require 'duo-api'
fs = Promise.promisifyAll require('fs')
log = new (require 'log')(process.env.log_level or 'info')
moment = require 'moment'
path = require 'path'
# Custom environment variables set via OpenVPN setenv
duo_host = proce... | 202612 | #!/usr/bin/env coffee
Promise = require 'bluebird'
crypto = require 'crypto'
Duo = require 'duo-api'
fs = Promise.promisifyAll require('fs')
log = new (require 'log')(process.env.log_level or 'info')
moment = require 'moment'
path = require 'path'
# Custom environment variables set via OpenVPN setenv
duo_host = proce... | true | #!/usr/bin/env coffee
Promise = require 'bluebird'
crypto = require 'crypto'
Duo = require 'duo-api'
fs = Promise.promisifyAll require('fs')
log = new (require 'log')(process.env.log_level or 'info')
moment = require 'moment'
path = require 'path'
# Custom environment variables set via OpenVPN setenv
duo_host = proce... |
[
{
"context": " ->\n items = []\n keys = iter.count()\n total = 0\n for item in @",
"end": 3324,
"score": 0.8690476417541504,
"start": 3319,
"tag": "KEY",
"value": "count"
},
{
"context": " items.push(<Item\n key=k... | clients/widgets/product/cart.cjsx | jacob22/accounting | 0 | /*
Copyright 2019 Open End AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 33960 | /*
Copyright 2019 Open End AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | true | /*
Copyright 2019 Open End AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... |
[
{
"context": "tized\n\n errdoc.time = new Date()\n errdoc.token = Random.id(6).toLowerCase()\n errdoc.history = [errForHistory errdoc]\n\n fmtT",
"end": 4597,
"score": 0.7381774187088013,
"start": 4571,
"tag": "KEY",
"value": "Random.id(6).toLowerCase()"
}
] | packages/nog-error/nog-error.coffee | nogproject/nog | 0 | NogError = {}
config =
logExpire_s: 60 * 60 * 24 * 5
# See README for introduction to client-side and server-side error handling in
# Meteor.
createError = (specOrCode, contextOrReason, details) ->
if typeof specOrCode is 'object'
spec = specOrCode
context = contextOrReason
else
console.log "[nog-e... | 47596 | NogError = {}
config =
logExpire_s: 60 * 60 * 24 * 5
# See README for introduction to client-side and server-side error handling in
# Meteor.
createError = (specOrCode, contextOrReason, details) ->
if typeof specOrCode is 'object'
spec = specOrCode
context = contextOrReason
else
console.log "[nog-e... | true | NogError = {}
config =
logExpire_s: 60 * 60 * 24 * 5
# See README for introduction to client-side and server-side error handling in
# Meteor.
createError = (specOrCode, contextOrReason, details) ->
if typeof specOrCode is 'object'
spec = specOrCode
context = contextOrReason
else
console.log "[nog-e... |
[
{
"context": "heir individual names\n#\n# merlin: <your message>\n\njosiah = \"@jk\"\nivey = \"@ivey\"\nchong = \"@cyan\"\nkyle = \"@k",
"end": 109,
"score": 0.9388846158981323,
"start": 103,
"tag": "USERNAME",
"value": "josiah"
},
{
"context": "ividual names\n#\n# merlin: <your mess... | scripts/name-expander.coffee | RiotGamesMinions/lefay | 7 | # Expands a message to a named group of people into their individual names
#
# merlin: <your message>
josiah = "@jk"
ivey = "@ivey"
chong = "@cyan"
kyle = "@kallan"
trotter = "Trotter Cashion"
afeng = "Aaron Feng"
akwan = "Alan Kwan"
marksoho = "Mark Soho"
nmathrani = "Neeraj Mathrani"
steve = "@srude"
fei = "@fei"
br... | 29813 | # Expands a message to a named group of people into their individual names
#
# merlin: <your message>
josiah = "@jk"
ivey = "@ivey"
chong = "@cyan"
kyle = "@kallan"
trotter = "<NAME>"
afeng = "<NAME>"
akwan = "<NAME>"
marksoho = "<NAME>"
nmathrani = "<NAME>"
steve = "@srude"
fei = "@fei"
brad = "@brad"
CarlQuinn = "@C... | true | # Expands a message to a named group of people into their individual names
#
# merlin: <your message>
josiah = "@jk"
ivey = "@ivey"
chong = "@cyan"
kyle = "@kallan"
trotter = "PI:NAME:<NAME>END_PI"
afeng = "PI:NAME:<NAME>END_PI"
akwan = "PI:NAME:<NAME>END_PI"
marksoho = "PI:NAME:<NAME>END_PI"
nmathrani = "PI:NAME:<NAM... |
[
{
"context": "\n \n @_userNameField = options.userNameField or 'username'\n @_passwordField = options.passwordField or 'pa",
"end": 324,
"score": 0.9992026686668396,
"start": 316,
"tag": "USERNAME",
"value": "username"
},
{
"context": "me'\n @_passwordField = options.passwordFiel... | server/authentication/strategies/basic.coffee | sterob7/gi-security | 0 | passport = require 'passport'
util = require 'util'
crypto = require 'crypto'
Strategy = (options, verify) ->
if (typeof options == 'function')
verify = options
options = {}
if not verify
throw new Error('basic strategy requires a verify function')
@_userNameField = options.userNameField or 'user... | 219152 | passport = require 'passport'
util = require 'util'
crypto = require 'crypto'
Strategy = (options, verify) ->
if (typeof options == 'function')
verify = options
options = {}
if not verify
throw new Error('basic strategy requires a verify function')
@_userNameField = options.userNameField or 'user... | true | passport = require 'passport'
util = require 'util'
crypto = require 'crypto'
Strategy = (options, verify) ->
if (typeof options == 'function')
verify = options
options = {}
if not verify
throw new Error('basic strategy requires a verify function')
@_userNameField = options.userNameField or 'user... |
[
{
"context": "angular: [\n { key: \"data.on\" }\n]\n",
"end": 28,
"score": 0.99359530210495,
"start": 21,
"tag": "KEY",
"value": "data.on"
}
] | jobs/toggle-switch/form.cson | sqrtofsaturn/meshblu-connector-wemo | 0 | angular: [
{ key: "data.on" }
]
| 201510 | angular: [
{ key: "<KEY>" }
]
| true | angular: [
{ key: "PI:KEY:<KEY>END_PI" }
]
|
[
{
"context": "rm'\nFIELD_MAIL = 'mail'\nFIELD_PASS = 'pass[pass1]'\nFIELD_PASS_2 = 'pass[pass2]'\nFIELD_FIRST_NA",
"end": 190,
"score": 0.9839268922805786,
"start": 180,
"tag": "PASSWORD",
"value": "pass[pass1"
},
{
"context": "LD_PASS = 'pass[pass1]'\nFIELD_PAS... | tests/integration/canada/sso.coffee | jonuy/dosomething | 1 | # SSO
# Sometimes SSO server response takes long.
casper.options.waitTimeout = 10000
# Form selectors.
FORM = '#user-register-form'
FIELD_MAIL = 'mail'
FIELD_PASS = 'pass[pass1]'
FIELD_PASS_2 = 'pass[pass2]'
FIELD_FIRST_NAME = 'field_first_name[und][0][value]'
FIELD_BIRTHDATE = 'field_birthdate[und][... | 65671 | # SSO
# Sometimes SSO server response takes long.
casper.options.waitTimeout = 10000
# Form selectors.
FORM = '#user-register-form'
FIELD_MAIL = 'mail'
FIELD_PASS = '<PASSWORD>]'
FIELD_PASS_2 = '<PASSWORD>]'
FIELD_FIRST_NAME = 'field_first_name[und][0][value]'
FIELD_BIRTHDATE = 'field_birthdate[und][... | true | # SSO
# Sometimes SSO server response takes long.
casper.options.waitTimeout = 10000
# Form selectors.
FORM = '#user-register-form'
FIELD_MAIL = 'mail'
FIELD_PASS = 'PI:PASSWORD:<PASSWORD>END_PI]'
FIELD_PASS_2 = 'PI:PASSWORD:<PASSWORD>END_PI]'
FIELD_FIRST_NAME = 'field_first_name[und][0][value]'
FIELD... |
[
{
"context": "######\n\nsample.maslow = ->\n\n\twindow.maslow = adf \"Пирамида Маслоу\", ['Самореализация','Выделение','Любовь и принадл",
"end": 239,
"score": 0.8866856098175049,
"start": 224,
"tag": "NAME",
"value": "Пирамида Маслоу"
},
{
"context": "low\"\n\t\tguide: add \"Рассмот... | sample-maslow.coffee | agershun/minday | 0 | ################################################
# MINDAY 0.008BI
# sample-maslow.coffee
# Описание методики интеллектуальных карт
################################################
sample.maslow = ->
window.maslow = adf "Пирамида Маслоу", ['Самореализация','Выделение','Любовь и принадлежность','Безопасность','Физиол... | 96861 | ################################################
# MINDAY 0.008BI
# sample-maslow.coffee
# Описание методики интеллектуальных карт
################################################
sample.maslow = ->
window.maslow = adf "<NAME>", ['Самореализация','Выделение','Любовь и принадлежность','Безопасность','Физиология'],
... | true | ################################################
# MINDAY 0.008BI
# sample-maslow.coffee
# Описание методики интеллектуальных карт
################################################
sample.maslow = ->
window.maslow = adf "PI:NAME:<NAME>END_PI", ['Самореализация','Выделение','Любовь и принадлежность','Безопасность','Ф... |
[
{
"context": "'{\"resourceType\": \"Patient\", \"queryString\": \"name=John&_count=50000000\"}')\n },\n {\n descriptio",
"end": 6081,
"score": 0.999268114566803,
"start": 6077,
"tag": "NAME",
"value": "John"
},
{
"context": "{\n description: \"searching Patient with n... | src/benchmark.coffee | micabe/fhirbase | 0 | fhir_benchmark = (plv8, query)->
create_patients = (limit)->
"""
SELECT count(
fhir_create_resource(
fhir_benchmark_dissoc(patients.resource::json, 'id')
)
)
FROM (SELECT resource FROM patient LIMIT #{limit}) patients;
"""
read_patients = (l... | 79232 | fhir_benchmark = (plv8, query)->
create_patients = (limit)->
"""
SELECT count(
fhir_create_resource(
fhir_benchmark_dissoc(patients.resource::json, 'id')
)
)
FROM (SELECT resource FROM patient LIMIT #{limit}) patients;
"""
read_patients = (l... | true | fhir_benchmark = (plv8, query)->
create_patients = (limit)->
"""
SELECT count(
fhir_create_resource(
fhir_benchmark_dissoc(patients.resource::json, 'id')
)
)
FROM (SELECT resource FROM patient LIMIT #{limit}) patients;
"""
read_patients = (l... |
[
{
"context": "fileoverview Tests for no-continue rule.\n# @author Borislav Zhivkov\n###\n\n'use strict'\n\n#-----------------------------",
"end": 75,
"score": 0.9996803998947144,
"start": 59,
"tag": "NAME",
"value": "Borislav Zhivkov"
}
] | src/tests/rules/no-continue.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-continue rule.
# @author Borislav Zhivkov
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-continue'
{Ru... | 117715 | ###*
# @fileoverview Tests for no-continue rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-continue'
{RuleTester} ... | true | ###*
# @fileoverview Tests for no-continue rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-continue'... |
[
{
"context": "s()\n\t\tawidget = Widget.create()\n\t\tawidget.name = 'whosit'\n\n\t\ttestThing = null\n\t\tawidget.save()\n\t\t.then (th",
"end": 1536,
"score": 0.9975440502166748,
"start": 1530,
"tag": "NAME",
"value": "whosit"
},
{
"context": "s()\n\t\tawidget = Widget.create()\n\t... | test/basic.coffee | wcjohnson/ormojo-elasticsearch | 0 | { ESBackend: es_backend } = require '..'
{ expect } = require 'chai'
es_client = require './es_client'
ormojo = require 'ormojo'
Blackbird = require 'blackbird-promises'
ESQ = require 'esq'
makeCorpus = ->
logger = if true then console.log.bind(console) else ->
c = new ormojo.Corpus({
Promise: {
resolve: (x) ->... | 109879 | { ESBackend: es_backend } = require '..'
{ expect } = require 'chai'
es_client = require './es_client'
ormojo = require 'ormojo'
Blackbird = require 'blackbird-promises'
ESQ = require 'esq'
makeCorpus = ->
logger = if true then console.log.bind(console) else ->
c = new ormojo.Corpus({
Promise: {
resolve: (x) ->... | true | { ESBackend: es_backend } = require '..'
{ expect } = require 'chai'
es_client = require './es_client'
ormojo = require 'ormojo'
Blackbird = require 'blackbird-promises'
ESQ = require 'esq'
makeCorpus = ->
logger = if true then console.log.bind(console) else ->
c = new ormojo.Corpus({
Promise: {
resolve: (x) ->... |
[
{
"context": " module', ->\n\n hubotHear = (message, userName = 'momo', tempo = 40) ->\n beforeEach (done) ->\n r",
"end": 446,
"score": 0.9993085265159607,
"start": 442,
"tag": "USERNAME",
"value": "momo"
},
{
"context": "ut (done), tempo\n\n hubot = (message, userName = '... | test/phabs_templates_test.coffee | f0ff886f/hubot-phabs | 22 | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
Hubot = require('../node_modules/hubot')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_templates.coffee')
path = require 'path'
nock = require 'nock'
sinon = require 'sinon'
expect = require('chai').u... | 115039 | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
Hubot = require('../node_modules/hubot')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_templates.coffee')
path = require 'path'
nock = require 'nock'
sinon = require 'sinon'
expect = require('chai').u... | true | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
Hubot = require('../node_modules/hubot')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_templates.coffee')
path = require 'path'
nock = require 'nock'
sinon = require 'sinon'
expect = require('chai').u... |
[
{
"context": "ldReportFromImportData row\n\n report.studyId = 'fakeid'\n report.createdBy =\n userId: Meteor.user",
"end": 3975,
"score": 0.8697748184204102,
"start": 3969,
"tag": "PASSWORD",
"value": "fakeid"
},
{
"context": "t in report\n report.contact =\n n... | client/controllers/importForm.coffee | ecohealthalliance/rana | 0 | Template.importForm.created = ->
clearImportReports()
@csvError = new ReactiveVar
@csvError.set(null)
Template.importForm.helpers
csvError: () ->
UI._templateInstance().csvError.get() or ''
csvFileId: () ->
Session.get 'fileUpload[csvFile]'
csvFileName: () ->
Session.get 'fileUploadSelected[... | 74622 | Template.importForm.created = ->
clearImportReports()
@csvError = new ReactiveVar
@csvError.set(null)
Template.importForm.helpers
csvError: () ->
UI._templateInstance().csvError.get() or ''
csvFileId: () ->
Session.get 'fileUpload[csvFile]'
csvFileName: () ->
Session.get 'fileUploadSelected[... | true | Template.importForm.created = ->
clearImportReports()
@csvError = new ReactiveVar
@csvError.set(null)
Template.importForm.helpers
csvError: () ->
UI._templateInstance().csvError.get() or ''
csvFileId: () ->
Session.get 'fileUpload[csvFile]'
csvFileName: () ->
Session.get 'fileUploadSelected[... |
[
{
"context": "ns:\n uuid: 'dumb-uuid'\n token: 'dumb-token'\n requestOptions:\n method: 'POST'",
"end": 2213,
"score": 0.5221002697944641,
"start": 2203,
"tag": "PASSWORD",
"value": "dumb-token"
}
] | test/worker-spec.coffee | iotrentil/meshblu-core-worker-webhook | 1 | Worker = require '../src/worker'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
Redis = require 'ioredis'
JobLogger = require 'job-logger'
{ privateKey } = require './some-private-key.json'
RedisNS = require '@octoblu/redis-ns'
describe 'Worker->start', ->
be... | 93273 | Worker = require '../src/worker'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
Redis = require 'ioredis'
JobLogger = require 'job-logger'
{ privateKey } = require './some-private-key.json'
RedisNS = require '@octoblu/redis-ns'
describe 'Worker->start', ->
be... | true | Worker = require '../src/worker'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
Redis = require 'ioredis'
JobLogger = require 'job-logger'
{ privateKey } = require './some-private-key.json'
RedisNS = require '@octoblu/redis-ns'
describe 'Worker->start', ->
be... |
[
{
"context": "mac-key\"\n # Known RSA Private Key\n key_PEM : \"\"\"-----BEGIN RSA PRIVATE KEY-----\nMIIEpgIBAAKCAQEAuBLG/WubpeE3HaLMUTyqqTDCfQpg/bqXDeUr6P8k54jNNLad\nNq+TXl/xtKqZ8SMdwYJsQ2BenENbsx80rJJJ4YTorrBYV1atyrW6hb+9llildKKF\n54LsTGO4fp4qwucHXBGPt7rKOyZgHTfBNjmuygwU4h2XqZCrv18x2EfZ1m7r+Kcy\n5pRvgL37akn... | test/jwa.coffee | berngp/node-green-jwt | 8 | # Tests
should = require "should"
# Self
jwa = require "../lib/jwa"
#
# Based on [JSON Web Algorithms (JWA) v02](https://www.ietf.org/id/draft-ietf-jose-json-web-algorithms-02.txt)
#
# The JSON Web Algorithms (JWA) specification enumerates cryptographic
# algorithms and identifiers to be used with the JSON Web Signat... | 50946 | # Tests
should = require "should"
# Self
jwa = require "../lib/jwa"
#
# Based on [JSON Web Algorithms (JWA) v02](https://www.ietf.org/id/draft-ietf-jose-json-web-algorithms-02.txt)
#
# The JSON Web Algorithms (JWA) specification enumerates cryptographic
# algorithms and identifiers to be used with the JSON Web Signat... | true | # Tests
should = require "should"
# Self
jwa = require "../lib/jwa"
#
# Based on [JSON Web Algorithms (JWA) v02](https://www.ietf.org/id/draft-ietf-jose-json-web-algorithms-02.txt)
#
# The JSON Web Algorithms (JWA) specification enumerates cryptographic
# algorithms and identifiers to be used with the JSON Web Signat... |
[
{
"context": "before ->\n @skip() if __globalTest.offline\n\n [Alice, Bob] = [null, null]\n [aliceTemp, bobCode] = [nu",
"end": 550,
"score": 0.9965128898620605,
"start": 545,
"tag": "NAME",
"value": "Alice"
},
{
"context": " ->\n @skip() if __globalTest.offline\n\n [Alice, ... | tests/specs/07.invites.coffee | vault12/glow | 14 | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
# ----- Example: sketch of exchanging invite codes ---... | 141304 | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
# ----- Example: sketch of exchanging invite codes ---... | true | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
# ----- Example: sketch of exchanging invite codes ---... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.