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": " i: i\n j: j\n token: password[i..j]\n matched_word: word\n ",
"end": 3171,
"score": 0.8154035806655884,
"start": 3163,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "DICTIONARIES) ->\n reversed_password =... | src/matching.coffee | grazies/zxcvbn | 0 | frequency_lists = require('./frequency_lists')
adjacency_graphs = require('./adjacency_graphs')
scoring = require('./scoring')
build_ranked_dict = (ordered_list) ->
result = {}
i = 1 # rank starts at 1, not 0
for word in ordered_list
result[word] = i
i += 1
result
RANKED_DICTIONARIES = {}
for name, ls... | 208005 | frequency_lists = require('./frequency_lists')
adjacency_graphs = require('./adjacency_graphs')
scoring = require('./scoring')
build_ranked_dict = (ordered_list) ->
result = {}
i = 1 # rank starts at 1, not 0
for word in ordered_list
result[word] = i
i += 1
result
RANKED_DICTIONARIES = {}
for name, ls... | true | frequency_lists = require('./frequency_lists')
adjacency_graphs = require('./adjacency_graphs')
scoring = require('./scoring')
build_ranked_dict = (ordered_list) ->
result = {}
i = 1 # rank starts at 1, not 0
for word in ordered_list
result[word] = i
i += 1
result
RANKED_DICTIONARIES = {}
for name, ls... |
[
{
"context": "###\n# @author Will Steinmetz\n# Test suite for the notific8 JavaScript plug-in\n",
"end": 28,
"score": 0.9998399615287781,
"start": 14,
"tag": "NAME",
"value": "Will Steinmetz"
},
{
"context": "ific8 JavaScript plug-in\n# Copyright (c)2013-2016, Will Steinmetz\n# Licen... | spec/notific8-iconSpec.coffee | willsteinmetz/notific8-icon | 0 | ###
# @author Will Steinmetz
# Test suite for the notific8 JavaScript plug-in
# Copyright (c)2013-2016, Will Steinmetz
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
describe 'notific-icon module', ->
beforeEach ->
notific8 'remove'
it 'should add an icon to the notificati... | 161213 | ###
# @author <NAME>
# Test suite for the notific8 JavaScript plug-in
# Copyright (c)2013-2016, <NAME>
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
describe 'notific-icon module', ->
beforeEach ->
notific8 'remove'
it 'should add an icon to the notification', ->
noti... | true | ###
# @author PI:NAME:<NAME>END_PI
# Test suite for the notific8 JavaScript plug-in
# Copyright (c)2013-2016, PI:NAME:<NAME>END_PI
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
describe 'notific-icon module', ->
beforeEach ->
notific8 'remove'
it 'should add an icon to th... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999110102653503,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmap-discussions/beatmap-list-item.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { BeatmapIcon } from 'beatmap-icon'
import * as React from 'react'
import { div, i } from 'react-dom-factories'
el = React.createElement
... | 167677 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { BeatmapIcon } from 'beatmap-icon'
import * as React from 'react'
import { div, i } from 'react-dom-factories'
el = React.createElement
bn = 'b... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { BeatmapIcon } from 'beatmap-icon'
import * as React from 'react'
import { div, i } from 'react-dom-factories'
el = React.createE... |
[
{
"context": "password? or password is ''\n password = '123456'\n\n console.log 'before_create - password: ",
"end": 636,
"score": 0.999441385269165,
"start": 630,
"tag": "PASSWORD",
"value": "123456"
},
{
"context": "word? or password is ''\n password = ... | backend/api/user-plugin.coffee | chiehwen/ResShoPos | 1 | ### Updated 25/12/2013 ###
###
This docstring documents User-Plugin. It can include *Markdown* syntax,
which will be converted to html.
###
_ = require 'underscore'
async = require 'async'
{ hash } = require('../core/pass')
{ Utils } = require '../core/utils'
userPlugin = (appApi, User) ->
appApi.on 'before_creat... | 74884 | ### Updated 25/12/2013 ###
###
This docstring documents User-Plugin. It can include *Markdown* syntax,
which will be converted to html.
###
_ = require 'underscore'
async = require 'async'
{ hash } = require('../core/pass')
{ Utils } = require '../core/utils'
userPlugin = (appApi, User) ->
appApi.on 'before_creat... | true | ### Updated 25/12/2013 ###
###
This docstring documents User-Plugin. It can include *Markdown* syntax,
which will be converted to html.
###
_ = require 'underscore'
async = require 'async'
{ hash } = require('../core/pass')
{ Utils } = require '../core/utils'
userPlugin = (appApi, User) ->
appApi.on 'before_creat... |
[
{
"context": "of the named library if it exists.\n#\n# Author:\n# Bryce Verdier (btv)\n\nmodule.exports = (robot) ->\n robot.respon",
"end": 233,
"score": 0.9998884201049805,
"start": 220,
"tag": "NAME",
"value": "Bryce Verdier"
},
{
"context": "rary if it exists.\n#\n# Author:\n#... | src/scripts/python_library.coffee | contolini/hubot-scripts | 1,450 | # Description:
# Allows hubot to get the link to a Python 2 or 3 libaray.
#
# Dependencies:
# None
#
# Commands:
# hubot python(2|3) library <name> - Gets the url of the named library if it exists.
#
# Author:
# Bryce Verdier (btv)
module.exports = (robot) ->
robot.respond /python(2|3) library (.*)/i, (msg) ... | 90297 | # Description:
# Allows hubot to get the link to a Python 2 or 3 libaray.
#
# Dependencies:
# None
#
# Commands:
# hubot python(2|3) library <name> - Gets the url of the named library if it exists.
#
# Author:
# <NAME> (btv)
module.exports = (robot) ->
robot.respond /python(2|3) library (.*)/i, (msg) ->
... | true | # Description:
# Allows hubot to get the link to a Python 2 or 3 libaray.
#
# Dependencies:
# None
#
# Commands:
# hubot python(2|3) library <name> - Gets the url of the named library if it exists.
#
# Author:
# PI:NAME:<NAME>END_PI (btv)
module.exports = (robot) ->
robot.respond /python(2|3) library (.*)/i,... |
[
{
"context": " 'recoverPassword'\n '/recover-password/:id': 'recoverPassword_setPassword'\n '/activate/:id': 'account_activate'\n",
"end": 732,
"score": 0.8898747563362122,
"start": 705,
"tag": "PASSWORD",
"value": "recoverPassword_setPassword"
}
] | src/app/modules/user/ModuleRouter.coffee | josepramon/tfm-adminApp | 0 | Router = require 'msq-appbase/lib/appBaseComponents/Router'
###
User module router
====================
@class
@augments Router
###
module.exports = class ModuleRouter extends Router
###
@property {Object} Module routes
similar to Marionette's appRoutes
but automatical... | 96438 | Router = require 'msq-appbase/lib/appBaseComponents/Router'
###
User module router
====================
@class
@augments Router
###
module.exports = class ModuleRouter extends Router
###
@property {Object} Module routes
similar to Marionette's appRoutes
but automatical... | true | Router = require 'msq-appbase/lib/appBaseComponents/Router'
###
User module router
====================
@class
@augments Router
###
module.exports = class ModuleRouter extends Router
###
@property {Object} Module routes
similar to Marionette's appRoutes
but automatical... |
[
{
"context": "on/contents', true, (key, value)->\n if key == 'leisure/selection/contents'\n s = window.getSelection()\n if s.range",
"end": 2831,
"score": 0.9813424348831177,
"start": 2805,
"tag": "KEY",
"value": "leisure/selection/contents"
},
{
"context": "e/evalExpr',... | METEOR-OLD/client/27-notebook.coffee | zot/Leisure | 58 | ###
# WARNING
# WARNING THIS IS OLD CODE AND WILL SOON DISAPPEAR
# WARNING
#
# use an element as a Leisure notebook
# Only runs in the context of a browser
###
console.log "LOADING NOTEBOOK"
{
delay,
} = root = module.exports = require '10-namespace'
{
resolve,
lazy,
} = require '15-base'
rz = resolve
lz = laz... | 81977 | ###
# WARNING
# WARNING THIS IS OLD CODE AND WILL SOON DISAPPEAR
# WARNING
#
# use an element as a Leisure notebook
# Only runs in the context of a browser
###
console.log "LOADING NOTEBOOK"
{
delay,
} = root = module.exports = require '10-namespace'
{
resolve,
lazy,
} = require '15-base'
rz = resolve
lz = laz... | true | ###
# WARNING
# WARNING THIS IS OLD CODE AND WILL SOON DISAPPEAR
# WARNING
#
# use an element as a Leisure notebook
# Only runs in the context of a browser
###
console.log "LOADING NOTEBOOK"
{
delay,
} = root = module.exports = require '10-namespace'
{
resolve,
lazy,
} = require '15-base'
rz = resolve
lz = laz... |
[
{
"context": "nt: '-10.00'\n memo: 'Some memo'\n name: 'Some name'\n payee: 'Some payee'\n ref_number: 'Som",
"end": 205,
"score": 0.9579158425331116,
"start": 196,
"tag": "NAME",
"value": "Some name"
},
{
"context": "nsaction: sorted_transaction\n account_na... | spec/javascripts/dot_ledger/views/transactions/details_spec.js.coffee | malclocke/dotledger | 0 | describe "DotLedger.Views.Transactions.Details", ->
createModel = (sorted_transaction = null)->
new DotLedger.Models.Transaction
amount: '-10.00'
memo: 'Some memo'
name: 'Some name'
payee: 'Some payee'
ref_number: 'Some ref_number'
type: 'Some type'
fit_id: '1234567'
... | 164549 | describe "DotLedger.Views.Transactions.Details", ->
createModel = (sorted_transaction = null)->
new DotLedger.Models.Transaction
amount: '-10.00'
memo: 'Some memo'
name: '<NAME>'
payee: 'Some payee'
ref_number: 'Some ref_number'
type: 'Some type'
fit_id: '1234567'
... | true | describe "DotLedger.Views.Transactions.Details", ->
createModel = (sorted_transaction = null)->
new DotLedger.Models.Transaction
amount: '-10.00'
memo: 'Some memo'
name: 'PI:NAME:<NAME>END_PI'
payee: 'Some payee'
ref_number: 'Some ref_number'
type: 'Some type'
fit_id: '1... |
[
{
"context": "LimitChecker', ->\n beforeEach ->\n @clientKey = uuid.v1()\n @client = redis.createClient @clientKey\n s",
"end": 217,
"score": 0.9183686971664429,
"start": 208,
"tag": "KEY",
"value": "uuid.v1()"
}
] | test/rate-limit-checker-spec.coffee | octoblu/meshblu-core-rate-limit-checker | 0 | _ = require 'lodash'
redis = require 'fakeredis'
uuid = require 'uuid'
RateLimitChecker = require '../'
describe 'RateLimitChecker', ->
beforeEach ->
@clientKey = uuid.v1()
@client = redis.createClient @clientKey
startTime = Date.now()
FakeDate = now: -> return s... | 151093 | _ = require 'lodash'
redis = require 'fakeredis'
uuid = require 'uuid'
RateLimitChecker = require '../'
describe 'RateLimitChecker', ->
beforeEach ->
@clientKey = <KEY>
@client = redis.createClient @clientKey
startTime = Date.now()
FakeDate = now: -> return start... | true | _ = require 'lodash'
redis = require 'fakeredis'
uuid = require 'uuid'
RateLimitChecker = require '../'
describe 'RateLimitChecker', ->
beforeEach ->
@clientKey = PI:KEY:<KEY>END_PI
@client = redis.createClient @clientKey
startTime = Date.now()
FakeDate = now: ->... |
[
{
"context": "literals in a React component definition\n# @author Caleb morris\n# @author David Buchan-Swanson\n###\n'use strict'\n\n",
"end": 108,
"score": 0.9998378753662109,
"start": 96,
"tag": "NAME",
"value": "Caleb morris"
},
{
"context": "ponent definition\n# @author Caleb mor... | src/tests/rules/jsx-no-literals.coffee | danielbayley/eslint-plugin-coffee | 0 | ###*
# @fileoverview Prevent using unwrapped literals in a React component definition
# @author Caleb morris
# @author David Buchan-Swanson
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ----------------------------------------------------------------... | 138163 | ###*
# @fileoverview Prevent using unwrapped literals in a React component definition
# @author <NAME>
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule... | true | ###*
# @fileoverview Prevent using unwrapped literals in a React component definition
# @author PI:NAME:<NAME>END_PI
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# --------------------------------------------------------... |
[
{
"context": "ndard input button.'\n\n args =\n label:'My Button'\n cssClass: 'my-foo'\n\n @load '",
"end": 191,
"score": 0.933204174041748,
"start": 189,
"tag": "NAME",
"value": "My"
}
] | packages/ctrl-button-spec/ctrl-button-spec.coffee | dferber90/meteor-crux | 2 | describe 'Core', -> describe 'Ctrls', ->
describe 'Button', ->
after -> @reset()
before ->
@title true
@subtitle 'Standard input button.'
args =
label:'My Button'
cssClass: 'my-foo'
@load 'ctrl-button', args:args, =>
ctrl = @ctrl()
# Events.
... | 76053 | describe 'Core', -> describe 'Ctrls', ->
describe 'Button', ->
after -> @reset()
before ->
@title true
@subtitle 'Standard input button.'
args =
label:'<NAME> Button'
cssClass: 'my-foo'
@load 'ctrl-button', args:args, =>
ctrl = @ctrl()
# Events.
... | true | describe 'Core', -> describe 'Ctrls', ->
describe 'Button', ->
after -> @reset()
before ->
@title true
@subtitle 'Standard input button.'
args =
label:'PI:NAME:<NAME>END_PI Button'
cssClass: 'my-foo'
@load 'ctrl-button', args:args, =>
ctrl = @ctrl()
... |
[
{
"context": "er\", ->\n result = Table.column example, 1, ['eins', 'zwei', 'drei']\n expect(result).to.deep.eq",
"end": 6709,
"score": 0.9935579895973206,
"start": 6705,
"tag": "NAME",
"value": "eins"
},
{
"context": " result = Table.column example, 1, ['eins', 'zwei'... | test/mocha/access.coffee | alinex/node-table | 1 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
Table = require '../../src/index'
example = null
table = null
describe "Access", ->
beforeEach ->
example = [
['ID', 'Name']
[1, 'one']
[2, 'two']
[3, 'three']
]
table = new Table example
describe "fiel... | 41819 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
Table = require '../../src/index'
example = null
table = null
describe "Access", ->
beforeEach ->
example = [
['ID', 'Name']
[1, 'one']
[2, 'two']
[3, 'three']
]
table = new Table example
describe "fiel... | true | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
Table = require '../../src/index'
example = null
table = null
describe "Access", ->
beforeEach ->
example = [
['ID', 'Name']
[1, 'one']
[2, 'two']
[3, 'three']
]
table = new Table example
describe "fiel... |
[
{
"context": " backbone-http.js 0.5.5\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-http\n ",
"end": 102,
"score": 0.9998233318328857,
"start": 94,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/... | client/config_library_wrap.coffee | michaelBenin/backbone-http | 1 | module.exports =
license: """
/*
backbone-http.js 0.5.5
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, and Superagent... | 152844 | module.exports =
license: """
/*
backbone-http.js 0.5.5
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, and Superagent.
... | true | module.exports =
license: """
/*
backbone-http.js 0.5.5
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-http
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, Moment.js, Inflection.js, BackboneORM, an... |
[
{
"context": "LoginRateLimiter\", ->\n\n\tbeforeEach ->\n\t\t@email = \"bob@bob.com\"\n\t\t@RateLimiter =\n\t\t\tclearRateLimit: sinon.stub()",
"end": 302,
"score": 0.9999042749404907,
"start": 291,
"tag": "EMAIL",
"value": "bob@bob.com"
}
] | test/unit/coffee/Security/LoginRateLimiterTests.coffee | davidmehren/web-sharelatex | 1 | SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
require('chai').should()
expect = require('chai').expect
modulePath = require('path').join __dirname, '../../../../app/js/Features/Security/LoginRateLimiter'
describe "LoginRateLimiter", ->
beforeEach ->
@email = "bob@bob.com"
@RateLimiter =... | 132940 | SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
require('chai').should()
expect = require('chai').expect
modulePath = require('path').join __dirname, '../../../../app/js/Features/Security/LoginRateLimiter'
describe "LoginRateLimiter", ->
beforeEach ->
@email = "<EMAIL>"
@RateLimiter =
... | true | SandboxedModule = require('sandboxed-module')
sinon = require('sinon')
require('chai').should()
expect = require('chai').expect
modulePath = require('path').join __dirname, '../../../../app/js/Features/Security/LoginRateLimiter'
describe "LoginRateLimiter", ->
beforeEach ->
@email = "PI:EMAIL:<EMAIL>END_PI"
@Ra... |
[
{
"context": "emembered name\n#\n# Notes:\n# None\n#\n# Author:\n# Jack Miner <3ch01c@gmail.com>\n\nmodule.exports = (robot) ->\n ",
"end": 325,
"score": 0.9998304843902588,
"start": 315,
"tag": "NAME",
"value": "Jack Miner"
},
{
"context": "e\n#\n# Notes:\n# None\n#\n# Author:... | src/ingress-barcodes.coffee | 3ch01c/hubot-ingress-barcodes | 0 | # Description
# Decode names of players who exploit sans-serif to obfuscate their identities.
#
# Dependencies:
# factoids (optional for storing manual names)
#
# Configuration:
# None
#
# Commands:
# hubot bc <BARCODE> - translate BARCODE to more easily remembered name
#
# Notes:
# None
#
# Author:
# Jack ... | 186033 | # Description
# Decode names of players who exploit sans-serif to obfuscate their identities.
#
# Dependencies:
# factoids (optional for storing manual names)
#
# Configuration:
# None
#
# Commands:
# hubot bc <BARCODE> - translate BARCODE to more easily remembered name
#
# Notes:
# None
#
# Author:
# <NAME... | true | # Description
# Decode names of players who exploit sans-serif to obfuscate their identities.
#
# Dependencies:
# factoids (optional for storing manual names)
#
# Configuration:
# None
#
# Commands:
# hubot bc <BARCODE> - translate BARCODE to more easily remembered name
#
# Notes:
# None
#
# Author:
# PI:NA... |
[
{
"context": " #\n setupContainers: ->\n # Setup Tools\n #@networkVisualisation.tools.listOfTools.containers.splice(0,@networkVisualisation.tools.listOfTools.",
"end": 5583,
"score": 0.8201441764831543,
"start": 5534,
"tag": "EMAIL",
"value": "networkVisualisation.tools.listOfTools.c... | app/assets/javascripts/visualisation/App/curvature.js.coffee | CiscoSystems/curvature | 16 | # Curvature object, this is the main entry point for the program and
# contains all code related to specific GUI elements e.g. setting
# up network tabs
#
class App.Curvature
# @property [Object] The instance of network visualisation to display networks
networkVisualisation: Object
# @property [Object] The instan... | 132009 | # Curvature object, this is the main entry point for the program and
# contains all code related to specific GUI elements e.g. setting
# up network tabs
#
class App.Curvature
# @property [Object] The instance of network visualisation to display networks
networkVisualisation: Object
# @property [Object] The instan... | true | # Curvature object, this is the main entry point for the program and
# contains all code related to specific GUI elements e.g. setting
# up network tabs
#
class App.Curvature
# @property [Object] The instance of network visualisation to display networks
networkVisualisation: Object
# @property [Object] The instan... |
[
{
"context": "e if redirectURI != code.redirectUri\n token = utils.uid 256\n new Credentials token, code.userId,",
"end": 916,
"score": 0.5949780344963074,
"start": 911,
"tag": "KEY",
"value": "utils"
},
{
"context": "directURI != code.redirectUri\n token = utils.uid 2... | src/index.coffee | vancarney/rikki-tikki-oauth2 | 0 | passport = require 'passport'
oauth2orize = require 'oauth2orize'
# RikkiTikkiAPI = module.parent.exports.RikkiTikkiAPI
class OAuthModule
serialize: (client, done)->
done null, client.id
deserialize: (id, done)->
@api.getCollectionManager().getCollection 'Clients', (e,col)=>
col.findOne id, (e,... | 103337 | passport = require 'passport'
oauth2orize = require 'oauth2orize'
# RikkiTikkiAPI = module.parent.exports.RikkiTikkiAPI
class OAuthModule
serialize: (client, done)->
done null, client.id
deserialize: (id, done)->
@api.getCollectionManager().getCollection 'Clients', (e,col)=>
col.findOne id, (e,... | true | passport = require 'passport'
oauth2orize = require 'oauth2orize'
# RikkiTikkiAPI = module.parent.exports.RikkiTikkiAPI
class OAuthModule
serialize: (client, done)->
done null, client.id
deserialize: (id, done)->
@api.getCollectionManager().getCollection 'Clients', (e,col)=>
col.findOne id, (e,... |
[
{
"context": "il \"Final key is incorrect #{toIbh last}\" unless \"a8a6d3dbb021502f5b7d712de1c716c7d110c3f5118e0a434e6aec81d5cb3809\" is toIbh last\nconsole.log \"Final key obtained: \"",
"end": 1610,
"score": 0.9997342824935913,
"start": 1546,
"tag": "KEY",
"value": "a8a6d3dbb021502f5b7d712... | web-test/test-curve25519-quick.coffee | santosh653/jodid25519 | 25 | inBrowser = window?.document?
if inBrowser
env = window
echo = (x)->
element = window.document.createElement 'span'
element.innerHTML = x
window.document.body.appendChild(element)
fail = (reason = "")->
msg = "Failed! #{reason}"
msg = msg + " " + reason if reason?
echo msg
throw "Te... | 27124 | inBrowser = window?.document?
if inBrowser
env = window
echo = (x)->
element = window.document.createElement 'span'
element.innerHTML = x
window.document.body.appendChild(element)
fail = (reason = "")->
msg = "Failed! #{reason}"
msg = msg + " " + reason if reason?
echo msg
throw "Te... | true | inBrowser = window?.document?
if inBrowser
env = window
echo = (x)->
element = window.document.createElement 'span'
element.innerHTML = x
window.document.body.appendChild(element)
fail = (reason = "")->
msg = "Failed! #{reason}"
msg = msg + " " + reason if reason?
echo msg
throw "Te... |
[
{
"context": "urrentUser.id = user.id\n currentUser.name = user.name\n\n currentUser.authorized = authorized\n\n",
"end": 1088,
"score": 0.6010631322860718,
"start": 1084,
"tag": "NAME",
"value": "user"
}
] | app/assets/javascripts/services/sessionService.coffee | sectore/CafeTownsend-Angular-Rails | 70 | angular.module('cafeTownsend.services').factory('SessionService', [
'$log'
'$resource'
($log, $resource)->
service = $resource '/sessions/:param', {},
'login':
method: 'POST'
'logout':
method: 'DELETE'
# login
# ------------------------------------------------------------... | 75074 | angular.module('cafeTownsend.services').factory('SessionService', [
'$log'
'$resource'
($log, $resource)->
service = $resource '/sessions/:param', {},
'login':
method: 'POST'
'logout':
method: 'DELETE'
# login
# ------------------------------------------------------------... | true | angular.module('cafeTownsend.services').factory('SessionService', [
'$log'
'$resource'
($log, $resource)->
service = $resource '/sessions/:param', {},
'login':
method: 'POST'
'logout':
method: 'DELETE'
# login
# ------------------------------------------------------------... |
[
{
"context": " =\n email: user.email\n name: user.name\n\n $scope.saveDetails = ->\n ",
"end": 2450,
"score": 0.6770437359809875,
"start": 2446,
"tag": "NAME",
"value": "user"
}
] | site/modules/user/user.coffee | soulweaver91/gw2hub | 0 | verifyLoggedIn = [
'authService', '$q',
(authService, $q) ->
deferred = $q.defer()
authService.userAsync()
.then (user) ->
if !user?
deferred.reject()
else
deferred.resolve user
, (err) ->
deferred.reject err
... | 63559 | verifyLoggedIn = [
'authService', '$q',
(authService, $q) ->
deferred = $q.defer()
authService.userAsync()
.then (user) ->
if !user?
deferred.reject()
else
deferred.resolve user
, (err) ->
deferred.reject err
... | true | verifyLoggedIn = [
'authService', '$q',
(authService, $q) ->
deferred = $q.defer()
authService.userAsync()
.then (user) ->
if !user?
deferred.reject()
else
deferred.resolve user
, (err) ->
deferred.reject err
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9979498386383057,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stdout-to-file.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... | 120693 | # 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": "ams =\n \"site_id\": @site_id\n \"site_pass\": @site_pass\n \"shop_id\": @shop_id\n \"shop_pass\": @sho",
"end": 3050,
"score": 0.9749575257301331,
"start": 3040,
"tag": "PASSWORD",
"value": "@site_pass"
},
{
"context": "_pass\n \"shop_id\": @sh... | src/shop_and_site_api.coffee | harakachi/gmo-payment-node | 0 | utils = require "./utils"
gmo = require "./gmo_api"
# ShopAndSiteAPI
# -
# GMO moduleでは、API呼び出しにGMOから与えられたショップID、ショップパス、サイトID、サイトパスが必要になるAPIをShopAndSite APIと定義しています。
#
# 初期化の際には、GMOから指定されたショップID、ショップパス、サイトID、サイトパス、APIのホスト名を引数で渡す必要があります。
class ShopAndSiteAPI extends gmo.GMOAPI
constructor: (options = {}) ->
@host... | 60441 | utils = require "./utils"
gmo = require "./gmo_api"
# ShopAndSiteAPI
# -
# GMO moduleでは、API呼び出しにGMOから与えられたショップID、ショップパス、サイトID、サイトパスが必要になるAPIをShopAndSite APIと定義しています。
#
# 初期化の際には、GMOから指定されたショップID、ショップパス、サイトID、サイトパス、APIのホスト名を引数で渡す必要があります。
class ShopAndSiteAPI extends gmo.GMOAPI
constructor: (options = {}) ->
@host... | true | utils = require "./utils"
gmo = require "./gmo_api"
# ShopAndSiteAPI
# -
# GMO moduleでは、API呼び出しにGMOから与えられたショップID、ショップパス、サイトID、サイトパスが必要になるAPIをShopAndSite APIと定義しています。
#
# 初期化の際には、GMOから指定されたショップID、ショップパス、サイトID、サイトパス、APIのホスト名を引数で渡す必要があります。
class ShopAndSiteAPI extends gmo.GMOAPI
constructor: (options = {}) ->
@host... |
[
{
"context": "he great demo. The\n\t\t\t\t\t\tgreat demo was created by Brandon. Thank you for reading this text.\n\t\t\t\t\t\"\"\"\n\t\t\t\t\t.",
"end": 588,
"score": 0.999313473701477,
"start": 581,
"tag": "NAME",
"value": "Brandon"
}
] | src/modules/about/AboutView.coffee | leftiness/leftiness.github.io | 0 | "use strict"
m = require "mithril"
infect = require "infect"
class Klass
constructor: (vm, Nav, Swoosh, Trans) -> return ->
m "div", do ->
return []
.concat m.component Nav
.concat m.component Swoosh
.concat m "#transition", { key: m.route(), config: Trans.intro() },
m "article.card.row.two-third",... | 185902 | "use strict"
m = require "mithril"
infect = require "infect"
class Klass
constructor: (vm, Nav, Swoosh, Trans) -> return ->
m "div", do ->
return []
.concat m.component Nav
.concat m.component Swoosh
.concat m "#transition", { key: m.route(), config: Trans.intro() },
m "article.card.row.two-third",... | true | "use strict"
m = require "mithril"
infect = require "infect"
class Klass
constructor: (vm, Nav, Swoosh, Trans) -> return ->
m "div", do ->
return []
.concat m.component Nav
.concat m.component Swoosh
.concat m "#transition", { key: m.route(), config: Trans.intro() },
m "article.card.row.two-third",... |
[
{
"context": "OKEN_SECRET\n#\n# Commands:\n# None\n#\n# Author:\n# Vrtak-CZ, kdaigle\n# Modified by @Yahelc\n\nntwitter",
"end": 323,
"score": 0.6055818796157837,
"start": 322,
"tag": "NAME",
"value": "V"
},
{
"context": "EN_SECRET\n#\n# Commands:\n# None\n#\n# Author:\n# V... | scripts/tweet-content.coffee | joeyuska/fbot2 | 0 | # Description:
# Detect tweet URL and send tweet content
#
# Dependencies:
# "ntwitter": "0.2.10"
# "underscore": "1.5.1"
#
# Configuration:
# HUBOT_TWITTER_CONSUMER_KEY
# HUBOT_TWITTER_CONSUMER_SECRET
# HUBOT_TWITTER_ACCESS_TOKEN_KEY
# HUBOT_TWITTER_ACCESS_TOKEN_SECRET
#
# Commands:
# None
#
# Author:
# ... | 129925 | # Description:
# Detect tweet URL and send tweet content
#
# Dependencies:
# "ntwitter": "0.2.10"
# "underscore": "1.5.1"
#
# Configuration:
# HUBOT_TWITTER_CONSUMER_KEY
# HUBOT_TWITTER_CONSUMER_SECRET
# HUBOT_TWITTER_ACCESS_TOKEN_KEY
# HUBOT_TWITTER_ACCESS_TOKEN_SECRET
#
# Commands:
# None
#
# Author:
# ... | true | # Description:
# Detect tweet URL and send tweet content
#
# Dependencies:
# "ntwitter": "0.2.10"
# "underscore": "1.5.1"
#
# Configuration:
# HUBOT_TWITTER_CONSUMER_KEY
# HUBOT_TWITTER_CONSUMER_SECRET
# HUBOT_TWITTER_ACCESS_TOKEN_KEY
# HUBOT_TWITTER_ACCESS_TOKEN_SECRET
#
# Commands:
# None
#
# Author:
# ... |
[
{
"context": "oviders\n# Verwandtes Plugin:\n# https://github.com/ianwalter/ng-breadcrumbs\n# Verwandetes Plugin:\n# https://gi",
"end": 132,
"score": 0.9997088313102722,
"start": 123,
"tag": "USERNAME",
"value": "ianwalter"
},
{
"context": "crumbs\n# Verwandetes Plugin:\n# https://g... | coffee/angular-compass.coffee | kruschid/kdNav | 2 | # Relevanter Artikel über Provider:
# https://docs.angularjs.org/guide/providers
# Verwandtes Plugin:
# https://github.com/ianwalter/ng-breadcrumbs
# Verwandetes Plugin:
# https://github.com/mnitschke/angular-cc-navigation
###*
# @ngdoc module
# @name ngCompass
# @description
# # ngCompass Module
# ## Features
# * Ext... | 52728 | # Relevanter Artikel über Provider:
# https://docs.angularjs.org/guide/providers
# Verwandtes Plugin:
# https://github.com/ianwalter/ng-breadcrumbs
# Verwandetes Plugin:
# https://github.com/mnitschke/angular-cc-navigation
###*
# @ngdoc module
# @name ngCompass
# @description
# # ngCompass Module
# ## Features
# * Ext... | true | # Relevanter Artikel über Provider:
# https://docs.angularjs.org/guide/providers
# Verwandtes Plugin:
# https://github.com/ianwalter/ng-breadcrumbs
# Verwandetes Plugin:
# https://github.com/mnitschke/angular-cc-navigation
###*
# @ngdoc module
# @name ngCompass
# @description
# # ngCompass Module
# ## Features
# * Ext... |
[
{
"context": "ode = @root) ->\n\t\tif not token then return\n\t\tkey = token.charAt(0)\n\t\trest = token.slice(1)\n\t\tif not (key of node) t",
"end": 379,
"score": 0.9806584119796753,
"start": 365,
"tag": "KEY",
"value": "token.charAt(0"
}
] | src/InvertedIndex.coffee | ormojo/fti-js | 0 | #
# Maps tokens to the documents containing them.
#
# Current implementation uses a trie algorithm. Consider switching away from that and using
# n-gramming in the pipeline instead.
#
class InvertedIndex
constructor: ->
@root = @createNode()
@length = 0
createNode: -> { ids: {} }
add: (token, id, data, node = ... | 225506 | #
# Maps tokens to the documents containing them.
#
# Current implementation uses a trie algorithm. Consider switching away from that and using
# n-gramming in the pipeline instead.
#
class InvertedIndex
constructor: ->
@root = @createNode()
@length = 0
createNode: -> { ids: {} }
add: (token, id, data, node = ... | true | #
# Maps tokens to the documents containing them.
#
# Current implementation uses a trie algorithm. Consider switching away from that and using
# n-gramming in the pipeline instead.
#
class InvertedIndex
constructor: ->
@root = @createNode()
@length = 0
createNode: -> { ids: {} }
add: (token, id, data, node = ... |
[
{
"context": "\n CONTACT_PHONE: '13810906731'\n CONTACT_EMAIL: 'china@codecombat.com'\n}\n\nmodule.exports = {\n STARTER_LICENSE_COURSE_I",
"end": 730,
"score": 0.9999212622642517,
"start": 710,
"tag": "EMAIL",
"value": "china@codecombat.com"
}
] | app/core/constants.coffee | monkeygocook/codecombat | 0 | STARTER_LICENSE_COURSE_IDS = [
"560f1a9f22961295f9427742" # Introduction to Computer Science
"5632661322961295f9428638" # Computer Science 2
"5789587aad86a6efb573701e" # Game Development 1
"5789587aad86a6efb573701f" # Web Development 1
]
PRESET_1_COURSE_IDS = STARTER_LICENSE_COURSE_IDS
PRESET_2_COURSE_IDS = [
... | 149515 | STARTER_LICENSE_COURSE_IDS = [
"560f1a9f22961295f9427742" # Introduction to Computer Science
"5632661322961295f9428638" # Computer Science 2
"5789587aad86a6efb573701e" # Game Development 1
"5789587aad86a6efb573701f" # Web Development 1
]
PRESET_1_COURSE_IDS = STARTER_LICENSE_COURSE_IDS
PRESET_2_COURSE_IDS = [
... | true | STARTER_LICENSE_COURSE_IDS = [
"560f1a9f22961295f9427742" # Introduction to Computer Science
"5632661322961295f9428638" # Computer Science 2
"5789587aad86a6efb573701e" # Game Development 1
"5789587aad86a6efb573701f" # Web Development 1
]
PRESET_1_COURSE_IDS = STARTER_LICENSE_COURSE_IDS
PRESET_2_COURSE_IDS = [
... |
[
{
"context": "nnect(config.mailguy)\n\nclass BaseMailer\n\n from: '席地 <notification@mail.jianliao.com>'\n\n delay: 0\n\n ",
"end": 335,
"score": 0.9065020680427551,
"start": 333,
"tag": "NAME",
"value": "席地"
},
{
"context": "t(config.mailguy)\n\nclass BaseMailer\n\n from: '席地 <no... | talk-api2x/server/mailers/base.coffee | jianwo/jianwo | 0 | path = require 'path'
fs = require 'fs'
Promise = require 'bluebird'
juice = require 'juice'
jade = require 'jade'
async = require 'async'
ejs = require 'ejs'
config = require 'config'
{logger} = require '../components'
# @osv
# mailguy = require('axon').socket('push')
# mailguy.connect(config.mailguy)
class BaseMail... | 151399 | path = require 'path'
fs = require 'fs'
Promise = require 'bluebird'
juice = require 'juice'
jade = require 'jade'
async = require 'async'
ejs = require 'ejs'
config = require 'config'
{logger} = require '../components'
# @osv
# mailguy = require('axon').socket('push')
# mailguy.connect(config.mailguy)
class BaseMail... | true | path = require 'path'
fs = require 'fs'
Promise = require 'bluebird'
juice = require 'juice'
jade = require 'jade'
async = require 'async'
ejs = require 'ejs'
config = require 'config'
{logger} = require '../components'
# @osv
# mailguy = require('axon').socket('push')
# mailguy.connect(config.mailguy)
class BaseMail... |
[
{
"context": "ty_token\">\n# <meta name=\"csrf-token\" content=\"5b404f7b7f90dc67708635fc8dd3\">\n#\n\n# The AJAX prefilter filter will run before ",
"end": 308,
"score": 0.9689071774482727,
"start": 280,
"tag": "KEY",
"value": "5b404f7b7f90dc67708635fc8dd3"
}
] | csrf.coffee | curriculet/rails-behaviors | 1 | # CSRF
#
#= require ./beforesend
#= require ./prepare
#
# Adds CSRF tokens to AJAX requests and forms missing them.
#
# CSRF tokens must be set in the document head as meta tags.
#
# <meta name="csrf-param" content="authenticity_token">
# <meta name="csrf-token" content="5b404f7b7f90dc67708635fc8dd3">
#
# The ... | 191387 | # CSRF
#
#= require ./beforesend
#= require ./prepare
#
# Adds CSRF tokens to AJAX requests and forms missing them.
#
# CSRF tokens must be set in the document head as meta tags.
#
# <meta name="csrf-param" content="authenticity_token">
# <meta name="csrf-token" content="<KEY>">
#
# The AJAX prefilter filter w... | true | # CSRF
#
#= require ./beforesend
#= require ./prepare
#
# Adds CSRF tokens to AJAX requests and forms missing them.
#
# CSRF tokens must be set in the document head as meta tags.
#
# <meta name="csrf-param" content="authenticity_token">
# <meta name="csrf-token" content="PI:KEY:<KEY>END_PI">
#
# The AJAX prefi... |
[
{
"context": "###\n backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n Lice",
"end": 58,
"score": 0.9992294311523438,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/schema.coffee | michaelBenin/backbone-orm | 1 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
inflection = require 'inflectio... | 165240 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
inflection = require 'inflection'... | true | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
inflection = requir... |
[
{
"context": "'-p': 'server_port'\n '-s': 'server'\n '-k': 'password',\n '-c': 'config_file',\n '-m': 'method'\n\n ",
"end": 147,
"score": 0.7157817482948303,
"start": 139,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "checkConfig = (config) ->\n if config.ser... | src/utils.coffee | SkyZH/VPN---Proxy | 40 |
util = require 'util'
exports.parseArgs = ->
defination =
'-l': 'local_port'
'-p': 'server_port'
'-s': 'server'
'-k': 'password',
'-c': 'config_file',
'-m': 'method'
result = {}
nextIsValue = false
lastKey = null
for _, oneArg of process.argv
if nextIsValue
result[lastKey]... | 111008 |
util = require 'util'
exports.parseArgs = ->
defination =
'-l': 'local_port'
'-p': 'server_port'
'-s': 'server'
'-k': '<PASSWORD>',
'-c': 'config_file',
'-m': 'method'
result = {}
nextIsValue = false
lastKey = null
for _, oneArg of process.argv
if nextIsValue
result[lastKe... | true |
util = require 'util'
exports.parseArgs = ->
defination =
'-l': 'local_port'
'-p': 'server_port'
'-s': 'server'
'-k': 'PI:PASSWORD:<PASSWORD>END_PI',
'-c': 'config_file',
'-m': 'method'
result = {}
nextIsValue = false
lastKey = null
for _, oneArg of process.argv
if nextIsValue
... |
[
{
"context": " lastName = object.last_name or ''\n if firstName and lastName\n @defaultConverter \"#{first",
"end": 6807,
"score": 0.9122097492218018,
"start": 6798,
"tag": "NAME",
"value": "firstName"
},
{
"context": " = object.last_name or ''\n if firstN... | app/scripts/views/exporter-collection-csv.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'./exporter'
'./../models/source'
], (ExporterView, SourceModel) ->
# Exporter that exports a collection of forms as CSV
#
# I have strived to adhere to the RFC #4180 spec. See
# https://tools.ietf.org/html/rfc4180.
class ExporterCollectionCSVView extends ExporterView
title: -> 'CSV'
... | 159090 | define [
'./exporter'
'./../models/source'
], (ExporterView, SourceModel) ->
# Exporter that exports a collection of forms as CSV
#
# I have strived to adhere to the RFC #4180 spec. See
# https://tools.ietf.org/html/rfc4180.
class ExporterCollectionCSVView extends ExporterView
title: -> 'CSV'
... | true | define [
'./exporter'
'./../models/source'
], (ExporterView, SourceModel) ->
# Exporter that exports a collection of forms as CSV
#
# I have strived to adhere to the RFC #4180 spec. See
# https://tools.ietf.org/html/rfc4180.
class ExporterCollectionCSVView extends ExporterView
title: -> 'CSV'
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992966055870056,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-zlib-zero-byte.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... | 15752 | # 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": "le is part of the Mooch package.\n\nCopyright © 2014 Erin Millard\n\nFor the full copyright and license information, ",
"end": 74,
"score": 0.9997769594192505,
"start": 62,
"tag": "NAME",
"value": "Erin Millard"
},
{
"context": "uite 'Server', =>\n\n setup =>\n @con... | test/Server.test.coffee | vanwars/twitter-proxy-cors | 19 | ###
This file is part of the Mooch package.
Copyright © 2014 Erin Millard
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
{assert, expect} = require 'chai'
http = require 'http'
portfinder = require 'portfinder'
request = require 'request'
... | 50911 | ###
This file is part of the Mooch package.
Copyright © 2014 <NAME>
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
{assert, expect} = require 'chai'
http = require 'http'
portfinder = require 'portfinder'
request = require 'request'
sinon ... | true | ###
This file is part of the Mooch package.
Copyright © 2014 PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
{assert, expect} = require 'chai'
http = require 'http'
portfinder = require 'portfinder'
request = require 'r... |
[
{
"context": "\"#login\", ->\n Given -> @credentials = {name: 'Dave'}\n When -> @AuthenticationService.login(@cre",
"end": 267,
"score": 0.9994521141052246,
"start": 263,
"tag": "NAME",
"value": "Dave"
}
] | spec/services/authentication_service_spec.coffee | george-i/issue-tracker | 1 | describe "service: AuthenticationService", ->
Given -> module("app")
Given -> inject ($http, @AuthenticationService) =>
@$httpPost = spyOn($http, 'post')
@$httpGet = spyOn($http, 'get')
describe "#login", ->
Given -> @credentials = {name: 'Dave'}
When -> @AuthenticationService.login(@creden... | 62700 | describe "service: AuthenticationService", ->
Given -> module("app")
Given -> inject ($http, @AuthenticationService) =>
@$httpPost = spyOn($http, 'post')
@$httpGet = spyOn($http, 'get')
describe "#login", ->
Given -> @credentials = {name: '<NAME>'}
When -> @AuthenticationService.login(@cred... | true | describe "service: AuthenticationService", ->
Given -> module("app")
Given -> inject ($http, @AuthenticationService) =>
@$httpPost = spyOn($http, 'post')
@$httpGet = spyOn($http, 'get')
describe "#login", ->
Given -> @credentials = {name: 'PI:NAME:<NAME>END_PI'}
When -> @AuthenticationServi... |
[
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/24/15 ",
"end": 16,
"score": 0.9992326498031616,
"start": 13,
"tag": "NAME",
"value": "易晓峰"
},
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/24/15 4:18 PM\n# Description: git地... | src/cache/git_map.coffee | kiteam/kiteam | 0 | # Author: 易晓峰
# E-mail: wvv8oo@gmail.com
# Date: 6/24/15 4:18 PM
# Description: git地址影射的缓存
_ = require 'lodash'
_BaseCache = require './base'
_entity = require '../entity'
class GitMapCacheEntity extends _BaseCache
init: (cb)-> @load cb
#加载列表,如果没有指定cond,则加载所有数据
load: (cond, cb)->
# console.log "... | 145964 | # Author: <NAME>
# E-mail: <EMAIL>
# Date: 6/24/15 4:18 PM
# Description: git地址影射的缓存
_ = require 'lodash'
_BaseCache = require './base'
_entity = require '../entity'
class GitMapCacheEntity extends _BaseCache
init: (cb)-> @load cb
#加载列表,如果没有指定cond,则加载所有数据
load: (cond, cb)->
# console.log "刷新git_... | true | # Author: PI:NAME:<NAME>END_PI
# E-mail: PI:EMAIL:<EMAIL>END_PI
# Date: 6/24/15 4:18 PM
# Description: git地址影射的缓存
_ = require 'lodash'
_BaseCache = require './base'
_entity = require '../entity'
class GitMapCacheEntity extends _BaseCache
init: (cb)-> @load cb
#加载列表,如果没有指定cond,则加载所有数据
load: (cond, c... |
[
{
"context": " _createMessage: (message, sandbox) =>\n key = 'APNS'\n key = 'APNS_SANDBOX' if sandbox\n\n frame =",
"end": 725,
"score": 0.9989280700683594,
"start": 721,
"tag": "KEY",
"value": "APNS"
},
{
"context": "(message, sandbox) =>\n key = 'APNS'\n key = 'APNS_... | app/message-controller.coffee | octoblu/sns-service | 0 | SNS = require 'sns-mobile'
config = require './config'
debug = require('debug')('sns-service:message-controller')
class MessageController
send: (request, response) =>
arn = request.header 'X-SNS-ARN'
endpoint = request.header 'X-SNS-Endpoint'
platformId = request.header 'X-SNS-Platform'
sandbox =... | 114612 | SNS = require 'sns-mobile'
config = require './config'
debug = require('debug')('sns-service:message-controller')
class MessageController
send: (request, response) =>
arn = request.header 'X-SNS-ARN'
endpoint = request.header 'X-SNS-Endpoint'
platformId = request.header 'X-SNS-Platform'
sandbox =... | true | SNS = require 'sns-mobile'
config = require './config'
debug = require('debug')('sns-service:message-controller')
class MessageController
send: (request, response) =>
arn = request.header 'X-SNS-ARN'
endpoint = request.header 'X-SNS-Endpoint'
platformId = request.header 'X-SNS-Platform'
sandbox =... |
[
{
"context": "- - - - - - - - - - - - - - - #\n# Copyright © 2015 Denis Luchkin-Zhou #\n# See L",
"end": 277,
"score": 0.9998701214790344,
"start": 259,
"tag": "NAME",
"value": "Denis Luchkin-Zhou"
}
] | gulp/server-scripts-old.coffee | jluchiji/tranzit | 0 | # --------------------------------------------------------------------------- #
# wyvernzora.ninja build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 Denis Luchkin-Zhou #
... | 179168 | # --------------------------------------------------------------------------- #
# wyvernzora.ninja build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 <NAME> #
# See LICENS... | true | # --------------------------------------------------------------------------- #
# wyvernzora.ninja build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 PI:NAME:<NAME>END_PI ... |
[
{
"context": ">\n\t\t\tsuperAgent.get \"#{baseUrl}/dynamic.html?name=ben\", (err,res) ->\n\t\t\t\treturn done(err) if err\n\t\t\t\ta",
"end": 4413,
"score": 0.8809272646903992,
"start": 4410,
"tag": "NAME",
"value": "ben"
},
{
"context": ") if err\n\t\t\t\tactual = res.text\n\t\t\t... | src/test/actions-test.coffee | unframework/docpad | 1 | # RequirestestServer
superAgent = require('superagent')
balUtil = require('bal-util')
safefs = require('safefs')
DocPad = require('../lib/docpad')
{expect} = require('chai')
joe = require('joe')
_ = require('lodash')
pathUtil = require('path')
# -------------------------------------
# Configuration
# Paths
docpadPath... | 105512 | # RequirestestServer
superAgent = require('superagent')
balUtil = require('bal-util')
safefs = require('safefs')
DocPad = require('../lib/docpad')
{expect} = require('chai')
joe = require('joe')
_ = require('lodash')
pathUtil = require('path')
# -------------------------------------
# Configuration
# Paths
docpadPath... | true | # RequirestestServer
superAgent = require('superagent')
balUtil = require('bal-util')
safefs = require('safefs')
DocPad = require('../lib/docpad')
{expect} = require('chai')
joe = require('joe')
_ = require('lodash')
pathUtil = require('path')
# -------------------------------------
# Configuration
# Paths
docpadPath... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9850270748138428,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": " HMAC-SHA-* (rfc 4231 Test Cases)\n# 'Hi There'\n# 'Jefe'\n# 'what do ya want for nothing?'\n\... | test/simple/test-crypto-binary-default.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... | 4958 | # 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": "# Copyright (c) 2008-2013 Michael Dvorkin and contributors.\n#\n# Fat Free CRM is freely dist",
"end": 41,
"score": 0.9998588562011719,
"start": 26,
"tag": "NAME",
"value": "Michael Dvorkin"
}
] | app/assets/javascripts/crm_sortable.js.coffee | HamiltonDevCo/fat_free_crm | 1,290 | # Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
(($) ->
window.crm ||= {}
... | 184450 | # Copyright (c) 2008-2013 <NAME> and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
(($) ->
window.crm ||= {}
crm.init... | true | # Copyright (c) 2008-2013 PI:NAME:<NAME>END_PI and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
(($) ->
window.crm ||= ... |
[
{
"context": "# Dynamic Sequence\n# by Isaac Weinhausen\n# http://isaacw.com\n\n\n\n\n# Import classes\n# ------",
"end": 40,
"score": 0.9998895525932312,
"start": 24,
"tag": "NAME",
"value": "Isaac Weinhausen"
}
] | examples/dynamic-sequence.framer/app.coffee | ekfuhrmann/framer-animation-collections | 0 | # Dynamic Sequence
# by Isaac Weinhausen
# http://isaacw.com
# Import classes
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# Setup
# -------------------------------------
# Remember these nice colors
colors =
"purple" : "#8... | 16360 | # Dynamic Sequence
# by <NAME>
# http://isaacw.com
# Import classes
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# Setup
# -------------------------------------
# Remember these nice colors
colors =
"purple" : "#877DD7"
"b... | true | # Dynamic Sequence
# by PI:NAME:<NAME>END_PI
# http://isaacw.com
# Import classes
# -------------------------------------
{AnimationSequence} = require "AnimationSequence"
{AnimationSet} = require "AnimationSet"
# Setup
# -------------------------------------
# Remember these nice colors
colors =
"purple" :... |
[
{
"context": "module for J-SENS protocol\n# Originally written by Denis Shirokov\n# Contributors: Ivan Orlov, Alexey Mikhaylishin, ",
"end": 82,
"score": 0.9998720288276672,
"start": 68,
"tag": "NAME",
"value": "Denis Shirokov"
},
{
"context": "iginally written by Denis Shirokov\n# C... | client/Device.coffee | bzikst/J-SENS | 0 | # Device example module for J-SENS protocol
# Originally written by Denis Shirokov
# Contributors: Ivan Orlov, Alexey Mikhaylishin, Konstantin Moskalenko
# See https://github.com/bzikst/J-SENS for details
#
send = (id, cmd, params, cb)->
deffered = $.ajax "someurl_for_device/#{id}",
{
method: 'POST',
... | 152850 | # Device example module for J-SENS protocol
# Originally written by <NAME>
# Contributors: <NAME>, <NAME>, <NAME>
# See https://github.com/bzikst/J-SENS for details
#
send = (id, cmd, params, cb)->
deffered = $.ajax "someurl_for_device/#{id}",
{
method: 'POST',
contentType : 'application/json; charse... | true | # Device example module for J-SENS protocol
# Originally written by PI:NAME:<NAME>END_PI
# Contributors: PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# See https://github.com/bzikst/J-SENS for details
#
send = (id, cmd, params, cb)->
deffered = $.ajax "someurl_for_device/#{id}",
{
metho... |
[
{
"context": "------------------------------------\n#\n# Author : philippe.billet@noos.fr\n#\n# Dirac function dirac(x)\n# dirac(-x)=dirac(x",
"end": 116,
"score": 0.9955906271934509,
"start": 93,
"tag": "EMAIL",
"value": "philippe.billet@noos.fr"
}
] | node_modules/algebrite/sources/dirac.coffee | souzamonteiro/maialexa | 928 | #-----------------------------------------------------------------------------
#
# Author : philippe.billet@noos.fr
#
# Dirac function dirac(x)
# dirac(-x)=dirac(x)
# dirac(b-a)=dirac(a-b)
#-----------------------------------------------------------------------------
Eval_dirac = ->
push(cadr(p1))
Eval()
d... | 28794 | #-----------------------------------------------------------------------------
#
# Author : <EMAIL>
#
# Dirac function dirac(x)
# dirac(-x)=dirac(x)
# dirac(b-a)=dirac(a-b)
#-----------------------------------------------------------------------------
Eval_dirac = ->
push(cadr(p1))
Eval()
dirac()
dirac = ... | true | #-----------------------------------------------------------------------------
#
# Author : PI:EMAIL:<EMAIL>END_PI
#
# Dirac function dirac(x)
# dirac(-x)=dirac(x)
# dirac(b-a)=dirac(a-b)
#-----------------------------------------------------------------------------
Eval_dirac = ->
push(cadr(p1))
Eval()
di... |
[
{
"context": "# http://raw.githubusercontent.com/StevenBlack/hosts/master/hosts\n# 27 Mar 2016\n# 26,890 entries",
"end": 46,
"score": 0.9995331764221191,
"start": 35,
"tag": "USERNAME",
"value": "StevenBlack"
},
{
"context": "p.com'\n\t'uk.ads.hexus.net'\n\t'adserver4.fluent.ltd.uk'... | src/configs/msvp-config.coffee | mubaidr/webbooost | 83 | # http://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
# 27 Mar 2016
# 26,890 entries
module.exports = {
'lb.usemaxserver.de'
'tracking.klickthru.com'
'gsmtop.net'
'click.buzzcity.net'
'ads.admoda.com'
'stats.pflexads.com'
'a.glcdn.co'
'wwww.adleads.com'
'ad.madvertise.de'
'apps.buzzcity.net'
'ads... | 195815 | # http://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
# 27 Mar 2016
# 26,890 entries
module.exports = {
'lb.usemaxserver.de'
'tracking.klickthru.com'
'gsmtop.net'
'click.buzzcity.net'
'ads.admoda.com'
'stats.pflexads.com'
'a.glcdn.co'
'wwww.adleads.com'
'ad.madvertise.de'
'apps.buzzcity.net'
'ads... | true | # http://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
# 27 Mar 2016
# 26,890 entries
module.exports = {
'lb.usemaxserver.de'
'tracking.klickthru.com'
'gsmtop.net'
'click.buzzcity.net'
'ads.admoda.com'
'stats.pflexads.com'
'a.glcdn.co'
'wwww.adleads.com'
'ad.madvertise.de'
'apps.buzzcity.net'
'ads... |
[
{
"context": "vil.io'\n client_id: 'uuid'\n client_secret: 'secret'\n redirect_uri: 'https://app.example.com/callb",
"end": 646,
"score": 0.7221388220787048,
"start": 640,
"tag": "KEY",
"value": "secret"
},
{
"context": "e\",\n \"middle_name\",\n \"nickname\",\n ... | test/anvilClientSpec.coffee | bauglir/connect-nodejs | 0 | # Test dependencies
#fs = require 'fs'
cwd = process.cwd()
path = require 'path'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
nock = require 'nock'
# Assertions
chai.use sinonChai
chai.should()
AnvilConnect... | 173004 | # Test dependencies
#fs = require 'fs'
cwd = process.cwd()
path = require 'path'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
nock = require 'nock'
# Assertions
chai.use sinonChai
chai.should()
AnvilConnect... | true | # Test dependencies
#fs = require 'fs'
cwd = process.cwd()
path = require 'path'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
nock = require 'nock'
# Assertions
chai.use sinonChai
chai.should()
AnvilConnect... |
[
{
"context": " hubot getcode\n# hubot invited\n#\n# Author:\n# Tip XRP <tipple@monaco-ex.org>\n\nutils = require './utils'",
"end": 326,
"score": 0.9989784359931946,
"start": 319,
"tag": "NAME",
"value": "Tip XRP"
},
{
"context": "etcode\n# hubot invited\n#\n# Author:\n# Ti... | scripts/reply.coffee | monaco-ex/tipxrp | 3 | ###
Copytight (c) 2017-2018 Monaco-ex LLC, Japan.
Licensed under MITL.
###
# Description
# hubot scripts for diagnosing hubot
#
# Commands:
# hubot tip @destination <num>
# hubot giveme
# hubot balance
# hubot deposit
# hubot withdraw <num> <XRPaddress>
# hubot getcode
# hubot invited
#
# Author:
# T... | 113698 | ###
Copytight (c) 2017-2018 Monaco-ex LLC, Japan.
Licensed under MITL.
###
# Description
# hubot scripts for diagnosing hubot
#
# Commands:
# hubot tip @destination <num>
# hubot giveme
# hubot balance
# hubot deposit
# hubot withdraw <num> <XRPaddress>
# hubot getcode
# hubot invited
#
# Author:
# <... | true | ###
Copytight (c) 2017-2018 Monaco-ex LLC, Japan.
Licensed under MITL.
###
# Description
# hubot scripts for diagnosing hubot
#
# Commands:
# hubot tip @destination <num>
# hubot giveme
# hubot balance
# hubot deposit
# hubot withdraw <num> <XRPaddress>
# hubot getcode
# hubot invited
#
# Author:
# P... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998809695243835,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\n#= require new... | source/javascripts/new_src/loaders/collada/color_or_texture.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
#= require new_src/core/color
class ColorOrTexture
constructor: ->
@color = new THREE.Color(0)
@color.setRGB Math.random(), Math.random(), Math.random()
@color.a = 1.0
@texture = null
... | 122461 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
#= require new_src/core/color
class ColorOrTexture
constructor: ->
@color = new THREE.Color(0)
@color.setRGB Math.random(), Math.random(), Math.random()
@color.a = 1.0
@texture = null
@texcoord = nul... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/core/color
class ColorOrTexture
constructor: ->
@color = new THREE.Color(0)
@color.setRGB Math.random(), Math.random(), Math.random()
@color.a = 1.0
@textur... |
[
{
"context": "# Public: [Description].\n\n# Copyright (c) 2014 by Maximilian Schüßler. See LICENSE for details.\n#\n\n_ = require 'lodash'",
"end": 69,
"score": 0.9997916221618652,
"start": 50,
"tag": "NAME",
"value": "Maximilian Schüßler"
}
] | lib/coffeedocs.coffee | chrisb1510/mycoffeedocs | 0 | # Public: [Description].
# Copyright (c) 2014 by Maximilian Schüßler. See LICENSE for details.
#
_ = require 'lodash'
# Public: CoffeeDocs main class..
class CoffeeDocs
# Public: Returns the setting under the key 'key'.
#
# key - The config key as {String}.
#
# Returns: Returns the value of config key.
... | 89212 | # Public: [Description].
# Copyright (c) 2014 by <NAME>. See LICENSE for details.
#
_ = require 'lodash'
# Public: CoffeeDocs main class..
class CoffeeDocs
# Public: Returns the setting under the key 'key'.
#
# key - The config key as {String}.
#
# Returns: Returns the value of config key.
getConfigValu... | true | # Public: [Description].
# Copyright (c) 2014 by PI:NAME:<NAME>END_PI. See LICENSE for details.
#
_ = require 'lodash'
# Public: CoffeeDocs main class..
class CoffeeDocs
# Public: Returns the setting under the key 'key'.
#
# key - The config key as {String}.
#
# Returns: Returns the value of config key.
... |
[
{
"context": "Login\n email: form.email,\n password: form.password\n\n onError = (response) ->\n error",
"end": 588,
"score": 0.5212036967277527,
"start": 584,
"tag": "PASSWORD",
"value": "form"
}
] | app/assets/javascripts/ng-app/controllers/modal/user_modal_instance_controller.coffee | jonkerz/kingscourt | 2 | angular.module "KingsCourt"
.controller "UserModalInstanceCtrl", ($scope, $uibModalInstance, $auth) ->
$scope.$on "auth:login-success", (event, mass) -> $uibModalInstance.close()
$scope.ok = -> $uibModalInstance.close()
$scope.cancel = -> $uibModalInstance.dismiss "cancel"
$scope.submitLogin = (form) ->
... | 11005 | angular.module "KingsCourt"
.controller "UserModalInstanceCtrl", ($scope, $uibModalInstance, $auth) ->
$scope.$on "auth:login-success", (event, mass) -> $uibModalInstance.close()
$scope.ok = -> $uibModalInstance.close()
$scope.cancel = -> $uibModalInstance.dismiss "cancel"
$scope.submitLogin = (form) ->
... | true | angular.module "KingsCourt"
.controller "UserModalInstanceCtrl", ($scope, $uibModalInstance, $auth) ->
$scope.$on "auth:login-success", (event, mass) -> $uibModalInstance.close()
$scope.ok = -> $uibModalInstance.close()
$scope.cancel = -> $uibModalInstance.dismiss "cancel"
$scope.submitLogin = (form) ->
... |
[
{
"context": ">\n shouldMatch \"\"\"\n* Abc. Def.\n* Jkl. Mno.\n\n- Adam. Bravo.\n- Charlie. Dog.\n \"\"\", \"\"\"\n* Abc.\n D",
"end": 1582,
"score": 0.9886534810066223,
"start": 1578,
"tag": "NAME",
"value": "Adam"
},
{
"context": " shouldMatch \"\"\"\n* Abc. Def.\n* Jk... | spec/autoflow-diffable-spec.coffee | ben/autoflow-diffable | 3 | AutoflowDiffable = require '../lib/autoflow-diffable'
# Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
#
# To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit`
# or `fdescribe`). Remove the `f` to unfocus the block.
# Helper
shouldMatch = (input, expected) ->
exp... | 95242 | AutoflowDiffable = require '../lib/autoflow-diffable'
# Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
#
# To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit`
# or `fdescribe`). Remove the `f` to unfocus the block.
# Helper
shouldMatch = (input, expected) ->
exp... | true | AutoflowDiffable = require '../lib/autoflow-diffable'
# Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
#
# To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit`
# or `fdescribe`). Remove the `f` to unfocus the block.
# Helper
shouldMatch = (input, expected) ->
exp... |
[
{
"context": "true\n params = @validate()\n {serverCode, username, password, email} = params\n if serverCode an",
"end": 3719,
"score": 0.9522688984870911,
"start": 3711,
"tag": "USERNAME",
"value": "username"
},
{
"context": "e: @validateUsername()\n password: ... | app/scripts/views/register-dialog.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'backbone'
'./base'
'./active-server'
'./../templates/register-dialog'
'./../utils/utils'
], (Backbone, BaseView, ActiveServerView, registerDialogTemplate, utils) ->
# RegisterDialogView
# ------------------
#
# This is a dialog box for registering an account on a Dative server, i.e.,
# a ... | 150595 | define [
'backbone'
'./base'
'./active-server'
'./../templates/register-dialog'
'./../utils/utils'
], (Backbone, BaseView, ActiveServerView, registerDialogTemplate, utils) ->
# RegisterDialogView
# ------------------
#
# This is a dialog box for registering an account on a Dative server, i.e.,
# a ... | true | define [
'backbone'
'./base'
'./active-server'
'./../templates/register-dialog'
'./../utils/utils'
], (Backbone, BaseView, ActiveServerView, registerDialogTemplate, utils) ->
# RegisterDialogView
# ------------------
#
# This is a dialog box for registering an account on a Dative server, i.e.,
# a ... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\n{CompositeDisposable} = re",
"end": 35,
"score": 0.999600887298584,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/extensions/livequeries/outline-live-query.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
{CompositeDisposable} = require 'atom'
LiveQuery = require './live-query'
# A live query over an {Outline}.
module.exports =
class OutlineLiveQuery extends LiveQuery
# Public: Read-only the {Outline} being queried.
outline: null
querySubscriptions: null... | 28316 | # Copyright (c) 2015 <NAME>. All rights reserved.
{CompositeDisposable} = require 'atom'
LiveQuery = require './live-query'
# A live query over an {Outline}.
module.exports =
class OutlineLiveQuery extends LiveQuery
# Public: Read-only the {Outline} being queried.
outline: null
querySubscriptions: null
outli... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
{CompositeDisposable} = require 'atom'
LiveQuery = require './live-query'
# A live query over an {Outline}.
module.exports =
class OutlineLiveQuery extends LiveQuery
# Public: Read-only the {Outline} being queried.
outline: null
querySubscriptions... |
[
{
"context": "astname: null\n\t<% if( usesessions ){ %>\n\t\temail: \"mytest.user@example.com\"\n\t\tpw: \"tester\"\n\t<% }else{ %>\n\t\tid: \"abcde\"\n\t<% }",
"end": 509,
"score": 0.999900221824646,
"start": 486,
"tag": "EMAIL",
"value": "mytest.user@example.com"
},
{
"context": "r... | app/templates/_src/test/main_spec.coffee | mpneuried/generator-mpnodeapp | 1 | frisby = require('frisby')
extend = require( "extend" )
Config = require( "../lib/config" )
# load the local config if the file exists
try
_cnf = require( "../config_test.json" )
catch _err
if _err?.code is "MODULE_NOT_FOUND"
_cnf = {}
else
throw _err
_cnfServer = Config.get( "server" )
_cnf = extend( true, ... | 84041 | frisby = require('frisby')
extend = require( "extend" )
Config = require( "../lib/config" )
# load the local config if the file exists
try
_cnf = require( "../config_test.json" )
catch _err
if _err?.code is "MODULE_NOT_FOUND"
_cnf = {}
else
throw _err
_cnfServer = Config.get( "server" )
_cnf = extend( true, ... | true | frisby = require('frisby')
extend = require( "extend" )
Config = require( "../lib/config" )
# load the local config if the file exists
try
_cnf = require( "../config_test.json" )
catch _err
if _err?.code is "MODULE_NOT_FOUND"
_cnf = {}
else
throw _err
_cnfServer = Config.get( "server" )
_cnf = extend( true, ... |
[
{
"context": "amming for microcontrollers\n# * Copyright (c) 2014 Jon Nordby <jononor@gmail.com>\n# * MicroFlo may be freely di",
"end": 90,
"score": 0.999830424785614,
"start": 80,
"tag": "NAME",
"value": "Jon Nordby"
},
{
"context": "crocontrollers\n# * Copyright (c) 2014 Jon Nordb... | lib/util.coffee | microflo/microflo | 136 | # MicroFlo - Flow-Based Programming for microcontrollers
# * Copyright (c) 2014 Jon Nordby <jononor@gmail.com>
# * MicroFlo may be freely distributed under the MIT license
#
exports.isBrowser = isBrowser = ->
not (typeof (process) isnt "undefined" and process.execPath and process.execPath.indexOf("node") isnt -1)
Bu... | 218716 | # MicroFlo - Flow-Based Programming for microcontrollers
# * Copyright (c) 2014 <NAME> <<EMAIL>>
# * MicroFlo may be freely distributed under the MIT license
#
exports.isBrowser = isBrowser = ->
not (typeof (process) isnt "undefined" and process.execPath and process.execPath.indexOf("node") isnt -1)
Buffer = require... | true | # MicroFlo - Flow-Based Programming for microcontrollers
# * Copyright (c) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# * MicroFlo may be freely distributed under the MIT license
#
exports.isBrowser = isBrowser = ->
not (typeof (process) isnt "undefined" and process.execPath and process.execPath.indexOf("node... |
[
{
"context": "username\n expect(model.get 'password').to.equal fixture.password\n done()\n\n\n it 'should require a username', (d",
"end": 853,
"score": 0.9857824444770813,
"start": 837,
"tag": "PASSWORD",
"value": "fixture.password"
},
{
"context": "d(true)).not.to.be.true\n\... | test/app/unit/modules/user/entities/UserLogin.coffee | josepramon/tfm-adminApp | 0 | describe 'modules/user/entities/UserLogin', ->
UserLogin = require 'modules/user/entities/UserLogin'
UserLoginFixture = require 'test/app/fixtures/entities/user/UserLogin'
it 'should have a url', (done) ->
model = new UserLogin
expect(model).to.have.property 'url'
expect(model.url).not.to.be.... | 147131 | describe 'modules/user/entities/UserLogin', ->
UserLogin = require 'modules/user/entities/UserLogin'
UserLoginFixture = require 'test/app/fixtures/entities/user/UserLogin'
it 'should have a url', (done) ->
model = new UserLogin
expect(model).to.have.property 'url'
expect(model.url).not.to.be.... | true | describe 'modules/user/entities/UserLogin', ->
UserLogin = require 'modules/user/entities/UserLogin'
UserLoginFixture = require 'test/app/fixtures/entities/user/UserLogin'
it 'should have a url', (done) ->
model = new UserLogin
expect(model).to.have.property 'url'
expect(model.url).not.to.be.... |
[
{
"context": " CanvasSplitMovie\n Copyright(c) 2015 SHIFTBRAIN - Tsukasa Tokura\n This software is released under the MIT License",
"end": 70,
"score": 0.9998437166213989,
"start": 56,
"tag": "NAME",
"value": "Tsukasa Tokura"
}
] | src/CanvasSplitMovie.coffee | tsukasa-web/CanvasSplitMovie | 1 | ###
CanvasSplitMovie
Copyright(c) 2015 SHIFTBRAIN - Tsukasa Tokura
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
###
class CanvasSplitMovie
defaults :
splitNum : 5 #canvasの横ラインの分割数
liquid : true #resize時に親要素の大きさに合わせて拡縮
targetImgArray : [] #使用画像が格納... | 136088 | ###
CanvasSplitMovie
Copyright(c) 2015 SHIFTBRAIN - <NAME>
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
###
class CanvasSplitMovie
defaults :
splitNum : 5 #canvasの横ラインの分割数
liquid : true #resize時に親要素の大きさに合わせて拡縮
targetImgArray : [] #使用画像が格納された配列
... | true | ###
CanvasSplitMovie
Copyright(c) 2015 SHIFTBRAIN - PI:NAME:<NAME>END_PI
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
###
class CanvasSplitMovie
defaults :
splitNum : 5 #canvasの横ラインの分割数
liquid : true #resize時に親要素の大きさに合わせて拡縮
targetImgArray : [] #使... |
[
{
"context": "#\n# The main Fx file\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\ncore = require('core')\n$ = requi",
"end": 61,
"score": 0.9998862147331238,
"start": 44,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/fx/main.coffee | lovely-io/lovely.io-stl | 2 | #
# The main Fx file
#
# Copyright (C) 2011 Nikolay Nemshilov
#
core = require('core')
$ = require('dom')
ext = core.ext
bind = core.bind
Class = core.Class
List = core.List
Hash = core.Hash
isObject = core.isObject
Element = $.Element
Browser = $.Browser
HTML ... | 67327 | #
# The main Fx file
#
# Copyright (C) 2011 <NAME>
#
core = require('core')
$ = require('dom')
ext = core.ext
bind = core.bind
Class = core.Class
List = core.List
Hash = core.Hash
isObject = core.isObject
Element = $.Element
Browser = $.Browser
HTML = global.d... | true | #
# The main Fx file
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
core = require('core')
$ = require('dom')
ext = core.ext
bind = core.bind
Class = core.Class
List = core.List
Hash = core.Hash
isObject = core.isObject
Element = $.Element
Browser = $.Browser
HTML ... |
[
{
"context": " \"+-inurl:topic\"\r\n \"&keyvol=01e1195423b8ee7e4598\"]\r\n func : hotbotSearch\r\n #--start searc",
"end": 18451,
"score": 0.9968444108963013,
"start": 18434,
"tag": "KEY",
"value": "01e1195423b8ee7e4"
}
] | ChangeSearch/coffee.coffee | hentaiPanda/GM_Scripts | 1 | # wrap a text node
wrapTextNode = (node, tagname, klass) ->
wrapper = document.createElement(tagname)
node.parentNode.insertBefore(wrapper, node)
wrapper.appendChild(node)
if klass
wrapper.className = klass
return wrapper
# get first child
getFirstChild = (node) ->
fc = node.firstChild
... | 75300 | # wrap a text node
wrapTextNode = (node, tagname, klass) ->
wrapper = document.createElement(tagname)
node.parentNode.insertBefore(wrapper, node)
wrapper.appendChild(node)
if klass
wrapper.className = klass
return wrapper
# get first child
getFirstChild = (node) ->
fc = node.firstChild
... | true | # wrap a text node
wrapTextNode = (node, tagname, klass) ->
wrapper = document.createElement(tagname)
node.parentNode.insertBefore(wrapper, node)
wrapper.appendChild(node)
if klass
wrapper.className = klass
return wrapper
# get first child
getFirstChild = (node) ->
fc = node.firstChild
... |
[
{
"context": "\n host: @hostEditor.getText()\n username: @usernameEditor.getText()\n password: @passwordEditor.g",
"end": 12021,
"score": 0.924532413482666,
"start": 12012,
"tag": "USERNAME",
"value": "@username"
},
{
"context": "sername: @usernameEditor.getText()\n ... | lib/ftp-tree-view.coffee | carlosingles/ftp-tree-view | 1 | path = require 'path'
shell = require 'shell'
_ = require 'underscore-plus'
{Emitter, Subscriber} = require 'emissary'
{$, BufferedProcess, ScrollView, EditorView} = require 'atom'
fs = require 'fs-plus'
os = require 'os'
Dialog = null # Defer requiring until actually needed
AddDialog = null # Defer requiring un... | 162648 | path = require 'path'
shell = require 'shell'
_ = require 'underscore-plus'
{Emitter, Subscriber} = require 'emissary'
{$, BufferedProcess, ScrollView, EditorView} = require 'atom'
fs = require 'fs-plus'
os = require 'os'
Dialog = null # Defer requiring until actually needed
AddDialog = null # Defer requiring un... | true | path = require 'path'
shell = require 'shell'
_ = require 'underscore-plus'
{Emitter, Subscriber} = require 'emissary'
{$, BufferedProcess, ScrollView, EditorView} = require 'atom'
fs = require 'fs-plus'
os = require 'os'
Dialog = null # Defer requiring until actually needed
AddDialog = null # Defer requiring un... |
[
{
"context": "##############\ncfg = null\nauth = null\nauthCode = \"deadbeef\"\n\n###############################################",
"end": 592,
"score": 0.7186543345451355,
"start": 584,
"tag": "PASSWORD",
"value": "deadbeef"
}
] | networkmodule.coffee | JhonnyJason/service-sources-networkmodule | 0 | networkmodule = {name: "networkmodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["networkmodule"]? then console.log "[networkmodule]: " + arg
return
ostr = (obj) -> JSON.stringify(obj, null, 4)
olog = (obj) ->... | 8239 | networkmodule = {name: "networkmodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["networkmodule"]? then console.log "[networkmodule]: " + arg
return
ostr = (obj) -> JSON.stringify(obj, null, 4)
olog = (obj) ->... | true | networkmodule = {name: "networkmodule"}
############################################################
#region printLogFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["networkmodule"]? then console.log "[networkmodule]: " + arg
return
ostr = (obj) -> JSON.stringify(obj, null, 4)
olog = (obj) ->... |
[
{
"context": "ező mozgékonyságát (nem mehet 0 alá).\"\"\"\n \"Garven Dreis\":\n text: \"\"\"Fókusz felhasználás után á",
"end": 7495,
"score": 0.9877935647964478,
"start": 7483,
"tag": "NAME",
"value": "Garven Dreis"
},
{
"context": " Biggs is támadható helyette. [F... | coffeescripts/cards-hu.coffee | idavidka/xwing | 100 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.hu = 'Magyar'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.Magyar =
action:
"Barrel Roll": "Orsózás"
"Boost": "Gyorsítás"
"Evade": "Kitérés"
... | 18437 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.hu = 'Magyar'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.Magyar =
action:
"Barrel Roll": "Orsózás"
"Boost": "Gyorsítás"
"Evade": "Kitérés"
... | true | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.hu = 'Magyar'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.Magyar =
action:
"Barrel Roll": "Orsózás"
"Boost": "Gyorsítás"
"Evade": "Kitérés"
... |
[
{
"context": "/clementine Clementine Latin Vulgate\n# /almeida João Ferreira de Almeida - Portuguese\n# /rccv Romanian Corrected Cornile",
"end": 280,
"score": 0.994267463684082,
"start": 256,
"tag": "NAME",
"value": "João Ferreira de Almeida"
},
{
"context": "l /translation> <b... | src/bible-api.coffee | BrendanBerkley/hubot-bible-api | 1 | # Description:
# Access Tim Morgan's bible-api.com to display Bible passages
# Translations:
# /cherokee Cherokee New Testament
# /kjv King James Version
# /web World English Bible (default)
# /clementine Clementine Latin Vulgate
# /almeida João Ferreira de Almeida - Portuguese
# /rccv Romanian Correct... | 147413 | # Description:
# Access Tim Morgan's bible-api.com to display Bible passages
# Translations:
# /cherokee Cherokee New Testament
# /kjv King James Version
# /web World English Bible (default)
# /clementine Clementine Latin Vulgate
# /almeida <NAME> - Portuguese
# /rccv Romanian Corrected Cornilescu Vers... | true | # Description:
# Access Tim Morgan's bible-api.com to display Bible passages
# Translations:
# /cherokee Cherokee New Testament
# /kjv King James Version
# /web World English Bible (default)
# /clementine Clementine Latin Vulgate
# /almeida PI:NAME:<NAME>END_PI - Portuguese
# /rccv Romanian Corrected C... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999224543571472,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/services/standard_curve_chart_helper.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 178576 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "reserve\nBrauhaus.js Beer Calculator\nCopyright 2014 Daniel G. Taylor <danielgtaylor@gmail.com>\nhttps://github.com/home",
"end": 73,
"score": 0.9997240304946899,
"start": 57,
"tag": "NAME",
"value": "Daniel G. Taylor"
},
{
"context": " Beer Calculator\nCopyright 2014 D... | src/globals.coffee | Metgezel/brauhausjs | 94 | ###
@preserve
Brauhaus.js Beer Calculator
Copyright 2014 Daniel G. Taylor <danielgtaylor@gmail.com>
https://github.com/homebrewing/brauhausjs
###
# Hyperbolic tangent approximation
tanh = (number) ->
(Math.exp(number) - Math.exp(-number)) / (Math.exp(number) + Math.exp(-number))
# Create the base module so it works... | 68675 | ###
@preserve
Brauhaus.js Beer Calculator
Copyright 2014 <NAME> <<EMAIL>>
https://github.com/homebrewing/brauhausjs
###
# Hyperbolic tangent approximation
tanh = (number) ->
(Math.exp(number) - Math.exp(-number)) / (Math.exp(number) + Math.exp(-number))
# Create the base module so it works in both node.js and in br... | true | ###
@preserve
Brauhaus.js Beer Calculator
Copyright 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
https://github.com/homebrewing/brauhausjs
###
# Hyperbolic tangent approximation
tanh = (number) ->
(Math.exp(number) - Math.exp(-number)) / (Math.exp(number) + Math.exp(-number))
# Create the base module so it wo... |
[
{
"context": "ame = $('#displayName').val()\n username = $('#username').val()\n password = $('#password').val()",
"end": 1332,
"score": 0.7643212080001831,
"start": 1320,
"tag": "USERNAME",
"value": "$('#username"
},
{
"context": "e = $('#username').val()\n ... | client/src/header/header-view.coffee | Studyokee/studyokee-youtube | 0 | define [
'backbone',
'handlebars',
'jquery.ui.effect',
'bootstrap',
'templates'
], (Backbone, Handlebars) ->
HeaderView = Backbone.View.extend(
tagName: "header"
initialize: (options) ->
this.options = options
this.listenTo(this.model, 'change:classrooms', () =>
this.render... | 219274 | define [
'backbone',
'handlebars',
'jquery.ui.effect',
'bootstrap',
'templates'
], (Backbone, Handlebars) ->
HeaderView = Backbone.View.extend(
tagName: "header"
initialize: (options) ->
this.options = options
this.listenTo(this.model, 'change:classrooms', () =>
this.render... | true | define [
'backbone',
'handlebars',
'jquery.ui.effect',
'bootstrap',
'templates'
], (Backbone, Handlebars) ->
HeaderView = Backbone.View.extend(
tagName: "header"
initialize: (options) ->
this.options = options
this.listenTo(this.model, 'change:classrooms', () =>
this.render... |
[
{
"context": "###\nslizor\nhttps://github.com/charlesholbrow/slizor\n\nCopyright (c) 2013 Charles Holbrow\nLicens",
"end": 44,
"score": 0.9995195269584656,
"start": 30,
"tag": "USERNAME",
"value": "charlesholbrow"
},
{
"context": "thub.com/charlesholbrow/slizor\n\nCopyright (c) 2013 ... | Gruntfile.coffee | CharlesHolbrow/slizor | 1 | ###
slizor
https://github.com/charlesholbrow/slizor
Copyright (c) 2013 Charles Holbrow
Licensed under the MIT license.
###
module.exports = (grunt)->
'use strict'
_ = grunt.util._
path = require 'path'
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
coffeelint:
... | 17118 | ###
slizor
https://github.com/charlesholbrow/slizor
Copyright (c) 2013 <NAME>
Licensed under the MIT license.
###
module.exports = (grunt)->
'use strict'
_ = grunt.util._
path = require 'path'
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
coffeelint:
grun... | true | ###
slizor
https://github.com/charlesholbrow/slizor
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
module.exports = (grunt)->
'use strict'
_ = grunt.util._
path = require 'path'
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON('package.json')
coffeeli... |
[
{
"context": "se strict'\n\ndescribe 'two rows :', ->\n names = ['foo', 'bar', 'baz', 'qux']\n exts = ['txt', 'md', 'js",
"end": 55,
"score": 0.951512336730957,
"start": 52,
"tag": "NAME",
"value": "foo"
},
{
"context": "ct'\n\ndescribe 'two rows :', ->\n names = ['foo', 'bar', 'b... | test/rows/two.coffee | codekirei/columnize-array | 0 | 'use strict'
describe 'two rows :', ->
names = ['foo', 'bar', 'baz', 'qux']
exts = ['txt', 'md', 'js']
ar = []
names.forEach (name) ->
exts.forEach (ext) ->
ar.push name + '.' + ext
res = -> columnize ar
it 'strs', ->
expected =
[ 'foo.txt foo.js bar.md baz.txt baz.js qux.md'
... | 41804 | 'use strict'
describe 'two rows :', ->
names = ['<NAME>', '<NAME>', '<NAME>', '<NAME>x']
exts = ['txt', 'md', 'js']
ar = []
names.forEach (name) ->
exts.forEach (ext) ->
ar.push name + '.' + ext
res = -> columnize ar
it 'strs', ->
expected =
[ 'foo.txt foo.js bar.md baz.txt baz.... | true | 'use strict'
describe 'two rows :', ->
names = ['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PIx']
exts = ['txt', 'md', 'js']
ar = []
names.forEach (name) ->
exts.forEach (ext) ->
ar.push name + '.' + ext
res = -> columnize ar
it 'strs', ->
exp... |
[
{
"context": "orRegularMenu: 1\n spreadsheetIdForRegularMenu: '1AB-o8zKe9ybTGsxPFHU8Pky79eexhPnAnPUyV8OOQMw'\n reportPathForRegularMenu: '/tmp/recorded_clien",
"end": 128,
"score": 0.7832180261611938,
"start": 85,
"tag": "KEY",
"value": "AB-o8zKe9ybTGsxPFHU8Pky79eexhPnAnPUyV8OOQMw"
},
... | src/example_env.config.coffee | dezoxel/orders-aggregator | 1 | module.exports =
worksheetNumberForRegularMenu: 1
spreadsheetIdForRegularMenu: '1AB-o8zKe9ybTGsxPFHU8Pky79eexhPnAnPUyV8OOQMw'
reportPathForRegularMenu: '/tmp/recorded_clients_table.html'
worksheetNumberForDietMenu: 1
spreadsheetIdForDietMenu: '1md8WFO8ykmJx3BaC8k_SKr9h0yByTMzfvY5shuawreY'
reportPathForDiet... | 168198 | module.exports =
worksheetNumberForRegularMenu: 1
spreadsheetIdForRegularMenu: '1<KEY>'
reportPathForRegularMenu: '/tmp/recorded_clients_table.html'
worksheetNumberForDietMenu: 1
spreadsheetIdForDietMenu: '1<KEY>'
reportPathForDietMenu: '/tmp/recorded_clients_table_diet.html'
worksheetNumberForVeganMenu... | true | module.exports =
worksheetNumberForRegularMenu: 1
spreadsheetIdForRegularMenu: '1PI:KEY:<KEY>END_PI'
reportPathForRegularMenu: '/tmp/recorded_clients_table.html'
worksheetNumberForDietMenu: 1
spreadsheetIdForDietMenu: '1PI:KEY:<KEY>END_PI'
reportPathForDietMenu: '/tmp/recorded_clients_table_diet.html'
w... |
[
{
"context": ": text/plain; charset=UTF-8\n In-Reply-To: <84umizq7c4jtrew491brpa6iu-0@mailer.nylas.com>\n References: <84umizq7c4jtrew491brpa6iu-0",
"end": 1935,
"score": 0.999897837638855,
"start": 1891,
"tag": "EMAIL",
"value": "84umizq7c4jtrew491brpa6iu-0@mailer.nylas.com"
... | spec/message-spec.coffee | lever/nylas-nodejs | 0 | Nylas = require '../nylas'
NylasConnection = require '../nylas-connection'
Message = require '../models/message'
Label = require('../models/folder').Label
Promise = require 'bluebird'
request = require 'request'
_ = require 'underscore'
testUntil = (fn) ->
finished = false
runs ->
fn (callback) ->
finish... | 195231 | Nylas = require '../nylas'
NylasConnection = require '../nylas-connection'
Message = require '../models/message'
Label = require('../models/folder').Label
Promise = require 'bluebird'
request = require 'request'
_ = require 'underscore'
testUntil = (fn) ->
finished = false
runs ->
fn (callback) ->
finish... | true | Nylas = require '../nylas'
NylasConnection = require '../nylas-connection'
Message = require '../models/message'
Label = require('../models/folder').Label
Promise = require 'bluebird'
request = require 'request'
_ = require 'underscore'
testUntil = (fn) ->
finished = false
runs ->
fn (callback) ->
finish... |
[
{
"context": "r(owner, name, options)\n \n @foreignKey = \"#{name}Id\"\n owner.field @foreignKey, type: \"Id\"\n \n ",
"end": 177,
"score": 0.8616359829902649,
"start": 170,
"tag": "KEY",
"value": "name}Id"
}
] | src/tower/model/relation/belongsTo.coffee | ludicast/tower | 1 | class Tower.Model.Relation.BelongsTo extends Tower.Model.Relation
constructor: (owner, name, options = {}) ->
super(owner, name, options)
@foreignKey = "#{name}Id"
owner.field @foreignKey, type: "Id"
if @polymorphic
@foreignType = "#{name}Type"
owner.field @foreignType, type: "St... | 15984 | class Tower.Model.Relation.BelongsTo extends Tower.Model.Relation
constructor: (owner, name, options = {}) ->
super(owner, name, options)
@foreignKey = "#{<KEY>"
owner.field @foreignKey, type: "Id"
if @polymorphic
@foreignType = "#{name}Type"
owner.field @foreignType, type: "Stri... | true | class Tower.Model.Relation.BelongsTo extends Tower.Model.Relation
constructor: (owner, name, options = {}) ->
super(owner, name, options)
@foreignKey = "#{PI:KEY:<KEY>END_PI"
owner.field @foreignKey, type: "Id"
if @polymorphic
@foreignType = "#{name}Type"
owner.field @foreignType... |
[
{
"context": "example snippets, check out:\n# https://github.com/atom/language-javascript/blob/master/snippets/javascri",
"end": 73,
"score": 0.8384783864021301,
"start": 69,
"tag": "USERNAME",
"value": "atom"
},
{
"context": "Password for install tool\n INSTALL_PASSWORD = '$P$C... | snippets/language-typo3-env.cson | philicevic/language-typo3-env | 0 | # If you want some example snippets, check out:
# https://github.com/atom/language-javascript/blob/master/snippets/javascript.cson
'.source.env':
'TYPO3 .env':
'prefix': 'env'
'body': """
# .env file for TYPO3
# you can use the data of this file with the getenv() function
# Password for in... | 81255 | # If you want some example snippets, check out:
# https://github.com/atom/language-javascript/blob/master/snippets/javascript.cson
'.source.env':
'TYPO3 .env':
'prefix': 'env'
'body': """
# .env file for TYPO3
# you can use the data of this file with the getenv() function
# Password for in... | true | # If you want some example snippets, check out:
# https://github.com/atom/language-javascript/blob/master/snippets/javascript.cson
'.source.env':
'TYPO3 .env':
'prefix': 'env'
'body': """
# .env file for TYPO3
# you can use the data of this file with the getenv() function
# Password for in... |
[
{
"context": "dia (only difference is the prefix).\n # Code from Adam Barth.\n getUserMedia = navigator.mozGetUserMedia.bind(",
"end": 524,
"score": 0.9978609681129456,
"start": 514,
"tag": "NAME",
"value": "Adam Barth"
},
{
"context": " credential: password\n use... | client/code/app/utils/adapter.coffee | marufsiddiqui/vmux | 1 | if navigator.mozGetUserMedia
console.log "This appears to be Firefox"
webrtcDetectedBrowser = "firefox"
webrtcDetectedVersion = parseInt(navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1], 10)
# The RTCPeerConnection object.
RTCPeerConnection = mozRTCPeerConnection
# The RTCSessionDescription object.... | 68445 | if navigator.mozGetUserMedia
console.log "This appears to be Firefox"
webrtcDetectedBrowser = "firefox"
webrtcDetectedVersion = parseInt(navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1], 10)
# The RTCPeerConnection object.
RTCPeerConnection = mozRTCPeerConnection
# The RTCSessionDescription object.... | true | if navigator.mozGetUserMedia
console.log "This appears to be Firefox"
webrtcDetectedBrowser = "firefox"
webrtcDetectedVersion = parseInt(navigator.userAgent.match(/Firefox\/([0-9]+)\./)[1], 10)
# The RTCPeerConnection object.
RTCPeerConnection = mozRTCPeerConnection
# The RTCSessionDescription object.... |
[
{
"context": "524-11e8-a703-6c92bf7360cc\n spec:\n clusterIP: 10.0.0.238\n ports:\n - name: http-prometheus\n port",
"end": 588,
"score": 0.9995076060295105,
"start": 578,
"tag": "IP_ADDRESS",
"value": "10.0.0.238"
},
{
"context": ":\n secretKeyRef:\n ... | notes/f292014e-9d4c-441f-bcbe-3979b5a58e5e.cson | cwocwo/boostnote | 0 | createdAt: "2018-07-11T02:06:16.540Z"
updatedAt: "2018-09-22T03:34:48.889Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "icp"
content: '''
# icp
```
apiVersion: v1
kind: Service
metadata:
creationTimestamp: 2018-06-21T07:29:21Z
labels:
app: monitoring-prometheus
compon... | 6596 | createdAt: "2018-07-11T02:06:16.540Z"
updatedAt: "2018-09-22T03:34:48.889Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "icp"
content: '''
# icp
```
apiVersion: v1
kind: Service
metadata:
creationTimestamp: 2018-06-21T07:29:21Z
labels:
app: monitoring-prometheus
compon... | true | createdAt: "2018-07-11T02:06:16.540Z"
updatedAt: "2018-09-22T03:34:48.889Z"
type: "MARKDOWN_NOTE"
folder: "66dff0cfbfde06f3d2e8"
title: "icp"
content: '''
# icp
```
apiVersion: v1
kind: Service
metadata:
creationTimestamp: 2018-06-21T07:29:21Z
labels:
app: monitoring-prometheus
compon... |
[
{
"context": " sinon.stub().yields null\n @config = token: 'totally-secret-yo'\n @redis =\n get: sinon.stub()\n ",
"end": 532,
"score": 0.9965057373046875,
"start": 515,
"tag": "PASSWORD",
"value": "totally-secret-yo"
},
{
"context": "dDevice: @findCachedDevice... | test/lib/models/device-spec.coffee | CESARBR/knot-cloud-source | 4 | _ = require 'lodash'
bcrypt = require 'bcrypt'
moment = require 'moment'
Device = require '../../../lib/models/device'
TestDatabase = require '../../test-database'
describe 'Device', ->
beforeEach (done) ->
TestDatabase.open (error, database) =>
@database = database
@devices = @database.devices
... | 20443 | _ = require 'lodash'
bcrypt = require 'bcrypt'
moment = require 'moment'
Device = require '../../../lib/models/device'
TestDatabase = require '../../test-database'
describe 'Device', ->
beforeEach (done) ->
TestDatabase.open (error, database) =>
@database = database
@devices = @database.devices
... | true | _ = require 'lodash'
bcrypt = require 'bcrypt'
moment = require 'moment'
Device = require '../../../lib/models/device'
TestDatabase = require '../../test-database'
describe 'Device', ->
beforeEach (done) ->
TestDatabase.open (error, database) =>
@database = database
@devices = @database.devices
... |
[
{
"context": "v0.1.0\n\n\tMufasa.js é um framework desenvolvido por Jaykon Willian de Oliveira\n\n\tCopyright (C) 2015-2018 by Jaykon Willian de Ol",
"end": 92,
"score": 0.9998980760574341,
"start": 66,
"tag": "NAME",
"value": "Jaykon Willian de Oliveira"
},
{
"context": "n Willian d... | app/assets/js/microframe/Credits.coffee | jaykon-w/mufasa.js | 6 | ###
Mufasa.js v0.1.0
Mufasa.js é um framework desenvolvido por Jaykon Willian de Oliveira
Copyright (C) 2015-2018 by Jaykon Willian de Oliveira
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 Softw... | 177495 | ###
Mufasa.js v0.1.0
Mufasa.js é um framework desenvolvido por <NAME>
Copyright (C) 2015-2018 by <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including witho... | true | ###
Mufasa.js v0.1.0
Mufasa.js é um framework desenvolvido por PI:NAME:<NAME>END_PI
Copyright (C) 2015-2018 by PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without ... |
[
{
"context": "R or 'root'\nT_DB_PASS = process.env.T_DB_PASS or '1tism0db'\nT_DB_NAME = process.env.T_DB_NAME or 'Teresa'\n\nc",
"end": 195,
"score": 0.998287558555603,
"start": 187,
"tag": "PASSWORD",
"value": "1tism0db"
}
] | src/db.coffee | evanhuang8/teresa | 0 | path = require 'path'
sequelize = require 'sequelize'
T_DB_HOST = process.env.T_DB_HOST or 'localhost'
T_DB_USER = process.env.T_DB_USER or 'root'
T_DB_PASS = process.env.T_DB_PASS or '1tism0db'
T_DB_NAME = process.env.T_DB_NAME or 'Teresa'
client = new sequelize T_DB_NAME, T_DB_USER, T_DB_PASS,
host: T_DB_HOST
... | 156777 | path = require 'path'
sequelize = require 'sequelize'
T_DB_HOST = process.env.T_DB_HOST or 'localhost'
T_DB_USER = process.env.T_DB_USER or 'root'
T_DB_PASS = process.env.T_DB_PASS or '<PASSWORD>'
T_DB_NAME = process.env.T_DB_NAME or 'Teresa'
client = new sequelize T_DB_NAME, T_DB_USER, T_DB_PASS,
host: T_DB_HOST... | true | path = require 'path'
sequelize = require 'sequelize'
T_DB_HOST = process.env.T_DB_HOST or 'localhost'
T_DB_USER = process.env.T_DB_USER or 'root'
T_DB_PASS = process.env.T_DB_PASS or 'PI:PASSWORD:<PASSWORD>END_PI'
T_DB_NAME = process.env.T_DB_NAME or 'Teresa'
client = new sequelize T_DB_NAME, T_DB_USER, T_DB_PASS, ... |
[
{
"context": "\n #\n # {\n # name: \"Jack\",\n # friends: [\n # {n",
"end": 2878,
"score": 0.9997970461845398,
"start": 2874,
"tag": "NAME",
"value": "Jack"
},
{
"context": " # friends: [\n # {name: \... | src/instance.coffee | Tol1/transparency | 405 | _ = require '../lib/lodash.js'
{chainable} = helpers = require './helpers'
# Template **Instance** is created for each model we are about to render.
# `instance` object keeps track of template DOM nodes and elements.
# It memoizes the matching elements to `queryCache` in order to speed up the rendering.
module.e... | 18302 | _ = require '../lib/lodash.js'
{chainable} = helpers = require './helpers'
# Template **Instance** is created for each model we are about to render.
# `instance` object keeps track of template DOM nodes and elements.
# It memoizes the matching elements to `queryCache` in order to speed up the rendering.
module.e... | true | _ = require '../lib/lodash.js'
{chainable} = helpers = require './helpers'
# Template **Instance** is created for each model we are about to render.
# `instance` object keeps track of template DOM nodes and elements.
# It memoizes the matching elements to `queryCache` in order to speed up the rendering.
module.e... |
[
{
"context": " word:\n data: [\n {word: \"hello\", x: 1, y: 4},\n {word: \"goodbye\", x: 2",
"end": 4502,
"score": 0.9853086471557617,
"start": 4497,
"tag": "NAME",
"value": "hello"
},
{
"context": " {word: \"hello\", x: 1, y: 4},\n {wor... | test/PsyCloud.test.coffee | bbuchsbaum/psycloud | 0 | _ = Psy._
match = Psy.match
module("DataTable")
test 'can create a DataTable from a single record, and it has one row', ->
record = {a:1, b: 2, c: 3}
dt =new Psy.DataTable.fromRecords([record])
equal(dt.nrow(), 1)
test 'can create a DataTable from a two records, and it has two rows', ->
records = [{a:1, b: ... | 208705 | _ = Psy._
match = Psy.match
module("DataTable")
test 'can create a DataTable from a single record, and it has one row', ->
record = {a:1, b: 2, c: 3}
dt =new Psy.DataTable.fromRecords([record])
equal(dt.nrow(), 1)
test 'can create a DataTable from a two records, and it has two rows', ->
records = [{a:1, b: ... | true | _ = Psy._
match = Psy.match
module("DataTable")
test 'can create a DataTable from a single record, and it has one row', ->
record = {a:1, b: 2, c: 3}
dt =new Psy.DataTable.fromRecords([record])
equal(dt.nrow(), 1)
test 'can create a DataTable from a two records, and it has two rows', ->
records = [{a:1, b: ... |
[
{
"context": "ire(\"redis\")\nrc = redis.createClient()\n\n#rc.auth \"x3frgFyLaDH0oPVTMvDJHLUKBz8V+040\"\nminclient = 0\nclients = 50\n\nmulti = rc.multi()\n\n",
"end": 94,
"score": 0.5690819025039673,
"start": 62,
"tag": "KEY",
"value": "x3frgFyLaDH0oPVTMvDJHLUKBz8V+040"
},
{
"conte... | test/setup/deleteusers.coffee | SchoolOfFreelancing/SureSpot | 1 | redis = require("redis")
rc = redis.createClient()
#rc.auth "x3frgFyLaDH0oPVTMvDJHLUKBz8V+040"
minclient = 0
clients = 50
multi = rc.multi()
clean1up = (max ,i, done) ->
keys = []
multi.srem "u", "test#{i}"
keys.push "f:test#{i}"
keys.push "is:test#{i}"
keys.push "ir:test#{i}"
keys.push "m:test#{i}:test#... | 25810 | redis = require("redis")
rc = redis.createClient()
#rc.auth "<KEY>"
minclient = 0
clients = 50
multi = rc.multi()
clean1up = (max ,i, done) ->
keys = []
multi.srem "u", "test#{i}"
keys.push "<KEY>}"
keys.push "<KEY>}"
keys.push "<KEY>}"
keys.push "<KEY> + 1}:<KEY>"
keys.push "<KEY> + <KEY>}"
keys.pus... | true | redis = require("redis")
rc = redis.createClient()
#rc.auth "PI:KEY:<KEY>END_PI"
minclient = 0
clients = 50
multi = rc.multi()
clean1up = (max ,i, done) ->
keys = []
multi.srem "u", "test#{i}"
keys.push "PI:KEY:<KEY>END_PI}"
keys.push "PI:KEY:<KEY>END_PI}"
keys.push "PI:KEY:<KEY>END_PI}"
keys.push "PI:KE... |
[
{
"context": " [0..10].forEach => @model.sync.create name: 'bam'\n @response = @request.sync.post \"/res\", jso",
"end": 1850,
"score": 0.5387726426124573,
"start": 1847,
"tag": "NAME",
"value": "bam"
}
] | test/normal_schema/post/post_many.coffee | goodeggs/resource-schema | 3 | fibrous = require 'fibrous'
mongoose = require 'mongoose'
expect = require('chai').expect
{suite, given} = require '../../support/helpers'
ResourceSchema = require '../../..'
suite 'POST many', ({withModel, withServer}) ->
given 'valid post', ->
withModel (mongoose) ->
mongoose.Schema name: String
be... | 88888 | fibrous = require 'fibrous'
mongoose = require 'mongoose'
expect = require('chai').expect
{suite, given} = require '../../support/helpers'
ResourceSchema = require '../../..'
suite 'POST many', ({withModel, withServer}) ->
given 'valid post', ->
withModel (mongoose) ->
mongoose.Schema name: String
be... | true | fibrous = require 'fibrous'
mongoose = require 'mongoose'
expect = require('chai').expect
{suite, given} = require '../../support/helpers'
ResourceSchema = require '../../..'
suite 'POST many', ({withModel, withServer}) ->
given 'valid post', ->
withModel (mongoose) ->
mongoose.Schema name: String
be... |
[
{
"context": " = PS.FlyoutService\n\nunitData =\n 'names': [\n 'Conduit'\n 'Conduits'\n ]\n 'url': 'http://prismata",
"end": 104,
"score": 0.9059015512466431,
"start": 101,
"tag": "NAME",
"value": "Con"
},
{
"context": "rvice\n\nunitData =\n 'names': [\n 'Conduit'\n '... | spec/inject/unit_card_spec.coffee | Zequez/prismata-subreddit-extension | 1 | Unit = PS.Unit
UnitCard = PS.UnitCard
FlyoutService = PS.FlyoutService
unitData =
'names': [
'Conduit'
'Conduits'
]
'url': 'http://prismata.gamepedia.com/Conduit'
'panelUrl': 'http://hydra-media.cursecdn.com/prismata.gamepedia.com/9/9a/Conduit-panel.png'
describe 'UnitCard', ->
describe '#replacemen... | 75032 | Unit = PS.Unit
UnitCard = PS.UnitCard
FlyoutService = PS.FlyoutService
unitData =
'names': [
'<NAME>duit'
'<NAME>'
]
'url': 'http://prismata.gamepedia.com/Conduit'
'panelUrl': 'http://hydra-media.cursecdn.com/prismata.gamepedia.com/9/9a/Conduit-panel.png'
describe 'UnitCard', ->
describe '#replaceme... | true | Unit = PS.Unit
UnitCard = PS.UnitCard
FlyoutService = PS.FlyoutService
unitData =
'names': [
'PI:NAME:<NAME>END_PIduit'
'PI:NAME:<NAME>END_PI'
]
'url': 'http://prismata.gamepedia.com/Conduit'
'panelUrl': 'http://hydra-media.cursecdn.com/prismata.gamepedia.com/9/9a/Conduit-panel.png'
describe 'UnitCard... |
[
{
"context": " Tests for void-dom-elements-no-children\n# @author Joe Lencioni\n###\n\n'use strict'\n\n# ----------------------------",
"end": 83,
"score": 0.9998062252998352,
"start": 71,
"tag": "NAME",
"value": "Joe Lencioni"
}
] | src/tests/rules/void-dom-elements-no-children.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for void-dom-elements-no-children
# @author Joe Lencioni
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/r... | 7020 | ###*
# @fileoverview Tests for void-dom-elements-no-children
# @author <NAME>
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/v... | true | ###*
# @fileoverview Tests for void-dom-elements-no-children
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-rea... |
[
{
"context": "........\n when 'P_alphanumeric'\n $key = '^alphanumeric'\n if tree.ukids.T_lcletters? then",
"end": 9637,
"score": 0.9102160334587097,
"start": 9625,
"tag": "KEY",
"value": "alphanumeric"
},
{
"context": ".............\n when 'P_number'\n ... | dev/paragate/src/old-grammars/asciisorter.grammar.coffee | loveencounterflow/hengist | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
badge = 'PARAGATE/GRAMMARS/ASCIISORTER'
log = CND.get_logger 'plain', badge
info = CND.... | 139446 |
'use strict'
############################################################################################################
CND = require 'cnd'
badge = 'PARAGATE/GRAMMARS/ASCIISORTER'
log = CND.get_logger 'plain', badge
info = CND.... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
badge = 'PARAGATE/GRAMMARS/ASCIISORTER'
log = CND.get_logger 'plain', badge
info = CND.... |
[
{
"context": "ake half damage on physical attacks.\n *\n * @name Barbarian\n * @special Rage (The Barbarian gets Rage so the",
"end": 444,
"score": 0.8393206596374512,
"start": 435,
"tag": "NAME",
"value": "Barbarian"
},
{
"context": ".special.maximum = 100\n player.special.nam... | src/character/classes/Barbarian.coffee | sadbear-/IdleLands | 3 |
Class = require "./../base/Class"
`/**
* This class is a physically powerful class. Their Rage is a powerful force that drastically
* increases their STR. Rage is accumulated by taking damage and watching allies die. Each point of rage
* adds to the Barbarians damage multiplier. They have an overall reduction i... | 122364 |
Class = require "./../base/Class"
`/**
* This class is a physically powerful class. Their Rage is a powerful force that drastically
* increases their STR. Rage is accumulated by taking damage and watching allies die. Each point of rage
* adds to the Barbarians damage multiplier. They have an overall reduction i... | true |
Class = require "./../base/Class"
`/**
* This class is a physically powerful class. Their Rage is a powerful force that drastically
* increases their STR. Rage is accumulated by taking damage and watching allies die. Each point of rage
* adds to the Barbarians damage multiplier. They have an overall reduction i... |
[
{
"context": "ial portfolio with meaningful new therapies,” said Russell Cox, executive vice president and chief operating off",
"end": 3214,
"score": 0.9998604655265808,
"start": 3203,
"tag": "NAME",
"value": "Russell Cox"
}
] | test/cleaner.coffee | Falkirks/node-unfluff | 1,173 | suite 'Cleaner', ->
cleaner = require("../src/cleaner")
cheerio = require("cheerio")
test 'exists', ->
ok cleaner
test 'removes body classes', ->
html = fs.readFileSync("./fixtures/test_businessWeek1.html").toString()
origDoc = cheerio.load(html)
eq origDoc("body").attr("class").trim(), "maga... | 143100 | suite 'Cleaner', ->
cleaner = require("../src/cleaner")
cheerio = require("cheerio")
test 'exists', ->
ok cleaner
test 'removes body classes', ->
html = fs.readFileSync("./fixtures/test_businessWeek1.html").toString()
origDoc = cheerio.load(html)
eq origDoc("body").attr("class").trim(), "maga... | true | suite 'Cleaner', ->
cleaner = require("../src/cleaner")
cheerio = require("cheerio")
test 'exists', ->
ok cleaner
test 'removes body classes', ->
html = fs.readFileSync("./fixtures/test_businessWeek1.html").toString()
origDoc = cheerio.load(html)
eq origDoc("body").attr("class").trim(), "maga... |
[
{
"context": "tion for Backbone.Marionette\n#\n# Copyright (C)2012 Derick Bailey, Muted Solutions, LLC\n# Distributed Under MIT Lic",
"end": 108,
"score": 0.9998294115066528,
"start": 95,
"tag": "NAME",
"value": "Derick Bailey"
},
{
"context": "nd Full License Available at:\n# http:/... | client/mail/app.coffee | zhangcheng/bbclonemail-meteor | 1 | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 Derick Bailey, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.marionette
... | 11313 | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 <NAME>, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.marionette
# MailA... | true | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 PI:NAME:<NAME>END_PI, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.mario... |
[
{
"context": "n 1.0 modified on ${DATE} ${TIME}\n# Copyright©2012 Matt Ma Design\n# Senior Web Developer -- Matt Ma. ( matt@mattmad",
"end": 102,
"score": 0.9934083223342896,
"start": 88,
"tag": "NAME",
"value": "Matt Ma Design"
},
{
"context": "ight©2012 Matt Ma Design\n# Senior Web... | static/scripts/coffee/init.coffee | mattma/mvc-css | 1 | # Javascript for ProjectName
# Version 1.0 modified on ${DATE} ${TIME}
# Copyright©2012 Matt Ma Design
# Senior Web Developer -- Matt Ma. ( matt@mattmadesign.com )
# http://www.mattmadesign.com
# Use local alias
$ = jQuery
($ document).ready -> # DOM Ready Function
$.localScroll
target: 'body' # could be a select... | 180825 | # Javascript for ProjectName
# Version 1.0 modified on ${DATE} ${TIME}
# Copyright©2012 <NAME>
# Senior Web Developer -- <NAME>. ( <EMAIL> )
# http://www.mattmadesign.com
# Use local alias
$ = jQuery
($ document).ready -> # DOM Ready Function
$.localScroll
target: 'body' # could be a selector or a jQuery object t... | true | # Javascript for ProjectName
# Version 1.0 modified on ${DATE} ${TIME}
# Copyright©2012 PI:NAME:<NAME>END_PI
# Senior Web Developer -- PI:NAME:<NAME>END_PI. ( PI:EMAIL:<EMAIL>END_PI )
# http://www.mattmadesign.com
# Use local alias
$ = jQuery
($ document).ready -> # DOM Ready Function
$.localScroll
target: 'body'... |
[
{
"context": "export default (\n austin:\n id: 0\n email: 'austin@makes.audio'\n username: 'austin'\n)\n",
"end": 67,
"score": 0.9999111890792847,
"start": 49,
"tag": "EMAIL",
"value": "austin@makes.audio"
},
{
"context": " 0\n email: 'austin@makes.audio'\n username: ... | ui/src/fixtures/users.coffee | jozsefsallai/makes.audio | 4 | export default (
austin:
id: 0
email: 'austin@makes.audio'
username: 'austin'
)
| 161469 | export default (
austin:
id: 0
email: '<EMAIL>'
username: 'austin'
)
| true | export default (
austin:
id: 0
email: 'PI:EMAIL:<EMAIL>END_PI'
username: 'austin'
)
|
[
{
"context": "###:\n * @plugindesc Skip Title Plugin\n * @author Dan Yamamoto\n * @license MIT\n *\n####\n\nload_game = ->\n if Data",
"end": 61,
"score": 0.9998790621757507,
"start": 49,
"tag": "NAME",
"value": "Dan Yamamoto"
}
] | js/plugins/SkipTitle.coffee | dan5/tkoolmv | 1 | ###:
* @plugindesc Skip Title Plugin
* @author Dan Yamamoto
* @license MIT
*
####
load_game = ->
if DataManager.isAnySavefileExists()
DataManager.loadGame(1)
else
DataManager.setupNewGame()
Scene_Title::create = ->
Scene_Base::create.call this
Scene_Title::start = ->
Scene_Base::start.call this
... | 28910 | ###:
* @plugindesc Skip Title Plugin
* @author <NAME>
* @license MIT
*
####
load_game = ->
if DataManager.isAnySavefileExists()
DataManager.loadGame(1)
else
DataManager.setupNewGame()
Scene_Title::create = ->
Scene_Base::create.call this
Scene_Title::start = ->
Scene_Base::start.call this
load_... | true | ###:
* @plugindesc Skip Title Plugin
* @author PI:NAME:<NAME>END_PI
* @license MIT
*
####
load_game = ->
if DataManager.isAnySavefileExists()
DataManager.loadGame(1)
else
DataManager.setupNewGame()
Scene_Title::create = ->
Scene_Base::create.call this
Scene_Title::start = ->
Scene_Base::start.cal... |
[
{
"context": "le'\n\nner('You do not work for Apple in London, Mr. Anderson hello@anderson.com', apiKeys, {language: 'english",
"end": 113,
"score": 0.998551607131958,
"start": 105,
"tag": "NAME",
"value": "Anderson"
},
{
"context": "'You do not work for Apple in London, Mr. Anderson... | test/test.coffee | FranzSkuffka/ner-unifier | 0 | ner = require '..'
apiKeys = require './API_keys_module'
ner('You do not work for Apple in London, Mr. Anderson hello@anderson.com', apiKeys, {language: 'english'} ).then (res) ->
console.log()
console.log res
ner('Was ist denn in Stuttgart los, ich hoffe dass 3/4 der Leute bei Daimler arbeiten', apiKeys, {l... | 161975 | ner = require '..'
apiKeys = require './API_keys_module'
ner('You do not work for Apple in London, Mr. <NAME> <EMAIL>', apiKeys, {language: 'english'} ).then (res) ->
console.log()
console.log res
ner('Was ist denn in Stuttgart los, ich hoffe dass 3/4 der Leute bei Daimler arbeiten', apiKeys, {language: 'ger... | true | ner = require '..'
apiKeys = require './API_keys_module'
ner('You do not work for Apple in London, Mr. PI:NAME:<NAME>END_PI PI:EMAIL:<EMAIL>END_PI', apiKeys, {language: 'english'} ).then (res) ->
console.log()
console.log res
ner('Was ist denn in Stuttgart los, ich hoffe dass 3/4 der Leute bei Daimler arbeit... |
[
{
"context": "###\n @author Piyush Katariya\n###\n\n\n# Exceptions\n\nclass DataFormatError extends",
"end": 31,
"score": 0.9998812675476074,
"start": 16,
"tag": "NAME",
"value": "Piyush Katariya"
}
] | project/src/sql-compute.coffee | corporatepiyush/sql-compute | 1 | ###
@author Piyush Katariya
###
# Exceptions
class DataFormatError extends Error
constructor : (clause, requiredFormat) ->
@message = "The value of '#{clause}' should be of type #{requiredFormat}"
class DependancyError extends Error
constructor : (clause, requiredClause) ->
@message = "'#{require... | 221498 | ###
@author <NAME>
###
# Exceptions
class DataFormatError extends Error
constructor : (clause, requiredFormat) ->
@message = "The value of '#{clause}' should be of type #{requiredFormat}"
class DependancyError extends Error
constructor : (clause, requiredClause) ->
@message = "'#{requiredClause}'... | true | ###
@author PI:NAME:<NAME>END_PI
###
# Exceptions
class DataFormatError extends Error
constructor : (clause, requiredFormat) ->
@message = "The value of '#{clause}' should be of type #{requiredFormat}"
class DependancyError extends Error
constructor : (clause, requiredClause) ->
@message = "'#{re... |
[
{
"context": "localStorage.\n getLocationKey: (keyChar) ->\n \"vimiumMark|#{window.location.href.split('#')[0]}|#{keyChar}\"\n",
"end": 305,
"score": 0.9208801984786987,
"start": 294,
"tag": "KEY",
"value": "vimiumMark|"
},
{
"context": " \"vimiumMark|#{window.location.href.split... | content_scripts/marks.coffee | mrmr1993/vimium | 16 |
Marks =
previousPositionRegisters: [ "`", "'" ]
localRegisters: {}
mode: null
exit: (continuation = null) ->
@mode?.exit()
@mode = null
continuation?()
# This returns the key which is used for storing mark locations in localStorage.
getLocationKey: (keyChar) ->
"vimiumMark|#{window.locati... | 34062 |
Marks =
previousPositionRegisters: [ "`", "'" ]
localRegisters: {}
mode: null
exit: (continuation = null) ->
@mode?.exit()
@mode = null
continuation?()
# This returns the key which is used for storing mark locations in localStorage.
getLocationKey: (keyChar) ->
"<KEY>#{window.location.hre... | true |
Marks =
previousPositionRegisters: [ "`", "'" ]
localRegisters: {}
mode: null
exit: (continuation = null) ->
@mode?.exit()
@mode = null
continuation?()
# This returns the key which is used for storing mark locations in localStorage.
getLocationKey: (keyChar) ->
"PI:KEY:<KEY>END_PI#{window... |
[
{
"context": " <form id='login_form'>\n <label for='username'>Username</label>\n <input type='text' id",
"end": 639,
"score": 0.9923104047775269,
"start": 631,
"tag": "USERNAME",
"value": "username"
},
{
"context": " id='login_form'>\n <label for='usern... | app/_attachments/views/LoginView.coffee | ICTatRTI/coconut | 1 | class LoginView extends Backbone.View
el: '#content'
render: =>
@$el.html "
<style>
#login_wrapper{
font-size: 200%;
width:50%;
margin: 0px auto;
}
#login_message{
margin-top: 20px;
margin-bottom: 20px;
}
#login_f... | 119185 | class LoginView extends Backbone.View
el: '#content'
render: =>
@$el.html "
<style>
#login_wrapper{
font-size: 200%;
width:50%;
margin: 0px auto;
}
#login_message{
margin-top: 20px;
margin-bottom: 20px;
}
#login_f... | true | class LoginView extends Backbone.View
el: '#content'
render: =>
@$el.html "
<style>
#login_wrapper{
font-size: 200%;
width:50%;
margin: 0px auto;
}
#login_message{
margin-top: 20px;
margin-bottom: 20px;
}
#login_f... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9995391368865967,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "ORT + 1, \"localhost\"\npingPongTest common.PORT + 2, \"::1\" if common.hasIPv6\nprocess.on \... | test/simple/test-net-pingpong.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... | 125445 | # 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": " 1\n 2\n 3\n]\n# add a sub object\nperson:\n name: 'Alexander Schilling'\n job: 'Developer'\n# complex structure\ncomplex: ",
"end": 205,
"score": 0.9998775720596313,
"start": 186,
"tag": "NAME",
"value": "Alexander Schilling"
},
{
"context": "veloper'\n# complex s... | test/data/format.coffee | alinex/node-formatter | 0 | null: null
boolean: true
# include a string
string: 'test'
number: 5.6
date: '2016-05-10T19:06:36.909Z'
# and a list of numbers
list: [
1
2
3
]
# add a sub object
person:
name: 'Alexander Schilling'
job: 'Developer'
# complex structure
complex: [
{name: 'Egon'}
{name: 'Janina'}
]
# Multi-Line Strings! Wit... | 176112 | null: null
boolean: true
# include a string
string: 'test'
number: 5.6
date: '2016-05-10T19:06:36.909Z'
# and a list of numbers
list: [
1
2
3
]
# add a sub object
person:
name: '<NAME>'
job: 'Developer'
# complex structure
complex: [
{name: '<NAME>'}
{name: '<NAME>'}
]
# Multi-Line Strings! Without Quote ... | true | null: null
boolean: true
# include a string
string: 'test'
number: 5.6
date: '2016-05-10T19:06:36.909Z'
# and a list of numbers
list: [
1
2
3
]
# add a sub object
person:
name: 'PI:NAME:<NAME>END_PI'
job: 'Developer'
# complex structure
complex: [
{name: 'PI:NAME:<NAME>END_PI'}
{name: 'PI:NAME:<NAME>END_P... |
[
{
"context": "_stroage\n nbits : nbits\n }]\n userid : \"Alice Tester <alice@test.com>\"\n }\n await kbpgp.KeyManager.ge",
"end": 376,
"score": 0.9935243725776672,
"start": 364,
"tag": "NAME",
"value": "Alice Tester"
},
{
"context": " nbits : nbits\n }]\n userid : ... | test/files/gen.iced | AngelKey/Angelkey.nodeclient | 151 |
kbpgp = require 'kbpgp'
{make_esc} = require 'iced-error'
gen = (cb) ->
esc = make_esc cb, "gen"
F = kbpgp.const.openpgp.key_flags
nbits = 1024
args = {
primary : {
flags : F.certify_keys | F.sign_data | F.auth
nbits : nbits
}
subkeys : [{
flags : F.encrypt_comm | F.encrypt_stroa... | 88884 |
kbpgp = require 'kbpgp'
{make_esc} = require 'iced-error'
gen = (cb) ->
esc = make_esc cb, "gen"
F = kbpgp.const.openpgp.key_flags
nbits = 1024
args = {
primary : {
flags : F.certify_keys | F.sign_data | F.auth
nbits : nbits
}
subkeys : [{
flags : F.encrypt_comm | F.encrypt_stroa... | true |
kbpgp = require 'kbpgp'
{make_esc} = require 'iced-error'
gen = (cb) ->
esc = make_esc cb, "gen"
F = kbpgp.const.openpgp.key_flags
nbits = 1024
args = {
primary : {
flags : F.certify_keys | F.sign_data | F.auth
nbits : nbits
}
subkeys : [{
flags : F.encrypt_comm | F.encrypt_stroa... |
[
{
"context": "/////////////\n\n#\n# All equal\n#\nitems = [\n name: \"Alex\"\n email: \"hello@example.com\"\n year: 1980\n]\n\nent",
"end": 694,
"score": 0.9998034238815308,
"start": 690,
"tag": "NAME",
"value": "Alex"
},
{
"context": "\n# All equal\n#\nitems = [\n name: \"Alex\"... | test/test.coffee | cooperhewitt/node-entropy | 4 | entropy = require('../src/entropy')
should = require('should')
#
# Empty items
#
items = []
entropy.calculateEntropy items, ["name", "email", "year"], (entropy) ->
entropy.should.be.a('object')
entropy.should.have.property('name', 0)
entropy.should.have.property('email', 0)
entropy.should.have.property('year'... | 56250 | entropy = require('../src/entropy')
should = require('should')
#
# Empty items
#
items = []
entropy.calculateEntropy items, ["name", "email", "year"], (entropy) ->
entropy.should.be.a('object')
entropy.should.have.property('name', 0)
entropy.should.have.property('email', 0)
entropy.should.have.property('year'... | true | entropy = require('../src/entropy')
should = require('should')
#
# Empty items
#
items = []
entropy.calculateEntropy items, ["name", "email", "year"], (entropy) ->
entropy.should.be.a('object')
entropy.should.have.property('name', 0)
entropy.should.have.property('email', 0)
entropy.should.have.property('year'... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\n# If store item editor sta",
"end": 35,
"score": 0.9996968507766724,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/editor/outline-editor-item-state.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
# If store item editor state inside individual items then stores no
# longer need to manually update associated item sets. Instead they
# just set these flags (keyed by editor ID). In particular, there's
# no longer a need to update those sets when items are ad... | 204901 | # Copyright (c) 2015 <NAME>. All rights reserved.
# If store item editor state inside individual items then stores no
# longer need to manually update associated item sets. Instead they
# just set these flags (keyed by editor ID). In particular, there's
# no longer a need to update those sets when items are added/remo... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
# If store item editor state inside individual items then stores no
# longer need to manually update associated item sets. Instead they
# just set these flags (keyed by editor ID). In particular, there's
# no longer a need to update those sets when items ... |
[
{
"context": "ument')\n\nbasicObject = { id: \"users/tony\", name: \"Tony Heupel\" }\ndoc = Document.fromObject(basicObject)\n\nmodule",
"end": 143,
"score": 0.9998207092285156,
"start": 132,
"tag": "NAME",
"value": "Tony Heupel"
}
] | src/tests/document-test.coffee | quameleon/node-ravendb | 2 | testino = require('testino')
assert = require('assert')
Document = require('../document')
basicObject = { id: "users/tony", name: "Tony Heupel" }
doc = Document.fromObject(basicObject)
module.exports = documentOperations = testino.createFixture('Document Operations')
documentOperations.tests =
"Document.fromObject ... | 82167 | testino = require('testino')
assert = require('assert')
Document = require('../document')
basicObject = { id: "users/tony", name: "<NAME>" }
doc = Document.fromObject(basicObject)
module.exports = documentOperations = testino.createFixture('Document Operations')
documentOperations.tests =
"Document.fromObject resul... | true | testino = require('testino')
assert = require('assert')
Document = require('../document')
basicObject = { id: "users/tony", name: "PI:NAME:<NAME>END_PI" }
doc = Document.fromObject(basicObject)
module.exports = documentOperations = testino.createFixture('Document Operations')
documentOperations.tests =
"Document.fr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.