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": "\n stream_config =\n key: \"test\"\n source_password: \"abc123\"\n roo",
"end": 185,
"score": 0.5439028143882751,
"start": 181,
"tag": "KEY",
"value": "test"
},
{
"context": " \"test\"\n source_password: \... | test/api/stream.coffee | firebrandv2/FirebrandNetwork.ga | 342 | MasterHelper = require "../helpers/master"
request = require "request"
_ = require "underscore"
describe "API: Streams", ->
stream_config =
key: "test"
source_password: "abc123"
root_route: true
seconds: 3600
format: "m... | 82059 | MasterHelper = require "../helpers/master"
request = require "request"
_ = require "underscore"
describe "API: Streams", ->
stream_config =
key: "<KEY>"
source_password: "<PASSWORD>"
root_route: true
seconds: 3600
format: ... | true | MasterHelper = require "../helpers/master"
request = require "request"
_ = require "underscore"
describe "API: Streams", ->
stream_config =
key: "PI:KEY:<KEY>END_PI"
source_password: "PI:PASSWORD:<PASSWORD>END_PI"
root_route: true
seconds: ... |
[
{
"context": " # unambiguously identify a source. E.g., “chomsky57”.\n\n address: '' # Usually the add",
"end": 2244,
"score": 0.9953088760375977,
"start": 2235,
"tag": "KEY",
"value": "chomsky57"
},
{
"context": "ote']\n\n book:\n required: [['auth... | app/scripts/models/source.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'./resource'
'./../utils/bibtex'
], (ResourceModel, BibTeXUtils) ->
# Source Model
# ------------
#
# A Backbone model for Dative sources.
class SourceModel extends ResourceModel
resourceName: 'source'
# Note that `crossref_source` is not in here because the user does not
# specif... | 53398 | define [
'./resource'
'./../utils/bibtex'
], (ResourceModel, BibTeXUtils) ->
# Source Model
# ------------
#
# A Backbone model for Dative sources.
class SourceModel extends ResourceModel
resourceName: 'source'
# Note that `crossref_source` is not in here because the user does not
# specif... | true | define [
'./resource'
'./../utils/bibtex'
], (ResourceModel, BibTeXUtils) ->
# Source Model
# ------------
#
# A Backbone model for Dative sources.
class SourceModel extends ResourceModel
resourceName: 'source'
# Note that `crossref_source` is not in here because the user does not
# specif... |
[
{
"context": "g pings on Slack.\n#\n# Commands:\n# @ping @mention [@mention ...] [message] - create a new ping\n# @ping log ",
"end": 112,
"score": 0.8000609874725342,
"start": 103,
"tag": "USERNAME",
"value": "[@mention"
},
{
"context": " help - display available commands\n#\n# ... | scripts/ping.coffee | RaymondXu/hubot-ping | 3 | # Description:
# A script that tracks your outgoing pings on Slack.
#
# Commands:
# @ping @mention [@mention ...] [message] - create a new ping
# @ping log - view your outgoing pings
# @ping n [n ...] - re-ping an old ping by index
# @ping close n [n ...] - close pings by index
# @ping help - display availa... | 111640 | # Description:
# A script that tracks your outgoing pings on Slack.
#
# Commands:
# @ping @mention [@mention ...] [message] - create a new ping
# @ping log - view your outgoing pings
# @ping n [n ...] - re-ping an old ping by index
# @ping close n [n ...] - close pings by index
# @ping help - display availa... | true | # Description:
# A script that tracks your outgoing pings on Slack.
#
# Commands:
# @ping @mention [@mention ...] [message] - create a new ping
# @ping log - view your outgoing pings
# @ping n [n ...] - re-ping an old ping by index
# @ping close n [n ...] - close pings by index
# @ping help - display availa... |
[
{
"context": "nds in a tuft of hairs.\n '''\n\n scientificName: 'Syncerus caffer'\n mainImage: 'assets/fieldguide-content/mammals/",
"end": 588,
"score": 0.9998810887336731,
"start": 573,
"tag": "NAME",
"value": "Syncerus caffer"
}
] | app/lib/field-guide-content/buffalo.coffee | zooniverse/wildcam-gorongosa | 7 | module.exports =
label: 'African Buffalo' # taken from task choice if not provided
description: '''
A massive animal, the African buffalo is Africa’s only wild cattle species and is recognized as one of the “Big Five” mammals by safari goers. It is an imposing animal with its oxlike barrel shape, broad chest, b... | 37389 | module.exports =
label: 'African Buffalo' # taken from task choice if not provided
description: '''
A massive animal, the African buffalo is Africa’s only wild cattle species and is recognized as one of the “Big Five” mammals by safari goers. It is an imposing animal with its oxlike barrel shape, broad chest, b... | true | module.exports =
label: 'African Buffalo' # taken from task choice if not provided
description: '''
A massive animal, the African buffalo is Africa’s only wild cattle species and is recognized as one of the “Big Five” mammals by safari goers. It is an imposing animal with its oxlike barrel shape, broad chest, b... |
[
{
"context": "up'\n\nmeryl.h 'GET /', (req, resp) ->\n people = ['bob', 'alice', 'meryl']\n resp.render 'layout', conte",
"end": 115,
"score": 0.8944886922836304,
"start": 112,
"tag": "USERNAME",
"value": "bob"
},
{
"context": "ryl.h 'GET /', (req, resp) ->\n people = ['bob', 'ali... | node_modules/coffeekup/examples/meryl/app.coffee | brad-langshaw/project2 | 157 | meryl = require 'meryl'
coffeekup = require '../../src/coffeekup'
meryl.h 'GET /', (req, resp) ->
people = ['bob', 'alice', 'meryl']
resp.render 'layout', content: 'index', context: {people: people}
meryl.run
templateDir: 'templates'
templateExt: '.coffee'
templateFunc: coffeekup.adapters.meryl
console.log... | 204850 | meryl = require 'meryl'
coffeekup = require '../../src/coffeekup'
meryl.h 'GET /', (req, resp) ->
people = ['bob', '<NAME>', '<NAME>']
resp.render 'layout', content: 'index', context: {people: people}
meryl.run
templateDir: 'templates'
templateExt: '.coffee'
templateFunc: coffeekup.adapters.meryl
console.l... | true | meryl = require 'meryl'
coffeekup = require '../../src/coffeekup'
meryl.h 'GET /', (req, resp) ->
people = ['bob', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI']
resp.render 'layout', content: 'index', context: {people: people}
meryl.run
templateDir: 'templates'
templateExt: '.coffee'
templateFunc: coffeek... |
[
{
"context": "###\n# @author Argi Karunia <arugikaru@yahoo.co.jp>\n# @author Originally by",
"end": 28,
"score": 0.9998787045478821,
"start": 16,
"tag": "NAME",
"value": "Argi Karunia"
},
{
"context": "###\n# @author Argi Karunia <arugikaru@yahoo.co.jp>\n# @author Originally ... | src/render.coffee | tokopedia/nodame | 2 | ###
# @author Argi Karunia <arugikaru@yahoo.co.jp>
# @author Originally by Teddy Hong <teddy.hong11@gmail.com>
# @link https://github.com/tokopedia/Nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.2.0
###
Path = require('./path')
UUID = require('node-uuid')
Redis = requ... | 85317 | ###
# @author <NAME> <<EMAIL>>
# @author Originally by <NAME> <<EMAIL>>
# @link https://github.com/tokopedia/Nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.2.0
###
Path = require('./path')
UUID = require('node-uuid')
Redis = require('./redis')
Async = require('a... | true | ###
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @author Originally by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @link https://github.com/tokopedia/Nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.2.0
###
Path = require('./path')
UUID = require('node-uuid')... |
[
{
"context": ": user\n snap: snap\n snaps: snaps\n author: author\n active: active\n\nroutes.markdown = ->\n post =",
"end": 1620,
"score": 0.4957241714000702,
"start": 1614,
"tag": "NAME",
"value": "author"
}
] | coffee/routes.coffee | touka0/snaply | 0 | Model = require './models'
parse = require 'co-body'
emoji = require 'emojione'
bcrypt = require 'co-bcryptjs'
routes = module.exports = {}
render = require './render'
routes.index = ->
user = this.req.user
if typeof user isnt 'undefined'
snaps = yield Model.DB.snaps.where('uid', user.id).sort(
created... | 49371 | Model = require './models'
parse = require 'co-body'
emoji = require 'emojione'
bcrypt = require 'co-bcryptjs'
routes = module.exports = {}
render = require './render'
routes.index = ->
user = this.req.user
if typeof user isnt 'undefined'
snaps = yield Model.DB.snaps.where('uid', user.id).sort(
created... | true | Model = require './models'
parse = require 'co-body'
emoji = require 'emojione'
bcrypt = require 'co-bcryptjs'
routes = module.exports = {}
render = require './render'
routes.index = ->
user = this.req.user
if typeof user isnt 'undefined'
snaps = yield Model.DB.snaps.where('uid', user.id).sort(
created... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7774911522865295,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/hi/spec.coffee | saiba-mais/bible-lessons | 0 | bcv_parser = require("../../js/hi_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"
... | 178458 | bcv_parser = require("../../js/hi_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/hi_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": " if evt.key is 't' or evt.keyIdentifier is 'U+0054'\n @setState\n label_show",
"end": 10406,
"score": 0.6891576647758484,
"start": 10400,
"tag": "KEY",
"value": "U+0054"
}
] | cjsx/table.cjsx | ChengCat/lovecat | 0 | React = require('react')
widgets = require('./widgets')
_ = require('lodash')
utils = require('./utils')
DPR = window.devicePixelRatio
TablePage = React.createClass
getInitialState: ->
hover: null
hover_touch: null
selected: null
selected_in_box: null
select_shift: null
... | 210818 | React = require('react')
widgets = require('./widgets')
_ = require('lodash')
utils = require('./utils')
DPR = window.devicePixelRatio
TablePage = React.createClass
getInitialState: ->
hover: null
hover_touch: null
selected: null
selected_in_box: null
select_shift: null
... | true | React = require('react')
widgets = require('./widgets')
_ = require('lodash')
utils = require('./utils')
DPR = window.devicePixelRatio
TablePage = React.createClass
getInitialState: ->
hover: null
hover_touch: null
selected: null
selected_in_box: null
select_shift: null
... |
[
{
"context": "fkShihTzAt8lSnkVyY55uep3'\n consumer_secret: 'nqek9o7ZGe0yMArRQJ10aH0sLcKtT7qm5tu2chqpt12w85wtyv'\n access_token: '1621263949-luTkfbICzKo5gHy0",
"end": 1111,
"score": 0.999464750289917,
"start": 1061,
"tag": "KEY",
"value": "nqek9o7ZGe0yMArRQJ10aH0sLcKtT7qm5tu2chqpt12... | lib/utils.coffee | ayinloya/flitteraweb | 0 | @Utils =
prettyDate: (date)->
if date
if Config.dateFormat
moment(date).format(Config.dateFormat)
else
moment(date).format('D/M/YYYY')
timeSince: (date)->
if date
seconds = Math.floor((new Date() - date) / 1000)
interval = Math.floor(seconds / 31536000)
return ... | 146877 | @Utils =
prettyDate: (date)->
if date
if Config.dateFormat
moment(date).format(Config.dateFormat)
else
moment(date).format('D/M/YYYY')
timeSince: (date)->
if date
seconds = Math.floor((new Date() - date) / 1000)
interval = Math.floor(seconds / 31536000)
return ... | true | @Utils =
prettyDate: (date)->
if date
if Config.dateFormat
moment(date).format(Config.dateFormat)
else
moment(date).format('D/M/YYYY')
timeSince: (date)->
if date
seconds = Math.floor((new Date() - date) / 1000)
interval = Math.floor(seconds / 31536000)
return ... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.8163854479789734,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/en/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/en_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"
... | 165616 | bcv_parser = require("../../js/en_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/en_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": "p.build_substitute_variables(variables: [{name: \"funky\", value: \"10\"}])\n new_exp = manip.perform(ex",
"end": 22675,
"score": 0.5432359576225281,
"start": 22671,
"tag": "NAME",
"value": "unky"
}
] | spec/expression_manipulation_spec.coffee | thinkthroughmath/ttm-coffeescript-math | 0 | ttm = thinkthroughmath
class_mixer = ttm.class_mixer
it_plays_manipulation_role = (options)->
describe "acting as an expression manipulation", ->
beforeEach ->
@subject = options.subject.call(@)
it "has a perform method", ->
expect(typeof @subject.perform).toEqual "function"
it "returns an ... | 90355 | ttm = thinkthroughmath
class_mixer = ttm.class_mixer
it_plays_manipulation_role = (options)->
describe "acting as an expression manipulation", ->
beforeEach ->
@subject = options.subject.call(@)
it "has a perform method", ->
expect(typeof @subject.perform).toEqual "function"
it "returns an ... | true | ttm = thinkthroughmath
class_mixer = ttm.class_mixer
it_plays_manipulation_role = (options)->
describe "acting as an expression manipulation", ->
beforeEach ->
@subject = options.subject.call(@)
it "has a perform method", ->
expect(typeof @subject.perform).toEqual "function"
it "returns an ... |
[
{
"context": " \"underscore\"\n\nSTREAM1 =\n key: \"test1\"\n source_password: \"abc123\"\n root_route:",
"end": 414,
"score": 0.994774580001831,
"start": 409,
"tag": "KEY",
"value": "test1"
},
{
"context": ": \"test1\"\n source_password: ... | test/master.coffee | firebrandv2/FirebrandNetwork.ga | 342 | MasterMode = $src "modes/master"
Master = $src "master"
MasterStream = $src "master/stream"
SlaveIO = $src "slave/slave_io"
Logger = $src "logger"
MasterHelper = require "./helpers/master"
StreamHelper = require "./helpers/stream"
weak = require "weak"
debug = require("debug"... | 4515 | MasterMode = $src "modes/master"
Master = $src "master"
MasterStream = $src "master/stream"
SlaveIO = $src "slave/slave_io"
Logger = $src "logger"
MasterHelper = require "./helpers/master"
StreamHelper = require "./helpers/stream"
weak = require "weak"
debug = require("debug"... | true | MasterMode = $src "modes/master"
Master = $src "master"
MasterStream = $src "master/stream"
SlaveIO = $src "slave/slave_io"
Logger = $src "logger"
MasterHelper = require "./helpers/master"
StreamHelper = require "./helpers/stream"
weak = require "weak"
debug = require("debug"... |
[
{
"context": ")\n @options =\n jid: botjid\n password: botpw\n token: process.env.HUBOT_HIPCHAT_TOKEN or n",
"end": 1998,
"score": 0.9992408752441406,
"start": 1993,
"tag": "PASSWORD",
"value": "botpw"
},
{
"context": " Connector\n jid: @options.jid\n pass... | src/hipchat.coffee | 178inaba/hubot-hipchat2 | 2 | {Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, User} = require "hubot"
HTTPS = require "https"
{inspect} = require "util"
Connector = require "./connector"
promise = require "./promises"
class HipChat extends Adapter
constructor: (robot) ->
super robot
@logger = robot.logger
@rooms = {... | 45214 | {Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, User} = require "hubot"
HTTPS = require "https"
{inspect} = require "util"
Connector = require "./connector"
promise = require "./promises"
class HipChat extends Adapter
constructor: (robot) ->
super robot
@logger = robot.logger
@rooms = {... | true | {Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, User} = require "hubot"
HTTPS = require "https"
{inspect} = require "util"
Connector = require "./connector"
promise = require "./promises"
class HipChat extends Adapter
constructor: (robot) ->
super robot
@logger = robot.logger
@rooms = {... |
[
{
"context": " the registration form for new users.\n\n @author Sebastian Sachtleben\n###\nclass Signup extends FormView\n\n\tentity: 'ui/m",
"end": 192,
"score": 0.9998971819877625,
"start": 172,
"tag": "NAME",
"value": "Sebastian Sachtleben"
}
] | app/assets/javascripts/site/views/signup.coffee | ssachtleben/herowar | 1 | FormView = require 'views/formView'
templates = require 'templates'
app = require 'application'
###
The Signup shows the registration form for new users.
@author Sebastian Sachtleben
###
class Signup extends FormView
entity: 'ui/me'
id: 'signup'
template: templates.get 'signup.tmpl'
url: '/api/signu... | 74803 | FormView = require 'views/formView'
templates = require 'templates'
app = require 'application'
###
The Signup shows the registration form for new users.
@author <NAME>
###
class Signup extends FormView
entity: 'ui/me'
id: 'signup'
template: templates.get 'signup.tmpl'
url: '/api/signup'
events:
... | true | FormView = require 'views/formView'
templates = require 'templates'
app = require 'application'
###
The Signup shows the registration form for new users.
@author PI:NAME:<NAME>END_PI
###
class Signup extends FormView
entity: 'ui/me'
id: 'signup'
template: templates.get 'signup.tmpl'
url: '/api/signu... |
[
{
"context": "y', ->\n describe 'vowel recognition', ->\n it \"adam\", ->\n name = \"Adam\"\n Duggarify.vowel(na",
"end": 108,
"score": 0.9917498230934143,
"start": 104,
"tag": "NAME",
"value": "adam"
},
{
"context": " recognition', ->\n it \"adam\", ->\n name =... | src/javascript/__tests__/duaggarify-spec.coffee | adampash/dug_name_generator | 0 | Duggarify = require '../duggarify'
describe 'Duggarify', ->
describe 'vowel recognition', ->
it "adam", ->
name = "Adam"
Duggarify.vowel(name).should.eq true
it "ellen", ->
name = "ellen"
Duggarify.vowel(name).should.eq true
it "lacey", ->
name = "lacey"
Duggarify.vowe... | 120115 | Duggarify = require '../duggarify'
describe 'Duggarify', ->
describe 'vowel recognition', ->
it "<NAME>", ->
name = "<NAME>"
Duggarify.vowel(name).should.eq true
it "<NAME>", ->
name = "<NAME>"
Duggarify.vowel(name).should.eq true
it "<NAME>", ->
name = "<NAME>"
Duggar... | true | Duggarify = require '../duggarify'
describe 'Duggarify', ->
describe 'vowel recognition', ->
it "PI:NAME:<NAME>END_PI", ->
name = "PI:NAME:<NAME>END_PI"
Duggarify.vowel(name).should.eq true
it "PI:NAME:<NAME>END_PI", ->
name = "PI:NAME:<NAME>END_PI"
Duggarify.vowel(name).should.eq tru... |
[
{
"context": "8dd34438842e2db000005\"\n\t\t@allUserIds = [\"13213\", \"dsadas\", \"djsaiud89\"]\n\t\t@subscription = subscription =\n\t",
"end": 543,
"score": 0.772756814956665,
"start": 537,
"tag": "PASSWORD",
"value": "dsadas"
},
{
"context": "2e2db000005\"\n\t\t@allUserIds = [\"13... | test/UnitTests/coffee/Subscription/SubscriptionUpdaterTests.coffee | HasanSanli/web-sharelatex | 0 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
modulePath = "../../../../app/js/Features/Subscription/SubscriptionUpdater"
assert = require("chai").assert
ObjectId = require('mongoose').Types.ObjectId
describe "SubscriptionUpdater", ->
beforeEach ->
@recurl... | 38634 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
modulePath = "../../../../app/js/Features/Subscription/SubscriptionUpdater"
assert = require("chai").assert
ObjectId = require('mongoose').Types.ObjectId
describe "SubscriptionUpdater", ->
beforeEach ->
@recurl... | true | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
modulePath = "../../../../app/js/Features/Subscription/SubscriptionUpdater"
assert = require("chai").assert
ObjectId = require('mongoose').Types.ObjectId
describe "SubscriptionUpdater", ->
beforeEach ->
@recurl... |
[
{
"context": "erviceMock =\n parent:\n firstName: ''\n lastName: ''\n email: ''\n postSearch: ->\n\n beforeE",
"end": 134,
"score": 0.6924493312835693,
"start": 126,
"tag": "NAME",
"value": "lastName"
}
] | spec/javascripts/controllers/search_controller_spec.js.coffee | Exygy/Children-s-Council | 1 | describe 'SearchController', ->
$scope = null
$state = null
SearchServiceMock =
parent:
firstName: ''
lastName: ''
email: ''
postSearch: ->
beforeEach module 'CCR'
beforeEach inject ($rootScope, $controller) ->
$scope = $rootScope.$new()
$controller 'SearchController', {
... | 1175 | describe 'SearchController', ->
$scope = null
$state = null
SearchServiceMock =
parent:
firstName: ''
<NAME>: ''
email: ''
postSearch: ->
beforeEach module 'CCR'
beforeEach inject ($rootScope, $controller) ->
$scope = $rootScope.$new()
$controller 'SearchController', {
... | true | describe 'SearchController', ->
$scope = null
$state = null
SearchServiceMock =
parent:
firstName: ''
PI:NAME:<NAME>END_PI: ''
email: ''
postSearch: ->
beforeEach module 'CCR'
beforeEach inject ($rootScope, $controller) ->
$scope = $rootScope.$new()
$controller 'SearchCon... |
[
{
"context": "###\n termap - Terminal Map Viewer\n by Michael Strassburger <codepoet@cpan.org>\n\n Using 2D spatial indexing ",
"end": 60,
"score": 0.9998729825019836,
"start": 40,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " - Terminal Map Viewer\n by Michael... | src/LabelBuffer.coffee | 82ndAirborneDiv/mapsc | 1 | ###
termap - Terminal Map Viewer
by Michael Strassburger <codepoet@cpan.org>
Using 2D spatial indexing to avoid overlapping labels and markers
and to find labels underneath a mouse cursor's position
###
rbush = require 'rbush'
stringWidth = require 'string-width'
module.exports = class LabelBuffer
tree: nul... | 26546 | ###
termap - Terminal Map Viewer
by <NAME> <<EMAIL>>
Using 2D spatial indexing to avoid overlapping labels and markers
and to find labels underneath a mouse cursor's position
###
rbush = require 'rbush'
stringWidth = require 'string-width'
module.exports = class LabelBuffer
tree: null
margin: 5
constr... | true | ###
termap - Terminal Map Viewer
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Using 2D spatial indexing to avoid overlapping labels and markers
and to find labels underneath a mouse cursor's position
###
rbush = require 'rbush'
stringWidth = require 'string-width'
module.exports = class LabelBuffer
tree... |
[
{
"context": " list = new Backbone.Collection [{name: 'Jack'}, {name: 'Bob'}]\n\n listView = new Lis",
"end": 601,
"score": 0.9998392462730408,
"start": 597,
"tag": "NAME",
"value": "Jack"
},
{
"context": " new Backbone.Collection [{name: 'Jack'}, {name: 'Bob'}]\n... | test/each.coffee | redexp/backbone-dom-view | 13 | define ['chai', 'backbone', 'backbone-dom-view'], ({expect}, Backbone, DomView) ->
model = null
beforeEach ->
model = new Backbone.Model()
describe 'each helper', ->
it 'should create view for each item in collection', ->
View = DomView.extend
tagName: 'li'
... | 4337 | define ['chai', 'backbone', 'backbone-dom-view'], ({expect}, Backbone, DomView) ->
model = null
beforeEach ->
model = new Backbone.Model()
describe 'each helper', ->
it 'should create view for each item in collection', ->
View = DomView.extend
tagName: 'li'
... | true | define ['chai', 'backbone', 'backbone-dom-view'], ({expect}, Backbone, DomView) ->
model = null
beforeEach ->
model = new Backbone.Model()
describe 'each helper', ->
it 'should create view for each item in collection', ->
View = DomView.extend
tagName: 'li'
... |
[
{
"context": "e login\n localStorage.setItem 'grid-token', '93c76ec0-d14b-11e3-9c1a-0800200c9a66'\n localStorage.setItem 'grid-user', JSON.str",
"end": 258,
"score": 0.9939930438995361,
"start": 222,
"tag": "PASSWORD",
"value": "93c76ec0-d14b-11e3-9c1a-0800200c9a66"
},
{
"c... | spec/Initialization.coffee | taylorzane/noflo-ui | 1 | describe 'NoFlo UI initialization', ->
win = null
doc = null
db = null
before (done) ->
@timeout 75000
unless localStorage.getItem 'grid-token'
# Fake login
localStorage.setItem 'grid-token', '93c76ec0-d14b-11e3-9c1a-0800200c9a66'
localStorage.setItem 'grid-user', JSON.stringify
... | 156502 | describe 'NoFlo UI initialization', ->
win = null
doc = null
db = null
before (done) ->
@timeout 75000
unless localStorage.getItem 'grid-token'
# Fake login
localStorage.setItem 'grid-token', '<PASSWORD>'
localStorage.setItem 'grid-user', JSON.stringify
uuid: '11eecff0-d14c-11... | true | describe 'NoFlo UI initialization', ->
win = null
doc = null
db = null
before (done) ->
@timeout 75000
unless localStorage.getItem 'grid-token'
# Fake login
localStorage.setItem 'grid-token', 'PI:PASSWORD:<PASSWORD>END_PI'
localStorage.setItem 'grid-user', JSON.stringify
uuid:... |
[
{
"context": "meters: [\n {\n 'key': 'question_id',\n 'description': '<p>ID of the Questi",
"end": 1008,
"score": 0.7898721694946289,
"start": 1006,
"tag": "KEY",
"value": "id"
},
{
"context": "element': 'string',\n 'content': 'question... | test/getUriParameters-test.coffee | apiaryio/metamorphoses | 1 | {assert} = require('chai')
getUriParameters = require('../src/adapters/refract/getUriParameters')
describe('Transformation • Refract • getUriParameters' , ->
context('Transforming URI Parameters without error', ->
tests = [
{
hrefVariables: {
'element': 'hrefVariables',
'cont... | 815 | {assert} = require('chai')
getUriParameters = require('../src/adapters/refract/getUriParameters')
describe('Transformation • Refract • getUriParameters' , ->
context('Transforming URI Parameters without error', ->
tests = [
{
hrefVariables: {
'element': 'hrefVariables',
'cont... | true | {assert} = require('chai')
getUriParameters = require('../src/adapters/refract/getUriParameters')
describe('Transformation • Refract • getUriParameters' , ->
context('Transforming URI Parameters without error', ->
tests = [
{
hrefVariables: {
'element': 'hrefVariables',
'cont... |
[
{
"context": "\" data-on-keyup=\"MyLib.onKeyup\" type=\"text\" name=\"testName\" value=\"testValue\" />\n </div>\n \"\"\"\n",
"end": 291,
"score": 0.606076180934906,
"start": 287,
"tag": "NAME",
"value": "test"
},
{
"context": "ta-on-keyup=\"MyLib.onKeyup\" type=\"text\" na... | test/keyup.coffee | andrewchilds/fastbinder | 6 | target = null
beforeEach ->
target = null
describe 'Scroll Event Handling', ->
beforeEach ->
spyOn(MyLib, 'onKeyup').and.callFake ->
target = @
false
fixture """
<div id="parent">
<input id="test" data-on-keyup="MyLib.onKeyup" type="text" name="testName" value="testValue" />
... | 73909 | target = null
beforeEach ->
target = null
describe 'Scroll Event Handling', ->
beforeEach ->
spyOn(MyLib, 'onKeyup').and.callFake ->
target = @
false
fixture """
<div id="parent">
<input id="test" data-on-keyup="MyLib.onKeyup" type="text" name="<NAME> <NAME>" value="testValue" ... | true | target = null
beforeEach ->
target = null
describe 'Scroll Event Handling', ->
beforeEach ->
spyOn(MyLib, 'onKeyup').and.callFake ->
target = @
false
fixture """
<div id="parent">
<input id="test" data-on-keyup="MyLib.onKeyup" type="text" name="PI:NAME:<NAME>END_PI PI:NAME:<NAM... |
[
{
"context": "ask object has an ID', ->\n task = { name : 'bad' }\n\n driver.create task\n\n .then -> thro",
"end": 2924,
"score": 0.6964540481567383,
"start": 2921,
"tag": "NAME",
"value": "bad"
},
{
"context": "= {\n id : 'my-test-id'\n name : 'my-... | test/lib/driver-memory.spec.coffee | scull7/uow-store | 0 | bluebird = require 'bluebird'
MemoryDriver = require '../../lib/driver-memory.js'
TaskLock = require 'uow-lock'
describe 'Memory Driver', ->
driver = null
before -> driver = new MemoryDriver()
describe '::findReady', ->
beforeEach ->
@clock = sinon.useFakeTimers()... | 134165 | bluebird = require 'bluebird'
MemoryDriver = require '../../lib/driver-memory.js'
TaskLock = require 'uow-lock'
describe 'Memory Driver', ->
driver = null
before -> driver = new MemoryDriver()
describe '::findReady', ->
beforeEach ->
@clock = sinon.useFakeTimers()... | true | bluebird = require 'bluebird'
MemoryDriver = require '../../lib/driver-memory.js'
TaskLock = require 'uow-lock'
describe 'Memory Driver', ->
driver = null
before -> driver = new MemoryDriver()
describe '::findReady', ->
beforeEach ->
@clock = sinon.useFakeTimers()... |
[
{
"context": "reEach ->\n @kue = require 'kue'\n @redisKey = UUID.v1()\n @client = redis.createClient @redisKey\n ",
"end": 325,
"score": 0.663592517375946,
"start": 318,
"tag": "KEY",
"value": "UUID.v1"
}
] | test/pong-job-processor-spec.coffee | octoblu/nanocyte-interval-service | 0 | _ = require 'lodash'
PongJobProcessor = require '../src/pong-job-processor'
RegisterJobProcessor = require '../src/register-job-processor'
redis = require 'fakeredis'
debug = require('debug')('mocha-test')
UUID = require 'uuid'
describe 'PongJobProcessor', ->
beforeEach ->
@kue = require 'kue'
@redisKey = UU... | 140413 | _ = require 'lodash'
PongJobProcessor = require '../src/pong-job-processor'
RegisterJobProcessor = require '../src/register-job-processor'
redis = require 'fakeredis'
debug = require('debug')('mocha-test')
UUID = require 'uuid'
describe 'PongJobProcessor', ->
beforeEach ->
@kue = require 'kue'
@redisKey = <K... | true | _ = require 'lodash'
PongJobProcessor = require '../src/pong-job-processor'
RegisterJobProcessor = require '../src/register-job-processor'
redis = require 'fakeredis'
debug = require('debug')('mocha-test')
UUID = require 'uuid'
describe 'PongJobProcessor', ->
beforeEach ->
@kue = require 'kue'
@redisKey = PI... |
[
{
"context": " =\n\tversion: 1\n\tslug: 'beaglebone-pocket'\n\tname: 'PocketBeagle'\n\tarch: 'armv7hf'\n\tstate: 'experimenta",
"end": 190,
"score": 0.8576775789260864,
"start": 189,
"tag": "NAME",
"value": "P"
},
{
"context": "ion: 1\n\tslug: 'beaglebone-pocket'\n\tname: 'PocketBeag... | beaglebone-pocket.coffee | Johnsel/balena-beaglebone | 0 | deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
module.exports =
version: 1
slug: 'beaglebone-pocket'
name: 'PocketBeagle'
arch: 'armv7hf'
state: 'experimental'
imageDownloadAlerts: [
{
type: 'warning'
message: 'To obtain intern... | 10120 | deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
module.exports =
version: 1
slug: 'beaglebone-pocket'
name: '<NAME>ocketBe<NAME>'
arch: 'armv7hf'
state: 'experimental'
imageDownloadAlerts: [
{
type: 'warning'
message: 'To obtain... | true | deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
module.exports =
version: 1
slug: 'beaglebone-pocket'
name: 'PI:NAME:<NAME>END_PIocketBePI:NAME:<NAME>END_PI'
arch: 'armv7hf'
state: 'experimental'
imageDownloadAlerts: [
{
type: 'war... |
[
{
"context": "\nfixture =\n name: 'mittens'\n age: 7\n\nmodule.exports = (props) ->\n if props",
"end": 27,
"score": 0.9989773631095886,
"start": 20,
"tag": "NAME",
"value": "mittens"
}
] | spec/fixtures/helpers/object.coffee | rstone770/inheritor | 0 |
fixture =
name: 'mittens'
age: 7
module.exports = (props) ->
if props
return props
else
return fixture | 179190 |
fixture =
name: '<NAME>'
age: 7
module.exports = (props) ->
if props
return props
else
return fixture | true |
fixture =
name: 'PI:NAME:<NAME>END_PI'
age: 7
module.exports = (props) ->
if props
return props
else
return fixture |
[
{
"context": "# @author alteredq / http://alteredqualia.com/\n# @author aladjev.and",
"end": 18,
"score": 0.9567625522613525,
"start": 10,
"tag": "USERNAME",
"value": "alteredq"
},
{
"context": "hor alteredq / http://alteredqualia.com/\n# @author aladjev.andrew@gmail.com\n\n#= requir... | source/javascripts/new_src/loaders/binary.coffee | andrew-aladev/three.js | 0 | # @author alteredq / http://alteredqualia.com/
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/loader
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/face_3
#= require new_src/core/face_4
#= require new_src/core/uv
class BinaryLoader extends THREE.Loader
const... | 16923 | # @author alteredq / http://alteredqualia.com/
# @author <EMAIL>
#= require new_src/loaders/loader
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/face_3
#= require new_src/core/face_4
#= require new_src/core/uv
class BinaryLoader extends THREE.Loader
constructor: (showStat... | true | # @author alteredq / http://alteredqualia.com/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/loader
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/face_3
#= require new_src/core/face_4
#= require new_src/core/uv
class BinaryLoader extends THREE.Loader
constru... |
[
{
"context": "ailSubject: 'my current items'\n\t\temailRecipient: 'you@me.com'\n\t\tsaveFilename: 'barn'\n\t\tmaxColumns: 10\n\t\tcolumn",
"end": 276,
"score": 0.9999183416366577,
"start": 266,
"tag": "EMAIL",
"value": "you@me.com"
}
] | coffeescript/config.coffee | cybernetics/tyto | 1 | define [], ->
config =
autoSave: true
showIntroModalOnLoad: false
introModalId: 'tytoIntroModal'
helpModalId: 'tytoHelpModal'
infoModalId: 'tytoInfoModal'
DOMId: 'barn'
DOMElementSelector: '.barn'
emailSubject: 'my current items'
emailRecipient: 'you@me.com'
saveFilename: 'barn'
maxColumns: 10
... | 69193 | define [], ->
config =
autoSave: true
showIntroModalOnLoad: false
introModalId: 'tytoIntroModal'
helpModalId: 'tytoHelpModal'
infoModalId: 'tytoInfoModal'
DOMId: 'barn'
DOMElementSelector: '.barn'
emailSubject: 'my current items'
emailRecipient: '<EMAIL>'
saveFilename: 'barn'
maxColumns: 10
col... | true | define [], ->
config =
autoSave: true
showIntroModalOnLoad: false
introModalId: 'tytoIntroModal'
helpModalId: 'tytoHelpModal'
infoModalId: 'tytoInfoModal'
DOMId: 'barn'
DOMElementSelector: '.barn'
emailSubject: 'my current items'
emailRecipient: 'PI:EMAIL:<EMAIL>END_PI'
saveFilename: 'barn'
maxCo... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998369216918945,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | src/Unordered/AttributeMap.coffee | sjorek/goatee-rules.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... | 222311 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": "\n# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 19,
"score": 0.9996035099029541,
"start": 13,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-event-emitter-listeners-side-effects.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, m... | 21566 |
# 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, m... | 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, c... |
[
{
"context": "il\n _name: @userProfile.name\n _password: @userProfile.password\n _newPassword: @userProfile.newPassword\n ",
"end": 968,
"score": 0.9967989921569824,
"start": 947,
"tag": "PASSWORD",
"value": "@userProfile.password"
},
{
"context": "assword: @userPro... | app/coffee/controllers/authentication/edit_profile.coffee | justinpyvis/phpdraft | 0 | class EditProfileController extends BaseController
@register 'EditProfileController'
@inject '$rootScope', '$scope', '$sessionStorage', '$location', 'authenticationService', 'api', 'workingModalService', 'messageService', 'subscriptionKeys'
initialize: =>
@$scope.showPassword = false
@_loadUserProfileDa... | 34470 | class EditProfileController extends BaseController
@register 'EditProfileController'
@inject '$rootScope', '$scope', '$sessionStorage', '$location', 'authenticationService', 'api', 'workingModalService', 'messageService', 'subscriptionKeys'
initialize: =>
@$scope.showPassword = false
@_loadUserProfileDa... | true | class EditProfileController extends BaseController
@register 'EditProfileController'
@inject '$rootScope', '$scope', '$sessionStorage', '$location', 'authenticationService', 'api', 'workingModalService', 'messageService', 'subscriptionKeys'
initialize: =>
@$scope.showPassword = false
@_loadUserProfileDa... |
[
{
"context": "cess', ->\n cookies = undefined;\n himself = \"ToBeUpdateViewer3\"\n before (done) ->\n auth.login(server, ",
"end": 433,
"score": 0.9588266611099243,
"start": 416,
"tag": "USERNAME",
"value": "ToBeUpdateViewer3"
},
{
"context": "re (done) ->\n au... | test/services_tests/test_user_services.coffee | ureport-web/ureport-s | 3 | #load application models
server = require('../../app')
_ = require('underscore');
user = require('../api_objects/user_api_object')
auth = require('../api_objects/auth_api_object')
mongoose = require('mongoose')
chai = require('chai')
chaiHttp = require('chai-http')
moment = require('moment')
should = chai.should()
ch... | 187362 | #load application models
server = require('../../app')
_ = require('underscore');
user = require('../api_objects/user_api_object')
auth = require('../api_objects/auth_api_object')
mongoose = require('mongoose')
chai = require('chai')
chaiHttp = require('chai-http')
moment = require('moment')
should = chai.should()
ch... | true | #load application models
server = require('../../app')
_ = require('underscore');
user = require('../api_objects/user_api_object')
auth = require('../api_objects/auth_api_object')
mongoose = require('mongoose')
chai = require('chai')
chaiHttp = require('chai-http')
moment = require('moment')
should = chai.should()
ch... |
[
{
"context": "50.44985\n# lng: 30.523151\n# title: 'Kiev'\n# infoWindow:\n# content: '<",
"end": 947,
"score": 0.5141773819923401,
"start": 946,
"tag": "NAME",
"value": "K"
}
] | resources/assets/coffee/app.coffee | IgorBabko/dyma-v-dome-net | 0 | $ ->
$.fn.goTo = ->
$('html, body').animate({
scrollTop: ($(this).offset().top - 150)
}, 'fast')
return this
$('.price-list a').click ->
$('#' + $(this).data('id')).goTo();
$('.slick-carousel').slick
slidesToShow: 5
slidesToScroll: 1
au... | 77458 | $ ->
$.fn.goTo = ->
$('html, body').animate({
scrollTop: ($(this).offset().top - 150)
}, 'fast')
return this
$('.price-list a').click ->
$('#' + $(this).data('id')).goTo();
$('.slick-carousel').slick
slidesToShow: 5
slidesToScroll: 1
au... | true | $ ->
$.fn.goTo = ->
$('html, body').animate({
scrollTop: ($(this).offset().top - 150)
}, 'fast')
return this
$('.price-list a').click ->
$('#' + $(this).data('id')).goTo();
$('.slick-carousel').slick
slidesToShow: 5
slidesToScroll: 1
au... |
[
{
"context": "GS IN THE SOFTWARE.\n\n# Taken from hubot at commit 71d1c686d9ffdfad54751080c699979fa17190a1 and modified to fit current use.\n\n\nclass Message\n",
"end": 1166,
"score": 0.9625998735427856,
"start": 1126,
"tag": "PASSWORD",
"value": "71d1c686d9ffdfad54751080c699979fa17190a1"
... | src/message.coffee | kumpelblase2/modlab-chat | 0 | # Copyright (c) 2013 GitHub Inc.
#
# 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, merge, publish,
# dis... | 176688 | # Copyright (c) 2013 GitHub Inc.
#
# 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, merge, publish,
# dis... | true | # Copyright (c) 2013 GitHub Inc.
#
# 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, merge, publish,
# dis... |
[
{
"context": "kitchen\"\n DB_USER: \"kitchen\"\n DB_PASSWORD: \"kitchen123\"\n DB_PORT: 3306\n\n API_KEY : \"d80e06ca-376",
"end": 115,
"score": 0.9958222508430481,
"start": 105,
"tag": "PASSWORD",
"value": "kitchen123"
},
{
"context": " \"kitchen123\"\n DB_PORT: 3... | src/config.coffee | alex-chan/zuolin_kitchen | 0 | config =
DB_HOST: "localhost"
DB_NAME: "zuolin_kitchen"
DB_USER: "kitchen"
DB_PASSWORD: "kitchen123"
DB_PORT: 3306
API_KEY : "d80e06ca-3766-11e5-b18f-b083fe4e159f"
API_SECRET : "g1JOZUM3BYzWpZD5Q7p3z+i/z0nj2TcokTFx2ic53FCMRIKbMhSUCi7fSu9ZklFCZ9tlj68unxur9qmOji4tNg=="
# API_AUTHORIZE_S... | 10847 | config =
DB_HOST: "localhost"
DB_NAME: "zuolin_kitchen"
DB_USER: "kitchen"
DB_PASSWORD: "<PASSWORD>"
DB_PORT: 3306
API_KEY : "<KEY>"
API_SECRET : "<KEY>
# API_AUTHORIZE_SERVICE_URI : "http://everhomes.asuscomm.com:16666/oauth2/authorize"
# API_TOKEN_SERVICE_URI : "http://everhomes.... | true | config =
DB_HOST: "localhost"
DB_NAME: "zuolin_kitchen"
DB_USER: "kitchen"
DB_PASSWORD: "PI:PASSWORD:<PASSWORD>END_PI"
DB_PORT: 3306
API_KEY : "PI:KEY:<KEY>END_PI"
API_SECRET : "PI:KEY:<KEY>END_PI
# API_AUTHORIZE_SERVICE_URI : "http://everhomes.asuscomm.com:16666/oauth2/authorize"
# ... |
[
{
"context": "\n url: \"http://new.com\"\n name: \"New name\"\n\n Helper.put \"/sequences/4ed2b809d74",
"end": 3089,
"score": 0.6430726051330566,
"start": 3086,
"tag": "NAME",
"value": "New"
}
] | server/test/api/sequences.coffee | makeusabrew/freezer | 0 | assert = require "../../../test/lib/assert"
Helper = require "../lib/helper"
server = require("../../api").start 9876
Helper.host = "http://localhost:9876"
before (done) -> Helper.start done
describe "REST API - Sequences Resource", ->
beforeEach ->
@sequence =
_id: Helper._id "4ed2b809d7446b9a0e0000... | 207659 | assert = require "../../../test/lib/assert"
Helper = require "../lib/helper"
server = require("../../api").start 9876
Helper.host = "http://localhost:9876"
before (done) -> Helper.start done
describe "REST API - Sequences Resource", ->
beforeEach ->
@sequence =
_id: Helper._id "4ed2b809d7446b9a0e0000... | true | assert = require "../../../test/lib/assert"
Helper = require "../lib/helper"
server = require("../../api").start 9876
Helper.host = "http://localhost:9876"
before (done) -> Helper.start done
describe "REST API - Sequences Resource", ->
beforeEach ->
@sequence =
_id: Helper._id "4ed2b809d7446b9a0e0000... |
[
{
"context": "ntent` or `bullet` class as appropriate.\n# @author Douglas Armstrong\nclass c3.Legend extends c3.Base\n @version: 0.2",
"end": 793,
"score": 0.9998372793197632,
"start": 776,
"tag": "NAME",
"value": "Douglas Armstrong"
},
{
"context": "rts\n# @todo Support for decim... | js/c3-legend.coffee | jordalgo/chartcollection | 29 | # C3 Visualization Library
# Legends
###################################################################
# Legend
###################################################################
# A Legend to display a list of items.
#
# It is important to set `item_options.text` or `item_options.html` to define how to
# display... | 43663 | # C3 Visualization Library
# Legends
###################################################################
# Legend
###################################################################
# A Legend to display a list of items.
#
# It is important to set `item_options.text` or `item_options.html` to define how to
# display... | true | # C3 Visualization Library
# Legends
###################################################################
# Legend
###################################################################
# A Legend to display a list of items.
#
# It is important to set `item_options.text` or `item_options.html` to define how to
# display... |
[
{
"context": "# Copyright(c) 2015 Christopher Rueber <crueber@gmail.com>\n# MIT Licensed\n\nmodule.export",
"end": 38,
"score": 0.9998821020126343,
"start": 20,
"tag": "NAME",
"value": "Christopher Rueber"
},
{
"context": "# Copyright(c) 2015 Christopher Rueber <crueber@gmail.com>\n#... | src/index.coffee | crueber/SimpleCircuitBreaker | 0 | # Copyright(c) 2015 Christopher Rueber <crueber@gmail.com>
# MIT Licensed
module.exports = require './circuit-breaker'
| 145065 | # Copyright(c) 2015 <NAME> <<EMAIL>>
# MIT Licensed
module.exports = require './circuit-breaker'
| true | # Copyright(c) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MIT Licensed
module.exports = require './circuit-breaker'
|
[
{
"context": "talog ->\n book (id : 'bk101'), ->\n author -> 'Gambardella, Matthew'\n title -> 'XML Developer\\'s Guide'\n genre ",
"end": 72,
"score": 0.9396416544914246,
"start": 52,
"tag": "NAME",
"value": "Gambardella, Matthew"
},
{
"context": "h XML.'\n\n book (id : '... | test/fixtures/xml.coffee | venkatperi/coffee-dsl | 0 | catalog ->
book (id : 'bk101'), ->
author -> 'Gambardella, Matthew'
title -> 'XML Developer\'s Guide'
genre -> 'Computer'
price ->
MSRP -> '44.95'
current -> '39.95'
date (type: 'publish'), -> '2000-10-01'
description -> 'An in-depth look at creating applications with XML.'
book... | 164903 | catalog ->
book (id : 'bk101'), ->
author -> '<NAME>'
title -> 'XML Developer\'s Guide'
genre -> 'Computer'
price ->
MSRP -> '44.95'
current -> '39.95'
date (type: 'publish'), -> '2000-10-01'
description -> 'An in-depth look at creating applications with XML.'
book (id : 'bk102'... | true | catalog ->
book (id : 'bk101'), ->
author -> 'PI:NAME:<NAME>END_PI'
title -> 'XML Developer\'s Guide'
genre -> 'Computer'
price ->
MSRP -> '44.95'
current -> '39.95'
date (type: 'publish'), -> '2000-10-01'
description -> 'An in-depth look at creating applications with XML.'
book... |
[
{
"context": "{leads} = enums\n\n storylet 'roxyStart',\n 'Roxy Malone, big-time gangster'\n '''\n There are thr",
"end": 220,
"score": 0.9928526878356934,
"start": 209,
"tag": "NAME",
"value": "Roxy Malone"
},
{
"context": " everything else?\n Everything else ... | src/coffee/game/roxy.coffee | arashikou/exper3-2015 | 0 | angular.module 'gameDefinition.roxyStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, choice, reqs, consq} = qbnEdsl
{leads} = enums
storylet 'roxyStart',
'Roxy Malone, big-time gangster'
'''
There are three big gangs in the city. North of the river belon... | 6692 | angular.module 'gameDefinition.roxyStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, choice, reqs, consq} = qbnEdsl
{leads} = enums
storylet 'roxyStart',
'<NAME>, big-time gangster'
'''
There are three big gangs in the city. North of the river belongs to... | true | angular.module 'gameDefinition.roxyStories', ['qbn.edsl', 'gameDefinition.enums']
.run (qbnEdsl, enums) ->
{storylet, choice, reqs, consq} = qbnEdsl
{leads} = enums
storylet 'roxyStart',
'PI:NAME:<NAME>END_PI, big-time gangster'
'''
There are three big gangs in the city. North of the ri... |
[
{
"context": " collections = ko.observableArray()\n\n randomKey = Math.random()\n\n register = (collection) ->\n collec",
"end": 946,
"score": 0.6332365870475769,
"start": 942,
"tag": "KEY",
"value": "Math"
},
{
"context": "ctions = ko.observableArray()\n\n randomKey = Math.ran... | app/assets/javascripts/models/data/collection.js.coffee | kant/earthdata-search | 1 | #= require models/data/granules
#= require models/data/service_options
#= require models/handoff/giovanni
ns = @edsc.models.data
ns.Collection = do (ko
DetailsModel = @edsc.models.DetailsModel
scalerUrl = @edsc.config.browseScalerUrl
thumbnailWidth = @edsc.config.th... | 185711 | #= require models/data/granules
#= require models/data/service_options
#= require models/handoff/giovanni
ns = @edsc.models.data
ns.Collection = do (ko
DetailsModel = @edsc.models.DetailsModel
scalerUrl = @edsc.config.browseScalerUrl
thumbnailWidth = @edsc.config.th... | true | #= require models/data/granules
#= require models/data/service_options
#= require models/handoff/giovanni
ns = @edsc.models.data
ns.Collection = do (ko
DetailsModel = @edsc.models.DetailsModel
scalerUrl = @edsc.config.browseScalerUrl
thumbnailWidth = @edsc.config.th... |
[
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @author Teddy Hong",
"end": 27,
"score": 0.999897301197052,
"start": 15,
"tag": "NAME",
"value": "Argi Karunia"
},
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @author Teddy Hong ... | src/router.coffee | tokopedia/nodame | 2 | ###
# @author Argi Karunia <https://github.com/hkyo89>
# @author Teddy Hong <teddy.hong11@gmail.com>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
MODULES = nodame.config('module')
Session = require('./session')
class Router
locals: (req, res,... | 200673 | ###
# @author <NAME> <https://github.com/hkyo89>
# @author <NAME> <<EMAIL>>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
MODULES = nodame.config('module')
Session = require('./session')
class Router
locals: (req, res, next) ->
if req.quer... | true | ###
# @author PI:NAME:<NAME>END_PI <https://github.com/hkyo89>
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
MODULES = nodame.config('module')
Session = require('./session')
class Router
... |
[
{
"context": "ail) ->\n\n accountInstance = new Account('foo@example.com')\n accountPlain = {}\n for key, ",
"end": 8960,
"score": 0.9998964071273804,
"start": 8945,
"tag": "EMAIL",
"value": "foo@example.com"
},
{
"context": ">\n class Account\n ... | spec/unpoly/util_spec.js.coffee | adam12/unpoly | 0 | u = up.util
e = up.element
$ = jQuery
describe 'up.util', ->
describe 'JavaScript functions', ->
describe 'up.util.isEqual', ->
describe 'for an Element', ->
it 'returns true for the same Element reference', ->
div = document.createElement('div')
expect(up.util.isEqual(div, ... | 15891 | u = up.util
e = up.element
$ = jQuery
describe 'up.util', ->
describe 'JavaScript functions', ->
describe 'up.util.isEqual', ->
describe 'for an Element', ->
it 'returns true for the same Element reference', ->
div = document.createElement('div')
expect(up.util.isEqual(div, ... | true | u = up.util
e = up.element
$ = jQuery
describe 'up.util', ->
describe 'JavaScript functions', ->
describe 'up.util.isEqual', ->
describe 'for an Element', ->
it 'returns true for the same Element reference', ->
div = document.createElement('div')
expect(up.util.isEqual(div, ... |
[
{
"context": "###\nCopyright 2016 Resin.io\n\nLicensed under the Apache License, Version 2.0 (",
"end": 27,
"score": 0.7747095227241516,
"start": 19,
"tag": "NAME",
"value": "Resin.io"
}
] | packages/resin-settings-storage/lib/local-storage.coffee | resin-io-playground/resin-sdk-lerna | 0 | ###
Copyright 2016 Resin.io
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | 109632 | ###
Copyright 2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
[
{
"context": "t alert to silence\", ->\n @room.user.say('alice', '@hubot set centerdevice deployment alert to bl",
"end": 509,
"score": 0.663211464881897,
"start": 504,
"tag": "USERNAME",
"value": "alice"
},
{
"context": " expect(@room.messages).to.eql [\n ['al... | test/centerdevice-test.coffee | CenterDevice/hubot-centerdevice | 0 | Helper = require('hubot-test-helper')
chai = require 'chai'
Promise = require('bluebird')
co = require('co')
expect = chai.expect
process.env.EXPRESS_PORT = 18080
api_call_delay = 20
customMessages = []
describe 'centerdevice', ->
beforeEach ->
@room = setup_test_env {}
afterEach ->
tear_down_test_env... | 91200 | Helper = require('hubot-test-helper')
chai = require 'chai'
Promise = require('bluebird')
co = require('co')
expect = chai.expect
process.env.EXPRESS_PORT = 18080
api_call_delay = 20
customMessages = []
describe 'centerdevice', ->
beforeEach ->
@room = setup_test_env {}
afterEach ->
tear_down_test_env... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
Promise = require('bluebird')
co = require('co')
expect = chai.expect
process.env.EXPRESS_PORT = 18080
api_call_delay = 20
customMessages = []
describe 'centerdevice', ->
beforeEach ->
@room = setup_test_env {}
afterEach ->
tear_down_test_env... |
[
{
"context": " _roleId: 2\n phone: '13011111111'\n email: '13011111111@teambition.com'\n name: '13011111111'\n ,\n _id: '55f7d19c85",
"end": 420,
"score": 0.9999130368232727,
"start": 394,
"tag": "EMAIL",
"value": "13011111111@teambition.com"
},
{
"context": " email: ... | talk-api2x/test/servers/teambition.coffee | ikingye/talk-os | 3,084 | express = require 'express'
_ = require 'lodash'
module.exports = app = express()
tbOrgs =
'55f7d19c85efe377996a113f':
_id: "55f7d19c85efe377996a113f"
name: "orgz1"
'55f7d19c85efe377996a114f':
_id: "55f7d19c85efe377996a114f"
name: "orgz2"
tbMembers =
"55f7d19c85efe377996a113f": [
_id: '55f7... | 223582 | express = require 'express'
_ = require 'lodash'
module.exports = app = express()
tbOrgs =
'55f7d19c85efe377996a113f':
_id: "55f7d19c85efe377996a113f"
name: "orgz1"
'55f7d19c85efe377996a114f':
_id: "55f7d19c85efe377996a114f"
name: "orgz2"
tbMembers =
"55f7d19c85efe377996a113f": [
_id: '55f7... | true | express = require 'express'
_ = require 'lodash'
module.exports = app = express()
tbOrgs =
'55f7d19c85efe377996a113f':
_id: "55f7d19c85efe377996a113f"
name: "orgz1"
'55f7d19c85efe377996a114f':
_id: "55f7d19c85efe377996a114f"
name: "orgz2"
tbMembers =
"55f7d19c85efe377996a113f": [
_id: '55f7... |
[
{
"context": "ype: #{compression}\\n\"\n # TODO: 12.4.2007 (tmason@wesabe.com) - use nsIStreamConverterService\n # (@mozi",
"end": 2014,
"score": 0.9999292492866516,
"start": 1997,
"tag": "EMAIL",
"value": "tmason@wesabe.com"
}
] | application/components/wesabe-sniffer.coffee | wesabe/ssu | 28 | #
# Wesabe Firefox Uploader
# Copyright (C) 2007 Wesabe, Inc.
#
# This program 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 2
# of the License, or (at your option) any later version.
#
# This... | 131658 | #
# Wesabe Firefox Uploader
# Copyright (C) 2007 Wesabe, Inc.
#
# This program 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 2
# of the License, or (at your option) any later version.
#
# This... | true | #
# Wesabe Firefox Uploader
# Copyright (C) 2007 Wesabe, Inc.
#
# This program 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 2
# of the License, or (at your option) any later version.
#
# This... |
[
{
"context": " line breaks inside function parentheses\n# @author Teddy Katz\n###\n'use strict'\n\n#------------------------------",
"end": 100,
"score": 0.9998285174369812,
"start": 90,
"tag": "NAME",
"value": "Teddy Katz"
},
{
"context": "]\n ,\n # TODO: uncomment if https://gi... | src/tests/rules/function-paren-newline.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview enforce consistent line breaks inside function parentheses
# @author Teddy Katz
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rul... | 222756 | ###*
# @fileoverview enforce consistent line breaks inside function parentheses
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/f... | true | ###*
# @fileoverview enforce consistent line breaks inside function parentheses
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require ... |
[
{
"context": "', {\n all: '*',\n admin: 'admin',\n user: 'user',\n guest: 'guest'\n })\n .config ($stateProvid",
"end": 769,
"score": 0.955430269241333,
"start": 765,
"tag": "USERNAME",
"value": "user"
},
{
"context": "tId: 'c4be427f880b3ba97f0b',\n clientSecret: '... | app/scripts/app.coffee | calebhskim/expresso | 0 | 'use strict'
###*
# @ngdoc overview
# @name expressoApp
# @description
# # expressoApp
#
# Main module of the application.
###
angular
.module 'expressoApp', [
'ngAnimate',
'ngCookies',
'ngResource',
'ngSanitize',
'ngStorage',
'ngTouch',
'ui.router',
'angular-oauth2',
'ui.bo... | 220748 | 'use strict'
###*
# @ngdoc overview
# @name expressoApp
# @description
# # expressoApp
#
# Main module of the application.
###
angular
.module 'expressoApp', [
'ngAnimate',
'ngCookies',
'ngResource',
'ngSanitize',
'ngStorage',
'ngTouch',
'ui.router',
'angular-oauth2',
'ui.bo... | true | 'use strict'
###*
# @ngdoc overview
# @name expressoApp
# @description
# # expressoApp
#
# Main module of the application.
###
angular
.module 'expressoApp', [
'ngAnimate',
'ngCookies',
'ngResource',
'ngSanitize',
'ngStorage',
'ngTouch',
'ui.router',
'angular-oauth2',
'ui.bo... |
[
{
"context": "'error.accounts.Incorrect password': 'Enter better password'}\nT9n.map 'en_GB_pidgin_us', {'error.accounts.Inc",
"end": 586,
"score": 0.5302287340164185,
"start": 578,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "idgin_us', {'error.accounts.Incorrect password... | examples/meteorPackage/server/testLanguageVariant.coffee | coWorkr-InSights/meteor-accounts-t9n | 0 | T9n.language = 'en'
equals T9n.get('error.accounts.Incorrect password'), 'Incorrect password'
T9n.map 'en_GB', 'error.accounts.Incorrect password': 'You might want to enter a more correct version of your password'
T9n.language = 'en_GB'
equals T9n.get('error.accounts.Incorrect password'), 'You might want to enter a mo... | 118253 | T9n.language = 'en'
equals T9n.get('error.accounts.Incorrect password'), 'Incorrect password'
T9n.map 'en_GB', 'error.accounts.Incorrect password': 'You might want to enter a more correct version of your password'
T9n.language = 'en_GB'
equals T9n.get('error.accounts.Incorrect password'), 'You might want to enter a mo... | true | T9n.language = 'en'
equals T9n.get('error.accounts.Incorrect password'), 'Incorrect password'
T9n.map 'en_GB', 'error.accounts.Incorrect password': 'You might want to enter a more correct version of your password'
T9n.language = 'en_GB'
equals T9n.get('error.accounts.Incorrect password'), 'You might want to enter a mo... |
[
{
"context": "###\n QuoJS 2.1\n (c) 2011, 2012 Javi Jiménez Villar (@soyjavi)\n http://quojs.tapquo.com\n###\n\n(($$) -",
"end": 52,
"score": 0.9998676776885986,
"start": 33,
"tag": "NAME",
"value": "Javi Jiménez Villar"
},
{
"context": "#\n QuoJS 2.1\n (c) 2011, 2012 Javi Jimén... | src/QuoJS/src/quo.events.coffee | biojazzard/kirbout | 2 | ###
QuoJS 2.1
(c) 2011, 2012 Javi Jiménez Villar (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
READY_EXPRESSION = /complete|loaded|interactive/
SHORTCUTS = [ "touch", "tap" ]
SHORTCUTS_EVENTS =
touch: "touchstart"
tap: "tap"
SHORTCUTS.forEach (event) ->
$$.fn[event] = ... | 15691 | ###
QuoJS 2.1
(c) 2011, 2012 <NAME> (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
READY_EXPRESSION = /complete|loaded|interactive/
SHORTCUTS = [ "touch", "tap" ]
SHORTCUTS_EVENTS =
touch: "touchstart"
tap: "tap"
SHORTCUTS.forEach (event) ->
$$.fn[event] = (callback) ->... | true | ###
QuoJS 2.1
(c) 2011, 2012 PI:NAME:<NAME>END_PI (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
READY_EXPRESSION = /complete|loaded|interactive/
SHORTCUTS = [ "touch", "tap" ]
SHORTCUTS_EVENTS =
touch: "touchstart"
tap: "tap"
SHORTCUTS.forEach (event) ->
$$.fn[event] =... |
[
{
"context": "###\n Pokemon Go(c) MITM node proxy\n by Michael Strassburger <codepoet@cpan.org>\n\n This example replaces all ",
"end": 61,
"score": 0.9998809099197388,
"start": 41,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " Go(c) MITM node proxy\n by Michae... | example.replacePokemons.coffee | BuloZB/pokemon-go-mitm-node | 393 | ###
Pokemon Go(c) MITM node proxy
by Michael Strassburger <codepoet@cpan.org>
This example replaces all your pokemons with Mew, Mewto, Dragonite, ...
Be aware: this is just visible to you and won't gain you any special powers
all display pokemons will act as their original ones
###
PokemonGoMITM ... | 97897 | ###
Pokemon Go(c) MITM node proxy
by <NAME> <<EMAIL>>
This example replaces all your pokemons with Mew, Mewto, Dragonite, ...
Be aware: this is just visible to you and won't gain you any special powers
all display pokemons will act as their original ones
###
PokemonGoMITM = require './lib/pokemon... | true | ###
Pokemon Go(c) MITM node proxy
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
This example replaces all your pokemons with Mew, Mewto, Dragonite, ...
Be aware: this is just visible to you and won't gain you any special powers
all display pokemons will act as their original ones
###
PokemonGo... |
[
{
"context": " jid: config.thing\n password: config.password\n host: config.host\n port: c",
"end": 880,
"score": 0.9985297322273254,
"start": 865,
"tag": "PASSWORD",
"value": "config.password"
},
{
"context": " jid: config.owner\n ... | test/001-register-unregister.coffee | TNO-IoT/testing-xep-0347 | 0 | # Tests if the server component complies to
# https://xmpp.org/extensions/xep-0347.html
#
# This set test some basic functions for registration, claim,
# search, update, disown and unregister functions.
#
ltx = require('node-xmpp-core').ltx
Client = require 'node-xmpp-client'
bunyan = require 'bunyan'
shortId = requir... | 186866 | # Tests if the server component complies to
# https://xmpp.org/extensions/xep-0347.html
#
# This set test some basic functions for registration, claim,
# search, update, disown and unregister functions.
#
ltx = require('node-xmpp-core').ltx
Client = require 'node-xmpp-client'
bunyan = require 'bunyan'
shortId = requir... | true | # Tests if the server component complies to
# https://xmpp.org/extensions/xep-0347.html
#
# This set test some basic functions for registration, claim,
# search, update, disown and unregister functions.
#
ltx = require('node-xmpp-core').ltx
Client = require 'node-xmpp-client'
bunyan = require 'bunyan'
shortId = requir... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.6924333572387695,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/loading/GlobalLoadingIndicator.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 5669 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": "cument.activeElement.type != 'url'\n key = String.fromCharCode(e.which)\n\n if key >= 1 && key <= 9 && sc",
"end": 1297,
"score": 0.8692470788955688,
"start": 1278,
"tag": "KEY",
"value": "String.fromCharCode"
}
] | app/coffee/directives/speed_dial_directive.coffee | waffleau/simple-speed-dial | 2 | speedDial = ($window) ->
return {
restrict : 'A'
link: (scope, elem, width) ->
calculateSizes = () ->
dialColumns = localStorage.getItem('dial_columns')
dialWidth = localStorage.getItem('dial_width')
bookmarkMargin = 20
minEntryWidth = 120
# Assign sizes to the... | 83195 | speedDial = ($window) ->
return {
restrict : 'A'
link: (scope, elem, width) ->
calculateSizes = () ->
dialColumns = localStorage.getItem('dial_columns')
dialWidth = localStorage.getItem('dial_width')
bookmarkMargin = 20
minEntryWidth = 120
# Assign sizes to the... | true | speedDial = ($window) ->
return {
restrict : 'A'
link: (scope, elem, width) ->
calculateSizes = () ->
dialColumns = localStorage.getItem('dial_columns')
dialWidth = localStorage.getItem('dial_width')
bookmarkMargin = 20
minEntryWidth = 120
# Assign sizes to the... |
[
{
"context": "###\n# CoffeeScript implementation of nano.js by kaustavha\n# Nano is a templating engine by Tomasz Mazur & J",
"end": 57,
"score": 0.9892288446426392,
"start": 48,
"tag": "USERNAME",
"value": "kaustavha"
},
{
"context": "o.js by kaustavha\n# Nano is a templating engine... | src/scripts/nano.coffee | kaustavha/twitter-fontana | 1 | ###
# CoffeeScript implementation of nano.js by kaustavha
# Nano is a templating engine by Tomasz Mazur & Jacek Bacela
# https://github.com/trix/nano
###
nano = (template, data) ->
template.replace /\{([\w\.]*)\}/g, (str, key) ->
keys = key.split("."); v = data[keys.shift()]; v = v[key] for key in keys ... | 82620 | ###
# CoffeeScript implementation of nano.js by kaustavha
# Nano is a templating engine by <NAME> & <NAME>
# https://github.com/trix/nano
###
nano = (template, data) ->
template.replace /\{([\w\.]*)\}/g, (str, key) ->
keys = key.split("."); v = data[keys.shift()]; v = v[key] for key in keys
... | true | ###
# CoffeeScript implementation of nano.js by kaustavha
# Nano is a templating engine by PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
# https://github.com/trix/nano
###
nano = (template, data) ->
template.replace /\{([\w\.]*)\}/g, (str, key) ->
keys = key.split("."); v = data[keys.shift()]; v = v[key] for... |
[
{
"context": "# Check My Links by Paul Livingstone\n# @ocodia\n\nremoveClassFromElements = (classname) ",
"end": 36,
"score": 0.99983811378479,
"start": 20,
"tag": "NAME",
"value": "Paul Livingstone"
},
{
"context": "# Check My Links by Paul Livingstone\n# @ocodia\n\nremoveClassFromE... | check.coffee | misak1/Css-Viewer-plus | 0 | # Check My Links by Paul Livingstone
# @ocodia
removeClassFromElements = (classname) ->
x = document.getElementsByClassName(classname)
i = undefined
i = 0
while i < x.length
x[i].classList.remove classname
i++
return
removeElementsByClass = (className) ->
elements = document.getElementsByClassName... | 24102 | # Check My Links by <NAME>
# @ocodia
removeClassFromElements = (classname) ->
x = document.getElementsByClassName(classname)
i = undefined
i = 0
while i < x.length
x[i].classList.remove classname
i++
return
removeElementsByClass = (className) ->
elements = document.getElementsByClassName(className... | true | # Check My Links by PI:NAME:<NAME>END_PI
# @ocodia
removeClassFromElements = (classname) ->
x = document.getElementsByClassName(classname)
i = undefined
i = 0
while i < x.length
x[i].classList.remove classname
i++
return
removeElementsByClass = (className) ->
elements = document.getElementsByClass... |
[
{
"context": "###\nCopyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(",
"end": 36,
"score": 0.9998490810394287,
"start": 24,
"tag": "NAME",
"value": "Bill Burdick"
},
{
"context": ", Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(lic... | METEOR-OLD/private/build/runtime.coffee | zot/Leisure | 58 | ###
Copyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyo... | 75452 | ###
Copyright (C) 2013, <NAME>, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to ... | true | ###
Copyright (C) 2013, PI:NAME:<NAME>END_PI, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted... |
[
{
"context": "e: 'string'\n\n product = new @Product({name: 'apple'})\n expect(product.update({select: 'name'}))",
"end": 3512,
"score": 0.7404853105545044,
"start": 3507,
"tag": "NAME",
"value": "apple"
},
{
"context": ".get('/api/products')\n .reply(201, {name: 'ap... | test/validation.test.coffee | goodeggs/resource-client | 1 | chai = require 'chai'
chai.use require 'chai-as-promised'
expect = chai.expect
nock = require 'nock'
request = require 'request'
resourceClient = require '..'
Promise = require 'bluebird'
serverUrl = 'http://resource-client.com'
describe 'resource-client validation', ->
describe 'validating urlParamsSchema', ->
... | 180688 | chai = require 'chai'
chai.use require 'chai-as-promised'
expect = chai.expect
nock = require 'nock'
request = require 'request'
resourceClient = require '..'
Promise = require 'bluebird'
serverUrl = 'http://resource-client.com'
describe 'resource-client validation', ->
describe 'validating urlParamsSchema', ->
... | true | chai = require 'chai'
chai.use require 'chai-as-promised'
expect = chai.expect
nock = require 'nock'
request = require 'request'
resourceClient = require '..'
Promise = require 'bluebird'
serverUrl = 'http://resource-client.com'
describe 'resource-client validation', ->
describe 'validating urlParamsSchema', ->
... |
[
{
"context": "###\n @author (at)taikiken / http://inazumatv.com\n Copyright (c) 2",
"end": 17,
"score": 0.9131895899772644,
"start": 15,
"tag": "USERNAME",
"value": "at"
},
{
"context": "###\n @author (at)taikiken / http://inazumatv.com\n Copyright (c) 2011-2015 ",
"end": 26,... | tasks/babels.coffee | taikiken/kizami.js | 0 | ###
@author (at)taikiken / http://inazumatv.com
Copyright (c) 2011-2015 inazumatv.com
Licensed under the Apache License, Version 2.0 (the "License");
https://www.apache.org/licenses/LICENSE-2.0
###
###
Babels + Webpack
###
setting = require '../setting'
# gulp / module
gulp = setting.gulp
# load-plugins
... | 213798 | ###
@author (at)<NAME> / http://inazumatv.com
Copyright (c) 2011-2015 inazumatv.com
Licensed under the Apache License, Version 2.0 (the "License");
https://www.apache.org/licenses/LICENSE-2.0
###
###
Babels + Webpack
###
setting = require '../setting'
# gulp / module
gulp = setting.gulp
# load-plugins
$ ... | true | ###
@author (at)PI:NAME:<NAME>END_PI / http://inazumatv.com
Copyright (c) 2011-2015 inazumatv.com
Licensed under the Apache License, Version 2.0 (the "License");
https://www.apache.org/licenses/LICENSE-2.0
###
###
Babels + Webpack
###
setting = require '../setting'
# gulp / module
gulp = setting.gulp
# l... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999138712882996,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/changelog-index.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 './changelog-index/main'
reactTurbolinks.registerPersistent 'changelog-index', Main, true, (el) ->
container: el
update... | 38153 | # 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 './changelog-index/main'
reactTurbolinks.registerPersistent 'changelog-index', Main, true, (el) ->
container: el
updateStreams... | 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 './changelog-index/main'
reactTurbolinks.registerPersistent 'changelog-index', Main, true, (el) ->
container: el
... |
[
{
"context": " ### extends [NPM:MPBasic](https://cdn.rawgit.com/mpneuried/mpbaisc/master/_docs/index.coffee.html)\n#\n# ### E",
"end": 78,
"score": 0.9997347593307495,
"start": 69,
"tag": "USERNAME",
"value": "mpneuried"
},
{
"context": "s\n\tdefaults: =>\n\t\t@extend super,\n\t\t\tk... | _src/lib/mailbuffer.coffee | mpneuried/redis-notifications | 30 | ## # RNMailBuffer
# ### extends [NPM:MPBasic](https://cdn.rawgit.com/mpneuried/mpbaisc/master/_docs/index.coffee.html)
#
# ### Exports: *Class*
#
# Main Module to init the notifications to redis
#
# **npm modules**
moment = require( "moment-timezone" )
# [utils](./utils.coffee.html)
utils = require( "./utils" )
cla... | 194064 | ## # RNMailBuffer
# ### extends [NPM:MPBasic](https://cdn.rawgit.com/mpneuried/mpbaisc/master/_docs/index.coffee.html)
#
# ### Exports: *Class*
#
# Main Module to init the notifications to redis
#
# **npm modules**
moment = require( "moment-timezone" )
# [utils](./utils.coffee.html)
utils = require( "./utils" )
cla... | true | ## # RNMailBuffer
# ### extends [NPM:MPBasic](https://cdn.rawgit.com/mpneuried/mpbaisc/master/_docs/index.coffee.html)
#
# ### Exports: *Class*
#
# Main Module to init the notifications to redis
#
# **npm modules**
moment = require( "moment-timezone" )
# [utils](./utils.coffee.html)
utils = require( "./utils" )
cla... |
[
{
"context": "er.login = prenom[0] + nom\n $scope.user.email = \"#{prenom}.#{nom}@ens-lyon.fr\"\n\n $scope.$watch \"user.prenom\", calculLoginAndMa",
"end": 758,
"score": 0.9701039791107178,
"start": 729,
"tag": "EMAIL",
"value": "\"#{prenom}.#{nom}@ens-lyon.fr"
}
] | app/scripts/controllers/LoggedRfCreateUserCtrl.coffee | dreimert/foyer | 2 | angular = require 'angular'
angular.module "ardoise.controllers"
.controller "LoggedRfCreateUserCtrl", ($scope, $http) ->
$scope.departements = [
"Informatique"
"Mathématiques"
"Biologie"
"Geologie"
"Physique"
"Chimie"
"Arts"
"Langues, littératures et civilisation étrangères"
"Let... | 157392 | angular = require 'angular'
angular.module "ardoise.controllers"
.controller "LoggedRfCreateUserCtrl", ($scope, $http) ->
$scope.departements = [
"Informatique"
"Mathématiques"
"Biologie"
"Geologie"
"Physique"
"Chimie"
"Arts"
"Langues, littératures et civilisation étrangères"
"Let... | true | angular = require 'angular'
angular.module "ardoise.controllers"
.controller "LoggedRfCreateUserCtrl", ($scope, $http) ->
$scope.departements = [
"Informatique"
"Mathématiques"
"Biologie"
"Geologie"
"Physique"
"Chimie"
"Arts"
"Langues, littératures et civilisation étrangères"
"Let... |
[
{
"context": " and imbedded uppercased word\nMY_DOG = \" My dog, Tommy, is a really smart dog. \"\n\n\ndescribe \"weakly",
"end": 149,
"score": 0.9995082020759583,
"start": 144,
"tag": "NAME",
"value": "Tommy"
}
] | test/weaklyEqual.coffee | littlebee/bumble-strings | 0 |
BStr = require('../src/bumble-strings')
debugger
# test value with extra spaces everywhere and imbedded uppercased word
MY_DOG = " My dog, Tommy, is a really smart dog. "
describe "weaklyEqual()", ->
it "should weakly equal itself", ->
assert BStr.weaklyEqual(MY_DOG, MY_DOG)
it "should weakly e... | 83124 |
BStr = require('../src/bumble-strings')
debugger
# test value with extra spaces everywhere and imbedded uppercased word
MY_DOG = " My dog, <NAME>, is a really smart dog. "
describe "weaklyEqual()", ->
it "should weakly equal itself", ->
assert BStr.weaklyEqual(MY_DOG, MY_DOG)
it "should weakly ... | true |
BStr = require('../src/bumble-strings')
debugger
# test value with extra spaces everywhere and imbedded uppercased word
MY_DOG = " My dog, PI:NAME:<NAME>END_PI, is a really smart dog. "
describe "weaklyEqual()", ->
it "should weakly equal itself", ->
assert BStr.weaklyEqual(MY_DOG, MY_DOG)
it "... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is su",
"end": 19,
"score": 0.6103572845458984,
"start": 16,
"tag": "NAME",
"value": "Kon"
},
{
"context": "thor: progEvent.get('author')\n\t\t\t\t\t\t\t\t\tclientName: clientName\n\t\t\t\t\t\t\t\t\tprogra... | src/exportManagerTab.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
# Tab layer for exporting data to CSV/etc
Async = require 'async'
Imm = require 'immutable'
Fs = require 'graceful-fs'... | 151688 | # Copyright (c) <NAME>ode. 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
# Tab layer for exporting data to CSV/etc
Async = require 'async'
Imm = require 'immutable'
Fs = require 'graceful-... | true | # Copyright (c) PI:NAME:<NAME>END_PIode. 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
# Tab layer for exporting data to CSV/etc
Async = require 'async'
Imm = require 'immutable'
Fs = requ... |
[
{
"context": "56).toString('hex').match(/.{1,128}/g)\n key = \"#{path.join(\"/\")}.png\"\n\n unless blob.length\n error(\"No imag",
"end": 1835,
"score": 0.9057011008262634,
"start": 1813,
"tag": "KEY",
"value": "\"#{path.join(\"/\")}.png"
},
{
"context": "56).toStri... | lib/bot.coffee | Global19/looker-slackbot | 5 | Botkit = require('botkit')
getUrls = require('get-urls')
AWS = require('aws-sdk')
AzureStorage = require('azure-storage')
crypto = require('crypto')
_ = require('underscore')
SlackUtils = require('./slack_utils')
LookerClient = require('./looker_client')
ReplyContext = require('./reply_context')
CLIQueryRunner = requ... | 68992 | Botkit = require('botkit')
getUrls = require('get-urls')
AWS = require('aws-sdk')
AzureStorage = require('azure-storage')
crypto = require('crypto')
_ = require('underscore')
SlackUtils = require('./slack_utils')
LookerClient = require('./looker_client')
ReplyContext = require('./reply_context')
CLIQueryRunner = requ... | true | Botkit = require('botkit')
getUrls = require('get-urls')
AWS = require('aws-sdk')
AzureStorage = require('azure-storage')
crypto = require('crypto')
_ = require('underscore')
SlackUtils = require('./slack_utils')
LookerClient = require('./looker_client')
ReplyContext = require('./reply_context')
CLIQueryRunner = requ... |
[
{
"context": "###\n@author sewerganger <wanghan9423@outlook.com>\n@copyright random\n@vers",
"end": 23,
"score": 0.9975939989089966,
"start": 12,
"tag": "USERNAME",
"value": "sewerganger"
},
{
"context": "###\n@author sewerganger <wanghan9423@outlook.com>\n@copyright random\n@version... | src/app.coffee | sewerlabour/ggit-gitgui-tool-master | 0 | ###
@author sewerganger <wanghan9423@outlook.com>
@copyright random
@version 0.01
@license MIT
@description build a git gui tool on broswer
###
express = require 'express'
{ setStaticPath, setPostData, setOpenIndex } = require './config/config'
app = express()
setStaticPath app
setPostData app
setOpenIndex app
mod... | 224182 | ###
@author sewerganger <<EMAIL>>
@copyright random
@version 0.01
@license MIT
@description build a git gui tool on broswer
###
express = require 'express'
{ setStaticPath, setPostData, setOpenIndex } = require './config/config'
app = express()
setStaticPath app
setPostData app
setOpenIndex app
module.exports = ap... | true | ###
@author sewerganger <PI:EMAIL:<EMAIL>END_PI>
@copyright random
@version 0.01
@license MIT
@description build a git gui tool on broswer
###
express = require 'express'
{ setStaticPath, setPostData, setOpenIndex } = require './config/config'
app = express()
setStaticPath app
setPostData app
setOpenIndex app
modu... |
[
{
"context": " filePath: mp3\n host: \"127.0.0.1\"\n port: sa_info.source_port\n ",
"end": 1127,
"score": 0.9997307658195496,
"start": 1118,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " sa_info.source_port\n ... | test/standalone.coffee | VandeurenGlenn/StreamMachine | 0 | StandaloneHelper = require "./helpers/standalone"
StreamListener = $src "util/stream_listener"
IcecastSource = $src "util/icecast_source"
mp3 = $file "mp3/mp3-44100-128-s.mp3"
debug = require("debug")("sm:tests:standalone")
request = require "request"
describe "Standalone Mode", ->
sa_info = null
... | 53371 | StandaloneHelper = require "./helpers/standalone"
StreamListener = $src "util/stream_listener"
IcecastSource = $src "util/icecast_source"
mp3 = $file "mp3/mp3-44100-128-s.mp3"
debug = require("debug")("sm:tests:standalone")
request = require "request"
describe "Standalone Mode", ->
sa_info = null
... | true | StandaloneHelper = require "./helpers/standalone"
StreamListener = $src "util/stream_listener"
IcecastSource = $src "util/icecast_source"
mp3 = $file "mp3/mp3-44100-128-s.mp3"
debug = require("debug")("sm:tests:standalone")
request = require "request"
describe "Standalone Mode", ->
sa_info = null
... |
[
{
"context": "\n\t\t\t},\n\t\t\tusername: {\n\t\t\t\tdescription: 'Enter your username'\n\t\t\t\trequired: true\n\t\t\t\ttype: 'string'\n\t\t\t},\n\t\t\tp",
"end": 368,
"score": 0.5834709405899048,
"start": 360,
"tag": "USERNAME",
"value": "username"
},
{
"context": ": {\n\t\t\t\tema... | src/autocode/signup.coffee | crystal/autocode-js | 92 | prompt = require 'prompt'
request = require 'request'
signup = () ->
console.log "Ready to signup? Let's go!"
crystal = this
prompt.message = ''
prompt.delimiter = ''
prompt.start()
prompt.get {
properties: {
email: {
description: 'Enter your email'
required: true
type: 'string'
},
u... | 154921 | prompt = require 'prompt'
request = require 'request'
signup = () ->
console.log "Ready to signup? Let's go!"
crystal = this
prompt.message = ''
prompt.delimiter = ''
prompt.start()
prompt.get {
properties: {
email: {
description: 'Enter your email'
required: true
type: 'string'
},
u... | true | prompt = require 'prompt'
request = require 'request'
signup = () ->
console.log "Ready to signup? Let's go!"
crystal = this
prompt.message = ''
prompt.delimiter = ''
prompt.start()
prompt.get {
properties: {
email: {
description: 'Enter your email'
required: true
type: 'string'
},
u... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999101758003235,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/line-chart.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.
bn = 'line-chart'
class @LineChart
constructor: (area, @options = {}) ->
@margins =
top: 20
right: 20
bottom: 50
l... | 220522 | # 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.
bn = 'line-chart'
class @LineChart
constructor: (area, @options = {}) ->
@margins =
top: 20
right: 20
bottom: 50
left: 60... | 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.
bn = 'line-chart'
class @LineChart
constructor: (area, @options = {}) ->
@margins =
top: 20
right: 20
bottom: 50... |
[
{
"context": "# Copyright © 2014–6 Brad Ackerman.\n#\n# Licensed under the Apache License, Version 2",
"end": 34,
"score": 0.9998356103897095,
"start": 21,
"tag": "NAME",
"value": "Brad Ackerman"
}
] | assets/coffee/settings.coffee | backerman/eveindy | 2 | # Copyright © 2014–6 Brad Ackerman.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | 202514 | # Copyright © 2014–6 <NAME>.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, soft... | true | # Copyright © 2014–6 PI:NAME:<NAME>END_PI.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... |
[
{
"context": " undefined, dev\n\n API.mail.send\n to: 'alert@cottagelabs.com'\n subject: 'Catalogue fix complete'\n ",
"end": 1592,
"score": 0.9999316930770874,
"start": 1571,
"tag": "EMAIL",
"value": "alert@cottagelabs.com"
}
] | noddy/service/v2/scripts/cleancatalogue.coffee | oaworks/API | 2 |
'''API.add 'service/oab/scripts/cleancatalogue',
get:
#roleRequired: 'root'
action: () ->
dev = if this.queryParams.live is true then false else true
action = if this.queryParams.action? then true else false
processed = 0
fixed = 0
_process = (rec) ->
processed += 1
... | 149076 |
'''API.add 'service/oab/scripts/cleancatalogue',
get:
#roleRequired: 'root'
action: () ->
dev = if this.queryParams.live is true then false else true
action = if this.queryParams.action? then true else false
processed = 0
fixed = 0
_process = (rec) ->
processed += 1
... | true |
'''API.add 'service/oab/scripts/cleancatalogue',
get:
#roleRequired: 'root'
action: () ->
dev = if this.queryParams.live is true then false else true
action = if this.queryParams.action? then true else false
processed = 0
fixed = 0
_process = (rec) ->
processed += 1
... |
[
{
"context": " $http.post API + '/api/users', username: $scope.username, password: $scope.password, email: $scope.email\n ",
"end": 311,
"score": 0.6787955164909363,
"start": 303,
"tag": "USERNAME",
"value": "username"
},
{
"context": "api/users', username: $scope.username, password... | public/coffee/controllers/register.coffee | maxaille/PartyFinance | 1 | App.controller 'registerCtrl', [
'$rootScope'
'$scope'
'$http'
'$state'
'API'
($rootScope, $scope, $http, $state, API) ->
$scope.validate = ->
if $scope.password != $scope.passwordRepeat then return
$http.post API + '/api/users', username: $scope.username, passwor... | 125241 | App.controller 'registerCtrl', [
'$rootScope'
'$scope'
'$http'
'$state'
'API'
($rootScope, $scope, $http, $state, API) ->
$scope.validate = ->
if $scope.password != $scope.passwordRepeat then return
$http.post API + '/api/users', username: $scope.username, passwor... | true | App.controller 'registerCtrl', [
'$rootScope'
'$scope'
'$http'
'$state'
'API'
($rootScope, $scope, $http, $state, API) ->
$scope.validate = ->
if $scope.password != $scope.passwordRepeat then return
$http.post API + '/api/users', username: $scope.username, passwor... |
[
{
"context": "itor für das 21.\"\n superscript: \"\"\n text2: \" Jahrhundert\"\n help:\n forHelpVisit: \"Für Hilfe besuche bit",
"end": 137,
"score": 0.9991778135299683,
"start": 126,
"tag": "NAME",
"value": "Jahrhundert"
}
] | def/de/welcome.cson | juggernautjp/atom-i18n-beta | 2 | Welcome:
tabTitle: "Welcome"
subtitle:
text1: "Ein hackbarer Texteditor für das 21."
superscript: ""
text2: " Jahrhundert"
help:
forHelpVisit: "Für Hilfe besuche bitte"
atomDocs:
text1: "Die "
link: "Atom-Doku"
text2: " für Anleitungen und die API-Referenz."
_template: ... | 195956 | Welcome:
tabTitle: "Welcome"
subtitle:
text1: "Ein hackbarer Texteditor für das 21."
superscript: ""
text2: " <NAME>"
help:
forHelpVisit: "Für Hilfe besuche bitte"
atomDocs:
text1: "Die "
link: "Atom-Doku"
text2: " für Anleitungen und die API-Referenz."
_template: "${te... | true | Welcome:
tabTitle: "Welcome"
subtitle:
text1: "Ein hackbarer Texteditor für das 21."
superscript: ""
text2: " PI:NAME:<NAME>END_PI"
help:
forHelpVisit: "Für Hilfe besuche bitte"
atomDocs:
text1: "Die "
link: "Atom-Doku"
text2: " für Anleitungen und die API-Referenz."
_t... |
[
{
"context": " \"Well hello there, %\",\n \"Hey %, Hello!\",\n \"Mornin', %\",\n \"Good day, %\",\n \"Good 'aye!, %\"\n]\nmo",
"end": 340,
"score": 0.9997323155403137,
"start": 334,
"tag": "NAME",
"value": "Mornin"
},
{
"context": "/返答/i, (msg) ->\n msg.send \"( [[... | scripts/hello.coffee | ray34g/hubot | 0 | # Description:
# Hubot, be polite and say hello.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# Hello or Good Day make hubot say hello to you back
# Good Morning makes hubot say good morning to you back
cronJob = require('cron').CronJob
hellos = [
"Well hello there, %",
"Hey %, ... | 137279 | # Description:
# Hubot, be polite and say hello.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# Hello or Good Day make hubot say hello to you back
# Good Morning makes hubot say good morning to you back
cronJob = require('cron').CronJob
hellos = [
"Well hello there, %",
"Hey %, ... | true | # Description:
# Hubot, be polite and say hello.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# Hello or Good Day make hubot say hello to you back
# Good Morning makes hubot say good morning to you back
cronJob = require('cron').CronJob
hellos = [
"Well hello there, %",
"Hey %, ... |
[
{
"context": ".LastName = lastName\n this.FirstName = firstName\n this.DateOfBirth = dateOfBirth\n\n toStr",
"end": 297,
"score": 0.8142790198326111,
"start": 288,
"tag": "NAME",
"value": "firstName"
},
{
"context": "rstName + \" \" + this.DateOfBirth\n\np = new... | CoffeeScriptRunTime/CoffeeScripts/class.demo.coffee | fredericaltorres/DynamicJavaScriptRunTimes.NET | 4 | ## CoffeeScript Demo
#!DisplayJavaScript
pass = () ->
return "passing"
########################################################################
##
##
class Person
constructor: (lastName, firstName, dateOfBirth) ->
this.LastName = lastName
this.FirstName = firstName
this.DateOfBir... | 175568 | ## CoffeeScript Demo
#!DisplayJavaScript
pass = () ->
return "passing"
########################################################################
##
##
class Person
constructor: (lastName, firstName, dateOfBirth) ->
this.LastName = lastName
this.FirstName = <NAME>
this.DateOfBirth ... | true | ## CoffeeScript Demo
#!DisplayJavaScript
pass = () ->
return "passing"
########################################################################
##
##
class Person
constructor: (lastName, firstName, dateOfBirth) ->
this.LastName = lastName
this.FirstName = PI:NAME:<NAME>END_PI
thi... |
[
{
"context": "NK] “../Chocolat/chocolat.coffee”\n# ###\n# @Author: Kristinita\n# @Date:\t 2017-04-04 13:01:15\n# @Last Modified ti",
"end": 102,
"score": 0.9997028708457947,
"start": 92,
"tag": "NAME",
"value": "Kristinita"
},
{
"context": "roll to top for galleries:\n# # https://git... | themes/sashapelican/static/coffee/Fancybox/fancybox.coffee | Kristinita/--- | 6 | # [DECLINED] I migrate to Chocolat:
# [LINK] “../Chocolat/chocolat.coffee”
# ###
# @Author: Kristinita
# @Date: 2017-04-04 13:01:15
# @Last Modified time: 2017-04-14 14:37:51
# ###
# ############
# # Fancybox #
# ############
# ###
# Modal window for images:
# http://fancyapps.com/fancybox/3/
# http://fancyapps.com/fa... | 24909 | # [DECLINED] I migrate to Chocolat:
# [LINK] “../Chocolat/chocolat.coffee”
# ###
# @Author: <NAME>
# @Date: 2017-04-04 13:01:15
# @Last Modified time: 2017-04-14 14:37:51
# ###
# ############
# # Fancybox #
# ############
# ###
# Modal window for images:
# http://fancyapps.com/fancybox/3/
# http://fancyapps.com/fancyb... | true | # [DECLINED] I migrate to Chocolat:
# [LINK] “../Chocolat/chocolat.coffee”
# ###
# @Author: PI:NAME:<NAME>END_PI
# @Date: 2017-04-04 13:01:15
# @Last Modified time: 2017-04-14 14:37:51
# ###
# ############
# # Fancybox #
# ############
# ###
# Modal window for images:
# http://fancyapps.com/fancybox/3/
# http://fancya... |
[
{
"context": "# Below follows my CoffeeScript port of Aaron Heckmann's jQuery Hook plugin,\n# which is dual-licensed un",
"end": 54,
"score": 0.9998766183853149,
"start": 40,
"tag": "NAME",
"value": "Aaron Heckmann"
},
{
"context": " on GitHub for more details:\n# https://github.com/... | interface/src/components/jquery-domchange/src/jquery.hook.coffee | aignacio/homestark | 1 | # Below follows my CoffeeScript port of Aaron Heckmann's jQuery Hook plugin,
# which is dual-licensed under the MIT and GPL licenses:
# http://www.opensource.org/licenses/mit-license.php
# http://www.gnu.org/licenses/gpl.html
# See the project page on GitHub for more details:
# https://github.com/aheckmann/jquery.hook
... | 197044 | # Below follows my CoffeeScript port of <NAME>'s jQuery Hook plugin,
# which is dual-licensed under the MIT and GPL licenses:
# http://www.opensource.org/licenses/mit-license.php
# http://www.gnu.org/licenses/gpl.html
# See the project page on GitHub for more details:
# https://github.com/aheckmann/jquery.hook
$.hook ... | true | # Below follows my CoffeeScript port of PI:NAME:<NAME>END_PI's jQuery Hook plugin,
# which is dual-licensed under the MIT and GPL licenses:
# http://www.opensource.org/licenses/mit-license.php
# http://www.gnu.org/licenses/gpl.html
# See the project page on GitHub for more details:
# https://github.com/aheckmann/jquery... |
[
{
"context": " port: 0xcafe\n uuid: 'nothing'\n token: 'idunno'\n\n badClient.connect (@error) =>\n done()\n",
"end": 633,
"score": 0.9984208941459656,
"start": 627,
"tag": "PASSWORD",
"value": "idunno"
}
] | test/failed-authenticate-spec.coffee | octoblu/meshblu-core-protocol-adapter-xmpp | 0 | _ = require 'lodash'
Connect = require './connect'
MeshbluXmpp = require 'meshblu-xmpp'
RedisNS = require '@octoblu/redis-ns'
describe 'on: failed authenticate', ->
beforeEach 'on connect', (done) ->
@workerFunc = sinon.stub()
@connect = new Connect { @workerFunc }
@connect.connect (err... | 62712 | _ = require 'lodash'
Connect = require './connect'
MeshbluXmpp = require 'meshblu-xmpp'
RedisNS = require '@octoblu/redis-ns'
describe 'on: failed authenticate', ->
beforeEach 'on connect', (done) ->
@workerFunc = sinon.stub()
@connect = new Connect { @workerFunc }
@connect.connect (err... | true | _ = require 'lodash'
Connect = require './connect'
MeshbluXmpp = require 'meshblu-xmpp'
RedisNS = require '@octoblu/redis-ns'
describe 'on: failed authenticate', ->
beforeEach 'on connect', (done) ->
@workerFunc = sinon.stub()
@connect = new Connect { @workerFunc }
@connect.connect (err... |
[
{
"context": " 'index', Object.assign formats, title: 'Resume of Robert de Forest'\n return\n\nmodule.exports = router\n",
"end": 230,
"score": 0.9998337626457214,
"start": 214,
"tag": "NAME",
"value": "Robert de Forest"
}
] | routes/index.coffee | rdeforest/resume | 0 | express = require 'express'
app = require '../app'
router = express.Router()
formats = require '../lib/formats'
router.get '/', (req, res, next) ->
res.render 'index', Object.assign formats, title: 'Resume of Robert de Forest'
return
module.exports = router
| 30832 | express = require 'express'
app = require '../app'
router = express.Router()
formats = require '../lib/formats'
router.get '/', (req, res, next) ->
res.render 'index', Object.assign formats, title: 'Resume of <NAME>'
return
module.exports = router
| true | express = require 'express'
app = require '../app'
router = express.Router()
formats = require '../lib/formats'
router.get '/', (req, res, next) ->
res.render 'index', Object.assign formats, title: 'Resume of PI:NAME:<NAME>END_PI'
return
module.exports = router
|
[
{
"context": "nsureIndex({ token: 1 }, { unique: true })\n@author Nathan Klick\n@copyright QRef 2012\n@abstract\n###\nclass AuthCode",
"end": 310,
"score": 0.999889612197876,
"start": 298,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/schema/AuthCodeSchema.coffee | qrefdev/qref | 0 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a time-limited user specific authentication token.
@example MongoDB Collection
db.user.tokens
@example MongoDB Indexes
db.user.tokens.ensureIndex({ token: 1 }, { unique: true })
@author Nathan Klick
@copyrigh... | 2753 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a time-limited user specific authentication token.
@example MongoDB Collection
db.user.tokens
@example MongoDB Indexes
db.user.tokens.ensureIndex({ token: 1 }, { unique: true })
@author <NAME>
@copyright QRef... | true | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a time-limited user specific authentication token.
@example MongoDB Collection
db.user.tokens
@example MongoDB Indexes
db.user.tokens.ensureIndex({ token: 1 }, { unique: true })
@author PI:NAME:<NAME>END_PI
@... |
[
{
"context": "T'\n\t\tauth:\n\t\t\tuser: settings.apis.v1.user\n\t\t\tpass: settings.apis.v1.pass\n\t\t\tsendImmediately: true\n\t}, (error, response, bo",
"end": 613,
"score": 0.9770703911781311,
"start": 592,
"tag": "PASSWORD",
"value": "settings.apis.v1.pass"
}
] | app/coffee/models/Publisher.coffee | shyoshyo/web-sharelatex | 1 | mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
settings = require 'settings-sharelatex'
logger = require 'logger-sharelatex'
request = require 'request'
PublisherSchema = new Schema
slug: { type: String, required: true }
managerIds: [ type:ObjectId, ref:'User' ]
# fetch publisher'... | 92611 | mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
settings = require 'settings-sharelatex'
logger = require 'logger-sharelatex'
request = require 'request'
PublisherSchema = new Schema
slug: { type: String, required: true }
managerIds: [ type:ObjectId, ref:'User' ]
# fetch publisher'... | true | mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
settings = require 'settings-sharelatex'
logger = require 'logger-sharelatex'
request = require 'request'
PublisherSchema = new Schema
slug: { type: String, required: true }
managerIds: [ type:ObjectId, ref:'User' ]
# fetch publisher'... |
[
{
"context": "mplate: Ember.Handlebars.compile(tpl)\n# name: \"PersonView\"\n actions:\n toogleall: () ->\n togg",
"end": 209,
"score": 0.8220428824424744,
"start": 199,
"tag": "NAME",
"value": "PersonView"
}
] | app/assets/javascripts/views/PersonsView.coffee | ehudkaldor/patientmanager | 0 | define ["App", "ember", "text!../templates/persons.handlebars", "semantic"], (App, Ember, tpl) ->
App.PersonsView = Ember.View.extend
defaultTemplate: Ember.Handlebars.compile(tpl)
# name: "PersonView"
actions:
toogleall: () ->
toggleTo = $('#checkboxheader').checkbox("is checked")
co... | 96947 | define ["App", "ember", "text!../templates/persons.handlebars", "semantic"], (App, Ember, tpl) ->
App.PersonsView = Ember.View.extend
defaultTemplate: Ember.Handlebars.compile(tpl)
# name: "<NAME>"
actions:
toogleall: () ->
toggleTo = $('#checkboxheader').checkbox("is checked")
consol... | true | define ["App", "ember", "text!../templates/persons.handlebars", "semantic"], (App, Ember, tpl) ->
App.PersonsView = Ember.View.extend
defaultTemplate: Ember.Handlebars.compile(tpl)
# name: "PI:NAME:<NAME>END_PI"
actions:
toogleall: () ->
toggleTo = $('#checkboxheader').checkbox("is checked")
... |
[
{
"context": "ptions.p12)\n form.append \"p12_password\",\"#{options.p12_password}\"\n\n form.append \"bundleIdentifier\",\"#{option",
"end": 4632,
"score": 0.9302231669425964,
"start": 4610,
"tag": "PASSWORD",
"value": "#{options.p12_password"
}
] | lib/build/build-manager.coffee | yezhiming/atom-butterfly | 3 | fs = require 'fs'
request = require 'request'
Q = require 'q'
_ = require 'underscore'
uuid = require 'uuid'
os = require 'os'
fsIsDirectorySync = (path) ->
try
stat = fs.statSync(path)
stat.isDirectory()
catch
false
module.exports =
class BuildManager
activate: ->
atom.workspaceView.command ... | 184531 | fs = require 'fs'
request = require 'request'
Q = require 'q'
_ = require 'underscore'
uuid = require 'uuid'
os = require 'os'
fsIsDirectorySync = (path) ->
try
stat = fs.statSync(path)
stat.isDirectory()
catch
false
module.exports =
class BuildManager
activate: ->
atom.workspaceView.command ... | true | fs = require 'fs'
request = require 'request'
Q = require 'q'
_ = require 'underscore'
uuid = require 'uuid'
os = require 'os'
fsIsDirectorySync = (path) ->
try
stat = fs.statSync(path)
stat.isDirectory()
catch
false
module.exports =
class BuildManager
activate: ->
atom.workspaceView.command ... |
[
{
"context": "tities:\n steps:\n abc:\n name : 'batman'\n startsAt : '2015-12-01'\n endsAt ",
"end": 257,
"score": 0.9988950490951538,
"start": 251,
"tag": "NAME",
"value": "batman"
}
] | components/StepRow/StepRowExamples.cjsx | lsentkiewicz/react-components | 25 | 'use strict'
React = require 'react'
StepRow = require './StepRow.coffee'
Provider = require('react-redux').Provider
store = require('appirio-tech-client-app-layer').default
initialData =
entities:
steps:
abc:
name : 'batman'
startsAt : '2015-12-01'
endsAt : '2015-12-0... | 113965 | 'use strict'
React = require 'react'
StepRow = require './StepRow.coffee'
Provider = require('react-redux').Provider
store = require('appirio-tech-client-app-layer').default
initialData =
entities:
steps:
abc:
name : '<NAME>'
startsAt : '2015-12-01'
endsAt : '2015-12-0... | true | 'use strict'
React = require 'react'
StepRow = require './StepRow.coffee'
Provider = require('react-redux').Provider
store = require('appirio-tech-client-app-layer').default
initialData =
entities:
steps:
abc:
name : 'PI:NAME:<NAME>END_PI'
startsAt : '2015-12-01'
endsAt ... |
[
{
"context": "ery.js'\nDebater = require './../debater.coffee'\n\n# Tim Huminski. Level 2\nmodule.exports = class Huminski extends ",
"end": 83,
"score": 0.9989753365516663,
"start": 71,
"tag": "NAME",
"value": "Tim Huminski"
},
{
"context": " constructor: (@game) ->\n super(@gam... | src/js/debaters/huminski.coffee | nagn/Battle-Resolution | 0 | $ = require 'lib/jquery.js'
Debater = require './../debater.coffee'
# Tim Huminski. Level 2
module.exports = class Huminski extends Debater
constructor: (@game) ->
super(@game, true, 'T HUMINSKI', 1, 3, 'ENGLISH TEACHER')
# set basic statis
# ALREADY SET (constructed)
# @case (HP)
# @level (spea... | 115333 | $ = require 'lib/jquery.js'
Debater = require './../debater.coffee'
# <NAME>. Level 2
module.exports = class Huminski extends Debater
constructor: (@game) ->
super(@game, true, '<NAME> <NAME>', 1, 3, 'ENGLISH TEACHER')
# set basic statis
# ALREADY SET (constructed)
# @case (HP)
# @level (speaker... | true | $ = require 'lib/jquery.js'
Debater = require './../debater.coffee'
# PI:NAME:<NAME>END_PI. Level 2
module.exports = class Huminski extends Debater
constructor: (@game) ->
super(@game, true, 'PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI', 1, 3, 'ENGLISH TEACHER')
# set basic statis
# ALREADY SET (construct... |
[
{
"context": "###\n EasyWebWorker v0.2\n Rames Aliyev -2013\n\n -> easywebworker.com\n###\n\n# EASY-WEB-WOR",
"end": 39,
"score": 0.9998869895935059,
"start": 27,
"tag": "NAME",
"value": "Rames Aliyev"
}
] | easy-web-worker.coffee | tayfunerbilen/EasyWebWorker | 0 | ###
EasyWebWorker v0.2
Rames Aliyev -2013
-> easywebworker.com
###
# EASY-WEB-WORKER CORE
# Abstract Execute Structure for worker controllers.
class _ExecuteStructure
# Execute function.
execute: (args) ->
# Copy arguments to avoid "DataCloneError: The object could not be cloned."
(arg for arg in ar... | 194182 | ###
EasyWebWorker v0.2
<NAME> -2013
-> easywebworker.com
###
# EASY-WEB-WORKER CORE
# Abstract Execute Structure for worker controllers.
class _ExecuteStructure
# Execute function.
execute: (args) ->
# Copy arguments to avoid "DataCloneError: The object could not be cloned."
(arg for arg in args)
... | true | ###
EasyWebWorker v0.2
PI:NAME:<NAME>END_PI -2013
-> easywebworker.com
###
# EASY-WEB-WORKER CORE
# Abstract Execute Structure for worker controllers.
class _ExecuteStructure
# Execute function.
execute: (args) ->
# Copy arguments to avoid "DataCloneError: The object could not be cloned."
(arg for a... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999161958694458,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/polyfills.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.
class @Polyfills
constructor: ->
@customEvent()
@localStorage()
@mathTrunc()
@composedPath()
# Event.composedPath polyfill ... | 168899 | # 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.
class @Polyfills
constructor: ->
@customEvent()
@localStorage()
@mathTrunc()
@composedPath()
# Event.composedPath polyfill for Edg... | 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.
class @Polyfills
constructor: ->
@customEvent()
@localStorage()
@mathTrunc()
@composedPath()
# Event.composedPath p... |
[
{
"context": "### EventManager, v1.0.1\n*\n* Copyright (c) 2009, Howard Rauscher\n* Licensed under the MIT License\n###\n\n#Based on t",
"end": 64,
"score": 0.9998105764389038,
"start": 49,
"tag": "NAME",
"value": "Howard Rauscher"
},
{
"context": "e\n###\n\n#Based on the code https:... | src/events/event-manager.coffee | JacobShirley95/ecollision | 3 | ### EventManager, v1.0.1
*
* Copyright (c) 2009, Howard Rauscher
* Licensed under the MIT License
###
#Based on the code https://gist.github.com/howardr/118668 - thanks!
export default class EventManager
class EventArg
constructor: (@name, @data) ->
@cancelled = false;
@removed = f... | 115483 | ### EventManager, v1.0.1
*
* Copyright (c) 2009, <NAME>
* Licensed under the MIT License
###
#Based on the code https://gist.github.com/howardr/118668 - thanks!
export default class EventManager
class EventArg
constructor: (@name, @data) ->
@cancelled = false;
@removed = false;
... | true | ### EventManager, v1.0.1
*
* Copyright (c) 2009, PI:NAME:<NAME>END_PI
* Licensed under the MIT License
###
#Based on the code https://gist.github.com/howardr/118668 - thanks!
export default class EventManager
class EventArg
constructor: (@name, @data) ->
@cancelled = false;
@remove... |
[
{
"context": "# Droplet BASIC mode\n#\n# Copyright (c) Anthony Bau\n# MIT License\n\nshell = require '../../vendor/shel",
"end": 50,
"score": 0.9998829960823059,
"start": 39,
"tag": "NAME",
"value": "Anthony Bau"
}
] | src/languages/shell.coffee | takeratta/droplet | 145 | # Droplet BASIC mode
#
# Copyright (c) Anthony Bau
# MIT License
shell = require '../../vendor/shell.js'
window.shell = shell
return
| 143074 | # Droplet BASIC mode
#
# Copyright (c) <NAME>
# MIT License
shell = require '../../vendor/shell.js'
window.shell = shell
return
| true | # Droplet BASIC mode
#
# Copyright (c) PI:NAME:<NAME>END_PI
# MIT License
shell = require '../../vendor/shell.js'
window.shell = shell
return
|
[
{
"context": " hubot ツイート止めて - ツイートを教えるのを止めるよー\n#\n# Author:\n# aha-oretama <sekine_y_529@msn.com>\n#\n\nTwit = require 'twit'\n\n",
"end": 355,
"score": 0.998203456401825,
"start": 344,
"tag": "USERNAME",
"value": "aha-oretama"
},
{
"context": "めて - ツイートを教えるのを止めるよー\n#\n# Author:... | scripts/twitter-search.coffee | aha-oretama/oretamaBot | 0 | # Description:
# Continue to search query on Twitter and to tweets.
#
# Dependencies:
# "twit": "1.1.x"
#
# Configuration:
# HUBOT_TWITTER_KEY
# HUBOT_TWITTER_SECRET
# HUBOT_TWITTER_TOKEN
# HUBOT_TWITTER_TOKEN_SECRET
#
# Commands:
# hubot ツイート流して <query> - 指定したツイートが流れたら教えてあげるよー
# hubot ツイート止めて - ツイートを教える... | 81006 | # Description:
# Continue to search query on Twitter and to tweets.
#
# Dependencies:
# "twit": "1.1.x"
#
# Configuration:
# HUBOT_TWITTER_KEY
# HUBOT_TWITTER_SECRET
# HUBOT_TWITTER_TOKEN
# HUBOT_TWITTER_TOKEN_SECRET
#
# Commands:
# hubot ツイート流して <query> - 指定したツイートが流れたら教えてあげるよー
# hubot ツイート止めて - ツイートを教える... | true | # Description:
# Continue to search query on Twitter and to tweets.
#
# Dependencies:
# "twit": "1.1.x"
#
# Configuration:
# HUBOT_TWITTER_KEY
# HUBOT_TWITTER_SECRET
# HUBOT_TWITTER_TOKEN
# HUBOT_TWITTER_TOKEN_SECRET
#
# Commands:
# hubot ツイート流して <query> - 指定したツイートが流れたら教えてあげるよー
# hubot ツイート止めて - ツイートを教える... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9982824325561523,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | deps/npm/node_modules/sha/node_modules/readable-stream/node_modules/string_decoder/index.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... | 82765 | # 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": " (done) ->\n auth.login(server, {username: \"test@test.com\", password:\"password\"}, 200, \n (res)->",
"end": 511,
"score": 0.9999250173568726,
"start": 498,
"tag": "EMAIL",
"value": "test@test.com"
},
{
"context": "gin(server, {username: \"test@test.... | test/services_tests/test_assignment_services.coffee | J-JRC/ureport-standalone | 0 | #load application models
server = require('../../app')
_ = require('underscore');
assignment = require('../api_objects/assignment_api_object')
auth = require('../api_objects/auth_api_object')
mongoose = require('mongoose')
chai = require('chai')
chaiHttp = require('chai-http')
moment = require('moment')
should = chai... | 184003 | #load application models
server = require('../../app')
_ = require('underscore');
assignment = require('../api_objects/assignment_api_object')
auth = require('../api_objects/auth_api_object')
mongoose = require('mongoose')
chai = require('chai')
chaiHttp = require('chai-http')
moment = require('moment')
should = chai... | true | #load application models
server = require('../../app')
_ = require('underscore');
assignment = require('../api_objects/assignment_api_object')
auth = require('../api_objects/auth_api_object')
mongoose = require('mongoose')
chai = require('chai')
chaiHttp = require('chai-http')
moment = require('moment')
should = chai... |
[
{
"context": " set_expand_local_storage: ->\r\n key = \"net-catalog-tree-expand-#{@props.data.id}\"\r\n localStorage[key] = @sta",
"end": 3772,
"score": 0.9337687492370605,
"start": 3750,
"tag": "KEY",
"value": "catalog-tree-expand-#{"
},
{
"context": " get_expand_... | app/assets/javascripts/operation_flow_editor/knet/book-catalog.coffee | kc-train/operation-flow-editor | 2 | @IDSet = class
constructor: ->
@hash = {}
add: (item)->
@hash[item.id] = item
remove: (id)->
delete @hash[id]
get: (id)->
@hash[id]
blank: ->
Object.keys(@hash).length is 0
filter: (func)->
Object.keys(@hash)
.map (id)=> @hash[id]
.filter func
... | 170908 | @IDSet = class
constructor: ->
@hash = {}
add: (item)->
@hash[item.id] = item
remove: (id)->
delete @hash[id]
get: (id)->
@hash[id]
blank: ->
Object.keys(@hash).length is 0
filter: (func)->
Object.keys(@hash)
.map (id)=> @hash[id]
.filter func
... | true | @IDSet = class
constructor: ->
@hash = {}
add: (item)->
@hash[item.id] = item
remove: (id)->
delete @hash[id]
get: (id)->
@hash[id]
blank: ->
Object.keys(@hash).length is 0
filter: (func)->
Object.keys(@hash)
.map (id)=> @hash[id]
.filter func
... |
[
{
"context": "# Copyright (c) 2018 Natalie Marleny\n# Casing - UI framework for Framer\n# License: MIT",
"end": 36,
"score": 0.9998846650123596,
"start": 21,
"tag": "NAME",
"value": "Natalie Marleny"
},
{
"context": "r Framer\n# License: MIT\n# URL: https://github.com/nataliemarleny/... | FrmrDropdown.coffee | nataliemarleny/Casing | 84 | # Copyright (c) 2018 Natalie Marleny
# Casing - UI framework for Framer
# License: MIT
# URL: https://github.com/nataliemarleny/Casing
class exports.FrmrDropdown extends Layer
constructor: (options = {}) ->
DOM_id = "dropdown-#{_.random(2**31)}-#{_.now()}"
_.defaults options,
html: """... | 96368 | # Copyright (c) 2018 <NAME>
# Casing - UI framework for Framer
# License: MIT
# URL: https://github.com/nataliemarleny/Casing
class exports.FrmrDropdown extends Layer
constructor: (options = {}) ->
DOM_id = "dropdown-#{_.random(2**31)}-#{_.now()}"
_.defaults options,
html: """
... | true | # Copyright (c) 2018 PI:NAME:<NAME>END_PI
# Casing - UI framework for Framer
# License: MIT
# URL: https://github.com/nataliemarleny/Casing
class exports.FrmrDropdown extends Layer
constructor: (options = {}) ->
DOM_id = "dropdown-#{_.random(2**31)}-#{_.now()}"
_.defaults options,
html... |
[
{
"context": "extField _($$.form.textInput).extend\n hintText: 'foo@example.com'\n value: Ti.App.Properties.getString 'instapaper",
"end": 305,
"score": 0.9999087452888489,
"start": 290,
"tag": "EMAIL",
"value": "foo@example.com"
},
{
"context": "user =\n username: nameField.val... | Resources/config_instapaper.coffee | naoya/HBFav | 5 | _ = require '/lib/underscore'
Ti.include 'ui.js'
Ti.include 'Instapaper.js'
view = Ti.UI.createView
layout: 'vertical'
nameLabel = Ti.UI.createLabel _($$.form.label).extend
top: 12
left: 15
text: "ユーザー名"
nameField = Ti.UI.createTextField _($$.form.textInput).extend
hintText: 'foo@example.com'
value: Ti.A... | 61554 | _ = require '/lib/underscore'
Ti.include 'ui.js'
Ti.include 'Instapaper.js'
view = Ti.UI.createView
layout: 'vertical'
nameLabel = Ti.UI.createLabel _($$.form.label).extend
top: 12
left: 15
text: "ユーザー名"
nameField = Ti.UI.createTextField _($$.form.textInput).extend
hintText: '<EMAIL>'
value: Ti.App.Prope... | true | _ = require '/lib/underscore'
Ti.include 'ui.js'
Ti.include 'Instapaper.js'
view = Ti.UI.createView
layout: 'vertical'
nameLabel = Ti.UI.createLabel _($$.form.label).extend
top: 12
left: 15
text: "ユーザー名"
nameField = Ti.UI.createTextField _($$.form.textInput).extend
hintText: 'PI:EMAIL:<EMAIL>END_PI'
valu... |
[
{
"context": "age\n ###\n A cookie manager based on Peter-Paul Kochs cookie code.\n ###\n get : (key) ->\n ",
"end": 836,
"score": 0.5052157044410706,
"start": 834,
"tag": "NAME",
"value": "ul"
},
{
"context": " ###\n A cookie manager based on Peter-Paul Kochs coo... | community/server/src/main/coffeescript/ribcage/storage/CookieStorage.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 30395 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | true | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... |
[
{
"context": ": Meteor.settings.admin.username\n password: Meteor.settings.admin.password\n profile:\n name: 'Admin'\n Me",
"end": 903,
"score": 0.9993325471878052,
"start": 873,
"tag": "PASSWORD",
"value": "Meteor.settings.admin.password"
}
] | src/server/install.coffee | ArnoldasSid/vilnius-carpool | 11 | Meteor.startup ()->
Stops._ensureIndex({"loc": "2d" });
Trips._ensureIndex({"fromLoc": "2d" });
Trips._ensureIndex({"toLoc": "2d" });
Trips._ensureIndex({"stops.loc": "2d" });
if Meteor.settings.oauth
if Accounts.loginServiceConfiguration.find().count() == 0
da ['install'], 'Creating login configur... | 192214 | Meteor.startup ()->
Stops._ensureIndex({"loc": "2d" });
Trips._ensureIndex({"fromLoc": "2d" });
Trips._ensureIndex({"toLoc": "2d" });
Trips._ensureIndex({"stops.loc": "2d" });
if Meteor.settings.oauth
if Accounts.loginServiceConfiguration.find().count() == 0
da ['install'], 'Creating login configur... | true | Meteor.startup ()->
Stops._ensureIndex({"loc": "2d" });
Trips._ensureIndex({"fromLoc": "2d" });
Trips._ensureIndex({"toLoc": "2d" });
Trips._ensureIndex({"stops.loc": "2d" });
if Meteor.settings.oauth
if Accounts.loginServiceConfiguration.find().count() == 0
da ['install'], 'Creating login configur... |
[
{
"context": "ne) ->\n account = new Account\n username: \"12345\"\n password: \"testy\"\n\n account.save (error",
"end": 392,
"score": 0.9996237754821777,
"start": 387,
"tag": "USERNAME",
"value": "12345"
},
{
"context": " Account\n username: \"12345\"\n pa... | test/account.test.coffee | chriscx/Disko | 0 | should = require 'should'
mongoose = require 'mongoose'
Account = require('../app/models/account').Account
describe 'Account', ->
before (done) ->
unless mongoose.connection.readyState
mongoose.connect 'mongodb://localhost/disko_dev', null, ->
done()
after (done) ->
mongoose.disconnect done
... | 42956 | should = require 'should'
mongoose = require 'mongoose'
Account = require('../app/models/account').Account
describe 'Account', ->
before (done) ->
unless mongoose.connection.readyState
mongoose.connect 'mongodb://localhost/disko_dev', null, ->
done()
after (done) ->
mongoose.disconnect done
... | true | should = require 'should'
mongoose = require 'mongoose'
Account = require('../app/models/account').Account
describe 'Account', ->
before (done) ->
unless mongoose.connection.readyState
mongoose.connect 'mongodb://localhost/disko_dev', null, ->
done()
after (done) ->
mongoose.disconnect done
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.