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": " \"8fea081c\"\n actor: { displayName: \"Assaf\" }\n verb: \"posted\"\n published: new ",
"end": 531,
"score": 0.9479221105575562,
"start": 526,
"tag": "NAME",
"value": "Assaf"
},
{
"context": " assert.equal activity.actor.displayName, ... | server/test/api_activity.coffee | assaf/vanity.js | 2 | Helper = require("./helper") # must be at top
assert = require("assert")
Async = require("async")
{ EventEmitter } = require("events")
request = require("request")
Activity = require("../models/activity")
EventSource = require("./event_source")
describe "API... | 37620 | Helper = require("./helper") # must be at top
assert = require("assert")
Async = require("async")
{ EventEmitter } = require("events")
request = require("request")
Activity = require("../models/activity")
EventSource = require("./event_source")
describe "API... | true | Helper = require("./helper") # must be at top
assert = require("assert")
Async = require("async")
{ EventEmitter } = require("events")
request = require("request")
Activity = require("../models/activity")
EventSource = require("./event_source")
describe "API... |
[
{
"context": "Neznámý blok'\n\tformat:\n\t\tbold: \"Tučně\"\n\t\titalic: \"Kurzíva\"\n\t\tlink: \"Odkaz\"\n\t\tlinkPlaceholder: \"Zadejte nebo",
"end": 152,
"score": 0.8290058970451355,
"start": 145,
"tag": "NAME",
"value": "Kurzíva"
}
] | locales/cs.coffee | Teyras/goated | 0 | G = window.Goated ?= {}
G.locale ?= {}
G.locale.cs =
addBlock: 'Přidat blok'
unknownBlock: 'Neznámý blok'
format:
bold: "Tučně"
italic: "Kurzíva"
link: "Odkaz"
linkPlaceholder: "Zadejte nebo vložte adresu..."
blocks:
'goated-text':
title: 'Text'
placeholder: 'Text'
'goated-heading':
title: 'Na... | 96478 | G = window.Goated ?= {}
G.locale ?= {}
G.locale.cs =
addBlock: 'Přidat blok'
unknownBlock: 'Neznámý blok'
format:
bold: "Tučně"
italic: "<NAME>"
link: "Odkaz"
linkPlaceholder: "Zadejte nebo vložte adresu..."
blocks:
'goated-text':
title: 'Text'
placeholder: 'Text'
'goated-heading':
title: 'Nad... | true | G = window.Goated ?= {}
G.locale ?= {}
G.locale.cs =
addBlock: 'Přidat blok'
unknownBlock: 'Neznámý blok'
format:
bold: "Tučně"
italic: "PI:NAME:<NAME>END_PI"
link: "Odkaz"
linkPlaceholder: "Zadejte nebo vložte adresu..."
blocks:
'goated-text':
title: 'Text'
placeholder: 'Text'
'goated-heading':
... |
[
{
"context": "'log').clear()\n\n sponsor: (->\n {\n name: \"Blue Box\"\n url: \"http://bluebox.net\"\n }\n ).proper",
"end": 1973,
"score": 0.9964684247970581,
"start": 1965,
"tag": "NAME",
"value": "Blue Box"
}
] | app/models/job.coffee | 2947721120/travis-web | 0 | `import { durationFrom, configKeys, compact } from 'travis/utils/helpers'`
`import configKeysMap from 'travis/utils/keys-map'`
`import Ember from 'ember'`
`import Model from 'travis/models/model'`
`import Log from 'travis/models/log'`
`import DurationCalculations from 'travis/utils/duration-calculations'`
Job = Model.... | 104840 | `import { durationFrom, configKeys, compact } from 'travis/utils/helpers'`
`import configKeysMap from 'travis/utils/keys-map'`
`import Ember from 'ember'`
`import Model from 'travis/models/model'`
`import Log from 'travis/models/log'`
`import DurationCalculations from 'travis/utils/duration-calculations'`
Job = Model.... | true | `import { durationFrom, configKeys, compact } from 'travis/utils/helpers'`
`import configKeysMap from 'travis/utils/keys-map'`
`import Ember from 'ember'`
`import Model from 'travis/models/model'`
`import Log from 'travis/models/log'`
`import DurationCalculations from 'travis/utils/duration-calculations'`
Job = Model.... |
[
{
"context": "ter (c) -> c.confirmed\n post = new Post(name: \"test\")\n post.confirmedComments\n post.comments = ",
"end": 2918,
"score": 0.883811891078949,
"start": 2914,
"tag": "NAME",
"value": "test"
},
{
"context": "body: 'Hello', confirmed: true }, { id: 8, body: 'Monk... | test/model/has_many.spec.coffee | jnicklas/serenade.js | 1 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Serenade.Model.hasMany', ->
it 'allows objects to be added and retrieved', ->
class Comment extends Serenade.Model
@attribute 'body'
class Post extends Serenade.Model
@hasMany 'comments', as: -> Comment
comment1 = n... | 218033 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Serenade.Model.hasMany', ->
it 'allows objects to be added and retrieved', ->
class Comment extends Serenade.Model
@attribute 'body'
class Post extends Serenade.Model
@hasMany 'comments', as: -> Comment
comment1 = n... | true | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Serenade.Model.hasMany', ->
it 'allows objects to be added and retrieved', ->
class Comment extends Serenade.Model
@attribute 'body'
class Post extends Serenade.Model
@hasMany 'comments', as: -> Comment
comment1 = n... |
[
{
"context": "ount.should.be.equal 1\n\n coll.find({name: 'loki'}).count (err, count) ->\n return done(er",
"end": 3212,
"score": 0.5362040996551514,
"start": 3208,
"tag": "NAME",
"value": "loki"
}
] | test/runner.coffee | clark-zhao-hs/mongodb-migrations | 0 | path = require 'path'
{ MigrationsRunner } = require '../src/migrations-runner'
testsCommon = require './common'
describe 'MigrationsRunner', ->
dbConfig = null
coll = null
beforeEach (done) ->
testsCommon.beforeEach (res) ->
{db, config} = res
dbConfig = config
coll = db.collection 'test... | 224218 | path = require 'path'
{ MigrationsRunner } = require '../src/migrations-runner'
testsCommon = require './common'
describe 'MigrationsRunner', ->
dbConfig = null
coll = null
beforeEach (done) ->
testsCommon.beforeEach (res) ->
{db, config} = res
dbConfig = config
coll = db.collection 'test... | true | path = require 'path'
{ MigrationsRunner } = require '../src/migrations-runner'
testsCommon = require './common'
describe 'MigrationsRunner', ->
dbConfig = null
coll = null
beforeEach (done) ->
testsCommon.beforeEach (res) ->
{db, config} = res
dbConfig = config
coll = db.collection 'test... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nVelocity = require 'veloci",
"end": 35,
"score": 0.9996825456619263,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/editor/animations/insert-animation.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
Velocity = require 'velocity-animate'
module.exports =
class InsertAnimation
@id = 'InsertAnimation'
constructor: (id, item, itemRenderer) ->
@itemRenderer = itemRenderer
@_id = id
@_item = item
@_insertLI = null
@_targetHeight = 0
... | 138169 | # Copyright (c) 2015 <NAME>. All rights reserved.
Velocity = require 'velocity-animate'
module.exports =
class InsertAnimation
@id = 'InsertAnimation'
constructor: (id, item, itemRenderer) ->
@itemRenderer = itemRenderer
@_id = id
@_item = item
@_insertLI = null
@_targetHeight = 0
fastFor... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
Velocity = require 'velocity-animate'
module.exports =
class InsertAnimation
@id = 'InsertAnimation'
constructor: (id, item, itemRenderer) ->
@itemRenderer = itemRenderer
@_id = id
@_item = item
@_insertLI = null
@_targetHeight ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999120831489563,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/_components/bbcode-editor.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 * as React from 'react'
import { button, div, em, form, i, label, option, select, span, strong, textarea } from 'react-dom-factories'
el =... | 53120 | # 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 * as React from 'react'
import { button, div, em, form, i, label, option, select, span, strong, textarea } from 'react-dom-factories'
el = React.... | 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 * as React from 'react'
import { button, div, em, form, i, label, option, select, span, strong, textarea } from 'react-dom-factori... |
[
{
"context": "ou have any questions, please feel free to contact Helaine Blumenthal (helaine@wikiedu.org). We look forward to working",
"end": 815,
"score": 0.9998928308486938,
"start": 797,
"tag": "NAME",
"value": "Helaine Blumenthal"
},
{
"context": ", please feel free to contact H... | source/javascripts/data/LoginContent.coffee | WikiEducationFoundation/WikiEduWizard | 1 | LoginContent =
id: "intro"
title: '<center>Welcome to the<br />Assignment Design Wizard!</center>'
login_instructions: 'Click Login with Wikipedia to get started'
instructions: ''
inputs: []
sections: [
{
content: [
"<p class='large'>Thank you for visiting the Assignment Design Wizard. Wi... | 124646 | LoginContent =
id: "intro"
title: '<center>Welcome to the<br />Assignment Design Wizard!</center>'
login_instructions: 'Click Login with Wikipedia to get started'
instructions: ''
inputs: []
sections: [
{
content: [
"<p class='large'>Thank you for visiting the Assignment Design Wizard. Wi... | true | LoginContent =
id: "intro"
title: '<center>Welcome to the<br />Assignment Design Wizard!</center>'
login_instructions: 'Click Login with Wikipedia to get started'
instructions: ''
inputs: []
sections: [
{
content: [
"<p class='large'>Thank you for visiting the Assignment Design Wizard. Wi... |
[
{
"context": "pt]\n# burger - find burger place\n#\n# Author:\n# robertocarroll\n\nburger_places = [\n {\n \"nam",
"end": 184,
"score": 0.8465903997421265,
"start": 182,
"tag": "NAME",
"value": "ro"
},
{
"context": "\n# burger - find burger place\n#\n# Author:\n# ro... | scripts/burger.coffee | robertocarroll/chatui | 0 | # Description:
# Find burger place
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Command: [not included in help script]
# burger - find burger place
#
# Author:
# robertocarroll
burger_places = [
{
"name": "Almost Famous",
"cost": "7.5",
"rating": "4",
"minutes": ... | 63199 | # Description:
# Find burger place
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Command: [not included in help script]
# burger - find burger place
#
# Author:
# <NAME>bertocar<NAME>
burger_places = [
{
"name": "<NAME>",
"cost": "7.5",
"rating": "4",
"minutes": "... | true | # Description:
# Find burger place
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Command: [not included in help script]
# burger - find burger place
#
# Author:
# PI:NAME:<NAME>END_PIbertocarPI:NAME:<NAME>END_PI
burger_places = [
{
"name": "PI:NAME:<NAME>END_PI",
"cost": "7.5",
... |
[
{
"context": "ool, i in @props.task.tools\n# tool._key ?= Math.random()\n# toolMarks = (mark for mark in @props.",
"end": 2097,
"score": 0.9635794758796692,
"start": 2086,
"tag": "KEY",
"value": "Math.random"
},
{
"context": "ark, i in toolMarks\n# mar... | app/assets/javascripts/components/core-tools/pick-many.cjsx | ogugugugugua/PRED-Crowdsourcing-2020 | 88 | React = require 'react'
GenericTask = require './generic'
# Markdown = require '../../components/markdown'
NOOP = Function.prototype
icons =
point: <svg viewBox="0 0 100 100">
<circle className="shape" r="30" cx="50" cy="50" />
<line className="shape" x1="50" y1="5" x2="50" y2="40" />
<line className="s... | 128812 | React = require 'react'
GenericTask = require './generic'
# Markdown = require '../../components/markdown'
NOOP = Function.prototype
icons =
point: <svg viewBox="0 0 100 100">
<circle className="shape" r="30" cx="50" cy="50" />
<line className="shape" x1="50" y1="5" x2="50" y2="40" />
<line className="s... | true | React = require 'react'
GenericTask = require './generic'
# Markdown = require '../../components/markdown'
NOOP = Function.prototype
icons =
point: <svg viewBox="0 0 100 100">
<circle className="shape" r="30" cx="50" cy="50" />
<line className="shape" x1="50" y1="5" x2="50" y2="40" />
<line className="s... |
[
{
"context": "peed: -> 100\n glassJoe = \n name: \"Joe\"\n getSpeed: -> 25\n speed.add litt",
"end": 2073,
"score": 0.9994896650314331,
"start": 2070,
"tag": "NAME",
"value": "Joe"
}
] | _old/node/test/scheduler/schedulerSpeedTest.coffee | lagdotcom/rot.js | 1,653 | # schedulerSpeedTest.coffee
#----------------------------------------------------------------------------
_ = require "underscore"
should = require "should"
ROT = require "../../lib/rot"
NO_REPEAT = false
YES_REPEAT = true
describe "scheduler", ->
it "should export ROT.Scheduler.Speed", ->
ROT.should.have.prop... | 181534 | # schedulerSpeedTest.coffee
#----------------------------------------------------------------------------
_ = require "underscore"
should = require "should"
ROT = require "../../lib/rot"
NO_REPEAT = false
YES_REPEAT = true
describe "scheduler", ->
it "should export ROT.Scheduler.Speed", ->
ROT.should.have.prop... | true | # schedulerSpeedTest.coffee
#----------------------------------------------------------------------------
_ = require "underscore"
should = require "should"
ROT = require "../../lib/rot"
NO_REPEAT = false
YES_REPEAT = true
describe "scheduler", ->
it "should export ROT.Scheduler.Speed", ->
ROT.should.have.prop... |
[
{
"context": "\"\n description: \"description\"\n author: \"me <em@i.l> (http://url)\"\n scripts:\n tes",
"end": 328,
"score": 0.7809420228004456,
"start": 326,
"tag": "USERNAME",
"value": "me"
},
{
"context": " description: \"description\"\n author: \"m... | deps/npm/node_modules/init-package-json/test/basic.coffee | lxe/io.coffee | 0 | tap = require("tap")
init = require("../")
rimraf = require("rimraf")
tap.test "the basics", (t) ->
i = __dirname + "/basic.input"
dir = __dirname
init dir, i,
foo: "bar"
, (er, data) ->
throw er if er
expect =
name: "the-name"
version: "1.2.5"
description: "description"
aut... | 73629 | tap = require("tap")
init = require("../")
rimraf = require("rimraf")
tap.test "the basics", (t) ->
i = __dirname + "/basic.input"
dir = __dirname
init dir, i,
foo: "bar"
, (er, data) ->
throw er if er
expect =
name: "the-name"
version: "1.2.5"
description: "description"
aut... | true | tap = require("tap")
init = require("../")
rimraf = require("rimraf")
tap.test "the basics", (t) ->
i = __dirname + "/basic.input"
dir = __dirname
init dir, i,
foo: "bar"
, (er, data) ->
throw er if er
expect =
name: "the-name"
version: "1.2.5"
description: "description"
aut... |
[
{
"context": " next(null, null) if not user?\n\t\t\t\tuser.password = req.body.newPassword\n\t\t\t\tuser.save cb\n\t\t], (err, user) ->\n\t\t\treturn ne",
"end": 502,
"score": 0.99615478515625,
"start": 482,
"tag": "PASSWORD",
"value": "req.body.newPassword"
}
] | backend/app/controllers/user.coffee | bafcar/bafcar | 0 | # User controller
async = require 'async'
User = require '../models/user'
module.exports =
create: (req, res, next) ->
user = User.create req.body, (err, user) ->
return next(err) if err?
res.status(201).json user
current: (req, res) -> res.json req.user
updatePassword: (req, res, next) ->
async.water... | 64927 | # User controller
async = require 'async'
User = require '../models/user'
module.exports =
create: (req, res, next) ->
user = User.create req.body, (err, user) ->
return next(err) if err?
res.status(201).json user
current: (req, res) -> res.json req.user
updatePassword: (req, res, next) ->
async.water... | true | # User controller
async = require 'async'
User = require '../models/user'
module.exports =
create: (req, res, next) ->
user = User.create req.body, (err, user) ->
return next(err) if err?
res.status(201).json user
current: (req, res) -> res.json req.user
updatePassword: (req, res, next) ->
async.water... |
[
{
"context": " * @var {String}\n ###\n COMPOSER_COMMIT: 'd0310b646229c3dc57b71bfea2f14ed6c560a5bd'\n\n ###*\n * @var {String}\n ###\n phpBi",
"end": 518,
"score": 0.9660202264785767,
"start": 478,
"tag": "PASSWORD",
"value": "d0310b646229c3dc57b71bfea2f14ed6c560a5bd"
... | lib/ComposerService.coffee | php-integrator/atom-base-legacy-php56 | 0 | fs = require 'fs'
path = require 'path'
download = require 'download'
child_process = require 'child_process'
module.exports =
##*
# Handles usage of Composer (PHP package manager).
##
class ComposerService
###*
* The commit to download from the Composer repository.
*
* Currently set to version 1.2... | 192135 | fs = require 'fs'
path = require 'path'
download = require 'download'
child_process = require 'child_process'
module.exports =
##*
# Handles usage of Composer (PHP package manager).
##
class ComposerService
###*
* The commit to download from the Composer repository.
*
* Currently set to version 1.2... | true | fs = require 'fs'
path = require 'path'
download = require 'download'
child_process = require 'child_process'
module.exports =
##*
# Handles usage of Composer (PHP package manager).
##
class ComposerService
###*
* The commit to download from the Composer repository.
*
* Currently set to version 1.2... |
[
{
"context": "pe = null\n $state = null\n url = null\n email = 'test@guc.edu.eg'\n beforeEach inject (_$controller_, _$httpBacken",
"end": 188,
"score": 0.9999313354492188,
"start": 173,
"tag": "EMAIL",
"value": "test@guc.edu.eg"
}
] | spec/controllers/send_verify_spec.coffee | ah450/guclink-auth-www | 0 | describe 'SendVerifyController', ->
beforeEach module 'guclinkAuth'
$controller = null
$httpBackend = null
$rootScope = null
$state = null
url = null
email = 'test@guc.edu.eg'
beforeEach inject (_$controller_, _$httpBackend_, _$rootScope_, _$state_) ->
$controller = _$controller_
$httpBackend = ... | 32220 | describe 'SendVerifyController', ->
beforeEach module 'guclinkAuth'
$controller = null
$httpBackend = null
$rootScope = null
$state = null
url = null
email = '<EMAIL>'
beforeEach inject (_$controller_, _$httpBackend_, _$rootScope_, _$state_) ->
$controller = _$controller_
$httpBackend = _$httpBa... | true | describe 'SendVerifyController', ->
beforeEach module 'guclinkAuth'
$controller = null
$httpBackend = null
$rootScope = null
$state = null
url = null
email = 'PI:EMAIL:<EMAIL>END_PI'
beforeEach inject (_$controller_, _$httpBackend_, _$rootScope_, _$state_) ->
$controller = _$controller_
$httpBac... |
[
{
"context": "###\n# test/karma.conf.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Configure karm",
"end": 51,
"score": 0.9994246363639832,
"start": 40,
"tag": "NAME",
"value": "Dan Nichols"
}
] | test/karma.conf.coffee | dlnichols/h_media | 0 | ###
# test/karma.conf.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Configure karma
###
'use strict'
module.exports = (config) ->
config.set
basePath: '..'
frameworks: [ 'mocha', 'chai', 'sinon' ]
files: [
'lib/**/*.coffee'
'test/**/*.coffee'
]
exclude: []
prepr... | 116566 | ###
# test/karma.conf.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Configure karma
###
'use strict'
module.exports = (config) ->
config.set
basePath: '..'
frameworks: [ 'mocha', 'chai', 'sinon' ]
files: [
'lib/**/*.coffee'
'test/**/*.coffee'
]
exclude: []
preprocess... | true | ###
# test/karma.conf.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Configure karma
###
'use strict'
module.exports = (config) ->
config.set
basePath: '..'
frameworks: [ 'mocha', 'chai', 'sinon' ]
files: [
'lib/**/*.coffee'
'test/**/*.coffee'
]
exclude: []
... |
[
{
"context": "ckage_json.version}\"\n contactEmail: 'npmjs@commercetools.com'\n httpConfig:\n host: prog",
"end": 7527,
"score": 0.9999301433563232,
"start": 7504,
"tag": "EMAIL",
"value": "npmjs@commercetools.com"
},
{
"context": "ckage_json.vers... | src/coffee/run.coffee | daern91/sphere-node-product-csv-sync | 0 | _ = require 'underscore'
program = require 'commander'
prompt = require 'prompt'
Csv = require 'csv'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
{ProjectCredentialsConfig} = require 'sphere-node-utils'
Importer = require './import'
Exporter = require './export'
CONS = require './constants'
GLOB... | 185515 | _ = require 'underscore'
program = require 'commander'
prompt = require 'prompt'
Csv = require 'csv'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
{ProjectCredentialsConfig} = require 'sphere-node-utils'
Importer = require './import'
Exporter = require './export'
CONS = require './constants'
GLOB... | true | _ = require 'underscore'
program = require 'commander'
prompt = require 'prompt'
Csv = require 'csv'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
{ProjectCredentialsConfig} = require 'sphere-node-utils'
Importer = require './import'
Exporter = require './export'
CONS = require './constants'
GLOB... |
[
{
"context": "th: '12'\n exp_year: '2020'\n email: 'foo@koding.com'\n\n createTokenAction = stripe.createToken co",
"end": 2193,
"score": 0.9999140501022339,
"start": 2179,
"tag": "EMAIL",
"value": "foo@koding.com"
}
] | client/app/lib/redux/modules/stripe.test.coffee | lionheart1022/koding | 0 | expect = require 'expect'
configureStore = require 'redux-mock-store'
fixtures = require 'app/redux/services/fixtures/stripe'
{ reducer } = stripe = require './stripe'
describe 'redux/modules/stripe#reducer', ->
it 'should return the initial state', ->
expect(reducer undefined, {}).toEqual
errors: null
... | 101452 | expect = require 'expect'
configureStore = require 'redux-mock-store'
fixtures = require 'app/redux/services/fixtures/stripe'
{ reducer } = stripe = require './stripe'
describe 'redux/modules/stripe#reducer', ->
it 'should return the initial state', ->
expect(reducer undefined, {}).toEqual
errors: null
... | true | expect = require 'expect'
configureStore = require 'redux-mock-store'
fixtures = require 'app/redux/services/fixtures/stripe'
{ reducer } = stripe = require './stripe'
describe 'redux/modules/stripe#reducer', ->
it 'should return the initial state', ->
expect(reducer undefined, {}).toEqual
errors: null
... |
[
{
"context": "cription: \"\"\n keywords: \"\"\n author: \"Lance Pollard\"\n year: \"2012\"\n copyright: \"© u",
"end": 118,
"score": 0.9998700618743896,
"start": 105,
"tag": "NAME",
"value": "Lance Pollard"
},
{
"context": ": \"2012\"\n copyrig... | test/example/app/config/shared/locales/en.coffee | jivagoalves/tower | 1 | module.exports =
title: "Test Tower App"
description: ""
keywords: ""
author: "Lance Pollard"
year: "2012"
copyright: "© undefined Lance Pollard. All rights reserved."
robots: "noodp,noydir,index,follow"
github: "viatropos"
email: "lancejpollard@gma... | 67797 | module.exports =
title: "Test Tower App"
description: ""
keywords: ""
author: "<NAME>"
year: "2012"
copyright: "© undefined <NAME>. All rights reserved."
robots: "noodp,noydir,index,follow"
github: "viatropos"
email: "<EMAIL>"
titles:
index... | true | module.exports =
title: "Test Tower App"
description: ""
keywords: ""
author: "PI:NAME:<NAME>END_PI"
year: "2012"
copyright: "© undefined PI:NAME:<NAME>END_PI. All rights reserved."
robots: "noodp,noydir,index,follow"
github: "viatropos"
email: "PI:... |
[
{
"context": "sed under the MIT License\nDate: 11-08-2015\nAuthor: Julio Cesar Fausto\nSource: https://github.com/jcfausto/jcfausto-com-",
"end": 104,
"score": 0.999872088432312,
"start": 86,
"tag": "NAME",
"value": "Julio Cesar Fausto"
},
{
"context": "or: Julio Cesar Fausto\nSource... | app/assets/javascripts/components/skill_item.js.jsx.coffee | jcfausto/jcfausto-rails-website | 1 | ###
SkillItem React Component
Released under the MIT License
Date: 11-08-2015
Author: Julio Cesar Fausto
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@SkillItem = React.createClass
getInitialState: ->
title: this.props.title
description: this.props.description
order: this.props.order
ren... | 1680 | ###
SkillItem React Component
Released under the MIT License
Date: 11-08-2015
Author: <NAME>
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@SkillItem = React.createClass
getInitialState: ->
title: this.props.title
description: this.props.description
order: this.props.order
render: ->
`... | true | ###
SkillItem React Component
Released under the MIT License
Date: 11-08-2015
Author: PI:NAME:<NAME>END_PI
Source: https://github.com/jcfausto/jcfausto-com-rails
###
@SkillItem = React.createClass
getInitialState: ->
title: this.props.title
description: this.props.description
order: this.props.order
r... |
[
{
"context": "'\n\n\n# cheap user list\nusers =\n\troot:\n\t\tusername: 'root'\n\t\tpassword: 'password'\n\napp.post '/authenticate'",
"end": 1311,
"score": 0.9940837025642395,
"start": 1307,
"tag": "USERNAME",
"value": "root"
},
{
"context": "st\nusers =\n\troot:\n\t\tusername: 'roo... | server/app/application.coffee | shackspace/shack-hq | 1 | log4js = require 'log4js'
logger = log4js.getLogger 'shack-hq'
logger.setLevel if process.isTest then 'FATAL' else 'INFO'
path = require 'path'
fs = require 'fs'
clientPublic = path.normalize __dirname + '/../../client/public'
express = require 'express'
bodyParser = require 'body-parser'
cookieParser = require 'coo... | 88243 | log4js = require 'log4js'
logger = log4js.getLogger 'shack-hq'
logger.setLevel if process.isTest then 'FATAL' else 'INFO'
path = require 'path'
fs = require 'fs'
clientPublic = path.normalize __dirname + '/../../client/public'
express = require 'express'
bodyParser = require 'body-parser'
cookieParser = require 'coo... | true | log4js = require 'log4js'
logger = log4js.getLogger 'shack-hq'
logger.setLevel if process.isTest then 'FATAL' else 'INFO'
path = require 'path'
fs = require 'fs'
clientPublic = path.normalize __dirname + '/../../client/public'
express = require 'express'
bodyParser = require 'body-parser'
cookieParser = require 'coo... |
[
{
"context": " this.options = extend({}, options, {\n key: 'abcdeg'\n algorithm: 'sha1'\n encoding: 'hex'\n ",
"end": 162,
"score": 0.999427855014801,
"start": 156,
"tag": "KEY",
"value": "abcdeg"
}
] | index.coffee | pmoelgaard/nx-url-hash | 0 | extend = require('deep-extend')
crypto = require('crypto')
class URLHash
constructor: (options) ->
this.options = extend({}, options, {
key: 'abcdeg'
algorithm: 'sha1'
encoding: 'hex'
})
hash: (url) =>
options = this.options
hashProvider = crypto.createHmac(options.algorithm, ... | 10866 | extend = require('deep-extend')
crypto = require('crypto')
class URLHash
constructor: (options) ->
this.options = extend({}, options, {
key: '<KEY>'
algorithm: 'sha1'
encoding: 'hex'
})
hash: (url) =>
options = this.options
hashProvider = crypto.createHmac(options.algorithm, o... | true | extend = require('deep-extend')
crypto = require('crypto')
class URLHash
constructor: (options) ->
this.options = extend({}, options, {
key: 'PI:KEY:<KEY>END_PI'
algorithm: 'sha1'
encoding: 'hex'
})
hash: (url) =>
options = this.options
hashProvider = crypto.createHmac(options... |
[
{
"context": "rue\n auth:\n username: uuid\n password: token\n\n request.post options, (error, response, body) ",
"end": 3449,
"score": 0.9982953667640686,
"start": 3444,
"tag": "PASSWORD",
"value": "token"
}
] | migrate-to-devices.coffee | octoblu/nanocyte-flow-deploy-service | 0 | _ = require 'lodash'
async = require 'async'
mongojs = require 'mongojs'
Redis = require 'ioredis'
request = require 'request'
MeshbluHttp = require 'meshblu-http'
throw new Error("INTERVAL_REDIS_URI is required") unless process.env.INTERVAL_REDIS_URI?
client = new Redis process.env.REDIS_URI, dropBufferSupport: tr... | 91893 | _ = require 'lodash'
async = require 'async'
mongojs = require 'mongojs'
Redis = require 'ioredis'
request = require 'request'
MeshbluHttp = require 'meshblu-http'
throw new Error("INTERVAL_REDIS_URI is required") unless process.env.INTERVAL_REDIS_URI?
client = new Redis process.env.REDIS_URI, dropBufferSupport: tr... | true | _ = require 'lodash'
async = require 'async'
mongojs = require 'mongojs'
Redis = require 'ioredis'
request = require 'request'
MeshbluHttp = require 'meshblu-http'
throw new Error("INTERVAL_REDIS_URI is required") unless process.env.INTERVAL_REDIS_URI?
client = new Redis process.env.REDIS_URI, dropBufferSupport: tr... |
[
{
"context": "#\n# Copyright (c) 2012 Konstantin Bender.\n#\n# Permission is hereby granted, free of charge",
"end": 40,
"score": 0.9998767971992493,
"start": 23,
"tag": "NAME",
"value": "Konstantin Bender"
},
{
"context": "'@name'\n person[instance_variable_name] = \"Peter\"\... | tests/test-function.coffee | konstantinbe/milk | 0 | #
# Copyright (c) 2012 Konstantin Bender.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish... | 112878 | #
# Copyright (c) 2012 <NAME>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribut... | true | #
# Copyright (c) 2012 PI:NAME:<NAME>END_PI.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publ... |
[
{
"context": "ferWriter buf\n cleverBufferWriter.writeString 'HELLOWORLD',\n length:5\n offset: 5\n\n #Writes hel",
"end": 6510,
"score": 0.6201989650726318,
"start": 6500,
"tag": "NAME",
"value": "HELLOWORLD"
}
] | test/clever-buffer-writer.spec.coffee | vickvu/clever-buffer | 0 | should = require 'should'
CleverBufferWriter = require "#{SRC}/clever-buffer-writer"
{ writeToStupidBuffer,
writeToCleverBuffer } = require './support/test-helper'
describe 'CleverBuffer', ->
NUMBER_OF_ITERATIONS = 16
it 'should write Uint8', ->
numberOfBytesPerWord = 1
buf = w... | 215525 | should = require 'should'
CleverBufferWriter = require "#{SRC}/clever-buffer-writer"
{ writeToStupidBuffer,
writeToCleverBuffer } = require './support/test-helper'
describe 'CleverBuffer', ->
NUMBER_OF_ITERATIONS = 16
it 'should write Uint8', ->
numberOfBytesPerWord = 1
buf = w... | true | should = require 'should'
CleverBufferWriter = require "#{SRC}/clever-buffer-writer"
{ writeToStupidBuffer,
writeToCleverBuffer } = require './support/test-helper'
describe 'CleverBuffer', ->
NUMBER_OF_ITERATIONS = 16
it 'should write Uint8', ->
numberOfBytesPerWord = 1
buf = w... |
[
{
"context": "ion(req, res) {\",\n \"// res.send({ name: 'example' });\",\n \"// });\",\n \"\",\n \"if ",
"end": 3899,
"score": 0.5249502658843994,
"start": 3892,
"tag": "NAME",
"value": "example"
}
] | test/scaffolder.coffee | sundarsy/osprey-cli | 8 | Scaffolder = require '../src/scaffolder'
should = require 'should'
logger = require '../src/utils/logger'
ramlParser = require 'raml-parser'
path = require 'path'
describe 'TOOLKIT SCAFFOLDER', ->
describe 'SCAFFOLDER READ RAML RESOURCES', ->
describe 'SCAFFOLDER GENERATION', ->
it 'Should correctly generate ... | 171289 | Scaffolder = require '../src/scaffolder'
should = require 'should'
logger = require '../src/utils/logger'
ramlParser = require 'raml-parser'
path = require 'path'
describe 'TOOLKIT SCAFFOLDER', ->
describe 'SCAFFOLDER READ RAML RESOURCES', ->
describe 'SCAFFOLDER GENERATION', ->
it 'Should correctly generate ... | true | Scaffolder = require '../src/scaffolder'
should = require 'should'
logger = require '../src/utils/logger'
ramlParser = require 'raml-parser'
path = require 'path'
describe 'TOOLKIT SCAFFOLDER', ->
describe 'SCAFFOLDER READ RAML RESOURCES', ->
describe 'SCAFFOLDER GENERATION', ->
it 'Should correctly generate ... |
[
{
"context": "uildEndpoint(resource, data)\n username : 'x'\n password : @apiToken\n dataType ",
"end": 2062,
"score": 0.9058769345283508,
"start": 2061,
"tag": "USERNAME",
"value": "x"
},
{
"context": " data)\n username : 'x'\n password : @api... | app/assets/javascripts/utility_box/connection_manager.js.coffee | digitalopera/utility_box | 1 | #= require utility_box/utility_box_namespace
#= require utility_box/forms
# @class connectionManager
# A simple global interface for ajax calls and handlebars templates
#
# @method get
# resource [Handlebar Template]
# data [Object]
#
# @method post
# resource [Handlebar Template]
# data [Object]
#
# @method put
# res... | 5862 | #= require utility_box/utility_box_namespace
#= require utility_box/forms
# @class connectionManager
# A simple global interface for ajax calls and handlebars templates
#
# @method get
# resource [Handlebar Template]
# data [Object]
#
# @method post
# resource [Handlebar Template]
# data [Object]
#
# @method put
# res... | true | #= require utility_box/utility_box_namespace
#= require utility_box/forms
# @class connectionManager
# A simple global interface for ajax calls and handlebars templates
#
# @method get
# resource [Handlebar Template]
# data [Object]
#
# @method post
# resource [Handlebar Template]
# data [Object]
#
# @method put
# res... |
[
{
"context": "Algorithm API for JavaScript\n# https://github.com/kzokm/ga.js\n#\n# Copyright (c) 2014 OKAMURA, Kazuhide\n#\n",
"end": 69,
"score": 0.9996655583381653,
"start": 64,
"tag": "USERNAME",
"value": "kzokm"
},
{
"context": "ps://github.com/kzokm/ga.js\n#\n# Copyright (c) 201... | lib/selector.coffee | kzokm/ga.js | 4 | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 OKAMURA, Kazuhide
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
{randomInt} = require './utils'
class Selector
constructor: (@next)->
@roulette: (populati... | 75568 | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 <NAME>, <NAME>
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
{randomInt} = require './utils'
class Selector
constructor: (@next)->
@roulette: (population)... | true | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
{randomInt} = require './utils'
class Selector
constructor: (@next)-... |
[
{
"context": " courseModel(\n cno: i + ''\n cname: \"Thinkins in #{i}\"\n credit: 6\n teacher: 'Stev",
"end": 213,
"score": 0.8197946548461914,
"start": 205,
"tag": "NAME",
"value": "Thinkins"
},
{
"context": "kins in #{i}\"\n credit: 6\n tea... | test/courseTest.coffee | ycjcl868/StudentInfo | 0 | db = require('../config/database');
mongoose = require 'mongoose'
courseModel = mongoose.model('Course')
for i in [200002..200010]
courseEntity = new courseModel(
cno: i + ''
cname: "Thinkins in #{i}"
credit: 6
teacher: 'Steve Jobs'
)
courseEntity.save (err)->
if er... | 135932 | db = require('../config/database');
mongoose = require 'mongoose'
courseModel = mongoose.model('Course')
for i in [200002..200010]
courseEntity = new courseModel(
cno: i + ''
cname: "<NAME> in #{i}"
credit: 6
teacher: '<NAME>'
)
courseEntity.save (err)->
if err?
... | true | db = require('../config/database');
mongoose = require 'mongoose'
courseModel = mongoose.model('Course')
for i in [200002..200010]
courseEntity = new courseModel(
cno: i + ''
cname: "PI:NAME:<NAME>END_PI in #{i}"
credit: 6
teacher: 'PI:NAME:<NAME>END_PI'
)
courseEntity.save... |
[
{
"context": "# Copyright (c) 2012 Mattes Groeger\n#\n# Permission is hereby granted, free of charge,",
"end": 35,
"score": 0.9998874664306641,
"start": 21,
"tag": "NAME",
"value": "Mattes Groeger"
}
] | src/link_grabber.coffee | MattesGroeger/chrome-open-links | 14 | # Copyright (c) 2012 Mattes Groeger
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, dist... | 170504 | # Copyright (c) 2012 <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, ... | true | # Copyright (c) 2012 PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish... |
[
{
"context": "equest\n headers:\n Authorization: 'chuckDefinesHisOwnTokens'\n uri: \"#{app.get('url')}v1/DailyReportPin",
"end": 519,
"score": 0.6726542115211487,
"start": 495,
"tag": "KEY",
"value": "chuckDefinesHisOwnTokens"
},
{
"context": " json: tru... | api/test/models/daily-report-ping.test.coffee | MollardMichael/scrumble | 27 | expect = require('chai').expect
request = require 'request'
fixtures = require '../utils/fixtures'
app = require '../../src/server'
describe 'api/DailyReportPing endpoint', ->
server = null
before (done) ->
server = app.listen(done)
after (done) ->
server.close(done)
beforeEach ->
fixtures.lo... | 98038 | expect = require('chai').expect
request = require 'request'
fixtures = require '../utils/fixtures'
app = require '../../src/server'
describe 'api/DailyReportPing endpoint', ->
server = null
before (done) ->
server = app.listen(done)
after (done) ->
server.close(done)
beforeEach ->
fixtures.lo... | true | expect = require('chai').expect
request = require 'request'
fixtures = require '../utils/fixtures'
app = require '../../src/server'
describe 'api/DailyReportPing endpoint', ->
server = null
before (done) ->
server = app.listen(done)
after (done) ->
server.close(done)
beforeEach ->
fixtures.lo... |
[
{
"context": " key: '1.1', stop: true, ->\n @call key: '1.1.1', ({tools: {find}}) ->\n find ({config}",
"end": 1576,
"score": 0.7880939841270447,
"start": 1571,
"tag": "KEY",
"value": "1.1.1"
},
{
"context": "l key: null, stop: true, ->\n @call key: '1.1.... | packages/core/test/plugins/tools/find.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
{tags} = require '../../test'
nikita = require '../../../src'
describe 'plugins.tools.find', ->
return unless tags.api
describe 'action', ->
it 'start in current action', ->
nikita.call a_key: 'a value', ->
@tools.find (action) ->
action.config.a_key
.should.be.resolvedWith... | 71546 |
{tags} = require '../../test'
nikita = require '../../../src'
describe 'plugins.tools.find', ->
return unless tags.api
describe 'action', ->
it 'start in current action', ->
nikita.call a_key: 'a value', ->
@tools.find (action) ->
action.config.a_key
.should.be.resolvedWith... | true |
{tags} = require '../../test'
nikita = require '../../../src'
describe 'plugins.tools.find', ->
return unless tags.api
describe 'action', ->
it 'start in current action', ->
nikita.call a_key: 'a value', ->
@tools.find (action) ->
action.config.a_key
.should.be.resolvedWith... |
[
{
"context": "#################\n# Copyright (C) 2014-2017 by Vaughn Iverson\n# meteor-job-class is free software released ",
"end": 124,
"score": 0.9997482895851135,
"start": 110,
"tag": "NAME",
"value": "Vaughn Iverson"
},
{
"context": " on a saved job', () ->\n ... | test/index.coffee | vsivsi/meteor-job | 37 | ############################################################################
# Copyright (C) 2014-2017 by Vaughn Iverson
# meteor-job-class is free software released under the MIT/X11 license.
# See included LICENSE file for details.
##########################################################################... | 151449 | ############################################################################
# Copyright (C) 2014-2017 by <NAME>
# meteor-job-class is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
# Un... | true | ############################################################################
# Copyright (C) 2014-2017 by PI:NAME:<NAME>END_PI
# meteor-job-class is free software released under the MIT/X11 license.
# See included LICENSE file for details.
####################################################################... |
[
{
"context": " <minutes> for specified services\n#\n# Authors:\n# Jesse Newland, Josh Nicols, Jacob Bednarz, Chris Lundquist, Chr",
"end": 3173,
"score": 0.9998573064804077,
"start": 3160,
"tag": "NAME",
"value": "Jesse Newland"
},
{
"context": "specified services\n#\n# Authors:\n#... | src/scripts/pagerduty.coffee | silvrwolfboy/hubot-pager-me | 0 | # Description:
# Interact with PagerDuty services, schedules, and incidents with Hubot. Schedules with "hidden" in the name will be ignored.
#
# Commands:
# hubot pager me as <email> - remember your pager email is <email>
# hubot pager forget me - forget your pager email
# hubot Am I on call - return if I'm cu... | 96955 | # Description:
# Interact with PagerDuty services, schedules, and incidents with Hubot. Schedules with "hidden" in the name will be ignored.
#
# Commands:
# hubot pager me as <email> - remember your pager email is <email>
# hubot pager forget me - forget your pager email
# hubot Am I on call - return if I'm cu... | true | # Description:
# Interact with PagerDuty services, schedules, and incidents with Hubot. Schedules with "hidden" in the name will be ignored.
#
# Commands:
# hubot pager me as <email> - remember your pager email is <email>
# hubot pager forget me - forget your pager email
# hubot Am I on call - return if I'm cu... |
[
{
"context": "window.photos = [\n {key: 'adelson', width: 1078, height: 838},\n {key: '176', width",
"end": 34,
"score": 0.896380603313446,
"start": 27,
"tag": "KEY",
"value": "adelson"
},
{
"context": "y: 'adelson', width: 1078, height: 838},\n {key: '176', width: 2048, height: 1... | server/intrinsic/static/js/intrinsic/experiments/intrinsic_compare_tut.coffee | paulu/opensurfaces | 137 | window.photos = [
{key: 'adelson', width: 1078, height: 838},
{key: '176', width: 2048, height: 1360},
{key: '835', width: 2048, height: 1362},
{key: '103703', width: 2048, height: 1371},
{key: '98082', width: 2048, height: 1360},
{key: '66', width: 2048, height: 1356}
{key: '104550', width: 2048, height:... | 210583 | window.photos = [
{key: '<KEY>', width: 1078, height: 838},
{key: '<KEY>', width: 2048, height: 1360},
{key: '<KEY>', width: 2048, height: 1362},
{key: '<KEY>', width: 2048, height: 1371},
{key: '<KEY>', width: 2048, height: 1360},
{key: '<KEY>', width: 2048, height: 1356}
{key: '<KEY>', width: 2048, heig... | true | window.photos = [
{key: 'PI:KEY:<KEY>END_PI', width: 1078, height: 838},
{key: 'PI:KEY:<KEY>END_PI', width: 2048, height: 1360},
{key: 'PI:KEY:<KEY>END_PI', width: 2048, height: 1362},
{key: 'PI:KEY:<KEY>END_PI', width: 2048, height: 1371},
{key: 'PI:KEY:<KEY>END_PI', width: 2048, height: 1360},
{key: 'PI:K... |
[
{
"context": "0, 0, 1\n 1, 1, 0\n]\n\nkids =\n brother:\n name: \"Max\"\n age: 11\n sister:\n name: \"Ida\"\n age: ",
"end": 716,
"score": 0.9998762011528015,
"start": 713,
"tag": "NAME",
"value": "Max"
},
{
"context": " name: \"Max\"\n age: 11\n sister:\n ... | Application Support/BBEdit/Lint/test.coffee | bhdicaire/bbeditSetup | 0 | # Assignment:
number = 42
opposite = true
# Conditions:
number = -42 if opposite
# Functions:
square = (x) -> x * x
# Arrays:
list = [1, 2, 3, 4, 5]
# Objects:
math =
root: Math.sqrt
square: square
cube: (x) -> x * square x
# Splats:
race = (winner, runners...) ->
print winner, runners
# Existence:
... | 178040 | # Assignment:
number = 42
opposite = true
# Conditions:
number = -42 if opposite
# Functions:
square = (x) -> x * x
# Arrays:
list = [1, 2, 3, 4, 5]
# Objects:
math =
root: Math.sqrt
square: square
cube: (x) -> x * square x
# Splats:
race = (winner, runners...) ->
print winner, runners
# Existence:
... | true | # Assignment:
number = 42
opposite = true
# Conditions:
number = -42 if opposite
# Functions:
square = (x) -> x * x
# Arrays:
list = [1, 2, 3, 4, 5]
# Objects:
math =
root: Math.sqrt
square: square
cube: (x) -> x * square x
# Splats:
race = (winner, runners...) ->
print winner, runners
# Existence:
... |
[
{
"context": "cons/bitbucket@2x.png'\n\n @_fields.push\n key: 'webhookUrl'\n type: 'text'\n readonly: true\n descript",
"end": 4201,
"score": 0.9816253185272217,
"start": 4191,
"tag": "KEY",
"value": "webhookUrl"
}
] | src/services/bitbucket.coffee | jianliaoim/talk-services | 40 | util = require '../util'
_receiveWebhook = ({body, headers}) ->
try
[type, action] = headers['x-event-key'].split(":")
catch
throw new Error('Invalid event format')
throw new Error('Invalid event type') unless type in ['repo', 'issue', 'pullrequest']
message = {}
attachment = category: 'quote', data... | 46915 | util = require '../util'
_receiveWebhook = ({body, headers}) ->
try
[type, action] = headers['x-event-key'].split(":")
catch
throw new Error('Invalid event format')
throw new Error('Invalid event type') unless type in ['repo', 'issue', 'pullrequest']
message = {}
attachment = category: 'quote', data... | true | util = require '../util'
_receiveWebhook = ({body, headers}) ->
try
[type, action] = headers['x-event-key'].split(":")
catch
throw new Error('Invalid event format')
throw new Error('Invalid event type') unless type in ['repo', 'issue', 'pullrequest']
message = {}
attachment = category: 'quote', data... |
[
{
"context": " Plugin _.extend {}, @props,\n key: \"#{@props.category}-#{plugin.name}\"\n plugin:",
"end": 542,
"score": 0.6393367052078247,
"start": 539,
"tag": "KEY",
"value": "\"#{"
},
{
"context": "tend {}, @props,\n key: \"#{@props.category}-#{p... | src/components/category.coffee | brianshaler/kerplunk-plugin-manager | 0 | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
Plugin = require './plugin'
Panel = React.createFactory Bootstrap.Panel
module.exports = React.createFactory React.createClass
render: ->
permissions = @props.permissions ? {}
Panel
header: "#{@props.category} (#{@prop... | 41079 | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
Plugin = require './plugin'
Panel = React.createFactory Bootstrap.Panel
module.exports = React.createFactory React.createClass
render: ->
permissions = @props.permissions ? {}
Panel
header: "#{@props.category} (#{@prop... | true | _ = require 'lodash'
React = require 'react'
Bootstrap = require 'react-bootstrap'
Plugin = require './plugin'
Panel = React.createFactory Bootstrap.Panel
module.exports = React.createFactory React.createClass
render: ->
permissions = @props.permissions ? {}
Panel
header: "#{@props.category} (#{@prop... |
[
{
"context": "os: 0\n username: options.uuid\n password: options.token\n reconnectPeriod: 5000\n @options = _.defa",
"end": 605,
"score": 0.9961769580841064,
"start": 592,
"tag": "PASSWORD",
"value": "options.token"
}
] | src/meshblu.coffee | octoblu/mqtt-client | 1 | _ = require 'lodash'
url = require 'url'
nodeUuid = require 'node-uuid'
{EventEmitter2} = require 'eventemitter2'
debug = require('debug')('meshblu-mqtt')
PROXY_EVENTS = ['close', 'error', 'reconnect', 'offline', 'pong', 'open', 'config', 'data']
class Meshblu extends EventE... | 66842 | _ = require 'lodash'
url = require 'url'
nodeUuid = require 'node-uuid'
{EventEmitter2} = require 'eventemitter2'
debug = require('debug')('meshblu-mqtt')
PROXY_EVENTS = ['close', 'error', 'reconnect', 'offline', 'pong', 'open', 'config', 'data']
class Meshblu extends EventE... | true | _ = require 'lodash'
url = require 'url'
nodeUuid = require 'node-uuid'
{EventEmitter2} = require 'eventemitter2'
debug = require('debug')('meshblu-mqtt')
PROXY_EVENTS = ['close', 'error', 'reconnect', 'offline', 'pong', 'open', 'config', 'data']
class Meshblu extends EventE... |
[
{
"context": " switch req.data.identification\n when 'duplicate@gmail.com'\n `{\"response\": {\n ",
"end": 201,
"score": 0.999911904335022,
"start": 182,
"tag": "EMAIL",
"value": "duplicate@gmail.com"
},
{
"context": "\": \"false\"\n ... | models/user/fixture/email_uniqueness.coffee | signonsridhar/sridhar_hbs | 0 | define(['can_fixture'], (can)->
can.fixture('GET /bss/authentication?action=checkcredentialavailability', (req, resp)->
switch req.data.identification
when 'duplicate@gmail.com'
`{"response": {
"service": "checkcredentialavailability",
... | 152592 | define(['can_fixture'], (can)->
can.fixture('GET /bss/authentication?action=checkcredentialavailability', (req, resp)->
switch req.data.identification
when '<EMAIL>'
`{"response": {
"service": "checkcredentialavailability",
"respon... | true | define(['can_fixture'], (can)->
can.fixture('GET /bss/authentication?action=checkcredentialavailability', (req, resp)->
switch req.data.identification
when 'PI:EMAIL:<EMAIL>END_PI'
`{"response": {
"service": "checkcredentialavailability",
... |
[
{
"context": "ss Fri Jan 16 08:02:30 EST 2015\"\n # gravatar: \"5b7145b0f10f7c09be842e9e4e58826d\"\n # timestamp: 1423667274803\n # username: \"",
"end": 506,
"score": 0.9396958351135254,
"start": 474,
"tag": "PASSWORD",
"value": "5b7145b0f10f7c09be842e9e4e58826d"
},
{
"cont... | app/scripts/views/modified-by-user-field-display.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'./field-display'
'./modified-by-user-representation-set'
], (FieldDisplayView, ModifiedByUserRepresentationSetView) ->
# Modified By User Field Display View
# -----------------------------------
#
# A view for displaying a FieldDB `modifiedByUser` array, i.e., an array of
# objects with `userna... | 77066 | define [
'./field-display'
'./modified-by-user-representation-set'
], (FieldDisplayView, ModifiedByUserRepresentationSetView) ->
# Modified By User Field Display View
# -----------------------------------
#
# A view for displaying a FieldDB `modifiedByUser` array, i.e., an array of
# objects with `userna... | true | define [
'./field-display'
'./modified-by-user-representation-set'
], (FieldDisplayView, ModifiedByUserRepresentationSetView) ->
# Modified By User Field Display View
# -----------------------------------
#
# A view for displaying a FieldDB `modifiedByUser` array, i.e., an array of
# objects with `userna... |
[
{
"context": "\n\n user = parser.username\n password = parser.password\n\n parser.username = parser.password = \"\"\n url =",
"end": 156,
"score": 0.6893993020057678,
"start": 148,
"tag": "PASSWORD",
"value": "password"
}
] | src/components/socket.coffee | UniversityRadioYork/webcast.js | 0 | Webcast.Socket = ({url, mime, info}) ->
parser = document.createElement "a"
parser.href = url
user = parser.username
password = parser.password
parser.username = parser.password = ""
url = parser.href
socket = new WebSocket url, "webcast"
socket.mime = mime
socket.info = info
hello =
mi... | 117373 | Webcast.Socket = ({url, mime, info}) ->
parser = document.createElement "a"
parser.href = url
user = parser.username
password = parser.<PASSWORD>
parser.username = parser.password = ""
url = parser.href
socket = new WebSocket url, "webcast"
socket.mime = mime
socket.info = info
hello =
... | true | Webcast.Socket = ({url, mime, info}) ->
parser = document.createElement "a"
parser.href = url
user = parser.username
password = parser.PI:PASSWORD:<PASSWORD>END_PI
parser.username = parser.password = ""
url = parser.href
socket = new WebSocket url, "webcast"
socket.mime = mime
socket.info = in... |
[
{
"context": "# Copyright 2012 Joshua Carver \n# \n# Licensed under the Apache License, Versio",
"end": 30,
"score": 0.9998670816421509,
"start": 17,
"tag": "NAME",
"value": "Joshua Carver"
}
] | src/coffeescript/charts/line_chart.coffee | jcarver989/raphy-charts | 5 | # Copyright 2012 Joshua Carver
#
# 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... | 215462 | # Copyright 2012 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | true | # Copyright 2012 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... |
[
{
"context": "text onto HTML canvas elements\n\nWritten in 2013 by Karl Naylor <kpn103@yahoo.com>\n\nTo the extent possible under ",
"end": 106,
"score": 0.9998908638954163,
"start": 95,
"tag": "NAME",
"value": "Karl Naylor"
},
{
"context": " canvas elements\n\nWritten in 2013 by Kar... | src/content/coffee/handywriteOnCanvas/graphemes/misc.coffee | karlorg/phonetify | 1 | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by Karl Naylor <kpn103@yahoo.com>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed wit... | 4855 | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by <NAME> <<EMAIL>>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed without any
warra... | true | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is ... |
[
{
"context": "###\nThe MIT License\n\nCopyright (c) 2015 Juan Cruz Viotti. https://jviotti.github.io.\n\nPermission is hereby",
"end": 56,
"score": 0.9998037815093994,
"start": 40,
"tag": "NAME",
"value": "Juan Cruz Viotti"
}
] | lib/unit.coffee | jviotti/wary | 1 | ###
The MIT License
Copyright (c) 2015 Juan Cruz Viotti. https://jviotti.github.io.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to... | 103869 | ###
The MIT License
Copyright (c) 2015 <NAME>. https://jviotti.github.io.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy... | true | ###
The MIT License
Copyright (c) 2015 PI:NAME:<NAME>END_PI. https://jviotti.github.io.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the right... |
[
{
"context": " Test\n constructor: ->\n @obj = { name: \"Nathan\" }\n\n append: ->\n Template(@obj).appendT",
"end": 96,
"score": 0.9996191263198853,
"start": 90,
"tag": "NAME",
"value": "Nathan"
}
] | Source/Stitch.Tests.Web/scripts/app/controllers/test.coffee | nathanpalmer/stitch-aspnet | 0 | Template = require("views/view")
class Test
constructor: ->
@obj = { name: "Nathan" }
append: ->
Template(@obj).appendTo('#content')
module.exports = Test | 3105 | Template = require("views/view")
class Test
constructor: ->
@obj = { name: "<NAME>" }
append: ->
Template(@obj).appendTo('#content')
module.exports = Test | true | Template = require("views/view")
class Test
constructor: ->
@obj = { name: "PI:NAME:<NAME>END_PI" }
append: ->
Template(@obj).appendTo('#content')
module.exports = Test |
[
{
"context": "me', ->\n element(By.model('name')).sendKeys 'William'\n expect(element(By.css('.hello')).getText()",
"end": 203,
"score": 0.999394416809082,
"start": 196,
"tag": "NAME",
"value": "William"
},
{
"context": "lement(By.css('.hello')).getText()).toEqual 'Hello Wi... | test/e2e/index.coffee | githistory/web-widget | 0 | describe 'index page', ->
describe 'hello widget', ->
beforeEach ->
browser.get '/'
it 'should say hello to user with correct name', ->
element(By.model('name')).sendKeys 'William'
expect(element(By.css('.hello')).getText()).toEqual 'Hello William'
| 194298 | describe 'index page', ->
describe 'hello widget', ->
beforeEach ->
browser.get '/'
it 'should say hello to user with correct name', ->
element(By.model('name')).sendKeys '<NAME>'
expect(element(By.css('.hello')).getText()).toEqual 'Hello <NAME>'
| true | describe 'index page', ->
describe 'hello widget', ->
beforeEach ->
browser.get '/'
it 'should say hello to user with correct name', ->
element(By.model('name')).sendKeys 'PI:NAME:<NAME>END_PI'
expect(element(By.css('.hello')).getText()).toEqual 'Hello PI:NAME:<NAME>END_PI'
|
[
{
"context": " new DotLedger.Models.Transaction\n search: 'Some Name'\n amount: '10.00'\n posted_at: '2013-01-",
"end": 526,
"score": 0.8515821695327759,
"start": 517,
"tag": "NAME",
"value": "Some Name"
},
{
"context": "().render()\n expect(view.$el).toContainTe... | spec/javascripts/dot_ledger/views/transactions/table_row_spec.js.coffee | timobleeker/dotledger | 0 | describe "DotLedger.Views.Transactions.TableRow", ->
sortedTransaction = ->
model = createModel()
model.set
sorted_transaction:
category_name: 'Test Category'
name: 'Test Sorted Transaction'
model
sortedForReviewTransaction = ->
model = createModel()
model.set
sorte... | 194251 | describe "DotLedger.Views.Transactions.TableRow", ->
sortedTransaction = ->
model = createModel()
model.set
sorted_transaction:
category_name: 'Test Category'
name: 'Test Sorted Transaction'
model
sortedForReviewTransaction = ->
model = createModel()
model.set
sorte... | true | describe "DotLedger.Views.Transactions.TableRow", ->
sortedTransaction = ->
model = createModel()
model.set
sorted_transaction:
category_name: 'Test Category'
name: 'Test Sorted Transaction'
model
sortedForReviewTransaction = ->
model = createModel()
model.set
sorte... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.9998841285705566,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/t... | src/Coffixi/text/Text.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/text/Text', [
'Coffixi/display/Sprite'
'Coffixi/textures/Texture'
'Coffixi/textures/BaseTexture'
'Coffixi/core/Point'
], (
Sprite
Texture
BaseTexture
Point
) ->
# LOU TODO: Abstract out all the canvas rendering stuff. Nativ... | 116790 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/text/Text', [
'Coffixi/display/Sprite'
'Coffixi/textures/Texture'
'Coffixi/textures/BaseTexture'
'Coffixi/core/Point'
], (
Sprite
Texture
BaseTexture
Point
) ->
# LOU TODO: Abstract out all the canvas rendering stuff. Native im... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/text/Text', [
'Coffixi/display/Sprite'
'Coffixi/textures/Texture'
'Coffixi/textures/BaseTexture'
'Coffixi/core/Point'
], (
Sprite
Texture
BaseTexture
Point
) ->
# LOU TODO: Abstract out all the canvas rendering st... |
[
{
"context": "###*\n# \n# @date 2016-02-02 17:44:28\n# @author vfasky <vfasky@gmail.com>\n# @link http://vfasky.com\n###\n",
"end": 52,
"score": 0.9984913468360901,
"start": 46,
"tag": "USERNAME",
"value": "vfasky"
},
{
"context": "\n# \n# @date 2016-02-02 17:44:28\n# @author vfasky ... | test/test.coffee | vfasky/h2svd-loader | 0 | ###*
#
# @date 2016-02-02 17:44:28
# @author vfasky <vfasky@gmail.com>
# @link http://vfasky.com
###
'use strict'
h2v = require '../h2v'
fs = require 'fs'
t1 = fs.readFileSync './tpl/t2.html', 'utf8'
fs.writeFileSync './tpl/t1.js', h2v(t1), 'utf8'
| 166530 | ###*
#
# @date 2016-02-02 17:44:28
# @author vfasky <<EMAIL>>
# @link http://vfasky.com
###
'use strict'
h2v = require '../h2v'
fs = require 'fs'
t1 = fs.readFileSync './tpl/t2.html', 'utf8'
fs.writeFileSync './tpl/t1.js', h2v(t1), 'utf8'
| true | ###*
#
# @date 2016-02-02 17:44:28
# @author vfasky <PI:EMAIL:<EMAIL>END_PI>
# @link http://vfasky.com
###
'use strict'
h2v = require '../h2v'
fs = require 'fs'
t1 = fs.readFileSync './tpl/t2.html', 'utf8'
fs.writeFileSync './tpl/t1.js', h2v(t1), 'utf8'
|
[
{
"context": "pt arrays and objects\"\n\t\t\t,\n\t\t\t\tid: 2\n\t\t\t\ttitle: \"Joe\"\n\t\t\t\ttags: [\"testing\", \"node.js\"]\n\t\t\t\tdescription",
"end": 2480,
"score": 0.7120204567909241,
"start": 2477,
"tag": "NAME",
"value": "Joe"
}
] | src/demo/visual-search.coffee | ADstruc/query-engine | 83 | # Fetch the globals
CoffeeScript = window.CoffeeScript
queryEngine = window.queryEngine
Js2coffee = window.Js2coffee
# Prepare the editors glboal
editors = window.editors = {}
# Load in the coffescript Ace editor mode
coffeeMode = require('ace/mode/coffee').Mode
coffeeModeInstance = new coffeeMode()
# Set pad widths... | 195481 | # Fetch the globals
CoffeeScript = window.CoffeeScript
queryEngine = window.queryEngine
Js2coffee = window.Js2coffee
# Prepare the editors glboal
editors = window.editors = {}
# Load in the coffescript Ace editor mode
coffeeMode = require('ace/mode/coffee').Mode
coffeeModeInstance = new coffeeMode()
# Set pad widths... | true | # Fetch the globals
CoffeeScript = window.CoffeeScript
queryEngine = window.queryEngine
Js2coffee = window.Js2coffee
# Prepare the editors glboal
editors = window.editors = {}
# Load in the coffescript Ace editor mode
coffeeMode = require('ace/mode/coffee').Mode
coffeeModeInstance = new coffeeMode()
# Set pad widths... |
[
{
"context": "-er-animating\n\n# requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel\n\n# MIT lic",
"end": 256,
"score": 0.9999001622200012,
"start": 245,
"tag": "NAME",
"value": "Erik Möller"
},
{
"context": "AnimationFrame polyfill by Erik Möller. f... | slideshow.coffee | olmokramer/slideshow.js | 5 | 'use strict'
# requestAnimationFrame polyfill
# 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 Zijdel
# MIT license
do (root... | 193671 | 'use strict'
# requestAnimationFrame polyfill
# 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 <NAME> and <NAME>
# MIT license
do (root = window ? th... | true | 'use strict'
# requestAnimationFrame polyfill
# 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 PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END... |
[
{
"context": "- processing rules - ordering\n<https://github.com/fhirbase/fhirbase-plv8/issues/90>\n###\ndescribe 'Issues', -",
"end": 211,
"score": 0.9995360374450684,
"start": 203,
"tag": "USERNAME",
"value": "fhirbase"
},
{
"context": " with ordering operations\n <https://githu... | test/integration/issues/90_transaction_processing_rules_ordering_spec.coffee | micabe/fhirbase | 0 | plv8 = require('../../../plpl/src/plv8')
assert = require('assert')
helpers = require('../../helpers')
match = helpers.match
###
Issue #90
Transaction - processing rules - ordering
<https://github.com/fhirbase/fhirbase-plv8/issues/90>
###
describe 'Issues', ->
before ->
plv8.execute("SET plv8.start_proc = 'plv8... | 89919 | plv8 = require('../../../plpl/src/plv8')
assert = require('assert')
helpers = require('../../helpers')
match = helpers.match
###
Issue #90
Transaction - processing rules - ordering
<https://github.com/fhirbase/fhirbase-plv8/issues/90>
###
describe 'Issues', ->
before ->
plv8.execute("SET plv8.start_proc = 'plv8... | true | plv8 = require('../../../plpl/src/plv8')
assert = require('assert')
helpers = require('../../helpers')
match = helpers.match
###
Issue #90
Transaction - processing rules - ordering
<https://github.com/fhirbase/fhirbase-plv8/issues/90>
###
describe 'Issues', ->
before ->
plv8.execute("SET plv8.start_proc = 'plv8... |
[
{
"context": "ForKey(node, newContextKey)\n if keypath[0] == '$root'\n context = rootContext\n keypat",
"end": 3201,
"score": 0.5965851545333862,
"start": 3199,
"tag": "KEY",
"value": "'$"
}
] | lib/assets/javascripts/twine.coffee | fakeNetflix/Shopify-repo-twine | 0 | ((root, factory) ->
if typeof root.define == 'function' && root.define.amd
root.define(['jquery'], factory)
else if typeof module == 'object' && module.exports
jQuery = if typeof window != 'undefined'
then require('jquery')
else require('jquery')(root)
module.exports = factory(jQuery)
else
... | 47536 | ((root, factory) ->
if typeof root.define == 'function' && root.define.amd
root.define(['jquery'], factory)
else if typeof module == 'object' && module.exports
jQuery = if typeof window != 'undefined'
then require('jquery')
else require('jquery')(root)
module.exports = factory(jQuery)
else
... | true | ((root, factory) ->
if typeof root.define == 'function' && root.define.amd
root.define(['jquery'], factory)
else if typeof module == 'object' && module.exports
jQuery = if typeof window != 'undefined'
then require('jquery')
else require('jquery')(root)
module.exports = factory(jQuery)
else
... |
[
{
"context": " date: new Date()\n from: [new Contact(name: 'Ben', email: 'ben@example.com')]\n subject: \"Hell",
"end": 1121,
"score": 0.9997450709342957,
"start": 1118,
"tag": "NAME",
"value": "Ben"
},
{
"context": "e()\n from: [new Contact(name: 'Ben', email: 'ben@ex... | app/internal_packages/unread-notifications/spec/main-spec.coffee | immershy/nodemail | 0 | _ = require 'underscore'
Contact = require '../../../src/flux/models/contact'
Message = require '../../../src/flux/models/message'
Thread = require '../../../src/flux/models/thread'
Category = require '../../../src/flux/models/category'
CategoryStore = require '../../../src/flux/stores/category-store'
DatabaseStore = r... | 178348 | _ = require 'underscore'
Contact = require '../../../src/flux/models/contact'
Message = require '../../../src/flux/models/message'
Thread = require '../../../src/flux/models/thread'
Category = require '../../../src/flux/models/category'
CategoryStore = require '../../../src/flux/stores/category-store'
DatabaseStore = r... | true | _ = require 'underscore'
Contact = require '../../../src/flux/models/contact'
Message = require '../../../src/flux/models/message'
Thread = require '../../../src/flux/models/thread'
Category = require '../../../src/flux/models/category'
CategoryStore = require '../../../src/flux/stores/category-store'
DatabaseStore = r... |
[
{
"context": " }, {\n# id: \"author1\",\n# name: \"Charles Dickens\"\n# }]\n#\n# Then .name would return \"Charles D",
"end": 731,
"score": 0.9998783469200134,
"start": 716,
"tag": "NAME",
"value": "Charles Dickens"
},
{
"context": "s Dickens\"\n# }]\n#\n#... | src/expression.coffee | umd-mith/mithgrid | 1 | # # Expression Parser
#
# Everything here is private except for a few exported objects and functions.
#
#
# ## Expressions
#
# Expressions describe a path through the data graph held in a data store.
#
# Expressions hop from node to node in one of two directions: forward or backward. Forward goes from an item ID throug... | 192210 | # # Expression Parser
#
# Everything here is private except for a few exported objects and functions.
#
#
# ## Expressions
#
# Expressions describe a path through the data graph held in a data store.
#
# Expressions hop from node to node in one of two directions: forward or backward. Forward goes from an item ID throug... | true | # # Expression Parser
#
# Everything here is private except for a few exported objects and functions.
#
#
# ## Expressions
#
# Expressions describe a path through the data graph held in a data store.
#
# Expressions hop from node to node in one of two directions: forward or backward. Forward goes from an item ID throug... |
[
{
"context": "s the name in the state', ->\n c.char.name = 'Doe'\n reloadState()\n expect(c.char.name).to",
"end": 9887,
"score": 0.9996848702430725,
"start": 9884,
"tag": "NAME",
"value": "Doe"
},
{
"context": " reloadState()\n expect(c.char.name).toBe 'Doe'\n... | spec/common/creation.spec.coffee | saua/srgen | 2 | cr = require '../../src/common/creation'
bt = require '../../src/common/basetypes'
describe 'Priority Creation', ->
c = null
beforeEach ->
c = new cr.Creation
it 'starts out with an empty char', ->
expect(c.char).toBeDefined()
expect(c.char.name).toBe null
expect(c.char.attributes.bod).toBeDefi... | 108154 | cr = require '../../src/common/creation'
bt = require '../../src/common/basetypes'
describe 'Priority Creation', ->
c = null
beforeEach ->
c = new cr.Creation
it 'starts out with an empty char', ->
expect(c.char).toBeDefined()
expect(c.char.name).toBe null
expect(c.char.attributes.bod).toBeDefi... | true | cr = require '../../src/common/creation'
bt = require '../../src/common/basetypes'
describe 'Priority Creation', ->
c = null
beforeEach ->
c = new cr.Creation
it 'starts out with an empty char', ->
expect(c.char).toBeDefined()
expect(c.char.name).toBe null
expect(c.char.attributes.bod).toBeDefi... |
[
{
"context": "sages = for message in @state.messages\n key = \"#{message.text}:#{message.timestamp}\"\n (\n <li key={key}>\n <Message",
"end": 1793,
"score": 0.9940725564956665,
"start": 1755,
"tag": "KEY",
"value": "\"#{message.text}:#{message.timestamp}\""
}
] | app/components/TextChat.react.coffee | ccns1/ccns71 | 52 | # @cjsx React.DOM
React = require('react')
Message = require('./Message.react')
assign = require('object-assign')
MessageStore = require('../stores/MessageStore')
SessionStore = require('../stores/SessionStore')
MessageActionCreators = require('../actions/MessageActionCreators')
PeerActionCreators = require('../action... | 96695 | # @cjsx React.DOM
React = require('react')
Message = require('./Message.react')
assign = require('object-assign')
MessageStore = require('../stores/MessageStore')
SessionStore = require('../stores/SessionStore')
MessageActionCreators = require('../actions/MessageActionCreators')
PeerActionCreators = require('../action... | true | # @cjsx React.DOM
React = require('react')
Message = require('./Message.react')
assign = require('object-assign')
MessageStore = require('../stores/MessageStore')
SessionStore = require('../stores/SessionStore')
MessageActionCreators = require('../actions/MessageActionCreators')
PeerActionCreators = require('../action... |
[
{
"context": "oarding Gold', 'Decoy Drill', 'Yakstraction', 'Sarven Brawl', 'Desert Combat', 'Dust', 'Sarven Rescue',",
"end": 3210,
"score": 0.8255314230918884,
"start": 3207,
"tag": "NAME",
"value": "ven"
},
{
"context": "ven Rescue', 'Sacred Statue', 'Mirage Maker', 'Sarven Savior... | app/views/courses/mock1/CoursesMockData.coffee | kumabotz/codecombat | 1 | data = {}
data.concepts = [
'Advanced Strings'
'Algorithms'
'Arithmetic'
'Arrays'
'Basic Syntax'
'Boolean Logic'
'Break Statements'
'Classes'
'For Loops'
'Functions'
'If Statements'
'Input Handling'
'Math Operations'
'Object Literals'
'Strings'
'Variables'
'Vectors'
'While Loops'
]
... | 26315 | data = {}
data.concepts = [
'Advanced Strings'
'Algorithms'
'Arithmetic'
'Arrays'
'Basic Syntax'
'Boolean Logic'
'Break Statements'
'Classes'
'For Loops'
'Functions'
'If Statements'
'Input Handling'
'Math Operations'
'Object Literals'
'Strings'
'Variables'
'Vectors'
'While Loops'
]
... | true | data = {}
data.concepts = [
'Advanced Strings'
'Algorithms'
'Arithmetic'
'Arrays'
'Basic Syntax'
'Boolean Logic'
'Break Statements'
'Classes'
'For Loops'
'Functions'
'If Statements'
'Input Handling'
'Math Operations'
'Object Literals'
'Strings'
'Variables'
'Vectors'
'While Loops'
]
... |
[
{
"context": "ysql.createClient ({\n\thost: 'host_dbase',\n\tuser: 'scott',\n\tpassword: 'tiger'\n\t})\n\nconnection.query ('Use ",
"end": 1433,
"score": 0.999476432800293,
"start": 1428,
"tag": "USERNAME",
"value": "scott"
},
{
"context": "\n\thost: 'host_dbase',\n\tuser: 'scott',\n... | mysql/coffee/create/mysql_create.coffee | ekzemplaro/data_base_language | 3 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mysql_create.coffee
#
# Jul/03/2014
#
# ---------------------------------------------------------------
mysql = require('mysql')
text_manipulate= require ('/var/www/data_base/common/coffee_common/text_manipulate')
# ------------... | 148894 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mysql_create.coffee
#
# Jul/03/2014
#
# ---------------------------------------------------------------
mysql = require('mysql')
text_manipulate= require ('/var/www/data_base/common/coffee_common/text_manipulate')
# ------------... | true | #! /usr/bin/coffee
# ---------------------------------------------------------------
# mysql_create.coffee
#
# Jul/03/2014
#
# ---------------------------------------------------------------
mysql = require('mysql')
text_manipulate= require ('/var/www/data_base/common/coffee_common/text_manipulate')
# ------------... |
[
{
"context": "ND.reverse CND.bold \"\"\" '---''(_/--' `-'\\\\_) Felix Lee \"\"\"\n echo()\n process.exit 0\n\n#---------------",
"end": 5228,
"score": 0.9998478293418884,
"start": 5219,
"tag": "NAME",
"value": "Felix Lee"
},
{
"context": "ent: 'Project home: {underline http... | dev/mixa/src/demo.coffee | loveencounterflow/hengist | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'HENGIST/DEV/CL-PARSER'
debug = CND.get_logger 'debug', badge
ale... | 177608 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'HENGIST/DEV/CL-PARSER'
debug = CND.get_logger 'debug', badge
ale... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'HENGIST/DEV/CL-PARSER'
debug = CND.get_logger 'debug', badge
ale... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.6368700265884399,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/spec/SpecPresenter.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS',
'./SpecInfographic',
'./SpecContentViewLayer',
'./SpecGroup',
'./SpecRect'
'./SpecRi... | 91633 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS',
'./SpecInfographic',
'./SpecContentViewLayer',
'./SpecGroup',
'./SpecRect'
'./SpecR... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS',
'./SpecInfographic',
'./SpecContentViewLayer',
'./SpecGroup',
'./SpecRect... |
[
{
"context": "ing-a-grammar/\n\nscopeName: 'source.regent'\nname: 'Regent'\ntype: 'tree-sitter'\nparser: 'tree-sitter-regent'",
"end": 187,
"score": 0.836118757724762,
"start": 181,
"tag": "NAME",
"value": "Regent"
}
] | grammars/language-regent.cson | ellishg/language-regent | 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.regent'
name: 'Regent'
type: 'tree-sitter'
parser: 'tree-sitter-regent'
fileTypes: ['rg']
comments:
start: '-- '
scopes:
# Regent
'task > name': ... | 56752 | # 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.regent'
name: '<NAME>'
type: 'tree-sitter'
parser: 'tree-sitter-regent'
fileTypes: ['rg']
comments:
start: '-- '
scopes:
# Regent
'task > name': ... | 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.regent'
name: 'PI:NAME:<NAME>END_PI'
type: 'tree-sitter'
parser: 'tree-sitter-regent'
fileTypes: ['rg']
comments:
start: '-- '
scopes:
# Regent
'... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9955840110778809,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/newProgNotePage/eventTabView.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
# Read/Write event information view contained within eventTab
Imm = require 'immutable'
Moment = require 'moment'
nlp ... | 14402 | # 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
# Read/Write event information view contained within eventTab
Imm = require 'immutable'
Moment = require 'moment'
nlp ... | 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
# Read/Write event information view contained within eventTab
Imm = require 'immutable'
Moment = require... |
[
{
"context": "\n\n# 'Particle REST API Class'\n# by Marc Krenn, July 12th, 2016 | marc.krenn@gmail.com | @marc_k",
"end": 45,
"score": 0.9998914003372192,
"start": 35,
"tag": "NAME",
"value": "Marc Krenn"
},
{
"context": "REST API Class'\n# by Marc Krenn, July 12th, 2016 | marc.krenn... | modules/Particle.coffee | marckrenn/framer-marcsOtherModules | 9 |
# 'Particle REST API Class'
# by Marc Krenn, July 12th, 2016 | marc.krenn@gmail.com | @marc_krenn
# Particle Class -----------------------------------
class exports.Particle extends Framer.BaseClass
baseUrl = "https://api.particle.io/v1/devices"
# Read-only properties ------------------------
@.define "i... | 39373 |
# 'Particle REST API Class'
# by <NAME>, July 12th, 2016 | <EMAIL> | @marc_krenn
# Particle Class -----------------------------------
class exports.Particle extends Framer.BaseClass
baseUrl = "https://api.particle.io/v1/devices"
# Read-only properties ------------------------
@.define "info",
default: ... | true |
# 'Particle REST API Class'
# by PI:NAME:<NAME>END_PI, July 12th, 2016 | PI:EMAIL:<EMAIL>END_PI | @marc_krenn
# Particle Class -----------------------------------
class exports.Particle extends Framer.BaseClass
baseUrl = "https://api.particle.io/v1/devices"
# Read-only properties ------------------------
... |
[
{
"context": "dule.exports = (I={}) ->\n defaults I,\n name: \"DUDER\"\n x: 8\n y: 5\n\n img = new Image\n img.src =",
"end": 57,
"score": 0.9920342564582825,
"start": 52,
"tag": "NAME",
"value": "DUDER"
}
] | player.coffee | STRd6/ld33 | 2 | module.exports = (I={}) ->
defaults I,
name: "DUDER"
x: 8
y: 5
img = new Image
img.src = I.url
I: I
draw: (canvas) ->
canvas.drawImage img, I.x * 32, I.y * 32
update: (dt) ->
move: ({x, y}, map) ->
I.x += x
I.y += y
revert = true unless map.passable(I)
if revert
I... | 76104 | module.exports = (I={}) ->
defaults I,
name: "<NAME>"
x: 8
y: 5
img = new Image
img.src = I.url
I: I
draw: (canvas) ->
canvas.drawImage img, I.x * 32, I.y * 32
update: (dt) ->
move: ({x, y}, map) ->
I.x += x
I.y += y
revert = true unless map.passable(I)
if revert
... | true | module.exports = (I={}) ->
defaults I,
name: "PI:NAME:<NAME>END_PI"
x: 8
y: 5
img = new Image
img.src = I.url
I: I
draw: (canvas) ->
canvas.drawImage img, I.x * 32, I.y * 32
update: (dt) ->
move: ({x, y}, map) ->
I.x += x
I.y += y
revert = true unless map.passable(I)
if... |
[
{
"context": "interpreteAggResult\n buckets:[\n key: 'EIN'\n doc_count: 40\n ,\n key: 'KOOR",
"end": 745,
"score": 0.6496264934539795,
"start": 742,
"tag": "KEY",
"value": "EIN"
},
{
"context": "'EIN'\n doc_count: 40\n ,\n key: 'KOORD... | spec/config-types/simple-spec.coffee | lxfrdl/irma | 1 | describe "simple facette", ->
Simple =require '../../src/config-types/simple'
f=undefined
beforeEach ->
f = new Simple field:"blah"
it "can construct a filter expression", ->
expect(f.filter("nu,na")).to.eql
terms:
blah:['nu','na']
it "provides an appropriate aggregation expression", ->... | 143583 | describe "simple facette", ->
Simple =require '../../src/config-types/simple'
f=undefined
beforeEach ->
f = new Simple field:"blah"
it "can construct a filter expression", ->
expect(f.filter("nu,na")).to.eql
terms:
blah:['nu','na']
it "provides an appropriate aggregation expression", ->... | true | describe "simple facette", ->
Simple =require '../../src/config-types/simple'
f=undefined
beforeEach ->
f = new Simple field:"blah"
it "can construct a filter expression", ->
expect(f.filter("nu,na")).to.eql
terms:
blah:['nu','na']
it "provides an appropriate aggregation expression", ->... |
[
{
"context": "ata: false\n stripTrailingSlash: false\n password: null\n username: null\n verbs:\n 'create' : 'POST'\n ",
"end": 1113,
"score": 0.7740029096603394,
"start": 1109,
"tag": "PASSWORD",
"value": "null"
},
{
"context": "key = \"\"\n $.each obj, (k,v) =>\n key... | public/js/jquery.rest/src/jquery.rest.coffee | elecom/skutools | 440 | 'use strict'
#helpers
error = (msg) ->
throw new Error "ERROR: jquery.rest: #{msg}"
s = (n) -> t = ""; t += " " while n-- >0; t
encode64 = (s) ->
error "You need a polyfill for 'btoa' to use basic auth." unless window.btoa
window.btoa s
stringify = (obj) ->
error "You need a polyfill for 'JSON' to use stri... | 171423 | 'use strict'
#helpers
error = (msg) ->
throw new Error "ERROR: jquery.rest: #{msg}"
s = (n) -> t = ""; t += " " while n-- >0; t
encode64 = (s) ->
error "You need a polyfill for 'btoa' to use basic auth." unless window.btoa
window.btoa s
stringify = (obj) ->
error "You need a polyfill for 'JSON' to use stri... | true | 'use strict'
#helpers
error = (msg) ->
throw new Error "ERROR: jquery.rest: #{msg}"
s = (n) -> t = ""; t += " " while n-- >0; t
encode64 = (s) ->
error "You need a polyfill for 'btoa' to use basic auth." unless window.btoa
window.btoa s
stringify = (obj) ->
error "You need a polyfill for 'JSON' to use stri... |
[
{
"context": "###\n File: drykup.coffee\n Author: Mark Hahn\n DryCup is a CoffeeScript html generator compati",
"end": 45,
"score": 0.9998826384544373,
"start": 36,
"tag": "NAME",
"value": "Mark Hahn"
},
{
"context": "ced via the MIT license.\n See https://github.com/mark-hahn/dr... | drykup.coffee | mark-hahn/drykup | 1 | ###
File: drykup.coffee
Author: Mark Hahn
DryCup is a CoffeeScript html generator compatible with CoffeeKup but without the magic.
DryKup is open-sourced via the MIT license.
See https://github.com/mark-hahn/drykup
###
# ------------------- Constants stolen from coffeeKup (Release 0.3.2) --------------------... | 191432 | ###
File: drykup.coffee
Author: <NAME>
DryCup is a CoffeeScript html generator compatible with CoffeeKup but without the magic.
DryKup is open-sourced via the MIT license.
See https://github.com/mark-hahn/drykup
###
# ------------------- Constants stolen from coffeeKup (Release 0.3.2) ---------------------
#... | true | ###
File: drykup.coffee
Author: PI:NAME:<NAME>END_PI
DryCup is a CoffeeScript html generator compatible with CoffeeKup but without the magic.
DryKup is open-sourced via the MIT license.
See https://github.com/mark-hahn/drykup
###
# ------------------- Constants stolen from coffeeKup (Release 0.3.2) ---------... |
[
{
"context": " expect(domainEvent.payload.name).to.be.equal 'John'\n expect(domainEvent.payload.email).to.be.",
"end": 7639,
"score": 0.9994611740112305,
"start": 7635,
"tag": "NAME",
"value": "John"
},
{
"context": " expect(domainEvent.payload.email).to.be.equal 'john@ex... | src/context/command.feature_spec.coffee | efacilitation/eventric | 150 | describe 'Command Feature', ->
it 'should reject with a descriptive error given the context was not initialized yet', ->
someContext = eventric.context 'ExampleContext'
someContext.command 'DoSomething'
.catch (error) ->
expect(error).to.be.an.instanceOf Error
expect(error.message).to.contain... | 109329 | describe 'Command Feature', ->
it 'should reject with a descriptive error given the context was not initialized yet', ->
someContext = eventric.context 'ExampleContext'
someContext.command 'DoSomething'
.catch (error) ->
expect(error).to.be.an.instanceOf Error
expect(error.message).to.contain... | true | describe 'Command Feature', ->
it 'should reject with a descriptive error given the context was not initialized yet', ->
someContext = eventric.context 'ExampleContext'
someContext.command 'DoSomething'
.catch (error) ->
expect(error).to.be.an.instanceOf Error
expect(error.message).to.contain... |
[
{
"context": "n of birds (whooping cranes).\n\nhttps://github.com/NicMcPhee/whooping-crane-model\n\nCopyright (c) 2015 Nic McPh",
"end": 90,
"score": 0.99922114610672,
"start": 81,
"tag": "USERNAME",
"value": "NicMcPhee"
},
{
"context": "NicMcPhee/whooping-crane-model\n\nCopyright (c... | src/lib/population.coffee | NicMcPhee/whooping-crane-model | 0 | ###
Basic model of a population of birds (whooping cranes).
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 Nic McPhee
Licensed under the MIT license.
###
'use strict'
ModelParameters = require './model_parameters'
Bird = require './bird'
# Move shuffle, chunk to a util file
# From https://... | 205167 | ###
Basic model of a population of birds (whooping cranes).
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 <NAME>
Licensed under the MIT license.
###
'use strict'
ModelParameters = require './model_parameters'
Bird = require './bird'
# Move shuffle, chunk to a util file
# From https://gist... | true | ###
Basic model of a population of birds (whooping cranes).
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
'use strict'
ModelParameters = require './model_parameters'
Bird = require './bird'
# Move shuffle, chunk to a util file
# Fro... |
[
{
"context": " @_super()\n @labelPathDidChange()\n\n # TODO(Peter): This is a hack. Some computed don't fire proper",
"end": 1354,
"score": 0.9882214069366455,
"start": 1349,
"tag": "NAME",
"value": "Peter"
},
{
"context": " Ember.run this, @updateDropdownLayout\n\n # TODO(P... | src/select.coffee | eflexsystems/ember-widgets | 0 | get = (object, key) ->
return undefined unless object
return object unless key
object.get?(key) or object[key]
set = (object, key, value) ->
return unless object and key
object.set?(key, value) or object[key] = value;
# The view for each item in the select.
Ember.Widgets.SelectOptionView = Ember.ListItem... | 181479 | get = (object, key) ->
return undefined unless object
return object unless key
object.get?(key) or object[key]
set = (object, key, value) ->
return unless object and key
object.set?(key, value) or object[key] = value;
# The view for each item in the select.
Ember.Widgets.SelectOptionView = Ember.ListItem... | true | get = (object, key) ->
return undefined unless object
return object unless key
object.get?(key) or object[key]
set = (object, key, value) ->
return unless object and key
object.set?(key, value) or object[key] = value;
# The view for each item in the select.
Ember.Widgets.SelectOptionView = Ember.ListItem... |
[
{
"context": " grunt-smart-assets\n# *\n# *\n# * Copyright (c) 2014 Shapovalov Alexandr\n# * Licensed under the MIT license.\n#\n\"use strict",
"end": 75,
"score": 0.9997130632400513,
"start": 56,
"tag": "NAME",
"value": "Shapovalov Alexandr"
}
] | Gruntfile.coffee | Freezko/grunt-smart-assets | 0 | #
# * grunt-smart-assets
# *
# *
# * Copyright (c) 2014 Shapovalov Alexandr
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
# load all npm grunt tasks
require("load-grunt-tasks") grunt
#require('time-grunt')(grunt)
# Project configuration.
grunt.initConfig
jshint:
all: [
... | 128789 | #
# * grunt-smart-assets
# *
# *
# * Copyright (c) 2014 <NAME>
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
# load all npm grunt tasks
require("load-grunt-tasks") grunt
#require('time-grunt')(grunt)
# Project configuration.
grunt.initConfig
jshint:
all: [
"Gruntfile.js... | true | #
# * grunt-smart-assets
# *
# *
# * Copyright (c) 2014 PI:NAME:<NAME>END_PI
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
# load all npm grunt tasks
require("load-grunt-tasks") grunt
#require('time-grunt')(grunt)
# Project configuration.
grunt.initConfig
jshint:
all: [
... |
[
{
"context": "eactDOMServer.renderToStaticMarkup MyComp name : 'Bender'\n # console.log reactHtml\n expe",
"end": 1860,
"score": 0.9545695781707764,
"start": 1854,
"tag": "NAME",
"value": "Bender"
}
] | test/test_addon.coffee | Meettya/clinch.csbx | 0 | ###
Test suite for addon
###
_ = require 'lodash'
fs = require 'fs'
path = require 'path'
vm = require 'vm'
React = require 'react'
ReactDOMServer = require 'react-dom/server'
CoffeeScript = require 'coffee-script'
lib_path = GLOBAL?.lib_path || ''
fixtures = path.join __dirname, "fix... | 177482 | ###
Test suite for addon
###
_ = require 'lodash'
fs = require 'fs'
path = require 'path'
vm = require 'vm'
React = require 'react'
ReactDOMServer = require 'react-dom/server'
CoffeeScript = require 'coffee-script'
lib_path = GLOBAL?.lib_path || ''
fixtures = path.join __dirname, "fix... | true | ###
Test suite for addon
###
_ = require 'lodash'
fs = require 'fs'
path = require 'path'
vm = require 'vm'
React = require 'react'
ReactDOMServer = require 'react-dom/server'
CoffeeScript = require 'coffee-script'
lib_path = GLOBAL?.lib_path || ''
fixtures = path.join __dirname, "fix... |
[
{
"context": " \"Face generator, inspired by weird faces study by Matthias Dörfelt aka mokafolio.\"\n\n\t# \tparameters: ()->\n\t# \t\tparame",
"end": 266,
"score": 0.9998922944068909,
"start": 250,
"tag": "NAME",
"value": "Matthias Dörfelt"
},
{
"context": "pired by weird faces stud... | coffee/Items/Paths/Shapes/FaceShape.coffee | arthursw/comme-un-dessein-client | 0 |
# class FaceShape extends RShape
# @Shape = P.Path.Rectangle
# @label = 'Face generator'
# # @iconURL = 'static/images/icons/inverted/spiral.png'
# # @iconAlt = 'spiral'
# @description = "Face generator, inspired by weird faces study by Matthias Dörfelt aka mokafolio."
# parameters: ()->
# parameters... | 43012 |
# class FaceShape extends RShape
# @Shape = P.Path.Rectangle
# @label = 'Face generator'
# # @iconURL = 'static/images/icons/inverted/spiral.png'
# # @iconAlt = 'spiral'
# @description = "Face generator, inspired by weird faces study by <NAME> aka mokafolio."
# parameters: ()->
# parameters = super()... | true |
# class FaceShape extends RShape
# @Shape = P.Path.Rectangle
# @label = 'Face generator'
# # @iconURL = 'static/images/icons/inverted/spiral.png'
# # @iconAlt = 'spiral'
# @description = "Face generator, inspired by weird faces study by PI:NAME:<NAME>END_PI aka mokafolio."
# parameters: ()->
# parame... |
[
{
"context": "represents a complete city\n if key == 'cityID' and currentNode[key]\n result = \n ",
"end": 5781,
"score": 0.9623651504516602,
"start": 5775,
"tag": "KEY",
"value": "cityID"
}
] | source/stringsearchmodule/stringsearchmodule.coffee | JhonnyJason/citysearch-on-socket-sources | 0 |
stringsearchmodule = {name: "stringsearchmodule"}
#log Switch
log = (arg) ->
if allModules.debugmodule.modulesToDebug["stringsearchmodule"]? then console.log "[stringsearchmodule]: " + arg
return
#region internal variables
dataStruct =
rootNode:
cityCount: 0
cityID: 0
cityName: ... | 222893 |
stringsearchmodule = {name: "stringsearchmodule"}
#log Switch
log = (arg) ->
if allModules.debugmodule.modulesToDebug["stringsearchmodule"]? then console.log "[stringsearchmodule]: " + arg
return
#region internal variables
dataStruct =
rootNode:
cityCount: 0
cityID: 0
cityName: ... | true |
stringsearchmodule = {name: "stringsearchmodule"}
#log Switch
log = (arg) ->
if allModules.debugmodule.modulesToDebug["stringsearchmodule"]? then console.log "[stringsearchmodule]: " + arg
return
#region internal variables
dataStruct =
rootNode:
cityCount: 0
cityID: 0
cityName: ... |
[
{
"context": "escript'\n 'javascript'\n 'coffee'\n]\n\nauthor : 'Michal Srb <xixixao@seznam.cz>'\nhomepage : 'http://gkz.githu",
"end": 388,
"score": 0.9998878240585327,
"start": 378,
"tag": "NAME",
"value": "Michal Srb"
},
{
"context": "javascript'\n 'coffee'\n]\n\nauthor : '... | package.coffee | xixixao/prelude-ls | 5 | name : 'prelude-coffee'
version : '0.1.0'
description : "prelude.coffee is a JavaScript functional programming library. It is written for and in CoffeeScript. It is a mutated clone of LiveScript's prelude.js which in turn is based of Haskell's Prelude module."
keywords : [
'library'
'prelude'
'livescript'
... | 192077 | name : 'prelude-coffee'
version : '0.1.0'
description : "prelude.coffee is a JavaScript functional programming library. It is written for and in CoffeeScript. It is a mutated clone of LiveScript's prelude.js which in turn is based of Haskell's Prelude module."
keywords : [
'library'
'prelude'
'livescript'
... | true | name : 'prelude-coffee'
version : '0.1.0'
description : "prelude.coffee is a JavaScript functional programming library. It is written for and in CoffeeScript. It is a mutated clone of LiveScript's prelude.js which in turn is based of Haskell's Prelude module."
keywords : [
'library'
'prelude'
'livescript'
... |
[
{
"context": "# Description:\n# I'm Hikakin\n#\n# Commands:\n# hikakin\n#\n# Author:\n# - toshi",
"end": 30,
"score": 0.9969227313995361,
"start": 23,
"tag": "NAME",
"value": "Hikakin"
},
{
"context": "ikakin\n#\n# Commands:\n# hikakin\n#\n# Author:\n# - toshimaru\n\nmodule... | src/scripts/hikakin.coffee | toshimaru/hubot-hikakin | 0 | # Description:
# I'm Hikakin
#
# Commands:
# hikakin
#
# Author:
# - toshimaru
module.exports = (robot) ->
robot.hear /hikakin/i, (msg) ->
msg.send 'http://i.imgur.com/TRLZYyZ.gif'
| 68970 | # Description:
# I'm <NAME>
#
# Commands:
# hikakin
#
# Author:
# - toshimaru
module.exports = (robot) ->
robot.hear /hikakin/i, (msg) ->
msg.send 'http://i.imgur.com/TRLZYyZ.gif'
| true | # Description:
# I'm PI:NAME:<NAME>END_PI
#
# Commands:
# hikakin
#
# Author:
# - toshimaru
module.exports = (robot) ->
robot.hear /hikakin/i, (msg) ->
msg.send 'http://i.imgur.com/TRLZYyZ.gif'
|
[
{
"context": "e next ###\n# Adapted from https://gist.github.com/paulirish/1579671 which derived from\n# http://paulirish.com",
"end": 77,
"score": 0.9995114207267761,
"start": 68,
"tag": "USERNAME",
"value": "paulirish"
},
{
"context": "t-er-animating\n# requestAnimationFrame polyfi... | js/polyfills/raf.coffee | Neilblaze/mojs | 1 | ### istanbul ignore next ###
# Adapted from https://gist.github.com/paulirish/1579671 which derived from
# 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.
# Fi... | 38961 | ### istanbul ignore next ###
# Adapted from https://gist.github.com/paulirish/1579671 which derived from
# 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 f... | true | ### istanbul ignore next ###
# Adapted from https://gist.github.com/paulirish/1579671 which derived from
# 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... |
[
{
"context": "4*364*10\n @_username = @get_chain().user or \"tester_ralph\"\n @_uid = @get_chain().uid or username_to_ui",
"end": 7271,
"score": 0.999404788017273,
"start": 7259,
"tag": "USERNAME",
"value": "tester_ralph"
},
{
"context": "{obj, required}, cb) ->\n userid... | src/forge.iced | keybase/node-test-sigchain | 6 |
{make_esc} = require 'iced-error'
{athrow,akatch,unix_time} = require('iced-utils').util
kbpgp = require 'kbpgp'
proofs = require 'keybase-proofs'
constants = proofs.constants
{prng,createHash} = require 'crypto'
btcjs = require 'keybase-bitcoinjs-lib'
pgp_utils = require('pgp-utils')
{json_stringify_sorted} = pgp_uti... | 158456 |
{make_esc} = require 'iced-error'
{athrow,akatch,unix_time} = require('iced-utils').util
kbpgp = require 'kbpgp'
proofs = require 'keybase-proofs'
constants = proofs.constants
{prng,createHash} = require 'crypto'
btcjs = require 'keybase-bitcoinjs-lib'
pgp_utils = require('pgp-utils')
{json_stringify_sorted} = pgp_uti... | true |
{make_esc} = require 'iced-error'
{athrow,akatch,unix_time} = require('iced-utils').util
kbpgp = require 'kbpgp'
proofs = require 'keybase-proofs'
constants = proofs.constants
{prng,createHash} = require 'crypto'
btcjs = require 'keybase-bitcoinjs-lib'
pgp_utils = require('pgp-utils')
{json_stringify_sorted} = pgp_uti... |
[
{
"context": "kg, \"package.json\"), JSON.stringify(\n author: \"Evan Lucas\"\n name: \"version-no-tags-test\"\n version: \"0",
"end": 174,
"score": 0.9998687505722046,
"start": 164,
"tag": "NAME",
"value": "Evan Lucas"
}
] | deps/npm/test/tap/version-no-tags.coffee | lxe/io.coffee | 0 |
# windows fix for locked files
setup = ->
mkdirp.sync pkg
mkdirp.sync cache
fs.writeFileSync path.resolve(pkg, "package.json"), JSON.stringify(
author: "Evan Lucas"
name: "version-no-tags-test"
version: "0.0.0"
description: "Test for git-tag-version flag"
), "utf8"
process.chdir pkg
return
... | 180622 |
# windows fix for locked files
setup = ->
mkdirp.sync pkg
mkdirp.sync cache
fs.writeFileSync path.resolve(pkg, "package.json"), JSON.stringify(
author: "<NAME>"
name: "version-no-tags-test"
version: "0.0.0"
description: "Test for git-tag-version flag"
), "utf8"
process.chdir pkg
return
comm... | true |
# windows fix for locked files
setup = ->
mkdirp.sync pkg
mkdirp.sync cache
fs.writeFileSync path.resolve(pkg, "package.json"), JSON.stringify(
author: "PI:NAME:<NAME>END_PI"
name: "version-no-tags-test"
version: "0.0.0"
description: "Test for git-tag-version flag"
), "utf8"
process.chdir pkg... |
[
{
"context": "SSL: false\n auth:\n user: connection.user\n pass: connection.password || \"\"\n ",
"end": 6539,
"score": 0.862105667591095,
"start": 6524,
"tag": "USERNAME",
"value": "connection.user"
},
{
"context": " user: connection.us... | lib/existdb.coffee | subugoe/atom-existdb | 10 | EXistTreeView = require './existdb-tree-view'
SymbolsView = require './symbols.js'
ImportsView = require './imports.js'
quickfix = require './quickfix.js'
Config = require './project-config'
{CompositeDisposable, Range, Emitter} = require 'atom'
request = require 'request'
Provider = require "./provider"
Sync = require... | 175849 | EXistTreeView = require './existdb-tree-view'
SymbolsView = require './symbols.js'
ImportsView = require './imports.js'
quickfix = require './quickfix.js'
Config = require './project-config'
{CompositeDisposable, Range, Emitter} = require 'atom'
request = require 'request'
Provider = require "./provider"
Sync = require... | true | EXistTreeView = require './existdb-tree-view'
SymbolsView = require './symbols.js'
ImportsView = require './imports.js'
quickfix = require './quickfix.js'
Config = require './project-config'
{CompositeDisposable, Range, Emitter} = require 'atom'
request = require 'request'
Provider = require "./provider"
Sync = require... |
[
{
"context": " pairs = {}\n for i in [1..10]\n key = 'fixedkey_'+ i\n value = Math.random()\n cache.",
"end": 549,
"score": 0.9259041547775269,
"start": 541,
"tag": "KEY",
"value": "fixedkey"
}
] | test/cache-test.coffee | snowyu/secondary-cache.js | 1 | isEmpty = require('abstract-object/lib/util/isEmpty')
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
Cache = require '../src/cache'
setImmediate = setImmediate || process.nextTic... | 114927 | isEmpty = require('abstract-object/lib/util/isEmpty')
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
Cache = require '../src/cache'
setImmediate = setImmediate || process.nextTic... | true | isEmpty = require('abstract-object/lib/util/isEmpty')
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
Cache = require '../src/cache'
setImmediate = setImmediate || process.nextTic... |
[
{
"context": "aders).to.deep.equal({\n\t\t\t'Authorization': 'Bearer secretkey'\n\t\t\t'Content-Type': 'application/x-ndjson'\n\t\t\t'Co",
"end": 1865,
"score": 0.5225074887275696,
"start": 1856,
"tag": "KEY",
"value": "secretkey"
}
] | test/12-logger.spec.coffee | hippolyt/resin-supervisor | 0 | https = require 'https'
stream = require 'stream'
zlib = require 'zlib'
Promise = require 'bluebird'
m = require 'mochainon'
{ expect } = m.chai
{ stub } = m.sinon
{ Logger } = require '../src/logger'
describe 'Logger', ->
beforeEach ->
@_req = new stream.PassThrough()
@_req.flushHeaders = m.sinon.spy()
@_req.... | 129054 | https = require 'https'
stream = require 'stream'
zlib = require 'zlib'
Promise = require 'bluebird'
m = require 'mochainon'
{ expect } = m.chai
{ stub } = m.sinon
{ Logger } = require '../src/logger'
describe 'Logger', ->
beforeEach ->
@_req = new stream.PassThrough()
@_req.flushHeaders = m.sinon.spy()
@_req.... | true | https = require 'https'
stream = require 'stream'
zlib = require 'zlib'
Promise = require 'bluebird'
m = require 'mochainon'
{ expect } = m.chai
{ stub } = m.sinon
{ Logger } = require '../src/logger'
describe 'Logger', ->
beforeEach ->
@_req = new stream.PassThrough()
@_req.flushHeaders = m.sinon.spy()
@_req.... |
[
{
"context": "sers);\n users = [\n {\n name: 'Lia Lugo'\n avatar: 'svg-1'\n content:",
"end": 193,
"score": 0.9998815059661865,
"start": 185,
"tag": "NAME",
"value": "Lia Lugo"
},
{
"context": "ncashire.'\n }\n {\n n... | app/scripts/layout/userservice.coffee | bionikspoon/gem-store | 0 | 'use strict'
class UserService
@$inject = [ '$q' ]
constructor: ($q)->
@q = $q
loadAllUsers: ->
@q.when(users);
users = [
{
name: 'Lia Lugo'
avatar: 'svg-1'
content: 'I love cheese, especially airedale queso. Cheese and biscuits halloumi caul... | 164763 | 'use strict'
class UserService
@$inject = [ '$q' ]
constructor: ($q)->
@q = $q
loadAllUsers: ->
@q.when(users);
users = [
{
name: '<NAME>'
avatar: 'svg-1'
content: 'I love cheese, especially airedale queso. Cheese and biscuits halloumi caulif... | true | 'use strict'
class UserService
@$inject = [ '$q' ]
constructor: ($q)->
@q = $q
loadAllUsers: ->
@q.when(users);
users = [
{
name: 'PI:NAME:<NAME>END_PI'
avatar: 'svg-1'
content: 'I love cheese, especially airedale queso. Cheese and biscuits h... |
[
{
"context": ", \"#fff\", \"#000\"]\n new Element\n key: \"testElement\"\n stage: cacheMode\n [\n new",
"end": 1575,
"score": 0.9369153380393982,
"start": 1564,
"tag": "USERNAME",
"value": "testElement"
},
{
"context": "olor: \"#f00\"\n new... | test/tests/Art.Engine/Core/Drawing/CachingAndStaging/CacheDraw.coffee | Imikimi-LLC/art.engine | 4 | Foundation = require 'art-foundation'
Atomic = require 'art-atomic'
Canvas = require 'art-canvas'
Engine = require 'art-engine'
StateEpochTestHelper = require '../../StateEpochTestHelper'
{compareDownsampledRedChannel} = require "../../CoreHelper"
{point, matrix, Matrix, rect} = Atomic
{m, clone,inspect, nextTick, eq,... | 196563 | Foundation = require 'art-foundation'
Atomic = require 'art-atomic'
Canvas = require 'art-canvas'
Engine = require 'art-engine'
StateEpochTestHelper = require '../../StateEpochTestHelper'
{compareDownsampledRedChannel} = require "../../CoreHelper"
{point, matrix, Matrix, rect} = Atomic
{m, clone,inspect, nextTick, eq,... | true | Foundation = require 'art-foundation'
Atomic = require 'art-atomic'
Canvas = require 'art-canvas'
Engine = require 'art-engine'
StateEpochTestHelper = require '../../StateEpochTestHelper'
{compareDownsampledRedChannel} = require "../../CoreHelper"
{point, matrix, Matrix, rect} = Atomic
{m, clone,inspect, nextTick, eq,... |
[
{
"context": "#\t> File Name: app.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: W",
"end": 40,
"score": 0.9968626499176025,
"start": 38,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "#\t> File Name: app.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@g... | server/db/app.coffee | wiiliamking/miac-website | 0 | # > File Name: app.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Wednesday, November 19, 2014 AM10:41:51 CST
###
* import package's module that would use
###
express = require 'express'
path = require 'path'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
favicon = req... | 196431 | # > File Name: app.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Wednesday, November 19, 2014 AM10:41:51 CST
###
* import package's module that would use
###
express = require 'express'
path = require 'path'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
favicon = require 'static... | true | # > File Name: app.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Wednesday, November 19, 2014 AM10:41:51 CST
###
* import package's module that would use
###
express = require 'express'
path = require 'path'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
favicon = ... |
[
{
"context": "ction\n model = new Stem.Model\n name: \"John\"\n collection.add model\n\n it \"should allow",
"end": 210,
"score": 0.9998304843902588,
"start": 206,
"tag": "NAME",
"value": "John"
},
{
"context": "on.bind \"*\", starCallback\n\n model.set name:... | source/javascripts/specs/collection.js.coffee | petalmd/stem | 0 | describe "Collection", ->
describe "a simple collectcion", ->
collection = null
model = null
beforeEach ->
collection = new Stem.Collection
model = new Stem.Model
name: "John"
collection.add model
it "should allow fetching its models by index", ->
expect(collection.a... | 62985 | describe "Collection", ->
describe "a simple collectcion", ->
collection = null
model = null
beforeEach ->
collection = new Stem.Collection
model = new Stem.Model
name: "<NAME>"
collection.add model
it "should allow fetching its models by index", ->
expect(collection... | true | describe "Collection", ->
describe "a simple collectcion", ->
collection = null
model = null
beforeEach ->
collection = new Stem.Collection
model = new Stem.Model
name: "PI:NAME:<NAME>END_PI"
collection.add model
it "should allow fetching its models by index", ->
exp... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999151229858398,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/input-handler.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @InputHandler
@CANCEL = 'cancel'
@SUBMIT = 'submit'
@KEY_ENTER = 13
@KEY_ESC = 27
@textarea: (callback) =>
(event) =>
... | 119661 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @InputHandler
@CANCEL = 'cancel'
@SUBMIT = 'submit'
@KEY_ENTER = 13
@KEY_ESC = 27
@textarea: (callback) =>
(event) =>
if ev... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @InputHandler
@CANCEL = 'cancel'
@SUBMIT = 'submit'
@KEY_ENTER = 13
@KEY_ESC = 27
@textarea: (callback) =>
(event)... |
[
{
"context": "orts.rfc_2144_B1 = (T,cb) ->\n key = Buffer.from \"0123456712345678234567893456789A\", \"hex\"\n plaintext = Buffer.from \"0123456789ABCD",
"end": 323,
"score": 0.9997613430023193,
"start": 291,
"tag": "KEY",
"value": "0123456712345678234567893456789A"
},
{
"context":... | test/files/cast5.iced | samkenxstream/kbpgp | 464 | {CAST5} = require '../../lib/openpgp/cast5'
{WordArray} = require 'triplesec'
{encrypt,decrypt} = require '../../lib/openpgp/cfb'
buf_to_words = (b) -> (WordArray.from_buffer b).words
words_to_buf = (w) -> (new WordArray w).to_buffer()
exports.rfc_2144_B1 = (T,cb) ->
key = Buffer.from "01234567123456782345678934567... | 96047 | {CAST5} = require '../../lib/openpgp/cast5'
{WordArray} = require 'triplesec'
{encrypt,decrypt} = require '../../lib/openpgp/cfb'
buf_to_words = (b) -> (WordArray.from_buffer b).words
words_to_buf = (w) -> (new WordArray w).to_buffer()
exports.rfc_2144_B1 = (T,cb) ->
key = Buffer.from "<KEY>", "hex"
plaintext = B... | true | {CAST5} = require '../../lib/openpgp/cast5'
{WordArray} = require 'triplesec'
{encrypt,decrypt} = require '../../lib/openpgp/cfb'
buf_to_words = (b) -> (WordArray.from_buffer b).words
words_to_buf = (w) -> (new WordArray w).to_buffer()
exports.rfc_2144_B1 = (T,cb) ->
key = Buffer.from "PI:KEY:<KEY>END_PI", "hex"
... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999223351478577,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/directives/v2/controllers/inline-exp-name-editor.controller.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 79666 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "til\n\n The MIT License (MIT)\n\n Copyright (c) 2014 Yasuhiro Okuno\n\n Permission is hereby granted, free of charge, ",
"end": 88,
"score": 0.9998679757118225,
"start": 74,
"tag": "NAME",
"value": "Yasuhiro Okuno"
}
] | coffee_lib/crowdutil/subcmd/create-user.coffee | koma75/crowdutil | 1 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 Yasuhiro Okuno
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the... | 24514 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
... | true | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitati... |
[
{
"context": "# # Handle github timeline\n#\n# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.outsider.ne.kr/>\n# L",
"end": 64,
"score": 0.9998775124549866,
"start": 50,
"tag": "NAME",
"value": "JeongHoon Byun"
},
{
"context": "meline\n#\n# Copyright (c) 2013 Jeong... | src/timeline.coffee | uppalapatisujitha/CodingConventionofCommitHistory | 421 | # # Handle github timeline
#
# Copyright (c) 2013 JeongHoon Byun aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
restler = require 'restler'
path = require 'path'
fs = require 'fs'
helpers = require './helpers'
logger = helpers.logger
githubHost = '... | 21891 | # # Handle github timeline
#
# Copyright (c) 2013 <NAME> aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
restler = require 'restler'
path = require 'path'
fs = require 'fs'
helpers = require './helpers'
logger = helpers.logger
githubHost = 'https://... | true | # # Handle github timeline
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
restler = require 'restler'
path = require 'path'
fs = require 'fs'
helpers = require './helpers'
logger = helpers.logger
githubHo... |
[
{
"context": "o'\n 'lib/enviro'\n], ($, Enviro) ->\n\n ENV_KEY = 'StahkPhotos-Env'\n\n EnvElement = (env) ->\n \"\"\"<div id=\"StahkPh",
"end": 81,
"score": 0.9988880753517151,
"start": 66,
"tag": "KEY",
"value": "StahkPhotos-Env"
}
] | src/frontend/js/setup.coffee | geekjuice/StahkPhotos | 8 | define [
'zepto'
'lib/enviro'
], ($, Enviro) ->
ENV_KEY = 'StahkPhotos-Env'
EnvElement = (env) ->
"""<div id="StahkPhotos-Env">#{env}</div>"""
Setup = ->
switch
when Enviro.isQA(ENV_KEY)
$('body').append EnvElement('QA')
when Enviro.isLocal(ENV_KEY)
$('body').append EnvE... | 157340 | define [
'zepto'
'lib/enviro'
], ($, Enviro) ->
ENV_KEY = '<KEY>'
EnvElement = (env) ->
"""<div id="StahkPhotos-Env">#{env}</div>"""
Setup = ->
switch
when Enviro.isQA(ENV_KEY)
$('body').append EnvElement('QA')
when Enviro.isLocal(ENV_KEY)
$('body').append EnvElement('Lo... | true | define [
'zepto'
'lib/enviro'
], ($, Enviro) ->
ENV_KEY = 'PI:KEY:<KEY>END_PI'
EnvElement = (env) ->
"""<div id="StahkPhotos-Env">#{env}</div>"""
Setup = ->
switch
when Enviro.isQA(ENV_KEY)
$('body').append EnvElement('QA')
when Enviro.isLocal(ENV_KEY)
$('body').append E... |
[
{
"context": "ature\n geometry: point1\n name: 'Platform'\n payloadFeature.setStyle balloonStyle\n ",
"end": 3305,
"score": 0.9949459433555603,
"start": 3297,
"tag": "NAME",
"value": "Platform"
}
] | app/assets/javascripts/tracker_new/tracker_new.js.coffee | AdlerFarHorizons/FarHorizonsApp | 1 | hostname = window.location.hostname
port = window.location.port
image_port = $('#data').data( 'imagePort' )
image_root = "http://" + hostname + ":" + image_port + "/"
start_lat = 41.1000322 # degrees
start_lon = -87.9167100 # degrees
start_zoom = 11
max_zoom = 16
# Enable pusher logging - don't include this in product... | 202725 | hostname = window.location.hostname
port = window.location.port
image_port = $('#data').data( 'imagePort' )
image_root = "http://" + hostname + ":" + image_port + "/"
start_lat = 41.1000322 # degrees
start_lon = -87.9167100 # degrees
start_zoom = 11
max_zoom = 16
# Enable pusher logging - don't include this in product... | true | hostname = window.location.hostname
port = window.location.port
image_port = $('#data').data( 'imagePort' )
image_root = "http://" + hostname + ":" + image_port + "/"
start_lat = 41.1000322 # degrees
start_lon = -87.9167100 # degrees
start_zoom = 11
max_zoom = 16
# Enable pusher logging - don't include this in product... |
[
{
"context": "qiniu = require 'qiniu'\n\nqiniu.conf.ACCESS_KEY = 'BLESER2yUuhlxiHIwS6XXgS2gJarm9Ucoqbu5eE3'\nqiniu.conf.SECRET_KEY = 'CYWrIoTG-ZPzL-AFtwou6rF",
"end": 113,
"score": 0.9994227886199951,
"start": 73,
"tag": "KEY",
"value": "BLESER2yUuhlxiHIwS6XXgS2gJarm9Ucoqbu5eE3"
},
{
... | qiniu/qiniutest1.coffee | rankun203/ModernWebStudy | 0 | #!/usr/bin/env coffee
qiniu = require 'qiniu'
qiniu.conf.ACCESS_KEY = 'BLESER2yUuhlxiHIwS6XXgS2gJarm9Ucoqbu5eE3'
qiniu.conf.SECRET_KEY = 'CYWrIoTG-ZPzL-AFtwou6rFmxDqWMQ5NxOYhFFC9'
| 122669 | #!/usr/bin/env coffee
qiniu = require 'qiniu'
qiniu.conf.ACCESS_KEY = '<KEY>'
qiniu.conf.SECRET_KEY = '<KEY>'
| true | #!/usr/bin/env coffee
qiniu = require 'qiniu'
qiniu.conf.ACCESS_KEY = 'PI:KEY:<KEY>END_PI'
qiniu.conf.SECRET_KEY = 'PI:KEY:<KEY>END_PI'
|
[
{
"context": "base\"\n \t\"server\"\n ]\n\n homepage: \"\"\n\n author: \"Joseph Gentle <josephg@gmail.com>\"\n\n dependencies:\n # Trans",
"end": 435,
"score": 0.9998772740364075,
"start": 422,
"tag": "NAME",
"value": "Joseph Gentle"
},
{
"context": "r\"\n ]\n\n homepage: \... | package.coffee | daredevildave/ShareJS | 1 | # Package.json file in CoffeeScript
# Nicer to write and you can have comments
# Compile with "cake package"
module.exports =
name: "share"
# Change version with "cake [-V newversion] bump"
version: "0.6.1"
description: "A database for concurrent document editing"
keywords: [
"operational transformation"... | 105888 | # Package.json file in CoffeeScript
# Nicer to write and you can have comments
# Compile with "cake package"
module.exports =
name: "share"
# Change version with "cake [-V newversion] bump"
version: "0.6.1"
description: "A database for concurrent document editing"
keywords: [
"operational transformation"... | true | # Package.json file in CoffeeScript
# Nicer to write and you can have comments
# Compile with "cake package"
module.exports =
name: "share"
# Change version with "cake [-V newversion] bump"
version: "0.6.1"
description: "A database for concurrent document editing"
keywords: [
"operational transformation"... |
[
{
"context": "=\n usernameField: 'email',\n passwordField: 'password'\n\n localStrategyCallback = (email, password, don",
"end": 702,
"score": 0.9991461634635925,
"start": 694,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "email: profile.emails[0].value\n us... | src/config/passport.coffee | thelucyclub/ticketman-tests | 81 |
mongoose = require('mongoose')
LocalStrategy = require('passport-local').Strategy
TwitterStrategy = require('passport-twitter').Strategy
FacebookStrategy = require('passport-facebook').Strategy
GitHubStrategy = require('passport-github').Strategy
GoogleStrategy = require('passport-google-oauth').OAuth2Strategy
User = ... | 624 |
mongoose = require('mongoose')
LocalStrategy = require('passport-local').Strategy
TwitterStrategy = require('passport-twitter').Strategy
FacebookStrategy = require('passport-facebook').Strategy
GitHubStrategy = require('passport-github').Strategy
GoogleStrategy = require('passport-google-oauth').OAuth2Strategy
User = ... | true |
mongoose = require('mongoose')
LocalStrategy = require('passport-local').Strategy
TwitterStrategy = require('passport-twitter').Strategy
FacebookStrategy = require('passport-facebook').Strategy
GitHubStrategy = require('passport-github').Strategy
GoogleStrategy = require('passport-google-oauth').OAuth2Strategy
User = ... |
[
{
"context": "ord = process.env.CALIPER_ADMIN_PASSWORD or randomstring.generate()\napi_key = process.env.CALIPER_API_KEY or random",
"end": 732,
"score": 0.5967064499855042,
"start": 717,
"tag": "PASSWORD",
"value": "string.generate"
},
{
"context": "message: \"Incorrect Username\" u... | src/app.coffee | ksmirenko/breakpad-server-openshift | 0 | path = require 'path'
express = require 'express'
expressSession = require 'express-session'
methodOverride = require 'method-override'
bodyParser = require 'body-parser'
passport = require 'passport'
passportLocal = require 'passport-local'
randomstring = require 'randomstring'
# local requirements
reader = require '... | 193754 | path = require 'path'
express = require 'express'
expressSession = require 'express-session'
methodOverride = require 'method-override'
bodyParser = require 'body-parser'
passport = require 'passport'
passportLocal = require 'passport-local'
randomstring = require 'randomstring'
# local requirements
reader = require '... | true | path = require 'path'
express = require 'express'
expressSession = require 'express-session'
methodOverride = require 'method-override'
bodyParser = require 'body-parser'
passport = require 'passport'
passportLocal = require 'passport-local'
randomstring = require 'randomstring'
# local requirements
reader = require '... |
[
{
"context": "ne) ->\n @uuid = uuid.v1()\n @rawToken = 'akuma'\n @token = bcrypt.hashSync(@rawToken, 8)\n ",
"end": 1383,
"score": 0.9242126941680908,
"start": 1378,
"tag": "PASSWORD",
"value": "akuma"
},
{
"context": "getDevice.yields null\n @sut @uuid, {name... | test/lib/updateDevice-spec.coffee | Christopheraburns/projecttelemetry | 0 | _ = require 'lodash'
uuid = require 'node-uuid'
bcrypt = require 'bcrypt'
TestDatabase = require '../test-database'
describe 'Update Device', ->
beforeEach (done) ->
@sut = require '../../lib/updateDevice'
@getDevice = sinon.stub()
@clearCache = sinon.stub()
@getGeo = sinon.s... | 92072 | _ = require 'lodash'
uuid = require 'node-uuid'
bcrypt = require 'bcrypt'
TestDatabase = require '../test-database'
describe 'Update Device', ->
beforeEach (done) ->
@sut = require '../../lib/updateDevice'
@getDevice = sinon.stub()
@clearCache = sinon.stub()
@getGeo = sinon.s... | true | _ = require 'lodash'
uuid = require 'node-uuid'
bcrypt = require 'bcrypt'
TestDatabase = require '../test-database'
describe 'Update Device', ->
beforeEach (done) ->
@sut = require '../../lib/updateDevice'
@getDevice = sinon.stub()
@clearCache = sinon.stub()
@getGeo = sinon.s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.