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": "lease try another card or contact <a href='mailto:support@artsy.net'>support</a>.\"\n couldNotAuthorize: \"Your card ",
"end": 469,
"score": 0.999915599822998,
"start": 452,
"tag": "EMAIL",
"value": "support@artsy.net"
},
{
"context": "lease try another card or conta... | desktop/components/credit_card/client/error_handling_form.coffee | dblock/force | 1 | _ = require 'underscore'
Backbone = require 'backbone'
isCreditCard = require('validator').isCreditCard
xssFilters = require 'xss-filters'
isEmail = require('validator').isEmail
analyticsHooks = require '../../../lib/analytics_hooks.coffee'
module.exports = class ErrorHandlingForm extends Backbone.View
fields: {}
... | 12482 | _ = require 'underscore'
Backbone = require 'backbone'
isCreditCard = require('validator').isCreditCard
xssFilters = require 'xss-filters'
isEmail = require('validator').isEmail
analyticsHooks = require '../../../lib/analytics_hooks.coffee'
module.exports = class ErrorHandlingForm extends Backbone.View
fields: {}
... | true | _ = require 'underscore'
Backbone = require 'backbone'
isCreditCard = require('validator').isCreditCard
xssFilters = require 'xss-filters'
isEmail = require('validator').isEmail
analyticsHooks = require '../../../lib/analytics_hooks.coffee'
module.exports = class ErrorHandlingForm extends Backbone.View
fields: {}
... |
[
{
"context": "'''\n์์ฑ์ธ์ & ์ค๋์ค ์๊ฐํ \n\n@auther Jungho Song (dev@threeword.com)\n@since 2017.01.16\n'''\nclass S",
"end": 40,
"score": 0.9993184804916382,
"start": 29,
"tag": "NAME",
"value": "Jungho Song"
},
{
"context": "'''\n์์ฑ์ธ์ & ์ค๋์ค ์๊ฐํ \n\n@auther Jungho Song (dev@threeword.com)... | modules/Speech.coffee | framer-modules/speech-recognition.framer | 0 | '''
์์ฑ์ธ์ & ์ค๋์ค ์๊ฐํ
@auther Jungho Song (dev@threeword.com)
@since 2017.01.16
'''
class Speech extends Framer.BaseClass
# Events
Events.Recognition = {}
Events.Recognition.Start = 'recognitionStart'
Events.Recognition.End = 'recognitionEnd'
Events.Recognition.Speech = {}
Events.Recognition.Speech.Start = 'recog... | 37199 | '''
์์ฑ์ธ์ & ์ค๋์ค ์๊ฐํ
@auther <NAME> (<EMAIL>)
@since 2017.01.16
'''
class Speech extends Framer.BaseClass
# Events
Events.Recognition = {}
Events.Recognition.Start = 'recognitionStart'
Events.Recognition.End = 'recognitionEnd'
Events.Recognition.Speech = {}
Events.Recognition.Speech.Start = 'recognitionSpeechSta... | true | '''
์์ฑ์ธ์ & ์ค๋์ค ์๊ฐํ
@auther PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
@since 2017.01.16
'''
class Speech extends Framer.BaseClass
# Events
Events.Recognition = {}
Events.Recognition.Start = 'recognitionStart'
Events.Recognition.End = 'recognitionEnd'
Events.Recognition.Speech = {}
Events.Recognition.Speech.... |
[
{
"context": "container: \"#{@processorName}.data\"\n key: \"#{resource.typeId}-#{resource.id}\"\n version: 0\n }\n else\n ",
"end": 9711,
"score": 0.9969571828842163,
"start": 9676,
"tag": "KEY",
"value": "\"#{resource.typeId}-#{resource.id}\""
},
{
... | src/coffee/sphere_service.coffee | sphereio/sphere-message-processing | 0 | Rx = require 'rx'
Q = require 'q'
{_} = require 'underscore'
_s = require 'underscore.string'
{Rest} = require 'sphere-node-connect'
{TaskQueue} = require '../lib/task_queue'
{Pagger} = require '../lib/pagger'
{Repeater} = require '../lib/repeater'
{LoggerFactory} = require '../lib/logger'
util = require '../lib/util'
... | 129937 | Rx = require 'rx'
Q = require 'q'
{_} = require 'underscore'
_s = require 'underscore.string'
{Rest} = require 'sphere-node-connect'
{TaskQueue} = require '../lib/task_queue'
{Pagger} = require '../lib/pagger'
{Repeater} = require '../lib/repeater'
{LoggerFactory} = require '../lib/logger'
util = require '../lib/util'
... | true | Rx = require 'rx'
Q = require 'q'
{_} = require 'underscore'
_s = require 'underscore.string'
{Rest} = require 'sphere-node-connect'
{TaskQueue} = require '../lib/task_queue'
{Pagger} = require '../lib/pagger'
{Repeater} = require '../lib/repeater'
{LoggerFactory} = require '../lib/logger'
util = require '../lib/util'
... |
[
{
"context": "ameters =\n format : 'json'\n key : '1980'\n page : 0\n ordered : true\n seria",
"end": 1101,
"score": 0.9913947582244873,
"start": 1097,
"tag": "KEY",
"value": "1980"
}
] | spec/2_ajax.coffee | lguzzon/QuoJS | 558 | describe "Ajax", ->
url = "http://tapquo.com"
it "can configure ajax settings", ->
$$.ajaxSettings =
async : false
timeout : 1000
expect($$.ajaxSettings.async).toBeFalsy()
expect($$.ajaxSettings.timeout).toEqual 1000
it "can make a ajax request", ->
spyOn $$, "ajax"
$$.ajax
... | 119923 | describe "Ajax", ->
url = "http://tapquo.com"
it "can configure ajax settings", ->
$$.ajaxSettings =
async : false
timeout : 1000
expect($$.ajaxSettings.async).toBeFalsy()
expect($$.ajaxSettings.timeout).toEqual 1000
it "can make a ajax request", ->
spyOn $$, "ajax"
$$.ajax
... | true | describe "Ajax", ->
url = "http://tapquo.com"
it "can configure ajax settings", ->
$$.ajaxSettings =
async : false
timeout : 1000
expect($$.ajaxSettings.async).toBeFalsy()
expect($$.ajaxSettings.timeout).toEqual 1000
it "can make a ajax request", ->
spyOn $$, "ajax"
$$.ajax
... |
[
{
"context": "ectetur adipisicing elit, sed do eiusmod'\n name:'fgribreau'\n\nf = \n substr: (where, what) ->\n where.index",
"end": 864,
"score": 0.9598889350891113,
"start": 855,
"tag": "NAME",
"value": "fgribreau"
}
] | bench/bench.coffee | FGRibreau/node-ast-inlining | 1 | # Dependencies
jslitmus = require 'jslitmus'
jsp = require("uglify-js").parser
pro = require("uglify-js").uglify
vm = require 'vm'
sys = require 'sys'
inliner = require '../index'
# Helpers
eval = (sourceCode, isVerbose, evalContext) ->
try
vm.runInNewContext("this[\"-eval-\"] = function(code){ eval(code); };",... | 205873 | # Dependencies
jslitmus = require 'jslitmus'
jsp = require("uglify-js").parser
pro = require("uglify-js").uglify
vm = require 'vm'
sys = require 'sys'
inliner = require '../index'
# Helpers
eval = (sourceCode, isVerbose, evalContext) ->
try
vm.runInNewContext("this[\"-eval-\"] = function(code){ eval(code); };",... | true | # Dependencies
jslitmus = require 'jslitmus'
jsp = require("uglify-js").parser
pro = require("uglify-js").uglify
vm = require 'vm'
sys = require 'sys'
inliner = require '../index'
# Helpers
eval = (sourceCode, isVerbose, evalContext) ->
try
vm.runInNewContext("this[\"-eval-\"] = function(code){ eval(code); };",... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998326301574707,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": " \"\n # Use the [nomnom](http:/... | src/Command.coffee | sjorek/goatee-script.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... | 122547 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": " reporter: reporter.fn\n \n loginTestMail: \"login@testmail.com\"\n testMail: \"test@testmail.com\"\n testPasswo",
"end": 377,
"score": 0.9999323487281799,
"start": 359,
"tag": "EMAIL",
"value": "login@testmail.com"
},
{
"context": "oginTestMail: \"login@t... | Votiee/VotieeFrontend/tests/globals.coffee | Rotvig/Votiee | 0 | HtmlReporter = require('nightwatch-html-reporter')
reporter = new HtmlReporter
openBrowser: false,
reportsDirectory: './reports',
reportFilename: 'generatedReport.html',
themeName: 'default',
hideSuccess: false
module.exports =
#Settings
waitForConditionTimeout: 120000
#HTML reporter
reporter... | 71015 | HtmlReporter = require('nightwatch-html-reporter')
reporter = new HtmlReporter
openBrowser: false,
reportsDirectory: './reports',
reportFilename: 'generatedReport.html',
themeName: 'default',
hideSuccess: false
module.exports =
#Settings
waitForConditionTimeout: 120000
#HTML reporter
reporter... | true | HtmlReporter = require('nightwatch-html-reporter')
reporter = new HtmlReporter
openBrowser: false,
reportsDirectory: './reports',
reportFilename: 'generatedReport.html',
themeName: 'default',
hideSuccess: false
module.exports =
#Settings
waitForConditionTimeout: 120000
#HTML reporter
reporter... |
[
{
"context": "ipt_data: receipt.base64_receipt\n password: \"dnilabs\"\n ).end()\n console.log \"Saving \" + receipt.",
"end": 2818,
"score": 0.9993087649345398,
"start": 2811,
"tag": "PASSWORD",
"value": "dnilabs"
}
] | components/backend/modules/baker/server.coffee | dni/f-rli | 0 | Setting = require("./../../lib/model/Schema")('settings')
Magazine = require("./../../lib/model/Schema")('magazines')
auth = require './../../utilities/auth'
http = require("http")
_ = require("underscore")
ApnToken = require(__dirname + "/model/ApnTokenSchema")
Issue = require(__dirname + "/model/IssueSchema")
Purchas... | 38212 | Setting = require("./../../lib/model/Schema")('settings')
Magazine = require("./../../lib/model/Schema")('magazines')
auth = require './../../utilities/auth'
http = require("http")
_ = require("underscore")
ApnToken = require(__dirname + "/model/ApnTokenSchema")
Issue = require(__dirname + "/model/IssueSchema")
Purchas... | true | Setting = require("./../../lib/model/Schema")('settings')
Magazine = require("./../../lib/model/Schema")('magazines')
auth = require './../../utilities/auth'
http = require("http")
_ = require("underscore")
ApnToken = require(__dirname + "/model/ApnTokenSchema")
Issue = require(__dirname + "/model/IssueSchema")
Purchas... |
[
{
"context": "ive: true\n login: 'admin'\n name: 'Default A",
"end": 1866,
"score": 0.9716448187828064,
"start": 1861,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "n: 'admin'\n name: ... | modules/http/lib/AbstractServer.coffee | nero-networks/floyd | 0 |
module.exports =
##
## A Floyd-Webserver
##
## Implements an abstract base for a Floyd HTTP-Server Context
## the server-socket-communication feature needs to be implemented per platform
## take a look at ../platforms/node/lib/Server.coffee for the node implementation
##
class Abstract... | 35287 |
module.exports =
##
## A Floyd-Webserver
##
## Implements an abstract base for a Floyd HTTP-Server Context
## the server-socket-communication feature needs to be implemented per platform
## take a look at ../platforms/node/lib/Server.coffee for the node implementation
##
class Abstract... | true |
module.exports =
##
## A Floyd-Webserver
##
## Implements an abstract base for a Floyd HTTP-Server Context
## the server-socket-communication feature needs to be implemented per platform
## take a look at ../platforms/node/lib/Server.coffee for the node implementation
##
class Abstract... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9987834095954895,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "eption = (err, syscall, hostname) ->\n \n # FIXME(bnoordhuis) Remove this backwards compatib... | lib/dns.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... | 103488 | # 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": " before (done) ->\n params =\n valuesKey: \"cantaloup:test:values\"\n linksKey: \"cantaloup:test:links\"\n ",
"end": 166,
"score": 0.9386960864067078,
"start": 152,
"tag": "KEY",
"value": "cantaloup:test"
},
{
"context": "luesKey: \"cantaloup:test:values\... | test/storage.coffee | leonchen/config-env | 0 | should = require 'should'
Storage = require '../lib/storage'
describe "storage", ->
storage = null
before (done) ->
params =
valuesKey: "cantaloup:test:values"
linksKey: "cantaloup:test:links"
storage = new Storage(params)
storage.on "ready", ->
storage.reset done
it "should create... | 8058 | should = require 'should'
Storage = require '../lib/storage'
describe "storage", ->
storage = null
before (done) ->
params =
valuesKey: "<KEY>:values"
linksKey: "<KEY>:links"
storage = new Storage(params)
storage.on "ready", ->
storage.reset done
it "should create key/value", ->
... | true | should = require 'should'
Storage = require '../lib/storage'
describe "storage", ->
storage = null
before (done) ->
params =
valuesKey: "PI:KEY:<KEY>END_PI:values"
linksKey: "PI:KEY:<KEY>END_PI:links"
storage = new Storage(params)
storage.on "ready", ->
storage.reset done
it "shoul... |
[
{
"context": "ot: (width, fillColor, strokeColor) ->\n key = \"path-dot-#{width}-#{fillColor}-#{strokeColor}\"\n fillColor = createjs.Graphics.getRGB(fillColo",
"end": 1698,
"score": 0.9960340261459351,
"start": 1652,
"tag": "KEY",
"value": "path-dot-#{width}-#{fillColor}-#{strokeColor... | app/lib/surface/TrailMaster.coffee | JurianLock/codecombat | 2 | PAST_PATH_ALPHA = 0.75
PAST_PATH_WIDTH = 5
FUTURE_PATH_ALPHA = 0.75
FUTURE_PATH_WIDTH = 4
TARGET_ALPHA = 1
TARGET_WIDTH = 10
FUTURE_PATH_INTERVAL_DIVISOR = 4
PAST_PATH_INTERVAL_DIVISOR = 2
Camera = require './Camera'
CocoClass = require 'core/CocoClass'
module.exports = class TrailMaster extends CocoClass
world: nu... | 208241 | PAST_PATH_ALPHA = 0.75
PAST_PATH_WIDTH = 5
FUTURE_PATH_ALPHA = 0.75
FUTURE_PATH_WIDTH = 4
TARGET_ALPHA = 1
TARGET_WIDTH = 10
FUTURE_PATH_INTERVAL_DIVISOR = 4
PAST_PATH_INTERVAL_DIVISOR = 2
Camera = require './Camera'
CocoClass = require 'core/CocoClass'
module.exports = class TrailMaster extends CocoClass
world: nu... | true | PAST_PATH_ALPHA = 0.75
PAST_PATH_WIDTH = 5
FUTURE_PATH_ALPHA = 0.75
FUTURE_PATH_WIDTH = 4
TARGET_ALPHA = 1
TARGET_WIDTH = 10
FUTURE_PATH_INTERVAL_DIVISOR = 4
PAST_PATH_INTERVAL_DIVISOR = 2
Camera = require './Camera'
CocoClass = require 'core/CocoClass'
module.exports = class TrailMaster extends CocoClass
world: nu... |
[
{
"context": " arbitraryIdentifiers =\n 'email': 'john@example.com'\n 'contactid': '3615'\n\n rule = ",
"end": 849,
"score": 0.9999229311943054,
"start": 833,
"tag": "EMAIL",
"value": "john@example.com"
},
{
"context": ", 'r'\n rule.should.have... | test.coffee | jsilvestre/cozy-clearance | 0 | should = require 'should'
clearance = require './index'
americano = require 'americano-cozy'
model = null
rule = null
secretkey = null
janekey = null
stevekey = null
describe 'Basics', ->
it "cozy-clearance exports the functions", ->
should.exist clearance.check
should.exist clearance.make
... | 48063 | should = require 'should'
clearance = require './index'
americano = require 'americano-cozy'
model = null
rule = null
secretkey = null
janekey = null
stevekey = null
describe 'Basics', ->
it "cozy-clearance exports the functions", ->
should.exist clearance.check
should.exist clearance.make
... | true | should = require 'should'
clearance = require './index'
americano = require 'americano-cozy'
model = null
rule = null
secretkey = null
janekey = null
stevekey = null
describe 'Basics', ->
it "cozy-clearance exports the functions", ->
should.exist clearance.check
should.exist clearance.make
... |
[
{
"context": "rn\"\n pl: \"Poland\"\n pt: \"Portugal\"\n pr: \"Puerto Rico\"\n qa: \"Qatar\"\n re: \"Rรฉunion\"\n ro: \"Roman",
"end": 3696,
"score": 0.752403736114502,
"start": 3686,
"tag": "NAME",
"value": "uerto Rico"
},
{
"context": "an Federation\"\n rw: \"Rw... | src/data/countries.coffee | verus-io/crowdstart-checkout | 14 | module.exports =
data:
af: "Afghanistan"
ax: "ร
land Islands"
al: "Albania"
dz: "Algeria"
as: "American Samoa"
ad: "Andorra"
ao: "Angola"
ai: "Anguilla"
aq: "Antarctica"
ag: "Antigua and Barbuda"
ar: "Argentina"
am: "Armenia"
aw: "Aruba"
au: "Australia"
at: "... | 86483 | module.exports =
data:
af: "Afghanistan"
ax: "ร
land Islands"
al: "Albania"
dz: "Algeria"
as: "American Samoa"
ad: "Andorra"
ao: "Angola"
ai: "Anguilla"
aq: "Antarctica"
ag: "Antigua and Barbuda"
ar: "Argentina"
am: "Armenia"
aw: "Aruba"
au: "Australia"
at: "... | true | module.exports =
data:
af: "Afghanistan"
ax: "ร
land Islands"
al: "Albania"
dz: "Algeria"
as: "American Samoa"
ad: "Andorra"
ao: "Angola"
ai: "Anguilla"
aq: "Antarctica"
ag: "Antigua and Barbuda"
ar: "Argentina"
am: "Armenia"
aw: "Aruba"
au: "Australia"
at: "... |
[
{
"context": "() ->\n action : \"charge\"\n app:\n name: \"distinct-delsie\"\n plan:\n name : \"startup\"\n amount ",
"end": 1005,
"score": 0.9981775283813477,
"start": 990,
"tag": "USERNAME",
"value": "distinct-delsie"
},
{
"context": "33213451\"\n met... | stage/shim/payment-methods.coffee | nanobox-io/nanobox-dash-ui-payment-methods | 0 | module.exports = class PaymentMethodsShim
constructor: () ->
getPaymentMethods : () ->
# @getPaymentMethod('work')
# @getPaymentMethod('zumiez')
@getPaymentMethod('personal')
getInvoice : (paymentMethodId) ->
paymentMethod = @getPaymentMethod paymentMethodId
# Data starts here:
state ... | 22496 | module.exports = class PaymentMethodsShim
constructor: () ->
getPaymentMethods : () ->
# @getPaymentMethod('work')
# @getPaymentMethod('zumiez')
@getPaymentMethod('personal')
getInvoice : (paymentMethodId) ->
paymentMethod = @getPaymentMethod paymentMethodId
# Data starts here:
state ... | true | module.exports = class PaymentMethodsShim
constructor: () ->
getPaymentMethods : () ->
# @getPaymentMethod('work')
# @getPaymentMethod('zumiez')
@getPaymentMethod('personal')
getInvoice : (paymentMethodId) ->
paymentMethod = @getPaymentMethod paymentMethodId
# Data starts here:
state ... |
[
{
"context": "p://map.ipviking.com/ | Contains attack data |\n #@HoneyCloud.connect() # http://map.honeynet.org/ | Contain Attack Liv",
"end": 2061,
"score": 0.8364735245704651,
"start": 2041,
"tag": "EMAIL",
"value": "#@HoneyCloud.connect"
},
{
"context": "ack Live stream (Src --... | GOTHAM/Backend/src/Objects/World/World.coffee | perara/gotham | 0 | Clock = require './Components/Clock.coffee'
IPViking = require './Components/IPViking.coffee'
Cyberfeed = require './Components/Cyberfeed.coffee'
HoneyCloud = require './Components/Honeycloud.coffee'
http = require 'http'
###*
# World, is the world loop of the backend. Simulating traffic etc.
# Litterature: http://... | 153921 | Clock = require './Components/Clock.coffee'
IPViking = require './Components/IPViking.coffee'
Cyberfeed = require './Components/Cyberfeed.coffee'
HoneyCloud = require './Components/Honeycloud.coffee'
http = require 'http'
###*
# World, is the world loop of the backend. Simulating traffic etc.
# Litterature: http://... | true | Clock = require './Components/Clock.coffee'
IPViking = require './Components/IPViking.coffee'
Cyberfeed = require './Components/Cyberfeed.coffee'
HoneyCloud = require './Components/Honeycloud.coffee'
http = require 'http'
###*
# World, is the world loop of the backend. Simulating traffic etc.
# Litterature: http://... |
[
{
"context": ".update({ $set: { passwordHash: User.hashPassword(newPassword) } })\n res.status(200).send({})\n\n inv",
"end": 11651,
"score": 0.8223432898521423,
"start": 11648,
"tag": "PASSWORD",
"value": "new"
}
] | server/middleware/classrooms.coffee | reyesj1988/Codecombat | 1 | _ = require 'lodash'
utils = require '../lib/utils'
errors = require '../commons/errors'
schemas = require '../../app/schemas/schemas'
wrap = require 'co-express'
log = require 'winston'
Promise = require 'bluebird'
database = require '../commons/database'
mongoose = require 'mongoose'
Classroom = require '../models/Cl... | 173114 | _ = require 'lodash'
utils = require '../lib/utils'
errors = require '../commons/errors'
schemas = require '../../app/schemas/schemas'
wrap = require 'co-express'
log = require 'winston'
Promise = require 'bluebird'
database = require '../commons/database'
mongoose = require 'mongoose'
Classroom = require '../models/Cl... | true | _ = require 'lodash'
utils = require '../lib/utils'
errors = require '../commons/errors'
schemas = require '../../app/schemas/schemas'
wrap = require 'co-express'
log = require 'winston'
Promise = require 'bluebird'
database = require '../commons/database'
mongoose = require 'mongoose'
Classroom = require '../models/Cl... |
[
{
"context": "#{settings.config['SFDC_API_TOKEN']}\"\npass_token = pass_token.replace('\\n', '')\n#logger.debug \"Connecting to pa",
"end": 397,
"score": 0.6688740849494934,
"start": 387,
"tag": "PASSWORD",
"value": "pass_token"
},
{
"context": "onfig['SFDC_API_TOKEN']}\"\npass_token... | src/com/redhat/ascension/db/salesforce.coffee | pbathia/ascension | 0 | jsforce = require 'jsforce'
utils = require('../utils/utils')
settings = require('../settings/settings')
logger = require('tracer').colorConsole(utils.logger_config)
prettyjson = require 'prettyjson'
_ = require 'lodash'
# Create a regular Salesforce instance
pass_token = "#{settings.confi... | 196980 | jsforce = require 'jsforce'
utils = require('../utils/utils')
settings = require('../settings/settings')
logger = require('tracer').colorConsole(utils.logger_config)
prettyjson = require 'prettyjson'
_ = require 'lodash'
# Create a regular Salesforce instance
pass_token = "#{settings.confi... | true | jsforce = require 'jsforce'
utils = require('../utils/utils')
settings = require('../settings/settings')
logger = require('tracer').colorConsole(utils.logger_config)
prettyjson = require 'prettyjson'
_ = require 'lodash'
# Create a regular Salesforce instance
pass_token = "#{settings.confi... |
[
{
"context": "generateKey = (len=16) ->\n [num, alpb, alps] = [\"0123456789\", \"ABCDEFGHIJKLMNOPQRSTUVWXTZ\", \"abcdefghiklmnopq",
"end": 314,
"score": 0.9985779523849487,
"start": 304,
"tag": "KEY",
"value": "0123456789"
},
{
"context": "(len=16) ->\n [num, alpb, alps] = [\"01234... | test/authorization/read.coffee | wearefractal/crudify | 8 | crudify = require '../../'
should = require 'should'
express = require 'express'
request = require 'request'
require 'mocha'
{Schema} = require 'mongoose'
db = require '../fixtures/connection'
fakeReq = {}
rn = (max) -> Math.floor(Math.random()*max)
generateKey = (len=16) ->
[num, alpb, alps] = ["0123456789", "AB... | 81269 | crudify = require '../../'
should = require 'should'
express = require 'express'
request = require 'request'
require 'mocha'
{Schema} = require 'mongoose'
db = require '../fixtures/connection'
fakeReq = {}
rn = (max) -> Math.floor(Math.random()*max)
generateKey = (len=16) ->
[num, alpb, alps] = ["<KEY>", "<KEY>",... | true | crudify = require '../../'
should = require 'should'
express = require 'express'
request = require 'request'
require 'mocha'
{Schema} = require 'mongoose'
db = require '../fixtures/connection'
fakeReq = {}
rn = (max) -> Math.floor(Math.random()*max)
generateKey = (len=16) ->
[num, alpb, alps] = ["PI:KEY:<KEY>END_... |
[
{
"context": "Of( TCSAuth )\n\t\t\tdone()\n\t\t\treturn\n\n\t_mailTestL = \"cortezwaters@example.com\"\n\n\tdescribe \"- Login -\", ->\n\n\t\tit \"login with mis",
"end": 1100,
"score": 0.999929666519165,
"start": 1076,
"tag": "EMAIL",
"value": "cortezwaters@example.com"
},
{
"contex... | _src/test/main.coffee | mpneuried/tcs_node_auth | 1 | should = require( "should" )
async = require( "async" )
_ = require( "lodash" )._
TCSAuth = require( "../lib/auth" )
DummyUserStores = require( "./dummy_userstore" )
auth = null
config =
mailAppId: "testapp"
mailConfig:
simulate: true
describe "=== MAIN TESTS === ", ->
describe "- Init -", ->
it "create au... | 86306 | should = require( "should" )
async = require( "async" )
_ = require( "lodash" )._
TCSAuth = require( "../lib/auth" )
DummyUserStores = require( "./dummy_userstore" )
auth = null
config =
mailAppId: "testapp"
mailConfig:
simulate: true
describe "=== MAIN TESTS === ", ->
describe "- Init -", ->
it "create au... | true | should = require( "should" )
async = require( "async" )
_ = require( "lodash" )._
TCSAuth = require( "../lib/auth" )
DummyUserStores = require( "./dummy_userstore" )
auth = null
config =
mailAppId: "testapp"
mailConfig:
simulate: true
describe "=== MAIN TESTS === ", ->
describe "- Init -", ->
it "create au... |
[
{
"context": "are while a user is signed in\n@currentUserId = 1\n@fakeUser = ETahi.Factory.createRecord 'User',\n id: @c",
"end": 1885,
"score": 0.5346293449401855,
"start": 1881,
"tag": "USERNAME",
"value": "fake"
},
{
"context": "Record 'User',\n id: @currentUserId\n full_name: ... | test/javascripts/support/test_initializer.js.coffee | johan--/tahi | 1 | #= require support/mock_server
#= require support/factories
#= require_directory ./setups/
document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>')
document.write('<style>#ember-testing-container { position: absolute; background: white; bottom: 0; right: 0; width: 640px; height: 384px; o... | 126289 | #= require support/mock_server
#= require support/factories
#= require_directory ./setups/
document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>')
document.write('<style>#ember-testing-container { position: absolute; background: white; bottom: 0; right: 0; width: 640px; height: 384px; o... | true | #= require support/mock_server
#= require support/factories
#= require_directory ./setups/
document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>')
document.write('<style>#ember-testing-container { position: absolute; background: white; bottom: 0; right: 0; width: 640px; height: 384px; o... |
[
{
"context": "ports = class Angel extends CocoClass\n @nicks: ['Archer', 'Lana', 'Cyril', 'Pam', 'Cheryl', 'Woodhouse', ",
"end": 521,
"score": 0.9998182654380798,
"start": 515,
"tag": "NAME",
"value": "Archer"
},
{
"context": "ass Angel extends CocoClass\n @nicks: ['Archer', 'Lana... | app/lib/Angel.coffee | l34kr/codecombat | 0 | # Every Angel has one web worker attached to it. It will call methods inside the worker and kill it if it times out.
# God is the public API; Angels are an implementation detail. Each God can have one or more Angels.
{now} = require 'lib/world/world_utils'
World = require 'lib/world/world'
CocoClass = require 'core/Co... | 196788 | # Every Angel has one web worker attached to it. It will call methods inside the worker and kill it if it times out.
# God is the public API; Angels are an implementation detail. Each God can have one or more Angels.
{now} = require 'lib/world/world_utils'
World = require 'lib/world/world'
CocoClass = require 'core/Co... | true | # Every Angel has one web worker attached to it. It will call methods inside the worker and kill it if it times out.
# God is the public API; Angels are an implementation detail. Each God can have one or more Angels.
{now} = require 'lib/world/world_utils'
World = require 'lib/world/world'
CocoClass = require 'core/Co... |
[
{
"context": "'), totem_changeset.vemail()]\n password: [totem_changeset.vpresence(presence: true, message: 'You must ente",
"end": 760,
"score": 0.6636097431182861,
"start": 748,
"tag": "PASSWORD",
"value": "em_changeset"
},
{
"context": "ngeset.vemail()]\n password: [tote... | src/thinkspace/client/thinkspace-user/addon/components/sign_in.coffee | sixthedge/cellar | 6 | import ember from 'ember'
import totem_changeset from 'totem/changeset'
import base from 'thinkspace-base/components/base'
export default base.extend
# # Properties
authenticator: 'authenticator:totem'
# # Events
init: ->
@_super(arguments...)
@set_changeset()
didInsertElement:... | 118536 | import ember from 'ember'
import totem_changeset from 'totem/changeset'
import base from 'thinkspace-base/components/base'
export default base.extend
# # Properties
authenticator: 'authenticator:totem'
# # Events
init: ->
@_super(arguments...)
@set_changeset()
didInsertElement:... | true | import ember from 'ember'
import totem_changeset from 'totem/changeset'
import base from 'thinkspace-base/components/base'
export default base.extend
# # Properties
authenticator: 'authenticator:totem'
# # Events
init: ->
@_super(arguments...)
@set_changeset()
didInsertElement:... |
[
{
"context": "d based on https://stackoverflow.com/a/22429796 by Doin\n first = true\n cleanup = (abort) ->\n iframe.",
"end": 934,
"score": 0.5063683390617371,
"start": 930,
"tag": "NAME",
"value": "Doin"
}
] | client/lib/forceImgReload.coffee | redstonerodent/coauthor | 204 |
blankImg = '/updating.png'
export forceImgReload = (src) ->
tags = document.querySelectorAll \
"img[src$='#{src}'], video source[src$='#{src}']"
## If no tags, don't bother reloading (e.g. file isn't an image or video)
return unless tags.length
## Wait for all <img> tags to switch to blank image.
await ... | 168070 |
blankImg = '/updating.png'
export forceImgReload = (src) ->
tags = document.querySelectorAll \
"img[src$='#{src}'], video source[src$='#{src}']"
## If no tags, don't bother reloading (e.g. file isn't an image or video)
return unless tags.length
## Wait for all <img> tags to switch to blank image.
await ... | true |
blankImg = '/updating.png'
export forceImgReload = (src) ->
tags = document.querySelectorAll \
"img[src$='#{src}'], video source[src$='#{src}']"
## If no tags, don't bother reloading (e.g. file isn't an image or video)
return unless tags.length
## Wait for all <img> tags to switch to blank image.
await ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999125599861145,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page.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 { Main } from './profile-page/main'
reactTurbolinks.registerPersistent 'profile-page', Main, true, (target) ->
user = osu.parseJson('js... | 18837 | # 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 { Main } from './profile-page/main'
reactTurbolinks.registerPersistent 'profile-page', Main, true, (target) ->
user = osu.parseJson('json-user... | 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 { Main } from './profile-page/main'
reactTurbolinks.registerPersistent 'profile-page', Main, true, (target) ->
user = osu.parse... |
[
{
"context": "ername\"]'\n client.setValue('input[id=\"inputUsername\"]', username);\n client.setValue('input[id=",
"end": 2131,
"score": 0.8668819665908813,
"start": 2123,
"tag": "USERNAME",
"value": "Username"
},
{
"context": " client.setValue('input[id=\"inputUs... | src/tests/cucumber/features/step_definitions/testHelper.coffee | ArnoldasSid/vilnius-carpool | 11 | ###
Most common test steps should be collected here
###
d = console.log.bind @, "---"
url = require('url');
module.exports = ()->
@Before ->
client.log "browser", (err, res)->
for entry in res.value
console.log ">>>", entry.message
if err then console.log ">E>", err
@TestHelper =
... | 160019 | ###
Most common test steps should be collected here
###
d = console.log.bind @, "---"
url = require('url');
module.exports = ()->
@Before ->
client.log "browser", (err, res)->
for entry in res.value
console.log ">>>", entry.message
if err then console.log ">E>", err
@TestHelper =
... | true | ###
Most common test steps should be collected here
###
d = console.log.bind @, "---"
url = require('url');
module.exports = ()->
@Before ->
client.log "browser", (err, res)->
for entry in res.value
console.log ">>>", entry.message
if err then console.log ">E>", err
@TestHelper =
... |
[
{
"context": "#\n# batman.coffee\n# batman.js\n#\n# Created by Nick Small\n# Copyright 2011, Shopify\n#\n\n(->\n cli = require ",
"end": 55,
"score": 0.9996215105056763,
"start": 45,
"tag": "NAME",
"value": "Nick Small"
}
] | src/tools/batman.coffee | Shipow/batman | 1 | #
# batman.coffee
# batman.js
#
# Created by Nick Small
# Copyright 2011, Shopify
#
(->
cli = require './cli'
global.RUNNING_IN_BATMAN = true
# List of commands for use in the multiple `cli.parse` calls below.
Commands = ['server', 'generate', 'new']
# Yeah, this is happening. Sorry everyone.
# cli needs ... | 112134 | #
# batman.coffee
# batman.js
#
# Created by <NAME>
# Copyright 2011, Shopify
#
(->
cli = require './cli'
global.RUNNING_IN_BATMAN = true
# List of commands for use in the multiple `cli.parse` calls below.
Commands = ['server', 'generate', 'new']
# Yeah, this is happening. Sorry everyone.
# cli needs to b... | true | #
# batman.coffee
# batman.js
#
# Created by PI:NAME:<NAME>END_PI
# Copyright 2011, Shopify
#
(->
cli = require './cli'
global.RUNNING_IN_BATMAN = true
# List of commands for use in the multiple `cli.parse` calls below.
Commands = ['server', 'generate', 'new']
# Yeah, this is happening. Sorry everyone.
# ... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7928954362869263,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/la/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/la_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 63603 | bcv_parser = require("../../js/la_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/la_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "Date': \tnew Date(2016,5,20,9)\n# 'taskName': 'E Job'\n# 'status': 'OPEN'\n# }\n# {\n# ",
"end": 446,
"score": 0.606252133846283,
"start": 445,
"tag": "NAME",
"value": "E"
},
{
"context": "e': \tnew Date(2016,5,20,10)\n# 'taskName': 'E Job'\n#... | app/assets/javascripts/app/views/projects/show/graph/graph_view.coffee | natalisvd/taskManager | 0 | define [
'chaplin'
'app/base/view'
'text!app/views/projects/show/graph/graph.hbs'
], (Ch, View, template) ->
'use strict'
class GraphView extends View
template: template
className: 'graph-view'
autoRender: true
currInt: '1day'
events:
'click .dropdown-menu a': 'changeInterval'
# ... | 154648 | define [
'chaplin'
'app/base/view'
'text!app/views/projects/show/graph/graph.hbs'
], (Ch, View, template) ->
'use strict'
class GraphView extends View
template: template
className: 'graph-view'
autoRender: true
currInt: '1day'
events:
'click .dropdown-menu a': 'changeInterval'
# ... | true | define [
'chaplin'
'app/base/view'
'text!app/views/projects/show/graph/graph.hbs'
], (Ch, View, template) ->
'use strict'
class GraphView extends View
template: template
className: 'graph-view'
autoRender: true
currInt: '1day'
events:
'click .dropdown-menu a': 'changeInterval'
# ... |
[
{
"context": "6*4)]\n a = (i % 256)\n b = (i >> 8)\n key = sprintf(\"%02x00%02x\", a, b)\n val = [ i, key ]\n kvpairs[key] = val\n\n#===",
"end": 366,
"score": 0.9819960594177246,
"start": 339,
"tag": "KEY",
"value": "sprintf(\"%02x00%02x\", a, b)"
},
{
"context": "===... | node_modules/merkle-tree/test/files/1_bushy.iced | AngelKey/Angelkey.nodeclient | 151 |
main = require '../../lib/main'
{ObjFactory} = require './obj_factory'
{Config,MemTree,SortedMap} = main
mem_tree = null
config = null
{sprintf} = require 'sprintf'
kvpairs = {}
#===============================================================
make_kvpairs = () ->
for i in [0...(256*4)]
a = (i % 256)
b = ... | 15183 |
main = require '../../lib/main'
{ObjFactory} = require './obj_factory'
{Config,MemTree,SortedMap} = main
mem_tree = null
config = null
{sprintf} = require 'sprintf'
kvpairs = {}
#===============================================================
make_kvpairs = () ->
for i in [0...(256*4)]
a = (i % 256)
b = ... | true |
main = require '../../lib/main'
{ObjFactory} = require './obj_factory'
{Config,MemTree,SortedMap} = main
mem_tree = null
config = null
{sprintf} = require 'sprintf'
kvpairs = {}
#===============================================================
make_kvpairs = () ->
for i in [0...(256*4)]
a = (i % 256)
b = ... |
[
{
"context": "fetched synchronously in order.\n # Thanks again Arunoda!\n this.unblock()\n # subscribe undefined com",
"end": 2113,
"score": 0.9991686940193176,
"start": 2106,
"tag": "NAME",
"value": "Arunoda"
}
] | imports/drivers/meteor-any-db/pub.coffee | Sraime/DynamicStrati | 0 | {DB_KEY} = AnyDb # Spoofing a Mongo collection name to hack around DDP
debug = (->)
if Meteor.settings.public?.log?.pub
debug = console.log.bind(console, 'pub')
# flatten a deep object into fields separated with '.'
obj2Fields = (obj={}) ->
dest = {}
for key, value of obj
if U.isPlainObject(value)
dee... | 192701 | {DB_KEY} = AnyDb # Spoofing a Mongo collection name to hack around DDP
debug = (->)
if Meteor.settings.public?.log?.pub
debug = console.log.bind(console, 'pub')
# flatten a deep object into fields separated with '.'
obj2Fields = (obj={}) ->
dest = {}
for key, value of obj
if U.isPlainObject(value)
dee... | true | {DB_KEY} = AnyDb # Spoofing a Mongo collection name to hack around DDP
debug = (->)
if Meteor.settings.public?.log?.pub
debug = console.log.bind(console, 'pub')
# flatten a deep object into fields separated with '.'
obj2Fields = (obj={}) ->
dest = {}
for key, value of obj
if U.isPlainObject(value)
dee... |
[
{
"context": ".given_name\n\t\treturn profile.given_name\n\n\treturn \"A Doe (Name unknown)\"\n\n################################",
"end": 881,
"score": 0.9990136623382568,
"start": 876,
"tag": "NAME",
"value": "A Doe"
}
] | client/_helper/user.coffee | agottschalk10/worklearn | 0 | ########################################
Template.registerHelper "profile", (owner_id=null) ->
if not owner_id
owner_id = Meteor.userId()
return get_profile(owner_id)
########################################
Template.registerHelper "profile_id", (owner_id) ->
filter =
owner_id: owner_id
profile = Profiles.... | 224492 | ########################################
Template.registerHelper "profile", (owner_id=null) ->
if not owner_id
owner_id = Meteor.userId()
return get_profile(owner_id)
########################################
Template.registerHelper "profile_id", (owner_id) ->
filter =
owner_id: owner_id
profile = Profiles.... | true | ########################################
Template.registerHelper "profile", (owner_id=null) ->
if not owner_id
owner_id = Meteor.userId()
return get_profile(owner_id)
########################################
Template.registerHelper "profile_id", (owner_id) ->
filter =
owner_id: owner_id
profile = Profiles.... |
[
{
"context": " 'pushNotification')\n APN.send({\n token: 'tokentoken'\n message: 'Some text'\n badge: 1\n ",
"end": 864,
"score": 0.5227998495101929,
"start": 854,
"tag": "KEY",
"value": "tokentoken"
},
{
"context": " 'pushNotification')\n APN.send({\n ... | test/unit/apn.coffee | ethanmick/fastchat-server | 7 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
APN = require '../../lib/model/apn'
sinon = require 'sinon'
describe 'APN', ->
it 'should exist', ->
should.exist APN
APN.should.be.an.object
it 'should have no opts by default', ->
APN.opts.production.should.be.no
should.not.e... | 5860 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
APN = require '../../lib/model/apn'
sinon = require 'sinon'
describe 'APN', ->
it 'should exist', ->
should.exist APN
APN.should.be.an.object
it 'should have no opts by default', ->
APN.opts.production.should.be.no
should.not.e... | true | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
APN = require '../../lib/model/apn'
sinon = require 'sinon'
describe 'APN', ->
it 'should exist', ->
should.exist APN
APN.should.be.an.object
it 'should have no opts by default', ->
APN.opts.production.should.be.no
should.not.e... |
[
{
"context": "CIRCLECI_TOKEN = 'YOUR_TOKEN_HERE'\nSHOW_BUILD_COUNT = 5\n\ncolors =\n stand",
"end": 25,
"score": 0.6483101844787598,
"start": 20,
"tag": "PASSWORD",
"value": "YOUR_"
},
{
"context": "CIRCLECI_TOKEN = 'YOUR_TOKEN_HERE'\nSHOW_BUILD_COUNT = 5\n\ncolors =\n standard... | circleci.widget/circleci.coffee | andremedeiros/circleci-widget | 4 | CIRCLECI_TOKEN = 'YOUR_TOKEN_HERE'
SHOW_BUILD_COUNT = 5
colors =
standard: '#525252'
queued : '#999999'
running : '#525252'
success : '#80b95b'
failed : '#ff1e7a'
fixed : '#80b95b'
command: "curl -sS -H 'Accept: application/json' 'https://circleci.com/api/v1/recent-builds?circle-token=#{ CIRCLECI_TO... | 161795 | CIRCLECI_TOKEN = '<PASSWORD>TOKEN<PASSWORD>_HERE'
SHOW_BUILD_COUNT = 5
colors =
standard: '#525252'
queued : '#999999'
running : '#525252'
success : '#80b95b'
failed : '#ff1e7a'
fixed : '#80b95b'
command: "curl -sS -H 'Accept: application/json' 'https://circleci.com/api/v1/recent-builds?circle-token... | true | CIRCLECI_TOKEN = 'PI:PASSWORD:<PASSWORD>END_PITOKENPI:PASSWORD:<PASSWORD>END_PI_HERE'
SHOW_BUILD_COUNT = 5
colors =
standard: '#525252'
queued : '#999999'
running : '#525252'
success : '#80b95b'
failed : '#ff1e7a'
fixed : '#80b95b'
command: "curl -sS -H 'Accept: application/json' 'https://circleci.c... |
[
{
"context": "ull\n @sut.register {uuid: 'howdy', token: 'sweet'}, (@error) => done()\n\n it 'should not have ",
"end": 14886,
"score": 0.4317406713962555,
"start": 14881,
"tag": "KEY",
"value": "sweet"
},
{
"context": "rror('oh snap'), null\n @sut.resetToken 'the-... | node_modules/endo-core/node_modules/meshblu-http/test/meshblu-http-spec.coffee | ratokeshi/endo-google-cloud-platform | 0 | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
MeshbluHttp = require '../src/meshblu-http'
describe 'MeshbluHttp', ->
describe '->constructor', ->
describe 'when constructed with !resolveSrv and a domain', ->
it 'should throw an exception', ->
construction = ... | 9716 | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
MeshbluHttp = require '../src/meshblu-http'
describe 'MeshbluHttp', ->
describe '->constructor', ->
describe 'when constructed with !resolveSrv and a domain', ->
it 'should throw an exception', ->
construction = ... | true | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
MeshbluHttp = require '../src/meshblu-http'
describe 'MeshbluHttp', ->
describe '->constructor', ->
describe 'when constructed with !resolveSrv and a domain', ->
it 'should throw an exception', ->
construction = ... |
[
{
"context": " signUp: \"Register\"\n OR: \"OR\"\n forgotPassword: \"Forgot your password?\"\n emailAddress: \"Email Address\"\n emailResetLin",
"end": 138,
"score": 0.9222372174263,
"start": 118,
"tag": "PASSWORD",
"value": "Forgot your password"
},
{
"context": "t: \"Don't have... | client/t9n/english.coffee | NitroLabs/accounts-entry | 0 | en =
signIn: "Sign In"
signin: "sign in"
signOut: "Sign Out"
signUp: "Register"
OR: "OR"
forgotPassword: "Forgot your password?"
emailAddress: "Email Address"
emailResetLink: "Email Reset Link"
dontHaveAnAccount: "Don't have an account?"
resetYourPassword: "Reset your password"
updateYourPassword:... | 167875 | en =
signIn: "Sign In"
signin: "sign in"
signOut: "Sign Out"
signUp: "Register"
OR: "OR"
forgotPassword: "<PASSWORD>?"
emailAddress: "Email Address"
emailResetLink: "Email Reset Link"
dontHaveAnAccount: "Don't have an account?"
resetYourPassword: "<PASSWORD>"
updateYourPassword: "<PASSWORD>"
pas... | true | en =
signIn: "Sign In"
signin: "sign in"
signOut: "Sign Out"
signUp: "Register"
OR: "OR"
forgotPassword: "PI:PASSWORD:<PASSWORD>END_PI?"
emailAddress: "Email Address"
emailResetLink: "Email Reset Link"
dontHaveAnAccount: "Don't have an account?"
resetYourPassword: "PI:PASSWORD:<PASSWORD>END_PI"
up... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesรบs Espino ",
"end": 38,
"score": 0.9998905062675476,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/resources/sprints.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesรบs Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragรกn Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 27370 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.9998849034309387,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/r... | src/Coffixi/renderers/webgl/WebGLBatch.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/WebGLBatch', [
'Coffixi/display/Sprite'
'Coffixi/renderers/webgl/GLESShaders'
'Coffixi/utils/Utils'
'Coffixi/core/RenderTypes'
], (
Sprite
GLESShaders
Utils
RenderTypes
) ->
###*
A WebGLBatch Enables a gro... | 204965 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/WebGLBatch', [
'Coffixi/display/Sprite'
'Coffixi/renderers/webgl/GLESShaders'
'Coffixi/utils/Utils'
'Coffixi/core/RenderTypes'
], (
Sprite
GLESShaders
Utils
RenderTypes
) ->
###*
A WebGLBatch Enables a group o... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/WebGLBatch', [
'Coffixi/display/Sprite'
'Coffixi/renderers/webgl/GLESShaders'
'Coffixi/utils/Utils'
'Coffixi/core/RenderTypes'
], (
Sprite
GLESShaders
Utils
RenderTypes
) ->
###*
A WebGLBatch Ena... |
[
{
"context": "###\n@authors\nJulian Popescu - https://github.com/jpopesculian\nRick Huizinga -",
"end": 27,
"score": 0.9998859167098999,
"start": 13,
"tag": "NAME",
"value": "Julian Popescu"
},
{
"context": "###\n@authors\nJulian Popescu - https://github.com/jpopesculian\nRick Huizin... | bower_components/angular-google-maps/src/coffee/directives/circle.coffee | Vater/colaiuta | 2 | ###
@authors
Julian Popescu - https://github.com/jpopesculian
Rick Huizinga - https://plus.google.com/+RickHuizinga
###
angular.module("google-maps".ns()).directive "Circle".ns(), [
"Circle".ns(), (Circle) -> Circle
]
| 152331 | ###
@authors
<NAME> - https://github.com/jpopesculian
<NAME> - https://plus.google.com/+RickHuizinga
###
angular.module("google-maps".ns()).directive "Circle".ns(), [
"Circle".ns(), (Circle) -> Circle
]
| true | ###
@authors
PI:NAME:<NAME>END_PI - https://github.com/jpopesculian
PI:NAME:<NAME>END_PI - https://plus.google.com/+RickHuizinga
###
angular.module("google-maps".ns()).directive "Circle".ns(), [
"Circle".ns(), (Circle) -> Circle
]
|
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.998284637928009,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-utimes.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... | 181519 | # 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": "###!\nCopyright (c) 2002-2015 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 44,
"score": 0.5517568588256836,
"start": 34,
"tag": "NAME",
"value": "Technology"
}
] | src/components/D3Visualization/lib/visualization/renders/menu.coffee | yezonggang/zcfx-admin-master | 24 | ###!
Copyright (c) 2002-2015 "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 ... | 129221 | ###!
Copyright (c) 2002-2015 "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 t... | true | ###!
Copyright (c) 2002-2015 "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 ... |
[
{
"context": "# Description\n# Hubot implementation of Michael Enger's d20.js - https://github.com/michaelenger/d20.js",
"end": 55,
"score": 0.7254840731620789,
"start": 42,
"tag": "NAME",
"value": "Michael Enger"
},
{
"context": "on of Michael Enger's d20.js - https://github.com/m... | src/hubot-d20.coffee | MFazio23/hubot-d20 | 1 | # Description
# Hubot implementation of Michael Enger's d20.js - https://github.com/michaelenger/d20.js
#
# Configuration:
# HUBOT_D20_ERROR_MESSAGE - Allows for a custom error message when invalid requests are made.
#
# Commands:
# hubot roll <number>d<sides> - Rolls a <number> of <sides>-sided "dice" and return... | 51964 | # Description
# Hubot implementation of <NAME>'s d20.js - https://github.com/michaelenger/d20.js
#
# Configuration:
# HUBOT_D20_ERROR_MESSAGE - Allows for a custom error message when invalid requests are made.
#
# Commands:
# hubot roll <number>d<sides> - Rolls a <number> of <sides>-sided "dice" and returns the t... | true | # Description
# Hubot implementation of PI:NAME:<NAME>END_PI's d20.js - https://github.com/michaelenger/d20.js
#
# Configuration:
# HUBOT_D20_ERROR_MESSAGE - Allows for a custom error message when invalid requests are made.
#
# Commands:
# hubot roll <number>d<sides> - Rolls a <number> of <sides>-sided "dice" and... |
[
{
"context": "###\n backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n Lice",
"end": 58,
"score": 0.9979199171066284,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/queue.coffee | michaelBenin/backbone-orm | 1 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
module.exports = class Queue
constructor: (@parallelism) ->
@parallelism or= Inf... | 56605 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
module.exports = class Queue
constructor: (@parallelism) ->
@parallelism or= Infin... | true | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
module.exports = class Queue
constructor: (@parallelism) ->
@paralle... |
[
{
"context": "---------------------------------\n# Copyright 2013 I.B.M.\n# \n# Licensed under the Apache License, Version 2",
"end": 1372,
"score": 0.9998756051063538,
"start": 1367,
"tag": "NAME",
"value": "I.B.M"
}
] | lib-src/coffee/node/profiler.coffee | pmuellr/nodprof | 6 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
_ = require "underscore"
nodprof = require "../.."
utils = require "../common/utils"
logger = require "../common/logger"
Services = require("./services").Services
#----------------------------------------... | 217609 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
_ = require "underscore"
nodprof = require "../.."
utils = require "../common/utils"
logger = require "../common/logger"
Services = require("./services").Services
#----------------------------------------... | true | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
_ = require "underscore"
nodprof = require "../.."
utils = require "../common/utils"
logger = require "../common/logger"
Services = require("./services").Services
#----------------------------------------... |
[
{
"context": "ushToken.token\n if token is \"2e8da18650ffb952823a6690c6257a877d5b6338932b77fbe7031435e4404a60\"\n return\n ",
"end": 17128,
"score": 0.9977869391441345,
"start": 17064,
"tag": "KEY",
"value": "2e8da18650ffb952823a669... | hotShareWeb/lib/3_pushnotification_trigger.coffee | fay1986/mobile_app_server | 0 | if Meteor.isServer
Fiber = Meteor.npmRequire('fibers')
Meteor.startup ()->
@JPush = Meteor.npmRequire "jpush-sdk"
@client = @JPush.buildClient 'c84d336dc527ce926b44a815', '497c9e7d894cfd1db3a13ade'
URL = Meteor.npmRequire('url')
http = Meteor.npmRequire('http')
Fiber = Meteor.npmRequire('fibers')
`... | 17060 | if Meteor.isServer
Fiber = Meteor.npmRequire('fibers')
Meteor.startup ()->
@JPush = Meteor.npmRequire "jpush-sdk"
@client = @JPush.buildClient 'c84d336dc527ce926b44a815', '497c9e7d894cfd1db3a13ade'
URL = Meteor.npmRequire('url')
http = Meteor.npmRequire('http')
Fiber = Meteor.npmRequire('fibers')
`... | true | if Meteor.isServer
Fiber = Meteor.npmRequire('fibers')
Meteor.startup ()->
@JPush = Meteor.npmRequire "jpush-sdk"
@client = @JPush.buildClient 'c84d336dc527ce926b44a815', '497c9e7d894cfd1db3a13ade'
URL = Meteor.npmRequire('url')
http = Meteor.npmRequire('http')
Fiber = Meteor.npmRequire('fibers')
`... |
[
{
"context": " credits.push\n name: 'KineticJS'\n authors: 'Eric Rowell, Anton Lavrenov'\n license: 'MIT'\n licenseTe",
"end": 94,
"score": 0.9998642206192017,
"start": 83,
"tag": "NAME",
"value": "Eric Rowell"
},
{
"context": "h\n name: 'KineticJS'\n authors: 'Eric... | src/coffee/credits.coffee | leMaik/graphalizer | 0 | makeCredits = ->
credits = []
credits.push
name: 'KineticJS'
authors: 'Eric Rowell, Anton Lavrenov'
license: 'MIT'
licenseText: """
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 Softwa... | 63465 | makeCredits = ->
credits = []
credits.push
name: 'KineticJS'
authors: '<NAME>, <NAME>'
license: 'MIT'
licenseText: """
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 re... | true | makeCredits = ->
credits = []
credits.push
name: 'KineticJS'
authors: 'PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI'
license: 'MIT'
licenseText: """
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to dea... |
[
{
"context": "\n \n genid = (len = 16, prefix = \"\", keyspace = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\") ->\n prefix += keyspace.charAt(Math.floor(Mat",
"end": 919,
"score": 0.9997138977050781,
"start": 857,
"tag": "KEY",
"value": "ABCDEFGHIJKLMNOPQRSTUVWXYZa... | assets/js/panes/previewer.coffee | bhargav1709/plunker_www | 210 | #= require qrcodejs/qrcode
#= require ./../services/panes
#= require ./../services/url
#= require ./../services/settings
#= require ./../services/session
#= require ./../services/notifier
#= require ./../services/annotations
module = angular.module("plunker.panes")
module.requires.push "plunker.url"
module.requires... | 89353 | #= require qrcodejs/qrcode
#= require ./../services/panes
#= require ./../services/url
#= require ./../services/settings
#= require ./../services/session
#= require ./../services/notifier
#= require ./../services/annotations
module = angular.module("plunker.panes")
module.requires.push "plunker.url"
module.requires... | true | #= require qrcodejs/qrcode
#= require ./../services/panes
#= require ./../services/url
#= require ./../services/settings
#= require ./../services/session
#= require ./../services/notifier
#= require ./../services/annotations
module = angular.module("plunker.panes")
module.requires.push "plunker.url"
module.requires... |
[
{
"context": "id-custom\\:(.+)$/i\n\n\nIM_VENDORS = [\n 'skype', 'skype-username', 'aim', 'msn', 'yahoo', 'qq',\n 'google-talk',",
"end": 1275,
"score": 0.8032408356666565,
"start": 1261,
"tag": "USERNAME",
"value": "skype-username"
},
{
"context": "ndroidItem = (type, key, val... | src/index.coffee | nono/cozy-vcard | 26 | # Small module to generate vcard file from JS Objects or to parse vcard file
# to obtain explicit JS Objects.
#
# This lib aims to handle parsing of vCards coming from Google Contacts (vCard
# 3.0), Android (vCard 2.1).
if module?.exports # NodeJS
utf8 = require 'utf8'
quotedPrintable = require 'quoted-printab... | 215102 | # Small module to generate vcard file from JS Objects or to parse vcard file
# to obtain explicit JS Objects.
#
# This lib aims to handle parsing of vCards coming from Google Contacts (vCard
# 3.0), Android (vCard 2.1).
if module?.exports # NodeJS
utf8 = require 'utf8'
quotedPrintable = require 'quoted-printab... | true | # Small module to generate vcard file from JS Objects or to parse vcard file
# to obtain explicit JS Objects.
#
# This lib aims to handle parsing of vCards coming from Google Contacts (vCard
# 3.0), Android (vCard 2.1).
if module?.exports # NodeJS
utf8 = require 'utf8'
quotedPrintable = require 'quoted-printab... |
[
{
"context": "opedia.github.io/nodame\".gray)\n echo()\n echo('Hi Nobita! Doraemon is serving you!'.green.bold)\n echo()\n ",
"end": 2525,
"score": 0.6610487699508667,
"start": 2519,
"tag": "NAME",
"value": "Nobita"
},
{
"context": "ithub.io/nodame\".gray)\n echo()\n echo('Hi No... | src/www.coffee | tokopedia/nodame | 2 | # global variable
lib = "#{__dirname}/../lib"
`var Nodame = require(lib + '/core')
sprintf = require('sprintf-js').sprintf
vsprintf = require('sprintf-js').vsprintf
nodame = new Nodame()
validate = require(lib + '/validate')`
# load modules
app = require("#{lib}/app")
debug_name = nodame.config('ap... | 23242 | # global variable
lib = "#{__dirname}/../lib"
`var Nodame = require(lib + '/core')
sprintf = require('sprintf-js').sprintf
vsprintf = require('sprintf-js').vsprintf
nodame = new Nodame()
validate = require(lib + '/validate')`
# load modules
app = require("#{lib}/app")
debug_name = nodame.config('ap... | true | # global variable
lib = "#{__dirname}/../lib"
`var Nodame = require(lib + '/core')
sprintf = require('sprintf-js').sprintf
vsprintf = require('sprintf-js').vsprintf
nodame = new Nodame()
validate = require(lib + '/validate')`
# load modules
app = require("#{lib}/app")
debug_name = nodame.config('ap... |
[
{
"context": "orts = app = express()\n\napp.config =\n appToken: 'fa53d5a0-bfb9-11e3-9a30-337b04324e79'\n apiHost: 'http://localhost:7001'\n\napp.fakeServ",
"end": 156,
"score": 0.986153244972229,
"start": 120,
"tag": "PASSWORD",
"value": "fa53d5a0-bfb9-11e3-9a30-337b04324e79"
},
{
... | test/app.coffee | jianliaoim/talk-node-sdk | 4 | express = require 'express'
{json} = require 'body-parser'
module.exports = app = express()
app.config =
appToken: 'fa53d5a0-bfb9-11e3-9a30-337b04324e79'
apiHost: 'http://localhost:7001'
app.fakeServer = ->
auth = (req, res, next) ->
return next() if req.headers?.authorization
next new Error('not login... | 134330 | express = require 'express'
{json} = require 'body-parser'
module.exports = app = express()
app.config =
appToken: '<PASSWORD>'
apiHost: 'http://localhost:7001'
app.fakeServer = ->
auth = (req, res, next) ->
return next() if req.headers?.authorization
next new Error('not login')
app.listen 7001
a... | true | express = require 'express'
{json} = require 'body-parser'
module.exports = app = express()
app.config =
appToken: 'PI:PASSWORD:<PASSWORD>END_PI'
apiHost: 'http://localhost:7001'
app.fakeServer = ->
auth = (req, res, next) ->
return next() if req.headers?.authorization
next new Error('not login')
ap... |
[
{
"context": "lass\r\n render: ->\r\n data = [\r\n ['ใๅฐฑ่ฏไบบ', '็ๅคง้ค']\r\n ['้ข็บฆๅปๅธ', 'ๅถๅปบๅ๏ผไธปไปปๅปๅธ - ไฝๆฃ็ง๏ผ']\r\n ['ๅฐฑ่ฏๆถ",
"end": 5156,
"score": 0.9988768100738525,
"start": 5153,
"tag": "NAME",
"value": "็ๅคง้ค"
},
{
"context": "lass\r\n render: ->\r\n data = [\r\n ['ใๅฐฑ... | src/base/coffee/guahao.coffee | ben7th/zdmockup | 0 | @GHSelectPage = React.createClass
render: ->
<div className='gh-page'>
<div className='ui container'>
<h2 className='ui header topbar'>
<TopbarBack href='index.html' />
<span>ๅฏผ่ฏ</span>
</h2>
<div className='select'>
<div className="ui cards th... | 220995 | @GHSelectPage = React.createClass
render: ->
<div className='gh-page'>
<div className='ui container'>
<h2 className='ui header topbar'>
<TopbarBack href='index.html' />
<span>ๅฏผ่ฏ</span>
</h2>
<div className='select'>
<div className="ui cards th... | true | @GHSelectPage = React.createClass
render: ->
<div className='gh-page'>
<div className='ui container'>
<h2 className='ui header topbar'>
<TopbarBack href='index.html' />
<span>ๅฏผ่ฏ</span>
</h2>
<div className='select'>
<div className="ui cards th... |
[
{
"context": "er for Zen Photon Garden.\n#\n# Copyright (c) 2013 Micah Elizabeth Scott <micah@scanlime.org>\n#\n# Permission is hereby g",
"end": 739,
"score": 0.9998492002487183,
"start": 718,
"tag": "NAME",
"value": "Micah Elizabeth Scott"
},
{
"context": ".\n#\n# Copyright (... | example /hqz/cluster-encode.coffee | amane312/photon_generator | 0 | #!/usr/bin/env coffee
#
# Encode video on the EC2 cluster. Since we're encoding individual
# frames from S3, the bottleneck is network rather than CPU. Here
# we spin up a small EC2 spot instance just to do the encode. It will
# power off when done. Logs and final video are both uploaded to
# public files on ... | 22793 | #!/usr/bin/env coffee
#
# Encode video on the EC2 cluster. Since we're encoding individual
# frames from S3, the bottleneck is network rather than CPU. Here
# we spin up a small EC2 spot instance just to do the encode. It will
# power off when done. Logs and final video are both uploaded to
# public files on ... | true | #!/usr/bin/env coffee
#
# Encode video on the EC2 cluster. Since we're encoding individual
# frames from S3, the bottleneck is network rather than CPU. Here
# we spin up a small EC2 spot instance just to do the encode. It will
# power off when done. Logs and final video are both uploaded to
# public files on ... |
[
{
"context": "eloper account.\n# IT LOOKS LIKE THIS: 2cce4b1c672a119283665a74e987fcde (this one's fake)\n\n# I'M NOT SURE IF THIS IS ACTU",
"end": 173,
"score": 0.9743291139602661,
"start": 141,
"tag": "KEY",
"value": "2cce4b1c672a119283665a74e987fcde"
},
{
"context": "OR... | date-weather.coffee | blahsd/supernerd.widget | 96 | apiKey: "[API KEY]"
# [API KEY] : Get it for free at forecast.io. You'll need a (free) developer account.
# IT LOOKS LIKE THIS: 2cce4b1c672a119283665a74e987fcde (this one's fake)
# I'M NOT SURE IF THIS IS ACTUALLY WORKING. PLEASE LET ME KNOW IF IT SHOWS THE
# THE CORRECT WEATHER FOR YOUR LOCATION.
# Powe... | 168644 | apiKey: "[API KEY]"
# [API KEY] : Get it for free at forecast.io. You'll need a (free) developer account.
# IT LOOKS LIKE THIS: <KEY> (this one's fake)
# I'M NOT SURE IF THIS IS ACTUALLY WORKING. PLEASE LET ME KNOW IF IT SHOWS THE
# THE CORRECT WEATHER FOR YOUR LOCATION.
# Powered by: DARKSKY https://d... | true | apiKey: "[API KEY]"
# [API KEY] : Get it for free at forecast.io. You'll need a (free) developer account.
# IT LOOKS LIKE THIS: PI:KEY:<KEY>END_PI (this one's fake)
# I'M NOT SURE IF THIS IS ACTUALLY WORKING. PLEASE LET ME KNOW IF IT SHOWS THE
# THE CORRECT WEATHER FOR YOUR LOCATION.
# Powered by: DARKSK... |
[
{
"context": "d.equal true\n @client.rtm._token.should.equal 'xoxb-faketoken'\n\n it 'Should initialize with a Web client', ->\n",
"end": 446,
"score": 0.8992513418197632,
"start": 432,
"tag": "KEY",
"value": "xoxb-faketoken"
},
{
"context": "d.equal true\n @client.web._token.... | test/client.coffee | github/hubot-slack | 23 | {RtmClient, WebClient, MemoryDataStore} = require '@slack/client'
SlackFormatter = require '../src/formatter'
SlackClient = require '../src/client'
should = require 'should'
_ = require 'lodash'
# Make sure we think we're primary
process.env.HUBOT_IS_PRIMARY = 'true'
describe 'Init', ->
it 'Should initialize with a... | 48878 | {RtmClient, WebClient, MemoryDataStore} = require '@slack/client'
SlackFormatter = require '../src/formatter'
SlackClient = require '../src/client'
should = require 'should'
_ = require 'lodash'
# Make sure we think we're primary
process.env.HUBOT_IS_PRIMARY = 'true'
describe 'Init', ->
it 'Should initialize with a... | true | {RtmClient, WebClient, MemoryDataStore} = require '@slack/client'
SlackFormatter = require '../src/formatter'
SlackClient = require '../src/client'
should = require 'should'
_ = require 'lodash'
# Make sure we think we're primary
process.env.HUBOT_IS_PRIMARY = 'true'
describe 'Init', ->
it 'Should initialize with a... |
[
{
"context": "escryer.com/grunt-pagespeed\n#\n# Copyright (c) 2013 James Cryer\n# http://www.jamescryer.com\n# Licensed under the ",
"end": 98,
"score": 0.9998651742935181,
"start": 87,
"tag": "NAME",
"value": "James Cryer"
}
] | tasks/pagespeed.coffee | paulradzkov/grunt-pagespeed | 0 | #
# grunt-pagespeed
# http://www.jamescryer.com/grunt-pagespeed
#
# Copyright (c) 2013 James Cryer
# http://www.jamescryer.com
# Licensed under the MIT license.
#
'use strict'
module.exports = (grunt) ->
config = require('./lib/config').init grunt
psi = require('psi')
grunt.registerMultiTask 'pagespeed', 'R... | 143646 | #
# grunt-pagespeed
# http://www.jamescryer.com/grunt-pagespeed
#
# Copyright (c) 2013 <NAME>
# http://www.jamescryer.com
# Licensed under the MIT license.
#
'use strict'
module.exports = (grunt) ->
config = require('./lib/config').init grunt
psi = require('psi')
grunt.registerMultiTask 'pagespeed', 'Run Pa... | true | #
# grunt-pagespeed
# http://www.jamescryer.com/grunt-pagespeed
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
# http://www.jamescryer.com
# Licensed under the MIT license.
#
'use strict'
module.exports = (grunt) ->
config = require('./lib/config').init grunt
psi = require('psi')
grunt.registerMultiTask 'pages... |
[
{
"context": "key: 'front-matter'\npatterns: [\n {\n begin: '\\\\A---$'\n beginCa",
"end": 18,
"score": 0.9608561992645264,
"start": 6,
"tag": "KEY",
"value": "front-matter"
}
] | grammars/repositories/flavors/front-matter.cson | doc22940/language-markdown | 138 | key: 'front-matter'
patterns: [
{
begin: '\\A---$'
beginCaptures:
0: name: 'hr.constant.md'
end: '^(---|\\.\\.\\.)$'
endCaptures:
1: name: 'hr.constant.md'
name: 'front-matter.yaml.source.md'
patterns: [{ include: 'source.yaml' }]
}
{
begin: '\\A\\+\\+\\+$'
beginCapture... | 51408 | key: '<KEY>'
patterns: [
{
begin: '\\A---$'
beginCaptures:
0: name: 'hr.constant.md'
end: '^(---|\\.\\.\\.)$'
endCaptures:
1: name: 'hr.constant.md'
name: 'front-matter.yaml.source.md'
patterns: [{ include: 'source.yaml' }]
}
{
begin: '\\A\\+\\+\\+$'
beginCaptures:
... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
{
begin: '\\A---$'
beginCaptures:
0: name: 'hr.constant.md'
end: '^(---|\\.\\.\\.)$'
endCaptures:
1: name: 'hr.constant.md'
name: 'front-matter.yaml.source.md'
patterns: [{ include: 'source.yaml' }]
}
{
begin: '\\A\\+\\+\\+$'
beginC... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9987790584564209,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "et.remoteAddress isnt `undefined`\n if host is \"127.0.0.1\"\n assert.equal socket.rem... | test/disabled/test-net-tls-pummel.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... | 179618 | # 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": ",\n email: scope.email\n password: scope.password\n .then (response) ->\n scope.auth.",
"end": 392,
"score": 0.9895138144493103,
"start": 378,
"tag": "PASSWORD",
"value": "scope.password"
},
{
"context": ",\n email: scope.email... | generators/login/templates/login.coffee | ndxbxrme/generator-ndx | 0 | 'use strict'
angular.module '<%= settings.appName %>'
.directive 'login', ($http, $location) ->
restrict: 'AE'
templateUrl: '<%= templateDir %>/login.html'
replace: true
scope: {}
link: (scope, elem) ->
scope.login = ->
scope.submitted = true
if scope.loginForm.$valid
$http.post '/api... | 220383 | 'use strict'
angular.module '<%= settings.appName %>'
.directive 'login', ($http, $location) ->
restrict: 'AE'
templateUrl: '<%= templateDir %>/login.html'
replace: true
scope: {}
link: (scope, elem) ->
scope.login = ->
scope.submitted = true
if scope.loginForm.$valid
$http.post '/api... | true | 'use strict'
angular.module '<%= settings.appName %>'
.directive 'login', ($http, $location) ->
restrict: 'AE'
templateUrl: '<%= templateDir %>/login.html'
replace: true
scope: {}
link: (scope, elem) ->
scope.login = ->
scope.submitted = true
if scope.loginForm.$valid
$http.post '/api... |
[
{
"context": "\nnikita = require '@nikitajs/core/lib'\n{tags, config, ipa} = require '../test'",
"end": 28,
"score": 0.7817306518554688,
"start": 26,
"tag": "USERNAME",
"value": "js"
},
{
"context": "a.user.exists connection: ipa,\n username: 'user_exists'\n\n describe 'actio... | packages/ipa/test/user/exists.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
nikita = require '@nikitajs/core/lib'
{tags, config, ipa} = require '../test'
they = require('mocha-they')(config)
return unless tags.ipa
describe 'ipa.user.exists', ->
describe 'schema', ->
they 'use `username` as alias for `uid`', ({ssh}) ->
nikita
$ssh: ssh
.ipa.user.exists connection:... | 173039 |
nikita = require '@nikitajs/core/lib'
{tags, config, ipa} = require '../test'
they = require('mocha-they')(config)
return unless tags.ipa
describe 'ipa.user.exists', ->
describe 'schema', ->
they 'use `username` as alias for `uid`', ({ssh}) ->
nikita
$ssh: ssh
.ipa.user.exists connection:... | true |
nikita = require '@nikitajs/core/lib'
{tags, config, ipa} = require '../test'
they = require('mocha-they')(config)
return unless tags.ipa
describe 'ipa.user.exists', ->
describe 'schema', ->
they 'use `username` as alias for `uid`', ({ssh}) ->
nikita
$ssh: ssh
.ipa.user.exists connection:... |
[
{
"context": "TestContainer(view)\n\n user = Factory.user(name: 'Nard Man')\n view.setSelectedUser(user)\n\n assert.strictEq",
"end": 750,
"score": 0.9998664855957031,
"start": 742,
"tag": "NAME",
"value": "Nard Man"
}
] | client/test/src/views/choose_user_view.coffee | unepwcmc/NRT | 0 | suite('Choose User View')
test('.setSelectedUser sets the selected user attribute and hides the results
view', ->
view = new Backbone.Views.ChooseUserView()
Helpers.renderViewToTestContainer(view)
user = Factory.user()
view.setSelectedUser(user)
assert.property view, 'selectedUser'
assert.strictEqual ... | 8333 | suite('Choose User View')
test('.setSelectedUser sets the selected user attribute and hides the results
view', ->
view = new Backbone.Views.ChooseUserView()
Helpers.renderViewToTestContainer(view)
user = Factory.user()
view.setSelectedUser(user)
assert.property view, 'selectedUser'
assert.strictEqual ... | true | suite('Choose User View')
test('.setSelectedUser sets the selected user attribute and hides the results
view', ->
view = new Backbone.Views.ChooseUserView()
Helpers.renderViewToTestContainer(view)
user = Factory.user()
view.setSelectedUser(user)
assert.property view, 'selectedUser'
assert.strictEqual ... |
[
{
"context": "e is undefined in model', ->\n model = { name: 'jonas' }\n @render 'div[id=foo]', model\n expect(@b",
"end": 205,
"score": 0.9978818893432617,
"start": 200,
"tag": "NAME",
"value": "jonas"
},
{
"context": "tributes from the model', ->\n model = { name: 'jona... | test/integration/bound.spec.coffee | varvet/serenade.js | 5 | require './../spec_helper'
describe 'Bound attributes and text nodes', ->
beforeEach ->
@setupDom()
it 'does not add bound attribute if value is undefined in model', ->
model = { name: 'jonas' }
@render 'div[id=foo]', model
expect(@body.querySelector('div')).not.to.have.attribute('id')
it 'get ... | 165050 | require './../spec_helper'
describe 'Bound attributes and text nodes', ->
beforeEach ->
@setupDom()
it 'does not add bound attribute if value is undefined in model', ->
model = { name: '<NAME>' }
@render 'div[id=foo]', model
expect(@body.querySelector('div')).not.to.have.attribute('id')
it 'get... | true | require './../spec_helper'
describe 'Bound attributes and text nodes', ->
beforeEach ->
@setupDom()
it 'does not add bound attribute if value is undefined in model', ->
model = { name: 'PI:NAME:<NAME>END_PI' }
@render 'div[id=foo]', model
expect(@body.querySelector('div')).not.to.have.attribute('i... |
[
{
"context": "lass Postify\n\n defaults: {\n csrfToken: \"csrf_token\"\n }\n\n constructor: (el, options) ->\n ",
"end": 101,
"score": 0.9335784316062927,
"start": 91,
"tag": "PASSWORD",
"value": "csrf_token"
}
] | spirit/core/static/spirit/scripts/src/postify.coffee | Ke-xueting/Spirit | 974 | ###
Make post on anchor click
###
class Postify
defaults: {
csrfToken: "csrf_token"
}
constructor: (el, options) ->
@el = el
@options = Object.assign({}, @defaults, options)
@setUp()
setUp: ->
@el.addEventListener('click', @makePost)
makePost: (e) =>... | 82639 | ###
Make post on anchor click
###
class Postify
defaults: {
csrfToken: "<PASSWORD>"
}
constructor: (el, options) ->
@el = el
@options = Object.assign({}, @defaults, options)
@setUp()
setUp: ->
@el.addEventListener('click', @makePost)
makePost: (e) =>... | true | ###
Make post on anchor click
###
class Postify
defaults: {
csrfToken: "PI:PASSWORD:<PASSWORD>END_PI"
}
constructor: (el, options) ->
@el = el
@options = Object.assign({}, @defaults, options)
@setUp()
setUp: ->
@el.addEventListener('click', @makePost)
... |
[
{
"context": " return null\n index = Number(key.match(/^[0-9]+/)[0])\n ts = Number(key.match(/[0-9]+$/)[0])\n",
"end": 360,
"score": 0.5190509557723999,
"start": 359,
"tag": "KEY",
"value": "9"
},
{
"context": " null\n\n buildKey: (index, item) ->\n \"#{index}-#{item.... | src/utils/ringbuffer.coffee | mdp/middlefiddle | 23 | class Ringbuffer
constructor: (@size)->
@items = []
@count = 0
add: (item) ->
index = @count % @size
@count++
item._timestamp = Number(new Date)
@items[index] = item
@buildKey(index, item)
all: () ->
@items
retrieve: (key) ->
if !key.match(/^[0-9]+\-[0-9]+$/)
return ... | 215859 | class Ringbuffer
constructor: (@size)->
@items = []
@count = 0
add: (item) ->
index = @count % @size
@count++
item._timestamp = Number(new Date)
@items[index] = item
@buildKey(index, item)
all: () ->
@items
retrieve: (key) ->
if !key.match(/^[0-9]+\-[0-9]+$/)
return ... | true | class Ringbuffer
constructor: (@size)->
@items = []
@count = 0
add: (item) ->
index = @count % @size
@count++
item._timestamp = Number(new Date)
@items[index] = item
@buildKey(index, item)
all: () ->
@items
retrieve: (key) ->
if !key.match(/^[0-9]+\-[0-9]+$/)
return ... |
[
{
"context": "able_name].join '/' if _.any @scope\n key = \"private-projects.#{project_id}\"\n @Pusher.$off key, \"#{path}/create\" , @creat",
"end": 5460,
"score": 0.9969208836555481,
"start": 5429,
"tag": "KEY",
"value": "private-projects.#{project_id}\""
}
] | app/assets/javascripts/monster/list.coffee | monsterboxpro/monster-javascripts | 0 | class window.List
scope: []
pull : false
popups : false
root : false
search : false
action : 'index'
collection_name: null
attrs: => {}
constructor:->
@collection = []
@table_name = @_controller unless @table_name
@_register()
if @popups is true
name = @co... | 220684 | class window.List
scope: []
pull : false
popups : false
root : false
search : false
action : 'index'
collection_name: null
attrs: => {}
constructor:->
@collection = []
@table_name = @_controller unless @table_name
@_register()
if @popups is true
name = @co... | true | class window.List
scope: []
pull : false
popups : false
root : false
search : false
action : 'index'
collection_name: null
attrs: => {}
constructor:->
@collection = []
@table_name = @_controller unless @table_name
@_register()
if @popups is true
name = @co... |
[
{
"context": " keywords: ['mac', 'ใใใฏ', 'mc']\n\n constructor: (@userName, @password) ->\n\n get: () ->\n d = q.defer()\n\n ",
"end": 301,
"score": 0.9926550388336182,
"start": 293,
"tag": "USERNAME",
"value": "userName"
},
{
"context": "solve(jar)\n return\n ).form\n ... | src/index.coffee | toshinarin/mcdelivery-jp-info | 0 | module.exports = class McDelivery
shopName = 'ใใใฏใใชใใชใผ'
q = require 'q'
cheerio = require 'cheerio'
request = require 'request'
jarCache = undefined
@shop:
shopName: shopName
url: 'https://mcdelivery.mcdonalds.com/jp/'
keywords: ['mac', 'ใใใฏ', 'mc']
constructor: (@userName, @password) ->
... | 196240 | module.exports = class McDelivery
shopName = 'ใใใฏใใชใใชใผ'
q = require 'q'
cheerio = require 'cheerio'
request = require 'request'
jarCache = undefined
@shop:
shopName: shopName
url: 'https://mcdelivery.mcdonalds.com/jp/'
keywords: ['mac', 'ใใใฏ', 'mc']
constructor: (@userName, @password) ->
... | true | module.exports = class McDelivery
shopName = 'ใใใฏใใชใใชใผ'
q = require 'q'
cheerio = require 'cheerio'
request = require 'request'
jarCache = undefined
@shop:
shopName: shopName
url: 'https://mcdelivery.mcdonalds.com/jp/'
keywords: ['mac', 'ใใใฏ', 'mc']
constructor: (@userName, @password) ->
... |
[
{
"context": "oday?'\n\n # 3. usage. this will display 'Hello Floyd! How are you feeling today?'\n test.helloMyNa",
"end": 11632,
"score": 0.9788751602172852,
"start": 11627,
"tag": "NAME",
"value": "Floyd"
},
{
"context": "are you feeling today?'\n test.helloMyNameIs ... | tools/objects.coffee | nero-networks/floyd | 0 | util = require 'util'
module.exports = objects =
##
##
##
promisify: (obj, target)->
if floyd.tools.objects.isFunction obj
return (args...)->
new Promise (resolve, reject)->
args.push (err, res...)->
return reject(err) if ... | 96263 | util = require 'util'
module.exports = objects =
##
##
##
promisify: (obj, target)->
if floyd.tools.objects.isFunction obj
return (args...)->
new Promise (resolve, reject)->
args.push (err, res...)->
return reject(err) if ... | true | util = require 'util'
module.exports = objects =
##
##
##
promisify: (obj, target)->
if floyd.tools.objects.isFunction obj
return (args...)->
new Promise (resolve, reject)->
args.push (err, res...)->
return reject(err) if ... |
[
{
"context": "rscore')\n\n\ndescribe 'TagsHandler', ->\n\tuser_id = \"user-id-123\"\n\ttag_id = \"tag-id-123\"\n\tproject_id = \"project-id",
"end": 301,
"score": 0.8371624946594238,
"start": 290,
"tag": "USERNAME",
"value": "user-id-123"
},
{
"context": "gsUrl}/user/#{user_id}/tag\"... | test/UnitTests/coffee/Tags/TagsHandlerTests.coffee | bowlofstew/web-sharelatex | 0 | SandboxedModule = require('sandboxed-module')
assert = require('chai').assert
require('chai').should()
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Tags/TagsHandler.js'
_ = require('underscore')
describe 'TagsHandler', ->
user_id = "user-id-123"
tag_id = "tag-id... | 174866 | SandboxedModule = require('sandboxed-module')
assert = require('chai').assert
require('chai').should()
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Tags/TagsHandler.js'
_ = require('underscore')
describe 'TagsHandler', ->
user_id = "user-id-123"
tag_id = "tag-id... | true | SandboxedModule = require('sandboxed-module')
assert = require('chai').assert
require('chai').should()
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Tags/TagsHandler.js'
_ = require('underscore')
describe 'TagsHandler', ->
user_id = "user-id-123"
tag_id = "tag-id... |
[
{
"context": "###################################\n# MINDAY 0.009 Lykia \n# sample-circle.coffee\n# ะัะธะผะตั ะฟัะธะผะตะฝะตะฝะธั ะบัั",
"end": 67,
"score": 0.6219232082366943,
"start": 64,
"tag": "NAME",
"value": "Lyk"
},
{
"context": "cco = adf \"ะััะณะพะฒะฐั ะดะธะฐะณัะฐะผะผะฐ\"\n\tcco.push co=add \"ะ ัะฝะพะบ ... | sample-pie.coffee | agershun/minday | 0 | ################################################
# MINDAY 0.009 Lykia
# sample-circle.coffee
# ะัะธะผะตั ะฟัะธะผะตะฝะตะฝะธั ะบััะณะพะฒะพะน ะดะธะฐะณัะฐะผะผั
################################################
sample.circle = ->
cco = adf "ะััะณะพะฒะฐั ะดะธะฐะณัะฐะผะผะฐ"
cco.push co=add "ะ ัะฝะพะบ ะฝะฐะฟะธัะบะพะฒ"
co.push add "ะะธะฒะพ",val:0.3
co.push add "ะะพะดะบะฐ",va... | 198375 | ################################################
# MINDAY 0.009 <NAME>ia
# sample-circle.coffee
# ะัะธะผะตั ะฟัะธะผะตะฝะตะฝะธั ะบััะณะพะฒะพะน ะดะธะฐะณัะฐะผะผั
################################################
sample.circle = ->
cco = adf "ะััะณะพะฒะฐั ะดะธะฐะณัะฐะผะผะฐ"
cco.push co=add "ะ <NAME>"
co.push add "ะะธะฒะพ",val:0.3
co.push add "ะะพะดะบะฐ",val:0.... | true | ################################################
# MINDAY 0.009 PI:NAME:<NAME>END_PIia
# sample-circle.coffee
# ะัะธะผะตั ะฟัะธะผะตะฝะตะฝะธั ะบััะณะพะฒะพะน ะดะธะฐะณัะฐะผะผั
################################################
sample.circle = ->
cco = adf "ะััะณะพะฒะฐั ะดะธะฐะณัะฐะผะผะฐ"
cco.push co=add "ะ PI:NAME:<NAME>END_PI"
co.push add "ะะธะฒะพ",val:0.3... |
[
{
"context": "020002cc'\n contributing_authors: [ {name: 'Kana', profile_id: 'user345'} ]\n sd: {CURRENT_PAT",
"end": 851,
"score": 0.9837717413902283,
"start": 847,
"tag": "NAME",
"value": "Kana"
},
{
"context": "ntributing_authors: [ {name: 'Kana', profile_id: 'user345'... | src/desktop/components/article_figure/test/templates.coffee | kanaabe/force | 1 | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
Article = require '../../../models/article'
fixtures = require '../../../test/helpers/fixtures'
render = (templateName) ->
filename = path.resolve __dirname, "../#{templateName}.jade"
jade.compile(
... | 160307 | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
Article = require '../../../models/article'
fixtures = require '../../../test/helpers/fixtures'
render = (templateName) ->
filename = path.resolve __dirname, "../#{templateName}.jade"
jade.compile(
... | true | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
Article = require '../../../models/article'
fixtures = require '../../../test/helpers/fixtures'
render = (templateName) ->
filename = path.resolve __dirname, "../#{templateName}.jade"
jade.compile(
... |
[
{
"context": "pture image data using RICOH THETA\n#\n# Author:\n# bouzuya <m@bouzuya.net>\n#\nTheta = require 'ricoh-theta'\nu",
"end": 233,
"score": 0.9997060298919678,
"start": 226,
"tag": "USERNAME",
"value": "bouzuya"
},
{
"context": "e data using RICOH THETA\n#\n# Author:\n# ... | src/scripts/theta.coffee | bouzuya/hubot-theta | 0 | # Description
# A Hubot script to capture image data using RICOH THETA
#
# Configuration:
# HUBOT_SLACK_CHANNEL_ID
# HUBOT_SLACK_TOKEN
#
# Commands:
# hubot theta - capture image data using RICOH THETA
#
# Author:
# bouzuya <m@bouzuya.net>
#
Theta = require 'ricoh-theta'
upload = require '../upload'
parseConf... | 23518 | # Description
# A Hubot script to capture image data using RICOH THETA
#
# Configuration:
# HUBOT_SLACK_CHANNEL_ID
# HUBOT_SLACK_TOKEN
#
# Commands:
# hubot theta - capture image data using RICOH THETA
#
# Author:
# bouzuya <<EMAIL>>
#
Theta = require 'ricoh-theta'
upload = require '../upload'
parseConfig = r... | true | # Description
# A Hubot script to capture image data using RICOH THETA
#
# Configuration:
# HUBOT_SLACK_CHANNEL_ID
# HUBOT_SLACK_TOKEN
#
# Commands:
# hubot theta - capture image data using RICOH THETA
#
# Author:
# bouzuya <PI:EMAIL:<EMAIL>END_PI>
#
Theta = require 'ricoh-theta'
upload = require '../upload'
... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.6301863193511963,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/EventEngine.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./EventPump'
'./ComponentSelector'
], (
dou
EventPump
ComponentSelector
) ->
"use... | 24095 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./EventPump'
'./ComponentSelector'
], (
dou
EventPump
ComponentSelector
) ->
"us... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./EventPump'
'./ComponentSelector'
], (
dou
EventPump
ComponentSelector
) -... |
[
{
"context": "bot is a rework of [KnechtBot](https://github.com/zekroTJA/regiusBot) project in NodeJS.\n\n ",
"end": 11970,
"score": 0.9964312314987183,
"start": 11962,
"tag": "USERNAME",
"value": "zekroTJA"
},
{
"context": "roject in NodeJS.\n\n ... | src/cmds.coffee | zekroTJA/KnechtBot2 | 5 | main = require "./main.js"
funcs = require "./funcs.coffee"
aload = require "after-load"
main = require "./main.js"
fs = require "fs"
# Getting bot instance from main script
bot = null
exports.setBot = (b) -> bot = b
###
<> -> Argument
(<>) -> optional argument
[] -> variable option
###
# Just a test ... | 78434 | main = require "./main.js"
funcs = require "./funcs.coffee"
aload = require "after-load"
main = require "./main.js"
fs = require "fs"
# Getting bot instance from main script
bot = null
exports.setBot = (b) -> bot = b
###
<> -> Argument
(<>) -> optional argument
[] -> variable option
###
# Just a test ... | true | main = require "./main.js"
funcs = require "./funcs.coffee"
aload = require "after-load"
main = require "./main.js"
fs = require "fs"
# Getting bot instance from main script
bot = null
exports.setBot = (b) -> bot = b
###
<> -> Argument
(<>) -> optional argument
[] -> variable option
###
# Just a test ... |
[
{
"context": "')\n\nbaseURL = 'http://test.teamworkpm.com'\nkey = 'asdf'\n\ndescribe 'Teamwork', ->\n\n beforeEach ->\n th",
"end": 320,
"score": 0.9989098310470581,
"start": 316,
"tag": "KEY",
"value": "asdf"
}
] | test/teamworkSpec.coffee | ready4god2513/hubot-teamwork | 1 | require 'mocha'
chai = require 'chai'
expect = chai.expect
Teamwork = require './../src/teamwork'
Mitm = require 'mitm'
http = require 'scoped-http-client' # Required by hubot
Robot = require 'hubot/src/robot'
robot = new Robot(null, 'mock-adapter', false, 'teamwork')
baseURL = 'http://test.teamworkpm.com'
key = 'asdf... | 196868 | require 'mocha'
chai = require 'chai'
expect = chai.expect
Teamwork = require './../src/teamwork'
Mitm = require 'mitm'
http = require 'scoped-http-client' # Required by hubot
Robot = require 'hubot/src/robot'
robot = new Robot(null, 'mock-adapter', false, 'teamwork')
baseURL = 'http://test.teamworkpm.com'
key = '<KEY... | true | require 'mocha'
chai = require 'chai'
expect = chai.expect
Teamwork = require './../src/teamwork'
Mitm = require 'mitm'
http = require 'scoped-http-client' # Required by hubot
Robot = require 'hubot/src/robot'
robot = new Robot(null, 'mock-adapter', false, 'teamwork')
baseURL = 'http://test.teamworkpm.com'
key = 'PI:K... |
[
{
"context": "ls/contact\").default\n\nevan = new Contact\n name: \"Evan Morikawa\"\n email: \"evan@nylas.com\"\nben = new Contact\n na",
"end": 206,
"score": 0.9998729825019836,
"start": 193,
"tag": "NAME",
"value": "Evan Morikawa"
},
{
"context": "n = new Contact\n name: \"Evan... | packages/client-app/spec/models/message-spec.coffee | cnheider/nylas-mail | 24,369 | Utils = require "../../src/flux/models/utils"
Message = require("../../src/flux/models/message").default
Contact = require("../../src/flux/models/contact").default
evan = new Contact
name: "Evan Morikawa"
email: "evan@nylas.com"
ben = new Contact
name: "Ben Gotow"
email: "ben@nylas.com"
team = new Contact
na... | 208550 | Utils = require "../../src/flux/models/utils"
Message = require("../../src/flux/models/message").default
Contact = require("../../src/flux/models/contact").default
evan = new Contact
name: "<NAME>"
email: "<EMAIL>"
ben = new Contact
name: "<NAME>"
email: "<EMAIL>"
team = new Contact
name: "Nylas Team"
emai... | true | Utils = require "../../src/flux/models/utils"
Message = require("../../src/flux/models/message").default
Contact = require("../../src/flux/models/contact").default
evan = new Contact
name: "PI:NAME:<NAME>END_PI"
email: "PI:EMAIL:<EMAIL>END_PI"
ben = new Contact
name: "PI:NAME:<NAME>END_PI"
email: "PI:EMAIL:<EM... |
[
{
"context": "t, 'db', (getCoeffect context, 'db')\n\n_pathKey = 're-frame-path/db-store'\n### Produces an interceptor which switches out d",
"end": 3852,
"score": 0.998113751411438,
"start": 3830,
"tag": "KEY",
"value": "re-frame-path/db-store"
}
] | src/re-frame.coffee | LeXofLeviafan/mreframe | 1 | {eq, keys, dict, entries, isArray, isDict, isFn, getIn, merge, assoc, assocIn, dissoc, update, repr, identity, chunks, flatten, chain} = require './util'
{deref, reset, swap} = require './atom'
{_init: _initReagent, atom: ratom, cursor} = require './reagent'
_eq_ = eq
exports._init = (opts) =>
_initReagent opts
_e... | 56556 | {eq, keys, dict, entries, isArray, isDict, isFn, getIn, merge, assoc, assocIn, dissoc, update, repr, identity, chunks, flatten, chain} = require './util'
{deref, reset, swap} = require './atom'
{_init: _initReagent, atom: ratom, cursor} = require './reagent'
_eq_ = eq
exports._init = (opts) =>
_initReagent opts
_e... | true | {eq, keys, dict, entries, isArray, isDict, isFn, getIn, merge, assoc, assocIn, dissoc, update, repr, identity, chunks, flatten, chain} = require './util'
{deref, reset, swap} = require './atom'
{_init: _initReagent, atom: ratom, cursor} = require './reagent'
_eq_ = eq
exports._init = (opts) =>
_initReagent opts
_e... |
[
{
"context": "bootstrap/4.1.3/css/bootstrap.min.css\" integrity=\"sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO\" crossorigin=\"anonymous\">'\n 'bootstrap-js':\n ",
"end": 977,
"score": 0.9995056390762329,
"start": 906,
"tag": "KEY",
"value": "sha384-MCw98/SFnGE... | atom/snippets.cson | rickh94/dotfiles | 0 | # Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#... | 142629 | # Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#... | true | # Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to console.log:
#... |
[
{
"context": "pire me - Returns a good message\n#\n#\n# Author:\n# Alisson Bruno <alissonbruno.sa@gmail.com>\n\n\npickOne = (body) ->",
"end": 213,
"score": 0.9998739957809448,
"start": 200,
"tag": "NAME",
"value": "Alisson Bruno"
},
{
"context": "s a good message\n#\n#\n# Author:\... | src/minutos-de-sabedoria.coffee | alissonbrunosa/minutos-de-sabedoria | 1 | # Description
# A simple bot that gives to you an inspirational message
#
#
# Commands:
# hubot teach me - Returns a good message
# hubot inspire me - Returns a good message
#
#
# Author:
# Alisson Bruno <alissonbruno.sa@gmail.com>
pickOne = (body) ->
messages = JSON.parse body
randomIndex = Math.round(... | 96079 | # Description
# A simple bot that gives to you an inspirational message
#
#
# Commands:
# hubot teach me - Returns a good message
# hubot inspire me - Returns a good message
#
#
# Author:
# <NAME> <<EMAIL>>
pickOne = (body) ->
messages = JSON.parse body
randomIndex = Math.round(Math.random() * (messages... | true | # Description
# A simple bot that gives to you an inspirational message
#
#
# Commands:
# hubot teach me - Returns a good message
# hubot inspire me - Returns a good message
#
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
pickOne = (body) ->
messages = JSON.parse body
randomIndex = Math.ro... |
[
{
"context": "de contained in\n# this module are based on work by Nicolas Rougier as part of the Glumpy and\n# Vispy projects. The a",
"end": 129,
"score": 0.9998785853385925,
"start": 114,
"tag": "NAME",
"value": "Nicolas Rougier"
}
] | bokehjs/src/coffee/models/glyphs/webgl/main.coffee | pyjsdev/googlemap_flask | 2 | # Copyright notice: many of the awesome techniques and GLSL code contained in
# this module are based on work by Nicolas Rougier as part of the Glumpy and
# Vispy projects. The algorithms are published in
# http://jcgt.org/published/0003/04/01/ and http://jcgt.org/published/0002/02/08/
#
# This module contains all gl-... | 10402 | # Copyright notice: many of the awesome techniques and GLSL code contained in
# this module are based on work by <NAME> as part of the Glumpy and
# Vispy projects. The algorithms are published in
# http://jcgt.org/published/0003/04/01/ and http://jcgt.org/published/0002/02/08/
#
# This module contains all gl-specific ... | true | # Copyright notice: many of the awesome techniques and GLSL code contained in
# this module are based on work by PI:NAME:<NAME>END_PI as part of the Glumpy and
# Vispy projects. The algorithms are published in
# http://jcgt.org/published/0003/04/01/ and http://jcgt.org/published/0002/02/08/
#
# This module contains al... |
[
{
"context": "= @site\n\t\t\n\t\t\n\t\t@match: (attr) ->\n\t\t\tattr.key is 'admin/'\n\t\t\n\t\n\t\n\tclass SettingsFile extends File\n\t\ticon:",
"end": 384,
"score": 0.9642603397369385,
"start": 379,
"tag": "KEY",
"value": "admin"
},
{
"context": "tor: (attr, opts) ->\n\t\t\tattr ?... | src/model/admin-files.coffee | roobin/StaticSite | 1 | define ['./file', './folder', 'lib/promises'], (File, Folder, promises) ->
settingsCID = null
class AdminFolder extends Folder
icon: 'folder-wrench'
@prop 'site'
constructor: (args...) ->
super(args...)
settings = new SettingsFile
@children.add settings
@on 'change:site', =>
setti... | 85631 | define ['./file', './folder', 'lib/promises'], (File, Folder, promises) ->
settingsCID = null
class AdminFolder extends Folder
icon: 'folder-wrench'
@prop 'site'
constructor: (args...) ->
super(args...)
settings = new SettingsFile
@children.add settings
@on 'change:site', =>
setti... | true | define ['./file', './folder', 'lib/promises'], (File, Folder, promises) ->
settingsCID = null
class AdminFolder extends Folder
icon: 'folder-wrench'
@prop 'site'
constructor: (args...) ->
super(args...)
settings = new SettingsFile
@children.add settings
@on 'change:site', =>
setti... |
[
{
"context": "(createdAt.getTime() + expiresIn * 1000)\n\t\ttoken = crypto.randomBytes(32).toString(\"hex\")\n\t\tlogger.log {dat",
"end": 552,
"score": 0.8754494786262512,
"start": 546,
"tag": "KEY",
"value": "crypto"
},
{
"context": "At.getTime() + expiresIn * 1000)\n\t\ttoken = cr... | app/coffee/Features/Security/OneTimeTokenHandler.coffee | davidmehren/web-sharelatex | 1 | Settings = require('settings-sharelatex')
crypto = require("crypto")
logger = require("logger-sharelatex")
{db} = require "../../infrastructure/mongojs"
Errors = require "../Errors/Errors"
ONE_HOUR_IN_S = 60 * 60
module.exports =
getNewToken: (use, data, options = {}, callback = (error, data) ->)->
# options is op... | 173053 | Settings = require('settings-sharelatex')
crypto = require("crypto")
logger = require("logger-sharelatex")
{db} = require "../../infrastructure/mongojs"
Errors = require "../Errors/Errors"
ONE_HOUR_IN_S = 60 * 60
module.exports =
getNewToken: (use, data, options = {}, callback = (error, data) ->)->
# options is op... | true | Settings = require('settings-sharelatex')
crypto = require("crypto")
logger = require("logger-sharelatex")
{db} = require "../../infrastructure/mongojs"
Errors = require "../Errors/Errors"
ONE_HOUR_IN_S = 60 * 60
module.exports =
getNewToken: (use, data, options = {}, callback = (error, data) ->)->
# options is op... |
[
{
"context": "##\n# @class MyClass0\n# @author Test Author 0 <test@xyz.com>\n# @version 2.0.0\n\n##\n# @class MyClass1\n# @versio",
"end": 58,
"score": 0.99992835521698,
"start": 46,
"tag": "EMAIL",
"value": "test@xyz.com"
},
{
"context": ".0\n\n##\n# @class MyClass2\n# @author Test ... | test/input/0002.coffee | JoshuaToenyes/coffeed | 0 | ##
# @class MyClass0
# @author Test Author 0 <test@xyz.com>
# @version 2.0.0
##
# @class MyClass1
# @version 4.0.0
##
# @class MyClass2
# @author Test Author 2 <test@xyz.com>
##
# @class MyClass3
| 7063 | ##
# @class MyClass0
# @author Test Author 0 <<EMAIL>>
# @version 2.0.0
##
# @class MyClass1
# @version 4.0.0
##
# @class MyClass2
# @author Test Author 2 <<EMAIL>>
##
# @class MyClass3
| true | ##
# @class MyClass0
# @author Test Author 0 <PI:EMAIL:<EMAIL>END_PI>
# @version 2.0.0
##
# @class MyClass1
# @version 4.0.0
##
# @class MyClass2
# @author Test Author 2 <PI:EMAIL:<EMAIL>END_PI>
##
# @class MyClass3
|
[
{
"context": "ow functions in executable class bodies.\n# @author Julian Rosse\n###\n'use strict'\n\n#------------------------------",
"end": 101,
"score": 0.9998096227645874,
"start": 89,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/tests/rules/no-private-function-fat-arrows.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallows fat-arrow functions in executable class bodies.
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../ru... | 126795 | ###*
# @fileoverview Disallows fat-arrow functions in executable class bodies.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no... | true | ###*
# @fileoverview Disallows fat-arrow functions in executable class bodies.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '... |
[
{
"context": "a'\n db.createObjectStore 'metadata', keyPath: 'uid'\n transaction.oncomplete = =>\n callback f",
"end": 15936,
"score": 0.9823957085609436,
"start": 15933,
"tag": "KEY",
"value": "uid"
}
] | src/coffee/dropship_list.coffee | fabuzaid21/dropship-chrome | 1 | # Model class that tracks all the in-progress and completed downloads.
#
# This class is responsible for persisting the files' contents and metadata to
# IndexedDB.
class DropshipList
constructor: ->
@_files = null
@_db = null
@_dbLoadCallbacks = null
@_fileGetCallbacks = null
@_iops = {}
@onD... | 83708 | # Model class that tracks all the in-progress and completed downloads.
#
# This class is responsible for persisting the files' contents and metadata to
# IndexedDB.
class DropshipList
constructor: ->
@_files = null
@_db = null
@_dbLoadCallbacks = null
@_fileGetCallbacks = null
@_iops = {}
@onD... | true | # Model class that tracks all the in-progress and completed downloads.
#
# This class is responsible for persisting the files' contents and metadata to
# IndexedDB.
class DropshipList
constructor: ->
@_files = null
@_db = null
@_dbLoadCallbacks = null
@_fileGetCallbacks = null
@_iops = {}
@onD... |
[
{
"context": "\n\n\t\t\t\tdatalog.legauge = (type, host) ->\n\t\t\t\t\tkey = type + host\n\t\t\t\t\tnow = ~ ~((new Date).getTime() / 1000)\n\t\t\t\t\t",
"end": 8054,
"score": 0.9707241058349609,
"start": 8043,
"tag": "KEY",
"value": "type + host"
}
] | lib/server.coffee | SocialDecode/zmquer | 1 | ###*
*
* The Server
*
*
###
#testing for non-daemon monde
canprogress = true
refreshrate = 1
zmqWorking = 10
try
process.stdout.clearLine()
catch err
canprogress = false
refreshrate = 5
ddogevent = (datadogapikey,title, text, alert_type, tags = [], priority = "normal")->
post_data = JSON.stringify ({
title:title... | 2222 | ###*
*
* The Server
*
*
###
#testing for non-daemon monde
canprogress = true
refreshrate = 1
zmqWorking = 10
try
process.stdout.clearLine()
catch err
canprogress = false
refreshrate = 5
ddogevent = (datadogapikey,title, text, alert_type, tags = [], priority = "normal")->
post_data = JSON.stringify ({
title:title... | true | ###*
*
* The Server
*
*
###
#testing for non-daemon monde
canprogress = true
refreshrate = 1
zmqWorking = 10
try
process.stdout.clearLine()
catch err
canprogress = false
refreshrate = 5
ddogevent = (datadogapikey,title, text, alert_type, tags = [], priority = "normal")->
post_data = JSON.stringify ({
title:title... |
[
{
"context": "perties = properties[0..]\n key = properties.join(':')\n\n if constraints.unique.hasOwnPropert",
"end": 23601,
"score": 0.7673385143280029,
"start": 23597,
"tag": "KEY",
"value": "join"
},
{
"context": "f, compiled)->\n properties\n key = properties.... | src/CompiledMapping.coffee | smbape/node-dblayer | 0 | log4js = require './log4js'
logger = log4js.getLogger __filename.replace /^(?:.+[\/\\])?([^.\/\\]+)(?:.[^.]+)?$/, '$1'
_ = require 'lodash'
LRUCache = require 'lru-cache'
isStringNotEmpty = (str)->
typeof str is 'string' and str.length > 0
modelId = 0
class Model
constructor: (attributes)->
this.cid =... | 171852 | log4js = require './log4js'
logger = log4js.getLogger __filename.replace /^(?:.+[\/\\])?([^.\/\\]+)(?:.[^.]+)?$/, '$1'
_ = require 'lodash'
LRUCache = require 'lru-cache'
isStringNotEmpty = (str)->
typeof str is 'string' and str.length > 0
modelId = 0
class Model
constructor: (attributes)->
this.cid =... | true | log4js = require './log4js'
logger = log4js.getLogger __filename.replace /^(?:.+[\/\\])?([^.\/\\]+)(?:.[^.]+)?$/, '$1'
_ = require 'lodash'
LRUCache = require 'lru-cache'
isStringNotEmpty = (str)->
typeof str is 'string' and str.length > 0
modelId = 0
class Model
constructor: (attributes)->
this.cid =... |
[
{
"context": "before messages to comply with https://github.com/meew0/discord-bot-best-practices\n zSWC ",
"end": 3287,
"score": 0.9912521243095398,
"start": 3282,
"tag": "USERNAME",
"value": "meew0"
},
{
"context": " \"Error sending: #{message}\\r\\n#{err}\"\n\n\n ... | local_modules/hubot-discord/src/discord.coffee | ryo-ogata/hubot-buta | 0 | # Description:
# Adapter for Hubot to communicate on Discord
#
# Commands:
# None
#
# Configuration:
# HUBOT_DISCORD_TOKEN - authentication token for bot
# HUBOT_DISCORD_STATUS_MSG - Status message to set for "currently playing game"
#
# Notes:
#
try
{Robot, Adapter, EnterMessage, LeaveMessage,... | 105534 | # Description:
# Adapter for Hubot to communicate on Discord
#
# Commands:
# None
#
# Configuration:
# HUBOT_DISCORD_TOKEN - authentication token for bot
# HUBOT_DISCORD_STATUS_MSG - Status message to set for "currently playing game"
#
# Notes:
#
try
{Robot, Adapter, EnterMessage, LeaveMessage,... | true | # Description:
# Adapter for Hubot to communicate on Discord
#
# Commands:
# None
#
# Configuration:
# HUBOT_DISCORD_TOKEN - authentication token for bot
# HUBOT_DISCORD_STATUS_MSG - Status message to set for "currently playing game"
#
# Notes:
#
try
{Robot, Adapter, EnterMessage, LeaveMessage,... |
[
{
"context": "ername: enteredEmailOrUsername\n password: enteredPassword\n parse: true\n error: (error) ->\n ",
"end": 3950,
"score": 0.9975823760032654,
"start": 3935,
"tag": "PASSWORD",
"value": "enteredPassword"
},
{
"context": "eturn\n if bothThere\n ... | app/views/account/AccountSettingsView.coffee | gugumiao/codecombat | 1 | CocoView = require 'views/core/CocoView'
template = require 'templates/account/account-settings-view'
forms = require 'core/forms'
User = require 'models/User'
ConfirmModal = require 'views/core/ConfirmModal'
{logoutUser, me} = require('core/auth')
module.exports = class AccountSettingsView extends CocoView
id: 'acc... | 137787 | CocoView = require 'views/core/CocoView'
template = require 'templates/account/account-settings-view'
forms = require 'core/forms'
User = require 'models/User'
ConfirmModal = require 'views/core/ConfirmModal'
{logoutUser, me} = require('core/auth')
module.exports = class AccountSettingsView extends CocoView
id: 'acc... | true | CocoView = require 'views/core/CocoView'
template = require 'templates/account/account-settings-view'
forms = require 'core/forms'
User = require 'models/User'
ConfirmModal = require 'views/core/ConfirmModal'
{logoutUser, me} = require('core/auth')
module.exports = class AccountSettingsView extends CocoView
id: 'acc... |
[
{
"context": ".getQueryVariables(),\n 'israelId'\n 'firstName'\n 'lastName'\n 'email'\n 'scho",
"end": 1144,
"score": 0.9944719076156616,
"start": 1135,
"tag": "NAME",
"value": "firstName"
},
{
"context": ",\n 'israelId'\n 'firstName'\... | app/views/account/IsraelSignupView.coffee | mjaqueFL/codecombat | 0 | RootView = require 'views/core/RootView'
template = require 'app/templates/account/israel-signup-view'
forms = require 'core/forms'
errors = require 'core/errors'
utils = require 'core/utils'
User = require 'models/User'
State = require 'models/State'
class AbortError extends Error
formSchema =
type: 'object'
pro... | 164601 | RootView = require 'views/core/RootView'
template = require 'app/templates/account/israel-signup-view'
forms = require 'core/forms'
errors = require 'core/errors'
utils = require 'core/utils'
User = require 'models/User'
State = require 'models/State'
class AbortError extends Error
formSchema =
type: 'object'
pro... | true | RootView = require 'views/core/RootView'
template = require 'app/templates/account/israel-signup-view'
forms = require 'core/forms'
errors = require 'core/errors'
utils = require 'core/utils'
User = require 'models/User'
State = require 'models/State'
class AbortError extends Error
formSchema =
type: 'object'
pro... |
[
{
"context": "tion = {}\nconfiguration[nerfed + \"_authToken\"] = \"of-glad-tidings\"\nclient = common.freshClient(configuration)\ncache",
"end": 212,
"score": 0.999384880065918,
"start": 197,
"tag": "PASSWORD",
"value": "of-glad-tidings"
}
] | deps/npm/node_modules/npm-registry-client/test/unpublish.coffee | lxe/io.coffee | 0 | tap = require("tap")
server = require("./lib/server.js")
common = require("./lib/common.js")
nerfed = "//localhost:" + server.port + "/:"
configuration = {}
configuration[nerfed + "_authToken"] = "of-glad-tidings"
client = common.freshClient(configuration)
cache = require("./fixtures/underscore/cache.json")
REV = "/-re... | 215106 | tap = require("tap")
server = require("./lib/server.js")
common = require("./lib/common.js")
nerfed = "//localhost:" + server.port + "/:"
configuration = {}
configuration[nerfed + "_authToken"] = "<PASSWORD>"
client = common.freshClient(configuration)
cache = require("./fixtures/underscore/cache.json")
REV = "/-rev/72-... | true | tap = require("tap")
server = require("./lib/server.js")
common = require("./lib/common.js")
nerfed = "//localhost:" + server.port + "/:"
configuration = {}
configuration[nerfed + "_authToken"] = "PI:PASSWORD:<PASSWORD>END_PI"
client = common.freshClient(configuration)
cache = require("./fixtures/underscore/cache.json"... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9781349897384644,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/colorKeySelection.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Wrapper component for ColorKeyBubble to toggle selection, and detect duplicate selection
Imm = require 'immutable'
... | 134364 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Wrapper component for ColorKeyBubble to toggle selection, and detect duplicate selection
Imm = require 'immutable'
... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Wrapper component for ColorKeyBubble to toggle selection, and detect duplicate selection
Imm = require... |
[
{
"context": " domainEvent = new DomainEvent\n name: 'Name'\n payload: payload\n aggregate: aggr",
"end": 348,
"score": 0.9120354056358337,
"start": 344,
"tag": "NAME",
"value": "Name"
},
{
"context": "ontext'\n\n expect(domainEvent.name).to.equal 'Name'... | src/domain_event/domain_event.spec.coffee | efacilitation/eventric | 150 | describe 'DomainEvent', ->
DomainEvent = require './domain_event'
describe '#constructor', ->
it 'should set all necessary properties', ->
sandbox.stub(Date::, 'getTime').returns 1
payload =
someProperty: 42
aggregate =
aggregate:
id: 42
domainEvent = new Dom... | 40278 | describe 'DomainEvent', ->
DomainEvent = require './domain_event'
describe '#constructor', ->
it 'should set all necessary properties', ->
sandbox.stub(Date::, 'getTime').returns 1
payload =
someProperty: 42
aggregate =
aggregate:
id: 42
domainEvent = new Dom... | true | describe 'DomainEvent', ->
DomainEvent = require './domain_event'
describe '#constructor', ->
it 'should set all necessary properties', ->
sandbox.stub(Date::, 'getTime').returns 1
payload =
someProperty: 42
aggregate =
aggregate:
id: 42
domainEvent = new Dom... |
[
{
"context": "PHONEGAP_APP_ID\n user:\n token: process.env.PHONEGAP_TOKEN\n\n unzip:\n dist: 'noflo-<%=",
"end": 6648,
"score": 0.47332873940467834,
"start": 6637,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": " all:\n options:\n ... | Gruntfile.coffee | eldabbagh/noflo-ui | 1 | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
bower:
install:
options:
copy: false
bowerOptions:
forceLatest: false
# Updating the package manifest files
noflo_manifest:
update:
files:
... | 145851 | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
bower:
install:
options:
copy: false
bowerOptions:
forceLatest: false
# Updating the package manifest files
noflo_manifest:
update:
files:
... | true | module.exports = ->
# Project configuration
@initConfig
pkg: @file.readJSON 'package.json'
bower:
install:
options:
copy: false
bowerOptions:
forceLatest: false
# Updating the package manifest files
noflo_manifest:
update:
files:
... |
[
{
"context": ": \"ci0k1wfyv533ccgox4t7uri4h\",\n \"account_id\": \"14e5bn96uizyuhidhcw5rfrb0\",\n \"description\": null,\n \"location\": null,\n",
"end": 297,
"score": 0.9814061522483826,
"start": 272,
"tag": "KEY",
"value": "14e5bn96uizyuhidhcw5rfrb0"
},
{
"context": ",\n ... | packages/client-app/spec/models/event-spec.coffee | cnheider/nylas-mail | 24,369 | Event = require("../../src/flux/models/event").default
AccountStore = require("../../src/flux/stores/account-store").default
json_event =
{
"object": "event",
"id": "4ee4xbnx7pxdb9g7c2f8ncyto",
"calendar_id": "ci0k1wfyv533ccgox4t7uri4h",
"account_id": "14e5bn96uizyuhidhcw5rfrb0",
"description": n... | 187961 | Event = require("../../src/flux/models/event").default
AccountStore = require("../../src/flux/stores/account-store").default
json_event =
{
"object": "event",
"id": "4ee4xbnx7pxdb9g7c2f8ncyto",
"calendar_id": "ci0k1wfyv533ccgox4t7uri4h",
"account_id": "<KEY>",
"description": null,
"location":... | true | Event = require("../../src/flux/models/event").default
AccountStore = require("../../src/flux/stores/account-store").default
json_event =
{
"object": "event",
"id": "4ee4xbnx7pxdb9g7c2f8ncyto",
"calendar_id": "ci0k1wfyv533ccgox4t7uri4h",
"account_id": "PI:KEY:<KEY>END_PI",
"description": null,
... |
[
{
"context": "ds Backbone.Model\n apiSessionID: ->\n key = App.settings.get('api_session_id')\n return if key? then key els",
"end": 84,
"score": 0.8886699676513672,
"start": 72,
"tag": "KEY",
"value": "settings.get"
},
{
"context": " apiSessionID: ->\n key = App.settings.... | app/assets/javascripts/lib/models/scenario.coffee | Abeer-AlHasan/Abu-Dhabi-Model | 21 | class @Scenario extends Backbone.Model
apiSessionID: ->
key = App.settings.get('api_session_id')
return if key? then key else null
api_session_id: =>
@apiSessionID()
apiAttributes: ->
s = App.settings
data =
area_code: s.get('area_code')
end_year: s.get('end_year')
preset_s... | 137691 | class @Scenario extends Backbone.Model
apiSessionID: ->
key = App.<KEY>('api<KEY>_session_<KEY>')
return if key? then key else null
api_session_id: =>
@apiSessionID()
apiAttributes: ->
s = App.settings
data =
area_code: s.get('area_code')
end_year: s.get('end_year')
preset_... | true | class @Scenario extends Backbone.Model
apiSessionID: ->
key = App.PI:KEY:<KEY>END_PI('apiPI:KEY:<KEY>END_PI_session_PI:KEY:<KEY>END_PI')
return if key? then key else null
api_session_id: =>
@apiSessionID()
apiAttributes: ->
s = App.settings
data =
area_code: s.get('area_code')
en... |
[
{
"context": "rtSqlTable = (args, go) ->\n decryptedPassword = H2O.Util.decryptPassword args.password\n opts =\n ",
"end": 7865,
"score": 0.8393775820732117,
"start": 7864,
"tag": "PASSWORD",
"value": "H"
}
] | src/ext/modules/proxy.coffee | appigge/h2o-flow | 0 | H2O.Proxy = (_) ->
download = (type, url, go) ->
if url.substring(0,1) == "/"
url = window.Flow.ContextPath + url.substring(1)
$.ajax
dataType: type
url: url
success: (data, status, xhr) -> go null, data
error: (xhr, status, error) -> go new Flow.Error error
optsToString = ... | 27486 | H2O.Proxy = (_) ->
download = (type, url, go) ->
if url.substring(0,1) == "/"
url = window.Flow.ContextPath + url.substring(1)
$.ajax
dataType: type
url: url
success: (data, status, xhr) -> go null, data
error: (xhr, status, error) -> go new Flow.Error error
optsToString = ... | true | H2O.Proxy = (_) ->
download = (type, url, go) ->
if url.substring(0,1) == "/"
url = window.Flow.ContextPath + url.substring(1)
$.ajax
dataType: type
url: url
success: (data, status, xhr) -> go null, data
error: (xhr, status, error) -> go new Flow.Error error
optsToString = ... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9071433544158936,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": " @getBlindText(3)\n\n\t\tp2 = new... | demo/src/demos/PanelDemo.coffee | programmfabrik/coffeescript-ui | 10 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.PanelDemo extends Demo
display: ->
p1 = new CUI.Panel
text: "Panel title"
conten... | 106075 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.PanelDemo extends Demo
display: ->
p1 = new CUI.Panel
text: "Panel title"
conten... | true | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.PanelDemo extends Demo
display: ->
p1 = new CUI.Panel
text: "Panel title"
conten... |
[
{
"context": "###\n @author Gilles Gerlinger\n Copyright 2014. All rights reserved.\n###\njson =",
"end": 30,
"score": 0.9998638033866882,
"start": 14,
"tag": "NAME",
"value": "Gilles Gerlinger"
}
] | src/avs-rpc.coffee | gigerlin/rpc | 1 | ###
@author Gilles Gerlinger
Copyright 2014. All rights reserved.
###
json = require 'circular-json'
class Local
constructor: (local, method, @asynchronous) ->
@[method] = (id, args, cb) =>
console.log "rpc #{id}: executing local #{method} - asynchronous: #{@asynchronous}"
local[method] args...,... | 11663 | ###
@author <NAME>
Copyright 2014. All rights reserved.
###
json = require 'circular-json'
class Local
constructor: (local, method, @asynchronous) ->
@[method] = (id, args, cb) =>
console.log "rpc #{id}: executing local #{method} - asynchronous: #{@asynchronous}"
local[method] args..., cb
class... | true | ###
@author PI:NAME:<NAME>END_PI
Copyright 2014. All rights reserved.
###
json = require 'circular-json'
class Local
constructor: (local, method, @asynchronous) ->
@[method] = (id, args, cb) =>
console.log "rpc #{id}: executing local #{method} - asynchronous: #{@asynchronous}"
local[method] args... |
[
{
"context": " true\n @patient = collection.findWhere(first: 'GP_Peds', last: 'A')\n\n it 'correctly handles fixing",
"end": 254,
"score": 0.7135149836540222,
"start": 252,
"tag": "NAME",
"value": "GP"
},
{
"context": "rue\n @patient = collection.findWhere(first: 'GP_Peds', la... | spec/javascripts/models/result.spec.js.coffee | okeefm/bonnie | 0 | describe 'Result', ->
beforeEach ->
@measure = bonnie.measures.get('40280381-3D61-56A7-013E-5D1EF9B76A48')
collection = new Thorax.Collections.Patients getJSONFixture('patients.json'), parse: true
@patient = collection.findWhere(first: 'GP_Peds', last: 'A')
it 'correctly handles fixing specific occurr... | 113080 | describe 'Result', ->
beforeEach ->
@measure = bonnie.measures.get('40280381-3D61-56A7-013E-5D1EF9B76A48')
collection = new Thorax.Collections.Patients getJSONFixture('patients.json'), parse: true
@patient = collection.findWhere(first: '<NAME>_<NAME>', last: 'A')
it 'correctly handles fixing specific ... | true | describe 'Result', ->
beforeEach ->
@measure = bonnie.measures.get('40280381-3D61-56A7-013E-5D1EF9B76A48')
collection = new Thorax.Collections.Patients getJSONFixture('patients.json'), parse: true
@patient = collection.findWhere(first: 'PI:NAME:<NAME>END_PI_PI:NAME:<NAME>END_PI', last: 'A')
it 'correc... |
[
{
"context": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Tony\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\n\nmodule = require",
"end": 146,
"score": 0.9990651607513428,
"start": 142,
"tag": "NAME",
"value": "Tony"
}
] | 65fbPaper.framer/app.coffee | gremjua-forks/100daysofframer | 26 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "Tony"
twitter: ""
description: ""
module = require "OrientationEvents"
img = new Layer
width: 1280 * (Screen.height/852)
height: Screen.height
image: "images/lone-bison-... | 92880 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "<NAME>"
twitter: ""
description: ""
module = require "OrientationEvents"
img = new Layer
width: 1280 * (Screen.height/852)
height: Screen.height
image: "images/lone-biso... | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "PI:NAME:<NAME>END_PI"
twitter: ""
description: ""
module = require "OrientationEvents"
img = new Layer
width: 1280 * (Screen.height/852)
height: Screen.height
image: "im... |
[
{
"context": "assport service\n#\n# August, 2013 year\n#\n# Author - Vladimir Andreev\n#\n# E-Mail: volodya@netfolder.ru\n\n# Supported int",
"end": 79,
"score": 0.999879777431488,
"start": 63,
"tag": "NAME",
"value": "Vladimir Andreev"
},
{
"context": "013 year\n#\n# Author - Vladim... | src/passport-interface.coffee | listepo/webmoney | 1 | # WebMoney passport service
#
# August, 2013 year
#
# Author - Vladimir Andreev
#
# E-Mail: volodya@netfolder.ru
# Supported interfaces: X11, X19
# Required modules
BaseService = require('./base')
# WebMoney passport service
class PassportService extends BaseService
# Default hosts for requests
@DEFAULT_HOST: '... | 141597 | # WebMoney passport service
#
# August, 2013 year
#
# Author - <NAME>
#
# E-Mail: <EMAIL>
# Supported interfaces: X11, X19
# Required modules
BaseService = require('./base')
# WebMoney passport service
class PassportService extends BaseService
# Default hosts for requests
@DEFAULT_HOST: 'passport.webmoney.ru'
... | true | # WebMoney passport service
#
# August, 2013 year
#
# Author - PI:NAME:<NAME>END_PI
#
# E-Mail: PI:EMAIL:<EMAIL>END_PI
# Supported interfaces: X11, X19
# Required modules
BaseService = require('./base')
# WebMoney passport service
class PassportService extends BaseService
# Default hosts for requests
@DEFAULT_H... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.