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": "eepEqual user,\n name: 'foo'\n id: 3\n ",
"end": 1746,
"score": 0.9372177720069885,
"start": 1743,
"tag": "NAME",
"value": "foo"
},
{
"context": " person:\n name: 'foo'\n... | test/associations.coffee | clariture/mesa | 0 | mesa = require '../src/postgres'
mesa.enableConnectionReuseForIncludes = true
module.exports =
'associations':
'first':
'hasOne': (test) ->
test.expect 5
call = 1
connection =
query: (sql, params, cb) ->
... | 185093 | mesa = require '../src/postgres'
mesa.enableConnectionReuseForIncludes = true
module.exports =
'associations':
'first':
'hasOne': (test) ->
test.expect 5
call = 1
connection =
query: (sql, params, cb) ->
... | true | mesa = require '../src/postgres'
mesa.enableConnectionReuseForIncludes = true
module.exports =
'associations':
'first':
'hasOne': (test) ->
test.expect 5
call = 1
connection =
query: (sql, params, cb) ->
... |
[
{
"context": "ocess')\n\nNPM = '/usr/local/bin/npm'\ndep_keys = [ 'devDependencies', 'dependencies' ]\n\nextend = ( dest, items... ) ->\n",
"end": 122,
"score": 0.7674651145935059,
"start": 105,
"tag": "KEY",
"value": "devDependencies',"
},
{
"context": "r/local/bin/npm'\ndep_keys = ... | lib/util/require-install.coffee | venkatperi/jsgradle | 0 | {spawnSync, execFile, execFileSync} = require('child_process')
NPM = '/usr/local/bin/npm'
dep_keys = [ 'devDependencies', 'dependencies' ]
extend = ( dest, items... ) ->
for item in items
for own k,v of item
dest[ k ] = v
dest
exec = ( cmd, args = [], opts = {}, cb ) ->
execFile cmd, args, opts, ( e,... | 113616 | {spawnSync, execFile, execFileSync} = require('child_process')
NPM = '/usr/local/bin/npm'
dep_keys = [ '<KEY> '<KEY>' ]
extend = ( dest, items... ) ->
for item in items
for own k,v of item
dest[ k ] = v
dest
exec = ( cmd, args = [], opts = {}, cb ) ->
execFile cmd, args, opts, ( e, stdout, stderr ) -... | true | {spawnSync, execFile, execFileSync} = require('child_process')
NPM = '/usr/local/bin/npm'
dep_keys = [ 'PI:KEY:<KEY>END_PI 'PI:KEY:<KEY>END_PI' ]
extend = ( dest, items... ) ->
for item in items
for own k,v of item
dest[ k ] = v
dest
exec = ( cmd, args = [], opts = {}, cb ) ->
execFile cmd, args, opt... |
[
{
"context": "\"negate\", ->\n expect(_.negate(_.always(true))(\"timanttikobra\")).to.be.false\n describe \"empty\", ->\n expect(",
"end": 1074,
"score": 0.9942218661308289,
"start": 1061,
"tag": "USERNAME",
"value": "timanttikobra"
},
{
"context": " it \"for circular refs\", ... | out/vendor/bacon/spec/BaconSpec.coffee | beer-challenge/beer-challenge-html5 | 1 | expect = require("chai").expect
Bacon = require("../src/Bacon").Bacon
Mocks = require( "./Mock")
TickScheduler = require("./TickScheduler").TickScheduler
mock = Mocks.mock
mockFunction = Mocks.mockFunction
EventEmitter = require("events").EventEmitter
th = require("./SpecHelper")
t = th.t
expectStreamEvents = th.expect... | 6917 | expect = require("chai").expect
Bacon = require("../src/Bacon").Bacon
Mocks = require( "./Mock")
TickScheduler = require("./TickScheduler").TickScheduler
mock = Mocks.mock
mockFunction = Mocks.mockFunction
EventEmitter = require("events").EventEmitter
th = require("./SpecHelper")
t = th.t
expectStreamEvents = th.expect... | true | expect = require("chai").expect
Bacon = require("../src/Bacon").Bacon
Mocks = require( "./Mock")
TickScheduler = require("./TickScheduler").TickScheduler
mock = Mocks.mock
mockFunction = Mocks.mockFunction
EventEmitter = require("events").EventEmitter
th = require("./SpecHelper")
t = th.t
expectStreamEvents = th.expect... |
[
{
"context": "ogging: true\n logFn: @logFn\n username: 'username'\n password: 'password'\n\n serverOptions.da",
"end": 393,
"score": 0.9986755847930908,
"start": 385,
"tag": "USERNAME",
"value": "username"
},
{
"context": "logFn\n username: 'username'\n pa... | test/integration/update-build-passed-spec.coffee | octoblu/deploy-state-service | 1 | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Update Build Passed', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port: undefined,... | 156073 | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Update Build Passed', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port: undefined,... | true | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'Update Build Passed', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port: undefined,... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998854398727417,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/app/models/pharma-medicines.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
pharmacy medicine model
###
class PharmacyMedicine extends Model
# in... | 41956 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
pharmacy medicine model
###
class PharmacyMedicine extends Model
# initialize model
Pharm... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
{ DataTypes, Model } = require 'sequelize'
{ sequelize } = require '../../database'
###
pharmacy medicine model
###
class PharmacyMedicine extends Mod... |
[
{
"context": "bles already declared in the outer scope\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 115,
"score": 0.9998103976249695,
"start": 103,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/rules/no-shadow.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag on declaring variables already declared in the outer scope
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils ... | 11649 | ###*
# @fileoverview Rule to flag on declaring variables already declared in the outer scope
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = requ... | true | ###*
# @fileoverview Rule to flag on declaring variables already declared in the outer scope
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
a... |
[
{
"context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 25,
"score": 0.824062705039978,
"start": 19,
"tag": "NAME",
"value": "Balena"
},
{
"context": "models.billing.updateBillingInfo({ token_id: 'xxxxxxx' }).then(function(billingInfo) {\... | lib/models/billing.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... | 135488 | ###
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": "#\n# MConn Framework\n# https://www.github.com/livespotting/mconn\n#\n# @copyright 2015 Livespotting Media GmbH",
"end": 57,
"score": 0.992474377155304,
"start": 45,
"tag": "USERNAME",
"value": "livespotting"
},
{
"context": "tting Media GmbH\n# @license Apache-2.0\n#\n... | test/ModuleTest.coffee | livespotting/mconn-helloworld | 0 | #
# MConn Framework
# https://www.github.com/livespotting/mconn
#
# @copyright 2015 Livespotting Media GmbH
# @license Apache-2.0
#
# @author Christoph Johannsdotter [c.johannsdotter@livespottingmedia.com]
# @author Jan Stabenow [j.stabenow@livespottingmedia.com]
#
bodyParser = require('body-parser')
chai = require("c... | 46786 | #
# MConn Framework
# https://www.github.com/livespotting/mconn
#
# @copyright 2015 Livespotting Media GmbH
# @license Apache-2.0
#
# @author <NAME> [<EMAIL>]
# @author <NAME> [<EMAIL>]
#
bodyParser = require('body-parser')
chai = require("chai")
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
chai.use sinonC... | true | #
# MConn Framework
# https://www.github.com/livespotting/mconn
#
# @copyright 2015 Livespotting Media GmbH
# @license Apache-2.0
#
# @author PI:NAME:<NAME>END_PI [PI:EMAIL:<EMAIL>END_PI]
# @author PI:NAME:<NAME>END_PI [PI:EMAIL:<EMAIL>END_PI]
#
bodyParser = require('body-parser')
chai = require("chai")
sinon = requir... |
[
{
"context": "tpClient) ->\n\n alert: (parameters, routingKey = 'everyone') ->\n @httpClient.request\n method: 'POST'",
"end": 289,
"score": 0.9486525058746338,
"start": 281,
"tag": "KEY",
"value": "everyone"
}
] | src/victorops.coffee | keyvanakbary/victorops | 6 | HttpClient = require './http_client'
class VictorOps
END_POINT = 'https://alert.victorops.com/integrations/generic/20131114/'
@create: (apiKey) ->
new VictorOps(apiKey, new HttpClient())
constructor: (@apiKey, @httpClient) ->
alert: (parameters, routingKey = 'everyone') ->
@httpClient.request
... | 150962 | HttpClient = require './http_client'
class VictorOps
END_POINT = 'https://alert.victorops.com/integrations/generic/20131114/'
@create: (apiKey) ->
new VictorOps(apiKey, new HttpClient())
constructor: (@apiKey, @httpClient) ->
alert: (parameters, routingKey = '<KEY>') ->
@httpClient.request
... | true | HttpClient = require './http_client'
class VictorOps
END_POINT = 'https://alert.victorops.com/integrations/generic/20131114/'
@create: (apiKey) ->
new VictorOps(apiKey, new HttpClient())
constructor: (@apiKey, @httpClient) ->
alert: (parameters, routingKey = 'PI:KEY:<KEY>END_PI') ->
@httpClient... |
[
{
"context": "USERNAME_FIELD or ndx.settings.USERNAME_FIELD or 'email'\n passwordField = process.env.PASSWORD_FIELD or ",
"end": 347,
"score": 0.8837460875511169,
"start": 342,
"tag": "USERNAME",
"value": "email"
},
{
"context": "PASSWORD_FIELD or ndx.settings.PASSWORD_FIELD or 'pas... | src/index.coffee | ndxbxrme/ndx-passport-property | 0 | 'use strict'
objtrans = require 'objtrans'
module.exports = (ndx) ->
callbacks =
login: []
logout: []
signup: []
refreshLogin: []
updatePassword: []
ndx.passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
usernameField = process.env.USERNAME_FIELD or ndx.settin... | 24065 | 'use strict'
objtrans = require 'objtrans'
module.exports = (ndx) ->
callbacks =
login: []
logout: []
signup: []
refreshLogin: []
updatePassword: []
ndx.passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
usernameField = process.env.USERNAME_FIELD or ndx.settin... | true | 'use strict'
objtrans = require 'objtrans'
module.exports = (ndx) ->
callbacks =
login: []
logout: []
signup: []
refreshLogin: []
updatePassword: []
ndx.passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
usernameField = process.env.USERNAME_FIELD or ndx.settin... |
[
{
"context": "\t\t\tname: \"main.tex\"\n\t\t\t}]\n\t\t@members = [{\n\t\t\tuser: @owner = {\n\t\t\t\t_id: \"owner-id\"\n\t\t\t\tfirst_name : \"Ow",
"end": 979,
"score": 0.8921070098876953,
"start": 979,
"tag": "USERNAME",
"value": ""
},
{
"context": " @owner = {\n\t\t\t\t_id: \"owner... | test/UnitTests/coffee/Project/ProjectEditorHandlerTests.coffee | bowlofstew/web-sharelatex | 0 | chai = require('chai')
should = chai.should()
modulePath = "../../../../app/js/Features/Project/ProjectEditorHandler"
SandboxedModule = require('sandboxed-module')
describe "ProjectEditorHandler", ->
beforeEach ->
@project =
_id : "project-id"
name : "Project Name"
rootDoc_id : "file-id"
p... | 107200 | chai = require('chai')
should = chai.should()
modulePath = "../../../../app/js/Features/Project/ProjectEditorHandler"
SandboxedModule = require('sandboxed-module')
describe "ProjectEditorHandler", ->
beforeEach ->
@project =
_id : "project-id"
name : "Project Name"
rootDoc_id : "file-id"
p... | true | chai = require('chai')
should = chai.should()
modulePath = "../../../../app/js/Features/Project/ProjectEditorHandler"
SandboxedModule = require('sandboxed-module')
describe "ProjectEditorHandler", ->
beforeEach ->
@project =
_id : "project-id"
name : "Project Name"
rootDoc_id : "file-id"
p... |
[
{
"context": " i in @props.project.urls\n link._key ?= Math.random()\n <AutoSave key={link._key} tag=\"tr\" ",
"end": 1001,
"score": 0.931738555431366,
"start": 990,
"tag": "KEY",
"value": "Math.random"
}
] | app/pages/lab/project-details.cjsx | camallen/Panoptes-Front-End | 0 | React = require 'react'
AutoSave = require '../../components/auto-save'
handleInputChange = require '../../lib/handle-input-change'
PromiseRenderer = require '../../components/promise-renderer'
ImageSelector = require '../../components/image-selector'
apiClient = require '../../api/client'
putFile = require '../../lib/... | 157765 | React = require 'react'
AutoSave = require '../../components/auto-save'
handleInputChange = require '../../lib/handle-input-change'
PromiseRenderer = require '../../components/promise-renderer'
ImageSelector = require '../../components/image-selector'
apiClient = require '../../api/client'
putFile = require '../../lib/... | true | React = require 'react'
AutoSave = require '../../components/auto-save'
handleInputChange = require '../../lib/handle-input-change'
PromiseRenderer = require '../../components/promise-renderer'
ImageSelector = require '../../components/image-selector'
apiClient = require '../../api/client'
putFile = require '../../lib/... |
[
{
"context": " settings[raw_key] = raw_value if raw_key.match(@_nameRegex)\n @__retryer (ecbr) =>\n @client.put_s",
"end": 2450,
"score": 0.7474048137664795,
"start": 2439,
"tag": "KEY",
"value": "@_nameRegex"
},
{
"context": " settings[raw_key] = raw_value if raw_k... | app/src/utils/storage/synced_store.coffee | doged/ledger-wallet-doged-chrome | 1 | # A store able to synchronize with a remote crypted store. This store has an extra method in order to order a push or pull
# operations
# @event pulled Emitted once the store is pulled from the remote API
class ledger.storage.SyncedStore extends ledger.storage.SecureStore
PULL_INTERVAL_DELAY: ledger.config.syncRestC... | 127724 | # A store able to synchronize with a remote crypted store. This store has an extra method in order to order a push or pull
# operations
# @event pulled Emitted once the store is pulled from the remote API
class ledger.storage.SyncedStore extends ledger.storage.SecureStore
PULL_INTERVAL_DELAY: ledger.config.syncRestC... | true | # A store able to synchronize with a remote crypted store. This store has an extra method in order to order a push or pull
# operations
# @event pulled Emitted once the store is pulled from the remote API
class ledger.storage.SyncedStore extends ledger.storage.SecureStore
PULL_INTERVAL_DELAY: ledger.config.syncRestC... |
[
{
"context": "Options)\n\n\ntaskQueue = new TaskQueue\n secToken: \"f0a4d82d-d2a1-4e83-9efb-84482d5806b0\"\n taskResourceUrl: \"http://localhost:3000/api/ap",
"end": 280,
"score": 0.8796785473823547,
"start": 244,
"tag": "PASSWORD",
"value": "f0a4d82d-d2a1-4e83-9efb-84482d5806b0"
}
] | example/example.coffee | ICGGroup/icg-task-queue | 0 | TaskQueue = require("../task-queue")
bunyan = require('bunyan');
logOptions =
name: 'example-log'
streams: [
stream: process.stdout
level: "debug"
]
log = bunyan.createLogger(logOptions)
taskQueue = new TaskQueue
secToken: "f0a4d82d-d2a1-4e83-9efb-84482d5806b0"
taskResourceUrl: "http://localhost:3... | 199860 | TaskQueue = require("../task-queue")
bunyan = require('bunyan');
logOptions =
name: 'example-log'
streams: [
stream: process.stdout
level: "debug"
]
log = bunyan.createLogger(logOptions)
taskQueue = new TaskQueue
secToken: "<PASSWORD>"
taskResourceUrl: "http://localhost:3000/api/ap/queuedTasks"
... | true | TaskQueue = require("../task-queue")
bunyan = require('bunyan');
logOptions =
name: 'example-log'
streams: [
stream: process.stdout
level: "debug"
]
log = bunyan.createLogger(logOptions)
taskQueue = new TaskQueue
secToken: "PI:PASSWORD:<PASSWORD>END_PI"
taskResourceUrl: "http://localhost:3000/api/... |
[
{
"context": "#\n# grunt-chalkboard\n# https://github.com/adrianlee44/grunt-chalkboard\n#\n# Copyright (c) 2013 Adrian Le",
"end": 53,
"score": 0.9995395541191101,
"start": 42,
"tag": "USERNAME",
"value": "adrianlee44"
},
{
"context": "drianlee44/grunt-chalkboard\n#\n# Copyright (c) ... | Gruntfile.coffee | gruntjs-updater/grunt-chalkboard | 0 | #
# grunt-chalkboard
# https://github.com/adrianlee44/grunt-chalkboard
#
# Copyright (c) 2013 Adrian Lee
# Licensed under the MIT license.
#
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
coffeelint:
all: ["Gruntfile.coffee", "tasks/*.coffee", "<%= nodeunit.tests %>"]
# Befor... | 38018 | #
# grunt-chalkboard
# https://github.com/adrianlee44/grunt-chalkboard
#
# Copyright (c) 2013 <NAME>
# Licensed under the MIT license.
#
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
coffeelint:
all: ["Gruntfile.coffee", "tasks/*.coffee", "<%= nodeunit.tests %>"]
# Before ge... | true | #
# grunt-chalkboard
# https://github.com/adrianlee44/grunt-chalkboard
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
#
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
coffeelint:
all: ["Gruntfile.coffee", "tasks/*.coffee", "<%= nodeunit.tests %>"]
... |
[
{
"context": "ormation, please see the LICENSE file\n\n@author Bryan Conrad <bkconrad@gmail.com>\n@copyright 2016 Bryan Conra",
"end": 156,
"score": 0.9998887777328491,
"start": 144,
"tag": "NAME",
"value": "Bryan Conrad"
},
{
"context": "e see the LICENSE file\n\n@author Br... | index.coffee | pieterbrandsen/screeps-grafana | 70 | ###
hopsoft\screeps-statsd
Licensed under the MIT license
For full copyright and license information, please see the LICENSE file
@author Bryan Conrad <bkconrad@gmail.com>
@copyright 2016 Bryan Conrad
@link https://github.com/hopsoft/docker-graphite-statsd
@license http://choosealicense.com/licenses/MIT... | 200327 | ###
hopsoft\screeps-statsd
Licensed under the MIT license
For full copyright and license information, please see the LICENSE file
@author <NAME> <<EMAIL>>
@copyright 2016 <NAME>
@link https://github.com/hopsoft/docker-graphite-statsd
@license http://choosealicense.com/licenses/MIT MIT License
###
# Ap... | true | ###
hopsoft\screeps-statsd
Licensed under the MIT license
For full copyright and license information, please see the LICENSE file
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@copyright 2016 PI:NAME:<NAME>END_PI
@link https://github.com/hopsoft/docker-graphite-statsd
@license http://choosealice... |
[
{
"context": "ats - proves the lotto has no bias\n#\n# Author:\n# sakatam\n\n_ = require \"underscore\"\nasync = req",
"end": 452,
"score": 0.9997385740280151,
"start": 445,
"tag": "USERNAME",
"value": "sakatam"
},
{
"context": "_LOTTO_DEBUG in [\"1\", \"true\"]\n\n ST... | src/reviewer-lotto.coffee | sakatam/hubot-reviewer-lotto | 32 | # Description:
# assigns random reviewer for a pull request.
#
# Configuration:
# HUBOT_GITHUB_TOKEN (required)
# HUBOT_GITHUB_ORG (required)
# HUBOT_GITHUB_REVIEWER_TEAM (required)
# github team id. this script randomly picks a reviewer from this team members.
#
# Commands:
# hubot reviewer for <repo> <p... | 95904 | # Description:
# assigns random reviewer for a pull request.
#
# Configuration:
# HUBOT_GITHUB_TOKEN (required)
# HUBOT_GITHUB_ORG (required)
# HUBOT_GITHUB_REVIEWER_TEAM (required)
# github team id. this script randomly picks a reviewer from this team members.
#
# Commands:
# hubot reviewer for <repo> <p... | true | # Description:
# assigns random reviewer for a pull request.
#
# Configuration:
# HUBOT_GITHUB_TOKEN (required)
# HUBOT_GITHUB_ORG (required)
# HUBOT_GITHUB_REVIEWER_TEAM (required)
# github team id. this script randomly picks a reviewer from this team members.
#
# Commands:
# hubot reviewer for <repo> <p... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.999164342880249,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-child-process-execsync.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 70924 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "es = []\nclientKey = undefined\ndefaultClientKey = 'client-id'\nqueryParamPattern = '([-A-z0-9\\/?@:%$_&=\\+.~#])*",
"end": 140,
"score": 0.9986392855644226,
"start": 131,
"tag": "KEY",
"value": "client-id"
}
] | src/index.coffee | elyku/express-client-validator | 4 | _ = require('underscore')
schema = require './schema'
Ajv = require 'ajv'
appRoutes = []
clientKey = undefined
defaultClientKey = 'client-id'
queryParamPattern = '([-A-z0-9\/?@:%$_&=\+.~#])*'
matchPattern = '([-A-z0-9@:%$_\+.~#])+'
findMatchingRoute = (url, method)->
matchedRoute = appRoutes.find (route)->
... | 188296 | _ = require('underscore')
schema = require './schema'
Ajv = require 'ajv'
appRoutes = []
clientKey = undefined
defaultClientKey = '<KEY>'
queryParamPattern = '([-A-z0-9\/?@:%$_&=\+.~#])*'
matchPattern = '([-A-z0-9@:%$_\+.~#])+'
findMatchingRoute = (url, method)->
matchedRoute = appRoutes.find (route)->
pa... | true | _ = require('underscore')
schema = require './schema'
Ajv = require 'ajv'
appRoutes = []
clientKey = undefined
defaultClientKey = 'PI:KEY:<KEY>END_PI'
queryParamPattern = '([-A-z0-9\/?@:%$_&=\+.~#])*'
matchPattern = '([-A-z0-9@:%$_\+.~#])+'
findMatchingRoute = (url, method)->
matchedRoute = appRoutes.find (route)... |
[
{
"context": "d\n scope = $rootScope.$new()\n scope.name = 'saberma'\n scope.phone = '13928452888'\n $httpBackend",
"end": 200,
"score": 0.9889549612998962,
"start": 193,
"tag": "USERNAME",
"value": "saberma"
},
{
"context": " ($rootScope) -> $rootScope.user = {id: 1, nam... | spec/javascripts/events/orders.js.coffee | richard-ma/19wu | 252 | describe "orders", ->
scope = $httpBackend = null
controller = ($rootScope, $injector, $http, $window, $controller) -> # disabled was inited
scope = $rootScope.$new()
scope.name = 'saberma'
scope.phone = '13928452888'
$httpBackend = $injector.get('$httpBackend')
$controller(OrdersCtrl, {$scope: ... | 145093 | describe "orders", ->
scope = $httpBackend = null
controller = ($rootScope, $injector, $http, $window, $controller) -> # disabled was inited
scope = $rootScope.$new()
scope.name = 'saberma'
scope.phone = '13928452888'
$httpBackend = $injector.get('$httpBackend')
$controller(OrdersCtrl, {$scope: ... | true | describe "orders", ->
scope = $httpBackend = null
controller = ($rootScope, $injector, $http, $window, $controller) -> # disabled was inited
scope = $rootScope.$new()
scope.name = 'saberma'
scope.phone = '13928452888'
$httpBackend = $injector.get('$httpBackend')
$controller(OrdersCtrl, {$scope: ... |
[
{
"context": " z '.image.austin'\n z '.name', 'Austin'\n z '.text',\n @mo",
"end": 4002,
"score": 0.999771773815155,
"start": 3996,
"tag": "NAME",
"value": "Austin"
},
{
"context": " z '.image.rachel'\n z '.name', 'R... | src/components/about/index.coffee | FreeRoamApp/free-roam | 14 | z = require 'zorium'
Icon = require '../icon'
PrimaryButton = require '../primary_button'
SecondaryButton = require '../secondary_button'
Tabs = require '../tabs'
colors = require '../../colors'
config = require '../../config'
if window?
require './index.styl'
module.exports = class About
constructor: ({@model, ... | 15956 | z = require 'zorium'
Icon = require '../icon'
PrimaryButton = require '../primary_button'
SecondaryButton = require '../secondary_button'
Tabs = require '../tabs'
colors = require '../../colors'
config = require '../../config'
if window?
require './index.styl'
module.exports = class About
constructor: ({@model, ... | true | z = require 'zorium'
Icon = require '../icon'
PrimaryButton = require '../primary_button'
SecondaryButton = require '../secondary_button'
Tabs = require '../tabs'
colors = require '../../colors'
config = require '../../config'
if window?
require './index.styl'
module.exports = class About
constructor: ({@model, ... |
[
{
"context": "* 999999999)\n user_id: localStorage['purpleUserId']\n account_id: fleetLocationId\n vin",
"end": 4498,
"score": 0.8199235200881958,
"start": 4492,
"tag": "USERNAME",
"value": "UserId"
},
{
"context": "l.VERSION_NUMBER\n user_id: localStora... | src/app/controller/Fleet.coffee | Purple-Services/app | 2 | Ext.define 'Purple.controller.Fleet',
extend: 'Ext.app.Controller'
config:
refs:
fleet: 'fleet'
addFleetOrderFormHeading: '[ctype=addFleetOrderFormHeading]'
addFleetOrderButtonContainer: '[ctype=addFleetOrderButtonContainer]'
cancelEditFleetOrderButtonContainer: '[ctype=cancelEditFleetOr... | 92105 | Ext.define 'Purple.controller.Fleet',
extend: 'Ext.app.Controller'
config:
refs:
fleet: 'fleet'
addFleetOrderFormHeading: '[ctype=addFleetOrderFormHeading]'
addFleetOrderButtonContainer: '[ctype=addFleetOrderButtonContainer]'
cancelEditFleetOrderButtonContainer: '[ctype=cancelEditFleetOr... | true | Ext.define 'Purple.controller.Fleet',
extend: 'Ext.app.Controller'
config:
refs:
fleet: 'fleet'
addFleetOrderFormHeading: '[ctype=addFleetOrderFormHeading]'
addFleetOrderButtonContainer: '[ctype=addFleetOrderButtonContainer]'
cancelEditFleetOrderButtonContainer: '[ctype=cancelEditFleetOr... |
[
{
"context": "###\n* @author Andrew D.Laptev <a.d.laptev@gmail.com>\n###\n\n###global describe, b",
"end": 29,
"score": 0.9998908638954163,
"start": 14,
"tag": "NAME",
"value": "Andrew D.Laptev"
},
{
"context": "###\n* @author Andrew D.Laptev <a.d.laptev@gmail.com>\n###\n\n###global ... | test/test.get.coffee | agsh/boobst | 16 | ###
* @author Andrew D.Laptev <a.d.laptev@gmail.com>
###
###global describe, beforeEach, afterEach, it###
'use strict'
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^testObject';
describe 'get', () ->
this.timeout 1000
bs = new BoobstSocket(require './test.... | 34982 | ###
* @author <NAME> <<EMAIL>>
###
###global describe, beforeEach, afterEach, it###
'use strict'
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^testObject';
describe 'get', () ->
this.timeout 1000
bs = new BoobstSocket(require './test.config')
# bs.on('d... | true | ###
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
###global describe, beforeEach, afterEach, it###
'use strict'
assert = require 'assert'
boobst = require '../boobst'
BoobstSocket = boobst.BoobstSocket
GLOBAL = '^testObject';
describe 'get', () ->
this.timeout 1000
bs = new BoobstSocket(require '... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993944764137268,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/pummel/test-net-pause.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 107113 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": " url:[]\n id:[]\n locale:'es-mx'\n name:\"Boilerplate\"\n userInfo:null\n\n constructor:(@callback=nu",
"end": 109,
"score": 0.9527460932731628,
"start": 98,
"tag": "NAME",
"value": "Boilerplate"
},
{
"context": "son\"\n data:\n ... | src/Data.coffee | amorino/bones | 0 | Requester = require "lib/requester"
class Data
url:[]
id:[]
locale:'es-mx'
name:"Boilerplate"
userInfo:null
constructor:(@callback=null)->
@init()
# @getUserInfo()
init:=>
if App.LIVE
@url.endPoint = ""
@id.FB = ""
@id.GA = ""
... | 55146 | Requester = require "lib/requester"
class Data
url:[]
id:[]
locale:'es-mx'
name:"<NAME>"
userInfo:null
constructor:(@callback=null)->
@init()
# @getUserInfo()
init:=>
if App.LIVE
@url.endPoint = ""
@id.FB = ""
@id.GA = ""
... | true | Requester = require "lib/requester"
class Data
url:[]
id:[]
locale:'es-mx'
name:"PI:NAME:<NAME>END_PI"
userInfo:null
constructor:(@callback=null)->
@init()
# @getUserInfo()
init:=>
if App.LIVE
@url.endPoint = ""
@id.FB = ""
@id.G... |
[
{
"context": "\n email: $scope.createEmail\n password: $scope.createPassword\n",
"end": 458,
"score": 0.9505672454833984,
"start": 438,
"tag": "PASSWORD",
"value": "scope.createPassword"
}
] | www/client/user/controllers/login.coffee | paulmolin42/online-swiss-knife | 0 | angular.module 'online-swiss-knife.user'
.controller 'login', ($scope, $state, ImprovedUser) ->
$scope.login = ->
ImprovedUser.login
email: $scope.loginEmail
password: $scope.loginPassword
.$promise
.then () ->
$state.go 'home'
$scope.createUser = ->
ImprovedUser.create
fir... | 116259 | angular.module 'online-swiss-knife.user'
.controller 'login', ($scope, $state, ImprovedUser) ->
$scope.login = ->
ImprovedUser.login
email: $scope.loginEmail
password: $scope.loginPassword
.$promise
.then () ->
$state.go 'home'
$scope.createUser = ->
ImprovedUser.create
fir... | true | angular.module 'online-swiss-knife.user'
.controller 'login', ($scope, $state, ImprovedUser) ->
$scope.login = ->
ImprovedUser.login
email: $scope.loginEmail
password: $scope.loginPassword
.$promise
.then () ->
$state.go 'home'
$scope.createUser = ->
ImprovedUser.create
fir... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993476271629333,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-net-server-max-connections.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 47760 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "###\n# @author Jinzulen\n# @license Apache 2.0\n# @copyright Copyright 2020",
"end": 22,
"score": 0.9998749494552612,
"start": 14,
"tag": "NAME",
"value": "Jinzulen"
},
{
"context": "\n# @license Apache 2.0\n# @copyright Copyright 2020 Khalil G. <https://github.com/Jinz... | src/Methods/Emotes/Author.coffee | DiaxManPl/DEmojiJS | 24 | ###
# @author Jinzulen
# @license Apache 2.0
# @copyright Copyright 2020 Khalil G. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabAuthor
constructor: (Author, GIF, Callback) ->
return new Promise (Resolve, Reject) ->
if !Author then Reject "# [D... | 114646 | ###
# @author <NAME>
# @license Apache 2.0
# @copyright Copyright 2020 <NAME>. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabAuthor
constructor: (Author, GIF, Callback) ->
return new Promise (Resolve, Reject) ->
if !Author then Reject "# [DEmoj... | true | ###
# @author PI:NAME:<NAME>END_PI
# @license Apache 2.0
# @copyright Copyright 2020 PI:NAME:<NAME>END_PI. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabAuthor
constructor: (Author, GIF, Callback) ->
return new Promise (Resolve, Reject) ->
if !... |
[
{
"context": "../src/index\"\n\ndescribe \"Mailer\", ->\n emailTo = 'toto@toto.com'\n emailFrom = 'no-reply@toto.com'\n locale = 'en",
"end": 186,
"score": 0.9999133348464966,
"start": 173,
"tag": "EMAIL",
"value": "toto@toto.com"
},
{
"context": "r\", ->\n emailTo = 'toto@toto.c... | test/unit/index.coffee | daemon1981/node-service-mailer | 0 | assert = require 'assert'
should = require 'should'
sinon = require 'sinon'
Mailer = require "../../src/index"
describe "Mailer", ->
emailTo = 'toto@toto.com'
emailFrom = 'no-reply@toto.com'
locale = 'en'
mailer = {}
createMailer = (templateRootDir) ->
mailer = new Mailer("Send... | 65382 | assert = require 'assert'
should = require 'should'
sinon = require 'sinon'
Mailer = require "../../src/index"
describe "Mailer", ->
emailTo = '<EMAIL>'
emailFrom = '<EMAIL>'
locale = 'en'
mailer = {}
createMailer = (templateRootDir) ->
mailer = new Mailer("Sendmail", templateR... | true | assert = require 'assert'
should = require 'should'
sinon = require 'sinon'
Mailer = require "../../src/index"
describe "Mailer", ->
emailTo = 'PI:EMAIL:<EMAIL>END_PI'
emailFrom = 'PI:EMAIL:<EMAIL>END_PI'
locale = 'en'
mailer = {}
createMailer = (templateRootDir) ->
mailer = ne... |
[
{
"context": ",\n \"status\": 200\n \"data\":\n \"login\": \"ntkme\",\n \"id\": 899645,\n \"avatar_url\": \"https:",
"end": 12680,
"score": 0.9989709854125977,
"start": 12675,
"tag": "USERNAME",
"value": "ntkme"
},
{
"context": "\": \"\",\n \"url\": \"http... | test/browser/src/core.coffee | DimensionDataResearch/buttons | 0 | describe 'Element', ->
describe '#constructor()', ->
it 'should use element when element is given', ->
element = document.createElement "a"
expect new Element(element).$
.to.equal element
it 'should create new element when tag name is given', ->
expect new Element("i").$.nodeType
... | 220896 | describe 'Element', ->
describe '#constructor()', ->
it 'should use element when element is given', ->
element = document.createElement "a"
expect new Element(element).$
.to.equal element
it 'should create new element when tag name is given', ->
expect new Element("i").$.nodeType
... | true | describe 'Element', ->
describe '#constructor()', ->
it 'should use element when element is given', ->
element = document.createElement "a"
expect new Element(element).$
.to.equal element
it 'should create new element when tag name is given', ->
expect new Element("i").$.nodeType
... |
[
{
"context": "l\n\n before (done) ->\n k1 = new Kitten(name : 'Nina')\n k2 = new Kitten(name : 'Margarita')\n k1.",
"end": 333,
"score": 0.9993351697921753,
"start": 329,
"tag": "NAME",
"value": "Nina"
},
{
"context": "Kitten(name : 'Nina')\n k2 = new Kitten(name : 'Marg... | servertest/integration/kittens.coffee | mafiuss/sandcat | 1 | request = require 'supertest'
express = require 'express'
app = require '../../app'
mongoose = require 'mongoose'
Kitten = require '../../subapps/kittens/models/kitten'
mongoose.connect 'mongodb://localhost/cat-test'
describe 'kiitens web application', ->
k1 = null
k2 = null
before (done) ->
k1 = new Kitten... | 224469 | request = require 'supertest'
express = require 'express'
app = require '../../app'
mongoose = require 'mongoose'
Kitten = require '../../subapps/kittens/models/kitten'
mongoose.connect 'mongodb://localhost/cat-test'
describe 'kiitens web application', ->
k1 = null
k2 = null
before (done) ->
k1 = new Kitten... | true | request = require 'supertest'
express = require 'express'
app = require '../../app'
mongoose = require 'mongoose'
Kitten = require '../../subapps/kittens/models/kitten'
mongoose.connect 'mongodb://localhost/cat-test'
describe 'kiitens web application', ->
k1 = null
k2 = null
before (done) ->
k1 = new Kitten... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.999845027923584,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail... | library/gearbox/pinpoint.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 4447 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "###\n# middleware/is_authorized.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Middleware to ",
"end": 60,
"score": 0.9997053146362305,
"start": 49,
"tag": "NAME",
"value": "Dan Nichols"
}
] | lib/middleware/is_authorized.coffee | dlnichols/h_media | 0 | ###
# middleware/is_authorized.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Middleware to determine if a user is authorized
###
'use strict'
# External libs
debug = require('debug') 'hMedia:middleware:isAuthorized'
###
# isAuthenticated
###
module.exports = exports =
# Return 401 unless a user i... | 14500 | ###
# middleware/is_authorized.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Middleware to determine if a user is authorized
###
'use strict'
# External libs
debug = require('debug') 'hMedia:middleware:isAuthorized'
###
# isAuthenticated
###
module.exports = exports =
# Return 401 unless a user is aut... | true | ###
# middleware/is_authorized.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Middleware to determine if a user is authorized
###
'use strict'
# External libs
debug = require('debug') 'hMedia:middleware:isAuthorized'
###
# isAuthenticated
###
module.exports = exports =
# Return 401 unless... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.998561680316925,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream2-writable.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 95630 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "text onto HTML canvas elements\n\nWritten in 2013 by Karl Naylor <kpn103@yahoo.com>\n\nTo the extent possible under ",
"end": 106,
"score": 0.9998902082443237,
"start": 95,
"tag": "NAME",
"value": "Karl Naylor"
},
{
"context": " canvas elements\n\nWritten in 2013 by Kar... | src/content/coffee/handywriteOnCanvas/graphemes/cubic_beziers.coffee | karlorg/phonetify | 1 | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by Karl Naylor <kpn103@yahoo.com>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed wit... | 224559 | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by <NAME> <<EMAIL>>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed without any
warra... | true | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is ... |
[
{
"context": "\\docker-openresty · GitHub](https:\\\\\\\\github.com\\\\openresty\\\\docker-openresty\\\\blob\\\\master\\\\alpine\\\\Dockerfi",
"end": 458,
"score": 0.897545337677002,
"start": 449,
"tag": "USERNAME",
"value": "openresty"
},
{
"context": "\\master\\\\alpine\\\\Dockerfi... | notes/1c20e5ca-7722-4366-9ac6-b423739f24e9.cson | cwocwo/boostnote | 0 | createdAt: "2018-09-01T03:27:00.589Z"
updatedAt: "2018-09-22T03:34:41.655Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "http2 kecloak proxy"
content: '''
# http2 kecloak proxy
.\\keycloak-proxy-linux-amd64 -config config.yaml --skip-openid-provider-tls-verify=true --secure-cookie=false --verbose... | 109486 | createdAt: "2018-09-01T03:27:00.589Z"
updatedAt: "2018-09-22T03:34:41.655Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "http2 kecloak proxy"
content: '''
# http2 kecloak proxy
.\\keycloak-proxy-linux-amd64 -config config.yaml --skip-openid-provider-tls-verify=true --secure-cookie=false --verbose... | true | createdAt: "2018-09-01T03:27:00.589Z"
updatedAt: "2018-09-22T03:34:41.655Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "http2 kecloak proxy"
content: '''
# http2 kecloak proxy
.\\keycloak-proxy-linux-amd64 -config config.yaml --skip-openid-provider-tls-verify=true --secure-cookie=false --verbose... |
[
{
"context": "js.server.connect({\n user: user,\n password:password,\n host: host,\n ssl: ssl\n})\n\nmessageCon",
"end": 377,
"score": 0.9995935559272766,
"start": 369,
"tag": "PASSWORD",
"value": "password"
}
] | app.coffee | stenver/node-mailing-service | 0 | #!/usr/bin/env coffee
EmailConsumer = require './lib/email_consumer'
emailjs = require("emailjs/email")
kafka = require 'kafka-node'
user = process.env.EMAIL_USER
password = process.env.EMAIL_PASSWORD
host = process.env.HOST
ssl = process.env.SSL || true
console.log(user, password, host, ssl)
emailjsserver = emailj... | 186326 | #!/usr/bin/env coffee
EmailConsumer = require './lib/email_consumer'
emailjs = require("emailjs/email")
kafka = require 'kafka-node'
user = process.env.EMAIL_USER
password = process.env.EMAIL_PASSWORD
host = process.env.HOST
ssl = process.env.SSL || true
console.log(user, password, host, ssl)
emailjsserver = emailj... | true | #!/usr/bin/env coffee
EmailConsumer = require './lib/email_consumer'
emailjs = require("emailjs/email")
kafka = require 'kafka-node'
user = process.env.EMAIL_USER
password = process.env.EMAIL_PASSWORD
host = process.env.HOST
ssl = process.env.SSL || true
console.log(user, password, host, ssl)
emailjsserver = emailj... |
[
{
"context": " args.join(\" \")\n opt = {}\n opt.uniqueKey = 'textidote'\n opt.stream = 'both'\n console.log \"lintin",
"end": 1924,
"score": 0.9758475422859192,
"start": 1915,
"tag": "KEY",
"value": "textidote"
}
] | lib/linter-textidote.coffee | 73/linter-textidote | 1 | {CompositeDisposable} = require 'atom'
fs = require 'fs'
path = require 'path'
helpers = require 'atom-linter'
XRegExp = require('xregexp').XRegExp
xcache = new Map
module.exports =
config:
executablePath:
type: 'string'
default: "/usr/local/bin/textidote"
description: 'Path to the textidote b... | 19281 | {CompositeDisposable} = require 'atom'
fs = require 'fs'
path = require 'path'
helpers = require 'atom-linter'
XRegExp = require('xregexp').XRegExp
xcache = new Map
module.exports =
config:
executablePath:
type: 'string'
default: "/usr/local/bin/textidote"
description: 'Path to the textidote b... | true | {CompositeDisposable} = require 'atom'
fs = require 'fs'
path = require 'path'
helpers = require 'atom-linter'
XRegExp = require('xregexp').XRegExp
xcache = new Map
module.exports =
config:
executablePath:
type: 'string'
default: "/usr/local/bin/textidote"
description: 'Path to the textidote b... |
[
{
"context": "###\n chroma.js\n\n Copyright (c) 2011-2013, Gregor Aisch\n All rights reserved.\n\n Redistribution and ",
"end": 60,
"score": 0.9998817443847656,
"start": 48,
"tag": "NAME",
"value": "Gregor Aisch"
},
{
"context": " OF SUCH DAMAGE.\n\n @source: https://g... | bower_components/chroma-js/src/colorscale.coffee | zzolo/ractive-js-example-presentation | 1 | ###
chroma.js
Copyright (c) 2011-2013, Gregor Aisch
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... | 104477 | ###
chroma.js
Copyright (c) 2011-2013, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
... | true | ###
chroma.js
Copyright (c) 2011-2013, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright noti... |
[
{
"context": "p Controller\", ->\n\n\tbeforeEach ->\n\t\t@user = {_id:\"!@312431\"}\n\t\t@subscription = {}\n\t\t@GroupHandler = \n\t\t\taddU",
"end": 307,
"score": 0.8701440095901489,
"start": 300,
"tag": "PASSWORD",
"value": "@312431"
},
{
"context": "nLocator\": @SubscriptionLocat... | test/UnitTests/coffee/Subscription/SubscriptionGroupControllerTests.coffee | mickaobrien/web-sharelatex | 0 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/Subscription/SubscriptionGroupController"
describe "Subscription Group Controller", ->
beforeEach ->
@user = {_id:"!@312431"}
@subscri... | 170285 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/Subscription/SubscriptionGroupController"
describe "Subscription Group Controller", ->
beforeEach ->
@user = {_id:"!<PASSWORD>"}
@subs... | true | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/Subscription/SubscriptionGroupController"
describe "Subscription Group Controller", ->
beforeEach ->
@user = {_id:"!PI:PASSWORD:<PASSWOR... |
[
{
"context": "ion\n# * query job statistics\n#\n# Author:\n# <dan.ryan@XXXXXXXXXX>\n\n_ = require('underscore')\nsys = require 'sys' #",
"end": 923,
"score": 0.9830531477928162,
"start": 904,
"tag": "EMAIL",
"value": "dan.ryan@XXXXXXXXXX"
}
] | hubot/scripts/slack_rundeck.coffee | steeef/hubot-demo | 0 | # Description
# Rundeck integration with hubot
#
# Dependencies:
# "underscore": "^1.6.0"
# "strftime": "^0.8.0"
# "xml2js": "^0.4.1"
# "hubot-auth"
#
# Configuration:
# HUBOT_RUNDECK_URL - root URL for Rundeck, not including api path
# HUBOT_RUNDECK_TOKEN
# HUBOT_RUNDECK_PROJECT
#
# Commands:
# hubot... | 150839 | # Description
# Rundeck integration with hubot
#
# Dependencies:
# "underscore": "^1.6.0"
# "strftime": "^0.8.0"
# "xml2js": "^0.4.1"
# "hubot-auth"
#
# Configuration:
# HUBOT_RUNDECK_URL - root URL for Rundeck, not including api path
# HUBOT_RUNDECK_TOKEN
# HUBOT_RUNDECK_PROJECT
#
# Commands:
# hubot... | true | # Description
# Rundeck integration with hubot
#
# Dependencies:
# "underscore": "^1.6.0"
# "strftime": "^0.8.0"
# "xml2js": "^0.4.1"
# "hubot-auth"
#
# Configuration:
# HUBOT_RUNDECK_URL - root URL for Rundeck, not including api path
# HUBOT_RUNDECK_TOKEN
# HUBOT_RUNDECK_PROJECT
#
# Commands:
# hubot... |
[
{
"context": " Software (http://funcss.org)\n#\n# Copyright © 2015 Bernát Kalló\n#\n# Permission is hereby granted, free of charge,",
"end": 94,
"score": 0.9998233914375305,
"start": 82,
"tag": "NAME",
"value": "Bernát Kalló"
}
] | src/compiler/syntax/tokenizer.coffee | funcss-lang/funcss | 9 | #
# This file is part of FuncSS Software (http://funcss.org)
#
# Copyright © 2015 Bernát Kalló
#
# 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 limitat... | 68895 | #
# This file is part of FuncSS Software (http://funcss.org)
#
# Copyright © 2015 <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 th... | true | #
# This file is part of FuncSS Software (http://funcss.org)
#
# Copyright © 2015 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... |
[
{
"context": " all:\n options:\n urls: ['http://127.0.0.1:3000/spec/runner.html']\n\n # Coding standards\n ",
"end": 2423,
"score": 0.7149990797042847,
"start": 2415,
"tag": "IP_ADDRESS",
"value": "27.0.0.1"
}
] | Gruntfile.coffee | noflo/noflo-runtime | 7 | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
# CoffeeScript compilation
coffee:
spec:
options:
bare: true
transpile:
presets: ['es2015']
expand: true
cwd: 'spec'
src: ['**.coffee']
... | 55495 | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
# CoffeeScript compilation
coffee:
spec:
options:
bare: true
transpile:
presets: ['es2015']
expand: true
cwd: 'spec'
src: ['**.coffee']
... | true | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
# CoffeeScript compilation
coffee:
spec:
options:
bare: true
transpile:
presets: ['es2015']
expand: true
cwd: 'spec'
src: ['**.coffee']
... |
[
{
"context": " <OwnedCard\n key={resource.id}\n resource={resource}\n ",
"end": 2211,
"score": 0.8361924290657043,
"start": 2200,
"tag": "KEY",
"value": "resource.id"
}
] | app/components/owned-card-list.cjsx | camallen/Panoptes-Front-End | 0 | counterpart = require 'counterpart'
React = require 'react'
TitleMixin = require '../lib/title-mixin'
Translate = require 'react-translate-component'
apiClient = require '../api/client'
PromiseRenderer = require '../components/promise-renderer'
OwnedCard = require '../partials/owned-card'
{Link} = require '@edpaget/rea... | 29154 | counterpart = require 'counterpart'
React = require 'react'
TitleMixin = require '../lib/title-mixin'
Translate = require 'react-translate-component'
apiClient = require '../api/client'
PromiseRenderer = require '../components/promise-renderer'
OwnedCard = require '../partials/owned-card'
{Link} = require '@edpaget/rea... | true | counterpart = require 'counterpart'
React = require 'react'
TitleMixin = require '../lib/title-mixin'
Translate = require 'react-translate-component'
apiClient = require '../api/client'
PromiseRenderer = require '../components/promise-renderer'
OwnedCard = require '../partials/owned-card'
{Link} = require '@edpaget/rea... |
[
{
"context": " neo\n .createNode({ name: 'Kieve' })\n .then((node) ->\n ",
"end": 444,
"score": 0.9994712471961975,
"start": 439,
"tag": "NAME",
"value": "Kieve"
},
{
"context": " node.should.have.property('name').equal 'Kieve... | test/test.node.coffee | kievechua/js-neo4j | 2 | Q = require 'q'
chai = require 'chai'
chaiAsPromised = require 'chai-as-promised'
chai.should()
chai.use(chaiAsPromised)
require("mocha-as-promised")()
{Neo4js} = require '../src/main'
describe 'Node', ->
neo = new Neo4js()
testNode = null
describe 'neo.createNode({properties})', ->
describe '... | 103180 | Q = require 'q'
chai = require 'chai'
chaiAsPromised = require 'chai-as-promised'
chai.should()
chai.use(chaiAsPromised)
require("mocha-as-promised")()
{Neo4js} = require '../src/main'
describe 'Node', ->
neo = new Neo4js()
testNode = null
describe 'neo.createNode({properties})', ->
describe '... | true | Q = require 'q'
chai = require 'chai'
chaiAsPromised = require 'chai-as-promised'
chai.should()
chai.use(chaiAsPromised)
require("mocha-as-promised")()
{Neo4js} = require '../src/main'
describe 'Node', ->
neo = new Neo4js()
testNode = null
describe 'neo.createNode({properties})', ->
describe '... |
[
{
"context": "unt #{accountId} - Cloud State: #{status}\"} key={\"#{accountId}-n1Cloud\"} className={\"activity-status-bubble state-\" + st",
"end": 2629,
"score": 0.9972579479217529,
"start": 2609,
"tag": "KEY",
"value": "#{accountId}-n1Cloud"
},
{
"context": "BarTask task={task}\n ... | packages/client-app/internal_packages/worker-ui/lib/developer-bar.cjsx | cnheider/nylas-mail | 24,369 | _ = require 'underscore'
React = require 'react'
{DatabaseStore,
AccountStore,
TaskQueue,
Actions,
Contact,
Utils,
Message} = require 'nylas-exports'
{InjectedComponentSet} = require 'nylas-component-kit'
DeveloperBarStore = require './developer-bar-store'
DeveloperBarTask = require './developer-bar-task'
Develo... | 84132 | _ = require 'underscore'
React = require 'react'
{DatabaseStore,
AccountStore,
TaskQueue,
Actions,
Contact,
Utils,
Message} = require 'nylas-exports'
{InjectedComponentSet} = require 'nylas-component-kit'
DeveloperBarStore = require './developer-bar-store'
DeveloperBarTask = require './developer-bar-task'
Develo... | true | _ = require 'underscore'
React = require 'react'
{DatabaseStore,
AccountStore,
TaskQueue,
Actions,
Contact,
Utils,
Message} = require 'nylas-exports'
{InjectedComponentSet} = require 'nylas-component-kit'
DeveloperBarStore = require './developer-bar-store'
DeveloperBarTask = require './developer-bar-task'
Develo... |
[
{
"context": "t(\"li\").attr('id').substr(5)\n if key is \"quit\" then return true\n else if key is \"conta",
"end": 10756,
"score": 0.9658454060554504,
"start": 10752,
"tag": "KEY",
"value": "quit"
},
{
"context": "\"quit\" then return true\n else if key i... | assets/js/src/category_tree.coffee | marten-seemann/oxid-kategorie-master | 0 | # handle both the language selectors.
#
"use strict"
class window.CategoryTree
# Constructor
#
# make a tree using the jQuery jstree plugin
#
# does not call the *initialize* function!
#
# @param [jQuery] dom_elem the DOM element where the tree should be created
# @see http://www.jstree.com
construc... | 59671 | # handle both the language selectors.
#
"use strict"
class window.CategoryTree
# Constructor
#
# make a tree using the jQuery jstree plugin
#
# does not call the *initialize* function!
#
# @param [jQuery] dom_elem the DOM element where the tree should be created
# @see http://www.jstree.com
construc... | true | # handle both the language selectors.
#
"use strict"
class window.CategoryTree
# Constructor
#
# make a tree using the jQuery jstree plugin
#
# does not call the *initialize* function!
#
# @param [jQuery] dom_elem the DOM element where the tree should be created
# @see http://www.jstree.com
construc... |
[
{
"context": "ch ->\n Team.save([\n {_id: '1', name: 'foo1', local: false}\n {_id: '2', name: 'foo2',",
"end": 155,
"score": 0.7174509763717651,
"start": 152,
"tag": "NAME",
"value": "foo"
},
{
"context": "->\n Team.save([\n {_id: '1', name: 'foo1', loc... | application/api/test/commands/transfer-item-test.coffee | CHU-BURA/clone-app-kobito-oss | 215 | describe "src/commands/transfer-item", ->
stubDatabases()
context '#transferItem', ->
beforeEach ->
Team.save([
{_id: '1', name: 'foo1', local: false}
{_id: '2', name: 'foo2', local: false}
])
.then ->
Item.save [
{title: 'a', body: 'a', tags: [], teamId: '1',... | 20522 | describe "src/commands/transfer-item", ->
stubDatabases()
context '#transferItem', ->
beforeEach ->
Team.save([
{_id: '1', name: '<NAME>1', local: false}
{_id: '2', name: '<NAME>2', local: false}
])
.then ->
Item.save [
{title: 'a', body: 'a', tags: [], teamId... | true | describe "src/commands/transfer-item", ->
stubDatabases()
context '#transferItem', ->
beforeEach ->
Team.save([
{_id: '1', name: 'PI:NAME:<NAME>END_PI1', local: false}
{_id: '2', name: 'PI:NAME:<NAME>END_PI2', local: false}
])
.then ->
Item.save [
{title: 'a',... |
[
{
"context": "ull,\n \"updated_at\": null,\n \"name\": \"User One\",\n \"email\": \"user1@nylas.com\"\n },\n ",
"end": 1466,
"score": 0.9801584482192993,
"start": 1458,
"tag": "NAME",
"value": "User One"
},
{
"context": "ll,\n \"name\": \"User One\"... | packages/client-app/internal_packages/thread-list/spec/thread-list-spec.cjsx | cnheider/nylas-mail | 24,369 |
return
moment = require "moment"
_ = require 'underscore'
React = require "react"
ReactTestUtils = require('react-addons-test-utils')
ReactTestUtils = _.extend ReactTestUtils, require "jasmine-react-helpers"
{Thread,
Actions,
Account,
DatabaseStore,
WorkspaceStore,
NylasTestUtils,
AccountStore,
Compo... | 51645 |
return
moment = require "moment"
_ = require 'underscore'
React = require "react"
ReactTestUtils = require('react-addons-test-utils')
ReactTestUtils = _.extend ReactTestUtils, require "jasmine-react-helpers"
{Thread,
Actions,
Account,
DatabaseStore,
WorkspaceStore,
NylasTestUtils,
AccountStore,
Compo... | true |
return
moment = require "moment"
_ = require 'underscore'
React = require "react"
ReactTestUtils = require('react-addons-test-utils')
ReactTestUtils = _.extend ReactTestUtils, require "jasmine-react-helpers"
{Thread,
Actions,
Account,
DatabaseStore,
WorkspaceStore,
NylasTestUtils,
AccountStore,
Compo... |
[
{
"context": "#\n# Name : Cylinder\n# Author : Thomas Stachl, http://stachl.me/, @thomasstachl\n# Version : 1.0",
"end": 48,
"score": 0.9998860359191895,
"start": 35,
"tag": "NAME",
"value": "Thomas Stachl"
},
{
"context": "nder\n# Author : Thomas Stachl, http://stachl.me/, @tho... | js/cylinder.coffee | tstachl/cylinder | 1 | #
# Name : Cylinder
# Author : Thomas Stachl, http://stachl.me/, @thomasstachl
# Version : 1.0
# Repo : git@github.com:tstachl/cylinder.git
# Website : https://github.com/tstachl/cylinder
#
jQuery ->
$.cylinder = (element, options) ->
# current state
state = ''
# plugin settings
@settings = {... | 196111 | #
# Name : Cylinder
# Author : <NAME>, http://stachl.me/, @thomasstachl
# Version : 1.0
# Repo : <EMAIL>:tstachl/cylinder.git
# Website : https://github.com/tstachl/cylinder
#
jQuery ->
$.cylinder = (element, options) ->
# current state
state = ''
# plugin settings
@settings = {}
# jQuer... | true | #
# Name : Cylinder
# Author : PI:NAME:<NAME>END_PI, http://stachl.me/, @thomasstachl
# Version : 1.0
# Repo : PI:EMAIL:<EMAIL>END_PI:tstachl/cylinder.git
# Website : https://github.com/tstachl/cylinder
#
jQuery ->
$.cylinder = (element, options) ->
# current state
state = ''
# plugin settings
... |
[
{
"context": "n('click', (event) =>\n username = this.$('#username').val()\n password = this.$('#password').va",
"end": 365,
"score": 0.6093173027038574,
"start": 357,
"tag": "USERNAME",
"value": "username"
},
{
"context": "rd, redirectUrl) ->\n user =\n use... | client/src/signup/signup-view.coffee | Studyokee/studyokee-youtube | 0 | define [
'backbone',
'handlebars',
'purl',
'templates'
], (Backbone, Handlebars, Purl) ->
SignupView = Backbone.View.extend(
className: "container"
initialize: () ->
render: () ->
this.$el.html(Handlebars.templates['signup'](this.model.toJSON()))
this.$('#submit').on('click', (e... | 174278 | define [
'backbone',
'handlebars',
'purl',
'templates'
], (Backbone, Handlebars, Purl) ->
SignupView = Backbone.View.extend(
className: "container"
initialize: () ->
render: () ->
this.$el.html(Handlebars.templates['signup'](this.model.toJSON()))
this.$('#submit').on('click', (e... | true | define [
'backbone',
'handlebars',
'purl',
'templates'
], (Backbone, Handlebars, Purl) ->
SignupView = Backbone.View.extend(
className: "container"
initialize: () ->
render: () ->
this.$el.html(Handlebars.templates['signup'](this.model.toJSON()))
this.$('#submit').on('click', (e... |
[
{
"context": "Index], headers))\n keyDiv = div('hx-data-table-cell-key')\n getColumnOpt",
"end": 49249,
"score": 0.6289083361625671,
"start": 49249,
"tag": "KEY",
"value": ""
},
{
"context": "], headers))\n keyDiv = div('hx-data-table-cell... | src/components/data-table/index.coffee | p-koscielniak/hexagonjs | 61 | import { userFacingText } from 'utils/user-facing-text'
import { div, select, detached, button, i, span } from 'utils/selection'
import {
debounce,
defined,
find,
flatten,
identity,
isArray,
isFunction,
isString,
merge,
randomId,
unique
} from 'utils/utils'
import { Set as HSet } from 'utils/set'
... | 42911 | import { userFacingText } from 'utils/user-facing-text'
import { div, select, detached, button, i, span } from 'utils/selection'
import {
debounce,
defined,
find,
flatten,
identity,
isArray,
isFunction,
isString,
merge,
randomId,
unique
} from 'utils/utils'
import { Set as HSet } from 'utils/set'
... | true | import { userFacingText } from 'utils/user-facing-text'
import { div, select, detached, button, i, span } from 'utils/selection'
import {
debounce,
defined,
find,
flatten,
identity,
isArray,
isFunction,
isString,
merge,
randomId,
unique
} from 'utils/utils'
import { Set as HSet } from 'utils/set'
... |
[
{
"context": "st (empty for new DCO)\n\t\tdelegateDraft = {name: 1, firstName: '', lastName: '', email: ''}\n\t\tscope.delegates =",
"end": 716,
"score": 0.8055120706558228,
"start": 707,
"tag": "NAME",
"value": "firstName"
},
{
"context": "ew DCO)\n\t\tdelegateDraft = {name: 1, firs... | js/directives/sidebar/dco/da-sidebar-dco-manage.coffee | SwarmCorp/razzledazzle | 0 | window.app.directive 'daSidebarDcoManage', ($timeout, $location, Project, User) ->
restrict: 'A'
templateUrl: 'partials/app/blocks/dco/sidebar-dco-manage.html'
replace: true
link: (scope) ->
scope.activeSection = 'basic'
# Draft object for delegates list (empty for new DCO)
if !scope.editMode
Project.get... | 205467 | window.app.directive 'daSidebarDcoManage', ($timeout, $location, Project, User) ->
restrict: 'A'
templateUrl: 'partials/app/blocks/dco/sidebar-dco-manage.html'
replace: true
link: (scope) ->
scope.activeSection = 'basic'
# Draft object for delegates list (empty for new DCO)
if !scope.editMode
Project.get... | true | window.app.directive 'daSidebarDcoManage', ($timeout, $location, Project, User) ->
restrict: 'A'
templateUrl: 'partials/app/blocks/dco/sidebar-dco-manage.html'
replace: true
link: (scope) ->
scope.activeSection = 'basic'
# Draft object for delegates list (empty for new DCO)
if !scope.editMode
Project.get... |
[
{
"context": " doc.value.password = '***************'\n documents.push doc.value",
"end": 2504,
"score": 0.9984261393547058,
"start": 2504,
"tag": "PASSWORD",
"value": ""
}
] | server/lib/searchEngine.coffee | frankrousseau/cozy-databrowser | 0 | CoreClass = require './../helpers/CoreClass'
#********************************************************
#******************** CLASS SearchEngine ****************
#********************************************************
#@description : used to perform search with the cozy databrowser
class SearchEngine extends CoreCla... | 53671 | CoreClass = require './../helpers/CoreClass'
#********************************************************
#******************** CLASS SearchEngine ****************
#********************************************************
#@description : used to perform search with the cozy databrowser
class SearchEngine extends CoreCla... | true | CoreClass = require './../helpers/CoreClass'
#********************************************************
#******************** CLASS SearchEngine ****************
#********************************************************
#@description : used to perform search with the cozy databrowser
class SearchEngine extends CoreCla... |
[
{
"context": " EMP_NODE_COOKIE : 'ewpcool'\n\n bash_path_key:'emp-debugger.path'\n\n EMP_MAKE_CMD_KEY: 'emp-debugger.emp-make'\n E",
"end": 2146,
"score": 0.8480503559112549,
"start": 2133,
"tag": "KEY",
"value": "debugger.path"
},
{
"context": "-debugger.emp-tmp-app-name'\n EMP_... | lib/exports/emp.coffee | jcrom/emp-debugger | 2 | # macro defined
fs = require 'fs'
path = require 'path'
os = require 'os'
remote = require 'remote'
dialog = remote.Dialog
module.exports =
parser_beam_file_mod : 'atom_pl_parse_json'
# ----------------------------- Atom Config --------------------------------
EMP_APP_EXPORT_UI_PATH :'emp-template-management.S... | 23190 | # macro defined
fs = require 'fs'
path = require 'path'
os = require 'os'
remote = require 'remote'
dialog = remote.Dialog
module.exports =
parser_beam_file_mod : 'atom_pl_parse_json'
# ----------------------------- Atom Config --------------------------------
EMP_APP_EXPORT_UI_PATH :'emp-template-management.S... | true | # macro defined
fs = require 'fs'
path = require 'path'
os = require 'os'
remote = require 'remote'
dialog = remote.Dialog
module.exports =
parser_beam_file_mod : 'atom_pl_parse_json'
# ----------------------------- Atom Config --------------------------------
EMP_APP_EXPORT_UI_PATH :'emp-template-management.S... |
[
{
"context": " sess\n hashPassword({password : password}, next)\n (result, next) ->\n ",
"end": 3365,
"score": 0.9125338196754456,
"start": 3357,
"tag": "PASSWORD",
"value": "password"
}
] | src/api/authentication.coffee | bladepan/cloudbrowser | 0 | Crypto = require("crypto")
Async = require("async")
cloudbrowserError = require("../shared/cloudbrowser_error")
{LocalStrategy
, GoogleStrategy} = require("./authentication_strategies")
{hashPassword
, getParentMountPoint} = require("./utils")
class Authentication
constr... | 129012 | Crypto = require("crypto")
Async = require("async")
cloudbrowserError = require("../shared/cloudbrowser_error")
{LocalStrategy
, GoogleStrategy} = require("./authentication_strategies")
{hashPassword
, getParentMountPoint} = require("./utils")
class Authentication
constr... | true | Crypto = require("crypto")
Async = require("async")
cloudbrowserError = require("../shared/cloudbrowser_error")
{LocalStrategy
, GoogleStrategy} = require("./authentication_strategies")
{hashPassword
, getParentMountPoint} = require("./utils")
class Authentication
constr... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7829144597053528,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/fi/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/fi_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 223945 | bcv_parser = require("../../js/fi_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/fi_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": ": SourceModel\n\n attribute2fieldView:\n key: TextareaFieldView1000\n address: TextareaFieldView1000\n note: ",
"end": 4411,
"score": 0.7583366632461548,
"start": 4390,
"tag": "KEY",
"value": "TextareaFieldView1000"
}
] | app/scripts/views/source-add-widget.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'./resource-add-widget'
'./textarea-field'
'./select-field'
'./relational-select-field'
'./related-resource-representation'
'./file-select-via-search-field'
'./source-select-via-search-field'
'./source-select-via-search-input'
'./../models/source'
], (ResourceAddWidgetView, TextareaFieldView,... | 34366 | define [
'./resource-add-widget'
'./textarea-field'
'./select-field'
'./relational-select-field'
'./related-resource-representation'
'./file-select-via-search-field'
'./source-select-via-search-field'
'./source-select-via-search-input'
'./../models/source'
], (ResourceAddWidgetView, TextareaFieldView,... | true | define [
'./resource-add-widget'
'./textarea-field'
'./select-field'
'./relational-select-field'
'./related-resource-representation'
'./file-select-via-search-field'
'./source-select-via-search-field'
'./source-select-via-search-input'
'./../models/source'
], (ResourceAddWidgetView, TextareaFieldView,... |
[
{
"context": " Breakfast\"\n time: \"9h00\"\n ,\n name: \"Linus Torvalds\"\n photo: \"http://f.cl.ly/items/2A3p1N0C3c0n3",
"end": 1154,
"score": 0.9998884201049805,
"start": 1140,
"tag": "NAME",
"value": "Linus Torvalds"
},
{
"context": " company: \"Linux Found... | docpad.coffee | matehackers/evento | 0 | module.exports =
# These are variables will be accessible via our templates
templateData:
# Conference info
conf:
name: "Conference name"
description: "Conference description"
date: "November 15"
price: "$100"
venue: "Coco Bongo"
address: "Boulevard Kukulcan, 30"
... | 100729 | module.exports =
# These are variables will be accessible via our templates
templateData:
# Conference info
conf:
name: "Conference name"
description: "Conference description"
date: "November 15"
price: "$100"
venue: "Coco Bongo"
address: "Boulevard Kukulcan, 30"
... | true | module.exports =
# These are variables will be accessible via our templates
templateData:
# Conference info
conf:
name: "Conference name"
description: "Conference description"
date: "November 15"
price: "$100"
venue: "Coco Bongo"
address: "Boulevard Kukulcan, 30"
... |
[
{
"context": ": 'forgot',\n email: email,\n setPassword: setPassword,\n redirectTo: redirectTo\n intent: 'forg",
"end": 2138,
"score": 0.9964146614074707,
"start": 2127,
"tag": "PASSWORD",
"value": "setPassword"
}
] | src/desktop/apps/home/client/auth_router.coffee | kanaabe/force | 0 | Backbone = require 'backbone'
_ = require 'underscore'
mediator = require '../../../lib/mediator.coffee'
qs = require 'qs'
module.exports = class HomeAuthRouter extends Backbone.Router
routes:
'log_in': 'login'
'sign_up': 'signup'
'forgot': 'forgot'
initialize: ->
@location = window.location
... | 17462 | Backbone = require 'backbone'
_ = require 'underscore'
mediator = require '../../../lib/mediator.coffee'
qs = require 'qs'
module.exports = class HomeAuthRouter extends Backbone.Router
routes:
'log_in': 'login'
'sign_up': 'signup'
'forgot': 'forgot'
initialize: ->
@location = window.location
... | true | Backbone = require 'backbone'
_ = require 'underscore'
mediator = require '../../../lib/mediator.coffee'
qs = require 'qs'
module.exports = class HomeAuthRouter extends Backbone.Router
routes:
'log_in': 'login'
'sign_up': 'signup'
'forgot': 'forgot'
initialize: ->
@location = window.location
... |
[
{
"context": "ocalhost'\n port: 80\n user: 'test'\n password: 'test'\n\n @jiraCli =",
"end": 357,
"score": 0.8890500664710999,
"start": 353,
"tag": "USERNAME",
"value": "test"
},
{
"context": "0\n user: 'test'\n password: ... | spec/jira-cli.spec.coffee | tebriel/jira-cli | 48 | fs = require 'fs'
path = require 'path'
color = require('ansi-color').set
jira = require '../src/jira-cli.coffee'
# These seem to be a bit silly, gets me more familiar with spies though, so I
# guess that's a good thing.
describe "JiraCli", ->
beforeEach ->
config =
host: 'localhost'
... | 130188 | fs = require 'fs'
path = require 'path'
color = require('ansi-color').set
jira = require '../src/jira-cli.coffee'
# These seem to be a bit silly, gets me more familiar with spies though, so I
# guess that's a good thing.
describe "JiraCli", ->
beforeEach ->
config =
host: 'localhost'
... | true | fs = require 'fs'
path = require 'path'
color = require('ansi-color').set
jira = require '../src/jira-cli.coffee'
# These seem to be a bit silly, gets me more familiar with spies though, so I
# guess that's a good thing.
describe "JiraCli", ->
beforeEach ->
config =
host: 'localhost'
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.999911904335022,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/mp-history/content.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 { Event } from './event'
import { Game } from './game'
import * as React from 'react'
import { button, div, h3 } from 'react-dom-factories... | 203562 | # 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 { Event } from './event'
import { Game } from './game'
import * as React from 'react'
import { button, div, h3 } from 'react-dom-factories'
impor... | 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 { Event } from './event'
import { Game } from './game'
import * as React from 'react'
import { button, div, h3 } from 'react-dom-f... |
[
{
"context": "name = 'coffee-engine'\n $scope.json =\n name: 'Mario'\n template: 'cinema'\n\n $scope.templates = [\n ",
"end": 1247,
"score": 0.9594364762306213,
"start": 1242,
"tag": "NAME",
"value": "Mario"
}
] | tools/game-maker/controller.coffee | mess110/coffee-engine | 1 | app.controller 'GameMakerController', ['$scope', '$mdToast', '$location', '$window', '$routeParams', ($scope, $mdToast, $location, $window, $routeParams) ->
Hodler.get().engine.removeDom()
$scope.workspace.lastOpenedProject = $routeParams.id
$scope.saveWorkspace()
$scope.scenes = []
$scope.ui.project.name =... | 156058 | app.controller 'GameMakerController', ['$scope', '$mdToast', '$location', '$window', '$routeParams', ($scope, $mdToast, $location, $window, $routeParams) ->
Hodler.get().engine.removeDom()
$scope.workspace.lastOpenedProject = $routeParams.id
$scope.saveWorkspace()
$scope.scenes = []
$scope.ui.project.name =... | true | app.controller 'GameMakerController', ['$scope', '$mdToast', '$location', '$window', '$routeParams', ($scope, $mdToast, $location, $window, $routeParams) ->
Hodler.get().engine.removeDom()
$scope.workspace.lastOpenedProject = $routeParams.id
$scope.saveWorkspace()
$scope.scenes = []
$scope.ui.project.name =... |
[
{
"context": "ed from Sublime Completions\n# Converter created by Renato \"Hii\" Garcia\n# Repo: https://github.com/Renato-Ga",
"end": 105,
"score": 0.9998212456703186,
"start": 99,
"tag": "NAME",
"value": "Renato"
},
{
"context": "ublime Completions\n# Converter created by Renato \"... | snippets/streamer.cson | Wuzi/language-pawn | 4 | # Incognito's Streamer snippets for Atom converted from Sublime Completions
# Converter created by Renato "Hii" Garcia
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'Streamer_GetTickRate':
'prefix': 'Streamer_GetTickRate'
'body': 'Streamer_GetTickRat... | 137543 | # Incognito's Streamer snippets for Atom converted from Sublime Completions
# Converter created by <NAME> "<NAME>" <NAME>
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'Streamer_GetTickRate':
'prefix': 'Streamer_GetTickRate'
'body': 'Streamer_GetTick... | true | # Incognito's Streamer snippets for Atom converted from Sublime Completions
# Converter created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI" PI:NAME:<NAME>END_PI
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'Streamer_GetTickRate':
'prefix': 'Streamer_... |
[
{
"context": " datos\n# de la última generada\n#\n# Author:\n# lgaticaq\n\nsii = require(\"sii\")\nRut = require(\"rutjs\")\n\nget",
"end": 297,
"score": 0.9996551871299744,
"start": 289,
"tag": "USERNAME",
"value": "lgaticaq"
},
{
"context": "\n user = {rut: rut.getNiceRut(... | src/script.coffee | lgaticaq/hubot-sii | 1 | # Description
# Script de hubot para crear boleta de honorarios
#
# Dependencies:
# "rutjs": "^0.1.1"
# "sii": "0.0.1"
#
# Configuration:
# None
#
# Commands:
# hubot sii boleta <rut> <contraseña> <monto> - Genera boleta con los datos
# de la última generada
#
# Author:
# lgaticaq
sii = require("sii")
... | 75052 | # Description
# Script de hubot para crear boleta de honorarios
#
# Dependencies:
# "rutjs": "^0.1.1"
# "sii": "0.0.1"
#
# Configuration:
# None
#
# Commands:
# hubot sii boleta <rut> <contraseña> <monto> - Genera boleta con los datos
# de la última generada
#
# Author:
# lgaticaq
sii = require("sii")
... | true | # Description
# Script de hubot para crear boleta de honorarios
#
# Dependencies:
# "rutjs": "^0.1.1"
# "sii": "0.0.1"
#
# Configuration:
# None
#
# Commands:
# hubot sii boleta <rut> <contraseña> <monto> - Genera boleta con los datos
# de la última generada
#
# Author:
# lgaticaq
sii = require("sii")
... |
[
{
"context": "# Author: Josh Bass\n\nReact = require(\"react\");\nrequire(\"./res/styles/",
"end": 19,
"score": 0.9998725652694702,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
}
] | src/client/components/navigation_bar/NavigationBarView.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
React = require("react");
require("./res/styles/navigation_bar.scss");
module.exports = React.createClass
getInitialState: ->
{nav_visible: false, nav_selection: ["inventory"]};
componentDidMount: ->
@props.nav_model.set("nav_selection", @state.nav_selection);
@props.nav_model.o... | 166464 | # Author: <NAME>
React = require("react");
require("./res/styles/navigation_bar.scss");
module.exports = React.createClass
getInitialState: ->
{nav_visible: false, nav_selection: ["inventory"]};
componentDidMount: ->
@props.nav_model.set("nav_selection", @state.nav_selection);
@props.nav_model.on("... | true | # Author: PI:NAME:<NAME>END_PI
React = require("react");
require("./res/styles/navigation_bar.scss");
module.exports = React.createClass
getInitialState: ->
{nav_visible: false, nav_selection: ["inventory"]};
componentDidMount: ->
@props.nav_model.set("nav_selection", @state.nav_selection);
@props.... |
[
{
"context": "le_enum_attribute'\n value:\n key: 'enum-new-key'\n label: 'enum-new-key'\n\n sampleImport.",
"end": 10561,
"score": 0.8720152974128723,
"start": 10554,
"tag": "KEY",
"value": "new-key"
},
{
"context": " label: 'Enum 1 Label',\n key:... | test/integration.spec.coffee | sphereio/sphere-product-import | 5 | debug = require('debug')('spec:it:sphere-product-import')
_ = require 'underscore'
_.mixin require 'underscore-mixins'
{ProductImport} = require '../lib'
ClientConfig = require '../config'
Promise = require 'bluebird'
path = require 'path'
fs = require 'fs-extra'
jasmine = require 'jasmine-node'
{ deleteProducts } = re... | 146143 | debug = require('debug')('spec:it:sphere-product-import')
_ = require 'underscore'
_.mixin require 'underscore-mixins'
{ProductImport} = require '../lib'
ClientConfig = require '../config'
Promise = require 'bluebird'
path = require 'path'
fs = require 'fs-extra'
jasmine = require 'jasmine-node'
{ deleteProducts } = re... | true | debug = require('debug')('spec:it:sphere-product-import')
_ = require 'underscore'
_.mixin require 'underscore-mixins'
{ProductImport} = require '../lib'
ClientConfig = require '../config'
Promise = require 'bluebird'
path = require 'path'
fs = require 'fs-extra'
jasmine = require 'jasmine-node'
{ deleteProducts } = re... |
[
{
"context": "###\nGulp task build\n@create 2014-10-07\n@author KoutarouYabe <idolm@ster.pw>\n###\n\nmodule.exports = (gulp, plug",
"end": 59,
"score": 0.9998940825462341,
"start": 47,
"tag": "NAME",
"value": "KoutarouYabe"
},
{
"context": "sk build\n@create 2014-10-07\n@author Kouta... | tasks/register/build.coffee | moorvin/Sea-Fight | 1 | ###
Gulp task build
@create 2014-10-07
@author KoutarouYabe <idolm@ster.pw>
###
module.exports = (gulp, plugins)->
gulp.task 'build', (cb)->
plugins.sequence(
'compileAssets',
cb
)
| 96794 | ###
Gulp task build
@create 2014-10-07
@author <NAME> <<EMAIL>>
###
module.exports = (gulp, plugins)->
gulp.task 'build', (cb)->
plugins.sequence(
'compileAssets',
cb
)
| true | ###
Gulp task build
@create 2014-10-07
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
module.exports = (gulp, plugins)->
gulp.task 'build', (cb)->
plugins.sequence(
'compileAssets',
cb
)
|
[
{
"context": "e UI.Button unit tests\n#\n# Copyright (C) 2012-2013 Nikolay Nemshilov\n#\n{Test} = require('lovely')\n\ndescribe 'UI.Button",
"end": 74,
"score": 0.9998878240585327,
"start": 57,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/core/test/button_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The UI.Button unit tests
#
# Copyright (C) 2012-2013 Nikolay Nemshilov
#
{Test} = require('lovely')
describe 'UI.Button', ->
UI = Button = button = $ = null
before Test.load (build, win)->
UI = build
Button = UI.Button
button = new Button('some text')
$ = win.Lovely.module('dom')
i... | 132987 | #
# The UI.Button unit tests
#
# Copyright (C) 2012-2013 <NAME>
#
{Test} = require('lovely')
describe 'UI.Button', ->
UI = Button = button = $ = null
before Test.load (build, win)->
UI = build
Button = UI.Button
button = new Button('some text')
$ = win.Lovely.module('dom')
it "should b... | true | #
# The UI.Button unit tests
#
# Copyright (C) 2012-2013 PI:NAME:<NAME>END_PI
#
{Test} = require('lovely')
describe 'UI.Button', ->
UI = Button = button = $ = null
before Test.load (build, win)->
UI = build
Button = UI.Button
button = new Button('some text')
$ = win.Lovely.module('dom')
... |
[
{
"context": "Mapping\"\n \"Maps\"\n \"MargulisCode\"\n \"MarkGroebner\"\n \"Mass\"\n \"MasseyProduct\"\n \"MatRep",
"end": 107809,
"score": 0.9453768134117126,
"start": 107797,
"tag": "USERNAME",
"value": "MarkGroebner"
},
{
"context": "obian\"\n \... | settings/magma.cson | thomasgemunden/language-magma | 0 | ".source.Magma":
editor:
increaseIndentPattern: "^\\s*(function|procedure|if|for|while|elif|else|case|when|repeat|try|catch)[^;]*$|^\\s*\\b([A-Za-z_][A-Za-z0-9_]*)\\b\\s*:=\\s*\\b(function|procedure)\\b.*$"
decreaseIndentPattern: "^\\s*((end (for|if|procedure|function|case|while|try))|else|elif|until)\\b.*"
... | 140463 | ".source.Magma":
editor:
increaseIndentPattern: "^\\s*(function|procedure|if|for|while|elif|else|case|when|repeat|try|catch)[^;]*$|^\\s*\\b([A-Za-z_][A-Za-z0-9_]*)\\b\\s*:=\\s*\\b(function|procedure)\\b.*$"
decreaseIndentPattern: "^\\s*((end (for|if|procedure|function|case|while|try))|else|elif|until)\\b.*"
... | true | ".source.Magma":
editor:
increaseIndentPattern: "^\\s*(function|procedure|if|for|while|elif|else|case|when|repeat|try|catch)[^;]*$|^\\s*\\b([A-Za-z_][A-Za-z0-9_]*)\\b\\s*:=\\s*\\b(function|procedure)\\b.*$"
decreaseIndentPattern: "^\\s*((end (for|if|procedure|function|case|while|try))|else|elif|until)\\b.*"
... |
[
{
"context": "a: '{\"username\":\"' + username + '\",\"password\":\"' + password + '\", \"remember\":' + remember + '}',\n type",
"end": 1262,
"score": 0.87144535779953,
"start": 1254,
"tag": "PASSWORD",
"value": "password"
}
] | scripts/layout.coffee | KSP-SpaceDock/SpaceDock-Frontend | 2 | $(document).ready () ->
window.userContext (done) ->
if window.user != null
$('#user-login').show()
$('#user-noLogin').hide()
$('#usernameDisplay').html('Welcome, ' + window.user.username + ' <b class="caret"></b>')
$('#view-user-profile').attr('href', '/pr... | 175962 | $(document).ready () ->
window.userContext (done) ->
if window.user != null
$('#user-login').show()
$('#user-noLogin').hide()
$('#usernameDisplay').html('Welcome, ' + window.user.username + ' <b class="caret"></b>')
$('#view-user-profile').attr('href', '/pr... | true | $(document).ready () ->
window.userContext (done) ->
if window.user != null
$('#user-login').show()
$('#user-noLogin').hide()
$('#usernameDisplay').html('Welcome, ' + window.user.username + ' <b class="caret"></b>')
$('#view-user-profile').attr('href', '/pr... |
[
{
"context": "sterr = new Error 'test'\n testcontext = name: 'foo'\n\n add2 = (n) ->\n equal this, testcontext",
"end": 3031,
"score": 0.6259588003158569,
"start": 3028,
"tag": "NAME",
"value": "foo"
}
] | node_modules/async-q/test.coffee | HossamBadawy/miniProject | 0 | async = require './'
Q = require 'q'
require('mocha')
chai = require 'chai'
chai.use require 'chai-as-promised'
{ assert: { strictEqual: equal, deepEqual, isRejected, fail, becomes, ok }
} = chai
eachIterator = (args, x) -> Q.delay(x*25).then -> args.push x
mapIterator = (call_order, x) ->
Q.delay(x*25).then -... | 88088 | async = require './'
Q = require 'q'
require('mocha')
chai = require 'chai'
chai.use require 'chai-as-promised'
{ assert: { strictEqual: equal, deepEqual, isRejected, fail, becomes, ok }
} = chai
eachIterator = (args, x) -> Q.delay(x*25).then -> args.push x
mapIterator = (call_order, x) ->
Q.delay(x*25).then -... | true | async = require './'
Q = require 'q'
require('mocha')
chai = require 'chai'
chai.use require 'chai-as-promised'
{ assert: { strictEqual: equal, deepEqual, isRejected, fail, becomes, ok }
} = chai
eachIterator = (args, x) -> Q.delay(x*25).then -> args.push x
mapIterator = (call_order, x) ->
Q.delay(x*25).then -... |
[
{
"context": "room1._id\n data.authorName.should.eql '许晶鑫'\n data.attachments.length.should.eql 1",
"end": 823,
"score": 0.9995460510253906,
"start": 820,
"tag": "NAME",
"value": "许晶鑫"
},
{
"context": "'Hello'\n data.authorName.should.eql '小艾'\n ... | talk-api2x/test/controllers/service.coffee | ikingye/talk-os | 3,084 | should = require 'should'
fs = require 'fs'
path = require 'path'
async = require 'async'
Promise = require 'bluebird'
limbo = require 'limbo'
app = require '../app'
{prepare, cleanup, request, _app, requestAsync} = app
supertest = require 'supertest'
urlLib = require 'url'
serviceLoader = require 'talk-services'
qs = ... | 202712 | should = require 'should'
fs = require 'fs'
path = require 'path'
async = require 'async'
Promise = require 'bluebird'
limbo = require 'limbo'
app = require '../app'
{prepare, cleanup, request, _app, requestAsync} = app
supertest = require 'supertest'
urlLib = require 'url'
serviceLoader = require 'talk-services'
qs = ... | true | should = require 'should'
fs = require 'fs'
path = require 'path'
async = require 'async'
Promise = require 'bluebird'
limbo = require 'limbo'
app = require '../app'
{prepare, cleanup, request, _app, requestAsync} = app
supertest = require 'supertest'
urlLib = require 'url'
serviceLoader = require 'talk-services'
qs = ... |
[
{
"context": "# [Slider.js](http://demo.greweb.fr/slider) by @greweb \n\n###!\nCopyright 2011 Gaetan Renaudeau\n\nLicensed ",
"end": 54,
"score": 0.999583899974823,
"start": 47,
"tag": "USERNAME",
"value": "@greweb"
},
{
"context": "greweb.fr/slider) by @greweb \n\n###!\nCopyright 20... | slider.coffee | kod3r/slider.js | 1 | # [Slider.js](http://demo.greweb.fr/slider) by @greweb
###!
Copyright 2011 Gaetan Renaudeau
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... | 177619 | # [Slider.js](http://demo.greweb.fr/slider) by @greweb
###!
Copyright 2011 <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 ap... | true | # [Slider.js](http://demo.greweb.fr/slider) by @greweb
###!
Copyright 2011 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 ... |
[
{
"context": "\"local_couchdb_admin_username\"\n password: Coconut.config.get \"local_couchdb_admin_password\"\n compl",
"end": 2726,
"score": 0.7975894808769226,
"start": 2712,
"tag": "PASSWORD",
"value": "Coconut.config"
},
{
"context": "get \"local_couchdb_admin_... | app/_attachments/models/Sync.coffee | ICTatRTI/coconut | 1 | class Sync extends Backbone.Model
initialize: ->
@set
_id: "SyncLog"
url: "/sync"
last_send: =>
return @get("last_send_result")?.history[0]
last_send_time: =>
result = @get("last_send_time") || @last_send?.start_time
if result
return moment(result).fromNow()
else
re... | 209122 | class Sync extends Backbone.Model
initialize: ->
@set
_id: "SyncLog"
url: "/sync"
last_send: =>
return @get("last_send_result")?.history[0]
last_send_time: =>
result = @get("last_send_time") || @last_send?.start_time
if result
return moment(result).fromNow()
else
re... | true | class Sync extends Backbone.Model
initialize: ->
@set
_id: "SyncLog"
url: "/sync"
last_send: =>
return @get("last_send_result")?.history[0]
last_send_time: =>
result = @get("last_send_time") || @last_send?.start_time
if result
return moment(result).fromNow()
else
re... |
[
{
"context": ":\n userId: 0\n level: 1\n name: null\n email: null\n isLogin: false\n ",
"end": 165,
"score": 0.5867400169372559,
"start": 161,
"tag": "NAME",
"value": "null"
}
] | application/static/coffeescript/victory.coffee | kelp404/Victory | 15 |
window.victory =
userLevel:
root: 0
normal: 1
loginUrl: ''
logoutUrl: ''
user:
userId: 0
level: 1
name: null
email: null
isLogin: false
isRoot: ->
victory.user.level == victory.userLevel.root
| 90008 |
window.victory =
userLevel:
root: 0
normal: 1
loginUrl: ''
logoutUrl: ''
user:
userId: 0
level: 1
name: <NAME>
email: null
isLogin: false
isRoot: ->
victory.user.level == victory.userLevel.root
| true |
window.victory =
userLevel:
root: 0
normal: 1
loginUrl: ''
logoutUrl: ''
user:
userId: 0
level: 1
name: PI:NAME:<NAME>END_PI
email: null
isLogin: false
isRoot: ->
victory.user.level == victory.userLevel.root
|
[
{
"context": "oGLib\n# Module | Stat Methods\n# Author | Sherif Emabrak\n# Description | The delaunay method returns the D",
"end": 163,
"score": 0.9998741745948792,
"start": 149,
"tag": "NAME",
"value": "Sherif Emabrak"
}
] | src/lib/statistics/link/delaunay.coffee | Sherif-Embarak/gp-test | 0 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | Sherif Emabrak
# Description | The delaunay method returns the Delaunay triangulation of the nodes,
# which is the triangulationof a set of points that is as... | 8116 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | <NAME>
# Description | The delaunay method returns the Delaunay triangulation of the nodes,
# which is the triangulationof a set of points that is as close a... | true | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | PI:NAME:<NAME>END_PI
# Description | The delaunay method returns the Delaunay triangulation of the nodes,
# which is the triangulationof a set of points that... |
[
{
"context": "##\n knockback.js 1.2.3\n Copyright (c) 2011-2016 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 66,
"score": 0.9998343586921692,
"start": 52,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/core/kb.coffee | kmalakoff/knockback | 160 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneO... | 216448 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 <NAME>.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###
... | true | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 PI:NAME:<NAME>END_PI.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Bac... |
[
{
"context": "esponse) ->\n\tfogbugz.SearchCases({q: 'assignedTo:\"Claudio Wilson\"', max : 20, cols :'sTitle'}, request.cookies.tok",
"end": 804,
"score": 0.9996426701545715,
"start": 790,
"tag": "NAME",
"value": "Claudio Wilson"
}
] | test/test.coffee | claudiowilson/FogbugzJS | 1 | express = require 'express'
fogbugz = require './../../lib/fogbugz'
settings = require './settings'
app = express()
app.configure( ->
app.use(express.logger('dev'))
app.use(express.bodyParser())
app.use(express.cookieParser('testadoodle'))
)
fogbugz.SetURL(settings.fogbugzURL)
app.get('/', (request, response) ->
... | 150691 | express = require 'express'
fogbugz = require './../../lib/fogbugz'
settings = require './settings'
app = express()
app.configure( ->
app.use(express.logger('dev'))
app.use(express.bodyParser())
app.use(express.cookieParser('testadoodle'))
)
fogbugz.SetURL(settings.fogbugzURL)
app.get('/', (request, response) ->
... | true | express = require 'express'
fogbugz = require './../../lib/fogbugz'
settings = require './settings'
app = express()
app.configure( ->
app.use(express.logger('dev'))
app.use(express.bodyParser())
app.use(express.cookieParser('testadoodle'))
)
fogbugz.SetURL(settings.fogbugzURL)
app.get('/', (request, response) ->
... |
[
{
"context": "========\n\nsection 'String interpolation'\n\nname = 'Dr Groot'\ntitle = 'plant matter expert'\n\nprint \"You know, ",
"end": 274,
"score": 0.7523558735847473,
"start": 266,
"tag": "NAME",
"value": "Dr Groot"
},
{
"context": "n 'Existential operator'\n\nobj1 = artist:\n... | demo/site/coffee/main.coffee | feihong/jingtai | 0 | $content = $('#content')
section = (title) -> $('<h4>').text(title).appendTo($content)
print = (text) -> $('<p>').text(text).appendTo($content)
#=============================================================================
section 'String interpolation'
name = 'Dr Groot'
title = 'plant matter expert'
print "You kn... | 61390 | $content = $('#content')
section = (title) -> $('<h4>').text(title).appendTo($content)
print = (text) -> $('<p>').text(text).appendTo($content)
#=============================================================================
section 'String interpolation'
name = '<NAME>'
title = 'plant matter expert'
print "You know... | true | $content = $('#content')
section = (title) -> $('<h4>').text(title).appendTo($content)
print = (text) -> $('<p>').text(text).appendTo($content)
#=============================================================================
section 'String interpolation'
name = 'PI:NAME:<NAME>END_PI'
title = 'plant matter expert'
p... |
[
{
"context": "me format, format should be in the form of email : user@sample.com'\n\n\n LANG.errors.extension[VALID.ERROR.",
"end": 1983,
"score": 0.9999197125434875,
"start": 1968,
"tag": "EMAIL",
"value": "user@sample.com"
}
] | modules/wizard_edit_form/wizard_edit_form.coffee | signonsridhar/sridhar_hbs | 0 | define(['bases/control',
'_',
'modules/dt_dialog/dt_dialog',
'modules/number_selector_search_form/number_selector_search_form',
'models/phone_number/phone_number',
'models/phone/phone',
'modules/phone_selector_search_form/phone_selector_search_form',
'models/direc... | 9885 | define(['bases/control',
'_',
'modules/dt_dialog/dt_dialog',
'modules/number_selector_search_form/number_selector_search_form',
'models/phone_number/phone_number',
'models/phone/phone',
'modules/phone_selector_search_form/phone_selector_search_form',
'models/direc... | true | define(['bases/control',
'_',
'modules/dt_dialog/dt_dialog',
'modules/number_selector_search_form/number_selector_search_form',
'models/phone_number/phone_number',
'models/phone/phone',
'modules/phone_selector_search_form/phone_selector_search_form',
'models/direc... |
[
{
"context": "0\" for [0...8]).join(''),\n\t\t\"output\" : \"9b752e45573d4b39f4dbd3323cab82bf63326bfb\"\n\t},\n\t{\n\t\t\"input\" : (\"a\" for [0...1000000]).join(",
"end": 841,
"score": 0.7413726449012756,
"start": 811,
"tag": "KEY",
"value": "3d4b39f4dbd3323cab82bf63326bfb"
}
] | test/fixed-data/ripemd160.iced | CyberFlameGO/triplesec | 274 |
exports.data = [
{
"input" : "",
"output" : "9c1185a5c5e9fc54612808977ee8f548b2258d31"
},{
"input" : "a",
"output" : "0bdc9d2d256b3ee9daae347be6f4dc835a467ffe"
},
{
"input" : "abc",
"output" : "8eb208f7e05d987a9b044a8e98c6b087f15a0bfc"
},
{
"input" : "message digest",
"output" : "5d0689ef49d2fae5... | 136707 |
exports.data = [
{
"input" : "",
"output" : "9c1185a5c5e9fc54612808977ee8f548b2258d31"
},{
"input" : "a",
"output" : "0bdc9d2d256b3ee9daae347be6f4dc835a467ffe"
},
{
"input" : "abc",
"output" : "8eb208f7e05d987a9b044a8e98c6b087f15a0bfc"
},
{
"input" : "message digest",
"output" : "5d0689ef49d2fae5... | true |
exports.data = [
{
"input" : "",
"output" : "9c1185a5c5e9fc54612808977ee8f548b2258d31"
},{
"input" : "a",
"output" : "0bdc9d2d256b3ee9daae347be6f4dc835a467ffe"
},
{
"input" : "abc",
"output" : "8eb208f7e05d987a9b044a8e98c6b087f15a0bfc"
},
{
"input" : "message digest",
"output" : "5d0689ef49d2fae5... |
[
{
"context": "ROR: 500103\n\n NOT_LOGIN: 403201\n INVALID_TOKEN: 403202\n MISSING_UID: 403203\n MEMBER_CHECK_FAIL: 403204",
"end": 168,
"score": 0.9932095408439636,
"start": 162,
"tag": "PASSWORD",
"value": "403202"
},
{
"context": "0\n INVALID_APPLICATION: 403211\n PASSWORD_ER... | talk-api2x/server/config/error.coffee | ikingye/talk-os | 3,084 | Err = require 'err1st'
meta =
DEFAULT_ERROR: 500100
CREATE_ERROR: 500101
UPDATE_ERROR: 500102
DELETE_ERROR: 500103
NOT_LOGIN: 403201
INVALID_TOKEN: 403202
MISSING_UID: 403203
MEMBER_CHECK_FAIL: 403204
SYNC_TEAMBITION_FAIL: 403205
LANDING_FAIL: 403206
SOCKET_ID_ERROR: 403207
SOCKET_ID_BROKEN: 4... | 119002 | Err = require 'err1st'
meta =
DEFAULT_ERROR: 500100
CREATE_ERROR: 500101
UPDATE_ERROR: 500102
DELETE_ERROR: 500103
NOT_LOGIN: 403201
INVALID_TOKEN: <PASSWORD>
MISSING_UID: 403203
MEMBER_CHECK_FAIL: 403204
SYNC_TEAMBITION_FAIL: 403205
LANDING_FAIL: 403206
SOCKET_ID_ERROR: 403207
SOCKET_ID_BROKE... | true | Err = require 'err1st'
meta =
DEFAULT_ERROR: 500100
CREATE_ERROR: 500101
UPDATE_ERROR: 500102
DELETE_ERROR: 500103
NOT_LOGIN: 403201
INVALID_TOKEN: PI:PASSWORD:<PASSWORD>END_PI
MISSING_UID: 403203
MEMBER_CHECK_FAIL: 403204
SYNC_TEAMBITION_FAIL: 403205
LANDING_FAIL: 403206
SOCKET_ID_ERROR: 403207... |
[
{
"context": " the following:\n# 1. Get an API token: curl -u 'username' -d '{\"scopes\":[\"repo\"],\"note\":\"Hooks management\"",
"end": 235,
"score": 0.9931620359420776,
"start": 227,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ia API:\n# curl -H \"Authorization... | src/scripts/github-pull-request-notifier.coffee | fourkitchens/hubot-scripts | 2 | # Description:
# An HTTP Listener that notifies about new Github pull requests
#
# Dependencies:
# "url": ""
# "querystring": ""
#
# Configuration:
# You will have to do the following:
# 1. Get an API token: curl -u 'username' -d '{"scopes":["repo"],"note":"Hooks management"}' \
# http... | 209226 | # Description:
# An HTTP Listener that notifies about new Github pull requests
#
# Dependencies:
# "url": ""
# "querystring": ""
#
# Configuration:
# You will have to do the following:
# 1. Get an API token: curl -u 'username' -d '{"scopes":["repo"],"note":"Hooks management"}' \
# http... | true | # Description:
# An HTTP Listener that notifies about new Github pull requests
#
# Dependencies:
# "url": ""
# "querystring": ""
#
# Configuration:
# You will have to do the following:
# 1. Get an API token: curl -u 'username' -d '{"scopes":["repo"],"note":"Hooks management"}' \
# http... |
[
{
"context": " return done null, false if conf.admin.username != username\n return done null, false if conf.admin.passw",
"end": 728,
"score": 0.727826714515686,
"start": 720,
"tag": "USERNAME",
"value": "username"
},
{
"context": " return done null, false if conf.admin.password... | lib/admin/index.coffee | devjam/micra | 0 | 'use strict'
path = require 'path'
express = require 'express'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
serveStatic = require 'serve-static'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
session = require 'express-session'
flash = require 'connect-fl... | 217688 | 'use strict'
path = require 'path'
express = require 'express'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
serveStatic = require 'serve-static'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
session = require 'express-session'
flash = require 'connect-fl... | true | 'use strict'
path = require 'path'
express = require 'express'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
serveStatic = require 'serve-static'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
session = require 'express-session'
flash = require 'connect-fl... |
[
{
"context": ": (config.email ? opts.email), from: \"InstantILL <InstantILL@openaccessbutton.org>\", subject: \"ILL request \" + opts._id\n tmpl = tm",
"end": 3308,
"score": 0.9999271631240845,
"start": 3277,
"tag": "EMAIL",
"value": "InstantILL@openaccessbutton.org"
},
{
"context":... | worker/src/svc/oaworks/ill.coffee | oaworks/paradigm | 1 |
# this should default to a search of ILLs as well... with a restrict
# restrict = @auth.role('openaccessbutton.admin') and this.queryParams.all then [] else [{term:{from:@user?._id}}]
P.svc.oaworks.ill = (opts) -> # only worked on POST with optional auth
if not opts?
opts = @copy @params
if opts.ill
o... | 112681 |
# this should default to a search of ILLs as well... with a restrict
# restrict = @auth.role('openaccessbutton.admin') and this.queryParams.all then [] else [{term:{from:@user?._id}}]
P.svc.oaworks.ill = (opts) -> # only worked on POST with optional auth
if not opts?
opts = @copy @params
if opts.ill
o... | true |
# this should default to a search of ILLs as well... with a restrict
# restrict = @auth.role('openaccessbutton.admin') and this.queryParams.all then [] else [{term:{from:@user?._id}}]
P.svc.oaworks.ill = (opts) -> # only worked on POST with optional auth
if not opts?
opts = @copy @params
if opts.ill
o... |
[
{
"context": "r()', () ->\n data = null\n example = \n name: \"Simple name\"\n description: \"Very clear description\"\n re",
"end": 199,
"score": 0.8866887092590332,
"start": 188,
"tag": "NAME",
"value": "Simple name"
},
{
"context": " before () -> \n example = \n... | test/unit/example-to-http-payload-pair-test.coffee | HBOCodeLabs/dredd | 0 | {assert} = require 'chai'
exampleToHttpPayloadPairs = require '../../src/example-to-http-payload-pair'
describe 'exampleToHttpPayloadPair()', () ->
data = null
example =
name: "Simple name"
description: "Very clear description"
requests: [
name: "JSON request"
headers:
'Content-Ty... | 157694 | {assert} = require 'chai'
exampleToHttpPayloadPairs = require '../../src/example-to-http-payload-pair'
describe 'exampleToHttpPayloadPair()', () ->
data = null
example =
name: "<NAME>"
description: "Very clear description"
requests: [
name: "JSON request"
headers:
'Content-Type': ... | true | {assert} = require 'chai'
exampleToHttpPayloadPairs = require '../../src/example-to-http-payload-pair'
describe 'exampleToHttpPayloadPair()', () ->
data = null
example =
name: "PI:NAME:<NAME>END_PI"
description: "Very clear description"
requests: [
name: "JSON request"
headers:
'C... |
[
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.",
"end": 17,
"score": 0.9726555347442627,
"start": 16,
"tag": "EMAIL",
"value": "j"
},
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.\n#\n# ",
"end": 22,
"sc... | src/lib/configurator.coffee | yadutaf/Weathermap-archive | 1 | ###
# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... | 110657 | ###
# Copyright <EMAIL>tlebi<EMAIL>.fr <<EMAIL>> and other contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to us... | true | ###
# Copyright PI:EMAIL:<EMAIL>END_PItlebiPI:EMAIL:<EMAIL>END_PI.fr <PI:EMAIL:<EMAIL>END_PI> and other contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, in... |
[
{
"context": "╯°□°)╯︵ ┻━┻)'\n keywords = 'Zorium'\n name = 'Zorium Seed'\n twitterHandle = '@ZoriumJS'\n themeColor =",
"end": 496,
"score": 0.7866171002388,
"start": 485,
"tag": "NAME",
"value": "Zorium Seed"
},
{
"context": "rium'\n name = 'Zorium Seed'\n twitterH... | src/components/head/index.coffee | rachelmcquirk/hiking | 0 | z = require 'zorium'
paperColors = require 'zorium-paper/colors.json'
config = require '../../config'
gulpConfig = require '../../../gulp_config'
module.exports = class Head
render: ({styles, bundlePath, title}) ->
isInliningSource = config.ENV is config.ENVS.PROD
webpackDevHostname = gulpConfig.WEBPACK_DEV... | 166274 | z = require 'zorium'
paperColors = require 'zorium-paper/colors.json'
config = require '../../config'
gulpConfig = require '../../../gulp_config'
module.exports = class Head
render: ({styles, bundlePath, title}) ->
isInliningSource = config.ENV is config.ENVS.PROD
webpackDevHostname = gulpConfig.WEBPACK_DEV... | true | z = require 'zorium'
paperColors = require 'zorium-paper/colors.json'
config = require '../../config'
gulpConfig = require '../../../gulp_config'
module.exports = class Head
render: ({styles, bundlePath, title}) ->
isInliningSource = config.ENV is config.ENVS.PROD
webpackDevHostname = gulpConfig.WEBPACK_DEV... |
[
{
"context": ":\n user: process.env.NODEMAILER_EMAIL\n pass: process.env.NODEMAILER_PASS\n\napp.post '/email', (req, res, next) ->\n ",
"end": 408,
"score": 0.9190142750740051,
"start": 388,
"tag": "PASSWORD",
"value": "process.env.NODEMAIL"
},
{
"context": ".NODEMAILER_EMAIL\... | app.coffee | TerryWareNet/terry-ware-net | 0 | express = require 'express'
bodyParser = require 'body-parser'
nodemailer = require 'nodemailer'
app = express()
app.use bodyParser.json()
app.use bodyParser.urlencoded extended: true
app.use express.static __dirname + '/old-site'
transporter = nodemailer.createTransport
service: process.env.NODEMAILER_SERVICE
se... | 34504 | express = require 'express'
bodyParser = require 'body-parser'
nodemailer = require 'nodemailer'
app = express()
app.use bodyParser.json()
app.use bodyParser.urlencoded extended: true
app.use express.static __dirname + '/old-site'
transporter = nodemailer.createTransport
service: process.env.NODEMAILER_SERVICE
se... | true | express = require 'express'
bodyParser = require 'body-parser'
nodemailer = require 'nodemailer'
app = express()
app.use bodyParser.json()
app.use bodyParser.urlencoded extended: true
app.use express.static __dirname + '/old-site'
transporter = nodemailer.createTransport
service: process.env.NODEMAILER_SERVICE
se... |
[
{
"context": "# Copyright 2012, 2014, 2015 Dominik Heier\n#\n# This file is part of coffee-snake.\n#\n# coffee",
"end": 42,
"score": 0.9998148083686829,
"start": 29,
"tag": "NAME",
"value": "Dominik Heier"
}
] | stake.coffee | EmployeeEnrichment/Snake_07.20 | 0 | # Copyright 2012, 2014, 2015 Dominik Heier
#
# This file is part of coffee-snake.
#
# coffee-snake is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any lat... | 46291 | # Copyright 2012, 2014, 2015 <NAME>
#
# This file is part of coffee-snake.
#
# coffee-snake is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later vers... | true | # Copyright 2012, 2014, 2015 PI:NAME:<NAME>END_PI
#
# This file is part of coffee-snake.
#
# coffee-snake is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) ... |
[
{
"context": "# @shojib\n\ndefine [], () ->\n\n \"use strict\"\n\n # Service\n ",
"end": 9,
"score": 0.9996089339256287,
"start": 2,
"tag": "USERNAME",
"value": "@shojib"
},
{
"context": "Cweb_url%2Cmultimedia%2Cpub_date&page=100&api-key=5445ed010346db7ab31fc33e55049350:8:68807489... | src/modules/article/js/factory.coffee | shojib/ngPhonegap | 1 | # @shojib
define [], () ->
"use strict"
# Service
Factory = (resource) ->
resource "http://api.nytimes.com/svc/search/v2/articlesearch.json?begin_date=20000101&end_date=20140214&sort=newest&fl=headline%2Clead_paragraph%2Cweb_url%2Cmultimedia%2Cpub_date&page=100&api-key=5445ed010346db7ab31fc33e55049350:8:68... | 162597 | # @shojib
define [], () ->
"use strict"
# Service
Factory = (resource) ->
resource "http://api.nytimes.com/svc/search/v2/articlesearch.json?begin_date=20000101&end_date=20140214&sort=newest&fl=headline%2Clead_paragraph%2Cweb_url%2Cmultimedia%2Cpub_date&page=100&api-key=<KEY>",
get:
method: "G... | true | # @shojib
define [], () ->
"use strict"
# Service
Factory = (resource) ->
resource "http://api.nytimes.com/svc/search/v2/articlesearch.json?begin_date=20000101&end_date=20140214&sort=newest&fl=headline%2Clead_paragraph%2Cweb_url%2Cmultimedia%2Cpub_date&page=100&api-key=PI:KEY:<KEY>END_PI",
get:
... |
[
{
"context": "# @file rand.coffee\n# @Copyright (c) 2016 Taylor Siviter\n# This source code is licensed under the MIT Lice",
"end": 56,
"score": 0.9997962713241577,
"start": 42,
"tag": "NAME",
"value": "Taylor Siviter"
}
] | src/maths/rand.coffee | siviter-t/lampyridae.coffee | 4 | # @file rand.coffee
# @Copyright (c) 2016 Taylor Siviter
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'lampyridae'
### Generates a random float from the given interval [l, u) where u > l.
#
# @param l [Number] The lower bound of the in... | 79558 | # @file rand.coffee
# @Copyright (c) 2016 <NAME>
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'lampyridae'
### Generates a random float from the given interval [l, u) where u > l.
#
# @param l [Number] The lower bound of the interval
#... | true | # @file rand.coffee
# @Copyright (c) 2016 PI:NAME:<NAME>END_PI
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'lampyridae'
### Generates a random float from the given interval [l, u) where u > l.
#
# @param l [Number] The lower bound of ... |
[
{
"context": "encoded and loaded from localstorage\n#\n# @author Olivier Bossel <olivier.bossel@gmail.com>\n# @created 23.11.15\n#",
"end": 147,
"score": 0.9998769164085388,
"start": 133,
"tag": "NAME",
"value": "Olivier Bossel"
},
{
"context": "d from localstorage\n#\n# @author ... | node_modules/sugarcss/coffee/sugar-webfonts.coffee | hagsey/nlpt2 | 0 | ###
# Sugar-webfonts.js
#
# This little js file allow you to use webfonts based64 encoded and loaded from localstorage
#
# @author Olivier Bossel <olivier.bossel@gmail.com>
# @created 23.11.15
# @updated 23.11.15
# @version 1.0.0
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD. Register as... | 39256 | ###
# Sugar-webfonts.js
#
# This little js file allow you to use webfonts based64 encoded and loaded from localstorage
#
# @author <NAME> <<EMAIL>>
# @created 23.11.15
# @updated 23.11.15
# @version 1.0.0
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD. Register as an anonymous module.
d... | true | ###
# Sugar-webfonts.js
#
# This little js file allow you to use webfonts based64 encoded and loaded from localstorage
#
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @created 23.11.15
# @updated 23.11.15
# @version 1.0.0
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD. Registe... |
[
{
"context": "ult: 12 }\n name: { type: \"string\", default: 'John Doe' }\n category: { type: \"string\", default: 'am",
"end": 584,
"score": 0.9998292326927185,
"start": 576,
"tag": "NAME",
"value": "John Doe"
}
] | test/client.coffee | coderofsalvation/ohmygraph | 2 | ohmygraph = require 'ohmygraph'
graph =
repositories:
type: "array"
items: [{"$ref":"#/repository"}]
data: { sort:'stars',q:'ohmy',order:'desc' }
request:
get:
config:
method: 'get'
url: '/search/repositories'
payload:
q: '{repositories.data.q}'... | 119229 | ohmygraph = require 'ohmygraph'
graph =
repositories:
type: "array"
items: [{"$ref":"#/repository"}]
data: { sort:'stars',q:'ohmy',order:'desc' }
request:
get:
config:
method: 'get'
url: '/search/repositories'
payload:
q: '{repositories.data.q}'... | true | ohmygraph = require 'ohmygraph'
graph =
repositories:
type: "array"
items: [{"$ref":"#/repository"}]
data: { sort:'stars',q:'ohmy',order:'desc' }
request:
get:
config:
method: 'get'
url: '/search/repositories'
payload:
q: '{repositories.data.q}'... |
[
{
"context": " project: atom.project.getPaths()[0]\n name: 'Test 1'\n command: 'echo test'\n wd: '.'\n m",
"end": 373,
"score": 0.9510395526885986,
"start": 367,
"tag": "NAME",
"value": "Test 1"
},
{
"context": "and = new Command(command)\n command.oldname = 'T... | spec/command-edit-pane-spec.coffee | fstiewitz/build-tools-cpp | 3 | CommandEditPane = require '../lib/view/command-edit-pane'
Command = require '../lib/provider/command'
describe 'Command Edit Pane', ->
view = null
accept = null
cancel = null
command = null
beforeEach ->
accept = jasmine.createSpy('accept')
cancel = jasmine.createSpy('cancel')
command =
pr... | 124049 | CommandEditPane = require '../lib/view/command-edit-pane'
Command = require '../lib/provider/command'
describe 'Command Edit Pane', ->
view = null
accept = null
cancel = null
command = null
beforeEach ->
accept = jasmine.createSpy('accept')
cancel = jasmine.createSpy('cancel')
command =
pr... | true | CommandEditPane = require '../lib/view/command-edit-pane'
Command = require '../lib/provider/command'
describe 'Command Edit Pane', ->
view = null
accept = null
cancel = null
command = null
beforeEach ->
accept = jasmine.createSpy('accept')
cancel = jasmine.createSpy('cancel')
command =
pr... |
[
{
"context": " if dcodeIO.bcrypt.compareSync req.body.password, user.local.password\n LocalSettings.setGlobal 'loggedInUs",
"end": 16177,
"score": 0.7963927984237671,
"start": 16158,
"tag": "PASSWORD",
"value": "user.local.password"
}
] | src/index.coffee | ndxbxrme/ndx-local-server | 0 | module = null
try
module = angular.module 'ndx'
catch e
module =angular.module 'ndx', []
module.provider 'Server', ->
config =
sharedAll: true
$get: ($http, $q, $rootElement, $window, LocalSettings, Auth, ndxdb, socket, rest) ->
autoId = LocalSettings.getGlobal('endpoints')?.autoId or '_id'
offline ... | 71670 | module = null
try
module = angular.module 'ndx'
catch e
module =angular.module 'ndx', []
module.provider 'Server', ->
config =
sharedAll: true
$get: ($http, $q, $rootElement, $window, LocalSettings, Auth, ndxdb, socket, rest) ->
autoId = LocalSettings.getGlobal('endpoints')?.autoId or '_id'
offline ... | true | module = null
try
module = angular.module 'ndx'
catch e
module =angular.module 'ndx', []
module.provider 'Server', ->
config =
sharedAll: true
$get: ($http, $q, $rootElement, $window, LocalSettings, Auth, ndxdb, socket, rest) ->
autoId = LocalSettings.getGlobal('endpoints')?.autoId or '_id'
offline ... |
[
{
"context": "]': [\n {type: 'separator'}\n {\n label: 'Juno',\n submenu: [\n {label: 'Run Block', c",
"end": 117,
"score": 0.8369765281677246,
"start": 113,
"tag": "NAME",
"value": "Juno"
},
{
"context": "y': [\n {type: 'separator'}\n {\n label: 'Ju... | menus/julia-client.cson | blegat/atom-julia-client | 0 | 'context-menu':
'atom-text-editor[data-grammar="source julia"]': [
{type: 'separator'}
{
label: 'Juno',
submenu: [
{label: 'Run Block', command: 'julia-client:run-block'}
{label: 'Select Block', command: 'julia-client:select-block'}
{type: 'separator'}
{label: 'Go t... | 225706 | 'context-menu':
'atom-text-editor[data-grammar="source julia"]': [
{type: 'separator'}
{
label: '<NAME>',
submenu: [
{label: 'Run Block', command: 'julia-client:run-block'}
{label: 'Select Block', command: 'julia-client:select-block'}
{type: 'separator'}
{label: 'Go... | true | 'context-menu':
'atom-text-editor[data-grammar="source julia"]': [
{type: 'separator'}
{
label: 'PI:NAME:<NAME>END_PI',
submenu: [
{label: 'Run Block', command: 'julia-client:run-block'}
{label: 'Select Block', command: 'julia-client:select-block'}
{type: 'separator'}
... |
[
{
"context": "ivate variables / constants\n #\n\n CACHE_KEY = \"catalogCache\"\n EXPIRE_MS = 12 * 60 * 60 * 1000 # 12 hours\n ",
"end": 1017,
"score": 0.9603187441825867,
"start": 1005,
"tag": "KEY",
"value": "catalogCache"
},
{
"context": "= 12 * 60 * 60 * 1000 # 12 hours\n ... | src/firmware/catalogcache.coffee | kimushu/rubic-chrome | 1 | "use strict"
# Pre dependencies
require("util/primitive")
require("util/map2json")
###*
@class CatalogCache
Catalog cache manager
###
module.exports = class CatalogCache
null
#--------------------------------------------------------------------------------
# Public properties
#
###*
@property {number} ... | 4842 | "use strict"
# Pre dependencies
require("util/primitive")
require("util/map2json")
###*
@class CatalogCache
Catalog cache manager
###
module.exports = class CatalogCache
null
#--------------------------------------------------------------------------------
# Public properties
#
###*
@property {number} ... | true | "use strict"
# Pre dependencies
require("util/primitive")
require("util/map2json")
###*
@class CatalogCache
Catalog cache manager
###
module.exports = class CatalogCache
null
#--------------------------------------------------------------------------------
# Public properties
#
###*
@property {number} ... |
[
{
"context": "te.timeline.helpers\n posts: [\n {\n user: 'John Doe'\n action: 'posted a status'\n content: '",
"end": 64,
"score": 0.9985657930374146,
"start": 56,
"tag": "NAME",
"value": "John Doe"
},
{
"context": "\n content: 'First!'\n }\n {\n us... | app/client/views/timeline/timeline.coffee | CollabSpace/GitSocial | 1 | Template.timeline.helpers
posts: [
{
user: 'John Doe'
action: 'posted a status'
content: 'First!'
}
{
user: 'Jack White'
action: 'posted a status'
content: 'Hello World!'
}
]
| 97642 | Template.timeline.helpers
posts: [
{
user: '<NAME>'
action: 'posted a status'
content: 'First!'
}
{
user: '<NAME>'
action: 'posted a status'
content: 'Hello World!'
}
]
| true | Template.timeline.helpers
posts: [
{
user: 'PI:NAME:<NAME>END_PI'
action: 'posted a status'
content: 'First!'
}
{
user: 'PI:NAME:<NAME>END_PI'
action: 'posted a status'
content: 'Hello World!'
}
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.