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": "# @author Gianluigi Mango\n# Handle Image API\nImageModel = require './../mod",
"end": 25,
"score": 0.9998636245727539,
"start": 10,
"tag": "NAME",
"value": "Gianluigi Mango"
}
] | dev/server/api/handler/imageHandler.coffee | knickatheart/mean-api | 0 | # @author Gianluigi Mango
# Handle Image API
ImageModel = require './../model/imageModel'
Notify = require './../utils/Notifier'
module.exports = class imageHandler
# Check if there is an active session
constructor: (@req) ->
@imageModel = new ImageModel
getProfileImage: (path, res) ->
@imageModel.getProfileIm... | 19183 | # @author <NAME>
# Handle Image API
ImageModel = require './../model/imageModel'
Notify = require './../utils/Notifier'
module.exports = class imageHandler
# Check if there is an active session
constructor: (@req) ->
@imageModel = new ImageModel
getProfileImage: (path, res) ->
@imageModel.getProfileImage path[... | true | # @author PI:NAME:<NAME>END_PI
# Handle Image API
ImageModel = require './../model/imageModel'
Notify = require './../utils/Notifier'
module.exports = class imageHandler
# Check if there is an active session
constructor: (@req) ->
@imageModel = new ImageModel
getProfileImage: (path, res) ->
@imageModel.getProf... |
[
{
"context": "#\n# Author: Peter K. Lee (peter@corenova.com)\n#\n# All rights reserved. Thi",
"end": 24,
"score": 0.9998719692230225,
"start": 12,
"tag": "NAME",
"value": "Peter K. Lee"
},
{
"context": "#\n# Author: Peter K. Lee (peter@corenova.com)\n#\n# All rights reserved. This pr... | source/spec/promise-intents.coffee | hashnfv/hashnfv-promise | 0 | #
# Author: Peter K. Lee (peter@corenova.com)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
module.exports =
'create-... | 54534 | #
# Author: <NAME> (<EMAIL>)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
module.exports =
'create-reservation':
... | true | #
# Author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
module.exports ... |
[
{
"context": "hirdSortAttr: -> 'group'\n\ndataset = [\n {name: 'foo', type: 'exploit', group: 1}\n {name: 'foo",
"end": 278,
"score": 0.5810300707817078,
"start": 275,
"tag": "NAME",
"value": "foo"
},
{
"context": "foo', type: 'adware', group: 1}\n {name: 'zardoz'... | mixins/models/client-sorted.spec.coffee | kpunith8/gringotts | 0 | import Chaplin from 'chaplin'
import ClientSorted from './client-sorted'
class MockClientSorted extends ClientSorted Chaplin.Collection
secondSortOrder: -> 'asc'
secondSortAttr: -> 'type'
thirdSortOrder: -> 'asc'
thirdSortAttr: -> 'group'
dataset = [
{name: 'foo', type: 'exploit', group: 1}
{na... | 147540 | import Chaplin from 'chaplin'
import ClientSorted from './client-sorted'
class MockClientSorted extends ClientSorted Chaplin.Collection
secondSortOrder: -> 'asc'
secondSortAttr: -> 'type'
thirdSortOrder: -> 'asc'
thirdSortAttr: -> 'group'
dataset = [
{name: '<NAME>', type: 'exploit', group: 1}
... | true | import Chaplin from 'chaplin'
import ClientSorted from './client-sorted'
class MockClientSorted extends ClientSorted Chaplin.Collection
secondSortOrder: -> 'asc'
secondSortAttr: -> 'type'
thirdSortOrder: -> 'asc'
thirdSortAttr: -> 'group'
dataset = [
{name: 'PI:NAME:<NAME>END_PI', type: 'exploit', ... |
[
{
"context": "###\n# grunt/custom/min.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Define our min",
"end": 52,
"score": 0.9993854761123657,
"start": 41,
"tag": "NAME",
"value": "Dan Nichols"
}
] | grunt/custom/min.coffee | dlnichols/h_media | 0 | ###
# grunt/custom/min.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Define our min configuration block for grunt
###
'use strict'
module.exports =
# Reads HTML for usemin blocks to enable smart builds that automatically
# concat, minify and revision files. Creates configurations in memory so
... | 177259 | ###
# grunt/custom/min.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Define our min configuration block for grunt
###
'use strict'
module.exports =
# Reads HTML for usemin blocks to enable smart builds that automatically
# concat, minify and revision files. Creates configurations in memory so
# add... | true | ###
# grunt/custom/min.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Define our min configuration block for grunt
###
'use strict'
module.exports =
# Reads HTML for usemin blocks to enable smart builds that automatically
# concat, minify and revision files. Creates configurations in mem... |
[
{
"context": "foreEach ->\n user = new App.User(firstName: \"Lance\")\n \n test 'boolean', (done) ->\n asse",
"end": 7160,
"score": 0.9989073276519775,
"start": 7155,
"tag": "NAME",
"value": "Lance"
},
{
"context": "foreEach ->\n user = App.User.build(firstName: ... | test/cases/model/shared/attributesTest.coffee | jivagoalves/tower | 1 | attr = Tower.ModelAttribute
describe 'attributes', ->
describe 'class', ->
test 'type: "Id"', ->
field = App.BaseModel.fields().id
assert.equal field.type, "Id"
test 'type: "Integer" without default', ->
field = App.BaseModel.fields().likeCountWithoutDefault
assert.equal field... | 164523 | attr = Tower.ModelAttribute
describe 'attributes', ->
describe 'class', ->
test 'type: "Id"', ->
field = App.BaseModel.fields().id
assert.equal field.type, "Id"
test 'type: "Integer" without default', ->
field = App.BaseModel.fields().likeCountWithoutDefault
assert.equal field... | true | attr = Tower.ModelAttribute
describe 'attributes', ->
describe 'class', ->
test 'type: "Id"', ->
field = App.BaseModel.fields().id
assert.equal field.type, "Id"
test 'type: "Integer" without default', ->
field = App.BaseModel.fields().likeCountWithoutDefault
assert.equal field... |
[
{
"context": "###\n@license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.\nFor licensing, see LICENSE.",
"end": 67,
"score": 0.9911263585090637,
"start": 50,
"tag": "NAME",
"value": "Frederico Knabben"
}
] | app/assets/javascripts/ckeditor/plugins/adv_link/plugin.js.coffee | brandleadership/kuhsaft | 2 | ###
@license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
###
CKEDITOR.plugins.add "adv_link",
requires: "dialog,fakeobjects"
lang: "en,es,fr,it" # %REMOVE_LINE_CORE%
icons: "anchor,anchor-rtl,link,unlink" # %REMOVE_LINE_... | 105351 | ###
@license Copyright (c) 2003-2013, CKSource - <NAME>. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
###
CKEDITOR.plugins.add "adv_link",
requires: "dialog,fakeobjects"
lang: "en,es,fr,it" # %REMOVE_LINE_CORE%
icons: "anchor,anchor-rtl,link,unlink" # %REMOVE_LINE_CORE%
hid... | true | ###
@license Copyright (c) 2003-2013, CKSource - PI:NAME:<NAME>END_PI. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
###
CKEDITOR.plugins.add "adv_link",
requires: "dialog,fakeobjects"
lang: "en,es,fr,it" # %REMOVE_LINE_CORE%
icons: "anchor,anchor-rtl,link,unlink" # %REMOVE_LI... |
[
{
"context": "s-sdk')\n AWS.config.update\n accessKeyId: 'foo'\n secretAccessKey: 'bar'\n s3 = new AWS.S3",
"end": 1729,
"score": 0.9109450578689575,
"start": 1726,
"tag": "KEY",
"value": "foo"
},
{
"context": "\n accessKeyId: 'foo'\n secretAccessKey: 'bar'\... | lib/foobar.coffee | derekderaps/foobar | 1 | FoobarView = require './foobar-view'
{CompositeDisposable} = require 'atom'
module.exports = Foobar =
foobarView: null
modalPanel: null
subscriptions: null
activate: (state) ->
@foobarView = new FoobarView(state.foobarViewState)
@modalPanel = atom.workspace.addModalPanel(item: @foobarView.getElement()... | 192789 | FoobarView = require './foobar-view'
{CompositeDisposable} = require 'atom'
module.exports = Foobar =
foobarView: null
modalPanel: null
subscriptions: null
activate: (state) ->
@foobarView = new FoobarView(state.foobarViewState)
@modalPanel = atom.workspace.addModalPanel(item: @foobarView.getElement()... | true | FoobarView = require './foobar-view'
{CompositeDisposable} = require 'atom'
module.exports = Foobar =
foobarView: null
modalPanel: null
subscriptions: null
activate: (state) ->
@foobarView = new FoobarView(state.foobarViewState)
@modalPanel = atom.workspace.addModalPanel(item: @foobarView.getElement()... |
[
{
"context": " type: 'alphanumeric'\n }\n {\n field: 'filler'\n startPos: 166\n endPos: 177\n ",
"end": 3575,
"score": 0.9922643899917603,
"start": 3569,
"tag": "NAME",
"value": "filler"
},
{
"context": " type: 'alphanumeric'\n }\n {\n fie... | coffee/layout/HSBC/Pagamento/Pagamento.coffee | s2way/cnab240-nodejs | 10 | module.exports = [
{
field: 'banco'
startPos: 1
endPos: 3
length: 3
required: true
default: 399
}
{
field: 'lote'
startPos: 4
endPos: 7
length: 4
required: true
default: '0000'
}
{
field: 'registr... | 82082 | module.exports = [
{
field: 'banco'
startPos: 1
endPos: 3
length: 3
required: true
default: 399
}
{
field: 'lote'
startPos: 4
endPos: 7
length: 4
required: true
default: '0000'
}
{
field: 'registr... | true | module.exports = [
{
field: 'banco'
startPos: 1
endPos: 3
length: 3
required: true
default: 399
}
{
field: 'lote'
startPos: 4
endPos: 7
length: 4
required: true
default: '0000'
}
{
field: 'registr... |
[
{
"context": "cl from \"@dashkite/tweetnacl\"\n\nsignature = do ({\n alice\n bob\n mallory\n plaintext\n message\n declarati",
"end": 141,
"score": 0.989715039730072,
"start": 136,
"tag": "NAME",
"value": "alice"
},
{
"context": "\"@dashkite/tweetnacl\"\n\nsignature = do ({\n ... | test/signature.coffee | pandastrike/panda-confidential | 0 | import assert from "@dashkite/assert"
import { test } from "@dashkite/amen"
import nacl from "@dashkite/tweetnacl"
signature = do ({
alice
bob
mallory
plaintext
message
declaration
payload
} = {}) ->
($) ->
[
await test "generate signature key pair", ->
alice = await $.Signat... | 56355 | import assert from "@dashkite/assert"
import { test } from "@dashkite/amen"
import nacl from "@dashkite/tweetnacl"
signature = do ({
<NAME>
<NAME>
<NAME>
plaintext
message
declaration
payload
} = {}) ->
($) ->
[
await test "generate signature key pair", ->
alice = await $.Sig... | true | import assert from "@dashkite/assert"
import { test } from "@dashkite/amen"
import nacl from "@dashkite/tweetnacl"
signature = do ({
PI:NAME:<NAME>END_PI
PI:NAME:<NAME>END_PI
PI:NAME:<NAME>END_PI
plaintext
message
declaration
payload
} = {}) ->
($) ->
[
await test "generate signature... |
[
{
"context": " 1.1)\n# \t package: 'SMD'\n# \tSTEPPER:\n# \t name: 'STEPPER'\n# \t dimension: 'angle'\n# \t channels: \n# \t \tsp",
"end": 1647,
"score": 0.6345316171646118,
"start": 1640,
"tag": "NAME",
"value": "STEPPER"
}
] | src/choreographer/app/assets/javascripts/aesthetic_actuation/levels/Actuator/ActuatorSpecs.js.coffee | Hybrid-Ecologies/a-conversation-with-actuators | 0 | # _.extend(window,
# v10bit_actuator:
# range:
# min: 0
# max: 255
# resolution: 1
# speed_actuator:
# range:
# min: 0
# max: 10
# resolution: 1
# param_actuator:
# range:
# min: 0
# max: 1
# resolution: 0.01
# v360_actuator:
# range:
# min: 0
# max: 360... | 71856 | # _.extend(window,
# v10bit_actuator:
# range:
# min: 0
# max: 255
# resolution: 1
# speed_actuator:
# range:
# min: 0
# max: 10
# resolution: 1
# param_actuator:
# range:
# min: 0
# max: 1
# resolution: 0.01
# v360_actuator:
# range:
# min: 0
# max: 360... | true | # _.extend(window,
# v10bit_actuator:
# range:
# min: 0
# max: 255
# resolution: 1
# speed_actuator:
# range:
# min: 0
# max: 10
# resolution: 1
# param_actuator:
# range:
# min: 0
# max: 1
# resolution: 0.01
# v360_actuator:
# range:
# min: 0
# max: 360... |
[
{
"context": "r)\nrequire './passport'\n\napp = koa()\n\napp.keys = [FOOSNET_SESSION_SECRET ? 'FoosballIsTopSecret']\n\napp\n .use require('koa",
"end": 184,
"score": 0.7905556559562683,
"start": 162,
"tag": "KEY",
"value": "FOOSNET_SESSION_SECRET"
},
{
"context": "pp = koa()\n\napp... | server/src/app.coffee | burtonjc/foosnet | 1 | koa = require 'koa'
passport = require 'koa-passport'
router = require('koa-router')()
require('./routes')(router)
require './passport'
app = koa()
app.keys = [FOOSNET_SESSION_SECRET ? 'FoosballIsTopSecret']
app
.use require('koa-render')("#{__dirname}/../views", 'jade')
.use require('koa-static')("#{__dirname}/... | 202364 | koa = require 'koa'
passport = require 'koa-passport'
router = require('koa-router')()
require('./routes')(router)
require './passport'
app = koa()
app.keys = [<KEY> ? '<KEY>']
app
.use require('koa-render')("#{__dirname}/../views", 'jade')
.use require('koa-static')("#{__dirname}/../../client/src")
.use requi... | true | koa = require 'koa'
passport = require 'koa-passport'
router = require('koa-router')()
require('./routes')(router)
require './passport'
app = koa()
app.keys = [PI:KEY:<KEY>END_PI ? 'PI:KEY:<KEY>END_PI']
app
.use require('koa-render')("#{__dirname}/../views", 'jade')
.use require('koa-static')("#{__dirname}/../..... |
[
{
"context": "\n * Implementation copied from https://github.com/gruntjs/grunt-cli\n * and modified for naspi.\n *\n * https:",
"end": 60,
"score": 0.9919029474258423,
"start": 53,
"tag": "USERNAME",
"value": "gruntjs"
},
{
"context": "b.com/wonderweblabs/naspi\n *\n * Copyright (c) ... | lib/file/file_util.coffee | wonderweblabs/naspi | 0 | ###
* Implementation copied from https://github.com/gruntjs/grunt-cli
* and modified for naspi.
*
* https://github.com/wonderweblabs/naspi
*
* Copyright (c) 2015 Sascha Hillig, wonderweblabs, contributors
* Licensed under the MIT license.
* https://github.com/wonderweblabs/naspi/blob/master/LICENSE
*
###
_ ... | 214307 | ###
* Implementation copied from https://github.com/gruntjs/grunt-cli
* and modified for naspi.
*
* https://github.com/wonderweblabs/naspi
*
* Copyright (c) 2015 <NAME>, wonderweblabs, contributors
* Licensed under the MIT license.
* https://github.com/wonderweblabs/naspi/blob/master/LICENSE
*
###
_ =... | true | ###
* Implementation copied from https://github.com/gruntjs/grunt-cli
* and modified for naspi.
*
* https://github.com/wonderweblabs/naspi
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI, wonderweblabs, contributors
* Licensed under the MIT license.
* https://github.com/wonderweblabs/naspi/blob/master/LICENSE
*
##... |
[
{
"context": " unused parameters', ->\n params = {userid: 'u1', x: '2', 'your email': 'test@example.org'}\n ",
"end": 2454,
"score": 0.621391236782074,
"start": 2453,
"tag": "USERNAME",
"value": "1"
},
{
"context": " params = {userid: 'u1', x: '2', 'your email': 'test@exam... | app/test/shared/path.coffee | smnth90/Stocks | 0 | app = require '../../app'
{pathRaw, pathFor} = app.locals.path
describe 'path', ->
describe '#pathRaw', ->
it 'should parse all verbs', ->
pathFor('index').should.equal '/'
pathRaw('user.index').should.equal '/users'
pathRaw('user.new').should.equal '/users/new'
pathRaw('user.create').sh... | 58218 | app = require '../../app'
{pathRaw, pathFor} = app.locals.path
describe 'path', ->
describe '#pathRaw', ->
it 'should parse all verbs', ->
pathFor('index').should.equal '/'
pathRaw('user.index').should.equal '/users'
pathRaw('user.new').should.equal '/users/new'
pathRaw('user.create').sh... | true | app = require '../../app'
{pathRaw, pathFor} = app.locals.path
describe 'path', ->
describe '#pathRaw', ->
it 'should parse all verbs', ->
pathFor('index').should.equal '/'
pathRaw('user.index').should.equal '/users'
pathRaw('user.new').should.equal '/users/new'
pathRaw('user.create').sh... |
[
{
"context": "ters')\n newParams = {}\n paramKeys = ['author_id', 'milestone_title', 'assignee_id', 'issue_search",
"end": 2173,
"score": 0.5633128881454468,
"start": 2171,
"tag": "KEY",
"value": "id"
}
] | app/assets/javascripts/issuable.js.coffee | denzuko-forked/gitlab-on-heroku | 8 | @Issuable =
init: ->
Issuable.initTemplates()
Issuable.initSearch()
initTemplates: ->
Issuable.labelRow = _.template(
'<% _.each(labels, function(label){ %>
<span class="label-row">
<a href="#"><span class="label color-label has-tooltip" style="background-color: <%= label.color ... | 81357 | @Issuable =
init: ->
Issuable.initTemplates()
Issuable.initSearch()
initTemplates: ->
Issuable.labelRow = _.template(
'<% _.each(labels, function(label){ %>
<span class="label-row">
<a href="#"><span class="label color-label has-tooltip" style="background-color: <%= label.color ... | true | @Issuable =
init: ->
Issuable.initTemplates()
Issuable.initSearch()
initTemplates: ->
Issuable.labelRow = _.template(
'<% _.each(labels, function(label){ %>
<span class="label-row">
<a href="#"><span class="label color-label has-tooltip" style="background-color: <%= label.color ... |
[
{
"context": "`:tea:`\n#\n# Dependencies:\n# none\n#\n# Author:\n# fundor333\n\nteaEmoji = process.env.HUBOT_TEA_TIMER_EMOJI or ",
"end": 530,
"score": 0.9996843338012695,
"start": 521,
"tag": "USERNAME",
"value": "fundor333"
},
{
"context": "e.user.name\n room = msg.message.use... | scripts/tea-timer.coffee | fundor333/hubot-tea-timer | 0 | # Description:
# Hubot will handle your tea timer needs
#
# Commands:
# hubot tea start <minute> - start a tea timer
# hubot tea stop - stop a tea timer
# hubot tea info - show info about the current tea timer
# hubot tea mine - show info about all of my current tea timers
# hubot tea all - show all the tea... | 193924 | # Description:
# Hubot will handle your tea timer needs
#
# Commands:
# hubot tea start <minute> - start a tea timer
# hubot tea stop - stop a tea timer
# hubot tea info - show info about the current tea timer
# hubot tea mine - show info about all of my current tea timers
# hubot tea all - show all the tea... | true | # Description:
# Hubot will handle your tea timer needs
#
# Commands:
# hubot tea start <minute> - start a tea timer
# hubot tea stop - stop a tea timer
# hubot tea info - show info about the current tea timer
# hubot tea mine - show info about all of my current tea timers
# hubot tea all - show all the tea... |
[
{
"context": ") ->\n res.json([{type: 'bulldozer', name: 'willy'}])\n )\n\n dredd = new Dredd({\n op",
"end": 429,
"score": 0.9716455936431885,
"start": 424,
"tag": "NAME",
"value": "willy"
},
{
"context": "runtimeInfo.server.requests), ['/machines?api-key=234... | test/integration/regressions/regression-152-test.coffee | DMG-Cloud-Services/dmg-dredd | 1 | {assert} = require('chai')
Dredd = require('../../../src/dredd')
{runDreddWithServer, createServer} = require('../helpers')
describe('Regression: Issue #152', ->
describe('Modify transaction object inside beforeAll combined with beforeEach helper', ->
runtimeInfo = undefined
beforeEach((done) ->
app... | 108115 | {assert} = require('chai')
Dredd = require('../../../src/dredd')
{runDreddWithServer, createServer} = require('../helpers')
describe('Regression: Issue #152', ->
describe('Modify transaction object inside beforeAll combined with beforeEach helper', ->
runtimeInfo = undefined
beforeEach((done) ->
app... | true | {assert} = require('chai')
Dredd = require('../../../src/dredd')
{runDreddWithServer, createServer} = require('../helpers')
describe('Regression: Issue #152', ->
describe('Modify transaction object inside beforeAll combined with beforeEach helper', ->
runtimeInfo = undefined
beforeEach((done) ->
app... |
[
{
"context": "id operation in transaction\n <https://github.com/fhirbase/fhirbase-plv8/issues/125>\n\n Hi!\n\n Tested on v",
"end": 263,
"score": 0.9966672658920288,
"start": 255,
"tag": "USERNAME",
"value": "fhirbase"
},
{
"context": "base-plv8/issues/125>\n\n Hi!\n\n Teste... | test/integration/issues/125_get_is_recognized_as_invalid_operation_in_transaction_spec.coffee | micabe/fhirbase | 0 | plv8 = require('../../../plpl/src/plv8')
assert = require('assert')
describe 'Issues', ->
before ->
plv8.execute("SET plv8.start_proc = 'plv8_init'")
###
Issue #125
GET is recognized as invalid operation in transaction
<https://github.com/fhirbase/fhirbase-plv8/issues/125>
Hi!
Tested on v1.3.0.2... | 110961 | plv8 = require('../../../plpl/src/plv8')
assert = require('assert')
describe 'Issues', ->
before ->
plv8.execute("SET plv8.start_proc = 'plv8_init'")
###
Issue #125
GET is recognized as invalid operation in transaction
<https://github.com/fhirbase/fhirbase-plv8/issues/125>
Hi!
Tested on v1.3.0.2... | true | plv8 = require('../../../plpl/src/plv8')
assert = require('assert')
describe 'Issues', ->
before ->
plv8.execute("SET plv8.start_proc = 'plv8_init'")
###
Issue #125
GET is recognized as invalid operation in transaction
<https://github.com/fhirbase/fhirbase-plv8/issues/125>
Hi!
Tested on v1.3.0.2... |
[
{
"context": "DE_ENV is 'production' then 'mongodb://nodejitsu:1d4fb321f6375e4882f107c4d69f61d8@staff.mongohq.com:10",
"end": 336,
"score": 0.633442223072052,
"start": 334,
"tag": "EMAIL",
"value": "d4"
},
{
"context": " is 'production' then 'mongodb://nodejitsu:1d4fb321f6375e4882f10... | config.coffee | wearefractal/chanjs | 1 | module.exports =
app:
port: process.env.PORT or 8080
images:
location: __dirname + '/store/'
maxsize: '3mb'
thumbnails:
original:
height: 250
width: 250
reply:
height: 150
width: 150
mongo:
host: (if process.env.NODE_ENV is 'production' then 'mongodb... | 59934 | module.exports =
app:
port: process.env.PORT or 8080
images:
location: __dirname + '/store/'
maxsize: '3mb'
thumbnails:
original:
height: 250
width: 250
reply:
height: 150
width: 150
mongo:
host: (if process.env.NODE_ENV is 'production' then 'mongodb... | true | module.exports =
app:
port: process.env.PORT or 8080
images:
location: __dirname + '/store/'
maxsize: '3mb'
thumbnails:
original:
height: 250
width: 250
reply:
height: 150
width: 150
mongo:
host: (if process.env.NODE_ENV is 'production' then 'mongodb... |
[
{
"context": "###\nmanager.coffee\nCopyright (C) 2014 ender xu <xuender@gmail.com>\n\nDistributed under terms of t",
"end": 46,
"score": 0.9997145533561707,
"start": 38,
"tag": "NAME",
"value": "ender xu"
},
{
"context": "###\nmanager.coffee\nCopyright (C) 2014 ender xu <xuender@gmai... | src/web/cs/manager.coffee | xuender/mindfulness | 0 | ###
manager.coffee
Copyright (C) 2014 ender xu <xuender@gmail.com>
Distributed under terms of the MIT license.
###
app.config(['$stateProvider', '$urlRouterProvider',
($stateProvider, $urlRouterProvider)->
$urlRouterProvider.otherwise("/count")
$stateProvider
.state('count',
url: '/count'
templateU... | 94230 | ###
manager.coffee
Copyright (C) 2014 <NAME> <<EMAIL>>
Distributed under terms of the MIT license.
###
app.config(['$stateProvider', '$urlRouterProvider',
($stateProvider, $urlRouterProvider)->
$urlRouterProvider.otherwise("/count")
$stateProvider
.state('count',
url: '/count'
templateUrl: 'partial... | true | ###
manager.coffee
Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Distributed under terms of the MIT license.
###
app.config(['$stateProvider', '$urlRouterProvider',
($stateProvider, $urlRouterProvider)->
$urlRouterProvider.otherwise("/count")
$stateProvider
.state('count',
url: '/count... |
[
{
"context": "est a dialog', ->\n data = {\n emails:['x1@y.z', 'x2@y.z', 'x3@y.z'],\n open:true,\n ",
"end": 1967,
"score": 0.9975609183311462,
"start": 1961,
"tag": "EMAIL",
"value": "x1@y.z"
},
{
"context": "og', ->\n data = {\n emails:['x1@y.z'... | test/test-material-ui.coffee | taijiweb/domcom | 138 | {expect, iit, idescribe, nit, ndescribe} = require 'bdd-test-helper'
{normalizeItem, normalizeDomElement} = require 'dc-util'
import React, {Component} from 'react'
import ReactDom from 'react-dom'
dc.addReactProxy React, ReactDom, Component
import Button from '@material-ui/core/Button'
import Avatar from '@materia... | 124201 | {expect, iit, idescribe, nit, ndescribe} = require 'bdd-test-helper'
{normalizeItem, normalizeDomElement} = require 'dc-util'
import React, {Component} from 'react'
import ReactDom from 'react-dom'
dc.addReactProxy React, ReactDom, Component
import Button from '@material-ui/core/Button'
import Avatar from '@materia... | true | {expect, iit, idescribe, nit, ndescribe} = require 'bdd-test-helper'
{normalizeItem, normalizeDomElement} = require 'dc-util'
import React, {Component} from 'react'
import ReactDom from 'react-dom'
dc.addReactProxy React, ReactDom, Component
import Button from '@material-ui/core/Button'
import Avatar from '@materia... |
[
{
"context": " username: https basic auth username\n# password: https basic auth password\n# apiToken: socrata api token\n#\n# emitterOpts",
"end": 181,
"score": 0.970838189125061,
"start": 156,
"tag": "PASSWORD",
"value": "https basic auth password"
},
{
"context": "se\n # ... | node_modules/soda-js/src/soda-js.coffee | ri5t3ai/data.medicare.gov-api-tests | 0 | # soda.coffee -- chained, evented, buzzworded library for accessing SODA via JS.
# sodaOpts options:
# username: https basic auth username
# password: https basic auth password
# apiToken: socrata api token
#
# emitterOpts: options to override EventEmitter2 declaration options
# TODO:
# * we're inconsiste... | 204331 | # soda.coffee -- chained, evented, buzzworded library for accessing SODA via JS.
# sodaOpts options:
# username: https basic auth username
# password: <PASSWORD>
# apiToken: socrata api token
#
# emitterOpts: options to override EventEmitter2 declaration options
# TODO:
# * we're inconsistent about valida... | true | # soda.coffee -- chained, evented, buzzworded library for accessing SODA via JS.
# sodaOpts options:
# username: https basic auth username
# password: PI:PASSWORD:<PASSWORD>END_PI
# apiToken: socrata api token
#
# emitterOpts: options to override EventEmitter2 declaration options
# TODO:
# * we're inconsi... |
[
{
"context": "-v.x # Flip the sign of either the X or Y (edit by adam.wulf)\n\n # Normalize that perpendicular\n l",
"end": 2939,
"score": 0.8419632315635681,
"start": 2937,
"tag": "USERNAME",
"value": "ad"
},
{
"context": "x # Flip the sign of either the X or Y (edit by adam.w... | app/assets/javascripts/foliage/band.js.coffee | Aquaj/visualization-gem | 1 | class Foliage.Band
constructor: (@layer, @data, options = {}) ->
@items = []
property = @layer.reference
console.log "Property: ", property
previous = null
minValue = null
maxValue = null
for zone in @data
minValue ?= zone[property]
maxValue ?= zone[property]
minValue = ... | 46355 | class Foliage.Band
constructor: (@layer, @data, options = {}) ->
@items = []
property = @layer.reference
console.log "Property: ", property
previous = null
minValue = null
maxValue = null
for zone in @data
minValue ?= zone[property]
maxValue ?= zone[property]
minValue = ... | true | class Foliage.Band
constructor: (@layer, @data, options = {}) ->
@items = []
property = @layer.reference
console.log "Property: ", property
previous = null
minValue = null
maxValue = null
for zone in @data
minValue ?= zone[property]
maxValue ?= zone[property]
minValue = ... |
[
{
"context": "exports.config =\n\toptions_key: '##mypass_options##'\n\tsalt_key: '##salt##'\n\toptions:\n\t\tdefault:\n\t\t\t",
"end": 48,
"score": 0.700895369052887,
"start": 36,
"tag": "KEY",
"value": "pass_options"
}
] | src/lib/config.coffee | searchingforcode/mypass | 24 | exports.config =
options_key: '##mypass_options##'
salt_key: '##salt##'
options:
default:
nsym: 0
len: 16
gen: 1
hashes: 8
pw:
min_size: 8
max_size: 20
| 71350 | exports.config =
options_key: '##my<KEY>##'
salt_key: '##salt##'
options:
default:
nsym: 0
len: 16
gen: 1
hashes: 8
pw:
min_size: 8
max_size: 20
| true | exports.config =
options_key: '##myPI:KEY:<KEY>END_PI##'
salt_key: '##salt##'
options:
default:
nsym: 0
len: 16
gen: 1
hashes: 8
pw:
min_size: 8
max_size: 20
|
[
{
"context": "h.coffee: Github search class\n#\n# Copyright © 2013 Pavan Kumar Sunkara. All rights reserved\n#\n\n# Requiring modules\n\n# In",
"end": 79,
"score": 0.9998437762260437,
"start": 60,
"tag": "NAME",
"value": "Pavan Kumar Sunkara"
}
] | src/octonode/search.coffee | troupe/octonode | 0 | #
# search.coffee: Github search class
#
# Copyright © 2013 Pavan Kumar Sunkara. All rights reserved
#
# Requiring modules
# Initiate class
class Search
constructor: (@client) ->
# Search issues
issues: (repo, state, keyword, cb) ->
state = 'open' if state isnt 'closed'
@client.get "/legacy/issues/sea... | 192781 | #
# search.coffee: Github search class
#
# Copyright © 2013 <NAME>. All rights reserved
#
# Requiring modules
# Initiate class
class Search
constructor: (@client) ->
# Search issues
issues: (repo, state, keyword, cb) ->
state = 'open' if state isnt 'closed'
@client.get "/legacy/issues/search/#{repo}/#... | true | #
# search.coffee: Github search class
#
# Copyright © 2013 PI:NAME:<NAME>END_PI. All rights reserved
#
# Requiring modules
# Initiate class
class Search
constructor: (@client) ->
# Search issues
issues: (repo, state, keyword, cb) ->
state = 'open' if state isnt 'closed'
@client.get "/legacy/issues/se... |
[
{
"context": "nning the required server (see https://github.com/shaundon/hubot-osx-control)\n#\n# Commands:\n# hubot <trigg",
"end": 194,
"score": 0.9996247887611389,
"start": 186,
"tag": "USERNAME",
"value": "shaundon"
},
{
"context": "\n# hubot party - Starts a party.\n#\n# Aut... | osx-control.coffee | shaundon/hubot-osx-control | 3 | # Description
# Allows Hubot to control a remote OS X machine.
# For this script to work, you must have a remote OS X machine
# running the required server (see https://github.com/shaundon/hubot-osx-control)
#
# Commands:
# hubot <trigger> - <what the respond trigger does>
# <trigger> - <what the hear trigger... | 177429 | # Description
# Allows Hubot to control a remote OS X machine.
# For this script to work, you must have a remote OS X machine
# running the required server (see https://github.com/shaundon/hubot-osx-control)
#
# Commands:
# hubot <trigger> - <what the respond trigger does>
# <trigger> - <what the hear trigger... | true | # Description
# Allows Hubot to control a remote OS X machine.
# For this script to work, you must have a remote OS X machine
# running the required server (see https://github.com/shaundon/hubot-osx-control)
#
# Commands:
# hubot <trigger> - <what the respond trigger does>
# <trigger> - <what the hear trigger... |
[
{
"context": "ml')\n\n selfRoom = @room\n selfRoom.user.say('alice', '@hubot news')\n setTimeout(() ->\n try\n ",
"end": 1365,
"score": 0.9669504165649414,
"start": 1360,
"tag": "USERNAME",
"value": "alice"
},
{
"context": " expect(selfRoom.messages).to.eql [\n ... | test/nashville-news-slack-test.coffee | stephenyeargin/hubot-nashville-news | 1 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper [
'adapters/slack.coffee',
'../src/nashville-news.coffee'
]
describe 'nashville-news slack', ->
beforeEach ->
@room = helper.createRoom()
nock.disableNetConnect()
nock('https:... | 74491 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper [
'adapters/slack.coffee',
'../src/nashville-news.coffee'
]
describe 'nashville-news slack', ->
beforeEach ->
@room = helper.createRoom()
nock.disableNetConnect()
nock('https:... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper [
'adapters/slack.coffee',
'../src/nashville-news.coffee'
]
describe 'nashville-news slack', ->
beforeEach ->
@room = helper.createRoom()
nock.disableNetConnect()
nock('https:... |
[
{
"context": "l: \"photos\"\n @datum name: \"firstName\", value: \"Cameron\", prompt: \"First Name\"\n @datum name: \"lastName",
"end": 249,
"score": 0.9994573593139648,
"start": 242,
"tag": "NAME",
"value": "Cameron"
},
{
"context": "\"First Name\"\n @datum name: \"lastName... | test/views/variables.coffee | collection-json/cscj | 1 |
@collection ->
@error code: "404", message: "This is a test"
@href site
@link href: site, rel: "index"
@item ->
@href "#{site}/people/1"
@link href: "#{site}/1/photos", rel: "photos"
@datum name: "firstName", value: "Cameron", prompt: "First Name"
@datum name: "lastName", value: "Bytheway",... | 223089 |
@collection ->
@error code: "404", message: "This is a test"
@href site
@link href: site, rel: "index"
@item ->
@href "#{site}/people/1"
@link href: "#{site}/1/photos", rel: "photos"
@datum name: "firstName", value: "<NAME>", prompt: "First Name"
@datum name: "lastName", value: "<NAME>", pr... | true |
@collection ->
@error code: "404", message: "This is a test"
@href site
@link href: site, rel: "index"
@item ->
@href "#{site}/people/1"
@link href: "#{site}/1/photos", rel: "photos"
@datum name: "firstName", value: "PI:NAME:<NAME>END_PI", prompt: "First Name"
@datum name: "lastName", value... |
[
{
"context": "scription: config.productName\n CompanyName: 'yhatt'\n LegalCopyright: ''\n OriginalFilename: \"#{",
"end": 769,
"score": 0.6643137335777283,
"start": 766,
"tag": "NAME",
"value": "att"
}
] | gulpfile.coffee | SuperV1234/marp | 25 | module.exports = gulp = require('gulp')
$ = do require('gulp-load-plugins')
config = require('./package.json')
del = require('del')
packager = require('electron-packager')
runSequence = require('run-sequence')
Path = require('path')
extend = require('extend')
mkdirp = require... | 167343 | module.exports = gulp = require('gulp')
$ = do require('gulp-load-plugins')
config = require('./package.json')
del = require('del')
packager = require('electron-packager')
runSequence = require('run-sequence')
Path = require('path')
extend = require('extend')
mkdirp = require... | true | module.exports = gulp = require('gulp')
$ = do require('gulp-load-plugins')
config = require('./package.json')
del = require('del')
packager = require('electron-packager')
runSequence = require('run-sequence')
Path = require('path')
extend = require('extend')
mkdirp = require... |
[
{
"context": " for the language (\"js\", \"php\", \"c\", etc.)\nname: 'Crusader Kings 2' # The title that will show up in grammar selecti",
"end": 135,
"score": 0.994425356388092,
"start": 119,
"tag": "NAME",
"value": "Crusader Kings 2"
}
] | grammars/language-ck2.cson | Seraaron/paradox-ck3-syntax | 0 | scopeName: 'source.ck2' # <scope> should be a short, unique indicator for the language ("js", "php", "c", etc.)
name: 'Crusader Kings 2' # The title that will show up in grammar selection and on your status bar.
fileTypes: [ # An array of file extensions.
'txt'
'ck2'
]
limitLineLength: false
patterns: [
# { inclu... | 224677 | scopeName: 'source.ck2' # <scope> should be a short, unique indicator for the language ("js", "php", "c", etc.)
name: '<NAME>' # The title that will show up in grammar selection and on your status bar.
fileTypes: [ # An array of file extensions.
'txt'
'ck2'
]
limitLineLength: false
patterns: [
# { include: '#clau... | true | scopeName: 'source.ck2' # <scope> should be a short, unique indicator for the language ("js", "php", "c", etc.)
name: 'PI:NAME:<NAME>END_PI' # The title that will show up in grammar selection and on your status bar.
fileTypes: [ # An array of file extensions.
'txt'
'ck2'
]
limitLineLength: false
patterns: [
# { i... |
[
{
"context": "te two great Heroes.\n zeratul = new Unit name: 'Zeratul', status: 'alive'\n zeratul.stats = new Stats a",
"end": 1385,
"score": 0.9964188933372498,
"start": 1378,
"tag": "NAME",
"value": "Zeratul"
},
{
"context": "e: 300, shield: 100\n\n tassadar = new Unit name:... | examples/basics.coffee | wanbok/mongo-model | 1 | # Basic example for [Model](model.html).
#
# In this example we'll create simple Model and examine basic CRUD and
# querying operations.
_ = require 'underscore'
Model = require 'mongo-model'
# Enabling optional [synchronous](synchronous.html) mode.
require 'mongo-model/lib/sync'
sync = ->
# Connecting to defaul... | 224129 | # Basic example for [Model](model.html).
#
# In this example we'll create simple Model and examine basic CRUD and
# querying operations.
_ = require 'underscore'
Model = require 'mongo-model'
# Enabling optional [synchronous](synchronous.html) mode.
require 'mongo-model/lib/sync'
sync = ->
# Connecting to defaul... | true | # Basic example for [Model](model.html).
#
# In this example we'll create simple Model and examine basic CRUD and
# querying operations.
_ = require 'underscore'
Model = require 'mongo-model'
# Enabling optional [synchronous](synchronous.html) mode.
require 'mongo-model/lib/sync'
sync = ->
# Connecting to defaul... |
[
{
"context": "89,43.215686,17,0.00,0.00/320x320@2x?access_token=pk.eyJ1IjoiYXVzdGluaGFsbG9jayIsImEiOiJjam50azRkM3EwdW11M3Bwa3JhZmpwd25yIn0.s77eqcPCfwJ3NnPX7UvMpg\n\nmodule.exports = class PlaceInfo extends Base\n ",
"end": 1090,
"score": 0.9994896054267883,
"start": 993,
"tag": "KEY",
"valu... | src/components/place_info/index.coffee | FreeRoamApp/free-roam | 14 | z = require 'zorium'
_map = require 'lodash/map'
_isEmpty = require 'lodash/isEmpty'
_filter = require 'lodash/filter'
_kebabCase = require 'lodash/kebabCase'
Base = require '../base'
ActionBox = require '../place_info_action_box'
CellBars = require '../cell_bars'
Contact = require '../place_info_contact'
Icon = requi... | 35968 | z = require 'zorium'
_map = require 'lodash/map'
_isEmpty = require 'lodash/isEmpty'
_filter = require 'lodash/filter'
_kebabCase = require 'lodash/kebabCase'
Base = require '../base'
ActionBox = require '../place_info_action_box'
CellBars = require '../cell_bars'
Contact = require '../place_info_contact'
Icon = requi... | true | z = require 'zorium'
_map = require 'lodash/map'
_isEmpty = require 'lodash/isEmpty'
_filter = require 'lodash/filter'
_kebabCase = require 'lodash/kebabCase'
Base = require '../base'
ActionBox = require '../place_info_action_box'
CellBars = require '../cell_bars'
Contact = require '../place_info_contact'
Icon = requi... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.997357189655304,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "[\n \"s_client\"\n \"-quiet\"\n \"-connect\"\n \"127.0.0.1:\" + common.PORT\n \"... | test/simple/test-https-foafssl.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 86357 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": ":#{email}'>#{email}</a>\"\n @model.set email: 'john.doe@example.com'\n expect($el.find('a').length).toBe 1\n ",
"end": 1818,
"score": 0.9999170303344727,
"start": 1798,
"tag": "EMAIL",
"value": "john.doe@example.com"
},
{
"context": ").toBe 1\n expec... | test/baconbone_model_view_test.coffee | Mumakil/baconbone | 1 | class SampleModelView extends Baconbone.ModelView
modelEvents:
'sampleEvent': 'handleEvent'
domBindings:
'#name': 'name'
handleEvent: ->
# Trigger event with this context as argument
@trigger 'eventHandled', this
renderTemplate: (data) ->
"<span id='name'>#{data.name}</span><span id='email'>... | 174947 | class SampleModelView extends Baconbone.ModelView
modelEvents:
'sampleEvent': 'handleEvent'
domBindings:
'#name': 'name'
handleEvent: ->
# Trigger event with this context as argument
@trigger 'eventHandled', this
renderTemplate: (data) ->
"<span id='name'>#{data.name}</span><span id='email'>... | true | class SampleModelView extends Baconbone.ModelView
modelEvents:
'sampleEvent': 'handleEvent'
domBindings:
'#name': 'name'
handleEvent: ->
# Trigger event with this context as argument
@trigger 'eventHandled', this
renderTemplate: (data) ->
"<span id='name'>#{data.name}</span><span id='email'>... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.998619794845581,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "result\n# in an assertion error...\nopts =\n host: \"127.0.0.1\"\n port: null\n path: \"/\"\... | test/simple/test-http-agent-false.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 9197 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "lish custom events to ZADATA MQTT service\n\n@author Zvi Avraham <zvi-AT-zadata-DOT-com>\n@copyright 2014 ZADATA Lt",
"end": 93,
"score": 0.9998469352722168,
"start": 82,
"tag": "NAME",
"value": "Zvi Avraham"
},
{
"context": "= \"your MQTT username on ZADATA\"\nMQTT_PWD... | index.coffee | zadata/mqtt-client-lambda | 4 | ###
AWS Lambda function to publish custom events to ZADATA MQTT service
@author Zvi Avraham <zvi-AT-zadata-DOT-com>
@copyright 2014 ZADATA Ltd. All Rights Reserved.
###
mqtt = require('mqtt')
MQTT_HOST = "mqtt.zadata.com"
MQTT_PORT = 1883
MQTT_USER = "your MQTT username on ZADATA"
MQTT_PWD = "your ... | 33975 | ###
AWS Lambda function to publish custom events to ZADATA MQTT service
@author <NAME> <zvi-AT-zadata-DOT-com>
@copyright 2014 ZADATA Ltd. All Rights Reserved.
###
mqtt = require('mqtt')
MQTT_HOST = "mqtt.zadata.com"
MQTT_PORT = 1883
MQTT_USER = "your MQTT username on ZADATA"
MQTT_PWD = "<PASSWORD>... | true | ###
AWS Lambda function to publish custom events to ZADATA MQTT service
@author PI:NAME:<NAME>END_PI <zvi-AT-zadata-DOT-com>
@copyright 2014 ZADATA Ltd. All Rights Reserved.
###
mqtt = require('mqtt')
MQTT_HOST = "mqtt.zadata.com"
MQTT_PORT = 1883
MQTT_USER = "your MQTT username on ZADATA"
MQTT_PWD ... |
[
{
"context": "->\n window.team = teamsnap.createTeam\n name: 'Test Team'\n sportId: 1\n planId: 30\n locationCountr",
"end": 73,
"score": 0.9222338199615479,
"start": 64,
"tag": "NAME",
"value": "Test Team"
}
] | test/setup.coffee | teamsnap/teamsnap-javascript-sdk | 9 | before (done) ->
window.team = teamsnap.createTeam
name: 'Test Team'
sportId: 1
planId: 30
locationCountry: 'United States'
locationPostalCode: 80302
timeZone: 'America/Denver'
mocha.checkLeaks()
teamsnap.saveTeam team, done
after (done) ->
teamsnap.deleteTeam team, done
| 42528 | before (done) ->
window.team = teamsnap.createTeam
name: '<NAME>'
sportId: 1
planId: 30
locationCountry: 'United States'
locationPostalCode: 80302
timeZone: 'America/Denver'
mocha.checkLeaks()
teamsnap.saveTeam team, done
after (done) ->
teamsnap.deleteTeam team, done
| true | before (done) ->
window.team = teamsnap.createTeam
name: 'PI:NAME:<NAME>END_PI'
sportId: 1
planId: 30
locationCountry: 'United States'
locationPostalCode: 80302
timeZone: 'America/Denver'
mocha.checkLeaks()
teamsnap.saveTeam team, done
after (done) ->
teamsnap.deleteTeam team, done
|
[
{
"context": "ink it does you can request a takedown by emailing help@openaccessbutton.org.'\n\n meta =\n title: pa",
"end": 3861,
"score": 0.9947507381439209,
"start": 3857,
"tag": "EMAIL",
"value": "help"
},
{
"context": "not exists?.zenodo?.already or dev)\n bcc = ['j... | worker/src/deposit.coffee | oaworks/api | 0 |
# need listing of deposits and deposited for each user ID
# and/or given a uid, find the most recent URL that this users uid submitted a deposit for
# need to handle old/new user configs somehow - just store all the old ones and let the UI pick them up
# make sure all users submit the config with the incoming query (f... | 115373 |
# need listing of deposits and deposited for each user ID
# and/or given a uid, find the most recent URL that this users uid submitted a deposit for
# need to handle old/new user configs somehow - just store all the old ones and let the UI pick them up
# make sure all users submit the config with the incoming query (f... | true |
# need listing of deposits and deposited for each user ID
# and/or given a uid, find the most recent URL that this users uid submitted a deposit for
# need to handle old/new user configs somehow - just store all the old ones and let the UI pick them up
# make sure all users submit the config with the incoming query (f... |
[
{
"context": "ct_tag\", ->\n equal select_tag(\"people\", \"<option>david</option>\"), \n '<select id=\"people\" name=\"p",
"end": 1990,
"score": 0.9937288761138916,
"start": 1985,
"tag": "NAME",
"value": "david"
},
{
"context": " '<select id=\"people\" name=\"people\">... | test/javascripts/tests/helpers/form_tag_test.js.coffee | evrone/ultimate-helpers | 2 | #= require ultimate/underscore/underscore
#= require ultimate/underscore/underscore.string
#= require ultimate/underscore/underscore.outcasts
#= require ultimate/helpers/form_tag
module "Ultimate.Helpers.FormTag"
_.extend @, Ultimate.Helpers.FormTag
hidden_fields = (options = {}) ->
method = options['method']
tx... | 94024 | #= require ultimate/underscore/underscore
#= require ultimate/underscore/underscore.string
#= require ultimate/underscore/underscore.outcasts
#= require ultimate/helpers/form_tag
module "Ultimate.Helpers.FormTag"
_.extend @, Ultimate.Helpers.FormTag
hidden_fields = (options = {}) ->
method = options['method']
tx... | true | #= require ultimate/underscore/underscore
#= require ultimate/underscore/underscore.string
#= require ultimate/underscore/underscore.outcasts
#= require ultimate/helpers/form_tag
module "Ultimate.Helpers.FormTag"
_.extend @, Ultimate.Helpers.FormTag
hidden_fields = (options = {}) ->
method = options['method']
tx... |
[
{
"context": " ###\n ctrl = @\n ctrl.LANG_KEY = 'HOME_FEATURE'\n\n ###*\n * Methods\n ###\n\n\n ###*\n ",
"end": 290,
"score": 0.9858036041259766,
"start": 278,
"tag": "KEY",
"value": "HOME_FEATURE"
}
] | demo/src/app/features/home/controller.coffee | TimeoutZero/ng-filters-masks | 0 |
# =============================================
# Module
# =============================================
angular.module "ngFiltersMasks.controllers"
.controller "HomeController", ($scope) ->
###*
* Basic Atributes
###
ctrl = @
ctrl.LANG_KEY = 'HOME_FEATURE'
###*
* Methods
... | 202653 |
# =============================================
# Module
# =============================================
angular.module "ngFiltersMasks.controllers"
.controller "HomeController", ($scope) ->
###*
* Basic Atributes
###
ctrl = @
ctrl.LANG_KEY = '<KEY>'
###*
* Methods
###
... | true |
# =============================================
# Module
# =============================================
angular.module "ngFiltersMasks.controllers"
.controller "HomeController", ($scope) ->
###*
* Basic Atributes
###
ctrl = @
ctrl.LANG_KEY = 'PI:KEY:<KEY>END_PI'
###*
* Metho... |
[
{
"context": " }\n }\n {\n id: 'Give gold for blacksmith'\n action: {\n type: \"giveGold",
"end": 7978,
"score": 0.568008542060852,
"start": 7973,
"tag": "NAME",
"value": "black"
},
{
"context": " time: 0\n }\n }\n {\n i... | game/lib/game/modules/tutorial-manager.coffee | towerstorm/game | 11 | KEY = require("../../engine/keys.coffee")
config = require("config/general")
gameMsg = require("config/game-messages")
_ = require("lodash")
class TutorialManager
constructor: ->
@reset()
begin: ->
if ts.game.settings.mode != config.modes.tutorial
return false
if ts.input?
ts.input.bi... | 51347 | KEY = require("../../engine/keys.coffee")
config = require("config/general")
gameMsg = require("config/game-messages")
_ = require("lodash")
class TutorialManager
constructor: ->
@reset()
begin: ->
if ts.game.settings.mode != config.modes.tutorial
return false
if ts.input?
ts.input.bi... | true | KEY = require("../../engine/keys.coffee")
config = require("config/general")
gameMsg = require("config/game-messages")
_ = require("lodash")
class TutorialManager
constructor: ->
@reset()
begin: ->
if ts.game.settings.mode != config.modes.tutorial
return false
if ts.input?
ts.input.bi... |
[
{
"context": "\"\"\"\nProject Ukko\nhttps://github.com/MoritzStefaner/project-ukko-os\n(c) by Moritz Stefaner and Domini",
"end": 50,
"score": 0.999696671962738,
"start": 36,
"tag": "USERNAME",
"value": "MoritzStefaner"
},
{
"context": "//github.com/MoritzStefaner/project-ukko-os\n(c... | www/src/coffee/main.coffee | MoritzStefaner/project-ukko-os | 2 | """
Project Ukko
https://github.com/MoritzStefaner/project-ukko-os
(c) by Moritz Stefaner and Dominikus Baur, 2015-2016
"""
svg = null
data = null
map = null
maxRPSS = 0
maxPower = 0
YEARS = [0,0]
cellSlices = []
SELECTION_COLOR = 0xFD6784
renderer = new PIXI.CanvasRenderer(document.body.clientWidth, document.body.... | 64411 | """
Project Ukko
https://github.com/MoritzStefaner/project-ukko-os
(c) by <NAME> and <NAME>, 2015-2016
"""
svg = null
data = null
map = null
maxRPSS = 0
maxPower = 0
YEARS = [0,0]
cellSlices = []
SELECTION_COLOR = 0xFD6784
renderer = new PIXI.CanvasRenderer(document.body.clientWidth, document.body.clientHeight, {
... | true | """
Project Ukko
https://github.com/MoritzStefaner/project-ukko-os
(c) by PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI, 2015-2016
"""
svg = null
data = null
map = null
maxRPSS = 0
maxPower = 0
YEARS = [0,0]
cellSlices = []
SELECTION_COLOR = 0xFD6784
renderer = new PIXI.CanvasRenderer(document.body.clientWidth, doc... |
[
{
"context": "ts\n TODO fix on travis\n\n###\n\ncreds = {\n email: 'teacher@example.com',\n password: 'password'\n}\n\npasswordClassName = '",
"end": 87,
"score": 0.9999116659164429,
"start": 68,
"tag": "EMAIL",
"value": "teacher@example.com"
},
{
"context": " = {\n email: 'teach... | test/spec/integration/profile/signin_test.coffee | JulianMiller/opened.io | 1 | ###
Sign in tests
TODO fix on travis
###
creds = {
email: 'teacher@example.com',
password: 'password'
}
passwordClassName = '.ts-signin-password';
emailClassName = '.ts-signin-email';
buttonClassName = '.ts-signin-signinButton'
profileLinkClassName = '.ts-profileButton'
module 'Sign in',
setup: ->
... | 56843 | ###
Sign in tests
TODO fix on travis
###
creds = {
email: '<EMAIL>',
password: '<PASSWORD>'
}
passwordClassName = '.ts-signin-password';
emailClassName = '.ts-signin-email';
buttonClassName = '.ts-signin-signinButton'
profileLinkClassName = '.ts-profileButton'
module 'Sign in',
setup: ->
Em.run ... | true | ###
Sign in tests
TODO fix on travis
###
creds = {
email: 'PI:EMAIL:<EMAIL>END_PI',
password: 'PI:PASSWORD:<PASSWORD>END_PI'
}
passwordClassName = '.ts-signin-password';
emailClassName = '.ts-signin-email';
buttonClassName = '.ts-signin-signinButton'
profileLinkClassName = '.ts-profileButton'
module '... |
[
{
"context": ") ->\n en = hello('en').say()\n t.equal(en, 'Hello John Doe!')\n\n en = hello('en').say('Tom')\n t.equal(en, '",
"end": 120,
"score": 0.9993274211883545,
"start": 112,
"tag": "NAME",
"value": "John Doe"
},
{
"context": "l(en, 'Hello John Doe!')\n\n en = hello('en')... | test/hello.coffee | toshiyukihina/hello-node-module | 0 | hello = require('../')
test = require('tape')
test 'say', (t) ->
en = hello('en').say()
t.equal(en, 'Hello John Doe!')
en = hello('en').say('Tom')
t.equal(en, 'Hello Tom!')
ja = hello('ja').say()
t.equal(ja, 'こんにちわ、名無しさん!')
ja = hello('ja').say('やまだ')
t.equal(ja, 'こんにちわ、やまださん!')
unknown = hello('... | 93798 | hello = require('../')
test = require('tape')
test 'say', (t) ->
en = hello('en').say()
t.equal(en, 'Hello <NAME>!')
en = hello('en').say('<NAME>')
t.equal(en, 'Hello <NAME>!')
ja = hello('ja').say()
t.equal(ja, 'こんにちわ、名無しさん!')
ja = hello('ja').say('やまだ')
t.equal(ja, 'こんにちわ、やまださん!')
unknown = hel... | true | hello = require('../')
test = require('tape')
test 'say', (t) ->
en = hello('en').say()
t.equal(en, 'Hello PI:NAME:<NAME>END_PI!')
en = hello('en').say('PI:NAME:<NAME>END_PI')
t.equal(en, 'Hello PI:NAME:<NAME>END_PI!')
ja = hello('ja').say()
t.equal(ja, 'こんにちわ、名無しさん!')
ja = hello('ja').say('やまだ')
t.... |
[
{
"context": "749edcd0a554bd94e301c651\",\n \"authorName\": \"Bee Wilkerson\",\n \"relativeDate\": \"6 days ago\",\n \"",
"end": 429,
"score": 0.9998543858528137,
"start": 416,
"tag": "NAME",
"value": "Bee Wilkerson"
},
{
"context": "me) ->\n format = (\"\"\"{... | src/darcs-log-utils.coffee | whitslar/darcs-log-utils | 0 |
ChildProcess = require "child_process"
Path = require "path"
Fs = require "fs"
_ = require('underscore')
moment = require('moment')
module.exports = class DarcsLogUtils
###
returns an array of javascript objects representing the commits that effected the requested file
with line stats, that looks like ... | 114192 |
ChildProcess = require "child_process"
Path = require "path"
Fs = require "fs"
_ = require('underscore')
moment = require('moment')
module.exports = class DarcsLogUtils
###
returns an array of javascript objects representing the commits that effected the requested file
with line stats, that looks like ... | true |
ChildProcess = require "child_process"
Path = require "path"
Fs = require "fs"
_ = require('underscore')
moment = require('moment')
module.exports = class DarcsLogUtils
###
returns an array of javascript objects representing the commits that effected the requested file
with line stats, that looks like ... |
[
{
"context": " Limit to one expression per line in JSX\n# @author Mark Ivan Allen <Vydia.com>\n###\n\n'use strict'\n\ndocsUrl = require ",
"end": 86,
"score": 0.9998250007629395,
"start": 71,
"tag": "NAME",
"value": "Mark Ivan Allen"
}
] | src/rules/jsx-one-expression-per-line.coffee | helixbass/eslint-plugin-coffee | 21 | ###*
# @fileoverview Limit to one expression per line in JSX
# @author Mark Ivan Allen <Vydia.com>
###
'use strict'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ------------------------------------------------------------------------------
# Rule Definition
# -------------------------------------------... | 34217 | ###*
# @fileoverview Limit to one expression per line in JSX
# @author <NAME> <Vydia.com>
###
'use strict'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ------------------------------------------------------------------------------
# Rule Definition
# ----------------------------------------------------... | true | ###*
# @fileoverview Limit to one expression per line in JSX
# @author PI:NAME:<NAME>END_PI <Vydia.com>
###
'use strict'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ------------------------------------------------------------------------------
# Rule Definition
# --------------------------------------... |
[
{
"context": " = require('pgp-utils')\n{fingerprint_to_key_id_64,fpeq,athrow,base64u} = pgp_utils.util\n{userid} = pgp_u",
"end": 195,
"score": 0.7003877758979797,
"start": 191,
"tag": "KEY",
"value": "fpeq"
},
{
"context": "quire('pgp-utils')\n{fingerprint_to_key_id_64,fpeq,athrow,b... | node_modules/gpg-wrapper/src/keyring.iced | flickerfly/node-installer | 1 |
{GPG,gpg} = require './gpg'
{chain,make_esc} = require 'iced-error'
{mkdir_p} = require('iced-utils').fs
{prng} = require 'crypto'
pgp_utils = require('pgp-utils')
{fingerprint_to_key_id_64,fpeq,athrow,base64u} = pgp_utils.util
{userid} = pgp_utils
{E} = require './err'
path = require 'path'
fs = require 'fs'
{colgrep... | 72691 |
{GPG,gpg} = require './gpg'
{chain,make_esc} = require 'iced-error'
{mkdir_p} = require('iced-utils').fs
{prng} = require 'crypto'
pgp_utils = require('pgp-utils')
{fingerprint_to_key_id_64,<KEY>,<KEY>,base64u} = pgp_utils.util
{userid} = pgp_utils
{E} = require './err'
path = require 'path'
fs = require 'fs'
{colgrep... | true |
{GPG,gpg} = require './gpg'
{chain,make_esc} = require 'iced-error'
{mkdir_p} = require('iced-utils').fs
{prng} = require 'crypto'
pgp_utils = require('pgp-utils')
{fingerprint_to_key_id_64,PI:KEY:<KEY>END_PI,PI:KEY:<KEY>END_PI,base64u} = pgp_utils.util
{userid} = pgp_utils
{E} = require './err'
path = require 'path'
... |
[
{
"context": " skippable>\n <oui-field label=\"Firstname\" size=\"xl\">\n <input class=\"oui-i",
"end": 1043,
"score": 0.8446648120880127,
"start": 1034,
"tag": "NAME",
"value": "Firstname"
},
{
"context": " skippable>\n <oui-fie... | snippets/oui-stepper.cson | antleblanc/atom-ovh-ui-kit-snippets | 2 | '.text.html':
'oui-stepper':
'prefix': 'oui-stepper'
'body': """
<oui-stepper
on-init="$ctrl.${1:onInit()}"
on-finish="$ctrl.${2:onFinish(forms)}">
<oui-step-form
name="${3:step1}"
header="${4:Step 1}"
description="${5:This is a des... | 181914 | '.text.html':
'oui-stepper':
'prefix': 'oui-stepper'
'body': """
<oui-stepper
on-init="$ctrl.${1:onInit()}"
on-finish="$ctrl.${2:onFinish(forms)}">
<oui-step-form
name="${3:step1}"
header="${4:Step 1}"
description="${5:This is a des... | true | '.text.html':
'oui-stepper':
'prefix': 'oui-stepper'
'body': """
<oui-stepper
on-init="$ctrl.${1:onInit()}"
on-finish="$ctrl.${2:onFinish(forms)}">
<oui-step-form
name="${3:step1}"
header="${4:Step 1}"
description="${5:This is a des... |
[
{
"context": " @request.end.args[0][0](null, { body: { id: 'craig', foo: 'baz' } })\n @request.end.args[1][0](n",
"end": 483,
"score": 0.9191600680351257,
"start": 478,
"tag": "NAME",
"value": "craig"
},
{
"context": "', (done) ->\n user = new Backbone.Model({ id: 'craig'... | test/passport/serializers.coffee | eessex/artsy-passport | 0 | Backbone = require 'backbone'
rewire = require 'rewire'
sinon = require 'sinon'
{ serialize, deserialize } = mod = rewire '../../lib/passport/serializers'
describe '#serialize', ->
beforeEach ->
@request = {}
@request.get = sinon.stub().returns @request
@request.set = sinon.stub().returns @request
@... | 142769 | Backbone = require 'backbone'
rewire = require 'rewire'
sinon = require 'sinon'
{ serialize, deserialize } = mod = rewire '../../lib/passport/serializers'
describe '#serialize', ->
beforeEach ->
@request = {}
@request.get = sinon.stub().returns @request
@request.set = sinon.stub().returns @request
@... | true | Backbone = require 'backbone'
rewire = require 'rewire'
sinon = require 'sinon'
{ serialize, deserialize } = mod = rewire '../../lib/passport/serializers'
describe '#serialize', ->
beforeEach ->
@request = {}
@request.get = sinon.stub().returns @request
@request.set = sinon.stub().returns @request
@... |
[
{
"context": "ctions'\n format: 'ids'\n key: req.resourceId\n error: (err) ->\n next ne",
"end": 11854,
"score": 0.8291565775871277,
"start": 11840,
"tag": "KEY",
"value": "req.resourceId"
}
] | src/routes.coffee | usgin/metadata-server | 0 | couch = require './couch-config'
utils = require './utils'
_ = require 'underscore'
schemas = require './schemas'
errors = require './errors'
fs = require 'fs'
request = require 'request'
da = require './data-access'
xml2json = require 'xml2json'
csv2json = require './csv2json'
### THESE ARE ALL THE ROUTE MIDDLEWARE... | 26112 | couch = require './couch-config'
utils = require './utils'
_ = require 'underscore'
schemas = require './schemas'
errors = require './errors'
fs = require 'fs'
request = require 'request'
da = require './data-access'
xml2json = require 'xml2json'
csv2json = require './csv2json'
### THESE ARE ALL THE ROUTE MIDDLEWARE... | true | couch = require './couch-config'
utils = require './utils'
_ = require 'underscore'
schemas = require './schemas'
errors = require './errors'
fs = require 'fs'
request = require 'request'
da = require './data-access'
xml2json = require 'xml2json'
csv2json = require './csv2json'
### THESE ARE ALL THE ROUTE MIDDLEWARE... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994358420372009,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stdout-stderr-reading.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 149051 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "Password: process.env.JINKIES_API_PASSWORD || \"password\"\n organization: process.env.JINKIES_ORGANIZATIO",
"end": 487,
"score": 0.9986112713813782,
"start": 479,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ssCallback, failureCallback) ->\n if usernam... | src/app.coffee | atmos/jinkies | 3 | Fs = require "fs"
Auth = require "connect-auth"
Path = require "path"
User = require "user"
Express = require "express"
app = Express.createServer()
Config =
scope: "email,offline_access"
appId: process.env.GITHUB_CLIENT_ID
appSecret: process.env.GITHUB_CLIENT_SECRET
cal... | 181855 | Fs = require "fs"
Auth = require "connect-auth"
Path = require "path"
User = require "user"
Express = require "express"
app = Express.createServer()
Config =
scope: "email,offline_access"
appId: process.env.GITHUB_CLIENT_ID
appSecret: process.env.GITHUB_CLIENT_SECRET
cal... | true | Fs = require "fs"
Auth = require "connect-auth"
Path = require "path"
User = require "user"
Express = require "express"
app = Express.createServer()
Config =
scope: "email,offline_access"
appId: process.env.GITHUB_CLIENT_ID
appSecret: process.env.GITHUB_CLIENT_SECRET
cal... |
[
{
"context": "#\n# Copyright 2012 Sami Hangaslammi\n#\n# The cached.js library is licensed under the M",
"end": 35,
"score": 0.9998562932014465,
"start": 19,
"tag": "NAME",
"value": "Sami Hangaslammi"
}
] | app/assets/javascripts/cached.js.coffee | ayystudentunion/hhj | 0 | #
# Copyright 2012 Sami Hangaslammi
#
# The cached.js library is licensed under the MIT license
# http://www.opensource.org/licenses/mit-license.html
#
cache =
json: {}
dom: {}
html: {}
@cached =
getJSON: (url, callback) ->
future = cache.json[url]
if future?
future.get callback
else
... | 96598 | #
# Copyright 2012 <NAME>
#
# The cached.js library is licensed under the MIT license
# http://www.opensource.org/licenses/mit-license.html
#
cache =
json: {}
dom: {}
html: {}
@cached =
getJSON: (url, callback) ->
future = cache.json[url]
if future?
future.get callback
else
future = n... | true | #
# Copyright 2012 PI:NAME:<NAME>END_PI
#
# The cached.js library is licensed under the MIT license
# http://www.opensource.org/licenses/mit-license.html
#
cache =
json: {}
dom: {}
html: {}
@cached =
getJSON: (url, callback) ->
future = cache.json[url]
if future?
future.get callback
else
... |
[
{
"context": "ests.mostRecent()\n response_data = [{\"name\":\"Jacob\"}, {\"name\":\"Joshua\"}, {\"name\":\"Jayden\"}]\n re",
"end": 3057,
"score": 0.9996109008789062,
"start": 3052,
"tag": "NAME",
"value": "Jacob"
},
{
"context": " response_data = [{\"name\":\"Jacob\"... | spec/javascripts/settings.spec.coffee | GerHobbelt/At.js | 0 | describe "settings", ->
$inputor = null
app = null
controller = null
callbacks = null
beforeEach ->
loadFixtures("inputors.html")
$inputor = $("#inputor").atwho at: "@", data: fixtures["names"]
app = getAppOf $inputor
controller = app.controller()
callbacks = $.fn.atwho.default.callbacks... | 192416 | describe "settings", ->
$inputor = null
app = null
controller = null
callbacks = null
beforeEach ->
loadFixtures("inputors.html")
$inputor = $("#inputor").atwho at: "@", data: fixtures["names"]
app = getAppOf $inputor
controller = app.controller()
callbacks = $.fn.atwho.default.callbacks... | true | describe "settings", ->
$inputor = null
app = null
controller = null
callbacks = null
beforeEach ->
loadFixtures("inputors.html")
$inputor = $("#inputor").atwho at: "@", data: fixtures["names"]
app = getAppOf $inputor
controller = app.controller()
callbacks = $.fn.atwho.default.callbacks... |
[
{
"context": "#\n# jQuery Element Diff\n# https://github.com/ngs/jquery-elementDiff\n#\n# Copyright (c) 2013 Atsushi",
"end": 48,
"score": 0.9982630014419556,
"start": 45,
"tag": "USERNAME",
"value": "ngs"
},
{
"context": ".com/ngs/jquery-elementDiff\n#\n# Copyright (c) 2013 Atsushi ... | src/elementDiff.coffee | ngs/jquery-elementDiff | 2 | #
# jQuery Element Diff
# https://github.com/ngs/jquery-elementDiff
#
# Copyright (c) 2013 Atsushi Nagase
# Licensed under the MIT license.
#
(($) ->
"use strict"
LF = "\n"
# console = window.console
map = $.map
extend = $.extend
inArray = $.inArray
merge = $.merge
trim = $.trim
duplicate... | 30409 | #
# jQuery Element Diff
# https://github.com/ngs/jquery-elementDiff
#
# Copyright (c) 2013 <NAME>
# Licensed under the MIT license.
#
(($) ->
"use strict"
LF = "\n"
# console = window.console
map = $.map
extend = $.extend
inArray = $.inArray
merge = $.merge
trim = $.trim
duplicate = (obje... | true | #
# jQuery Element Diff
# https://github.com/ngs/jquery-elementDiff
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
#
(($) ->
"use strict"
LF = "\n"
# console = window.console
map = $.map
extend = $.extend
inArray = $.inArray
merge = $.merge
trim = $.trim
dup... |
[
{
"context": "Crypto = (require '../cryptojs').Crypto\nkey = '12345678'\nus = 'Hello, 世界!'\n\nmode = new Crypto.mode.ECB Cr",
"end": 55,
"score": 0.9996496438980103,
"start": 47,
"tag": "KEY",
"value": "12345678"
}
] | lib/cryptojs/test/test.coffee | c2vasu/c2vasu.github.io | 1 | Crypto = (require '../cryptojs').Crypto
key = '12345678'
us = 'Hello, 世界!'
mode = new Crypto.mode.ECB Crypto.pad.pkcs7
console.log "ub = #{ub = Crypto.charenc.UTF8.stringToBytes us}"
console.log "eb = #{eb = Crypto.DES.encrypt ub, key, {asBytes: true, mode: mode}}"
console.log "ehs= #{ehs= Crypto.util.bytesToHex eb}"... | 90911 | Crypto = (require '../cryptojs').Crypto
key = '<KEY>'
us = 'Hello, 世界!'
mode = new Crypto.mode.ECB Crypto.pad.pkcs7
console.log "ub = #{ub = Crypto.charenc.UTF8.stringToBytes us}"
console.log "eb = #{eb = Crypto.DES.encrypt ub, key, {asBytes: true, mode: mode}}"
console.log "ehs= #{ehs= Crypto.util.bytesToHex eb}"
c... | true | Crypto = (require '../cryptojs').Crypto
key = 'PI:KEY:<KEY>END_PI'
us = 'Hello, 世界!'
mode = new Crypto.mode.ECB Crypto.pad.pkcs7
console.log "ub = #{ub = Crypto.charenc.UTF8.stringToBytes us}"
console.log "eb = #{eb = Crypto.DES.encrypt ub, key, {asBytes: true, mode: mode}}"
console.log "ehs= #{ehs= Crypto.util.bytes... |
[
{
"context": "ion: google.maps.Animation.BOUNCE\n @iconKey = 'icon'\n @coordsKey = 'coords'\n @optionsKey = 'opt",
"end": 694,
"score": 0.945904552936554,
"start": 690,
"tag": "KEY",
"value": "icon"
},
{
"context": "on.BOUNCE\n @iconKey = 'icon'\n @coordsKey = 'coords'... | app/bower_components/angular-google-maps/spec/coffee/directives/api/models/child/marker-child-model.spec.coffee | itzamnamx/Front_end_TPV | 0 | describe 'uiGmapMarkerChildModel', ->
beforeEach ->
#define / inject values into the item we are testing... not a controller but it allows us to inject
angular.module('mockModule', ['uiGmapgoogle-maps'])
module('mockModule')
module('uiGmapgoogle-maps.mocks')
inject (GoogleApiMock) =>
@gmap =... | 20884 | describe 'uiGmapMarkerChildModel', ->
beforeEach ->
#define / inject values into the item we are testing... not a controller but it allows us to inject
angular.module('mockModule', ['uiGmapgoogle-maps'])
module('mockModule')
module('uiGmapgoogle-maps.mocks')
inject (GoogleApiMock) =>
@gmap =... | true | describe 'uiGmapMarkerChildModel', ->
beforeEach ->
#define / inject values into the item we are testing... not a controller but it allows us to inject
angular.module('mockModule', ['uiGmapgoogle-maps'])
module('mockModule')
module('uiGmapgoogle-maps.mocks')
inject (GoogleApiMock) =>
@gmap =... |
[
{
"context": "Gulp task compileAssets\n@create 2014-10-07\n@author KoutarouYabe <idolm@ster.pw>\n###\n\nmodule.exports = (gulp, plug",
"end": 67,
"score": 0.9998936057090759,
"start": 55,
"tag": "NAME",
"value": "KoutarouYabe"
},
{
"context": "leAssets\n@create 2014-10-07\n@author Ko... | tasks/register/compileAssets.coffee | moorvin/Sea-Fight | 1 | ###
Gulp task compileAssets
@create 2014-10-07
@author KoutarouYabe <idolm@ster.pw>
###
module.exports = (gulp, plugins)->
gulp.task 'compileAssets', (cb)->
plugins.sequence(
'clean',
['bower', 'coffee', 'sass', 'copy', 'concat:template'],
'concat:js',
['uglify:js', 'concat:css', 'images'... | 173286 | ###
Gulp task compileAssets
@create 2014-10-07
@author <NAME> <<EMAIL>>
###
module.exports = (gulp, plugins)->
gulp.task 'compileAssets', (cb)->
plugins.sequence(
'clean',
['bower', 'coffee', 'sass', 'copy', 'concat:template'],
'concat:js',
['uglify:js', 'concat:css', 'images'],
cb
... | true | ###
Gulp task compileAssets
@create 2014-10-07
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
module.exports = (gulp, plugins)->
gulp.task 'compileAssets', (cb)->
plugins.sequence(
'clean',
['bower', 'coffee', 'sass', 'copy', 'concat:template'],
'concat:js',
['uglify:js', 'conc... |
[
{
"context": "key: 'escapes'\npatterns: [\n {\n match: '\\\\\\\\.'\n name: 'es",
"end": 13,
"score": 0.9978331923484802,
"start": 6,
"tag": "KEY",
"value": "escapes"
}
] | grammars/repositories/inlines/escapes.cson | doc22940/language-markdown | 138 | key: 'escapes'
patterns: [
{
match: '\\\\.'
name: 'escape.constant.md'
}
]
| 73149 | key: '<KEY>'
patterns: [
{
match: '\\\\.'
name: 'escape.constant.md'
}
]
| true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
{
match: '\\\\.'
name: 'escape.constant.md'
}
]
|
[
{
"context": "quest 'byMailboxRequest',\n startkey: ['uid', @mailbox.id, @min]\n endkey: ['uid', ",
"end": 3473,
"score": 0.7790539264678955,
"start": 3470,
"tag": "KEY",
"value": "uid"
},
{
"context": " ['uid', @mailbox.id, @min]\n endkey: ['uid', @m... | server/processes/mailbox_refresh_deep.coffee | gelnior/cozy-emails | 58 | Process = require './_base'
safeLoop = require '../utils/safeloop'
async = require 'async'
log = require('../utils/logging')(prefix: 'process:box_refresh_deep')
{FETCH_AT_ONCE} = require '../utils/constants'
{RefreshError} = require '../utils/errors'
_ = require 'lodash'
Message = require '../models/message'
ramStore =... | 53411 | Process = require './_base'
safeLoop = require '../utils/safeloop'
async = require 'async'
log = require('../utils/logging')(prefix: 'process:box_refresh_deep')
{FETCH_AT_ONCE} = require '../utils/constants'
{RefreshError} = require '../utils/errors'
_ = require 'lodash'
Message = require '../models/message'
ramStore =... | true | Process = require './_base'
safeLoop = require '../utils/safeloop'
async = require 'async'
log = require('../utils/logging')(prefix: 'process:box_refresh_deep')
{FETCH_AT_ONCE} = require '../utils/constants'
{RefreshError} = require '../utils/errors'
_ = require 'lodash'
Message = require '../models/message'
ramStore =... |
[
{
"context": "usted for day\"\n return\n\n # railway._apikey = '16113';\n\n railway.setApikey = (_apikey) ->\n \t@_apikey",
"end": 382,
"score": 0.9962822198867798,
"start": 377,
"tag": "KEY",
"value": "16113"
}
] | lib/railway.coffee | sachinB94/railway-api | 10 | (->
request = require("request")
railway = {}
scanResponseCode = (responseCode, callback) ->
if responseCode is 200
callback null
else if responseCode is 401
callback "Error: Authentication error. Either your API key was invalid or you passed a wrong hash."
else
callback "Error: Quo... | 73822 | (->
request = require("request")
railway = {}
scanResponseCode = (responseCode, callback) ->
if responseCode is 200
callback null
else if responseCode is 401
callback "Error: Authentication error. Either your API key was invalid or you passed a wrong hash."
else
callback "Error: Quo... | true | (->
request = require("request")
railway = {}
scanResponseCode = (responseCode, callback) ->
if responseCode is 200
callback null
else if responseCode is 401
callback "Error: Authentication error. Either your API key was invalid or you passed a wrong hash."
else
callback "Error: Quo... |
[
{
"context": "extensions: [\n contentful\n access_token: '797b35a2fa11603bc5d440922383a89485e707c81582d518780069c998965c5f'\n space_id: '7vfiut035ckb'\n content_typ",
"end": 558,
"score": 0.9122723937034607,
"start": 494,
"tag": "KEY",
"value": "797b35a2fa11603bc5d440922383... | app.coffee | owentribe/pushmepresscom | 0 | axis = require 'axis'
rupture = require 'rupture'
autoprefixer = require 'autoprefixer-stylus'
contentful = require 'roots-contentful'
config = require './contentful'
marked = require 'marked'
module.exports =
ignores: [
'readme.md', '**/layout.*', '**/_*', '.gitignore', 'contentful.co... | 173889 | axis = require 'axis'
rupture = require 'rupture'
autoprefixer = require 'autoprefixer-stylus'
contentful = require 'roots-contentful'
config = require './contentful'
marked = require 'marked'
module.exports =
ignores: [
'readme.md', '**/layout.*', '**/_*', '.gitignore', 'contentful.co... | true | axis = require 'axis'
rupture = require 'rupture'
autoprefixer = require 'autoprefixer-stylus'
contentful = require 'roots-contentful'
config = require './contentful'
marked = require 'marked'
module.exports =
ignores: [
'readme.md', '**/layout.*', '**/_*', '.gitignore', 'contentful.co... |
[
{
"context": " scope.show 'form'\n scope.newRole.name = \"bob\"\n scope.saveRole {}, () ->\n expect(sc",
"end": 1316,
"score": 0.7138832807540894,
"start": 1313,
"tag": "NAME",
"value": "bob"
}
] | test/unit/client/controllers/roleSpec.coffee | valueflowquality/gi-security-update | 0 | describe 'Role Controller', ->
beforeEach angular.mock.module 'ngResource'
beforeEach angular.mock.module 'gi.security'
mockRoleService =
roles: [{name: 'aRole'}]
query: (callback) ->
callback(@roles) if callback
create: () ->
name: ''
destroy: (id, callback) ->
@roles = []
... | 210478 | describe 'Role Controller', ->
beforeEach angular.mock.module 'ngResource'
beforeEach angular.mock.module 'gi.security'
mockRoleService =
roles: [{name: 'aRole'}]
query: (callback) ->
callback(@roles) if callback
create: () ->
name: ''
destroy: (id, callback) ->
@roles = []
... | true | describe 'Role Controller', ->
beforeEach angular.mock.module 'ngResource'
beforeEach angular.mock.module 'gi.security'
mockRoleService =
roles: [{name: 'aRole'}]
query: (callback) ->
callback(@roles) if callback
create: () ->
name: ''
destroy: (id, callback) ->
@roles = []
... |
[
{
"context": " this project: pid123\n\nYour Record Key is invalid: f858a...ee7e1\n\nIt may have been recently revoked by you or anot",
"end": 8944,
"score": 0.9968353509902954,
"start": 8931,
"tag": "KEY",
"value": "f858a...ee7e1"
},
{
"context": " this project: pid123\n\nYour Record... | packages/server/__snapshots__/record_spec.coffee | GrantHiggins16/cypress | 2 | exports['e2e record passing passes 1'] = `
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 1.2.3 ... | 186737 | exports['e2e record passing passes 1'] = `
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 1.2.3 ... | true | exports['e2e record passing passes 1'] = `
====================================================================================================
(Run Starting)
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Cypress: 1.2.3 ... |
[
{
"context": " savedTokens are expired\n if savedTokens?[@clientId]?\n if (savedTokens[@clientId].accessEx",
"end": 1229,
"score": 0.724748969078064,
"start": 1220,
"tag": "USERNAME",
"value": "@clientId"
},
{
"context": ".now())\n _savedTokens = save... | pimatic-home-connect.coffee | bertreb/pimatic-home-connect | 2 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
M = env.matcher
_ = require('lodash')
Error = require('./error')(env)
Appliances = require('./appliances')(env)
HomeConnectAPI = require('./homeconnect_api.js')
storage = require 'node-persist'
class Homeconnec... | 170635 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
M = env.matcher
_ = require('lodash')
Error = require('./error')(env)
Appliances = require('./appliances')(env)
HomeConnectAPI = require('./homeconnect_api.js')
storage = require 'node-persist'
class Homeconnec... | true | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
M = env.matcher
_ = require('lodash')
Error = require('./error')(env)
Appliances = require('./appliances')(env)
HomeConnectAPI = require('./homeconnect_api.js')
storage = require 'node-persist'
class Homeconnec... |
[
{
"context": "q) =>\n Request\n key: \"req-#{req.domain}\"\n request: req\n ",
"end": 4227,
"score": 0.983928382396698,
"start": 4221,
"tag": "KEY",
"value": "req-#{"
},
{
"context": " Request\n key: \"req-#{r... | src/components/connect.coffee | brianshaler/kerplunk-p2p | 0 | _ = require 'lodash'
React = require 'react'
{DOM} = React
Request = React.createFactory React.createClass
handleFollow: (e) ->
e.preventDefault()
@props.onFollow @props.request.domain
handleIgnore: (e) ->
e.preventDefault()
@props.onIgnore @props.request.domain
render: ->
# requestedAt = ... | 189640 | _ = require 'lodash'
React = require 'react'
{DOM} = React
Request = React.createFactory React.createClass
handleFollow: (e) ->
e.preventDefault()
@props.onFollow @props.request.domain
handleIgnore: (e) ->
e.preventDefault()
@props.onIgnore @props.request.domain
render: ->
# requestedAt = ... | true | _ = require 'lodash'
React = require 'react'
{DOM} = React
Request = React.createFactory React.createClass
handleFollow: (e) ->
e.preventDefault()
@props.onFollow @props.request.domain
handleIgnore: (e) ->
e.preventDefault()
@props.onIgnore @props.request.domain
render: ->
# requestedAt = ... |
[
{
"context": ") ->\n <li data-id={discussion.id}\n key={discussion.id}\n draggable=\"true\"\n onDragEnd={@dra",
"end": 624,
"score": 0.8369374871253967,
"start": 611,
"tag": "KEY",
"value": "discussion.id"
}
] | app/talk/sticky-discussion-list.cjsx | alexbfree/Panoptes-Front-End | 0 | React = require 'react'
talkClient = require 'panoptes-client/lib/talk-client'
module.exports = React.createClass
displayName: 'StickyDiscussionList'
placeholder: ->
@placeholder or= document.getElementById("talk-sticky-placeholder")
@placeholder
getInitialState: ->
data: []
componentDidMount: -... | 146083 | React = require 'react'
talkClient = require 'panoptes-client/lib/talk-client'
module.exports = React.createClass
displayName: 'StickyDiscussionList'
placeholder: ->
@placeholder or= document.getElementById("talk-sticky-placeholder")
@placeholder
getInitialState: ->
data: []
componentDidMount: -... | true | React = require 'react'
talkClient = require 'panoptes-client/lib/talk-client'
module.exports = React.createClass
displayName: 'StickyDiscussionList'
placeholder: ->
@placeholder or= document.getElementById("talk-sticky-placeholder")
@placeholder
getInitialState: ->
data: []
componentDidMount: -... |
[
{
"context": "###\n * Copyright (c) 2015 naymspace software (Dennis Nissen)\n *\n * Licensed under the Apache License, Version",
"end": 59,
"score": 0.9998233914375305,
"start": 46,
"tag": "NAME",
"value": "Dennis Nissen"
}
] | grails-app/assets/javascripts/liveview.coffee | micaelamaria/ogumi-server | 1 | ###
* Copyright (c) 2015 naymspace software (Dennis Nissen)
*
* 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... | 217205 | ###
* Copyright (c) 2015 naymspace software (<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 applic... | true | ###
* Copyright (c) 2015 naymspace software (PI:NAME:<NAME>END_PI)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
[
{
"context": " Math.min(255,v+db)\n c.putImageData data,x,y\n\n#@DrawTool.tools.push new @BrightenTool()\n\nclass @Da",
"end": 4751,
"score": 0.5066381096839905,
"start": 4751,
"tag": "EMAIL",
"value": ""
},
{
"context": ".min(255,v+db)\n c.putImageData data,x,y\n\n#@DrawTool.t... | static/js/spriteeditor/drawtool.coffee | HomineLudens/microstudio | 511 | class @DrawTool
constructor:(@name,@icon)->
@parameters = {}
@hsymmetry = false
@vsymmetry = false
@tile = true
getSize:(sprite)->
if @parameters["Size"]
size = Math.min(sprite.width,sprite.height)*@parameters["Size"].value/100/2
size = 1+Math.floor(size/2)*2
else
1
sta... | 110947 | class @DrawTool
constructor:(@name,@icon)->
@parameters = {}
@hsymmetry = false
@vsymmetry = false
@tile = true
getSize:(sprite)->
if @parameters["Size"]
size = Math.min(sprite.width,sprite.height)*@parameters["Size"].value/100/2
size = 1+Math.floor(size/2)*2
else
1
sta... | true | class @DrawTool
constructor:(@name,@icon)->
@parameters = {}
@hsymmetry = false
@vsymmetry = false
@tile = true
getSize:(sprite)->
if @parameters["Size"]
size = Math.min(sprite.width,sprite.height)*@parameters["Size"].value/100/2
size = 1+Math.floor(size/2)*2
else
1
sta... |
[
{
"context": "_and_matchers = [\n [\n [ { key: 1, value: \"helo\", }\n { key: 2, value: \"world\", }\n {",
"end": 9429,
"score": 0.5008286237716675,
"start": 9425,
"tag": "KEY",
"value": "helo"
},
{
"context": " ]\n null, ]\n [\n [ { key: 4, value:... | dev/intertext/src/tabulate.test.coffee | loveencounterflow/hengist | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'INTERTEXT/TESTS/TABULATE'
log = CND.get_logger 'plain', badge
i... | 116866 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'INTERTEXT/TESTS/TABULATE'
log = CND.get_logger 'plain', badge
i... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'INTERTEXT/TESTS/TABULATE'
log = CND.get_logger 'plain', badge
i... |
[
{
"context": "---\n---\n\n### Ben Scott # 2015-10-12 # Smile Drive ###\n\n'use strict' # ju",
"end": 22,
"score": 0.9997876286506653,
"start": 13,
"tag": "NAME",
"value": "Ben Scott"
}
] | js/smile_drive.coffee | evan-erdos/evan-erdos.github.io | 1 | ---
---
### Ben Scott # 2015-10-12 # Smile Drive ###
'use strict' # just like JavaScript
### `P5.js` Main class
This is our instance of the main class in the `P5.js` library.
The argument is the link between the library and this code, and
the special functions we override in the class definition are
callbacks for P... | 185348 | ---
---
### <NAME> # 2015-10-12 # Smile Drive ###
'use strict' # just like JavaScript
### `P5.js` Main class
This is our instance of the main class in the `P5.js` library.
The argument is the link between the library and this code, and
the special functions we override in the class definition are
callbacks for P5.j... | true | ---
---
### PI:NAME:<NAME>END_PI # 2015-10-12 # Smile Drive ###
'use strict' # just like JavaScript
### `P5.js` Main class
This is our instance of the main class in the `P5.js` library.
The argument is the link between the library and this code, and
the special functions we override in the class definition are
call... |
[
{
"context": "# Copyright (c) 2015 Calinou\n# This source code form is available under CC0 1.",
"end": 28,
"score": 0.9998069405555725,
"start": 21,
"tag": "NAME",
"value": "Calinou"
}
] | projects/benchmarks/prime/coffeescript/main.coffee | HugoLocurcio/hugo.pro | 1 | # Copyright (c) 2015 Calinou
# This source code form is available under CC0 1.0 Universal.
# FIXME: Make it work
nb = 1
nb_test = 2
not_prime = true
prime_counter = 0
# If the number is even, add 1 to make it odd
if nb % 2 == 0
nb++
for nb in [0..Infinity]
square_root = Math.sqrt(nb)
not_prime = true
for n... | 119463 | # Copyright (c) 2015 <NAME>
# This source code form is available under CC0 1.0 Universal.
# FIXME: Make it work
nb = 1
nb_test = 2
not_prime = true
prime_counter = 0
# If the number is even, add 1 to make it odd
if nb % 2 == 0
nb++
for nb in [0..Infinity]
square_root = Math.sqrt(nb)
not_prime = true
for nb... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI
# This source code form is available under CC0 1.0 Universal.
# FIXME: Make it work
nb = 1
nb_test = 2
not_prime = true
prime_counter = 0
# If the number is even, add 1 to make it odd
if nb % 2 == 0
nb++
for nb in [0..Infinity]
square_root = Math.sqrt(nb)
not_prime = ... |
[
{
"context": "ata', (res) ->\n chai.expect(res).to.equal 'Arnold'\n done()\n ins.send 'arnold'\n\n it '",
"end": 2322,
"score": 0.9993900060653687,
"start": 2316,
"tag": "NAME",
"value": "Arnold"
},
{
"context": ".to.equal 'Arnold'\n done()\n ins.sen... | spec/Tool.coffee | alfa256/noflo-stringtool | 1 | noflo = require 'noflo'
unless noflo.isBrowser()
chai = require 'chai' unless chai
Tool = require '../components/Tool.coffee'
else
Tool = require 'noflo-stringtool/components/Tool.js'
describe 'Tool component', ->
c = null
ins = null
out = null
uppercase = null
lowercase = null
capitalize = null
qu... | 102052 | noflo = require 'noflo'
unless noflo.isBrowser()
chai = require 'chai' unless chai
Tool = require '../components/Tool.coffee'
else
Tool = require 'noflo-stringtool/components/Tool.js'
describe 'Tool component', ->
c = null
ins = null
out = null
uppercase = null
lowercase = null
capitalize = null
qu... | true | noflo = require 'noflo'
unless noflo.isBrowser()
chai = require 'chai' unless chai
Tool = require '../components/Tool.coffee'
else
Tool = require 'noflo-stringtool/components/Tool.js'
describe 'Tool component', ->
c = null
ins = null
out = null
uppercase = null
lowercase = null
capitalize = null
qu... |
[
{
"context": "###\nCopyright (c) 2014 Ramesh Nair (hiddentao.com)\n\nPermission is hereby granted, fr",
"end": 34,
"score": 0.9998844861984253,
"start": 23,
"tag": "NAME",
"value": "Ramesh Nair"
}
] | test/postgres.test.coffee | SimeonC/squel | 0 | ###
Copyright (c) 2014 Ramesh Nair (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish... | 127898 | ###
Copyright (c) 2014 <NAME> (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, dis... | true | ###
Copyright (c) 2014 PI:NAME:<NAME>END_PI (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge... |
[
{
"context": ")\n\nHOMEPAGE_URL = 'http://www.bahn.de/'\nUSERNAME = username\nPASSWORD = password\nCSV_FILE = 'tickets.csv'\ndata",
"end": 268,
"score": 0.9994970560073853,
"start": 260,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ttp://www.bahn.de/'\nUSERNAME = username\... | generate-csv.coffee | gr2m/bahncard-calculator | 1 | casper = require('casper').create();
[username, password] = casper.cli.args
unless username and password
casper.echo "USAGE"
casper.echo "casperjs generate-csv.coffee <username> <password>"
casper.exit()
HOMEPAGE_URL = 'http://www.bahn.de/'
USERNAME = username
PASSWORD = password
CSV_FILE = 'tickets.csv'
data =... | 128425 | casper = require('casper').create();
[username, password] = casper.cli.args
unless username and password
casper.echo "USAGE"
casper.echo "casperjs generate-csv.coffee <username> <password>"
casper.exit()
HOMEPAGE_URL = 'http://www.bahn.de/'
USERNAME = username
PASSWORD = <PASSWORD>
CSV_FILE = 'tickets.csv'
data... | true | casper = require('casper').create();
[username, password] = casper.cli.args
unless username and password
casper.echo "USAGE"
casper.echo "casperjs generate-csv.coffee <username> <password>"
casper.exit()
HOMEPAGE_URL = 'http://www.bahn.de/'
USERNAME = username
PASSWORD = PI:PASSWORD:<PASSWORD>END_PI
CSV_FILE = ... |
[
{
"context": "nsole?.log(something...)\n\nconfig = admin: email: 'demo@example.com', password: '123456'\n\nif Meteor.isServer\n Meteor",
"end": 93,
"score": 0.9999125599861145,
"start": 77,
"tag": "EMAIL",
"value": "demo@example.com"
},
{
"context": "ig = admin: email: 'demo@example... | main.coffee | comerc/meteor-demo-cfs | 3 | cl = (something...) ->
console?.log(something...)
config = admin: email: 'demo@example.com', password: '123456'
if Meteor.isServer
Meteor.startup ->
if Meteor.users.find().count() is 0
seedUserId = Accounts.createUser
email: config.admin.email,
password: config.admin.password
if Meteor.... | 49920 | cl = (something...) ->
console?.log(something...)
config = admin: email: '<EMAIL>', password: '<PASSWORD>'
if Meteor.isServer
Meteor.startup ->
if Meteor.users.find().count() is 0
seedUserId = Accounts.createUser
email: config.admin.email,
password: config.admin.password
if Meteor.isCli... | true | cl = (something...) ->
console?.log(something...)
config = admin: email: 'PI:EMAIL:<EMAIL>END_PI', password: 'PI:PASSWORD:<PASSWORD>END_PI'
if Meteor.isServer
Meteor.startup ->
if Meteor.users.find().count() is 0
seedUserId = Accounts.createUser
email: config.admin.email,
password: confi... |
[
{
"context": "urcesNeeded: ->\n key = \"#{@targetResourceName}_search\"\n if key of globals.relatedResources\n ",
"end": 920,
"score": 0.6754499673843384,
"start": 914,
"tag": "KEY",
"value": "search"
}
] | app/scripts/views/search-widget.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'./base'
'./resource'
'./search-add-widget'
'./search-field'
'./smart-query-preview'
'./../models/search'
'./../models/form'
'./../collections/searches'
'./../templates/search-widget'
'./../utils/globals'
], (BaseView, ResourceView, SearchAddWidgetView, SearchFieldView,
SmartQueryPreviewV... | 116794 | define [
'./base'
'./resource'
'./search-add-widget'
'./search-field'
'./smart-query-preview'
'./../models/search'
'./../models/form'
'./../collections/searches'
'./../templates/search-widget'
'./../utils/globals'
], (BaseView, ResourceView, SearchAddWidgetView, SearchFieldView,
SmartQueryPreviewV... | true | define [
'./base'
'./resource'
'./search-add-widget'
'./search-field'
'./smart-query-preview'
'./../models/search'
'./../models/form'
'./../collections/searches'
'./../templates/search-widget'
'./../utils/globals'
], (BaseView, ResourceView, SearchAddWidgetView, SearchFieldView,
SmartQueryPreviewV... |
[
{
"context": "\n data = {\n valid:{\n email: 'valid@gmail.com',\n password: 'totally_secure'\n ",
"end": 96,
"score": 0.9999216198921204,
"start": 81,
"tag": "EMAIL",
"value": "valid@gmail.com"
},
{
"context": " email: 'valid@gmail.com',\n ... | models/auth/fixture/authenticate.coffee | signonsridhar/sridhar_hbs | 0 | define(['can_fixture'], (can)->
data = {
valid:{
email: 'valid@gmail.com',
password: 'totally_secure'
user_id:10000001
access_key:'valid_access_key'
expires:new Date()
},
invalid:{
email: 'invalid@gmail.com',
... | 191746 | define(['can_fixture'], (can)->
data = {
valid:{
email: '<EMAIL>',
password: '<PASSWORD>'
user_id:10000001
access_key:'valid_access_key'
expires:new Date()
},
invalid:{
email: '<EMAIL>',
password:'<PASSWORD>'... | true | define(['can_fixture'], (can)->
data = {
valid:{
email: 'PI:EMAIL:<EMAIL>END_PI',
password: 'PI:PASSWORD:<PASSWORD>END_PI'
user_id:10000001
access_key:'valid_access_key'
expires:new Date()
},
invalid:{
email: 'PI:EMAIL:<... |
[
{
"context": "ngular: [\n { key: 'data.channel' }\n { key: 'data.text' }\n ]\n}\n",
"end": 60,
"score": 0.5916365385055542,
"start": 55,
"tag": "KEY",
"value": "data."
}
] | src/jobs/post-message/form.cson | octoblu/slurry-slack-bot | 0 | {
angular: [
{ key: 'data.channel' }
{ key: 'data.text' }
]
}
| 80730 | {
angular: [
{ key: 'data.channel' }
{ key: '<KEY>text' }
]
}
| true | {
angular: [
{ key: 'data.channel' }
{ key: 'PI:KEY:<KEY>END_PItext' }
]
}
|
[
{
"context": "key: 'entities'\npatterns: [\n {\n # TODO\n # Whoever wants t",
"end": 14,
"score": 0.5492616891860962,
"start": 6,
"tag": "KEY",
"value": "entities"
}
] | grammars/repositories/inlines/entities.cson | plttn/language-markdown | 0 | key: 'entities'
patterns: [
{
# TODO
# Whoever wants to extract the full list of valid entity names from
# https://html.spec.whatwg.org/multipage/entities.json
# instead of using this insanely lazy alphanumeric match; be my guest.
match: '(&)([a-zA-Z0-9]{2,32})(;)'
name: 'entity.constant.md'
... | 184264 | key: '<KEY>'
patterns: [
{
# TODO
# Whoever wants to extract the full list of valid entity names from
# https://html.spec.whatwg.org/multipage/entities.json
# instead of using this insanely lazy alphanumeric match; be my guest.
match: '(&)([a-zA-Z0-9]{2,32})(;)'
name: 'entity.constant.md'
... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
{
# TODO
# Whoever wants to extract the full list of valid entity names from
# https://html.spec.whatwg.org/multipage/entities.json
# instead of using this insanely lazy alphanumeric match; be my guest.
match: '(&)([a-zA-Z0-9]{2,32})(;)'
name: 'entity.cons... |
[
{
"context": " id', ->\n @client2 = @Client.create 'name', 'AverageJoe', []\n\n expect(@client.id()).toBe 0\n exp",
"end": 1083,
"score": 0.6607024073600769,
"start": 1073,
"tag": "NAME",
"value": "AverageJoe"
},
{
"context": "s: [1] }]\n @client = @Client.creat... | test/spec/model/Client/BaseClientSpec.coffee | kylezeeuwen/gymsym | 0 | describe 'BaseClientSpec (via AverageJoe child class):', ->
beforeEach ->
window.angular.mock.module 'gymsym'
beforeEach inject (_Client_, _Rack_, _Dumbell_) ->
@Client = _Client_
@Rack = _Rack_
@Dumbell = _Dumbell_
describe 'constructor:', ->
beforeEach ->
exercise1 =
name: '... | 71164 | describe 'BaseClientSpec (via AverageJoe child class):', ->
beforeEach ->
window.angular.mock.module 'gymsym'
beforeEach inject (_Client_, _Rack_, _Dumbell_) ->
@Client = _Client_
@Rack = _Rack_
@Dumbell = _Dumbell_
describe 'constructor:', ->
beforeEach ->
exercise1 =
name: '... | true | describe 'BaseClientSpec (via AverageJoe child class):', ->
beforeEach ->
window.angular.mock.module 'gymsym'
beforeEach inject (_Client_, _Rack_, _Dumbell_) ->
@Client = _Client_
@Rack = _Rack_
@Dumbell = _Dumbell_
describe 'constructor:', ->
beforeEach ->
exercise1 =
name: '... |
[
{
"context": "l_name() %>'\n tpl.addVariable 'first_name', 'John'\n tpl.addVariable 'last_name', 'Doe'\n t",
"end": 2464,
"score": 0.9998263716697693,
"start": 2460,
"tag": "NAME",
"value": "John"
},
{
"context": "name', 'John'\n tpl.addVariable 'last_name', 'Doe'... | spec/01-data.coffee | pshevtsov/beard.js | 0 | describe 'Data Tag', ->
tpl = null
ret = null
beforeEach ->
tpl = new Beard()
afterEach ->
tpl = null
describe 'String', ->
it 'should return correct value', ->
tpl.set '<%= "Test" %>'
ret = tpl.render()
expect(ret).toBe 'Test'
describe 'String + Content', ->
it 'shoul... | 6007 | describe 'Data Tag', ->
tpl = null
ret = null
beforeEach ->
tpl = new Beard()
afterEach ->
tpl = null
describe 'String', ->
it 'should return correct value', ->
tpl.set '<%= "Test" %>'
ret = tpl.render()
expect(ret).toBe 'Test'
describe 'String + Content', ->
it 'shoul... | true | describe 'Data Tag', ->
tpl = null
ret = null
beforeEach ->
tpl = new Beard()
afterEach ->
tpl = null
describe 'String', ->
it 'should return correct value', ->
tpl.set '<%= "Test" %>'
ret = tpl.render()
expect(ret).toBe 'Test'
describe 'String + Content', ->
it 'shoul... |
[
{
"context": "rmatTemplate = (template, templateData) ->\n key = '__BRUNCH_TEMPLATE_FORMATTER'\n compiled = Handlebars.compile template.replace",
"end": 12450,
"score": 0.9945972561836243,
"start": 12422,
"tag": "KEY",
"value": "'__BRUNCH_TEMPLATE_FORMATTER"
}
] | node_modules/brunch/src/helpers.coffee | Lillehammer-elektroniske-sportklubb/Frontend-Client | 0 | 'use strict'
{exec} = require 'child_process'
coffeescript = require 'coffee-script'
express = require 'express'
Handlebars = require 'handlebars'
fs = require 'fs'
os = require 'os'
sysPath = require 'path'
logger = require './logger'
exports.startsWith = startsWith = (string, substring) ->
string.lastIndexOf(subs... | 525 | 'use strict'
{exec} = require 'child_process'
coffeescript = require 'coffee-script'
express = require 'express'
Handlebars = require 'handlebars'
fs = require 'fs'
os = require 'os'
sysPath = require 'path'
logger = require './logger'
exports.startsWith = startsWith = (string, substring) ->
string.lastIndexOf(subs... | true | 'use strict'
{exec} = require 'child_process'
coffeescript = require 'coffee-script'
express = require 'express'
Handlebars = require 'handlebars'
fs = require 'fs'
os = require 'os'
sysPath = require 'path'
logger = require './logger'
exports.startsWith = startsWith = (string, substring) ->
string.lastIndexOf(subs... |
[
{
"context": "###\n[s2mf]\n\nCopyright (c) 2016 narugami\nMail: narugami@backbones.jp\n\nThis software is rel",
"end": 39,
"score": 0.9981381297111511,
"start": 31,
"tag": "USERNAME",
"value": "narugami"
},
{
"context": "###\n[s2mf]\n\nCopyright (c) 2016 narugami\nMail: narugami@back... | application.coffee | narugami/s2mf | 2 | ###
[s2mf]
Copyright (c) 2016 narugami
Mail: narugami@backbones.jp
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
###
$ ->
show_alert = (msg) ->
$('#alert').text(msg).show()
unless window.File && window.FileReader && window.FileList && window.Blob
show_al... | 186576 | ###
[s2mf]
Copyright (c) 2016 narugami
Mail: <EMAIL>
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
###
$ ->
show_alert = (msg) ->
$('#alert').text(msg).show()
unless window.File && window.FileReader && window.FileList && window.Blob
show_alert 'お使いのブラウザで... | true | ###
[s2mf]
Copyright (c) 2016 narugami
Mail: PI:EMAIL:<EMAIL>END_PI
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
###
$ ->
show_alert = (msg) ->
$('#alert').text(msg).show()
unless window.File && window.FileReader && window.FileList && window.Blob
show_a... |
[
{
"context": "$ = jQuery\n\nBASE_URL = 'http://127.0.0.1:5000/admin'\n\nmodels = {}\ncollections = {}\nviews =",
"end": 40,
"score": 0.7008589506149292,
"start": 32,
"tag": "IP_ADDRESS",
"value": "27.0.0.1"
}
] | venv/Lib/site-packages/flask_administration/static/js/administration.coffee | DoesArt-Studios/RamBrowse | 1 | $ = jQuery
BASE_URL = 'http://127.0.0.1:5000/admin'
models = {}
collections = {}
views = {}
dashboard = {}
Emitter = _.extend({}, Backbone.Events)
_.mixin _.string.exports()
TemplateManager =
templates: {}
get: (name, callback) ->
name.replace "#", ""
if @templates[name + '.html'] != undefined
ca... | 113872 | $ = jQuery
BASE_URL = 'http://1172.16.58.3:5000/admin'
models = {}
collections = {}
views = {}
dashboard = {}
Emitter = _.extend({}, Backbone.Events)
_.mixin _.string.exports()
TemplateManager =
templates: {}
get: (name, callback) ->
name.replace "#", ""
if @templates[name + '.html'] != undefined
... | true | $ = jQuery
BASE_URL = 'http://1PI:IP_ADDRESS:172.16.58.3END_PI:5000/admin'
models = {}
collections = {}
views = {}
dashboard = {}
Emitter = _.extend({}, Backbone.Events)
_.mixin _.string.exports()
TemplateManager =
templates: {}
get: (name, callback) ->
name.replace "#", ""
if @templates[name + '.html'... |
[
{
"context": ".js, a JavaScript game library\n\thttp://github.com/EvanHahn/Fiesta.js/\n\tCopyright (c) 2011 Evan Hahn\n\n\tFiesta",
"end": 70,
"score": 0.999594509601593,
"start": 62,
"tag": "USERNAME",
"value": "EvanHahn"
},
{
"context": "github.com/EvanHahn/Fiesta.js/\n\tCopyright ... | build/fiesta.coffee | EvanHahn/Fiesta.js | 0 | ###
Fiesta.js, a JavaScript game library
http://github.com/EvanHahn/Fiesta.js/
Copyright (c) 2011 Evan Hahn
Fiesta.js is licensed under the MIT license. Check the LICENSE file for
more information.
http://raw.github.com/EvanHahn/Fiesta.js/master/LICENSE.txt
###
window.Fiesta or= Object.create(null)
###
Fiest... | 8181 | ###
Fiesta.js, a JavaScript game library
http://github.com/EvanHahn/Fiesta.js/
Copyright (c) 2011 <NAME>
Fiesta.js is licensed under the MIT license. Check the LICENSE file for
more information.
http://raw.github.com/EvanHahn/Fiesta.js/master/LICENSE.txt
###
window.Fiesta or= Object.create(null)
###
Fiesta.j... | true | ###
Fiesta.js, a JavaScript game library
http://github.com/EvanHahn/Fiesta.js/
Copyright (c) 2011 PI:NAME:<NAME>END_PI
Fiesta.js is licensed under the MIT license. Check the LICENSE file for
more information.
http://raw.github.com/EvanHahn/Fiesta.js/master/LICENSE.txt
###
window.Fiesta or= Object.create(null)... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999143481254578,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/sync-height.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 @SyncHeight
constructor: ->
@targets = document.getElementsByClassName('js-sync-height--target')
@references = document.getElemen... | 135930 | # 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 @SyncHeight
constructor: ->
@targets = document.getElementsByClassName('js-sync-height--target')
@references = document.getElementsByCla... | 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 @SyncHeight
constructor: ->
@targets = document.getElementsByClassName('js-sync-height--target')
@references = document.g... |
[
{
"context": "Alice = new Actor(\"Alice\")\nBob = new Actor(\"Bob\")\n\nFund",
"end": 5,
"score": 0.9825000166893005,
"start": 0,
"tag": "NAME",
"value": "Alice"
},
{
"context": "Alice = new Actor(\"Alice\")\nBob = new Actor(\"Bob\")\n\nFundingTX = CreateFundi",
"end": 24,
"s... | main.coffee | DenisGorbachev/lightning-network-simulator | 0 | Alice = new Actor("Alice")
Bob = new Actor("Bob")
FundingTX = CreateFundingTransaction(Alice, Bob)
AliceCommitmentTX = CreateCommitmentTransaction(Alice)
BobCommitmentTX = CreateCommitmentTransaction(Bob)
CreateFundingTransaction = (Alice, Bob) ->
# Parties provide an output that they own
AliceFunding = Alice.get... | 157227 | <NAME> = new Actor("<NAME>")
<NAME> = new Actor("<NAME>")
FundingTX = CreateFundingTransaction(<NAME>, <NAME>)
<NAME>CommitmentTX = CreateCommitmentTransaction(<NAME>)
BobCommitmentTX = CreateCommitmentTransaction(<NAME>)
CreateFundingTransaction = (<NAME>, <NAME>) ->
# Parties provide an output that they own
Al... | true | PI:NAME:<NAME>END_PI = new Actor("PI:NAME:<NAME>END_PI")
PI:NAME:<NAME>END_PI = new Actor("PI:NAME:<NAME>END_PI")
FundingTX = CreateFundingTransaction(PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI)
PI:NAME:<NAME>END_PICommitmentTX = CreateCommitmentTransaction(PI:NAME:<NAME>END_PI)
BobCommitmentTX = CreateCommitmentTran... |
[
{
"context": "blank\">WTFD&D</a> by <a href=\"https://twitter.com/ryanjgrant\">Ryan</a>,\n I decided to create a spi",
"end": 534,
"score": 0.9996768832206726,
"start": 524,
"tag": "USERNAME",
"value": "ryanjgrant"
},
{
"context": "D</a> by <a href=\"https://twitter.com/r... | scripts/navbar.coffee | watsyurname529/WTFpathfinder | 1 | #Set the width of the side navigation to 250px
$('#navicon').on "click", ->
$('#mySidenav').css('width', '250px')
#Set the width of the side navigation to 0
$('#closebtn').on "click", ->
$('#mySidenav').css('width', '0px')
$('#about-nav').on "click", ->
setTimeout(showOutput, 50)
$('#output').html(
... | 155623 | #Set the width of the side navigation to 250px
$('#navicon').on "click", ->
$('#mySidenav').css('width', '250px')
#Set the width of the side navigation to 0
$('#closebtn').on "click", ->
$('#mySidenav').css('width', '0px')
$('#about-nav').on "click", ->
setTimeout(showOutput, 50)
$('#output').html(
... | true | #Set the width of the side navigation to 250px
$('#navicon').on "click", ->
$('#mySidenav').css('width', '250px')
#Set the width of the side navigation to 0
$('#closebtn').on "click", ->
$('#mySidenav').css('width', '0px')
$('#about-nav').on "click", ->
setTimeout(showOutput, 50)
$('#output').html(
... |
[
{
"context": "s:\n# None\n#\n# Commands:\n# None\n#\n# Author:\n# Casey Lawrence <casey.j.lawrence@gmail.com>\n#\n\narnie_quotes = [\n",
"end": 161,
"score": 0.9998624920845032,
"start": 147,
"tag": "NAME",
"value": "Casey Lawrence"
},
{
"context": "ommands:\n# None\n#\n# Aut... | scripts/arnie-quotes.coffee | traviskroberts/superbestbot | 3 | # Description:
# Listens for mentions of Arnie and replies with an Arnie quote
#
# Dependencies:
# None
#
# Commands:
# None
#
# Author:
# Casey Lawrence <casey.j.lawrence@gmail.com>
#
arnie_quotes = [
'GET TO THE CHOPPA!',
'Your clothes, give them to me, NOW!',
'Hasta La Vista, Baby!',
'DDDAAA... | 29981 | # Description:
# Listens for mentions of Arnie and replies with an Arnie quote
#
# Dependencies:
# None
#
# Commands:
# None
#
# Author:
# <NAME> <<EMAIL>>
#
arnie_quotes = [
'GET TO THE CHOPPA!',
'Your clothes, give them to me, NOW!',
'Hasta La Vista, Baby!',
'DDDAAANNNAAAA!',
'You are one... | true | # Description:
# Listens for mentions of Arnie and replies with an Arnie quote
#
# Dependencies:
# None
#
# Commands:
# None
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
arnie_quotes = [
'GET TO THE CHOPPA!',
'Your clothes, give them to me, NOW!',
'Hasta La Vista, Baby!',
'DDDA... |
[
{
"context": " with image extension', ->\r\n @room.user.say('alice', '@hubot relevant dilbert robot power').then =>\r",
"end": 638,
"score": 0.6504760980606079,
"start": 633,
"tag": "NAME",
"value": "alice"
},
{
"context": " expect(@room.messages).to.eql [\r\n ['ali... | test/relevant-dilbert-test.coffee | Mutmatt/hubot-relevant-dilbert | 0 | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
request = require 'request'
expect = chai.expect
helper = new Helper('../src/relevant-dilbert.coffee')
describe 'hubot-relevant-dilbert', ->
beforeEach (done) ->
@room = helper.createRoom()
done()
afterEach... | 53462 | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
request = require 'request'
expect = chai.expect
helper = new Helper('../src/relevant-dilbert.coffee')
describe 'hubot-relevant-dilbert', ->
beforeEach (done) ->
@room = helper.createRoom()
done()
afterEach... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
request = require 'request'
expect = chai.expect
helper = new Helper('../src/relevant-dilbert.coffee')
describe 'hubot-relevant-dilbert', ->
beforeEach (done) ->
@room = helper.createRoom()
done()
afterEach... |
[
{
"context": "options.port}#{options.path}\",\n\t\t\tform:\n\t\t\t\ttoken: tokens.johndoe.token\n\t\t, (error, response, body) ->\n\t\t\tm",
"end": 1312,
"score": 0.7878826856613159,
"start": 1306,
"tag": "KEY",
"value": "tokens"
},
{
"context": "port}#{options.path}\",\n\t\t\tform:\... | tests/auth/server.spec.coffee | eternius/otto-cli | 0 | m = require('mochainon')
request = require('request')
Promise = require('bluebird')
path = require('path')
fs = require('fs')
ejs = require('ejs')
server = require('../../build/auth/server')
utils = require('../../build/auth/utils')
tokens = require('./tokens.json')
options =
port: 3000
path: '/auth'
getPage = (nam... | 153149 | m = require('mochainon')
request = require('request')
Promise = require('bluebird')
path = require('path')
fs = require('fs')
ejs = require('ejs')
server = require('../../build/auth/server')
utils = require('../../build/auth/utils')
tokens = require('./tokens.json')
options =
port: 3000
path: '/auth'
getPage = (nam... | true | m = require('mochainon')
request = require('request')
Promise = require('bluebird')
path = require('path')
fs = require('fs')
ejs = require('ejs')
server = require('../../build/auth/server')
utils = require('../../build/auth/utils')
tokens = require('./tokens.json')
options =
port: 3000
path: '/auth'
getPage = (nam... |
[
{
"context": "putBar = React.createElement InputElement, {key: \"input-bar-1\", app: app}\n React.render inputBar, document.get",
"end": 257,
"score": 0.987771213054657,
"start": 246,
"tag": "KEY",
"value": "input-bar-1"
}
] | src/main.coffee | atmos/electrogram | 19 | require "coffee-react/register"
Fs = require "fs"
App = require "./models/app"
InputElement = require "./react/input"
app = new App(document)
app.setup()
setTimeout ( ->
inputBar = React.createElement InputElement, {key: "input-bar-1", app: app}
React.render inputBar, document.getElementById("... | 19582 | require "coffee-react/register"
Fs = require "fs"
App = require "./models/app"
InputElement = require "./react/input"
app = new App(document)
app.setup()
setTimeout ( ->
inputBar = React.createElement InputElement, {key: "<KEY>", app: app}
React.render inputBar, document.getElementById("input-... | true | require "coffee-react/register"
Fs = require "fs"
App = require "./models/app"
InputElement = require "./react/input"
app = new App(document)
app.setup()
setTimeout ( ->
inputBar = React.createElement InputElement, {key: "PI:KEY:<KEY>END_PI", app: app}
React.render inputBar, document.getElemen... |
[
{
"context": " test.markdown 'blockquote/simple', \"\"\"\n > Manfred said:\n >\n > > Everything will work ",
"end": 344,
"score": 0.9998076558113098,
"start": 337,
"tag": "NAME",
"value": "Manfred"
}
] | test/mocha/element/blockquote.coffee | alinex/node-report | 1 | ### eslint-env node, mocha ###
test = require '../test'
async = require 'async'
Report = require '../../../src'
before (cb) ->
@timeout 20000
Report.init cb
describe "blockquote", ->
describe "examples", ->
@timeout 30000
it "should make two blockquotes", (cb) ->
test.markdown 'blockquote/simple... | 43739 | ### eslint-env node, mocha ###
test = require '../test'
async = require 'async'
Report = require '../../../src'
before (cb) ->
@timeout 20000
Report.init cb
describe "blockquote", ->
describe "examples", ->
@timeout 30000
it "should make two blockquotes", (cb) ->
test.markdown 'blockquote/simple... | true | ### eslint-env node, mocha ###
test = require '../test'
async = require 'async'
Report = require '../../../src'
before (cb) ->
@timeout 20000
Report.init cb
describe "blockquote", ->
describe "examples", ->
@timeout 30000
it "should make two blockquotes", (cb) ->
test.markdown 'blockquote/simple... |
[
{
"context": "###\r\n\r\ngas-manager\r\nhttps://github.com/soundTricker/gas-manager\r\n\r\nCopyright (c) 2013 Keisuke Oohashi",
"end": 51,
"score": 0.9981353878974915,
"start": 39,
"tag": "USERNAME",
"value": "soundTricker"
},
{
"context": "com/soundTricker/gas-manager\r\n\r\nCopyrig... | src/lib/gas-manager.coffee | unau/gas-minus-minus | 1 | ###
gas-manager
https://github.com/soundTricker/gas-manager
Copyright (c) 2013 Keisuke Oohashi
Licensed under the MIT license.
###
'use strict'
GoogleTokenProvider = require("refresh-token").GoogleTokenProvider
async = require 'async'
request = require 'request'
API_ROOT = "https://www.googleapis.... | 176342 | ###
gas-manager
https://github.com/soundTricker/gas-manager
Copyright (c) 2013 <NAME>
Licensed under the MIT license.
###
'use strict'
GoogleTokenProvider = require("refresh-token").GoogleTokenProvider
async = require 'async'
request = require 'request'
API_ROOT = "https://www.googleapis.com/drive... | true | ###
gas-manager
https://github.com/soundTricker/gas-manager
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
'use strict'
GoogleTokenProvider = require("refresh-token").GoogleTokenProvider
async = require 'async'
request = require 'request'
API_ROOT = "https://www.google... |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @autor aladjev.andrew",
"end": 12,
"score": 0.5134822130203247,
"start": 10,
"tag": "USERNAME",
"value": "mr"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @autor aladjev.andrew@gmai",
"end": 17,
"score": 0.... | source/javascripts/new_src/three.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @autor aladjev.andrew@gmail.com
namespace "THREE", (exports) ->
exports.REVISION = 49
unless self.Int32Array
self.Int32Array = Array
self.Float32Array = Array
# http://paulirish.com/2011/requestanimationframe-for-smart-animating/
# http://my.opera.com/emoller/bl... | 28141 | # @author mr.<NAME> / http://mrdoob.com/
# @autor <EMAIL>
namespace "THREE", (exports) ->
exports.REVISION = 49
unless self.Int32Array
self.Int32Array = Array
self.Float32Array = Array
# http://paulirish.com/2011/requestanimationframe-for-smart-animating/
# http://my.opera.com/emoller/blog/2011/12/20/r... | true | # @author mr.PI:NAME:<NAME>END_PI / http://mrdoob.com/
# @autor PI:EMAIL:<EMAIL>END_PI
namespace "THREE", (exports) ->
exports.REVISION = 49
unless self.Int32Array
self.Int32Array = Array
self.Float32Array = Array
# http://paulirish.com/2011/requestanimationframe-for-smart-animating/
# http://my.opera.... |
[
{
"context": "ER_ID or \"55d3b333e2bf182b637341dc\" # my user id (rgausnet)\n\ndescribe \"foodstuff queries\", ->\n\n # clean up ",
"end": 223,
"score": 0.9995608329772949,
"start": 215,
"tag": "USERNAME",
"value": "rgausnet"
},
{
"context": " body:\n foodstuff:\n ... | test/src/specs/foodstuff.controller.spec.coffee | 1egoman/bag-node | 0 | 'use strict'
require "./spec_helper.spec"
Foodstuff = require "../../../src/controllers/foodstuff_controller"
# environment-specific config
USER_ID = process.env.USER_ID or "55d3b333e2bf182b637341dc" # my user id (rgausnet)
describe "foodstuff queries", ->
# clean up first
before (done) ->
require("../../../... | 177801 | 'use strict'
require "./spec_helper.spec"
Foodstuff = require "../../../src/controllers/foodstuff_controller"
# environment-specific config
USER_ID = process.env.USER_ID or "55d3b333e2bf182b637341dc" # my user id (rgausnet)
describe "foodstuff queries", ->
# clean up first
before (done) ->
require("../../../... | true | 'use strict'
require "./spec_helper.spec"
Foodstuff = require "../../../src/controllers/foodstuff_controller"
# environment-specific config
USER_ID = process.env.USER_ID or "55d3b333e2bf182b637341dc" # my user id (rgausnet)
describe "foodstuff queries", ->
# clean up first
before (done) ->
require("../../../... |
[
{
"context": "s.url\n return 404\n post:\n authRequired: 'openaccessbutton.user'\n action: () ->\n opts = this.request.body",
"end": 3606,
"score": 0.9909133911132812,
"start": 3585,
"tag": "USERNAME",
"value": "openaccessbutton.user"
},
{
"context": "ink it does you... | noddy/service/v2/deposit.coffee | oaworks/API | 2 |
import moment from 'moment'
API.add 'service/oab/deposit',
get:
authOptional: true
action: () ->
return if not this.queryParams.url then false else API.service.oab.deposit undefined, this.queryParams, API.http.getFiles(this.queryParams.url), this.userId
post:
authOptional: true
action: () ->... | 70962 |
import moment from 'moment'
API.add 'service/oab/deposit',
get:
authOptional: true
action: () ->
return if not this.queryParams.url then false else API.service.oab.deposit undefined, this.queryParams, API.http.getFiles(this.queryParams.url), this.userId
post:
authOptional: true
action: () ->... | true |
import moment from 'moment'
API.add 'service/oab/deposit',
get:
authOptional: true
action: () ->
return if not this.queryParams.url then false else API.service.oab.deposit undefined, this.queryParams, API.http.getFiles(this.queryParams.url), this.userId
post:
authOptional: true
action: () ->... |
[
{
"context": "e-at-the-same-url#answer-22429796\n## solution 4 by Doin\n\nblankImg = '/updating.png'\n\n@forceImgReload = (s",
"end": 137,
"score": 0.982634425163269,
"start": 133,
"tag": "NAME",
"value": "Doin"
}
] | client/lib/forceImgReload.coffee | noajshu/coauthor | 0 | ## Based on http://stackoverflow.com/questions/1077041/refresh-image-with-a-new-one-at-the-same-url#answer-22429796
## solution 4 by Doin
blankImg = '/updating.png'
@forceImgReload = (src) ->
init = 0
tags = null
loadCallback = (e) ->
unless init
tags = $("img[src$='#{src}'], video source[src$='#{src}... | 178648 | ## Based on http://stackoverflow.com/questions/1077041/refresh-image-with-a-new-one-at-the-same-url#answer-22429796
## solution 4 by <NAME>
blankImg = '/updating.png'
@forceImgReload = (src) ->
init = 0
tags = null
loadCallback = (e) ->
unless init
tags = $("img[src$='#{src}'], video source[src$='#{sr... | true | ## Based on http://stackoverflow.com/questions/1077041/refresh-image-with-a-new-one-at-the-same-url#answer-22429796
## solution 4 by PI:NAME:<NAME>END_PI
blankImg = '/updating.png'
@forceImgReload = (src) ->
init = 0
tags = null
loadCallback = (e) ->
unless init
tags = $("img[src$='#{src}'], video sou... |
[
{
"context": "name\n email: $scope.email\n password: $scope.password\n passwordRpt: $scope.passwordRpt\n\n Va",
"end": 421,
"score": 0.9047437310218811,
"start": 406,
"tag": "PASSWORD",
"value": "$scope.password"
},
{
"context": " password: $scope.password\... | assets/controllers/shops.coffee | gertu/gertu | 1 | # Shop SignUp
angular.module("mean.shops").controller 'ShopSignUpController',
['$scope', '$http', '$location', 'Global', 'Shop', 'Validation',
($scope, $http, $location, Global, Shop, Validation) ->
$scope.global = Global
$scope.errors = null
$scope.doSignUp = () ->
validationErrors = Validatio... | 163612 | # Shop SignUp
angular.module("mean.shops").controller 'ShopSignUpController',
['$scope', '$http', '$location', 'Global', 'Shop', 'Validation',
($scope, $http, $location, Global, Shop, Validation) ->
$scope.global = Global
$scope.errors = null
$scope.doSignUp = () ->
validationErrors = Validatio... | true | # Shop SignUp
angular.module("mean.shops").controller 'ShopSignUpController',
['$scope', '$http', '$location', 'Global', 'Shop', 'Validation',
($scope, $http, $location, Global, Shop, Validation) ->
$scope.global = Global
$scope.errors = null
$scope.doSignUp = () ->
validationErrors = Validatio... |
[
{
"context": " <l.Mail target='__blank'\n href={'mailto:whynot@expressyourmess.com?subject=owlchat'}>\n 🐛\n </l.Mail>\n",
"end": 977,
"score": 0.9998958110809326,
"start": 951,
"tag": "EMAIL",
"value": "whynot@expressyourmess.com"
}
] | app/components/Chat/it.coffee | samerce/flitandland | 0 | import React, {useState, useLayoutEffect} from 'react'
import FaeButton from '../FaeButton/it.coffee'
import l from './styled'
import * as c from '../../constants'
import * as g from '../../global-styles'
import {cx} from '../../utils/style'
import useChat from '../../hooks/useChat.coffee'
import useBus from '../../h... | 214364 | import React, {useState, useLayoutEffect} from 'react'
import FaeButton from '../FaeButton/it.coffee'
import l from './styled'
import * as c from '../../constants'
import * as g from '../../global-styles'
import {cx} from '../../utils/style'
import useChat from '../../hooks/useChat.coffee'
import useBus from '../../h... | true | import React, {useState, useLayoutEffect} from 'react'
import FaeButton from '../FaeButton/it.coffee'
import l from './styled'
import * as c from '../../constants'
import * as g from '../../global-styles'
import {cx} from '../../utils/style'
import useChat from '../../hooks/useChat.coffee'
import useBus from '../../h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.