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": "{ cid: 'c2', eid: 'e1', type: 'character', name: 'Link' }\n { cid: 'c3', eid: 'e1', type: 'bbox', shape:",
"end": 741,
"score": 0.9056156277656555,
"start": 737,
"tag": "NAME",
"value": "Link"
},
{
"context": "{ cid: 'c6', eid: 'e2', type: 'character', name: 'Tektike' ... | spec/search/object_store_search_spec.coffee | dcrosby42/metroid-clone | 5 | # Finder = require '../../src/javascript/search/immutable_object_finder'
Immutable = require 'immutable'
ExpectHelpers = require '../helpers/expect_helpers'
expectIs = ExpectHelpers.expectIs
ObjectStore = require '../../src/javascript/search/object_store'
ObjectStoreSearch = require '../../src/javascript/search/object... | 157400 | # Finder = require '../../src/javascript/search/immutable_object_finder'
Immutable = require 'immutable'
ExpectHelpers = require '../helpers/expect_helpers'
expectIs = ExpectHelpers.expectIs
ObjectStore = require '../../src/javascript/search/object_store'
ObjectStoreSearch = require '../../src/javascript/search/object... | true | # Finder = require '../../src/javascript/search/immutable_object_finder'
Immutable = require 'immutable'
ExpectHelpers = require '../helpers/expect_helpers'
expectIs = ExpectHelpers.expectIs
ObjectStore = require '../../src/javascript/search/object_store'
ObjectStoreSearch = require '../../src/javascript/search/object... |
[
{
"context": " =\n id: '54276766fd4f50996aeca2b8'\n author_id: '4d8cd73191a5c50ce210002a'\n author:\n id: \"506999f123c3980002000342\"\n ",
"end": 828,
"score": 0.9533002972602844,
"start": 804,
"tag": "PASSWORD",
"value": "4d8cd73191a5c50ce210002a"
},
{
"context": "id: '4d8c... | src/mobile/test/helpers/fixtures.coffee | kanaabe/force | 1 | moment = require 'moment'
@vertical =
id: '55356a9deca560a0137aa4b7'
title: 'Vennice Biennalez'
description: 'The coolest biennale'
slug: 'vennice-biennale'
partner_logo_url: 'http://gemini.herokuapp.com/123/miaart-banner.jpg'
thumbnail_url: 'http://gemini.herokuapp.com/123/miaart-banner.jpg'
featured_li... | 96940 | moment = require 'moment'
@vertical =
id: '55356a9deca560a0137aa4b7'
title: 'Vennice Biennalez'
description: 'The coolest biennale'
slug: 'vennice-biennale'
partner_logo_url: 'http://gemini.herokuapp.com/123/miaart-banner.jpg'
thumbnail_url: 'http://gemini.herokuapp.com/123/miaart-banner.jpg'
featured_li... | true | moment = require 'moment'
@vertical =
id: '55356a9deca560a0137aa4b7'
title: 'Vennice Biennalez'
description: 'The coolest biennale'
slug: 'vennice-biennale'
partner_logo_url: 'http://gemini.herokuapp.com/123/miaart-banner.jpg'
thumbnail_url: 'http://gemini.herokuapp.com/123/miaart-banner.jpg'
featured_li... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991887211799622,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-net-server-close.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... | 214097 | # 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": "m\"\n\t\t\tclsiCookie:\n\t\t\t\tttl:Math.random()\n\t\t\t\tkey: \"coooookie\"\n\t\t@requires = \n\t\t\t\"../../infrastructure/RedisWra",
"end": 778,
"score": 0.9990467429161072,
"start": 769,
"tag": "KEY",
"value": "coooookie"
}
] | test/unit/coffee/Compile/ClsiCookieManagerTests.coffee | davidmehren/web-sharelatex | 0 | sinon = require('sinon')
chai = require('chai')
assert = chai.assert
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Compile/ClsiCookieManager.js"
SandboxedModule = require('sandboxed-module')
realRequst = require("request")
describe "ClsiCookieManager", ->
beforeEach ->
self =... | 145598 | sinon = require('sinon')
chai = require('chai')
assert = chai.assert
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Compile/ClsiCookieManager.js"
SandboxedModule = require('sandboxed-module')
realRequst = require("request")
describe "ClsiCookieManager", ->
beforeEach ->
self =... | true | sinon = require('sinon')
chai = require('chai')
assert = chai.assert
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Compile/ClsiCookieManager.js"
SandboxedModule = require('sandboxed-module')
realRequst = require("request")
describe "ClsiCookieManager", ->
beforeEach ->
self =... |
[
{
"context": "n array of objects\npeopleArray = [\n {\n name: \"Paul\"\n age: 43\n },\n {\n name: \"Sue\"\n age: 39",
"end": 1602,
"score": 0.9995990991592407,
"start": 1598,
"tag": "NAME",
"value": "Paul"
},
{
"context": "\n name: \"Paul\"\n age: 43\n },\n {\n... | banas-coffeescript/part-two.coffee | trevorfenner/programming-paradigms-example-code | 2 | # ---------- ARRAYS ----------
# Arrays can contain multiple data types
randArray = ["word", false, 1234, 1.234]
csOutput.insertAdjacentHTML('beforeend', "Index 2 : #{randArray[2]}<br>")
# Get the last 2 indexes
csOutput.insertAdjacentHTML('beforeend', "Last 2 : #{randArray[2..3]}<br>")
# Defines an array with a ra... | 171036 | # ---------- ARRAYS ----------
# Arrays can contain multiple data types
randArray = ["word", false, 1234, 1.234]
csOutput.insertAdjacentHTML('beforeend', "Index 2 : #{randArray[2]}<br>")
# Get the last 2 indexes
csOutput.insertAdjacentHTML('beforeend', "Last 2 : #{randArray[2..3]}<br>")
# Defines an array with a ra... | true | # ---------- ARRAYS ----------
# Arrays can contain multiple data types
randArray = ["word", false, 1234, 1.234]
csOutput.insertAdjacentHTML('beforeend', "Index 2 : #{randArray[2]}<br>")
# Get the last 2 indexes
csOutput.insertAdjacentHTML('beforeend', "Last 2 : #{randArray[2..3]}<br>")
# Defines an array with a ra... |
[
{
"context": "describe 'okv :', ->\n weirdKeyName = ' $#%!@&'\n\n it \"builds a simple object, with weird keyNa",
"end": 45,
"score": 0.5894271731376648,
"start": 41,
"tag": "KEY",
"value": "#%!@"
}
] | source/spec/objects/okv-spec.coffee | anodynos/uBerscore | 1 | describe 'okv :', ->
weirdKeyName = ' $#%!@&'
it "builds a simple object, with weird keyName", ->
expect(
_B.okv {},
"foo_#{weirdKeyName}", 8
"bar#{weirdKeyName}", 'some bar'
).to.deep.equal
"foo_ $#%!@&": 8
"bar $#%!@&": 'some bar'
describe "build a more invloved o... | 113531 | describe 'okv :', ->
weirdKeyName = ' $<KEY>&'
it "builds a simple object, with weird keyName", ->
expect(
_B.okv {},
"foo_#{weirdKeyName}", 8
"bar#{weirdKeyName}", 'some bar'
).to.deep.equal
"foo_ $#%!@&": 8
"bar $#%!@&": 'some bar'
describe "build a more invloved ... | true | describe 'okv :', ->
weirdKeyName = ' $PI:KEY:<KEY>END_PI&'
it "builds a simple object, with weird keyName", ->
expect(
_B.okv {},
"foo_#{weirdKeyName}", 8
"bar#{weirdKeyName}", 'some bar'
).to.deep.equal
"foo_ $#%!@&": 8
"bar $#%!@&": 'some bar'
describe "build a m... |
[
{
"context": "es\n###\nOLD_PRODUCT =\n id: '123'\n name:\n en: 'SAPPHIRE'\n de: 'Hoo'\n slug:\n en: 'sapphire136612644",
"end": 232,
"score": 0.8771794438362122,
"start": 224,
"tag": "NAME",
"value": "SAPPHIRE"
},
{
"context": "=\n id: '123'\n name:\n en: 'SAPPHIRE'\... | src/spec/sync/utils/product.spec.coffee | commercetools/sphere-node-sdk | 13 | _ = require 'underscore'
_.mixin require 'underscore-mixins'
ProductUtils = require '../../../lib/sync/utils/product'
###
Match different product attributes and variant prices
###
OLD_PRODUCT =
id: '123'
name:
en: 'SAPPHIRE'
de: 'Hoo'
slug:
en: 'sapphire1366126441922'
description:
en: 'Sample d... | 122244 | _ = require 'underscore'
_.mixin require 'underscore-mixins'
ProductUtils = require '../../../lib/sync/utils/product'
###
Match different product attributes and variant prices
###
OLD_PRODUCT =
id: '123'
name:
en: '<NAME>'
de: '<NAME>'
slug:
en: 'sapphire1366126441922'
description:
en: 'Sample ... | true | _ = require 'underscore'
_.mixin require 'underscore-mixins'
ProductUtils = require '../../../lib/sync/utils/product'
###
Match different product attributes and variant prices
###
OLD_PRODUCT =
id: '123'
name:
en: 'PI:NAME:<NAME>END_PI'
de: 'PI:NAME:<NAME>END_PI'
slug:
en: 'sapphire1366126441922'
d... |
[
{
"context": "ons'\n\n defaults: ->\n email: null\n password: null\n rememberMe: false\n\n validate: (attributes) -",
"end": 216,
"score": 0.6747621297836304,
"start": 212,
"tag": "PASSWORD",
"value": "null"
}
] | source/NuGet/coffeescript/content/Scripts/application/models/session.coffee | kazimanzurrashid/AspNetMvcBackboneJsSpa | 22 | exports = @
App = exports.Application or= {}
Models = App.Models or= {}
class Models.Session extends Backbone.Model
urlRoot: -> App.serverUrlPrefix + '/sessions'
defaults: ->
email: null
password: null
rememberMe: false
validate: (attributes) ->
Validation = Models.Validation
errors = {}
... | 159878 | exports = @
App = exports.Application or= {}
Models = App.Models or= {}
class Models.Session extends Backbone.Model
urlRoot: -> App.serverUrlPrefix + '/sessions'
defaults: ->
email: null
password: <PASSWORD>
rememberMe: false
validate: (attributes) ->
Validation = Models.Validation
errors ... | true | exports = @
App = exports.Application or= {}
Models = App.Models or= {}
class Models.Session extends Backbone.Model
urlRoot: -> App.serverUrlPrefix + '/sessions'
defaults: ->
email: null
password: PI:PASSWORD:<PASSWORD>END_PI
rememberMe: false
validate: (attributes) ->
Validation = Models.Vali... |
[
{
"context": "lass Line extends LinkedList.Node\n @DATA_KEY : 'line'\n\n constructor: (@doc, @node) ->\n @formats = ",
"end": 342,
"score": 0.8725918531417847,
"start": 338,
"tag": "KEY",
"value": "line"
}
] | src/core/line.coffee | KentZheng/testingflow | 0 | _ = require('lodash')
Delta = require('rich-text/lib/delta')
dom = require('../lib/dom')
Format = require('./format')
Leaf = require('./leaf')
Line = require('./line')
LinkedList = require('../lib/linked-list')
Normalizer = require('./normalizer')
class Line extends LinkedList.Nod... | 220666 | _ = require('lodash')
Delta = require('rich-text/lib/delta')
dom = require('../lib/dom')
Format = require('./format')
Leaf = require('./leaf')
Line = require('./line')
LinkedList = require('../lib/linked-list')
Normalizer = require('./normalizer')
class Line extends LinkedList.Nod... | true | _ = require('lodash')
Delta = require('rich-text/lib/delta')
dom = require('../lib/dom')
Format = require('./format')
Leaf = require('./leaf')
Line = require('./line')
LinkedList = require('../lib/linked-list')
Normalizer = require('./normalizer')
class Line extends LinkedList.Nod... |
[
{
"context": " window.pubnub = PUBNUB.init\n publish_key: 'pub-c-7070d569-77ab-48d3-97ca-c0c3f7ab6403'\n subscribe_key: 'sub-c-49a2a468-ced1-11e2-a",
"end": 1431,
"score": 0.9997469782829285,
"start": 1389,
"tag": "KEY",
"value": "pub-c-7070d569-77ab-48d3-97ca-c0c3f7ab6403"
},
... | app/scripts/main.coffee | ndsclaramaria/sky.github.io | 35 | class GooglePlusClient
constructor: (@token) ->
@baseUrl = 'https://www.googleapis.com/plus/v1'
getCurrentUser: (callback) ->
req =
url: @baseUrl + '/people/me'
data:
access_token: @token
v: 3.0
alt: 'json'
'max-results': 10000
$.ajax(req).done callback
ge... | 224594 | class GooglePlusClient
constructor: (@token) ->
@baseUrl = 'https://www.googleapis.com/plus/v1'
getCurrentUser: (callback) ->
req =
url: @baseUrl + '/people/me'
data:
access_token: @token
v: 3.0
alt: 'json'
'max-results': 10000
$.ajax(req).done callback
ge... | true | class GooglePlusClient
constructor: (@token) ->
@baseUrl = 'https://www.googleapis.com/plus/v1'
getCurrentUser: (callback) ->
req =
url: @baseUrl + '/people/me'
data:
access_token: @token
v: 3.0
alt: 'json'
'max-results': 10000
$.ajax(req).done callback
ge... |
[
{
"context": "must be at least 3 characters'\n password: 'must be present'\n\n assert.calledWith(form.username.$setValid",
"end": 611,
"score": 0.9992044568061829,
"start": 596,
"tag": "PASSWORD",
"value": "must be present"
},
{
"context": "must be at least 3 characters'\... | tests/js/util-test.coffee | RichardLitt/h | 0 | assert = chai.assert
sinon.assert.expose(assert, prefix: '')
describe 'h.helpers.formHelpers', ->
formHelpers = null
beforeEach module('h.helpers.formHelpers')
beforeEach inject (_formHelpers_) ->
formHelpers = _formHelpers_
describe '.applyValidationErrors', ->
form = null
beforeEach ->
... | 50924 | assert = chai.assert
sinon.assert.expose(assert, prefix: '')
describe 'h.helpers.formHelpers', ->
formHelpers = null
beforeEach module('h.helpers.formHelpers')
beforeEach inject (_formHelpers_) ->
formHelpers = _formHelpers_
describe '.applyValidationErrors', ->
form = null
beforeEach ->
... | true | assert = chai.assert
sinon.assert.expose(assert, prefix: '')
describe 'h.helpers.formHelpers', ->
formHelpers = null
beforeEach module('h.helpers.formHelpers')
beforeEach inject (_formHelpers_) ->
formHelpers = _formHelpers_
describe '.applyValidationErrors', ->
form = null
beforeEach ->
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992863535881042,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-write-buffer.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... | 77414 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "# Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Redistribution and us",
"end": 34,
"score": 0.9998287558555603,
"start": 21,
"tag": "NAME",
"value": "Yusuke Suzuki"
},
{
"context": "# Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Redist... | node_modules/escope/gulpfile.coffee | lovecrossyou/simplewebpack-demo | 3 | # Copyright (C) 2014 Yusuke Suzuki <utatane.tea@gmail.com>
#
# 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 and... | 162948 | # Copyright (C) 2014 <NAME> <<EMAIL>>
#
# 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 and the following discla... | true | # Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# 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 condit... |
[
{
"context": " id: $scope.trxList.id\n contact_name: contactName\n }))\n $scope.trxList.totalRecords",
"end": 2052,
"score": 0.9991509914398193,
"start": 2041,
"tag": "NAME",
"value": "contactName"
}
] | src/components/widgets-layouts/custom/accounts-invoices-list/accounts-invoices-list.directive.coffee | maestrano/impac-angular | 7 | module = angular.module('impac.components.widgets.accounts-invoices-list', [])
module.controller('WidgetAccountsInvoicesListCtrl', ($scope, $q, ImpacRoutes, BoltResources) ->
# == Context and Helpers ========================================================================
w = $scope.widget
bolts = ImpacRoutes.bo... | 183946 | module = angular.module('impac.components.widgets.accounts-invoices-list', [])
module.controller('WidgetAccountsInvoicesListCtrl', ($scope, $q, ImpacRoutes, BoltResources) ->
# == Context and Helpers ========================================================================
w = $scope.widget
bolts = ImpacRoutes.bo... | true | module = angular.module('impac.components.widgets.accounts-invoices-list', [])
module.controller('WidgetAccountsInvoicesListCtrl', ($scope, $q, ImpacRoutes, BoltResources) ->
# == Context and Helpers ========================================================================
w = $scope.widget
bolts = ImpacRoutes.bo... |
[
{
"context": "@state =\n key : if globals.os is 'mac' then '⌘ + C' else 'Ctrl + C'\n\n\n onCMDClick: ->\n\n codebloc",
"end": 567,
"score": 0.9259670972824097,
"start": 562,
"tag": "KEY",
"value": "⌘ + C"
},
{
"context": " key : if globals.os is 'mac' then '⌘ + C' else 'Ctr... | client/home/lib/utilities/components/kdcli/container.coffee | lionheart1022/koding | 0 | kd = require 'kd'
React = require 'app/react'
globals = require 'globals'
whoami = require 'app/util/whoami'
Tracker = require 'app/util/tracker'
copyToClipboard = require 'app/util/copyToClipboard'
View = require './view'
TeamFlux = require 'app/flux/teams'
KDReactorMixin = require 'app/flux/base/reactormixin'
modul... | 95582 | kd = require 'kd'
React = require 'app/react'
globals = require 'globals'
whoami = require 'app/util/whoami'
Tracker = require 'app/util/tracker'
copyToClipboard = require 'app/util/copyToClipboard'
View = require './view'
TeamFlux = require 'app/flux/teams'
KDReactorMixin = require 'app/flux/base/reactormixin'
modul... | true | kd = require 'kd'
React = require 'app/react'
globals = require 'globals'
whoami = require 'app/util/whoami'
Tracker = require 'app/util/tracker'
copyToClipboard = require 'app/util/copyToClipboard'
View = require './view'
TeamFlux = require 'app/flux/teams'
KDReactorMixin = require 'app/flux/base/reactormixin'
modul... |
[
{
"context": "\n @items = [{\n name: 'Гра'\n torrent_file_url: 'game url'\n ",
"end": 895,
"score": 0.9477983713150024,
"start": 892,
"tag": "NAME",
"value": "Гра"
}
] | spec/adapters/pslan/parser_spec.coffee | dnesteryuk/hubot-torrent | 2 | Buffer = require('buffer').Buffer
Iconv = require('iconv').Iconv
Parser = require('../../../lib/hubot-torrent/adapters/pslan/parser')
sharedSet = require('./../../support/shared_tests/parser')
describe 'Adapters.Pslan.Parser', ->
wrapHtml = (body) ->
"<html><head></head><body>#{body}</body></html>"
wra... | 20046 | Buffer = require('buffer').Buffer
Iconv = require('iconv').Iconv
Parser = require('../../../lib/hubot-torrent/adapters/pslan/parser')
sharedSet = require('./../../support/shared_tests/parser')
describe 'Adapters.Pslan.Parser', ->
wrapHtml = (body) ->
"<html><head></head><body>#{body}</body></html>"
wra... | true | Buffer = require('buffer').Buffer
Iconv = require('iconv').Iconv
Parser = require('../../../lib/hubot-torrent/adapters/pslan/parser')
sharedSet = require('./../../support/shared_tests/parser')
describe 'Adapters.Pslan.Parser', ->
wrapHtml = (body) ->
"<html><head></head><body>#{body}</body></html>"
wra... |
[
{
"context": "rn {\n userId: @userId\n name: @name\n link: @_getFileLink()\n ",
"end": 1118,
"score": 0.9014167189598083,
"start": 1118,
"tag": "NAME",
"value": ""
},
{
"context": " {\n userId: @userId\n name: @name\n ... | src/server/file/model.coffee | LaPingvino/rizzoma | 88 | Model = require('../common/model').Model
{
REDIRECT_URL
THUMBNAIL_REDIRECT_URL
} = require('./constants')
THUMBNAIL_NAME = 'thumbnail'
class FileModel extends Model
constructor: (@id, @userId, @path, @name, @size, @mimeType, @status, @uploaded = Date.now()) ->
###
Модель файла, прикрепле... | 106600 | Model = require('../common/model').Model
{
REDIRECT_URL
THUMBNAIL_REDIRECT_URL
} = require('./constants')
THUMBNAIL_NAME = 'thumbnail'
class FileModel extends Model
constructor: (@id, @userId, @path, @name, @size, @mimeType, @status, @uploaded = Date.now()) ->
###
Модель файла, прикрепле... | true | Model = require('../common/model').Model
{
REDIRECT_URL
THUMBNAIL_REDIRECT_URL
} = require('./constants')
THUMBNAIL_NAME = 'thumbnail'
class FileModel extends Model
constructor: (@id, @userId, @path, @name, @size, @mimeType, @status, @uploaded = Date.now()) ->
###
Модель файла, прикрепле... |
[
{
"context": "ss interoperability\n# Based on https://github.com/balupton/es6-javascript-class-interop\n# Helper functions t",
"end": 16237,
"score": 0.9959796071052551,
"start": 16229,
"tag": "USERNAME",
"value": "balupton"
},
{
"context": "'yo', 'buddy'\n eq i.greeting, 'yo'\n eq... | test/classes.coffee | takeratta/coffeescript | 0 | # Classes
# -------
# * Class Definition
# * Class Instantiation
# * Inheritance and Super
# * ES2015+ Class Interoperability
test "classes with a four-level inheritance chain", ->
class Base
func: (string) ->
"zero/#{string}"
@static: (string) ->
"static/#{string}"
class FirstChild extends... | 91524 | # Classes
# -------
# * Class Definition
# * Class Instantiation
# * Inheritance and Super
# * ES2015+ Class Interoperability
test "classes with a four-level inheritance chain", ->
class Base
func: (string) ->
"zero/#{string}"
@static: (string) ->
"static/#{string}"
class FirstChild extends... | true | # Classes
# -------
# * Class Definition
# * Class Instantiation
# * Inheritance and Super
# * ES2015+ Class Interoperability
test "classes with a four-level inheritance chain", ->
class Base
func: (string) ->
"zero/#{string}"
@static: (string) ->
"static/#{string}"
class FirstChild extends... |
[
{
"context": "g strict\", ->\n qs2mongo.parse query: name: [\"juan\", \"jacobs\"]\n .filters.should.eql\n nam",
"end": 5133,
"score": 0.8291997909545898,
"start": 5129,
"tag": "NAME",
"value": "juan"
},
{
"context": "\", ->\n qs2mongo.parse query: name: [\"juan\... | src/qs2mongo.spec.coffee | Parsimotion/qs2mongo | 0 | _ = require("lodash")
should = require("should")
Qs2Mongo = require("./qs2mongo")
{ ObjectId } = require("mongodb")
Manual = require("./schemas/manual")
{ qs2mongo, req, multigetReq, multigetObjectIdReq, aDate, dateReq, aNumber, numberReq, anObjectId, objectIdReq } = {}
describe "Qs2Mongo", ->
beforeEach ->
re... | 3991 | _ = require("lodash")
should = require("should")
Qs2Mongo = require("./qs2mongo")
{ ObjectId } = require("mongodb")
Manual = require("./schemas/manual")
{ qs2mongo, req, multigetReq, multigetObjectIdReq, aDate, dateReq, aNumber, numberReq, anObjectId, objectIdReq } = {}
describe "Qs2Mongo", ->
beforeEach ->
re... | true | _ = require("lodash")
should = require("should")
Qs2Mongo = require("./qs2mongo")
{ ObjectId } = require("mongodb")
Manual = require("./schemas/manual")
{ qs2mongo, req, multigetReq, multigetObjectIdReq, aDate, dateReq, aNumber, numberReq, anObjectId, objectIdReq } = {}
describe "Qs2Mongo", ->
beforeEach ->
re... |
[
{
"context": "d authentication creds\n ipc.send 'password:validate', 'null', (result) =>\n if result\n ",
"end": 5730,
"score": 0.6594139933586121,
"start": 5722,
"tag": "PASSWORD",
"value": "validate"
}
] | src/renderer/coffee/listeners/state.coffee | s1090709/vessel | 101 | define (require, exports, module) ->
$ = require 'jquery'
Backbone = require 'backbone'
Listener = require 'listener'
environment = require 'cs!utils/environment'
ipc = require 'cs!utils/ipc'
# Coordinate UI actions based upon state requirements
#
class State extends Listener
... | 8576 | define (require, exports, module) ->
$ = require 'jquery'
Backbone = require 'backbone'
Listener = require 'listener'
environment = require 'cs!utils/environment'
ipc = require 'cs!utils/ipc'
# Coordinate UI actions based upon state requirements
#
class State extends Listener
... | true | define (require, exports, module) ->
$ = require 'jquery'
Backbone = require 'backbone'
Listener = require 'listener'
environment = require 'cs!utils/environment'
ipc = require 'cs!utils/ipc'
# Coordinate UI actions based upon state requirements
#
class State extends Listener
... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998458027839661,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/client/hallo/hallo/plugins/toolbarlinebreak.coffee | HansPinckaers/ShareJS-editor | 4 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
#
# ------------------------------------------------------
#
# Hallo linebreak plugin
# (c) 2011 Liip AG, Switzerland
# This plugin may be freely distri... | 79451 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
#
# ------------------------------------------------------
#
# Hallo linebreak plugin
# (c) 2011 Liip AG, Switzerland
# This plugin may be freely distributed u... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
#
# ------------------------------------------------------
#
# Hallo linebreak plugin
# (c) 2011 Liip AG, Switzerland
# This plugin may be freely... |
[
{
"context": "when\nusing a data provider, for example).\n\n@author Roelof Roos (https://github.com/roelofr)\n###\n\nJUnitNode = req",
"end": 136,
"score": 0.9998941421508789,
"start": 125,
"tag": "NAME",
"value": "Roelof Roos"
},
{
"context": "xample).\n\n@author Roelof Roos (https:... | lib/models/junit-test.coffee | roelofr/php-report | 0 | ###
Contains a test, can be either a single test or a test with subcases (when
using a data provider, for example).
@author Roelof Roos (https://github.com/roelofr)
###
JUnitNode = require './junit-node'
module.exports =
class Test extends JUnitNode
class: null
line: null
tests: null
multiple: fals... | 224539 | ###
Contains a test, can be either a single test or a test with subcases (when
using a data provider, for example).
@author <NAME> (https://github.com/roelofr)
###
JUnitNode = require './junit-node'
module.exports =
class Test extends JUnitNode
class: null
line: null
tests: null
multiple: false
... | true | ###
Contains a test, can be either a single test or a test with subcases (when
using a data provider, for example).
@author PI:NAME:<NAME>END_PI (https://github.com/roelofr)
###
JUnitNode = require './junit-node'
module.exports =
class Test extends JUnitNode
class: null
line: null
tests: null
multi... |
[
{
"context": "me, socket\n socket.username = data.username\n socket.password = data.password\n ",
"end": 4528,
"score": 0.5258456468582153,
"start": 4520,
"tag": "USERNAME",
"value": "username"
},
{
"context": " = data.username\n socket.pa... | v0.7/server.coffee | KingSann/TinyChat | 1 | express = require "express"
app = express()
http = require("http").Server app
io = require("socket.io") http
fs = require "fs"
md5 = require "md5"
readline = require "readline"
tcdb = require "./tcdb.js"
moment = require "moment"
moment.locale "zh-cn"
# 读取时间
gettime = -> moment().format "YYYY-MM-DD HH:mm:ss"
# 数据库配置
... | 34172 | express = require "express"
app = express()
http = require("http").Server app
io = require("socket.io") http
fs = require "fs"
md5 = require "md5"
readline = require "readline"
tcdb = require "./tcdb.js"
moment = require "moment"
moment.locale "zh-cn"
# 读取时间
gettime = -> moment().format "YYYY-MM-DD HH:mm:ss"
# 数据库配置
... | true | express = require "express"
app = express()
http = require("http").Server app
io = require("socket.io") http
fs = require "fs"
md5 = require "md5"
readline = require "readline"
tcdb = require "./tcdb.js"
moment = require "moment"
moment.locale "zh-cn"
# 读取时间
gettime = -> moment().format "YYYY-MM-DD HH:mm:ss"
# 数据库配置
... |
[
{
"context": "h.random()*6) # type de syllogisme\n [A,B,C] = [\"machin\",\"truc\",\"chose\"] # les catégories socioprofessio",
"end": 130,
"score": 0.9922347664833069,
"start": 124,
"tag": "NAME",
"value": "machin"
},
{
"context": ")*6) # type de syllogisme\n [A,B,C] = [\"machin... | js/logic6.coffee | AlainBusser/LogicGame | 1 | # A: prémisse
# B : intermédiaire
# C : conclusion
type = Math.floor(Math.random()*6) # type de syllogisme
[A,B,C] = ["machin","truc","chose"] # les catégories socioprofessionnelles
trad = ["non-",""]
[s1,s2,s3,s4] = ["Tout","est","Tout","est"]
############################## fabrication des syllogismes e... | 152042 | # A: prémisse
# B : intermédiaire
# C : conclusion
type = Math.floor(Math.random()*6) # type de syllogisme
[A,B,C] = ["<NAME>","<NAME>","<NAME>"] # les catégories socioprofessionnelles
trad = ["non-",""]
[s1,s2,s3,s4] = ["Tout","est","Tout","est"]
############################## fabrication des syllogisme... | true | # A: prémisse
# B : intermédiaire
# C : conclusion
type = Math.floor(Math.random()*6) # type de syllogisme
[A,B,C] = ["PI:NAME:<NAME>END_PI","PI:NAME:<NAME>END_PI","PI:NAME:<NAME>END_PI"] # les catégories socioprofessionnelles
trad = ["non-",""]
[s1,s2,s3,s4] = ["Tout","est","Tout","est"]
###############... |
[
{
"context": "OG_LEVEL='error'\n process.env.UNTAPPD_API_KEY='foobar1'\n process.env.UNTAPPD_API_SECRET='foobar2'\n ",
"end": 471,
"score": 0.9968811869621277,
"start": 464,
"tag": "KEY",
"value": "foobar1"
},
{
"context": "KEY='foobar1'\n process.env.UNTAPPD_API_SECRET='f... | test/untappd-friends-slack_test.coffee | stephenyeargin/hubot-untappd | 5 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper [
'adapters/slack.coffee',
'../src/untappd-friends.coffee'
]
# Alter time as test runs
originalDateNow = Date.now
mockDateNow = () ->
return Date.parse('Tue Mar 30 2018 14:10:00 GMT-0500 (... | 6144 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper [
'adapters/slack.coffee',
'../src/untappd-friends.coffee'
]
# Alter time as test runs
originalDateNow = Date.now
mockDateNow = () ->
return Date.parse('Tue Mar 30 2018 14:10:00 GMT-0500 (... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
expect = chai.expect
helper = new Helper [
'adapters/slack.coffee',
'../src/untappd-friends.coffee'
]
# Alter time as test runs
originalDateNow = Date.now
mockDateNow = () ->
return Date.parse('Tue Mar 30 2018 14:10:00 GMT-0500 (... |
[
{
"context": "'Derechos'\n Role: 'Rol'\n Roles: 'Rols'\n name: 'Nombre'\n Logout: 'Salir'\n Register: 'Registrar'\n\n off",
"end": 126,
"score": 0.953011155128479,
"start": 120,
"tag": "NAME",
"value": "Nombre"
}
] | client/app/scripts/components/auth/auth.es.coffee | softwarerero/protothril | 0 | T9n.map "es",
Admin: 'Administración'
Right: 'Derecho'
Rights: 'Derechos'
Role: 'Rol'
Roles: 'Rols'
name: 'Nombre'
Logout: 'Salir'
Register: 'Registrar'
offerRegistration: '* Si no tenés un usuario puedes registrarte aquí.'
'invalid token': 'Los datos de acceso son incorrectos'
'You are logged i... | 154058 | T9n.map "es",
Admin: 'Administración'
Right: 'Derecho'
Rights: 'Derechos'
Role: 'Rol'
Roles: 'Rols'
name: '<NAME>'
Logout: 'Salir'
Register: 'Registrar'
offerRegistration: '* Si no tenés un usuario puedes registrarte aquí.'
'invalid token': 'Los datos de acceso son incorrectos'
'You are logged i... | true | T9n.map "es",
Admin: 'Administración'
Right: 'Derecho'
Rights: 'Derechos'
Role: 'Rol'
Roles: 'Rols'
name: 'PI:NAME:<NAME>END_PI'
Logout: 'Salir'
Register: 'Registrar'
offerRegistration: '* Si no tenés un usuario puedes registrarte aquí.'
'invalid token': 'Los datos de acceso son incorrectos'
'Yo... |
[
{
"context": "username|screenname|login/i)\n fakeKey = 'userName'\n else if name.match(/domain|url/)\n ",
"end": 2273,
"score": 0.984256386756897,
"start": 2265,
"tag": "KEY",
"value": "userName"
},
{
"context": "itConfig.user.name then gitConfig.user.name else ... | node_modules/tower/packages/tower-generator/server/resources.coffee | MagicPower2/Power | 1 | _ = Tower._
fs = require 'fs'
# @mixin
Tower.GeneratorResources =
generate: (type) ->
options =
program: @program
app: @app
user: @user
model: @model
view: @view
controller: @controller
destinationRoot: @des... | 148740 | _ = Tower._
fs = require 'fs'
# @mixin
Tower.GeneratorResources =
generate: (type) ->
options =
program: @program
app: @app
user: @user
model: @model
view: @view
controller: @controller
destinationRoot: @des... | true | _ = Tower._
fs = require 'fs'
# @mixin
Tower.GeneratorResources =
generate: (type) ->
options =
program: @program
app: @app
user: @user
model: @model
view: @view
controller: @controller
destinationRoot: @des... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n\n# Permission ",
"end": 18,
"score": 0.9990828633308411,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "s.getServers()\nassert existing.length\ngoog = [\n \"8.8.8.8\"\n \"8.8.4.4\"\n]\nassert.does... | test/simple/test-dns.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, mer... | 172159 | # 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, mer... | 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, cop... |
[
{
"context": "st.add \"authorFreq\";\n nameCol.textContent = author; pcCol.textContent = (authFreq[author] / lineCoun",
"end": 2210,
"score": 0.9110380411148071,
"start": 2204,
"tag": "NAME",
"value": "author"
}
] | lib/git-authors-view.coffee | groktools/git-authors | 7 | path = require "path"
{BufferedProcess} = require "atom"
module.exports =
class GitAuthorsView
@message: null,
constructor: (serializedState) ->
# Create root element
@element = @makeHTMLElement('div', 'git-authors')
# Create message element
@message = @makeHTMLElement('div','message',"Getting au... | 81912 | path = require "path"
{BufferedProcess} = require "atom"
module.exports =
class GitAuthorsView
@message: null,
constructor: (serializedState) ->
# Create root element
@element = @makeHTMLElement('div', 'git-authors')
# Create message element
@message = @makeHTMLElement('div','message',"Getting au... | true | path = require "path"
{BufferedProcess} = require "atom"
module.exports =
class GitAuthorsView
@message: null,
constructor: (serializedState) ->
# Create root element
@element = @makeHTMLElement('div', 'git-authors')
# Create message element
@message = @makeHTMLElement('div','message',"Getting au... |
[
{
"context": "# * http://foundation.zurb.com\n# * Copyright 2012, ZURB\n# * Free to use under the MIT license.\n# * http:/",
"end": 161,
"score": 0.5558185577392578,
"start": 157,
"tag": "NAME",
"value": "ZURB"
}
] | coffee/tooltips.coffee | alejo8591/shurikend | 0 | ###
Inspired in foundation v.3.2
tooltips: tooltips.coffee
###
#
# * jQuery Foundation Tooltips 2.0.2
# * http://foundation.zurb.com
# * Copyright 2012, ZURB
# * Free to use under the MIT license.
# * http://www.opensource.org/licenses/mit-license.php
#
#jslint unparam: true, browser: true, indent: 2
(($, window,... | 171921 | ###
Inspired in foundation v.3.2
tooltips: tooltips.coffee
###
#
# * jQuery Foundation Tooltips 2.0.2
# * http://foundation.zurb.com
# * Copyright 2012, <NAME>
# * Free to use under the MIT license.
# * http://www.opensource.org/licenses/mit-license.php
#
#jslint unparam: true, browser: true, indent: 2
(($, windo... | true | ###
Inspired in foundation v.3.2
tooltips: tooltips.coffee
###
#
# * jQuery Foundation Tooltips 2.0.2
# * http://foundation.zurb.com
# * Copyright 2012, PI:NAME:<NAME>END_PI
# * Free to use under the MIT license.
# * http://www.opensource.org/licenses/mit-license.php
#
#jslint unparam: true, browser: true, indent:... |
[
{
"context": ".env.MAIL_URL = 'smtp://postmaster%40tiegushi.com:a7e104e236965118d8f1bd3268f36d8c@smtp.mailgun.org:587'\n #process.env.MAIL_URL = 'smtp://postma",
"end": 264,
"score": 0.9988725781440735,
"start": 215,
"tag": "EMAIL",
"value": "a7e104e236965118d8f1bd3268f36d8c@smtp.mailgu... | hotShareWeb/server/test_email_url.coffee | fay1986/mobile_app_server | 4 |
if Meteor.isServer
Meteor.startup ()->
if (not process.env.MAIL_URL) or process.env.MAIL_URL is ''
console.log "----setup smtp server---"
process.env.MAIL_URL = 'smtp://postmaster%40tiegushi.com:a7e104e236965118d8f1bd3268f36d8c@smtp.mailgun.org:587'
#process.env.MAIL_URL = 'smtp://postmaster%4... | 2869 |
if Meteor.isServer
Meteor.startup ()->
if (not process.env.MAIL_URL) or process.env.MAIL_URL is ''
console.log "----setup smtp server---"
process.env.MAIL_URL = 'smtp://postmaster%40tiegushi.com:<EMAIL>:587'
#process.env.MAIL_URL = 'smtp://postmaster%40email.tiegushi.com:<EMAIL>:587'
#pr... | true |
if Meteor.isServer
Meteor.startup ()->
if (not process.env.MAIL_URL) or process.env.MAIL_URL is ''
console.log "----setup smtp server---"
process.env.MAIL_URL = 'smtp://postmaster%40tiegushi.com:PI:EMAIL:<EMAIL>END_PI:587'
#process.env.MAIL_URL = 'smtp://postmaster%40email.tiegushi.com:PI:EMAI... |
[
{
"context": "Enforce <marquee> elements are not used.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 107,
"score": 0.9998591542243958,
"start": 96,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/accessible-emoji.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce <marquee> elements are not used.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{RuleTest... | 131972 | ### eslint-env jest ###
###*
# @fileoverview Enforce <marquee> elements are not used.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{RuleTester} =... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce <marquee> elements are not used.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
... |
[
{
"context": "#############\n#\n#\tMoocita collections\n# Created by Markus on 26/10/2015.\n#\n################################",
"end": 99,
"score": 0.9991944432258606,
"start": 93,
"tag": "NAME",
"value": "Markus"
}
] | server/publications/reviews.coffee | agottschalk10/worklearn | 0 | #######################################################
#
# Moocita collections
# Created by Markus on 26/10/2015.
#
#######################################################
#######################################################
# item header
#######################################################
###################... | 44575 | #######################################################
#
# Moocita collections
# Created by <NAME> on 26/10/2015.
#
#######################################################
#######################################################
# item header
#######################################################
###################... | true | #######################################################
#
# Moocita collections
# Created by PI:NAME:<NAME>END_PI on 26/10/2015.
#
#######################################################
#######################################################
# item header
#######################################################
#####... |
[
{
"context": " :\n name : 'Koding'\n link : 'https://koding.com",
"end": 2986,
"score": 0.9903290867805481,
"start": 2980,
"tag": "NAME",
"value": "Koding"
},
{
"context": "rname :\n label : 'U... | client/app/lib/providers/config.coffee | lionheart1022/koding | 0 | globals = require 'globals'
isProd = globals.config.environment is 'production'
baseURL = globals.config.domains.base
module.exports = globals.config.providers =
custom :
name : 'Custom'
link : "https://#{baseURL}"
title : 'Custom C... | 190430 | globals = require 'globals'
isProd = globals.config.environment is 'production'
baseURL = globals.config.domains.base
module.exports = globals.config.providers =
custom :
name : 'Custom'
link : "https://#{baseURL}"
title : 'Custom C... | true | globals = require 'globals'
isProd = globals.config.environment is 'production'
baseURL = globals.config.domains.base
module.exports = globals.config.providers =
custom :
name : 'Custom'
link : "https://#{baseURL}"
title : 'Custom C... |
[
{
"context": "cense.\n###\n\n###*\n@module joukou-api/routes\n@author Isaac Johnston <isaac.johnston@joukou.com>\n@author Juan Morales ",
"end": 626,
"score": 0.9998781085014343,
"start": 612,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": "@module joukou-api/routes\n@autho... | src/routes.coffee | joukou/joukou-api | 0 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 159194 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | true | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
[
{
"context": "r = @owner\n name = @name\n # @type = Tower.namespaced(",
"end": 1802,
"score": 0.7915821075439453,
"start": 1802,
"tag": "NAME",
"value": ""
}
] | src/tower/model/relation.coffee | vjsingh/tower | 1 | class Tower.Model.Relation extends Tower.Class
# Construct a new relation.
#
# @param [Function] owner Tower.Model class this relation is defined on.
# @param [String] name name of the relation.
# @param [Object] options options hash.
#
# @option options [String] type name of the associated class.
... | 149022 | class Tower.Model.Relation extends Tower.Class
# Construct a new relation.
#
# @param [Function] owner Tower.Model class this relation is defined on.
# @param [String] name name of the relation.
# @param [Object] options options hash.
#
# @option options [String] type name of the associated class.
... | true | class Tower.Model.Relation extends Tower.Class
# Construct a new relation.
#
# @param [Function] owner Tower.Model class this relation is defined on.
# @param [String] name name of the relation.
# @param [Object] options options hash.
#
# @option options [String] type name of the associated class.
... |
[
{
"context": "bot xkcd random - XKCD comic <num>\n#\n# Author:\n# twe4ked\n# Hemanth (fixed the max issue)\n\nmodule.exports",
"end": 266,
"score": 0.9996459484100342,
"start": 259,
"tag": "USERNAME",
"value": "twe4ked"
},
{
"context": "dom - XKCD comic <num>\n#\n# Author:\n# t... | src/scripts/xkcd.coffee | Reelhouse/hubot-scripts | 9 | # Description:
# Grab XKCD comic image urls
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot xkcd [latest]- The latest XKCD comic
# hubot xkcd <num> - XKCD comic <num>
# hubot xkcd random - XKCD comic <num>
#
# Author:
# twe4ked
# Hemanth (fixed the max issue)
module.exports = (... | 8138 | # Description:
# Grab XKCD comic image urls
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot xkcd [latest]- The latest XKCD comic
# hubot xkcd <num> - XKCD comic <num>
# hubot xkcd random - XKCD comic <num>
#
# Author:
# twe4ked
# <NAME>th (fixed the max issue)
module.exports = ... | true | # Description:
# Grab XKCD comic image urls
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot xkcd [latest]- The latest XKCD comic
# hubot xkcd <num> - XKCD comic <num>
# hubot xkcd random - XKCD comic <num>
#
# Author:
# twe4ked
# PI:NAME:<NAME>END_PIth (fixed the max issue)
mod... |
[
{
"context": "y) ->\n root[key]\n keys = role.split /\\./g\n allgood = false\n if user.roles\n ",
"end": 1810,
"score": 0.6401093006134033,
"start": 1809,
"tag": "KEY",
"value": "g"
}
] | src/ndx-auth.coffee | ndxbxrme/ndx-auth-client | 0 | 'use strict'
module = null
try
module = angular.module 'ndx'
catch e
module = angular.module 'ndx', []
module.provider 'Auth', ->
settings =
redirect: 'dashboard'
config: (args) ->
angular.extend settings, args
$get: ($http, $q, $state, $window, $injector) ->
user = null
loading = false
cu... | 203385 | 'use strict'
module = null
try
module = angular.module 'ndx'
catch e
module = angular.module 'ndx', []
module.provider 'Auth', ->
settings =
redirect: 'dashboard'
config: (args) ->
angular.extend settings, args
$get: ($http, $q, $state, $window, $injector) ->
user = null
loading = false
cu... | true | 'use strict'
module = null
try
module = angular.module 'ndx'
catch e
module = angular.module 'ndx', []
module.provider 'Auth', ->
settings =
redirect: 'dashboard'
config: (args) ->
angular.extend settings, args
$get: ($http, $q, $state, $window, $injector) ->
user = null
loading = false
cu... |
[
{
"context": "e: 'The Wonderful Wizard of Oz',\n author: 'L. Frank Baum'}, assets)\n testbook.assets.init(done)\n d",
"end": 1800,
"score": 0.999883770942688,
"start": 1787,
"tag": "NAME",
"value": "L. Frank Baum"
},
{
"context": "e: 'The Wonderful Wizard of Oz',\n ... | scripts/test/epub.coffee | baldurbjarnason/bookmaker | 1 | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Chapter = index.Chapter
Book = index.Book
Assets = index.Assets
zipStream = require('zipstream-contentment')
fs = require 'fs'
exec = require('child_process').exec
testoutline = {
id: 'titlepage',
filename: 'title.html',
ti... | 57846 | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Chapter = index.Chapter
Book = index.Book
Assets = index.Assets
zipStream = require('zipstream-contentment')
fs = require 'fs'
exec = require('child_process').exec
testoutline = {
id: 'titlepage',
filename: 'title.html',
ti... | true | 'use strict'
chai = require 'chai'
should = chai.should()
index = require '../src/index'
Chapter = index.Chapter
Book = index.Book
Assets = index.Assets
zipStream = require('zipstream-contentment')
fs = require 'fs'
exec = require('child_process').exec
testoutline = {
id: 'titlepage',
filename: 'title.html',
ti... |
[
{
"context": "###\nCopyright 2017 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 25,
"score": 0.9904049038887024,
"start": 19,
"tag": "NAME",
"value": "Balena"
},
{
"context": "mage, new format, according to https://github.com/resin-os/meta-resin/pull/770/files\n... | lib/network.coffee | resin-io-modules/resin-device-init | 3 | ###
Copyright 2017 Balena
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... | 102412 | ###
Copyright 2017 <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 2017 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": "st/language-reference.html\n# - https://github.com/diku-dk/futhark-mode/blob/ca22b1e5/futhark-highlight.el\nn",
"end": 148,
"score": 0.9997382760047913,
"start": 141,
"tag": "USERNAME",
"value": "diku-dk"
},
{
"context": "rk-mode/blob/ca22b1e5/futhark-highlight.el\nname... | grammars/futhark.cson | Alhadis/language-etc | 5 | # Direct port of Emacs' `futhark-mode'. Sources:
# - https://futhark.readthedocs.io/en/latest/language-reference.html
# - https://github.com/diku-dk/futhark-mode/blob/ca22b1e5/futhark-highlight.el
name: "Futhark"
scopeName: "source.futhark"
fileTypes: ["fut"]
patterns: [include: "#main"]
firstLineMatch: """(?x)
# Ema... | 180450 | # Direct port of Emacs' `futhark-mode'. Sources:
# - https://futhark.readthedocs.io/en/latest/language-reference.html
# - https://github.com/diku-dk/futhark-mode/blob/ca22b1e5/futhark-highlight.el
name: "<NAME>uthark"
scopeName: "source.futhark"
fileTypes: ["fut"]
patterns: [include: "#main"]
firstLineMatch: """(?x)
... | true | # Direct port of Emacs' `futhark-mode'. Sources:
# - https://futhark.readthedocs.io/en/latest/language-reference.html
# - https://github.com/diku-dk/futhark-mode/blob/ca22b1e5/futhark-highlight.el
name: "PI:NAME:<NAME>END_PIuthark"
scopeName: "source.futhark"
fileTypes: ["fut"]
patterns: [include: "#main"]
firstLineMat... |
[
{
"context": "###\n Pokemon Go(c) MITM node proxy\n Example by Daniel Gothenborg <daniel@dgw.no>\n\n This will auto-spin PokeStops ",
"end": 66,
"score": 0.9998492002487183,
"start": 49,
"tag": "NAME",
"value": "Daniel Gothenborg"
},
{
"context": ") MITM node proxy\n Example by D... | example.visitPokeStop.coffee | noobcakes4603/tinkering | 393 | ###
Pokemon Go(c) MITM node proxy
Example by Daniel Gothenborg <daniel@dgw.no>
This will auto-spin PokeStops within 30m with no cooldown.
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
LatLon = require('geodesy').LatLonSpherical
forts = null
currentLocation = null
server = new PokemonGoMITM port: 8081
... | 197533 | ###
Pokemon Go(c) MITM node proxy
Example by <NAME> <<EMAIL>>
This will auto-spin PokeStops within 30m with no cooldown.
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
LatLon = require('geodesy').LatLonSpherical
forts = null
currentLocation = null
server = new PokemonGoMITM port: 8081
.addRequestHand... | true | ###
Pokemon Go(c) MITM node proxy
Example by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
This will auto-spin PokeStops within 30m with no cooldown.
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
LatLon = require('geodesy').LatLonSpherical
forts = null
currentLocation = null
server = new PokemonGoMITM... |
[
{
"context": "# Copyright (C) 2013 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Redistribution and us",
"end": 34,
"score": 0.999824047088623,
"start": 21,
"tag": "NAME",
"value": "Yusuke Suzuki"
},
{
"context": "# Copyright (C) 2013 Yusuke Suzuki <utatane.tea@gmail.com>\n#\n# Redistr... | client/js/build/test/dumper.coffee | Etraud123/JSpwn | 22 | # Copyright (C) 2013 Yusuke Suzuki <utatane.tea@gmail.com>
#
# 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 and... | 88225 | # Copyright (C) 2013 <NAME> <<EMAIL>>
#
# 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 and the following discla... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# 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 condit... |
[
{
"context": "----\n transbrute:\n docs:\n remote: 'git@github.com:YAndrew91/chaplin.git'\n branch: 'gh-pages'",
"end": 2005,
"score": 0.9998164176940918,
"start": 1991,
"tag": "EMAIL",
"value": "git@github.com"
},
{
"context": "rute:\n docs:\n remot... | Gruntfile.coffee | YAndrew91/chaplin | 0 | module.exports = (grunt) ->
# Utilities
# =========
path = require 'path'
# Package
# =======
pkg = require './package.json'
componentsFolder = 'bower_components'
# Modules
# =======
# TODO: Remove this as soon as uRequire releases 0.3 which will able to
# do this for us in the right order mag... | 124486 | module.exports = (grunt) ->
# Utilities
# =========
path = require 'path'
# Package
# =======
pkg = require './package.json'
componentsFolder = 'bower_components'
# Modules
# =======
# TODO: Remove this as soon as uRequire releases 0.3 which will able to
# do this for us in the right order mag... | true | module.exports = (grunt) ->
# Utilities
# =========
path = require 'path'
# Package
# =======
pkg = require './package.json'
componentsFolder = 'bower_components'
# Modules
# =======
# TODO: Remove this as soon as uRequire releases 0.3 which will able to
# do this for us in the right order mag... |
[
{
"context": "t.example.com'\n process.env.ROCKETCHAT_USER = 'user1'\n process.env.ROCKETCHAT_PASSWORD = 'sekret'\n\n",
"end": 515,
"score": 0.9960813522338867,
"start": 510,
"tag": "USERNAME",
"value": "user1"
},
{
"context": " = 'user1'\n process.env.ROCKETCHAT_PASSWORD = ... | test/grafana-rocketchat-test.coffee | Acee11/hubot-grafana | 0 | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper [
'adapters/rocketchat.coffee',
'./../src/grafana.coffee'
]
expect = chai.expect
describe 'rocketchat', ->
beforeEach ->
process.env.HUBOT_GRAFANA_HOS... | 129831 | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper [
'adapters/rocketchat.coffee',
'./../src/grafana.coffee'
]
expect = chai.expect
describe 'rocketchat', ->
beforeEach ->
process.env.HUBOT_GRAFANA_HOS... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
nock = require('nock')
helper = new Helper [
'adapters/rocketchat.coffee',
'./../src/grafana.coffee'
]
expect = chai.expect
describe 'rocketchat', ->
beforeEach ->
process.env.HUBOT_GRAFANA_HOS... |
[
{
"context": "s://gleu.ch\" onClick={TrackEvent.link('Privacy')}>Greg Leuch</a>.</p>\n <p>questions or concerns can be ",
"end": 1320,
"score": 0.9993890523910522,
"start": 1310,
"tag": "NAME",
"value": "Greg Leuch"
}
] | app/assets/javascripts/components/pages/privacy.js.jsx.coffee | gleuch/color-camp | 1 | @ColorPrivacyPage = React.createClass
getInitialState : ->
{ }
componentDidMount : ->
#
componentWillUnmount : ->
#
componentWillUpdate : (p,s)->
#
componentDidUpdate : (p,s)->
#
render : ->
content = `<span>
<section>
<h1>privacy & terms</h1>
<p>as part of... | 51502 | @ColorPrivacyPage = React.createClass
getInitialState : ->
{ }
componentDidMount : ->
#
componentWillUnmount : ->
#
componentWillUpdate : (p,s)->
#
componentDidUpdate : (p,s)->
#
render : ->
content = `<span>
<section>
<h1>privacy & terms</h1>
<p>as part of... | true | @ColorPrivacyPage = React.createClass
getInitialState : ->
{ }
componentDidMount : ->
#
componentWillUnmount : ->
#
componentWillUpdate : (p,s)->
#
componentDidUpdate : (p,s)->
#
render : ->
content = `<span>
<section>
<h1>privacy & terms</h1>
<p>as part of... |
[
{
"context": " 8080\nwebIP = process.env.OPENSHIFT_NODEJS_IP || \"192.168.0.100\"\n\n# Base URL\nbaseURL = 'http://' + webIP + ':' + ",
"end": 401,
"score": 0.9997590184211731,
"start": 388,
"tag": "IP_ADDRESS",
"value": "192.168.0.100"
},
{
"context": "for access to PDFs of form sub... | coffee/app.coffee | gavyaggarwal/USDA-EAT-UX-Form | 1 | # Required Modules (all under MIT license)
bodyParser = require('body-parser')
cookieParser = require('cookie-parser')
express = require('express')
fs = require('fs')
moment = require('moment')
serveIndex = require('serve-index')
# Port and IP to use for web server
webPort = process.env.OPENSH... | 143134 | # Required Modules (all under MIT license)
bodyParser = require('body-parser')
cookieParser = require('cookie-parser')
express = require('express')
fs = require('fs')
moment = require('moment')
serveIndex = require('serve-index')
# Port and IP to use for web server
webPort = process.env.OPENSH... | true | # Required Modules (all under MIT license)
bodyParser = require('body-parser')
cookieParser = require('cookie-parser')
express = require('express')
fs = require('fs')
moment = require('moment')
serveIndex = require('serve-index')
# Port and IP to use for web server
webPort = process.env.OPENSH... |
[
{
"context": " authorize:\n url: 'https://github.com/login/oauth/authorize'\n method: 'POST'\n tok",
"end": 168,
"score": 0.9942697286605835,
"start": 163,
"tag": "USERNAME",
"value": "login"
},
{
"context": "ST'\n token:\n url: 'https://github.com... | seed/provider.cson | BoLaMN/node-client | 0 | [
{
id: 'github'
name: 'GitHub'
protocolId: 'OAuth2'
url: 'https://github.com'
endpoints:
authorize:
url: 'https://github.com/login/oauth/authorize'
method: 'POST'
token:
url: 'https://github.com/login/oauth/access_token'
method: 'POST'
auth: 'c... | 63114 | [
{
id: 'github'
name: 'GitHub'
protocolId: 'OAuth2'
url: 'https://github.com'
endpoints:
authorize:
url: 'https://github.com/login/oauth/authorize'
method: 'POST'
token:
url: 'https://github.com/login/oauth/access_token'
method: 'POST'
auth: 'c... | true | [
{
id: 'github'
name: 'GitHub'
protocolId: 'OAuth2'
url: 'https://github.com'
endpoints:
authorize:
url: 'https://github.com/login/oauth/authorize'
method: 'POST'
token:
url: 'https://github.com/login/oauth/access_token'
method: 'POST'
auth: 'c... |
[
{
"context": "#\n# Copyright 2014 Carsten Klein\n#\n# Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9998635053634644,
"start": 19,
"tag": "NAME",
"value": "Carsten Klein"
}
] | src/macros.coffee | vibejs/vibejs-subclassof | 0 | #
# Copyright 2014 Carsten Klein
#
# 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 writ... | 13909 | #
# Copyright 2014 <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, so... | true | #
# Copyright 2014 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 ... |
[
{
"context": " ( done ) ->\n AgentModel.create(\n email: 'test+persona+routes@joukou.com'\n name: 'test/persona/routes'\n password",
"end": 1036,
"score": 0.9998576045036316,
"start": 1006,
"tag": "EMAIL",
"value": "test+persona+routes@joukou.com"
},
{
"context": " ... | test/persona/routes.coffee | joukou/joukou-api | 0 | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | 138698 | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | true | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... |
[
{
"context": " process.env.RUTRACKER_LOGIN\n login_password: process.env.RUTRACKER_PASSWORD\n redirect: 'index.php'\n login: ",
"end": 500,
"score": 0.9228500127792358,
"start": 470,
"tag": "PASSWORD",
"value": "process.env.RUTRACKER_PASSWORD"
}
] | lib/hubot-torrent/adapters/rutracker/authorize_granter.coffee | dnesteryuk/hubot-torrent | 2 | class AuthorizeGranter
_trackerHost: 'rutracker.org'
_pathToLogin: '/forum/login.php'
_requiredEnvVars: [
'RUTRACKER_LOGIN'
'RUTRACKER_PASSWORD'
]
trackerName: ->
'Rutracker'
parseAuthCode: (res) ->
res.headers['set-cookie'][0].match(/bb_data=([\w-\d]+);/)[0].replace(';', '')
authorize... | 224831 | class AuthorizeGranter
_trackerHost: 'rutracker.org'
_pathToLogin: '/forum/login.php'
_requiredEnvVars: [
'RUTRACKER_LOGIN'
'RUTRACKER_PASSWORD'
]
trackerName: ->
'Rutracker'
parseAuthCode: (res) ->
res.headers['set-cookie'][0].match(/bb_data=([\w-\d]+);/)[0].replace(';', '')
authorize... | true | class AuthorizeGranter
_trackerHost: 'rutracker.org'
_pathToLogin: '/forum/login.php'
_requiredEnvVars: [
'RUTRACKER_LOGIN'
'RUTRACKER_PASSWORD'
]
trackerName: ->
'Rutracker'
parseAuthCode: (res) ->
res.headers['set-cookie'][0].match(/bb_data=([\w-\d]+);/)[0].replace(';', '')
authorize... |
[
{
"context": "{@serverPort}\"\n auth:\n username: 'some-uuid'\n password: 'some-token'\n qs:\n ",
"end": 1590,
"score": 0.9938365817070007,
"start": 1581,
"tag": "USERNAME",
"value": "some-uuid"
},
{
"context": " username: 'some-uuid'\n ... | test/integration/meshblu-get-gmail-spec.coffee | octoblu/meshblu-get-gmail | 0 | {beforeEach, afterEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
shmock = require '@octoblu/shmock'
request = require 'request'
enableDestroy = require 'server-destroy'
Server = require '../../src/server'
describe 'Connect to GMAIL', ->
beforeEach (don... | 218345 | {beforeEach, afterEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
shmock = require '@octoblu/shmock'
request = require 'request'
enableDestroy = require 'server-destroy'
Server = require '../../src/server'
describe 'Connect to GMAIL', ->
beforeEach (don... | true | {beforeEach, afterEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
shmock = require '@octoblu/shmock'
request = require 'request'
enableDestroy = require 'server-destroy'
Server = require '../../src/server'
describe 'Connect to GMAIL', ->
beforeEach (don... |
[
{
"context": " backbone-orm.js 0.7.14\n Copyright (c) 2013-2016 Vidigami\n License: MIT (http://www.opensource.org/license",
"end": 63,
"score": 0.9998775720596313,
"start": 55,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": "ses/mit-license.php)\n Source: https://github.com/... | src/lib/schema.coffee | dk-dev/backbone-orm | 54 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 Vidigami
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
BackboneORM = require '../cor... | 132646 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 <NAME>
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
BackboneORM = require '../core'... | true | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 PI:NAME:<NAME>END_PI
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
BackboneORM = req... |
[
{
"context": " firstName: potato.String\n default: \"Marcel\"\n lastName: potato.String\n defa",
"end": 197,
"score": 0.9998296499252319,
"start": 191,
"tag": "NAME",
"value": "Marcel"
},
{
"context": " lastName: potato.String\n default: \... | potato/examples/inheritance.coffee | fulmicoton/fulmicoton.github.io | 4 | # One can describes Potato as a composition of
# literal object. Here we extend the potato "Model"
Name = potato.Model
components:
firstName: potato.String
default: "Marcel"
lastName: potato.String
default: "Patulacci"
methods:
toString: ->
@firstName... | 27908 | # One can describes Potato as a composition of
# literal object. Here we extend the potato "Model"
Name = potato.Model
components:
firstName: potato.String
default: "<NAME>"
lastName: potato.String
default: "<NAME>"
methods:
toString: ->
@firstName + ... | true | # One can describes Potato as a composition of
# literal object. Here we extend the potato "Model"
Name = potato.Model
components:
firstName: potato.String
default: "PI:NAME:<NAME>END_PI"
lastName: potato.String
default: "PI:NAME:<NAME>END_PI"
methods:
toString: ... |
[
{
"context": "UI autocomplete editor 1.0.0\n\n Copyright (c) 2016 Tomasz Jakub Rup\n\n https://github.com/tomi77/backbone-forms-jquer",
"end": 95,
"score": 0.9998703598976135,
"start": 79,
"tag": "NAME",
"value": "Tomasz Jakub Rup"
},
{
"context": "t (c) 2016 Tomasz Jakub Rup\n\n ... | src/autocomplete.coffee | tomi77/backbone-forms-jquery-ui | 0 | ###
Backbone-Forms jQuery UI autocomplete editor 1.0.0
Copyright (c) 2016 Tomasz Jakub Rup
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['unde... | 44656 | ###
Backbone-Forms jQuery UI autocomplete editor 1.0.0
Copyright (c) 2016 <NAME>
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['underscore', '... | true | ###
Backbone-Forms jQuery UI autocomplete editor 1.0.0
Copyright (c) 2016 PI:NAME:<NAME>END_PI
https://github.com/tomi77/backbone-forms-jquery-ui
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['... |
[
{
"context": ") ->\n user = new User(req.body)\n user.password = req.body.password\n\n user.save( (error) ->\n\n if er",
"end": 1512,
"score": 0.8469027280807495,
"start": 1509,
"tag": "PASSWORD",
"value": "req"
},
{
"context": "r = new User(req.body)\n user.password = req.bod... | server/controllers/mobileapi/mobileapi.coffee | gertu/gertu | 1 | _ = require 'underscore'
mongoose = require 'mongoose'
User = mongoose.model 'User'
Deal = mongoose.model 'Deal'
Token = mongoose.model 'Token'
Reservation = mongoose.model 'Reservation'
Shop = mongoose.model "Shop"
exports.usersLogin = (req, res) ->
User.findOne({email: re... | 110242 | _ = require 'underscore'
mongoose = require 'mongoose'
User = mongoose.model 'User'
Deal = mongoose.model 'Deal'
Token = mongoose.model 'Token'
Reservation = mongoose.model 'Reservation'
Shop = mongoose.model "Shop"
exports.usersLogin = (req, res) ->
User.findOne({email: re... | true | _ = require 'underscore'
mongoose = require 'mongoose'
User = mongoose.model 'User'
Deal = mongoose.model 'Deal'
Token = mongoose.model 'Token'
Reservation = mongoose.model 'Reservation'
Shop = mongoose.model "Shop"
exports.usersLogin = (req, res) ->
User.findOne({email: re... |
[
{
"context": "123\"\n\t\t@project_id = \"project-id-123\"\n\t\t@token = 'some-token'\n\t\t@AuthenticationController =\n\t\t\tgetLoggedInUser",
"end": 423,
"score": 0.9429019093513489,
"start": 413,
"tag": "PASSWORD",
"value": "some-token"
},
{
"context": "oller =\n\t\t\tgetLoggedInUs... | test/unit/coffee/Authorization/AuthorizationMiddlewareTests.coffee | shyoshyo/web-sharelatex | 1 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Authorization/AuthorizationMiddleware.js"
SandboxedModule = require('sandboxed-module')
Errors = require "../../../../app/js/Features/Errors/Errors.js"
describe "AuthorizationMiddleware... | 186570 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Authorization/AuthorizationMiddleware.js"
SandboxedModule = require('sandboxed-module')
Errors = require "../../../../app/js/Features/Errors/Errors.js"
describe "AuthorizationMiddleware... | true | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Authorization/AuthorizationMiddleware.js"
SandboxedModule = require('sandboxed-module')
Errors = require "../../../../app/js/Features/Errors/Errors.js"
describe "AuthorizationMiddleware... |
[
{
"context": " --- Contains the base class of a *MODE*\n# Author: Zenathark\n# Mantainer: Zenathark\n#\n# Version 0.0.1\n# Date 2",
"end": 74,
"score": 0.9186640977859497,
"start": 65,
"tag": "NAME",
"value": "Zenathark"
},
{
"context": "class of a *MODE*\n# Author: Zenathark\n# Mant... | lib/mode.coffee | zenathark/wicked-mode | 0 | # state.coffee --- Contains the base class of a *MODE*
# Author: Zenathark
# Mantainer: Zenathark
#
# Version 0.0.1
# Date 2015-11-19
#
# As with vim and emacs, wicked-mode defines *modes* of operation for
# the atom editor. Each mode has its own properies and behavior.
# Also, keybindings must be defined for each mode... | 102062 | # state.coffee --- Contains the base class of a *MODE*
# Author: <NAME>
# Mantainer: <NAME>
#
# Version 0.0.1
# Date 2015-11-19
#
# As with vim and emacs, wicked-mode defines *modes* of operation for
# the atom editor. Each mode has its own properies and behavior.
# Also, keybindings must be defined for each mode.
_ =... | true | # state.coffee --- Contains the base class of a *MODE*
# Author: PI:NAME:<NAME>END_PI
# Mantainer: PI:NAME:<NAME>END_PI
#
# Version 0.0.1
# Date 2015-11-19
#
# As with vim and emacs, wicked-mode defines *modes* of operation for
# the atom editor. Each mode has its own properies and behavior.
# Also, keybindings must be... |
[
{
"context": "## Copyright (c) 2011, Chris Umbel\n##\n## Permission is hereby granted, free of charg",
"end": 34,
"score": 0.9998074769973755,
"start": 23,
"tag": "NAME",
"value": "Chris Umbel"
},
{
"context": "## THE SOFTWARE.\n##\n## Significant changes made by Stuart Watt, includi... | src/wordnet.coffee | brave/wordnet | 3 | ## Copyright (c) 2011, Chris Umbel
##
## 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, ... | 88263 | ## Copyright (c) 2011, <NAME>
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, publish, distr... | true | ## Copyright (c) 2011, PI:NAME:<NAME>END_PI
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, ... |
[
{
"context": "ext(), {\n print_id\n id\n name: name\n story_type: type\n story_points\n ",
"end": 2756,
"score": 0.9959420561790466,
"start": 2752,
"tag": "NAME",
"value": "name"
}
] | js/src/pivy_print.coffee | sudodoki/pivy-print | 1 |
attachAPIHandlers = ->
createAPICard = (project_id, id) ->
extend = (target, other) ->
target = target or {}
for prop of other
target[prop] = other[prop]
target
getAttr = (xml, key) ->
$(xml).find(key).text()
chrome.storage .sync.get 'pivotal_api_key', (result) ->
pr... | 39352 |
attachAPIHandlers = ->
createAPICard = (project_id, id) ->
extend = (target, other) ->
target = target or {}
for prop of other
target[prop] = other[prop]
target
getAttr = (xml, key) ->
$(xml).find(key).text()
chrome.storage .sync.get 'pivotal_api_key', (result) ->
pr... | true |
attachAPIHandlers = ->
createAPICard = (project_id, id) ->
extend = (target, other) ->
target = target or {}
for prop of other
target[prop] = other[prop]
target
getAttr = (xml, key) ->
$(xml).find(key).text()
chrome.storage .sync.get 'pivotal_api_key', (result) ->
pr... |
[
{
"context": ".10 (darwin)\nComment: https://keybase.io/download\n\nxo0EVr0A8wEEAOouu6kTiwMFfHJ2ZoTiEpOSPxMbUSPowGouDkVYBWCbzMXLMKbX\n84YCQIihsaVvRUTBbdobhO8qD3CFsGWPodmmwjdYYDCGs+KVlH49QfHXjH5epItG\nRG8lel+QpOmGQa1vhOdRorgXz0ROwzJzgAk3qUl/Fm8BUKuxQmXopTBHABEBAAHN\nI1Rlc3QgNiBLZXkgPHRoZW1heCt0ZXN0NkBnbWFpbC5jb2... | test/files/subkey_no_cross_sig.iced | johnnyRose/kbpgp | 1 | {KeyManager} = require '../..'
{bufeq_secure} = require '../../lib/util'
#============================================================================
key_without_cross_sig = """-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Keybase Go 1.0.10 (darwin)
Comment: https://keybase.io/download
xo0EVr0A8wEEAOouu6kTiwMFfHJ2... | 217310 | {KeyManager} = require '../..'
{bufeq_secure} = require '../../lib/util'
#============================================================================
key_without_cross_sig = """-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Keybase Go 1.0.10 (darwin)
Comment: https://keybase.io/download
<KEY>
jfq<KEY>
-----END PGP ... | true | {KeyManager} = require '../..'
{bufeq_secure} = require '../../lib/util'
#============================================================================
key_without_cross_sig = """-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Keybase Go 1.0.10 (darwin)
Comment: https://keybase.io/download
PI:KEY:<KEY>END_PI
jfqPI:KEY... |
[
{
"context": "\t\tuserData =\n\t\t\temail: formData.email\n\t\t\tpassword: formData.pass\n\n\t\tuserId = Accounts.createUser userData\n\n\t\tRocke",
"end": 108,
"score": 0.9988147616386414,
"start": 95,
"tag": "PASSWORD",
"value": "formData.pass"
}
] | server/methods/registerUser.coffee | 41studio/41chat | 1 | Meteor.methods
registerUser: (formData) ->
userData =
email: formData.email
password: formData.pass
userId = Accounts.createUser userData
RocketChat.models.Users.setName userId, formData.name
if userData.email
Accounts.sendVerificationEmail(userId, userData.email);
| 150578 | Meteor.methods
registerUser: (formData) ->
userData =
email: formData.email
password: <PASSWORD>
userId = Accounts.createUser userData
RocketChat.models.Users.setName userId, formData.name
if userData.email
Accounts.sendVerificationEmail(userId, userData.email);
| true | Meteor.methods
registerUser: (formData) ->
userData =
email: formData.email
password: PI:PASSWORD:<PASSWORD>END_PI
userId = Accounts.createUser userData
RocketChat.models.Users.setName userId, formData.name
if userData.email
Accounts.sendVerificationEmail(userId, userData.email);
|
[
{
"context": "###\n * Copyright 2013-2017 Thibaut Courouble and other contributors\n *\n * This source code is ",
"end": 44,
"score": 0.9998654723167419,
"start": 27,
"tag": "NAME",
"value": "Thibaut Courouble"
}
] | public/javascripts/lib/license.coffee | w3cub/docshub-node | 3 | ###
* Copyright 2013-2017 Thibaut Courouble and other contributors
*
* This source code is licensed under the terms of the Mozilla
* Public License, v. 2.0, a copy of which may be obtained at:
* http://mozilla.org/MPL/2.0/
###
| 152494 | ###
* Copyright 2013-2017 <NAME> and other contributors
*
* This source code is licensed under the terms of the Mozilla
* Public License, v. 2.0, a copy of which may be obtained at:
* http://mozilla.org/MPL/2.0/
###
| true | ###
* Copyright 2013-2017 PI:NAME:<NAME>END_PI and other contributors
*
* This source code is licensed under the terms of the Mozilla
* Public License, v. 2.0, a copy of which may be obtained at:
* http://mozilla.org/MPL/2.0/
###
|
[
{
"context": "sh the password', (done)->\n user.username = 'hey'\n user.password = 'testing'\n user.saveQ",
"end": 853,
"score": 0.999467670917511,
"start": 850,
"tag": "USERNAME",
"value": "hey"
},
{
"context": " user.username = 'hey'\n user.password = 'testi... | test/unit/user.coffee | ethanmick/fastchat-server | 7 | 'use strict'
#
# FastChat
# 2015
#
require('../../lib/helpers/helpers')()
mongoose = require 'mongoose'
Q = require 'q'
sinon = require 'sinon'
ObjectId = mongoose.Types.ObjectId
should = require('chai').should()
User = require '../../lib/model/user'
Device = require '../../lib/model/device'
Group = require '../../lib... | 13012 | 'use strict'
#
# FastChat
# 2015
#
require('../../lib/helpers/helpers')()
mongoose = require 'mongoose'
Q = require 'q'
sinon = require 'sinon'
ObjectId = mongoose.Types.ObjectId
should = require('chai').should()
User = require '../../lib/model/user'
Device = require '../../lib/model/device'
Group = require '../../lib... | true | 'use strict'
#
# FastChat
# 2015
#
require('../../lib/helpers/helpers')()
mongoose = require 'mongoose'
Q = require 'q'
sinon = require 'sinon'
ObjectId = mongoose.Types.ObjectId
should = require('chai').should()
User = require '../../lib/model/user'
Device = require '../../lib/model/device'
Group = require '../../lib... |
[
{
"context": " 'mock-region'\r\n credentials:\r\n accessKeyId: 'akid'\r\n secretAccessKey: 'secret'\r\n\r\n# Disable setT",
"end": 433,
"score": 0.9911525249481201,
"start": 429,
"tag": "KEY",
"value": "akid"
},
{
"context": ":\r\n accessKeyId: 'akid'\r\n secretAccessKey... | node_modules/sqlite3/node_modules/node-pre-gyp/node_modules/aws-sdk/test/helpers.coffee | xhhjin/heroku-ghost | 0 | AWS = null
ignoreRequire = require
if typeof window == 'undefined'
AWS = ignoreRequire('../lib/aws')
else
AWS = window.AWS
EventEmitter = require('events').EventEmitter
Buffer = AWS.util.Buffer
semver = require('semver')
require('util').print = (data) ->
process.stdout.write(data)
# Mock credenti... | 202599 | AWS = null
ignoreRequire = require
if typeof window == 'undefined'
AWS = ignoreRequire('../lib/aws')
else
AWS = window.AWS
EventEmitter = require('events').EventEmitter
Buffer = AWS.util.Buffer
semver = require('semver')
require('util').print = (data) ->
process.stdout.write(data)
# Mock credenti... | true | AWS = null
ignoreRequire = require
if typeof window == 'undefined'
AWS = ignoreRequire('../lib/aws')
else
AWS = window.AWS
EventEmitter = require('events').EventEmitter
Buffer = AWS.util.Buffer
semver = require('semver')
require('util').print = (data) ->
process.stdout.write(data)
# Mock credenti... |
[
{
"context": "\n Nick Schrock\n </d",
"end": 17184,
"score": 0.9984708428382874,
"start": 17172,
"tag": "NAME",
"value": "Nick Schrock"
},
{
"context": "\n ... | src/pagedraw/landingdesktop.cjsx | hanhaihome/pagedraw | 3 | # Generated by https://pagedraw.io/pages/5249
React = require 'react'
createReactClass = require 'create-react-class'
Landingtopbar = require './landingtopbar'
Demobutton = require './demobutton'
Button = require './button'
Demopills = require './demopills'
Comparisontable = require './comparisontable'
Landingfooter = ... | 223025 | # Generated by https://pagedraw.io/pages/5249
React = require 'react'
createReactClass = require 'create-react-class'
Landingtopbar = require './landingtopbar'
Demobutton = require './demobutton'
Button = require './button'
Demopills = require './demopills'
Comparisontable = require './comparisontable'
Landingfooter = ... | true | # Generated by https://pagedraw.io/pages/5249
React = require 'react'
createReactClass = require 'create-react-class'
Landingtopbar = require './landingtopbar'
Demobutton = require './demobutton'
Button = require './button'
Demopills = require './demopills'
Comparisontable = require './comparisontable'
Landingfooter = ... |
[
{
"context": "odifying variables of class declarations\n# @author Toru Nagashima\n###\n\n'use strict'\n\nastUtils = require '../eslint-",
"end": 106,
"score": 0.9998648762702942,
"start": 92,
"tag": "NAME",
"value": "Toru Nagashima"
}
] | src/rules/no-class-assign.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview A rule to disallow modifying variables of class declarations
# @author Toru Nagashima
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------------------------... | 208423 | ###*
# @fileoverview A rule to disallow modifying variables of class declarations
# @author <NAME>
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#-------------------------------------------------------------... | true | ###*
# @fileoverview A rule to disallow modifying variables of class declarations
# @author PI:NAME:<NAME>END_PI
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------------------... |
[
{
"context": "5, 1, .5, 2, 1, 2, 1, 1, 1, 1, .5, 1 ], # Roc\n [ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,",
"end": 1929,
"score": 0.8688939213752747,
"start": 1928,
"tag": "NAME",
"value": "R"
},
{
"context": "1, 1, 1, 1, 2, 1, 1, 2, 1, .5, .5, 1 ], # Gho\n [ 1... | server/bw/util.coffee | sarenji/pokebattle-sim | 5 | @roundHalfDown = (number) ->
Math.ceil(number - .5)
@typeEffectiveness = (userType, againstTypes, options = {}) ->
userType = Type[userType]
effectiveness = 1
for subtype in againstTypes
targetType = Type[subtype]
multiplier = typeChart[userType][targetType]
multiplier = 1 if multiplier == 0 && op... | 190446 | @roundHalfDown = (number) ->
Math.ceil(number - .5)
@typeEffectiveness = (userType, againstTypes, options = {}) ->
userType = Type[userType]
effectiveness = 1
for subtype in againstTypes
targetType = Type[subtype]
multiplier = typeChart[userType][targetType]
multiplier = 1 if multiplier == 0 && op... | true | @roundHalfDown = (number) ->
Math.ceil(number - .5)
@typeEffectiveness = (userType, againstTypes, options = {}) ->
userType = Type[userType]
effectiveness = 1
for subtype in againstTypes
targetType = Type[subtype]
multiplier = typeChart[userType][targetType]
multiplier = 1 if multiplier == 0 && op... |
[
{
"context": "itor (of confines, of-course)\n [ [ 1, 5, \"JU\"]\n , [ 3, 6, \"ME\"]\n , [ 3, 20, \"MA",
"end": 1719,
"score": 0.9996891617774963,
"start": 1717,
"tag": "NAME",
"value": "JU"
},
{
"context": "rse)\n [ [ 1, 5, \"JU\"]\n , [ 3, 6, \... | test/lib/cosmos.spec.coffee | astrolet/archai | 1 | cosmos = new (require "../../index").Cosmos
_ = require "underscore"
inspect = (require "eyes").inspector()
assert = (require "chai").assert
should = (require "chai").should
describe "Cosmos:", ->
describe "built with defaults -", ->
it "has an 'element' attribute among many", ->
assert cosmos.zodiac.... | 107616 | cosmos = new (require "../../index").Cosmos
_ = require "underscore"
inspect = (require "eyes").inspector()
assert = (require "chai").assert
should = (require "chai").should
describe "Cosmos:", ->
describe "built with defaults -", ->
it "has an 'element' attribute among many", ->
assert cosmos.zodiac.... | true | cosmos = new (require "../../index").Cosmos
_ = require "underscore"
inspect = (require "eyes").inspector()
assert = (require "chai").assert
should = (require "chai").should
describe "Cosmos:", ->
describe "built with defaults -", ->
it "has an 'element' attribute among many", ->
assert cosmos.zodiac.... |
[
{
"context": "'Heroes' may get a second lease\"\n author: \"Nathan Ingraham\"\n origin:\n title: \"The V",
"end": 3454,
"score": 0.9998666048049927,
"start": 3448,
"tag": "NAME",
"value": "Nathan"
}
] | my-feed-title/node_modules/feedly/test/feedly.test.coffee | uraway/Learnings | 0 | fs = require 'fs'
request = require 'request'
q = require 'q'
Feedly = require '../lib/feedly'
FEEDLY_SECRET = process.env.FEEDLY_SECRET
if !FEEDLY_SECRET?
throw new Error """
Specify the client secret in the FEEDLY_SECRET environment variable
Find it here: https://groups.google.com/forum/#!forum/feedly-cloud
"""
... | 125082 | fs = require 'fs'
request = require 'request'
q = require 'q'
Feedly = require '../lib/feedly'
FEEDLY_SECRET = process.env.FEEDLY_SECRET
if !FEEDLY_SECRET?
throw new Error """
Specify the client secret in the FEEDLY_SECRET environment variable
Find it here: https://groups.google.com/forum/#!forum/feedly-cloud
"""
... | true | fs = require 'fs'
request = require 'request'
q = require 'q'
Feedly = require '../lib/feedly'
FEEDLY_SECRET = process.env.FEEDLY_SECRET
if !FEEDLY_SECRET?
throw new Error """
Specify the client secret in the FEEDLY_SECRET environment variable
Find it here: https://groups.google.com/forum/#!forum/feedly-cloud
"""
... |
[
{
"context": "# Copyright © 2014–6 Brad Ackerman.\n#\n# Licensed under the Apache License, Version 2",
"end": 34,
"score": 0.9998512268066406,
"start": 21,
"tag": "NAME",
"value": "Brad Ackerman"
}
] | assets/coffee/promise-buttons.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... | 173981 | # 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": "username': config.mongoUser\n 'mongo-password': config.mongoPass\n \"http-port\": config.port\n\n server = cube.se",
"end": 1069,
"score": 0.9861753582954407,
"start": 1053,
"tag": "PASSWORD",
"value": "config.mongoPass"
}
] | app.coffee | cveksitron/cube-evaluator | 0 | require('coffee-script')
config = require("./config")
cors = require('cors')
cube = require("cube")
express = require('express')
http = require('http')
logger = require('logfmt')
pkg = require('./package.json')
requestid = require('connect-requestid')
app = express()
app.set 'port', ... | 81512 | require('coffee-script')
config = require("./config")
cors = require('cors')
cube = require("cube")
express = require('express')
http = require('http')
logger = require('logfmt')
pkg = require('./package.json')
requestid = require('connect-requestid')
app = express()
app.set 'port', ... | true | require('coffee-script')
config = require("./config")
cors = require('cors')
cube = require("cube")
express = require('express')
http = require('http')
logger = require('logfmt')
pkg = require('./package.json')
requestid = require('connect-requestid')
app = express()
app.set 'port', ... |
[
{
"context": "firstName + ' ' + @lastName\n\nperson = new Person 'Jeremy', 'Ruten'\nname = person.name()\n\n# Trace:\n# 1: b",
"end": 128,
"score": 0.9998825192451477,
"start": 122,
"tag": "NAME",
"value": "Jeremy"
},
{
"context": "+ ' ' + @lastName\n\nperson = new Person 'Jeremy',... | test/traces/coffee/class.coffee | paigeruten/pencil-tracer | 1 | class Person
constructor: (@firstName, @lastName) ->
name: ->
@firstName + ' ' + @lastName
person = new Person 'Jeremy', 'Ruten'
name = person.name()
# Trace:
# 1: before Person=<function>
# 1: after Person=<function>
# 2: before
# 2: after
# 4: before
# 4: after
# 7: before person=/
# ... | 133749 | class Person
constructor: (@firstName, @lastName) ->
name: ->
@firstName + ' ' + @lastName
person = new Person '<NAME>', '<NAME>'
name = person.name()
# Trace:
# 1: before Person=<function>
# 1: after Person=<function>
# 2: before
# 2: after
# 4: before
# 4: after
# 7: before person=/
# ... | true | class Person
constructor: (@firstName, @lastName) ->
name: ->
@firstName + ' ' + @lastName
person = new Person 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI'
name = person.name()
# Trace:
# 1: before Person=<function>
# 1: after Person=<function>
# 2: before
# 2: after
# 4: before
# 4: after
#... |
[
{
"context": "miter\n path = delimiter + path\n\n key = \"#{id}#{path}\"\n\n getRemote(bucket, key)\n .then n",
"end": 4238,
"score": 0.9981131553649902,
"start": 4230,
"tag": "KEY",
"value": "\"#{id}#{"
},
{
"context": " path = delimiter + path\n\n key = \... | lib/s3-fs.coffee | STRd6/zine | 12 | Bindable = require "bindable"
Model = require "model"
delimiter = "/"
status = (response) ->
if response.status >= 200 && response.status < 300
return response
else
throw response
json = (response) ->
response.json()
blob = (response) ->
response.blob()
module.exports = (id, bucket, refreshCredenti... | 69588 | Bindable = require "bindable"
Model = require "model"
delimiter = "/"
status = (response) ->
if response.status >= 200 && response.status < 300
return response
else
throw response
json = (response) ->
response.json()
blob = (response) ->
response.blob()
module.exports = (id, bucket, refreshCredenti... | true | Bindable = require "bindable"
Model = require "model"
delimiter = "/"
status = (response) ->
if response.status >= 200 && response.status < 300
return response
else
throw response
json = (response) ->
response.json()
blob = (response) ->
response.blob()
module.exports = (id, bucket, refreshCredenti... |
[
{
"context": "pe, model) ->\n model.meta ?= {}\n keyPrefix = \"uih-#{ type }:#{ model.uid() }:\"\n\n # Read/write to lo",
"end": 1817,
"score": 0.7442280054092407,
"start": 1815,
"tag": "KEY",
"value": "h-"
}
] | client/internal/bdd.coffee | praneybehl/meteor-ui-harness | 1 | ###
Declares a "spec" as a boolean property that can be toggled.
@param name: The name of the property
@param func: The test function.
###
it.boolean = (name, func) ->
spec = it(name, func)
meta = spec.meta
meta.type = 'boolean'
meta.propName = name
spec
###
Decalres a "spec" with multiple dropdown optio... | 99626 | ###
Declares a "spec" as a boolean property that can be toggled.
@param name: The name of the property
@param func: The test function.
###
it.boolean = (name, func) ->
spec = it(name, func)
meta = spec.meta
meta.type = 'boolean'
meta.propName = name
spec
###
Decalres a "spec" with multiple dropdown optio... | true | ###
Declares a "spec" as a boolean property that can be toggled.
@param name: The name of the property
@param func: The test function.
###
it.boolean = (name, func) ->
spec = it(name, func)
meta = spec.meta
meta.type = 'boolean'
meta.propName = name
spec
###
Decalres a "spec" with multiple dropdown optio... |
[
{
"context": " Meteor.users.insert { _id: testingUid, username: testingUid }\n\ninsertUserWithKey = ->\n insertUser()\n testin",
"end": 480,
"score": 0.9981849789619446,
"start": 470,
"tag": "USERNAME",
"value": "testingUid"
},
{
"context": "er} = NogAuthTest\n\n masterKeys = [\n... | packages/nog-auth/nog-auth-server-tests.coffee | nogproject/nog | 0 | import { expect } from 'chai'
crypto = Npm.require 'crypto'
urlparse = Npm.require('url').parse
# Encode without ':' and strip milliseconds, since they are irrelevant.
toISOStringUrlsafe = (date) ->
date.toISOString().replace(/:|\.[^Z]*/g, '')
testingKey = null
testingUid = '__testing_nog-auth-user'
testingScopes ... | 123764 | import { expect } from 'chai'
crypto = Npm.require 'crypto'
urlparse = Npm.require('url').parse
# Encode without ':' and strip milliseconds, since they are irrelevant.
toISOStringUrlsafe = (date) ->
date.toISOString().replace(/:|\.[^Z]*/g, '')
testingKey = null
testingUid = '__testing_nog-auth-user'
testingScopes ... | true | import { expect } from 'chai'
crypto = Npm.require 'crypto'
urlparse = Npm.require('url').parse
# Encode without ':' and strip milliseconds, since they are irrelevant.
toISOStringUrlsafe = (date) ->
date.toISOString().replace(/:|\.[^Z]*/g, '')
testingKey = null
testingUid = '__testing_nog-auth-user'
testingScopes ... |
[
{
"context": "a.json': ->\n record =\n id: 123\n name: @params.name\n email: \"#{@params.name}@example.",
"end": 796,
"score": 0.9142112135887146,
"start": 796,
"tag": "NAME",
"value": ""
},
{
"context": " id: 123\n name: @params.name\n email: \"#{@par... | examples/readme.coffee | zappajs/zappajs | 50 | # This is the example from README.md
require('./zappajs') ->
## Server-side ##
teacup = @teacup
@get '/': ->
@render 'index',
title: 'Zappa!'
scripts: '/index.js /more.js /client.js'
stylesheet: '/index.css'
@view index: ->
{doctype,html,head,title,script,link,body,h1,div} = teacup
... | 21616 | # This is the example from README.md
require('./zappajs') ->
## Server-side ##
teacup = @teacup
@get '/': ->
@render 'index',
title: 'Zappa!'
scripts: '/index.js /more.js /client.js'
stylesheet: '/index.css'
@view index: ->
{doctype,html,head,title,script,link,body,h1,div} = teacup
... | true | # This is the example from README.md
require('./zappajs') ->
## Server-side ##
teacup = @teacup
@get '/': ->
@render 'index',
title: 'Zappa!'
scripts: '/index.js /more.js /client.js'
stylesheet: '/index.css'
@view index: ->
{doctype,html,head,title,script,link,body,h1,div} = teacup
... |
[
{
"context": "= (require '../')\n url: 'test'\n token: 'test'\n\n projects = gitlab.projects\n members = pr",
"end": 280,
"score": 0.7870383262634277,
"start": 276,
"tag": "PASSWORD",
"value": "test"
}
] | tests/ProjectMembers.test.coffee | lengyuedaidai/node-gitlab | 143 | chai = require 'chai'
expect = chai.expect
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
chai.use sinonChai
describe "ProjectMembers", ->
gitlab = null
projects = null
members = null
before ->
gitlab = (require '../')
url: 'test'
token: 'test'
projects = gitlab.projects
me... | 33970 | chai = require 'chai'
expect = chai.expect
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
chai.use sinonChai
describe "ProjectMembers", ->
gitlab = null
projects = null
members = null
before ->
gitlab = (require '../')
url: 'test'
token: '<PASSWORD>'
projects = gitlab.projects
... | true | chai = require 'chai'
expect = chai.expect
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
chai.use sinonChai
describe "ProjectMembers", ->
gitlab = null
projects = null
members = null
before ->
gitlab = (require '../')
url: 'test'
token: 'PI:PASSWORD:<PASSWORD>END_PI'
projects ... |
[
{
"context": "egistry' ]\n idx = registry.length\n key = \"#{kind}#{idx}\"\n registry.push { key, markup, raw, parsed, }\n r",
"end": 3201,
"score": 0.9974177479743958,
"start": 3186,
"tag": "KEY",
"value": "\"#{kind}#{idx}\""
}
] | src/macro-escaper.coffee | loveencounterflow/mingkwai-typesetter | 1 |
############################################################################################################
njs_path = require 'path'
njs_fs = require 'fs'
#...........................................................................................................
CND ... | 135303 |
############################################################################################################
njs_path = require 'path'
njs_fs = require 'fs'
#...........................................................................................................
CND ... | true |
############################################################################################################
njs_path = require 'path'
njs_fs = require 'fs'
#...........................................................................................................
CND ... |
[
{
"context": "uire '@moqada/hubot-schedule-helper'\n\nstoreKey = 'hubot-schedule-helper-example:schedule'\n\n\nclass ExampleJob extends Job\n exec: (robot) -",
"end": 435,
"score": 0.9945791363716125,
"start": 397,
"tag": "KEY",
"value": "hubot-schedule-helper-example:schedule"
}
] | example/scripts/example.coffee | JervisTetch/hubot-schedule-helper | 0 | # Description:
# Example scripts for @moqada/hubot-schedule-helper
#
# Commands:
# hubot schedule add "<cron pattern>" <message> - Add Schedule
# hubot schedule cancel <id> - Cancel Schedule
# hubot schedule update <id> <message> - Update Schedule
# hubot schedule list - List Schedule
{Scheduler, Job, JobNotF... | 85728 | # Description:
# Example scripts for @moqada/hubot-schedule-helper
#
# Commands:
# hubot schedule add "<cron pattern>" <message> - Add Schedule
# hubot schedule cancel <id> - Cancel Schedule
# hubot schedule update <id> <message> - Update Schedule
# hubot schedule list - List Schedule
{Scheduler, Job, JobNotF... | true | # Description:
# Example scripts for @moqada/hubot-schedule-helper
#
# Commands:
# hubot schedule add "<cron pattern>" <message> - Add Schedule
# hubot schedule cancel <id> - Cancel Schedule
# hubot schedule update <id> <message> - Update Schedule
# hubot schedule list - List Schedule
{Scheduler, Job, JobNotF... |
[
{
"context": "#\njQuery Credit Card Validator 1.2\n\nCopyright 2012 Pawel Decowski\n\nPermission is hereby granted, free of charge, to",
"end": 67,
"score": 0.9998152852058411,
"start": 53,
"tag": "NAME",
"value": "Pawel Decowski"
},
{
"context": "th: [ 16 ]\n }\n {\n ... | jquery.creditCardValidator.coffee | devasia2112/jQuery-CreditCardValidator | 540 | ###
jQuery Credit Card Validator 1.2
Copyright 2012 Pawel Decowski
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, modif... | 86893 | ###
jQuery Credit Card Validator 1.2
Copyright 2012 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge... | true | ###
jQuery Credit Card Validator 1.2
Copyright 2012 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy,... |
[
{
"context": "f square bracket notation when possible.\n# @author Josh Perez\n###\n'use strict'\n\n#------------------------------",
"end": 129,
"score": 0.9998550415039062,
"start": 119,
"tag": "NAME",
"value": "Josh Perez"
}
] | src/rules/dot-notation.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to warn about using dot notation instead of square bracket notation when possible.
# @author Josh Perez
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#----------------------------------------------------------------------------... | 101760 | ###*
# @fileoverview Rule to warn about using dot notation instead of square bracket notation when possible.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
... | true | ###*
# @fileoverview Rule to warn about using dot notation instead of square bracket notation when possible.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------... |
[
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @link https://gi",
"end": 27,
"score": 0.9998682141304016,
"start": 15,
"tag": "NAME",
"value": "Argi Karunia"
},
{
"context": "###\n# @author Argi Karunia <https://github.com/hkyo89>\n# @link https://gi... | src/file.coffee | tokopedia/nodame | 2 | ###
# @author Argi Karunia <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
sha512 = require('js-sha512').sha512;
fs = require('fs')
path = require('./path')
YAMLParser = require('js-yaml')
class File
readJSON: ... | 7298 | ###
# @author <NAME> <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
sha512 = require('js-sha512').sha512;
fs = require('fs')
path = require('./path')
YAMLParser = require('js-yaml')
class File
readJSON: (filep... | true | ###
# @author PI:NAME:<NAME>END_PI <https://github.com/hkyo89>
# @link https://github.com/tokopedia/nodame
# @license http://opensource.org/licenses/MIT
#
# @version 1.0.0
###
sha512 = require('js-sha512').sha512;
fs = require('fs')
path = require('./path')
YAMLParser = require('js-yaml')
class File
re... |
[
{
"context": ")\n no\n\n\n# /user/u@catz.net/posts → [\"/user/u@catz.net/\", \"u@catz.net\"]\nNODEID_TO_USER_REGEX = ",
"end": 698,
"score": 0.7696087956428528,
"start": 697,
"tag": "EMAIL",
"value": "u"
},
{
"context": " no\n\n\n# /user/u@catz.net/posts → [\"/user/u@ca... | src/util.coffee | surevine/buddycloud-webclient | 1 |
exports.transEndEventNames = transEndEventNames =
'WebkitTransition' : 'webkitTransitionEnd'
'MozTransition' : 'transitionend'
'OTransition' : 'oTransitionEnd'
'msTransition' : 'MSTransitionEnd'
'transition' : 'transitionend'
exports.transitionendEvent = transEndEventNames[Modern... | 195015 |
exports.transEndEventNames = transEndEventNames =
'WebkitTransition' : 'webkitTransitionEnd'
'MozTransition' : 'transitionend'
'OTransition' : 'oTransitionEnd'
'msTransition' : 'MSTransitionEnd'
'transition' : 'transitionend'
exports.transitionendEvent = transEndEventNames[Modern... | true |
exports.transEndEventNames = transEndEventNames =
'WebkitTransition' : 'webkitTransitionEnd'
'MozTransition' : 'transitionend'
'OTransition' : 'oTransitionEnd'
'msTransition' : 'MSTransitionEnd'
'transition' : 'transitionend'
exports.transitionendEvent = transEndEventNames[Modern... |
[
{
"context": " updateWidgets('comstat', null, { author: author })\n updateWidgets('jsondump', null",
"end": 4505,
"score": 0.9955365061759949,
"start": 4499,
"tag": "NAME",
"value": "author"
},
{
"context": " updateWidgets('jsondump', null, { author: a... | ui/js/coffee/explorer.coffee | thadguidry/kibble | 0 | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | 180031 | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... | true | # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use ... |
[
{
"context": "s globalConfig.project\n\n author =\n name: 'changeme'\n email: 'changeme'\n description = 'chang",
"end": 237,
"score": 0.9995826482772827,
"start": 229,
"tag": "USERNAME",
"value": "changeme"
},
{
"context": " author =\n name: 'changeme'\n ... | lib/packages/bundler/write_gemfile.coffee | gampleman/praxis-client-generator | 1 | _ = require 'lodash-fp'
module.exports = (dependencies, globalConfig, execLater) ->
$runAfter: ['renderCode']
$runBefore: ['writeCode']
$process: (docs) ->
return unless globalConfig.project
author =
name: 'changeme'
email: 'changeme'
description = 'changeme'
summary = description
... | 201248 | _ = require 'lodash-fp'
module.exports = (dependencies, globalConfig, execLater) ->
$runAfter: ['renderCode']
$runBefore: ['writeCode']
$process: (docs) ->
return unless globalConfig.project
author =
name: 'changeme'
email: '<PASSWORD>'
description = 'changeme'
summary = description
... | true | _ = require 'lodash-fp'
module.exports = (dependencies, globalConfig, execLater) ->
$runAfter: ['renderCode']
$runBefore: ['writeCode']
$process: (docs) ->
return unless globalConfig.project
author =
name: 'changeme'
email: 'PI:PASSWORD:<PASSWORD>END_PI'
description = 'changeme'
summ... |
[
{
"context": " 'count'\n if prefix == ''\n key = 'count'\n else\n key = '_count'\n else",
"end": 6258,
"score": 0.6865840554237366,
"start": 6253,
"tag": "KEY",
"value": "count"
},
{
"context": " key = 'count'\n else\n key =... | sprocs/cube.coffee | lmaccherone/documentdb-lumenize | 71 | module.exports = (memo) ->
# utils
utils = {}
utils.assert = (exp, message) ->
if (!exp)
throw new Error(message)
# Uses the properties of obj1, so will still match if obj2 has extra properties.
utils.match = (obj1, obj2) ->
for key, value of obj1
if (value != obj2[key])
return f... | 188134 | module.exports = (memo) ->
# utils
utils = {}
utils.assert = (exp, message) ->
if (!exp)
throw new Error(message)
# Uses the properties of obj1, so will still match if obj2 has extra properties.
utils.match = (obj1, obj2) ->
for key, value of obj1
if (value != obj2[key])
return f... | true | module.exports = (memo) ->
# utils
utils = {}
utils.assert = (exp, message) ->
if (!exp)
throw new Error(message)
# Uses the properties of obj1, so will still match if obj2 has extra properties.
utils.match = (obj1, obj2) ->
for key, value of obj1
if (value != obj2[key])
return f... |
[
{
"context": "# project = { _id: uuid, name: 'cayman', description: 'cayman is a project', authorId: n",
"end": 38,
"score": 0.9978004693984985,
"start": 32,
"tag": "NAME",
"value": "cayman"
},
{
"context": "ject = { _id: uuid, name: 'cayman', description: 'cayman is a project', auth... | client/projects.coffee | tyrchen/teamspark | 21 | # project = { _id: uuid, name: 'cayman', description: 'cayman is a project', authorId: null, parentId: null, teamId: teamId, createdAt: Date() }
_.extend Template.projects,
events:
'click #filter-team': (e) ->
ts.State.filterType.set 'team'
'click #filter-member': (e) ->
ts.State.filterType.set ... | 79535 | # project = { _id: uuid, name: '<NAME>', description: '<NAME> is a project', authorId: null, parentId: null, teamId: teamId, createdAt: Date() }
_.extend Template.projects,
events:
'click #filter-team': (e) ->
ts.State.filterType.set 'team'
'click #filter-member': (e) ->
ts.State.filterType.set ... | true | # project = { _id: uuid, name: 'PI:NAME:<NAME>END_PI', description: 'PI:NAME:<NAME>END_PI is a project', authorId: null, parentId: null, teamId: teamId, createdAt: Date() }
_.extend Template.projects,
events:
'click #filter-team': (e) ->
ts.State.filterType.set 'team'
'click #filter-member': (e) ->
... |
[
{
"context": "#\n# The Ajax main unit\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\nclass Ajax\n include: [core.Options, core.Event",
"end": 63,
"score": 0.9998812675476074,
"start": 46,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/ajax/src/ajax.coffee | lovely-io/lovely.io-stl | 2 | #
# The Ajax main unit
#
# Copyright (C) 2011 Nikolay Nemshilov
#
class Ajax
include: [core.Options, core.Events]
extend:
#
# default options
#
Options:
method: 'post' # default request method
encoding: 'utf-8' # default request encoding
evalResponse: false # force... | 158900 | #
# The Ajax main unit
#
# Copyright (C) 2011 <NAME>
#
class Ajax
include: [core.Options, core.Events]
extend:
#
# default options
#
Options:
method: 'post' # default request method
encoding: 'utf-8' # default request encoding
evalResponse: false # forced response ... | true | #
# The Ajax main unit
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
class Ajax
include: [core.Options, core.Events]
extend:
#
# default options
#
Options:
method: 'post' # default request method
encoding: 'utf-8' # default request encoding
evalResponse: false # fo... |
[
{
"context": "fix].namespace if namespace == undefined\n key = \"#{namespace}.#{key}\" if namespace\n prefix = key.split(':')[0]\n",
"end": 11222,
"score": 0.9325066804885864,
"start": 11206,
"tag": "KEY",
"value": "\"#{namespace}.#{"
},
{
"context": "mespace == undefined\n ... | lib/worker.coffee | waterfield/redeye | 0 | require 'fibers'
msgpack = require 'msgpack'
_ = require './util'
{ DependencyError, MultiError } = require './errors'
# One worker is constructed for every task coming
# through the work queue(s). It maintains a local cache
# of dependency values, a workspace for running the
# key code, and contains the core API for ... | 113134 | require 'fibers'
msgpack = require 'msgpack'
_ = require './util'
{ DependencyError, MultiError } = require './errors'
# One worker is constructed for every task coming
# through the work queue(s). It maintains a local cache
# of dependency values, a workspace for running the
# key code, and contains the core API for ... | true | require 'fibers'
msgpack = require 'msgpack'
_ = require './util'
{ DependencyError, MultiError } = require './errors'
# One worker is constructed for every task coming
# through the work queue(s). It maintains a local cache
# of dependency values, a workspace for running the
# key code, and contains the core API for ... |
[
{
"context": "angular: [\n { key: \"options.on\" }\n]\n",
"end": 31,
"score": 0.9868588447570801,
"start": 21,
"tag": "KEY",
"value": "options.on"
}
] | configs/default/form.cson | octoblu/meshblu-connector-display | 0 | angular: [
{ key: "options.on" }
]
| 196601 | angular: [
{ key: "<KEY>" }
]
| true | angular: [
{ key: "PI:KEY:<KEY>END_PI" }
]
|
[
{
"context": "formdata {method:'find-by-vehicle-type',keyword:'yueye'}\n index = req.params.index\n # we no need to ch",
"end": 1059,
"score": 0.4900968670845032,
"start": 1055,
"tag": "KEY",
"value": "ueye"
}
] | coffees/route-neighborCar.coffee | android1and1/easti | 0 | # 2018-12-19 game is "5min=1app".
express = require 'express'
router = express.Router()
nohm = undefined
schema = undefined
client = (require 'redis').createClient()
client.on 'error',(error)->
console.log '::debug info - route neighborCar::',error.message
client.on 'connect',->
md = require '../modules/md-neighbo... | 90420 | # 2018-12-19 game is "5min=1app".
express = require 'express'
router = express.Router()
nohm = undefined
schema = undefined
client = (require 'redis').createClient()
client.on 'error',(error)->
console.log '::debug info - route neighborCar::',error.message
client.on 'connect',->
md = require '../modules/md-neighbo... | true | # 2018-12-19 game is "5min=1app".
express = require 'express'
router = express.Router()
nohm = undefined
schema = undefined
client = (require 'redis').createClient()
client.on 'error',(error)->
console.log '::debug info - route neighborCar::',error.message
client.on 'connect',->
md = require '../modules/md-neighbo... |
[
{
"context": "\t\t\tSellers.insert\n\t\t\t\t\tnumber: number\n\t\t\t\t\tname: \"Säljare #\"+number\n\t\t\t\t\tisHelper: false\n\t\t\t\tnumber++\n\t\t\n\t\t",
"end": 386,
"score": 0.9996117353439331,
"start": 379,
"tag": "NAME",
"value": "Säljare"
}
] | client/modals/generateRandomData.coffee | PeppeL-G/loppis | 0 | templateName = 'modal_generateRandomData'
Template[templateName].events
'submit form': (event, template) ->
event.preventDefault()
# Add sellers.
numberOfSellers = template.find('.numberOfSellers').value
if numberOfSellers != ''
number = Sellers.find().count()+1
for i in [1..numberOfS... | 160624 | templateName = 'modal_generateRandomData'
Template[templateName].events
'submit form': (event, template) ->
event.preventDefault()
# Add sellers.
numberOfSellers = template.find('.numberOfSellers').value
if numberOfSellers != ''
number = Sellers.find().count()+1
for i in [1..numberOfS... | true | templateName = 'modal_generateRandomData'
Template[templateName].events
'submit form': (event, template) ->
event.preventDefault()
# Add sellers.
numberOfSellers = template.find('.numberOfSellers').value
if numberOfSellers != ''
number = Sellers.find().count()+1
for i in [1..numberOfS... |
[
{
"context": " File : bigbang_spec.coffee\n# Maintainer : Felix C. Stegerman <flx@obfusk.net>\n# Date : 2014-04-05\n#\n# C",
"end": 143,
"score": 0.9998846054077148,
"start": 125,
"tag": "NAME",
"value": "Felix C. Stegerman"
},
{
"context": "g_spec.coffee\n# Maintainer... | spec/bigbang_spec.coffee | obfusk/bigbang.coffee | 1 | # -- ; {{{1
#
# File : bigbang_spec.coffee
# Maintainer : Felix C. Stegerman <flx@obfusk.net>
# Date : 2014-04-05
#
# Copyright : Copyright (C) 2014 Felix C. Stegerman
# Licence : LGPLv3+
#
# -- ... | 71470 | # -- ; {{{1
#
# File : bigbang_spec.coffee
# Maintainer : <NAME> <<EMAIL>>
# Date : 2014-04-05
#
# Copyright : Copyright (C) 2014 <NAME>
# Licence : LGPLv3+
#
# -- ; }}}1
B = ... | true | # -- ; {{{1
#
# File : bigbang_spec.coffee
# Maintainer : PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Date : 2014-04-05
#
# Copyright : Copyright (C) 2014 PI:NAME:<NAME>END_PI
# Licence : LGPLv3+
#
# -- ... |
[
{
"context": "e = @\n checkAuthTimeout = null\n emailKey = 'ccEmail'\n $service.status = \n shouldPromptEmail",
"end": 112,
"score": 0.9985605478286743,
"start": 105,
"tag": "KEY",
"value": "ccEmail"
}
] | app/assets/javascripts/shared/services/email_collector_service.js.coffee | Exygy/Children-s-Council | 1 | EmailCollectorService = ($auth, $window) ->
$service = @
checkAuthTimeout = null
emailKey = 'ccEmail'
$service.status =
shouldPromptEmailCta: true
limit: 5
$service.checkEmailStatus = () ->
if !checkAuthTimeout
# there could be a delay until $auth.currentUser() ... | 136851 | EmailCollectorService = ($auth, $window) ->
$service = @
checkAuthTimeout = null
emailKey = '<KEY>'
$service.status =
shouldPromptEmailCta: true
limit: 5
$service.checkEmailStatus = () ->
if !checkAuthTimeout
# there could be a delay until $auth.currentUser() re... | true | EmailCollectorService = ($auth, $window) ->
$service = @
checkAuthTimeout = null
emailKey = 'PI:KEY:<KEY>END_PI'
$service.status =
shouldPromptEmailCta: true
limit: 5
$service.checkEmailStatus = () ->
if !checkAuthTimeout
# there could be a delay until $auth.cur... |
[
{
"context": "# Copyright © 2014–6 Brad Ackerman.\n#\n# Licensed under the Apache License, Version 2",
"end": 34,
"score": 0.9998375177383423,
"start": 21,
"tag": "NAME",
"value": "Brad Ackerman"
}
] | assets/coffee/reprocess.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... | 15185 | # 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": "rops.task.tool_config.options\n answer._key ?= Math.random()\n checked = answer.value is @props.annotation",
"end": 2223,
"score": 0.9781932234764099,
"start": 2210,
"tag": "KEY",
"value": "Math.random()"
}
] | app/assets/javascripts/components/core-tools/pick-one.cjsx | ogugugugugua/PRED-Crowdsourcing-2020 | 88 | React = require 'react'
GenericTask = require './generic'
LabeledRadioButton = require 'components/buttons/labeled-radio-button'
# Markdown = require '../../components/markdown'
NOOP = Function.prototype
# Summary = React.createClass
# displayName: 'SingleChoiceSummary'
# getD... | 10003 | React = require 'react'
GenericTask = require './generic'
LabeledRadioButton = require 'components/buttons/labeled-radio-button'
# Markdown = require '../../components/markdown'
NOOP = Function.prototype
# Summary = React.createClass
# displayName: 'SingleChoiceSummary'
# getD... | true | React = require 'react'
GenericTask = require './generic'
LabeledRadioButton = require 'components/buttons/labeled-radio-button'
# Markdown = require '../../components/markdown'
NOOP = Function.prototype
# Summary = React.createClass
# displayName: 'SingleChoiceSummary'
# getD... |
[
{
"context": "alForage.bind $scope, {\n key: 'selectedCrunchService'\n defaultValue: configService.",
"end": 650,
"score": 0.9951270818710327,
"start": 629,
"tag": "KEY",
"value": "selectedCrunchService"
}
] | web/app/scripts/directives/crunchEditor.coffee | ExpediaGroup/parsec | 1 | #
# This directive generates a Crunch editor and result output
#
Parsec.Directives.directive 'crunchEditor',
($compile, crunchService, configService) ->
{
restrict: 'EA'
scope: {
query: '='
showPerformance: '@'
}
templateUrl: '... | 97699 | #
# This directive generates a Crunch editor and result output
#
Parsec.Directives.directive 'crunchEditor',
($compile, crunchService, configService) ->
{
restrict: 'EA'
scope: {
query: '='
showPerformance: '@'
}
templateUrl: '... | true | #
# This directive generates a Crunch editor and result output
#
Parsec.Directives.directive 'crunchEditor',
($compile, crunchService, configService) ->
{
restrict: 'EA'
scope: {
query: '='
showPerformance: '@'
}
templateUrl: '... |
[
{
"context": "ubot yelp me thai near Palo Alto\n#\n#\n# Author:\n# Chris Streeter (streeter)\n#\n\nconsumer_key = process.env.HUBOT_YE",
"end": 1371,
"score": 0.9998523592948914,
"start": 1357,
"tag": "NAME",
"value": "Chris Streeter"
},
{
"context": " near Palo Alto\n#\n#\n# Autho... | src/scripts/yelp.coffee | Reelhouse/hubot-scripts | 1,450 | # Description:
# With the Yelp API v2.0, search for nearby restaurants.
#
# Dependencies:
# "yelp": "0.1.1"
#
# Configuration:
# HUBOT_YELP_CONSUMER_KEY
# HUBOT_YELP_CONSUMER_SECRET
# HUBOT_YELP_TOKEN
# HUBOT_YELP_TOKEN_SECRET
# HUBOT_YELP_SEARCH_ADDRESS
# HUBOT_YELP_SEARCH_RADIUS
# HUBOT_YELP_SORT
# ... | 171120 | # Description:
# With the Yelp API v2.0, search for nearby restaurants.
#
# Dependencies:
# "yelp": "0.1.1"
#
# Configuration:
# HUBOT_YELP_CONSUMER_KEY
# HUBOT_YELP_CONSUMER_SECRET
# HUBOT_YELP_TOKEN
# HUBOT_YELP_TOKEN_SECRET
# HUBOT_YELP_SEARCH_ADDRESS
# HUBOT_YELP_SEARCH_RADIUS
# HUBOT_YELP_SORT
# ... | true | # Description:
# With the Yelp API v2.0, search for nearby restaurants.
#
# Dependencies:
# "yelp": "0.1.1"
#
# Configuration:
# HUBOT_YELP_CONSUMER_KEY
# HUBOT_YELP_CONSUMER_SECRET
# HUBOT_YELP_TOKEN
# HUBOT_YELP_TOKEN_SECRET
# HUBOT_YELP_SEARCH_ADDRESS
# HUBOT_YELP_SEARCH_RADIUS
# HUBOT_YELP_SORT
# ... |
[
{
"context": "n threejs so just copy past your shadertoy :)\n# By David Ronai / Makio64 / makiopolis.com\n#\n\nStage = require(\"ma",
"end": 177,
"score": 0.9998680949211121,
"start": 166,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "ust copy past your shadertoy :)\n# By Da... | src/coffee/makio/3d/FragmentPlane.coffee | Makio64/pizzaparty_vj | 1 | #
# Plane with a fragment shader, based on Shadertoy Model
# It also replace the shadertoy stuffs by the one need in threejs so just copy past your shadertoy :)
# By David Ronai / Makio64 / makiopolis.com
#
Stage = require("makio/core/Stage")
class FragmentPlane extends THREE.Mesh
constructor:(fs)->
material = @c... | 115434 | #
# Plane with a fragment shader, based on Shadertoy Model
# It also replace the shadertoy stuffs by the one need in threejs so just copy past your shadertoy :)
# By <NAME> / Makio64 / <EMAIL>
#
Stage = require("makio/core/Stage")
class FragmentPlane extends THREE.Mesh
constructor:(fs)->
material = @createMateria... | true | #
# Plane with a fragment shader, based on Shadertoy Model
# It also replace the shadertoy stuffs by the one need in threejs so just copy past your shadertoy :)
# By PI:NAME:<NAME>END_PI / Makio64 / PI:EMAIL:<EMAIL>END_PI
#
Stage = require("makio/core/Stage")
class FragmentPlane extends THREE.Mesh
constructor:(fs)-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.