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": "###*\n# server-checker : lib/checkers/dns\n# Author: MrKMG (https://github.com/mrkmg)\n# Contributor: Sven Sl",
"end": 56,
"score": 0.9996091723442078,
"start": 51,
"tag": "USERNAME",
"value": "MrKMG"
},
{
"context": "/checkers/dns\n# Author: MrKMG (https://github.com/m... | src/lib/plugins/dns.coffee | mrkmg/service-checker | 12 | ###*
# server-checker : lib/checkers/dns
# Author: MrKMG (https://github.com/mrkmg)
# Contributor: Sven Slootweg (joepie91) (http://cryto.net/~joepie91/)
#
# MIT License
###
Promise = require 'bluebird'
dns = require 'native-dns'
_ = require 'underscore'
makeRequest = (options) ->
_.defaults options,
host: '127... | 44770 | ###*
# server-checker : lib/checkers/dns
# Author: MrKMG (https://github.com/mrkmg)
# Contributor: <NAME> (joepie91) (http://cryto.net/~joepie91/)
#
# MIT License
###
Promise = require 'bluebird'
dns = require 'native-dns'
_ = require 'underscore'
makeRequest = (options) ->
_.defaults options,
host: '127.0.0.1'... | true | ###*
# server-checker : lib/checkers/dns
# Author: MrKMG (https://github.com/mrkmg)
# Contributor: PI:NAME:<NAME>END_PI (joepie91) (http://cryto.net/~joepie91/)
#
# MIT License
###
Promise = require 'bluebird'
dns = require 'native-dns'
_ = require 'underscore'
makeRequest = (options) ->
_.defaults options,
hos... |
[
{
"context": "lling\nscroll.mouseWheelEnabled = true\n\n\nnames = [\"Adi\", \"Vincent\"]\n# \n# for name, i in names\n# \tprint i",
"end": 787,
"score": 0.9997667074203491,
"start": 784,
"tag": "NAME",
"value": "Adi"
},
{
"context": "croll.mouseWheelEnabled = true\n\n\nnames = [\"Adi... | prototypes/framerBasics II.framer/app.coffee | davo/FramerNYCMeetup | 7 | # 1. BackgroundLayer
# 2. Scroll Component
# 3. For Loop
# 4. Adding items using a for loop
# 5. Set Constraints, Events
# 6. States / Animation
# Append Script
appendScript = (src) ->
parseScr = Utils.domLoadDataSync src
script = document.createElement 'script'
script.type = 'text/javascript'
script.innerHTML = ... | 39258 | # 1. BackgroundLayer
# 2. Scroll Component
# 3. For Loop
# 4. Adding items using a for loop
# 5. Set Constraints, Events
# 6. States / Animation
# Append Script
appendScript = (src) ->
parseScr = Utils.domLoadDataSync src
script = document.createElement 'script'
script.type = 'text/javascript'
script.innerHTML = ... | true | # 1. BackgroundLayer
# 2. Scroll Component
# 3. For Loop
# 4. Adding items using a for loop
# 5. Set Constraints, Events
# 6. States / Animation
# Append Script
appendScript = (src) ->
parseScr = Utils.domLoadDataSync src
script = document.createElement 'script'
script.type = 'text/javascript'
script.innerHTML = ... |
[
{
"context": "on.com/json-schema-proposal/)\n\n\tCopyright (c) 2007 Kris Zyp SitePen (www.sitepen.com)\n\tCopyright (c) 2011 Vla",
"end": 165,
"score": 0.9998822808265686,
"start": 157,
"tag": "NAME",
"value": "Kris Zyp"
},
{
"context": " Zyp SitePen (www.sitepen.com)\n\tCopyright (c... | src/schema.coffee | dvv/underscore-data | 5 | 'use strict'
###
JSONSchema Validator - Validates JavaScript objects using JSON Schemas
(http://www.json.com/json-schema-proposal/)
Copyright (c) 2007 Kris Zyp SitePen (www.sitepen.com)
Copyright (c) 2011 Vladimir Dronnikov dronnikov@gmail.com
Licensed under the MIT (MIT-LICENSE.txt) license
###
###
*
* Co... | 214229 | 'use strict'
###
JSONSchema Validator - Validates JavaScript objects using JSON Schemas
(http://www.json.com/json-schema-proposal/)
Copyright (c) 2007 <NAME> SitePen (www.sitepen.com)
Copyright (c) 2011 <NAME> <EMAIL>
Licensed under the MIT (MIT-LICENSE.txt) license
###
###
*
* Copyright(c) 2011 <NAME> <<E... | true | 'use strict'
###
JSONSchema Validator - Validates JavaScript objects using JSON Schemas
(http://www.json.com/json-schema-proposal/)
Copyright (c) 2007 PI:NAME:<NAME>END_PI SitePen (www.sitepen.com)
Copyright (c) 2011 PI:NAME:<NAME>END_PI PI:EMAIL:<EMAIL>END_PI
Licensed under the MIT (MIT-LICENSE.txt) license
... |
[
{
"context": "resolve, reject) =>\n GoogleMapsLoader.KEY = 'AIzaSyCgazv4sqh1i3TX66s9cZ9xC0SJt-jXoj0'\n GoogleMapsLoader.LANGUAGE = 'ja'\n Goo",
"end": 307,
"score": 0.9997138381004333,
"start": 268,
"tag": "KEY",
"value": "AIzaSyCgazv4sqh1i3TX66s9cZ9xC0SJt-jXoj0"
}
] | src/map/view/MapView.coffee | mm-git/googleMapsSample | 0 | GoogleMapsLoader = require('google-maps')
Backbone = require('backbone')
class MapView extends Backbone.View
el: "#map"
initialize: (options) ->
@google = null
@map = null
loadMap: ->
new Promise((resolve, reject) =>
GoogleMapsLoader.KEY = 'AIzaSyCgazv4sqh1i3TX66s9cZ9xC0SJt-jXoj0'
Googl... | 5099 | GoogleMapsLoader = require('google-maps')
Backbone = require('backbone')
class MapView extends Backbone.View
el: "#map"
initialize: (options) ->
@google = null
@map = null
loadMap: ->
new Promise((resolve, reject) =>
GoogleMapsLoader.KEY = '<KEY>'
GoogleMapsLoader.LANGUAGE = 'ja'
... | true | GoogleMapsLoader = require('google-maps')
Backbone = require('backbone')
class MapView extends Backbone.View
el: "#map"
initialize: (options) ->
@google = null
@map = null
loadMap: ->
new Promise((resolve, reject) =>
GoogleMapsLoader.KEY = 'PI:KEY:<KEY>END_PI'
GoogleMapsLoader.LANGUAGE ... |
[
{
"context": "Push_gcm_project_number'\n\n\t\t\tapn =\n\t\t\t\tpassphrase: RocketChat.settings.get 'Push_apn_passphrase'\n\t\t\t\tkeyData: RocketChat.",
"end": 564,
"score": 0.658521294593811,
"start": 545,
"tag": "PASSWORD",
"value": "RocketChat.settings"
}
] | server/lib/cordova.coffee | ImpressiveSetOfIntelligentStudents/chat | 0 | Meteor.methods
log: ->
console.log.apply console, arguments
Meteor.startup ->
Push.debug = RocketChat.settings.get 'Push_debug'
if RocketChat.settings.get('Push_enable') is true
Push.allow
send: (userId, notification) ->
return RocketChat.authz.hasRole(userId, 'admin')
apn = undefined
gcm = undefi... | 148331 | Meteor.methods
log: ->
console.log.apply console, arguments
Meteor.startup ->
Push.debug = RocketChat.settings.get 'Push_debug'
if RocketChat.settings.get('Push_enable') is true
Push.allow
send: (userId, notification) ->
return RocketChat.authz.hasRole(userId, 'admin')
apn = undefined
gcm = undefi... | true | Meteor.methods
log: ->
console.log.apply console, arguments
Meteor.startup ->
Push.debug = RocketChat.settings.get 'Push_debug'
if RocketChat.settings.get('Push_enable') is true
Push.allow
send: (userId, notification) ->
return RocketChat.authz.hasRole(userId, 'admin')
apn = undefined
gcm = undefi... |
[
{
"context": ">\n\n\t\t@settings = {}\n\t\t@user =\n\t\t\t_id: @user_id = \"kwjewkl\"\n\t\t\tfeatures:{}\n\t\t\temail: \"joe@example.com\"\n\n\t\t@U",
"end": 383,
"score": 0.9870140552520752,
"start": 376,
"tag": "USERNAME",
"value": "kwjewkl"
},
{
"context": "d: @user_id = \"kwjewkl... | test/unit/coffee/User/UserPagesControllerTests.coffee | dtu-compute/web-sharelatex | 0 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/User/UserPagesController"
expect = require("chai").expect
describe "UserPagesController", ->
before... | 23638 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/User/UserPagesController"
expect = require("chai").expect
describe "UserPagesController", ->
before... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/User/UserPagesController"
expect = require("chai").expect
describe "UserPagesController", ->
before... |
[
{
"context": "opleth Visualizer'\n\nconfig =\n author:\n name: 'Nerevu Group, LLC'\n handle: 'nerevu'\n url: '//www.",
"end": 73,
"score": 0.7508554458618164,
"start": 67,
"tag": "NAME",
"value": "Nerevu"
},
{
"context": "uthor:\n name: 'Nerevu Group, LLC'\n handle: '... | app/config.coffee | nerevu/akili | 7 | site_name = 'Choropleth Visualizer'
config =
author:
name: 'Nerevu Group, LLC'
handle: 'nerevu'
url: '//www.nerevu.com'
email: 'reubano@gmail.com'
site:
title: site_name
description: 'An HTML5 data viz application built with Brunch and Chaplin.'
url: '//showcase.akili.nerevu.com'
i... | 48816 | site_name = 'Choropleth Visualizer'
config =
author:
name: '<NAME> Group, LLC'
handle: 'nerevu'
url: '//www.nerevu.com'
email: '<EMAIL>'
site:
title: site_name
description: 'An HTML5 data viz application built with Brunch and Chaplin.'
url: '//showcase.akili.nerevu.com'
id: 'com.ak... | true | site_name = 'Choropleth Visualizer'
config =
author:
name: 'PI:NAME:<NAME>END_PI Group, LLC'
handle: 'nerevu'
url: '//www.nerevu.com'
email: 'PI:EMAIL:<EMAIL>END_PI'
site:
title: site_name
description: 'An HTML5 data viz application built with Brunch and Chaplin.'
url: '//showcase.akil... |
[
{
"context": " before (done) ->\n users[0] = new User(name: \"Alice\")\n users[0].save((err, user) ->\n done()\n ",
"end": 395,
"score": 0.9993399977684021,
"start": 390,
"tag": "NAME",
"value": "Alice"
},
{
"context": " before (done) ->\n users[1] = new User(name: \"... | test/statics.start.coffee | jbmusso/mongoose-talkable | 4 | process.env.NODE_ENV = "test"
should = require("should")
Conversations = require("../lib/models/conversation")
Users = User = require("../example/models/user")
describe "Conversation.statics.findOrCreate()", ->
users = []
before (done) ->
Conversations.remove({}, -> done())
before (done) ->
Users.rem... | 212991 | process.env.NODE_ENV = "test"
should = require("should")
Conversations = require("../lib/models/conversation")
Users = User = require("../example/models/user")
describe "Conversation.statics.findOrCreate()", ->
users = []
before (done) ->
Conversations.remove({}, -> done())
before (done) ->
Users.rem... | true | process.env.NODE_ENV = "test"
should = require("should")
Conversations = require("../lib/models/conversation")
Users = User = require("../example/models/user")
describe "Conversation.statics.findOrCreate()", ->
users = []
before (done) ->
Conversations.remove({}, -> done())
before (done) ->
Users.rem... |
[
{
"context": "ateRes = (msg) ->\n args: ['#test', msg]\n user: 'Test'\n prefix: '!test@test.com'\n\nnoopMw = (res, next)",
"end": 192,
"score": 0.9994128942489624,
"start": 188,
"tag": "USERNAME",
"value": "Test"
},
{
"context": " args: ['#test', msg]\n user: 'Test'\n prefix: '... | test/messaging.coffee | rikukissa/domo | 4 | _ = require 'underscore'
assert = require 'assert'
proxyquire = require 'proxyquire'
messaging = require '../src/lib/messaging'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!test@test.com'
noopMw = (res, next) -> next()
describe 'Domo messaging', ->
Domo = null
logOutput = null
... | 189016 | _ = require 'underscore'
assert = require 'assert'
proxyquire = require 'proxyquire'
messaging = require '../src/lib/messaging'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!<EMAIL>'
noopMw = (res, next) -> next()
describe 'Domo messaging', ->
Domo = null
logOutput = null
logge... | true | _ = require 'underscore'
assert = require 'assert'
proxyquire = require 'proxyquire'
messaging = require '../src/lib/messaging'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!PI:EMAIL:<EMAIL>END_PI'
noopMw = (res, next) -> next()
describe 'Domo messaging', ->
Domo = null
logOutput ... |
[
{
"context": "ct(app.name).toBe('myapp')\n\t\t\texpect(app.key).toBe('-0b')\n\n\t\t\tenv.data.redis.mget [\n\t\t\t\t'a:' + app.id + '",
"end": 1277,
"score": 0.9994063377380371,
"start": 1275,
"tag": "KEY",
"value": "0b"
},
{
"context": "pp.name).toBe('myapp')\n\t\t\t\texpect(app.key... | tests/spec/data/data-apps-spec.coffee | pmstss/oauthd | 443 | testConfig = require '../../test-config'
coreModule = require testConfig.project_root + '/src/core'
dataModule = require testConfig.project_root + '/src/data'
async = require 'async'
describe 'Data - apps module', () ->
env = {
mode: 'test'
}
uid = 'notexisting'
logs = []
beforeEach () ->
env = {
mode: '... | 206489 | testConfig = require '../../test-config'
coreModule = require testConfig.project_root + '/src/core'
dataModule = require testConfig.project_root + '/src/data'
async = require 'async'
describe 'Data - apps module', () ->
env = {
mode: 'test'
}
uid = 'notexisting'
logs = []
beforeEach () ->
env = {
mode: '... | true | testConfig = require '../../test-config'
coreModule = require testConfig.project_root + '/src/core'
dataModule = require testConfig.project_root + '/src/data'
async = require 'async'
describe 'Data - apps module', () ->
env = {
mode: 'test'
}
uid = 'notexisting'
logs = []
beforeEach () ->
env = {
mode: '... |
[
{
"context": ".tokenizeLine(\"@name '@name' @name's @name. @name, (@name) [@name]\")\n expect(tokens[0]).toEqual value: \"",
"end": 636,
"score": 0.8746283054351807,
"start": 630,
"tag": "USERNAME",
"value": "(@name"
},
{
"context": "]\n\n {tokens} = grammar.tokenizeLine(\"a us... | spec/pfm-new-spec.coffee | andraus/language-alt-pfm | 1 | describe "Pandoc Flavored Markdown grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-alt-pfm")
runs ->
grammar = atom.grammars.grammarForScopeName("source.gfm")
it "parses the grammar", ->
expect(grammar).toBeDefined()
expect(gramma... | 73297 | describe "Pandoc Flavored Markdown grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-alt-pfm")
runs ->
grammar = atom.grammars.grammarForScopeName("source.gfm")
it "parses the grammar", ->
expect(grammar).toBeDefined()
expect(gramma... | true | describe "Pandoc Flavored Markdown grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-alt-pfm")
runs ->
grammar = atom.grammars.grammarForScopeName("source.gfm")
it "parses the grammar", ->
expect(grammar).toBeDefined()
expect(gramma... |
[
{
"context": "hSemantics\n attributes: [\n name: 'fachgebiet'\n filter: (v)-> f1:v\n ,\n ",
"end": 347,
"score": 0.8879376649856567,
"start": 337,
"tag": "NAME",
"value": "fachgebiet"
},
{
"context": "to the full-text search\", ->\n args = q... | spec/config-types/search-semantics-spec.coffee | lxfrdl/irma | 0 | describe "The Search Semantic", ->
SearchSemantics = require "../../src/config-types/search-semantics"
ConfigNode = require "../../src/config-node"
settings = undefined
semantics = undefined
beforeEach ->
settings =
types:project:
searchSemantics: new SearchSemantics
attributes: [
... | 121294 | describe "The Search Semantic", ->
SearchSemantics = require "../../src/config-types/search-semantics"
ConfigNode = require "../../src/config-node"
settings = undefined
semantics = undefined
beforeEach ->
settings =
types:project:
searchSemantics: new SearchSemantics
attributes: [
... | true | describe "The Search Semantic", ->
SearchSemantics = require "../../src/config-types/search-semantics"
ConfigNode = require "../../src/config-node"
settings = undefined
semantics = undefined
beforeEach ->
settings =
types:project:
searchSemantics: new SearchSemantics
attributes: [
... |
[
{
"context": "ple.com/'\n customer:\n firstName: 'Dan'\n )\n\n customerParams =\n customer",
"end": 455,
"score": 0.9997889399528503,
"start": 452,
"tag": "NAME",
"value": "Dan"
},
{
"context": "rParams =\n customer:\n last_name: 'Smit... | spec/integration/braintree/transparent_redirect_gateway_spec.coffee | StreamCo/braintree_node | 0 | require('../../spec_helper')
{_} = require('underscore')
braintree = specHelper.braintree
describe "TransparentRedirectGateway", ->
url = specHelper.defaultGateway.transparentRedirect.url
describe "createCustomerData", ->
it "generates tr data for the customer", (done) ->
trData = specHelper.defaultGat... | 192369 | require('../../spec_helper')
{_} = require('underscore')
braintree = specHelper.braintree
describe "TransparentRedirectGateway", ->
url = specHelper.defaultGateway.transparentRedirect.url
describe "createCustomerData", ->
it "generates tr data for the customer", (done) ->
trData = specHelper.defaultGat... | true | require('../../spec_helper')
{_} = require('underscore')
braintree = specHelper.braintree
describe "TransparentRedirectGateway", ->
url = specHelper.defaultGateway.transparentRedirect.url
describe "createCustomerData", ->
it "generates tr data for the customer", (done) ->
trData = specHelper.defaultGat... |
[
{
"context": "ry(institution: \"016\", transit: \"123\", account: \"123456789\")\n\n it \"returns the right error\", ->\n ",
"end": 4537,
"score": 0.7640320062637329,
"start": 4529,
"tag": "KEY",
"value": "23456789"
}
] | test/canadian_bank_account_test.coffee | wealthsimple/canadian-bank-account | 9 | describe "CanadianBankAccount", ->
factory = (attributes = {}) ->
new CanadianBankAccount({
institution: attributes.institution ? "001"
transit: attributes.transit ? "12345"
account: attributes.account ? "1234567"
})
describe "#hasValidations", ->
context "institution is known", ->
... | 182925 | describe "CanadianBankAccount", ->
factory = (attributes = {}) ->
new CanadianBankAccount({
institution: attributes.institution ? "001"
transit: attributes.transit ? "12345"
account: attributes.account ? "1234567"
})
describe "#hasValidations", ->
context "institution is known", ->
... | true | describe "CanadianBankAccount", ->
factory = (attributes = {}) ->
new CanadianBankAccount({
institution: attributes.institution ? "001"
transit: attributes.transit ? "12345"
account: attributes.account ? "1234567"
})
describe "#hasValidations", ->
context "institution is known", ->
... |
[
{
"context": "orts = lemon.Component {\n package: 'wg'\n name: 'StarWine'\n class: 'webgradient'\n\n data: {\n positi",
"end": 177,
"score": 0.6472846865653992,
"start": 173,
"tag": "NAME",
"value": "Star"
},
{
"context": " = lemon.Component {\n package: 'wg'\n name: 'StarWi... | StarWine.coffee | lemon/lemonjs-wg | 0 |
# dependencies
Path = require 'path'
# stylesheet
require Path.resolve(__dirname, 'gradient.css')
# component
module.exports = lemon.Component {
package: 'wg'
name: 'StarWine'
class: 'webgradient'
data: {
position: null
}
template: (data) ->
div class: data.position, style: "background-image: l... | 150793 |
# dependencies
Path = require 'path'
# stylesheet
require Path.resolve(__dirname, 'gradient.css')
# component
module.exports = lemon.Component {
package: 'wg'
name: '<NAME>Wine'
class: 'webgradient'
data: {
position: null
}
template: (data) ->
div class: data.position, style: "background-image:... | true |
# dependencies
Path = require 'path'
# stylesheet
require Path.resolve(__dirname, 'gradient.css')
# component
module.exports = lemon.Component {
package: 'wg'
name: 'PI:NAME:<NAME>END_PIWine'
class: 'webgradient'
data: {
position: null
}
template: (data) ->
div class: data.position, style: "bac... |
[
{
"context": " @deviceModel.findVerified query: query, password: password, deviceFindCallback\n\nmodule.exports = SessionCont",
"end": 1246,
"score": 0.9980790615081787,
"start": 1238,
"tag": "PASSWORD",
"value": "password"
}
] | app/controllers/session-controller.coffee | iotrentil/rentil-authenticator-email-password | 0 | debug = require('debug')('meshblu-authenticator-email-password:sessions-controller')
url = require 'url'
class SessionController
constructor: ({@meshbluHttp, @deviceModel}) ->
create: (request, response) =>
{email,password,callbackUrl} = request.body
query = {}
email = email.toLowerCase()
query[@d... | 8258 | debug = require('debug')('meshblu-authenticator-email-password:sessions-controller')
url = require 'url'
class SessionController
constructor: ({@meshbluHttp, @deviceModel}) ->
create: (request, response) =>
{email,password,callbackUrl} = request.body
query = {}
email = email.toLowerCase()
query[@d... | true | debug = require('debug')('meshblu-authenticator-email-password:sessions-controller')
url = require 'url'
class SessionController
constructor: ({@meshbluHttp, @deviceModel}) ->
create: (request, response) =>
{email,password,callbackUrl} = request.body
query = {}
email = email.toLowerCase()
query[@d... |
[
{
"context": "\n\n@module joukou-api/persona/circle/routes\n@author Isaac Johnston <isaac.johnston@joukou.com>\n###\nCircleModel = re",
"end": 819,
"score": 0.999883770942688,
"start": 805,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": "api/persona/circle/routes\n@author ... | src/persona/circle/routes.coffee | joukou/joukou-api | 0 | "use strict"
###*
Copyright 2014 Joukou Ltd
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,... | 52528 | "use strict"
###*
Copyright 2014 Joukou Ltd
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,... | true | "use strict"
###*
Copyright 2014 Joukou Ltd
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,... |
[
{
"context": ")\n\n###*\n@module joukou-fbpp/protocols/base\n@author Fabian Cook <fabian.cook@joukou.com>\n###\n\nclass BaseProtocol\n",
"end": 790,
"score": 0.9998464584350586,
"start": 779,
"tag": "NAME",
"value": "Fabian Cook"
},
{
"context": "e joukou-fbpp/protocols/base\n@author... | src/protocols/base/index.coffee | joukou/joukou-flow | 0 | ###
Copyright 2014 Joukou Ltd
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
distr... | 97097 | ###
Copyright 2014 Joukou Ltd
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
distr... | true | ###
Copyright 2014 Joukou Ltd
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
distr... |
[
{
"context": "g scoring algorithm.\n *\n * Copyright (C) 2009-2011 Joshaven Potter <yourtech@gmail.com>\n * Copyright (C) 2010-2011 Y",
"end": 121,
"score": 0.9999073147773743,
"start": 106,
"tag": "NAME",
"value": "Joshaven Potter"
},
{
"context": "m.\n *\n * Copyright (C) 2009-2011... | assets/vendor/string_score.coffee | garrett/cockpit-project.github.io | 85 | ---
---
###!
* string_score.js: Quicksilver-like string scoring algorithm.
*
* Copyright (C) 2009-2011 Joshaven Potter <yourtech@gmail.com>
* Copyright (C) 2010-2011 Yesudeep Mangalapilly <yesudeep@gmail.com>
* MIT license: http://www.opensource.org/licenses/mit-license.php
###
# Special thanks to Lachie Cox and... | 138850 | ---
---
###!
* string_score.js: Quicksilver-like string scoring algorithm.
*
* Copyright (C) 2009-2011 <NAME> <<EMAIL>>
* Copyright (C) 2010-2011 <NAME> <<EMAIL>>
* MIT license: http://www.opensource.org/licenses/mit-license.php
###
# Special thanks to L<NAME> and Quicksilver for inspiration.
#
# Compilation not... | true | ---
---
###!
* string_score.js: Quicksilver-like string scoring algorithm.
*
* Copyright (C) 2009-2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* Copyright (C) 2010-2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* MIT license: http://www.opensource.org/licenses/mit-license.php
###
# Special thanks to LP... |
[
{
"context": "\"\"\n\n if prop?\n key = \"#{prefix}[#{key}]\" if prefix?\n s.push @default_seri",
"end": 1776,
"score": 0.7541777491569519,
"start": 1774,
"tag": "KEY",
"value": "#{"
},
{
"context": " if prop?\n key = \"#{prefix}[#{key}... | lib/routes.js.coffee | jondavidjohn/js-routes | 0 | ###
File generated by js-routes GEM_VERSION
Based on Rails RAILS_VERSION routes of APP_CLASS
###
root = (exports ? this)
ParameterMissing = (message, fileName, lineNumber) ->
instance = new Error(message, fileName, lineNumber)
if Object.setPrototypeOf
Object.setPrototypeOf instance, Object.getPrototypeOf(this)... | 102879 | ###
File generated by js-routes GEM_VERSION
Based on Rails RAILS_VERSION routes of APP_CLASS
###
root = (exports ? this)
ParameterMissing = (message, fileName, lineNumber) ->
instance = new Error(message, fileName, lineNumber)
if Object.setPrototypeOf
Object.setPrototypeOf instance, Object.getPrototypeOf(this)... | true | ###
File generated by js-routes GEM_VERSION
Based on Rails RAILS_VERSION routes of APP_CLASS
###
root = (exports ? this)
ParameterMissing = (message, fileName, lineNumber) ->
instance = new Error(message, fileName, lineNumber)
if Object.setPrototypeOf
Object.setPrototypeOf instance, Object.getPrototypeOf(this)... |
[
{
"context": "#!/usr/bin/coffee\n\n###\n#@author rankun203@gmail.com\n#List files with specified extension in a specifi",
"end": 51,
"score": 0.9999111890792847,
"start": 32,
"tag": "EMAIL",
"value": "rankun203@gmail.com"
}
] | node2/node5filteredLs.coffee | rankun203/ModernWebStudy | 0 | #!/usr/bin/coffee
###
#@author rankun203@gmail.com
#List files with specified extension in a specified folder.
###
fs = require 'fs'
folder = process.argv[2] ? './'
ext = process.argv[3] ? '.*'
reg = new RegExp "^.*\.#{ext}$"
fs.readdir folder, (err, files) ->
throw err if err
for file in files
console.log ... | 147586 | #!/usr/bin/coffee
###
#@author <EMAIL>
#List files with specified extension in a specified folder.
###
fs = require 'fs'
folder = process.argv[2] ? './'
ext = process.argv[3] ? '.*'
reg = new RegExp "^.*\.#{ext}$"
fs.readdir folder, (err, files) ->
throw err if err
for file in files
console.log file if file... | true | #!/usr/bin/coffee
###
#@author PI:EMAIL:<EMAIL>END_PI
#List files with specified extension in a specified folder.
###
fs = require 'fs'
folder = process.argv[2] ? './'
ext = process.argv[3] ? '.*'
reg = new RegExp "^.*\.#{ext}$"
fs.readdir folder, (err, files) ->
throw err if err
for file in files
console.l... |
[
{
"context": "empUser: (callback) ->\n userData = {username: 'temp', password: '2'}\n cookies = null\n req = req",
"end": 254,
"score": 0.9939067959785461,
"start": 250,
"tag": "USERNAME",
"value": "temp"
},
{
"context": ") ->\n userData = {username: 'temp', password: '2'... | lobby/test/int/helpers.coffee | towerstorm/game | 11 | app = require('../../lib/app.coffee')
request = require("supertest")(app)
_ = require 'lodash'
querystring = require 'querystring'
tdb = require('database')
User = tdb.models.User
helpers =
createTempUser: (callback) ->
userData = {username: 'temp', password: '2'}
cookies = null
req = request.get('/auth/... | 186912 | app = require('../../lib/app.coffee')
request = require("supertest")(app)
_ = require 'lodash'
querystring = require 'querystring'
tdb = require('database')
User = tdb.models.User
helpers =
createTempUser: (callback) ->
userData = {username: 'temp', password: '<PASSWORD>'}
cookies = null
req = request.ge... | true | app = require('../../lib/app.coffee')
request = require("supertest")(app)
_ = require 'lodash'
querystring = require 'querystring'
tdb = require('database')
User = tdb.models.User
helpers =
createTempUser: (callback) ->
userData = {username: 'temp', password: 'PI:PASSWORD:<PASSWORD>END_PI'}
cookies = null
... |
[
{
"context": "g.createPost\n\t\t\t\ttitle\t: \texpected\n\t\t\t\tauthor \t:\t'Mehfuz Hossain'\n\t\t\t\tbody\t:\t'Empty body'\n\t\t\tpromise.then (result)",
"end": 288,
"score": 0.9999035000801086,
"start": 274,
"tag": "NAME",
"value": "Mehfuz Hossain"
},
{
"context": "g.createPost\n\... | applications/lighter/test/blog.coffee | nodebenchmark/benchmarks | 13 | require 'should'
helper = (require '../helper')()
blog = (require __dirname + '/init').blog
describe 'Blog', ->
describe 'find post', ->
expected = 'test post'
_id = ''
beforeEach (done)->
promise = blog.createPost
title : expected
author : 'Mehfuz Hossain'
body : 'Empty body'
pro... | 217128 | require 'should'
helper = (require '../helper')()
blog = (require __dirname + '/init').blog
describe 'Blog', ->
describe 'find post', ->
expected = 'test post'
_id = ''
beforeEach (done)->
promise = blog.createPost
title : expected
author : '<NAME>'
body : 'Empty body'
promise.the... | true | require 'should'
helper = (require '../helper')()
blog = (require __dirname + '/init').blog
describe 'Blog', ->
describe 'find post', ->
expected = 'test post'
_id = ''
beforeEach (done)->
promise = blog.createPost
title : expected
author : 'PI:NAME:<NAME>END_PI'
body : 'Empty body'
... |
[
{
"context": "itten', kittySchema\n\nfluffy = new Kitten({ name: 'fluffy' });\n# fluffy.speak()\nx = new Kitten null\n# x.sp",
"end": 494,
"score": 0.9952356219291687,
"start": 488,
"tag": "NAME",
"value": "fluffy"
},
{
"context": "if err?\n # p kittens\n\n\n# Kitten.find({ name:... | js/npm_try/mongoose/mongoose_try.coffee | zhaoace/codecraft | 0 | {exec} = require 'child_process'
p = (x) -> console.log x
mongoose = require 'mongoose'
mongoose.connect 'mongodb://localhost/test'
db = mongoose.connection
db.on "error", console.error.bind console, 'connection error:'
kittySchema = mongoose.Schema {name: String }
kittySchema.methods.speak = () ->
greeting = i... | 128037 | {exec} = require 'child_process'
p = (x) -> console.log x
mongoose = require 'mongoose'
mongoose.connect 'mongodb://localhost/test'
db = mongoose.connection
db.on "error", console.error.bind console, 'connection error:'
kittySchema = mongoose.Schema {name: String }
kittySchema.methods.speak = () ->
greeting = i... | true | {exec} = require 'child_process'
p = (x) -> console.log x
mongoose = require 'mongoose'
mongoose.connect 'mongodb://localhost/test'
db = mongoose.connection
db.on "error", console.error.bind console, 'connection error:'
kittySchema = mongoose.Schema {name: String }
kittySchema.methods.speak = () ->
greeting = i... |
[
{
"context": "ricContractsSettings = (company, type) ->\n\tkey = \"contracts#{type}\"\n\tsettings = company.flags[key]\n\tif not settings\n\t",
"end": 5726,
"score": 0.9478248953819275,
"start": 5709,
"tag": "KEY",
"value": "contracts#{type}\""
},
{
"context": "\tminT : 0.3\n\t\t}\n\... | coffee/api/patches.coffee | Spartan322/Spartan-Dev-Project | 1 | ###
Functions which require patches
###
SDP.GDT.addTraining = (item) ->
item = item.toInput() if SDP.GDT.Training? and item instanceof SDP.GDT.Training
item.pointsCost = 0 unless item.pointsCost?
if Checks.checkPropertiesPresent(item, ['id', 'name', 'pointsCost', 'duration', 'category', 'categoryDisplayName']) and C... | 88869 | ###
Functions which require patches
###
SDP.GDT.addTraining = (item) ->
item = item.toInput() if SDP.GDT.Training? and item instanceof SDP.GDT.Training
item.pointsCost = 0 unless item.pointsCost?
if Checks.checkPropertiesPresent(item, ['id', 'name', 'pointsCost', 'duration', 'category', 'categoryDisplayName']) and C... | true | ###
Functions which require patches
###
SDP.GDT.addTraining = (item) ->
item = item.toInput() if SDP.GDT.Training? and item instanceof SDP.GDT.Training
item.pointsCost = 0 unless item.pointsCost?
if Checks.checkPropertiesPresent(item, ['id', 'name', 'pointsCost', 'duration', 'category', 'categoryDisplayName']) and C... |
[
{
"context": "ps://mainnet.vnode.app/v1/<YOUR TOKEN>\"\n\napiKey: \"CHANGEME\"\n\ninvoices:\n minConfirmations: 1\n\npublic:\n allo",
"end": 138,
"score": 0.9941465854644775,
"start": 130,
"tag": "KEY",
"value": "CHANGEME"
},
{
"context": ":\n minConfirmations: 1\n\npublic:\n all... | config/default.cson | codevet/daipay | 52 | listen: 8000
provider:
type: "rpc"
uri: "http://localhost:8545"
#uri: "https://mainnet.vnode.app/v1/<YOUR TOKEN>"
apiKey: "CHANGEME"
invoices:
minConfirmations: 1
public:
allowTokens: ['DAI']
contracts:
DAI:
address: "0x6b175474e89094c44da98b954eedeac495271d0f" # Mainnet
# address: "0xC4... | 66540 | listen: 8000
provider:
type: "rpc"
uri: "http://localhost:8545"
#uri: "https://mainnet.vnode.app/v1/<YOUR TOKEN>"
apiKey: "<KEY>"
invoices:
minConfirmations: 1
public:
allowTokens: ['<KEY>I']
contracts:
DAI:
address: "0x6b175474e89094c44da98b954eedeac495271d0f" # Mainnet
# address: "0xC4... | true | listen: 8000
provider:
type: "rpc"
uri: "http://localhost:8545"
#uri: "https://mainnet.vnode.app/v1/<YOUR TOKEN>"
apiKey: "PI:KEY:<KEY>END_PI"
invoices:
minConfirmations: 1
public:
allowTokens: ['PI:KEY:<KEY>END_PII']
contracts:
DAI:
address: "0x6b175474e89094c44da98b954eedeac495271d0f" # Main... |
[
{
"context": "r.methods[m]\n rec = {}\n rec.key = method.name\n counters[rec.key] = 1\n rec.group = met",
"end": 9733,
"score": 0.7375167608261108,
"start": 9729,
"tag": "KEY",
"value": "name"
}
] | server/structure.coffee | leviathanindustries/noddy | 2 |
import fs from 'fs'
API.add 'structure',
get: () ->
return if this.queryParams.group then API.structure.nodeslinks(undefined,this.queryParams.group) else API.structure.read()
API.add 'structure/method/:method', get: () -> return API.structure.method(this.urlParams.method)
API.add 'structure/methods', get: ()... | 92818 |
import fs from 'fs'
API.add 'structure',
get: () ->
return if this.queryParams.group then API.structure.nodeslinks(undefined,this.queryParams.group) else API.structure.read()
API.add 'structure/method/:method', get: () -> return API.structure.method(this.urlParams.method)
API.add 'structure/methods', get: ()... | true |
import fs from 'fs'
API.add 'structure',
get: () ->
return if this.queryParams.group then API.structure.nodeslinks(undefined,this.queryParams.group) else API.structure.read()
API.add 'structure/method/:method', get: () -> return API.structure.method(this.urlParams.method)
API.add 'structure/methods', get: ()... |
[
{
"context": "le.log \"✓ Paperjs Functionality\"\n this.name = \"siloseam_design\"\n gui.add this, \"name\"\n gui.add this, \"save",
"end": 161,
"score": 0.8498600125312805,
"start": 146,
"tag": "USERNAME",
"value": "siloseam_design"
},
{
"context": " nb = bladder.unit... | tool/app/assets/javascripts/tool/siloseam.coffee | The-Hybrid-Atelier/siloseam | 1 |
class window.PaperDesignTool extends ProxySTL
constructor: (ops)->
# super ops
console.log "✓ Paperjs Functionality"
this.name = "siloseam_design"
gui.add this, "name"
gui.add this, "save_svg"
@setup(ops)
setup: (ops)->
canvas = ops.canvas[0]
console.log $('#sandbox').height()
... | 225852 |
class window.PaperDesignTool extends ProxySTL
constructor: (ops)->
# super ops
console.log "✓ Paperjs Functionality"
this.name = "siloseam_design"
gui.add this, "name"
gui.add this, "save_svg"
@setup(ops)
setup: (ops)->
canvas = ops.canvas[0]
console.log $('#sandbox').height()
... | true |
class window.PaperDesignTool extends ProxySTL
constructor: (ops)->
# super ops
console.log "✓ Paperjs Functionality"
this.name = "siloseam_design"
gui.add this, "name"
gui.add this, "save_svg"
@setup(ops)
setup: (ops)->
canvas = ops.canvas[0]
console.log $('#sandbox').height()
... |
[
{
"context": "lotMap: interactive plot of a genetic marker map\n# Karl W Broman\n\niplotMap = (widgetdiv, data, chartOpts) ->\n\n ",
"end": 68,
"score": 0.9998856782913208,
"start": 55,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/htmlwidgets/lib/qtlcharts/iplotMap.coffee | Alanocallaghan/qtlcharts | 0 | # iplotMap: interactive plot of a genetic marker map
# Karl W Broman
iplotMap = (widgetdiv, data, chartOpts) ->
# chartOpts start
width = chartOpts?.width ? 1000 # width of chart in pixels
height = chartOpts?.height ? 600 # height of chart in pixe... | 198358 | # iplotMap: interactive plot of a genetic marker map
# <NAME>
iplotMap = (widgetdiv, data, chartOpts) ->
# chartOpts start
width = chartOpts?.width ? 1000 # width of chart in pixels
height = chartOpts?.height ? 600 # height of chart in pixels
... | true | # iplotMap: interactive plot of a genetic marker map
# PI:NAME:<NAME>END_PI
iplotMap = (widgetdiv, data, chartOpts) ->
# chartOpts start
width = chartOpts?.width ? 1000 # width of chart in pixels
height = chartOpts?.height ? 600 # height of chart ... |
[
{
"context": "son to include useful information.\n#\n# Author:\n# ParadoxGuitarist\n\nhellos = [\n \"Greetings human.\", \n \"wut up\",\n ",
"end": 289,
"score": 0.955964207649231,
"start": 273,
"tag": "NAME",
"value": "ParadoxGuitarist"
},
{
"context": "\nhellos = [\n \"Greeti... | src/harambe.coffee | ptobias16/hubot-harambe | 0 | # Description
# Silly scripts (usually automatic responses) that provide some spice to hubot.
#
# Commands:
# hubot list lists - returns a list of lists that can be returned
#
# Notes:
# You should edit /src/lists.json to include useful information.
#
# Author:
# ParadoxGuitarist
hellos = [
"Greetings human... | 145866 | # Description
# Silly scripts (usually automatic responses) that provide some spice to hubot.
#
# Commands:
# hubot list lists - returns a list of lists that can be returned
#
# Notes:
# You should edit /src/lists.json to include useful information.
#
# Author:
# <NAME>
hellos = [
"Greetings human.",
"wu... | true | # Description
# Silly scripts (usually automatic responses) that provide some spice to hubot.
#
# Commands:
# hubot list lists - returns a list of lists that can be returned
#
# Notes:
# You should edit /src/lists.json to include useful information.
#
# Author:
# PI:NAME:<NAME>END_PI
hellos = [
"Greetings h... |
[
{
"context": "puUsage.push({\n \"key\": \"two\",\n \"y\": result[0].data.",
"end": 3051,
"score": 0.5210563540458679,
"start": 3048,
"tag": "KEY",
"value": "two"
},
{
"context": "geUsage.push({\n \"key\": \... | v2.5/src/app/services/rsaService.coffee | sharonlucong/compass-intel-rsa-dist | 0 | define(['./baseService'], ->
'use strict';
window.Namespace = {
"podid":"id",
"rackid": "id",
"drawerid": "id",
"thermalzoneid": "id",
"powerzoneid": "id",
"moduleid": "id",
"processorid": "id",
"memoryid": "id",
... | 66242 | define(['./baseService'], ->
'use strict';
window.Namespace = {
"podid":"id",
"rackid": "id",
"drawerid": "id",
"thermalzoneid": "id",
"powerzoneid": "id",
"moduleid": "id",
"processorid": "id",
"memoryid": "id",
... | true | define(['./baseService'], ->
'use strict';
window.Namespace = {
"podid":"id",
"rackid": "id",
"drawerid": "id",
"thermalzoneid": "id",
"powerzoneid": "id",
"moduleid": "id",
"processorid": "id",
"memoryid": "id",
... |
[
{
"context": "(@ws, el) ->\n Cesium.BingMapsApi.defaultKey = 'Ah1VAfThdeX7JxKOS0BldGGAAcvjmW72i89XYRt42hc0stR5QkjCqnFKKX3MPCvg'\n Cesium.MapboxApi.defaultAccessToken = 'pk.ey",
"end": 287,
"score": 0.9997390508651733,
"start": 223,
"tag": "KEY",
"value": "Ah1VAfThdeX7JxKOS0BldGGAAcvjmW... | app/assets/javascripts/workspace/cesium_view.coffee | gina-alaska/nasa-ace-web | 0 | @CESIUM_BASE_URL = "http://#{document.location.host}/cesium"
class @Workspace.CesiumView
BASE_HEIGHT: 554678932
supports: {
perspective: false
}
constructor: (@ws, el) ->
Cesium.BingMapsApi.defaultKey = 'Ah1VAfThdeX7JxKOS0BldGGAAcvjmW72i89XYRt42hc0stR5QkjCqnFKKX3MPCvg'
Cesium.MapboxApi.defaultAcc... | 84743 | @CESIUM_BASE_URL = "http://#{document.location.host}/cesium"
class @Workspace.CesiumView
BASE_HEIGHT: 554678932
supports: {
perspective: false
}
constructor: (@ws, el) ->
Cesium.BingMapsApi.defaultKey = '<KEY>'
Cesium.MapboxApi.defaultAccessToken = '<KEY>'
@activeBaseLayer = @ws.ui.getActive... | true | @CESIUM_BASE_URL = "http://#{document.location.host}/cesium"
class @Workspace.CesiumView
BASE_HEIGHT: 554678932
supports: {
perspective: false
}
constructor: (@ws, el) ->
Cesium.BingMapsApi.defaultKey = 'PI:KEY:<KEY>END_PI'
Cesium.MapboxApi.defaultAccessToken = 'PI:KEY:<KEY>END_PI'
@activeBa... |
[
{
"context": "e(header(\"/* Bacontrap v#{version}. Copyright 2013 Ville Lautanala. https://raw.githubusercontent.com/lautis/bacontr",
"end": 1681,
"score": 0.9998920559883118,
"start": 1666,
"tag": "NAME",
"value": "Ville Lautanala"
},
{
"context": "ille Lautanala. https://raw.github... | gulpfile.coffee | lautis/bacontrap | 2 | gulp = require 'gulp'
gutil = require 'gulp-util'
coffee = require 'gulp-coffee'
source = require 'vinyl-source-stream'
browserify = require 'browserify'
watchify = require 'watchify'
karma = require('karma').server
rename = require 'gulp-rename'
uglify = require 'gulp-uglify'
fs = require 'fs'
_ = require 'lodash'
hea... | 199691 | gulp = require 'gulp'
gutil = require 'gulp-util'
coffee = require 'gulp-coffee'
source = require 'vinyl-source-stream'
browserify = require 'browserify'
watchify = require 'watchify'
karma = require('karma').server
rename = require 'gulp-rename'
uglify = require 'gulp-uglify'
fs = require 'fs'
_ = require 'lodash'
hea... | true | gulp = require 'gulp'
gutil = require 'gulp-util'
coffee = require 'gulp-coffee'
source = require 'vinyl-source-stream'
browserify = require 'browserify'
watchify = require 'watchify'
karma = require('karma').server
rename = require 'gulp-rename'
uglify = require 'gulp-uglify'
fs = require 'fs'
_ = require 'lodash'
hea... |
[
{
"context": "der, apiHost) ->\n $authProvider.tokenPrefix = 'evaluator-sattelizer'\n $authProvider.httpInterceptor = true\n $au",
"end": 118,
"score": 0.8853735327720642,
"start": 98,
"tag": "PASSWORD",
"value": "evaluator-sattelizer"
}
] | frontend/src/authentication.coffee | greysteil/evaluator | 1 | angular.module 'evaluator'
.config ($authProvider, apiHost) ->
$authProvider.tokenPrefix = 'evaluator-sattelizer'
$authProvider.httpInterceptor = true
$authProvider.loginOnSignup = true
$authProvider.storage = 'localStorage'
$authProvider.baseUrl = apiHost
$authProvider.signupUrl = 'users.json... | 50558 | angular.module 'evaluator'
.config ($authProvider, apiHost) ->
$authProvider.tokenPrefix = '<PASSWORD>'
$authProvider.httpInterceptor = true
$authProvider.loginOnSignup = true
$authProvider.storage = 'localStorage'
$authProvider.baseUrl = apiHost
$authProvider.signupUrl = 'users.json'
$aut... | true | angular.module 'evaluator'
.config ($authProvider, apiHost) ->
$authProvider.tokenPrefix = 'PI:PASSWORD:<PASSWORD>END_PI'
$authProvider.httpInterceptor = true
$authProvider.loginOnSignup = true
$authProvider.storage = 'localStorage'
$authProvider.baseUrl = apiHost
$authProvider.signupUrl = 'us... |
[
{
"context": "\n state: ta.attr('string')\n password: ta.attr('string') # Used in sign_up only.\n token: ",
"end": 347,
"score": 0.7127934694290161,
"start": 345,
"tag": "PASSWORD",
"value": "ta"
}
] | src/thinkspace/client/thinkspace-model/app/models/thinkspace/common/user.coffee | sixthedge/cellar | 6 | import ember from 'ember'
import ta from 'totem/ds/associations'
export default ta.Model.extend ta.add(
ta.has_many 'spaces', inverse: ta.to_p('users')
ta.has_many 'space_users'
),
email: ta.attr('string')
first_name: ta.attr('string')
last_name: ta.attr('string')
state: ta.attr('... | 206004 | import ember from 'ember'
import ta from 'totem/ds/associations'
export default ta.Model.extend ta.add(
ta.has_many 'spaces', inverse: ta.to_p('users')
ta.has_many 'space_users'
),
email: ta.attr('string')
first_name: ta.attr('string')
last_name: ta.attr('string')
state: ta.attr('... | true | import ember from 'ember'
import ta from 'totem/ds/associations'
export default ta.Model.extend ta.add(
ta.has_many 'spaces', inverse: ta.to_p('users')
ta.has_many 'space_users'
),
email: ta.attr('string')
first_name: ta.attr('string')
last_name: ta.attr('string')
state: ta.attr('... |
[
{
"context": " weird. For example, h_range is passed in twice. Hugo or Joseph should clean it up\n if (resample_o",
"end": 921,
"score": 0.598233699798584,
"start": 917,
"tag": "NAME",
"value": "Hugo"
},
{
"context": " @mget('data_source'),\n #TODO: Joseph ... | oldsite/python_viz/bokeh/bokehjs/src/coffee/renderer/glyph/glyph.coffee | amrosado/riskars | 2 |
define [
"underscore",
"common/has_parent",
"common/logging",
"common/plot_widget",
"renderer/properties"
], (_, HasParent, Logging, PlotWidget, Properties) ->
logger = Logging.logger
class GlyphView extends PlotWidget
#TODO: There are glyph sub-type-vs-resample_op concordance issues...
setup_... | 27641 |
define [
"underscore",
"common/has_parent",
"common/logging",
"common/plot_widget",
"renderer/properties"
], (_, HasParent, Logging, PlotWidget, Properties) ->
logger = Logging.logger
class GlyphView extends PlotWidget
#TODO: There are glyph sub-type-vs-resample_op concordance issues...
setup_... | true |
define [
"underscore",
"common/has_parent",
"common/logging",
"common/plot_widget",
"renderer/properties"
], (_, HasParent, Logging, PlotWidget, Properties) ->
logger = Logging.logger
class GlyphView extends PlotWidget
#TODO: There are glyph sub-type-vs-resample_op concordance issues...
setup_... |
[
{
"context": " appId: process.env.MICROSOFT_APP_ID, appPassword: process.env.MICROSOFT_APP_PASSWORD }\n \n @server.post '/api/messages', @connect",
"end": 1049,
"score": 0.9980911612510681,
"start": 1015,
"tag": "PASSWORD",
"value": "process.env.MICROSOFT_APP_PASSWORD"
}
] | src/botframework.coffee | jasoncylam/hubot-botframework | 0 | {Robot, Adapter, TextMessage, User} = require.main.require 'hubot'
restify = require 'restify'
builder = require 'botbuilder'
class BotFrameworkBot extends Adapter
constructor: ->
super
@server = restify.createServer()
send: (envelope, strings...) ->
session = @robot.brain.get envelope.message.id
... | 27116 | {Robot, Adapter, TextMessage, User} = require.main.require 'hubot'
restify = require 'restify'
builder = require 'botbuilder'
class BotFrameworkBot extends Adapter
constructor: ->
super
@server = restify.createServer()
send: (envelope, strings...) ->
session = @robot.brain.get envelope.message.id
... | true | {Robot, Adapter, TextMessage, User} = require.main.require 'hubot'
restify = require 'restify'
builder = require 'botbuilder'
class BotFrameworkBot extends Adapter
constructor: ->
super
@server = restify.createServer()
send: (envelope, strings...) ->
session = @robot.brain.get envelope.message.id
... |
[
{
"context": "roduct(id: 10)\n product.updateAttributes {name: \"foobar\", id: 20}\n equal product.get('id'), 20\n equal p",
"end": 794,
"score": 0.9936458468437195,
"start": 788,
"tag": "NAME",
"value": "foobar"
},
{
"context": "oduct.get('id'), 20\n equal product.get('name'), \... | tests/batman/model/model_test.coffee | nickjs/batman | 1 | QUnit.module "Batman.Model",
setup: ->
class @Product extends Batman.Model
test "constructors should always be called with new", ->
Product = @Product
raises (-> product = Product()),
(message) -> ok message; true
Namespace = Product: Product
raises (-> product = Namespace.Product()),
(message) ... | 163420 | QUnit.module "Batman.Model",
setup: ->
class @Product extends Batman.Model
test "constructors should always be called with new", ->
Product = @Product
raises (-> product = Product()),
(message) -> ok message; true
Namespace = Product: Product
raises (-> product = Namespace.Product()),
(message) ... | true | QUnit.module "Batman.Model",
setup: ->
class @Product extends Batman.Model
test "constructors should always be called with new", ->
Product = @Product
raises (-> product = Product()),
(message) -> ok message; true
Namespace = Product: Product
raises (-> product = Namespace.Product()),
(message) ... |
[
{
"context": "\n * @namespace KINOUT\n * @class Step\n *\n * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\nKINOUT.Step = ",
"end": 111,
"score": 0.9998881816864014,
"start": 90,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": " @class Step\n *\n ... | components/Kinout/src/Kinout.Step.coffee | biojazzard/kirbout | 2 | ###
* Description or Responsability
*
* @namespace KINOUT
* @class Step
*
* @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
KINOUT.Step = ((knt, undefined_) ->
###
###
show = -> @
###
###
hide = (horizontal_idx, vertical_idx) -> #
show: show
hide: hide
)(KINO... | 51751 | ###
* Description or Responsability
*
* @namespace KINOUT
* @class Step
*
* @author <NAME> <<EMAIL>> || @soyjavi
###
KINOUT.Step = ((knt, undefined_) ->
###
###
show = -> @
###
###
hide = (horizontal_idx, vertical_idx) -> #
show: show
hide: hide
)(KINOUT) | true | ###
* Description or Responsability
*
* @namespace KINOUT
* @class Step
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
KINOUT.Step = ((knt, undefined_) ->
###
###
show = -> @
###
###
hide = (horizontal_idx, vertical_idx) -> #
show: show
hide: hide
... |
[
{
"context": "# Simple Diff for Python v0.1\r\n# (C) Paul Butler 2008 <http://www.paulbutler.org/>\r\ndiff = (before",
"end": 48,
"score": 0.9998023509979248,
"start": 37,
"tag": "NAME",
"value": "Paul Butler"
}
] | coffeescript/simplediff.coffee | djmattyg007/simplediff | 247 | # Simple Diff for Python v0.1
# (C) Paul Butler 2008 <http://www.paulbutler.org/>
diff = (before, after) ->
# Find the differences between two lists. Returns a list of pairs, where the first value
# is in ['+','-','='] and represents an insertion, deletion, or no change for that list.
# The second valu... | 60365 | # Simple Diff for Python v0.1
# (C) <NAME> 2008 <http://www.paulbutler.org/>
diff = (before, after) ->
# Find the differences between two lists. Returns a list of pairs, where the first value
# is in ['+','-','='] and represents an insertion, deletion, or no change for that list.
# The second value of ... | true | # Simple Diff for Python v0.1
# (C) PI:NAME:<NAME>END_PI 2008 <http://www.paulbutler.org/>
diff = (before, after) ->
# Find the differences between two lists. Returns a list of pairs, where the first value
# is in ['+','-','='] and represents an insertion, deletion, or no change for that list.
# The se... |
[
{
"context": "e\n banner: \"/* Chrome YouTube Resizer (c) Daniel Davison & Contributors (http://github.com/ddavison/chrome",
"end": 1618,
"score": 0.9995551109313965,
"start": 1604,
"tag": "NAME",
"value": "Daniel Davison"
},
{
"context": " Daniel Davison & Contributors (htt... | Gruntfile.coffee | ddavison/chrome-youtube-resizer | 3 | module.exports = (grunt) ->
grunt.initConfig(
pkg: grunt.file.readJSON("package.json")
srcDir: "./src"
srcDirScss: "<%= srcDir %>/scss"
srcDirCoffee: "<%= srcDir %>/coffee"
srcDirImages: "<%= srcDir %>/images"
outputDir: "./dist"
cssOutput: "<%= outputDir %>/css"
jsOutput: "<%= outputD... | 8212 | module.exports = (grunt) ->
grunt.initConfig(
pkg: grunt.file.readJSON("package.json")
srcDir: "./src"
srcDirScss: "<%= srcDir %>/scss"
srcDirCoffee: "<%= srcDir %>/coffee"
srcDirImages: "<%= srcDir %>/images"
outputDir: "./dist"
cssOutput: "<%= outputDir %>/css"
jsOutput: "<%= outputD... | true | module.exports = (grunt) ->
grunt.initConfig(
pkg: grunt.file.readJSON("package.json")
srcDir: "./src"
srcDirScss: "<%= srcDir %>/scss"
srcDirCoffee: "<%= srcDir %>/coffee"
srcDirImages: "<%= srcDir %>/images"
outputDir: "./dist"
cssOutput: "<%= outputDir %>/css"
jsOutput: "<%= outputD... |
[
{
"context": ": @authenticityToken\n 'user[username]': @user\n 'user[password]': @password\n '",
"end": 6390,
"score": 0.9994869232177734,
"start": 6385,
"tag": "USERNAME",
"value": "@user"
},
{
"context": "sername]': @user\n 'user[password]': ... | src/diasp_agent.coffee | oz/diasp_agent | 1 | http = require 'http'
https = require 'https'
querystring = require 'querystring'
jsdom = require 'jsdom'
_ = require 'underscore'
fs = require 'fs'
path = require 'path'
bundleDir = path.dirname(module.filename)
bundle = fs.readFileSync("#{bundleDir}/ender.min.js").toString()
# EvilAgent
# =========
#
# EvilAgent p... | 153191 | http = require 'http'
https = require 'https'
querystring = require 'querystring'
jsdom = require 'jsdom'
_ = require 'underscore'
fs = require 'fs'
path = require 'path'
bundleDir = path.dirname(module.filename)
bundle = fs.readFileSync("#{bundleDir}/ender.min.js").toString()
# EvilAgent
# =========
#
# EvilAgent p... | true | http = require 'http'
https = require 'https'
querystring = require 'querystring'
jsdom = require 'jsdom'
_ = require 'underscore'
fs = require 'fs'
path = require 'path'
bundleDir = path.dirname(module.filename)
bundle = fs.readFileSync("#{bundleDir}/ender.min.js").toString()
# EvilAgent
# =========
#
# EvilAgent p... |
[
{
"context": "tle', ->\n artist = new Backbone.Model name: 'Foo Bar'\n @lot.toPageTitle().should.equal 'Auction R",
"end": 603,
"score": 0.9994366765022278,
"start": 596,
"tag": "NAME",
"value": "Foo Bar"
},
{
"context": "ay 23, 2012 | Artsy'\n @lot.set artist_name: 'F... | src/desktop/test/models/auction_lot.test.coffee | jo-rs/force | 0 | _ = require 'underscore'
sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
{ fabricate } = require '@artsy/antigravity'
AuctionLot = require '../../models/auction_lot'
describe 'AuctionLot', ->
before ->
@lot = new AuctionLot fabricate 'auction_result'
describe '#href', ->
it... | 79133 | _ = require 'underscore'
sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
{ fabricate } = require '@artsy/antigravity'
AuctionLot = require '../../models/auction_lot'
describe 'AuctionLot', ->
before ->
@lot = new AuctionLot fabricate 'auction_result'
describe '#href', ->
it... | true | _ = require 'underscore'
sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
{ fabricate } = require '@artsy/antigravity'
AuctionLot = require '../../models/auction_lot'
describe 'AuctionLot', ->
before ->
@lot = new AuctionLot fabricate 'auction_result'
describe '#href', ->
it... |
[
{
"context": "te in a clustered environ\n * @author Valiton GmbH, Bastian \"hereandnow\" Behrens\n###\n\n###*\n * Standard librar",
"end": 123,
"score": 0.9998583793640137,
"start": 116,
"tag": "NAME",
"value": "Bastian"
},
{
"context": "ustered environ\n * @author Valiton GmbH, Bast... | src/msghub.coffee | valiton/node-msghub | 1 | ###*
* @name msghub
* @description A simple msghub to communicate in a clustered environ
* @author Valiton GmbH, Bastian "hereandnow" Behrens
###
###*
* Standard library imports
###
EventEmitter = require('events').EventEmitter
cluster = require 'cluster'
###*
* 3rd library imports
###
SimplePool = require 'simp... | 178292 | ###*
* @name msghub
* @description A simple msghub to communicate in a clustered environ
* @author Valiton GmbH, <NAME> "hereandnow" <NAME>
###
###*
* Standard library imports
###
EventEmitter = require('events').EventEmitter
cluster = require 'cluster'
###*
* 3rd library imports
###
SimplePool = require 'simple... | true | ###*
* @name msghub
* @description A simple msghub to communicate in a clustered environ
* @author Valiton GmbH, PI:NAME:<NAME>END_PI "hereandnow" PI:NAME:<NAME>END_PI
###
###*
* Standard library imports
###
EventEmitter = require('events').EventEmitter
cluster = require 'cluster'
###*
* 3rd library imports
###
... |
[
{
"context": "onform Bundle specification\n <https://github.com/fhirbase/fhirbase-plv8/issues/124>\n\n Hi!\n\n Issue connect",
"end": 274,
"score": 0.9991170167922974,
"start": 266,
"tag": "USERNAME",
"value": "fhirbase"
},
{
"context": "e\":[{\"use\":\"official\",\"family\":[\"Sn... | test/integration/issues/124_failed_transaction_response_doesnt_conform_bundle_specification_spec.coffee | micabe/fhirbase | 0 | plv8 = require('../../../plpl/src/plv8')
assert = require('assert')
describe 'Issues', ->
before ->
plv8.execute("SET plv8.start_proc = 'plv8_init'")
###
Issue #124
Failed transaction response doesn't conform Bundle specification
<https://github.com/fhirbase/fhirbase-plv8/issues/124>
Hi!
Issue con... | 216403 | plv8 = require('../../../plpl/src/plv8')
assert = require('assert')
describe 'Issues', ->
before ->
plv8.execute("SET plv8.start_proc = 'plv8_init'")
###
Issue #124
Failed transaction response doesn't conform Bundle specification
<https://github.com/fhirbase/fhirbase-plv8/issues/124>
Hi!
Issue con... | true | plv8 = require('../../../plpl/src/plv8')
assert = require('assert')
describe 'Issues', ->
before ->
plv8.execute("SET plv8.start_proc = 'plv8_init'")
###
Issue #124
Failed transaction response doesn't conform Bundle specification
<https://github.com/fhirbase/fhirbase-plv8/issues/124>
Hi!
Issue con... |
[
{
"context": "'use strict'\n#\n# Ethan Mick\n# 2015\n#\n\nwinston = require 'winston'\nlevel = pro",
"end": 27,
"score": 0.9997780323028564,
"start": 17,
"tag": "NAME",
"value": "Ethan Mick"
}
] | lib/models/log.coffee | ethanmick/metrics | 0 | 'use strict'
#
# Ethan Mick
# 2015
#
winston = require 'winston'
level = process.env.WINSTON or 'debug'
winston.remove(winston.transports.Console)
winston.add(winston.transports.Console, {
level: level
colorize: yes
json: no
timestamp: yes
prettyPrint: yes
label: process.pid
})
module.exports = winston
| 20088 | 'use strict'
#
# <NAME>
# 2015
#
winston = require 'winston'
level = process.env.WINSTON or 'debug'
winston.remove(winston.transports.Console)
winston.add(winston.transports.Console, {
level: level
colorize: yes
json: no
timestamp: yes
prettyPrint: yes
label: process.pid
})
module.exports = winston
| true | 'use strict'
#
# PI:NAME:<NAME>END_PI
# 2015
#
winston = require 'winston'
level = process.env.WINSTON or 'debug'
winston.remove(winston.transports.Console)
winston.add(winston.transports.Console, {
level: level
colorize: yes
json: no
timestamp: yes
prettyPrint: yes
label: process.pid
})
module.exports ... |
[
{
"context": "\n\t\tif req.query.password and req.query.password is password\n\t\t\tnext()\n\t\telse\n\t\t\tres.send(401)\nmongoose.connec",
"end": 930,
"score": 0.6762269139289856,
"start": 922,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "@endpoint.addMiddleware('fetch',... | coffee/test/fetch.coffee | lbacas/mongoose-rest-endpoints | 1 | express = require 'express'
request = require 'supertest'
should = require 'should'
Q = require 'q'
mongoose = require 'mongoose'
moment = require 'moment'
require('../lib/log').verbose(true)
tracker = require '../lib/tracker'
mre = require '../lib/endpoint'
# Custom "Post" and "Comment" documents
commentSchema = n... | 224828 | express = require 'express'
request = require 'supertest'
should = require 'should'
Q = require 'q'
mongoose = require 'mongoose'
moment = require 'moment'
require('../lib/log').verbose(true)
tracker = require '../lib/tracker'
mre = require '../lib/endpoint'
# Custom "Post" and "Comment" documents
commentSchema = n... | true | express = require 'express'
request = require 'supertest'
should = require 'should'
Q = require 'q'
mongoose = require 'mongoose'
moment = require 'moment'
require('../lib/log').verbose(true)
tracker = require '../lib/tracker'
mre = require '../lib/endpoint'
# Custom "Post" and "Comment" documents
commentSchema = n... |
[
{
"context": " * BracketsExtensionTweetBot\n * http://github.com/ingorichter/BracketsExtensionTweetBot\n *\n * Copyright (c) 201",
"end": 65,
"score": 0.9996655583381653,
"start": 54,
"tag": "USERNAME",
"value": "ingorichter"
},
{
"context": "BracketsExtensionTweetBot\n *\n * Copyrig... | src/bracketsextensiontweetbot.coffee | ingorichter/BracketsExtensionTweetBot | 0 | ###
* BracketsExtensionTweetBot
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 Ingo Richter
* Licensed under the MIT license.
###
# jslint vars: true, plusplus: true, devel: true, node: true, nomen: true, indent: 4, maxerr: 50
'use strict'
Promise = require 'bluebird'
... | 34865 | ###
* BracketsExtensionTweetBot
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
# jslint vars: true, plusplus: true, devel: true, node: true, nomen: true, indent: 4, maxerr: 50
'use strict'
Promise = require 'bluebird'
Twitte... | true | ###
* BracketsExtensionTweetBot
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
# jslint vars: true, plusplus: true, devel: true, node: true, nomen: true, indent: 4, maxerr: 50
'use strict'
Promise = require 'bl... |
[
{
"context": "\n\ndnschain\nhttp://dnschain.net\n\nCopyright (c) 2013 Greg Slepak\nLicensed under the BSD 3-Clause license.\n\n###\n\n# ",
"end": 65,
"score": 0.9998666048049927,
"start": 54,
"tag": "NAME",
"value": "Greg Slepak"
},
{
"context": "of NODE_DNS method\n # dns... | src/lib/dns.coffee | wartron/dnschain | 1 | ###
dnschain
http://dnschain.net
Copyright (c) 2013 Greg Slepak
Licensed under the BSD 3-Clause license.
###
# TODO: go through 'TODO's!
#
# TODO: check if we're missing any edns support
module.exports = (dnschain) ->
# expose these into our namespace
for k of dnschain.globals
eval "var #{k}... | 61977 | ###
dnschain
http://dnschain.net
Copyright (c) 2013 <NAME>
Licensed under the BSD 3-Clause license.
###
# TODO: go through 'TODO's!
#
# TODO: check if we're missing any edns support
module.exports = (dnschain) ->
# expose these into our namespace
for k of dnschain.globals
eval "var #{k} = dn... | true | ###
dnschain
http://dnschain.net
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the BSD 3-Clause license.
###
# TODO: go through 'TODO's!
#
# TODO: check if we're missing any edns support
module.exports = (dnschain) ->
# expose these into our namespace
for k of dnschain.globals
eval ... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n\nLicensed under the A",
"end": 39,
"score": 0.9998924136161804,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com... | src/Action/Scope/Decorator/WithStatementEvaluation.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law o... | 95126 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
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,... | true | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable... |
[
{
"context": "\n @sandbox.stub(git, \"_getAuthor\").resolves(\"brian\")\n @sandbox.stub(git, \"_getEmail\").resol",
"end": 2071,
"score": 0.5556120872497559,
"start": 2070,
"tag": "USERNAME",
"value": "b"
},
{
"context": " @sandbox.stub(git, \"_getAuthor\").resolves(\"... | packages/server/test/unit/modes/record_spec.coffee | smartmanru/cypress | 0 | require("../../spec_helper")
os = require("os")
api = require("#{root}../lib/api")
stdout = require("#{root}../lib/stdout")
errors = require("#{root}../lib/errors")
logger = require("#{root}../lib/logger")
Project = require("#{root}../lib/project")
terminal = require("#{root}../lib/util... | 106156 | require("../../spec_helper")
os = require("os")
api = require("#{root}../lib/api")
stdout = require("#{root}../lib/stdout")
errors = require("#{root}../lib/errors")
logger = require("#{root}../lib/logger")
Project = require("#{root}../lib/project")
terminal = require("#{root}../lib/util... | true | require("../../spec_helper")
os = require("os")
api = require("#{root}../lib/api")
stdout = require("#{root}../lib/stdout")
errors = require("#{root}../lib/errors")
logger = require("#{root}../lib/logger")
Project = require("#{root}../lib/project")
terminal = require("#{root}../lib/util... |
[
{
"context": "= $('#user_current_password').val()\n password = $('#user_password').val()\n confirm = $('#user_password_confirmat",
"end": 400,
"score": 0.8633158802986145,
"start": 383,
"tag": "PASSWORD",
"value": "$('#user_password"
}
] | app/assets/javascripts/profile.coffee | Salzig/Portus | 7 |
jQuery ->
email = $('#user_email').val()
$('#user_email').keyup ->
val = $('#user_email').val()
if val == email || val == ''
$('#edit_user.profile .btn').attr('disabled', 'disabled')
else
$('#edit_user.profile .btn').removeAttr('disabled')
$('#edit_user.password .form-control').keyup ->
... | 151343 |
jQuery ->
email = $('#user_email').val()
$('#user_email').keyup ->
val = $('#user_email').val()
if val == email || val == ''
$('#edit_user.profile .btn').attr('disabled', 'disabled')
else
$('#edit_user.profile .btn').removeAttr('disabled')
$('#edit_user.password .form-control').keyup ->
... | true |
jQuery ->
email = $('#user_email').val()
$('#user_email').keyup ->
val = $('#user_email').val()
if val == email || val == ''
$('#edit_user.profile .btn').attr('disabled', 'disabled')
else
$('#edit_user.profile .btn').removeAttr('disabled')
$('#edit_user.password .form-control').keyup ->
... |
[
{
"context": "h.credentials()).to.deep.equal(\n key: 'client-id', oauthStateParam: 'oauth-state')\n\n describe '",
"end": 536,
"score": 0.9418292045593262,
"start": 527,
"tag": "KEY",
"value": "client-id"
},
{
"context": "tials()).to.deep.equal(\n key: 'cli... | test/src/fast/util/oauth_test.coffee | expo/dropbox-js | 64 | describe 'Dropbox.Util.Oauth', ->
beforeEach ->
@method = 'GET'
@url = '/photos'
@params = answer: 42, other: 43
@timestamp = 1370129543574
buildSecretlessTransitionTests = ->
describe '#setAuthStateParam', ->
beforeEach ->
@oauth.setAuthStateParam 'oauth-state'
it 'makes #... | 106546 | describe 'Dropbox.Util.Oauth', ->
beforeEach ->
@method = 'GET'
@url = '/photos'
@params = answer: 42, other: 43
@timestamp = 1370129543574
buildSecretlessTransitionTests = ->
describe '#setAuthStateParam', ->
beforeEach ->
@oauth.setAuthStateParam 'oauth-state'
it 'makes #... | true | describe 'Dropbox.Util.Oauth', ->
beforeEach ->
@method = 'GET'
@url = '/photos'
@params = answer: 42, other: 43
@timestamp = 1370129543574
buildSecretlessTransitionTests = ->
describe '#setAuthStateParam', ->
beforeEach ->
@oauth.setAuthStateParam 'oauth-state'
it 'makes #... |
[
{
"context": "mmit_token = process.env.ANAGRAMMIT_API_TOKEN || 'dev'\nanagrammit_host = process.env.ANAGRAMMIT_HOST ||",
"end": 288,
"score": 0.9731486439704895,
"start": 285,
"tag": "PASSWORD",
"value": "dev"
},
{
"context": "NAGRAMMIT_PORT || 3100\n\nmodule.exports =\n name: \"Ana... | src/plugins/anagrammit.coffee | abachman/pat-the-campfire-bot | 2 | # pull results from anagrammit web service
util = require('util')
curl = require('../vendor/simple_http').curl
qs = require('querystring')
# if you're using anagrammit, make sure you add the same api token to both heroku envs
anagrammit_token = process.env.ANAGRAMMIT_API_TOKEN || 'dev'
anagrammit_host = process.env.... | 120548 | # pull results from anagrammit web service
util = require('util')
curl = require('../vendor/simple_http').curl
qs = require('querystring')
# if you're using anagrammit, make sure you add the same api token to both heroku envs
anagrammit_token = process.env.ANAGRAMMIT_API_TOKEN || '<PASSWORD>'
anagrammit_host = proce... | true | # pull results from anagrammit web service
util = require('util')
curl = require('../vendor/simple_http').curl
qs = require('querystring')
# if you're using anagrammit, make sure you add the same api token to both heroku envs
anagrammit_token = process.env.ANAGRAMMIT_API_TOKEN || 'PI:PASSWORD:<PASSWORD>END_PI'
anagr... |
[
{
"context": "][location.y] =\n move: move\n name: name\n direction: direction\n location: location\n",
"end": 2184,
"score": 0.9646176695823669,
"start": 2180,
"tag": "NAME",
"value": "name"
}
] | src/client/game.coffee | sortelli/jitterbug | 0 | window.jitterbug_game = (canvas_id) ->
canvas = new fabric.Canvas 'jitterbug_game_canvas',
backgroundColor: "#CCCCCC"
renderOnAddRemove: false
fabric.Object.prototype.transparentCorners = false
width = 60 # Number of bugs
height = 40 # Number of bugs
bug_size = 10 # pixels
max_turn... | 217632 | window.jitterbug_game = (canvas_id) ->
canvas = new fabric.Canvas 'jitterbug_game_canvas',
backgroundColor: "#CCCCCC"
renderOnAddRemove: false
fabric.Object.prototype.transparentCorners = false
width = 60 # Number of bugs
height = 40 # Number of bugs
bug_size = 10 # pixels
max_turn... | true | window.jitterbug_game = (canvas_id) ->
canvas = new fabric.Canvas 'jitterbug_game_canvas',
backgroundColor: "#CCCCCC"
renderOnAddRemove: false
fabric.Object.prototype.transparentCorners = false
width = 60 # Number of bugs
height = 40 # Number of bugs
bug_size = 10 # pixels
max_turn... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7670413851737976,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/zu/spec.coffee | saiba-mais/bible-lessons | 0 | bcv_parser = require("../../js/zu_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"
... | 14142 | bcv_parser = require("../../js/zu_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/zu_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": "c Quo Module\n\n@namespace Quo\n@class Query\n\n@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\"use strict\"\n\nd",
"end": 80,
"score": 0.9998193383216858,
"start": 59,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": " Quo\n@class Que... | source/quo.query.coffee | TNT-RoX/QuoJS | 1 | ###
Basic Quo Module
@namespace Quo
@class Query
@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
PARENT_NODE = "parentNode"
###
Get the descendants of each element in the current instance
@method find
@param {string} A string containing a selector express... | 212788 | ###
Basic Quo Module
@namespace Quo
@class Query
@author <NAME> <<EMAIL>> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
PARENT_NODE = "parentNode"
###
Get the descendants of each element in the current instance
@method find
@param {string} A string containing a selector expression to match elements a... | true | ###
Basic Quo Module
@namespace Quo
@class Query
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
PARENT_NODE = "parentNode"
###
Get the descendants of each element in the current instance
@method find
@param {string} A string containing a selector e... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9822193384170532,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/clientFilePage/chart.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Chart component that generates and interacts with C3 API from prop changes
Imm = require 'immutable'
Moment = requir... | 103992 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Chart component that generates and interacts with C3 API from prop changes
Imm = require 'immutable'
Moment = requir... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Chart component that generates and interacts with C3 API from prop changes
Imm = require 'immutable'
M... |
[
{
"context": "xpiry: ''\n focused: null\n namePlaceholder: 'FULL NAME'\n expiryBefore: 'month/year'\n expiryAfter: ",
"end": 307,
"score": 0.9987630844116211,
"start": 298,
"tag": "NAME",
"value": "FULL NAME"
}
] | source/card.cjsx | zouiteryoussef/react-credit-card-master | 240 |
React = require('react')
Payment = require('payment')
images = require('./card-images.js')
validate = Payment.fns
module.exports = React.createClass
displayName: 'Card'
getDefaultProps:->
number: null
cvc: null
name: ''
expiry: ''
focused: null
namePlaceholder: 'FULL NAME'
expiryB... | 118799 |
React = require('react')
Payment = require('payment')
images = require('./card-images.js')
validate = Payment.fns
module.exports = React.createClass
displayName: 'Card'
getDefaultProps:->
number: null
cvc: null
name: ''
expiry: ''
focused: null
namePlaceholder: '<NAME>'
expiryBefo... | true |
React = require('react')
Payment = require('payment')
images = require('./card-images.js')
validate = Payment.fns
module.exports = React.createClass
displayName: 'Card'
getDefaultProps:->
number: null
cvc: null
name: ''
expiry: ''
focused: null
namePlaceholder: 'PI:NAME:<NAME>END_PI'
... |
[
{
"context": "t-er-animating\n# requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel.\n#++++++++",
"end": 288,
"score": 0.9998925924301147,
"start": 277,
"tag": "NAME",
"value": "Erik Möller"
},
{
"context": "polyfill by Erik Möller. fixes from Paul Ir... | src/assets/coffee/module/helper/rAF.coffee | BioD3/BioD3 | 4 | ###!
# requestAnimationFrame CoffeeScript
# ==================================
# http://paulirish.com/2011/requestanimationframe-for-smart-animating/
# http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
# requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino... | 94026 | ###!
# requestAnimationFrame CoffeeScript
# ==================================
# http://paulirish.com/2011/requestanimationframe-for-smart-animating/
# http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
# requestAnimationFrame polyfill by <NAME>. fixes from Paul Irish and <NAME>.
#... | true | ###!
# requestAnimationFrame CoffeeScript
# ==================================
# http://paulirish.com/2011/requestanimationframe-for-smart-animating/
# http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
# requestAnimationFrame polyfill by PI:NAME:<NAME>END_PI. fixes from Paul Irish... |
[
{
"context": "s\n [v, w] = edge\n if v < w\n key = \"#{v},#{w}\"\n else\n key = \"#{w},#{v}\"\n unless",
"end": 1517,
"score": 0.9982298016548157,
"start": 1506,
"tag": "KEY",
"value": "\"#{v},#{w}\""
},
{
"context": " key = \"#{v},#{w}\"\n ... | src/filter.coffee | Alex-Padron/Paper | 1 | geom = require './geom'
filter = exports
filter.edgesAssigned = (fold, target) ->
i for assignment, i in fold.edges_assignment when assignment == target
filter.mountainEdges = (fold) ->
assignment.edgesAssigned fold, 'M'
filter.valleyEdges = (fold) ->
assignment.edgesAssigned fold, 'V'
filter.flatEdges = (fold) ... | 49842 | geom = require './geom'
filter = exports
filter.edgesAssigned = (fold, target) ->
i for assignment, i in fold.edges_assignment when assignment == target
filter.mountainEdges = (fold) ->
assignment.edgesAssigned fold, 'M'
filter.valleyEdges = (fold) ->
assignment.edgesAssigned fold, 'V'
filter.flatEdges = (fold) ... | true | geom = require './geom'
filter = exports
filter.edgesAssigned = (fold, target) ->
i for assignment, i in fold.edges_assignment when assignment == target
filter.mountainEdges = (fold) ->
assignment.edgesAssigned fold, 'M'
filter.valleyEdges = (fold) ->
assignment.edgesAssigned fold, 'V'
filter.flatEdges = (fold) ... |
[
{
"context": "EditorUpload\n\n defaults: {\n csrfToken: \"csrf_token\",\n target: \"target url\",\n placehold",
"end": 192,
"score": 0.9446236491203308,
"start": 182,
"tag": "PASSWORD",
"value": "csrf_token"
}
] | spirit/core/static/spirit/scripts/src/editor_file_upload.coffee | Ke-xueting/Spirit | 974 | ###
Markdown editor image upload, should be loaded before $.editor()
requires: util.js
###
utils = stModules.utils
class EditorUpload
defaults: {
csrfToken: "csrf_token",
target: "target url",
placeholderText: "uploading {name}",
allowedFileMedia: ["*/*"]
}
_meta:... | 118086 | ###
Markdown editor image upload, should be loaded before $.editor()
requires: util.js
###
utils = stModules.utils
class EditorUpload
defaults: {
csrfToken: "<PASSWORD>",
target: "target url",
placeholderText: "uploading {name}",
allowedFileMedia: ["*/*"]
}
_meta:... | true | ###
Markdown editor image upload, should be loaded before $.editor()
requires: util.js
###
utils = stModules.utils
class EditorUpload
defaults: {
csrfToken: "PI:PASSWORD:<PASSWORD>END_PI",
target: "target url",
placeholderText: "uploading {name}",
allowedFileMedia: ["*/*"... |
[
{
"context": "eu.ch\" onClick={TrackEvent.link('Signup:Footer')}>Greg Leuch</a>.</p>\n <p className=\"disclaimer\"><Col",
"end": 2083,
"score": 0.9992014169692993,
"start": 2073,
"tag": "NAME",
"value": "Greg Leuch"
}
] | app/assets/javascripts/components/pages/signup.js.jsx.coffee | gleuch/color-camp | 1 | @ColorSignupPage = React.createClass
render : ->
`<ColorSignupLogin {...this.props} signup={true} />`
@ColorLoginPage = React.createClass
render : ->
`<ColorSignupLogin {...this.props} signup={false} />`
@ColorSignupLogin = React.createClass
getInitialState : ->
{ }
componentDidMount : ->
#
... | 18378 | @ColorSignupPage = React.createClass
render : ->
`<ColorSignupLogin {...this.props} signup={true} />`
@ColorLoginPage = React.createClass
render : ->
`<ColorSignupLogin {...this.props} signup={false} />`
@ColorSignupLogin = React.createClass
getInitialState : ->
{ }
componentDidMount : ->
#
... | true | @ColorSignupPage = React.createClass
render : ->
`<ColorSignupLogin {...this.props} signup={true} />`
@ColorLoginPage = React.createClass
render : ->
`<ColorSignupLogin {...this.props} signup={false} />`
@ColorSignupLogin = React.createClass
getInitialState : ->
{ }
componentDidMount : ->
#
... |
[
{
"context": "\n# Commands:\n# tdr_now or tdr_md\n#\n# Author:\n# yuzumone\n#\n\ntwitter = require 'twitter'\nclient = new twitt",
"end": 161,
"score": 0.9997453093528748,
"start": 153,
"tag": "USERNAME",
"value": "yuzumone"
},
{
"context": " {\n \"fallback\": text\n ... | scripts/twitter_tdr.coffee | yuzumone/hubot-script | 0 | # Description
# A Hubot script that search tweets of tdr information
#
# Dependencies:
# twitter
#
# Commands:
# tdr_now or tdr_md
#
# Author:
# yuzumone
#
twitter = require 'twitter'
client = new twitter {
consumer_key: process.env.TWITTER_CONSUMER_KEY,
consumer_secret: process.env.TWITTER_CONSUMER_SECRET... | 79048 | # Description
# A Hubot script that search tweets of tdr information
#
# Dependencies:
# twitter
#
# Commands:
# tdr_now or tdr_md
#
# Author:
# yuzumone
#
twitter = require 'twitter'
client = new twitter {
consumer_key: process.env.TWITTER_CONSUMER_KEY,
consumer_secret: process.env.TWITTER_CONSUMER_SECRET... | true | # Description
# A Hubot script that search tweets of tdr information
#
# Dependencies:
# twitter
#
# Commands:
# tdr_now or tdr_md
#
# Author:
# yuzumone
#
twitter = require 'twitter'
client = new twitter {
consumer_key: process.env.TWITTER_CONSUMER_KEY,
consumer_secret: process.env.TWITTER_CONSUMER_SECRET... |
[
{
"context": "--------------\n# Copyright Joe Drago 2018.\n# Distributed under the Boost Softw",
"end": 123,
"score": 0.9998372793197632,
"start": 114,
"tag": "NAME",
"value": "Joe Drago"
}
] | lib/templates/src/coffee/utils.coffee | EwoutH/colorist | 0 | # ---------------------------------------------------------------------------
# Copyright Joe Drago 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#... | 49172 | # ---------------------------------------------------------------------------
# Copyright <NAME> 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# --... | true | # ---------------------------------------------------------------------------
# Copyright PI:NAME:<NAME>END_PI 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE... |
[
{
"context": "# SillyAI's strategy is to buy an arbitrary card with the",
"end": 7,
"score": 0.7478885650634766,
"start": 2,
"tag": "NAME",
"value": "Silly"
},
{
"context": " lot of possible\n# states of the game.\n{\n name: 'SillyAI'\n author: 'rspeer'\n requires: []\n gainPrio"... | strategies/SillyAI.coffee | rspeer/dominiate | 65 | # SillyAI's strategy is to buy an arbitrary card with the highest available
# cost. It does a reasonable job of playing like a newbie, it occasionally
# gets lucky and pulls off nice combos, and it tests a lot of possible
# states of the game.
{
name: 'SillyAI'
author: 'rspeer'
requires: []
gainPriority: (state... | 198298 | # <NAME>AI's strategy is to buy an arbitrary card with the highest available
# cost. It does a reasonable job of playing like a newbie, it occasionally
# gets lucky and pulls off nice combos, and it tests a lot of possible
# states of the game.
{
name: '<NAME>lyAI'
author: 'rspeer'
requires: []
gainPriority: (s... | true | # PI:NAME:<NAME>END_PIAI's strategy is to buy an arbitrary card with the highest available
# cost. It does a reasonable job of playing like a newbie, it occasionally
# gets lucky and pulls off nice combos, and it tests a lot of possible
# states of the game.
{
name: 'PI:NAME:<NAME>END_PIlyAI'
author: 'rspeer'
req... |
[
{
"context": "**\n# *\n# * yOSON appLoad\n# *\n# * Copyright(c) 2011 yOSON <evangelizandolaweb@gmail.com>\n# * Web evangelist",
"end": 69,
"score": 0.9911029934883118,
"start": 64,
"tag": "USERNAME",
"value": "yOSON"
},
{
"context": " * yOSON appLoad\n# *\n# * Copyright(c) 2011 yOSON... | frontend/resources/coffee/libs/yosonjs-utils/appLoad.coffee | ronnyfly2/openvios | 0 | # *************
# *
# * yOSON appLoad
# *
# * Copyright(c) 2011 yOSON <evangelizandolaweb@gmail.com>
# * Web evangelists <evangelizandolaweb@groups.facebook.com>
# *
# *
# * MIT Licensed
#
modu = yOSON.module
ctrl = yOSON.controller
acti = yOSON.action
# console.log modu, ctrl, acti
#log "==> mod: #{modu} - ctrl:#{ctrl... | 15810 | # *************
# *
# * yOSON appLoad
# *
# * Copyright(c) 2011 yOSON <<EMAIL>>
# * Web evangelists <<EMAIL>>
# *
# *
# * MIT Licensed
#
modu = yOSON.module
ctrl = yOSON.controller
acti = yOSON.action
# console.log modu, ctrl, acti
#log "==> mod: #{modu} - ctrl:#{ctrl} - acti:#{acti}"
yOSON.AppSchema.modules.allModule... | true | # *************
# *
# * yOSON appLoad
# *
# * Copyright(c) 2011 yOSON <PI:EMAIL:<EMAIL>END_PI>
# * Web evangelists <PI:EMAIL:<EMAIL>END_PI>
# *
# *
# * MIT Licensed
#
modu = yOSON.module
ctrl = yOSON.controller
acti = yOSON.action
# console.log modu, ctrl, acti
#log "==> mod: #{modu} - ctrl:#{ctrl} - acti:#{acti}"
yOS... |
[
{
"context": "gles:\n dongle1:\n id: 1\n masterSeed: 'af5920746fad1e40b2a8c7080ee40524a335f129cb374d4c6f82fd6bf3139b17191cb8c38b8e37f4003768b103479947cab1d4f68d908ae520cfe71263b2a0cd'\n mnemonic: 'fox luggage hero item busy harb",
"end": 326,
"score": 0.9995700716972351,
"start": 1... | app/spec/fixtures/fixtures_dongle.coffee | romanornr/ledger-wallet-crw | 173 | ledger.specs.fixtures ?= {}
_.extend ledger.specs.fixtures,
# Please don't make transactions with this seed or you will screw up the tests
dongles:
dongle1:
id: 1
masterSeed: 'af5920746fad1e40b2a8c7080ee40524a335f129cb374d4c6f82fd6bf3139b17191cb8c38b8e37f4003768b103479947cab1d4f68d908ae520cfe71263... | 190462 | ledger.specs.fixtures ?= {}
_.extend ledger.specs.fixtures,
# Please don't make transactions with this seed or you will screw up the tests
dongles:
dongle1:
id: 1
masterSeed: '<KEY>'
mnemonic: 'fox luggage hero item busy harbor dawn veteran bottom antenna rigid upgrade merit cash cigar episo... | true | ledger.specs.fixtures ?= {}
_.extend ledger.specs.fixtures,
# Please don't make transactions with this seed or you will screw up the tests
dongles:
dongle1:
id: 1
masterSeed: 'PI:KEY:<KEY>END_PI'
mnemonic: 'fox luggage hero item busy harbor dawn veteran bottom antenna rigid upgrade merit cas... |
[
{
"context": "lback run synchronously:\n\n csv()\n .from('82,Preisner,Zbigniew\\n94,Gainsbourg,Serge')\n .to(consol",
"end": 1568,
"score": 0.7736263275146484,
"start": 1563,
"tag": "NAME",
"value": "Preis"
},
{
"context": "nsform.js`, print:\n // 94,Gainsbourg,Serge\\n82... | node_modules/csvtojson/node_modules/csv/src/transformer.coffee | thomjoy/sydney-buses | 1 |
stream = require 'stream'
###
Transforming data
=================
Transformations may occur synchronously or asynchronously depending
on the provided transform callback and its declared arguments length.
Callbacks are called for each line, with these arguments:
* *row*
CSV record
* *index*
Incremented coun... | 222088 |
stream = require 'stream'
###
Transforming data
=================
Transformations may occur synchronously or asynchronously depending
on the provided transform callback and its declared arguments length.
Callbacks are called for each line, with these arguments:
* *row*
CSV record
* *index*
Incremented coun... | true |
stream = require 'stream'
###
Transforming data
=================
Transformations may occur synchronously or asynchronously depending
on the provided transform callback and its declared arguments length.
Callbacks are called for each line, with these arguments:
* *row*
CSV record
* *index*
Incremented coun... |
[
{
"context": "repoUrl)\n @addRow @createFieldRow(\"fullName\", \"minieditor\", Configuration.labels.fullName)\n @addRow @cre",
"end": 346,
"score": 0.9994240403175354,
"start": 336,
"tag": "USERNAME",
"value": "minieditor"
},
{
"context": "FieldRow(\"username\", \"text\", Confi... | lib/util/configuration-form-view.coffee | ExentriqLtd/Advanced-Web-Editor | 0 | FormView = require './form-view'
Configuration = require './configuration.coffee'
class ConfigurationFormView extends FormView
initialize: ->
super
@addRow @createTitleRow("Editing Tools Configuration")
# @addRow @createFieldRow("repoUrl", "text", Configuration.labels.repoUrl)
@addRow @createFieldR... | 203013 | FormView = require './form-view'
Configuration = require './configuration.coffee'
class ConfigurationFormView extends FormView
initialize: ->
super
@addRow @createTitleRow("Editing Tools Configuration")
# @addRow @createFieldRow("repoUrl", "text", Configuration.labels.repoUrl)
@addRow @createFieldR... | true | FormView = require './form-view'
Configuration = require './configuration.coffee'
class ConfigurationFormView extends FormView
initialize: ->
super
@addRow @createTitleRow("Editing Tools Configuration")
# @addRow @createFieldRow("repoUrl", "text", Configuration.labels.repoUrl)
@addRow @createFieldR... |
[
{
"context": " query.multiverseid = id\n else\n query.name = name\n if page > 1\n query.page = page - 1\n gathere",
"end": 5061,
"score": 0.7789427042007446,
"start": 5057,
"tag": "NAME",
"value": "name"
}
] | src/gatherer/card.coffee | davidchambers/tutor | 45 | cheerio = require 'cheerio'
_ = require 'underscore'
gatherer = require '../gatherer'
supertypes = require '../supertypes'
module.exports = (details, callback) ->
if 'which' of details and details.which not in ['a', 'b']
callback new Error 'invalid which property (valid values are "a" and "b"... | 205856 | cheerio = require 'cheerio'
_ = require 'underscore'
gatherer = require '../gatherer'
supertypes = require '../supertypes'
module.exports = (details, callback) ->
if 'which' of details and details.which not in ['a', 'b']
callback new Error 'invalid which property (valid values are "a" and "b"... | true | cheerio = require 'cheerio'
_ = require 'underscore'
gatherer = require '../gatherer'
supertypes = require '../supertypes'
module.exports = (details, callback) ->
if 'which' of details and details.which not in ['a', 'b']
callback new Error 'invalid which property (valid values are "a" and "b"... |
[
{
"context": "luate ->\n michael = new Model\n name: 'Michael Bolton'\n job: 'Singer'\n\n Models.add michael\n",
"end": 426,
"score": 0.9998498558998108,
"start": 412,
"tag": "NAME",
"value": "Michael Bolton"
},
{
"context": "ertEval ->\n results = Mode... | test/test.backbone.coffee | lejenome/localForage | 0 | 'use strict'
casper.test.begin "Testing Backbone data adapter", (test) ->
casper.start "#{casper.TEST_URL}test.backbone.html", ->
test.info "Testing using global scope (no require.js)"
test.assertEval ->
typeof Backbone.localforage is 'function'
, "localforage storage adapter is attached to Backbo... | 117442 | 'use strict'
casper.test.begin "Testing Backbone data adapter", (test) ->
casper.start "#{casper.TEST_URL}test.backbone.html", ->
test.info "Testing using global scope (no require.js)"
test.assertEval ->
typeof Backbone.localforage is 'function'
, "localforage storage adapter is attached to Backbo... | true | 'use strict'
casper.test.begin "Testing Backbone data adapter", (test) ->
casper.start "#{casper.TEST_URL}test.backbone.html", ->
test.info "Testing using global scope (no require.js)"
test.assertEval ->
typeof Backbone.localforage is 'function'
, "localforage storage adapter is attached to Backbo... |
[
{
"context": " = singularize underscore name\n\n lkey = \"#{name}_ids\"\n unless lkey in @attributes\n @attributes",
"end": 4421,
"score": 0.9752335548400879,
"start": 4418,
"tag": "KEY",
"value": "ids"
},
{
"context": "ributes\n @attributes.push lkey\n\n fkey ?= '... | src/relations.coffee | nextorigin/spine-relations | 0 | Spine = require "spine"
{isArray} = Array
class BaseCollection extends Spine.Class
constructor: (options = {}) ->
for key, value of options
@[key] = value
first: ->
@all()[0]
last: ->
@all()[-1..]
create: (record, options) ->
newRecord = @model.create record, options
(@add new... | 135393 | Spine = require "spine"
{isArray} = Array
class BaseCollection extends Spine.Class
constructor: (options = {}) ->
for key, value of options
@[key] = value
first: ->
@all()[0]
last: ->
@all()[-1..]
create: (record, options) ->
newRecord = @model.create record, options
(@add new... | true | Spine = require "spine"
{isArray} = Array
class BaseCollection extends Spine.Class
constructor: (options = {}) ->
for key, value of options
@[key] = value
first: ->
@all()[0]
last: ->
@all()[-1..]
create: (record, options) ->
newRecord = @model.create record, options
(@add new... |
[
{
"context": " ->\n new User({_id: creator2Id, name: 'Dummy Name'}).save (err) ->\n # retrieve last ra",
"end": 18540,
"score": 0.9993100166320801,
"start": 18530,
"tag": "NAME",
"value": "Dummy Name"
},
{
"context": " assert.equal rattles[0].creator... | test/unit/index.coffee | brianjd/mongoose-rattle-plugin | 0 | require '../bootstrap'
async = require 'async'
sinon = require 'sinon'
assert = require 'assert'
moment = require 'moment'
should = require 'should'
mongoose = require 'mongoose'
Thingy = require '../models/thingy'
User = require '../models/user'
ObjectId = mongoose.Types.ObjectId;
describe "Mong... | 79943 | require '../bootstrap'
async = require 'async'
sinon = require 'sinon'
assert = require 'assert'
moment = require 'moment'
should = require 'should'
mongoose = require 'mongoose'
Thingy = require '../models/thingy'
User = require '../models/user'
ObjectId = mongoose.Types.ObjectId;
describe "Mong... | true | require '../bootstrap'
async = require 'async'
sinon = require 'sinon'
assert = require 'assert'
moment = require 'moment'
should = require 'should'
mongoose = require 'mongoose'
Thingy = require '../models/thingy'
User = require '../models/user'
ObjectId = mongoose.Types.ObjectId;
describe "Mong... |
[
{
"context": "s: { type: 'string' }\n }\n }\n data = { name: 'Bob', numbers: ['401-401-1337', '123-456-7890'], 'add",
"end": 378,
"score": 0.9997455477714539,
"start": 375,
"tag": "NAME",
"value": "Bob"
}
] | test/keyboard/tab-key.coffee | lgr7/codecombattreema | 66 | # almost exactly the same as enter, except it keeps focus on a row that is invalid
describe 'Tab key press', ->
tabKeyPress = ($el) -> keyDown($el, 9)
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: 'string', minLength: 4 } }
a... | 134838 | # almost exactly the same as enter, except it keeps focus on a row that is invalid
describe 'Tab key press', ->
tabKeyPress = ($el) -> keyDown($el, 9)
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: 'string', minLength: 4 } }
a... | true | # almost exactly the same as enter, except it keeps focus on a row that is invalid
describe 'Tab key press', ->
tabKeyPress = ($el) -> keyDown($el, 9)
schema = {
type: 'object',
properties: {
name: { type: 'string' }
numbers: { type: 'array', items: { type: 'string', minLength: 4 } }
a... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999164342880249,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/lib/store-paypal.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.
export class StorePaypal
@fetchApprovalLink: (orderId) ->
new Promise (resolve, reject) ->
$.post laroute.route('payments.paypal.crea... | 94236 | # 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.
export class StorePaypal
@fetchApprovalLink: (orderId) ->
new Promise (resolve, reject) ->
$.post laroute.route('payments.paypal.create'), o... | 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.
export class StorePaypal
@fetchApprovalLink: (orderId) ->
new Promise (resolve, reject) ->
$.post laroute.route('payments.pay... |
[
{
"context": "@InitFiles = new FS.Collection(\"InitFiles\",\n\tstores: [\n\t\tnew",
"end": 10,
"score": 0.5587348937988281,
"start": 1,
"tag": "USERNAME",
"value": "InitFiles"
},
{
"context": "\temail: email\n\t\t\t\tusername: mobile\n\t\t\t\tpassword: '12345678'\n\t\t\t\ttype: 'teac... | collections/collection_fs/initFiles.coffee | cuijiemmx/alpha | 0 | @InitFiles = new FS.Collection("InitFiles",
stores: [
new FS.Store.GridFS 'files', transformWrite: (fileObj, readStream, writeStream) =>
# console.log readStream
content = ''
readStream.on 'data', (chunk) =>
content += chunk.toString()
readStream.on 'end', Meteor.bindEnvironment(() =>
console... | 159120 | @InitFiles = new FS.Collection("InitFiles",
stores: [
new FS.Store.GridFS 'files', transformWrite: (fileObj, readStream, writeStream) =>
# console.log readStream
content = ''
readStream.on 'data', (chunk) =>
content += chunk.toString()
readStream.on 'end', Meteor.bindEnvironment(() =>
console... | true | @InitFiles = new FS.Collection("InitFiles",
stores: [
new FS.Store.GridFS 'files', transformWrite: (fileObj, readStream, writeStream) =>
# console.log readStream
content = ''
readStream.on 'data', (chunk) =>
content += chunk.toString()
readStream.on 'end', Meteor.bindEnvironment(() =>
console... |
[
{
"context": " JSLocation - location coordinate class\n# Coded by kouichi.sakazaki 2013.10.03\n#*************************************",
"end": 111,
"score": 0.9945704340934753,
"start": 95,
"tag": "NAME",
"value": "kouichi.sakazaki"
}
] | JSKit/frameworks/JSCoreLocation.framework/JSLocation.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSLocation - location coordinate class
# Coded by kouichi.sakazaki 2013.10.03
#*****************************************
class JSLocation extends JSObject
constructor:(@_latitude = 0.0, @_longitude = 0.0)->
super()
| 192573 | #*****************************************
# JSLocation - location coordinate class
# Coded by <NAME> 2013.10.03
#*****************************************
class JSLocation extends JSObject
constructor:(@_latitude = 0.0, @_longitude = 0.0)->
super()
| true | #*****************************************
# JSLocation - location coordinate class
# Coded by PI:NAME:<NAME>END_PI 2013.10.03
#*****************************************
class JSLocation extends JSObject
constructor:(@_latitude = 0.0, @_longitude = 0.0)->
super()
|
[
{
"context": "/z5AZK3t4zjOpJQ6BPECfiKAcqRUzkFmASQEhHzJOUgQ8BWyviwFsL4sBnC+LAE84YMWQnSAVCixdkvMAiB6Q7TCfJtrLq4PHkmSnHHbi0LHvOYa6w/g3kitjSgOYFyUUoWvlCPA9C1gvQfgDmiHNLZBgO8A3geZt+G6chQBA7hi/0QVQBrZ9EwQ0LbtbhgGghQAVFPAB25HmRH8b2/nAAAAAElFTkSuQmCC'\n\n initialize: (attrs, options) ->\n super",
"end": 531... | bokehjs/src/coffee/tool/inspectors/hover_tool.coffee | tswicegood/bokeh | 0 |
define [
"underscore"
"sprintf"
"common/collection"
"renderer/annotation/tooltip"
"./inspect_tool"
], (_, sprintf, Collection, Tooltip, InspectTool) ->
_color_to_hex = (color) ->
if (color.substr(0, 1) == '#')
return color
digits = /(.*?)rgb\((\d+), (\d+), (\d+)\)/.exec(color)
red = p... | 184695 |
define [
"underscore"
"sprintf"
"common/collection"
"renderer/annotation/tooltip"
"./inspect_tool"
], (_, sprintf, Collection, Tooltip, InspectTool) ->
_color_to_hex = (color) ->
if (color.substr(0, 1) == '#')
return color
digits = /(.*?)rgb\((\d+), (\d+), (\d+)\)/.exec(color)
red = p... | true |
define [
"underscore"
"sprintf"
"common/collection"
"renderer/annotation/tooltip"
"./inspect_tool"
], (_, sprintf, Collection, Tooltip, InspectTool) ->
_color_to_hex = (color) ->
if (color.substr(0, 1) == '#')
return color
digits = /(.*?)rgb\((\d+), (\d+), (\d+)\)/.exec(color)
red = p... |
[
{
"context": " @id = 3\n @association 'user', first_name: 'Kamil'\n\n Factory.define 'facebook', class: Facebook,",
"end": 695,
"score": 0.9995479583740234,
"start": 690,
"tag": "NAME",
"value": "Kamil"
}
] | test/association_test.coffee | JackDanger/factory-boy | 2 | require('./test_helper')
class User extends Object
@create: (attrs = {}, callback) ->
callback(null, new User(attrs))
class Profile extends Object
@create: (attrs = {}, callback) ->
callback(null, new Profile(attrs))
class Facebook extends Object
@create: (attrs = {}, callback) ->
callback(null, ne... | 183522 | require('./test_helper')
class User extends Object
@create: (attrs = {}, callback) ->
callback(null, new User(attrs))
class Profile extends Object
@create: (attrs = {}, callback) ->
callback(null, new Profile(attrs))
class Facebook extends Object
@create: (attrs = {}, callback) ->
callback(null, ne... | true | require('./test_helper')
class User extends Object
@create: (attrs = {}, callback) ->
callback(null, new User(attrs))
class Profile extends Object
@create: (attrs = {}, callback) ->
callback(null, new Profile(attrs))
class Facebook extends Object
@create: (attrs = {}, callback) ->
callback(null, ne... |
[
{
"context": " available commands in this script\n#\n# Author:\n# Guglielmo Iozzia (@virtualramblas)\n\nsdcInstance = \"\"\n\nmodule.expor",
"end": 681,
"score": 0.9998672008514404,
"start": 665,
"tag": "NAME",
"value": "Guglielmo Iozzia"
},
{
"context": "ds in this script\n#\n# Au... | sdc-helper/sdc-helper.coffee | virtualramblas/sdc-hubot | 0 | # Description:
# Streamsets Data Collector monitoring script
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot sdc check <sdc_url> - Checks if the given SDC server is alive
# hubot sdc pipeline <pipeline_name> status - Checks the current status of a given pipeline
# hubot sdc get uuid <pi... | 42343 | # Description:
# Streamsets Data Collector monitoring script
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot sdc check <sdc_url> - Checks if the given SDC server is alive
# hubot sdc pipeline <pipeline_name> status - Checks the current status of a given pipeline
# hubot sdc get uuid <pi... | true | # Description:
# Streamsets Data Collector monitoring script
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot sdc check <sdc_url> - Checks if the given SDC server is alive
# hubot sdc pipeline <pipeline_name> status - Checks the current status of a given pipeline
# hubot sdc get uuid <pi... |
[
{
"context": "age'\nbus = require('./event-bus')()\n\nTOKEN_KEY = 'learn-ide:token'\n\nmodule.exports = token = {\n get: ->\n ",
"end": 95,
"score": 0.6236005425453186,
"start": 86,
"tag": "PASSWORD",
"value": "learn-ide"
},
{
"context": "= require('./event-bus')()\n\nTOKEN_KEY =... | lib/token.coffee | learn-co/mastermind | 1 | localStorage = require './local-storage'
bus = require('./event-bus')()
TOKEN_KEY = 'learn-ide:token'
module.exports = token = {
get: ->
localStorage.get(TOKEN_KEY)
set: (value) ->
localStorage.set(TOKEN_KEY, value)
bus.emit(TOKEN_KEY, value)
unset: ->
localStorage.delete(TOKEN_KEY)
bus.em... | 138269 | localStorage = require './local-storage'
bus = require('./event-bus')()
TOKEN_KEY = '<PASSWORD> <KEY>:token'
module.exports = token = {
get: ->
localStorage.get(TOKEN_KEY)
set: (value) ->
localStorage.set(TOKEN_KEY, value)
bus.emit(TOKEN_KEY, value)
unset: ->
localStorage.delete(TOKEN_KEY)
... | true | localStorage = require './local-storage'
bus = require('./event-bus')()
TOKEN_KEY = 'PI:PASSWORD:<PASSWORD>END_PI PI:KEY:<KEY>END_PI:token'
module.exports = token = {
get: ->
localStorage.get(TOKEN_KEY)
set: (value) ->
localStorage.set(TOKEN_KEY, value)
bus.emit(TOKEN_KEY, value)
unset: ->
loc... |
[
{
"context": "> console.log(arguments)\n\t\t\t\terr:->\n\n\t\t@userId = '12345abcde'\n\n\tdescribe \"getManagedPublishers\", ->\n\t\t\tit 'fet",
"end": 917,
"score": 0.8898299336433411,
"start": 907,
"tag": "KEY",
"value": "12345abcde"
}
] | test/unit/coffee/Publishers/PublishersGetterTests.coffee | shyoshyo/web-sharelatex | 1 | SandboxedModule = require('sandboxed-module')
require('chai').should()
expect = require('chai').expect
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Publishers/PublishersGetter.js'
describe 'PublishersGetter', ->
beforeEach ->
@publisher =
_id: 'mock-publsiher... | 17546 | SandboxedModule = require('sandboxed-module')
require('chai').should()
expect = require('chai').expect
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Publishers/PublishersGetter.js'
describe 'PublishersGetter', ->
beforeEach ->
@publisher =
_id: 'mock-publsiher... | true | SandboxedModule = require('sandboxed-module')
require('chai').should()
expect = require('chai').expect
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Publishers/PublishersGetter.js'
describe 'PublishersGetter', ->
beforeEach ->
@publisher =
_id: 'mock-publsiher... |
[
{
"context": "ID = 'ddc7384ce313772cfad415c1ed2afc30'\nSECRET = '2acfd8a430c873ea7d03335b0644733a'\n@findOne = (query, callback) ->\n if query.id is",
"end": 325,
"score": 0.9994824528694153,
"start": 293,
"tag": "KEY",
"value": "2acfd8a430c873ea7d03335b0644733a"
}
] | dal/client-applications.coffee | craigspaeth/nfd-api | 0 | # ClientApplication
#
# An API client.
#
# Schema: {
# secret: String,
# name: String
# }
_ = require 'underscore'
{ ObjectID } = mongodb = require 'mongodb'
# For now we only need to auth against our website so we can hard-code this.
ID = 'ddc7384ce313772cfad415c1ed2afc30'
SECRET = '2acfd8a430c873ea7d03335b064... | 149540 | # ClientApplication
#
# An API client.
#
# Schema: {
# secret: String,
# name: String
# }
_ = require 'underscore'
{ ObjectID } = mongodb = require 'mongodb'
# For now we only need to auth against our website so we can hard-code this.
ID = 'ddc7384ce313772cfad415c1ed2afc30'
SECRET = '<KEY>'
@findOne = (query, c... | true | # ClientApplication
#
# An API client.
#
# Schema: {
# secret: String,
# name: String
# }
_ = require 'underscore'
{ ObjectID } = mongodb = require 'mongodb'
# For now we only need to auth against our website so we can hard-code this.
ID = 'ddc7384ce313772cfad415c1ed2afc30'
SECRET = 'PI:KEY:<KEY>END_PI'
@findOn... |
[
{
"context": "options =\n api_key: \"85a8bd06685691821a53e13633c6c798\"\n spawn_x: \"right\"\n spawn_y: \"bottom\"\n spawn_o",
"end": 54,
"score": 0.9997601509094238,
"start": 22,
"tag": "KEY",
"value": "85a8bd06685691821a53e13633c6c798"
}
] | wanikani_lesandrev.coffee | jakeoid/ubersicht-wanikani | 3 | options =
api_key: "85a8bd06685691821a53e13633c6c798"
spawn_x: "right"
spawn_y: "bottom"
spawn_offset_x: 0
spawn_offset_y: 0
refreshFrequency: 900
command: "curl --silent https://www.wanikani.com/api/user/#{options.api_key}/study-queue"
render: (output) -> """
<div class="row">
<div>
<img src="/wani... | 7164 | options =
api_key: "<KEY>"
spawn_x: "right"
spawn_y: "bottom"
spawn_offset_x: 0
spawn_offset_y: 0
refreshFrequency: 900
command: "curl --silent https://www.wanikani.com/api/user/#{options.api_key}/study-queue"
render: (output) -> """
<div class="row">
<div>
<img src="/wanikani_lesandrev/crabigator.p... | true | options =
api_key: "PI:KEY:<KEY>END_PI"
spawn_x: "right"
spawn_y: "bottom"
spawn_offset_x: 0
spawn_offset_y: 0
refreshFrequency: 900
command: "curl --silent https://www.wanikani.com/api/user/#{options.api_key}/study-queue"
render: (output) -> """
<div class="row">
<div>
<img src="/wanikani_lesandrev... |
[
{
"context": ": globals.userAccount._id\n constructorName : 'JAccount'\n }\n\n\ndefaultAccount = ->\n profile :\n first",
"end": 295,
"score": 0.5896362662315369,
"start": 288,
"tag": "USERNAME",
"value": "Account"
},
{
"context": "defaultAccount = ->\n profile :\n firs... | client/app/lib/components/profile/helper.coffee | ezgikaysi/koding | 1 | _ = require 'lodash'
proxifyUrl = require 'app/util/proxifyUrl'
regexps = require 'app/util/regexps'
defaultAccountOrigin = ->
globals = require 'globals'
return {
id : globals.userAccount._id
_id : globals.userAccount._id
constructorName : 'JAccount'
}
defaultAccount = ... | 150733 | _ = require 'lodash'
proxifyUrl = require 'app/util/proxifyUrl'
regexps = require 'app/util/regexps'
defaultAccountOrigin = ->
globals = require 'globals'
return {
id : globals.userAccount._id
_id : globals.userAccount._id
constructorName : 'JAccount'
}
defaultAccount = ... | true | _ = require 'lodash'
proxifyUrl = require 'app/util/proxifyUrl'
regexps = require 'app/util/regexps'
defaultAccountOrigin = ->
globals = require 'globals'
return {
id : globals.userAccount._id
_id : globals.userAccount._id
constructorName : 'JAccount'
}
defaultAccount = ... |
[
{
"context": "ile is in streamline syntax!\n# https://github.com/Sage/streamlinejs\n\n{expect} = require 'chai'\nflows = r",
"end": 62,
"score": 0.9951738119125366,
"start": 58,
"tag": "USERNAME",
"value": "Sage"
},
{
"context": " data we're going to use:\ndanielData =\n name: 'Da... | node_modules/neo4j/test/crud._coffee | aranoah/journey-planner | 484 | # this file is in streamline syntax!
# https://github.com/Sage/streamlinejs
{expect} = require 'chai'
flows = require 'streamline/lib/util/flows'
neo4j = require '..'
db = new neo4j.GraphDatabase 'http://localhost:7474'
# data we're going to use:
danielData =
name: 'Daniel'
aseemData =
name: 'Aseem'
matData ... | 98689 | # this file is in streamline syntax!
# https://github.com/Sage/streamlinejs
{expect} = require 'chai'
flows = require 'streamline/lib/util/flows'
neo4j = require '..'
db = new neo4j.GraphDatabase 'http://localhost:7474'
# data we're going to use:
danielData =
name: '<NAME>'
aseemData =
name: '<NAME>'
matData... | true | # this file is in streamline syntax!
# https://github.com/Sage/streamlinejs
{expect} = require 'chai'
flows = require 'streamline/lib/util/flows'
neo4j = require '..'
db = new neo4j.GraphDatabase 'http://localhost:7474'
# data we're going to use:
danielData =
name: 'PI:NAME:<NAME>END_PI'
aseemData =
name: 'P... |
[
{
"context": "jector](http://neocotic.com/injector)\n#\n# (c) 2014 Alasdair Mercer\n#\n# Freely distributable under the MIT license\n\n#",
"end": 71,
"score": 0.9998696446418762,
"start": 56,
"tag": "NAME",
"value": "Alasdair Mercer"
}
] | src/coffee/options.coffee | SlinkySalmon633/injector-chrome | 33 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 Alasdair Mercer
#
# Freely distributable under the MIT license
# Extract any models and collections that are required by the options page.
{Snippet} = models
# Feedback
# --------
# Indicate whether the user feedback feature has been added to the page.
feedback... | 122776 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 <NAME>
#
# Freely distributable under the MIT license
# Extract any models and collections that are required by the options page.
{Snippet} = models
# Feedback
# --------
# Indicate whether the user feedback feature has been added to the page.
feedbackAdded = n... | true | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 PI:NAME:<NAME>END_PI
#
# Freely distributable under the MIT license
# Extract any models and collections that are required by the options page.
{Snippet} = models
# Feedback
# --------
# Indicate whether the user feedback feature has been added to the page.
fee... |
[
{
"context": " \"username\": $el.find(\"form.login-form input[name=username]\").val(),\n \"password\": $el.find(\"f",
"end": 11854,
"score": 0.5603985786437988,
"start": 11846,
"tag": "USERNAME",
"value": "username"
},
{
"context": "username: data.username,\n ... | app/coffee/modules/auth.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | 211187 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... |
[
{
"context": "it '#save', (done) ->\n ctrlUser.createNewUser 'testUser', 'testPass', 'testEmail', (err, user)->\n ex",
"end": 337,
"score": 0.9993525743484497,
"start": 329,
"tag": "USERNAME",
"value": "testUser"
},
{
"context": " expect testUser.password\n .to.not.... | test/controllers/ctrlUserTest.coffee | zodoz/EC2Manager | 0 | sinon = require 'sinon'
chai = require 'chai'
expect = chai.expect
mongoose = require 'mongoose'
mockgoose = require 'mockgoose'
ctrlUser = require '../../src/controllers/ctrlUser.coffee'
mockgoose mongoose
mongoose.connect 'mongodb://localhost/test'
describe 'CtrlUser', ->
it '#save', (done) ->
ctrlUser.create... | 33571 | sinon = require 'sinon'
chai = require 'chai'
expect = chai.expect
mongoose = require 'mongoose'
mockgoose = require 'mockgoose'
ctrlUser = require '../../src/controllers/ctrlUser.coffee'
mockgoose mongoose
mongoose.connect 'mongodb://localhost/test'
describe 'CtrlUser', ->
it '#save', (done) ->
ctrlUser.create... | true | sinon = require 'sinon'
chai = require 'chai'
expect = chai.expect
mongoose = require 'mongoose'
mockgoose = require 'mockgoose'
ctrlUser = require '../../src/controllers/ctrlUser.coffee'
mockgoose mongoose
mongoose.connect 'mongodb://localhost/test'
describe 'CtrlUser', ->
it '#save', (done) ->
ctrlUser.create... |
[
{
"context": "g-a-grammar/\n\nscopeName: 'source.lavender'\nname: 'Lavender'\nfileTypes: [\n 'lv'\n]\nfoldingStartMarker: '\\\\(",
"end": 191,
"score": 0.6596484184265137,
"start": 183,
"tag": "NAME",
"value": "Lavender"
}
] | grammars/lavender.cson | kvverti/language-lavender | 0 | # If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
scopeName: 'source.lavender'
name: 'Lavender'
fileTypes: [
'lv'
]
foldingStartMarker: '\\(|\\[|\\{'
foldingStopMarker: '\\)|\\]|\\}'
patterns: [
{ include: '#shebang... | 56178 | # If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
scopeName: 'source.lavender'
name: '<NAME>'
fileTypes: [
'lv'
]
foldingStartMarker: '\\(|\\[|\\{'
foldingStopMarker: '\\)|\\]|\\}'
patterns: [
{ include: '#shebang' ... | true | # If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
scopeName: 'source.lavender'
name: 'PI:NAME:<NAME>END_PI'
fileTypes: [
'lv'
]
foldingStartMarker: '\\(|\\[|\\{'
foldingStopMarker: '\\)|\\]|\\}'
patterns: [
{ includ... |
[
{
"context": "work.Socket.emit 'ReconnectLogin', {\"username\" : \"per\", \"password\": \"per\"}\n console.log \"Reconnect",
"end": 6164,
"score": 0.9884327054023743,
"start": 6161,
"tag": "USERNAME",
"value": "per"
},
{
"context": "econnectLogin', {\"username\" : \"per\", \"pas... | GOTHAM/Game/src/main.coffee | perara/gotham | 0 | Gotham = require '../../GameFramework/src/Gotham.coffee'
GothamGame = require './GothamGame.coffee'
require './dependencies/jquery-ui.min'
window.moment = require './dependencies/moment.min'
setup =
started: false
preloadFonts: (_c)->
# Just return if user is IE:
userAgent = userAgent or navigator.user... | 137076 | Gotham = require '../../GameFramework/src/Gotham.coffee'
GothamGame = require './GothamGame.coffee'
require './dependencies/jquery-ui.min'
window.moment = require './dependencies/moment.min'
setup =
started: false
preloadFonts: (_c)->
# Just return if user is IE:
userAgent = userAgent or navigator.user... | true | Gotham = require '../../GameFramework/src/Gotham.coffee'
GothamGame = require './GothamGame.coffee'
require './dependencies/jquery-ui.min'
window.moment = require './dependencies/moment.min'
setup =
started: false
preloadFonts: (_c)->
# Just return if user is IE:
userAgent = userAgent or navigator.user... |
[
{
"context": "stream: 'pretty' }]\n kurento:\n url: 'ws://127.0.0.1:8888/kurento'\n options:\n # access_tok",
"end": 423,
"score": 0.9993833899497986,
"start": 414,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "/kurento'\n options:\n # acc... | lib/config.coffee | lugati-eu/altexo-signal-server | 1 | nconf = require 'nconf'
nconf.argv()
nconf.file(config) if (config = nconf.get('config'))
module.exports = ->
nconf.defaults {
host: '0.0.0.0'
port: 80
path: '/al_chat'
auth:
me: 'http://unix:/tmp/altexo-accounts.sock:/users/auth/me/'
sentry:
url: false
logger:
name: 'altex... | 179018 | nconf = require 'nconf'
nconf.argv()
nconf.file(config) if (config = nconf.get('config'))
module.exports = ->
nconf.defaults {
host: '0.0.0.0'
port: 80
path: '/al_chat'
auth:
me: 'http://unix:/tmp/altexo-accounts.sock:/users/auth/me/'
sentry:
url: false
logger:
name: 'altex... | true | nconf = require 'nconf'
nconf.argv()
nconf.file(config) if (config = nconf.get('config'))
module.exports = ->
nconf.defaults {
host: '0.0.0.0'
port: 80
path: '/al_chat'
auth:
me: 'http://unix:/tmp/altexo-accounts.sock:/users/auth/me/'
sentry:
url: false
logger:
name: 'altex... |
[
{
"context": "tel', type: 'text',\n placeholder: 'hoge@example.jp'\n @div =>\n @label 'パスワード'",
"end": 1035,
"score": 0.9999053478240967,
"start": 1020,
"tag": "EMAIL",
"value": "hoge@example.jp"
},
{
"context": ", type: 'password',\n ... | lib/niconico-view.coffee | raccy/niconico | 0 | {$, $$$, ScrollView} = require 'atom-space-pen-views'
NiconicoApi = require './niconico-api'
NicovideCommentView = require './Niconico-comment-view'
fs = require 'fs'
module.exports =
class NiconicoView extends ScrollView
@content: ->
@div {
class: 'niconico-view native-key-bindings block'
overflow: ... | 55655 | {$, $$$, ScrollView} = require 'atom-space-pen-views'
NiconicoApi = require './niconico-api'
NicovideCommentView = require './Niconico-comment-view'
fs = require 'fs'
module.exports =
class NiconicoView extends ScrollView
@content: ->
@div {
class: 'niconico-view native-key-bindings block'
overflow: ... | true | {$, $$$, ScrollView} = require 'atom-space-pen-views'
NiconicoApi = require './niconico-api'
NicovideCommentView = require './Niconico-comment-view'
fs = require 'fs'
module.exports =
class NiconicoView extends ScrollView
@content: ->
@div {
class: 'niconico-view native-key-bindings block'
overflow: ... |
[
{
"context": "er: ({uuid, token}, callback) =>\n memberToken = token\n memberUuid = uuid\n\n @_getRoomGroupStatusU",
"end": 674,
"score": 0.5467296242713928,
"start": 669,
"tag": "KEY",
"value": "token"
}
] | src/services/meshblu-authenticator-peter-party-service.coffee | octoblu/meshblu-authenticator-peter-party | 0 | Chance = require 'chance'
_ = require 'lodash'
MeshbluHttp = require 'meshblu-http'
RefResolver = require 'meshblu-json-schema-resolver'
{PeterCreator, PeterPartyToItselfSubscriber, PeterPartyToPeterSubscriber} = require 'peter-party-planner'
class MeshbluAuthenticatorPeterPartyService
constructor: ({... | 152086 | Chance = require 'chance'
_ = require 'lodash'
MeshbluHttp = require 'meshblu-http'
RefResolver = require 'meshblu-json-schema-resolver'
{PeterCreator, PeterPartyToItselfSubscriber, PeterPartyToPeterSubscriber} = require 'peter-party-planner'
class MeshbluAuthenticatorPeterPartyService
constructor: ({... | true | Chance = require 'chance'
_ = require 'lodash'
MeshbluHttp = require 'meshblu-http'
RefResolver = require 'meshblu-json-schema-resolver'
{PeterCreator, PeterPartyToItselfSubscriber, PeterPartyToPeterSubscriber} = require 'peter-party-planner'
class MeshbluAuthenticatorPeterPartyService
constructor: ({... |
[
{
"context": "ts\n store: \"#{tmp}/a_store\"\n password: 'mysecret'\n await store.init()\n store.init()\n .sho",
"end": 357,
"score": 0.9993584156036377,
"start": 349,
"tag": "PASSWORD",
"value": "mysecret"
},
{
"context": "ts\n store: \"#{tmp}/a_store\"\n ... | test/secrets/index.coffee | wdavidw/node-masson | 7 |
nikita = require 'nikita'
secrets = require '../../lib/secrets'
describe 'command configure', ->
tmp = '/tmp/masson-test/'
beforeEach ->
require('module')._cache = {}
nikita.fs.mkdir tmp
afterEach ->
nikita.fs.remove tmp, recursive: true
it 'init', ->
store = secrets
store: "#{tm... | 106872 |
nikita = require 'nikita'
secrets = require '../../lib/secrets'
describe 'command configure', ->
tmp = '/tmp/masson-test/'
beforeEach ->
require('module')._cache = {}
nikita.fs.mkdir tmp
afterEach ->
nikita.fs.remove tmp, recursive: true
it 'init', ->
store = secrets
store: "#{tm... | true |
nikita = require 'nikita'
secrets = require '../../lib/secrets'
describe 'command configure', ->
tmp = '/tmp/masson-test/'
beforeEach ->
require('module')._cache = {}
nikita.fs.mkdir tmp
afterEach ->
nikita.fs.remove tmp, recursive: true
it 'init', ->
store = secrets
store: "#{tm... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999130368232727,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/status-page/page.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 { Map } from './map'
import { Incident } from './incident'
import { Incidents } from './incidents'
import { Uptime } from './uptime'
impor... | 83801 | # 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 { Map } from './map'
import { Incident } from './incident'
import { Incidents } from './incidents'
import { Uptime } from './uptime'
import * as ... | 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 { Map } from './map'
import { Incident } from './incident'
import { Incidents } from './incidents'
import { Uptime } from './uptim... |
[
{
"context": "\\\\Local\\\\Google\\\\Chrome\\\\User\\ Data\\\\PepperFlash\\\\19.0.0.226\\\\manifest.json\"\n\n# console.log \"#{__dirname}/#{pa",
"end": 625,
"score": 0.9718058705329895,
"start": 615,
"tag": "IP_ADDRESS",
"value": "19.0.0.226"
}
] | lib/main.coffee | mulian/dashy-browser | 0 | #main.coffee
#Main JS from Electron-Browser
app = require 'app'
BrowserWindow = require 'browser-window'
fs = require 'fs'
{exec} = require 'child_process'
packageFile = require '../package.json'
{settings} = packageFile
# Report crashes to our server.
require('crash-reporter').start();
# Report crashes to our serv... | 6990 | #main.coffee
#Main JS from Electron-Browser
app = require 'app'
BrowserWindow = require 'browser-window'
fs = require 'fs'
{exec} = require 'child_process'
packageFile = require '../package.json'
{settings} = packageFile
# Report crashes to our server.
require('crash-reporter').start();
# Report crashes to our serv... | true | #main.coffee
#Main JS from Electron-Browser
app = require 'app'
BrowserWindow = require 'browser-window'
fs = require 'fs'
{exec} = require 'child_process'
packageFile = require '../package.json'
{settings} = packageFile
# Report crashes to our server.
require('crash-reporter').start();
# Report crashes to our serv... |
[
{
"context": "'11111111-1')\n expect(user.password).to.eql('password')\n expect(work.value).to.eql(55556)\n re",
"end": 282,
"score": 0.9995297789573669,
"start": 274,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "y(\"user\", \"hubot sii boleta 11.111.111-1 p... | test/test.coffee | lgaticaq/hubot-sii | 1 | Helper = require("hubot-test-helper")
expect = require("chai").expect
proxyquire = require("proxyquire")
siiStub =
byLastInvoice: (user, work) ->
return new Promise (resolve, reject) ->
expect(user.rut).to.equal('11111111-1')
expect(user.password).to.eql('password')
expect(work.value).to.eql(555... | 147223 | Helper = require("hubot-test-helper")
expect = require("chai").expect
proxyquire = require("proxyquire")
siiStub =
byLastInvoice: (user, work) ->
return new Promise (resolve, reject) ->
expect(user.rut).to.equal('11111111-1')
expect(user.password).to.eql('<PASSWORD>')
expect(work.value).to.eql(5... | true | Helper = require("hubot-test-helper")
expect = require("chai").expect
proxyquire = require("proxyquire")
siiStub =
byLastInvoice: (user, work) ->
return new Promise (resolve, reject) ->
expect(user.rut).to.equal('11111111-1')
expect(user.password).to.eql('PI:PASSWORD:<PASSWORD>END_PI')
expect(wo... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998367428779602,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/util/signal.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 181569 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.