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": "sis Q49\n# - Data sliders on Oxygen 61\n#\n# 2014, Micah Elizabeth Scott & Keroserene\n#\n\nparseArgs = require 'minimist'\nmi",
"end": 801,
"score": 0.9998571872711182,
"start": 780,
"tag": "NAME",
"value": "Micah Elizabeth Scott"
},
{
"context": "ers on Oxygen 61\n... | examples/node/midi_particles.coffee | linenoise/fadecandy | 0 | #!/usr/bin/env coffee
#
# Particle system, playable with a MIDI keyboard!
#
# Dependencies: run `npm install` in this directory.
#
# Command line options:
#
# --midiport <int> Use a different MIDI port. Defaults to zero.
# --layout <file> Pick a JSON layout file. Defaults to grid32x16z
# --opc... | 144472 | #!/usr/bin/env coffee
#
# Particle system, playable with a MIDI keyboard!
#
# Dependencies: run `npm install` in this directory.
#
# Command line options:
#
# --midiport <int> Use a different MIDI port. Defaults to zero.
# --layout <file> Pick a JSON layout file. Defaults to grid32x16z
# --opc... | true | #!/usr/bin/env coffee
#
# Particle system, playable with a MIDI keyboard!
#
# Dependencies: run `npm install` in this directory.
#
# Command line options:
#
# --midiport <int> Use a different MIDI port. Defaults to zero.
# --layout <file> Pick a JSON layout file. Defaults to grid32x16z
# --opc... |
[
{
"context": " return next err if err\n username = _username\n next()\n\n (next) ->\n context",
"end": 913,
"score": 0.8843011856079102,
"start": 904,
"tag": "USERNAME",
"value": "_username"
},
{
"context": " next()\n\n (next) ->\n ... | servers/lib/server/handlers/api/gitlab/user.coffee | lionheart1022/koding | 0 | hat = require 'hat'
async = require 'async'
KONFIG = require 'koding-config-manager'
apiErrors = require '../errors'
{ handleUsername } = require '../helpers'
GenericHandler = require './generichandler'
module.exports = class User extends GenericHandler
# event user_create
@create = (data, callback = -> ) ->
... | 71004 | hat = require 'hat'
async = require 'async'
KONFIG = require 'koding-config-manager'
apiErrors = require '../errors'
{ handleUsername } = require '../helpers'
GenericHandler = require './generichandler'
module.exports = class User extends GenericHandler
# event user_create
@create = (data, callback = -> ) ->
... | true | hat = require 'hat'
async = require 'async'
KONFIG = require 'koding-config-manager'
apiErrors = require '../errors'
{ handleUsername } = require '../helpers'
GenericHandler = require './generichandler'
module.exports = class User extends GenericHandler
# event user_create
@create = (data, callback = -> ) ->
... |
[
{
"context": "/doorman')\n .respond 200, {id: '123abc'}\n $httpBackend.expectGET '/doorman'\n\n",
"end": 721,
"score": 0.4420824348926544,
"start": 718,
"tag": "KEY",
"value": "abc"
},
{
"context": "e.property 'id'\n user.id.should.equal '123abc'\... | src/client/authorization/authorization-service_test.coffee | RupertJS/rupert-doorman | 0 | describe 'Doorman Authorization', ->
beforeEach module 'rupert.doorman.authorization'
it 'exposes $authorization', inject ($authorization)->
should.exist $authorization
it 'exposes IsLoggedIn', inject (IsLoggedIn)->
should.exist IsLoggedIn
describe 'IsLoggedIn', ->
$httpBacken... | 128599 | describe 'Doorman Authorization', ->
beforeEach module 'rupert.doorman.authorization'
it 'exposes $authorization', inject ($authorization)->
should.exist $authorization
it 'exposes IsLoggedIn', inject (IsLoggedIn)->
should.exist IsLoggedIn
describe 'IsLoggedIn', ->
$httpBacken... | true | describe 'Doorman Authorization', ->
beforeEach module 'rupert.doorman.authorization'
it 'exposes $authorization', inject ($authorization)->
should.exist $authorization
it 'exposes IsLoggedIn', inject (IsLoggedIn)->
should.exist IsLoggedIn
describe 'IsLoggedIn', ->
$httpBacken... |
[
{
"context": "#\n# @author Daryl Roberts\n# @license MIT\n#\n\n# This silly line is the requir",
"end": 25,
"score": 0.9998579025268555,
"start": 12,
"tag": "NAME",
"value": "Daryl Roberts"
}
] | public/javascript/catbus.coffee | sorahn/catbus | 0 | #
# @author Daryl Roberts
# @license MIT
#
# This silly line is the require line and the jQuery function start
define 'doc', ->
return document
define ['jquery', 'doc'], ($, doc) ->
# jQuery Object References
$body =
$catbus =
$catbusTail =
$clickables = {}
# Local storag... | 152902 | #
# @author <NAME>
# @license MIT
#
# This silly line is the require line and the jQuery function start
define 'doc', ->
return document
define ['jquery', 'doc'], ($, doc) ->
# jQuery Object References
$body =
$catbus =
$catbusTail =
$clickables = {}
# Local storage const... | true | #
# @author PI:NAME:<NAME>END_PI
# @license MIT
#
# This silly line is the require line and the jQuery function start
define 'doc', ->
return document
define ['jquery', 'doc'], ($, doc) ->
# jQuery Object References
$body =
$catbus =
$catbusTail =
$clickables = {}
# Local... |
[
{
"context": "lter.\n unless key in ['status']\n for sign in ['=",
"end": 11868,
"score": 0.7259973287582397,
"start": 11862,
"tag": "KEY",
"value": "status"
}
] | src/evesrp/static/js/filter.coffee | paxswill/evesrp | 17 | jQuery = require 'jquery'
_ = require 'underscore'
require 'selectize'
ui = require 'evesrp/common-ui'
optionTemplate = require 'evesrp/templates/filter_option'
itemTemplate = require 'evesrp/templates/filter_item'
detailsTemplate = require 'evesrp/templates/filter_create'
getAttributeChoices = (attribute) ->
if ... | 191537 | jQuery = require 'jquery'
_ = require 'underscore'
require 'selectize'
ui = require 'evesrp/common-ui'
optionTemplate = require 'evesrp/templates/filter_option'
itemTemplate = require 'evesrp/templates/filter_item'
detailsTemplate = require 'evesrp/templates/filter_create'
getAttributeChoices = (attribute) ->
if ... | true | jQuery = require 'jquery'
_ = require 'underscore'
require 'selectize'
ui = require 'evesrp/common-ui'
optionTemplate = require 'evesrp/templates/filter_option'
itemTemplate = require 'evesrp/templates/filter_item'
detailsTemplate = require 'evesrp/templates/filter_create'
getAttributeChoices = (attribute) ->
if ... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9761883020401001,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/clientFilePage/planTab/statusButtonGroup.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Presentational component for plan section or target status buttons
Term = require '../../term'
load = (win) ->
$ ... | 116931 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Presentational component for plan section or target status buttons
Term = require '../../term'
load = (win) ->
$ ... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Presentational component for plan section or target status buttons
Term = require '../../term'
load ... |
[
{
"context": "###\r\n @author Gilles Gerlinger\r\n Copyright 2015. All rights reserved.\r\n###\r\n\r\ni",
"end": 31,
"score": 0.999863862991333,
"start": 15,
"tag": "NAME",
"value": "Gilles Gerlinger"
}
] | src/fetch.coffee | gigerlin/easyRPC | 1 | ###
@author Gilles Gerlinger
Copyright 2015. All rights reserved.
###
if typeof window is 'object' then Promise = window.Promise or require './promise' # for Safari & IE
class Response
constructor: (@data, @ok = true) ->
json: -> JSON.parse @data
module.exports = fetch = (uri, options) ->
# con... | 109522 | ###
@author <NAME>
Copyright 2015. All rights reserved.
###
if typeof window is 'object' then Promise = window.Promise or require './promise' # for Safari & IE
class Response
constructor: (@data, @ok = true) ->
json: -> JSON.parse @data
module.exports = fetch = (uri, options) ->
# console.log '... | true | ###
@author PI:NAME:<NAME>END_PI
Copyright 2015. All rights reserved.
###
if typeof window is 'object' then Promise = window.Promise or require './promise' # for Safari & IE
class Response
constructor: (@data, @ok = true) ->
json: -> JSON.parse @data
module.exports = fetch = (uri, options) ->
#... |
[
{
"context": "or\n @regMissing(funcOpts)\n funcNameKey = \"@#{funcName}\"\n unless log_db.get(funcNameKey)?.value?()?\n ",
"end": 1890,
"score": 0.9902746081352234,
"start": 1876,
"tag": "KEY",
"value": "\"@#{funcName}\""
}
] | analyze/prepare.coffee | Tostig0916/hqcoffee | 2 | # 设置无数据回复,尝试过用NaN似乎不对
nil = null # NaN
class DataManagerBase
@ratio: (startV, endV, n) ->
if convinient = true
# 便于评分,保持正数
Math.pow(endV/startV, 1/n)
else
100 * Math.pow(endV/startV, 1/n) - 100
# read data from dictionary or a stormdb item (只要数据库格式不变,程序其他部分任意改变都不影响)
# funcOpts shou... | 215493 | # 设置无数据回复,尝试过用NaN似乎不对
nil = null # NaN
class DataManagerBase
@ratio: (startV, endV, n) ->
if convinient = true
# 便于评分,保持正数
Math.pow(endV/startV, 1/n)
else
100 * Math.pow(endV/startV, 1/n) - 100
# read data from dictionary or a stormdb item (只要数据库格式不变,程序其他部分任意改变都不影响)
# funcOpts shou... | true | # 设置无数据回复,尝试过用NaN似乎不对
nil = null # NaN
class DataManagerBase
@ratio: (startV, endV, n) ->
if convinient = true
# 便于评分,保持正数
Math.pow(endV/startV, 1/n)
else
100 * Math.pow(endV/startV, 1/n) - 100
# read data from dictionary or a stormdb item (只要数据库格式不变,程序其他部分任意改变都不影响)
# funcOpts shou... |
[
{
"context": "# Simple state machine, based on coffee-machine by Stephen https://github.com/stephenb\n\nclass @StateMachine\n",
"end": 58,
"score": 0.9983479976654053,
"start": 51,
"tag": "NAME",
"value": "Stephen"
},
{
"context": "d on coffee-machine by Stephen https://github.com/st... | lib/statemachine.coffee | pjotrp/heyu-run | 1 | # Simple state machine, based on coffee-machine by Stephen https://github.com/stephenb
class @StateMachine
constructor: (@sm = {states:{}, events:{}}) ->
this.create(@sm)
create: (@sm = {states:{}, events:{}}) ->
if @sm.states.constructor.toString().indexOf('Array') isnt -1
# Array initialization... | 170869 | # Simple state machine, based on coffee-machine by <NAME> https://github.com/stephenb
class @StateMachine
constructor: (@sm = {states:{}, events:{}}) ->
this.create(@sm)
create: (@sm = {states:{}, events:{}}) ->
if @sm.states.constructor.toString().indexOf('Array') isnt -1
# Array initialization
... | true | # Simple state machine, based on coffee-machine by PI:NAME:<NAME>END_PI https://github.com/stephenb
class @StateMachine
constructor: (@sm = {states:{}, events:{}}) ->
this.create(@sm)
create: (@sm = {states:{}, events:{}}) ->
if @sm.states.constructor.toString().indexOf('Array') isnt -1
# Array i... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7775601148605347,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | src/sk/spec.coffee | phillipb/Bible-Passage-Reference-Parser | 149 | bcv_parser = require("../../js/sk_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 181466 | bcv_parser = require("../../js/sk_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/sk_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "n(\", \") %> license \\n\\n' +\n ' * Modified by Artyom \"Sleepwalker\" Fedosov <mail@asleepwalker.ru> */\\n\\n'\n\n #",
"end": 639,
"score": 0.9769363403320312,
"start": 620,
"tag": "NAME",
"value": "Artyom \"Sleepwalker"
},
{
"context": "\\n' +\n ... | Gruntfile.coffee | asleepwalker/tinyscrollbar | 0 | module.exports = ( grunt ) ->
grunt.initConfig
pkg : grunt.file.readJSON "package.json"
# Banner we want to show above the minified js files.
#
banner : '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n ' +
... | 119693 | module.exports = ( grunt ) ->
grunt.initConfig
pkg : grunt.file.readJSON "package.json"
# Banner we want to show above the minified js files.
#
banner : '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n ' +
... | true | module.exports = ( grunt ) ->
grunt.initConfig
pkg : grunt.file.readJSON "package.json"
# Banner we want to show above the minified js files.
#
banner : '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
'<%= grunt.template.today("yyyy-mm-dd") %>\n ' +
... |
[
{
"context": "Account:\n voipAccount: 'abc'\n voipPwd: '123'\n subToken: 'afasd'\n subAccountSid: 'fa",
"end": 443,
"score": 0.9992734789848328,
"start": 440,
"tag": "PASSWORD",
"value": "123"
},
{
"context": "ount: 'abc'\n voipPwd: '123'\n subToken: 'af... | talk-api2x/test/servers/rly.coffee | ikingye/talk-os | 3,084 | express = require 'express'
Err = require 'err1st'
app = express()
callResults =
'16031610490641240001030600108079':
statusCode: '000000'
CallResult:
state: '1'
callTime: '8'
'1603161049064124000103060010807a':
statusCode: '000000'
CallResult:
state: '1'
callTime: '17'
app... | 189877 | express = require 'express'
Err = require 'err1st'
app = express()
callResults =
'16031610490641240001030600108079':
statusCode: '000000'
CallResult:
state: '1'
callTime: '8'
'1603161049064124000103060010807a':
statusCode: '000000'
CallResult:
state: '1'
callTime: '17'
app... | true | express = require 'express'
Err = require 'err1st'
app = express()
callResults =
'16031610490641240001030600108079':
statusCode: '000000'
CallResult:
state: '1'
callTime: '8'
'1603161049064124000103060010807a':
statusCode: '000000'
CallResult:
state: '1'
callTime: '17'
app... |
[
{
"context": "THE ATTRIBUTES\n # ---------------------\n name: 'TESTY MCTESTYPANTS'\n level: 15\n health: 6\n clash: 5\n presentatio",
"end": 218,
"score": 0.99978107213974,
"start": 200,
"tag": "NAME",
"value": "TESTY MCTESTYPANTS"
}
] | src/js/testmode-conf.coffee | Huntrr/Battle-Resolution | 0 | module.exports =
# ---------------------
# SET TRUE WHEN TESTING
# ---------------------
enabled: false
# ---------------------
# DEFINE THE ATTRIBUTES
# ---------------------
name: 'TESTY MCTESTYPANTS'
level: 15
health: 6
clash: 5
presentation: 6
organization: 5
civility: 5
cross: 5
#... | 143090 | module.exports =
# ---------------------
# SET TRUE WHEN TESTING
# ---------------------
enabled: false
# ---------------------
# DEFINE THE ATTRIBUTES
# ---------------------
name: '<NAME>'
level: 15
health: 6
clash: 5
presentation: 6
organization: 5
civility: 5
cross: 5
# -----------... | true | module.exports =
# ---------------------
# SET TRUE WHEN TESTING
# ---------------------
enabled: false
# ---------------------
# DEFINE THE ATTRIBUTES
# ---------------------
name: 'PI:NAME:<NAME>END_PI'
level: 15
health: 6
clash: 5
presentation: 6
organization: 5
civility: 5
cross: 5
... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998863339424133,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/DependencyInjection/ServiceDefinition.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
ServiceArgument = use('@Konsserto/Component/DependencyInjection/ServiceArgument')
# Se... | 128299 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
ServiceArgument = use('@Konsserto/Component/DependencyInjection/ServiceArgument')
# ServiceDefinition
#
# ... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
ServiceArgument = use('@Konsserto/Component/DependencyInjection/ServiceArgumen... |
[
{
"context": "#################\n# Copyright (C) 2014-2017 by Vaughn Iverson\n# fileCollection is free software released un",
"end": 124,
"score": 0.9997760057449341,
"start": 110,
"tag": "NAME",
"value": "Vaughn Iverson"
}
] | src/server_shared.coffee | swiftcourt/meteor-file-collection | 0 | ############################################################################
# Copyright (C) 2014-2017 by Vaughn Iverson
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################... | 20780 | ############################################################################
# Copyright (C) 2014-2017 by <NAME>
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
import... | true | ############################################################################
# Copyright (C) 2014-2017 by PI:NAME:<NAME>END_PI
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
######################################################################... |
[
{
"context": " streamingPls\nassert.equal tracks[1].uri, 'http://94.23.216.58:8000', 'Failed to find the correct file'\nassert.e",
"end": 223,
"score": 0.9994895458221436,
"start": 211,
"tag": "IP_ADDRESS",
"value": "94.23.216.58"
}
] | test/index.coffee | mdp/pls | 1 | assert = require 'assert'
pls = require '../index'
fs = require 'fs'
streamingPls = fs.readFileSync './test/fixtures/streaming.pls', 'utf-8'
tracks = pls.parse streamingPls
assert.equal tracks[1].uri, 'http://94.23.216.58:8000', 'Failed to find the correct file'
assert.equal tracks[1].length, -1, 'Wrong length'
dosP... | 208715 | assert = require 'assert'
pls = require '../index'
fs = require 'fs'
streamingPls = fs.readFileSync './test/fixtures/streaming.pls', 'utf-8'
tracks = pls.parse streamingPls
assert.equal tracks[1].uri, 'http://192.168.3.11:8000', 'Failed to find the correct file'
assert.equal tracks[1].length, -1, 'Wrong length'
dosP... | true | assert = require 'assert'
pls = require '../index'
fs = require 'fs'
streamingPls = fs.readFileSync './test/fixtures/streaming.pls', 'utf-8'
tracks = pls.parse streamingPls
assert.equal tracks[1].uri, 'http://PI:IP_ADDRESS:192.168.3.11END_PI:8000', 'Failed to find the correct file'
assert.equal tracks[1].length, -1, ... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nOutlineEditorFocusElement ",
"end": 35,
"score": 0.9997197985649109,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/editor/outline-editor-element.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
OutlineEditorFocusElement = require './outline-editor-focus-element'
AttributedString = require '../core/attributed-string'
ItemSerializer = require '../core/item-serializer'
EventRegistery = require './event-registery'
ItemRenderer = require './item-renderer'
... | 175692 | # Copyright (c) 2015 <NAME>. All rights reserved.
OutlineEditorFocusElement = require './outline-editor-focus-element'
AttributedString = require '../core/attributed-string'
ItemSerializer = require '../core/item-serializer'
EventRegistery = require './event-registery'
ItemRenderer = require './item-renderer'
Constant... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
OutlineEditorFocusElement = require './outline-editor-focus-element'
AttributedString = require '../core/attributed-string'
ItemSerializer = require '../core/item-serializer'
EventRegistery = require './event-registery'
ItemRenderer = require './item-rend... |
[
{
"context": " having the source jumly code.\n###\n_mkey = \"jumly\" # meta data key\n\n_eval = ($src, opts)->\n me",
"end": 1709,
"score": 0.6790981292724609,
"start": 1708,
"tag": "KEY",
"value": "j"
}
] | lib/js/api.coffee | diasbruno/jumly | 255 | ###
Some public APIs which are experimental
###
_type = "text/jumly+sequence"
_t2l = # type 2 logic
"text/jumly+sequence":
builder: require "SequenceDiagramBuilder.coffee"
layout: require "SequenceDiagramLayout.coffee"
"text/jumly+robustness":
builder: require "RobustnessDiagramBuilder.coffee"
la... | 149998 | ###
Some public APIs which are experimental
###
_type = "text/jumly+sequence"
_t2l = # type 2 logic
"text/jumly+sequence":
builder: require "SequenceDiagramBuilder.coffee"
layout: require "SequenceDiagramLayout.coffee"
"text/jumly+robustness":
builder: require "RobustnessDiagramBuilder.coffee"
la... | true | ###
Some public APIs which are experimental
###
_type = "text/jumly+sequence"
_t2l = # type 2 logic
"text/jumly+sequence":
builder: require "SequenceDiagramBuilder.coffee"
layout: require "SequenceDiagramLayout.coffee"
"text/jumly+robustness":
builder: require "RobustnessDiagramBuilder.coffee"
la... |
[
{
"context": "quire './helpers.coffee'\n\n# Variables\ngameName = \"Platformer\"\ngamePort = 1337 # A port for testing\n# TODO: dev",
"end": 127,
"score": 0.9823322296142578,
"start": 117,
"tag": "NAME",
"value": "Platformer"
}
] | server.coffee | gabrielecirulli/platformer-game | 3 | express = require 'express'
sock = require 'socket.io'
helpers = require './helpers.coffee'
# Variables
gameName = "Platformer"
gamePort = 1337 # A port for testing
# TODO: development/production environments and configuration
# Express
# Make server
app = do express.createServer
# Set up static files, coffee and le... | 92768 | express = require 'express'
sock = require 'socket.io'
helpers = require './helpers.coffee'
# Variables
gameName = "<NAME>"
gamePort = 1337 # A port for testing
# TODO: development/production environments and configuration
# Express
# Make server
app = do express.createServer
# Set up static files, coffee and less
c... | true | express = require 'express'
sock = require 'socket.io'
helpers = require './helpers.coffee'
# Variables
gameName = "PI:NAME:<NAME>END_PI"
gamePort = 1337 # A port for testing
# TODO: development/production environments and configuration
# Express
# Make server
app = do express.createServer
# Set up static files, cof... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998868703842163,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/base/location.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 90653 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": " authenticate: ({login, password}) -> login is 'admin'\n return new Promise (resolve, reject) ->\n",
"end": 4113,
"score": 0.991828978061676,
"start": 4108,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "mit 'MSG', {type: 'LOGIN_REQUEST', data: {login: 'p... | packages/storyboard-listener-ws-server/test/11-wsServerListener.coffee | guigrpa/storyboard | 743 | Promise = require 'bluebird'
http = require 'http'
socketio = require 'socket.io-client'
{removeListener, removeAllListeners, addListener, config, chalk, mainStory} = require 'storyboard'
wsServerListener = require('../lib').default
WS_NAMESPACE = '/STORYBOARD'
#-====================================================
#... | 152764 | Promise = require 'bluebird'
http = require 'http'
socketio = require 'socket.io-client'
{removeListener, removeAllListeners, addListener, config, chalk, mainStory} = require 'storyboard'
wsServerListener = require('../lib').default
WS_NAMESPACE = '/STORYBOARD'
#-====================================================
#... | true | Promise = require 'bluebird'
http = require 'http'
socketio = require 'socket.io-client'
{removeListener, removeAllListeners, addListener, config, chalk, mainStory} = require 'storyboard'
wsServerListener = require('../lib').default
WS_NAMESPACE = '/STORYBOARD'
#-====================================================
#... |
[
{
"context": "##!\n Presets for jQuery rondell plugin\n\n @author Sebastian Helzle (sebastian@helzle.net or @sebobo)\n @category jQu",
"end": 68,
"score": 0.9998878240585327,
"start": 52,
"tag": "NAME",
"value": "Sebastian Helzle"
},
{
"context": "Query rondell plugin\n\n @author... | public/jquery.rondell-master/src/coffee/rondellPresets.coffee | Cassandra17/NAbuy | 9 | ###!
Presets for jQuery rondell plugin
@author Sebastian Helzle (sebastian@helzle.net or @sebobo)
@category jQuery plugin
@copyright (c) 2009-2013 Sebastian Helzle (www.sebastianhelzle.net)
@license Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
###
(($) ->
$.rondell ... | 101387 | ###!
Presets for jQuery rondell plugin
@author <NAME> (<EMAIL> or @sebobo)
@category jQuery plugin
@copyright (c) 2009-2013 <NAME> (www.sebastianhelzle.net)
@license Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
###
(($) ->
$.rondell ||= {}
$.rondell.presets =
... | true | ###!
Presets for jQuery rondell plugin
@author PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI or @sebobo)
@category jQuery plugin
@copyright (c) 2009-2013 PI:NAME:<NAME>END_PI (www.sebastianhelzle.net)
@license Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license.
###
(($) ->
... |
[
{
"context": "elp with running tests\n#\n# Copyright (C) 2012-2013 Nikolay Nemshilov\n#\n\nfind_arg = ->\n args = arguments[0]\n\n for ",
"end": 104,
"score": 0.9998911619186401,
"start": 87,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/commands/test.coffee | lovely-io/lovely.io-stl | 2 | #
# A little wrapper over mocha to help with running tests
#
# Copyright (C) 2012-2013 Nikolay Nemshilov
#
find_arg = ->
args = arguments[0]
for i in [1..arguments.length]
if args.indexOf(arguments[i]) > -1
return args[args.indexOf(arguments[i]) + 1]
read_dir = (name, files=[])->
fs = require('... | 20695 | #
# A little wrapper over mocha to help with running tests
#
# Copyright (C) 2012-2013 <NAME>
#
find_arg = ->
args = arguments[0]
for i in [1..arguments.length]
if args.indexOf(arguments[i]) > -1
return args[args.indexOf(arguments[i]) + 1]
read_dir = (name, files=[])->
fs = require('fs')
fs.... | true | #
# A little wrapper over mocha to help with running tests
#
# Copyright (C) 2012-2013 PI:NAME:<NAME>END_PI
#
find_arg = ->
args = arguments[0]
for i in [1..arguments.length]
if args.indexOf(arguments[i]) > -1
return args[args.indexOf(arguments[i]) + 1]
read_dir = (name, files=[])->
fs = requir... |
[
{
"context": "name: 'Janet'\nscopeName: 'source.janet'\ntype: 'tree-sitter'\npa",
"end": 12,
"score": 0.9948328733444214,
"start": 7,
"tag": "NAME",
"value": "Janet"
}
] | grammars/tree-sitter-janet.cson | GrayJack/language-janet | 5 | name: 'Janet'
scopeName: 'source.janet'
type: 'tree-sitter'
parser: 'tree-sitter-janet'
fileTypes: [
'janet'
'jpm'
]
comments:
start: '# '
folds: [
{
start: {index: 0, type: '{'}
end: {index: -1, type: '}'}
}
{
start: {index: 0, type: '['}
end: {index: -1, type: ']'}
}
{
start: {i... | 147704 | name: '<NAME>'
scopeName: 'source.janet'
type: 'tree-sitter'
parser: 'tree-sitter-janet'
fileTypes: [
'janet'
'jpm'
]
comments:
start: '# '
folds: [
{
start: {index: 0, type: '{'}
end: {index: -1, type: '}'}
}
{
start: {index: 0, type: '['}
end: {index: -1, type: ']'}
}
{
start: {... | true | name: 'PI:NAME:<NAME>END_PI'
scopeName: 'source.janet'
type: 'tree-sitter'
parser: 'tree-sitter-janet'
fileTypes: [
'janet'
'jpm'
]
comments:
start: '# '
folds: [
{
start: {index: 0, type: '{'}
end: {index: -1, type: '}'}
}
{
start: {index: 0, type: '['}
end: {index: -1, type: ']'}
}
... |
[
{
"context": "ns, type: 'file')\n\n password_field_tag: (name = 'password', value = null, options = {}) ->\n @text_field_",
"end": 2020,
"score": 0.967085063457489,
"start": 2012,
"tag": "PASSWORD",
"value": "password"
}
] | app/assets/javascripts/ultimate/helpers/form_tag.js.coffee | evrone/ultimate-helpers | 2 | #= require ./base
#= require ./tag
#= require ./url
#= require ./asset_tag
@Ultimate.Helpers.FormTag =
embed_authenticity_token_in_remote_forms: false
form_tag: (url_for_options = {}, options = {}, block = null) ->
html_options = @_html_options_for_form(url_for_options, options)
if block = _.outcasts.blo... | 86795 | #= require ./base
#= require ./tag
#= require ./url
#= require ./asset_tag
@Ultimate.Helpers.FormTag =
embed_authenticity_token_in_remote_forms: false
form_tag: (url_for_options = {}, options = {}, block = null) ->
html_options = @_html_options_for_form(url_for_options, options)
if block = _.outcasts.blo... | true | #= require ./base
#= require ./tag
#= require ./url
#= require ./asset_tag
@Ultimate.Helpers.FormTag =
embed_authenticity_token_in_remote_forms: false
form_tag: (url_for_options = {}, options = {}, block = null) ->
html_options = @_html_options_for_form(url_for_options, options)
if block = _.outcasts.blo... |
[
{
"context": "\nexportObj.basicCardData = ->\n ships:\n \"X-Wing\":\n name: \"X-Wing\"\n factions",
"end": 788,
"score": 0.996585488319397,
"start": 782,
"tag": "NAME",
"value": "X-Wing"
},
{
"context": ">\n ships:\n \"X-Wing\":\n ... | coffeescripts/cards-common.coffee | cbmainz/xwing | 0 | # This must be loaded before any of the card language modules!
exportObj = exports ? this
exportObj.unreleasedExpansions = [
'Alpha-class Star Wing Expansion Pack',
'M12-L Kimogila Fighter Expansion Pack',
'Phantom II Expansion Pack',
'Resistance Bomber Expansion Pack',
'TIE Silencer Expansion Pack... | 115477 | # This must be loaded before any of the card language modules!
exportObj = exports ? this
exportObj.unreleasedExpansions = [
'Alpha-class Star Wing Expansion Pack',
'M12-L Kimogila Fighter Expansion Pack',
'Phantom II Expansion Pack',
'Resistance Bomber Expansion Pack',
'TIE Silencer Expansion Pack... | true | # This must be loaded before any of the card language modules!
exportObj = exports ? this
exportObj.unreleasedExpansions = [
'Alpha-class Star Wing Expansion Pack',
'M12-L Kimogila Fighter Expansion Pack',
'Phantom II Expansion Pack',
'Resistance Bomber Expansion Pack',
'TIE Silencer Expansion Pack... |
[
{
"context": "bigFour = 'novak_djokovic,roger_federer,rafael_nadal,andy_murray'\n\n@siteConfig =\n play",
"end": 37,
"score": 0.8929446935653687,
"start": 26,
"tag": "USERNAME",
"value": "roger_feder"
},
{
"context": "bigFour = 'novak_djokovic,roger_federer,rafael_nadal,andy_murray'... | source/javascripts/config.js.coffee | gcao/tennis | 0 | bigFour = 'novak_djokovic,roger_federer,rafael_nadal,andy_murray'
@siteConfig =
players:
roger_federer:
name: 'Roger Federer'
rafael_nadal:
name: 'Rafael Nadal'
novak_djokovic:
name: 'Novak Djokovic'
andy_murray:
name: 'Andy Murray'
menu:
[
type: 'rankings'
l... | 107921 | bigFour = 'novak_djokovic,roger_federer,rafael_nadal,andy_murray'
@siteConfig =
players:
roger_federer:
name: '<NAME>'
<NAME>afael_nadal:
name: '<NAME>'
novak_djokovic:
name: '<NAME>'
andy_murray:
name: '<NAME>'
menu:
[
type: 'rankings'
label: 'Rankings'
... | true | bigFour = 'novak_djokovic,roger_federer,rafael_nadal,andy_murray'
@siteConfig =
players:
roger_federer:
name: 'PI:NAME:<NAME>END_PI'
PI:NAME:<NAME>END_PIafael_nadal:
name: 'PI:NAME:<NAME>END_PI'
novak_djokovic:
name: 'PI:NAME:<NAME>END_PI'
andy_murray:
name: 'PI:NAME:<NAME>END... |
[
{
"context": "pyrightnotice').html('<a href=\"https://github.com/volkhin/RoadTrafficSimulator\">This program is a modificat",
"end": 1145,
"score": 0.8186769485473633,
"start": 1138,
"tag": "USERNAME",
"value": "volkhin"
},
{
"context": "r, click here to view original (Copyright (C) ... | coffee/app.coffee | 1f604/UnemploymentSimulator | 4 | 'use strict'
require './helpers'
$ = require 'jquery'
_ = require 'underscore'
Visualizer = require './visualizer/visualizer'
DAT = require 'dat-gui'
World = require './model/world'
settings = require './settings'
$ ->
canvas = $('<canvas />', {id: 'canvas'})
$(document.body).append(canvas)
textbox = $('<div />... | 97991 | 'use strict'
require './helpers'
$ = require 'jquery'
_ = require 'underscore'
Visualizer = require './visualizer/visualizer'
DAT = require 'dat-gui'
World = require './model/world'
settings = require './settings'
$ ->
canvas = $('<canvas />', {id: 'canvas'})
$(document.body).append(canvas)
textbox = $('<div />... | true | 'use strict'
require './helpers'
$ = require 'jquery'
_ = require 'underscore'
Visualizer = require './visualizer/visualizer'
DAT = require 'dat-gui'
World = require './model/world'
settings = require './settings'
$ ->
canvas = $('<canvas />', {id: 'canvas'})
$(document.body).append(canvas)
textbox = $('<div />... |
[
{
"context": "Resource 'Astronauts', '/astronauts/:name', {name: '@name'},\n putArray:\n isArray: true\n ",
"end": 406,
"score": 0.9990823268890381,
"start": 400,
"tag": "USERNAME",
"value": "'@name"
},
{
"context": "esponse = CachedResource.putArray [\n {name... | test/class_put_array.test.coffee | goodeggs/angular-cached-resource | 152 | describe 'CachedResource.put array', ->
{CachedResource, $httpBackend, $timeout, $log} = {}
beforeEach ->
inject ($injector) ->
$cachedResource = $injector.get '$cachedResource'
$httpBackend = $injector.get '$httpBackend'
$timeout = $injector.get '$timeout'
$log = $injector.get '$log'
... | 110606 | describe 'CachedResource.put array', ->
{CachedResource, $httpBackend, $timeout, $log} = {}
beforeEach ->
inject ($injector) ->
$cachedResource = $injector.get '$cachedResource'
$httpBackend = $injector.get '$httpBackend'
$timeout = $injector.get '$timeout'
$log = $injector.get '$log'
... | true | describe 'CachedResource.put array', ->
{CachedResource, $httpBackend, $timeout, $log} = {}
beforeEach ->
inject ($injector) ->
$cachedResource = $injector.get '$cachedResource'
$httpBackend = $injector.get '$httpBackend'
$timeout = $injector.get '$timeout'
$log = $injector.get '$log'
... |
[
{
"context": "'scopeName': 'source.helen'\r\n'name': 'Helen'\r\n'fileTypes': ['f4', 'f4i']\r\n\r\n'patterns': [\r\n ",
"end": 43,
"score": 0.984473705291748,
"start": 38,
"tag": "NAME",
"value": "Helen"
}
] | grammars/helen.cson | hyst329/language-helen | 0 | 'scopeName': 'source.helen'
'name': 'Helen'
'fileTypes': ['f4', 'f4i']
'patterns': [
{
'begin': '#'
'end': '\\n'
'name': 'comment.line.number-sign.helen'
}
{
'match': '\\b(([0-9]+(\\.\\,)?[0-9]+)|([0-9]+))\\b'
'name': 'constant.numeric.helen'
},
... | 171187 | 'scopeName': 'source.helen'
'name': '<NAME>'
'fileTypes': ['f4', 'f4i']
'patterns': [
{
'begin': '#'
'end': '\\n'
'name': 'comment.line.number-sign.helen'
}
{
'match': '\\b(([0-9]+(\\.\\,)?[0-9]+)|([0-9]+))\\b'
'name': 'constant.numeric.helen'
},
... | true | 'scopeName': 'source.helen'
'name': 'PI:NAME:<NAME>END_PI'
'fileTypes': ['f4', 'f4i']
'patterns': [
{
'begin': '#'
'end': '\\n'
'name': 'comment.line.number-sign.helen'
}
{
'match': '\\b(([0-9]+(\\.\\,)?[0-9]+)|([0-9]+))\\b'
'name': 'constant.numeric.hele... |
[
{
"context": "7}[0-9X]$/.test(id)\n\n\t# Assume the oldest Chinese, Luo Meizhen, was born in 25 Jun, 1886 and he had an ID card\n\t",
"end": 500,
"score": 0.9998341798782349,
"start": 489,
"tag": "NAME",
"value": "Luo Meizhen"
}
] | src/cnid.coffee | Edditoria/validid | 36 | import normalize from './utils/normalize.coffee'
import isDateValid from './utils/is-date-valid.coffee'
###*
Validate ID card number of China (2nd generation)
@module core/cnid
@param {string} id
@return {boolean}
Original name: Resident Identity Card of the People's Republic of China (PRC)
Format of card id: LLLLLLY... | 78510 | import normalize from './utils/normalize.coffee'
import isDateValid from './utils/is-date-valid.coffee'
###*
Validate ID card number of China (2nd generation)
@module core/cnid
@param {string} id
@return {boolean}
Original name: Resident Identity Card of the People's Republic of China (PRC)
Format of card id: LLLLLLY... | true | import normalize from './utils/normalize.coffee'
import isDateValid from './utils/is-date-valid.coffee'
###*
Validate ID card number of China (2nd generation)
@module core/cnid
@param {string} id
@return {boolean}
Original name: Resident Identity Card of the People's Republic of China (PRC)
Format of card id: LLLLLLY... |
[
{
"context": "i dashboard\n#\n# Commands:\n# None\n#\n# Author:\n# phlco\n# adapted from nodejs Meraki Presence receiver ",
"end": 424,
"score": 0.9996094703674316,
"start": 419,
"tag": "USERNAME",
"value": "phlco"
},
{
"context": " adapted from nodejs Meraki Presence receive... | src/meraki.coffee | phlco/hubot-meraki | 1 | # Description:
# Meraki Presence Receiver. Configured for Location Api version 2.
# Emits "meraki:DevicesSeen" event with probing data.
# https://docs.meraki.com/display/MR/Location+API
#
# Dependencies:
# None
#
# Configuration:
# MERAKI_SECRET: Secret that you chose in the Meraki dashboard
# MERAKI_VALIDA... | 126745 | # Description:
# Meraki Presence Receiver. Configured for Location Api version 2.
# Emits "meraki:DevicesSeen" event with probing data.
# https://docs.meraki.com/display/MR/Location+API
#
# Dependencies:
# None
#
# Configuration:
# MERAKI_SECRET: Secret that you chose in the Meraki dashboard
# MERAKI_VALIDA... | true | # Description:
# Meraki Presence Receiver. Configured for Location Api version 2.
# Emits "meraki:DevicesSeen" event with probing data.
# https://docs.meraki.com/display/MR/Location+API
#
# Dependencies:
# None
#
# Configuration:
# MERAKI_SECRET: Secret that you chose in the Meraki dashboard
# MERAKI_VALIDA... |
[
{
"context": "nyanLogger, level)\n @log.withField(token: 'qwerty')[level] {id: 123}, 'Hello'\n expect(@log.b",
"end": 3123,
"score": 0.9640186429023743,
"start": 3117,
"tag": "KEY",
"value": "qwerty"
},
{
"context": "project_key: 'foo', another_field: 'bar', token: 'qwe... | src/spec/helpers/extended-logger.spec.coffee | commercetools/sphere-node-utils | 1 | _ = require 'underscore'
{ExtendedLogger} = require '../../lib/main'
describe 'ExtendedLogger', ->
beforeEach ->
@log = new ExtendedLogger
additionalFields:
project_key: 'foo'
another_field: 'bar'
it 'should initialize with default options', ->
log = new ExtendedLogger()
expect... | 175146 | _ = require 'underscore'
{ExtendedLogger} = require '../../lib/main'
describe 'ExtendedLogger', ->
beforeEach ->
@log = new ExtendedLogger
additionalFields:
project_key: 'foo'
another_field: 'bar'
it 'should initialize with default options', ->
log = new ExtendedLogger()
expect... | true | _ = require 'underscore'
{ExtendedLogger} = require '../../lib/main'
describe 'ExtendedLogger', ->
beforeEach ->
@log = new ExtendedLogger
additionalFields:
project_key: 'foo'
another_field: 'bar'
it 'should initialize with default options', ->
log = new ExtendedLogger()
expect... |
[
{
"context": "mail')\n @client.setValue('#at-field-email', 'chimp@testing1234.com')\n @client.setValue('#at-field-password', 'P",
"end": 607,
"score": 0.9998763799667358,
"start": 586,
"tag": "EMAIL",
"value": "chimp@testing1234.com"
},
{
"context": "m')\n @client.setV... | tests/features/step_definitions/common_steps.coffee | ecohealthalliance/eidr-connect | 1 | do ->
'use strict'
module.exports = ->
url = require('url')
@When /^I navigate to "([^"]*)"$/, (relativePath) ->
@client.pause(500)
@client.url(url.resolve(process.env.ROOT_URL, relativePath))
@Given /^I am logged in as an admin$/, ->
if @client.isVisible('button.navbar-toggle')
... | 140643 | do ->
'use strict'
module.exports = ->
url = require('url')
@When /^I navigate to "([^"]*)"$/, (relativePath) ->
@client.pause(500)
@client.url(url.resolve(process.env.ROOT_URL, relativePath))
@Given /^I am logged in as an admin$/, ->
if @client.isVisible('button.navbar-toggle')
... | true | do ->
'use strict'
module.exports = ->
url = require('url')
@When /^I navigate to "([^"]*)"$/, (relativePath) ->
@client.pause(500)
@client.url(url.resolve(process.env.ROOT_URL, relativePath))
@Given /^I am logged in as an admin$/, ->
if @client.isVisible('button.navbar-toggle')
... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998881816864014,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\nclass Channel\... | source/javascripts/new_src/loaders/collada/channel.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
class Channel
constructor: (animation) ->
@animation = animation
@source = ""
@target = ""
@fullSid = null
@sid = null
@dotSyntax = null
@arrSyntax = null
... | 133634 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
class Channel
constructor: (animation) ->
@animation = animation
@source = ""
@target = ""
@fullSid = null
@sid = null
@dotSyntax = null
@arrSyntax = null
@arrIndices = nul... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
class Channel
constructor: (animation) ->
@animation = animation
@source = ""
@target = ""
@fullSid = null
@sid = null
@dotSyntax = null
@arrSyntax ... |
[
{
"context": "# Copyright (c) 2021 Quinn Michaels. All rights reserved.\n'.source.feecting':\n 'Exte",
"end": 35,
"score": 0.9998686909675598,
"start": 21,
"tag": "NAME",
"value": "Quinn Michaels"
},
{
"context": ":META\n Title: $1\n Version: 0.0.1\n Author: @$3\n Date: ... | snippets/language-feecting.cson | indraai/language-feecting | 22 | # Copyright (c) 2021 Quinn Michaels. All rights reserved.
'.source.feecting':
'External Variable':
'prefix': '$'
'body': '$$1 = $2'
'LOCAL Variable':
'prefix': '@'
'body': '@$1 = $2'
'HASH Variable':
'prefix': '#'
'body': '#$1 = $2'
'BEGIN':
'prefix': 'begin'
'body': '''
:... | 72830 | # Copyright (c) 2021 <NAME>. All rights reserved.
'.source.feecting':
'External Variable':
'prefix': '$'
'body': '$$1 = $2'
'LOCAL Variable':
'prefix': '@'
'body': '@$1 = $2'
'HASH Variable':
'prefix': '#'
'body': '#$1 = $2'
'BEGIN':
'prefix': 'begin'
'body': '''
::BEGIN:$... | true | # Copyright (c) 2021 PI:NAME:<NAME>END_PI. All rights reserved.
'.source.feecting':
'External Variable':
'prefix': '$'
'body': '$$1 = $2'
'LOCAL Variable':
'prefix': '@'
'body': '@$1 = $2'
'HASH Variable':
'prefix': '#'
'body': '#$1 = $2'
'BEGIN':
'prefix': 'begin'
'body': '''... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999121427536011,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/mp-history/main.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 { Content } from './content'
import HeaderV4 from 'header-v4'
import * as React from 'react'
import { div } from 'react-dom-factories'
el ... | 200449 | # 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 { Content } from './content'
import HeaderV4 from 'header-v4'
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Content } from './content'
import HeaderV4 from 'header-v4'
import * as React from 'react'
import { div } from 'react-dom-factor... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.999895453453064,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhakim... | src/app/controllers/userController.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
User = require '../models/user'
module.exports.getUserById = (req, res) ->
# get user from database
user = await User.findByPk req.params.id
# check if user f... | 194339 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
User = require '../models/user'
module.exports.getUserById = (req, res) ->
# get user from database
user = await User.findByPk req.params.id
# check if user found
if user and us... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
User = require '../models/user'
module.exports.getUserById = (req, res) ->
# get user from database
user = await User.findByPk req.params.id
# check i... |
[
{
"context": " Info : http://bit.ly/LsODY8\n\t* Copyright (c) 2013 Stephen Braitsch\n *\n###\n\nexpress = require('express')\nhttp = requ",
"end": 108,
"score": 0.9997919797897339,
"start": 92,
"tag": "NAME",
"value": "Stephen Braitsch"
},
{
"context": "webhookhost = process.env.WEB... | app.coffee | coderofsalvation/express-api-user-management-signup | 1 | ###*
* Node.js Login Boilerplate
* More Info : http://bit.ly/LsODY8
* Copyright (c) 2013 Stephen Braitsch
*
###
express = require('express')
http = require('http')
require("coffee-script/register")
usermanagement = require('./index.coffee')
app = express()
port = process.env.PORT or 3010
webhook... | 66157 | ###*
* Node.js Login Boilerplate
* More Info : http://bit.ly/LsODY8
* Copyright (c) 2013 <NAME>
*
###
express = require('express')
http = require('http')
require("coffee-script/register")
usermanagement = require('./index.coffee')
app = express()
port = process.env.PORT or 3010
webhookport = pro... | true | ###*
* Node.js Login Boilerplate
* More Info : http://bit.ly/LsODY8
* Copyright (c) 2013 PI:NAME:<NAME>END_PI
*
###
express = require('express')
http = require('http')
require("coffee-script/register")
usermanagement = require('./index.coffee')
app = express()
port = process.env.PORT or 3010
web... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988741278648376,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/disabled/test-eio-race.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... | 190646 | # 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": "# Initialize variables\nip_address = '10.0.0.215'\nusername = 'WsBtM9ZCwAmafRt32GanUOb5WKU9K1gpZQUJ",
"end": 47,
"score": 0.9995630383491516,
"start": 37,
"tag": "IP_ADDRESS",
"value": "10.0.0.215"
},
{
"context": "e variables\nip_address = '10.0.0.215'\nusername = 'WsB... | public/js/lights.coffee | pschfr/dashboard | 1 | # Initialize variables
ip_address = '10.0.0.215'
username = 'WsBtM9ZCwAmafRt32GanUOb5WKU9K1gpZQUJRwSE'
api_url = 'http://' + ip_address + '/api/' + username
switches = document.getElementsByClassName('light-switch')
# Check light state, appending class to buttons if necessary
checkState = (light) ->
xhr = new XMLHttp... | 178354 | # Initialize variables
ip_address = '10.0.0.215'
username = 'Ws<PASSWORD>'
api_url = 'http://' + ip_address + '/api/' + username
switches = document.getElementsByClassName('light-switch')
# Check light state, appending class to buttons if necessary
checkState = (light) ->
xhr = new XMLHttpRequest()
if light.id.toStr... | true | # Initialize variables
ip_address = '10.0.0.215'
username = 'WsPI:PASSWORD:<PASSWORD>END_PI'
api_url = 'http://' + ip_address + '/api/' + username
switches = document.getElementsByClassName('light-switch')
# Check light state, appending class to buttons if necessary
checkState = (light) ->
xhr = new XMLHttpRequest()
... |
[
{
"context": "################\n# Title: InputItemView\n# Author: kevin@wintr.us @ WINTR\n#########################################",
"end": 106,
"score": 0.9999064207077026,
"start": 92,
"tag": "EMAIL",
"value": "kevin@wintr.us"
},
{
"context": "# Title: InputItemView\n# Author: k... | source/javascripts/views/supers/InputView.coffee | WikiEducationFoundation/WikiEduWizard | 1 | #########################################################
# Title: InputItemView
# Author: kevin@wintr.us @ WINTR
#########################################################
#APP
application = require( '../../app' )
# SUPER VIEW CLASS
View = require('./View')
#TEMPLATES
InputItemTemplate = require('../../templates/s... | 49285 | #########################################################
# Title: InputItemView
# Author: <EMAIL> @ WINTR
#########################################################
#APP
application = require( '../../app' )
# SUPER VIEW CLASS
View = require('./View')
#TEMPLATES
InputItemTemplate = require('../../templates/steps/in... | true | #########################################################
# Title: InputItemView
# Author: PI:EMAIL:<EMAIL>END_PI @ WINTR
#########################################################
#APP
application = require( '../../app' )
# SUPER VIEW CLASS
View = require('./View')
#TEMPLATES
InputItemTemplate = require('../../tem... |
[
{
"context": "enderer\n # populate = () -> div('bob').text('Dave')\n populate = (elem) -> select(elem).set(div",
"end": 8199,
"score": 0.9993493556976318,
"start": 8195,
"tag": "NAME",
"value": "Dave"
},
{
"context": "ate = (elem) -> select(elem).set(div('bob').text('Dave')... | src/components/dropdown/spec.coffee | p-koscielniak/hexagonjs | 61 | import chai from 'chai'
import { select, div, getHexagonElementDataObject } from 'utils/selection'
import logger from 'utils/logger'
import { Dropdown, config as dropdownConfig } from 'components/dropdown'
import { calculateDropdownPosition } from 'components/dropdown/positioning'
import installFakeTimers from 'test... | 179952 | import chai from 'chai'
import { select, div, getHexagonElementDataObject } from 'utils/selection'
import logger from 'utils/logger'
import { Dropdown, config as dropdownConfig } from 'components/dropdown'
import { calculateDropdownPosition } from 'components/dropdown/positioning'
import installFakeTimers from 'test... | true | import chai from 'chai'
import { select, div, getHexagonElementDataObject } from 'utils/selection'
import logger from 'utils/logger'
import { Dropdown, config as dropdownConfig } from 'components/dropdown'
import { calculateDropdownPosition } from 'components/dropdown/positioning'
import installFakeTimers from 'test... |
[
{
"context": " \"name\": \"Admin\"\n \"username\": \"admin\"\n \"roles\":\n \"ad",
"end": 1034,
"score": 0.998449444770813,
"start": 1029,
"tag": "USERNAME",
"value": "admin"
},
{
"context": " \"password\":\n ... | packages/simplelog/simplelog.coffee | drobbins/kassebaum | 0 | # Write your package code here!
Logs =
collection: new Meteor.Collection("logs")
add: (level, msg, data) ->
data = data or {}
Logs.collection.insert
message: msg
level: level
data: _.extend data,
user: _.pick Meteor.user(), "_id", "profile", "r... | 76813 | # Write your package code here!
Logs =
collection: new Meteor.Collection("logs")
add: (level, msg, data) ->
data = data or {}
Logs.collection.insert
message: msg
level: level
data: _.extend data,
user: _.pick Meteor.user(), "_id", "profile", "r... | true | # Write your package code here!
Logs =
collection: new Meteor.Collection("logs")
add: (level, msg, data) ->
data = data or {}
Logs.collection.insert
message: msg
level: level
data: _.extend data,
user: _.pick Meteor.user(), "_id", "profile", "r... |
[
{
"context": "e 'client.clashRoyale.card.getByKey', {\n# key: 'goblin_gang',\n# arena: 10,\n# type: 'pvp'\n# }, (err, resul",
"end": 1548,
"score": 0.9991143345832825,
"start": 1537,
"tag": "KEY",
"value": "goblin_gang"
}
] | src/demo.coffee | famhq/fam-sdk | 1 | Starfire = require './index'
Starfire 'init', {appId: 'xxxx-xxxx-xxxx-xxxx', debug: true}
Starfire 'client.clashRoyale.player.getMe', (err, me) ->
console.log 'mePlayer', me, err
Starfire 'client.clashRoyale.player.getByTag', {tag: 'PCV8'}, (err, player) ->
console.log 'player', player, err
Starfire 'client.cla... | 176100 | Starfire = require './index'
Starfire 'init', {appId: 'xxxx-xxxx-xxxx-xxxx', debug: true}
Starfire 'client.clashRoyale.player.getMe', (err, me) ->
console.log 'mePlayer', me, err
Starfire 'client.clashRoyale.player.getByTag', {tag: 'PCV8'}, (err, player) ->
console.log 'player', player, err
Starfire 'client.cla... | true | Starfire = require './index'
Starfire 'init', {appId: 'xxxx-xxxx-xxxx-xxxx', debug: true}
Starfire 'client.clashRoyale.player.getMe', (err, me) ->
console.log 'mePlayer', me, err
Starfire 'client.clashRoyale.player.getByTag', {tag: 'PCV8'}, (err, player) ->
console.log 'player', player, err
Starfire 'client.cla... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998412132263184,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | src/Rules.coffee | sjorek/goatee-rules.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... | 25038 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": "=\n name: 'Test Team'\n user =\n name: 'bot'\n @slackbot.loggedIn(user, team)\n @slackbot",
"end": 290,
"score": 0.9963537454605103,
"start": 287,
"tag": "USERNAME",
"value": "bot"
},
{
"context": " foo = @slackbot.removeFormatting 'foo <mailto:nam... | test/slack.coffee | ocadotechnology/hubot-slack | 1 | {SlackBot} = require '../index'
should = require 'should'
describe 'Adapter', ->
it 'Should initialize with a robot', ->
@slackbot.robot.should.eql @stubs.robot
describe 'Login', ->
it 'Should set the robot name', ->
team =
name: 'Test Team'
user =
name: 'bot'
@slackbot.loggedIn(user,... | 214284 | {SlackBot} = require '../index'
should = require 'should'
describe 'Adapter', ->
it 'Should initialize with a robot', ->
@slackbot.robot.should.eql @stubs.robot
describe 'Login', ->
it 'Should set the robot name', ->
team =
name: 'Test Team'
user =
name: 'bot'
@slackbot.loggedIn(user,... | true | {SlackBot} = require '../index'
should = require 'should'
describe 'Adapter', ->
it 'Should initialize with a robot', ->
@slackbot.robot.should.eql @stubs.robot
describe 'Login', ->
it 'Should set the robot name', ->
team =
name: 'Test Team'
user =
name: 'bot'
@slackbot.loggedIn(user,... |
[
{
"context": "n account with\nGlobalFreeze set.\n\nUse cases (via (David (JoelKatz) Schwartz)):\n\n There are two basic cas",
"end": 1374,
"score": 0.7041217088699341,
"start": 1369,
"tag": "NAME",
"value": "David"
},
{
"context": "nt with\nGlobalFreeze set.\n\nUse cases (via (David... | test/freeze-test.coffee | coinjet/rippled | 0 | ################################### REQUIRES ###################################
extend = require 'extend'
fs = require 'fs'
assert = require 'assert'
async = require 'async'
{
Remote
UInt160
Transaction
Amount
} ... | 176551 | ################################### REQUIRES ###################################
extend = require 'extend'
fs = require 'fs'
assert = require 'assert'
async = require 'async'
{
Remote
UInt160
Transaction
Amount
} ... | true | ################################### REQUIRES ###################################
extend = require 'extend'
fs = require 'fs'
assert = require 'assert'
async = require 'async'
{
Remote
UInt160
Transaction
Amount
} ... |
[
{
"context": "\n#\n# Bot Builder SDK Github:\n# https://github.com/Microsoft/BotBuilder\n#\n\nUtil = require 'util'\nTimers = requ",
"end": 195,
"score": 0.8113875389099121,
"start": 186,
"tag": "USERNAME",
"value": "Microsoft"
},
{
"context": "ocess.env.BOTBUILDER_APP_ID\n @a... | src/adapter.coffee | stephanepiel/BotFramework-Hubot | 0 | #
# Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license.
#
# Microsoft Bot Framework: http://botframework.com
#
# Bot Builder SDK Github:
# https://github.com/Microsoft/BotBuilder
#
Util = require 'util'
Timers = require 'timers'
BotBuilder = require 'botbuilder'
{ Robot, Adapter, TextMessa... | 139946 | #
# Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license.
#
# Microsoft Bot Framework: http://botframework.com
#
# Bot Builder SDK Github:
# https://github.com/Microsoft/BotBuilder
#
Util = require 'util'
Timers = require 'timers'
BotBuilder = require 'botbuilder'
{ Robot, Adapter, TextMessa... | true | #
# Copyright (c) Microsoft. All rights reserved.
# Licensed under the MIT license.
#
# Microsoft Bot Framework: http://botframework.com
#
# Bot Builder SDK Github:
# https://github.com/Microsoft/BotBuilder
#
Util = require 'util'
Timers = require 'timers'
BotBuilder = require 'botbuilder'
{ Robot, Adapter, TextMessa... |
[
{
"context": "lot: interactive plot of trinomial probabilities\n# Karl W Broman\n\nitriplot = (widgetdiv, data, chartOpts) ->\n\n ",
"end": 71,
"score": 0.9998841285705566,
"start": 58,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/htmlwidgets/lib/qtlcharts/itriplot.coffee | cran/qtlcharts | 64 | # itriplot: interactive plot of trinomial probabilities
# Karl W Broman
itriplot = (widgetdiv, data, chartOpts) ->
# chartOpts start
width = chartOpts?.width ? 600 # overall width of chart in pixels
height = chartOpts?.height ? 520 # overall height of chart in pixel... | 9420 | # itriplot: interactive plot of trinomial probabilities
# <NAME>
itriplot = (widgetdiv, data, chartOpts) ->
# chartOpts start
width = chartOpts?.width ? 600 # overall width of chart in pixels
height = chartOpts?.height ? 520 # overall height of chart in pixels
m... | true | # itriplot: interactive plot of trinomial probabilities
# PI:NAME:<NAME>END_PI
itriplot = (widgetdiv, data, chartOpts) ->
# chartOpts start
width = chartOpts?.width ? 600 # overall width of chart in pixels
height = chartOpts?.height ? 520 # overall height of chart i... |
[
{
"context": "rity': {\n\t\t\t\t'auth-alg': 'open',\n\t\t\t\t'key-mgmt': 'wpa-psk',\n\t\t\t\t'psk': passphrase,\n\t\t\t}\n\n\tconsole.log('Savi",
"end": 1230,
"score": 0.9991722106933594,
"start": 1223,
"tag": "KEY",
"value": "wpa-psk"
}
] | app/src/networkManager.coffee | Rubines/boombeastic | 0 | Promise = require 'bluebird'
{ spawn, exec } = require 'child_process'
execAsync = Promise.promisify(exec)
DBus = require './dbus-promise'
_ = require 'lodash'
dbus = new DBus()
bus = dbus.getBus('system')
systemd = require './systemd'
SERVICE = 'org.freedesktop.NetworkManager'
# This allows us to say, if there IS ... | 31088 | Promise = require 'bluebird'
{ spawn, exec } = require 'child_process'
execAsync = Promise.promisify(exec)
DBus = require './dbus-promise'
_ = require 'lodash'
dbus = new DBus()
bus = dbus.getBus('system')
systemd = require './systemd'
SERVICE = 'org.freedesktop.NetworkManager'
# This allows us to say, if there IS ... | true | Promise = require 'bluebird'
{ spawn, exec } = require 'child_process'
execAsync = Promise.promisify(exec)
DBus = require './dbus-promise'
_ = require 'lodash'
dbus = new DBus()
bus = dbus.getBus('system')
systemd = require './systemd'
SERVICE = 'org.freedesktop.NetworkManager'
# This allows us to say, if there IS ... |
[
{
"context": "Expression = undefined\n options.lensKey ||= [ '.type' ]\n\n # ### #getLens\n #\n # Finds th",
"end": 597,
"score": 0.6768534183502197,
"start": 591,
"tag": "KEY",
"value": "'.type"
}
] | src/presentation.coffee | umd-mith/mithgrid | 1 | # # Presentations
#
MITHgrid.namespace 'Presentation', (Presentation) ->
# ## Presentation.initInstance
#
# Initializes a presentation instance.
#
# Parameters:
#
# * type -
#
# * container -
#
# * options -
#
Presentation.initInstance = (args...) ->
MITHgrid.initInstance "MITHgrid.Presen... | 54141 | # # Presentations
#
MITHgrid.namespace 'Presentation', (Presentation) ->
# ## Presentation.initInstance
#
# Initializes a presentation instance.
#
# Parameters:
#
# * type -
#
# * container -
#
# * options -
#
Presentation.initInstance = (args...) ->
MITHgrid.initInstance "MITHgrid.Presen... | true | # # Presentations
#
MITHgrid.namespace 'Presentation', (Presentation) ->
# ## Presentation.initInstance
#
# Initializes a presentation instance.
#
# Parameters:
#
# * type -
#
# * container -
#
# * options -
#
Presentation.initInstance = (args...) ->
MITHgrid.initInstance "MITHgrid.Presen... |
[
{
"context": "ible functions and properties. \n#\n# Copyright 2013 Mooneer Salem. All rights reserved.\n# See LICENSE file in the r",
"end": 242,
"score": 0.9998787045478821,
"start": 229,
"tag": "NAME",
"value": "Mooneer Salem"
},
{
"context": "ncResult \"POST\", \"/auth/login/newsr... | src/main/coffee/NR.API.coffee | tmiw/newsrdr | 9 | #############################################################################
# This file contains the newsrdr CoffeeScript/JavaScript API. See comment blocks
# for public accessible functions and properties.
#
# Copyright 2013 Mooneer Salem. All rights reserved.
# See LICENSE file in the repository for license terms:... | 55491 | #############################################################################
# This file contains the newsrdr CoffeeScript/JavaScript API. See comment blocks
# for public accessible functions and properties.
#
# Copyright 2013 <NAME>. All rights reserved.
# See LICENSE file in the repository for license terms:
# h... | true | #############################################################################
# This file contains the newsrdr CoffeeScript/JavaScript API. See comment blocks
# for public accessible functions and properties.
#
# Copyright 2013 PI:NAME:<NAME>END_PI. All rights reserved.
# See LICENSE file in the repository for license... |
[
{
"context": "bI8x1AiT0EO5D47aROAKXTimVY3YsFr2ETXbLxjFFDP64WqqJ0b+3s2leReNq7ld70pVn1m8npyAZKvUc4/uo7WVLm0A1/U1f+iW9eqpYPKN/BY/+Ta2fp6ui0KUtha3B0xMICD66OLwrnmoFmxElEohL4OLZe7rnOW2G9M6Gej+LO5SeJip0YfiG+ImKQ1ngmGxpuopUOvcT1La/1TGki2gEV4AEm4QHW0fZ4Bjz0tdMVPGexUHQW/si9RWF8tJPsoykUcvS6slpbmil2ls9e7tcT6F4KZUCJv9nn6lWS... | packages/core/test/file/options.diff.coffee | DanielJohnHarty/node-nikita | 1 |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file options diff', ->
they 'type is a function', ({ssh}) ->
diffcalled = false
nikita
ssh: ssh
.file
target: "#{scratch}/file"
conten... | 73616 |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file options diff', ->
they 'type is a function', ({ssh}) ->
diffcalled = false
nikita
ssh: ssh
.file
target: "#{scratch}/file"
conten... | true |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file options diff', ->
they 'type is a function', ({ssh}) ->
diffcalled = false
nikita
ssh: ssh
.file
target: "#{scratch}/file"
conten... |
[
{
"context": "ad: true, write: false, account: true}\n name: 'Scrumble'\n",
"end": 196,
"score": 0.5287899374961853,
"start": 193,
"tag": "NAME",
"value": "Scr"
},
{
"context": " true, write: false, account: true}\n name: 'Scrumble'\n",
"end": 201,
"score": 0.9327197074... | client/src/login/config/trello.coffee | MollardMichael/scrumble | 27 | angular.module 'Scrumble.login'
.config (TrelloApiProvider, API_URL, TRELLO_KEY) ->
TrelloApiProvider.init
key: TRELLO_KEY
scope: {read: true, write: false, account: true}
name: 'Scrumble'
| 134630 | angular.module 'Scrumble.login'
.config (TrelloApiProvider, API_URL, TRELLO_KEY) ->
TrelloApiProvider.init
key: TRELLO_KEY
scope: {read: true, write: false, account: true}
name: '<NAME>umble'
| true | angular.module 'Scrumble.login'
.config (TrelloApiProvider, API_URL, TRELLO_KEY) ->
TrelloApiProvider.init
key: TRELLO_KEY
scope: {read: true, write: false, account: true}
name: 'PI:NAME:<NAME>END_PIumble'
|
[
{
"context": "('./exceptions').OtError\n\nOT_CALLS_ROUTING_KEY = \"ot_calls\"\n\nclass QueueOtProcessorClient\n ###\n Класс-",
"end": 270,
"score": 0.9953035712242126,
"start": 262,
"tag": "KEY",
"value": "ot_calls"
},
{
"context": " @_responseRoutingKey = \"#{OT_CALLS_ROUTI... | src/server/ot/queue_processor_client.coffee | LaPingvino/rizzoma | 88 | # класс не используется, оставил до реализации отправки ot-операций по rpc
Conf = require('../conf').Conf
_ = require('underscore')
AmqpQueueListener = require('../common/amqp').AmqpQueueListener
OtError= require('./exceptions').OtError
OT_CALLS_ROUTING_KEY = "ot_calls"
class QueueOtProcessorClient
###
Класс-... | 108871 | # класс не используется, оставил до реализации отправки ot-операций по rpc
Conf = require('../conf').Conf
_ = require('underscore')
AmqpQueueListener = require('../common/amqp').AmqpQueueListener
OtError= require('./exceptions').OtError
OT_CALLS_ROUTING_KEY = "<KEY>"
class QueueOtProcessorClient
###
Класс-дек... | true | # класс не используется, оставил до реализации отправки ot-операций по rpc
Conf = require('../conf').Conf
_ = require('underscore')
AmqpQueueListener = require('../common/amqp').AmqpQueueListener
OtError= require('./exceptions').OtError
OT_CALLS_ROUTING_KEY = "PI:KEY:<KEY>END_PI"
class QueueOtProcessorClient
###
... |
[
{
"context": " id: 'xxx'\n responses:\n '1': 'Adam'\n )\n\n expect($('input[type=text]').val()).t",
"end": 2033,
"score": 0.9998185038566589,
"start": 2029,
"tag": "NAME",
"value": "Adam"
},
{
"context": " expect($('input[type=text]').val()).to.equal('Ada... | render/test/main_test.coffee | johan--/Encuestas | 1 | before ->
$('body').html('<div data-formrenderer />')
describe 'Encapsulation', ->
it 'does not share dependencies with the global namespace', ->
expect(typeof window.ISOCountryNames).to.equal('undefined')
expect(typeof window.FormRenderer).not.to.equal('undefined')
describe '#formatCents', ->
before ->... | 118227 | before ->
$('body').html('<div data-formrenderer />')
describe 'Encapsulation', ->
it 'does not share dependencies with the global namespace', ->
expect(typeof window.ISOCountryNames).to.equal('undefined')
expect(typeof window.FormRenderer).not.to.equal('undefined')
describe '#formatCents', ->
before ->... | true | before ->
$('body').html('<div data-formrenderer />')
describe 'Encapsulation', ->
it 'does not share dependencies with the global namespace', ->
expect(typeof window.ISOCountryNames).to.equal('undefined')
expect(typeof window.FormRenderer).not.to.equal('undefined')
describe '#formatCents', ->
before ->... |
[
{
"context": "l><span>User name</span> <input type=\"text\" name=\"username\" required=\"required\" /></label>\n <label><s",
"end": 236,
"score": 0.9993822574615479,
"start": 228,
"tag": "USERNAME",
"value": "username"
},
{
"context": " <label><span>Password</span> <inp... | src/scripts/lib/zooniverse/views/LoginForm.coffee | zooniverse/seafloorexplorer | 3 | define (require, exports, module) ->
module.exports =
signIn: '''
<p>Sign in with your Zooniverse account.</p>
<p class="errors"></p>
<form>
<label><span>User name</span> <input type="text" name="username" required="required" /></label>
<label><span>Password</span> <input type="p... | 37472 | define (require, exports, module) ->
module.exports =
signIn: '''
<p>Sign in with your Zooniverse account.</p>
<p class="errors"></p>
<form>
<label><span>User name</span> <input type="text" name="username" required="required" /></label>
<label><span>Password</span> <input type="<... | true | define (require, exports, module) ->
module.exports =
signIn: '''
<p>Sign in with your Zooniverse account.</p>
<p class="errors"></p>
<form>
<label><span>User name</span> <input type="text" name="username" required="required" /></label>
<label><span>Password</span> <input type="P... |
[
{
"context": " useful methods\n \n @class bkcore.Utils\n @author Thibaut 'BKcore' Despoulain <http://bkcore.com>\n###\nclass",
"end": 71,
"score": 0.9998574256896973,
"start": 64,
"tag": "NAME",
"value": "Thibaut"
},
{
"context": "thods\n \n @class bkcore.Utils\n @author Thibau... | xlabs/hexgl/bkcore.coffee/Utils.coffee | alexdewar/eyetracking_practical | 1 | ###
Various useful methods
@class bkcore.Utils
@author Thibaut 'BKcore' Despoulain <http://bkcore.com>
###
class Utils
###
Creates a bkcore.threejs.Shaders["normalV"|"normal"] material
with given parameters
###
@createNormalMaterial = (opts)->
opts ?= {}
opts.ambient ?= 0x444444
opt... | 108476 | ###
Various useful methods
@class bkcore.Utils
@author <NAME> 'BKcore' <NAME> <http://bkcore.com>
###
class Utils
###
Creates a bkcore.threejs.Shaders["normalV"|"normal"] material
with given parameters
###
@createNormalMaterial = (opts)->
opts ?= {}
opts.ambient ?= 0x444444
opts.nor... | true | ###
Various useful methods
@class bkcore.Utils
@author PI:NAME:<NAME>END_PI 'BKcore' PI:NAME:<NAME>END_PI <http://bkcore.com>
###
class Utils
###
Creates a bkcore.threejs.Shaders["normalV"|"normal"] material
with given parameters
###
@createNormalMaterial = (opts)->
opts ?= {}
opts.ambi... |
[
{
"context": "ils = ->\n {\n games: [\n {\n title: 'Tony Birb: Pro Sk8er 2003'\n description: '<p><em>Ton",
"end": 72,
"score": 0.9992200136184692,
"start": 63,
"tag": "NAME",
"value": "Tony Birb"
},
{
"context": "irb: Pro Sk8er 2003'\n description: '<p>... | app/coffee/portfolioDetails.coffee | hekemp/portfolio | 0 | portfolioDetails = ->
{
games: [
{
title: 'Tony Birb: Pro Sk8er 2003'
description: '<p><em>Tony Birb: Pro Skater 2003</em> is an infinite runner in which you play as the legendary Tony Birb, sliding down twigs.</p>
<p>Inspired by a GIF of a bird sliding down a rail, thi... | 98741 | portfolioDetails = ->
{
games: [
{
title: '<NAME>: Pro Sk8er 2003'
description: '<p><em><NAME>: Pro Skater 2003</em> is an infinite runner in which you play as the legendary <NAME>, sliding down twigs.</p>
<p>Inspired by a GIF of a bird sliding down a rail, this game wa... | true | portfolioDetails = ->
{
games: [
{
title: 'PI:NAME:<NAME>END_PI: Pro Sk8er 2003'
description: '<p><em>PI:NAME:<NAME>END_PI: Pro Skater 2003</em> is an infinite runner in which you play as the legendary PI:NAME:<NAME>END_PI, sliding down twigs.</p>
<p>Inspired by a GIF o... |
[
{
"context": ")\n error_text(err) + '\\n\\nFeel free to ping us at support@awesomebox.co for more information.'\n\nhandle_error = (err) ->\n ",
"end": 1432,
"score": 0.9999271035194397,
"start": 1411,
"tag": "EMAIL",
"value": "support@awesomebox.co"
}
] | lib/app/index.coffee | awesomebox/awesomebox | 1 | path = require 'path'
config = require './config'
errors = require './errors'
Commandment = require 'commandment'
AwesomeboxClient = require 'awesomebox.node'
{chalk} = Commandment
AWESOMEBOX_VERSION = require('../awesomebox').version
module.exports = commands = new Commandment(name: 'awesomebox', command_dir: path.j... | 111982 | path = require 'path'
config = require './config'
errors = require './errors'
Commandment = require 'commandment'
AwesomeboxClient = require 'awesomebox.node'
{chalk} = Commandment
AWESOMEBOX_VERSION = require('../awesomebox').version
module.exports = commands = new Commandment(name: 'awesomebox', command_dir: path.j... | true | path = require 'path'
config = require './config'
errors = require './errors'
Commandment = require 'commandment'
AwesomeboxClient = require 'awesomebox.node'
{chalk} = Commandment
AWESOMEBOX_VERSION = require('../awesomebox').version
module.exports = commands = new Commandment(name: 'awesomebox', command_dir: path.j... |
[
{
"context": "hear /I think so, Brain, but then my name would be Thumby./, (msg) ->\n msg.send \"In a perfect world,",
"end": 630,
"score": 0.9987790584564209,
"start": 624,
"tag": "NAME",
"value": "Thumby"
},
{
"context": "bot.hear /I think so, Brain, but she'd never leave Mi... | scripts/pondering.coffee | jsullivan3/brainbot | 1 |
responses = [
"Pinky, are you pondering what I'm pondering?",
"I am in intense pain, Pinky.",
"We must prepare for tomorrow night.",
"Do not mock a love-smitten mouse.",
"Enough. If this is what passes for conduct becoming of world leaders, I don’t want any part of it.",
"Even the world isn’t w... | 17932 |
responses = [
"Pinky, are you pondering what I'm pondering?",
"I am in intense pain, Pinky.",
"We must prepare for tomorrow night.",
"Do not mock a love-smitten mouse.",
"Enough. If this is what passes for conduct becoming of world leaders, I don’t want any part of it.",
"Even the world isn’t w... | true |
responses = [
"Pinky, are you pondering what I'm pondering?",
"I am in intense pain, Pinky.",
"We must prepare for tomorrow night.",
"Do not mock a love-smitten mouse.",
"Enough. If this is what passes for conduct becoming of world leaders, I don’t want any part of it.",
"Even the world isn’t w... |
[
{
"context": "l', ->\n currentUser =\n username: 'foobar1'\n id: 4\n @scope.currentUser = cur",
"end": 411,
"score": 0.9991737604141235,
"start": 404,
"tag": "USERNAME",
"value": "foobar1"
},
{
"context": " cocktail =\n id: 2\n n... | spec/javascripts/controllers/CocktailsCtrl_spec.coffee | baberthal/cocktails | 0 | #= require spec_helper
describe 'CocktailsCtrl', ->
beforeEach ->
@setupController('CocktailsCtrl')
@loadFixtures()
@http.whenGET('/cocktails').respond(200, @cocktailRecipes)
@templateExpectations()
describe 'controller initialization', ->
describe 'utility functions', ->
it 'knows if th... | 207375 | #= require spec_helper
describe 'CocktailsCtrl', ->
beforeEach ->
@setupController('CocktailsCtrl')
@loadFixtures()
@http.whenGET('/cocktails').respond(200, @cocktailRecipes)
@templateExpectations()
describe 'controller initialization', ->
describe 'utility functions', ->
it 'knows if th... | true | #= require spec_helper
describe 'CocktailsCtrl', ->
beforeEach ->
@setupController('CocktailsCtrl')
@loadFixtures()
@http.whenGET('/cocktails').respond(200, @cocktailRecipes)
@templateExpectations()
describe 'controller initialization', ->
describe 'utility functions', ->
it 'knows if th... |
[
{
"context": "HEADER =\n \"\"\"\n /**\n * Copyright (c) 2013 Mario Gutierrez <mario@mgutz.com>\n *\n * See the file LICENSE ",
"end": 60,
"score": 0.9998455047607422,
"start": 45,
"tag": "NAME",
"value": "Mario Gutierrez"
},
{
"context": "\"\"\n /**\n * Copyright (c) 2013 ... | Projfile.coffee | mgutz/funcd | 1 | HEADER =
"""
/**
* Copyright (c) 2013 Mario Gutierrez <mario@mgutz.com>
*
* See the file LICENSE for copying permission.
*/
"""
exports.project = (pm) ->
{f} = pm
changeToRoot = f.tap (asset) ->
asset.filename = asset.filename.slice(4)
scripts:
desc: 'Compile coffee scripts to JavaScr... | 70228 | HEADER =
"""
/**
* Copyright (c) 2013 <NAME> <<EMAIL>>
*
* See the file LICENSE for copying permission.
*/
"""
exports.project = (pm) ->
{f} = pm
changeToRoot = f.tap (asset) ->
asset.filename = asset.filename.slice(4)
scripts:
desc: 'Compile coffee scripts to JavaScript'
files: '... | true | HEADER =
"""
/**
* Copyright (c) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* See the file LICENSE for copying permission.
*/
"""
exports.project = (pm) ->
{f} = pm
changeToRoot = f.tap (asset) ->
asset.filename = asset.filename.slice(4)
scripts:
desc: 'Compile coffee script... |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author alteredq / ht",
"end": 12,
"score": 0.961632490158081,
"start": 10,
"tag": "USERNAME",
"value": "mr"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author alteredq / http",
"end": 14,
"score": 0.5147... | source/javascripts/new_src/lights/light.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author aladjev.andrew@gmail.com
#= require new_src/core/color
#= require new_src/core/object_3d
class Light extends THREE.Object3D
constructor: (hex) ->
super()
@color = new THREE.Color hex
namespace "THREE", (export... | 13108 | # @author mr.<NAME>oob / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author <EMAIL>
#= require new_src/core/color
#= require new_src/core/object_3d
class Light extends THREE.Object3D
constructor: (hex) ->
super()
@color = new THREE.Color hex
namespace "THREE", (exports) ->
expor... | true | # @author mr.PI:NAME:<NAME>END_PIoob / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/core/color
#= require new_src/core/object_3d
class Light extends THREE.Object3D
constructor: (hex) ->
super()
@color = new THREE.Color hex
namespace... |
[
{
"context": "\n\nclass Guild\n\n constructor: (options) ->\n\n [@name, @leader] = [options.name, options.leader]\n @c",
"end": 820,
"score": 0.6512964367866516,
"start": 816,
"tag": "USERNAME",
"value": "name"
},
{
"context": ").\n\n memberEntry = _.findWhere @members, {na... | src/character/player/Guild.coffee | jawsome/IdleLands | 3 |
Character = require "../base/Character"
RestrictedNumber = require "restricted-number"
MessageCreator = require "../../system/handlers/MessageCreator"
Constants = require "../../system/utilities/Constants"
ConvenienceFunctions = require "../../system/utilities/ConvenienceFunctions"
_ = require "lodash"
Q = require "q... | 173058 |
Character = require "../base/Character"
RestrictedNumber = require "restricted-number"
MessageCreator = require "../../system/handlers/MessageCreator"
Constants = require "../../system/utilities/Constants"
ConvenienceFunctions = require "../../system/utilities/ConvenienceFunctions"
_ = require "lodash"
Q = require "q... | true |
Character = require "../base/Character"
RestrictedNumber = require "restricted-number"
MessageCreator = require "../../system/handlers/MessageCreator"
Constants = require "../../system/utilities/Constants"
ConvenienceFunctions = require "../../system/utilities/ConvenienceFunctions"
_ = require "lodash"
Q = require "q... |
[
{
"context": "# * https://github.com/jasoncypret/expressionUI\n# *\n# * Copyright (c) 2013 Jason Cyp",
"end": 34,
"score": 0.9992811679840088,
"start": 23,
"tag": "USERNAME",
"value": "jasoncypret"
},
{
"context": "asoncypret/expressionUI\n# *\n# * Copyright (c) 2013 Jason Cypret (ht... | vendor/assets/javascripts/expressionui.edit.js.coffee | jasoncypret/expressionUI | 0 | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 Jason Cypret (http://jasoncypret.com/)
# * Licensed under the MIT License
#
####################
# EDIT-SI
####################
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymous AMD mo... | 222583 | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 <NAME> (http://jasoncypret.com/)
# * Licensed under the MIT License
#
####################
# EDIT-SI
####################
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymous AMD module:
... | true | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 PI:NAME:<NAME>END_PI (http://jasoncypret.com/)
# * Licensed under the MIT License
#
####################
# EDIT-SI
####################
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymou... |
[
{
"context": " React.DOM.input(type: 'text', placeholder: \"мм\", className: 'time-field__month', value: @state.m",
"end": 1732,
"score": 0.5194800496101379,
"start": 1731,
"tag": "NAME",
"value": "м"
},
{
"context": " React.DOM.input(type: 'text', placeholder: \"мм\", class... | components/time-input.coffee | rpominov/react-parts | 1 | # depends on
# moment.js
(exports) ->
val = (event) -> event.target.value
valNum = (event) -> +val(event).replace(/[^0-9]/g, '')
minMax = (min, max, cur) -> Math.max(min, Math.min(max, cur))
exports.TimeField = React.createClass
getInitialState: ->
m = moment(@props.time)
{
year: m... | 63695 | # depends on
# moment.js
(exports) ->
val = (event) -> event.target.value
valNum = (event) -> +val(event).replace(/[^0-9]/g, '')
minMax = (min, max, cur) -> Math.max(min, Math.min(max, cur))
exports.TimeField = React.createClass
getInitialState: ->
m = moment(@props.time)
{
year: m... | true | # depends on
# moment.js
(exports) ->
val = (event) -> event.target.value
valNum = (event) -> +val(event).replace(/[^0-9]/g, '')
minMax = (min, max, cur) -> Math.max(min, Math.min(max, cur))
exports.TimeField = React.createClass
getInitialState: ->
m = moment(@props.time)
{
year: m... |
[
{
"context": "ope.chat.push(\n type: \"user\",\n name: data.n\n message: data.m\n error: !!data.e\n ",
"end": 2903,
"score": 0.9052793979644775,
"start": 2897,
"tag": "NAME",
"value": "data.n"
}
] | client/scripts/app.js.coffee | nemothekid/tinybusters | 1 | class tiny.ng.tinyApp
@$inject: ['$httpProvider']
constructor: (@httpProvider) ->
@httpProvider.defaults.useXDomain = true;
@httpProvider.defaults.withCredentials = true;
delete @httpProvider.defaults.headers.common['X-Requested-With'];
class tiny.ng.ctrl.nav
@$inject: ['$scope']
constructor: (@s... | 157093 | class tiny.ng.tinyApp
@$inject: ['$httpProvider']
constructor: (@httpProvider) ->
@httpProvider.defaults.useXDomain = true;
@httpProvider.defaults.withCredentials = true;
delete @httpProvider.defaults.headers.common['X-Requested-With'];
class tiny.ng.ctrl.nav
@$inject: ['$scope']
constructor: (@s... | true | class tiny.ng.tinyApp
@$inject: ['$httpProvider']
constructor: (@httpProvider) ->
@httpProvider.defaults.useXDomain = true;
@httpProvider.defaults.withCredentials = true;
delete @httpProvider.defaults.headers.common['X-Requested-With'];
class tiny.ng.ctrl.nav
@$inject: ['$scope']
constructor: (@s... |
[
{
"context": "s\n# passed through [Highlight](https://github.com/isagalaev/highlight.js) syntax highlighting.\n# This page is",
"end": 338,
"score": 0.9995671510696411,
"start": 329,
"tag": "USERNAME",
"value": "isagalaev"
},
{
"context": "ile.\n#\n# The [source for Docco](http://git... | general/doccolate.coffee | DrJekyllandMrHyde/chocolate | 41 | # **Docco** is a quick-and-dirty, hundred-line-long, literate-programming-style
# documentation generator. It produces HTML that displays your comments
# alongside your code. Comments are passed through
# [Markdown](http://daringfireball.net/projects/markdown/syntax), and code is
# passed through [Highlight](https://gi... | 52419 | # **Docco** is a quick-and-dirty, hundred-line-long, literate-programming-style
# documentation generator. It produces HTML that displays your comments
# alongside your code. Comments are passed through
# [Markdown](http://daringfireball.net/projects/markdown/syntax), and code is
# passed through [Highlight](https://gi... | true | # **Docco** is a quick-and-dirty, hundred-line-long, literate-programming-style
# documentation generator. It produces HTML that displays your comments
# alongside your code. Comments are passed through
# [Markdown](http://daringfireball.net/projects/markdown/syntax), and code is
# passed through [Highlight](https://gi... |
[
{
"context": "ser', (next) ->\n Users.create\n username: 'my_username'\n email: 'my@email.com'\n password: 'my_",
"end": 619,
"score": 0.9995781779289246,
"start": 608,
"tag": "USERNAME",
"value": "my_username"
},
{
"context": "reate\n username: 'my_username'\n... | test/create.coffee | wdavidw/node-ron | 14 |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get
name: 'users'
properties:
user_id: identifier: true
username: unique: true
email: index: true
next()
beforeEach... | 207760 |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get
name: 'users'
properties:
user_id: identifier: true
username: unique: true
email: index: true
next()
beforeEach... | true |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get
name: 'users'
properties:
user_id: identifier: true
username: unique: true
email: index: true
next()
beforeEach... |
[
{
"context": "@fileoverview Tests for no-console rule.\n# @author Nicholas C. Zakas\n###\n\n'use strict'\n\n#-----------------------------",
"end": 75,
"score": 0.999823272228241,
"start": 58,
"tag": "NAME",
"value": "Nicholas C. Zakas"
}
] | src/tests/rules/no-console.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-console rule.
# @author Nicholas C. Zakas
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-console'
{Rul... | 79314 | ###*
# @fileoverview Tests for no-console rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-console'
{RuleTester} = ... | true | ###*
# @fileoverview Tests for no-console rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-console'
{... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993100166320801,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "assert.equal 4, addressType\n return\n\ndns.lookup \"127.0.0.1\", (error, result, addressType... | test/simple/test-c-ares.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... | 53583 | # 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": "pace exposer to Eggplant.\r\n#\r\n# Copyright (c) 2012 Lee Olayvar <leeolayvar@gmail.com>\r\n# MIT Licensed\r\n#\r\nlib = ",
"end": 121,
"score": 0.9998922348022461,
"start": 110,
"tag": "NAME",
"value": "Lee Olayvar"
},
{
"context": "o Eggplant.\r\n#\r\n# Copyright (c)... | browser/eggplant.coffee | leeola/eggplant | 1 | #
# browser/eggplant.coffee
#
# A browser friendly namespace exposer to Eggplant.
#
# Copyright (c) 2012 Lee Olayvar <leeolayvar@gmail.com>
# MIT Licensed
#
lib = require '../lib'
# Set our exports to the lib, since we don't need to do anything worth while.
exports = module.exports = lib
# Now ... | 202340 | #
# browser/eggplant.coffee
#
# A browser friendly namespace exposer to Eggplant.
#
# Copyright (c) 2012 <NAME> <<EMAIL>>
# MIT Licensed
#
lib = require '../lib'
# Set our exports to the lib, since we don't need to do anything worth while.
exports = module.exports = lib
# Now expose the module ... | true | #
# browser/eggplant.coffee
#
# A browser friendly namespace exposer to Eggplant.
#
# Copyright (c) 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MIT Licensed
#
lib = require '../lib'
# Set our exports to the lib, since we don't need to do anything worth while.
exports = module.exports = lib
... |
[
{
"context": " 1234567890,\n # person: {\n # first_name: 'Grant',\n # last_name : 'Klinsing',\n # meta : ",
"end": 252,
"score": 0.9998767971992493,
"start": 247,
"tag": "NAME",
"value": "Grant"
},
{
"context": " # first_name: 'Grant',\n # last_name : 'Kli... | app/assets/javascripts/digital_opera/forms.js.coffee | noiseunion/do-toolbox | 0 | #= require jquery
#= require digital_opera/digital_opera_namespace
((d) ->
# @method parameterizeObject
# data [Object]
# Generate correctly formatted parameters for xhr2
#
# {
# id: 1234567890,
# person: {
# first_name: 'Grant',
# last_name : 'Klinsing',
# meta : {
# foo: '... | 116098 | #= require jquery
#= require digital_opera/digital_opera_namespace
((d) ->
# @method parameterizeObject
# data [Object]
# Generate correctly formatted parameters for xhr2
#
# {
# id: 1234567890,
# person: {
# first_name: '<NAME>',
# last_name : '<NAME>',
# meta : {
# foo: 'b... | true | #= require jquery
#= require digital_opera/digital_opera_namespace
((d) ->
# @method parameterizeObject
# data [Object]
# Generate correctly formatted parameters for xhr2
#
# {
# id: 1234567890,
# person: {
# first_name: 'PI:NAME:<NAME>END_PI',
# last_name : 'PI:NAME:<NAME>END_PI',
# ... |
[
{
"context": "###\n# YCatalyst\n# Copyright(c) 2011 Jae Kwon (jae@ycatalyst.com)\n# MIT Licensed\n###\n\n# NOTE: c",
"end": 44,
"score": 0.9998331069946289,
"start": 36,
"tag": "NAME",
"value": "Jae Kwon"
},
{
"context": "###\n# YCatalyst\n# Copyright(c) 2011 Jae Kwon (jae@ycatalyst.... | static/record.coffee | jaekwon/YCatalyst | 3 | ###
# YCatalyst
# Copyright(c) 2011 Jae Kwon (jae@ycatalyst.com)
# MIT Licensed
###
# NOTE: currently, any time we modify this file we need to ./static/compile and possibly restart the server :(
# we have to rename, otherwise coffeescript declares 'var CoffeeKup' which wipes the client side import
CoffeeKup = if wind... | 110091 | ###
# YCatalyst
# Copyright(c) 2011 <NAME> (<EMAIL>)
# MIT Licensed
###
# NOTE: currently, any time we modify this file we need to ./static/compile and possibly restart the server :(
# we have to rename, otherwise coffeescript declares 'var CoffeeKup' which wipes the client side import
CoffeeKup = if window? then win... | true | ###
# YCatalyst
# Copyright(c) 2011 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# MIT Licensed
###
# NOTE: currently, any time we modify this file we need to ./static/compile and possibly restart the server :(
# we have to rename, otherwise coffeescript declares 'var CoffeeKup' which wipes the client side import
Co... |
[
{
"context": "= null\n\n beforeEach ->\n player1 = new Player(\"Irvine\")\n player2 = new Player(\"Cloud\")\n spyOn(Gam",
"end": 205,
"score": 0.9989678859710693,
"start": 199,
"tag": "NAME",
"value": "Irvine"
},
{
"context": " = new Player(\"Irvine\")\n player2 = new Pl... | spec/javascripts/game_spec.js.coffee | fcbajao/connect-4 | 0 | $ = require("jquery")
Game = require("game")
Player = require("player")
describe "Game", ->
game = null
player1 = null
player2 = null
board = null
beforeEach ->
player1 = new Player("Irvine")
player2 = new Player("Cloud")
spyOn(Game.prototype, "onTurnStart").and.callThrough()
fixture.set("<... | 185097 | $ = require("jquery")
Game = require("game")
Player = require("player")
describe "Game", ->
game = null
player1 = null
player2 = null
board = null
beforeEach ->
player1 = new Player("<NAME>")
player2 = new Player("<NAME>")
spyOn(Game.prototype, "onTurnStart").and.callThrough()
fixture.set("... | true | $ = require("jquery")
Game = require("game")
Player = require("player")
describe "Game", ->
game = null
player1 = null
player2 = null
board = null
beforeEach ->
player1 = new Player("PI:NAME:<NAME>END_PI")
player2 = new Player("PI:NAME:<NAME>END_PI")
spyOn(Game.prototype, "onTurnStart").and.call... |
[
{
"context": ".log err if err\n\n cookieOptions =\n password: 'dingodango'\n cookie: 'sid-example'\n isSecure: false\n\n#",
"end": 1341,
"score": 0.9991858601570129,
"start": 1331,
"tag": "PASSWORD",
"value": "dingodango"
}
] | index.coffee | RoryDuncan/csci2-final-lab | 1 | Hapi = require 'hapi'
Basic = require 'hapi-auth-basic'
Joi = require 'Joi'
Auth = require './auth.js'
User = require './user.js'
server = new Hapi.Server()
server.connection({port: process.env.PORT or 5000})
###
SETUP DB
###
client = require('redis').createClient( process.env.REDIS_URL );
users = {}
auth = new Au... | 15831 | Hapi = require 'hapi'
Basic = require 'hapi-auth-basic'
Joi = require 'Joi'
Auth = require './auth.js'
User = require './user.js'
server = new Hapi.Server()
server.connection({port: process.env.PORT or 5000})
###
SETUP DB
###
client = require('redis').createClient( process.env.REDIS_URL );
users = {}
auth = new Au... | true | Hapi = require 'hapi'
Basic = require 'hapi-auth-basic'
Joi = require 'Joi'
Auth = require './auth.js'
User = require './user.js'
server = new Hapi.Server()
server.connection({port: process.env.PORT or 5000})
###
SETUP DB
###
client = require('redis').createClient( process.env.REDIS_URL );
users = {}
auth = new Au... |
[
{
"context": "h = require '../h'\n\n###*\n * Copyright (c) 2014 Gaëtan Renaudeau http://goo.gl/El3k7u\n * Adopted from https://gith",
"end": 63,
"score": 0.9998783469200134,
"start": 47,
"tag": "NAME",
"value": "Gaëtan Renaudeau"
},
{
"context": "/goo.gl/El3k7u\n * Adopted from https... | assets/dragsport/vendor/mojs-master/js/easing/bezier-easing.coffee | MCPU15/dragsport | 24 | h = require '../h'
###*
* Copyright (c) 2014 Gaëtan Renaudeau http://goo.gl/El3k7u
* Adopted from https://github.com/gre/bezier-easing
###
# TODO: remove 3 ### istanbul ignore next ### statements
# and cover the gaps
class BezierEasing
constructor:(o)-> @vars(); return @generate
vars:-> @generate = h.bi... | 199507 | h = require '../h'
###*
* Copyright (c) 2014 <NAME> http://goo.gl/El3k7u
* Adopted from https://github.com/gre/bezier-easing
###
# TODO: remove 3 ### istanbul ignore next ### statements
# and cover the gaps
class BezierEasing
constructor:(o)-> @vars(); return @generate
vars:-> @generate = h.bind @genera... | true | h = require '../h'
###*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI http://goo.gl/El3k7u
* Adopted from https://github.com/gre/bezier-easing
###
# TODO: remove 3 ### istanbul ignore next ### statements
# and cover the gaps
class BezierEasing
constructor:(o)-> @vars(); return @generate
vars:-> @generate = ... |
[
{
"context": "n. If it doesn't \" +\n \"work ask Craig.\"\n\nrenderPreview = (data) ->\n renderData = JSON.",
"end": 837,
"score": 0.8501745462417603,
"start": 832,
"tag": "NAME",
"value": "Craig"
}
] | desktop/apps/partnerships/client/edit.coffee | dblock/force | 1 | _ = require 'underscore'
require 'hulk-editor'
GeminiForm = require '../../../components/gemini_form/view.coffee'
{ DATA } = sd = require('sharify').data
{ crop } = require '../../../components/resizer/index.coffee'
template =-> require('../templates/content.jade') arguments...
hulkCallback = (data) ->
renderPreview... | 75217 | _ = require 'underscore'
require 'hulk-editor'
GeminiForm = require '../../../components/gemini_form/view.coffee'
{ DATA } = sd = require('sharify').data
{ crop } = require '../../../components/resizer/index.coffee'
template =-> require('../templates/content.jade') arguments...
hulkCallback = (data) ->
renderPreview... | true | _ = require 'underscore'
require 'hulk-editor'
GeminiForm = require '../../../components/gemini_form/view.coffee'
{ DATA } = sd = require('sharify').data
{ crop } = require '../../../components/resizer/index.coffee'
template =-> require('../templates/content.jade') arguments...
hulkCallback = (data) ->
renderPreview... |
[
{
"context": " emailSeller: ->\n $.post \"/email\",\n to: \"honki91@gmail.com\" # until we have users\n subject: \"[Poor Rich",
"end": 3066,
"score": 0.999900221824646,
"start": 3049,
"tag": "EMAIL",
"value": "honki91@gmail.com"
}
] | client/item.coffee | pennlabs/poorrichardslist | 0 | # MODELS
App.Models.Item = Backbone.Model.extend
urlRoot: "/items"
idAttribute: "_id"
parse: (response) ->
if response.type == "sublets"
response.normalizedTitle = response.location
response.normalizedPrice = "#{response.rent} / month"
else
response.normalizedTitle = response.name
... | 217055 | # MODELS
App.Models.Item = Backbone.Model.extend
urlRoot: "/items"
idAttribute: "_id"
parse: (response) ->
if response.type == "sublets"
response.normalizedTitle = response.location
response.normalizedPrice = "#{response.rent} / month"
else
response.normalizedTitle = response.name
... | true | # MODELS
App.Models.Item = Backbone.Model.extend
urlRoot: "/items"
idAttribute: "_id"
parse: (response) ->
if response.type == "sublets"
response.normalizedTitle = response.location
response.normalizedPrice = "#{response.rent} / month"
else
response.normalizedTitle = response.name
... |
[
{
"context": "tterCLDR (JavaScript) v{{version}}\n// Authors: Cameron Dutro [@camertron]\n Kirill Lashuk [@KL_7",
"end": 152,
"score": 0.9998917579650879,
"start": 139,
"tag": "NAME",
"value": "Cameron Dutro"
},
{
"context": "Script) v{{version}}\n// Authors: C... | lib/twitter_cldr/js/mustache/bundle.coffee | fakeNetflix/twitter-repo-twitter-cldr-js | 182 | ###
// Copyright 2012 Twitter, Inc
// http://www.apache.org/licenses/LICENSE-2.0
// TwitterCLDR (JavaScript) v{{version}}
// Authors: Cameron Dutro [@camertron]
Kirill Lashuk [@KL_7]
portions by Sven Fuchs [@svenfuchs]
// Homepage: https://twitter.com
// Description: Provides dat... | 101281 | ###
// Copyright 2012 Twitter, Inc
// http://www.apache.org/licenses/LICENSE-2.0
// TwitterCLDR (JavaScript) v{{version}}
// Authors: <NAME> [@camertron]
<NAME> [@KL_7]
portions by <NAME> [@svenfuchs]
// Homepage: https://twitter.com
// Description: Provides date, time, number, a... | true | ###
// Copyright 2012 Twitter, Inc
// http://www.apache.org/licenses/LICENSE-2.0
// TwitterCLDR (JavaScript) v{{version}}
// Authors: PI:NAME:<NAME>END_PI [@camertron]
PI:NAME:<NAME>END_PI [@KL_7]
portions by PI:NAME:<NAME>END_PI [@svenfuchs]
// Homepage: https://twitter.com
// D... |
[
{
"context": "gorithm Tool wrapped with ANN\n# Copyright (c) 2016 Alex Rowe <aprowe@ucsc.edu>\n# Licensed MIT\n##\n\nroot = if wi",
"end": 96,
"score": 0.9998579025268555,
"start": 87,
"tag": "NAME",
"value": "Alex Rowe"
},
{
"context": " wrapped with ANN\n# Copyright (c) 2016 Alex R... | evo.coffee | aprowe/evojs | 3 | ##
# evo.js v0.2.4
# Evolutionary Algorithm Tool wrapped with ANN
# Copyright (c) 2016 Alex Rowe <aprowe@ucsc.edu>
# Licensed MIT
##
root = if window? then window else this
((factory)->
# Node
if typeof exports == 'object'
module.exports = factory.call root
# AMD
else if typeof define == 'function' and ... | 208953 | ##
# evo.js v0.2.4
# Evolutionary Algorithm Tool wrapped with ANN
# Copyright (c) 2016 <NAME> <<EMAIL>>
# Licensed MIT
##
root = if window? then window else this
((factory)->
# Node
if typeof exports == 'object'
module.exports = factory.call root
# AMD
else if typeof define == 'function' and define.amd
... | true | ##
# evo.js v0.2.4
# Evolutionary Algorithm Tool wrapped with ANN
# Copyright (c) 2016 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Licensed MIT
##
root = if window? then window else this
((factory)->
# Node
if typeof exports == 'object'
module.exports = factory.call root
# AMD
else if typeof define ... |
[
{
"context": " 'PATH': process.env['PATH']\n 'MY_KEY': 'MY VALUE'\n env_export: true\n $log: ({log}) -",
"end": 489,
"score": 0.8653348684310913,
"start": 481,
"tag": "KEY",
"value": "MY VALUE"
},
{
"context": " 'PATH': process.env['PATH']\n 'MY_KEY': ... | packages/core/test/actions/execute/config.env_export.coffee | wdavidw/node-mecano | 0 |
stream = require 'stream'
nikita = require '../../../src'
{tags, config} = require '../../test'
they = require('mocha-they')(config)
describe 'actions.execute.config.env_export', ->
return unless tags.posix
they 'env in execute action', ({ssh}) ->
nikita $ssh: ssh, ->
logs = []
{stdout} = await @... | 177009 |
stream = require 'stream'
nikita = require '../../../src'
{tags, config} = require '../../test'
they = require('mocha-they')(config)
describe 'actions.execute.config.env_export', ->
return unless tags.posix
they 'env in execute action', ({ssh}) ->
nikita $ssh: ssh, ->
logs = []
{stdout} = await @... | true |
stream = require 'stream'
nikita = require '../../../src'
{tags, config} = require '../../test'
they = require('mocha-they')(config)
describe 'actions.execute.config.env_export', ->
return unless tags.posix
they 'env in execute action', ({ssh}) ->
nikita $ssh: ssh, ->
logs = []
{stdout} = await @... |
[
{
"context": "\": \"1111111111\"\n },\n {\n \"hex\": \"801184cd2cdd640ca42cfc3a091c51d549b2f016d454b2774019c2b2d2e08529fd206ec97e\",\n \"string\": \"5Hx15HFGyep2CfPxsJKe2fXJsCVn",
"end": 2029,
"score": 0.8401569724082947,
"start": 1956,
"tag": "KEY",
"value": "01184cd... | node_modules/base-58/Base58_Test.coffee | Stonemannen/strack | 1 | module.exports = (tape, Base58) ->
tape "Base58", (test) ->
test.same Base58.encode.constructor, Function
test.same Base58.decode.constructor, Function
test.end()
tape "encode valid string input", (test) ->
test.plan FIXTURES.valid.length
for fixture in FIXTURES.valid
actual = Base58.enco... | 195411 | module.exports = (tape, Base58) ->
tape "Base58", (test) ->
test.same Base58.encode.constructor, Function
test.same Base58.decode.constructor, Function
test.end()
tape "encode valid string input", (test) ->
test.plan FIXTURES.valid.length
for fixture in FIXTURES.valid
actual = Base58.enco... | true | module.exports = (tape, Base58) ->
tape "Base58", (test) ->
test.same Base58.encode.constructor, Function
test.same Base58.decode.constructor, Function
test.end()
tape "encode valid string input", (test) ->
test.plan FIXTURES.valid.length
for fixture in FIXTURES.valid
actual = Base58.enco... |
[
{
"context": "el 'User', UserSchema\n\nposva = new User\n email: 'posva13@gmail.com'\n password: 'posva'\n name: 'Posva'\n\n# Create my",
"end": 1633,
"score": 0.9999312162399292,
"start": 1616,
"tag": "EMAIL",
"value": "posva13@gmail.com"
},
{
"context": "ew User\n email: 'posva... | server/user.coffee | posva/dominion | 2 | 'use strict'
mongoose = require 'mongoose'
validate = require 'mongoose-validator'
console = require 'better-console'
bcrypt = require 'bcrypt'
SALT_WORK_FACTOR = 10
UserSchema = new mongoose.Schema
token:
type: String
email:
type: String
validate: validate validator: 'isEmail'
password:
required... | 222831 | 'use strict'
mongoose = require 'mongoose'
validate = require 'mongoose-validator'
console = require 'better-console'
bcrypt = require 'bcrypt'
SALT_WORK_FACTOR = 10
UserSchema = new mongoose.Schema
token:
type: String
email:
type: String
validate: validate validator: 'isEmail'
password:
required... | true | 'use strict'
mongoose = require 'mongoose'
validate = require 'mongoose-validator'
console = require 'better-console'
bcrypt = require 'bcrypt'
SALT_WORK_FACTOR = 10
UserSchema = new mongoose.Schema
token:
type: String
email:
type: String
validate: validate validator: 'isEmail'
password:
required... |
[
{
"context": "###\n# Copyright(c) 2015 Juliano Jorge Lazzarotto aka dOob\n# Apache2 Licensed\n###\n\n# Dependencies\n_",
"end": 48,
"score": 0.9998776316642761,
"start": 24,
"tag": "NAME",
"value": "Juliano Jorge Lazzarotto"
},
{
"context": "#\n# Copyright(c) 2015 Juliano Jorge Lazza... | src/Rules.coffee | rodolforios/Rules | 0 | ###
# Copyright(c) 2015 Juliano Jorge Lazzarotto aka dOob
# Apache2 Licensed
###
# Dependencies
_ = require 'underscore'
moment = require 'moment'
Exceptions = require 'exception'
class Rules
# Defaults
@REGEX_EMAIL: /[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}/
@REGEX_ALPHANUM_UNDERSCORE: /^[a-zA-Z0... | 64985 | ###
# Copyright(c) 2015 <NAME> aka dOob
# Apache2 Licensed
###
# Dependencies
_ = require 'underscore'
moment = require 'moment'
Exceptions = require 'exception'
class Rules
# Defaults
@REGEX_EMAIL: /[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}/
@REGEX_ALPHANUM_UNDERSCORE: /^[a-zA-Z0-9_]*$/
@REGEX... | true | ###
# Copyright(c) 2015 PI:NAME:<NAME>END_PI aka dOob
# Apache2 Licensed
###
# Dependencies
_ = require 'underscore'
moment = require 'moment'
Exceptions = require 'exception'
class Rules
# Defaults
@REGEX_EMAIL: /[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}/
@REGEX_ALPHANUM_UNDERSCORE: /^[a-zA-Z0-9_]... |
[
{
"context": " Display project and branch status\n#\n# Author:\n# Yannick @yann_ck\n\nmodule.exports = (robot) ->\n robot.res",
"end": 242,
"score": 0.9997785091400146,
"start": 235,
"tag": "NAME",
"value": "Yannick"
},
{
"context": " project and branch status\n#\n# Author:\n# Y... | scripts/codeship.coffee | ys/codeship-hubot | 1 | # Description:
# Access Codeship status
#
# Commands:
# hubot ship <ship_project> is <ship_uuid> - Save a projectUUID as an alias
# hubot ship status <ship_project> at <branch> - Display project and branch status
#
# Author:
# Yannick @yann_ck
module.exports = (robot) ->
robot.respond /ship ?([\w.\-_]+) is (... | 158519 | # Description:
# Access Codeship status
#
# Commands:
# hubot ship <ship_project> is <ship_uuid> - Save a projectUUID as an alias
# hubot ship status <ship_project> at <branch> - Display project and branch status
#
# Author:
# <NAME> @yann_ck
module.exports = (robot) ->
robot.respond /ship ?([\w.\-_]+) is (.... | true | # Description:
# Access Codeship status
#
# Commands:
# hubot ship <ship_project> is <ship_uuid> - Save a projectUUID as an alias
# hubot ship status <ship_project> at <branch> - Display project and branch status
#
# Author:
# PI:NAME:<NAME>END_PI @yann_ck
module.exports = (robot) ->
robot.respond /ship ?([\... |
[
{
"context": "\n# Project's main unit test\n#\n# Copyright (C) 2013 Nikolay Nemshilov\n#\n{Test, assert} = require('lovely')\n\ndescribe \"H",
"end": 69,
"score": 0.9998844265937805,
"start": 52,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | E002/hello-ie/test/hello_ie_test.coffee | lovely-io/lovely.io-show | 1 | #
# Project's main unit test
#
# Copyright (C) 2013 Nikolay Nemshilov
#
{Test, assert} = require('lovely')
describe "HelloIe", ->
HelloIe = window = document = $ = null
before Test.load module, (build, win)->
HelloIe = build
window = win
document = win.document
$ = win.Lovely.module('dom'... | 115533 | #
# Project's main unit test
#
# Copyright (C) 2013 <NAME>
#
{Test, assert} = require('lovely')
describe "HelloIe", ->
HelloIe = window = document = $ = null
before Test.load module, (build, win)->
HelloIe = build
window = win
document = win.document
$ = win.Lovely.module('dom')
it "sh... | true | #
# Project's main unit test
#
# Copyright (C) 2013 PI:NAME:<NAME>END_PI
#
{Test, assert} = require('lovely')
describe "HelloIe", ->
HelloIe = window = document = $ = null
before Test.load module, (build, win)->
HelloIe = build
window = win
document = win.document
$ = win.Lovely.module('d... |
[
{
"context": "ire 'lodash'\nBintray = require '../'\n\nusername = 'username'\napikey = 'apikey'\norganization = 'organization'\n",
"end": 92,
"score": 0.999572217464447,
"start": 84,
"tag": "USERNAME",
"value": "username"
},
{
"context": " = require '../'\n\nusername = 'username'\nap... | test/packagesSpec.coffee | h2non/node-bintray | 4 | assert = require 'assert'
_ = require 'lodash'
Bintray = require '../'
username = 'username'
apikey = 'apikey'
organization = 'organization'
repository = 'repo'
apiBaseUrl = 'http://localhost:8882'
client = new Bintray { username: username, apikey: apikey, organization: organization, repository: repository, baseUrl:... | 111511 | assert = require 'assert'
_ = require 'lodash'
Bintray = require '../'
username = 'username'
apikey = '<KEY>'
organization = 'organization'
repository = 'repo'
apiBaseUrl = 'http://localhost:8882'
client = new Bintray { username: username, apikey: apikey, organization: organization, repository: repository, baseUrl: ... | true | assert = require 'assert'
_ = require 'lodash'
Bintray = require '../'
username = 'username'
apikey = 'PI:KEY:<KEY>END_PI'
organization = 'organization'
repository = 'repo'
apiBaseUrl = 'http://localhost:8882'
client = new Bintray { username: username, apikey: apikey, organization: organization, repository: reposito... |
[
{
"context": " auth:\n user: config.uuid\n pass: config.token\n\n request.post url, requestOptions, (err",
"end": 1036,
"score": 0.5523760318756104,
"start": 1030,
"tag": "PASSWORD",
"value": "config"
},
{
"context": "h:\n user: config.uuid\n pass: ... | command-savepause.coffee | octoblu/flow-pauser | 1 | commander = require 'commander'
MeshbluConfig = require 'meshblu-config'
path = require 'path'
request = require 'request'
uuid = require 'uuid'
FLOW_DEPLOY_SERVICE_BASE_URI = process.env.FLOW_DEPLOY_SERVICE_BASE_URI ? 'https://flow-deploy.octoblu.com'
class CommandSavePause
parseOptions... | 56594 | commander = require 'commander'
MeshbluConfig = require 'meshblu-config'
path = require 'path'
request = require 'request'
uuid = require 'uuid'
FLOW_DEPLOY_SERVICE_BASE_URI = process.env.FLOW_DEPLOY_SERVICE_BASE_URI ? 'https://flow-deploy.octoblu.com'
class CommandSavePause
parseOptions... | true | commander = require 'commander'
MeshbluConfig = require 'meshblu-config'
path = require 'path'
request = require 'request'
uuid = require 'uuid'
FLOW_DEPLOY_SERVICE_BASE_URI = process.env.FLOW_DEPLOY_SERVICE_BASE_URI ? 'https://flow-deploy.octoblu.com'
class CommandSavePause
parseOptions... |
[
{
"context": "ress'\nextend = require 'extend'\ngithub = require 'octonode'\nmorgan = require 'morgan'\nredis = require 'redis",
"end": 219,
"score": 0.887355387210846,
"start": 211,
"tag": "USERNAME",
"value": "octonode"
},
{
"context": "urn\n parentKey = key.split '.'\n key = par... | app.coffee | ngsio/i18n-manage-api | 0 | require('dotenv').load()
CSON = require 'cson'
bodyParser = require('body-parser')
cors = require 'cors'
dateFormat = require 'dateformat'
express = require 'express'
extend = require 'extend'
github = require 'octonode'
morgan = require 'morgan'
redis = require 'redis'
session = require 'express-session'
Path = requir... | 105296 | require('dotenv').load()
CSON = require 'cson'
bodyParser = require('body-parser')
cors = require 'cors'
dateFormat = require 'dateformat'
express = require 'express'
extend = require 'extend'
github = require 'octonode'
morgan = require 'morgan'
redis = require 'redis'
session = require 'express-session'
Path = requir... | true | require('dotenv').load()
CSON = require 'cson'
bodyParser = require('body-parser')
cors = require 'cors'
dateFormat = require 'dateformat'
express = require 'express'
extend = require 'extend'
github = require 'octonode'
morgan = require 'morgan'
redis = require 'redis'
session = require 'express-session'
Path = requir... |
[
{
"context": "elegatee) class Something\n constructor: (@a_member)->\n \n expect(Something::operate).",
"end": 6712,
"score": 0.953354001045227,
"start": 6702,
"tag": "USERNAME",
"value": "(@a_member"
},
{
"context": "elegatee) class Something\n ... | code/Paws/Test/utility.tests.coffee | mitchellurgero/illacceptanything | 1 | expect = require 'expect.js'
Paws = require "../Source/Paws.coffee"
describe "Paws' utilities:", ->
utilities = require "../Source/utilities.coffee"
it 'should exist', ->
expect(utilities).to.be.ok()
describe 'chain()', ->
composed = utilities.chain -> 'whee'
it 'should always return th... | 120968 | expect = require 'expect.js'
Paws = require "../Source/Paws.coffee"
describe "Paws' utilities:", ->
utilities = require "../Source/utilities.coffee"
it 'should exist', ->
expect(utilities).to.be.ok()
describe 'chain()', ->
composed = utilities.chain -> 'whee'
it 'should always return th... | true | expect = require 'expect.js'
Paws = require "../Source/Paws.coffee"
describe "Paws' utilities:", ->
utilities = require "../Source/utilities.coffee"
it 'should exist', ->
expect(utilities).to.be.ok()
describe 'chain()', ->
composed = utilities.chain -> 'whee'
it 'should always return th... |
[
{
"context": "\n stateSave: true\n columns: [\n {data: 'farmer_name'}\n {data: 'value'}\n {data: 'remaining_v",
"end": 235,
"score": 0.9892532229423523,
"start": 224,
"tag": "NAME",
"value": "farmer_name"
}
] | app/assets/javascripts/ageing_report.coffee | wagura-maurice/glowing-umbrella | 0 | ready = ->
$('#ageing-reports-table').dataTable
processing: true
serverSide: true
ajax: $('#ageing-reports-table').data('source')
pagingType: 'full_numbers'
stateSave: true
columns: [
{data: 'farmer_name'}
{data: 'value'}
{data: 'remaining_value'}
{data: 'interest_rate'... | 100437 | ready = ->
$('#ageing-reports-table').dataTable
processing: true
serverSide: true
ajax: $('#ageing-reports-table').data('source')
pagingType: 'full_numbers'
stateSave: true
columns: [
{data: '<NAME>'}
{data: 'value'}
{data: 'remaining_value'}
{data: 'interest_rate'}
... | true | ready = ->
$('#ageing-reports-table').dataTable
processing: true
serverSide: true
ajax: $('#ageing-reports-table').data('source')
pagingType: 'full_numbers'
stateSave: true
columns: [
{data: 'PI:NAME:<NAME>END_PI'}
{data: 'value'}
{data: 'remaining_value'}
{data: 'inter... |
[
{
"context": "\n AUTH_HOST: null\n\n cloudfront:\n keypairId: '1234'\n privateKeyPath: path.resolve path.join(__dir",
"end": 276,
"score": 0.9986311793327332,
"start": 272,
"tag": "KEY",
"value": "1234"
}
] | server/config.local.coffee | BoLaMN/loopback-boot-di | 0 | path = require 'path'
config =
MONGO_USER: null
MONGO_PASS: null
MONGO_HOST: null
MONGO_PORT: null
MONGO_DBNAME: "mongo"
SES_USER: null
SES_PASS: null
SES_HOST: null
SES_PORT: null
REDIS_HOST: null
AUTH_HOST: null
cloudfront:
keypairId: '1234'
privateKeyPath: path.resolve path.join... | 177310 | path = require 'path'
config =
MONGO_USER: null
MONGO_PASS: null
MONGO_HOST: null
MONGO_PORT: null
MONGO_DBNAME: "mongo"
SES_USER: null
SES_PASS: null
SES_HOST: null
SES_PORT: null
REDIS_HOST: null
AUTH_HOST: null
cloudfront:
keypairId: '<KEY>'
privateKeyPath: path.resolve path.joi... | true | path = require 'path'
config =
MONGO_USER: null
MONGO_PASS: null
MONGO_HOST: null
MONGO_PORT: null
MONGO_DBNAME: "mongo"
SES_USER: null
SES_PASS: null
SES_HOST: null
SES_PORT: null
REDIS_HOST: null
AUTH_HOST: null
cloudfront:
keypairId: 'PI:KEY:<KEY>END_PI'
privateKeyPath: path.res... |
[
{
"context": "\n\ndnschain\nhttp://dnschain.net\n\nCopyright (c) 2013 Greg Slepak\nLicensed under the BSD 3-Clause license.\n\n###\n\nTr",
"end": 65,
"score": 0.9998615384101868,
"start": 54,
"tag": "NAME",
"value": "Greg Slepak"
}
] | src/lib/resolver-stream.coffee | wartron/dnschain | 1 | ###
dnschain
http://dnschain.net
Copyright (c) 2013 Greg Slepak
Licensed under the BSD 3-Clause license.
###
Transform = require('stream').Transform
# objectMode is one by default
module.exports = (dnschain) ->
StackedScheduler = require('./stacked-scheduler')(dnschain)
# expose these into our namespace
... | 36938 | ###
dnschain
http://dnschain.net
Copyright (c) 2013 <NAME>
Licensed under the BSD 3-Clause license.
###
Transform = require('stream').Transform
# objectMode is one by default
module.exports = (dnschain) ->
StackedScheduler = require('./stacked-scheduler')(dnschain)
# expose these into our namespace
f... | true | ###
dnschain
http://dnschain.net
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the BSD 3-Clause license.
###
Transform = require('stream').Transform
# objectMode is one by default
module.exports = (dnschain) ->
StackedScheduler = require('./stacked-scheduler')(dnschain)
# expose these into our n... |
[
{
"context": "ocalhost',\n\t\t\t\tuser : 'root',\n\t\t\t\tpassword : 'kernel'\n\t\t\t\tdatabase : 'okcase'\n\t\t\t});\n\n\t\t\tconnection.co",
"end": 418,
"score": 0.9993232488632202,
"start": 412,
"tag": "PASSWORD",
"value": "kernel"
}
] | controllers/user/parseCities.coffee | winnlab/Polpharma | 0 | async = require 'async'
mysql = require 'mysql'
View = require '../../lib/view'
Model = require '../../lib/model'
#Auth = require '../../lib/auth'
#socialConfig = require '../../meta/socialConfig'
#Document = require '../../utils/document'
exports.index = (req, res) ->
async.waterfall [
(next) ->
connection = ... | 40117 | async = require 'async'
mysql = require 'mysql'
View = require '../../lib/view'
Model = require '../../lib/model'
#Auth = require '../../lib/auth'
#socialConfig = require '../../meta/socialConfig'
#Document = require '../../utils/document'
exports.index = (req, res) ->
async.waterfall [
(next) ->
connection = ... | true | async = require 'async'
mysql = require 'mysql'
View = require '../../lib/view'
Model = require '../../lib/model'
#Auth = require '../../lib/auth'
#socialConfig = require '../../meta/socialConfig'
#Document = require '../../utils/document'
exports.index = (req, res) ->
async.waterfall [
(next) ->
connection = ... |
[
{
"context": "user: \n data: [\n id: 1\n name: \"Bob\"\n ,\n id: 2\n name: \"Sue\"\n ",
"end": 525,
"score": 0.9993917942047119,
"start": 522,
"tag": "NAME",
"value": "Bob"
},
{
"context": " name: \"Bob\"\n ,\n id: 2\n nam... | test/spec_coffee/model_has_many_through_spec.coffee | kirkbowers/mvcoffee | 0 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "item", through: 'user_item'
theItem = class Item extends MVCoffee.Model
theItem.hasMany "user", through: 'user_item'
theUserItem = class UserItem extends MVCoffee.Model
theUserItem.belongsTo "user"
theUserItem.bel... | 195401 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "item", through: 'user_item'
theItem = class Item extends MVCoffee.Model
theItem.hasMany "user", through: 'user_item'
theUserItem = class UserItem extends MVCoffee.Model
theUserItem.belongsTo "user"
theUserItem.bel... | true | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "item", through: 'user_item'
theItem = class Item extends MVCoffee.Model
theItem.hasMany "user", through: 'user_item'
theUserItem = class UserItem extends MVCoffee.Model
theUserItem.belongsTo "user"
theUserItem.bel... |
[
{
"context": "Pocket',\n 'IMEI': '864394020228161',\n 'token': '0',\n 'version': '4.0.4',\n 'Content-Type': 'applic",
"end": 158,
"score": 0.8556979298591614,
"start": 157,
"tag": "PASSWORD",
"value": "0"
}
] | app/src/modules/index/components/getLiveList.coffee | duan602728596/koudai48LiveCatch | 2 | # 获取直播列表
request = global.require('request')
# 请求头
HEADERS = {
'os': 'android',
'User-Agent': 'Mobile_Pocket',
'IMEI': '864394020228161',
'token': '0',
'version': '4.0.4',
'Content-Type': 'application/json;charset=utf-8',
'Host': 'plive.48.cn',
'Connection': 'Keep-Alive',
'Accept-Encoding': 'gzip',
}... | 38503 | # 获取直播列表
request = global.require('request')
# 请求头
HEADERS = {
'os': 'android',
'User-Agent': 'Mobile_Pocket',
'IMEI': '864394020228161',
'token': '<PASSWORD>',
'version': '4.0.4',
'Content-Type': 'application/json;charset=utf-8',
'Host': 'plive.48.cn',
'Connection': 'Keep-Alive',
'Accept-Encoding': ... | true | # 获取直播列表
request = global.require('request')
# 请求头
HEADERS = {
'os': 'android',
'User-Agent': 'Mobile_Pocket',
'IMEI': '864394020228161',
'token': 'PI:PASSWORD:<PASSWORD>END_PI',
'version': '4.0.4',
'Content-Type': 'application/json;charset=utf-8',
'Host': 'plive.48.cn',
'Connection': 'Keep-Alive',
'... |
[
{
"context": " i: i\n j: j\n guesses: guesses\n password = '0123456789'\n\n # for tests, set additive penalty to zero.\n ",
"end": 1567,
"score": 0.9994023442268372,
"start": 1557,
"tag": "PASSWORD",
"value": "0123456789"
},
{
"context": " 1, msg\n match =\n pattern: 'da... | test/test-scoring.coffee | grazies/zxcvbn | 1 | test = require 'tape'
scoring = require '../src/scoring'
matching = require '../src/matching'
log2 = scoring.log2
log10 = scoring.log10
nCk = scoring.nCk
EPSILON = 1e-10 # truncate to 10th decimal place
truncate_float = (float) -> Math.round(float / EPSILON) * EPSILON
approx_equal = (t, actual, expected, msg) ->
t.e... | 207214 | test = require 'tape'
scoring = require '../src/scoring'
matching = require '../src/matching'
log2 = scoring.log2
log10 = scoring.log10
nCk = scoring.nCk
EPSILON = 1e-10 # truncate to 10th decimal place
truncate_float = (float) -> Math.round(float / EPSILON) * EPSILON
approx_equal = (t, actual, expected, msg) ->
t.e... | true | test = require 'tape'
scoring = require '../src/scoring'
matching = require '../src/matching'
log2 = scoring.log2
log10 = scoring.log10
nCk = scoring.nCk
EPSILON = 1e-10 # truncate to 10th decimal place
truncate_float = (float) -> Math.round(float / EPSILON) * EPSILON
approx_equal = (t, actual, expected, msg) ->
t.e... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.