entities listlengths 1 8.61k | max_stars_repo_path stringlengths 7 172 | max_stars_repo_name stringlengths 5 89 | max_stars_count int64 0 82k | content stringlengths 14 1.05M | id stringlengths 2 6 | new_content stringlengths 15 1.05M | modified bool 1
class | references stringlengths 29 1.05M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "###\n# fence\n# Copyright(c) 2011 Dave Woodward <dave@futuremint.com>\n# MIT Licensed\n###\n_ = requ",
"end": 45,
"score": 0.9998136758804321,
"start": 32,
"tag": "NAME",
"value": "Dave Woodward"
},
{
"context": "###\n# fence\n# Copyright(c) 2011 Dave Woodward <dave@fut... | lib/fence.coffee | futuremint/fence.js | 1 | ###
# fence
# Copyright(c) 2011 Dave Woodward <dave@futuremint.com>
# MIT Licensed
###
_ = require 'underscore@1.1.4'
# Exports an function that wraps a json document (a basic Javascript object), or collection of documents from CouchDB.
# Enables quick and easy creation of new "model" javascript objects for CouchDB do... | 169068 | ###
# fence
# Copyright(c) 2011 <NAME> <<EMAIL>>
# MIT Licensed
###
_ = require 'underscore@1.1.4'
# Exports an function that wraps a json document (a basic Javascript object), or collection of documents from CouchDB.
# Enables quick and easy creation of new "model" javascript objects for CouchDB documents
model = (ar... | true | ###
# fence
# Copyright(c) 2011 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MIT Licensed
###
_ = require 'underscore@1.1.4'
# Exports an function that wraps a json document (a basic Javascript object), or collection of documents from CouchDB.
# Enables quick and easy creation of new "model" javascript objects for ... |
[
{
"context": "= (doc) ->\n title = 'PDFKit Guide'\n author = 'By Devon Govett'\n version = 'Version ' + require('../package.jso",
"end": 7016,
"score": 0.9998636245727539,
"start": 7004,
"tag": "NAME",
"value": "Devon Govett"
}
] | docs/generate.coffee | sureshamk/pdfkit | 1 | fs = require 'fs'
vm = require 'vm'
md = require('markdown').markdown
coffee = require 'coffee-script'
CodeMirror = require 'codemirror/addon/runmode/runmode.node'
PDFDocument = require '../'
process.chdir(__dirname)
# setup code mirror coffeescript mode
filename = require.resolve('codemirror/mode/coffeescript/coffee... | 99899 | fs = require 'fs'
vm = require 'vm'
md = require('markdown').markdown
coffee = require 'coffee-script'
CodeMirror = require 'codemirror/addon/runmode/runmode.node'
PDFDocument = require '../'
process.chdir(__dirname)
# setup code mirror coffeescript mode
filename = require.resolve('codemirror/mode/coffeescript/coffee... | true | fs = require 'fs'
vm = require 'vm'
md = require('markdown').markdown
coffee = require 'coffee-script'
CodeMirror = require 'codemirror/addon/runmode/runmode.node'
PDFDocument = require '../'
process.chdir(__dirname)
# setup code mirror coffeescript mode
filename = require.resolve('codemirror/mode/coffeescript/coffee... |
[
{
"context": " it \"arrayize if string\", ->\n o =\n key1: 'lalakis'\n key2: ['ok','yes']\n expect(\n _B.mu",
"end": 317,
"score": 0.9986097812652588,
"start": 310,
"tag": "KEY",
"value": "lalakis"
},
{
"context": "\", ->\n o =\n key1: 'lalakis'\n ke... | source/spec/objects/mutate-spec.coffee | anodynos/uBerscore | 1 | # @todo: use data + more examples
describe 'mutate :', ->
simpleCalc = (v)->if v<0 then v+10 else v+20
it "mutate Object values", ->
o = a:1, b:2, c:-1
expect(
_B.mutate o, simpleCalc
).to.deep.equal {
a: 21, b: 22, c: 9
}
it "arrayize if string", ->
o =
key1: 'lalakis'
... | 41529 | # @todo: use data + more examples
describe 'mutate :', ->
simpleCalc = (v)->if v<0 then v+10 else v+20
it "mutate Object values", ->
o = a:1, b:2, c:-1
expect(
_B.mutate o, simpleCalc
).to.deep.equal {
a: 21, b: 22, c: 9
}
it "arrayize if string", ->
o =
key1: '<KEY>'
... | true | # @todo: use data + more examples
describe 'mutate :', ->
simpleCalc = (v)->if v<0 then v+10 else v+20
it "mutate Object values", ->
o = a:1, b:2, c:-1
expect(
_B.mutate o, simpleCalc
).to.deep.equal {
a: 21, b: 22, c: 9
}
it "arrayize if string", ->
o =
key1: 'PI:KEY:<KE... |
[
{
"context": "e ?= AccessContext.ALL\n\n config.modelName = @name\n\n Models.get 'ACL', (ACL) =>\n ",
"end": 501,
"score": 0.45503538846969604,
"start": 501,
"tag": "NAME",
"value": ""
},
{
"context": "?= AccessContext.ALL\n\n config.modelName = @name\n\n... | plugins/data/acls.coffee | BoLaMN/node-client | 0 | module.exports = ->
@factory 'ModelACL', (Models, AccessContext) ->
class ModelACL
@acl: (config) ->
if config.accessType is '*'
config.accessType = AccessContext.ALL
if config.principalType is '*'
config.principalType = AccessContext.ALL
if config.principal... | 16027 | module.exports = ->
@factory 'ModelACL', (Models, AccessContext) ->
class ModelACL
@acl: (config) ->
if config.accessType is '*'
config.accessType = AccessContext.ALL
if config.principalType is '*'
config.principalType = AccessContext.ALL
if config.principal... | true | module.exports = ->
@factory 'ModelACL', (Models, AccessContext) ->
class ModelACL
@acl: (config) ->
if config.accessType is '*'
config.accessType = AccessContext.ALL
if config.principalType is '*'
config.principalType = AccessContext.ALL
if config.principal... |
[
{
"context": "\\//g, '_').replace(/\\:/g, '').slice(1)\n\t\t\t\tkey = \"http-requests.#{routePath}.#{req.method}.#{res.statusCode}\"\n\t\t\t\tMe",
"end": 558,
"score": 0.8204643130302429,
"start": 542,
"tag": "KEY",
"value": "http-requests.#{"
},
{
"context": ":/g, '').slice(1)\n\t\t... | statsd/http.coffee | j-licht/metrics-module | 0 | os = require("os")
yn = require("yn")
STACKDRIVER_LOGGING = yn(process.env['STACKDRIVER_LOGGING'])
module.exports.monitor = (logger) ->
return (req, res, next) ->
Metrics = require("./metrics")
startTime = process.hrtime()
end = res.end
res.end = () ->
end.apply(this, arguments)
responseTime = process.... | 167948 | os = require("os")
yn = require("yn")
STACKDRIVER_LOGGING = yn(process.env['STACKDRIVER_LOGGING'])
module.exports.monitor = (logger) ->
return (req, res, next) ->
Metrics = require("./metrics")
startTime = process.hrtime()
end = res.end
res.end = () ->
end.apply(this, arguments)
responseTime = process.... | true | os = require("os")
yn = require("yn")
STACKDRIVER_LOGGING = yn(process.env['STACKDRIVER_LOGGING'])
module.exports.monitor = (logger) ->
return (req, res, next) ->
Metrics = require("./metrics")
startTime = process.hrtime()
end = res.end
res.end = () ->
end.apply(this, arguments)
responseTime = process.... |
[
{
"context": "auth\", (t) ->\n s = \"//registry.lvh.me/:username = wombat\\n\" + \"//registry.lvh.me/:_password = YmFkIHBhc3N3",
"end": 340,
"score": 0.9995965957641602,
"start": 334,
"tag": "USERNAME",
"value": "wombat"
},
{
"context": "name = wombat\\n\" + \"//registry.lvh.me/:_pa... | deps/npm/test/tap/whoami.coffee | lxe/io.coffee | 0 | common = require("../common-tap.js")
fs = require("fs")
path = require("path")
createServer = require("http").createServer
test = require("tap").test
rimraf = require("rimraf")
opts = cwd: __dirname
FIXTURE_PATH = path.resolve(__dirname, "fixture_npmrc")
test "npm whoami with basic auth", (t) ->
s = "//registry.lvh.m... | 52677 | common = require("../common-tap.js")
fs = require("fs")
path = require("path")
createServer = require("http").createServer
test = require("tap").test
rimraf = require("rimraf")
opts = cwd: __dirname
FIXTURE_PATH = path.resolve(__dirname, "fixture_npmrc")
test "npm whoami with basic auth", (t) ->
s = "//registry.lvh.m... | true | common = require("../common-tap.js")
fs = require("fs")
path = require("path")
createServer = require("http").createServer
test = require("tap").test
rimraf = require("rimraf")
opts = cwd: __dirname
FIXTURE_PATH = path.resolve(__dirname, "fixture_npmrc")
test "npm whoami with basic auth", (t) ->
s = "//registry.lvh.m... |
[
{
"context": "del.extend\n defaults:\n name: 'joe'\n class: 'ashjksadkjhdsakjh'\n\n bu",
"end": 496,
"score": 0.9996352195739746,
"start": 493,
"tag": "NAME",
"value": "joe"
},
{
"context": "del.extend\n defaults:\n name: 'joe'\... | spec/views/row_list_spec.coffee | rapid7/marionette.carpenter | 19 | define [
'views/row_list',
'spec/support/shared/examples/create_region'
'entities/paginated_collection'
], (RowList, createRegion, createPaginatedCollectionClass) ->
describe 'RowList CollectionView', ->
createRegion()
#Need ref to Backbone.Radio
buildCarpenterRadio = ->
new Backbone.Radio.... | 161695 | define [
'views/row_list',
'spec/support/shared/examples/create_region'
'entities/paginated_collection'
], (RowList, createRegion, createPaginatedCollectionClass) ->
describe 'RowList CollectionView', ->
createRegion()
#Need ref to Backbone.Radio
buildCarpenterRadio = ->
new Backbone.Radio.... | true | define [
'views/row_list',
'spec/support/shared/examples/create_region'
'entities/paginated_collection'
], (RowList, createRegion, createPaginatedCollectionClass) ->
describe 'RowList CollectionView', ->
createRegion()
#Need ref to Backbone.Radio
buildCarpenterRadio = ->
new Backbone.Radio.... |
[
{
"context": "\n return config if property is -1\n key = \"#{key}.#{property}\"\n [ node, property, xPath ] = dotted.parse conf",
"end": 1655,
"score": 0.9012121558189392,
"start": 1635,
"tag": "KEY",
"value": "\"#{key}.#{property}\""
}
] | source/ddry/lib/cli/commands.coffee | ddry/ddry | 2 | ###
# Command line interface commands
###
'use strict'
blank =
'[]': []
'{}': {}
commandList = require './command_list'
constraints = require './constraints'
dotted = require '../common/dotted'
configurer = require './configurer'
folder = require '../fs/folder'
log = require './log'
object = require '../common/o... | 6959 | ###
# Command line interface commands
###
'use strict'
blank =
'[]': []
'{}': {}
commandList = require './command_list'
constraints = require './constraints'
dotted = require '../common/dotted'
configurer = require './configurer'
folder = require '../fs/folder'
log = require './log'
object = require '../common/o... | true | ###
# Command line interface commands
###
'use strict'
blank =
'[]': []
'{}': {}
commandList = require './command_list'
constraints = require './constraints'
dotted = require '../common/dotted'
configurer = require './configurer'
folder = require '../fs/folder'
log = require './log'
object = require '../common/o... |
[
{
"context": "at to json', ->\n\t\tassert.deepEqual articles2json('Cozolino, L. J. (2002) - Interpersonal Trauma.pdf'), [\n\t\t\tauthor",
"end": 210,
"score": 0.9810669422149658,
"start": 196,
"tag": "NAME",
"value": "Cozolino, L. J"
},
{
"context": "2002) - Interpersonal Trauma.pdf'... | test/spec.coffee | metaraine/articles2json | 0 | assert = require('chai').assert
articles2json = require '../lib'
describe 'articles2json', ->
it 'should convert an article in the correct format to json', ->
assert.deepEqual articles2json('Cozolino, L. J. (2002) - Interpersonal Trauma.pdf'), [
author: 'Cozolino, L. J.'
year: 2002
title: 'Interpersonal T... | 92129 | assert = require('chai').assert
articles2json = require '../lib'
describe 'articles2json', ->
it 'should convert an article in the correct format to json', ->
assert.deepEqual articles2json('<NAME>. (2002) - Interpersonal Trauma.pdf'), [
author: '<NAME>.'
year: 2002
title: 'Interpersonal Trauma'
]
it ... | true | assert = require('chai').assert
articles2json = require '../lib'
describe 'articles2json', ->
it 'should convert an article in the correct format to json', ->
assert.deepEqual articles2json('PI:NAME:<NAME>END_PI. (2002) - Interpersonal Trauma.pdf'), [
author: 'PI:NAME:<NAME>END_PI.'
year: 2002
title: 'Int... |
[
{
"context": "son.listname else 'foo'), size: 16, placeholder: 'foo@foo.apache.org'}),\n '@'+json.domain\n ]\n ",
"end": 4727,
"score": 0.9997431039810181,
"start": 4709,
"tag": "EMAIL",
"value": "foo@foo.apache.org"
},
{
"context": "(tr)\n \n # ... | modules/aim_server/files/html/js/coffee/widget_maileditor.coffee | mshuler/infrastructure-puppet | 1 | ps_domain = ''
ps_project = ''
ps_listname = ''
ps_new = false
saveMailingList = () ->
if ps_new
ps_listname = get('mailinglist_listname').value + "@" + ps_domain
ps_moderators = get('mailinglist_moderators').value.split(/\r?\n/)
ps_por = get('mailinglist_por').value
ps_private = get('poption')... | 58400 | ps_domain = ''
ps_project = ''
ps_listname = ''
ps_new = false
saveMailingList = () ->
if ps_new
ps_listname = get('mailinglist_listname').value + "@" + ps_domain
ps_moderators = get('mailinglist_moderators').value.split(/\r?\n/)
ps_por = get('mailinglist_por').value
ps_private = get('poption')... | true | ps_domain = ''
ps_project = ''
ps_listname = ''
ps_new = false
saveMailingList = () ->
if ps_new
ps_listname = get('mailinglist_listname').value + "@" + ps_domain
ps_moderators = get('mailinglist_moderators').value.split(/\r?\n/)
ps_por = get('mailinglist_por').value
ps_private = get('poption')... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991328716278076,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream-pipe-cleanup.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... | 46100 | # 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": "edium: 'http://donut/' } })\n @room.user.say 'alice', 'hubot donut me 10.1629/2048-7754.79'\n set",
"end": 665,
"score": 0.9479729533195496,
"start": 660,
"tag": "USERNAME",
"value": "alice"
},
{
"context": ">\n expect(@room.messages).to.eql [\n ['... | test/altmetric-test.coffee | altmetric/hubot-altmetric | 0 | Helper = require('hubot-test-helper')
nock = require('nock')
expect = require('chai').expect
helper = new Helper('../src/altmetric.coffee')
describe 'altmetric', ->
beforeEach ->
@room = helper.createRoom(httpd: false)
afterEach ->
nock.cleanAll()
context 'user asks for a donut with altmetrics', ->
... | 98590 | Helper = require('hubot-test-helper')
nock = require('nock')
expect = require('chai').expect
helper = new Helper('../src/altmetric.coffee')
describe 'altmetric', ->
beforeEach ->
@room = helper.createRoom(httpd: false)
afterEach ->
nock.cleanAll()
context 'user asks for a donut with altmetrics', ->
... | true | Helper = require('hubot-test-helper')
nock = require('nock')
expect = require('chai').expect
helper = new Helper('../src/altmetric.coffee')
describe 'altmetric', ->
beforeEach ->
@room = helper.createRoom(httpd: false)
afterEach ->
nock.cleanAll()
context 'user asks for a donut with altmetrics', ->
... |
[
{
"context": "idx = order.indexOf @chr_set_id\n @intro = [@say_0, @say_1]\n @intro.push @say_2 if @say_2\n\n @pr",
"end": 3357,
"score": 0.5297168493270874,
"start": 3357,
"tag": "USERNAME",
"value": ""
},
{
"context": "nd o.chr_set\n { id } = o.chr_set\n cs_key = { chr_... | src/models/chr.coffee | 7korobi/giji-gatsby | 0 | { Set, Model, Query, Rule, State } = require 'memory-orm'
order = [
"ririnra"
"wa"
"time"
"sf"
"fable"
"mad"
"ger"
"changed"
"animal"
"school"
"all"
]
new Rule("tag").schema ->
@belongs_to "chr_set"
@habtm "faces", reverse: true
@tree()
class @model extends @model
chr_job: (face_id... | 49210 | { Set, Model, Query, Rule, State } = require 'memory-orm'
order = [
"ririnra"
"wa"
"time"
"sf"
"fable"
"mad"
"ger"
"changed"
"animal"
"school"
"all"
]
new Rule("tag").schema ->
@belongs_to "chr_set"
@habtm "faces", reverse: true
@tree()
class @model extends @model
chr_job: (face_id... | true | { Set, Model, Query, Rule, State } = require 'memory-orm'
order = [
"ririnra"
"wa"
"time"
"sf"
"fable"
"mad"
"ger"
"changed"
"animal"
"school"
"all"
]
new Rule("tag").schema ->
@belongs_to "chr_set"
@habtm "faces", reverse: true
@tree()
class @model extends @model
chr_job: (face_id... |
[
{
"context": "cum, context\n\n\t# Handle book-only ranges like \"1-2 Samuel\". It doesn't support multiple ambiguous ranges",
"end": 2253,
"score": 0.9083166122436523,
"start": 2250,
"tag": "NAME",
"value": "Sam"
},
{
"context": ".start.c = 1\n\t\t\t\tobj.end.c = 1\n\t\t\t\tcontext_k... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/core/bcv_passage.coffee | saiba-mais/bible-lessons | 149 | # This class takes the output from the grammar and turns it into simpler objects for additional processing or for output.
class bcv_passage
books: []
indices: {}
# `bcv_parser` sets these two.
options: {}
translations: {}
# ## Public
# Loop through the parsed passages.
handle_array: (passages, accum=[], conte... | 204253 | # This class takes the output from the grammar and turns it into simpler objects for additional processing or for output.
class bcv_passage
books: []
indices: {}
# `bcv_parser` sets these two.
options: {}
translations: {}
# ## Public
# Loop through the parsed passages.
handle_array: (passages, accum=[], conte... | true | # This class takes the output from the grammar and turns it into simpler objects for additional processing or for output.
class bcv_passage
books: []
indices: {}
# `bcv_parser` sets these two.
options: {}
translations: {}
# ## Public
# Loop through the parsed passages.
handle_array: (passages, accum=[], conte... |
[
{
"context": "ault_time: 1421050275\n content: '测试消息'\n token: 'a821dc01d5eb3056fddbccf21cc24966'\n\ndescribe 'Jiankongbao#Webhook', ->\n\n req.integ",
"end": 270,
"score": 0.9989073872566223,
"start": 238,
"tag": "KEY",
"value": "a821dc01d5eb3056fddbccf21cc24966"
}
] | test/services/jiankongbao.coffee | jianliaoim/talk-services | 40 | should = require 'should'
loader = require '../../src/loader'
{req} = require '../util'
$jiankongbao = loader.load 'jiankongbao'
payload =
msg_id: 1
task_id: 2
task_type: 'http'
fault_time: 1421050275
content: '测试消息'
token: 'a821dc01d5eb3056fddbccf21cc24966'
describe 'Jiankongbao#Webhook', ->
req.integ... | 83893 | should = require 'should'
loader = require '../../src/loader'
{req} = require '../util'
$jiankongbao = loader.load 'jiankongbao'
payload =
msg_id: 1
task_id: 2
task_type: 'http'
fault_time: 1421050275
content: '测试消息'
token: '<KEY>'
describe 'Jiankongbao#Webhook', ->
req.integration = _id: 123
it 'sh... | true | should = require 'should'
loader = require '../../src/loader'
{req} = require '../util'
$jiankongbao = loader.load 'jiankongbao'
payload =
msg_id: 1
task_id: 2
task_type: 'http'
fault_time: 1421050275
content: '测试消息'
token: 'PI:KEY:<KEY>END_PI'
describe 'Jiankongbao#Webhook', ->
req.integration = _id: ... |
[
{
"context": "class Animal\n constructor: (@name) ->\n\n walk: ->\n console.log \"My name is #{@na",
"end": 34,
"score": 0.6827607154846191,
"start": 28,
"tag": "USERNAME",
"value": "(@name"
},
{
"context": "(@name) ->\n\n walk: ->\n console.log \"My name is #{@name} and I'm... | code/coffeescript/class-constructor.coffee | evmorov/ruby-coffeescript | 29 | class Animal
constructor: (@name) ->
walk: ->
console.log "My name is #{@name} and I'm walking"
new Animal('Kelya').walk()
| 199395 | class Animal
constructor: (@name) ->
walk: ->
console.log "My name is<NAME> #{@name} and I'm walking"
new Animal('<NAME>').walk()
| true | class Animal
constructor: (@name) ->
walk: ->
console.log "My name isPI:NAME:<NAME>END_PI #{@name} and I'm walking"
new Animal('PI:NAME:<NAME>END_PI').walk()
|
[
{
"context": "keytar = require 'keytar'\n\ntokenName = 'Atom.io API Token'\n\nmodule.exports =\n # Get the Atom.io API ",
"end": 51,
"score": 0.7212791442871094,
"start": 40,
"tag": "PASSWORD",
"value": "Atom.io API"
},
{
"context": "en) ->\n keytar.replacePassword(tokenName, 'at... | src/auth.coffee | abe33/apm | 1 | keytar = require 'keytar'
tokenName = 'Atom.io API Token'
module.exports =
# Get the Atom.io API token from the keychain.
#
# callback - A function to call with an error as the first argument and a
# string token as the second argument.
getToken: (callback) ->
if token = process.env.ATOM_ACCE... | 176658 | keytar = require 'keytar'
tokenName = '<PASSWORD> Token'
module.exports =
# Get the Atom.io API token from the keychain.
#
# callback - A function to call with an error as the first argument and a
# string token as the second argument.
getToken: (callback) ->
if token = process.env.ATOM_ACCES... | true | keytar = require 'keytar'
tokenName = 'PI:PASSWORD:<PASSWORD>END_PI Token'
module.exports =
# Get the Atom.io API token from the keychain.
#
# callback - A function to call with an error as the first argument and a
# string token as the second argument.
getToken: (callback) ->
if token = proc... |
[
{
"context": "uery UI spinner editor 1.0.0\n\n Copyright (c) 2016 Tomasz Jakub Rup\n\n https://github.com/tomi77/backbone-forms-jquer",
"end": 90,
"score": 0.9998729228973389,
"start": 74,
"tag": "NAME",
"value": "Tomasz Jakub Rup"
},
{
"context": "t (c) 2016 Tomasz Jakub Rup\n\n ... | src/spinner.coffee | tomi77/backbone-forms-jquery-ui | 0 | ###
Backbone-Forms jQuery UI spinner editor 1.0.0
Copyright (c) 2016 Tomasz Jakub Rup
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['underscor... | 33850 | ###
Backbone-Forms jQuery UI spinner editor 1.0.0
Copyright (c) 2016 <NAME>
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['underscore', 'backb... | true | ###
Backbone-Forms jQuery UI spinner editor 1.0.0
Copyright (c) 2016 PI:NAME:<NAME>END_PI
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['under... |
[
{
"context": "sMissingHeaderWarning = true\n im\n\nCHANNEL_KEY = 'retailerA'\n\ndescribe 'Import integration test', ->\n before",
"end": 1400,
"score": 0.9985705018043518,
"start": 1391,
"tag": "KEY",
"value": "retailerA"
},
{
"context": "\n ,,3,slug,CU3,10,bar,cinque;sei,... | src/spec/integration/import.spec.coffee | easybi-vv/sphere-node-product-csv-sync-1 | 0 | Promise = require 'bluebird'
_ = require 'underscore'
archiver = require 'archiver'
_.mixin require('underscore-mixins')
iconv = require 'iconv-lite'
{ Import } = require '../../lib/main'
Config = require '../../config'
TestHelpers = require './testhelpers'
cuid = require 'cuid'
path = require 'path'
tmp = require 'tmp... | 30347 | Promise = require 'bluebird'
_ = require 'underscore'
archiver = require 'archiver'
_.mixin require('underscore-mixins')
iconv = require 'iconv-lite'
{ Import } = require '../../lib/main'
Config = require '../../config'
TestHelpers = require './testhelpers'
cuid = require 'cuid'
path = require 'path'
tmp = require 'tmp... | true | Promise = require 'bluebird'
_ = require 'underscore'
archiver = require 'archiver'
_.mixin require('underscore-mixins')
iconv = require 'iconv-lite'
{ Import } = require '../../lib/main'
Config = require '../../config'
TestHelpers = require './testhelpers'
cuid = require 'cuid'
path = require 'path'
tmp = require 'tmp... |
[
{
"context": "$scope.createMap = ->\n L.mapbox.accessToken = 'pk.eyJ1IjoibmlyZCIsImEiOiJkYTJhZjEzNjYwOWFhYjAxZTA2MmEwY2M3YTVjYjdmMSJ9.tkmsiYYqbIwwYELc-xskCw';\n\n $scope.map = L.mapbox.map('map','socrata.i",
"end": 303,
"score": 0.9997390508651733,
"start": 209,
"tag": "KEY",
"value": ... | app/assets/javascripts/angular-app/controllers/mapController.js.coffee | EdsonGermano/castos-public | 0 | app.controller 'mapController', ['$scope', '$http', '$rootScope', ($scope, $http, $rootScope) ->
# Uses mapbox libraries to create map object used by view
$scope.createMap = ->
L.mapbox.accessToken = 'pk.eyJ1IjoibmlyZCIsImEiOiJkYTJhZjEzNjYwOWFhYjAxZTA2MmEwY2M3YTVjYjdmMSJ9.tkmsiYYqbIwwYELc-xskCw';
$scope.ma... | 148523 | app.controller 'mapController', ['$scope', '$http', '$rootScope', ($scope, $http, $rootScope) ->
# Uses mapbox libraries to create map object used by view
$scope.createMap = ->
L.mapbox.accessToken = '<KEY>';
$scope.map = L.mapbox.map('map','socrata.ie5c18he', {
tileLayer: {
detectRetina: tru... | true | app.controller 'mapController', ['$scope', '$http', '$rootScope', ($scope, $http, $rootScope) ->
# Uses mapbox libraries to create map object used by view
$scope.createMap = ->
L.mapbox.accessToken = 'PI:KEY:<KEY>END_PI';
$scope.map = L.mapbox.map('map','socrata.ie5c18he', {
tileLayer: {
dete... |
[
{
"context": "erview\",\n {username: conf.username, password: conf.password}).on 'complete', (data) ->\n rmq_data = eval ",
"end": 795,
"score": 0.8639196753501892,
"start": 782,
"tag": "PASSWORD",
"value": "conf.password"
}
] | scripts-available/rabbitmq.coffee | coredump/hoardd | 13 | Rest = require('restler')
Fs = require 'fs'
Path = require 'path'
module.exports = (server) ->
run = () ->
# This script needs configuration
confPath = Path.join server.sPath, 'rabbitmq.json'
configFile = Fs.readFileSync confPath, 'utf-8'
conf = JSON.parse configFile
stats = ['... | 4159 | Rest = require('restler')
Fs = require 'fs'
Path = require 'path'
module.exports = (server) ->
run = () ->
# This script needs configuration
confPath = Path.join server.sPath, 'rabbitmq.json'
configFile = Fs.readFileSync confPath, 'utf-8'
conf = JSON.parse configFile
stats = ['... | true | Rest = require('restler')
Fs = require 'fs'
Path = require 'path'
module.exports = (server) ->
run = () ->
# This script needs configuration
confPath = Path.join server.sPath, 'rabbitmq.json'
configFile = Fs.readFileSync confPath, 'utf-8'
conf = JSON.parse configFile
stats = ['... |
[
{
"context": "'use strict'\n\n\n# Key\n#\n# @copyright Andrew Lawson 2012\n# @see http://github.com/adlawson/key\n# @see",
"end": 49,
"score": 0.9998752474784851,
"start": 36,
"tag": "NAME",
"value": "Andrew Lawson"
},
{
"context": "right Andrew Lawson 2012\n# @see http://github.com/... | src/code/alnum.coffee | adlawson/coffee-key | 1 | 'use strict'
# Key
#
# @copyright Andrew Lawson 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
alnum = {
'0': ref '0', 48
'1': ref '1', 49
'2': ref '2', 50... | 137870 | 'use strict'
# Key
#
# @copyright <NAME> 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
alnum = {
'0': ref '0', 48
'1': ref '1', 49
'2': ref '2', 50
'3':... | true | 'use strict'
# Key
#
# @copyright PI:NAME:<NAME>END_PI 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
alnum = {
'0': ref '0', 48
'1': ref '1', 49
'2': ref ... |
[
{
"context": "# Copyright © 2013 All rights reserved\n# Author: nhim175@gmail.com\n\nPlayState = require './lib/states/play_state.cof",
"end": 66,
"score": 0.9999114274978638,
"start": 49,
"tag": "EMAIL",
"value": "nhim175@gmail.com"
},
{
"context": ".fbAsyncInit = ->\n FB.init\n ... | src/main.coffee | nhim175/scorpionsmasher | 0 | # Copyright © 2013 All rights reserved
# Author: nhim175@gmail.com
PlayState = require './lib/states/play_state.coffee'
MenuState = require './lib/states/menu_state.coffee'
LoadState = require './lib/states/load_state.coffee'
BootState = require './lib/states/boot_state.coffee'
config = require './lib/config.coffee'
... | 102951 | # Copyright © 2013 All rights reserved
# Author: <EMAIL>
PlayState = require './lib/states/play_state.coffee'
MenuState = require './lib/states/menu_state.coffee'
LoadState = require './lib/states/load_state.coffee'
BootState = require './lib/states/boot_state.coffee'
config = require './lib/config.coffee'
APP_VERSIO... | true | # Copyright © 2013 All rights reserved
# Author: PI:EMAIL:<EMAIL>END_PI
PlayState = require './lib/states/play_state.coffee'
MenuState = require './lib/states/menu_state.coffee'
LoadState = require './lib/states/load_state.coffee'
BootState = require './lib/states/boot_state.coffee'
config = require './lib/config.coff... |
[
{
"context": " render: ->\n @$el\n\n# extending few mixins - thx Derick - http://stackoverflow.com/questions/7853731/prop",
"end": 2743,
"score": 0.7421286106109619,
"start": 2737,
"tag": "NAME",
"value": "Derick"
}
] | src/views/draggable.coffee | frontfoot/overlay_me | 1 | class OverlayMe.DraggableView extends Backbone.View
savableCss: ['top', 'left', 'display', 'opacity']
defaultDragConfig:
callbacks:
beforeMove: ->
afterMove: ->
axes:
x: true
y: true
boundaries:
top: null
right: null
bottom: null
left: null
even... | 12258 | class OverlayMe.DraggableView extends Backbone.View
savableCss: ['top', 'left', 'display', 'opacity']
defaultDragConfig:
callbacks:
beforeMove: ->
afterMove: ->
axes:
x: true
y: true
boundaries:
top: null
right: null
bottom: null
left: null
even... | true | class OverlayMe.DraggableView extends Backbone.View
savableCss: ['top', 'left', 'display', 'opacity']
defaultDragConfig:
callbacks:
beforeMove: ->
afterMove: ->
axes:
x: true
y: true
boundaries:
top: null
right: null
bottom: null
left: null
even... |
[
{
"context": " upsertTup: (tup, callback) ->\n tup._key = tup.id\n\n tupQuery = \"\"\"\n UPSERT {_key: \"#{tup.id",
"end": 4811,
"score": 0.8968377709388733,
"start": 4809,
"tag": "KEY",
"value": "id"
}
] | lib/topology_manager.coffee | bedrockdata/stormchaser | 1 | fs = require 'fs'
db = require('arangojs')()
async = require 'async'
nodePath = require 'path'
class TopologyManager
constructor: () ->
@clients = {}
@topologies = {}
@identities = {}
db.useDatabase 'stormchaser'
setInterval () =>
for name, config of @topologies
for guid, client ... | 64399 | fs = require 'fs'
db = require('arangojs')()
async = require 'async'
nodePath = require 'path'
class TopologyManager
constructor: () ->
@clients = {}
@topologies = {}
@identities = {}
db.useDatabase 'stormchaser'
setInterval () =>
for name, config of @topologies
for guid, client ... | true | fs = require 'fs'
db = require('arangojs')()
async = require 'async'
nodePath = require 'path'
class TopologyManager
constructor: () ->
@clients = {}
@topologies = {}
@identities = {}
db.useDatabase 'stormchaser'
setInterval () =>
for name, config of @topologies
for guid, client ... |
[
{
"context": " TEST_ACCOUNT_EMAIL\nuser_2 = new Contact\n name: \"User Two\"\n email: \"user2@nylas.com\"\nuser_3 = new Contact\n",
"end": 764,
"score": 0.9927659034729004,
"start": 756,
"tag": "NAME",
"value": "User Two"
},
{
"context": "user_2 = new Contact\n name: \"User Two\"\... | packages/client-app/internal_packages/message-list/spec/message-list-spec.cjsx | cnheider/nylas-mail | 24,369 | _ = require "underscore"
moment = require "moment"
proxyquire = require("proxyquire").noPreserveCache()
React = require "react"
ReactDOM = require "react-dom"
ReactTestUtils = require 'react-addons-test-utils'
{Thread,
Contact,
Actions,
Message,
Account,
DraftStore,
MessageStore,
AccountStore,
NylasTestUtils,... | 223287 | _ = require "underscore"
moment = require "moment"
proxyquire = require("proxyquire").noPreserveCache()
React = require "react"
ReactDOM = require "react-dom"
ReactTestUtils = require 'react-addons-test-utils'
{Thread,
Contact,
Actions,
Message,
Account,
DraftStore,
MessageStore,
AccountStore,
NylasTestUtils,... | true | _ = require "underscore"
moment = require "moment"
proxyquire = require("proxyquire").noPreserveCache()
React = require "react"
ReactDOM = require "react-dom"
ReactTestUtils = require 'react-addons-test-utils'
{Thread,
Contact,
Actions,
Message,
Account,
DraftStore,
MessageStore,
AccountStore,
NylasTestUtils,... |
[
{
"context": "t: \"Employees\"\n\n\ttables:\n\t\t\"Employees\":\n\t\t\tname: \"test_employees\"\n\t\t\thashKey: \"id\"\n\n\t\t\tattributes: [\n\t\t\t\t{ key: \"",
"end": 229,
"score": 0.8637968897819519,
"start": 215,
"tag": "USERNAME",
"value": "test_employees"
},
{
"context": "\n\... | test/config.coffee | mpneuried/simple-dynamo | 1 | module.exports =
aws:
accessKeyId: "-"
secretAccessKey: "-"
region: "eu-west-1"
scanWarning: false
test:
deleteTablesOnEnd: true
singleCreateTableTest: "Employees"
tables:
"Employees":
name: "test_employees"
hashKey: "id"
attributes: [
{ key: "name", type: "string", required: true }
... | 219393 | module.exports =
aws:
accessKeyId: "-"
secretAccessKey: "-"
region: "eu-west-1"
scanWarning: false
test:
deleteTablesOnEnd: true
singleCreateTableTest: "Employees"
tables:
"Employees":
name: "test_employees"
hashKey: "id"
attributes: [
{ key: "name", type: "string", required: true }
... | true | module.exports =
aws:
accessKeyId: "-"
secretAccessKey: "-"
region: "eu-west-1"
scanWarning: false
test:
deleteTablesOnEnd: true
singleCreateTableTest: "Employees"
tables:
"Employees":
name: "test_employees"
hashKey: "id"
attributes: [
{ key: "name", type: "string", required: true }
... |
[
{
"context": "e = null\n\n before (done) ->\n authorization = 'AIzaZSJi04RieGWWElutKRw8lkNBtx8MugwCMhn'\n firstTarget = 'e4uEvCZELP0:APA91bE8Jt75rjHma",
"end": 566,
"score": 0.9993273615837097,
"start": 527,
"tag": "KEY",
"value": "AIzaZSJi04RieGWWElutKRw8lkNBtx8MugwCMhn"
},
{
... | test/models/gcm/gcm-sender-test.coffee | tq1/push-sender | 0 | require('rootpath')()
assert = require('chai').assert
sinon = require 'sinon'
gcm = require 'test/stubs/gcm/node-gcm-stub'
PushResponse = require('src/models/response')()
GcmSender = require('src/models/gcm/gcm-sender') gcm, PushResponse
describe 'GcmSender', ->
gcmSender = null
authorization = null
content =... | 181959 | require('rootpath')()
assert = require('chai').assert
sinon = require 'sinon'
gcm = require 'test/stubs/gcm/node-gcm-stub'
PushResponse = require('src/models/response')()
GcmSender = require('src/models/gcm/gcm-sender') gcm, PushResponse
describe 'GcmSender', ->
gcmSender = null
authorization = null
content =... | true | require('rootpath')()
assert = require('chai').assert
sinon = require 'sinon'
gcm = require 'test/stubs/gcm/node-gcm-stub'
PushResponse = require('src/models/response')()
GcmSender = require('src/models/gcm/gcm-sender') gcm, PushResponse
describe 'GcmSender', ->
gcmSender = null
authorization = null
content =... |
[
{
"context": "*\n# @fileoverview Tests for no-tabs rule\n# @author Gyandeep Singh\n###\n'use strict'\n\n#------------------------------",
"end": 68,
"score": 0.9998356699943542,
"start": 54,
"tag": "NAME",
"value": "Gyandeep Singh"
}
] | src/tests/rules/no-tabs.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-tabs rule
# @author Gyandeep Singh
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-tabs'
{RuleTester} = ... | 105975 | ###*
# @fileoverview Tests for no-tabs rule
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-tabs'
{RuleTester} = require ... | true | ###*
# @fileoverview Tests for no-tabs rule
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-tabs'
{RuleTest... |
[
{
"context": "return X characters from the end of a string ('simon',2 => 'on')\n rightTrim = (str, chars) ->\n ",
"end": 233,
"score": 0.8653013110160828,
"start": 231,
"tag": "NAME",
"value": "on"
}
] | src/index.coffee | davidbanham/tz-filter | 0 | time = require 'time'
module.exports =
tzFilter = (candidates, original_tarTime, offset, now = new time.Date()) ->
tarTime = JSON.parse JSON.stringify original_tarTime
# return X characters from the end of a string ('simon',2 => 'on')
rightTrim = (str, chars) ->
str.substr(str.length - chars, str.l... | 36099 | time = require 'time'
module.exports =
tzFilter = (candidates, original_tarTime, offset, now = new time.Date()) ->
tarTime = JSON.parse JSON.stringify original_tarTime
# return X characters from the end of a string ('sim<NAME>',2 => 'on')
rightTrim = (str, chars) ->
str.substr(str.length - chars, s... | true | time = require 'time'
module.exports =
tzFilter = (candidates, original_tarTime, offset, now = new time.Date()) ->
tarTime = JSON.parse JSON.stringify original_tarTime
# return X characters from the end of a string ('simPI:NAME:<NAME>END_PI',2 => 'on')
rightTrim = (str, chars) ->
str.substr(str.len... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999138116836548,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/_components/changelog-entry.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, span, a } from 'react-dom-factories'
el = React.createElement
icon =
add: 'fas fa-plus'
fix: 'f... | 95583 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, span, a } from 'react-dom-factories'
el = React.createElement
icon =
add: 'fas fa-plus'
fix: 'fas fa-c... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, span, a } from 'react-dom-factories'
el = React.createElement
icon =
add: 'fas fa-plus'
... |
[
{
"context": " people: [\n { name: 'moe', age: 400 }\n { name: 'larry', a",
"end": 3609,
"score": 0.9997240304946899,
"start": 3606,
"tag": "NAME",
"value": "moe"
},
{
"context": "ame: 'moe', age: 400 }\n { name: 'larry',... | source/spec/blending/DeepDefaultsBlender-spec.coffee | anodynos/uBerscore | 1 | { objectWithProtoInheritedProps, Class3, c3, expectedPropertyValues
project, team, bundle
bundle_project_team
earth
laboratory
experiment
earth_laboratory_experiment
experiment_laboratory_earth
laboratory_experiment
} = data
describe "Defaults: The DeepDefaultsBlender, overwritting only null/undefine... | 133903 | { objectWithProtoInheritedProps, Class3, c3, expectedPropertyValues
project, team, bundle
bundle_project_team
earth
laboratory
experiment
earth_laboratory_experiment
experiment_laboratory_earth
laboratory_experiment
} = data
describe "Defaults: The DeepDefaultsBlender, overwritting only null/undefine... | true | { objectWithProtoInheritedProps, Class3, c3, expectedPropertyValues
project, team, bundle
bundle_project_team
earth
laboratory
experiment
earth_laboratory_experiment
experiment_laboratory_earth
laboratory_experiment
} = data
describe "Defaults: The DeepDefaultsBlender, overwritting only null/undefine... |
[
{
"context": "###\n backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n Lice",
"end": 58,
"score": 0.9986183047294617,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/extensions/model.coffee | michaelBenin/backbone-orm | 1 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
moment = require 'moment'
Queue... | 122950 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
moment = require 'moment'
Queue =... | true | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
moment = require 'm... |
[
{
"context": "_password = ->\n log auth.encode_password(pass,\"!PYL\",'\\\\x00\\\\x00\\\\x00\\\\x00\\\\x07\\\\x60\\\\xa4\\\\x78')\n ",
"end": 849,
"score": 0.9989053606987,
"start": 846,
"tag": "PASSWORD",
"value": "PYL"
},
{
"context": "rd = ->\n log auth.encode_password(pa... | tests/login.coffee | 13701138894/hubot-demo-qqhubot- | 1,346 | #!/usr/bin/env coffee
# 登录相关的测试代码
int = (v) -> parseInt v
log = console.log
auth = require "../src/qqauth"
api = require "../src/qqapi"
jsons = JSON.stringify
defaults = require '../src/defaults'
config = require '../config'
qq = config.account
pass = config.password
prompt = (title, callback) ->
process.stdi... | 202705 | #!/usr/bin/env coffee
# 登录相关的测试代码
int = (v) -> parseInt v
log = console.log
auth = require "../src/qqauth"
api = require "../src/qqapi"
jsons = JSON.stringify
defaults = require '../src/defaults'
config = require '../config'
qq = config.account
pass = config.password
prompt = (title, callback) ->
process.stdi... | true | #!/usr/bin/env coffee
# 登录相关的测试代码
int = (v) -> parseInt v
log = console.log
auth = require "../src/qqauth"
api = require "../src/qqapi"
jsons = JSON.stringify
defaults = require '../src/defaults'
config = require '../config'
qq = config.account
pass = config.password
prompt = (title, callback) ->
process.stdi... |
[
{
"context": "e', ->\n beforeEach (done) ->\n redisKey = UUID.v4()\n client = new RedisNS \"datastore:test:things",
"end": 321,
"score": 0.6103990077972412,
"start": 319,
"tag": "KEY",
"value": "v4"
},
{
"context": "ood'\n type: 'campfire'\n token: 'I bet you... | test/datastore-spec.coffee | octoblu/meshblu-core-datastore | 0 | {describe,beforeEach,expect,it} = global
mongojs = require 'mongojs'
Datastore = require '../src/datastore'
Cache = require 'meshblu-core-cache'
redis = require 'fakeredis'
RedisNS = require '@octoblu/redis-ns'
UUID = require 'uuid'
describe 'Datastore', ->
beforeEach (done) ->
redisKey = UUID.v... | 67438 | {describe,beforeEach,expect,it} = global
mongojs = require 'mongojs'
Datastore = require '../src/datastore'
Cache = require 'meshblu-core-cache'
redis = require 'fakeredis'
RedisNS = require '@octoblu/redis-ns'
UUID = require 'uuid'
describe 'Datastore', ->
beforeEach (done) ->
redisKey = UUID.<... | true | {describe,beforeEach,expect,it} = global
mongojs = require 'mongojs'
Datastore = require '../src/datastore'
Cache = require 'meshblu-core-cache'
redis = require 'fakeredis'
RedisNS = require '@octoblu/redis-ns'
UUID = require 'uuid'
describe 'Datastore', ->
beforeEach (done) ->
redisKey = UUID.P... |
[
{
"context": "# EggStretchDotExample\n# by Kasim Te (kasimte@gmail.com)\n# \n# An example Framer Studio",
"end": 36,
"score": 0.9998652935028076,
"start": 28,
"tag": "NAME",
"value": "Kasim Te"
},
{
"context": "# EggStretchDotExample\n# by Kasim Te (kasimte@gmail.com)\n# \n# An examp... | EggStretchDotExample.framer/framer/backups/backup-1440828348.coffee | kasimte/FramerEggStretchDot | 0 | # EggStretchDotExample
# by Kasim Te (kasimte@gmail.com)
#
# An example Framer Studio Project to demonstrate the egg.coffee module.
#
# Instructions: Click, hold, and drag left or right on the screen.
egg = require "egg"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
dot = new egg.EggStretchDot... | 37291 | # EggStretchDotExample
# by <NAME> (<EMAIL>)
#
# An example Framer Studio Project to demonstrate the egg.coffee module.
#
# Instructions: Click, hold, and drag left or right on the screen.
egg = require "egg"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
dot = new egg.EggStretchDot
width: 200... | true | # EggStretchDotExample
# by PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
#
# An example Framer Studio Project to demonstrate the egg.coffee module.
#
# Instructions: Click, hold, and drag left or right on the screen.
egg = require "egg"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
dot = new ... |
[
{
"context": "1; param2=2; param3=true'), {\n param1: 'value1'\n param2: 2\n param3: true\n })\n\n it ",
"end": 213,
"score": 0.7045225501060486,
"start": 212,
"tag": "NAME",
"value": "1"
},
{
"context": "'parseCookie', ->\n obj = {\n param1: 'value1'\n ... | test/system/lib/cookies.spec.coffee | bozonx/squidlet | 0 | cookies = require('../../../system/lib/cookies')
describe 'system.lib.cookies', ->
it 'parseCookie', ->
assert.deepEqual(cookies.parseCookie('param1=value1; param2=2; param3=true'), {
param1: 'value1'
param2: 2
param3: true
})
it 'parseCookie', ->
obj = {
param1: 'value1'
... | 175891 | cookies = require('../../../system/lib/cookies')
describe 'system.lib.cookies', ->
it 'parseCookie', ->
assert.deepEqual(cookies.parseCookie('param1=value1; param2=2; param3=true'), {
param1: 'value<NAME>'
param2: 2
param3: true
})
it 'parseCookie', ->
obj = {
param1: 'value<N... | true | cookies = require('../../../system/lib/cookies')
describe 'system.lib.cookies', ->
it 'parseCookie', ->
assert.deepEqual(cookies.parseCookie('param1=value1; param2=2; param3=true'), {
param1: 'valuePI:NAME:<NAME>END_PI'
param2: 2
param3: true
})
it 'parseCookie', ->
obj = {
pa... |
[
{
"context": "rt any abuse to \n <a href='mailto:abuse@koding.com'>abuse@koding.com</a>.\n </li>\n ",
"end": 1785,
"score": 0.9999295473098755,
"start": 1769,
"tag": "EMAIL",
"value": "abuse@koding.com"
},
{
"context": "sp;\n <a href='mail... | client/activity/lib/components/sidebarwidgets/postingguidelineswidget.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
React = require 'kd-react'
Link = require 'app/components/common/link'
classnames = require 'classnames'
module.exports = class PostingGuideLinesWidget extends React.Component
constructor: (props) ->
super
@state = { isExpanded: no }
showMoreClick: (event) ->
... | 191027 | kd = require 'kd'
React = require 'kd-react'
Link = require 'app/components/common/link'
classnames = require 'classnames'
module.exports = class PostingGuideLinesWidget extends React.Component
constructor: (props) ->
super
@state = { isExpanded: no }
showMoreClick: (event) ->
... | true | kd = require 'kd'
React = require 'kd-react'
Link = require 'app/components/common/link'
classnames = require 'classnames'
module.exports = class PostingGuideLinesWidget extends React.Component
constructor: (props) ->
super
@state = { isExpanded: no }
showMoreClick: (event) ->
... |
[
{
"context": "website='test.com'\nname='test'\nrun_at='document-idle'\n\nuserscipt_dir='D:/Script",
"end": 29,
"score": 0.8600488305091858,
"start": 25,
"tag": "USERNAME",
"value": "test"
},
{
"context": " GM_setValue\n// @version 0.1\n// @author 沈鸿飞\n// @namespace http... | bin/new-userscript.coffee | ShenHongFei/my-scripts | 0 | website='test.com'
name='test'
run_at='document-idle'
userscipt_dir='D:/Scripts/userscripts/'
dir="#{userscipt_dir}#{name}/"
js_path="#{dir}#{name}.js"
coffee_path="#{dir}#{name}.coffee"
header="""
// ==UserScript==
// @name #{name}
// @match *://#{website}/**
// @require file://#{js_path}
// @run-... | 142422 | website='test.com'
name='test'
run_at='document-idle'
userscipt_dir='D:/Scripts/userscripts/'
dir="#{userscipt_dir}#{name}/"
js_path="#{dir}#{name}.js"
coffee_path="#{dir}#{name}.coffee"
header="""
// ==UserScript==
// @name #{name}
// @match *://#{website}/**
// @require file://#{js_path}
// @run-... | true | website='test.com'
name='test'
run_at='document-idle'
userscipt_dir='D:/Scripts/userscripts/'
dir="#{userscipt_dir}#{name}/"
js_path="#{dir}#{name}.js"
coffee_path="#{dir}#{name}.coffee"
header="""
// ==UserScript==
// @name #{name}
// @match *://#{website}/**
// @require file://#{js_path}
// @run-... |
[
{
"context": "<TestImage imgsLoaded={@props.imgsLoaded} key={img.id} pictureNotOK={@pictureNotOK} pictureIsOK={@pictu",
"end": 784,
"score": 0.6902050375938416,
"start": 782,
"tag": "KEY",
"value": "id"
}
] | react_components/images_container.cjsx | KyleAMathews/react-flickr-example | 2 | React = require 'react/addons'
ReactCSSTransitionGroup = React.addons.CSSTransitionGroup
TestImage = require './test_image'
FlickrImage = require './flickr_image'
module.exports = React.createClass
displayName: "ImagesContainer"
getInitialState: ->
okPics: []
badPics: 0
componentWillReceiveProps: (next... | 88501 | React = require 'react/addons'
ReactCSSTransitionGroup = React.addons.CSSTransitionGroup
TestImage = require './test_image'
FlickrImage = require './flickr_image'
module.exports = React.createClass
displayName: "ImagesContainer"
getInitialState: ->
okPics: []
badPics: 0
componentWillReceiveProps: (next... | true | React = require 'react/addons'
ReactCSSTransitionGroup = React.addons.CSSTransitionGroup
TestImage = require './test_image'
FlickrImage = require './flickr_image'
module.exports = React.createClass
displayName: "ImagesContainer"
getInitialState: ->
okPics: []
badPics: 0
componentWillReceiveProps: (next... |
[
{
"context": " alerts into \"Growl-like\" notifications.\n# Author: Mouse0270 aka Robert McIntosh\n# License: MIT License\n# Webs",
"end": 140,
"score": 0.9995280504226685,
"start": 131,
"tag": "USERNAME",
"value": "Mouse0270"
},
{
"context": "Growl-like\" notifications.\n# Author: M... | src/bootstrap-notify.coffee | jbox-web/bootstrap-notify | 0 | ###
# Project: Bootstrap Notify = v3.1.8
# Description: Turns standard Bootstrap alerts into "Growl-like" notifications.
# Author: Mouse0270 aka Robert McIntosh
# License: MIT License
# Website: https://github.com/mouse0270/bootstrap-growl
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD. Re... | 19907 | ###
# Project: Bootstrap Notify = v3.1.8
# Description: Turns standard Bootstrap alerts into "Growl-like" notifications.
# Author: Mouse0270 aka <NAME>
# License: MIT License
# Website: https://github.com/mouse0270/bootstrap-growl
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD. Register as... | true | ###
# Project: Bootstrap Notify = v3.1.8
# Description: Turns standard Bootstrap alerts into "Growl-like" notifications.
# Author: Mouse0270 aka PI:NAME:<NAME>END_PI
# License: MIT License
# Website: https://github.com/mouse0270/bootstrap-growl
###
((factory) ->
if typeof define == 'function' and define.amd
# AM... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999116659164429,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/_components/img2x.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
export Img2x = (props) ->
allProps = _.extend osu.src2x(props.src), props
ReactDOMFactories.img allProps, props.children
| 66076 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
export Img2x = (props) ->
allProps = _.extend osu.src2x(props.src), props
ReactDOMFactories.img allProps, props.children
| true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
export Img2x = (props) ->
allProps = _.extend osu.src2x(props.src), props
ReactDOMFactories.img allProps, props.children
|
[
{
"context": " on jQuery UI\n###\n\nlast_name_options =\n id: 'last_name' # the parser name\n ",
"end": 103,
"score": 0.9964073300361633,
"start": 94,
"tag": "NAME",
"value": "last_name"
}
] | app/assets/javascripts/inbox/inbox_table.js.coffee | andyl/BAMRU-Private | 1 | ###
Used to sort photos (drag & drop)
Relies on jQuery UI
###
last_name_options =
id: 'last_name' # the parser name
is: (s) -> false # disable standard parser
type: 'text' # either text or numeric
format: (s) -> (... | 160960 | ###
Used to sort photos (drag & drop)
Relies on jQuery UI
###
last_name_options =
id: '<NAME>' # the parser name
is: (s) -> false # disable standard parser
type: 'text' # either text or numeric
format: (s) -> (new... | true | ###
Used to sort photos (drag & drop)
Relies on jQuery UI
###
last_name_options =
id: 'PI:NAME:<NAME>END_PI' # the parser name
is: (s) -> false # disable standard parser
type: 'text' # either text or numeric
forma... |
[
{
"context": ">\n return next(err) if err\n user.password = req.body.password\n user.save (err) ->\n return next(err) if",
"end": 3455,
"score": 0.9543038606643677,
"start": 3438,
"tag": "PASSWORD",
"value": "req.body.password"
},
{
"context": " return res.redirect(\"... | controllers/user.coffee | crueber/mean-coffee-starter | 0 | crypto = require("crypto")
passport = require("passport")
mailTransporter = require '../lib/mailer'
###
GET /login
Login page.
###
exports.getLogin = (req, res) ->
return res.redirect("/") if req.user
res.render "account/login",
title: "Login"
###
POST /login
Sign in using email and password.
@p... | 143700 | crypto = require("crypto")
passport = require("passport")
mailTransporter = require '../lib/mailer'
###
GET /login
Login page.
###
exports.getLogin = (req, res) ->
return res.redirect("/") if req.user
res.render "account/login",
title: "Login"
###
POST /login
Sign in using email and password.
@p... | true | crypto = require("crypto")
passport = require("passport")
mailTransporter = require '../lib/mailer'
###
GET /login
Login page.
###
exports.getLogin = (req, res) ->
return res.redirect("/") if req.user
res.render "account/login",
title: "Login"
###
POST /login
Sign in using email and password.
@p... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992201328277588,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-socket-write-after-fin-error.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... | 121547 | # 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": "t Author', 'Other Author']\n creator: ['fagbokforlaget']\n date: Date.now()\n url: '",
"end": 493,
"score": 0.99959397315979,
"start": 479,
"tag": "USERNAME",
"value": "fagbokforlaget"
},
{
"context": "t Author', 'Other Author']\n ... | test/hpub_writer.test.coffee | fagbokforlaget/hpubjs | 2 | path = require 'path'
assert = require('assert')
hpub = require('../index.js')
fs = require 'fs-extra'
existsSync = ((if fs.existsSync then fs.existsSync else path.existsSync))
describe 'hpub', ->
describe 'writer', ->
it 'should be able to add meta', ->
writer = new hpub.Writer "./test/hpub_samples/boo... | 172001 | path = require 'path'
assert = require('assert')
hpub = require('../index.js')
fs = require 'fs-extra'
existsSync = ((if fs.existsSync then fs.existsSync else path.existsSync))
describe 'hpub', ->
describe 'writer', ->
it 'should be able to add meta', ->
writer = new hpub.Writer "./test/hpub_samples/boo... | true | path = require 'path'
assert = require('assert')
hpub = require('../index.js')
fs = require 'fs-extra'
existsSync = ((if fs.existsSync then fs.existsSync else path.existsSync))
describe 'hpub', ->
describe 'writer', ->
it 'should be able to add meta', ->
writer = new hpub.Writer "./test/hpub_samples/boo... |
[
{
"context": "k(window)\n input = {}\n img = {}\n name = \"Test Name\"\n\n afterEach ->\n windowMock.restore()\n\n desc",
"end": 331,
"score": 0.9982329607009888,
"start": 322,
"tag": "NAME",
"value": "Test Name"
}
] | tests/coffee/unit/test_assign.coffee | brucedockeray-projects/django-good-otp | 19 | describe "Secret key assignment test", ->
input = undefined
img = undefined
name = undefined
generateOTPSecretReturnValue = undefined
windowMock = undefined
beforeEach ->
generateOTPSecretReturnValue = window.generateOTPSecret()
windowMock = sinon.mock(window)
input = {}
img = {}
name =... | 70973 | describe "Secret key assignment test", ->
input = undefined
img = undefined
name = undefined
generateOTPSecretReturnValue = undefined
windowMock = undefined
beforeEach ->
generateOTPSecretReturnValue = window.generateOTPSecret()
windowMock = sinon.mock(window)
input = {}
img = {}
name =... | true | describe "Secret key assignment test", ->
input = undefined
img = undefined
name = undefined
generateOTPSecretReturnValue = undefined
windowMock = undefined
beforeEach ->
generateOTPSecretReturnValue = window.generateOTPSecret()
windowMock = sinon.mock(window)
input = {}
img = {}
name =... |
[
{
"context": "leTypes\")\n\t\t\t.map (type) ->\n\t\t\t\treturn {\n\t\t\t\t\tkey: type.name\n\t\t\t\t\ttype: type.type\n\t\t\t\t\tvalue: req.persist.getI",
"end": 1195,
"score": 0.9868335723876953,
"start": 1186,
"tag": "KEY",
"value": "type.name"
},
{
"context": "riableTypes\")\n\t.m... | routes/admin.coffee | rallias/pdfy2 | 0 | Promise = require "bluebird"
router = require("express-promise-router")()
moment = require "moment"
slug = require "slug"
scrypt = require "scrypt-kdf"
rfr = require "rfr"
config = rfr "config"
authMiddleware = rfr "lib/middleware-auth"
useCsrf = rfr "lib/use-csrf"
persist = rfr "lib/persist"
rateLimit = require "exp... | 206061 | Promise = require "bluebird"
router = require("express-promise-router")()
moment = require "moment"
slug = require "slug"
scrypt = require "scrypt-kdf"
rfr = require "rfr"
config = rfr "config"
authMiddleware = rfr "lib/middleware-auth"
useCsrf = rfr "lib/use-csrf"
persist = rfr "lib/persist"
rateLimit = require "exp... | true | Promise = require "bluebird"
router = require("express-promise-router")()
moment = require "moment"
slug = require "slug"
scrypt = require "scrypt-kdf"
rfr = require "rfr"
config = rfr "config"
authMiddleware = rfr "lib/middleware-auth"
useCsrf = rfr "lib/use-csrf"
persist = rfr "lib/persist"
rateLimit = require "exp... |
[
{
"context": "n.find({}, {fields: _id: 0}).fetch(), [{foo: 'test3', bar: 123}]\n @assertEqual @subscription1.da",
"end": 2933,
"score": 0.7165625095367432,
"start": 2932,
"tag": "NAME",
"value": "3"
}
] | tests.coffee | peerlibrary/meteor-subscription-data | 31 | if Meteor.isServer
TestDataCollection = new Mongo.Collection null
Meteor.methods
insertTest: (obj) ->
TestDataCollection.insert obj
updateTest: (selector, query) ->
TestDataCollection.update selector, query
removeTest: (selector) ->
TestDataCollection.remove selector
Meteor.publi... | 200591 | if Meteor.isServer
TestDataCollection = new Mongo.Collection null
Meteor.methods
insertTest: (obj) ->
TestDataCollection.insert obj
updateTest: (selector, query) ->
TestDataCollection.update selector, query
removeTest: (selector) ->
TestDataCollection.remove selector
Meteor.publi... | true | if Meteor.isServer
TestDataCollection = new Mongo.Collection null
Meteor.methods
insertTest: (obj) ->
TestDataCollection.insert obj
updateTest: (selector, query) ->
TestDataCollection.update selector, query
removeTest: (selector) ->
TestDataCollection.remove selector
Meteor.publi... |
[
{
"context": "_source: 'utm_sourceValue'\n random_key: 'random_keyValue'\n }\n }\n res = {}\n next = si",
"end": 719,
"score": 0.9395162463188171,
"start": 704,
"tag": "KEY",
"value": "random_keyValue"
},
{
"context": "tm_source: 'utm_sourceValue'\n ... | test/unit/oidc/whitelistParams.coffee | camfou/connect | 0 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
settings = require '../../../boot/settings'
whitelistParams = require '../../../oidc/whitelistParams'
whitelist_params = settings.whitelist_request_params
describe '... | 186553 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
settings = require '../../../boot/settings'
whitelistParams = require '../../../oidc/whitelistParams'
whitelist_params = settings.whitelist_request_params
describe '... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
settings = require '../../../boot/settings'
whitelistParams = require '../../../oidc/whitelistParams'
whitelist_params = settings.whitelist_request_params
describe '... |
[
{
"context": "y pixel on 2D HTML5 canvas\n# https://github.com/linusyang/jscube\n#\n# Copyright (c) 2013 Linus Yang\n#\n\ncla",
"end": 101,
"score": 0.9993804097175598,
"start": 92,
"tag": "USERNAME",
"value": "linusyang"
},
{
"context": "thub.com/linusyang/jscube\n#\n# Copyrig... | src/transform.coffee | linusyang/jscube | 2 | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 Linus Yang
#
class @Transform
constructor: ->
@reset()
multiplyAffine: (a, b) ->
MatrixUtil.multiplyAffine a, b
makeRotateAffineX: (theta) ->
MatrixUtil.makeRotateAf... | 59465 | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 <NAME>
#
class @Transform
constructor: ->
@reset()
multiplyAffine: (a, b) ->
MatrixUtil.multiplyAffine a, b
makeRotateAffineX: (theta) ->
MatrixUtil.makeRotateAffine... | true | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
#
class @Transform
constructor: ->
@reset()
multiplyAffine: (a, b) ->
MatrixUtil.multiplyAffine a, b
makeRotateAffineX: (theta) ->
MatrixUtil.ma... |
[
{
"context": ", ->\n before ->\n @Model = mongoose.model 'Kitten1', mongoose.Schema\n name: { type: String, r",
"end": 317,
"score": 0.6970634460449219,
"start": 310,
"tag": "NAME",
"value": "Kitten1"
},
{
"context": "h (done) ->\n @factory.build {\n name: ... | test/random_field_generation.test.coffee | goodeggs/unionized-mongoose | 0 | mongooseFactory = require '../src'
{expect} = require 'chai'
mongoose = require 'mongoose'
moment = require 'moment'
describe 'random field generation', ->
beforeEach ->
@instance = null
describe 'an instance generated by the factory with no inputs', ->
before ->
@Model = mongoose.model 'Kitten1', ... | 16950 | mongooseFactory = require '../src'
{expect} = require 'chai'
mongoose = require 'mongoose'
moment = require 'moment'
describe 'random field generation', ->
beforeEach ->
@instance = null
describe 'an instance generated by the factory with no inputs', ->
before ->
@Model = mongoose.model '<NAME>', m... | true | mongooseFactory = require '../src'
{expect} = require 'chai'
mongoose = require 'mongoose'
moment = require 'moment'
describe 'random field generation', ->
beforeEach ->
@instance = null
describe 'an instance generated by the factory with no inputs', ->
before ->
@Model = mongoose.model 'PI:NAME:<N... |
[
{
"context": " member.teamId = team.id\n member.firstName = 'Test'\n teamsnap.saveMember member, (err, result) ->",
"end": 171,
"score": 0.9983687996864319,
"start": 167,
"tag": "NAME",
"value": "Test"
}
] | test/memberLinks.coffee | teamsnap/teamsnap-javascript-sdk | 9 | describe 'Member Links', ->
member = null
link = null
before (done) ->
member = teamsnap.createMember()
member.teamId = team.id
member.firstName = 'Test'
teamsnap.saveMember member, (err, result) ->
expect(err).to.be.null
done()
after (done) ->
teamsnap.deleteMember member, (... | 3718 | describe 'Member Links', ->
member = null
link = null
before (done) ->
member = teamsnap.createMember()
member.teamId = team.id
member.firstName = '<NAME>'
teamsnap.saveMember member, (err, result) ->
expect(err).to.be.null
done()
after (done) ->
teamsnap.deleteMember member,... | true | describe 'Member Links', ->
member = null
link = null
before (done) ->
member = teamsnap.createMember()
member.teamId = team.id
member.firstName = 'PI:NAME:<NAME>END_PI'
teamsnap.saveMember member, (err, result) ->
expect(err).to.be.null
done()
after (done) ->
teamsnap.delete... |
[
{
"context": ".reason\n\t\telse mailTo = 'Tabletop Helper Inquiry <me@example.com>'\n\n\t# Configure Mail Options\n\tmailOptions =\n\t\tfro",
"end": 866,
"score": 0.9999268651008606,
"start": 852,
"tag": "EMAIL",
"value": "me@example.com"
},
{
"context": "l Options\n\tmailOptions =\n... | includes/send-email.coffee | Sawtaytoes/4PanelFootprint-Website | 0 | module.exports = (reqBody, res) ->
nodemailer = require 'nodemailer'
smtpTransport = require 'nodemailer-smtp-transport'
# Setup SMTP Transport
if not global.__transporter
smtpOptions = process.env.SMTP_CREDENTIALS ||
host: 'localhost'
port: 1025
tls: rejectUnauthorized: false
try smtpOptions = requir... | 202600 | module.exports = (reqBody, res) ->
nodemailer = require 'nodemailer'
smtpTransport = require 'nodemailer-smtp-transport'
# Setup SMTP Transport
if not global.__transporter
smtpOptions = process.env.SMTP_CREDENTIALS ||
host: 'localhost'
port: 1025
tls: rejectUnauthorized: false
try smtpOptions = requir... | true | module.exports = (reqBody, res) ->
nodemailer = require 'nodemailer'
smtpTransport = require 'nodemailer-smtp-transport'
# Setup SMTP Transport
if not global.__transporter
smtpOptions = process.env.SMTP_CREDENTIALS ||
host: 'localhost'
port: 1025
tls: rejectUnauthorized: false
try smtpOptions = requir... |
[
{
"context": " (date = Date.now()) ->\n seed++\n\n key: \"generated_for_test_uid#{testId}:#{seed}\"\n text: \"text #{testId}:#{seed}\"\n lastMo",
"end": 293,
"score": 0.994941771030426,
"start": 253,
"tag": "KEY",
"value": "generated_for_test_uid#{testId}:#{seed}\""
},
... | spec/service/Cache.spec.coffee | awef/read.crx-3 | 2 | describe "App.CacheService", ->
"use strict"
unless 'indexedDB' in window
console.log 'Skipped IndexedDB Test.'
return
generateDummyCache = do ->
testId = Date.now()
seed = 0
(date = Date.now()) ->
seed++
key: "generated_for_test_uid#{testId}:#{seed}"
text: "text #{testId... | 141604 | describe "App.CacheService", ->
"use strict"
unless 'indexedDB' in window
console.log 'Skipped IndexedDB Test.'
return
generateDummyCache = do ->
testId = Date.now()
seed = 0
(date = Date.now()) ->
seed++
key: "<KEY>
text: "text #{testId}:#{seed}"
lastModified: date... | true | describe "App.CacheService", ->
"use strict"
unless 'indexedDB' in window
console.log 'Skipped IndexedDB Test.'
return
generateDummyCache = do ->
testId = Date.now()
seed = 0
(date = Date.now()) ->
seed++
key: "PI:KEY:<KEY>END_PI
text: "text #{testId}:#{seed}"
lastM... |
[
{
"context": "(c.username)\n password = encodeURIComponent(c.password)\n parsed.auth = username + \":\" + password\n ",
"end": 377,
"score": 0.9845337271690369,
"start": 369,
"tag": "PASSWORD",
"value": "password"
}
] | deps/npm/node_modules/npm-registry-client/lib/authify.coffee | lxe/io.coffee | 0 | authify = (authed, parsed, headers) ->
c = @conf.getCredentialsByURI(url.format(parsed))
if c and c.token
@log.verbose "request", "using bearer token for auth"
headers.authorization = "Bearer " + c.token
return null
if authed
if c and c.username and c.password
username = encodeURIComponent(c... | 185183 | authify = (authed, parsed, headers) ->
c = @conf.getCredentialsByURI(url.format(parsed))
if c and c.token
@log.verbose "request", "using bearer token for auth"
headers.authorization = "Bearer " + c.token
return null
if authed
if c and c.username and c.password
username = encodeURIComponent(c... | true | authify = (authed, parsed, headers) ->
c = @conf.getCredentialsByURI(url.format(parsed))
if c and c.token
@log.verbose "request", "using bearer token for auth"
headers.authorization = "Bearer " + c.token
return null
if authed
if c and c.username and c.password
username = encodeURIComponent(c... |
[
{
"context": "xtends Backbone.Model\n defaults:\n title: \"Hello world\"\n seeders: 200\n size: \"400 MB\"\n ",
"end": 99,
"score": 0.5361734628677368,
"start": 94,
"tag": "NAME",
"value": "Hello"
}
] | app/assets/backbone/models/torrent.js.coffee | v-yarotsky/TorrentsPub | 0 | @module 'TorrentsPub', ->
class @Torrent extends Backbone.Model
defaults:
title: "Hello world"
seeders: 200
size: "400 MB"
downloaded: "false"
category: "Movies"
tracker: "Rutracker.org"
| 81234 | @module 'TorrentsPub', ->
class @Torrent extends Backbone.Model
defaults:
title: "<NAME> world"
seeders: 200
size: "400 MB"
downloaded: "false"
category: "Movies"
tracker: "Rutracker.org"
| true | @module 'TorrentsPub', ->
class @Torrent extends Backbone.Model
defaults:
title: "PI:NAME:<NAME>END_PI world"
seeders: 200
size: "400 MB"
downloaded: "false"
category: "Movies"
tracker: "Rutracker.org"
|
[
{
"context": "calhost'\n username: process.env.USERNAME || 'admin'\n password: process.env.PASSWORD || '9999'\n ",
"end": 344,
"score": 0.9936732649803162,
"start": 339,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "e: process.env.USERNAME || 'admin'\n password:... | test/media.coffee | jasonItotal/onvif | 1 | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
util = require('util')
describe 'Media', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: proces... | 91403 | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
util = require('util')
describe 'Media', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: proces... | true | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
util = require('util')
describe 'Media', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: proces... |
[
{
"context": "e\n auth =\n user: quadernoKey\n pass: \"x\"\n\n request.get url, {auth: auth}, (err, respon",
"end": 490,
"score": 0.9977819323539734,
"start": 489,
"tag": "PASSWORD",
"value": "x"
}
] | server/controllers/quaderno.coffee | valueflowquality/gi-commerce-update | 0 | request = require 'request'
module.exports = () ->
quadernoAPI = process.env['QUADERNO_URL']
quadernoKey = process.env['QUADERNO_KEY']
getTaxRate: (req, res) ->
code = req.query.countryCode or 'GB'
url = quadernoAPI + '/api/v1/taxes/calculate.json?country=' + code
if req.query.vatNumber?
url... | 48916 | request = require 'request'
module.exports = () ->
quadernoAPI = process.env['QUADERNO_URL']
quadernoKey = process.env['QUADERNO_KEY']
getTaxRate: (req, res) ->
code = req.query.countryCode or 'GB'
url = quadernoAPI + '/api/v1/taxes/calculate.json?country=' + code
if req.query.vatNumber?
url... | true | request = require 'request'
module.exports = () ->
quadernoAPI = process.env['QUADERNO_URL']
quadernoKey = process.env['QUADERNO_KEY']
getTaxRate: (req, res) ->
code = req.query.countryCode or 'GB'
url = quadernoAPI + '/api/v1/taxes/calculate.json?country=' + code
if req.query.vatNumber?
url... |
[
{
"context": "'localhost'\n port: 9091\n username: 'transmission'\n password: 'transmission'\n )\n\n @searc",
"end": 378,
"score": 0.9974218606948853,
"start": 366,
"tag": "USERNAME",
"value": "transmission"
},
{
"context": "1\n username: 'transmission'\... | lib/hubot-torrent.coffee | dnesteryuk/hubot-torrent | 2 | Transmission = require('transmission')
EventEmitter = require('events').EventEmitter
SearchEngine = require('./hubot-torrent/search_engine')
class HubotTorrent extends EventEmitter
constructor: ->
# TODO: find the way to configure options for
# trasmission
@client = new Transmission(
host: 'loc... | 159275 | Transmission = require('transmission')
EventEmitter = require('events').EventEmitter
SearchEngine = require('./hubot-torrent/search_engine')
class HubotTorrent extends EventEmitter
constructor: ->
# TODO: find the way to configure options for
# trasmission
@client = new Transmission(
host: 'loc... | true | Transmission = require('transmission')
EventEmitter = require('events').EventEmitter
SearchEngine = require('./hubot-torrent/search_engine')
class HubotTorrent extends EventEmitter
constructor: ->
# TODO: find the way to configure options for
# trasmission
@client = new Transmission(
host: 'loc... |
[
{
"context": " uuid: 'authenticator-uuid'\n token: 'authenticator-token'\n privateKey: MESHBLU_PRIVATE_KEY\n\n @se",
"end": 2088,
"score": 0.9750474095344543,
"start": 2069,
"tag": "PASSWORD",
"value": "authenticator-token"
},
{
"context": "erPort}\"\n ... | test/integration/authentication-spec.coffee | octoblu/meshblu-authenticator-local-exchange | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
IORedis = require 'ioredis'
_ = require 'lodash'
path = require 'path'
RedisNS = require '@octoblu/redis-ns'
request = require 'request'
shmock = r... | 111153 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
IORedis = require 'ioredis'
_ = require 'lodash'
path = require 'path'
RedisNS = require '@octoblu/redis-ns'
request = require 'request'
shmock = r... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
IORedis = require 'ioredis'
_ = require 'lodash'
path = require 'path'
RedisNS = require '@octoblu/redis-ns'
request = require 'request'
shmock = r... |
[
{
"context": "###!\n@author Branko Vukelic <branko@brankovukelic.com>\n@license MIT\n###\n\n# # ",
"end": 27,
"score": 0.9998818635940552,
"start": 13,
"tag": "NAME",
"value": "Branko Vukelic"
},
{
"context": "###!\n@author Branko Vukelic <branko@brankovukelic.com>\n@license MIT\n###... | src/datetime.coffee | metromorph/datetimejs | 0 | ###!
@author Branko Vukelic <branko@brankovukelic.com>
@license MIT
###
# # Date and time formatting library
#
# This library provides a strftime-compatible API for formatting dates and time
# in JavaScript.
#
# This module is in UMD format and can be used in NodeJS, with an AMD loader
# such as RequireJS, or using a ... | 4023 | ###!
@author <NAME> <<EMAIL>>
@license MIT
###
# # Date and time formatting library
#
# This library provides a strftime-compatible API for formatting dates and time
# in JavaScript.
#
# This module is in UMD format and can be used in NodeJS, with an AMD loader
# such as RequireJS, or using a plain `<script>` tag.
def... | true | ###!
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@license MIT
###
# # Date and time formatting library
#
# This library provides a strftime-compatible API for formatting dates and time
# in JavaScript.
#
# This module is in UMD format and can be used in NodeJS, with an AMD loader
# such as RequireJS, or usin... |
[
{
"context": "me': 5, 'Plenty': 10 })\n\n modelDefs.add\n id: '6cfb9e85-90fc-4faa-954a-d99c8a9adc33'\n name: 'Company Roles'\n version: '1.0'\n ",
"end": 173,
"score": 0.8196162581443787,
"start": 137,
"tag": "PASSWORD",
"value": "6cfb9e85-90fc-4faa-954a-d99c8a9adc33"
}
] | app/coffee/modelDefs/roleBasedModel.coffee | mathewsk/cypress-example-piechopper | 17 | do ->
valueEnum = -> types.enum(default: 0, values: {
'None': 0 , 'Little': 2, 'Some': 5, 'Plenty': 10 })
modelDefs.add
id: '6cfb9e85-90fc-4faa-954a-d99c8a9adc33'
name: 'Company Roles'
version: '1.0'
image: 'roleBasedModel.png'
target: "If you want to share equity based on roles in the compa... | 200220 | do ->
valueEnum = -> types.enum(default: 0, values: {
'None': 0 , 'Little': 2, 'Some': 5, 'Plenty': 10 })
modelDefs.add
id: '<PASSWORD>'
name: 'Company Roles'
version: '1.0'
image: 'roleBasedModel.png'
target: "If you want to share equity based on roles in the company."
priority: 10
... | true | do ->
valueEnum = -> types.enum(default: 0, values: {
'None': 0 , 'Little': 2, 'Some': 5, 'Plenty': 10 })
modelDefs.add
id: 'PI:PASSWORD:<PASSWORD>END_PI'
name: 'Company Roles'
version: '1.0'
image: 'roleBasedModel.png'
target: "If you want to share equity based on roles in the company."
... |
[
{
"context": " (user, password) ->\n put(\"session\", {username: user, password: password}, null, WarbleLoginCallback)\n",
"end": 1184,
"score": 0.8159955739974976,
"start": 1180,
"tag": "USERNAME",
"value": "user"
},
{
"context": ") ->\n put(\"session\", {username: user, passw... | ui/js/coffee/warble_account.coffee | isabella232/incubator-warble-server | 1 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, ... | 128038 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, ... | true | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, ... |
[
{
"context": "dAttribute: \"_id\"\n\n \tdefaults:\n firstName: \"Friend\"\n lastNamme: \"\"\n confirmed: false\n ",
"end": 199,
"score": 0.9980935454368591,
"start": 193,
"tag": "NAME",
"value": "Friend"
}
] | public/scripts/backbone-schedule/models/friend.coffee | courseshark/courseshark | 1 | define(['jQuery',
'Underscore',
'Backbone'
'models/user'], ($,_, Backbone, User) ->
class Friend extends User
idAttribute: "_id"
defaults:
firstName: "Friend"
lastNamme: ""
confirmed: false
something: 'new'
Friend
) | 28976 | define(['jQuery',
'Underscore',
'Backbone'
'models/user'], ($,_, Backbone, User) ->
class Friend extends User
idAttribute: "_id"
defaults:
firstName: "<NAME>"
lastNamme: ""
confirmed: false
something: 'new'
Friend
) | true | define(['jQuery',
'Underscore',
'Backbone'
'models/user'], ($,_, Backbone, User) ->
class Friend extends User
idAttribute: "_id"
defaults:
firstName: "PI:NAME:<NAME>END_PI"
lastNamme: ""
confirmed: false
something: 'new'
Friend
) |
[
{
"context": "et et sw=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i@binux.me>\n# http://binux.me\n# Created o",
"end": 64,
"score": 0.9322661757469177,
"start": 59,
"tag": "USERNAME",
"value": "Binux"
},
{
"context": "w=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i... | web/static/coffee/har/editablelist.coffee | spirit1431007/qiandao-1 | 763 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<i@binux.me>
# http://binux.me
# Created on 2014-08-05 14:47:55
define (require, exports, module) ->
angular.module('editablelist', [])
.directive('editablelist', ()->
restrict: 'A'
scope: true
templateUrl: '/static/har/edi... | 5851 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<<EMAIL>>
# http://binux.me
# Created on 2014-08-05 14:47:55
define (require, exports, module) ->
angular.module('editablelist', [])
.directive('editablelist', ()->
restrict: 'A'
scope: true
templateUrl: '/static/har/editab... | true | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<PI:EMAIL:<EMAIL>END_PI>
# http://binux.me
# Created on 2014-08-05 14:47:55
define (require, exports, module) ->
angular.module('editablelist', [])
.directive('editablelist', ()->
restrict: 'A'
scope: true
templateUrl: '/st... |
[
{
"context": "t multiple component definition per file\n# @author Yannick Croissant\n###\n'use strict'\n\n# -----------------------------",
"end": 95,
"score": 0.9998401403427124,
"start": 78,
"tag": "NAME",
"value": "Yannick Croissant"
},
{
"context": "\n render: ->\n ... | src/tests/rules/no-multi-comp.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent multiple component definition per file
# @author Yannick Croissant
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/... | 173095 | ###*
# @fileoverview Prevent multiple component definition per file
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no-multi-co... | true | ###*
# @fileoverview Prevent multiple component definition per file
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rul... |
[
{
"context": " = class Teacher extends Person\n constructor: (firstName, lastName, age, specialty) ->\n super\n\n ",
"end": 67,
"score": 0.9991245269775391,
"start": 58,
"tag": "NAME",
"value": "firstName"
},
{
"context": "eacher extends Person\n constructor: (firstNa... | WebDesign/5.JavaScriptApplications/2.AdvancedOOP/1.SchoolRepository/scripts/Teacher.coffee | trinityimma/TelerikAcademy | 0 | @Teacher = class Teacher extends Person
constructor: (firstName, lastName, age, specialty) ->
super
@specialty = specialty
| 40538 | @Teacher = class Teacher extends Person
constructor: (<NAME>, <NAME>, age, specialty) ->
super
@specialty = specialty
| true | @Teacher = class Teacher extends Person
constructor: (PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, age, specialty) ->
super
@specialty = specialty
|
[
{
"context": "=\"0\" p=\"0\" c=\"1\" f=\"1\" u=\"USER_ID(int)\" d0=\"0\" n=\"USERNAME(str)\" a=\"91\" h=\"\" v=\"1\" />\n ###\n Us",
"end": 1798,
"score": 0.8707305788993835,
"start": 1790,
"tag": "USERNAME",
"value": "USERNAME"
},
{
"context": "\n dupUser.so... | src/services/client.coffee | underc0de/korex-server | 0 | parser = require '../utils/parser'
math = require '../utils/math'
logger = require '../utils/logger'
builder = require '../utils/builder'
User = require '../workers/user'
Chat = require '../workers/chat'
Commander = require '../workers/commander'
Profile = require '../workers/profile'
module.exports =
class Client
... | 188505 | parser = require '../utils/parser'
math = require '../utils/math'
logger = require '../utils/logger'
builder = require '../utils/builder'
User = require '../workers/user'
Chat = require '../workers/chat'
Commander = require '../workers/commander'
Profile = require '../workers/profile'
module.exports =
class Client
... | true | parser = require '../utils/parser'
math = require '../utils/math'
logger = require '../utils/logger'
builder = require '../utils/builder'
User = require '../workers/user'
Chat = require '../workers/chat'
Commander = require '../workers/commander'
Profile = require '../workers/profile'
module.exports =
class Client
... |
[
{
"context": "edKeywords()\n meta name: 'author', content: 'Thibault NORMAND'\n else\n #document has not own title, not ",
"end": 666,
"score": 0.9998918175697327,
"start": 650,
"tag": "NAME",
"value": "Thibault NORMAND"
},
{
"context": "edKeywords()\n meta name: 'a... | src/layouts/default.html.coffee | Zenithar/zenithar.docpad | 0 | doctype 5
html lang: 'fr', ->
head ->
comment 'Meta'
meta charset: 'utf-8'
meta 'http-equiv': 'X-UA-Compatible', content: 'IE=edge,chrome=1'
meta 'http-equiv': 'content-type', content: 'text/html; charset=utf-8'
meta name: 'viewport', content: 'width=device-width, initial-scale=1'
if @documen... | 67611 | doctype 5
html lang: 'fr', ->
head ->
comment 'Meta'
meta charset: 'utf-8'
meta 'http-equiv': 'X-UA-Compatible', content: 'IE=edge,chrome=1'
meta 'http-equiv': 'content-type', content: 'text/html; charset=utf-8'
meta name: 'viewport', content: 'width=device-width, initial-scale=1'
if @documen... | true | doctype 5
html lang: 'fr', ->
head ->
comment 'Meta'
meta charset: 'utf-8'
meta 'http-equiv': 'X-UA-Compatible', content: 'IE=edge,chrome=1'
meta 'http-equiv': 'content-type', content: 'text/html; charset=utf-8'
meta name: 'viewport', content: 'width=device-width, initial-scale=1'
if @documen... |
[
{
"context": "de contained in\n# this module are based on work by Nicolas Rougier as part of the Glumpy and\n# Vispy projects. The a",
"end": 129,
"score": 0.9998770356178284,
"start": 114,
"tag": "NAME",
"value": "Nicolas Rougier"
}
] | bokehjs/src/coffee/models/glyphs/webgl/main.coffee | quasiben/bokeh | 1 | # Copyright notice: many of the awesome techniques and GLSL code contained in
# this module are based on work by Nicolas Rougier as part of the Glumpy and
# Vispy projects. The algorithms are published in
# http://jcgt.org/published/0003/04/01/ and http://jcgt.org/published/0002/02/08/
#
# This module contains all gl-... | 93896 | # Copyright notice: many of the awesome techniques and GLSL code contained in
# this module are based on work by <NAME> as part of the Glumpy and
# Vispy projects. The algorithms are published in
# http://jcgt.org/published/0003/04/01/ and http://jcgt.org/published/0002/02/08/
#
# This module contains all gl-specific ... | true | # Copyright notice: many of the awesome techniques and GLSL code contained in
# this module are based on work by PI:NAME:<NAME>END_PI as part of the Glumpy and
# Vispy projects. The algorithms are published in
# http://jcgt.org/published/0003/04/01/ and http://jcgt.org/published/0002/02/08/
#
# This module contains al... |
[
{
"context": "ofile': true, 'sha': true, 'args': [\"mary\", \"pass12\"]}\n preservedLog = console.log \n\n console.l",
"end": 403,
"score": 0.5913035273551941,
"start": 402,
"tag": "PASSWORD",
"value": "2"
},
{
"context": ": (test) ->\n fs.writeFileSync \"password.txt\", \"d... | node_modules/htpasswd/tests/test-processor-integration.coffee | witalij777/WebBluetooth | 1 | # Importing module.
processor = require '../gensrc/processor'
# FS module.
fs = require 'fs'
module.exports =
# After each test.
tearDown: (callback) ->
fs.unlinkSync "password.txt" if fs.existsSync "password.txt"
callback()
# Test for process with console output.
testProcessConsole: (test) ->
... | 124165 | # Importing module.
processor = require '../gensrc/processor'
# FS module.
fs = require 'fs'
module.exports =
# After each test.
tearDown: (callback) ->
fs.unlinkSync "password.txt" if fs.existsSync "password.txt"
callback()
# Test for process with console output.
testProcessConsole: (test) ->
... | true | # Importing module.
processor = require '../gensrc/processor'
# FS module.
fs = require 'fs'
module.exports =
# After each test.
tearDown: (callback) ->
fs.unlinkSync "password.txt" if fs.existsSync "password.txt"
callback()
# Test for process with console output.
testProcessConsole: (test) ->
... |
[
{
"context": "new SelectorGadget()\n\n selectorCard = { name: 'hello' }\n\n otherCard = { prompt: 'goodbye' }\n\n st",
"end": 194,
"score": 0.6569414734840393,
"start": 189,
"tag": "NAME",
"value": "hello"
}
] | spec/wizard-spec.js.coffee | lucasconstantino/selectorgadget | 524 | describe "SelectorGadget wizard features", ->
[sg, selectorCard, otherCard, struct] = [null, null, null, null]
beforeEach ->
sg = new SelectorGadget()
selectorCard = { name: 'hello' }
otherCard = { prompt: 'goodbye' }
struct =
selectors:
card1: "hello"
card2: "hello"
... | 225552 | describe "SelectorGadget wizard features", ->
[sg, selectorCard, otherCard, struct] = [null, null, null, null]
beforeEach ->
sg = new SelectorGadget()
selectorCard = { name: '<NAME>' }
otherCard = { prompt: 'goodbye' }
struct =
selectors:
card1: "hello"
card2: "hello"
... | true | describe "SelectorGadget wizard features", ->
[sg, selectorCard, otherCard, struct] = [null, null, null, null]
beforeEach ->
sg = new SelectorGadget()
selectorCard = { name: 'PI:NAME:<NAME>END_PI' }
otherCard = { prompt: 'goodbye' }
struct =
selectors:
card1: "hello"
card2:... |
[
{
"context": " 'E-Mail'\n 'message': 'Nachricht'\n 'name': 'Name'\n\n $.i18n.load dictionary\n\n return",
"end": 272,
"score": 0.6400642395019531,
"start": 268,
"tag": "NAME",
"value": "Name"
}
] | public/javascripts/i18n/de.js.coffee | bitaculous/webby | 0 | # This is the manifest for `de.js`.
#= require jquery/plugins/validate/localization/messages/de.min
#= require_self
@locale = 'de'
$ ->
dictionary =
'can\'t not be blank': 'darf nicht leer sein.'
'email': 'E-Mail'
'message': 'Nachricht'
'name': 'Name'
$.i18n.load dictionary
return | 74237 | # This is the manifest for `de.js`.
#= require jquery/plugins/validate/localization/messages/de.min
#= require_self
@locale = 'de'
$ ->
dictionary =
'can\'t not be blank': 'darf nicht leer sein.'
'email': 'E-Mail'
'message': 'Nachricht'
'name': '<NAME>'
$.i18n.load dictionary
return | true | # This is the manifest for `de.js`.
#= require jquery/plugins/validate/localization/messages/de.min
#= require_self
@locale = 'de'
$ ->
dictionary =
'can\'t not be blank': 'darf nicht leer sein.'
'email': 'E-Mail'
'message': 'Nachricht'
'name': 'PI:NAME:<NAME>END_PI'
$.i18n.load dictionary
r... |
[
{
"context": " for i in [0...profiles.length]\n # TODO(predrag): Remove this call before publishing; only for te",
"end": 4165,
"score": 0.9965392351150513,
"start": 4158,
"tag": "USERNAME",
"value": "predrag"
},
{
"context": "token, done)\n (done) ->\n pwdAndTo... | src/js/extension/profiles/index.coffee | obi1kenobi/jester | 2 | async = require('../../../deps/async')
logger = require('../../lib/util/logging').logger(['ext', 'profiles'])
secureStore = require('../../lib/secure_store')
secureRandom = require('../../lib/crypto/secure_random')
constants = require('../../lib/config/constants')
services = require('../servi... | 161337 | async = require('../../../deps/async')
logger = require('../../lib/util/logging').logger(['ext', 'profiles'])
secureStore = require('../../lib/secure_store')
secureRandom = require('../../lib/crypto/secure_random')
constants = require('../../lib/config/constants')
services = require('../servi... | true | async = require('../../../deps/async')
logger = require('../../lib/util/logging').logger(['ext', 'profiles'])
secureStore = require('../../lib/secure_store')
secureRandom = require('../../lib/crypto/secure_random')
constants = require('../../lib/config/constants')
services = require('../servi... |
[
{
"context": " URLs.\n make_key: () -> key_forge.randomKey 16, \"base64url\"\n\n # Generic data reading from panda-config.\n p",
"end": 893,
"score": 0.9081054329872131,
"start": 884,
"tag": "KEY",
"value": "base64url"
}
] | src/scripts/githooks/coreos_restart/helpers.coffee | pandastrike/PandaHook | 2 | #=================================================================================
# Huxley Cluster Githook - Helpers
#=================================================================================
# This file contains helper functions for the main githook.
{join} = require "path"
{async, stat, readdir, collect, str... | 14957 | #=================================================================================
# Huxley Cluster Githook - Helpers
#=================================================================================
# This file contains helper functions for the main githook.
{join} = require "path"
{async, stat, readdir, collect, str... | true | #=================================================================================
# Huxley Cluster Githook - Helpers
#=================================================================================
# This file contains helper functions for the main githook.
{join} = require "path"
{async, stat, readdir, collect, str... |
[
{
"context": "c elements have no interactive handlers.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 120,
"score": 0.9998767971992493,
"start": 109,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/no-static-element-interactions.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce static elements have no interactive handlers.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'pa... | 214157 | ### eslint-env jest ###
###*
# @fileoverview Enforce static elements have no interactive handlers.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce static elements have no interactive handlers.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = re... |
[
{
"context": "r.publish \"tsAdmin\", ->\n return [] unless isAdmin(@userId)\n\n return [\n Batches.find(),\n Treatments.f",
"end": 319,
"score": 0.9914807081222534,
"start": 312,
"tag": "USERNAME",
"value": "@userId"
},
{
"context": "ds:\n status: 1\n turkserver: 1\n ... | admin/admin.coffee | windmisses/dy_turkserver | 0 | # Server admin code
isAdmin = (userId) -> userId? and Meteor.users.findOne(userId)?.admin
# Only admin gets server facts
Facts.setUserIdFilter(isAdmin)
###
TODO eliminate unnecessary fields sent over below
###
# Publish all admin data for /turkserver
Meteor.publish "tsAdmin", ->
return [] unless isAdmin(@userId)... | 38419 | # Server admin code
isAdmin = (userId) -> userId? and Meteor.users.findOne(userId)?.admin
# Only admin gets server facts
Facts.setUserIdFilter(isAdmin)
###
TODO eliminate unnecessary fields sent over below
###
# Publish all admin data for /turkserver
Meteor.publish "tsAdmin", ->
return [] unless isAdmin(@userId)... | true | # Server admin code
isAdmin = (userId) -> userId? and Meteor.users.findOne(userId)?.admin
# Only admin gets server facts
Facts.setUserIdFilter(isAdmin)
###
TODO eliminate unnecessary fields sent over below
###
# Publish all admin data for /turkserver
Meteor.publish "tsAdmin", ->
return [] unless isAdmin(@userId)... |
[
{
"context": "weenie.couchone.com'\"\n console.log \" , user: 'ricky'\"\n console.log \" , pass: 'bobby'\"\n console.l",
"end": 593,
"score": 0.9996570348739624,
"start": 588,
"tag": "USERNAME",
"value": "ricky"
},
{
"context": "\" , user: 'ricky'\"\n console.log \" ,... | src/couch.coffee | nko/emergent-heroes | 2 | couchdb = require '../vendor/node-couchdb/lib/couchdb'
fs = require 'fs'
path = require 'path'
detail_path = process.env.SHOWOFF_TIME_DB || "../secret.js"
try
stats = fs.statSync detail_path
exports.details = require(detail_path) || {}
exports.details.port ||= 80
exports.details.host ||= 'localhost'
c... | 112805 | couchdb = require '../vendor/node-couchdb/lib/couchdb'
fs = require 'fs'
path = require 'path'
detail_path = process.env.SHOWOFF_TIME_DB || "../secret.js"
try
stats = fs.statSync detail_path
exports.details = require(detail_path) || {}
exports.details.port ||= 80
exports.details.host ||= 'localhost'
c... | true | couchdb = require '../vendor/node-couchdb/lib/couchdb'
fs = require 'fs'
path = require 'path'
detail_path = process.env.SHOWOFF_TIME_DB || "../secret.js"
try
stats = fs.statSync detail_path
exports.details = require(detail_path) || {}
exports.details.port ||= 80
exports.details.host ||= 'localhost'
c... |
[
{
"context": " (message) ->\n Message\n key: \"message-#{message.t}-#{message.m}\"\n message: mess",
"end": 1816,
"score": 0.9950178265571594,
"start": 1806,
"tag": "KEY",
"value": "message-#{"
},
{
"context": " Message\n key: \"message... | src/components/ircMessages.coffee | brianshaler/kerplunk-irc | 0 | _ = require 'lodash'
React = require 'react'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
contentHeight: 0
availableHeight: 0
componentDidMount: ->
window.addEventListener 'resize', @handleResize
@handleResize()
componentWillUnmount: ->
window.re... | 220949 | _ = require 'lodash'
React = require 'react'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
contentHeight: 0
availableHeight: 0
componentDidMount: ->
window.addEventListener 'resize', @handleResize
@handleResize()
componentWillUnmount: ->
window.re... | true | _ = require 'lodash'
React = require 'react'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
contentHeight: 0
availableHeight: 0
componentDidMount: ->
window.addEventListener 'resize', @handleResize
@handleResize()
componentWillUnmount: ->
window.re... |
[
{
"context": " \n Copyright 2011 - 2013 Mark Masse (OSS project WRML.org) \n ",
"end": 816,
"score": 0.9997732639312744,
"start": 806,
"tag": "NAME",
"value": "Mark Masse"
}
] | wrmldoc/js/app/Wrmldoc.coffee | wrml/wrml | 47 | ###
WRML - Web Resource Modeling Language
__ __ ______ __ __ __
/\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
\ \... | 40661 | ###
WRML - Web Resource Modeling Language
__ __ ______ __ __ __
/\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
\ \... | true | ###
WRML - Web Resource Modeling Language
__ __ ______ __ __ __
/\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
\ \... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999082684516907,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/status-page/incident.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, span } from 'react-dom-factories'
export class Incident extends React.Component
render: =>
f... | 224085 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, span } from 'react-dom-factories'
export class Incident extends React.Component
render: =>
fromNow ... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div, span } from 'react-dom-factories'
export class Incident extends React.Component
render: ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999097585678101,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/lib/popup-menu.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { createElement as el, createRef, PureComponent } from 'react'
import { createPortal } from 'react-dom'
import * as React from 'react'
imp... | 123499 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { createElement as el, createRef, PureComponent } from 'react'
import { createPortal } from 'react-dom'
import * as React from 'react'
import { a... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { createElement as el, createRef, PureComponent } from 'react'
import { createPortal } from 'react-dom'
import * as React from 're... |
[
{
"context": "2d7ad-65fa-4790-bbd6-0dc55f721936\",\n# \"name\": \"[Nix] RONNNA\",\n# \"email\": \"rockozem@gmail.com\"",
"end": 245,
"score": 0.5964452028274536,
"start": 245,
"tag": "NAME",
"value": ""
},
{
"context": "ad-65fa-4790-bbd6-0dc55f721936\",\n# \"name\": \"... | app/views/room-detail/list-user-room/index.coffee | xitrumuit1991/ls-yuptv | 0 | _directive = ($rootScope, $timeout, ApiService, UtilityService) ->
link = ($scope, $element, $attrs) ->
$scope.users = []
# itemUser = {
# "birthday": "2000-01-1",
# "id": "fa92d7ad-65fa-4790-bbd6-0dc55f721936",
# "name": "[Nix] RONNNA",
# "email": "rockozem@gmail.com",
# "address": nu... | 147965 | _directive = ($rootScope, $timeout, ApiService, UtilityService) ->
link = ($scope, $element, $attrs) ->
$scope.users = []
# itemUser = {
# "birthday": "2000-01-1",
# "id": "fa92d7ad-65fa-4790-bbd6-0dc55f721936",
# "name":<NAME> "[<NAME>",
# "email": "<EMAIL>",
# "address": null,
# ... | true | _directive = ($rootScope, $timeout, ApiService, UtilityService) ->
link = ($scope, $element, $attrs) ->
$scope.users = []
# itemUser = {
# "birthday": "2000-01-1",
# "id": "fa92d7ad-65fa-4790-bbd6-0dc55f721936",
# "name":PI:NAME:<NAME>END_PI "[PI:NAME:<NAME>END_PI",
# "email": "PI:EMAIL:<EM... |
[
{
"context": ", ->\n district = new @clever.District { name: 'Test', id: '1212121' }, '/put'\n assert.deepEqual di",
"end": 385,
"score": 0.9455832242965698,
"start": 381,
"tag": "NAME",
"value": "Test"
},
{
"context": ", ->\n district = new @clever.District { name: 'Test', ... | test/methods.coffee | Clever/clever-js | 10 | async = require 'async'
fs = require 'fs'
assert = require 'assert'
_ = require 'underscore'
Clever = require "#{__dirname}/../index"
nock = require 'nock'
util = require 'util'
describe 'methods', ->
before () -> @clever = Clever 'DEMO_KEY', 'http://httpbin.org'
it 'allows calli... | 43223 | async = require 'async'
fs = require 'fs'
assert = require 'assert'
_ = require 'underscore'
Clever = require "#{__dirname}/../index"
nock = require 'nock'
util = require 'util'
describe 'methods', ->
before () -> @clever = Clever 'DEMO_KEY', 'http://httpbin.org'
it 'allows calli... | true | async = require 'async'
fs = require 'fs'
assert = require 'assert'
_ = require 'underscore'
Clever = require "#{__dirname}/../index"
nock = require 'nock'
util = require 'util'
describe 'methods', ->
before () -> @clever = Clever 'DEMO_KEY', 'http://httpbin.org'
it 'allows calli... |
[
{
"context": "primary' :->\n window.location.href = 'http://180.153.105.143/imtt.dd.qq.com/16891/346CBF0E04862CA542EA8AD71464",
"end": 3624,
"score": 0.9994238615036011,
"start": 3609,
"tag": "IP_ADDRESS",
"value": "180.153.105.143"
},
{
"context": "m/16891/346CBF0E04862CA542EA8... | client/user/dashboard/dashboard.coffee | SharpAI/mobile_app_server | 7 | #space 2
if Meteor.isClient
Template.dashboard.rendered=->
if Session.get('dashboardHeight') is undefined
Session.set('dashboardHeight', $(window).height())
$('.dashboard').css 'min-height', Session.get('dashboardHeight')
$('body').css('height', 'auto')
Template.dashboard.onDestroyed ()->
$('b... | 35774 | #space 2
if Meteor.isClient
Template.dashboard.rendered=->
if Session.get('dashboardHeight') is undefined
Session.set('dashboardHeight', $(window).height())
$('.dashboard').css 'min-height', Session.get('dashboardHeight')
$('body').css('height', 'auto')
Template.dashboard.onDestroyed ()->
$('b... | true | #space 2
if Meteor.isClient
Template.dashboard.rendered=->
if Session.get('dashboardHeight') is undefined
Session.set('dashboardHeight', $(window).height())
$('.dashboard').css 'min-height', Session.get('dashboardHeight')
$('body').css('height', 'auto')
Template.dashboard.onDestroyed ()->
$('b... |
[
{
"context": " qty: 3\n productId: Random.id()\n productName: \"Tomatoes\"\n producerName: \"John Smith\"\n price: 4\n unitOf",
"end": 521,
"score": 0.8787173628807068,
"start": 513,
"tag": "NAME",
"value": "Tomatoes"
},
{
"context": "m.id()\n productName: \"Tomatoes\"\n prod... | server/emails/setup.coffee | redhead-web/meteor-foodcoop | 11 |
{ Deliveries } = require('../../imports/api/deliveries')
import moment from 'moment'
Templates = {}
visaImage = "https://assets.braintreegateway.com/payment_method_logo/visa.png?environment=sandbox"
paypalImage = "https://assets.braintreegateway.com/payment_method_logo/paypal.png?environment=sandbox"
item1 = {
qt... | 173811 |
{ Deliveries } = require('../../imports/api/deliveries')
import moment from 'moment'
Templates = {}
visaImage = "https://assets.braintreegateway.com/payment_method_logo/visa.png?environment=sandbox"
paypalImage = "https://assets.braintreegateway.com/payment_method_logo/paypal.png?environment=sandbox"
item1 = {
qt... | true |
{ Deliveries } = require('../../imports/api/deliveries')
import moment from 'moment'
Templates = {}
visaImage = "https://assets.braintreegateway.com/payment_method_logo/visa.png?environment=sandbox"
paypalImage = "https://assets.braintreegateway.com/payment_method_logo/paypal.png?environment=sandbox"
item1 = {
qt... |
[
{
"context": "am-bot-api'\ntimeout = 120000 # in ms\ntoken = 'YOUR_TOKEN_HERE'\nusername = null;\n\nstrings =\n check",
"end": 122,
"score": 0.39582109451293945,
"start": 118,
"tag": "PASSWORD",
"value": "YOUR"
},
{
"context": " .then (data) ->\n username = dat... | index.coffee | BirkhoffLee/node-code-evaluating-tg-bot | 0 | spawn = require('child_process').spawn
Bot = require 'telegram-bot-api'
timeout = 120000 # in ms
token = 'YOUR_TOKEN_HERE'
username = null;
strings =
check_docker: "Checking Docker installation & preparing latest node image."
docker_check_not_ok: "Please check your Docker installation. Make sure 'd... | 21401 | spawn = require('child_process').spawn
Bot = require 'telegram-bot-api'
timeout = 120000 # in ms
token = '<PASSWORD>_TOKEN_HERE'
username = null;
strings =
check_docker: "Checking Docker installation & preparing latest node image."
docker_check_not_ok: "Please check your Docker installation. Make s... | true | spawn = require('child_process').spawn
Bot = require 'telegram-bot-api'
timeout = 120000 # in ms
token = 'PI:PASSWORD:<PASSWORD>END_PI_TOKEN_HERE'
username = null;
strings =
check_docker: "Checking Docker installation & preparing latest node image."
docker_check_not_ok: "Please check your Docker in... |
[
{
"context": "e)->\n\t\t\tapp.use (req, res)->\n\t\t\t\tres.send {name: \"Hello World\"}\n\t\t\trequest(app)\n\t\t\t\t.get('/')\n\t\t\t\t.expect(200)\n",
"end": 695,
"score": 0.9916214942932129,
"start": 684,
"tag": "NAME",
"value": "Hello World"
},
{
"context": "p.use (req, res)->\n... | test/test.coffee | bvirus/reqdres | 0 | assert = require 'assert'
reqdres = require '../index'
connect = require 'connect'
app = connect()
request = require 'supertest'
fs = require 'fs'
jade = require 'jade'
describe "res", ->
beforeEach ->
app = connect()
app.use reqdres
dir: __dirname+"/views"
ext: ".jade"
template: jade.__express... | 173794 | assert = require 'assert'
reqdres = require '../index'
connect = require 'connect'
app = connect()
request = require 'supertest'
fs = require 'fs'
jade = require 'jade'
describe "res", ->
beforeEach ->
app = connect()
app.use reqdres
dir: __dirname+"/views"
ext: ".jade"
template: jade.__express... | true | assert = require 'assert'
reqdres = require '../index'
connect = require 'connect'
app = connect()
request = require 'supertest'
fs = require 'fs'
jade = require 'jade'
describe "res", ->
beforeEach ->
app = connect()
app.use reqdres
dir: __dirname+"/views"
ext: ".jade"
template: jade.__express... |
[
{
"context": "GS: \"Tag\"\nPAGES: \"Pagine\"\nPOSTS: \"Post\"\nAUTHORS: \"Autori\"\nSEARCH: \"Cerca\"\nSOCIAL_NETWORKS: \"Social Network",
"end": 386,
"score": 0.9985570311546326,
"start": 380,
"tag": "NAME",
"value": "Autori"
},
{
"context": "\"\n\"sharing\":\n \"shared\": \"Cond... | src/i18n/it.cson | Intraktio/hybrid | 2 | PULL_TO_REFRESH: "Tira per aggiornare!"
RETRY: "Riprova"
CANCEL: "Cancel"
SUBMIT: "Submit"
BACK: "Indietro"
ERROR: "Qualcosa è andato storto, riprova nuovamente."
ATTEMPT_TO_CONNECT: "Tentativo di connessione {{attempt}} di {{attemptMax}}."
OK: "Ok"
YES: "Si"
NO: "No"
EMPTY_LIST: "Non c'è nulla qui!"
MENU: "Menu"
HOME:... | 166050 | PULL_TO_REFRESH: "Tira per aggiornare!"
RETRY: "Riprova"
CANCEL: "Cancel"
SUBMIT: "Submit"
BACK: "Indietro"
ERROR: "Qualcosa è andato storto, riprova nuovamente."
ATTEMPT_TO_CONNECT: "Tentativo di connessione {{attempt}} di {{attemptMax}}."
OK: "Ok"
YES: "Si"
NO: "No"
EMPTY_LIST: "Non c'è nulla qui!"
MENU: "Menu"
HOME:... | true | PULL_TO_REFRESH: "Tira per aggiornare!"
RETRY: "Riprova"
CANCEL: "Cancel"
SUBMIT: "Submit"
BACK: "Indietro"
ERROR: "Qualcosa è andato storto, riprova nuovamente."
ATTEMPT_TO_CONNECT: "Tentativo di connessione {{attempt}} di {{attemptMax}}."
OK: "Ok"
YES: "Si"
NO: "No"
EMPTY_LIST: "Non c'è nulla qui!"
MENU: "Menu"
HOME:... |
[
{
"context": "assword'), (error)->\n Session.set('password', undefined)\n if error\n T9NHelper.accountsError e",
"end": 1185,
"score": 0.9426804184913635,
"start": 1176,
"tag": "PASSWORD",
"value": "undefined"
}
] | client/views/signIn/signIn.coffee | timothyarmes/accounts-entry | 1 | AccountsEntry.entrySignInHelpers = {
emailInputType: ->
if AccountsEntry.settings.passwordSignupFields is 'EMAIL_ONLY'
'email'
else
'text'
emailPlaceholder: ->
fields = AccountsEntry.settings.passwordSignupFields
if _.contains([
'USERNAME_AND_EMAIL'
'USERNAME_AND_OPTIONAL_E... | 54213 | AccountsEntry.entrySignInHelpers = {
emailInputType: ->
if AccountsEntry.settings.passwordSignupFields is 'EMAIL_ONLY'
'email'
else
'text'
emailPlaceholder: ->
fields = AccountsEntry.settings.passwordSignupFields
if _.contains([
'USERNAME_AND_EMAIL'
'USERNAME_AND_OPTIONAL_E... | true | AccountsEntry.entrySignInHelpers = {
emailInputType: ->
if AccountsEntry.settings.passwordSignupFields is 'EMAIL_ONLY'
'email'
else
'text'
emailPlaceholder: ->
fields = AccountsEntry.settings.passwordSignupFields
if _.contains([
'USERNAME_AND_EMAIL'
'USERNAME_AND_OPTIONAL_E... |
[
{
"context": "###\nCopyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(",
"end": 36,
"score": 0.9998346567153931,
"start": 24,
"tag": "NAME",
"value": "Bill Burdick"
},
{
"context": ", Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(lic... | src/runtime.coffee | zot/Leisure | 58 | ###
Copyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyo... | 45186 | ###
Copyright (C) 2013, <NAME>, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to ... | true | ###
Copyright (C) 2013, PI:NAME:<NAME>END_PI, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted... |
[
{
"context": "tsy.net'\n user = new LoggedOutUser email: 'foo@bar.com', password: 'foobar'\n user.isLoggedIn().sh",
"end": 866,
"score": 0.9999202489852905,
"start": 855,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": "ew LoggedOutUser email: 'foo@bar.com', pass... | desktop/test/models/logged_out_user.coffee | dblock/force | 1 | Q = require 'bluebird-q'
_ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
rewire = require 'rewire'
LoggedOutUser = rewire '../../models/logged_out_user'
describe 'LoggedOutUser', ->
before (done) ->
benv.setup ->
ben... | 185676 | Q = require 'bluebird-q'
_ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
rewire = require 'rewire'
LoggedOutUser = rewire '../../models/logged_out_user'
describe 'LoggedOutUser', ->
before (done) ->
benv.setup ->
ben... | true | Q = require 'bluebird-q'
_ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
rewire = require 'rewire'
LoggedOutUser = rewire '../../models/logged_out_user'
describe 'LoggedOutUser', ->
before (done) ->
benv.setup ->
ben... |
[
{
"context": "ort: 3000\n name: \"icafe - Dev\"\n keys: [\"super-secret-hurr-durr\"]\n file:\n path: filepath\n\n mysql:\n",
"end": 569,
"score": 0.9489104151725769,
"start": 547,
"tag": "KEY",
"value": "super-secret-hurr-durr"
},
{
"context": " mysql:\n ... | config/config.coffee | teamcollab/icafe-portal | 0 | "use strict"
path = require("path")
_ = require("lodash")
os = require('os');
console.log "process.env.NODE_ENV", process.env.NODE_ENV
env = process.env.NODE_ENV = process.env.NODE_ENV or "development"
username = process.env.MYSQL_ENV_MYSQL_USER || "root"
password = process.env.MYSQL_ENV_MYSQL_ROOT_PASSWORD || ""
filep... | 31317 | "use strict"
path = require("path")
_ = require("lodash")
os = require('os');
console.log "process.env.NODE_ENV", process.env.NODE_ENV
env = process.env.NODE_ENV = process.env.NODE_ENV or "development"
username = process.env.MYSQL_ENV_MYSQL_USER || "root"
password = process.env.MYSQL_ENV_MYSQL_ROOT_PASSWORD || ""
filep... | true | "use strict"
path = require("path")
_ = require("lodash")
os = require('os');
console.log "process.env.NODE_ENV", process.env.NODE_ENV
env = process.env.NODE_ENV = process.env.NODE_ENV or "development"
username = process.env.MYSQL_ENV_MYSQL_USER || "root"
password = process.env.MYSQL_ENV_MYSQL_ROOT_PASSWORD || ""
filep... |
[
{
"context": "nger.exe')\n\n strings =\n CompanyName: 'Marek Hrabě'\n FileDescription: 'Messenger'\n Leg",
"end": 1013,
"score": 0.9998345971107483,
"start": 1002,
"tag": "NAME",
"value": "Marek Hrabě"
},
{
"context": "enger'\n LegalCopyright: 'Copyri... | build/tasks/set-version-task.coffee | NewMessenger/New-Messenger | 0 | fs = require 'fs'
path = require 'path'
module.exports = (grunt) ->
{spawn} = require('./task-helpers')(grunt)
grunt.registerTask 'set-version', 'Set the version in the plist and package.json', ->
done = @async()
appDir = grunt.config.get('atom.appDir')
{version} = require(path.join(appDir, 'package.j... | 224570 | fs = require 'fs'
path = require 'path'
module.exports = (grunt) ->
{spawn} = require('./task-helpers')(grunt)
grunt.registerTask 'set-version', 'Set the version in the plist and package.json', ->
done = @async()
appDir = grunt.config.get('atom.appDir')
{version} = require(path.join(appDir, 'package.j... | true | fs = require 'fs'
path = require 'path'
module.exports = (grunt) ->
{spawn} = require('./task-helpers')(grunt)
grunt.registerTask 'set-version', 'Set the version in the plist and package.json', ->
done = @async()
appDir = grunt.config.get('atom.appDir')
{version} = require(path.join(appDir, 'package.j... |
[
{
"context": "ime Completions converted from https://github.com/Southclaw/pawn-sublime-language\n# Converter created by Rena",
"end": 122,
"score": 0.8480320572853088,
"start": 113,
"tag": "USERNAME",
"value": "Southclaw"
},
{
"context": "hclaw/pawn-sublime-language\n# Converter crea... | snippets/SIF.InventoryDialog.pwn.cson | Wuzi/language-pawn | 4 | # SIF.InventoryDialog.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by Renato "Hii" Garcia
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'DisplayPlayerInventory'... | 195868 | # SIF.InventoryDialog.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by <NAME> "<NAME>
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'DisplayPlayerInventory':
... | true | # SIF.InventoryDialog.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'... |
[
{
"context": "describe \"Brower\", ->\n it \"should exist\", ->\n expect(Brower).t",
"end": 16,
"score": 0.7965356707572937,
"start": 10,
"tag": "NAME",
"value": "Brower"
}
] | spec/brower.coffee | steffansluis/brower | 0 | describe "Brower", ->
it "should exist", ->
expect(Brower).toBeDefined()
| 2859 | describe "<NAME>", ->
it "should exist", ->
expect(Brower).toBeDefined()
| true | describe "PI:NAME:<NAME>END_PI", ->
it "should exist", ->
expect(Brower).toBeDefined()
|
[
{
"context": "email = process.env.NICOVIDEO_EMAIL\npassword = process.env.NICOVIDEO_PASSWORD\nfolder = process.env.NICOVIDEO",
"end": 58,
"score": 0.7825865745544434,
"start": 47,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "ew niconico.Nicovideo(\n email: email,\n pa... | lib/nicovideo.coffee | uetchy/hubot-nicovideo | 1 | email = process.env.NICOVIDEO_EMAIL
password = process.env.NICOVIDEO_PASSWORD
folder = process.env.NICOVIDEO_FOLDER
niconico = require('niconico')
nicovideo = new niconico.Nicovideo(
email: email,
password: password,
folder: folder
)
module.exports = (robot) ->
robot.respond /nicovideo (.*)/i, (msg) ->
v... | 157298 | email = process.env.NICOVIDEO_EMAIL
password = <PASSWORD>.NICOVIDEO_PASSWORD
folder = process.env.NICOVIDEO_FOLDER
niconico = require('niconico')
nicovideo = new niconico.Nicovideo(
email: email,
password: <PASSWORD>,
folder: folder
)
module.exports = (robot) ->
robot.respond /nicovideo (.*)/i, (msg) ->
... | true | email = process.env.NICOVIDEO_EMAIL
password = PI:PASSWORD:<PASSWORD>END_PI.NICOVIDEO_PASSWORD
folder = process.env.NICOVIDEO_FOLDER
niconico = require('niconico')
nicovideo = new niconico.Nicovideo(
email: email,
password: PI:PASSWORD:<PASSWORD>END_PI,
folder: folder
)
module.exports = (robot) ->
robot.resp... |
[
{
"context": "state!')\n# parent = @getNextParent()\n# key = @indexLists[@indexLists.length-1][0]\n# parent[ke",
"end": 2384,
"score": 0.4702168405056,
"start": 2383,
"tag": "KEY",
"value": "@"
},
{
"context": "rent()\n# key = @indexLists[@indexLists.length-1][0]\n# pa... | app/lib/AsyncCloner.coffee | madawei2699/codecombat | 1 | #CocoClass = require 'lib/CocoClass'
#
#module.exports = class AsyncCloner extends CocoClass
# constructor: (@source, @depth=2) ->
# # passing in a depth of 0 will just _.clone the first layer, and will result in 1 indexList
# super()
# @indexLists = []
# @initClone()
#
# initClone: () ->
# @target =... | 196434 | #CocoClass = require 'lib/CocoClass'
#
#module.exports = class AsyncCloner extends CocoClass
# constructor: (@source, @depth=2) ->
# # passing in a depth of 0 will just _.clone the first layer, and will result in 1 indexList
# super()
# @indexLists = []
# @initClone()
#
# initClone: () ->
# @target =... | true | #CocoClass = require 'lib/CocoClass'
#
#module.exports = class AsyncCloner extends CocoClass
# constructor: (@source, @depth=2) ->
# # passing in a depth of 0 will just _.clone the first layer, and will result in 1 indexList
# super()
# @indexLists = []
# @initClone()
#
# initClone: () ->
# @target =... |
[
{
"context": "###\n# errors.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# These are our ",
"end": 42,
"score": 0.9997943639755249,
"start": 31,
"tag": "NAME",
"value": "Dan Nichols"
}
] | lib/errors.coffee | dlnichols/h_media | 0 | ###
# errors.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# These are our error handling middlewares, and are appended to end of the
# express middleware stack.
###
'use strict'
# External libs
_ = require 'lodash'
debug = require('debug') 'hMedia:errors'
mongoose = require 'mongoose'
# In... | 219106 | ###
# errors.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# These are our error handling middlewares, and are appended to end of the
# express middleware stack.
###
'use strict'
# External libs
_ = require 'lodash'
debug = require('debug') 'hMedia:errors'
mongoose = require 'mongoose'
# Interna... | true | ###
# errors.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# These are our error handling middlewares, and are appended to end of the
# express middleware stack.
###
'use strict'
# External libs
_ = require 'lodash'
debug = require('debug') 'hMedia:errors'
mongoose = require 'mongoo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.