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": "re 'crypto'\r\n genToken = (type, id, t, secret = \"akfish\") ->\r\n # TODO: make sever-side secret configur",
"end": 1128,
"score": 0.647170901298523,
"start": 1122,
"tag": "KEY",
"value": "akfish"
}
] | lib/io/server.coffee | akfish/atom-entanglement | 0 | if require.main == module
console.log "Loaded"
app = require('express')()
server = require('http').Server(app)
sio = require('socket.io')(server)
Logger = require('./logger')
atom_io = sio.of '/atom' # atom registery
device_io = sio.of '/device' # device registery
log_io = sio.of ... | 18889 | if require.main == module
console.log "Loaded"
app = require('express')()
server = require('http').Server(app)
sio = require('socket.io')(server)
Logger = require('./logger')
atom_io = sio.of '/atom' # atom registery
device_io = sio.of '/device' # device registery
log_io = sio.of ... | true | if require.main == module
console.log "Loaded"
app = require('express')()
server = require('http').Server(app)
sio = require('socket.io')(server)
Logger = require('./logger')
atom_io = sio.of '/atom' # atom registery
device_io = sio.of '/device' # device registery
log_io = sio.of ... |
[
{
"context": "li>{@}</li>{end names}</ul>\"\n\n data = names: [\"Abby\",\"Matt\",\"Jhon\"]\n\n result = Bigot.render source",
"end": 627,
"score": 0.9998362064361572,
"start": 623,
"tag": "NAME",
"value": "Abby"
},
{
"context": "/li>{end names}</ul>\"\n\n data = names: [\"Ab... | test/test.coffee | FireZenk/bigot | 2 | Bigot = require("./../lib/index.js");
exports.BigotTest =
'Test 01 - Render objects': (test) ->
source = "<h1>{title}</h1><h6>{subtitle}</h6><p>{content}</p><p>2 + 3 = {func}</p>"
data = title: "Hello World!", subtitle: "and hello Bigot!", content: "This is a Bigot test template", func: () -> 2+3
resu... | 186006 | Bigot = require("./../lib/index.js");
exports.BigotTest =
'Test 01 - Render objects': (test) ->
source = "<h1>{title}</h1><h6>{subtitle}</h6><p>{content}</p><p>2 + 3 = {func}</p>"
data = title: "Hello World!", subtitle: "and hello Bigot!", content: "This is a Bigot test template", func: () -> 2+3
resu... | true | Bigot = require("./../lib/index.js");
exports.BigotTest =
'Test 01 - Render objects': (test) ->
source = "<h1>{title}</h1><h6>{subtitle}</h6><p>{content}</p><p>2 + 3 = {func}</p>"
data = title: "Hello World!", subtitle: "and hello Bigot!", content: "This is a Bigot test template", func: () -> 2+3
resu... |
[
{
"context": "alue_array.length == 1 and a.mx_hash.hash_key == 'identifier'\n if !a.mx_hash.type?\n a.mx_hash.type",
"end": 5345,
"score": 0.9570508003234863,
"start": 5335,
"tag": "KEY",
"value": "identifier"
},
{
"context": "############\n\ntrans = new Translator\ntrans... | src/type_inference.coffee | hu2prod/scriptscript | 1 | require 'fy'
require 'fy/lib/codegen'
{
Translator
} = require 'gram2'
module = @
# ###################################################################################################
# scope state
# ###################################################################################################
# MAY BE move t... | 181127 | require 'fy'
require 'fy/lib/codegen'
{
Translator
} = require 'gram2'
module = @
# ###################################################################################################
# scope state
# ###################################################################################################
# MAY BE move t... | true | require 'fy'
require 'fy/lib/codegen'
{
Translator
} = require 'gram2'
module = @
# ###################################################################################################
# scope state
# ###################################################################################################
# MAY BE move t... |
[
{
"context": "view Tests for operator-assignment rule.\n# @author Brandon Mills\n###\n\n'use strict'\n\n#-----------------------------",
"end": 80,
"score": 0.9996968507766724,
"start": 67,
"tag": "NAME",
"value": "Brandon Mills"
}
] | src/tests/rules/operator-assignment.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for operator-assignment rule.
# @author Brandon Mills
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/operator-assignm... | 92769 | ###*
# @fileoverview Tests for operator-assignment rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/operator-assignment'
{R... | true | ###*
# @fileoverview Tests for operator-assignment rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/operator-... |
[
{
"context": "rldFromVariable', ->\n assert.equal @person, \"david\"\n assert.equal @body, \"hello david\"\n \n ",
"end": 449,
"score": 0.99652099609375,
"start": 444,
"tag": "NAME",
"value": "david"
},
{
"context": " @person, \"david\"\n assert.equal @body, \"hel... | test/cases/controller/renderTemplateTest.coffee | ludicast/tower | 1 | require '../../config'
controller = null
user = null
router = null
describe 'Tower.Controller.Rendering', ->
test 'renderCoffeeKupFromTemplate', ->
Tower.get 'renderCoffeeKupFromTemplate', ->
assert.equal @body, "<h1>Hello World</h1>\n"
assert.equal @headers["Content-Type"], "text/html"... | 82667 | require '../../config'
controller = null
user = null
router = null
describe 'Tower.Controller.Rendering', ->
test 'renderCoffeeKupFromTemplate', ->
Tower.get 'renderCoffeeKupFromTemplate', ->
assert.equal @body, "<h1>Hello World</h1>\n"
assert.equal @headers["Content-Type"], "text/html"... | true | require '../../config'
controller = null
user = null
router = null
describe 'Tower.Controller.Rendering', ->
test 'renderCoffeeKupFromTemplate', ->
Tower.get 'renderCoffeeKupFromTemplate', ->
assert.equal @body, "<h1>Hello World</h1>\n"
assert.equal @headers["Content-Type"], "text/html"... |
[
{
"context": "nvert', ->\n beforeEach ->\n room.user.say 'jim', 'hubot convert 1318781876'\n\n it 'should echo",
"end": 784,
"score": 0.7107774019241333,
"start": 781,
"tag": "NAME",
"value": "jim"
}
] | tests/timestamp.coffee | tigefabot/test | 0 | Helper = require('hubot-test-helper')
expect = require('chai').expect
assert = require('chai').assert
sinon = require('sinon')
# helper loads a specific script if it's a file
helper = new Helper('./../scripts/timestamp.coffee')
describe 'timestamp', ->
room = null
moment = null
momentUnixStub = null
momentUni... | 220791 | Helper = require('hubot-test-helper')
expect = require('chai').expect
assert = require('chai').assert
sinon = require('sinon')
# helper loads a specific script if it's a file
helper = new Helper('./../scripts/timestamp.coffee')
describe 'timestamp', ->
room = null
moment = null
momentUnixStub = null
momentUni... | true | Helper = require('hubot-test-helper')
expect = require('chai').expect
assert = require('chai').assert
sinon = require('sinon')
# helper loads a specific script if it's a file
helper = new Helper('./../scripts/timestamp.coffee')
describe 'timestamp', ->
room = null
moment = null
momentUnixStub = null
momentUni... |
[
{
"context": "e\n email: email.toLowerCase()\n password: password\n firstName: req.body.firstName\n lastNam",
"end": 1048,
"score": 0.9991434216499329,
"start": 1040,
"tag": "PASSWORD",
"value": "password"
}
] | config/passport.coffee | webzepter/cleveroad_test_task | 2 | LocalStrategy = require('passport-local').Strategy
module.exports = (userModel, passport) ->
serialize = (user, done) ->
done(null, user.id)
deserialize = (id, done) ->
userModel
.findOneById(id)
.populate('role')
.exec (err, user) ->
done(err, user)
passport.serializeUser(serialize)
... | 119498 | LocalStrategy = require('passport-local').Strategy
module.exports = (userModel, passport) ->
serialize = (user, done) ->
done(null, user.id)
deserialize = (id, done) ->
userModel
.findOneById(id)
.populate('role')
.exec (err, user) ->
done(err, user)
passport.serializeUser(serialize)
... | true | LocalStrategy = require('passport-local').Strategy
module.exports = (userModel, passport) ->
serialize = (user, done) ->
done(null, user.id)
deserialize = (id, done) ->
userModel
.findOneById(id)
.populate('role')
.exec (err, user) ->
done(err, user)
passport.serializeUser(serialize)
... |
[
{
"context": "\n 'id': 1\n }\n {\n 'name': 'Ontario'\n 'id': 2\n }\n {\n 'name': ",
"end": 949,
"score": 0.9959821701049805,
"start": 942,
"tag": "NAME",
"value": "Ontario"
}
] | client/views/UI/form/customerForm.coffee | boogieprod/pacsim | 0 | Template.customerForm.rendered = ->
$('.ui.dropdown').dropdown()
$('#progress-bar').progress
percent: 100
Template.customerForm.helpers
subtotal: ->
total = 0
CartItems.find().map (item) ->
total += item.productPrice
return total
canadiantaxes: ->
total = 0
CartItems.find().map (... | 110804 | Template.customerForm.rendered = ->
$('.ui.dropdown').dropdown()
$('#progress-bar').progress
percent: 100
Template.customerForm.helpers
subtotal: ->
total = 0
CartItems.find().map (item) ->
total += item.productPrice
return total
canadiantaxes: ->
total = 0
CartItems.find().map (... | true | Template.customerForm.rendered = ->
$('.ui.dropdown').dropdown()
$('#progress-bar').progress
percent: 100
Template.customerForm.helpers
subtotal: ->
total = 0
CartItems.find().map (item) ->
total += item.productPrice
return total
canadiantaxes: ->
total = 0
CartItems.find().map (... |
[
{
"context": "\n return callback url if parser.hostname in ['127.0.0.1', 'dev.kodi.ng']\n\n # check if running under pr",
"end": 581,
"score": 0.9997518062591553,
"start": 572,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " # build our new url, example:\n # ol... | client/app/lib/util/proxifier.coffee | ezgikaysi/koding | 1 | globals = require 'globals'
doXhrRequest = require 'app/util/doXhrRequest'
module.exports = class Proxifier
@proxify = (options, callback) ->
# take options for url
{ url, checkAlternatives } = options
checkAlternatives ?= yes
# parse url
parser = global.document.createElement 'a'... | 22004 | globals = require 'globals'
doXhrRequest = require 'app/util/doXhrRequest'
module.exports = class Proxifier
@proxify = (options, callback) ->
# take options for url
{ url, checkAlternatives } = options
checkAlternatives ?= yes
# parse url
parser = global.document.createElement 'a'... | true | globals = require 'globals'
doXhrRequest = require 'app/util/doXhrRequest'
module.exports = class Proxifier
@proxify = (options, callback) ->
# take options for url
{ url, checkAlternatives } = options
checkAlternatives ?= yes
# parse url
parser = global.document.createElement 'a'... |
[
{
"context": " expect(stringCapitalizeFilter('jon')).to.equal 'Jon'\n expect(stringCapitalizeFilter('JP')).to.",
"end": 223,
"score": 0.8760522603988647,
"start": 220,
"tag": "NAME",
"value": "Jon"
}
] | spec/string_filters.spec.coffee | goodeggs/ng-string | 5 | describe 'string filters', ->
beforeEach module 'string'
describe 'capitalize', ->
it 'capitalizes a string', ->
inject (stringCapitalizeFilter) ->
expect(stringCapitalizeFilter('jon')).to.equal 'Jon'
expect(stringCapitalizeFilter('JP')).to.equal 'Jp'
# TODO add basic tests for all th... | 169315 | describe 'string filters', ->
beforeEach module 'string'
describe 'capitalize', ->
it 'capitalizes a string', ->
inject (stringCapitalizeFilter) ->
expect(stringCapitalizeFilter('jon')).to.equal '<NAME>'
expect(stringCapitalizeFilter('JP')).to.equal 'Jp'
# TODO add basic tests for all... | true | describe 'string filters', ->
beforeEach module 'string'
describe 'capitalize', ->
it 'capitalizes a string', ->
inject (stringCapitalizeFilter) ->
expect(stringCapitalizeFilter('jon')).to.equal 'PI:NAME:<NAME>END_PI'
expect(stringCapitalizeFilter('JP')).to.equal 'Jp'
# TODO add basic... |
[
{
"context": "r/discover/etc.)', ->\n <CreditCard\n name='Frank Latte'\n number='4242424242424242'\n month='04'",
"end": 283,
"score": 0.9998475313186646,
"start": 272,
"tag": "NAME",
"value": "Frank Latte"
},
{
"context": "260px'}}>\n <CreditCard\n ... | client/component-lab/CreditCard/CreditCard.story.coffee | lionheart1022/koding | 0 | React = require 'react'
{ storiesOf, action } = require '@kadira/storybook'
CreditCard = require './CreditCard'
storiesOf 'CreditCard', module
.add 'empty card', ->
<CreditCard />
.add 'regular card (visa/master/discover/etc.)', ->
<CreditCard
name='Frank Latte'
number='4242424242424242'
... | 55597 | React = require 'react'
{ storiesOf, action } = require '@kadira/storybook'
CreditCard = require './CreditCard'
storiesOf 'CreditCard', module
.add 'empty card', ->
<CreditCard />
.add 'regular card (visa/master/discover/etc.)', ->
<CreditCard
name='<NAME>'
number='4242424242424242'
mo... | true | React = require 'react'
{ storiesOf, action } = require '@kadira/storybook'
CreditCard = require './CreditCard'
storiesOf 'CreditCard', module
.add 'empty card', ->
<CreditCard />
.add 'regular card (visa/master/discover/etc.)', ->
<CreditCard
name='PI:NAME:<NAME>END_PI'
number='424242424242... |
[
{
"context": "# **Author:** Peter Urbak<br/>\n# **Version:** 2013-01-29\n\n# Initialize name",
"end": 25,
"score": 0.9998606443405151,
"start": 14,
"tag": "NAME",
"value": "Peter Urbak"
}
] | client_src/util.coffee | dragonwasrobot/gesture-recognition | 2 | # **Author:** Peter Urbak<br/>
# **Version:** 2013-01-29
# Initialize namespace
root = exports ? window
root.App = {}
# Add `first` and `last` functions to the `Array` class.
Array::first = () -> @[0]
Array::last = () -> @[@.length-1]
# Add a `length` function to the `Object` class.
#
# Returns the number of propert... | 53512 | # **Author:** <NAME><br/>
# **Version:** 2013-01-29
# Initialize namespace
root = exports ? window
root.App = {}
# Add `first` and `last` functions to the `Array` class.
Array::first = () -> @[0]
Array::last = () -> @[@.length-1]
# Add a `length` function to the `Object` class.
#
# Returns the number of properties o... | true | # **Author:** PI:NAME:<NAME>END_PI<br/>
# **Version:** 2013-01-29
# Initialize namespace
root = exports ? window
root.App = {}
# Add `first` and `last` functions to the `Array` class.
Array::first = () -> @[0]
Array::last = () -> @[@.length-1]
# Add a `length` function to the `Object` class.
#
# Returns the number o... |
[
{
"context": "ubmitData(\"/user/newUser\", {\n username: username\n password: password\n }).then (r",
"end": 2483,
"score": 0.9985024929046631,
"start": 2475,
"tag": "USERNAME",
"value": "username"
},
{
"context": " username: username\n ... | public/javascripts/form.coffee | aXises/DNUI-Project | 3 | submitData = (route, data) =>
$.ajax
url: route
type: 'POST'
data: data
$(document).ready =>
$(".form-container .close, .form-container .clickable-bg").click =>
$(".form-container, .form-container .dynamic-form").removeClass("form-visible")
showPageOpen = false;
$(".... | 94549 | submitData = (route, data) =>
$.ajax
url: route
type: 'POST'
data: data
$(document).ready =>
$(".form-container .close, .form-container .clickable-bg").click =>
$(".form-container, .form-container .dynamic-form").removeClass("form-visible")
showPageOpen = false;
$(".... | true | submitData = (route, data) =>
$.ajax
url: route
type: 'POST'
data: data
$(document).ready =>
$(".form-container .close, .form-container .clickable-bg").click =>
$(".form-container, .form-container .dynamic-form").removeClass("form-visible")
showPageOpen = false;
$(".... |
[
{
"context": "# Author: Josh Bass\n\nReact = require(\"react\");\n\nCustomerEdit = requir",
"end": 19,
"score": 0.9998804330825806,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
}
] | src/client/components/customers/CustomerCreate.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
React = require("react");
CustomerEdit = require("./CustomerEdit.coffee");
Moment = require("moment");
module.exports = React.createClass
getInitialState: ->
@default_state = {show_create_customer: false, first_name: "", middle_name: "", address: "", birthday: Moment(), \
customer_a... | 107904 | # Author: <NAME>
React = require("react");
CustomerEdit = require("./CustomerEdit.coffee");
Moment = require("moment");
module.exports = React.createClass
getInitialState: ->
@default_state = {show_create_customer: false, first_name: "", middle_name: "", address: "", birthday: Moment(), \
customer_aler... | true | # Author: PI:NAME:<NAME>END_PI
React = require("react");
CustomerEdit = require("./CustomerEdit.coffee");
Moment = require("moment");
module.exports = React.createClass
getInitialState: ->
@default_state = {show_create_customer: false, first_name: "", middle_name: "", address: "", birthday: Moment(), \
... |
[
{
"context": "ble', ->\n config1 = config2 =\n host: '127.0.0.1',\n username: undefined,\n private_ke",
"end": 406,
"score": 0.9996308088302612,
"start": 397,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ig2 =\n host: '127.0.0.1',\n ... | packages/core/test/utils/ssh.coffee | wdavidw/node-mecano | 0 |
{merge} = require 'mixme'
nikita = require '../../src'
utils = require '../../src/utils'
{tags, config} = require '../test'
# All test are executed with an ssh connection passed as an argument
they = require('mocha-they')(config.filter ({ssh}) -> !!ssh)
describe 'utils.ssh', ->
return unless tags.api
describe 'c... | 39935 |
{merge} = require 'mixme'
nikita = require '../../src'
utils = require '../../src/utils'
{tags, config} = require '../test'
# All test are executed with an ssh connection passed as an argument
they = require('mocha-they')(config.filter ({ssh}) -> !!ssh)
describe 'utils.ssh', ->
return unless tags.api
describe 'c... | true |
{merge} = require 'mixme'
nikita = require '../../src'
utils = require '../../src/utils'
{tags, config} = require '../test'
# All test are executed with an ssh connection passed as an argument
they = require('mocha-they')(config.filter ({ssh}) -> !!ssh)
describe 'utils.ssh', ->
return unless tags.api
describe 'c... |
[
{
"context": " Coffeescript implementation of PHP version from David Grudl\n http://latrine.dgx.cz/jak-overit-platne-ic-a-",
"end": 87,
"score": 0.9139158129692078,
"start": 76,
"tag": "NAME",
"value": "David Grudl"
}
] | src/Validators.coffee | ezo5/Node-AresData | 5 | class Validators
###
Coffeescript implementation of PHP version from David Grudl
http://latrine.dgx.cz/jak-overit-platne-ic-a-rodne-cislo
###
@companyIdentification: (identification) ->
identification += ''
identification = identification.replace(/\s+/g, '')
if identification.match(/^\d{8}$/) == nul... | 223878 | class Validators
###
Coffeescript implementation of PHP version from <NAME>
http://latrine.dgx.cz/jak-overit-platne-ic-a-rodne-cislo
###
@companyIdentification: (identification) ->
identification += ''
identification = identification.replace(/\s+/g, '')
if identification.match(/^\d{8}$/) == null
... | true | class Validators
###
Coffeescript implementation of PHP version from PI:NAME:<NAME>END_PI
http://latrine.dgx.cz/jak-overit-platne-ic-a-rodne-cislo
###
@companyIdentification: (identification) ->
identification += ''
identification = identification.replace(/\s+/g, '')
if identification.match(/^\d{8}$... |
[
{
"context": " yield utils.initAdmin()\n yield utils.loginUser(@admin)\n yield request.postAsync(getURL('/db/article'",
"end": 614,
"score": 0.9904212951660156,
"start": 608,
"tag": "USERNAME",
"value": "@admin"
},
{
"context": "s', utils.wrap (done) ->\n yield utils.loginUs... | spec/server/functional/article.spec.coffee | l34kr/codecombat | 2 | require '../common'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
request = require '../request'
requestAsync = Promise.promisify(request, {multiArgs: true})
Article = require '../../../server/models/Article'
User = require '../../../server/models/User'
describe 'GET /db/article', ->
a... | 15878 | require '../common'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
request = require '../request'
requestAsync = Promise.promisify(request, {multiArgs: true})
Article = require '../../../server/models/Article'
User = require '../../../server/models/User'
describe 'GET /db/article', ->
a... | true | require '../common'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
request = require '../request'
requestAsync = Promise.promisify(request, {multiArgs: true})
Article = require '../../../server/models/Article'
User = require '../../../server/models/User'
describe 'GET /db/article', ->
a... |
[
{
"context": "core\"\n\nclass URLHandler\n GOOGLE_PUBLIC_API_KEY: \"AIzaSyAtc-2VrI5oKvel7KWTqviHD6LaguPGw70\"\n\n @_shortKeys:\n \"type\": \"T\"\n \"easing\": \"e",
"end": 129,
"score": 0.9997333884239197,
"start": 90,
"tag": "KEY",
"value": "AIzaSyAtc-2VrI5oKvel7KWTqviHD6LaguPGw70"
... | app/scripts/urlhandler.coffee | jaymicrocode/bounce.js | 3,683 | $ = require "jquery"
_ = require "underscore"
class URLHandler
GOOGLE_PUBLIC_API_KEY: "AIzaSyAtc-2VrI5oKvel7KWTqviHD6LaguPGw70"
@_shortKeys:
"type": "T"
"easing": "e"
"duration": "d"
"delay": "D"
"from": "f"
"to": "t"
"bounces": "b"
"stiffness": "s"
@_shortValues:
"bounce": ... | 71030 | $ = require "jquery"
_ = require "underscore"
class URLHandler
GOOGLE_PUBLIC_API_KEY: "<KEY>"
@_shortKeys:
"type": "T"
"easing": "e"
"duration": "d"
"delay": "D"
"from": "f"
"to": "t"
"bounces": "b"
"stiffness": "s"
@_shortValues:
"bounce": "b"
"sway": "s"
"hardbounc... | true | $ = require "jquery"
_ = require "underscore"
class URLHandler
GOOGLE_PUBLIC_API_KEY: "PI:KEY:<KEY>END_PI"
@_shortKeys:
"type": "T"
"easing": "e"
"duration": "d"
"delay": "D"
"from": "f"
"to": "t"
"bounces": "b"
"stiffness": "s"
@_shortValues:
"bounce": "b"
"sway": "s"
... |
[
{
"context": "ue: 3\n argument_3:\n value: [ 'Smith', 'Johnson', 'Jackson' ]\n ]\n ]\n\n i",
"end": 1821,
"score": 0.9997161626815796,
"start": 1816,
"tag": "NAME",
"value": "Smith"
},
{
"context": " argument_3:\n value: [ 'Smith', ... | test/callback_ordered.coffee | mpj/beautiful-lies | 1 | chai = require 'chai'
should = chai.should()
expect = chai.expect
after = require('fluent-time').after
beautiful = require '../src/beautiful-lies'
# TODO: Add support for simultaneous calls of another (of) callback
# and the handler callback
#
#
describe 'Ordered callback', ->
liar = nul... | 146622 | chai = require 'chai'
should = chai.should()
expect = chai.expect
after = require('fluent-time').after
beautiful = require '../src/beautiful-lies'
# TODO: Add support for simultaneous calls of another (of) callback
# and the handler callback
#
#
describe 'Ordered callback', ->
liar = nul... | true | chai = require 'chai'
should = chai.should()
expect = chai.expect
after = require('fluent-time').after
beautiful = require '../src/beautiful-lies'
# TODO: Add support for simultaneous calls of another (of) callback
# and the handler callback
#
#
describe 'Ordered callback', ->
liar = nul... |
[
{
"context": "geset.vemail()]\n password: [\n totem_changeset.vpresence(presence: true, message: 'You ",
"end": 1232,
"score": 0.5457372665405273,
"start": 1232,
"tag": "PASSWORD",
"value": ""
},
{
"context": "Date().getTime()\n changeset.set('first_name', 'Test')\n... | src/thinkspace/client/thinkspace-user/addon/components/sign_up.coffee | sixthedge/cellar | 6 | import ember from 'ember'
import totem_changeset from 'totem/changeset'
import ns from 'totem/ns'
import config from 'totem-config/config'
import base from 'thinkspace-base/components/base'
export default base.extend
# # Properties
debug: config.autofill
authent... | 149829 | import ember from 'ember'
import totem_changeset from 'totem/changeset'
import ns from 'totem/ns'
import config from 'totem-config/config'
import base from 'thinkspace-base/components/base'
export default base.extend
# # Properties
debug: config.autofill
authent... | true | import ember from 'ember'
import totem_changeset from 'totem/changeset'
import ns from 'totem/ns'
import config from 'totem-config/config'
import base from 'thinkspace-base/components/base'
export default base.extend
# # Properties
debug: config.autofill
authent... |
[
{
"context": "\"ModifierDyingWishRespawnEntity\"\n\n\t@modifierName:\"Dying Wish\"\n\t@description: \"Dying Wish: Resummon this minion",
"end": 295,
"score": 0.8424081206321716,
"start": 285,
"tag": "NAME",
"value": "Dying Wish"
}
] | app/sdk/modifiers/modifierDyingWishRespawnEntity.coffee | willroberts/duelyst | 5 | ModifierDyingWish = require './modifierDyingWish'
PlayCardSilentlyAction = require 'app/sdk/actions/playCardSilentlyAction'
class ModifierDyingWishRespawnEntity extends ModifierDyingWish
type:"ModifierDyingWishRespawnEntity"
@type:"ModifierDyingWishRespawnEntity"
@modifierName:"Dying Wish"
@description: "Dying W... | 11764 | ModifierDyingWish = require './modifierDyingWish'
PlayCardSilentlyAction = require 'app/sdk/actions/playCardSilentlyAction'
class ModifierDyingWishRespawnEntity extends ModifierDyingWish
type:"ModifierDyingWishRespawnEntity"
@type:"ModifierDyingWishRespawnEntity"
@modifierName:"<NAME>"
@description: "Dying Wish:... | true | ModifierDyingWish = require './modifierDyingWish'
PlayCardSilentlyAction = require 'app/sdk/actions/playCardSilentlyAction'
class ModifierDyingWishRespawnEntity extends ModifierDyingWish
type:"ModifierDyingWishRespawnEntity"
@type:"ModifierDyingWishRespawnEntity"
@modifierName:"PI:NAME:<NAME>END_PI"
@description... |
[
{
"context": "ats - proves the lotto has no bias\n#\n# Author:\n# sakatam\n# pcsforeducation\n\n_ = require \"undersc",
"end": 467,
"score": 0.9997325539588928,
"start": 460,
"tag": "USERNAME",
"value": "sakatam"
},
{
"context": " the lotto has no bias\n#\n# Author:\n# ... | src/reviewer-queue.coffee | pcsforeducation/hubot-review-queue | 0 | # Description:
# assigns reviewers in a round robin fashion for pull requests.
#
# Configuration:
# HUBOT_GITHUB_TOKEN (required)
# HUBOT_GITHUB_ORG (required)
# HUBOT_GITHUB_REVIEWER_TEAM (required)
# github team id. this script picks the next eligible reviewer off a queue
#
# Commands:
# hubot reviewer ... | 185744 | # Description:
# assigns reviewers in a round robin fashion for pull requests.
#
# Configuration:
# HUBOT_GITHUB_TOKEN (required)
# HUBOT_GITHUB_ORG (required)
# HUBOT_GITHUB_REVIEWER_TEAM (required)
# github team id. this script picks the next eligible reviewer off a queue
#
# Commands:
# hubot reviewer ... | true | # Description:
# assigns reviewers in a round robin fashion for pull requests.
#
# Configuration:
# HUBOT_GITHUB_TOKEN (required)
# HUBOT_GITHUB_ORG (required)
# HUBOT_GITHUB_REVIEWER_TEAM (required)
# github team id. this script picks the next eligible reviewer off a queue
#
# Commands:
# hubot reviewer ... |
[
{
"context": "dar widget script\n # by w3widgets\n #\n # Author: Lukasz Kokoszkiewicz\n #\n # Copyright © w3widgets 2013 All Rights Res",
"end": 96,
"score": 0.9998463988304138,
"start": 76,
"tag": "NAME",
"value": "Lukasz Kokoszkiewicz"
}
] | public/calendar/js/coffee/responsive-calendar.coffee | antlev/examen | 5 | ###!
# Responsive Celendar widget script
# by w3widgets
#
# Author: Lukasz Kokoszkiewicz
#
# Copyright © w3widgets 2013 All Rights Reserved
###
do ($ = jQuery) ->
"use strict"
Calendar = ( element, options ) ->
@$element = element
@options = options
@weekDays = ['sun', 'mon', 'tue', 'wed', ... | 40861 | ###!
# Responsive Celendar widget script
# by w3widgets
#
# Author: <NAME>
#
# Copyright © w3widgets 2013 All Rights Reserved
###
do ($ = jQuery) ->
"use strict"
Calendar = ( element, options ) ->
@$element = element
@options = options
@weekDays = ['sun', 'mon', 'tue', 'wed', 'thu', 'fri', ... | true | ###!
# Responsive Celendar widget script
# by w3widgets
#
# Author: PI:NAME:<NAME>END_PI
#
# Copyright © w3widgets 2013 All Rights Reserved
###
do ($ = jQuery) ->
"use strict"
Calendar = ( element, options ) ->
@$element = element
@options = options
@weekDays = ['sun', 'mon', 'tue', 'wed', ... |
[
{
"context": "de=&CurrentView=Course&__RequestVerificationToken=ImS3Q-N9kqOn_SuVXXyia8Og-auOw6TsghSKSxCwKqEkmhpLn0bDdbYMQxYygmHcLXhQYJbeK6yr76xz39SwM4KejJEJ4xNYfOeuEFnSu9w1'\n courses = [] # many courses are duplicate ",
"end": 1030,
"score": 0.9931235313415527,
"start": 922,
"tag": "KEY",
... | server/scripts/ucas_courses.coffee | leviathanindustries/noddy | 2 |
import Future from 'fibers/future'
import fs from 'fs'
API.add 'scripts/ucas/courses',
get:
authRequired: 'root'
action: () ->
institutions = JSON.parse fs.readFileSync '/home/cloo/institutions.json'
addr = 'https://digital.ucas.com/search/results?SearchText=&SubjectText=&ProviderText=&AutoSugg... | 213471 |
import Future from 'fibers/future'
import fs from 'fs'
API.add 'scripts/ucas/courses',
get:
authRequired: 'root'
action: () ->
institutions = JSON.parse fs.readFileSync '/home/cloo/institutions.json'
addr = 'https://digital.ucas.com/search/results?SearchText=&SubjectText=&ProviderText=&AutoSugg... | true |
import Future from 'fibers/future'
import fs from 'fs'
API.add 'scripts/ucas/courses',
get:
authRequired: 'root'
action: () ->
institutions = JSON.parse fs.readFileSync '/home/cloo/institutions.json'
addr = 'https://digital.ucas.com/search/results?SearchText=&SubjectText=&ProviderText=&AutoSugg... |
[
{
"context": "ry few town crier events, if at all.\n *\n * @name Earplugs\n * @prerequisite Receive 10 town crier events\n ",
"end": 153,
"score": 0.6218532919883728,
"start": 145,
"tag": "NAME",
"value": "Earplugs"
}
] | src/character/personalities/Earplugs.coffee | jawsome/IdleLands | 3 |
Personality = require "../base/Personality"
`/**
* This personality makes it so you see very few town crier events, if at all.
*
* @name Earplugs
* @prerequisite Receive 10 town crier events
* @category Personalities
* @package Player
*/`
class Earplugs extends Personality
constructor: ->
eventModifi... | 191193 |
Personality = require "../base/Personality"
`/**
* This personality makes it so you see very few town crier events, if at all.
*
* @name <NAME>
* @prerequisite Receive 10 town crier events
* @category Personalities
* @package Player
*/`
class Earplugs extends Personality
constructor: ->
eventModifier... | true |
Personality = require "../base/Personality"
`/**
* This personality makes it so you see very few town crier events, if at all.
*
* @name PI:NAME:<NAME>END_PI
* @prerequisite Receive 10 town crier events
* @category Personalities
* @package Player
*/`
class Earplugs extends Personality
constructor: ->
... |
[
{
"context": "st'\nstackTrace = require 'stack-trace'\nAPI_KEY = '67df35116e8250ccc8c4a3e081882b35'\n\nStackTraceCache = new WeakMap\n\nbuildNotificatio",
"end": 154,
"score": 0.9997369647026062,
"start": 122,
"tag": "KEY",
"value": "67df35116e8250ccc8c4a3e081882b35"
}
] | lib/reporter.coffee | particle-iot/particle-dev-exception-reporting | 0 | _ = require 'underscore-plus'
os = require 'os'
request = require 'request'
stackTrace = require 'stack-trace'
API_KEY = '67df35116e8250ccc8c4a3e081882b35'
StackTraceCache = new WeakMap
buildNotificationJSON = (error, params) ->
apiKey: API_KEY
notifier:
name: 'Particle Dev'
version: params.appVersion
... | 141775 | _ = require 'underscore-plus'
os = require 'os'
request = require 'request'
stackTrace = require 'stack-trace'
API_KEY = '<KEY>'
StackTraceCache = new WeakMap
buildNotificationJSON = (error, params) ->
apiKey: API_KEY
notifier:
name: 'Particle Dev'
version: params.appVersion
url: 'https://particle.io'... | true | _ = require 'underscore-plus'
os = require 'os'
request = require 'request'
stackTrace = require 'stack-trace'
API_KEY = 'PI:KEY:<KEY>END_PI'
StackTraceCache = new WeakMap
buildNotificationJSON = (error, params) ->
apiKey: API_KEY
notifier:
name: 'Particle Dev'
version: params.appVersion
url: 'https:/... |
[
{
"context": "ase()\n @user = msg.message.user.name\n @key = \"#{CIRCLE_ALERT_PRE}-#{@repo}-#{@branch}\"\n\n addWatcher: ->\n watchers = @robot.brain.get",
"end": 648,
"score": 0.977962851524353,
"start": 607,
"tag": "KEY",
"value": "\"#{CIRCLE_ALERT_PRE}-#{@repo}-#{@branch}\""
}... | src/circle-ci-notify.coffee | IndieGoGo/hubot-circleci-notify | 3 | # Description:
# Get notifications when your CircleCI builds finish
#
# Commands:
# hubot ci[rcle] alert <repo> <branch> - Receive a DM when CircleCI completes a build for your branch
# hubot ci[rcle] rm alert <repo> <branch> - Remove notifications for CircleCI builds of your branch
# hubot ci[rcle] build alert... | 113472 | # Description:
# Get notifications when your CircleCI builds finish
#
# Commands:
# hubot ci[rcle] alert <repo> <branch> - Receive a DM when CircleCI completes a build for your branch
# hubot ci[rcle] rm alert <repo> <branch> - Remove notifications for CircleCI builds of your branch
# hubot ci[rcle] build alert... | true | # Description:
# Get notifications when your CircleCI builds finish
#
# Commands:
# hubot ci[rcle] alert <repo> <branch> - Receive a DM when CircleCI completes a build for your branch
# hubot ci[rcle] rm alert <repo> <branch> - Remove notifications for CircleCI builds of your branch
# hubot ci[rcle] build alert... |
[
{
"context": "amespace: @\n\n productJSON =\n id: 1\n name: 'Product One'\n cost: 10\n store_id: 1\n\n MockRequest.",
"end": 1774,
"score": 0.6833209991455078,
"start": 1767,
"tag": "NAME",
"value": "Product"
},
{
"context": "subject_type: 'Store'\n }, {\n id: 2\n ... | tests/batman/storage_adapter/rails_storage_test.coffee | airhorns/batman | 1 | if typeof require isnt 'undefined'
{restStorageTestSuite} = require('./rest_storage_helper')
else
{restStorageTestSuite} = window
MockRequest = restStorageTestSuite.MockRequest
oldRequest = Batman.Request
oldExpectedForUrl = MockRequest.getExpectedForUrl
QUnit.module "Batman.RailsStorage"
setup: ->
MockReq... | 102239 | if typeof require isnt 'undefined'
{restStorageTestSuite} = require('./rest_storage_helper')
else
{restStorageTestSuite} = window
MockRequest = restStorageTestSuite.MockRequest
oldRequest = Batman.Request
oldExpectedForUrl = MockRequest.getExpectedForUrl
QUnit.module "Batman.RailsStorage"
setup: ->
MockReq... | true | if typeof require isnt 'undefined'
{restStorageTestSuite} = require('./rest_storage_helper')
else
{restStorageTestSuite} = window
MockRequest = restStorageTestSuite.MockRequest
oldRequest = Batman.Request
oldExpectedForUrl = MockRequest.getExpectedForUrl
QUnit.module "Batman.RailsStorage"
setup: ->
MockReq... |
[
{
"context": "ll\n @update()\n \n update: ->\n i18nKey = 'code.'+@word\n translation = @componentTranslations[@w",
"end": 2613,
"score": 0.9771827459335327,
"start": 2607,
"tag": "KEY",
"value": "code.'"
}
] | app/views/play/level/tome/SpellTranslationView.coffee | cihatislamdede/codecombat | 4,858 | CocoView = require 'views/core/CocoView'
LevelComponent = require 'models/LevelComponent'
template = require 'templates/play/level/tome/spell_translation'
ace = require('lib/aceContainer')
Range = ace.require('ace/range').Range
TokenIterator = ace.require('ace/token_iterator').TokenIterator
utils = require 'core/utils'... | 71294 | CocoView = require 'views/core/CocoView'
LevelComponent = require 'models/LevelComponent'
template = require 'templates/play/level/tome/spell_translation'
ace = require('lib/aceContainer')
Range = ace.require('ace/range').Range
TokenIterator = ace.require('ace/token_iterator').TokenIterator
utils = require 'core/utils'... | true | CocoView = require 'views/core/CocoView'
LevelComponent = require 'models/LevelComponent'
template = require 'templates/play/level/tome/spell_translation'
ace = require('lib/aceContainer')
Range = ace.require('ace/range').Range
TokenIterator = ace.require('ace/token_iterator').TokenIterator
utils = require 'core/utils'... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999140501022339,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmap-discussions/message-length-counter.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div } from 'react-dom-factories'
bn = 'beatmap-discussion-message-length-counter'
export MessageLengthC... | 80514 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div } from 'react-dom-factories'
bn = 'beatmap-discussion-message-length-counter'
export MessageLengthCounter ... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div } from 'react-dom-factories'
bn = 'beatmap-discussion-message-length-counter'
export Messag... |
[
{
"context": "all products owned by the specified user.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass UserProductsRou",
"end": 679,
"score": 0.9998611807823181,
"start": 667,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/ajax/user/UserProductsRoute.coffee | qrefdev/qref | 0 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
###
Service route that allows the retrieval of all products owned by a specific user.
@example Servic... | 121159 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
###
Service route that allows the retrieval of all products owned by a specific user.
@example Servic... | true | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
###
Service route that allows the retrieval of all products owned by a specific user.
@example Servic... |
[
{
"context": "ats.coffee\n# lotto-ionic\n# v0.0.2\n# Copyright 2016 Andreja Tonevski, https://github.com/atonevski/lotto-ionic\n# For l",
"end": 73,
"score": 0.9998828768730164,
"start": 57,
"tag": "NAME",
"value": "Andreja Tonevski"
},
{
"context": "pyright 2016 Andreja Tonevski, ht... | www/coffee/stats.coffee | atonevski/lotto-ionic | 0 | #
# stats.coffee
# lotto-ionic
# v0.0.2
# Copyright 2016 Andreja Tonevski, https://github.com/atonevski/lotto-ionic
# For license information see LICENSE in the repository
#
angular.module 'app.stats', []
.controller 'LottoStats', ($scope, $http, $ionicLoading) ->
$scope.hideChart = true
$scope.sbarChart = { }
... | 136995 | #
# stats.coffee
# lotto-ionic
# v0.0.2
# Copyright 2016 <NAME>, https://github.com/atonevski/lotto-ionic
# For license information see LICENSE in the repository
#
angular.module 'app.stats', []
.controller 'LottoStats', ($scope, $http, $ionicLoading) ->
$scope.hideChart = true
$scope.sbarChart = { }
$scope.sba... | true | #
# stats.coffee
# lotto-ionic
# v0.0.2
# Copyright 2016 PI:NAME:<NAME>END_PI, https://github.com/atonevski/lotto-ionic
# For license information see LICENSE in the repository
#
angular.module 'app.stats', []
.controller 'LottoStats', ($scope, $http, $ionicLoading) ->
$scope.hideChart = true
$scope.sbarChart = { ... |
[
{
"context": ">\n icon:\n name: \"ma-person\"\n pw: \"ma-vpn_key\"\n activeLabel: \"active\"\n initClass:\n mo",
"end": 242,
"score": 0.3864552974700928,
"start": 238,
"tag": "PASSWORD",
"value": "vpn_"
}
] | src/materialize.coffee | ceri-widgets/ceri-login-modal | 0 | module.exports =
mixins: [
require("ceri-progress/mixin")(require("ceri-progress/materialize"))
require("ceri-toaster/mixin")(require("ceri-toaster/materialize"))
]
data: ->
icon:
name: "ma-person"
pw: "ma-vpn_key"
activeLabel: "active"
initClass:
modal: "materialize login-moda... | 184173 | module.exports =
mixins: [
require("ceri-progress/mixin")(require("ceri-progress/materialize"))
require("ceri-toaster/mixin")(require("ceri-toaster/materialize"))
]
data: ->
icon:
name: "ma-person"
pw: "ma-<PASSWORD>key"
activeLabel: "active"
initClass:
modal: "materialize logi... | true | module.exports =
mixins: [
require("ceri-progress/mixin")(require("ceri-progress/materialize"))
require("ceri-toaster/mixin")(require("ceri-toaster/materialize"))
]
data: ->
icon:
name: "ma-person"
pw: "ma-PI:PASSWORD:<PASSWORD>END_PIkey"
activeLabel: "active"
initClass:
modal:... |
[
{
"context": "uires source-map-support\n@requires restify\n@author Isaac Johnston <isaac.johnston@joukou.com>\n###\n\nrequire( 'source",
"end": 673,
"score": 0.9998772740364075,
"start": 659,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": "support\n@requires restify\n@autho... | src/server.coffee | joukou/joukou-api | 0 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 99347 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | true | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
[
{
"context": "#!vanilla\n\n# See: http://www.loria.fr/~rougier/teaching/numpy/scripts/gray-scott.py\n\nclass ",
"end": 41,
"score": 0.962641716003418,
"start": 39,
"tag": "USERNAME",
"value": "ro"
},
{
"context": "#!vanilla\n\n# See: http://www.loria.fr/~rougier/teaching/numpy/script... | main.coffee | stemblab/gray-scott | 4 | #!vanilla
# See: http://www.loria.fr/~rougier/teaching/numpy/scripts/gray-scott.py
class Model
N: 62
r: 20
rep = (x, n) -> ((x for [1..n]) for [1..n])
zeros = (n) -> rep 0, n
constructor: (@F=0.06, @k=0.062, @Du=0.19, @Dv=0.05) ->
z = => zeros(@N+2)
@U = z()
@V =... | 181383 | #!vanilla
# See: http://www.loria.fr/~ro<NAME>/teaching/numpy/scripts/gray-scott.py
class Model
N: 62
r: 20
rep = (x, n) -> ((x for [1..n]) for [1..n])
zeros = (n) -> rep 0, n
constructor: (@F=0.06, @k=0.062, @Du=0.19, @Dv=0.05) ->
z = => zeros(@N+2)
@U = z()
@V ... | true | #!vanilla
# See: http://www.loria.fr/~roPI:NAME:<NAME>END_PI/teaching/numpy/scripts/gray-scott.py
class Model
N: 62
r: 20
rep = (x, n) -> ((x for [1..n]) for [1..n])
zeros = (n) -> rep 0, n
constructor: (@F=0.06, @k=0.062, @Du=0.19, @Dv=0.05) ->
z = => zeros(@N+2)
@U = z... |
[
{
"context": "console.log \"Hi Folks!\"\n\n$(\".dropdown\").click ->\n $(this).find(\"ul\").t",
"end": 21,
"score": 0.9493117332458496,
"start": 16,
"tag": "NAME",
"value": "Folks"
}
] | src/coffee/stones.coffee | michaelgenesini/Stones-framework | 1 | console.log "Hi Folks!"
$(".dropdown").click ->
$(this).find("ul").toggleClass "open"
return | 84472 | console.log "Hi <NAME>!"
$(".dropdown").click ->
$(this).find("ul").toggleClass "open"
return | true | console.log "Hi PI:NAME:<NAME>END_PI!"
$(".dropdown").click ->
$(this).find("ul").toggleClass "open"
return |
[
{
"context": " \"use\":\"sig\",\n \"alg\":\"RS256\",\n \"n\":\"AJ4bmyK/fLoEMPuiR6uHOWlhjJRQFPunVxWHsG8uwPneJmPxCGPbboyVlCGtD1xsfHtygIu7zhfNbb1AiHW5pc3bi1k8udM3CHQUTuneudNtMkIODGm/pTV3nQ1TH1tr9ebquT360DTEhkmjv/5LZwsnOA0HAf/3GG9fu8gl55mhpKnyhWpkbrHryuh8cx8hUzLwi5Rr5gA1IrhQP9SFX2y68suSS0wp7HoQTIie6EX... | test/anvil-connect.angular.coffee | bauglir/connect-js | 9 | 'use strict'
describe 'Anvil Connect', ->
{Anvil,AnvilProvider,uri,nonce,$httpBackend,promise,jwk} = {}
config =
issuer: 'https://accounts.anvil.io'
client_id: 'uuid'
redirect_uri: 'https://my.app.com'
scope: ['other']
display: 'popup'
jwk:
"kty":"RSA",
... | 221000 | 'use strict'
describe 'Anvil Connect', ->
{Anvil,AnvilProvider,uri,nonce,$httpBackend,promise,jwk} = {}
config =
issuer: 'https://accounts.anvil.io'
client_id: 'uuid'
redirect_uri: 'https://my.app.com'
scope: ['other']
display: 'popup'
jwk:
"kty":"RSA",
... | true | 'use strict'
describe 'Anvil Connect', ->
{Anvil,AnvilProvider,uri,nonce,$httpBackend,promise,jwk} = {}
config =
issuer: 'https://accounts.anvil.io'
client_id: 'uuid'
redirect_uri: 'https://my.app.com'
scope: ['other']
display: 'popup'
jwk:
"kty":"RSA",
... |
[
{
"context": " hubot flip - Hubot flips a table\n#\n# Author:\n# jjasghar\n# Jason Dixon\n\nmodule.exports = (robot) ->\n\n r",
"end": 173,
"score": 0.9996629953384399,
"start": 165,
"tag": "USERNAME",
"value": "jjasghar"
},
{
"context": "- Hubot flips a table\n#\n# Author:\n# ... | scripts/fliptable.coffee | Drewzar/hayt | 5 | # Description:
# Make hubot flip a table
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot flip - Hubot flips a table
#
# Author:
# jjasghar
# Jason Dixon
module.exports = (robot) ->
robot.respond /flip\b/i, (msg) ->
flips = [
'(╯°□°)╯︵ ┻━┻',
'┬─┬ ノ( ゜-゜ノ)',
... | 164394 | # Description:
# Make hubot flip a table
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot flip - Hubot flips a table
#
# Author:
# jjasghar
# <NAME>
module.exports = (robot) ->
robot.respond /flip\b/i, (msg) ->
flips = [
'(╯°□°)╯︵ ┻━┻',
'┬─┬ ノ( ゜-゜ノ)',
'(ノ ... | true | # Description:
# Make hubot flip a table
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot flip - Hubot flips a table
#
# Author:
# jjasghar
# PI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.respond /flip\b/i, (msg) ->
flips = [
'(╯°□°)╯︵ ┻━┻',
'┬─┬ ノ( ゜-゜ノ... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.7343764305114746,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/console/models/HttpConsole.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 114491 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": "\n\n onJsdoit = document.domain is 'jsrun.it'\n\n imgURL = if not onJsdoit t",
"end": 1929,
"score": 0.7361804246902466,
"start": 1927,
"tag": "EMAIL",
"value": "it"
}
] | js/main2.coffee | edom18/S3D | 0 | do (win = window, doc = window.document, exports = window) ->
#Import
{tan, cos, sin, PI} = Math
{Face2, Object3D, Line, Color, AmbientLight, DirectionalLight, Plate, Face, Cube, Texture, Triangle, Matrix4, Camera, Renderer, Scene, Vector3, Particle} = window.S3D
$ = (selector) ->
doc.querySel... | 49798 | do (win = window, doc = window.document, exports = window) ->
#Import
{tan, cos, sin, PI} = Math
{Face2, Object3D, Line, Color, AmbientLight, DirectionalLight, Plate, Face, Cube, Texture, Triangle, Matrix4, Camera, Renderer, Scene, Vector3, Particle} = window.S3D
$ = (selector) ->
doc.querySel... | true | do (win = window, doc = window.document, exports = window) ->
#Import
{tan, cos, sin, PI} = Math
{Face2, Object3D, Line, Color, AmbientLight, DirectionalLight, Plate, Face, Cube, Texture, Triangle, Matrix4, Camera, Renderer, Scene, Vector3, Particle} = window.S3D
$ = (selector) ->
doc.querySel... |
[
{
"context": "rfc3339date.js library\n# https://github.com/tardate/rfc3339date.js\n# Copyright (c) 2010 Paul GALLAGHE",
"end": 1028,
"score": 0.5992943644523621,
"start": 1025,
"tag": "USERNAME",
"value": "ate"
},
{
"context": "ub.com/tardate/rfc3339date.js\n# Copyright (c) 2010 Pa... | lib/iso8601.coffee | Do/iso8601.js | 10 | # iso8601.js
#
# Partial ECMAScript 5.1 Date object polyfill to support the ISO 8601 format
# specified in section 15.9.1.15 in Date.parse (section 15.9.4.2) and
# Date.prototype.toISOString (section 15.9.5.43). ISO 8601 formats from RFC 3339
# and the W3C Date and Time Formats NOTE (http://www.w3.org/TR/NOTE-datetime)... | 2391 | # iso8601.js
#
# Partial ECMAScript 5.1 Date object polyfill to support the ISO 8601 format
# specified in section 15.9.1.15 in Date.parse (section 15.9.4.2) and
# Date.prototype.toISOString (section 15.9.5.43). ISO 8601 formats from RFC 3339
# and the W3C Date and Time Formats NOTE (http://www.w3.org/TR/NOTE-datetime)... | true | # iso8601.js
#
# Partial ECMAScript 5.1 Date object polyfill to support the ISO 8601 format
# specified in section 15.9.1.15 in Date.parse (section 15.9.4.2) and
# Date.prototype.toISOString (section 15.9.5.43). ISO 8601 formats from RFC 3339
# and the W3C Date and Time Formats NOTE (http://www.w3.org/TR/NOTE-datetime)... |
[
{
"context": " \"765\": \"French (Suriname)\"\n \"815\": \"French (Svalbard and Jan Mayen)\"\n \"767\": \"French (Swaziland)\"\n",
"end": 13737,
"score": 0.7035489678382874,
"start": 13736,
"tag": "NAME",
"value": "b"
},
{
"context": "\"French (Suriname)\"\n \"815\": \"French (Sva... | src/commands/update/lists/languages.coffee | upisfree/medic | 2 | # export
module.exports =
"186": "Afrikaans"
"110": "Afrikaans (South Africa)"
"187": "Albanian"
"151": "Albanian (Albania)"
"188": "Amharic"
"111": "Amharic (Ethiopia)"
"8": "Arabic"
"266": "Arabic (Algeria)"
"265": "Arabic (Bahrain)"
"36": "Arabic (Egypt)"
"268": "Arabic (Iraq)"
"57": "Arabic ... | 71801 | # export
module.exports =
"186": "Afrikaans"
"110": "Afrikaans (South Africa)"
"187": "Albanian"
"151": "Albanian (Albania)"
"188": "Amharic"
"111": "Amharic (Ethiopia)"
"8": "Arabic"
"266": "Arabic (Algeria)"
"265": "Arabic (Bahrain)"
"36": "Arabic (Egypt)"
"268": "Arabic (Iraq)"
"57": "Arabic ... | true | # export
module.exports =
"186": "Afrikaans"
"110": "Afrikaans (South Africa)"
"187": "Albanian"
"151": "Albanian (Albania)"
"188": "Amharic"
"111": "Amharic (Ethiopia)"
"8": "Arabic"
"266": "Arabic (Algeria)"
"265": "Arabic (Bahrain)"
"36": "Arabic (Egypt)"
"268": "Arabic (Iraq)"
"57": "Arabic ... |
[
{
"context": "ata}}</name>')\n expect(template.fromXML('<name>Wilfred</name>')).toEqual({ name: 'Wilfred' })\n expect",
"end": 245,
"score": 0.9996512532234192,
"start": 238,
"tag": "NAME",
"value": "Wilfred"
},
{
"context": "fromXML('<name>Wilfred</name>')).toEqual({ name: 'Wi... | test/model/cdata-test.coffee | admariner/cruftless | 19 | cruftless = require('../../src/cruftless')
{ element, attr, text, parse } = cruftless()
describe 'cdata', ->
it 'should parse cdata like text', ->
template = parse('<name>{{name|cdata}}</name>')
expect(template.fromXML('<name>Wilfred</name>')).toEqual({ name: 'Wilfred' })
expect(template.fromXML('<name>... | 100602 | cruftless = require('../../src/cruftless')
{ element, attr, text, parse } = cruftless()
describe 'cdata', ->
it 'should parse cdata like text', ->
template = parse('<name>{{name|cdata}}</name>')
expect(template.fromXML('<name><NAME></name>')).toEqual({ name: '<NAME>' })
expect(template.fromXML('<name><!... | true | cruftless = require('../../src/cruftless')
{ element, attr, text, parse } = cruftless()
describe 'cdata', ->
it 'should parse cdata like text', ->
template = parse('<name>{{name|cdata}}</name>')
expect(template.fromXML('<name>PI:NAME:<NAME>END_PI</name>')).toEqual({ name: 'PI:NAME:<NAME>END_PI' })
expec... |
[
{
"context": " prompting : ->\n\n prefabTypesWithSpriteKey = ['Sprite', 'TileSprite', 'Emitter', 'Button']\n\n done = @a",
"end": 376,
"score": 0.7774574756622314,
"start": 368,
"tag": "KEY",
"value": "Sprite',"
},
{
"context": " : ->\n\n prefabTypesWithSpriteKey = ['Sprite'... | generators/prefab/index.coffee | ozankasikci/generator-phaser-coffeescript-gulp | 28 | _s = require 'underscore.string'
chalk = require 'chalk'
yosay = require 'yosay'
generators = require 'yeoman-generator'
module.exports = generators.NamedBase.extend
initializing : ->
@log yosay chalk.green "Creating a new prefab, hang tight!"
@name = @name.replace '.coffee', ''
p... | 175789 | _s = require 'underscore.string'
chalk = require 'chalk'
yosay = require 'yosay'
generators = require 'yeoman-generator'
module.exports = generators.NamedBase.extend
initializing : ->
@log yosay chalk.green "Creating a new prefab, hang tight!"
@name = @name.replace '.coffee', ''
p... | true | _s = require 'underscore.string'
chalk = require 'chalk'
yosay = require 'yosay'
generators = require 'yeoman-generator'
module.exports = generators.NamedBase.extend
initializing : ->
@log yosay chalk.green "Creating a new prefab, hang tight!"
@name = @name.replace '.coffee', ''
p... |
[
{
"context": " @result = @sut.onEnvelope config: {left: {name: 'Aaron', height: '5 feet tall'}, right: { name: 'Aaron',",
"end": 2493,
"score": 0.9989286661148071,
"start": 2488,
"tag": "NAME",
"value": "Aaron"
},
{
"context": " 'Aaron', height: '5 feet tall'}, right: { name: 'Aaron'... | test/not-equal-spec.coffee | sqrtofsaturn/nanocyte-component-not-equal | 0 | ReturnValue = require 'nanocyte-component-return-value'
NotEqual = require '../src/not-equal'
describe 'NotEqual', ->
beforeEach ->
@sut = new NotEqual
it 'should exist', ->
expect(@sut).to.be.an.instanceOf ReturnValue
describe '->onEnvelope', ->
describe 'when called with boolean true', ->
b... | 108596 | ReturnValue = require 'nanocyte-component-return-value'
NotEqual = require '../src/not-equal'
describe 'NotEqual', ->
beforeEach ->
@sut = new NotEqual
it 'should exist', ->
expect(@sut).to.be.an.instanceOf ReturnValue
describe '->onEnvelope', ->
describe 'when called with boolean true', ->
b... | true | ReturnValue = require 'nanocyte-component-return-value'
NotEqual = require '../src/not-equal'
describe 'NotEqual', ->
beforeEach ->
@sut = new NotEqual
it 'should exist', ->
expect(@sut).to.be.an.instanceOf ReturnValue
describe '->onEnvelope', ->
describe 'when called with boolean true', ->
b... |
[
{
"context": "##*\n# server-checker : lib/checkers/http\n# Author: MrKMG (https://github.com/mrkmg)\n# Contributor: Sven Sl",
"end": 57,
"score": 0.9996359348297119,
"start": 52,
"tag": "USERNAME",
"value": "MrKMG"
},
{
"context": "checkers/http\n# Author: MrKMG (https://github.com/m... | src/lib/plugins/http.coffee | mrkmg/service-checker | 12 | ###*
# server-checker : lib/checkers/http
# Author: MrKMG (https://github.com/mrkmg)
# Contributor: Sven Slootweg (joepie91) (http://cryto.net/~joepie91/)
#
# MIT License
###
Promise = require 'bluebird'
http_node = require 'http'
https_node = require 'https'
_ = require 'underscore'
run = (options, ssl) ->
Promise... | 194945 | ###*
# server-checker : lib/checkers/http
# Author: MrKMG (https://github.com/mrkmg)
# Contributor: <NAME> (joepie91) (http://cryto.net/~joepie91/)
#
# MIT License
###
Promise = require 'bluebird'
http_node = require 'http'
https_node = require 'https'
_ = require 'underscore'
run = (options, ssl) ->
Promise
.t... | true | ###*
# server-checker : lib/checkers/http
# Author: MrKMG (https://github.com/mrkmg)
# Contributor: PI:NAME:<NAME>END_PI (joepie91) (http://cryto.net/~joepie91/)
#
# MIT License
###
Promise = require 'bluebird'
http_node = require 'http'
https_node = require 'https'
_ = require 'underscore'
run = (options, ssl) ->
... |
[
{
"context": "ileoverview Tests for no-ex-assign rule.\n# @author Stephen Murray <spmurrayzzz>\n###\n\n'use strict'\n\n#---------------",
"end": 74,
"score": 0.9998013377189636,
"start": 60,
"tag": "NAME",
"value": "Stephen Murray"
},
{
"context": " for no-ex-assign rule.\n# @author ... | src/tests/rules/no-ex-assign.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-ex-assign rule.
# @author Stephen Murray <spmurrayzzz>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-... | 132689 | ###*
# @fileoverview Tests for no-ex-assign rule.
# @author <NAME> <spmurrayzzz>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-ex-assig... | true | ###*
# @fileoverview Tests for no-ex-assign rule.
# @author PI:NAME:<NAME>END_PI <spmurrayzzz>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rul... |
[
{
"context": "#\n# Mines main file\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\n\n# hook up dependencies\ncore = require('core",
"end": 60,
"score": 0.9998840093612671,
"start": 43,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | E006/main.coffee | lovely-io/lovely.io-show | 1 | #
# Mines main file
#
# Copyright (C) 2012 Nikolay Nemshilov
#
# hook up dependencies
core = require('core')
$ = require('dom')
Timer = require('timer')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
# glue in your files
include 'src/game'
include 'src/smile'
inc... | 15097 | #
# Mines main file
#
# Copyright (C) 2012 <NAME>
#
# hook up dependencies
core = require('core')
$ = require('dom')
Timer = require('timer')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
# glue in your files
include 'src/game'
include 'src/smile'
include 'src/s... | true | #
# Mines main file
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
# hook up dependencies
core = require('core')
$ = require('dom')
Timer = require('timer')
# local variables assignments
ext = core.ext
Class = core.Class
Element = $.Element
# glue in your files
include 'src/game'
include 'src/smile'
... |
[
{
"context": " expect(names.normalize('HURD MARK V')).toBe 'Mark V. Hurd'\n",
"end": 176,
"score": 0.9997982382774353,
"start": 164,
"tag": "NAME",
"value": "Mark V. Hurd"
}
] | spec/names-spec.coffee | kevinsawicki/filings | 13 | names = require '../lib/names'
describe 'names', ->
describe '.normalize()', ->
it 'normalizes names', ->
expect(names.normalize('HURD MARK V')).toBe 'Mark V. Hurd'
| 173149 | names = require '../lib/names'
describe 'names', ->
describe '.normalize()', ->
it 'normalizes names', ->
expect(names.normalize('HURD MARK V')).toBe '<NAME>'
| true | names = require '../lib/names'
describe 'names', ->
describe '.normalize()', ->
it 'normalizes names', ->
expect(names.normalize('HURD MARK V')).toBe 'PI:NAME:<NAME>END_PI'
|
[
{
"context": "key: 'block-callout'\n\npatterns: [\n\n # Matches a callout reference ",
"end": 19,
"score": 0.9659743309020996,
"start": 6,
"tag": "KEY",
"value": "block-callout"
}
] | grammars/repositories/partials/block-callout-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'block-callout'
patterns: [
# Matches a callout reference inside literal text.
#
# Examples
# <1> (optionally prefixed by //, #, -- or ;; line comment chars)
# <1> <2> (multiple callouts on one line)
# <!--1--> (for XML-based languages)
#
name: 'callout.source.code.asciidoc'... | 143920 | key: '<KEY>'
patterns: [
# Matches a callout reference inside literal text.
#
# Examples
# <1> (optionally prefixed by //, #, -- or ;; line comment chars)
# <1> <2> (multiple callouts on one line)
# <!--1--> (for XML-based languages)
#
name: 'callout.source.code.asciidoc'
mat... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches a callout reference inside literal text.
#
# Examples
# <1> (optionally prefixed by //, #, -- or ;; line comment chars)
# <1> <2> (multiple callouts on one line)
# <!--1--> (for XML-based languages)
#
name: 'callout.source.code.asci... |
[
{
"context": "#\n# Name : wow\n# Author : Matthieu Aussaguel, http://mynameismatthieu.com/, @mattaussaguel\n# V",
"end": 48,
"score": 0.9998914003372192,
"start": 30,
"tag": "NAME",
"value": "Matthieu Aussaguel"
},
{
"context": " Matthieu Aussaguel, http://mynameismatthieu.com/, ... | static/stil/app/bower_components/WOW/src/wow.coffee | Infinityloopsistemas/SIVA | 1 | #
# Name : wow
# Author : Matthieu Aussaguel, http://mynameismatthieu.com/, @mattaussaguel
# Version : 0.1.3
# Repo : https://github.com/matthieua/WOW
# Website : http://mynameismatthieu.com/wow
#
extend = (object, args...) ->
result = object or {}
for replacement in args
for key, value of replacement o... | 21757 | #
# Name : wow
# Author : <NAME>, http://mynameismatthieu.com/, @mattaussaguel
# Version : 0.1.3
# Repo : https://github.com/matthieua/WOW
# Website : http://mynameismatthieu.com/wow
#
extend = (object, args...) ->
result = object or {}
for replacement in args
for key, value of replacement or {}
i... | true | #
# Name : wow
# Author : PI:NAME:<NAME>END_PI, http://mynameismatthieu.com/, @mattaussaguel
# Version : 0.1.3
# Repo : https://github.com/matthieua/WOW
# Website : http://mynameismatthieu.com/wow
#
extend = (object, args...) ->
result = object or {}
for replacement in args
for key, value of replacement... |
[
{
"context": "a Blitzcrank For sexual harassment\",\n \"I reported Rammus for refusing to communicate with the team\",\n ",
"end": 501,
"score": 0.6707136034965515,
"start": 498,
"tag": "NAME",
"value": "Ram"
},
{
"context": "ted Trundle for excessive trolling\",\n \"I reported Or... | scripts/today-lol.coffee | RiotGamesMinions/lefay | 7 | # LoL puns
#
# today in lol - get a LoL pun
#
today = [
"I reported Maokai for having a high amount of leaves",
"Caitlyn wouldn't let me farm in lane so I reported her for harassment",
"I reported a Cho'Gath For intentional feeding",
"I reported a Brand for excessive flaming",
"I reported Leona for being dis... | 216622 | # LoL puns
#
# today in lol - get a LoL pun
#
today = [
"I reported Maokai for having a high amount of leaves",
"Caitlyn wouldn't let me farm in lane so I reported her for harassment",
"I reported a Cho'Gath For intentional feeding",
"I reported a Brand for excessive flaming",
"I reported Leona for being dis... | true | # LoL puns
#
# today in lol - get a LoL pun
#
today = [
"I reported Maokai for having a high amount of leaves",
"Caitlyn wouldn't let me farm in lane so I reported her for harassment",
"I reported a Cho'Gath For intentional feeding",
"I reported a Brand for excessive flaming",
"I reported Leona for being dis... |
[
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## Licensed under the Apache Licen",
"end": 42,
"score": 0.9998449087142944,
"start": 34,
"tag": "NAME",
"value": "M. Hoppe"
},
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## L... | app/assets/javascripts/application.coffee | LiScI-Lab/Guardian-of-Times | 3 | ############
##
## Copyright 2018 M. Hoppe & N. Justus
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable... | 69860 | ############
##
## Copyright 2018 <NAME> & <NAME>
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law ... | true | ############
##
## Copyright 2018 PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
##
## Licensed under the Apache License, Version 2.0 (the "License");
## you may not use this file except in compliance with the License.
## You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9981219172477722,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/disabled/test-sendfd.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... | 64703 | # 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": " ->method('POST')\\n ->rules(['password' => 'required|min:3|max:225', 'email' => 'required|email']) \\n!",
"end": 380,
"score": 0.6970294117927551,
"start": 372,
"tag": "PASSWORD",
"value": "required"
},
{
"context": "\\n ->rules(['password' => 'required|min:3|... | snippets/laravel_former.cson | kikoseijo/atom-bootstrap-snippets | 0 | '.text.html.php.blade, .text.html.hack':
'Former login from spanish version':
prefix: 'former_login_form_es'
leftLabelHTML: '<span style="color:#1B81B6">Ⓢ</span>'
rightLabelHTML: '<span style="color:#f4645f">Former</span> Login Form (spanish)'
body: "{!! Former::horizontal_open()\n ->route('login')... | 162624 | '.text.html.php.blade, .text.html.hack':
'Former login from spanish version':
prefix: 'former_login_form_es'
leftLabelHTML: '<span style="color:#1B81B6">Ⓢ</span>'
rightLabelHTML: '<span style="color:#f4645f">Former</span> Login Form (spanish)'
body: "{!! Former::horizontal_open()\n ->route('login')... | true | '.text.html.php.blade, .text.html.hack':
'Former login from spanish version':
prefix: 'former_login_form_es'
leftLabelHTML: '<span style="color:#1B81B6">Ⓢ</span>'
rightLabelHTML: '<span style="color:#f4645f">Former</span> Login Form (spanish)'
body: "{!! Former::horizontal_open()\n ->route('login')... |
[
{
"context": "ME_LAYER_ID]\n\t\t\tStackId: STACK_ID\n\t\t\tSshKeyName: \"counterplay\"\n\t\t\tOs: \"Custom\"\n\t\t\tAmiId: \"ami-93e0faf2\"\n\t\t\tInst",
"end": 6929,
"score": 0.663785994052887,
"start": 6918,
"tag": "KEY",
"value": "counterplay"
}
] | scripts/aws-utility/list-steal-time-servers.coffee | willroberts/duelyst | 5 | AWS = require 'aws-sdk'
Promise = require 'bluebird'
prettyjson = require 'prettyjson'
_ = require 'underscore'
moment = require 'moment'
ProgressBar = require 'progress'
moniker = require 'moniker'
inquirer = require 'inquirer'
request = require 'request'
requestAsync = Promise.promisify(request)
ec2 = new AWS.EC2({r... | 47060 | AWS = require 'aws-sdk'
Promise = require 'bluebird'
prettyjson = require 'prettyjson'
_ = require 'underscore'
moment = require 'moment'
ProgressBar = require 'progress'
moniker = require 'moniker'
inquirer = require 'inquirer'
request = require 'request'
requestAsync = Promise.promisify(request)
ec2 = new AWS.EC2({r... | true | AWS = require 'aws-sdk'
Promise = require 'bluebird'
prettyjson = require 'prettyjson'
_ = require 'underscore'
moment = require 'moment'
ProgressBar = require 'progress'
moniker = require 'moniker'
inquirer = require 'inquirer'
request = require 'request'
requestAsync = Promise.promisify(request)
ec2 = new AWS.EC2({r... |
[
{
"context": "name%22%3A%22jsonapi.methods%22%2C%22key%22%3A%22059d32c621cee00c7990857d17cbd5f9730c77735dbf905654f90124d2cbaa9f%22%2C%22username%22%3A%22admin%22%2",
"end": 262,
"score": 0.8315593004226685,
"start": 213,
"tag": "KEY",
"value": "59d32c621cee00c7990857d17cbd5f9730c77735dbf9056... | site/generate.coffee | NationsGlory/ngjsonapi | 109 | #!/usr/bin/env coffee
fs = require 'fs'
wintersmith = require 'wintersmith'
request = require 'request'
url = "http://localhost:25565/api/2/call?json=%5B%7B%22name%22%3A%22jsonapi.methods%22%2C%22key%22%3A%22059d32c621cee00c7990857d17cbd5f9730c77735dbf905654f90124d2cbaa9f%22%2C%22username%22%3A%22admin%22%2C%22argu... | 189046 | #!/usr/bin/env coffee
fs = require 'fs'
wintersmith = require 'wintersmith'
request = require 'request'
url = "http://localhost:25565/api/2/call?json=%5B%7B%22name%22%3A%22jsonapi.methods%22%2C%22key%22%3A%220<KEY>f<KEY>cbaa<KEY>f%22%2C%22username%22%3A%22admin%22%2C%22arguments%22%3A%5B%5D%2C%22tag%22%3A%221%22%7D... | true | #!/usr/bin/env coffee
fs = require 'fs'
wintersmith = require 'wintersmith'
request = require 'request'
url = "http://localhost:25565/api/2/call?json=%5B%7B%22name%22%3A%22jsonapi.methods%22%2C%22key%22%3A%220PI:KEY:<KEY>END_PIfPI:KEY:<KEY>END_PIcbaaPI:KEY:<KEY>END_PIf%22%2C%22username%22%3A%22admin%22%2C%22argumen... |
[
{
"context": "ch (done) ->\n user = new User\n name: 'Full name'\n email: 'test@test.com'\n username:",
"end": 331,
"score": 0.9994164705276489,
"start": 322,
"tag": "NAME",
"value": "Full name"
},
{
"context": "ew User\n name: 'Full name'\n em... | test/mocha/article/model.coffee | zerodi/mean-CJS | 1 | ###
Module dependencies
###
should = require 'should'
mongoose = require 'mongoose'
User = mongoose.model 'User'
Article = mongoose.model 'Article'
user = undefined
article = undefined
#The tests
describe '<Unit Test>', ->
describe 'Model Article:', ->
beforeEach (done) ->
user = new User
name:... | 83268 | ###
Module dependencies
###
should = require 'should'
mongoose = require 'mongoose'
User = mongoose.model 'User'
Article = mongoose.model 'Article'
user = undefined
article = undefined
#The tests
describe '<Unit Test>', ->
describe 'Model Article:', ->
beforeEach (done) ->
user = new User
name:... | true | ###
Module dependencies
###
should = require 'should'
mongoose = require 'mongoose'
User = mongoose.model 'User'
Article = mongoose.model 'Article'
user = undefined
article = undefined
#The tests
describe '<Unit Test>', ->
describe 'Model Article:', ->
beforeEach (done) ->
user = new User
name:... |
[
{
"context": "tutsplus.com/tutorials/javascript-ajax/inettuts/ (James Padolsey)\n @view backend_dashboard: ->\n html ->\n ",
"end": 605,
"score": 0.9995174407958984,
"start": 591,
"tag": "NAME",
"value": "James Padolsey"
}
] | modules/backend/inline_views/view_dashboard.coffee | nodize/nodizecms | 32 | @include = ->
@client '/admin/backend_dashboard.js': ->
@connect()
#
# Test event, received on new connection
#
@on "testEvent": (event)->
#console.log "connection in dashboard"
#console.log event
#alert "connection"
now = new Date()
hour = now.getHours... | 180103 | @include = ->
@client '/admin/backend_dashboard.js': ->
@connect()
#
# Test event, received on new connection
#
@on "testEvent": (event)->
#console.log "connection in dashboard"
#console.log event
#alert "connection"
now = new Date()
hour = now.getHours... | true | @include = ->
@client '/admin/backend_dashboard.js': ->
@connect()
#
# Test event, received on new connection
#
@on "testEvent": (event)->
#console.log "connection in dashboard"
#console.log event
#alert "connection"
now = new Date()
hour = now.getHours... |
[
{
"context": "nal notes required for the script>\n#\n# Author:\n# knjcode <knjcode@gmail.com>\n\n_ = require 'lodash'\njaco = ",
"end": 453,
"score": 0.999701738357544,
"start": 446,
"tag": "USERNAME",
"value": "knjcode"
},
{
"context": "required for the script>\n#\n# Author:\n# ... | src/slack-taboo.coffee | knjcode/hubot-slack-taboo | 0 | # Description
# A hubot script that does the things
#
# Configuration:
# SLACK_API_TOKEN - Slack API Token (default. undefined )
# HUBOT_SLACK_TABOO_CHANNEL - Target channel
# (default. taboo_exp)
# HUBOT_SLACK_TABOO_DURATION - Duration to reap in seconds (default. 5)
# HUBOT_SLACK_TABOO_MECABD... | 1574 | # Description
# A hubot script that does the things
#
# Configuration:
# SLACK_API_TOKEN - Slack API Token (default. undefined )
# HUBOT_SLACK_TABOO_CHANNEL - Target channel
# (default. taboo_exp)
# HUBOT_SLACK_TABOO_DURATION - Duration to reap in seconds (default. 5)
# HUBOT_SLACK_TABOO_MECABD... | true | # Description
# A hubot script that does the things
#
# Configuration:
# SLACK_API_TOKEN - Slack API Token (default. undefined )
# HUBOT_SLACK_TABOO_CHANNEL - Target channel
# (default. taboo_exp)
# HUBOT_SLACK_TABOO_DURATION - Duration to reap in seconds (default. 5)
# HUBOT_SLACK_TABOO_MECABD... |
[
{
"context": "# copyright 2015 by mike lodato (zvxryb@gmail.com)\n# this work is subject to the ",
"end": 31,
"score": 0.9998661875724792,
"start": 20,
"tag": "NAME",
"value": "mike lodato"
},
{
"context": "# copyright 2015 by mike lodato (zvxryb@gmail.com)\n# this work is subject to... | src/geometry/vector.coffee | zvxryb/openjscad-solve | 1 | # copyright 2015 by mike lodato (zvxryb@gmail.com)
# this work is subject to the terms of the MIT license
define ['math/expr', 'geometry/primitive', 'geometry/scalar', 'core/utils', 'core/errors'], (Expr, Primitive, Scalar, utils, errors) ->
class VecN extends Primitive
constructor: (@vars...) ->
errors.TypeErro... | 9352 | # copyright 2015 by <NAME> (<EMAIL>)
# this work is subject to the terms of the MIT license
define ['math/expr', 'geometry/primitive', 'geometry/scalar', 'core/utils', 'core/errors'], (Expr, Primitive, Scalar, utils, errors) ->
class VecN extends Primitive
constructor: (@vars...) ->
errors.TypeError.assert(x, Ex... | true | # copyright 2015 by PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# this work is subject to the terms of the MIT license
define ['math/expr', 'geometry/primitive', 'geometry/scalar', 'core/utils', 'core/errors'], (Expr, Primitive, Scalar, utils, errors) ->
class VecN extends Primitive
constructor: (@vars...) ->
... |
[
{
"context": "ou have any questions, please feel free to contact Helaine Blumenthal (helaine@wikiedu.org). We look forward to working",
"end": 1201,
"score": 0.9998903274536133,
"start": 1183,
"tag": "NAME",
"value": "Helaine Blumenthal"
},
{
"context": ", please feel free to contact... | source/javascripts/data/WizardConfig.coffee | WikiEducationFoundation/WikiEduWizard | 1 | ## THIS FILE IS THE DATA CONTENT AND STEP ORDER CONFIGRATION FOR THE WIZARD AS WELL AS ASSIGNMENT PATHWAYS ##
## UNCOMMENTING THE DATA INSIDE THE PATHWAYS SECTION WILL ADD MORE STEPS INTO THOSE ALTERNATIVE PATHWAYS ##
WizardConfig = {
## The intro_steps are the steps before the wizard branches into different assignm... | 68777 | ## THIS FILE IS THE DATA CONTENT AND STEP ORDER CONFIGRATION FOR THE WIZARD AS WELL AS ASSIGNMENT PATHWAYS ##
## UNCOMMENTING THE DATA INSIDE THE PATHWAYS SECTION WILL ADD MORE STEPS INTO THOSE ALTERNATIVE PATHWAYS ##
WizardConfig = {
## The intro_steps are the steps before the wizard branches into different assignm... | true | ## THIS FILE IS THE DATA CONTENT AND STEP ORDER CONFIGRATION FOR THE WIZARD AS WELL AS ASSIGNMENT PATHWAYS ##
## UNCOMMENTING THE DATA INSIDE THE PATHWAYS SECTION WILL ADD MORE STEPS INTO THOSE ALTERNATIVE PATHWAYS ##
WizardConfig = {
## The intro_steps are the steps before the wizard branches into different assignm... |
[
{
"context": " .matchHeader(\"authorization\", \"Bearer auth-token-123\")\n .get(\"/projects/id-123/builds\")\n .re",
"end": 3821,
"score": 0.5706019997596741,
"start": 3818,
"tag": "PASSWORD",
"value": "123"
},
{
"context": " .matchHeader(\"authorization\", \"Bearer auth-t... | packages/server/test/unit/api_spec.coffee | smartmanru/cypress | 0 | require("../spec_helper")
_ = require("lodash")
rp = require("request-promise")
os = require("os")
nmi = require("node-machine-id")
pkg = require("@packages/root")
api = require("#{root}lib/api")
Promise = require("bluebird")
describe "lib/api", ->
beforeEach ->
@sandbox.stub(... | 99166 | require("../spec_helper")
_ = require("lodash")
rp = require("request-promise")
os = require("os")
nmi = require("node-machine-id")
pkg = require("@packages/root")
api = require("#{root}lib/api")
Promise = require("bluebird")
describe "lib/api", ->
beforeEach ->
@sandbox.stub(... | true | require("../spec_helper")
_ = require("lodash")
rp = require("request-promise")
os = require("os")
nmi = require("node-machine-id")
pkg = require("@packages/root")
api = require("#{root}lib/api")
Promise = require("bluebird")
describe "lib/api", ->
beforeEach ->
@sandbox.stub(... |
[
{
"context": "?\\d+),(.+)\\s*-\\s*(.+)|(.+))\\n(.+)/\n\n# #EXTINF:822,Iron Maiden - Rime of the Ancient Mariner\nextended = (line) -",
"end": 164,
"score": 0.9984118342399597,
"start": 153,
"tag": "NAME",
"value": "Iron Maiden"
}
] | src/m3u.coffee | nickdesaulniers/javascript-playlist-parser | 75 | # http://gonze.com/playlists/playlist-format-survey.html#M3U
EXTENDED = '#EXTM3U'
COMMENT_RE = /:(?:(-?\d+),(.+)\s*-\s*(.+)|(.+))\n(.+)/
# #EXTINF:822,Iron Maiden - Rime of the Ancient Mariner
extended = (line) ->
match = line.match COMMENT_RE
if match and match.length is 6
length: match[1] or 0
artist: m... | 112713 | # http://gonze.com/playlists/playlist-format-survey.html#M3U
EXTENDED = '#EXTM3U'
COMMENT_RE = /:(?:(-?\d+),(.+)\s*-\s*(.+)|(.+))\n(.+)/
# #EXTINF:822,<NAME> - Rime of the Ancient Mariner
extended = (line) ->
match = line.match COMMENT_RE
if match and match.length is 6
length: match[1] or 0
artist: match[... | true | # http://gonze.com/playlists/playlist-format-survey.html#M3U
EXTENDED = '#EXTM3U'
COMMENT_RE = /:(?:(-?\d+),(.+)\s*-\s*(.+)|(.+))\n(.+)/
# #EXTINF:822,PI:NAME:<NAME>END_PI - Rime of the Ancient Mariner
extended = (line) ->
match = line.match COMMENT_RE
if match and match.length is 6
length: match[1] or 0
... |
[
{
"context": "own risk.'), photo: 'grumpy.jpg'}\n\t\t6: {name: tr('Princess'), descr: tr('Too frail to even look at. Careful!",
"end": 625,
"score": 0.681588351726532,
"start": 617,
"tag": "NAME",
"value": "Princess"
}
] | config.common.coffee | Happening/PersonOfTheWeek | 0 | {tr} = require 'i18n'
exports.getDefault = ->
period: 'week'
topics:
1: {name: tr('Player'), descr: tr('Smooth talker with a healthy reproductive drive.'), photo: 'player.jpg'}
2: {name: tr('Hero'), descr: tr('Accomplishes great things for the collective.'), photo: 'hero.jpg'}
3: {name: tr('Disappointment'), d... | 155365 | {tr} = require 'i18n'
exports.getDefault = ->
period: 'week'
topics:
1: {name: tr('Player'), descr: tr('Smooth talker with a healthy reproductive drive.'), photo: 'player.jpg'}
2: {name: tr('Hero'), descr: tr('Accomplishes great things for the collective.'), photo: 'hero.jpg'}
3: {name: tr('Disappointment'), d... | true | {tr} = require 'i18n'
exports.getDefault = ->
period: 'week'
topics:
1: {name: tr('Player'), descr: tr('Smooth talker with a healthy reproductive drive.'), photo: 'player.jpg'}
2: {name: tr('Hero'), descr: tr('Accomplishes great things for the collective.'), photo: 'hero.jpg'}
3: {name: tr('Disappointment'), d... |
[
{
"context": "fig **\nAccounts.ui.config\n\tpasswordSignupFields: \"USERNAME_AND_EMAIL\"\n\trequestPermissions:\n\t\tfacebook: [\"user",
"end": 79,
"score": 0.8331320285797119,
"start": 70,
"tag": "PASSWORD",
"value": "USERNAME_"
}
] | client/lib/config.coffee | ananta-IO/marq | 1 | # ** Accounts UI Config **
Accounts.ui.config
passwordSignupFields: "USERNAME_AND_EMAIL"
requestPermissions:
facebook: ["user_about_me", "user_activities", "user_birthday", "user_checkins", "user_education_history", "user_interests", "user_likes", "friends_likes", "user_work_history", "email"]
# EpicEditorOption... | 46137 | # ** Accounts UI Config **
Accounts.ui.config
passwordSignupFields: "<PASSWORD>AND_EMAIL"
requestPermissions:
facebook: ["user_about_me", "user_activities", "user_birthday", "user_checkins", "user_education_history", "user_interests", "user_likes", "friends_likes", "user_work_history", "email"]
# EpicEditorOptio... | true | # ** Accounts UI Config **
Accounts.ui.config
passwordSignupFields: "PI:PASSWORD:<PASSWORD>END_PIAND_EMAIL"
requestPermissions:
facebook: ["user_about_me", "user_activities", "user_birthday", "user_checkins", "user_education_history", "user_interests", "user_likes", "friends_likes", "user_work_history", "email"]
... |
[
{
"context": "ls\", ->\n\tbeforeEach (done) ->\n\t\t@timeout(20000)\n\t\t@user = new User()\n\t\t@user.login done\n\n\tdescribe 'confi",
"end": 351,
"score": 0.94962477684021,
"start": 346,
"tag": "USERNAME",
"value": "@user"
},
{
"context": "\t\turl: '/user/emails',\n\t\t\t\t\t\tjso... | test/acceptance/coffee/UserEmailsTests.coffee | davidmehren/web-sharelatex | 0 | expect = require("chai").expect
async = require("async")
User = require "./helpers/User"
request = require "./helpers/request"
settings = require "settings-sharelatex"
{db, ObjectId} = require("../../../app/js/infrastructure/mongojs")
MockV1Api = require "./helpers/MockV1Api"
describe "UserEmails", ->
beforeEach (don... | 103016 | expect = require("chai").expect
async = require("async")
User = require "./helpers/User"
request = require "./helpers/request"
settings = require "settings-sharelatex"
{db, ObjectId} = require("../../../app/js/infrastructure/mongojs")
MockV1Api = require "./helpers/MockV1Api"
describe "UserEmails", ->
beforeEach (don... | true | expect = require("chai").expect
async = require("async")
User = require "./helpers/User"
request = require "./helpers/request"
settings = require "settings-sharelatex"
{db, ObjectId} = require("../../../app/js/infrastructure/mongojs")
MockV1Api = require "./helpers/MockV1Api"
describe "UserEmails", ->
beforeEach (don... |
[
{
"context": " def.options =\n collectionName: 'a third name'\n res2 = sql.modelFactory def, 'asqlcon'",
"end": 19313,
"score": 0.6176007390022278,
"start": 19301,
"tag": "NAME",
"value": "a third name"
}
] | test/server/common/dal/sql.coffee | valueflowquality/gi-util-update | 0 | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../../server'
module.exports = () ->
describe 'sql', ->
sql = null
tediousStub =
Connection: ->
Request: ->
queryQueueStub =
... | 61463 | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../../server'
module.exports = () ->
describe 'sql', ->
sql = null
tediousStub =
Connection: ->
Request: ->
queryQueueStub =
... | true | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../../server'
module.exports = () ->
describe 'sql', ->
sql = null
tediousStub =
Connection: ->
Request: ->
queryQueueStub =
... |
[
{
"context": "###\n Pokemon Go (c) ManInTheMiddle Radar \"mod\"\n Michael Strassburger <codepoet@cpan.org>\n\n Enriches every PokeStop de",
"end": 70,
"score": 0.9998758435249329,
"start": 50,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": "anInTheMiddle Radar \"mo... | example.ingameRadar.coffee | noobcakes4603/tinkering | 393 | ###
Pokemon Go (c) ManInTheMiddle Radar "mod"
Michael Strassburger <codepoet@cpan.org>
Enriches every PokeStop description with information about
- directions to nearby wild pokemons
- time left if a PokeStop has an active lure
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
changeCase = require 'change... | 210865 | ###
Pokemon Go (c) ManInTheMiddle Radar "mod"
<NAME> <<EMAIL>>
Enriches every PokeStop description with information about
- directions to nearby wild pokemons
- time left if a PokeStop has an active lure
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
changeCase = require 'change-case'
moment = require ... | true | ###
Pokemon Go (c) ManInTheMiddle Radar "mod"
PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Enriches every PokeStop description with information about
- directions to nearby wild pokemons
- time left if a PokeStop has an active lure
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
changeCase = require 'c... |
[
{
"context": "\n type: 'text-field'\n dataKey: 'firstName'\n displayName: 'First Name'\n }\n ",
"end": 232,
"score": 0.9863082766532898,
"start": 223,
"tag": "NAME",
"value": "firstName"
},
{
"context": " dataKey: 'firstName'\n displayN... | examples/form-groups/FormGroupsFormDef.coffee | vedantchoubey098/react-form-builder | 44 | FormGroupsFormDef =
type: 'form'
components: [
type: 'form-group'
title: 'ID'
dataKey: 'id-group'
collapsable: true
components: [
{
type: 'text-field'
dataKey: 'firstName'
displayName: 'First Name'
}
{
type: 'text-field'
... | 21305 | FormGroupsFormDef =
type: 'form'
components: [
type: 'form-group'
title: 'ID'
dataKey: 'id-group'
collapsable: true
components: [
{
type: 'text-field'
dataKey: '<NAME>'
displayName: '<NAME>'
}
{
type: 'text-field'
... | true | FormGroupsFormDef =
type: 'form'
components: [
type: 'form-group'
title: 'ID'
dataKey: 'id-group'
collapsable: true
components: [
{
type: 'text-field'
dataKey: 'PI:NAME:<NAME>END_PI'
displayName: 'PI:NAME:<NAME>END_PI'
}
{
... |
[
{
"context": ">\n expect(BackboneValidate.validators.email('test@example.net')).toBe(false)\n\n it 'should return true when a",
"end": 2383,
"score": 0.9999188184738159,
"start": 2367,
"tag": "EMAIL",
"value": "test@example.net"
},
{
"context": ">\n expect(BackboneValida... | specs/coffee/ValidatorSpecs.coffee | zestia/backbone.validate | 0 | describe 'Default validators', ->
it 'should be exposed', ->
expect(BackboneValidate.validators).toBeDefined()
describe 'the "required" validator', ->
it 'should be exposed', ->
expect(BackboneValidate.validators.required).toBeDefined()
it 'should return false when a value is provided', ->
... | 9878 | describe 'Default validators', ->
it 'should be exposed', ->
expect(BackboneValidate.validators).toBeDefined()
describe 'the "required" validator', ->
it 'should be exposed', ->
expect(BackboneValidate.validators.required).toBeDefined()
it 'should return false when a value is provided', ->
... | true | describe 'Default validators', ->
it 'should be exposed', ->
expect(BackboneValidate.validators).toBeDefined()
describe 'the "required" validator', ->
it 'should be exposed', ->
expect(BackboneValidate.validators.required).toBeDefined()
it 'should return false when a value is provided', ->
... |
[
{
"context": "atch[1]\n [closestMatch, closestMatchScore] = ['Murgatroyd Kerfluffle', 0]\n explained = false\n for commonMethod i",
"end": 5874,
"score": 0.99969482421875,
"start": 5853,
"tag": "NAME",
"value": "Murgatroyd Kerfluffle"
},
{
"context": "'s error messages track... | src/problems.coffee | deepak1556/aether | 1 | ranges = require './ranges'
module.exports.createUserCodeProblem = (options) ->
options ?= {}
options.aether ?= @ # Can either be called standalone or as an Aether method
if options.type is 'transpile' and options.error
extractTranspileErrorDetails options
if options.type is 'runtime'
extractRuntimeEr... | 139048 | ranges = require './ranges'
module.exports.createUserCodeProblem = (options) ->
options ?= {}
options.aether ?= @ # Can either be called standalone or as an Aether method
if options.type is 'transpile' and options.error
extractTranspileErrorDetails options
if options.type is 'runtime'
extractRuntimeEr... | true | ranges = require './ranges'
module.exports.createUserCodeProblem = (options) ->
options ?= {}
options.aether ?= @ # Can either be called standalone or as an Aether method
if options.type is 'transpile' and options.error
extractTranspileErrorDetails options
if options.type is 'runtime'
extractRuntimeEr... |
[
{
"context": "stance represents a Kaffee log message.\n\n @author Fabian M. <mail.fabianm@gmail.com>\n###\nclass LogEvent\n\n\t##",
"end": 86,
"score": 0.9951158761978149,
"start": 78,
"tag": "NAME",
"value": "Fabian M"
},
{
"context": "sents a Kaffee log message.\n\n @author Fabia... | kaffee/src/main/kaffee/event/logevent.coffee | fabianm/kaffee | 1 | ###
A {@link LogEvent} instance represents a Kaffee log message.
@author Fabian M. <mail.fabianm@gmail.com>
###
class LogEvent
###
Constructs a new {@link LogEvent}.
@since 0.3.0
@param manager The {@link EventManager} of this {@link LogEvent}.
@param level The level of this {@link LogEvent}.
@pa... | 178923 | ###
A {@link LogEvent} instance represents a Kaffee log message.
@author <NAME>. <<EMAIL>>
###
class LogEvent
###
Constructs a new {@link LogEvent}.
@since 0.3.0
@param manager The {@link EventManager} of this {@link LogEvent}.
@param level The level of this {@link LogEvent}.
@param message The m... | true | ###
A {@link LogEvent} instance represents a Kaffee log message.
@author PI:NAME:<NAME>END_PI. <PI:EMAIL:<EMAIL>END_PI>
###
class LogEvent
###
Constructs a new {@link LogEvent}.
@since 0.3.0
@param manager The {@link EventManager} of this {@link LogEvent}.
@param level The level of this {@link LogEv... |
[
{
"context": "modules building tools\n#\n# Copyright (C) 2012-2013 Nikolay Nemshilov\n#\n\nfs = require('fs')\npath = require('pat",
"end": 81,
"score": 0.9998869895935059,
"start": 64,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/test/build.coffee | lovely-io/lovely.io-stl | 2 | #
# The test modules building tools
#
# Copyright (C) 2012-2013 Nikolay Nemshilov
#
fs = require('fs')
path = require('path')
server = require('./server')
source = require('../source')
packge = require('../package')
cur_dir = process.cwd()
packg = packge.read(cur_dir)
method = if process.argv.indexOf('-... | 200939 | #
# The test modules building tools
#
# Copyright (C) 2012-2013 <NAME>
#
fs = require('fs')
path = require('path')
server = require('./server')
source = require('../source')
packge = require('../package')
cur_dir = process.cwd()
packg = packge.read(cur_dir)
method = if process.argv.indexOf('--minify') >... | true | #
# The test modules building tools
#
# Copyright (C) 2012-2013 PI:NAME:<NAME>END_PI
#
fs = require('fs')
path = require('path')
server = require('./server')
source = require('../source')
packge = require('../package')
cur_dir = process.cwd()
packg = packge.read(cur_dir)
method = if process.argv.indexOf... |
[
{
"context": " \"add\": [\n {\n \"name\": \"Humans Survive\",\n \"id\": \"humans-survive\",\n ",
"end": 210,
"score": 0.7530972957611084,
"start": 196,
"tag": "NAME",
"value": "Humans Survive"
},
{
"context": " \"name\": \"Humans Surv... | app/lib/scripts/defaultScripts.coffee | flauta/codecombat | 1 | module.exports = [
{
"id": "Add Default Goals",
"channel": "god:new-world-created",
"noteChain": [
{
"goals": {
"add": [
{
"name": "Humans Survive",
"id": "humans-survive",
"saveThangs": [
"humans"
... | 210290 | module.exports = [
{
"id": "Add Default Goals",
"channel": "god:new-world-created",
"noteChain": [
{
"goals": {
"add": [
{
"name": "<NAME>",
"id": "humans-survive",
"saveThangs": [
"humans"
],
... | true | module.exports = [
{
"id": "Add Default Goals",
"channel": "god:new-world-created",
"noteChain": [
{
"goals": {
"add": [
{
"name": "PI:NAME:<NAME>END_PI",
"id": "humans-survive",
"saveThangs": [
"humans"
... |
[
{
"context": "ates.STEADY_STATE\n\n secretData.passwordData = passwordData\n return secretData\n updateProfile(profile",
"end": 825,
"score": 0.9976686239242554,
"start": 813,
"tag": "PASSWORD",
"value": "passwordData"
},
{
"context": "ata.token = token\n\n secretDa... | src/js/extension/profiles/state_manager.coffee | obi1kenobi/jester | 2 | async = require('../../../deps/async')
logger = require('../../lib/util/logging').logger(['ext', 'profiles', 'state'])
secureStore = require('../../lib/secure_store')
states = require('./states')
updateProfile = (profile, storePassword, updateSecretData, cb) ->
async.waterfall [
(done) -... | 129659 | async = require('../../../deps/async')
logger = require('../../lib/util/logging').logger(['ext', 'profiles', 'state'])
secureStore = require('../../lib/secure_store')
states = require('./states')
updateProfile = (profile, storePassword, updateSecretData, cb) ->
async.waterfall [
(done) -... | true | async = require('../../../deps/async')
logger = require('../../lib/util/logging').logger(['ext', 'profiles', 'state'])
secureStore = require('../../lib/secure_store')
states = require('./states')
updateProfile = (profile, storePassword, updateSecretData, cb) ->
async.waterfall [
(done) -... |
[
{
"context": "$(document).ready ->\n\tkey = 'CTRL'\n\t# key = 'Cmd' if navigator.userAgent.toLowerCas",
"end": 33,
"score": 0.9965521097183228,
"start": 29,
"tag": "KEY",
"value": "CTRL"
},
{
"context": "$(document).ready ->\n\tkey = 'CTRL'\n\t# key = 'Cmd' if navigator.userAgent.toL... | webroot/coffee/main.coffee | sitex/theme_olia | 0 | $(document).ready ->
key = 'CTRL'
# key = 'Cmd' if navigator.userAgent.toLowerCase().indexOf('mac') != - 1
$('#bookmarkme').click ->
if window.sidebar && window.sidebar.addPanel
window.sidebar.addPanel(document.title,window.location.href,'')
else if window.external && ('AddFavorite' in window.external) # IE ... | 64683 | $(document).ready ->
key = '<KEY>'
# key = '<KEY>' if navigator.userAgent.toLowerCase().indexOf('mac') != - 1
$('#bookmarkme').click ->
if window.sidebar && window.sidebar.addPanel
window.sidebar.addPanel(document.title,window.location.href,'')
else if window.external && ('AddFavorite' in window.external) # ... | true | $(document).ready ->
key = 'PI:KEY:<KEY>END_PI'
# key = 'PI:KEY:<KEY>END_PI' if navigator.userAgent.toLowerCase().indexOf('mac') != - 1
$('#bookmarkme').click ->
if window.sidebar && window.sidebar.addPanel
window.sidebar.addPanel(document.title,window.location.href,'')
else if window.external && ('AddFavori... |
[
{
"context": "s not on the schema', (done) ->\n doc = {name: 'wallace', dog: 'gromit'}\n wongo.save 'MockStrict', doc",
"end": 464,
"score": 0.9923456907272339,
"start": 457,
"tag": "NAME",
"value": "wallace"
},
{
"context": "ert.ifError(err)\n assert.equal(result.name, 'w... | test/strict.test.coffee | wookets/wongo | 0 | assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockStrict',
fields:
name: String # simplest property
mixed: {type: 'mixed'} # support mixed types
child:
name: String
grandchild:
name: String
children: [
name: String
grandchildren: [
... | 114457 | assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockStrict',
fields:
name: String # simplest property
mixed: {type: 'mixed'} # support mixed types
child:
name: String
grandchild:
name: String
children: [
name: String
grandchildren: [
... | true | assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockStrict',
fields:
name: String # simplest property
mixed: {type: 'mixed'} # support mixed types
child:
name: String
grandchild:
name: String
children: [
name: String
grandchildren: [
... |
[
{
"context": "ub.io/grunt-docc-multi\n#\n# Copyright (©) 2013 Joe Mathews (abovethewater)\n# Licensed under the [MIT](http:/",
"end": 112,
"score": 0.9998605847358704,
"start": 101,
"tag": "NAME",
"value": "Joe Mathews"
}
] | tasks/docco.coffee | gruntjs-updater/grunt-docco-multi | 0 | #
# grunt-docco-multi
# https://abovethewater.github.io/grunt-docc-multi
#
# Copyright (©) 2013 Joe Mathews (abovethewater)
# Licensed under the [MIT](http://abovethewater.mit-license.org) licence
#
module.exports = (grunt) ->
docco = require 'docco'
grunt.registerMultiTask 'docco', 'Generate multiple linked ... | 118106 | #
# grunt-docco-multi
# https://abovethewater.github.io/grunt-docc-multi
#
# Copyright (©) 2013 <NAME> (abovethewater)
# Licensed under the [MIT](http://abovethewater.mit-license.org) licence
#
module.exports = (grunt) ->
docco = require 'docco'
grunt.registerMultiTask 'docco', 'Generate multiple linked docs ... | true | #
# grunt-docco-multi
# https://abovethewater.github.io/grunt-docc-multi
#
# Copyright (©) 2013 PI:NAME:<NAME>END_PI (abovethewater)
# Licensed under the [MIT](http://abovethewater.mit-license.org) licence
#
module.exports = (grunt) ->
docco = require 'docco'
grunt.registerMultiTask 'docco', 'Generate multipl... |
[
{
"context": "= cityToLevel city\n\n @emit 'data',\n key: \"cityid:#{city.cityId}\"\n value: val\n\n quad = quadtre",
"end": 301,
"score": 0.9714847207069397,
"start": 292,
"tag": "KEY",
"value": "cityid:#{"
},
{
"context": "city\n\n @emit 'data',\n key: \"cit... | src/setup/transform/cityToKeyedRecords.coffee | brianshaler/kerplunk-place | 0 | es = require 'event-stream'
cityToLevel = require './cityToLevel'
quadtree = require '../../quadtree'
module.exports = ->
es.through (city) ->
name = city.asciiName
unless name? and name.length > 0
name = city.name
val = cityToLevel city
@emit 'data',
key: "cityid:#{city.cityId}"
... | 193669 | es = require 'event-stream'
cityToLevel = require './cityToLevel'
quadtree = require '../../quadtree'
module.exports = ->
es.through (city) ->
name = city.asciiName
unless name? and name.length > 0
name = city.name
val = cityToLevel city
@emit 'data',
key: "<KEY>city.<KEY>
value:... | true | es = require 'event-stream'
cityToLevel = require './cityToLevel'
quadtree = require '../../quadtree'
module.exports = ->
es.through (city) ->
name = city.asciiName
unless name? and name.length > 0
name = city.name
val = cityToLevel city
@emit 'data',
key: "PI:KEY:<KEY>END_PIcity.PI:KE... |
[
{
"context": " keyKey = current.key\n else\n keyKey = 'name'\n\n key = node.attributes[keyKey]\n\n if not k",
"end": 581,
"score": 0.6806005835533142,
"start": 577,
"tag": "KEY",
"value": "name"
},
{
"context": "ttributes[keyKey]\n\n if not key\n key = node.n... | src/eveapi/parser.coffee | sseemayer/NEOW | 12 | Q = require 'q'
_ = require 'lodash'
sax = require 'sax'
root = exports ? this
root.parse = (data, strict=true) ->
deferred = Q.defer()
parser = sax.createStream strict, trim: true
result = {}
stack = []
current = {element: result, name: null}
down = (newframe) ->
stack.push(newframe)
newfram... | 16325 | Q = require 'q'
_ = require 'lodash'
sax = require 'sax'
root = exports ? this
root.parse = (data, strict=true) ->
deferred = Q.defer()
parser = sax.createStream strict, trim: true
result = {}
stack = []
current = {element: result, name: null}
down = (newframe) ->
stack.push(newframe)
newfram... | true | Q = require 'q'
_ = require 'lodash'
sax = require 'sax'
root = exports ? this
root.parse = (data, strict=true) ->
deferred = Q.defer()
parser = sax.createStream strict, trim: true
result = {}
stack = []
current = {element: result, name: null}
down = (newframe) ->
stack.push(newframe)
newfram... |
[
{
"context": "######################\n# Copyright (c) 2013, 2014, William Stein and R. Andrew Ohana\n# All rights reserved.\n#\n# Re",
"end": 121,
"score": 0.9998456239700317,
"start": 108,
"tag": "NAME",
"value": "William Stein"
},
{
"context": "####\n# Copyright (c) 2013, 2014, Wil... | src/math3d.coffee | ohanar/math3d.js | 3 | ###############################################################################
# Copyright (c) 2013, 2014, William Stein and R. Andrew Ohana
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1.... | 5080 | ###############################################################################
# Copyright (c) 2013, 2014, <NAME> and <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:
#
# 1. Redistributions... | true | ###############################################################################
# Copyright (c) 2013, 2014, PI:NAME:<NAME>END_PI and 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... |
[
{
"context": "###\n *\n * jQuery truncateLines by Gary Hepting - https://github.com/ghepting/jquery-truncate-lin",
"end": 47,
"score": 0.9999009370803833,
"start": 35,
"tag": "NAME",
"value": "Gary Hepting"
},
{
"context": "runcateLines by Gary Hepting - https://github.com/ghepting/... | src/coffee/plugins/jquery-truncateLines.coffee | srinivasbellarichenna/groundwork | 1 | ###
*
* jQuery truncateLines by Gary Hepting - https://github.com/ghepting/jquery-truncate-lines
*
* Open source under the MIT License.
*
* Copyright © 2013 Gary Hepting. All rights reserved.
*
###
delayedAdjustTruncation = []
truncateIndex = 0
class TruncateLines
constructor: (el) ->
@el = el
... | 120484 | ###
*
* jQuery truncateLines by <NAME> - https://github.com/ghepting/jquery-truncate-lines
*
* Open source under the MIT License.
*
* Copyright © 2013 <NAME>. All rights reserved.
*
###
delayedAdjustTruncation = []
truncateIndex = 0
class TruncateLines
constructor: (el) ->
@el = el
@index = tr... | true | ###
*
* jQuery truncateLines by PI:NAME:<NAME>END_PI - https://github.com/ghepting/jquery-truncate-lines
*
* Open source under the MIT License.
*
* Copyright © 2013 PI:NAME:<NAME>END_PI. All rights reserved.
*
###
delayedAdjustTruncation = []
truncateIndex = 0
class TruncateLines
constructor: (el) ->
... |
[
{
"context": "# event.js\n# Copyright (c) 2015 David Tai\n#\n#Permission to use, copy, modify, and/or distri",
"end": 41,
"score": 0.9998132586479187,
"start": 32,
"tag": "NAME",
"value": "David Tai"
}
] | src/event.coffee | davidtai/domino | 0 | # event.js
# Copyright (c) 2015 David Tai
#
#Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS... | 193176 | # event.js
# Copyright (c) 2015 <NAME>
#
#Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS AL... | true | # event.js
# Copyright (c) 2015 PI:NAME:<NAME>END_PI
#
#Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHO... |
[
{
"context": "# Copyright © 2014–6 Brad Ackerman.\n#\n# Licensed under the Apache License, Version 2",
"end": 34,
"score": 0.9998317956924438,
"start": 21,
"tag": "NAME",
"value": "Brad Ackerman"
}
] | spec/stationPickerDirective.coffee | backerman/eveindy | 2 | # Copyright © 2014–6 Brad Ackerman.
#
# Licensed under the Apache License, Version 2.0 the "License";
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing... | 177768 | # Copyright © 2014–6 <NAME>.
#
# Licensed under the Apache License, Version 2.0 the "License";
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, softw... | true | # Copyright © 2014–6 PI:NAME:<NAME>END_PI.
#
# Licensed under the Apache License, Version 2.0 the "License";
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in ... |
[
{
"context": "\\\\b\n '''\n },\n {\n 'match': '''(?xi)\n (Achilles|\n Adonis|\n Adriana|\n Aegeon|\n ",
"end": 876,
"score": 0.9806104302406311,
"start": 868,
"tag": "NAME",
"value": "Achilles"
},
{
"context": ",\n {\n 'match': '''(?xi)\n (Ach... | grammars/shakespeare.cson | zmbc/language-shakespeare | 1 | 'name': 'Shakespeare Programming Language'
'scopeName': 'source.shakespeare'
'fileTypes': [
'spl'
]
'patterns': [
{
'name': 'comment.line.shakespeare',
'match': '''(?xi)
\\A([^\\.]+\\.)
'''
},
{
'match': '''(?xi)
\\b
((scene|act)
(?=\\s[MCDXLVI])\\sM{0,4}(CM|CD|D?C{0,3})(... | 208892 | 'name': 'Shakespeare Programming Language'
'scopeName': 'source.shakespeare'
'fileTypes': [
'spl'
]
'patterns': [
{
'name': 'comment.line.shakespeare',
'match': '''(?xi)
\\A([^\\.]+\\.)
'''
},
{
'match': '''(?xi)
\\b
((scene|act)
(?=\\s[MCDXLVI])\\sM{0,4}(CM|CD|D?C{0,3})(... | true | 'name': 'Shakespeare Programming Language'
'scopeName': 'source.shakespeare'
'fileTypes': [
'spl'
]
'patterns': [
{
'name': 'comment.line.shakespeare',
'match': '''(?xi)
\\A([^\\.]+\\.)
'''
},
{
'match': '''(?xi)
\\b
((scene|act)
(?=\\s[MCDXLVI])\\sM{0,4}(CM|CD|D?C{0,3})(... |
[
{
"context": "or('Test code. Not to be executed.')\n\n test = 'U2FsdGVkX18uek1T+johJh6pyZv2ddks8hLbEnUbGwo=' # key:123 (256 bit)\n test = 'U2FsdGVkX183PJoMK",
"end": 1032,
"score": 0.9994922280311584,
"start": 987,
"tag": "KEY",
"value": "U2FsdGVkX18uek1T+johJh6pyZv2ddks8hLbEnUbGwo='"
... | lib/tiny-aes.coffee | AdrienTreuille/atom-tiny-aes | 1 | {PasswordDialogView} = require './tiny-aes-view'
{CompositeDisposable} = require 'atom'
CryptoJS = require 'crypto-js'
####################
# Helper Functions #
####################
TinyAES =
subscriptions: null
encryptView: null
decryptView: null
activate: (state) ->
@encryptView = new PasswordDialogVie... | 101063 | {PasswordDialogView} = require './tiny-aes-view'
{CompositeDisposable} = require 'atom'
CryptoJS = require 'crypto-js'
####################
# Helper Functions #
####################
TinyAES =
subscriptions: null
encryptView: null
decryptView: null
activate: (state) ->
@encryptView = new PasswordDialogVie... | true | {PasswordDialogView} = require './tiny-aes-view'
{CompositeDisposable} = require 'atom'
CryptoJS = require 'crypto-js'
####################
# Helper Functions #
####################
TinyAES =
subscriptions: null
encryptView: null
decryptView: null
activate: (state) ->
@encryptView = new PasswordDialogVie... |
[
{
"context": "user: \n data: [\n id: 1\n name: \"Bob\"\n ,\n id: 2\n name: \"Sue\"\n ",
"end": 457,
"score": 0.9998132586479187,
"start": 454,
"tag": "NAME",
"value": "Bob"
},
{
"context": " name: \"Bob\"\n ,\n id: 2\n nam... | test/spec_coffee/model_relationships_order_spec.coffee | kirkbowers/mvcoffee | 0 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity", order: "position"
theUser.hasMany "activity", as: "reversed", order: "position desc"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
store = new MVCoffee.ModelStore
user... | 199928 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity", order: "position"
theUser.hasMany "activity", as: "reversed", order: "position desc"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
store = new MVCoffee.ModelStore
user... | true | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity", order: "position"
theUser.hasMany "activity", as: "reversed", order: "position desc"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
store = new MVCoffee.ModelStore
user... |
[
{
"context": " process.env.HUBOT_HIPCHAT_JID\n password: process.env.HUBOT_HIPCHAT_PASSWORD\n token: process.env.HUBO",
"end": 483,
"score": 0.8622715473175049,
"start": 466,
"tag": "PASSWORD",
"value": "process.env.HUBOT"
},
{
"context": "(jid: @options.jid, name: @... | src/hipchat.coffee | agoragames/hubot-hipchat | 0 | Robot = require('hubot').robot()
Adapter = require('hubot').adapter()
HTTPS = require 'https'
Wobot = require('wobot').Bot
class HipChat extends Adapter
send: (user, strings...) ->
for str in strings
@bot.message user.reply_to, str
reply: (user, strings...) ->
for str in strings
@send u... | 66661 | Robot = require('hubot').robot()
Adapter = require('hubot').adapter()
HTTPS = require 'https'
Wobot = require('wobot').Bot
class HipChat extends Adapter
send: (user, strings...) ->
for str in strings
@bot.message user.reply_to, str
reply: (user, strings...) ->
for str in strings
@send u... | true | Robot = require('hubot').robot()
Adapter = require('hubot').adapter()
HTTPS = require 'https'
Wobot = require('wobot').Bot
class HipChat extends Adapter
send: (user, strings...) ->
for str in strings
@bot.message user.reply_to, str
reply: (user, strings...) ->
for str in strings
@send u... |
[
{
"context": "sponseData =\n\t\t\tprojectId: @projectId\n\t\t\tkeys: ['k1', 'k2']\n\n\tdescribe 'index', ->\n\n\t\tbeforeEach ->\n\t",
"end": 1510,
"score": 0.6910796761512756,
"start": 1509,
"tag": "KEY",
"value": "1"
},
{
"context": "Data =\n\t\t\tprojectId: @projectId\n\t\t\tkeys:... | test/unit/coffee/References/ReferencesHandlerTests.coffee | davidmehren/web-sharelatex | 1 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
expect = require('chai').expect
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/References/ReferencesHandler"
describe 'ReferencesHandler', ->
beforeEach ->
@projectId = '222'
@fakePr... | 77113 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
expect = require('chai').expect
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/References/ReferencesHandler"
describe 'ReferencesHandler', ->
beforeEach ->
@projectId = '222'
@fakePr... | true | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
expect = require('chai').expect
sinon = require 'sinon'
assert = require("chai").assert
modulePath = "../../../../app/js/Features/References/ReferencesHandler"
describe 'ReferencesHandler', ->
beforeEach ->
@projectId = '222'
@fakePr... |
[
{
"context": "ommon')\n\ntest 'date-test', [\n {\n Name: 'Bob'\n Date: new Date(\"2013-11-27T09:14:15.617Z",
"end": 72,
"score": 0.9998663663864136,
"start": 69,
"tag": "NAME",
"value": "Bob"
},
{
"context": "-11-27T09:14:15.617Z\")\n }\n {\n Name: 'Alic... | test/date_test.coffee | SBeyeMHP/node-xlsx-writestream | 42 | test = require('./common')
test 'date-test', [
{
Name: 'Bob'
Date: new Date("2013-11-27T09:14:15.617Z")
}
{
Name: 'Alice'
Date: new Date("2013-11-27T09:14:15.617Z")
}
]
| 178518 | test = require('./common')
test 'date-test', [
{
Name: '<NAME>'
Date: new Date("2013-11-27T09:14:15.617Z")
}
{
Name: '<NAME>'
Date: new Date("2013-11-27T09:14:15.617Z")
}
]
| true | test = require('./common')
test 'date-test', [
{
Name: 'PI:NAME:<NAME>END_PI'
Date: new Date("2013-11-27T09:14:15.617Z")
}
{
Name: 'PI:NAME:<NAME>END_PI'
Date: new Date("2013-11-27T09:14:15.617Z")
}
]
|
[
{
"context": "d: true\n manufactured: true\n name: \"TestPart\"\n params: \"\"\n quantity: 2\n ",
"end": 3142,
"score": 0.7360716462135315,
"start": 3138,
"tag": "NAME",
"value": "Test"
}
] | src/test/spec/project.spec.coffee | kaosat-dev/CoffeeSCad | 110 | define (require)->
$ = require 'jquery'
_ = require 'underscore'
Project = require "core/projects/project"
checkDeferred=(df,fn) ->
callback = jasmine.createSpy()
errback = jasmine.createSpy()
df.then(callback, errback)
waitsFor -> callback.callCount > 0
runs ->
fn.apply @,callb... | 53312 | define (require)->
$ = require 'jquery'
_ = require 'underscore'
Project = require "core/projects/project"
checkDeferred=(df,fn) ->
callback = jasmine.createSpy()
errback = jasmine.createSpy()
df.then(callback, errback)
waitsFor -> callback.callCount > 0
runs ->
fn.apply @,callb... | true | define (require)->
$ = require 'jquery'
_ = require 'underscore'
Project = require "core/projects/project"
checkDeferred=(df,fn) ->
callback = jasmine.createSpy()
errback = jasmine.createSpy()
df.then(callback, errback)
waitsFor -> callback.callCount > 0
runs ->
fn.apply @,callb... |
[
{
"context": "le Picture\"\n display: [\"show\"]\n\nRory = \n id: \"rory \"\n name: \"Rory Miller\"\n externalLink: \"http://c",
"end": 527,
"score": 0.9901135563850403,
"start": 523,
"tag": "USERNAME",
"value": "rory"
},
{
"context": "display: [\"show\"]\n\nRory = \n id: \"ro... | tests/dummy/app/models/instructor.coffee | annotating/VioDy | 0 | `import DS from 'ember-data'`
Instructor = DS.Model.extend
name: DS.attr "string",
label: "Instructor Name"
display: ["show", "index"]
description: DS.attr "string",
label: "About Me"
display: ["show"]
description: "The markdown-flavor text describing this instructor"
externalLink: DS.attr ... | 48812 | `import DS from 'ember-data'`
Instructor = DS.Model.extend
name: DS.attr "string",
label: "Instructor Name"
display: ["show", "index"]
description: DS.attr "string",
label: "About Me"
display: ["show"]
description: "The markdown-flavor text describing this instructor"
externalLink: DS.attr ... | true | `import DS from 'ember-data'`
Instructor = DS.Model.extend
name: DS.attr "string",
label: "Instructor Name"
display: ["show", "index"]
description: DS.attr "string",
label: "About Me"
display: ["show"]
description: "The markdown-flavor text describing this instructor"
externalLink: DS.attr ... |
[
{
"context": ">\n @them = null\n runs( =>\n kb.getUser('dakota', 'usernames', (err, them) =>\n @them = the",
"end": 200,
"score": 0.9905455708503723,
"start": 194,
"tag": "USERNAME",
"value": "dakota"
},
{
"context": "m = null\n runs( =>\n kb.getUser('dakota... | packages/client-app/internal_packages/keybase/spec/keybase-spec.coffee | cnheider/nylas-mail | 24,369 | kb = require '../lib/keybase'
xdescribe "keybase lib", ->
# TODO stub keybase calls?
it "should be able to fetch an account by username", ->
@them = null
runs( =>
kb.getUser('dakota', 'usernames', (err, them) =>
@them = them
)
)
waitsFor((=> @them != null), 2000)
runs( =>
... | 42150 | kb = require '../lib/keybase'
xdescribe "keybase lib", ->
# TODO stub keybase calls?
it "should be able to fetch an account by username", ->
@them = null
runs( =>
kb.getUser('dakota', 'usernames', (err, them) =>
@them = them
)
)
waitsFor((=> @them != null), 2000)
runs( =>
... | true | kb = require '../lib/keybase'
xdescribe "keybase lib", ->
# TODO stub keybase calls?
it "should be able to fetch an account by username", ->
@them = null
runs( =>
kb.getUser('dakota', 'usernames', (err, them) =>
@them = them
)
)
waitsFor((=> @them != null), 2000)
runs( =>
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992351531982422,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-write-stream-change-open.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... | 170254 | # 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": "name: 'Gleam'\nscopeName: 'source.gleam'\ntype: 'tree-sitter",
"end": 8,
"score": 0.8312268853187561,
"start": 7,
"tag": "NAME",
"value": "G"
},
{
"context": "name: 'Gleam'\nscopeName: 'source.gleam'\ntype: 'tree-sitter'\npa",
"end": 12,
"score": 0.7344307899475... | grammars/tree-sitter-gleam.cson | itsgreggreg/language-gleam | 5 | name: 'Gleam'
scopeName: 'source.gleam'
type: 'tree-sitter'
parser: 'tree-sitter-gleam'
fileTypes: [
'gleam',
]
comments:
start: '// '
scopes:
'comment': 'comment.block'
'"as"' : 'keyword.control.as'
'"assert"' : 'keyword.control.assert'
'"case"' : 'keyword.control.case'
'"const"' : 'k... | 97796 | name: '<NAME>leam'
scopeName: 'source.gleam'
type: 'tree-sitter'
parser: 'tree-sitter-gleam'
fileTypes: [
'gleam',
]
comments:
start: '// '
scopes:
'comment': 'comment.block'
'"as"' : 'keyword.control.as'
'"assert"' : 'keyword.control.assert'
'"case"' : 'keyword.control.case'
'"const"' ... | true | name: 'PI:NAME:<NAME>END_PIleam'
scopeName: 'source.gleam'
type: 'tree-sitter'
parser: 'tree-sitter-gleam'
fileTypes: [
'gleam',
]
comments:
start: '// '
scopes:
'comment': 'comment.block'
'"as"' : 'keyword.control.as'
'"assert"' : 'keyword.control.assert'
'"case"' : 'keyword.control.case'
... |
[
{
"context": " to be unique.\n # [node-hat]: https://github.com/substack/node-hat\n #\n # This method is synchronous, beca",
"end": 13701,
"score": 0.9908843040466309,
"start": 13693,
"tag": "USERNAME",
"value": "substack"
},
{
"context": " session while it is closed. Unless you'r... | node_modules/share/node_modules/browserchannel/lib/server.coffee | LaPingvino/rizzoma | 88 | # # A BrowserChannel server.
#
# - Its still pretty young, so there's probably bugs lurking around and the API
# will still change quickly.
# - Its missing integration tests
#
# It works in all the browsers I've tried.
#
# I've written this using the literate programming style to try it out. So, thats why
# there's a... | 123374 | # # A BrowserChannel server.
#
# - Its still pretty young, so there's probably bugs lurking around and the API
# will still change quickly.
# - Its missing integration tests
#
# It works in all the browsers I've tried.
#
# I've written this using the literate programming style to try it out. So, thats why
# there's a... | true | # # A BrowserChannel server.
#
# - Its still pretty young, so there's probably bugs lurking around and the API
# will still change quickly.
# - Its missing integration tests
#
# It works in all the browsers I've tried.
#
# I've written this using the literate programming style to try it out. So, thats why
# there's a... |
[
{
"context": "City in Atom\n# @version 0.1.0\n# @author Synder <info@synder.dev>\n#\n# @website https://githu",
"end": 89,
"score": 0.998927116394043,
"start": 83,
"tag": "NAME",
"value": "Synder"
},
{
"context": "tom\n# @version 0.1.0\n# @author Synder <in... | lib/extension.coffee | SynderDEV/atom-city | 2 | ###!
# Atom City - Build your City in Atom
# @version 0.1.0
# @author Synder <info@synder.dev>
#
# @website https://github.com/SynderDEV/atom-city
# @license MIT
# @copyright Copyright © 2021 Synder <info@synder.dev>
# @copyright Copyright © 2020 - 2021 pytesNET <info@pytes.net>
###
Game =... | 198828 | ###!
# Atom City - Build your City in Atom
# @version 0.1.0
# @author <NAME> <<EMAIL>>
#
# @website https://github.com/SynderDEV/atom-city
# @license MIT
# @copyright Copyright © 2021 Synder <<EMAIL>>
# @copyright Copyright © 2020 - 2021 pytesNET <<EMAIL>>
###
Game = require './core/game'
... | true | ###!
# Atom City - Build your City in Atom
# @version 0.1.0
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# @website https://github.com/SynderDEV/atom-city
# @license MIT
# @copyright Copyright © 2021 Synder <PI:EMAIL:<EMAIL>END_PI>
# @copyright Copyright © 2020 - 2021 pytesNET ... |
[
{
"context": "13-11-15T00:00:00.000Z\",\n \"account\": \"1234567890\"\n },\n {\n \"label\": \"LIDL\"",
"end": 286,
"score": 0.9126906991004944,
"start": 277,
"tag": "KEY",
"value": "234567890"
},
{
"context": "13-11-20T00:00:00.000Z\",\n ... | tests/fixtures/weboob/operations.coffee | einSelbst/cozy-pfm | 0 | banks = require '../banks-all.json'
output = {}
for bank in banks
output[bank.uuid] = [
{
"label": "SNCF",
"raw": "SNCF Carte X1234",
"amount": "-15.00",
"rdate": "2013-11-15T00:00:00.000Z",
"account": "1234567890"
},
{
... | 128167 | banks = require '../banks-all.json'
output = {}
for bank in banks
output[bank.uuid] = [
{
"label": "SNCF",
"raw": "SNCF Carte X1234",
"amount": "-15.00",
"rdate": "2013-11-15T00:00:00.000Z",
"account": "1<KEY>"
},
{
"la... | true | banks = require '../banks-all.json'
output = {}
for bank in banks
output[bank.uuid] = [
{
"label": "SNCF",
"raw": "SNCF Carte X1234",
"amount": "-15.00",
"rdate": "2013-11-15T00:00:00.000Z",
"account": "1PI:KEY:<KEY>END_PI"
},
{
... |
[
{
"context": " \n# Copyright 2011 - 2013 Mark Masse (OSS project WRML.org) \n# ",
"end": 824,
"score": 0.9998018145561218,
"start": 814,
"tag": "NAME",
"value": "Mark Masse"
}
] | wrmldoc/js/app/controllers/_base.coffee | wrml/wrml | 47 | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... | 26966 | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... | true | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.