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": "test) ->\n submittedOps = [{position: 0, text: 'Hi'}, {position: 2, text: ' mum'}]\n passPart = ma",
"end": 39659,
"score": 0.9757371544837952,
"start": 39657,
"tag": "NAME",
"value": "Hi"
},
{
"context": " [{position: 0, text: 'Hi'}, {position: 2, text: ' mum'}]\... | node_modules/share/test/model.coffee | abraarsyed/workshare | 4 | # Tests for server/model
#
# There used to be a lot of logic in model (which these tests verified). That logic has since
# been moved into the db manager and it has separate tests. - So, most of these tests are
# redundant and can probably be deleted.
#
# The auth stuff (which the model *does* do) has a separate test s... | 1537 | # Tests for server/model
#
# There used to be a lot of logic in model (which these tests verified). That logic has since
# been moved into the db manager and it has separate tests. - So, most of these tests are
# redundant and can probably be deleted.
#
# The auth stuff (which the model *does* do) has a separate test s... | true | # Tests for server/model
#
# There used to be a lot of logic in model (which these tests verified). That logic has since
# been moved into the db manager and it has separate tests. - So, most of these tests are
# redundant and can probably be deleted.
#
# The auth stuff (which the model *does* do) has a separate test s... |
[
{
"context": " .concat ql.param 'param1'\n .fill param1: 'name'\n .query()\n exe.build(query) (err, result",
"end": 252,
"score": 0.8935071229934692,
"start": 248,
"tag": "NAME",
"value": "name"
}
] | test/fill.coffee | odojs/odoql-exe | 0 | expect = require('chai').expect
ql = require 'odoql'
ql = ql()
exe = require '../'
exe = exe()
describe 'fill', ->
it 'should fill in a parameter for concat', (done) ->
query = ql 'test'
.concat ql.param 'param1'
.fill param1: 'name'
.query()
exe.build(query) (err, result) ->
expect(... | 147731 | expect = require('chai').expect
ql = require 'odoql'
ql = ql()
exe = require '../'
exe = exe()
describe 'fill', ->
it 'should fill in a parameter for concat', (done) ->
query = ql 'test'
.concat ql.param 'param1'
.fill param1: '<NAME>'
.query()
exe.build(query) (err, result) ->
expec... | true | expect = require('chai').expect
ql = require 'odoql'
ql = ql()
exe = require '../'
exe = exe()
describe 'fill', ->
it 'should fill in a parameter for concat', (done) ->
query = ql 'test'
.concat ql.param 'param1'
.fill param1: 'PI:NAME:<NAME>END_PI'
.query()
exe.build(query) (err, result) ... |
[
{
"context": " '{0}, you have {1} unread message{2}'.format('Holly', 2, 's')\n .should.equal 'Holly, you have 2 un",
"end": 208,
"score": 0.9990169405937195,
"start": 203,
"tag": "NAME",
"value": "Holly"
},
{
"context": "ge{2}'.format('Holly', 2, 's')\n .should.equal 'Holly,... | node_modules/node-yamaha-avr/node_modules/string-format/test/string-format.coffee | donholly/alexa-at-home | 1 | assert = require 'assert'
require 'should'
require '../src/string-format'
describe 'String::format', ->
it 'interpolates positional arguments', ->
'{0}, you have {1} unread message{2}'.format('Holly', 2, 's')
.should.equal 'Holly, you have 2 unread messages'
it 'strips unmatched placeholders', ->
'... | 86598 | assert = require 'assert'
require 'should'
require '../src/string-format'
describe 'String::format', ->
it 'interpolates positional arguments', ->
'{0}, you have {1} unread message{2}'.format('<NAME>', 2, 's')
.should.equal '<NAME>, you have 2 unread messages'
it 'strips unmatched placeholders', ->
... | true | assert = require 'assert'
require 'should'
require '../src/string-format'
describe 'String::format', ->
it 'interpolates positional arguments', ->
'{0}, you have {1} unread message{2}'.format('PI:NAME:<NAME>END_PI', 2, 's')
.should.equal 'PI:NAME:<NAME>END_PI, you have 2 unread messages'
it 'strips unm... |
[
{
"context": "// @license MIT\n// @supportURL https://github.com/ssokolow/itad_importer/issues\n// @require https://ajax.goo",
"end": 380,
"score": 0.790511429309845,
"start": 372,
"tag": "USERNAME",
"value": "ssokolow"
},
{
"context": "ilable (and documented) at:\n\n https://github... | itad_importer.user.coffee | ssokolow/itad_importer | 79 | ### IsThereAnyDeal.com Collection Importer
// ==UserScript==
// @name IsThereAnyDeal.com Collection Importer
// @version 0.1b18
// @namespace http://isthereanydeal.com/
// @description Adds buttons to various sites to export your game lists to ITAD
// @icon http://s3-eu-west-1.amazonaws.com/itad/images/banners/50x50.gi... | 202711 | ### IsThereAnyDeal.com Collection Importer
// ==UserScript==
// @name IsThereAnyDeal.com Collection Importer
// @version 0.1b18
// @namespace http://isthereanydeal.com/
// @description Adds buttons to various sites to export your game lists to ITAD
// @icon http://s3-eu-west-1.amazonaws.com/itad/images/banners/50x50.gi... | true | ### IsThereAnyDeal.com Collection Importer
// ==UserScript==
// @name IsThereAnyDeal.com Collection Importer
// @version 0.1b18
// @namespace http://isthereanydeal.com/
// @description Adds buttons to various sites to export your game lists to ITAD
// @icon http://s3-eu-west-1.amazonaws.com/itad/images/banners/50x50.gi... |
[
{
"context": "} = plainGrammar.tokenizeLine 'https://github.com/atom/brightray_example'\n expect(tokens[0]).toEqual ",
"end": 1146,
"score": 0.9983474016189575,
"start": 1142,
"tag": "USERNAME",
"value": "atom"
},
{
"context": "ect(tokens[0]).toEqual value: 'https://github.com/ato... | spec/hyperlink-spec.coffee | atom/language-hyperlink | 13 | path = require 'path'
describe 'Hyperlink grammar', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage('language-hyperlink')
runs ->
grammar = atom.grammars.grammarForScopeName('text.hyperlink')
it 'parses the grammar', ->
expect(grammar).toBeTruthy()
... | 59804 | path = require 'path'
describe 'Hyperlink grammar', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage('language-hyperlink')
runs ->
grammar = atom.grammars.grammarForScopeName('text.hyperlink')
it 'parses the grammar', ->
expect(grammar).toBeTruthy()
... | true | path = require 'path'
describe 'Hyperlink grammar', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage('language-hyperlink')
runs ->
grammar = atom.grammars.grammarForScopeName('text.hyperlink')
it 'parses the grammar', ->
expect(grammar).toBeTruthy()
... |
[
{
"context": "ests, failures, errors\nand code coverage.\n\n@author Roelof Roos (https://github.com/roelofr)\n###\n\n{View} = requir",
"end": 148,
"score": 0.9998893141746521,
"start": 137,
"tag": "NAME",
"value": "Roelof Roos"
},
{
"context": "overage.\n\n@author Roelof Roos (https:... | lib/views/header-view.coffee | roelofr/php-report | 0 | ###
PHP Report result-header
The header for the result page. Shows project name, run tests, failures, errors
and code coverage.
@author Roelof Roos (https://github.com/roelofr)
###
{View} = require 'space-pen'
HeaderScore = require './header-score';
module.exports =
class HeaderView extends View
@content: ->
... | 61775 | ###
PHP Report result-header
The header for the result page. Shows project name, run tests, failures, errors
and code coverage.
@author <NAME> (https://github.com/roelofr)
###
{View} = require 'space-pen'
HeaderScore = require './header-score';
module.exports =
class HeaderView extends View
@content: ->
... | true | ###
PHP Report result-header
The header for the result page. Shows project name, run tests, failures, errors
and code coverage.
@author PI:NAME:<NAME>END_PI (https://github.com/roelofr)
###
{View} = require 'space-pen'
HeaderScore = require './header-score';
module.exports =
class HeaderView extends View
@cont... |
[
{
"context": "identify: (actor) ->\n # git config user.email \"you@example.com\"\n return whn.join @git(\"config\", {}, [\"user.em",
"end": 1143,
"score": 0.9998637437820435,
"start": 1128,
"tag": "EMAIL",
"value": "you@example.com"
},
{
"context": "ean\n # \"author... | src/repo.coffee | oliverwoodings/gift-promise | 1 | _ = require 'underscore'
whn = require 'when'
cmd = require './git'
Actor = require './actor'
Commit = require './commit'
Config = require './config'
Tree = require './tree'
Diff = require './diff'
Tag = require './tag'
Status = require './status'
{Ref, Head} = require './ref'
module.exports = clas... | 106613 | _ = require 'underscore'
whn = require 'when'
cmd = require './git'
Actor = require './actor'
Commit = require './commit'
Config = require './config'
Tree = require './tree'
Diff = require './diff'
Tag = require './tag'
Status = require './status'
{Ref, Head} = require './ref'
module.exports = clas... | true | _ = require 'underscore'
whn = require 'when'
cmd = require './git'
Actor = require './actor'
Commit = require './commit'
Config = require './config'
Tree = require './tree'
Diff = require './diff'
Tag = require './tag'
Status = require './status'
{Ref, Head} = require './ref'
module.exports = clas... |
[
{
"context": "e'\nSystem = require './system.coffee'\n\n###\n@author Gilad Gray\n@license MIT\n\nRocket Engine: A data-driven game e",
"end": 84,
"score": 0.9998306632041931,
"start": 74,
"tag": "NAME",
"value": "Gilad Gray"
},
{
"context": "ne that'll take you over the moon.\n\nMany... | src/rocket.coffee | giladgray/rocket-engine | 1 | _ = require './fn.coffee'
System = require './system.coffee'
###
@author Gilad Gray
@license MIT
Rocket Engine: A data-driven game engine that'll take you over the moon.
Many thanks to kirbysayshi for inspiration and code samples.
@see https://github.com/kirbysayshi/pocket-ces
###
class RocketEngine
# A reference ... | 90045 | _ = require './fn.coffee'
System = require './system.coffee'
###
@author <NAME>
@license MIT
Rocket Engine: A data-driven game engine that'll take you over the moon.
Many thanks to kirbysayshi for inspiration and code samples.
@see https://github.com/kirbysayshi/pocket-ces
###
class RocketEngine
# A reference to {... | true | _ = require './fn.coffee'
System = require './system.coffee'
###
@author PI:NAME:<NAME>END_PI
@license MIT
Rocket Engine: A data-driven game engine that'll take you over the moon.
Many thanks to kirbysayshi for inspiration and code samples.
@see https://github.com/kirbysayshi/pocket-ces
###
class RocketEngine
# A ... |
[
{
"context": " ], current_cost )\n\n# if n.hex_key() == '19_-2'\n# console.log( 'Current hex', current",
"end": 2969,
"score": 0.999297022819519,
"start": 2964,
"tag": "KEY",
"value": "19_-2"
}
] | app/assets/javascripts/local_libs/misc/dijkstra_movements.coffee | czuger/coffhex-dev | 1 | class @DijkstraMovements
# This method is used to compute available movement for a pawn
@compute_movements: ( @board, @current_pawn, controlled_hexes ) ->
@map = @board.terrain_map
# console.log( controlled_hexes )
# TODO : controlled hexes are wrong, other side of rivers are controlled areas
@con... | 213181 | class @DijkstraMovements
# This method is used to compute available movement for a pawn
@compute_movements: ( @board, @current_pawn, controlled_hexes ) ->
@map = @board.terrain_map
# console.log( controlled_hexes )
# TODO : controlled hexes are wrong, other side of rivers are controlled areas
@con... | true | class @DijkstraMovements
# This method is used to compute available movement for a pawn
@compute_movements: ( @board, @current_pawn, controlled_hexes ) ->
@map = @board.terrain_map
# console.log( controlled_hexes )
# TODO : controlled hexes are wrong, other side of rivers are controlled areas
@con... |
[
{
"context": "ame: 'mn_test'\n serverName: 'localhost'\n user: 'tester'\n pass: '1234'\n",
"end": 1610,
"score": 0.9814334511756897,
"start": 1604,
"tag": "USERNAME",
"value": "tester"
},
{
"context": "serverName: 'localhost'\n user: 'tester'\n pass: '1234'\n",
"end": 1625,
... | src/server/app-config.coffee | ingshtrom/mystic-noggin | 0 | ###
Global Configuration for the app.
@module mystic-noggin
@submodule server/app-config
@requires {module} path
###
path = require('path')
###
General app configuration.
@type {Object}
@property {string} root - the root of the mystic-noggin module
###
module.exports.app =
root: path.resolve(__dirn... | 79025 | ###
Global Configuration for the app.
@module mystic-noggin
@submodule server/app-config
@requires {module} path
###
path = require('path')
###
General app configuration.
@type {Object}
@property {string} root - the root of the mystic-noggin module
###
module.exports.app =
root: path.resolve(__dirn... | true | ###
Global Configuration for the app.
@module mystic-noggin
@submodule server/app-config
@requires {module} path
###
path = require('path')
###
General app configuration.
@type {Object}
@property {string} root - the root of the mystic-noggin module
###
module.exports.app =
root: path.resolve(__dirn... |
[
{
"context": ".compose(R.toUpper, classyGreeting)\nyellGreeting(\"James\", \"Bond\") #=> \"THE NAME'S BOND, JAMES BOND\"\n\nR.co",
"end": 176,
"score": 0.9987238645553589,
"start": 171,
"tag": "NAME",
"value": "James"
},
{
"context": "R.toUpper, classyGreeting)\nyellGreeting(\"James\... | tests/functional_composition/ramda_compose.coffee | helixbass/prettier-plugin-coffeescript | 38 | classyGreeting = (firstName, lastName) =>
"The name's " + lastName + ", " + firstName + " " + lastName
yellGreeting = R.compose(R.toUpper, classyGreeting)
yellGreeting("James", "Bond") #=> "THE NAME'S BOND, JAMES BOND"
R.compose(Math.abs, R.add(1), R.multiply(2))(-4) #=> 7
# get :: String -> Object -> Maybe *
get ... | 148772 | classyGreeting = (firstName, lastName) =>
"The name's " + lastName + ", " + firstName + " " + lastName
yellGreeting = R.compose(R.toUpper, classyGreeting)
yellGreeting("<NAME>", "<NAME>") #=> "THE NAME'S BOND, <NAME>"
R.compose(Math.abs, R.add(1), R.multiply(2))(-4) #=> 7
# get :: String -> Object -> Maybe *
get =... | true | classyGreeting = (firstName, lastName) =>
"The name's " + lastName + ", " + firstName + " " + lastName
yellGreeting = R.compose(R.toUpper, classyGreeting)
yellGreeting("PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI") #=> "THE NAME'S BOND, PI:NAME:<NAME>END_PI"
R.compose(Math.abs, R.add(1), R.multiply(2))(-4) #=> 7
#... |
[
{
"context": " header\n # .header('Authorization', 'bearer abcdef')\n #\n # # set multiple headers\n # ",
"end": 14665,
"score": 0.5261033177375793,
"start": 14659,
"tag": "KEY",
"value": "abcdef"
},
{
"context": "ders\n # .headers(Authorization: 'bearer ... | src/robot.coffee | hellosa/hubot | 2 | Fs = require 'fs'
Url = require 'url'
Log = require 'log'
Path = require 'path'
Connect = require 'connect'
HttpClient = require 'scoped-http-client'
User = require './user'
Brain = require './brain'
HUBOT_DEFAULT_ADAPTERS = [ "campfire", "shell" ]
class Robot
# Robots rec... | 131013 | Fs = require 'fs'
Url = require 'url'
Log = require 'log'
Path = require 'path'
Connect = require 'connect'
HttpClient = require 'scoped-http-client'
User = require './user'
Brain = require './brain'
HUBOT_DEFAULT_ADAPTERS = [ "campfire", "shell" ]
class Robot
# Robots rec... | true | Fs = require 'fs'
Url = require 'url'
Log = require 'log'
Path = require 'path'
Connect = require 'connect'
HttpClient = require 'scoped-http-client'
User = require './user'
Brain = require './brain'
HUBOT_DEFAULT_ADAPTERS = [ "campfire", "shell" ]
class Robot
# Robots rec... |
[
{
"context": "\n\t\t\tid:generatePushId()\n\t\t\tuser_id:userId\n\t\t\tname:name\n\t\t\tfaction_id:factionId\n\t\t\tcards:cards\n\t\t\tspell_c",
"end": 1514,
"score": 0.990863561630249,
"start": 1510,
"tag": "NAME",
"value": "name"
}
] | server/lib/data_access/decks.coffee | willroberts/duelyst | 5 | Promise = require 'bluebird'
_ = require 'underscore'
util = require 'util'
Logger = require '../../../app/common/logger.coffee'
colors = require 'colors'
moment = require 'moment'
mail = require '../../mailer'
knex = require("../data_access/knex")
InventoryModule = require("./inventory")
config = require '../../../con... | 88181 | Promise = require 'bluebird'
_ = require 'underscore'
util = require 'util'
Logger = require '../../../app/common/logger.coffee'
colors = require 'colors'
moment = require 'moment'
mail = require '../../mailer'
knex = require("../data_access/knex")
InventoryModule = require("./inventory")
config = require '../../../con... | true | Promise = require 'bluebird'
_ = require 'underscore'
util = require 'util'
Logger = require '../../../app/common/logger.coffee'
colors = require 'colors'
moment = require 'moment'
mail = require '../../mailer'
knex = require("../data_access/knex")
InventoryModule = require("./inventory")
config = require '../../../con... |
[
{
"context": ".createPost\n\t\t\t\ttitle\t: \texpected,\n\t\t\t\tauthor \t:\t'Mehfuz Hossain'\n\t\t\t\tbody\t:\t'Empty body'\n\t\t\tpromise.then (result)",
"end": 609,
"score": 0.9998927116394043,
"start": 595,
"tag": "NAME",
"value": "Mehfuz Hossain"
}
] | applications/lighter/test/routes.coffee | nodebenchmark/benchmarks | 13 | require 'should'
helper = (require '../helper')()
xml2js = require 'xml2js'
util = require('util')
path = require 'path'
fs = require('fs')
express = require('express')
request = require 'supertest'
app = express()
blog = (require __dirname + '/init').blog
(require path.join(__dirname, '../config'))(app)
(requi... | 181215 | require 'should'
helper = (require '../helper')()
xml2js = require 'xml2js'
util = require('util')
path = require 'path'
fs = require('fs')
express = require('express')
request = require 'supertest'
app = express()
blog = (require __dirname + '/init').blog
(require path.join(__dirname, '../config'))(app)
(requi... | true | require 'should'
helper = (require '../helper')()
xml2js = require 'xml2js'
util = require('util')
path = require 'path'
fs = require('fs')
express = require('express')
request = require 'supertest'
app = express()
blog = (require __dirname + '/init').blog
(require path.join(__dirname, '../config'))(app)
(requi... |
[
{
"context": " 'somata'\nconfig = require '../config'\n\nSENDER = 'blockwoods-slot'\nNEXUS_ACCOUNT_ID = config.nexus.account_id\nnexus",
"end": 81,
"score": 0.8127034306526184,
"start": 66,
"tag": "USERNAME",
"value": "blockwoods-slot"
},
{
"context": "sender\n when 'sean'\n ... | services/slot-bot.coffee | brynwaldwick/blockwoods | 0 | somata = require 'somata'
config = require '../config'
SENDER = 'blockwoods-slot'
NEXUS_ACCOUNT_ID = config.nexus.account_id
nexus_client = new somata.Client {registry_host: config.nexus.host}
client = new somata.Client()
ContractsService = new somata.Client().bindRemote 'ethereum:contracts'
BlockwoodsEngine = client... | 108468 | somata = require 'somata'
config = require '../config'
SENDER = 'blockwoods-slot'
NEXUS_ACCOUNT_ID = config.nexus.account_id
nexus_client = new somata.Client {registry_host: config.nexus.host}
client = new somata.Client()
ContractsService = new somata.Client().bindRemote 'ethereum:contracts'
BlockwoodsEngine = client... | true | somata = require 'somata'
config = require '../config'
SENDER = 'blockwoods-slot'
NEXUS_ACCOUNT_ID = config.nexus.account_id
nexus_client = new somata.Client {registry_host: config.nexus.host}
client = new somata.Client()
ContractsService = new somata.Client().bindRemote 'ethereum:contracts'
BlockwoodsEngine = client... |
[
{
"context": "is is a test description.'\n composer: 'Devon Govett'\n encoder: 'GarageBand 6.0.5'\n ",
"end": 535,
"score": 0.9998285174369812,
"start": 523,
"tag": "NAME",
"value": "Devon Govett"
},
{
"context": "is is a test description.'\n c... | tests/demuxers/m4a.coffee | industral/aurora.js | 762 | demuxerTest = require './shared'
describe 'demuxers/m4a', ->
demuxerTest 'base',
file: 'm4a/base.m4a'
format:
formatID: 'mp4a'
sampleRate: 44100
bitsPerChannel: 16
channelsPerFrame: 2
floatingPoint: false
littleEndian: false
... | 186789 | demuxerTest = require './shared'
describe 'demuxers/m4a', ->
demuxerTest 'base',
file: 'm4a/base.m4a'
format:
formatID: 'mp4a'
sampleRate: 44100
bitsPerChannel: 16
channelsPerFrame: 2
floatingPoint: false
littleEndian: false
... | true | demuxerTest = require './shared'
describe 'demuxers/m4a', ->
demuxerTest 'base',
file: 'm4a/base.m4a'
format:
formatID: 'mp4a'
sampleRate: 44100
bitsPerChannel: 16
channelsPerFrame: 2
floatingPoint: false
littleEndian: false
... |
[
{
"context": "lhost:27017/example'\n\n exports.JWT_SECRET = 'jwtsecret'\n exports.JWT_EXPIRES_IN_MINUTES = 30 * 60 *",
"end": 401,
"score": 0.9325002431869507,
"start": 392,
"tag": "KEY",
"value": "jwtsecret"
},
{
"context": "ess.env.MONGOLAB_URI\n\n exports.JWT_SECRET... | src/server/config/config.coffee | FindBoat/moolo | 0 | # Sets application config parameters depending on `env` name
exports.setEnvironment = (env) ->
console.log "Set app environment: #{env}"
switch(env)
when 'dev'
exports.DEBUG_LOG = true
exports.DEBUG_WARN = true
exports.DEBUG_ERROR = true
exports.DEBUG_CLIENT = true
exports.MONGODB... | 189348 | # Sets application config parameters depending on `env` name
exports.setEnvironment = (env) ->
console.log "Set app environment: #{env}"
switch(env)
when 'dev'
exports.DEBUG_LOG = true
exports.DEBUG_WARN = true
exports.DEBUG_ERROR = true
exports.DEBUG_CLIENT = true
exports.MONGODB... | true | # Sets application config parameters depending on `env` name
exports.setEnvironment = (env) ->
console.log "Set app environment: #{env}"
switch(env)
when 'dev'
exports.DEBUG_LOG = true
exports.DEBUG_WARN = true
exports.DEBUG_ERROR = true
exports.DEBUG_CLIENT = true
exports.MONGODB... |
[
{
"context": "module.exports=\n name:\"東方Project\"\n opening:\"異変だ!\"\n vote:\"\"\n sunrise:\"\"\n ",
"end": 35,
"score": 0.9929773807525635,
"start": 26,
"tag": "NAME",
"value": "東方Project"
},
{
"context": " # name is necessary\n name:\"博麗 霊夢\"\n ... | server/themes/example.coffee | absent132/jinrou | 53 | module.exports=
name:"東方Project"
opening:"異変だ!"
vote:""
sunrise:""
sunset:""
icon:""
background_color:"black"
color:"rgb(255,0,166)"
skins:
hakurei_reimu:
# link
avatar:"https://img.example.com/some_character.jpg"
# name is necessary
... | 111220 | module.exports=
name:"<NAME>"
opening:"異変だ!"
vote:""
sunrise:""
sunset:""
icon:""
background_color:"black"
color:"rgb(255,0,166)"
skins:
hakurei_reimu:
# link
avatar:"https://img.example.com/some_character.jpg"
# name is necessary
... | true | module.exports=
name:"PI:NAME:<NAME>END_PI"
opening:"異変だ!"
vote:""
sunrise:""
sunset:""
icon:""
background_color:"black"
color:"rgb(255,0,166)"
skins:
hakurei_reimu:
# link
avatar:"https://img.example.com/some_character.jpg"
# name is neces... |
[
{
"context": "the header is not a key type. Valid key types are 1, 2 and 3. See http://git.io/uglydb-0.1'))\n\n it",
"end": 1743,
"score": 0.9673177003860474,
"start": 1742,
"tag": "KEY",
"value": "1"
},
{
"context": " header is not a key type. Valid key types are 1, 2 and 3. See ... | test/coffee/uglydb/readSpec.coffee | adamhooper/js-uglydb | 3 | define [ 'uglydb/read' ], (read) ->
describe 'read', ->
# This follows the spec pretty heavily for finding and throwing errors.
it 'should not read a non-Array', ->
check = (fn) ->
expect(fn)
.toThrow(new Error('Invalid uglydb JSON: it must be an Array. See http://git.io/uglydb-0.1'))... | 67626 | define [ 'uglydb/read' ], (read) ->
describe 'read', ->
# This follows the spec pretty heavily for finding and throwing errors.
it 'should not read a non-Array', ->
check = (fn) ->
expect(fn)
.toThrow(new Error('Invalid uglydb JSON: it must be an Array. See http://git.io/uglydb-0.1'))... | true | define [ 'uglydb/read' ], (read) ->
describe 'read', ->
# This follows the spec pretty heavily for finding and throwing errors.
it 'should not read a non-Array', ->
check = (fn) ->
expect(fn)
.toThrow(new Error('Invalid uglydb JSON: it must be an Array. See http://git.io/uglydb-0.1'))... |
[
{
"context": "ets location associated with an IP\n#\n# Author:\n# Igor Antunes - @darigazz1984\n\nIPGEOLOCATION_API_KEY = process.",
"end": 277,
"score": 0.9998738765716553,
"start": 265,
"tag": "NAME",
"value": "Igor Antunes"
},
{
"context": "sociated with an IP\n#\n# Author:\n# ... | src/geol.coffee | Darigazz/hubot-simple-sec-candies | 0 | # Description:
# Geolocate an IP using ipgeolocation.io
#
# Dependencies:
# None
#
# Configuration:
# IPGEOLOCATION_API_KEY - Get an account at: https://ipgeolocation.io/
#
# Commands:
# hubot geol <ip> - Gets location associated with an IP
#
# Author:
# Igor Antunes - @darigazz1984
IPGEOLOCATION_API_KEY = p... | 83059 | # Description:
# Geolocate an IP using ipgeolocation.io
#
# Dependencies:
# None
#
# Configuration:
# IPGEOLOCATION_API_KEY - Get an account at: https://ipgeolocation.io/
#
# Commands:
# hubot geol <ip> - Gets location associated with an IP
#
# Author:
# <NAME> - @darigazz1984
IPGEOLOCATION_API_KEY = process... | true | # Description:
# Geolocate an IP using ipgeolocation.io
#
# Dependencies:
# None
#
# Configuration:
# IPGEOLOCATION_API_KEY - Get an account at: https://ipgeolocation.io/
#
# Commands:
# hubot geol <ip> - Gets location associated with an IP
#
# Author:
# PI:NAME:<NAME>END_PI - @darigazz1984
IPGEOLOCATION_API... |
[
{
"context": "}\n children: [\n {\n id: 'c1'\n name: 'c1'\n children: [\n {\n id: 'c1c1",
"end": 104,
"score": 0.5144175291061401,
"start": 103,
"tag": "NAME",
"value": "c"
}
] | tests/spec/lib/utils/tree.coffee | openspending/openspendingjs-old | 7 | sampleTree = ->
id: 'root'
name: 'root'
data: {}
children: [
{
id: 'c1'
name: 'c1'
children: [
{
id: 'c1c1'
value: 10
children: []
}
]
}
{
id: 'c2'
value: 20
children: []
}
]
describe 'lib/utils/tree', ->... | 46189 | sampleTree = ->
id: 'root'
name: 'root'
data: {}
children: [
{
id: 'c1'
name: '<NAME>1'
children: [
{
id: 'c1c1'
value: 10
children: []
}
]
}
{
id: 'c2'
value: 20
children: []
}
]
describe 'lib/utils/tree... | true | sampleTree = ->
id: 'root'
name: 'root'
data: {}
children: [
{
id: 'c1'
name: 'PI:NAME:<NAME>END_PI1'
children: [
{
id: 'c1c1'
value: 10
children: []
}
]
}
{
id: 'c2'
value: 20
children: []
}
]
describe '... |
[
{
"context": "tunnel = Tunnel.httpsOverHttp\n proxy:\n host: '5.189.134.87'\n port: 3128\n # ca: fs.readFileSync '/home/cl",
"end": 335,
"score": 0.9997466206550598,
"start": 323,
"tag": "IP_ADDRESS",
"value": "5.189.134.87"
}
] | test.coffee | CliffS/smoobu | 4 | #!/usr/bin/env coffee
Smoobu = require './src/smoobu'
Tunnel = require 'tunnel'
fs = require 'fs'
SMOOBU = require './smoobu' # the json file
today = new Date
days2 = new Date()
days2.setDate today.getDate() + 2
days4 = new Date()
days4.setDate today.getDate() + 4
tunnel = Tunnel.httpsOverHttp
proxy:
host... | 163696 | #!/usr/bin/env coffee
Smoobu = require './src/smoobu'
Tunnel = require 'tunnel'
fs = require 'fs'
SMOOBU = require './smoobu' # the json file
today = new Date
days2 = new Date()
days2.setDate today.getDate() + 2
days4 = new Date()
days4.setDate today.getDate() + 4
tunnel = Tunnel.httpsOverHttp
proxy:
host... | true | #!/usr/bin/env coffee
Smoobu = require './src/smoobu'
Tunnel = require 'tunnel'
fs = require 'fs'
SMOOBU = require './smoobu' # the json file
today = new Date
days2 = new Date()
days2.setDate today.getDate() + 2
days4 = new Date()
days4.setDate today.getDate() + 4
tunnel = Tunnel.httpsOverHttp
proxy:
host... |
[
{
"context": "licked')\n\n my_user_name = jQuery('#username').val()\n my_user_password = jQuery",
"end": 1388,
"score": 0.8079220652580261,
"start": 1380,
"tag": "USERNAME",
"value": "username"
},
{
"context": "val()\n my_user_password = j... | src/ui/js/coffee/main.coffee | saeschdivara/SecretWhisperer-Desktop-Client | 0 |
startUpWithWebChannel = () ->
new QWebChannel(qt.webChannelTransport, (channel) ->
mainFunction(channel.objects.chat)
)
mainFunction = (chat) ->
# Expose chat as global object
window.chat = chat
############################
## MESSAGES CALLBACKS
###########################
... | 115176 |
startUpWithWebChannel = () ->
new QWebChannel(qt.webChannelTransport, (channel) ->
mainFunction(channel.objects.chat)
)
mainFunction = (chat) ->
# Expose chat as global object
window.chat = chat
############################
## MESSAGES CALLBACKS
###########################
... | true |
startUpWithWebChannel = () ->
new QWebChannel(qt.webChannelTransport, (channel) ->
mainFunction(channel.objects.chat)
)
mainFunction = (chat) ->
# Expose chat as global object
window.chat = chat
############################
## MESSAGES CALLBACKS
###########################
... |
[
{
"context": "/auth\"\n\t# clientid = \"sandbox\"\n\t# clientSecret = \"YNXZHOH3GPYO6DF7B43K\"\n\t# redirectURI = encodeURI(\"http://localhost\")\n\t",
"end": 1549,
"score": 0.9986976385116577,
"start": 1529,
"tag": "KEY",
"value": "YNXZHOH3GPYO6DF7B43K"
}
] | app/scripts/coffeescripts/content.coffee | mapguy/News-Tab | 1 | # Content script
do ($=jQuery) ->
if not settings of window
window.alert "ERROR! Must set settings.js -- see README"
throw "ERROR! Must set settings.js -- see README"
# blacklist = [
# "https://en.wikipedia.org/wiki/Main_Page",
# "http://www.buzzfeed.com/"
# ]
# document.addEventListener "DOMContentLoaded... | 88634 | # Content script
do ($=jQuery) ->
if not settings of window
window.alert "ERROR! Must set settings.js -- see README"
throw "ERROR! Must set settings.js -- see README"
# blacklist = [
# "https://en.wikipedia.org/wiki/Main_Page",
# "http://www.buzzfeed.com/"
# ]
# document.addEventListener "DOMContentLoaded... | true | # Content script
do ($=jQuery) ->
if not settings of window
window.alert "ERROR! Must set settings.js -- see README"
throw "ERROR! Must set settings.js -- see README"
# blacklist = [
# "https://en.wikipedia.org/wiki/Main_Page",
# "http://www.buzzfeed.com/"
# ]
# document.addEventListener "DOMContentLoaded... |
[
{
"context": "g('project').respondWith([\n {\n Name: 'Test Project'\n '_ref': '/project/2'\n }\n ])\n\n ",
"end": 4852,
"score": 0.759818434715271,
"start": 4840,
"tag": "NAME",
"value": "Test Project"
},
{
"context": "feature/878'\n FormattedID: 'F1... | test/spec/portfoliokanban/PortfolioKanbanAppSpec.coffee | sboles/app-catalog | 0 | Ext = window.Ext4 || window.Ext
describe 'Rally.apps.portfoliokanban.PortfolioKanbanApp', ->
helpers
_createApp: (settings, hideFilterInfo = "false") ->
globalContext = Rally.environment.getContext()
type: Rally.util.Ref.getRelativeUri(@feature._ref)
context = Ext.create 'Rally.app.Context',
... | 77077 | Ext = window.Ext4 || window.Ext
describe 'Rally.apps.portfoliokanban.PortfolioKanbanApp', ->
helpers
_createApp: (settings, hideFilterInfo = "false") ->
globalContext = Rally.environment.getContext()
type: Rally.util.Ref.getRelativeUri(@feature._ref)
context = Ext.create 'Rally.app.Context',
... | true | Ext = window.Ext4 || window.Ext
describe 'Rally.apps.portfoliokanban.PortfolioKanbanApp', ->
helpers
_createApp: (settings, hideFilterInfo = "false") ->
globalContext = Rally.environment.getContext()
type: Rally.util.Ref.getRelativeUri(@feature._ref)
context = Ext.create 'Rally.app.Context',
... |
[
{
"context": "p: \"Registrieren\"\n OR: \"ODER\"\n forgotPassword: \"Passwort vergessen?\"\n emailAddress: \"E-Mail Adresse\"\n emailResetLi",
"end": 144,
"score": 0.995871901512146,
"start": 126,
"tag": "PASSWORD",
"value": "Passwort vergessen"
},
{
"context": "Account: \"Noch k... | client/i18n/german.coffee | hiddenswitch/accounts-entry | 0 | de =
signIn: "Anmelden"
signin: "anmelden"
signOut: "Abmelden"
signUp: "Registrieren"
OR: "ODER"
forgotPassword: "Passwort vergessen?"
emailAddress: "E-Mail Adresse"
emailResetLink: "Senden"
dontHaveAnAccount: "Noch kein Konto?"
resetYourPassword: "Passwort zurücksetzen"
updateYourPassword: "Passw... | 41045 | de =
signIn: "Anmelden"
signin: "anmelden"
signOut: "Abmelden"
signUp: "Registrieren"
OR: "ODER"
forgotPassword: "<PASSWORD>?"
emailAddress: "E-Mail Adresse"
emailResetLink: "Senden"
dontHaveAnAccount: "Noch kein Konto?"
resetYourPassword: "<PASSWORD>"
updateYourPassword: "<PASSWORD>"
password: ... | true | de =
signIn: "Anmelden"
signin: "anmelden"
signOut: "Abmelden"
signUp: "Registrieren"
OR: "ODER"
forgotPassword: "PI:PASSWORD:<PASSWORD>END_PI?"
emailAddress: "E-Mail Adresse"
emailResetLink: "Senden"
dontHaveAnAccount: "Noch kein Konto?"
resetYourPassword: "PI:PASSWORD:<PASSWORD>END_PI"
updateYou... |
[
{
"context": " ## backslash at the end\n ## https://github.com/cypress-io/cypress-monorepo/issues/535\n # these properties ",
"end": 1036,
"score": 0.9993669986724854,
"start": 1026,
"tag": "USERNAME",
"value": "cypress-io"
},
{
"context": "\"exec-path\": \"execPath\"\n \... | packages/server/lib/util/args.coffee | smartmanru/cypress | 0 | _ = require("lodash")
path = require("path")
minimist = require("minimist")
coerce = require("./coerce")
config = require("../config")
cwd = require("../cwd")
whitelist = "appPath execPath apiKey smokeTest getKey generateKey runProject project spec ci record updating ping key logs clearLogs returnP... | 174984 | _ = require("lodash")
path = require("path")
minimist = require("minimist")
coerce = require("./coerce")
config = require("../config")
cwd = require("../cwd")
whitelist = "appPath execPath apiKey smokeTest getKey generateKey runProject project spec ci record updating ping key logs clearLogs returnP... | true | _ = require("lodash")
path = require("path")
minimist = require("minimist")
coerce = require("./coerce")
config = require("../config")
cwd = require("../cwd")
whitelist = "appPath execPath apiKey smokeTest getKey generateKey runProject project spec ci record updating ping key logs clearLogs returnP... |
[
{
"context": "tEstimate: ->\n myEstimateKey = \"estimatedEffort[#{window.user.id}]\"\n @ticketsWaitingForEffortEs",
"end": 1149,
"score": 0.6423203945159912,
"start": 1149,
"tag": "KEY",
"value": ""
},
{
"context": " myEstimateKey = \"estimatedEffort[#{window.user.id}]\"\n @... | app/assets/javascripts/houston/scheduler/views/project_view.coffee | houston/houston-scheduler | 0 | class Scheduler.ProjectView extends Backbone.View
initialize: (options)->
@options = options
@project = @options.project
@tickets = @options.tickets
@maintainers = @options.maintainers
@velocity = @options.velocity
@canEstimate = @options.canEstimate
@canPrioritize = @options.canPrioriti... | 87056 | class Scheduler.ProjectView extends Backbone.View
initialize: (options)->
@options = options
@project = @options.project
@tickets = @options.tickets
@maintainers = @options.maintainers
@velocity = @options.velocity
@canEstimate = @options.canEstimate
@canPrioritize = @options.canPrioriti... | true | class Scheduler.ProjectView extends Backbone.View
initialize: (options)->
@options = options
@project = @options.project
@tickets = @options.tickets
@maintainers = @options.maintainers
@velocity = @options.velocity
@canEstimate = @options.canEstimate
@canPrioritize = @options.canPrioriti... |
[
{
"context": "is file is part of the ChinesePuzzle package.\n\n(c) Mathieu Ledru\n\nFor the full copyright and license information, ",
"end": 70,
"score": 0.9998536705970764,
"start": 57,
"tag": "NAME",
"value": "Mathieu Ledru"
}
] | Common/Bin/Data/coffee/Game/GameControl.coffee | matyo91/ChinesePuzzle | 1 | ###
This file is part of the ChinesePuzzle package.
(c) Mathieu Ledru
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.GameControl = cc.Class.extend(
ctor: ->
step: (dt) ->
draw: ->
addNode: (node) ->
removeNode: (node) ->
... | 84862 | ###
This file is part of the ChinesePuzzle package.
(c) <NAME>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.GameControl = cc.Class.extend(
ctor: ->
step: (dt) ->
draw: ->
addNode: (node) ->
removeNode: (node) ->
updateN... | true | ###
This file is part of the ChinesePuzzle package.
(c) PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.GameControl = cc.Class.extend(
ctor: ->
step: (dt) ->
draw: ->
addNode: (node) ->
removeNode: (node... |
[
{
"context": "tName: \"!~\": \"L\")'\ntest 'where(firstName: \"!=\": \"Lance\")'\ntest 'where(firstName: \"!=\": null)'\ntest 'wher",
"end": 3339,
"score": 0.9351929426193237,
"start": 3335,
"tag": "NAME",
"value": "ance"
}
] | test/config.coffee | hussainmuzzamil/tower | 1 | require '../lib/tower'
File = require('pathfinder').File
# require './secrets'
global.chai = require 'chai'
global.assert = chai.assert
global.expect = chai.expect
global.test = it
global.sinon = require 'sinon'
global.async = require 'async'
global.spec =
startDatabase: ->
cleanDatabase: ->
clos... | 219801 | require '../lib/tower'
File = require('pathfinder').File
# require './secrets'
global.chai = require 'chai'
global.assert = chai.assert
global.expect = chai.expect
global.test = it
global.sinon = require 'sinon'
global.async = require 'async'
global.spec =
startDatabase: ->
cleanDatabase: ->
clos... | true | require '../lib/tower'
File = require('pathfinder').File
# require './secrets'
global.chai = require 'chai'
global.assert = chai.assert
global.expect = chai.expect
global.test = it
global.sinon = require 'sinon'
global.async = require 'async'
global.spec =
startDatabase: ->
cleanDatabase: ->
clos... |
[
{
"context": "test('POST create', (done) ->\n data =\n name: \"new indicator\"\n\n request.post({\n url: helpers.appurl('api/i",
"end": 495,
"score": 0.8044482469558716,
"start": 482,
"tag": "NAME",
"value": "new indicator"
}
] | server/test/integration/api_indicator.coffee | unepwcmc/NRT | 0 | assert = require('chai').assert
helpers = require '../helpers'
request = require('request')
url = require('url')
_ = require('underscore')
Q = require 'q'
async = require('async')
sinon = require('sinon')
suite('API - Indicator')
Theme = require('../../models/theme').model
Indicator = require('../../models/indicator'... | 106959 | assert = require('chai').assert
helpers = require '../helpers'
request = require('request')
url = require('url')
_ = require('underscore')
Q = require 'q'
async = require('async')
sinon = require('sinon')
suite('API - Indicator')
Theme = require('../../models/theme').model
Indicator = require('../../models/indicator'... | true | assert = require('chai').assert
helpers = require '../helpers'
request = require('request')
url = require('url')
_ = require('underscore')
Q = require 'q'
async = require('async')
sinon = require('sinon')
suite('API - Indicator')
Theme = require('../../models/theme').model
Indicator = require('../../models/indicator'... |
[
{
"context": "view) ->\n equal $(':first', node).attr('id'), 'mario'\n equal $(':first', node).html(), '5'\n cont",
"end": 11293,
"score": 0.9543578028678894,
"start": 11288,
"tag": "NAME",
"value": "mario"
},
{
"context": "lay =>\n equal $(':first', node).attr('id'), '... | tests/batman/view/loop_rendering_test.coffee | Shipow/batman | 1 | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
getPs = (view) -> $('p', view.get('node')).map(-> @innerHTML).toArray()
QUnit.module "Batman.View loop rendering"
asyncTest 'it should allow simple loops', 1, ->
source = '<p data-foreach-object="objects" class="present"... | 222936 | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
getPs = (view) -> $('p', view.get('node')).map(-> @innerHTML).toArray()
QUnit.module "Batman.View loop rendering"
asyncTest 'it should allow simple loops', 1, ->
source = '<p data-foreach-object="objects" class="present"... | true | helpers = if typeof require is 'undefined' then window.viewHelpers else require './view_helper'
getPs = (view) -> $('p', view.get('node')).map(-> @innerHTML).toArray()
QUnit.module "Batman.View loop rendering"
asyncTest 'it should allow simple loops', 1, ->
source = '<p data-foreach-object="objects" class="present"... |
[
{
"context": "SOFTWARE.\n\nangular-google-maps\nhttps://github.com/nlaplante/angular-google-maps\n\n@authors\nNicolas Laplante - ",
"end": 1154,
"score": 0.9547258615493774,
"start": 1145,
"tag": "USERNAME",
"value": "nlaplante"
},
{
"context": "ithub.com/nlaplante/angular-google-map... | www/lib/js/angular-google-maps/src/coffee/directives/map.coffee | neilff/liqbo-cordova | 0 | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
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... | 112132 | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
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... | true | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
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... |
[
{
"context": "###\n\t(c) 2016 Julian Gonggrijp\n###\n\ndefine [\n\t'backbone'\n\t'templates'\n], (bb, JS",
"end": 30,
"score": 0.9998806118965149,
"start": 14,
"tag": "NAME",
"value": "Julian Gonggrijp"
}
] | client/script/view/home.coffee | NBOCampbellToets/CampbellSoup | 0 | ###
(c) 2016 Julian Gonggrijp
###
define [
'backbone'
'templates'
], (bb, JST) ->
'use strict'
class HomeView extends bb.View
template: JST['home']
el: 'main'
render: ->
@$el.html @template {}
@
| 196749 | ###
(c) 2016 <NAME>
###
define [
'backbone'
'templates'
], (bb, JST) ->
'use strict'
class HomeView extends bb.View
template: JST['home']
el: 'main'
render: ->
@$el.html @template {}
@
| true | ###
(c) 2016 PI:NAME:<NAME>END_PI
###
define [
'backbone'
'templates'
], (bb, JST) ->
'use strict'
class HomeView extends bb.View
template: JST['home']
el: 'main'
render: ->
@$el.html @template {}
@
|
[
{
"context": "me:'callback'} )->\n deferred = Deferred()\n key = randId()\n EH[JSONP_KEY][key] = ->\n cb and cb.apply nul",
"end": 3510,
"score": 0.9975231289863586,
"start": 3502,
"tag": "KEY",
"value": "randId()"
}
] | src/coffee/ajax.coffee | eHanlin/eHanlinSDK | 0 |
###
* @param {XMLHttpRequest} xhr
* @param {function} success
* @param {function} error
* @param {Deferred} deferred
###
buildPipeByContentType = ( xhr, success, error, deferred )->
###
* @private
* @function
###
forwardParams = ->
success and success.apply xhr, arguments
deferred.resolve.appl... | 173276 |
###
* @param {XMLHttpRequest} xhr
* @param {function} success
* @param {function} error
* @param {Deferred} deferred
###
buildPipeByContentType = ( xhr, success, error, deferred )->
###
* @private
* @function
###
forwardParams = ->
success and success.apply xhr, arguments
deferred.resolve.appl... | true |
###
* @param {XMLHttpRequest} xhr
* @param {function} success
* @param {function} error
* @param {Deferred} deferred
###
buildPipeByContentType = ( xhr, success, error, deferred )->
###
* @private
* @function
###
forwardParams = ->
success and success.apply xhr, arguments
deferred.resolve.appl... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n\nLicensed under the A",
"end": 39,
"score": 0.9998905062675476,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com... | src/Action/Scope/Decorator/WithStatement.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law o... | 84889 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing,... | true | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable... |
[
{
"context": "RSION_NUMBER\n user_id: localStorage['purpleUserId']\n token: localStorage['purpleToken']\n ",
"end": 2549,
"score": 0.6878354549407959,
"start": 2543,
"tag": "USERNAME",
"value": "UserId"
},
{
"context": "rage['purpleUserId']\n token: localStora... | src/app/view/Invite.coffee | Purple-Services/app | 2 | Ext.define 'Purple.view.Invite',
extend: 'Ext.Container'
xtype: 'invite'
requires: [
'Ext.form.*'
'Ext.field.*'
'Ext.Button'
'Ext.XTemplate'
]
config:
layout:
type: 'hbox'
pack: 'start'
align: 'start'
height: '100%'
cls: [
'invite-form'
'accent-bg'
... | 45435 | Ext.define 'Purple.view.Invite',
extend: 'Ext.Container'
xtype: 'invite'
requires: [
'Ext.form.*'
'Ext.field.*'
'Ext.Button'
'Ext.XTemplate'
]
config:
layout:
type: 'hbox'
pack: 'start'
align: 'start'
height: '100%'
cls: [
'invite-form'
'accent-bg'
... | true | Ext.define 'Purple.view.Invite',
extend: 'Ext.Container'
xtype: 'invite'
requires: [
'Ext.form.*'
'Ext.field.*'
'Ext.Button'
'Ext.XTemplate'
]
config:
layout:
type: 'hbox'
pack: 'start'
align: 'start'
height: '100%'
cls: [
'invite-form'
'accent-bg'
... |
[
{
"context": "aurantListView_:\n\t\t\t\trests: [\n\t\t\t\t\t\tid: 1, name: 'La Neta (mocked)', address: 'Drottninggatan 132', stars: ",
"end": 1277,
"score": 0.994377076625824,
"start": 1270,
"tag": "NAME",
"value": "La Neta"
},
{
"context": "lactose-free options.'\n\t\t\t\t\t,\n\t\t... | examples/restaurant-reviewer/src/main_backup.coffee | Cottin/oublie | 0 | require 'whatwg-fetch'
React = require 'react'
ReactDOM = require 'react-dom'
Pawpaw = require 'pawpaw'
{Phlox} = require 'phlox'
Oublie = require 'oublie'
viewModels = require './base/viewModels'
queriers = require './base/queriers'
lifters = require './base/lifters'
createTree = require './base/parser'
require './s... | 104753 | require 'whatwg-fetch'
React = require 'react'
ReactDOM = require 'react-dom'
Pawpaw = require 'pawpaw'
{Phlox} = require 'phlox'
Oublie = require 'oublie'
viewModels = require './base/viewModels'
queriers = require './base/queriers'
lifters = require './base/lifters'
createTree = require './base/parser'
require './s... | true | require 'whatwg-fetch'
React = require 'react'
ReactDOM = require 'react-dom'
Pawpaw = require 'pawpaw'
{Phlox} = require 'phlox'
Oublie = require 'oublie'
viewModels = require './base/viewModels'
queriers = require './base/queriers'
lifters = require './base/lifters'
createTree = require './base/parser'
require './s... |
[
{
"context": " * File combining \n * (1) sha.js by Brian Turek 2008-2013 under BSD license\n * (2) and ",
"end": 410,
"score": 0.9998895525932312,
"start": 399,
"tag": "NAME",
"value": "Brian Turek"
}
] | Gruntfile.coffee | blizzardengle/JS-OTP | 173 | module.exports = (grunt) ->
grunt.initConfig
coffee:
app:
expand: true
cwd: 'coffee'
src: ['*.coffee']
dest: 'js'
ext: '.js'
concat:
app:
src: ['js/jsOTP.js', 'js/sha_dev.js']
dest: 'dist/jsOTP.js'
uglify:
app:
options:
... | 121484 | module.exports = (grunt) ->
grunt.initConfig
coffee:
app:
expand: true
cwd: 'coffee'
src: ['*.coffee']
dest: 'js'
ext: '.js'
concat:
app:
src: ['js/jsOTP.js', 'js/sha_dev.js']
dest: 'dist/jsOTP.js'
uglify:
app:
options:
... | true | module.exports = (grunt) ->
grunt.initConfig
coffee:
app:
expand: true
cwd: 'coffee'
src: ['*.coffee']
dest: 'js'
ext: '.js'
concat:
app:
src: ['js/jsOTP.js', 'js/sha_dev.js']
dest: 'dist/jsOTP.js'
uglify:
app:
options:
... |
[
{
"context": " 'store',\n namespace: namespace\n name: 'Walmart'\n extend: {label: 'foo'}\n\n productAdapter =",
"end": 3683,
"score": 0.72381192445755,
"start": 3676,
"tag": "NAME",
"value": "Walmart"
},
{
"context": "stStorageAdapter,\n 'products2': {name: \"Prod... | tests/batman/model/associations/associations_test.coffee | nickjs/batman.js | 3 | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter} = if typeof require is 'undefined' then window else require '../model_helper'
helpers = if typeof require is 'undefined' then window.viewHelpers else require '../../view/view_helper'
QUnit.module "Batman.Model Associations",
setup: ->
@oldApp = ... | 101497 | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter} = if typeof require is 'undefined' then window else require '../model_helper'
helpers = if typeof require is 'undefined' then window.viewHelpers else require '../../view/view_helper'
QUnit.module "Batman.Model Associations",
setup: ->
@oldApp = ... | true | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter} = if typeof require is 'undefined' then window else require '../model_helper'
helpers = if typeof require is 'undefined' then window.viewHelpers else require '../../view/view_helper'
QUnit.module "Batman.Model Associations",
setup: ->
@oldApp = ... |
[
{
"context": "foo: 'bar'\n @sut.send 'message', najal: 'Mario Schneider'\n _.delay done, 50\n\n it 'should c",
"end": 2206,
"score": 0.9998418688774109,
"start": 2191,
"tag": "NAME",
"value": "Mario Schneider"
},
{
"context": ".send).to.have.been.calledWith '... | test/src/buffered-socket-spec.coffee | octoblu/npm | 3 | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
BufferedSocket = require '../../src/buffered-socket'
AsymetricSocket = require '../asymmetric-socket'
describe 'BufferedSocket', ->
@timeout 200
describe '->constructor', ->
describe 'whe... | 118155 | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
BufferedSocket = require '../../src/buffered-socket'
AsymetricSocket = require '../asymmetric-socket'
describe 'BufferedSocket', ->
@timeout 200
describe '->constructor', ->
describe 'whe... | true | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
BufferedSocket = require '../../src/buffered-socket'
AsymetricSocket = require '../asymmetric-socket'
describe 'BufferedSocket', ->
@timeout 200
describe '->constructor', ->
describe 'whe... |
[
{
"context": "uire('../utils/id_utils').IdUtils\n\nROUTING_KEY = 'export'\n\nlogger = Conf.getLogger('export')\n\nclass AmqpLi",
"end": 577,
"score": 0.9749339818954468,
"start": 571,
"tag": "KEY",
"value": "export"
},
{
"context": "()\n )\n\nclass ArchiveFinder\n\n constructor... | src/server/export/multi.coffee | LaPingvino/rizzoma | 88 | _ = require('underscore')
async = require('async')
loadMarkup = require('./controller').loadMarkup
Conf = require('../conf').Conf
{AmqpAdapter, AmqpQueueListener} = require('../common/amqp')
UserCouchProcessor = require('../user/couch_processor').UserCouchProcessor
fs = require('fs-plus')
getFileName = require('./utils... | 170268 | _ = require('underscore')
async = require('async')
loadMarkup = require('./controller').loadMarkup
Conf = require('../conf').Conf
{AmqpAdapter, AmqpQueueListener} = require('../common/amqp')
UserCouchProcessor = require('../user/couch_processor').UserCouchProcessor
fs = require('fs-plus')
getFileName = require('./utils... | true | _ = require('underscore')
async = require('async')
loadMarkup = require('./controller').loadMarkup
Conf = require('../conf').Conf
{AmqpAdapter, AmqpQueueListener} = require('../common/amqp')
UserCouchProcessor = require('../user/couch_processor').UserCouchProcessor
fs = require('fs-plus')
getFileName = require('./utils... |
[
{
"context": "n \"{your answer} who?\", then \"lol\"\n#\n# Author:\n# Tim Kinnane\n#\nplaybook = require '../../lib'\n\nmodule.exports ",
"end": 382,
"score": 0.9998499155044556,
"start": 371,
"tag": "NAME",
"value": "Tim Kinnane"
}
] | integration/scripts/knock-knock-room.coffee | PropertyUX/nubot-playbook | 0 | # Description:
# Tell Hubot a knock knock joke - it is guaranteed to laugh
# Uses object oreiented path declarations, simpler to read and pass callbacks
#
# Dependencies:
# hubot-playbook
#
# Configuration:
# Playbook room scene responds to the whole room
#
# Commands:
# knock - it will say "Who's there", the... | 43656 | # Description:
# Tell Hubot a knock knock joke - it is guaranteed to laugh
# Uses object oreiented path declarations, simpler to read and pass callbacks
#
# Dependencies:
# hubot-playbook
#
# Configuration:
# Playbook room scene responds to the whole room
#
# Commands:
# knock - it will say "Who's there", the... | true | # Description:
# Tell Hubot a knock knock joke - it is guaranteed to laugh
# Uses object oreiented path declarations, simpler to read and pass callbacks
#
# Dependencies:
# hubot-playbook
#
# Configuration:
# Playbook room scene responds to the whole room
#
# Commands:
# knock - it will say "Who's there", the... |
[
{
"context": " script.type = 'text/javascript'\n gmaps_api = 'AIzaSyCrOBIUEILY4rk5jwKl1ZceoztwjRaV2cc'\n script.src = \"https://maps.googleapis.com/ma",
"end": 595,
"score": 0.9997668266296387,
"start": 556,
"tag": "KEY",
"value": "AIzaSyCrOBIUEILY4rk5jwKl1ZceoztwjRaV2cc"
}
] | app/assets/javascripts/monster/services/map.coffee | monsterboxpro/monster-javascripts | 0 | $service 'Map', '$q', class
opts:
map:=>
mapTypeId: google.maps.MapTypeId.ROADMAP
panControl: false
streetViewControl: false
mapTypeControl: true
mapTypeControlOptions:
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
zoomControl: false
directions:
suppres... | 24259 | $service 'Map', '$q', class
opts:
map:=>
mapTypeId: google.maps.MapTypeId.ROADMAP
panControl: false
streetViewControl: false
mapTypeControl: true
mapTypeControlOptions:
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
zoomControl: false
directions:
suppres... | true | $service 'Map', '$q', class
opts:
map:=>
mapTypeId: google.maps.MapTypeId.ROADMAP
panControl: false
streetViewControl: false
mapTypeControl: true
mapTypeControlOptions:
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU
zoomControl: false
directions:
suppres... |
[
{
"context": "# name: index.js\n#\n# author: 沈维忠 ( Shen Weizhong / Tony Stark )\n#\n# Last Update: 沈",
"end": 32,
"score": 0.9998957514762878,
"start": 29,
"tag": "NAME",
"value": "沈维忠"
},
{
"context": "# name: index.js\n#\n# author: 沈维忠 ( Shen Weizhong / Tony Stark )\n#\n# Last Upda... | dev/splited_tasks_for_gulp/mocha.coffee | gitter-badger/is-object-brace | 0 | # name: index.js
#
# author: 沈维忠 ( Shen Weizhong / Tony Stark )
#
# Last Update: 沈维忠 ( Shen Weizhong / Tony Stark )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
gulp.task 'mocha', ->
gulp.src cfg.path.test + 'test.js'
.pi... | 201163 | # name: index.js
#
# author: <NAME> ( <NAME> / <NAME> )
#
# Last Update: <NAME> ( <NAME> / <NAME> )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()
gulp.task 'mocha', ->
gulp.src cfg.path.test + 'test.js'
.pipe $.mocha()
| true | # name: index.js
#
# author: PI:NAME:<NAME>END_PI ( PI:NAME:<NAME>END_PI / PI:NAME:<NAME>END_PI )
#
# Last Update: PI:NAME:<NAME>END_PI ( PI:NAME:<NAME>END_PI / PI:NAME:<NAME>END_PI )
'use strict'
cfg = require '../config.json'
gulp = require 'gulp'
$ = require('gulp-load-plugins')()... |
[
{
"context": "#\n# Copyright (c) 2014 by Lifted Studios. All Rights Reserved.\n#\n\n# Public: This c",
"end": 32,
"score": 0.5294657945632935,
"start": 30,
"tag": "NAME",
"value": "ed"
}
] | packages/emacs-flow/lib/emacs-flow.coffee | jakepearson/atom | 1 | #
# Copyright (c) 2014 by Lifted Studios. All Rights Reserved.
#
# Public: This class contains the top-level command functionality for the Emacs
# Flow package.
module.exports =
class EmacsFlow
# Public: Auto-indents the current row in the active editor.
autoIndent: ->
editor = atom.workspace.getActiveEditor()... | 24109 | #
# Copyright (c) 2014 by Lift<NAME> Studios. All Rights Reserved.
#
# Public: This class contains the top-level command functionality for the Emacs
# Flow package.
module.exports =
class EmacsFlow
# Public: Auto-indents the current row in the active editor.
autoIndent: ->
editor = atom.workspace.getActiveEdit... | true | #
# Copyright (c) 2014 by LiftPI:NAME:<NAME>END_PI Studios. All Rights Reserved.
#
# Public: This class contains the top-level command functionality for the Emacs
# Flow package.
module.exports =
class EmacsFlow
# Public: Auto-indents the current row in the active editor.
autoIndent: ->
editor = atom.workspace... |
[
{
"context": " its dusya optionally follwed by ANYTHING\n if /dusya/.test(username)\n msg.send \"DEES NUTS\"\n ",
"end": 204,
"score": 0.9753581881523132,
"start": 199,
"tag": "USERNAME",
"value": "dusya"
},
{
"context": "ING\n if /dusya/.test(username)\n msg.sen... | scripts/entrance.coffee | sbryant/arrakis-hubot | 0 | # Says things when people join
module.exports = (robot) ->
robot.enter (msg) ->
username = msg.message.user.name.toLowerCase().trim()
# If its dusya optionally follwed by ANYTHING
if /dusya/.test(username)
msg.send "DEES NUTS"
msg.send "HAPPY BIRTHDAY KATY"
msg.send "Muta_work: FUCK YOU... | 58883 | # Says things when people join
module.exports = (robot) ->
robot.enter (msg) ->
username = msg.message.user.name.toLowerCase().trim()
# If its dusya optionally follwed by ANYTHING
if /dusya/.test(username)
msg.send "<NAME>"
msg.send "<NAME>"
msg.send "Muta_work: FUCK YOU"
else if /a... | true | # Says things when people join
module.exports = (robot) ->
robot.enter (msg) ->
username = msg.message.user.name.toLowerCase().trim()
# If its dusya optionally follwed by ANYTHING
if /dusya/.test(username)
msg.send "PI:NAME:<NAME>END_PI"
msg.send "PI:NAME:<NAME>END_PI"
msg.send "Muta_wo... |
[
{
"context": "cts\": [\n {\n \"id\": 1,\n \"name\": \"Spy Hunter\"\n },\n {\n \"id\": 2\n \"name\":",
"end": 783,
"score": 0.9993967413902283,
"start": 773,
"tag": "NAME",
"value": "Spy Hunter"
},
{
"context": " },\n {\n \"i... | src/mockData.coffee | cyrusm86/srl_chatbot | 0 | ###
Copyright 2016 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | 64905 | ###
Copyright 2016 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | true | ###
Copyright 2016 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... |
[
{
"context": "'\r\nREQUIRED_SCRIPT_OPTIONS = ['result', 'write', 'username', 'password', 'config']\r\n\r\nclass OptionsReader\r\n\r",
"end": 108,
"score": 0.9984925985336304,
"start": 100,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ionsReader\r\n\r\n constructor: ->\r\n... | src/options_reader.coffee | RoshanMalewar/TestRail_0001 | 0 | _ = require 'lodash'
minimist = require 'minimist'
REQUIRED_SCRIPT_OPTIONS = ['result', 'write', 'username', 'password', 'config']
class OptionsReader
constructor: ->
@alias = u: 'username', p: 'password', c: 'config', r: 'result', i: 'runid', w: 'write'
@unknown = (opt) -> throw new Error "unrecogn... | 125491 | _ = require 'lodash'
minimist = require 'minimist'
REQUIRED_SCRIPT_OPTIONS = ['result', 'write', 'username', 'password', 'config']
class OptionsReader
constructor: ->
@alias = u: 'username', p: '<PASSWORD>', c: 'config', r: 'result', i: 'runid', w: 'write'
@unknown = (opt) -> throw new Error "unreco... | true | _ = require 'lodash'
minimist = require 'minimist'
REQUIRED_SCRIPT_OPTIONS = ['result', 'write', 'username', 'password', 'config']
class OptionsReader
constructor: ->
@alias = u: 'username', p: 'PI:PASSWORD:<PASSWORD>END_PI', c: 'config', r: 'result', i: 'runid', w: 'write'
@unknown = (opt) -> throw... |
[
{
"context": " the\ninvites because of stubbing.\"\"\"\n\nusers: {\n \"herb\": {}\n \"basil\": {}\n \"rose\": {}\n \"lily\": {}\n}\n\nt",
"end": 201,
"score": 0.9948520660400391,
"start": 197,
"tag": "USERNAME",
"value": "herb"
},
{
"context": "because of stubbing.\"\"\"\n\nusers... | teamchains/inputs/used_stubbed_invites.iced | keybase/keybase-test-vectors | 4 | description: """Case when there are multiple use invites that are "used" by
change_membership links, but non-admins load them without knowing about the
invites because of stubbing."""
users: {
"herb": {}
"basil": {}
"rose": {}
"lily": {}
}
teams: {
"cabal": {
links: [{
type: "root"
members:
... | 34512 | description: """Case when there are multiple use invites that are "used" by
change_membership links, but non-admins load them without knowing about the
invites because of stubbing."""
users: {
"herb": {}
"basil": {}
"<NAME>": {}
"<NAME>": {}
}
teams: {
"cabal": {
links: [{
type: "root"
membe... | true | description: """Case when there are multiple use invites that are "used" by
change_membership links, but non-admins load them without knowing about the
invites because of stubbing."""
users: {
"herb": {}
"basil": {}
"PI:NAME:<NAME>END_PI": {}
"PI:NAME:<NAME>END_PI": {}
}
teams: {
"cabal": {
links: [{
... |
[
{
"context": "text onto HTML canvas elements\n\nWritten in 2013 by Karl Naylor <kpn103@yahoo.com>\n\nTo the extent possible under ",
"end": 106,
"score": 0.9998907446861267,
"start": 95,
"tag": "NAME",
"value": "Karl Naylor"
},
{
"context": " canvas elements\n\nWritten in 2013 by Kar... | src/content/coffee/handywriteOnCanvas/graphemes/circles.coffee | karlorg/phonetify | 1 | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by Karl Naylor <kpn103@yahoo.com>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed wit... | 176473 | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by <NAME> <<EMAIL>>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is distributed without any
warra... | true | ###
handywriteOnCanvas - renders handywrite text onto HTML canvas elements
Written in 2013 by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
To the extent possible under law, the author(s) have dedicated all
copyright and related and neighboring rights to this software to the
public domain worldwide. This software is ... |
[
{
"context": "---------------------------------\n# Copyright 2013 Patrick Mueller\n#\n# Licensed under the Apache License, Version 2.",
"end": 2155,
"score": 0.9995293617248535,
"start": 2140,
"tag": "NAME",
"value": "Patrick Mueller"
}
] | lib-src/cli.coffee | pmuellr/cat-source-map | 1 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
nopt = require "nopt"
pkg = require "../package.json"
csm = require "./cat-source-map"
PROGRAM = pkg.name
VERSION = pkg.version
cli = exports
#------------------------------------------------------------------... | 201060 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
nopt = require "nopt"
pkg = require "../package.json"
csm = require "./cat-source-map"
PROGRAM = pkg.name
VERSION = pkg.version
cli = exports
#------------------------------------------------------------------... | true | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
nopt = require "nopt"
pkg = require "../package.json"
csm = require "./cat-source-map"
PROGRAM = pkg.name
VERSION = pkg.version
cli = exports
#------------------------------------------------------------------... |
[
{
"context": " new User(\n email: req.body.email\n password: req.body.password\n )\n user.save (err, user) ->\n if err?\n ",
"end": 721,
"score": 0.9968509674072266,
"start": 704,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | server/controllers/api/user.coffee | unepwcmc/NRT | 0 | User = require("../../models/user").model
_ = require('underscore')
mongoose = require('mongoose')
Q = require('q')
exports.index = (req, res) ->
Q.nsend(User.find().select('-password -salt'), 'exec')
.then( (users) ->
res.send(users)
).fail( (err) ->
console.error err
return res.send(500, "Could not... | 175931 | User = require("../../models/user").model
_ = require('underscore')
mongoose = require('mongoose')
Q = require('q')
exports.index = (req, res) ->
Q.nsend(User.find().select('-password -salt'), 'exec')
.then( (users) ->
res.send(users)
).fail( (err) ->
console.error err
return res.send(500, "Could not... | true | User = require("../../models/user").model
_ = require('underscore')
mongoose = require('mongoose')
Q = require('q')
exports.index = (req, res) ->
Q.nsend(User.find().select('-password -salt'), 'exec')
.then( (users) ->
res.send(users)
).fail( (err) ->
console.error err
return res.send(500, "Could not... |
[
{
"context": "# try with relax false\n parse \"\"\"\n 384682,\"\"SAMAY\"\" Hostel,Jiron Florida 285\n \"\"\", relax: false,",
"end": 1751,
"score": 0.9965814352035522,
"start": 1746,
"tag": "NAME",
"value": "SAMAY"
},
{
"context": "ith relax false\n parse \"\"\"\n 3846... | test/options.relax.coffee | hei-pa/node-csv-parse | 1 |
fs = require 'fs'
parse = require '../src'
describe 'options relax', ->
it 'true with invalid quotes in the middle', (next) ->
# try with relax true
parse """
384682,the "SAMAY" Hostel,Jiron Florida 285
""", relax: true, (err, data) ->
return next err if err
data.should.eql [
[ ... | 35675 |
fs = require 'fs'
parse = require '../src'
describe 'options relax', ->
it 'true with invalid quotes in the middle', (next) ->
# try with relax true
parse """
384682,the "SAMAY" Hostel,Jiron Florida 285
""", relax: true, (err, data) ->
return next err if err
data.should.eql [
[ ... | true |
fs = require 'fs'
parse = require '../src'
describe 'options relax', ->
it 'true with invalid quotes in the middle', (next) ->
# try with relax true
parse """
384682,the "SAMAY" Hostel,Jiron Florida 285
""", relax: true, (err, data) ->
return next err if err
data.should.eql [
[ ... |
[
{
"context": "# connect-orientdb\n# Copyright(c) 2012 Federico Fissore <federico@fissore.org>\n# MIT Licensed\n\norient = r",
"end": 55,
"score": 0.9998717308044434,
"start": 39,
"tag": "NAME",
"value": "Federico Fissore"
},
{
"context": "ct-orientdb\n# Copyright(c) 2012 Federico Fis... | lib/connect-orientdb.coffee | ffissore/connect-orientdb | 8 | # connect-orientdb
# Copyright(c) 2012 Federico Fissore <federico@fissore.org>
# MIT Licensed
orient = require "orientdb"
TEN_MINUTES = 10 * 60 * 1000
TWO_HOURS = 2 * 60 * 60 * 1000
default_options =
server:
host: "localhost"
port: 2424
db:
user_name: "admin"
user_password: "admin"
database: "s... | 189223 | # connect-orientdb
# Copyright(c) 2012 <NAME> <<EMAIL>>
# MIT Licensed
orient = require "orientdb"
TEN_MINUTES = 10 * 60 * 1000
TWO_HOURS = 2 * 60 * 60 * 1000
default_options =
server:
host: "localhost"
port: 2424
db:
user_name: "admin"
user_password: "<PASSWORD>"
database: "sessions"
class_n... | true | # connect-orientdb
# Copyright(c) 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MIT Licensed
orient = require "orientdb"
TEN_MINUTES = 10 * 60 * 1000
TWO_HOURS = 2 * 60 * 60 * 1000
default_options =
server:
host: "localhost"
port: 2424
db:
user_name: "admin"
user_password: "PI:PASSWORD:<PA... |
[
{
"context": "ructor: ->\n _this = this\n this.knownKeys = [48, 49, 50, 51, 52, 53, 54, 55, 56, 57]\n this.keyMap = []\n this.in",
"end": 160,
"score": 0.8395132422447205,
"start": 138,
"tag": "KEY",
"value": "48, 49, 50, 51, 52, 53"
},
{
"context": "this\n this.knownK... | src/interface.coffee | Dalphi/interface-paragraph_classification | 0 | class paragraph_classification extends AnnotationIteration
_this = undefined
constructor: ->
_this = this
this.knownKeys = [48, 49, 50, 51, 52, 53, 54, 55, 56, 57]
this.keyMap = []
this.initKeyboardEventHandler()
initKeyboardEventHandler: ->
$(document).off 'keydown'
$(document).keydown... | 92423 | class paragraph_classification extends AnnotationIteration
_this = undefined
constructor: ->
_this = this
this.knownKeys = [<KEY>, <KEY>, <KEY>, <KEY>, <KEY>]
this.keyMap = []
this.initKeyboardEventHandler()
initKeyboardEventHandler: ->
$(document).off 'keydown'
$(document).keydown (e) ... | true | class paragraph_classification extends AnnotationIteration
_this = undefined
constructor: ->
_this = this
this.knownKeys = [PI:KEY:<KEY>END_PI, PI:KEY:<KEY>END_PI, PI:KEY:<KEY>END_PI, PI:KEY:<KEY>END_PI, PI:KEY:<KEY>END_PI]
this.keyMap = []
this.initKeyboardEventHandler()
initKeyboardEventHandl... |
[
{
"context": "his song\n# skip this song\n\n# Description:\n# Uses Jesse Ditson's remote-skip app to skip songs playing on local ",
"end": 71,
"score": 0.9997974634170532,
"start": 59,
"tag": "NAME",
"value": "Jesse Ditson"
},
{
"context": "playing on local computers\n# https://g... | hubot-script/remote-skip.coffee | jesseditson/remote-skip | 2 | # Skip this song
# skip this song
# Description:
# Uses Jesse Ditson's remote-skip app to skip songs playing on local computers
# https://github.com/jesseditson/remote-skip
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# Skip this song
pattern = /skip (this )?song/i
module.exports = (rob... | 176505 | # Skip this song
# skip this song
# Description:
# Uses <NAME>'s remote-skip app to skip songs playing on local computers
# https://github.com/jesseditson/remote-skip
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# Skip this song
pattern = /skip (this )?song/i
module.exports = (robot) ->... | true | # Skip this song
# skip this song
# Description:
# Uses PI:NAME:<NAME>END_PI's remote-skip app to skip songs playing on local computers
# https://github.com/jesseditson/remote-skip
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# Skip this song
pattern = /skip (this )?song/i
module.export... |
[
{
"context": " Algospot SpotBoard\n#\n# contest.coffee\n#\n# @author Jongwook Choi <wookayin@gmail.com>\n#\n\n# a stopgap for node.js\n$",
"end": 65,
"score": 0.9998348355293274,
"start": 52,
"tag": "NAME",
"value": "Jongwook Choi"
},
{
"context": "ard\n#\n# contest.coffee\n#\n# @aut... | webapp/src/js/contest.coffee | myungwoo/spotboard | 41 | # Algospot SpotBoard
#
# contest.coffee
#
# @author Jongwook Choi <wookayin@gmail.com>
#
# a stopgap for node.js
$ = (this.$) || require 'jquery'
if typeof window == 'undefined'
$.extend = require 'extend'
#####################
# Helper Functions
#####################
class AssertionError extends Error
const... | 171249 | # Algospot SpotBoard
#
# contest.coffee
#
# @author <NAME> <<EMAIL>>
#
# a stopgap for node.js
$ = (this.$) || require 'jquery'
if typeof window == 'undefined'
$.extend = require 'extend'
#####################
# Helper Functions
#####################
class AssertionError extends Error
constructor : (@message... | true | # Algospot SpotBoard
#
# contest.coffee
#
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# a stopgap for node.js
$ = (this.$) || require 'jquery'
if typeof window == 'undefined'
$.extend = require 'extend'
#####################
# Helper Functions
#####################
class AssertionError extends Erro... |
[
{
"context": "###\n# @author Jinzulen\n# @license Apache 2.0\n# @copyright Copyright 2020",
"end": 22,
"score": 0.9998780488967896,
"start": 14,
"tag": "NAME",
"value": "Jinzulen"
},
{
"context": "\n# @license Apache 2.0\n# @copyright Copyright 2020 Khalil G. <https://github.com/Jinz... | src/Methods/Emotes/All.coffee | King-BR/DEmojiJS | 1 | ###
# @author Jinzulen
# @license Apache 2.0
# @copyright Copyright 2020 Khalil G. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabEverything
constructor: (GIF, Callback) ->
return new Promise (Resolve, Reject) ->
API.contactAPI "https://discorde... | 103821 | ###
# @author <NAME>
# @license Apache 2.0
# @copyright Copyright 2020 <NAME>. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabEverything
constructor: (GIF, Callback) ->
return new Promise (Resolve, Reject) ->
API.contactAPI "https://discordemoji... | true | ###
# @author PI:NAME:<NAME>END_PI
# @license Apache 2.0
# @copyright Copyright 2020 PI:NAME:<NAME>END_PI. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabEverything
constructor: (GIF, Callback) ->
return new Promise (Resolve, Reject) ->
API.cont... |
[
{
"context": " thread.res.push(\n name: \"あぼーん\"\n mail: \"あぼーん\"\n message",
"end": 5232,
"score": 0.9997872114181519,
"start": 5228,
"tag": "NAME",
"value": "あぼーん"
},
{
"context": " name: \"あぼーん\"\n mail: \... | src/core/Thread.coffee | readcrx-2/read.crx-2 | 38 | import Board from "./Board.coffee"
import Cache from "./Cache.coffee"
import {Request} from "./HTTP.ts"
import {chServerMoveDetect, decodeCharReference, removeNeedlessFromTitle} from "./util.coffee"
import {URL} from "./URL.ts"
###*
@class Thread
@constructor
@param {String} url
###
export default class Thread
const... | 9107 | import Board from "./Board.coffee"
import Cache from "./Cache.coffee"
import {Request} from "./HTTP.ts"
import {chServerMoveDetect, decodeCharReference, removeNeedlessFromTitle} from "./util.coffee"
import {URL} from "./URL.ts"
###*
@class Thread
@constructor
@param {String} url
###
export default class Thread
const... | true | import Board from "./Board.coffee"
import Cache from "./Cache.coffee"
import {Request} from "./HTTP.ts"
import {chServerMoveDetect, decodeCharReference, removeNeedlessFromTitle} from "./util.coffee"
import {URL} from "./URL.ts"
###*
@class Thread
@constructor
@param {String} url
###
export default class Thread
const... |
[
{
"context": "me\n\t\t\twhen 'test' then req 'GET', 'test'\n\t\t\twhen 'usernames' then req 'GET', 'usernames'\n\t\t\twhen 'signin' the",
"end": 647,
"score": 0.9418120980262756,
"start": 638,
"tag": "USERNAME",
"value": "usernames"
},
{
"context": "GET', 'test'\n\t\t\twhen 'username... | app/assets/javascripts/requests.coffee | adrianhurt/play-api-rest-tester | 16 | define [], () ->
# Given a request name (identifier), returns a JSON object with the information of the corresponding prepared request:
# secured: true if the request is secured by a token.
# method: GET, POST, PUT, DELETE, ...
# uri: the request uri
# body: the optional body as a JSON object
prepared: (r... | 181756 | define [], () ->
# Given a request name (identifier), returns a JSON object with the information of the corresponding prepared request:
# secured: true if the request is secured by a token.
# method: GET, POST, PUT, DELETE, ...
# uri: the request uri
# body: the optional body as a JSON object
prepared: (r... | true | define [], () ->
# Given a request name (identifier), returns a JSON object with the information of the corresponding prepared request:
# secured: true if the request is secured by a token.
# method: GET, POST, PUT, DELETE, ...
# uri: the request uri
# body: the optional body as a JSON object
prepared: (r... |
[
{
"context": ".exports = class Config\n @defaults:\n author: \"Full Name\"\n authorUrl: \"https://twitter.com/fullname\"\n ",
"end": 92,
"score": 0.9993403553962708,
"start": 83,
"tag": "NAME",
"value": "Full Name"
},
{
"context": ": \"Full Name\"\n authorUrl: \"https://tw... | lib/config.coffee | testdouble/grunt-markdown-blog | 12 | _ = require('underscore')
module.exports = class Config
@defaults:
author: "Full Name"
authorUrl: "https://twitter.com/fullname"
title: "my blog"
description: "the blog where I write things"
url: "https://www.myblog.com"
# disqus: "agile" #<-- define a disqus name for use in your templates
... | 147743 | _ = require('underscore')
module.exports = class Config
@defaults:
author: "<NAME>"
authorUrl: "https://twitter.com/fullname"
title: "my blog"
description: "the blog where I write things"
url: "https://www.myblog.com"
# disqus: "agile" #<-- define a disqus name for use in your templates
f... | true | _ = require('underscore')
module.exports = class Config
@defaults:
author: "PI:NAME:<NAME>END_PI"
authorUrl: "https://twitter.com/fullname"
title: "my blog"
description: "the blog where I write things"
url: "https://www.myblog.com"
# disqus: "agile" #<-- define a disqus name for use in your t... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.999852180480957,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail... | library/nucleus/restful.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 83330 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "ar = (car)->\n\t\tcar.removeChildren()\n\t\tcar.name = 'car'\n\n\t\tradius = size.radius * size.scale\n\t\theight = ",
"end": 18321,
"score": 0.9639662504196167,
"start": 18318,
"tag": "NAME",
"value": "car"
}
] | main.coffee | arthursw/paper-toy | 0 | $(document).ready( ->
canvas = document.getElementById('paperCanvas')
paperWidth = 21
paperHeight = 29.7
paperRatio = paperWidth / paperHeight
paperScale = 50
canvas.width = paperWidth * paperScale
canvas.height = paperHeight * paperScale
console.log canvas.height
paper.setup canvas
paper.install(window... | 184499 | $(document).ready( ->
canvas = document.getElementById('paperCanvas')
paperWidth = 21
paperHeight = 29.7
paperRatio = paperWidth / paperHeight
paperScale = 50
canvas.width = paperWidth * paperScale
canvas.height = paperHeight * paperScale
console.log canvas.height
paper.setup canvas
paper.install(window... | true | $(document).ready( ->
canvas = document.getElementById('paperCanvas')
paperWidth = 21
paperHeight = 29.7
paperRatio = paperWidth / paperHeight
paperScale = 50
canvas.width = paperWidth * paperScale
canvas.height = paperHeight * paperScale
console.log canvas.height
paper.setup canvas
paper.install(window... |
[
{
"context": "li').length).toEqual(0)\n\n view_name = 'Test View'\n tabView.add view: testView, name: vi",
"end": 957,
"score": 0.8874515891075134,
"start": 948,
"tag": "NAME",
"value": "Test View"
}
] | tests/spec/tab.coffee | praekelt/jmbo.js | 1 | describe "TabView", ->
#it
tabView = undefined
testView = undefined
beforeEach ->
tabView = new Jmbo.TabView
class TestView extends Backbone.View
render: =>
@$el.html 'Pew.Pew.Pew.'
return this
testView = new TestView()
... | 85720 | describe "TabView", ->
#it
tabView = undefined
testView = undefined
beforeEach ->
tabView = new Jmbo.TabView
class TestView extends Backbone.View
render: =>
@$el.html 'Pew.Pew.Pew.'
return this
testView = new TestView()
... | true | describe "TabView", ->
#it
tabView = undefined
testView = undefined
beforeEach ->
tabView = new Jmbo.TabView
class TestView extends Backbone.View
render: =>
@$el.html 'Pew.Pew.Pew.'
return this
testView = new TestView()
... |
[
{
"context": " chunk_y = Math.floor(y / 20)\n chunk_key = \"#{chunk_x}x#{chunk_y}\"\n road_chunk_data[chunk_key] = new Uint8Arr",
"end": 10938,
"score": 0.9735227823257446,
"start": 10915,
"tag": "KEY",
"value": "\"#{chunk_x}x#{chunk_y}\""
},
{
"context": " length: 120... | plugins/starpeace-client/api/sandbox/sandbox-data.coffee | starpeace-project/starpeace-client-website | 1 |
import moment from 'moment'
import _ from 'lodash'
import Utils from '~/plugins/starpeace-client/utils/utils.coffee'
import METADATA_BUILDING from '~/plugins/starpeace-client/api/sandbox/data/metadata-building.json'
import METADATA_CORE from '~/plugins/starpeace-client/api/sandbox/data/metadata-core.json'
import MET... | 181047 |
import moment from 'moment'
import _ from 'lodash'
import Utils from '~/plugins/starpeace-client/utils/utils.coffee'
import METADATA_BUILDING from '~/plugins/starpeace-client/api/sandbox/data/metadata-building.json'
import METADATA_CORE from '~/plugins/starpeace-client/api/sandbox/data/metadata-core.json'
import MET... | true |
import moment from 'moment'
import _ from 'lodash'
import Utils from '~/plugins/starpeace-client/utils/utils.coffee'
import METADATA_BUILDING from '~/plugins/starpeace-client/api/sandbox/data/metadata-building.json'
import METADATA_CORE from '~/plugins/starpeace-client/api/sandbox/data/metadata-core.json'
import MET... |
[
{
"context": "# GainText\n#\n# Martin Waitz <tali@admingilde.org>\n\nmona = require 'mona-parse",
"end": 27,
"score": 0.9998235106468201,
"start": 15,
"tag": "NAME",
"value": "Martin Waitz"
},
{
"context": "# GainText\n#\n# Martin Waitz <tali@admingilde.org>\n\nmona = require 'mona-p... | src/parserutils.coffee | gaintext/gaintext.js | 0 | # GainText
#
# Martin Waitz <tali@admingilde.org>
mona = require 'mona-parser'
exports.copy = copy = (obj) ->
newObj = new obj.constructor()
for k, v of obj
newObj[k] = v if obj.hasOwnProperty(k)
return newObj
# similar to mona.collect,
# but allow to customize the reduction of parser results
e... | 204383 | # GainText
#
# <NAME> <<EMAIL>>
mona = require 'mona-parser'
exports.copy = copy = (obj) ->
newObj = new obj.constructor()
for k, v of obj
newObj[k] = v if obj.hasOwnProperty(k)
return newObj
# similar to mona.collect,
# but allow to customize the reduction of parser results
exports.collect = c... | true | # GainText
#
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
mona = require 'mona-parser'
exports.copy = copy = (obj) ->
newObj = new obj.constructor()
for k, v of obj
newObj[k] = v if obj.hasOwnProperty(k)
return newObj
# similar to mona.collect,
# but allow to customize the reduction of parse... |
[
{
"context": "hInput: (data) ->\n that = @\n if not data[@name()]\n data[@name()] = {}\n\n form = @re",
"end": 1492,
"score": 0.8490206003189087,
"start": 1487,
"tag": "USERNAME",
"value": "@name"
},
{
"context": "####################\n getSearchFilter: (data... | src/webfrontend/CustomDataTypeIconclass.coffee | programmfabrik/easydb-custom-data-type-iconclass | 0 | class CustomDataTypeIconclass extends CustomDataTypeWithCommons
#######################################################################
# return name of plugin
getCustomDataTypeName: ->
"custom:base.custom-data-type-iconclass.iconclass"
#####################################################################... | 149824 | class CustomDataTypeIconclass extends CustomDataTypeWithCommons
#######################################################################
# return name of plugin
getCustomDataTypeName: ->
"custom:base.custom-data-type-iconclass.iconclass"
#####################################################################... | true | class CustomDataTypeIconclass extends CustomDataTypeWithCommons
#######################################################################
# return name of plugin
getCustomDataTypeName: ->
"custom:base.custom-data-type-iconclass.iconclass"
#####################################################################... |
[
{
"context": " name: \"Discover Teambition\",\n _creatorId: \"55c060be2944cfe95e75a088\",\n logo: \"http://project.ci/api/images/covers/",
"end": 219,
"score": 0.8772066831588745,
"start": 196,
"tag": "PASSWORD",
"value": "5c060be2944cfe95e75a088"
},
{
"context": " name: \"Di... | test/servers/teambition.coffee | jianliaoim/talk-services | 40 | _ = require 'lodash'
express = require 'express'
app = express()
projects =
"5632dc1a065565ad690266a0":
_id: "5632dc1a065565ad690266a0",
name: "Discover Teambition",
_creatorId: "55c060be2944cfe95e75a088",
logo: "http://project.ci/api/images/covers/cover-other.jpg",
py: "discoverteambition",
... | 17051 | _ = require 'lodash'
express = require 'express'
app = express()
projects =
"5632dc1a065565ad690266a0":
_id: "5632dc1a065565ad690266a0",
name: "Discover Teambition",
_creatorId: "5<PASSWORD>",
logo: "http://project.ci/api/images/covers/cover-other.jpg",
py: "discoverteambition",
pinyin: "dis... | true | _ = require 'lodash'
express = require 'express'
app = express()
projects =
"5632dc1a065565ad690266a0":
_id: "5632dc1a065565ad690266a0",
name: "Discover Teambition",
_creatorId: "5PI:PASSWORD:<PASSWORD>END_PI",
logo: "http://project.ci/api/images/covers/cover-other.jpg",
py: "discoverteambition"... |
[
{
"context": "pdateMessageRate', ->\n before ->\n @clientKey = uuid.v1()\n @client = redis.createClient @clientKey\n ",
"end": 224,
"score": 0.992217481136322,
"start": 217,
"tag": "KEY",
"value": "uuid.v1"
},
{
"context": " uuid: 'atomic-clams'\n as: '... | test/update-message-rate-spec.coffee | octoblu/meshblu-core-task-update-message-rate | 0 | _ = require 'lodash'
redis = require 'fakeredis'
uuid = require 'uuid'
UpdateMessageRate = require '../'
MeshbluCoreCache = require 'meshblu-core-cache'
describe 'UpdateMessageRate', ->
before ->
@clientKey = uuid.v1()
@client = redis.createClient @clientKey
cache = new MeshbluCoreCache client: redis.cr... | 115025 | _ = require 'lodash'
redis = require 'fakeredis'
uuid = require 'uuid'
UpdateMessageRate = require '../'
MeshbluCoreCache = require 'meshblu-core-cache'
describe 'UpdateMessageRate', ->
before ->
@clientKey = <KEY>()
@client = redis.createClient @clientKey
cache = new MeshbluCoreCache client: redis.crea... | true | _ = require 'lodash'
redis = require 'fakeredis'
uuid = require 'uuid'
UpdateMessageRate = require '../'
MeshbluCoreCache = require 'meshblu-core-cache'
describe 'UpdateMessageRate', ->
before ->
@clientKey = PI:KEY:<KEY>END_PI()
@client = redis.createClient @clientKey
cache = new MeshbluCoreCache clien... |
[
{
"context": "AWS_TAG'\n awsId: 'FAKE_AWS_ID'\n awsSecret: 'FAKE_AWS_SECRET'\n\n\ndescribe \"amazon-product-api\", ->\n\n describe ",
"end": 284,
"score": 0.857383668422699,
"start": 269,
"tag": "KEY",
"value": "FAKE_AWS_SECRET"
}
] | node_modules/amazon-product-api/test/amazonProductApiTest.coffee | pshowell/BoredBuddy | 3 | nock = require 'nock'
helper = require './support/testHelper'
amazonProductApi = require '../lib/index'
fixturePath = helper.fixturePath
createClient = () ->
client = amazonProductApi.createClient
awsTag: 'FAKE_AWS_TAG'
awsId: 'FAKE_AWS_ID'
awsSecret: 'FAKE_AWS_SECRET'
describe "amazon-product-api", -... | 89491 | nock = require 'nock'
helper = require './support/testHelper'
amazonProductApi = require '../lib/index'
fixturePath = helper.fixturePath
createClient = () ->
client = amazonProductApi.createClient
awsTag: 'FAKE_AWS_TAG'
awsId: 'FAKE_AWS_ID'
awsSecret: '<KEY>'
describe "amazon-product-api", ->
descr... | true | nock = require 'nock'
helper = require './support/testHelper'
amazonProductApi = require '../lib/index'
fixturePath = helper.fixturePath
createClient = () ->
client = amazonProductApi.createClient
awsTag: 'FAKE_AWS_TAG'
awsId: 'FAKE_AWS_ID'
awsSecret: 'PI:KEY:<KEY>END_PI'
describe "amazon-product-api"... |
[
{
"context": "xtends LayerInfo\n @shouldParse: (key) -> key is 'GdFl'\n\n parse: ->\n @file.seek 4, true # Skip sig\n ",
"end": 213,
"score": 0.9953751564025879,
"start": 209,
"tag": "KEY",
"value": "GdFl"
}
] | lib/psd/layer_info/gradient_fill.coffee | aleczratiu/psd.js | 0 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
Color = require '../color.coffee'
module.exports = class GradientFill extends LayerInfo
@shouldParse: (key) -> key is 'GdFl'
parse: ->
@file.seek 4, true # Skip sig
@data = new Descriptor(@file).parse()
colors: ->
... | 141435 | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
Color = require '../color.coffee'
module.exports = class GradientFill extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
parse: ->
@file.seek 4, true # Skip sig
@data = new Descriptor(@file).parse()
colors: ->... | true | LayerInfo = require '../layer_info.coffee'
Descriptor = require '../descriptor.coffee'
Color = require '../color.coffee'
module.exports = class GradientFill extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
parse: ->
@file.seek 4, true # Skip sig
@data = new Descriptor(@file).parse()
... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.999855637550354,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/tpl_action.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a table to the editable
# single action
# evaluate on focus: setup
#
((jQuery) ->
jQuery.widget 'IKS.halloplugin',
name: '... | 187529 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a table to the editable
# single action
# evaluate on focus: setup
#
((jQuery) ->
jQuery.widget 'IKS.halloplugin',
name: 'plugin'... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a table to the editable
# single action
# evaluate on focus: setup
#
((jQuery) ->
jQuery.widget 'IKS.halloplugin',
... |
[
{
"context": "ethods adapted from: [when.js](https://github.com/cujojs/when)\nCopyright (c) B Cavalier & J Hann\nOpen sour",
"end": 293,
"score": 0.8695321083068848,
"start": 287,
"tag": "USERNAME",
"value": "cujojs"
},
{
"context": ".js](https://github.com/cujojs/when)\nCopyright (c... | web/packages/deft/src/coffee/promise/Promise.coffee | ryancanulla/findMe | 0 | ###
Copyright (c) 2012-2013 [DeftJS Framework Contributors](http://deftjs.org)
Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License).
Promise.when(), all(), any(), some(), map(), reduce(), delay() and timeout()
methods adapted from: [when.js](https://github.com/cujojs/when)
Copyright (c) B Cava... | 122110 | ###
Copyright (c) 2012-2013 [DeftJS Framework Contributors](http://deftjs.org)
Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License).
Promise.when(), all(), any(), some(), map(), reduce(), delay() and timeout()
methods adapted from: [when.js](https://github.com/cujojs/when)
Copyright (c) <NAME>... | true | ###
Copyright (c) 2012-2013 [DeftJS Framework Contributors](http://deftjs.org)
Open source under the [MIT License](http://en.wikipedia.org/wiki/MIT_License).
Promise.when(), all(), any(), some(), map(), reduce(), delay() and timeout()
methods adapted from: [when.js](https://github.com/cujojs/when)
Copyright (c) PI:NAM... |
[
{
"context": "treamSize, @maxGraph, \".js-string-bar\",\n [\"Robert de Niro\", \"Gabriel Byrne\", \"Kevin Spacey\"])\n new Wat",
"end": 2055,
"score": 0.9998793601989746,
"start": 2041,
"tag": "NAME",
"value": "Robert de Niro"
},
{
"context": "ph, \".js-string-bar\",\n ... | Santa Maria/ui/coffee/time_benchmark_presenter.coffee | coshx/santa-maria | 1 | class TimeBenchmarkPresenter extends BasePresenter
class Watcher
constructor: (bus, streamSize, maxGraph, barSelector, dataRange = []) ->
@bus = bus
@streamSize = streamSize
@maxGraph = maxGraph
@watchers = []
@cursor = 0
@barSelector = barSelector
@dataRange = dataRange... | 8819 | class TimeBenchmarkPresenter extends BasePresenter
class Watcher
constructor: (bus, streamSize, maxGraph, barSelector, dataRange = []) ->
@bus = bus
@streamSize = streamSize
@maxGraph = maxGraph
@watchers = []
@cursor = 0
@barSelector = barSelector
@dataRange = dataRange... | true | class TimeBenchmarkPresenter extends BasePresenter
class Watcher
constructor: (bus, streamSize, maxGraph, barSelector, dataRange = []) ->
@bus = bus
@streamSize = streamSize
@maxGraph = maxGraph
@watchers = []
@cursor = 0
@barSelector = barSelector
@dataRange = dataRange... |
[
{
"context": "Database and Collection.\n post = new Post text: 'Protoss Cruiser approaching Tarsonis!'\n drafts.save post\n a",
"end": 2171,
"score": 0.7466471195220947,
"start": 2160,
"tag": "NAME",
"value": "Protoss Cru"
},
{
"context": "post = new Post text: 'Protoss Cruiser ap... | examples/database.coffee | wanbok/mongo-model | 1 | # Configuring and using multiple Collections and Databases with [Model](model.html).
#
# *This is advanced topic, You can safely ignore it if You don't need such things.*
#
# By default Models use the `default` Database Alias (Alias, not the actual Database name!),
# but You can use multiple Databases and save any Mode... | 19628 | # Configuring and using multiple Collections and Databases with [Model](model.html).
#
# *This is advanced topic, You can safely ignore it if You don't need such things.*
#
# By default Models use the `default` Database Alias (Alias, not the actual Database name!),
# but You can use multiple Databases and save any Mode... | true | # Configuring and using multiple Collections and Databases with [Model](model.html).
#
# *This is advanced topic, You can safely ignore it if You don't need such things.*
#
# By default Models use the `default` Database Alias (Alias, not the actual Database name!),
# but You can use multiple Databases and save any Mode... |
[
{
"context": " 'PASSWORD': 'Hasło'\n 'REPEAT_PASSWORD': ",
"end": 2766,
"score": 0.9987500905990601,
"start": 2761,
"tag": "PASSWORD",
"value": "Hasło"
},
{
"context": " 'REPEAT_PASSWORD': 'P... | frontend/common/translations/pl-pl.coffee | Contactis/translation-manager | 0 | # Translation en-US
# =================
translationApp.config( [
'$translateProvider'
($translateProvider) ->
$translateProvider.translations('pl-pl', {
# ## Pluralizations
# **Pluralization** according to current language.
# More info on how to translate (what formats are available for current languag... | 100150 | # Translation en-US
# =================
translationApp.config( [
'$translateProvider'
($translateProvider) ->
$translateProvider.translations('pl-pl', {
# ## Pluralizations
# **Pluralization** according to current language.
# More info on how to translate (what formats are available for current languag... | true | # Translation en-US
# =================
translationApp.config( [
'$translateProvider'
($translateProvider) ->
$translateProvider.translations('pl-pl', {
# ## Pluralizations
# **Pluralization** according to current language.
# More info on how to translate (what formats are available for current languag... |
[
{
"context": " 'build'\n 'jasmine:socksToRtc'\n ]\n\n # TODO(yangoon): Figure out how to run our Selenium tests on Sau",
"end": 6062,
"score": 0.6765820980072021,
"start": 6056,
"tag": "NAME",
"value": "angoon"
},
{
"context": " move this to the test target.\n # TODO(... | Gruntfile.coffee | qunwang6/uproxy-networking | 1 | TaskManager = require './node_modules/uproxy-build-tools/build/taskmanager/taskmanager'
module.exports = (grunt) ->
path = require('path');
grunt.initConfig {
pkg: grunt.file.readJSON('package.json')
copy: {
freedomChrome: { files: [ {
expand: true, cwd: 'node_modules/freedom-for-chrome/'
... | 115005 | TaskManager = require './node_modules/uproxy-build-tools/build/taskmanager/taskmanager'
module.exports = (grunt) ->
path = require('path');
grunt.initConfig {
pkg: grunt.file.readJSON('package.json')
copy: {
freedomChrome: { files: [ {
expand: true, cwd: 'node_modules/freedom-for-chrome/'
... | true | TaskManager = require './node_modules/uproxy-build-tools/build/taskmanager/taskmanager'
module.exports = (grunt) ->
path = require('path');
grunt.initConfig {
pkg: grunt.file.readJSON('package.json')
copy: {
freedomChrome: { files: [ {
expand: true, cwd: 'node_modules/freedom-for-chrome/'
... |
[
{
"context": "for whereabouts bot to connect to'\n default: '127.0.0.1'\n required: no\n\n# Just getting help?\nif argv.h",
"end": 1514,
"score": 0.9997739791870117,
"start": 1505,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ed as an environment variable\"\n ... | src/config/index.coffee | alexcu-/whereabouts-bot | 0 | pad = require 'pad'
argv = require('yargs').argv
# Required config
config =
botToken: null
serverPort: null
expireTime: null
authToken: null
listensTo: null
expectedConfig =
botToken:
argv: 'slack-token'
env: 'WHEREABOUTS_BOT_SLACK_TOKEN'
describe: 'Token that allows your bot to ... | 171703 | pad = require 'pad'
argv = require('yargs').argv
# Required config
config =
botToken: null
serverPort: null
expireTime: null
authToken: null
listensTo: null
expectedConfig =
botToken:
argv: 'slack-token'
env: 'WHEREABOUTS_BOT_SLACK_TOKEN'
describe: 'Token that allows your bot to ... | true | pad = require 'pad'
argv = require('yargs').argv
# Required config
config =
botToken: null
serverPort: null
expireTime: null
authToken: null
listensTo: null
expectedConfig =
botToken:
argv: 'slack-token'
env: 'WHEREABOUTS_BOT_SLACK_TOKEN'
describe: 'Token that allows your bot to ... |
[
{
"context": "l deny ocramius\n# hubot acl list\n#\n# Author:\n# Matthew Weier O'Phinney\n\nZfAcl = require \"../lib/zf-acl\"\n\nmodule.exports ",
"end": 936,
"score": 0.9875516891479492,
"start": 913,
"tag": "NAME",
"value": "Matthew Weier O'Phinney"
}
] | scripts/zf-acls.coffee | inovadeveloper/zfbot | 11 | # Description:
# Zend Framework SlackBot ACLs: add and remove users from ACL whitelist,
# allowing them to perform other bot actions. Listen to events with the
# listener metadata `id: "authorize"`, and test the user against the stored
# ACLs to determine if the action may continue.
#
# Commands:
# hubot acl ... | 100066 | # Description:
# Zend Framework SlackBot ACLs: add and remove users from ACL whitelist,
# allowing them to perform other bot actions. Listen to events with the
# listener metadata `id: "authorize"`, and test the user against the stored
# ACLs to determine if the action may continue.
#
# Commands:
# hubot acl ... | true | # Description:
# Zend Framework SlackBot ACLs: add and remove users from ACL whitelist,
# allowing them to perform other bot actions. Listen to events with the
# listener metadata `id: "authorize"`, and test the user against the stored
# ACLs to determine if the action may continue.
#
# Commands:
# hubot acl ... |
[
{
"context": ">\n @properties =\n url: url\n username: username\n password: password\n cookieDir: '/tmp'\n",
"end": 128,
"score": 0.9992828369140625,
"start": 120,
"tag": "USERNAME",
"value": "username"
},
{
"context": " url: url\n username: username\n ... | example/lib/coprhd.coffee | victorock/hubot-coprhd | 0 | # Data Model
class CoprHD
constructor: (url, username, password) ->
@properties =
url: url
username: username
password: password
cookieDir: '/tmp'
cookieFile: 'cookie-root@provider'
this
url: (newVal) ->
@properties.url = newVal
this
username: (newVal) ->
@prop... | 211152 | # Data Model
class CoprHD
constructor: (url, username, password) ->
@properties =
url: url
username: username
password: <PASSWORD>
cookieDir: '/tmp'
cookieFile: 'cookie-root@provider'
this
url: (newVal) ->
@properties.url = newVal
this
username: (newVal) ->
@pr... | true | # Data Model
class CoprHD
constructor: (url, username, password) ->
@properties =
url: url
username: username
password: PI:PASSWORD:<PASSWORD>END_PI
cookieDir: '/tmp'
cookieFile: 'cookie-root@provider'
this
url: (newVal) ->
@properties.url = newVal
this
username: (... |
[
{
"context": "or', ->\n beforeEach ->\n @forwardedFor = ['Fred', 'Barney']\n @sut = updateIfAuthorized\n ",
"end": 3636,
"score": 0.9997204542160034,
"start": 3632,
"tag": "NAME",
"value": "Fred"
},
{
"context": " beforeEach ->\n @forwardedFor = ['Fred', 'Bar... | test/lib/updateIfAuthorized-spec.coffee | CESARBR/knot-cloud-source | 4 | updateIfAuthorized = require '../../lib/updateIfAuthorized'
_ = require 'lodash'
describe 'updateIfAuthorized', ->
describe 'when called with a device', ->
beforeEach ->
@sut = updateIfAuthorized
@toDevice = {uuid: 'to-device', configureWhitelist: ['from-device']}
@canConfigure = sinon.stu... | 223874 | updateIfAuthorized = require '../../lib/updateIfAuthorized'
_ = require 'lodash'
describe 'updateIfAuthorized', ->
describe 'when called with a device', ->
beforeEach ->
@sut = updateIfAuthorized
@toDevice = {uuid: 'to-device', configureWhitelist: ['from-device']}
@canConfigure = sinon.stu... | true | updateIfAuthorized = require '../../lib/updateIfAuthorized'
_ = require 'lodash'
describe 'updateIfAuthorized', ->
describe 'when called with a device', ->
beforeEach ->
@sut = updateIfAuthorized
@toDevice = {uuid: 'to-device', configureWhitelist: ['from-device']}
@canConfigure = sinon.stu... |
[
{
"context": " \"/v#{client.version}/users/login\",\n email: \"test@test.com\",\n password: \"testing\"\n .reply 200,\n ",
"end": 299,
"score": 0.9999286532402039,
"start": 286,
"tag": "EMAIL",
"value": "test@test.com"
},
{
"context": "\",\n email: \"test@test.c... | API/node_modules/routific/test/loginTest.coffee | neofelle/instacraft_jeff | 9 | chai = require 'chai'
nock = require 'nock'
expect = chai.expect
Routific = require "../index"
describe 'login', ->
it 'sends the request to the login endpoint', (done) ->
client = new Routific.Client()
nock(client.url).post "/v#{client.version}/users/login",
email: "test@test.com",
password: "t... | 152586 | chai = require 'chai'
nock = require 'nock'
expect = chai.expect
Routific = require "../index"
describe 'login', ->
it 'sends the request to the login endpoint', (done) ->
client = new Routific.Client()
nock(client.url).post "/v#{client.version}/users/login",
email: "<EMAIL>",
password: "<PASSWO... | true | chai = require 'chai'
nock = require 'nock'
expect = chai.expect
Routific = require "../index"
describe 'login', ->
it 'sends the request to the login endpoint', (done) ->
client = new Routific.Client()
nock(client.url).post "/v#{client.version}/users/login",
email: "PI:EMAIL:<EMAIL>END_PI",
pas... |
[
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @link https://gi",
"end": 27,
"score": 0.9998713731765747,
"start": 15,
"tag": "NAME",
"value": "Argi Karunia"
},
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @link https://gi... | src/config.coffee | tokopedia/nodame | 2 | ###
# @author Argi Karunia <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 2.0.0
###
path = require('./path')
Parser = require('./parser')
YAMLParser = require('js-yaml')
fs = require('fs')
class Config
_keys : ['modul... | 198459 | ###
# @author <NAME> <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 2.0.0
###
path = require('./path')
Parser = require('./parser')
YAMLParser = require('js-yaml')
fs = require('fs')
class Config
_keys : ['<KEY>', <KE... | true | ###
# @author PI:NAME:<NAME>END_PI <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 2.0.0
###
path = require('./path')
Parser = require('./parser')
YAMLParser = require('js-yaml')
fs = require('fs')
class Config
_keys :... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9978712201118469,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-zlib-convenience-methods.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... | 277 | # 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": "mation:google.maps.Animation.BOUNCE\n\t\t@iconKey = 'icon'\n\t\t@coordsKey = 'coords'\n\t\t@optionsKey = 'options",
"end": 235,
"score": 0.9939145445823669,
"start": 231,
"tag": "KEY",
"value": "icon"
},
{
"context": "mation.BOUNCE\n\t\t@iconKey = 'icon'\n\t\t@coordsKey... | www/lib/js/angular-google-maps/spec/coffee/directives/api/models/child/marker-child-model.spec.coffee | neilff/liqbo-cordova | 1 | describe "MarkerChildModel", ->
beforeEach( ->
#comparison variables
@index = 0
@model =
icon:'icon.png'
coords:
latitude:90
longitude:90
options:
animation:google.maps.Animation.BOUNCE
@iconKey = 'icon'
@coordsKey = 'coords'
@optionsKey = 'options'
#define / inject values into t... | 191843 | describe "MarkerChildModel", ->
beforeEach( ->
#comparison variables
@index = 0
@model =
icon:'icon.png'
coords:
latitude:90
longitude:90
options:
animation:google.maps.Animation.BOUNCE
@iconKey = '<KEY>'
@coordsKey = '<KEY>'
@optionsKey = '<KEY>'
#define / inject values into the... | true | describe "MarkerChildModel", ->
beforeEach( ->
#comparison variables
@index = 0
@model =
icon:'icon.png'
coords:
latitude:90
longitude:90
options:
animation:google.maps.Animation.BOUNCE
@iconKey = 'PI:KEY:<KEY>END_PI'
@coordsKey = 'PI:KEY:<KEY>END_PI'
@optionsKey = 'PI:KEY:<KEY>END_... |
[
{
"context": "rtículo'\n SIGNUP: 'Registrate'\n ITEM_NAME: 'Nombre'\n ITEM_REQUIRED: 'Requerido !'\n ITEM_SKU: '",
"end": 727,
"score": 0.684402346611023,
"start": 721,
"tag": "NAME",
"value": "Nombre"
}
] | app/assets/javascripts/translate.coffee | hectorgool/gosantix | 0 |
'use strict'
dependencies = [
'pascalprecht.translate'
]
app = angular.module('translate', dependencies)
app.config ($translateProvider) ->
$translateProvider.translations 'en',
ITEM_CREATE: 'Create Item'
SIGNUP: 'SignUp'
ITEM_NAME: 'Name'
ITEM_REQUIRED:'Required !'
ITEM_SKU: 'Sku'
ITE... | 58068 |
'use strict'
dependencies = [
'pascalprecht.translate'
]
app = angular.module('translate', dependencies)
app.config ($translateProvider) ->
$translateProvider.translations 'en',
ITEM_CREATE: 'Create Item'
SIGNUP: 'SignUp'
ITEM_NAME: 'Name'
ITEM_REQUIRED:'Required !'
ITEM_SKU: 'Sku'
ITE... | true |
'use strict'
dependencies = [
'pascalprecht.translate'
]
app = angular.module('translate', dependencies)
app.config ($translateProvider) ->
$translateProvider.translations 'en',
ITEM_CREATE: 'Create Item'
SIGNUP: 'SignUp'
ITEM_NAME: 'Name'
ITEM_REQUIRED:'Required !'
ITEM_SKU: 'Sku'
ITE... |
[
{
"context": "ents module', ->\n\n hubot = (message, userName = 'momo', tempo = 40) ->\n beforeEach (done) ->\n r",
"end": 553,
"score": 0.9994348287582397,
"start": 549,
"tag": "USERNAME",
"value": "momo"
},
{
"context": "0) ->\n beforeEach (done) ->\n room.user.say... | test/cron_events_test.coffee | Gandi/hubot-cron-events | 3 | require('source-map-support').install {
handleUncaughtExceptions: false,
environment: 'node'
}
require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/cron_events.coffee')
path = require 'path'
sinon = require 'si... | 165033 | require('source-map-support').install {
handleUncaughtExceptions: false,
environment: 'node'
}
require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/cron_events.coffee')
path = require 'path'
sinon = require 'si... | true | require('source-map-support').install {
handleUncaughtExceptions: false,
environment: 'node'
}
require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/cron_events.coffee')
path = require 'path'
sinon = require 'si... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7829870581626892,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/jv/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/jv_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 147208 | bcv_parser = require("../../js/jv_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/jv_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "de: atom.inDevMode()\n\n username: null\n password: null\n\n rootPath: null\n\n isSvnRepository: false\n bin",
"end": 989,
"score": 0.9987900853157043,
"start": 985,
"tag": "PASSWORD",
"value": "null"
}
] | lib/svn-utils.coffee | reubensammut/atom-svn | 43 | fs = require 'fs'
pathlib = require 'path'
util = require 'util'
urlParser = require 'url'
$ = require 'jquery'
{spawnSync} = require 'child_process'
diffLib = require 'jsdifflib'
###
Section: Constants used for file/buffer checking against changes
###
statusIndexNew = 1 << 0
statusIndexDeleted = 1 << 2
statusWorking... | 126332 | fs = require 'fs'
pathlib = require 'path'
util = require 'util'
urlParser = require 'url'
$ = require 'jquery'
{spawnSync} = require 'child_process'
diffLib = require 'jsdifflib'
###
Section: Constants used for file/buffer checking against changes
###
statusIndexNew = 1 << 0
statusIndexDeleted = 1 << 2
statusWorking... | true | fs = require 'fs'
pathlib = require 'path'
util = require 'util'
urlParser = require 'url'
$ = require 'jquery'
{spawnSync} = require 'child_process'
diffLib = require 'jsdifflib'
###
Section: Constants used for file/buffer checking against changes
###
statusIndexNew = 1 << 0
statusIndexDeleted = 1 << 2
statusWorking... |
[
{
"context": "8258\"; _ga=GA1.2.1259268483.1422584998; dt=1; ue=\"semicircle21@gmail.com\"; ct=y; ap=1; dbcl2=\"3985660:ccR6ic4PS78\"; ck=\"_K",
"end": 1221,
"score": 0.9999212622642517,
"start": 1199,
"tag": "EMAIL",
"value": "semicircle21@gmail.com"
},
{
"context": ">\n console.... | UserParser.coffee | semicircle/DoubanReader | 0 | request = require('superagent')
require('./promisifySuperAgent')(request)
cheerio = require('cheerio')
util = require('util')
delay = (ms) ->
defered = Promise.pending();
setTimeout ( ()->
defered.fulfill()
), ms
defered.promise
class UserParser
constructor: (@bookname) ->
@state = 'collections'
... | 193365 | request = require('superagent')
require('./promisifySuperAgent')(request)
cheerio = require('cheerio')
util = require('util')
delay = (ms) ->
defered = Promise.pending();
setTimeout ( ()->
defered.fulfill()
), ms
defered.promise
class UserParser
constructor: (@bookname) ->
@state = 'collections'
... | true | request = require('superagent')
require('./promisifySuperAgent')(request)
cheerio = require('cheerio')
util = require('util')
delay = (ms) ->
defered = Promise.pending();
setTimeout ( ()->
defered.fulfill()
), ms
defered.promise
class UserParser
constructor: (@bookname) ->
@state = 'collections'
... |
[
{
"context": "{\n name: 'BigJourneyman'\n requires: ['Journeyman']\n gainPriority: (stat",
"end": 24,
"score": 0.9967644214630127,
"start": 11,
"tag": "NAME",
"value": "BigJourneyman"
}
] | strategies/BigJourneyman.coffee | rspeer/dominiate | 65 | {
name: 'BigJourneyman'
requires: ['Journeyman']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6 \
or state.countInSupply("Province") <= 6
"Duchy" if 0 < state.gainsToEndGame() <= 5
"Estate" if 0 < state... | 57314 | {
name: '<NAME>'
requires: ['Journeyman']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6 \
or state.countInSupply("Province") <= 6
"Duchy" if 0 < state.gainsToEndGame() <= 5
"Estate" if 0 < state.gainsT... | true | {
name: 'PI:NAME:<NAME>END_PI'
requires: ['Journeyman']
gainPriority: (state, my) -> [
"Colony" if my.countInDeck("Platinum") > 0
"Province" if state.countInSupply("Colony") <= 6 \
or state.countInSupply("Province") <= 6
"Duchy" if 0 < state.gainsToEndGame() <= 5
"Estate" if 0 ... |
[
{
"context": "lOpacity: 0.5\n\n series: [\n name: \"Dwell Time\"\n data: values\n ]\n )\n\n action",
"end": 2296,
"score": 0.9792823791503906,
"start": 2286,
"tag": "NAME",
"value": "Dwell Time"
}
] | vendor/gems/beacon_control-analytics_extension/app/assets/javascripts/charts/get_data.js.coffee | ijrad/BeaconControl | 86 | ###
Copyright (c) 2015, Upnext Technologies Sp. z o.o.
All rights reserved.
This source code is licensed under the BSD 3-Clause License found in the
LICENSE.txt file in the root directory of this source tree.
###
window.analyticsData = {
applicationId: ->
$('.analytics').attr('data-application-id')
dwel... | 89887 | ###
Copyright (c) 2015, Upnext Technologies Sp. z o.o.
All rights reserved.
This source code is licensed under the BSD 3-Clause License found in the
LICENSE.txt file in the root directory of this source tree.
###
window.analyticsData = {
applicationId: ->
$('.analytics').attr('data-application-id')
dwel... | true | ###
Copyright (c) 2015, Upnext Technologies Sp. z o.o.
All rights reserved.
This source code is licensed under the BSD 3-Clause License found in the
LICENSE.txt file in the root directory of this source tree.
###
window.analyticsData = {
applicationId: ->
$('.analytics').attr('data-application-id')
dwel... |
[
{
"context": " (Done)'\n\nsetContext = (res, context) ->\n key = 'context_' + res.envelope.room + '_' + res.envelope.user.id\n",
"end": 2281,
"score": 0.8769575357437134,
"start": 2272,
"tag": "KEY",
"value": "context_'"
},
{
"context": "ntext) ->\n key = 'context_' + res.envelope.... | scripts/bot/classifier.coffee | banticscoop/hubot-natural | 147 | require 'coffeescript/register'
natural = require 'natural'
classifier = {}
lang = (process.env.HUBOT_LANG || 'en')
PorterStemmer = natural.PorterStemmer
if lang != 'en'
lang_captilize = lang.charAt(0).toUpperCase() + lang.slice(1)
PorterStemmer = natural['PorterStemmer' + lang_captilize]
actionHandler = requi... | 201430 | require 'coffeescript/register'
natural = require 'natural'
classifier = {}
lang = (process.env.HUBOT_LANG || 'en')
PorterStemmer = natural.PorterStemmer
if lang != 'en'
lang_captilize = lang.charAt(0).toUpperCase() + lang.slice(1)
PorterStemmer = natural['PorterStemmer' + lang_captilize]
actionHandler = requi... | true | require 'coffeescript/register'
natural = require 'natural'
classifier = {}
lang = (process.env.HUBOT_LANG || 'en')
PorterStemmer = natural.PorterStemmer
if lang != 'en'
lang_captilize = lang.charAt(0).toUpperCase() + lang.slice(1)
PorterStemmer = natural['PorterStemmer' + lang_captilize]
actionHandler = requi... |
[
{
"context": " continue if (splitLine.length != 3)\n key = @normalizeKey(splitLine[1])\n vimiumCommand = splitLin",
"end": 2471,
"score": 0.7717838287353516,
"start": 2461,
"tag": "KEY",
"value": "@normalize"
},
{
"context": "continue if (splitLine.length != 2)\n\n ... | background_scripts/commands.coffee | mutoo/vimium | 1 | Commands =
init: ->
for command, description of commandDescriptions
@addCommand(command, description[0], description[1])
availableCommands: {}
keyToCommandRegistry: {}
# Registers a command, making it available to be optionally bound to a key.
# options:
# - background: whether this command nee... | 6440 | Commands =
init: ->
for command, description of commandDescriptions
@addCommand(command, description[0], description[1])
availableCommands: {}
keyToCommandRegistry: {}
# Registers a command, making it available to be optionally bound to a key.
# options:
# - background: whether this command nee... | true | Commands =
init: ->
for command, description of commandDescriptions
@addCommand(command, description[0], description[1])
availableCommands: {}
keyToCommandRegistry: {}
# Registers a command, making it available to be optionally bound to a key.
# options:
# - background: whether this command nee... |
[
{
"context": "------------------------------------------------\n# Chris Okasaki's skew binary random access list, a functional da",
"end": 86,
"score": 0.9922380447387695,
"start": 73,
"tag": "NAME",
"value": "Chris Okasaki"
},
{
"context": "r random access operations.\n#\n# Copyrigh... | examples/random_access_list.coffee | odf/pazy.js | 0 | # --------------------------------------------------------------------
# Chris Okasaki's skew binary random access list, a functional data
# structure with worst case persistent execution time of O(1) for
# operations on the head and O(log n) for random access operations.
#
# Copyright (c) 2011 Olaf Delgado-Friedrichs ... | 76494 | # --------------------------------------------------------------------
# <NAME>'s skew binary random access list, a functional data
# structure with worst case persistent execution time of O(1) for
# operations on the head and O(log n) for random access operations.
#
# Copyright (c) 2011 <NAME> (<EMAIL>)
# ------------... | true | # --------------------------------------------------------------------
# PI:NAME:<NAME>END_PI's skew binary random access list, a functional data
# structure with worst case persistent execution time of O(1) for
# operations on the head and O(log n) for random access operations.
#
# Copyright (c) 2011 PI:NAME:<NAME>END... |
[
{
"context": "rder: 'myOrder'\n filters:\n key1: 'value1'\n key2: 'value2'\n page: 1\n ",
"end": 7012,
"score": 0.7474998235702515,
"start": 7006,
"tag": "KEY",
"value": "value1"
},
{
"context": "ilters:\n key1: 'value1'\n key2:... | spec/loaders/abstract-loader-shared-behavior.coffee | CodingZeal/brainstem-js | 0 | registerSharedBehavior "AbstractLoaderSharedBehavior", (sharedContext) ->
loader = loaderClass = null
beforeEach ->
loaderClass = sharedContext.loaderClass
fakeNestedInclude = ['parent', { project: ['participants'] }, { assignees: ['something_else'] }]
defaultLoadOptions = ->
name: 'tasks'
createL... | 129967 | registerSharedBehavior "AbstractLoaderSharedBehavior", (sharedContext) ->
loader = loaderClass = null
beforeEach ->
loaderClass = sharedContext.loaderClass
fakeNestedInclude = ['parent', { project: ['participants'] }, { assignees: ['something_else'] }]
defaultLoadOptions = ->
name: 'tasks'
createL... | true | registerSharedBehavior "AbstractLoaderSharedBehavior", (sharedContext) ->
loader = loaderClass = null
beforeEach ->
loaderClass = sharedContext.loaderClass
fakeNestedInclude = ['parent', { project: ['participants'] }, { assignees: ['something_else'] }]
defaultLoadOptions = ->
name: 'tasks'
createL... |
[
{
"context": "atform specific React Native components.\n# @author Tom Hastjarjanto\n###\n\n'use strict'\n\nmodule.exports = (context) ->\n",
"end": 137,
"score": 0.999902069568634,
"start": 121,
"tag": "NAME",
"value": "Tom Hastjarjanto"
}
] | src/rules/split-platform-components.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Android and IOS components should be
# used in platform specific React Native components.
# @author Tom Hastjarjanto
###
'use strict'
module.exports = (context) ->
reactComponents = []
androidMessage = 'Android components should be placed in android files'
iosMessage = 'IOS components shoul... | 175046 | ###*
# @fileoverview Android and IOS components should be
# used in platform specific React Native components.
# @author <NAME>
###
'use strict'
module.exports = (context) ->
reactComponents = []
androidMessage = 'Android components should be placed in android files'
iosMessage = 'IOS components should be place... | true | ###*
# @fileoverview Android and IOS components should be
# used in platform specific React Native components.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
module.exports = (context) ->
reactComponents = []
androidMessage = 'Android components should be placed in android files'
iosMessage = 'IOS components s... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9985493421554565,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/clientFilePage/index.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# UI logic for the client file window.
#
# Most of the state for this page is held in a `clientFile` object. Various
#... | 196566 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# UI logic for the client file window.
#
# Most of the state for this page is held in a `clientFile` object. Various
#... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# UI logic for the client file window.
#
# Most of the state for this page is held in a `clientFile` obje... |
[
{
"context": "RL: 'localhost:4157/test-api'\n\n accessToken = 'test'\n\n return new PushManager(lbPromised, accessTo",
"end": 239,
"score": 0.9695034027099609,
"start": 235,
"tag": "KEY",
"value": "test"
},
{
"context": "formation', (done) ->\n\n deviceToken = 'abc'\... | spec/push-manager.coffee | CureApp/loopback-promised | 10 |
PushManager = require '../src/push-manager'
LoopbackPromised = require '../src/loopback-promised'
createPushManager = ->
lbPromised = LoopbackPromised.createInstance
baseURL: 'localhost:4157/test-api'
accessToken = 'test'
return new PushManager(lbPromised, accessToken, true)
before (done) ->
... | 152854 |
PushManager = require '../src/push-manager'
LoopbackPromised = require '../src/loopback-promised'
createPushManager = ->
lbPromised = LoopbackPromised.createInstance
baseURL: 'localhost:4157/test-api'
accessToken = '<KEY>'
return new PushManager(lbPromised, accessToken, true)
before (done) ->
... | true |
PushManager = require '../src/push-manager'
LoopbackPromised = require '../src/loopback-promised'
createPushManager = ->
lbPromised = LoopbackPromised.createInstance
baseURL: 'localhost:4157/test-api'
accessToken = 'PI:KEY:<KEY>END_PI'
return new PushManager(lbPromised, accessToken, true)
befor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.