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": "el'\nuser = new User(\n provider: 'local'\n name: 'Fake User'\n email: 'test@test.com'\n password: 'passw",
"end": 146,
"score": 0.907643735408783,
"start": 142,
"tag": "NAME",
"value": "Fake"
},
{
"context": "user = new User(\n provider: 'local'\n name: 'Fake Use... | server/api/user/user.model.spec.coffee | harryoh/node-dd-shortener | 0 | 'use strict'
should = require 'should'
app = require '../../app'
User = require './user.model'
user = new User(
provider: 'local'
name: 'Fake User'
email: 'test@test.com'
password: 'password'
)
describe 'User Model', ->
before (done) ->
# Clear users before testing
User.remove().exec().then ->
... | 191527 | 'use strict'
should = require 'should'
app = require '../../app'
User = require './user.model'
user = new User(
provider: 'local'
name: '<NAME> User'
email: '<EMAIL>'
password: '<PASSWORD>'
)
describe 'User Model', ->
before (done) ->
# Clear users before testing
User.remove().exec().then ->
d... | true | 'use strict'
should = require 'should'
app = require '../../app'
User = require './user.model'
user = new User(
provider: 'local'
name: 'PI:NAME:<NAME>END_PI User'
email: 'PI:EMAIL:<EMAIL>END_PI'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
)
describe 'User Model', ->
before (done) ->
# Clear users before t... |
[
{
"context": "t.coffee: A client for github\n#\n# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved\n#\n\n# Requiring modules\nreque",
"end": 79,
"score": 0.9998709559440613,
"start": 60,
"tag": "NAME",
"value": "Pavan Kumar Sunkara"
},
{
"context": "_secret = @token.secret\n... | src/octonode/client.coffee | tripu/octonode | 0 | #
# client.coffee: A client for github
#
# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved
#
# Requiring modules
request = require 'request'
url = require 'url'
Me = require './me'
User = require './user'
Repo = require './repo'
Org = require './org'
Gist = require... | 150184 | #
# client.coffee: A client for github
#
# Copyright © 2011 <NAME>. All rights reserved
#
# Requiring modules
request = require 'request'
url = require 'url'
Me = require './me'
User = require './user'
Repo = require './repo'
Org = require './org'
Gist = require './gist'
Tea... | true | #
# client.coffee: A client for github
#
# Copyright © 2011 PI:NAME:<NAME>END_PI. All rights reserved
#
# Requiring modules
request = require 'request'
url = require 'url'
Me = require './me'
User = require './user'
Repo = require './repo'
Org = require './org'
Gist = requir... |
[
{
"context": "re: otto.sessionStore, secret: otto.SECRET, key: 'express.sid'}, =>\n # # we should wait for this callback bef",
"end": 1477,
"score": 0.9933907985687256,
"start": 1466,
"tag": "KEY",
"value": "express.sid"
},
{
"context": "n collection\" error\n # # see https://git... | otto.server.coffee | ferguson/otto | 16 | fs = require 'fs'
path = require 'path'
zappajs = require 'zappajs'
jsonreq = require 'jsonreq'
zipstream = require 'zipstream'
querystring = require 'querystring'
compression = require 'compression'
connectmongo = require 'connect-mongo'
connect = require 'zappajs/node_modules/express/node_modules/connect'
Session = c... | 119026 | fs = require 'fs'
path = require 'path'
zappajs = require 'zappajs'
jsonreq = require 'jsonreq'
zipstream = require 'zipstream'
querystring = require 'querystring'
compression = require 'compression'
connectmongo = require 'connect-mongo'
connect = require 'zappajs/node_modules/express/node_modules/connect'
Session = c... | true | fs = require 'fs'
path = require 'path'
zappajs = require 'zappajs'
jsonreq = require 'jsonreq'
zipstream = require 'zipstream'
querystring = require 'querystring'
compression = require 'compression'
connectmongo = require 'connect-mongo'
connect = require 'zappajs/node_modules/express/node_modules/connect'
Session = c... |
[
{
"context": "overview Tests for no-self-compare rule.\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 75,
"score": 0.9997746348381042,
"start": 63,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/tests/rules/no-self-compare.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-self-compare rule.
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-self-compare'
{Rul... | 48388 | ###*
# @fileoverview Tests for no-self-compare rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-self-compare'
{RuleTeste... | true | ###*
# @fileoverview Tests for no-self-compare rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-self-compa... |
[
{
"context": "erms of the MIT license.\nCopyright 2012 - 2016 (c) Markus Kohlhase <mail@markus-kohlhase.de>\n###\n\nuuid = require 'no",
"end": 109,
"score": 0.9998986124992371,
"start": 94,
"tag": "NAME",
"value": "Markus Kohlhase"
},
{
"context": "cense.\nCopyright 2012 - 2016 (c) ... | src/node-xmpp-joap.coffee | flosse/node-xmpp-joap | 0 | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2016 (c) Markus Kohlhase <mail@markus-kohlhase.de>
###
uuid = require 'node-uuid'
exports.Router = require "./Router"
exports.Manager = require "./Manager"
exports.Client = require "./Client"
exports.object = require "./JOAPObject... | 215669 | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2016 (c) <NAME> <<EMAIL>>
###
uuid = require 'node-uuid'
exports.Router = require "./Router"
exports.Manager = require "./Manager"
exports.Client = require "./Client"
exports.object = require "./JOAPObjects"
exports.stanza = requi... | true | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2016 (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
uuid = require 'node-uuid'
exports.Router = require "./Router"
exports.Manager = require "./Manager"
exports.Client = require "./Client"
exports.object = require "./JOAPOb... |
[
{
"context": "###\n\nCopyright (c) 2013-2015 Nick Kugaevsky\n\nLicensed under the MIT License\n\nTHE SOFTWARE IS ",
"end": 43,
"score": 0.999717652797699,
"start": 29,
"tag": "NAME",
"value": "Nick Kugaevsky"
}
] | src/jquery.phoenix.coffee | kugaevsky/jquery-phoenix | 114 | ###
Copyright (c) 2013-2015 Nick Kugaevsky
Licensed under the MIT License
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGH... | 83302 | ###
Copyright (c) 2013-2015 <NAME>
Licensed under the MIT License
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDER... | true | ###
Copyright (c) 2013-2015 PI:NAME:<NAME>END_PI
Licensed under the MIT License
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR CO... |
[
{
"context": " \"Mi Respuesta uno\"\n author:\n name: \"Margarito\"\n thumb_photo_url: \"/system/photos/172/thu",
"end": 179,
"score": 0.9952988624572754,
"start": 170,
"tag": "NAME",
"value": "Margarito"
},
{
"context": " \"Mi Respuesta uno\"\n author:\n ... | spec/dummy/spec/javascripts/commentator_replies_spec.js.coffee | bhserna/Commentator | 1 | #= require application
class Replies.TestRepliesPoster
constructor: ->
@reply =
id: 1
message:
"Mi Respuesta uno"
author:
name: "Margarito"
thumb_photo_url: "/system/photos/172/thumb/Margarito.jpg?1298321229"
area_name: "Margaritas"
post: (url, data, callback)... | 80918 | #= require application
class Replies.TestRepliesPoster
constructor: ->
@reply =
id: 1
message:
"Mi Respuesta uno"
author:
name: "<NAME>"
thumb_photo_url: "/system/photos/172/thumb/Margarito.jpg?1298321229"
area_name: "Margaritas"
post: (url, data, callback) ->... | true | #= require application
class Replies.TestRepliesPoster
constructor: ->
@reply =
id: 1
message:
"Mi Respuesta uno"
author:
name: "PI:NAME:<NAME>END_PI"
thumb_photo_url: "/system/photos/172/thumb/Margarito.jpg?1298321229"
area_name: "Margaritas"
post: (url, data... |
[
{
"context": "elp a hubot ignore it's own output\n#\n# Author:\n# Andrew Lucas (sqweelygig) <andrewl@resin.io> <sqweelygig@gmail",
"end": 101,
"score": 0.9998615384101868,
"start": 89,
"tag": "NAME",
"value": "Andrew Lucas"
},
{
"context": "ore it's own output\n#\n# Author:\n# An... | src/ignore-own-output.coffee | resin-io/hubot-ignore-own-output | 0 | # Description:
# A hubot script to help a hubot ignore it's own output
#
# Author:
# Andrew Lucas (sqweelygig) <andrewl@resin.io> <sqweelygig@gmail.com>
#noinspection JSUnresolvedVariable
module.exports = (robot) ->
previous = []
#noinspection CoffeeScriptUnusedLocalSymbols
robot.responseMiddleware (context, n... | 25092 | # Description:
# A hubot script to help a hubot ignore it's own output
#
# Author:
# <NAME> (sqweelygig) <<EMAIL>> <<EMAIL>>
#noinspection JSUnresolvedVariable
module.exports = (robot) ->
previous = []
#noinspection CoffeeScriptUnusedLocalSymbols
robot.responseMiddleware (context, next, done) ->
# Record the... | true | # Description:
# A hubot script to help a hubot ignore it's own output
#
# Author:
# PI:NAME:<NAME>END_PI (sqweelygig) <PI:EMAIL:<EMAIL>END_PI> <PI:EMAIL:<EMAIL>END_PI>
#noinspection JSUnresolvedVariable
module.exports = (robot) ->
previous = []
#noinspection CoffeeScriptUnusedLocalSymbols
robot.responseMiddle... |
[
{
"context": "# @file forceParticle.coffee\n# @Copyright (c) 2017 Taylor Siviter\n# This source code is licensed under the MIT Lice",
"end": 65,
"score": 0.9996502995491028,
"start": 51,
"tag": "NAME",
"value": "Taylor Siviter"
}
] | src/particle/forceParticle.coffee | siviter-t/lampyridae.coffee | 4 | # @file forceParticle.coffee
# @Copyright (c) 2017 Taylor Siviter
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'maths/forces'
class Lampyridae.ForceParticle extends Lampyridae.Particle
### Construct and manage a Lampyridae particle t... | 24644 | # @file forceParticle.coffee
# @Copyright (c) 2017 <NAME>
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'maths/forces'
class Lampyridae.ForceParticle extends Lampyridae.Particle
### Construct and manage a Lampyridae particle that can ... | true | # @file forceParticle.coffee
# @Copyright (c) 2017 PI:NAME:<NAME>END_PI
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
require 'maths/forces'
class Lampyridae.ForceParticle extends Lampyridae.Particle
### Construct and manage a Lampyridae part... |
[
{
"context": "tring(),\n contributing_authors: [{name: 'James'}, {name: 'Artsy Editorial'}]\n new Article",
"end": 2074,
"score": 0.9984985589981079,
"start": 2069,
"tag": "NAME",
"value": "James"
},
{
"context": "tributing_authors: [{name: 'James'}, {name: 'Artsy Edi... | src/desktop/apps/rss/test/partner_updates.test.coffee | jo-rs/force | 0 | _ = require 'underscore'
fs = require 'fs'
partnerUpdatesTemplate = require('jade').compileFile(require.resolve '../templates/partner_updates.jade')
articleTemplate = require('jade').compileFile(require.resolve '../templates/partner_updates_article.jade')
sd = APP_URL: 'http://localhost'
{ fabricate } = require '@artsy... | 208218 | _ = require 'underscore'
fs = require 'fs'
partnerUpdatesTemplate = require('jade').compileFile(require.resolve '../templates/partner_updates.jade')
articleTemplate = require('jade').compileFile(require.resolve '../templates/partner_updates_article.jade')
sd = APP_URL: 'http://localhost'
{ fabricate } = require '@artsy... | true | _ = require 'underscore'
fs = require 'fs'
partnerUpdatesTemplate = require('jade').compileFile(require.resolve '../templates/partner_updates.jade')
articleTemplate = require('jade').compileFile(require.resolve '../templates/partner_updates_article.jade')
sd = APP_URL: 'http://localhost'
{ fabricate } = require '@artsy... |
[
{
"context": "The `Input` unit tests\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test,should} = require('lovely')\n\nTest.set \"/i",
"end": 72,
"score": 0.9998823404312134,
"start": 55,
"tag": "NAME",
"value": "Nikolay Nemshilov"
},
{
"context": "e()' method\", ->\n i ... | stl/dom/test/input_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The `Input` unit tests
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test,should} = require('lovely')
Test.set "/input.html", """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<form id="test-form" action="/some.url">
<input type="text" name... | 223738 | #
# The `Input` unit tests
#
# Copyright (C) 2011-2013 <NAME>
#
{Test,should} = require('lovely')
Test.set "/input.html", """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<form id="test-form" action="/some.url">
<input type="text" name="name" id=... | true | #
# The `Input` unit tests
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test,should} = require('lovely')
Test.set "/input.html", """
<html>
<head>
<script src="/core.js"></script>
<script src="/dom.js"></script>
</head>
<body>
<form id="test-form" action="/some.url">
<input type="text" n... |
[
{
"context": "'.js-error-message'\n username: '.js-form input#user_username'\n password: '.js-form input#user_password'\n\n ",
"end": 306,
"score": 0.9858635067939758,
"start": 293,
"tag": "USERNAME",
"value": "user_username"
},
{
"context": "name: '.js-form input#user_usernam... | app/assets/javascripts/views/authentication/login.coffee | brettclanton001/Dashous | 4 | class Dashous.Views.Authentication.Login extends Dashous.Views.Authentication.Base
template: 'authentication/login'
ui:
form: '.js-form'
inputs: '.js-form input'
submitButton: '.js-form input[type="submit"]'
errorMessage: '.js-error-message'
username: '.js-form input#user_username'
password... | 189714 | class Dashous.Views.Authentication.Login extends Dashous.Views.Authentication.Base
template: 'authentication/login'
ui:
form: '.js-form'
inputs: '.js-form input'
submitButton: '.js-form input[type="submit"]'
errorMessage: '.js-error-message'
username: '.js-form input#user_username'
password... | true | class Dashous.Views.Authentication.Login extends Dashous.Views.Authentication.Base
template: 'authentication/login'
ui:
form: '.js-form'
inputs: '.js-form input'
submitButton: '.js-form input[type="submit"]'
errorMessage: '.js-error-message'
username: '.js-form input#user_username'
password... |
[
{
"context": " undefined in context', ->\n context = { name: 'jonas' }\n @render 'div[id=foo]', context\n expect(",
"end": 250,
"score": 0.9990605115890503,
"start": 245,
"tag": "NAME",
"value": "jonas"
},
{
"context": "utes from the context', ->\n context = { name: 'jona... | test/integration/bound.spec.coffee | jnicklas/serenade.js | 1 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Bound attributes and text nodes', ->
beforeEach ->
@setupDom()
it 'does not add bound attribute if value is undefined in context', ->
context = { name: 'jonas' }
@render 'div[id=foo]', context
expect(@body.querySelector(... | 150780 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Bound attributes and text nodes', ->
beforeEach ->
@setupDom()
it 'does not add bound attribute if value is undefined in context', ->
context = { name: '<NAME>' }
@render 'div[id=foo]', context
expect(@body.querySelector... | true | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Bound attributes and text nodes', ->
beforeEach ->
@setupDom()
it 'does not add bound attribute if value is undefined in context', ->
context = { name: 'PI:NAME:<NAME>END_PI' }
@render 'div[id=foo]', context
expect(@body... |
[
{
"context": "name: \"Franca IDL\"\r\nscopeName: \"source.fidl\"\r\nfileTypes: [\r\n \"",
"end": 13,
"score": 0.9387652277946472,
"start": 7,
"tag": "NAME",
"value": "Franca"
}
] | grammars/fidl.cson | flxm/language-franca | 1 | name: "Franca IDL"
scopeName: "source.fidl"
fileTypes: [
"fidl"
"fdl"
]
patterns: [
{ include: "#package" }
{ include: "#import" }
{ include: "#interface" }
{ include: "#comment" }
{ include: "#typecollection" }
]
repository:
package:
comment: "Package definition"
match: "\\b(pac... | 142481 | name: "<NAME> IDL"
scopeName: "source.fidl"
fileTypes: [
"fidl"
"fdl"
]
patterns: [
{ include: "#package" }
{ include: "#import" }
{ include: "#interface" }
{ include: "#comment" }
{ include: "#typecollection" }
]
repository:
package:
comment: "Package definition"
match: "\\b(pac... | true | name: "PI:NAME:<NAME>END_PI IDL"
scopeName: "source.fidl"
fileTypes: [
"fidl"
"fdl"
]
patterns: [
{ include: "#package" }
{ include: "#import" }
{ include: "#interface" }
{ include: "#comment" }
{ include: "#typecollection" }
]
repository:
package:
comment: "Package definition"
m... |
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998581409454346,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
},
{
"context": "r.roles = res.data.roles\n user.password =... | src/app/components/user/users.controller.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# 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 l... | 208690 | # Copyright (c) 2015 naymspace software (<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 a... | true | # Copyright (c) 2015 naymspace software (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 appli... |
[
{
"context": "->\n @storage_keys =\n high_score: 'high_score'\n initials: 'initials'\n\n new Config()",
"end": 281,
"score": 0.7730982303619385,
"start": 271,
"tag": "KEY",
"value": "high_score"
}
] | client/app/scripts/services/config.coffee | cheshire137/blicblock-js | 13 | 'use strict'
###*
# @ngdoc service
# @name blicblockApp.Config
# @description
# # Config
# Service in the blicblockApp.
###
angular.module('blicblockApp')
.service 'Config', ->
class Config
constructor: ->
@storage_keys =
high_score: 'high_score'
initials: 'initials'
n... | 39833 | 'use strict'
###*
# @ngdoc service
# @name blicblockApp.Config
# @description
# # Config
# Service in the blicblockApp.
###
angular.module('blicblockApp')
.service 'Config', ->
class Config
constructor: ->
@storage_keys =
high_score: '<KEY>'
initials: 'initials'
new Co... | true | 'use strict'
###*
# @ngdoc service
# @name blicblockApp.Config
# @description
# # Config
# Service in the blicblockApp.
###
angular.module('blicblockApp')
.service 'Config', ->
class Config
constructor: ->
@storage_keys =
high_score: 'PI:KEY:<KEY>END_PI'
initials: 'initials... |
[
{
"context": " ldap:\n binddn: ldap.binddn\n passwd: ldap.passwd\n uri: ldap.uri\n $ssh: ssh\n , ->\n ",
"end": 285,
"score": 0.9989288449287415,
"start": 274,
"tag": "PASSWORD",
"value": "ldap.passwd"
}
] | packages/ldap/test/search.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
nikita = require '@nikitajs/core/lib'
{tags, config, ldap} = require './test'
they = require('mocha-they')(config)
return unless tags.ldap
describe 'ldap.search', ->
they 'with scope base', ({ssh}) ->
nikita
ldap:
binddn: ldap.binddn
passwd: ldap.passwd
uri: ldap.uri
$ssh: ... | 90447 |
nikita = require '@nikitajs/core/lib'
{tags, config, ldap} = require './test'
they = require('mocha-they')(config)
return unless tags.ldap
describe 'ldap.search', ->
they 'with scope base', ({ssh}) ->
nikita
ldap:
binddn: ldap.binddn
passwd: <PASSWORD>
uri: ldap.uri
$ssh: s... | true |
nikita = require '@nikitajs/core/lib'
{tags, config, ldap} = require './test'
they = require('mocha-they')(config)
return unless tags.ldap
describe 'ldap.search', ->
they 'with scope base', ({ssh}) ->
nikita
ldap:
binddn: ldap.binddn
passwd: PI:PASSWORD:<PASSWORD>END_PI
uri: ldap... |
[
{
"context": "s\n if (n != 'name' || !val)\n key = \"#{n}|#{val}\"\n measures[key] = (Number(measures[key])|",
"end": 3207,
"score": 0.9935779571533203,
"start": 3194,
"tag": "KEY",
"value": "\"#{n}|#{val}\""
}
] | app/assets/javascripts/game.js.coffee | BlackKOT/guess_who | 0 | #= require game_faces
window.game = ->
states = {
inited: 'inited'
choose_face: 'choose_face'
player1: 'player1'
player2: 'player2'
finished: 'finished'
}
state = undefined
p1_question = undefined
p1_cards_obj = {}
p2_cards_obj = {}
p1_card_selector = undefined
p2_card_selector =... | 99916 | #= require game_faces
window.game = ->
states = {
inited: 'inited'
choose_face: 'choose_face'
player1: 'player1'
player2: 'player2'
finished: 'finished'
}
state = undefined
p1_question = undefined
p1_cards_obj = {}
p2_cards_obj = {}
p1_card_selector = undefined
p2_card_selector =... | true | #= require game_faces
window.game = ->
states = {
inited: 'inited'
choose_face: 'choose_face'
player1: 'player1'
player2: 'player2'
finished: 'finished'
}
state = undefined
p1_question = undefined
p1_cards_obj = {}
p2_cards_obj = {}
p1_card_selector = undefined
p2_card_selector =... |
[
{
"context": "sage Detail\"\n #messageID = '20141106092130.GF5642@mail.cozy.io'\n casper.cozy.selectMessage 'DoveCot', 'Te",
"end": 3882,
"score": 0.9878671169281006,
"start": 3863,
"tag": "EMAIL",
"value": "GF5642@mail.cozy.io"
}
] | client/tests/casper/full/conversation.coffee | gelnior/cozy-emails | 58 | if global?
require = patchRequire global.require
else
require = patchRequire this.require
require.globals.casper = casper
init = require(fs.workingDirectory + "/client/tests/casper/common").init
utils = require "utils.js"
x = require('casper.js').selectXPath
casper.test.begin 'Test conversation', (tes... | 216197 | if global?
require = patchRequire global.require
else
require = patchRequire this.require
require.globals.casper = casper
init = require(fs.workingDirectory + "/client/tests/casper/common").init
utils = require "utils.js"
x = require('casper.js').selectXPath
casper.test.begin 'Test conversation', (tes... | true | if global?
require = patchRequire global.require
else
require = patchRequire this.require
require.globals.casper = casper
init = require(fs.workingDirectory + "/client/tests/casper/common").init
utils = require "utils.js"
x = require('casper.js').selectXPath
casper.test.begin 'Test conversation', (tes... |
[
{
"context": "on\n device: {uuid: 'masseuse', token: 'assassin'}\n @jobManager\n }\n\n async.",
"end": 1277,
"score": 0.9960916638374329,
"start": 1269,
"tag": "PASSWORD",
"value": "assassin"
},
{
"context": "port: 0xcafe\n uuid: 'masseuse'\n ... | test/connect.coffee | canfer/meshblu-core-protocol-adapter-socket.io | 0 | _ = require 'lodash'
meshblu = require 'meshblu'
async = require 'async'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
Server = require '../src/server'
UUID = require 'uuid'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
class Connect
constructor: ->
queueId = UUID.v... | 35010 | _ = require 'lodash'
meshblu = require 'meshblu'
async = require 'async'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
Server = require '../src/server'
UUID = require 'uuid'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
class Connect
constructor: ->
queueId = UUID.v... | true | _ = require 'lodash'
meshblu = require 'meshblu'
async = require 'async'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
Server = require '../src/server'
UUID = require 'uuid'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
class Connect
constructor: ->
queueId = UUID.v... |
[
{
"context": "'5086df098523e60002000018'\n author: name: 'Craig Spaeth'\n }, 'foo', {}, (err, article) ->\n re",
"end": 3114,
"score": 0.9998984336853027,
"start": 3102,
"tag": "NAME",
"value": "Craig Spaeth"
},
{
"context": "tle', (done) ->\n fabricate 'users... | src/api/apps/articles/test/model/index/persistence.test.coffee | ansor4/positron | 0 | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../../../test/helpers/db'
Article = require '../../../model/index.js'
{ ObjectId } = require 'mongojs'
express = require 'express'
gravity = require('antigravity').server
app = require('express')()
sinon = require 'si... | 144706 | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../../../test/helpers/db'
Article = require '../../../model/index.js'
{ ObjectId } = require 'mongojs'
express = require 'express'
gravity = require('antigravity').server
app = require('express')()
sinon = require 'si... | true | _ = require 'underscore'
moment = require 'moment'
{ db, fabricate, empty, fixtures } = require '../../../../../test/helpers/db'
Article = require '../../../model/index.js'
{ ObjectId } = require 'mongojs'
express = require 'express'
gravity = require('antigravity').server
app = require('express')()
sinon = require 'si... |
[
{
"context": "('./auto-bind')\n\nCALLBACKS_KEY = '_______CALLBACKS_KEY_______'\n\nmodule.exports =\nclass Scope\n constr",
"end": 282,
"score": 0.6217619776725769,
"start": 282,
"tag": "KEY",
"value": ""
},
{
"context": "auto-bind')\n\nCALLBACKS_KEY = '_______CALLBACKS_KEY_______'\n... | src/scope.coffee | garbles/hoser.js | 1 | assign = require('./assign')
CallbackStore = require('./callback-store')
cloneDeep = require('./clone-deep')
getDeep = require('./get-deep')
pathToArray = require('./path-to-array')
setDeep = require('./set-deep')
autoBind = require('./auto-bind')
CALLBACKS_KEY = '_______CALLBACKS_KEY_______'
module.exports =
class S... | 115334 | assign = require('./assign')
CallbackStore = require('./callback-store')
cloneDeep = require('./clone-deep')
getDeep = require('./get-deep')
pathToArray = require('./path-to-array')
setDeep = require('./set-deep')
autoBind = require('./auto-bind')
CALLBACKS_KEY = '_______CALLBACKS<KEY>_KEY<KEY>_______'
module.exports... | true | assign = require('./assign')
CallbackStore = require('./callback-store')
cloneDeep = require('./clone-deep')
getDeep = require('./get-deep')
pathToArray = require('./path-to-array')
setDeep = require('./set-deep')
autoBind = require('./auto-bind')
CALLBACKS_KEY = '_______CALLBACKSPI:KEY:<KEY>END_PI_KEYPI:KEY:<KEY>END_... |
[
{
"context": "ype: { id:issueType }\n assignee: { name:@config.user }\n description: description",
"end": 2183,
"score": 0.5546971559524536,
"start": 2183,
"tag": "USERNAME",
"value": ""
},
{
"context": "e: { id:issueType }\n assignee: { name:@config.... | src/jira-cli.coffee | tebriel/jira-cli | 48 | # Because colors are pretty
color = require('ansi-color').set
# [PrettyPrinter Sourc/Doc](pretty-printer.html)
PrettyPrinter = require('./pretty-printer').PrettyPrinter
JiraApi = require('jira').JiraApi
class Logger
error: (text) ->
@log text, "red"
log: (text, textColor) ->
unless textColor?
... | 203524 | # Because colors are pretty
color = require('ansi-color').set
# [PrettyPrinter Sourc/Doc](pretty-printer.html)
PrettyPrinter = require('./pretty-printer').PrettyPrinter
JiraApi = require('jira').JiraApi
class Logger
error: (text) ->
@log text, "red"
log: (text, textColor) ->
unless textColor?
... | true | # Because colors are pretty
color = require('ansi-color').set
# [PrettyPrinter Sourc/Doc](pretty-printer.html)
PrettyPrinter = require('./pretty-printer').PrettyPrinter
JiraApi = require('jira').JiraApi
class Logger
error: (text) ->
@log text, "red"
log: (text, textColor) ->
unless textColor?
... |
[
{
"context": "t: 4000\n sessions:\n store: 'memory'\n key: 'sid'\n expiry: 14 * 24 * 60 * 60\n db:\n mongo:\n ",
"end": 108,
"score": 0.9587377309799194,
"start": 105,
"tag": "KEY",
"value": "sid"
}
] | examples/todo_app_coffee/config/development.coffee | doowb/geddy | 0 | config =
detailedErrors: false
hostname: null
port: 4000
sessions:
store: 'memory'
key: 'sid'
expiry: 14 * 24 * 60 * 60
db:
mongo:
db: 'todo'
module.exports = config
| 121240 | config =
detailedErrors: false
hostname: null
port: 4000
sessions:
store: 'memory'
key: '<KEY>'
expiry: 14 * 24 * 60 * 60
db:
mongo:
db: 'todo'
module.exports = config
| true | config =
detailedErrors: false
hostname: null
port: 4000
sessions:
store: 'memory'
key: 'PI:KEY:<KEY>END_PI'
expiry: 14 * 24 * 60 * 60
db:
mongo:
db: 'todo'
module.exports = config
|
[
{
"context": "ot, path) ->\n container = data:snapshot\n key = 'data'\n elem = container\n for p in path\n elem = el",
"end": 1038,
"score": 0.9936442375183105,
"start": 1034,
"tag": "KEY",
"value": "data"
}
] | src/types/json-api.coffee | dhotson/ShareJS | 1 | # API for JSON OT
json = require './json' if typeof WEB is 'undefined'
depath = (path) ->
if path.length == 1 and path[0].constructor == Array
path[0]
else path
class SubDoc
constructor: (@doc, @path) ->
at: (path...) -> @doc.at @path.concat depath path
get: -> @doc.getAt @path
# for objects and list... | 182488 | # API for JSON OT
json = require './json' if typeof WEB is 'undefined'
depath = (path) ->
if path.length == 1 and path[0].constructor == Array
path[0]
else path
class SubDoc
constructor: (@doc, @path) ->
at: (path...) -> @doc.at @path.concat depath path
get: -> @doc.getAt @path
# for objects and list... | true | # API for JSON OT
json = require './json' if typeof WEB is 'undefined'
depath = (path) ->
if path.length == 1 and path[0].constructor == Array
path[0]
else path
class SubDoc
constructor: (@doc, @path) ->
at: (path...) -> @doc.at @path.concat depath path
get: -> @doc.getAt @path
# for objects and list... |
[
{
"context": " envelope =\n config:\n key: 'cats'\n value: ['tabby', 'siamese', 'calico'",
"end": 516,
"score": 0.9325668811798096,
"start": 512,
"tag": "KEY",
"value": "cats"
},
{
"context": " envelope =\n config:\n key: 'evil-e... | test/sample-spec.coffee | octoblu/nanocyte-component-sample | 0 | ReturnValue = require 'nanocyte-component-return-value'
Sample = require '../src/sample'
describe 'Sample', ->
beforeEach ->
@_ = sample: sinon.stub()
@sut = new Sample {}, _: @_
it 'should exist', ->
expect(@sut).to.be.an.instanceOf ReturnValue
describe '->onEnvelope', ->
describe 'when calle... | 12868 | ReturnValue = require 'nanocyte-component-return-value'
Sample = require '../src/sample'
describe 'Sample', ->
beforeEach ->
@_ = sample: sinon.stub()
@sut = new Sample {}, _: @_
it 'should exist', ->
expect(@sut).to.be.an.instanceOf ReturnValue
describe '->onEnvelope', ->
describe 'when calle... | true | ReturnValue = require 'nanocyte-component-return-value'
Sample = require '../src/sample'
describe 'Sample', ->
beforeEach ->
@_ = sample: sinon.stub()
@sut = new Sample {}, _: @_
it 'should exist', ->
expect(@sut).to.be.an.instanceOf ReturnValue
describe '->onEnvelope', ->
describe 'when calle... |
[
{
"context": "al tree-like navigation widget things.\n#\n# Author: Alex Little\n# License: MIT\n# Homepage: http://github.com/alxl",
"end": 121,
"score": 0.9998272061347961,
"start": 110,
"tag": "NAME",
"value": "Alex Little"
},
{
"context": "ttle\n# License: MIT\n# Homepage: http://... | jquery.branches.coffee | alxlit/jquery-branches | 1 | #
# jquery.branches
#
# It's a plugin for creating horizontal tree-like navigation widget things.
#
# Author: Alex Little
# License: MIT
# Homepage: http://github.com/alxlit/jquery-branches
#
$ = jQuery
canvasSupport = ->
(elem = $('<canvas>')[0]) and elem.getContext?
defaults =
automatic: true
style: ['#000',... | 41299 | #
# jquery.branches
#
# It's a plugin for creating horizontal tree-like navigation widget things.
#
# Author: <NAME>
# License: MIT
# Homepage: http://github.com/alxlit/jquery-branches
#
$ = jQuery
canvasSupport = ->
(elem = $('<canvas>')[0]) and elem.getContext?
defaults =
automatic: true
style: ['#000', '#00... | true | #
# jquery.branches
#
# It's a plugin for creating horizontal tree-like navigation widget things.
#
# Author: PI:NAME:<NAME>END_PI
# License: MIT
# Homepage: http://github.com/alxlit/jquery-branches
#
$ = jQuery
canvasSupport = ->
(elem = $('<canvas>')[0]) and elem.getContext?
defaults =
automatic: true
style:... |
[
{
"context": "h ->\n @client = new Dropbox.Client\n key: 'mock00key',\n token: 'mock00token',\n uid: 3141592,",
"end": 100,
"score": 0.742445170879364,
"start": 91,
"tag": "KEY",
"value": "mock00key"
},
{
"context": "pbox.Client\n key: 'mock00key',\n token... | test/src/fast/client_test.coffee | noamraph/datastore-js | 64 | describe 'Dropbox.Client', ->
beforeEach ->
@client = new Dropbox.Client
key: 'mock00key',
token: 'mock00token',
uid: 3141592,
server: 'https://api$.no-calls-in-fasttests.com'
describe 'with custom API server URLs', ->
it 'computes the other URLs correctly', ->
client = new Dr... | 176555 | describe 'Dropbox.Client', ->
beforeEach ->
@client = new Dropbox.Client
key: '<KEY>',
token: '<PASSWORD>',
uid: 3141592,
server: 'https://api$.no-calls-in-fasttests.com'
describe 'with custom API server URLs', ->
it 'computes the other URLs correctly', ->
client = new Dropbox... | true | describe 'Dropbox.Client', ->
beforeEach ->
@client = new Dropbox.Client
key: 'PI:KEY:<KEY>END_PI',
token: 'PI:PASSWORD:<PASSWORD>END_PI',
uid: 3141592,
server: 'https://api$.no-calls-in-fasttests.com'
describe 'with custom API server URLs', ->
it 'computes the other URLs correctly'... |
[
{
"context": "ading = true\n\n @ProfileService\n .updateNew firstName, lastName, email, optInEmail, @workspaceCloudUser",
"end": 766,
"score": 0.5361109972000122,
"start": 757,
"tag": "NAME",
"value": "firstName"
},
{
"context": "e\n\n @ProfileService\n .updateNew fir... | public/angular/controllers/new-profile-controller.coffee | octoblu/octoblu-frontend | 5 |
class NewProfileController
constructor: ($cookies, $scope, $state, $stateParams, FlowService, ProfileService, userService) ->
@cookies = $cookies
@scope = $scope
@state = $state
@stateParams = $stateParams
@FlowService = FlowService
@ProfileService = ProfileServ... | 84236 |
class NewProfileController
constructor: ($cookies, $scope, $state, $stateParams, FlowService, ProfileService, userService) ->
@cookies = $cookies
@scope = $scope
@state = $state
@stateParams = $stateParams
@FlowService = FlowService
@ProfileService = ProfileServ... | true |
class NewProfileController
constructor: ($cookies, $scope, $state, $stateParams, FlowService, ProfileService, userService) ->
@cookies = $cookies
@scope = $scope
@state = $state
@stateParams = $stateParams
@FlowService = FlowService
@ProfileService = ProfileServ... |
[
{
"context": "\"\n\n process.env.HUBOT_DEPLOY_WEBHOOK_SECRET or= \"459C1E17-AAA9-4ABF-9120-92E8385F9949\"\n robot.hear ///#{process.env.HUBOT_DEPLOY_RANDO",
"end": 933,
"score": 0.7073755860328674,
"start": 897,
"tag": "KEY",
"value": "459C1E17-AAA9-4ABF-9120-92E8385F9949"
}
] | src/scripts/http.coffee | Mumakil/hubot-deploy | 0 | # Description
# Enable deployment statuses from the GitHub API
#
# Commands:
# hubot deploy-hooks:sync - Sets your user's deployment token. Requires repo_deployment scope.
#
Path = require "path"
Crypto = require "crypto"
GitHubEvents = require(Path.join(__dirname, "..", "models", "githu... | 66151 | # Description
# Enable deployment statuses from the GitHub API
#
# Commands:
# hubot deploy-hooks:sync - Sets your user's deployment token. Requires repo_deployment scope.
#
Path = require "path"
Crypto = require "crypto"
GitHubEvents = require(Path.join(__dirname, "..", "models", "githu... | true | # Description
# Enable deployment statuses from the GitHub API
#
# Commands:
# hubot deploy-hooks:sync - Sets your user's deployment token. Requires repo_deployment scope.
#
Path = require "path"
Crypto = require "crypto"
GitHubEvents = require(Path.join(__dirname, "..", "models", "githu... |
[
{
"context": "# A dangerous lion. Take care.\n#\n# @author Simba\n# @see http://en.wikipedia.org/wiki/Lion\n#\nclass ",
"end": 48,
"score": 0.9988199472427368,
"start": 43,
"tag": "NAME",
"value": "Simba"
}
] | spec/templates/examples/lion.coffee | mohamed-ahmed/codo | 0 | # A dangerous lion. Take care.
#
# @author Simba
# @see http://en.wikipedia.org/wiki/Lion
#
class Example.Animal.Lion extends Example.Animal
# Maximum speed in MPH
@MAX_SPEED = 50
# Move the lion fast
#
# @param [String] direction the moving direction
# @param [Number] speed the moving speed
#
move: (... | 43552 | # A dangerous lion. Take care.
#
# @author <NAME>
# @see http://en.wikipedia.org/wiki/Lion
#
class Example.Animal.Lion extends Example.Animal
# Maximum speed in MPH
@MAX_SPEED = 50
# Move the lion fast
#
# @param [String] direction the moving direction
# @param [Number] speed the moving speed
#
move: ... | true | # A dangerous lion. Take care.
#
# @author PI:NAME:<NAME>END_PI
# @see http://en.wikipedia.org/wiki/Lion
#
class Example.Animal.Lion extends Example.Animal
# Maximum speed in MPH
@MAX_SPEED = 50
# Move the lion fast
#
# @param [String] direction the moving direction
# @param [Number] speed the moving spee... |
[
{
"context": ".DialogViewController\n\n positiveLocalizableKey: 'common.yes'\n positiveText: null\n negativeLocalizableKey: '",
"end": 134,
"score": 0.9974193572998047,
"start": 124,
"tag": "KEY",
"value": "common.yes"
},
{
"context": "'\n positiveText: null\n negativeLocalizabl... | app/src/controllers/wallet/receive/enforce/wallet_receive_enforce_alert_dialog_view_controller.coffee | ipsBruno/ledger-wallet-chrome | 173 | class @WalletReceiveEnforceAlertDialogViewController extends ledger.common.DialogViewController
positiveLocalizableKey: 'common.yes'
positiveText: null
negativeLocalizableKey: 'common.no'
negativeText: null
cancelLocalizableKey: 'common.cancel'
titleLocalizableKey: 'common.confirmation'
messageLocalizabl... | 84949 | class @WalletReceiveEnforceAlertDialogViewController extends ledger.common.DialogViewController
positiveLocalizableKey: '<KEY>'
positiveText: null
negativeLocalizableKey: '<KEY>'
negativeText: null
cancelLocalizableKey: '<KEY>'
titleLocalizableKey: '<KEY>'
messageLocalizableKey: null
message: null
sh... | true | class @WalletReceiveEnforceAlertDialogViewController extends ledger.common.DialogViewController
positiveLocalizableKey: 'PI:KEY:<KEY>END_PI'
positiveText: null
negativeLocalizableKey: 'PI:KEY:<KEY>END_PI'
negativeText: null
cancelLocalizableKey: 'PI:KEY:<KEY>END_PI'
titleLocalizableKey: 'PI:KEY:<KEY>END_PI... |
[
{
"context": "s, hits) ->\n\tif links && hits\n\t\tkey = hits[0].hashId\n\t\tl = links.length\n\t\twhile l--\n\t\t\tif links[l].has",
"end": 430,
"score": 0.6529816389083862,
"start": 428,
"tag": "KEY",
"value": "Id"
},
{
"context": "pts = ++loginAttempts\n\t\t\t\t\t\tauthData = { us... | coffee_clients/script.coffee | scanton/quick-links | 0 | app = angular.module 'main', [
'ngRoute'
'ui.bootstrap'
'config'
'btford.socket-io'
'angularMoment'
'navigation'
'filters'
'user-input-forms'
'links'
]
app.factory 'socket', (socketFactory) ->
socketFactory()
app.factory 'ipDictionary', () ->
details = {}
set: (ip, data) ->
details[ip] = data
get: (ip)... | 139731 | app = angular.module 'main', [
'ngRoute'
'ui.bootstrap'
'config'
'btford.socket-io'
'angularMoment'
'navigation'
'filters'
'user-input-forms'
'links'
]
app.factory 'socket', (socketFactory) ->
socketFactory()
app.factory 'ipDictionary', () ->
details = {}
set: (ip, data) ->
details[ip] = data
get: (ip)... | true | app = angular.module 'main', [
'ngRoute'
'ui.bootstrap'
'config'
'btford.socket-io'
'angularMoment'
'navigation'
'filters'
'user-input-forms'
'links'
]
app.factory 'socket', (socketFactory) ->
socketFactory()
app.factory 'ipDictionary', () ->
details = {}
set: (ip, data) ->
details[ip] = data
get: (ip)... |
[
{
"context": ", ->\n it \"encode\", ->\n value = \"刘强东喝奶茶1234567890+=——_·!@#¥%……&*()——+¥{}[].,;\"\n ",
"end": 168,
"score": 0.9977610111236572,
"start": 165,
"tag": "NAME",
"value": "刘强东"
},
{
"context": "0+=——_·!@#¥%……&*()——+¥{}[].,;\"\n key = \"奶茶... | test/lib/encryptSpec.coffee | wh1100717/localDB | 59 | define (require, exports, module) ->
"use strict"
Encrypt = require("lib/encrypt")
describe "Encrypt", ->
it "encode", ->
value = "刘强东喝奶茶1234567890+=——_·!@#¥%……&*()——+¥{}[].,;"
key = "奶茶妹"
str = Encrypt.encode(value, key)
console.log(value + "加密后:" +... | 33132 | define (require, exports, module) ->
"use strict"
Encrypt = require("lib/encrypt")
describe "Encrypt", ->
it "encode", ->
value = "<NAME>喝奶茶1234567890+=——_·!@#¥%……&*()——+¥{}[].,;"
key = "<KEY>"
str = Encrypt.encode(value, key)
console.log(value + "加密... | true | define (require, exports, module) ->
"use strict"
Encrypt = require("lib/encrypt")
describe "Encrypt", ->
it "encode", ->
value = "PI:NAME:<NAME>END_PI喝奶茶1234567890+=——_·!@#¥%……&*()——+¥{}[].,;"
key = "PI:KEY:<KEY>END_PI"
str = Encrypt.encode(value, key)
... |
[
{
"context": "- find a random beer using a term.\n#\n# Author:\n# Jake Varness <jake.varness@gmail.com>\n\nCLIENT_ID = process",
"end": 277,
"score": 0.9998819828033447,
"start": 265,
"tag": "NAME",
"value": "Jake Varness"
},
{
"context": " beer using a term.\n#\n# Author:\n# ... | src/beer-me.coffee | jvarness/hubot-beer-me | 0 | # Description
# A hubot script for the 21-and-older crowd that beers you. Powered by Untappd.
#
# Configuration:
# HUBOT_UNTAPPD_CLIENT_ID
# HUBOT_UNTAPPD_CLIENT_SECRET
#
# Commands:
# hubot beer me <term> - find a random beer using a term.
#
# Author:
# Jake Varness <jake.varness@gmail.com>
CLIENT_ID = ... | 104616 | # Description
# A hubot script for the 21-and-older crowd that beers you. Powered by Untappd.
#
# Configuration:
# HUBOT_UNTAPPD_CLIENT_ID
# HUBOT_UNTAPPD_CLIENT_SECRET
#
# Commands:
# hubot beer me <term> - find a random beer using a term.
#
# Author:
# <NAME> <<EMAIL>>
CLIENT_ID = process.env.HUBOT_UNT... | true | # Description
# A hubot script for the 21-and-older crowd that beers you. Powered by Untappd.
#
# Configuration:
# HUBOT_UNTAPPD_CLIENT_ID
# HUBOT_UNTAPPD_CLIENT_SECRET
#
# Commands:
# hubot beer me <term> - find a random beer using a term.
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
CLIENT_I... |
[
{
"context": "#########################\n#\n# Mooqita\n# Created by Markus on 23/10/2016.\n#\n################################",
"end": 87,
"score": 0.9996523261070251,
"start": 81,
"tag": "NAME",
"value": "Markus"
}
] | both/scripts/collections/collections.coffee | agottschalk10/worklearn | 0 | #######################################################
#
# Mooqita
# Created by Markus on 23/10/2016.
#
#######################################################
#######################################################
@Permissions = new Mongo.Collection("permissions")
@Summaries = new Mongo.Collection("summaries")
###... | 131630 | #######################################################
#
# Mooqita
# Created by <NAME> on 23/10/2016.
#
#######################################################
#######################################################
@Permissions = new Mongo.Collection("permissions")
@Summaries = new Mongo.Collection("summaries")
###... | true | #######################################################
#
# Mooqita
# Created by PI:NAME:<NAME>END_PI on 23/10/2016.
#
#######################################################
#######################################################
@Permissions = new Mongo.Collection("permissions")
@Summaries = new Mongo.Collection("su... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7876452803611755,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | src/ta/spec.coffee | phillipb/Bible-Passage-Reference-Parser | 149 | bcv_parser = require("../../js/ta_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 55590 | bcv_parser = require("../../js/ta_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/ta_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "e\n\n## What\n\n# Cafe au Life is an implementation of John Conway's [Game of Life][life] cellular automata\n# writte",
"end": 77,
"score": 0.9990845322608948,
"start": 66,
"tag": "NAME",
"value": "John Conway"
},
{
"context": "ife's Github project is [here](https://git... | lib/cafeaulife.coffee | raganwald/recursiveuniverse | 4 | # # Cafe au Life
## What
# Cafe au Life is an implementation of John Conway's [Game of Life][life] cellular automata
# written in [CoffeeScript][cs]. Cafe au Life runs on [Node.js][node], it is not designed
# to run as an interactive program in a browser window.
#
# Cafe au Life's Github project is [here](https://git... | 194522 | # # Cafe au Life
## What
# Cafe au Life is an implementation of <NAME>'s [Game of Life][life] cellular automata
# written in [CoffeeScript][cs]. Cafe au Life runs on [Node.js][node], it is not designed
# to run as an interactive program in a browser window.
#
# Cafe au Life's Github project is [here](https://github.c... | true | # # Cafe au Life
## What
# Cafe au Life is an implementation of PI:NAME:<NAME>END_PI's [Game of Life][life] cellular automata
# written in [CoffeeScript][cs]. Cafe au Life runs on [Node.js][node], it is not designed
# to run as an interactive program in a browser window.
#
# Cafe au Life's Github project is [here](ht... |
[
{
"context": "class RfcCalculation\n\n ARTICLES = [\"DEL\", \"LAS\", \"DE\", \"LA\", \"Y\", \"A\", \"MC\", \"LOS\", \"VON\"",
"end": 40,
"score": 0.8015663027763367,
"start": 37,
"tag": "NAME",
"value": "DEL"
},
{
"context": "class RfcCalculation\n\n ARTICLES = [\"DEL\", \"LAS\", \... | src/rfc_calculation.coffee | AguacateVelarde/rfc-calculation | 3 | class RfcCalculation
ARTICLES = ["DEL", "LAS", "DE", "LA", "Y", "A", "MC", "LOS", "VON", "VAN", "MAC", "MI"]
COMMON_NAMES = ["JOSE", "J.", "J", "MARIA", "MA", "MA."]
VOCALS = ["A", "E", "I", "O", "U"]
constructor: (name, paternalLname, maternalLname, birthDate) ->
@name = name
@paternalLname = pater... | 66595 | class RfcCalculation
ARTICLES = ["<NAME>", "<NAME>", "DE", "LA", "Y", "A", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>", "<NAME>"]
COMMON_NAMES = ["<NAME>", "<NAME>.", "<NAME>", "<NAME>", "<NAME>", "<NAME>."]
VOCALS = ["A", "E", "I", "O", "U"]
constructor: (name, paternalLname, maternalLname, birthDate)... | true | class RfcCalculation
ARTICLES = ["PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "DE", "LA", "Y", "A", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI"]
COMMON_NAMES = ["PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI.", "P... |
[
{
"context": "dPermissions, (n) -> n == name)\n\n keyPrefix = \"plugin-#{@props.plugin.name}\"\n\n DOM.div\n className:",
"end": 3942,
"score": 0.9953354001045227,
"start": 3933,
"tag": "KEY",
"value": "plugin-#{"
},
{
"context": ") -> n == name)\n\n keyPrefix = \"plugi... | src/components/plugin.coffee | brianshaler/kerplunk-plugin-manager | 0 | _ = require 'lodash'
React = require 'react'
Dependencies = require './plugin/dependencies'
Permissions = require './plugin/permissions'
Recommendations = require './plugin/recommendations'
{DOM} = React
flatten = (obj, prefix = []) ->
results = []
for k, v of obj
newPrefix = prefix.concat k
if v instanc... | 211694 | _ = require 'lodash'
React = require 'react'
Dependencies = require './plugin/dependencies'
Permissions = require './plugin/permissions'
Recommendations = require './plugin/recommendations'
{DOM} = React
flatten = (obj, prefix = []) ->
results = []
for k, v of obj
newPrefix = prefix.concat k
if v instanc... | true | _ = require 'lodash'
React = require 'react'
Dependencies = require './plugin/dependencies'
Permissions = require './plugin/permissions'
Recommendations = require './plugin/recommendations'
{DOM} = React
flatten = (obj, prefix = []) ->
results = []
for k, v of obj
newPrefix = prefix.concat k
if v instanc... |
[
{
"context": "al.trim()\n text_o_real\n\n@tez_account_list = [\n \"tz1NxxKP97Sv6rURCqyZN8TvfLsDaJJ1gRZL\"\n]\n\n@async_assert_strict = (val_a, val_b, on_end)",
"end": 3168,
"score": 0.9995830059051514,
"start": 3132,
"tag": "KEY",
"value": "tz1NxxKP97Sv6rURCqyZN8TvfLsDaJJ1gRZL"
}
] | test/util.coffee | madfish-solutions/sol2ligo | 66 | assert = require "assert"
config = require "../src/config"
ast_gen = require("../src/ast_gen")
solidity_to_ast4gen = require("../src/solidity_to_ast4gen").gen
ast_transform = require("../src/ast_transform")
type_inference = require("../src/type_inference").gen
translate ... | 153631 | assert = require "assert"
config = require "../src/config"
ast_gen = require("../src/ast_gen")
solidity_to_ast4gen = require("../src/solidity_to_ast4gen").gen
ast_transform = require("../src/ast_transform")
type_inference = require("../src/type_inference").gen
translate ... | true | assert = require "assert"
config = require "../src/config"
ast_gen = require("../src/ast_gen")
solidity_to_ast4gen = require("../src/solidity_to_ast4gen").gen
ast_transform = require("../src/ast_transform")
type_inference = require("../src/type_inference").gen
translate ... |
[
{
"context": "tcuts.\n \n #\n # Array\n # =====\n #\n \n # ES5 15.4.4.12\n # http://es5.github.com/#x15.4.4.12\n # Default",
"end": 5029,
"score": 0.9701163172721863,
"start": 5021,
"tag": "IP_ADDRESS",
"value": "5.4.4.12"
},
{
"context": " # ES5 15.4.4.12\n # http://es5.gi... | lib/generators/app/templates/coffeescript/assets/vendor/es5-shim.coffee | technicolorenvy/rendr-cli | 1 | # Copyright 2009-2012 by contributors, MIT License
# vim: ts=4 sts=4 sw=4 expandtab
# Module systems magic dance
((definition) ->
# RequireJS
if typeof define is "function"
define definition
# YUI3
else if typeof YUI is "function"
YUI.add "es5", definition
# CommonJS and <script>
else
... | 45564 | # Copyright 2009-2012 by contributors, MIT License
# vim: ts=4 sts=4 sw=4 expandtab
# Module systems magic dance
((definition) ->
# RequireJS
if typeof define is "function"
define definition
# YUI3
else if typeof YUI is "function"
YUI.add "es5", definition
# CommonJS and <script>
else
... | true | # Copyright 2009-2012 by contributors, MIT License
# vim: ts=4 sts=4 sw=4 expandtab
# Module systems magic dance
((definition) ->
# RequireJS
if typeof define is "function"
define definition
# YUI3
else if typeof YUI is "function"
YUI.add "es5", definition
# CommonJS and <script>
else
... |
[
{
"context": "', (next) ->\n data =\n id: 0\n email: \"dorian@ethylocle.com\"\n password: \"1234\"\n user = User data\n ",
"end": 167,
"score": 0.9999237060546875,
"start": 147,
"tag": "EMAIL",
"value": "dorian@ethylocle.com"
},
{
"context": " email: \"doria... | lib/entity/test/user.coffee | dorianb/Web-application---Ethylocl- | 0 | should = require 'should'
User = require '../user'
describe 'User entity', ->
it 'Create user', (next) ->
data =
id: 0
email: "dorian@ethylocle.com"
password: "1234"
user = User data
user.id.should.eql data.id
user.email.should.eql data.email
user.password.should.eql data.passw... | 150006 | should = require 'should'
User = require '../user'
describe 'User entity', ->
it 'Create user', (next) ->
data =
id: 0
email: "<EMAIL>"
password: "<PASSWORD>"
user = User data
user.id.should.eql data.id
user.email.should.eql data.email
user.password.should.eql data.password
... | true | should = require 'should'
User = require '../user'
describe 'User entity', ->
it 'Create user', (next) ->
data =
id: 0
email: "PI:EMAIL:<EMAIL>END_PI"
password: "PI:PASSWORD:<PASSWORD>END_PI"
user = User data
user.id.should.eql data.id
user.email.should.eql data.email
user.pass... |
[
{
"context": "\n# client_id: '123'\n# client_secret: 'secret'\n# user_agent: 'sphere-node-sdk'\n# task: ",
"end": 8174,
"score": 0.9898191094398499,
"start": 8168,
"tag": "KEY",
"value": "secret"
},
{
"context": "a: false\n# client.products\n# .where('name(en=... | src/coffee/client.coffee | commercetools/sphere-node-sdk | 13 | _ = require 'underscore'
Rest = require './connect/rest'
TaskQueue = require './task-queue'
RepeaterTaskQueue = require '../lib/repeater-task-queue'
CartDiscountService = require './services/cart-discounts'
CartService = require './servi... | 20514 | _ = require 'underscore'
Rest = require './connect/rest'
TaskQueue = require './task-queue'
RepeaterTaskQueue = require '../lib/repeater-task-queue'
CartDiscountService = require './services/cart-discounts'
CartService = require './servi... | true | _ = require 'underscore'
Rest = require './connect/rest'
TaskQueue = require './task-queue'
RepeaterTaskQueue = require '../lib/repeater-task-queue'
CartDiscountService = require './services/cart-discounts'
CartService = require './servi... |
[
{
"context": "ntact-from').text()\n .should.equal 'From: Craig Spaeth (craigspaeth@gmail.com)'\n\n describe 'user with",
"end": 1071,
"score": 0.9998974800109863,
"start": 1059,
"tag": "NAME",
"value": "Craig Spaeth"
},
{
"context": "xt()\n .should.equal 'From: C... | src/desktop/components/inquiry_questionnaire/test/views/inquiry.test.coffee | fossabot/force | 1 | benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
setup = require './setup'
Inquiry = benv.requireWithJadeify require.resolve('../../views/inquiry'), [
'template'
]
describe 'Inquiry', setup ->
beforeEach ->
sinon.stub Backbone, 'sync'
afterEac... | 194043 | benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
setup = require './setup'
Inquiry = benv.requireWithJadeify require.resolve('../../views/inquiry'), [
'template'
]
describe 'Inquiry', setup ->
beforeEach ->
sinon.stub Backbone, 'sync'
afterEac... | true | benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
setup = require './setup'
Inquiry = benv.requireWithJadeify require.resolve('../../views/inquiry'), [
'template'
]
describe 'Inquiry', setup ->
beforeEach ->
sinon.stub Backbone, 'sync'
afterEac... |
[
{
"context": " name: \"twitter\",\n consumerKey: \"supkCU9BZjUifb22xJYWw\",\n consumerSecret: \"U2zbZforgtzuBD26pm",
"end": 1899,
"score": 0.9649204611778259,
"start": 1878,
"tag": "KEY",
"value": "supkCU9BZjUifb22xJYWw"
},
{
"context": "kCU9BZjUifb22xJYWw... | test/hTwitterAdapter.coffee | fredpottier/hubiquitus | 2 | #
# * Copyright (c) Novedia Group 2012.
# *
# * This file is part of Hubiquitus
# *
# * 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 li... | 149805 | #
# * Copyright (c) Novedia Group 2012.
# *
# * This file is part of Hubiquitus
# *
# * 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 li... | true | #
# * Copyright (c) Novedia Group 2012.
# *
# * This file is part of Hubiquitus
# *
# * 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 li... |
[
{
"context": "e and remove the layer automatically\n 2012/5/21 Sinan\n\n###\n\nKDController = require './controller.coffee",
"end": 194,
"score": 0.5739654302597046,
"start": 189,
"tag": "NAME",
"value": "Sinan"
}
] | src/core/windowcontroller.coffee | burakcan/kd | 0 | ###
todo:
- make addLayer implementation more clear, by default adding a layer
should set a listener for next ReceivedClickElsewhere and remove the layer automatically
2012/5/21 Sinan
###
KDController = require './controller.coffee'
module.exports = class KDWindowController extends KDController
@keyVie... | 152986 | ###
todo:
- make addLayer implementation more clear, by default adding a layer
should set a listener for next ReceivedClickElsewhere and remove the layer automatically
2012/5/21 <NAME>
###
KDController = require './controller.coffee'
module.exports = class KDWindowController extends KDController
@keyVi... | true | ###
todo:
- make addLayer implementation more clear, by default adding a layer
should set a listener for next ReceivedClickElsewhere and remove the layer automatically
2012/5/21 PI:NAME:<NAME>END_PI
###
KDController = require './controller.coffee'
module.exports = class KDWindowController extends KDContro... |
[
{
"context": " {}) ->\n ## don't buffer writes - thanks a lot, Nagle\n ## https://github.com/cypress-io/cypress/issu",
"end": 876,
"score": 0.9469682574272156,
"start": 871,
"tag": "NAME",
"value": "Nagle"
},
{
"context": "s - thanks a lot, Nagle\n ## https://github.com/cypr... | packages/https-proxy/lib/server.coffee | Yuyz0112/cypress | 0 | _ = require("lodash")
agent = require("@packages/network").agent
allowDestroy = require("server-destroy-vvo")
debug = require("debug")("cypress:https-proxy")
fs = require("fs-extra")
getProxyForUrl = require("proxy-from-env").getProxyForUrl
https = require("https")
net ... | 32332 | _ = require("lodash")
agent = require("@packages/network").agent
allowDestroy = require("server-destroy-vvo")
debug = require("debug")("cypress:https-proxy")
fs = require("fs-extra")
getProxyForUrl = require("proxy-from-env").getProxyForUrl
https = require("https")
net ... | true | _ = require("lodash")
agent = require("@packages/network").agent
allowDestroy = require("server-destroy-vvo")
debug = require("debug")("cypress:https-proxy")
fs = require("fs-extra")
getProxyForUrl = require("proxy-from-env").getProxyForUrl
https = require("https")
net ... |
[
{
"context": "null\n obj = JSON.parse JSON.stringify obj\n key = prng(16)\n h = hmac_obj({ obj, key }).toString('hex')\n e",
"end": 2600,
"score": 0.9987564086914062,
"start": 2593,
"tag": "KEY",
"value": "prng(16"
}
] | src/expand.iced | Dexvirxx/proofs | 118 | parse3 = require './parse3'
pgp_utils = require('pgp-utils')
{katch,json_stringify_sorted} = pgp_utils.util
triplesec = require('triplesec')
{ExpansionError} = require('./errors').errors
{prng,createHmac} = require 'crypto'
#========================================================
check_expansions = ({expansions}) ->... | 169504 | parse3 = require './parse3'
pgp_utils = require('pgp-utils')
{katch,json_stringify_sorted} = pgp_utils.util
triplesec = require('triplesec')
{ExpansionError} = require('./errors').errors
{prng,createHmac} = require 'crypto'
#========================================================
check_expansions = ({expansions}) ->... | true | parse3 = require './parse3'
pgp_utils = require('pgp-utils')
{katch,json_stringify_sorted} = pgp_utils.util
triplesec = require('triplesec')
{ExpansionError} = require('./errors').errors
{prng,createHmac} = require 'crypto'
#========================================================
check_expansions = ({expansions}) ->... |
[
{
"context": "on:\n Phone: '520-770-3500'\n email: 'metadata@usgin.org'\n Address:\n Street: '416 W. Congr",
"end": 8869,
"score": 0.9999277591705322,
"start": 8851,
"tag": "EMAIL",
"value": "metadata@usgin.org"
}
] | src/design/views/output-iso.coffee | usgin/metadata-server | 0 | module.exports =
map: (doc, debug = false) ->
objGet = (obj, prop, defVal) ->
return defVal if not obj?
props = prop.split '.'
count = 0
for p in props
if obj[p]?
obj = obj[p]
count++
return obj if count is props.length
else
return de... | 6888 | module.exports =
map: (doc, debug = false) ->
objGet = (obj, prop, defVal) ->
return defVal if not obj?
props = prop.split '.'
count = 0
for p in props
if obj[p]?
obj = obj[p]
count++
return obj if count is props.length
else
return de... | true | module.exports =
map: (doc, debug = false) ->
objGet = (obj, prop, defVal) ->
return defVal if not obj?
props = prop.split '.'
count = 0
for p in props
if obj[p]?
obj = obj[p]
count++
return obj if count is props.length
else
return de... |
[
{
"context": "lts to determine the coverage percentage.\n\n@author Roelof Roos (https://github.com/roelofr)\n###\n\npath = require ",
"end": 89,
"score": 0.9998776316642761,
"start": 78,
"tag": "NAME",
"value": "Roelof Roos"
},
{
"context": "centage.\n\n@author Roelof Roos (https://g... | lib/parsers/parser-junit.coffee | roelofr/php-report | 0 | ###
Reads PHPUnit test results to determine the coverage percentage.
@author Roelof Roos (https://github.com/roelofr)
###
path = require 'path'
fs = require 'fs'
ParserBase = require './parser-base'
TestSuite = require '../models/junit-testsuite'
module.exports =
class ParserJunit extends ParserBase
resultFile... | 205716 | ###
Reads PHPUnit test results to determine the coverage percentage.
@author <NAME> (https://github.com/roelofr)
###
path = require 'path'
fs = require 'fs'
ParserBase = require './parser-base'
TestSuite = require '../models/junit-testsuite'
module.exports =
class ParserJunit extends ParserBase
resultFile: nul... | true | ###
Reads PHPUnit test results to determine the coverage percentage.
@author PI:NAME:<NAME>END_PI (https://github.com/roelofr)
###
path = require 'path'
fs = require 'fs'
ParserBase = require './parser-base'
TestSuite = require '../models/junit-testsuite'
module.exports =
class ParserJunit extends ParserBase
r... |
[
{
"context": "/pubhtml\n# https://docs.google.com/spreadsheets/d/1dPG7Xxvk4qnPajTu9jG_uNuz2R5jvjfeaKI-ylX4NXs/edit\n\nP.svc.oaworks.deal = _index: true, _hides: ",
"end": 288,
"score": 0.8979064226150513,
"start": 244,
"tag": "KEY",
"value": "1dPG7Xxvk4qnPajTu9jG_uNuz2R5jvjfeaKI-ylX4NXs"
}... | worker/src/svc/oaworks/deal.coffee | oaworks/paradigm | 1 |
# get the big deal data from a sheet and expose it in a website
# https://docs.google.com/spreadsheets/d/e/2PACX-1vQ4frfBvvPOKKFhArpV7cRUG0aAbfGRy214y-xlDG_CsW7kNbL-e8tuRvh8y37F4xc8wjO6FK8SD6UT/pubhtml
# https://docs.google.com/spreadsheets/d/1dPG7Xxvk4qnPajTu9jG_uNuz2R5jvjfeaKI-ylX4NXs/edit
P.svc.oaworks.deal = _ind... | 198594 |
# get the big deal data from a sheet and expose it in a website
# https://docs.google.com/spreadsheets/d/e/2PACX-1vQ4frfBvvPOKKFhArpV7cRUG0aAbfGRy214y-xlDG_CsW7kNbL-e8tuRvh8y37F4xc8wjO6FK8SD6UT/pubhtml
# https://docs.google.com/spreadsheets/d/<KEY>/edit
P.svc.oaworks.deal = _index: true, _hides: true, _prefix: false
... | true |
# get the big deal data from a sheet and expose it in a website
# https://docs.google.com/spreadsheets/d/e/2PACX-1vQ4frfBvvPOKKFhArpV7cRUG0aAbfGRy214y-xlDG_CsW7kNbL-e8tuRvh8y37F4xc8wjO6FK8SD6UT/pubhtml
# https://docs.google.com/spreadsheets/d/PI:KEY:<KEY>END_PI/edit
P.svc.oaworks.deal = _index: true, _hides: true, _p... |
[
{
"context": "class Base64Binary\n @_keyStr: \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\"\n\n @decodeArrayBuffer: (input) ->\n bytes",
"end": 100,
"score": 0.9997220635414124,
"start": 34,
"tag": "KEY",
"value": "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmno... | csat/visualization/assets/coffeescripts/lib.coffee | GaretJax/csat | 0 | class Base64Binary
@_keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
@decodeArrayBuffer: (input) ->
bytes = (input.length/4) * 3
ab = new ArrayBuffer(bytes)
Base64Binary.decode(input, ab)
return ab
@decode: (input, arrayBuffer) ->
lkey1 =... | 115432 | class Base64Binary
@_keyStr: "<KEY>
@decodeArrayBuffer: (input) ->
bytes = (input.length/4) * 3
ab = new ArrayBuffer(bytes)
Base64Binary.decode(input, ab)
return ab
@decode: (input, arrayBuffer) ->
lkey1 = Base64Binary._keyStr.indexOf(input.charAt(input.length-1))
... | true | class Base64Binary
@_keyStr: "PI:KEY:<KEY>END_PI
@decodeArrayBuffer: (input) ->
bytes = (input.length/4) * 3
ab = new ArrayBuffer(bytes)
Base64Binary.decode(input, ab)
return ab
@decode: (input, arrayBuffer) ->
lkey1 = Base64Binary._keyStr.indexOf(input.charAt(input... |
[
{
"context": "\tcell: 'Cell: +38 093 675 18 44'\n\t\temail: 'E-mail: info@despace.com'\n\n\n",
"end": 2260,
"score": 0.9999311566352844,
"start": 2244,
"tag": "EMAIL",
"value": "info@despace.com"
}
] | locale/en.coffee | winnlab/Despace | 0 | module.exports =
menu:
about: 'about'
work: 'work'
blog: 'blog'
contact: 'contact'
slogan:
partOne: 'YOUR STORY.'
partTwo: 'OUR INSPIRATION'
we:
we: 'We'
content: '<p>We are Despace. Trained as designers, architects
and artists we have a deep-rooted belief in rational
function and sustain... | 132014 | module.exports =
menu:
about: 'about'
work: 'work'
blog: 'blog'
contact: 'contact'
slogan:
partOne: 'YOUR STORY.'
partTwo: 'OUR INSPIRATION'
we:
we: 'We'
content: '<p>We are Despace. Trained as designers, architects
and artists we have a deep-rooted belief in rational
function and sustain... | true | module.exports =
menu:
about: 'about'
work: 'work'
blog: 'blog'
contact: 'contact'
slogan:
partOne: 'YOUR STORY.'
partTwo: 'OUR INSPIRATION'
we:
we: 'We'
content: '<p>We are Despace. Trained as designers, architects
and artists we have a deep-rooted belief in rational
function and sustain... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nChildrenAnimation = requir",
"end": 35,
"score": 0.9996183514595032,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/editor/item-renderer.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
ChildrenAnimation = require './animations/children-animation'
InsertAnimation = require './animations/insert-animation'
RemoveAnimation = require './animations/remove-animation'
AttributedString = require '../core/attributed-string'
MoveAnimation = require './a... | 6479 | # Copyright (c) 2015 <NAME>. All rights reserved.
ChildrenAnimation = require './animations/children-animation'
InsertAnimation = require './animations/insert-animation'
RemoveAnimation = require './animations/remove-animation'
AttributedString = require '../core/attributed-string'
MoveAnimation = require './animation... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
ChildrenAnimation = require './animations/children-animation'
InsertAnimation = require './animations/insert-animation'
RemoveAnimation = require './animations/remove-animation'
AttributedString = require '../core/attributed-string'
MoveAnimation = requir... |
[
{
"context": "uid = 'ferk'\n @pin = 'werms'\n @token = '123'\n @pinModel.save = sinon.stub().yields null,",
"end": 2204,
"score": 0.854109525680542,
"start": 2201,
"tag": "PASSWORD",
"value": "123"
},
{
"context": "uid = 'fark'\n @pin = 'warms'\n @token = 'aa... | test/controllers/pin-controller-spec.coffee | octoblu/meshblu-pin-trusted-device | 0 | PinController = require '../../app/controllers/pin-controller'
describe 'PinController', ->
beforeEach ->
@uuid = 'uuid1'
@meshblu = {}
@pinModel = {}
@dependencies = meshblu : @meshblu, pinModel: @pinModel
@sut = new PinController @uuid, @dependencies
describe 'constructor', ->
it 'should... | 7800 | PinController = require '../../app/controllers/pin-controller'
describe 'PinController', ->
beforeEach ->
@uuid = 'uuid1'
@meshblu = {}
@pinModel = {}
@dependencies = meshblu : @meshblu, pinModel: @pinModel
@sut = new PinController @uuid, @dependencies
describe 'constructor', ->
it 'should... | true | PinController = require '../../app/controllers/pin-controller'
describe 'PinController', ->
beforeEach ->
@uuid = 'uuid1'
@meshblu = {}
@pinModel = {}
@dependencies = meshblu : @meshblu, pinModel: @pinModel
@sut = new PinController @uuid, @dependencies
describe 'constructor', ->
it 'should... |
[
{
"context": "###!\ndocdock main js\nCasey Foster\ncaseyWebDev\ncaseywebdev.com\n###\nunless docdock?\n\t",
"end": 33,
"score": 0.9998860955238342,
"start": 21,
"tag": "NAME",
"value": "Casey Foster"
}
] | coffee/main.coffee | caseywebdev/docdock | 0 | ###!
docdock main js
Casey Foster
caseyWebDev
caseywebdev.com
###
unless docdock?
$ = jQuery
window.docdock = class extends caseyWebDev
@Ui: class
@xhr: {}
@load: ->
$("#main").on "click", "#saveDoc", =>
@xhr.abort?()
docdock.PopUp.show "Saving doc..."
@xhr = $.post("/"
doc: $("#doc")... | 149938 | ###!
docdock main js
<NAME>
caseyWebDev
caseywebdev.com
###
unless docdock?
$ = jQuery
window.docdock = class extends caseyWebDev
@Ui: class
@xhr: {}
@load: ->
$("#main").on "click", "#saveDoc", =>
@xhr.abort?()
docdock.PopUp.show "Saving doc..."
@xhr = $.post("/"
doc: $("#doc").val()... | true | ###!
docdock main js
PI:NAME:<NAME>END_PI
caseyWebDev
caseywebdev.com
###
unless docdock?
$ = jQuery
window.docdock = class extends caseyWebDev
@Ui: class
@xhr: {}
@load: ->
$("#main").on "click", "#saveDoc", =>
@xhr.abort?()
docdock.PopUp.show "Saving doc..."
@xhr = $.post("/"
doc: $... |
[
{
"context": " user: 'postmark-api-token'\n pass: 'postmark-api-token'\n\n from: 'Pomotodo <robot@pomotodo.com>'\n\n ",
"end": 479,
"score": 0.9884770512580872,
"start": 461,
"tag": "PASSWORD",
"value": "postmark-api-token"
},
{
"context": " pass: 'postmark-api-to... | mailer.coffee | jysperm/pomo-mailer | 1 | nodemailer = require 'nodemailer'
validator = require 'validator'
request = require 'request'
moment = require 'moment-timezone'
path = require 'path'
jade = require 'jade'
fs = require 'q-io/fs'
_ = require 'lodash'
Q = require 'q'
I18n = require './i18n'
###
Public: Render multi-language mail with template.
###
m... | 99191 | nodemailer = require 'nodemailer'
validator = require 'validator'
request = require 'request'
moment = require 'moment-timezone'
path = require 'path'
jade = require 'jade'
fs = require 'q-io/fs'
_ = require 'lodash'
Q = require 'q'
I18n = require './i18n'
###
Public: Render multi-language mail with template.
###
m... | true | nodemailer = require 'nodemailer'
validator = require 'validator'
request = require 'request'
moment = require 'moment-timezone'
path = require 'path'
jade = require 'jade'
fs = require 'q-io/fs'
_ = require 'lodash'
Q = require 'q'
I18n = require './i18n'
###
Public: Render multi-language mail with template.
###
m... |
[
{
"context": "sion'\n\napp = express()\n\napp.use(session({secret: 'shashasha'}));\n\nisConnected = (req, res, next) ->\n if re",
"end": 209,
"score": 0.8586286306381226,
"start": 200,
"tag": "KEY",
"value": "shashasha"
}
] | src/app.coffee | jerem824/project-node-2017 | 0 | express = require 'express'
bodyparser = require 'body-parser'
metrics = require './metrics'
users = require './users'
session = require 'express-session'
app = express()
app.use(session({secret: 'shashasha'}));
isConnected = (req, res, next) ->
if req.session.connected
next()
else
res.redirect ... | 77226 | express = require 'express'
bodyparser = require 'body-parser'
metrics = require './metrics'
users = require './users'
session = require 'express-session'
app = express()
app.use(session({secret: '<KEY>'}));
isConnected = (req, res, next) ->
if req.session.connected
next()
else
res.redirect '/co... | true | express = require 'express'
bodyparser = require 'body-parser'
metrics = require './metrics'
users = require './users'
session = require 'express-session'
app = express()
app.use(session({secret: 'PI:KEY:<KEY>END_PI'}));
isConnected = (req, res, next) ->
if req.session.connected
next()
else
res.... |
[
{
"context": "RogueGirl.define 'user', (f) ->\n f.name = 'Peter'\n\n @sequence 'number', (n) -> \"Number ##{n",
"end": 249,
"score": 0.999250590801239,
"start": 244,
"tag": "NAME",
"value": "Peter"
},
{
"context": "'as admin')]\n\n expect(users[0].name).to.eql('Pet... | spec/features/default_driver_spec.js.coffee | smolnar/rogue-girl | 0 | #= require spec_helper
describe 'Default Driver', ->
context 'with RogueGirl', ->
beforeEach ->
RogueGirl.driver = new RogueGirl.DefaultDriver()
it 'builds a record', ->
RogueGirl.define 'user', (f) ->
f.name = 'Peter'
@sequence 'number', (n) -> "Number ##{n}"
@trait 'a... | 73369 | #= require spec_helper
describe 'Default Driver', ->
context 'with RogueGirl', ->
beforeEach ->
RogueGirl.driver = new RogueGirl.DefaultDriver()
it 'builds a record', ->
RogueGirl.define 'user', (f) ->
f.name = '<NAME>'
@sequence 'number', (n) -> "Number ##{n}"
@trait '... | true | #= require spec_helper
describe 'Default Driver', ->
context 'with RogueGirl', ->
beforeEach ->
RogueGirl.driver = new RogueGirl.DefaultDriver()
it 'builds a record', ->
RogueGirl.define 'user', (f) ->
f.name = 'PI:NAME:<NAME>END_PI'
@sequence 'number', (n) -> "Number ##{n}"
... |
[
{
"context": "#Clock Widget for Übersicht\n#Carson Woods\n\n#forces Übersicht to update clock time every se",
"end": 41,
"score": 0.9998453855514526,
"start": 29,
"tag": "NAME",
"value": "Carson Woods"
}
] | clock.widget/clock.coffee | carsonwoods/square-clock-widget | 1 | #Clock Widget for Übersicht
#Carson Woods
#forces Übersicht to update clock time every second. Decrease for improved accuracy
refreshFrequency: "1s"
style: """
font-family: Helvetica Neue, Arial, Sans;
font-size: 750%;
margin-left: 44%;
.time {
border: solid;
border-width: 2px;
max-height: 225p... | 83548 | #Clock Widget for Übersicht
#<NAME>
#forces Übersicht to update clock time every second. Decrease for improved accuracy
refreshFrequency: "1s"
style: """
font-family: Helvetica Neue, Arial, Sans;
font-size: 750%;
margin-left: 44%;
.time {
border: solid;
border-width: 2px;
max-height: 225px;
... | true | #Clock Widget for Übersicht
#PI:NAME:<NAME>END_PI
#forces Übersicht to update clock time every second. Decrease for improved accuracy
refreshFrequency: "1s"
style: """
font-family: Helvetica Neue, Arial, Sans;
font-size: 750%;
margin-left: 44%;
.time {
border: solid;
border-width: 2px;
max-heig... |
[
{
"context": "mail: credentials.identification\n password: credentials.password\n\n _this.makeRequest(data).then ((response) -",
"end": 465,
"score": 0.9991462826728821,
"start": 445,
"tag": "PASSWORD",
"value": "credentials.password"
}
] | app/assets/javascripts/initializers/authentication.coffee | FromUte/dune-dashboard | 0 | Dashboard.CustomAuthenticator = SimpleAuth.Authenticators.Devise.extend
restore: (properties) ->
new Ember.RSVP.Promise((resolve, reject) ->
if not Ember.isEmpty(properties.access_token)
resolve properties
else
reject()
return
)
authenticate: (credentials) ->
_this = t... | 5021 | Dashboard.CustomAuthenticator = SimpleAuth.Authenticators.Devise.extend
restore: (properties) ->
new Ember.RSVP.Promise((resolve, reject) ->
if not Ember.isEmpty(properties.access_token)
resolve properties
else
reject()
return
)
authenticate: (credentials) ->
_this = t... | true | Dashboard.CustomAuthenticator = SimpleAuth.Authenticators.Devise.extend
restore: (properties) ->
new Ember.RSVP.Promise((resolve, reject) ->
if not Ember.isEmpty(properties.access_token)
resolve properties
else
reject()
return
)
authenticate: (credentials) ->
_this = t... |
[
{
"context": "VATE KEY BLOCK-----\n Version: GnuPG v1\n\n lQOYBFbgdCwBCADP7pEHzySjYHIlQK7T3XlqfFaot7VAgwmBUmXwFNRsYxGFj5sC\n qEvhcw3nGvhVOul9A5S3yDZCtEDMqZSFDXNNIptpbhJgEqae0stfmHzHNUJSz+3w\n ZE8Bvz1D5MU8YsMCUbt/wM/dBsp0EdbCS+zWIfM7Gzhb5vYOYx/wAeUxORCljQ6i\n E80iGKII7EYmpscIOjb6QgaM7wih... | packages/client-app/internal_packages/keybase/spec/encrypt-button-spec.cjsx | cnheider/nylas-mail | 24,369 | {React, ReactDOM, ReactTestUtils, DraftStore, Message} = require 'nylas-exports'
pgp = require 'kbpgp'
EncryptMessageButton = require '../lib/encrypt-button'
PGPKeyStore = require '../lib/pgp-key-store'
describe "EncryptMessageButton", ->
beforeEach ->
key = """-----BEGIN PGP PRIVATE KEY BLOCK-----
Versio... | 208197 | {React, ReactDOM, ReactTestUtils, DraftStore, Message} = require 'nylas-exports'
pgp = require 'kbpgp'
EncryptMessageButton = require '../lib/encrypt-button'
PGPKeyStore = require '../lib/pgp-key-store'
describe "EncryptMessageButton", ->
beforeEach ->
key = """-----BEGIN PGP PRIVATE KEY BLOCK-----
Versio... | true | {React, ReactDOM, ReactTestUtils, DraftStore, Message} = require 'nylas-exports'
pgp = require 'kbpgp'
EncryptMessageButton = require '../lib/encrypt-button'
PGPKeyStore = require '../lib/pgp-key-store'
describe "EncryptMessageButton", ->
beforeEach ->
key = """-----BEGIN PGP PRIVATE KEY BLOCK-----
Versio... |
[
{
"context": "e\n\n blending: (value = 'normal') ->\n keys = ['no', 'normal', 'add', 'subtract', 'multiply', 'custo",
"end": 14958,
"score": 0.6580368876457214,
"start": 14956,
"tag": "KEY",
"value": "no"
},
{
"context": "lending: (value = 'normal') ->\n keys = ['no', 'normal'... | src/primitives/types/types.coffee | GerHobbelt/mathbox | 1 | THREE = require 'three'
Util = require '../../util'
# Property types
#
# The weird calling convention is for double-buffering the values
# while validating compound types like arrays and nullables.
#
# validate: (value, target, invalid) ->
#
# # Option 1: Call invalid() to reject
# return invalid() if value < 0
... | 132275 | THREE = require 'three'
Util = require '../../util'
# Property types
#
# The weird calling convention is for double-buffering the values
# while validating compound types like arrays and nullables.
#
# validate: (value, target, invalid) ->
#
# # Option 1: Call invalid() to reject
# return invalid() if value < 0
... | true | THREE = require 'three'
Util = require '../../util'
# Property types
#
# The weird calling convention is for double-buffering the values
# while validating compound types like arrays and nullables.
#
# validate: (value, target, invalid) ->
#
# # Option 1: Call invalid() to reject
# return invalid() if value < 0
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9982747435569763,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-vm-basic.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... | 125720 | # 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": " # for debugging only\n # employee.email = \"jk@websector.de\"\n # employee.firstName = \"j\"\n # emplo",
"end": 796,
"score": 0.9999250769615173,
"start": 781,
"tag": "EMAIL",
"value": "jk@websector.de"
},
{
"context": " \"jk@websector.de\"\n # ... | app/assets/javascripts/controllers/createEmployeeController.coffee | kronus/angular-ruby-2014-example | 0 | angular.module('cafeTownsend.employee')
.config([
'$routeProvider',
($routeProvider) ->
$routeProvider
.when '/employees/new',
templateUrl: '/assets/employee.html'
controller: 'CreateEmployeeController'
])
.controller 'CreateEmployeeController', [
'$log'
'$scope'
'$location'
'Sessi... | 103448 | angular.module('cafeTownsend.employee')
.config([
'$routeProvider',
($routeProvider) ->
$routeProvider
.when '/employees/new',
templateUrl: '/assets/employee.html'
controller: 'CreateEmployeeController'
])
.controller 'CreateEmployeeController', [
'$log'
'$scope'
'$location'
'Sessi... | true | angular.module('cafeTownsend.employee')
.config([
'$routeProvider',
($routeProvider) ->
$routeProvider
.when '/employees/new',
templateUrl: '/assets/employee.html'
controller: 'CreateEmployeeController'
])
.controller 'CreateEmployeeController', [
'$log'
'$scope'
'$location'
'Sessi... |
[
{
"context": "###*\n* Title scene\n*\n* @author David Jegat <david.jegat@gmail.com>\n###\nclass TitleScene exte",
"end": 42,
"score": 0.9998947381973267,
"start": 31,
"tag": "NAME",
"value": "David Jegat"
},
{
"context": "###*\n* Title scene\n*\n* @author David Jegat <david.jegat@gma... | src/Scene/TitleScene.coffee | Djeg/MicroRacing | 1 | ###*
* Title scene
*
* @author David Jegat <david.jegat@gmail.com>
###
class TitleScene extends BaseScene
###*
* INitialize the scene
###
init: () ->
@loadLoop = 0
@loader = "."
@index = 0
@menus = [
'1 player'
'2 player'
'3 player'
'4 player'
'Options'
... | 97561 | ###*
* Title scene
*
* @author <NAME> <<EMAIL>>
###
class TitleScene extends BaseScene
###*
* INitialize the scene
###
init: () ->
@loadLoop = 0
@loader = "."
@index = 0
@menus = [
'1 player'
'2 player'
'3 player'
'4 player'
'Options'
]
@scenes = [... | true | ###*
* Title scene
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
class TitleScene extends BaseScene
###*
* INitialize the scene
###
init: () ->
@loadLoop = 0
@loader = "."
@index = 0
@menus = [
'1 player'
'2 player'
'3 player'
'4 player'
'Opt... |
[
{
"context": "# Underscore.js 1.3.1\n# (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.\n# Underscore is freely distri",
"end": 53,
"score": 0.9998815059661865,
"start": 38,
"tag": "NAME",
"value": "Jeremy Ashkenas"
},
{
"context": " from Prototype,\n# Oliver Steele's Functional, an... | plugins/uno/uno.coffee | xfix/YIBot | 1 | # Underscore.js 1.3.1
# (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc.
# Underscore is freely distributable under the MIT license.
# Portions of Underscore are inspired or borrowed from Prototype,
# Oliver Steele's Functional, and John Resig's Micro-Templating.
# For all details and documentation:
# http://documentc... | 104385 | # Underscore.js 1.3.1
# (c) 2009-2012 <NAME>, DocumentCloud Inc.
# Underscore is freely distributable under the MIT license.
# Portions of Underscore are inspired or borrowed from Prototype,
# Oliver Steele's Functional, and <NAME>'s Micro-Templating.
# For all details and documentation:
# http://documentcloud.github.c... | true | # Underscore.js 1.3.1
# (c) 2009-2012 PI:NAME:<NAME>END_PI, DocumentCloud Inc.
# Underscore is freely distributable under the MIT license.
# Portions of Underscore are inspired or borrowed from Prototype,
# Oliver Steele's Functional, and PI:NAME:<NAME>END_PI's Micro-Templating.
# For all details and documentation:
# h... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9987900853157043,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "ommon\")\ncert = \"-----BEGIN CERTIFICATE-----\\n\" + \"MIIBfjCCASgCCQDmmNjAojbDQjANBgkqhkiG9w... | test/simple/test-tls-cert-regression.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... | 216793 | # 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": ".asp' -F'cmd=logon' # -F'email=EMAIL' -F'password=PASSWORD'\n# and copy the data inside the CDATA[...] bloc",
"end": 412,
"score": 0.9988610744476318,
"start": 404,
"tag": "PASSWORD",
"value": "PASSWORD"
},
{
"context": "is token forever without problems.\n#\n# Author... | src/scripts/fogbugz.coffee | Asquera/hubot-scripts | 1 | # Description:
# FogBugz hubot helper
#
# Dependencies:
# "xml2js": "0.1.14"
#
# Configuration:
# HUBOT_FOGBUGZ_HOST
# HUBOT_FOGBUGZ_TOKEN
#
# Commands:
# bug <number> - provide helpful information about a FogBugz case
# case <number> - provide helpful information about a FogBugz case
#
# Notes:
#
# cu... | 152404 | # Description:
# FogBugz hubot helper
#
# Dependencies:
# "xml2js": "0.1.14"
#
# Configuration:
# HUBOT_FOGBUGZ_HOST
# HUBOT_FOGBUGZ_TOKEN
#
# Commands:
# bug <number> - provide helpful information about a FogBugz case
# case <number> - provide helpful information about a FogBugz case
#
# Notes:
#
# cu... | true | # Description:
# FogBugz hubot helper
#
# Dependencies:
# "xml2js": "0.1.14"
#
# Configuration:
# HUBOT_FOGBUGZ_HOST
# HUBOT_FOGBUGZ_TOKEN
#
# Commands:
# bug <number> - provide helpful information about a FogBugz case
# case <number> - provide helpful information about a FogBugz case
#
# Notes:
#
# cu... |
[
{
"context": "KE EVERYWHERE ELSE\n ###\n UPDATE_FIELDS_FULL = ['username', 'description', 'displayName', 'identities','pri",
"end": 630,
"score": 0.8860620260238647,
"start": 622,
"tag": "USERNAME",
"value": "username"
},
{
"context": " options.limit or= 10\n options.sortOrder ... | src/methods/user-methods.coffee | codedoctor/mongoose-user-store-multi-tenant | 4 | _ = require 'underscore-ext'
bcrypt = require 'bcryptjs'
Boom = require 'boom'
Hoek = require 'hoek'
mongooseRestHelper = require 'mongoose-rest-helper'
passgen = require 'passgen'
{isObjectId} = require 'mongodb-objectid-helper'
i18n = require '../i18n'
PageResult = require '../page-result'
require('date-utils') # N... | 77675 | _ = require 'underscore-ext'
bcrypt = require 'bcryptjs'
Boom = require 'boom'
Hoek = require 'hoek'
mongooseRestHelper = require 'mongoose-rest-helper'
passgen = require 'passgen'
{isObjectId} = require 'mongodb-objectid-helper'
i18n = require '../i18n'
PageResult = require '../page-result'
require('date-utils') # N... | true | _ = require 'underscore-ext'
bcrypt = require 'bcryptjs'
Boom = require 'boom'
Hoek = require 'hoek'
mongooseRestHelper = require 'mongoose-rest-helper'
passgen = require 'passgen'
{isObjectId} = require 'mongodb-objectid-helper'
i18n = require '../i18n'
PageResult = require '../page-result'
require('date-utils') # N... |
[
{
"context": " Authentication (5000 requests/hr)\naccessToken = \"5e04d069456442ee6b66b2b87d2a28f215789511\"\n\n# Mid-size repo; django-waffle is a Django feat",
"end": 1260,
"score": 0.9996336698532104,
"start": 1220,
"tag": "KEY",
"value": "5e04d069456442ee6b66b2b87d2a28f215789511"
},
... | coffee/problem_4.coffee | rlucioni/cs171-hw2-lucioni-renzo | 1 | parseLinkHeader = (header) ->
# Deals with absent link headers
if header is null
return {}
values = header.split(',')
links = {}
for value in values
segments = value.split(';')
url = segments[0].replace(/<(.*)>/, '$1').trim()
rel = segments[1].replace(/rel="(.*)"/, ... | 121557 | parseLinkHeader = (header) ->
# Deals with absent link headers
if header is null
return {}
values = header.split(',')
links = {}
for value in values
segments = value.split(';')
url = segments[0].replace(/<(.*)>/, '$1').trim()
rel = segments[1].replace(/rel="(.*)"/, ... | true | parseLinkHeader = (header) ->
# Deals with absent link headers
if header is null
return {}
values = header.split(',')
links = {}
for value in values
segments = value.split(';')
url = segments[0].replace(/<(.*)>/, '$1').trim()
rel = segments[1].replace(/rel="(.*)"/, ... |
[
{
"context": "../src/coffee')\n\nparameters = [\n { ID: 0, Name: \"正一郎\" }\n { ID: 3, Name: \"清次郎\" }\n { ID: 2, Name: \"誠三郎",
"end": 73,
"score": 0.9996520280838013,
"start": 70,
"tag": "NAME",
"value": "正一郎"
},
{
"context": "rs = [\n { ID: 0, Name: \"正一郎\" }\n { ID: 3, Name: \... | test/coffee/orderByDescending.coffee | Lxsbw/linqjs | 0 | Linq = require('../../src/coffee')
parameters = [
{ ID: 0, Name: "正一郎" }
{ ID: 3, Name: "清次郎" }
{ ID: 2, Name: "誠三郎" }
{ ID: 5, Name: "征史郎" }
]
orderedParameters = new Linq(parameters).OrderByDescending( (value) -> value.ID ).ToArray()
console.log 'orderedParameters:', orderedParameters
| 20102 | Linq = require('../../src/coffee')
parameters = [
{ ID: 0, Name: "<NAME>" }
{ ID: 3, Name: "<NAME>" }
{ ID: 2, Name: "<NAME>" }
{ ID: 5, Name: "<NAME>" }
]
orderedParameters = new Linq(parameters).OrderByDescending( (value) -> value.ID ).ToArray()
console.log 'orderedParameters:', orderedParameters
| true | Linq = require('../../src/coffee')
parameters = [
{ ID: 0, Name: "PI:NAME:<NAME>END_PI" }
{ ID: 3, Name: "PI:NAME:<NAME>END_PI" }
{ ID: 2, Name: "PI:NAME:<NAME>END_PI" }
{ ID: 5, Name: "PI:NAME:<NAME>END_PI" }
]
orderedParameters = new Linq(parameters).OrderByDescending( (value) -> value.ID ).ToArray()
cons... |
[
{
"context": "he address of the network block as a string (eg.: 216.240.32.0)\n @base = long2ip(@netLong)\n # The ",
"end": 2535,
"score": 0.999520480632782,
"start": 2523,
"tag": "IP_ADDRESS",
"value": "216.240.32.0"
},
{
"context": "@netLong)\n # The netmask as... | lib/netmask.coffee | kaoudis/node-netmask | 0 | long2ip = (long) ->
a = (long & (0xff << 24)) >>> 24;
b = (long & (0xff << 16)) >>> 16;
c = (long & (0xff << 8)) >>> 8;
d = long & 0xff;
return [a, b, c, d].join('.')
ip2long = (ip) ->
b = (ip + '').split('.');
if b.length is 0 or b.length > 4 then throw new Error('Invalid IP')
for byte... | 83774 | long2ip = (long) ->
a = (long & (0xff << 24)) >>> 24;
b = (long & (0xff << 16)) >>> 16;
c = (long & (0xff << 8)) >>> 8;
d = long & 0xff;
return [a, b, c, d].join('.')
ip2long = (ip) ->
b = (ip + '').split('.');
if b.length is 0 or b.length > 4 then throw new Error('Invalid IP')
for byte... | true | long2ip = (long) ->
a = (long & (0xff << 24)) >>> 24;
b = (long & (0xff << 16)) >>> 16;
c = (long & (0xff << 8)) >>> 8;
d = long & 0xff;
return [a, b, c, d].join('.')
ip2long = (ip) ->
b = (ip + '').split('.');
if b.length is 0 or b.length > 4 then throw new Error('Invalid IP')
for byte... |
[
{
"context": "s foxden join meeting link at email\n\n# Author:\n# matt.strenz@readytalk.com\n\nmodule.exports = (robot) ->\n\n robot.respond /fo",
"end": 187,
"score": 0.9998665452003479,
"start": 162,
"tag": "EMAIL",
"value": "matt.strenz@readytalk.com"
}
] | scripts/foxden.coffee | mstrenz/theMountain | 0 | # Description
# Generate a foxden invite with your email
#
# Commands:
# mountain foxden <email> - Generates foxden join meeting link at email
# Author:
# matt.strenz@readytalk.com
module.exports = (robot) ->
robot.respond /foxden(.*)/i, (res) ->
email = res.match[1]
res.send("https://my.foxden.io/#... | 119174 | # Description
# Generate a foxden invite with your email
#
# Commands:
# mountain foxden <email> - Generates foxden join meeting link at email
# Author:
# <EMAIL>
module.exports = (robot) ->
robot.respond /foxden(.*)/i, (res) ->
email = res.match[1]
res.send("https://my.foxden.io/#/meet/" + email.tr... | true | # Description
# Generate a foxden invite with your email
#
# Commands:
# mountain foxden <email> - Generates foxden join meeting link at email
# Author:
# PI:EMAIL:<EMAIL>END_PI
module.exports = (robot) ->
robot.respond /foxden(.*)/i, (res) ->
email = res.match[1]
res.send("https://my.foxden.io/#/me... |
[
{
"context": "sible for running all the automation\n#\n# @author\n# Navi\n###\n\nmodule.exports = ( grunt ) ->\n\n\t\"use strict\"",
"end": 89,
"score": 0.9919499754905701,
"start": 85,
"tag": "NAME",
"value": "Navi"
}
] | Gruntfile.coffee | navdeepsb/badger | 4 | ###
# @desc
# The Gruntfile responsible for running all the automation
#
# @author
# Navi
###
module.exports = ( grunt ) ->
"use strict"
# Load all grunt plugins:
grunt.loadNpmTasks "grunt-contrib-coffee"
grunt.loadNpmTasks "grunt-contrib-uglify"
# Config storing path information:
pathConfig =
src: "src"
... | 204342 | ###
# @desc
# The Gruntfile responsible for running all the automation
#
# @author
# <NAME>
###
module.exports = ( grunt ) ->
"use strict"
# Load all grunt plugins:
grunt.loadNpmTasks "grunt-contrib-coffee"
grunt.loadNpmTasks "grunt-contrib-uglify"
# Config storing path information:
pathConfig =
src: "src"... | true | ###
# @desc
# The Gruntfile responsible for running all the automation
#
# @author
# PI:NAME:<NAME>END_PI
###
module.exports = ( grunt ) ->
"use strict"
# Load all grunt plugins:
grunt.loadNpmTasks "grunt-contrib-coffee"
grunt.loadNpmTasks "grunt-contrib-uglify"
# Config storing path information:
pathConfig =... |
[
{
"context": " return notify_ WARNINGS.isOld if password is currentPassword\n\n JUser.fetchUser (err, user) =>\n return ",
"end": 3002,
"score": 0.6261366009712219,
"start": 2987,
"tag": "PASSWORD",
"value": "currentPassword"
},
{
"context": "ll if skipConfirmation\n\n ... | client/home/lib/account/homeaccountchangepassword.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
remote = require('app/remote').getInstance()
JView = require 'app/jview'
whoami = require 'app/util/whoami'
CustomLinkView = require 'app/customlinkview'
notify = (title, duration = 2000) -> new kd.NotificationView { title, duration }... | 89642 | kd = require 'kd'
remote = require('app/remote').getInstance()
JView = require 'app/jview'
whoami = require 'app/util/whoami'
CustomLinkView = require 'app/customlinkview'
notify = (title, duration = 2000) -> new kd.NotificationView { title, duration }... | true | kd = require 'kd'
remote = require('app/remote').getInstance()
JView = require 'app/jview'
whoami = require 'app/util/whoami'
CustomLinkView = require 'app/customlinkview'
notify = (title, duration = 2000) -> new kd.NotificationView { title, duration }... |
[
{
"context": " 9\n\n _fetch_person_name_from: (row) ->\n if row[@person_col]\n row[@person_col].value\n else\n ''\n\n",
"end": 497,
"score": 0.5917344093322754,
"start": 486,
"tag": "USERNAME",
"value": "@person_col"
},
{
"context": "ount: 5,\n# people: [... | src/transformator.coffee | dezoxel/orders-aggregator | 1 | moment = require 'moment'
_ = require 'lodash/fp'
mapValues = _.mapValues
mapKeys = _.mapKeys
assign = _.assign
keys = _.keys
every = _.every
toNumber = _.toNumber
map = _.map
class Transformator
constructor: ->
@person_col = '1'
@floors = ['Floor 1', 'Floor 2', 'Floor 3']
@result = {}
@number_to_... | 200355 | moment = require 'moment'
_ = require 'lodash/fp'
mapValues = _.mapValues
mapKeys = _.mapKeys
assign = _.assign
keys = _.keys
every = _.every
toNumber = _.toNumber
map = _.map
class Transformator
constructor: ->
@person_col = '1'
@floors = ['Floor 1', 'Floor 2', 'Floor 3']
@result = {}
@number_to_... | true | moment = require 'moment'
_ = require 'lodash/fp'
mapValues = _.mapValues
mapKeys = _.mapKeys
assign = _.assign
keys = _.keys
every = _.every
toNumber = _.toNumber
map = _.map
class Transformator
constructor: ->
@person_col = '1'
@floors = ['Floor 1', 'Floor 2', 'Floor 3']
@result = {}
@number_to_... |
[
{
"context": "d.be.rejected\n new User(username: 'alice').validate().should.be.fulfilled\n ]\n\n ",
"end": 771,
"score": 0.997748851776123,
"start": 766,
"tag": "USERNAME",
"value": "alice"
},
{
"context": " yield [\n new User(username: '... | test/fields.coffee | bgaeddert/bookshelf-schema | 44 | Bookshelf = require 'bookshelf'
CheckIt = require 'checkit'
Schema = require '../src/'
init = require './init'
F = require '../src/fields'
describe "Fields", ->
this.timeout 3000
db = null
define = (fields) ->
class User extends db.Model
tableName: 'users'
@schema fields
... | 157052 | Bookshelf = require 'bookshelf'
CheckIt = require 'checkit'
Schema = require '../src/'
init = require './init'
F = require '../src/fields'
describe "Fields", ->
this.timeout 3000
db = null
define = (fields) ->
class User extends db.Model
tableName: 'users'
@schema fields
... | true | Bookshelf = require 'bookshelf'
CheckIt = require 'checkit'
Schema = require '../src/'
init = require './init'
F = require '../src/fields'
describe "Fields", ->
this.timeout 3000
db = null
define = (fields) ->
class User extends db.Model
tableName: 'users'
@schema fields
... |
[
{
"context": "{@serverPort}\"\n json:\n name: 'Freedom'\n\n request.post options, (error, @re",
"end": 2035,
"score": 0.5647026300430298,
"start": 2034,
"tag": "NAME",
"value": "F"
}
] | test/integration/respond-spec.coffee | octoblu/alexa-service | 3 | {describe,beforeEach,afterEach,expect,it} = global
request = require 'request'
redis = require 'ioredis'
RedisNs = require '@octoblu/redis-ns'
Server = require '../../src/server'
SessionHandler = require '../../src/handlers/session-handler'
describe 'Respond', ->
beforeEach (done) ->
... | 174614 | {describe,beforeEach,afterEach,expect,it} = global
request = require 'request'
redis = require 'ioredis'
RedisNs = require '@octoblu/redis-ns'
Server = require '../../src/server'
SessionHandler = require '../../src/handlers/session-handler'
describe 'Respond', ->
beforeEach (done) ->
... | true | {describe,beforeEach,afterEach,expect,it} = global
request = require 'request'
redis = require 'ioredis'
RedisNs = require '@octoblu/redis-ns'
Server = require '../../src/server'
SessionHandler = require '../../src/handlers/session-handler'
describe 'Respond', ->
beforeEach (done) ->
... |
[
{
"context": "resh *\n# * Version 0.1.2 *\n# * License: MIT *\n# * SimonWaldherr *\n# * * * * * * * * \n\n#jslint browser: true, inde",
"end": 95,
"score": 0.9998706579208374,
"start": 82,
"tag": "NAME",
"value": "SimonWaldherr"
}
] | ptr.coffee | SimonWaldherr/PullToRefresh | 31 | # * * * * * * * *
# * PullToRefresh *
# * Version 0.1.2 *
# * License: MIT *
# * SimonWaldherr *
# * * * * * * * *
#jslint browser: true, indent: 2
#global ActiveXObject
ptr = []
ptr_settings =
mlang: "en"
mode: "mail"
ptr_messages =
en:
pulltorefresh: "Pull to refresh"
loading: "Loading ..."
de... | 194634 | # * * * * * * * *
# * PullToRefresh *
# * Version 0.1.2 *
# * License: MIT *
# * <NAME> *
# * * * * * * * *
#jslint browser: true, indent: 2
#global ActiveXObject
ptr = []
ptr_settings =
mlang: "en"
mode: "mail"
ptr_messages =
en:
pulltorefresh: "Pull to refresh"
loading: "Loading ..."
de:
p... | true | # * * * * * * * *
# * PullToRefresh *
# * Version 0.1.2 *
# * License: MIT *
# * PI:NAME:<NAME>END_PI *
# * * * * * * * *
#jslint browser: true, indent: 2
#global ActiveXObject
ptr = []
ptr_settings =
mlang: "en"
mode: "mail"
ptr_messages =
en:
pulltorefresh: "Pull to refresh"
loading: "Loading ...... |
[
{
"context": "ng: true},\n# {address: \"España 3182\", name: \"Casa nueva\", lat: -38, lng: -57.4, info: \"Mi casa nueva\", ca",
"end": 1767,
"score": 0.994256317615509,
"start": 1757,
"tag": "NAME",
"value": "Casa nueva"
}
] | app/assets/javascripts/mdc/sell_locations/manager.coffee | Zequez/mapa-de-transporte | 0 | class MDC.SellLocations.Manager extends Utils.Eventable
constructor: (data, @url_helper, @gmap)->
@build_ui()
@build_displayer(data)
@bind_displayer()
@bind_ui()
@read_initial_state()
@build_interface_list()
build_displayer: (data)->
@displayer = new MDC.SellLocations.Displayer(data, @g... | 121371 | class MDC.SellLocations.Manager extends Utils.Eventable
constructor: (data, @url_helper, @gmap)->
@build_ui()
@build_displayer(data)
@bind_displayer()
@bind_ui()
@read_initial_state()
@build_interface_list()
build_displayer: (data)->
@displayer = new MDC.SellLocations.Displayer(data, @g... | true | class MDC.SellLocations.Manager extends Utils.Eventable
constructor: (data, @url_helper, @gmap)->
@build_ui()
@build_displayer(data)
@bind_displayer()
@bind_ui()
@read_initial_state()
@build_interface_list()
build_displayer: (data)->
@displayer = new MDC.SellLocations.Displayer(data, @g... |
[
{
"context": "\n g = new @window.Goggles({\n apiKey: \"apiKeyzzz\",\n clientId: \"identz\",\n scope: []\n ",
"end": 1182,
"score": 0.9986063838005066,
"start": 1173,
"tag": "KEY",
"value": "apiKeyzzz"
},
{
"context": " it \"sets the api key\", (done) ->\n ... | test/src/api-spec.coffee | will-ob/goggles | 1 |
jsdom = require("jsdom")
getMockGapi = () ->
return @gapi or @gapi =
auth:
authorize: ->
client:
setApiKey: ->
getMockSibling = (window) ->
sib =
parentNode:
insertBefore: (newT, existingT) =>
if existingT == sib
match = /^https:\/\/apis\.google\.com\/js\/client\.... | 52226 |
jsdom = require("jsdom")
getMockGapi = () ->
return @gapi or @gapi =
auth:
authorize: ->
client:
setApiKey: ->
getMockSibling = (window) ->
sib =
parentNode:
insertBefore: (newT, existingT) =>
if existingT == sib
match = /^https:\/\/apis\.google\.com\/js\/client\.... | true |
jsdom = require("jsdom")
getMockGapi = () ->
return @gapi or @gapi =
auth:
authorize: ->
client:
setApiKey: ->
getMockSibling = (window) ->
sib =
parentNode:
insertBefore: (newT, existingT) =>
if existingT == sib
match = /^https:\/\/apis\.google\.com\/js\/client\.... |
[
{
"context": "eSetIndex',\n setup: ->\n @zeke = Batman name: 'Zeke'\n @mary = Batman name: 'Mary'\n @fred = Batm",
"end": 80,
"score": 0.9989771246910095,
"start": 76,
"tag": "NAME",
"value": "Zeke"
},
{
"context": "e = Batman name: 'Zeke'\n @mary = Batman name: 'Mary'\n... | tests/batman/set/unique_set_index_test.coffee | nickjs/batman.js | 3 | QUnit.module 'Batman.UniqueSetIndex',
setup: ->
@zeke = Batman name: 'Zeke'
@mary = Batman name: 'Mary'
@fred = Batman name: 'Fred'
@jill = Batman name: 'Jill'
@byZeke = Batman author: @zeke
@byMary = Batman author: @mary
@byFred = Batman author: @fred
@anotherByFred = Batman author: ... | 115149 | QUnit.module 'Batman.UniqueSetIndex',
setup: ->
@zeke = Batman name: '<NAME>'
@mary = Batman name: '<NAME>'
@fred = Batman name: '<NAME>'
@jill = Batman name: '<NAME>'
@byZeke = Batman author: @zeke
@byMary = Batman author: @mary
@byFred = Batman author: @fred
@anotherByFred = Batman ... | true | QUnit.module 'Batman.UniqueSetIndex',
setup: ->
@zeke = Batman name: 'PI:NAME:<NAME>END_PI'
@mary = Batman name: 'PI:NAME:<NAME>END_PI'
@fred = Batman name: 'PI:NAME:<NAME>END_PI'
@jill = Batman name: 'PI:NAME:<NAME>END_PI'
@byZeke = Batman author: @zeke
@byMary = Batman author: @mary
@by... |
[
{
"context": " = []\n previews = []\n keys = iter.count(1)\n\n attribute = 'receipt'\n w",
"end": 3624,
"score": 0.7853923439979553,
"start": 3612,
"tag": "KEY",
"value": "iter.count(1"
}
] | clients/widgets/receiptimages.cjsx | jacob22/accounting | 0 | /*
Copyright 2019 Open End AB
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
dis... | 110684 | /*
Copyright 2019 Open End AB
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
dis... | true | /*
Copyright 2019 Open End AB
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
dis... |
[
{
"context": " isLimited: ({uuid}, callback) =>\n minuteKey = @getMinuteKey()\n @client.hget minuteKey, uuid, (error, msgRa",
"end": 303,
"score": 0.7968299984931946,
"start": 290,
"tag": "KEY",
"value": "@getMinuteKey"
}
] | src/rate-limit-checker.coffee | octoblu/meshblu-core-rate-limit-checker | 0 | class RateLimitChecker
constructor: (options={}) ->
{@client, @Date, @msgRateLimit} = options
throw new Error "RateLimitChecker requires client" unless @client?
@Date ?= Date
@msgRateLimit ?= 20*60 # messages per minute
isLimited: ({uuid}, callback) =>
minuteKey = @getMinuteKey()
@client.hg... | 27161 | class RateLimitChecker
constructor: (options={}) ->
{@client, @Date, @msgRateLimit} = options
throw new Error "RateLimitChecker requires client" unless @client?
@Date ?= Date
@msgRateLimit ?= 20*60 # messages per minute
isLimited: ({uuid}, callback) =>
minuteKey = <KEY>()
@client.hget minut... | true | class RateLimitChecker
constructor: (options={}) ->
{@client, @Date, @msgRateLimit} = options
throw new Error "RateLimitChecker requires client" unless @client?
@Date ?= Date
@msgRateLimit ?= 20*60 # messages per minute
isLimited: ({uuid}, callback) =>
minuteKey = PI:KEY:<KEY>END_PI()
@clie... |
[
{
"context": "Lists the queues with pending jobs\n#\n# Author:\n# joshuaflanagan\n\nmodule.exports = (robot) ->\n url = proc",
"end": 208,
"score": 0.5547751784324646,
"start": 202,
"tag": "NAME",
"value": "joshua"
},
{
"context": "he queues with pending jobs\n#\n# Author:\n# jo... | src/scripts/resque.coffee | Reelhouse/hubot-scripts | 1,450 | # Description:
# Shows the status of resque queues
#
# Dependencies:
# None
#
# Configuration:
# RESQUE_WEB_URL
#
# Commands:
# hubot resque - Lists the queues with pending jobs
#
# Author:
# joshuaflanagan
module.exports = (robot) ->
url = process.env.RESQUE_WEB_URL || 'http://localhost:5678'
robot.resp... | 183499 | # Description:
# Shows the status of resque queues
#
# Dependencies:
# None
#
# Configuration:
# RESQUE_WEB_URL
#
# Commands:
# hubot resque - Lists the queues with pending jobs
#
# Author:
# <NAME>fl<NAME>
module.exports = (robot) ->
url = process.env.RESQUE_WEB_URL || 'http://localhost:5678'
robot.resp... | true | # Description:
# Shows the status of resque queues
#
# Dependencies:
# None
#
# Configuration:
# RESQUE_WEB_URL
#
# Commands:
# hubot resque - Lists the queues with pending jobs
#
# Author:
# PI:NAME:<NAME>END_PIflPI:NAME:<NAME>END_PI
module.exports = (robot) ->
url = process.env.RESQUE_WEB_URL || 'http://... |
[
{
"context": "\n\n connection:\n host: \"localhost\"\n login: \"guest\"\n password: \"guest\"\n vhost: '/'\n port : ",
"end": 351,
"score": 0.9273886680603027,
"start": 346,
"tag": "USERNAME",
"value": "guest"
},
{
"context": "st: \"localhost\"\n login: \"guest\"\n... | src/lib/defaults.coffee | Yagich93/amqp-coffee | 0 | try
clientVersion = JSON.parse(require('fs').readFileSync("#{__dirname}/../../../package.json")).version
catch e
clientVersion = '0.0.1'
{ MaxFrameSize } = require('./constants')
os = require('os')
module.exports =
defaults :
defaultExchangeName: ''
amqp : 5672
amqps : 5671
connection:
host... | 52996 | try
clientVersion = JSON.parse(require('fs').readFileSync("#{__dirname}/../../../package.json")).version
catch e
clientVersion = '0.0.1'
{ MaxFrameSize } = require('./constants')
os = require('os')
module.exports =
defaults :
defaultExchangeName: ''
amqp : 5672
amqps : 5671
connection:
host... | true | try
clientVersion = JSON.parse(require('fs').readFileSync("#{__dirname}/../../../package.json")).version
catch e
clientVersion = '0.0.1'
{ MaxFrameSize } = require('./constants')
os = require('os')
module.exports =
defaults :
defaultExchangeName: ''
amqp : 5672
amqps : 5671
connection:
host... |
[
{
"context": " if !needLogin\n req.session.username = 'Chatsky'\n if req.session.username?\n res.render ",
"end": 268,
"score": 0.9989595413208008,
"start": 261,
"tag": "USERNAME",
"value": "Chatsky"
},
{
"context": " ->\n _username = req.body.email\n _passw... | routes/route.coffee | findix/Chatsky | 1 | express = require "express"
mongoose = require 'mongoose'
router = express.Router()
user = mongoose.model('User')
# setting whether need login
needLogin = false
# GET home page.
router.get "/", (req, res) ->
if !needLogin
req.session.username = 'Chatsky'
if req.session.username?
res.render "i... | 65465 | express = require "express"
mongoose = require 'mongoose'
router = express.Router()
user = mongoose.model('User')
# setting whether need login
needLogin = false
# GET home page.
router.get "/", (req, res) ->
if !needLogin
req.session.username = 'Chatsky'
if req.session.username?
res.render "i... | true | express = require "express"
mongoose = require 'mongoose'
router = express.Router()
user = mongoose.model('User')
# setting whether need login
needLogin = false
# GET home page.
router.get "/", (req, res) ->
if !needLogin
req.session.username = 'Chatsky'
if req.session.username?
res.render "i... |
[
{
"context": " E\n#\n#==============\n# A team deathmatch game\n# by Gustavo6046\n#===============\n#\n# MIT License as always :)\n##\n",
"end": 229,
"score": 0.9996934533119202,
"start": 218,
"tag": "USERNAME",
"value": "Gustavo6046"
},
{
"context": "lass MushMatch extends SMWGamety... | etc/smw3.coffee | Gustavo6046/GusNIRC | 0 | irc = require("../irc.js")
EventEmitter = require("events")
fs = require("fs")
##
# +-----------------+
# | Sentient Mushes |
# +-----------------+
# W A R Z O N E
#
#==============
# A team deathmatch game
# by Gustavo6046
#===============
#
# MIT License as always :)
##
botNames = (fs.readFileSync("etc/botname... | 86910 | irc = require("../irc.js")
EventEmitter = require("events")
fs = require("fs")
##
# +-----------------+
# | Sentient Mushes |
# +-----------------+
# W A R Z O N E
#
#==============
# A team deathmatch game
# by Gustavo6046
#===============
#
# MIT License as always :)
##
botNames = (fs.readFileSync("etc/botname... | true | irc = require("../irc.js")
EventEmitter = require("events")
fs = require("fs")
##
# +-----------------+
# | Sentient Mushes |
# +-----------------+
# W A R Z O N E
#
#==============
# A team deathmatch game
# by Gustavo6046
#===============
#
# MIT License as always :)
##
botNames = (fs.readFileSync("etc/botname... |
[
{
"context": "method: 'POST',\n path: '/door',\n key: fs.readFileSync(config.ssl_key),\n cert: fs.readFileSync(conf",
"end": 700,
"score": 0.6315604448318481,
"start": 688,
"tag": "KEY",
"value": "readFileSync"
}
] | door-magstripe/src/state.coffee | rhinoceraptor/door | 2 | request = require('request')
fs = require('fs')
exec = require('exec')
interval = ""
config = JSON.parse(fs.readFileSync('config.json'))
update_freq = parseInt(config.update_freq, 10)
# Handle ctrl-c cleanly
process.on('SIGINT', () ->
# If interval is a setInterval object, clear it
if interval._idleTimeout?
c... | 209493 | request = require('request')
fs = require('fs')
exec = require('exec')
interval = ""
config = JSON.parse(fs.readFileSync('config.json'))
update_freq = parseInt(config.update_freq, 10)
# Handle ctrl-c cleanly
process.on('SIGINT', () ->
# If interval is a setInterval object, clear it
if interval._idleTimeout?
c... | true | request = require('request')
fs = require('fs')
exec = require('exec')
interval = ""
config = JSON.parse(fs.readFileSync('config.json'))
update_freq = parseInt(config.update_freq, 10)
# Handle ctrl-c cleanly
process.on('SIGINT', () ->
# If interval is a setInterval object, clear it
if interval._idleTimeout?
c... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.999864399433136,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/justify.coffee | GerHobbelt/hallo | 682 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget "IKS.hallojustify",
options:
editable: null
toolbar: null
uuid: ''
buttonCssClass: null
populateToolba... | 202461 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget "IKS.hallojustify",
options:
editable: null
toolbar: null
uuid: ''
buttonCssClass: null
populateToolbar: (too... | 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
((jQuery) ->
jQuery.widget "IKS.hallojustify",
options:
editable: null
toolbar: null
uuid: ''
buttonCssClass: null
populat... |
[
{
"context": "in: (ctx, next) ->\n try\n {email, username, password} = ctx.request.body\n email ?= username\n ",
"end": 3469,
"score": 0.5509452819824219,
"start": 3461,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " $set:\n password... | backend/model/user.coffee | twhtanghk/jsOAuth2 | 0 | cfg = require '../config'
_ = require 'lodash'
Model = require './model'
{compareSync, hashSync, genSaltSync} = require 'bcrypt'
{createTransport} = require 'nodemailer'
{isEmail} = require 'validator'
{URL, URLSearchParams} = require 'url'
class User extends Model
name: 'user'
attributes: [
'email'
'pass... | 85226 | cfg = require '../config'
_ = require 'lodash'
Model = require './model'
{compareSync, hashSync, genSaltSync} = require 'bcrypt'
{createTransport} = require 'nodemailer'
{isEmail} = require 'validator'
{URL, URLSearchParams} = require 'url'
class User extends Model
name: 'user'
attributes: [
'email'
'pass... | true | cfg = require '../config'
_ = require 'lodash'
Model = require './model'
{compareSync, hashSync, genSaltSync} = require 'bcrypt'
{createTransport} = require 'nodemailer'
{isEmail} = require 'validator'
{URL, URLSearchParams} = require 'url'
class User extends Model
name: 'user'
attributes: [
'email'
'pass... |
[
{
"context": "tion: 'Email' }\n password: { description: 'Password', hidden: true }\n\n prompt.get schema, (err, re",
"end": 3249,
"score": 0.9970624446868896,
"start": 3241,
"tag": "PASSWORD",
"value": "Password"
}
] | lib/buxd.coffee | burningtree/buxd | 0 | BUX = require 'libbux'
async = require 'async'
fs = require 'fs'
Path = require 'path'
yaml = require 'js-yaml'
defaultsDeep = require 'lodash.defaultsdeep'
BUXdVersion = '0.1.0';
class BUXd
interfaces: {}
plugins: {}
counters: {}
constructor: (@opts) ->
@debug = require('debug')('buxd:main')
@d... | 13800 | BUX = require 'libbux'
async = require 'async'
fs = require 'fs'
Path = require 'path'
yaml = require 'js-yaml'
defaultsDeep = require 'lodash.defaultsdeep'
BUXdVersion = '0.1.0';
class BUXd
interfaces: {}
plugins: {}
counters: {}
constructor: (@opts) ->
@debug = require('debug')('buxd:main')
@d... | true | BUX = require 'libbux'
async = require 'async'
fs = require 'fs'
Path = require 'path'
yaml = require 'js-yaml'
defaultsDeep = require 'lodash.defaultsdeep'
BUXdVersion = '0.1.0';
class BUXd
interfaces: {}
plugins: {}
counters: {}
constructor: (@opts) ->
@debug = require('debug')('buxd:main')
@d... |
[
{
"context": "ons\" unless (@options.token.substring(0, 5) in ['xoxb-', 'xoxp-'])\n\n # Setup client event handlers\n ",
"end": 1123,
"score": 0.6028170585632324,
"start": 1120,
"tag": "KEY",
"value": "oxb"
},
{
"context": " (@options.token.substring(0, 5) in ['xoxb-', 'xoxp-'])\n... | src/bot.coffee | antipower/hubot | 0 | { Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, CatchAllMessage } = require.main.require 'hubot'
{ SlackTextMessage, ReactionMessage, PresenceMessage } = require './message'
SlackClient = require './client'
class SlackBot extends Adapter
###*
# Slackbot is an adapter for connecting Hubot to Slac... | 80499 | { Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, CatchAllMessage } = require.main.require 'hubot'
{ SlackTextMessage, ReactionMessage, PresenceMessage } = require './message'
SlackClient = require './client'
class SlackBot extends Adapter
###*
# Slackbot is an adapter for connecting Hubot to Slac... | true | { Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, CatchAllMessage } = require.main.require 'hubot'
{ SlackTextMessage, ReactionMessage, PresenceMessage } = require './message'
SlackClient = require './client'
class SlackBot extends Adapter
###*
# Slackbot is an adapter for connecting Hubot to Slac... |
[
{
"context": " -> \n @name = name\n @email = email\n name: 'Anonymous'\n email: null\n sayHello: -> console.log \"My nam",
"end": 115,
"score": 0.8004457354545593,
"start": 106,
"tag": "NAME",
"value": "Anonymous"
},
{
"context": "le.log \"My name is #{@name}!\" \n\nbob = ne... | example/src/main/webapp/WEB-INF/assets/coffee/snippet.coffee | mohno007/skinny-framework | 489 | # Simple class
class Person
constructor: (name, email) ->
@name = name
@email = email
name: 'Anonymous'
email: null
sayHello: -> console.log "My name is #{@name}!"
bob = new Person('Bob')
bob.sayHello()
# Class Inheritance
###
class Programmer extends Person
hack: (it) -> console.log "Hack the #{i... | 146155 | # Simple class
class Person
constructor: (name, email) ->
@name = name
@email = email
name: '<NAME>'
email: null
sayHello: -> console.log "My name is #{@name}!"
bob = new Person('<NAME>')
bob.sayHello()
# Class Inheritance
###
class Programmer extends Person
hack: (it) -> console.log "Hack the #{i... | true | # Simple class
class Person
constructor: (name, email) ->
@name = name
@email = email
name: 'PI:NAME:<NAME>END_PI'
email: null
sayHello: -> console.log "My name is #{@name}!"
bob = new Person('PI:NAME:<NAME>END_PI')
bob.sayHello()
# Class Inheritance
###
class Programmer extends Person
hack: (it) ... |
[
{
"context": "# Copyright© 2017 Merck Sharp & Dohme Corp. a subsidiary of Merck & Co., Inc., ",
"end": 29,
"score": 0.9998740553855896,
"start": 18,
"tag": "NAME",
"value": "Merck Sharp"
}
] | app/assets/javascripts/transformation_status.coffee | Merck/Linea | 0 | # Copyright© 2017 Merck Sharp & Dohme Corp. a subsidiary of Merck & Co., Inc., Kenilworth, NJ, USA. 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... | 193602 | # Copyright© 2017 <NAME> & Dohme Corp. a subsidiary of Merck & Co., Inc., Kenilworth, NJ, USA. 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 ... | true | # Copyright© 2017 PI:NAME:<NAME>END_PI & Dohme Corp. a subsidiary of Merck & Co., Inc., Kenilworth, NJ, USA. 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/license... |
[
{
"context": "# Copyright © 2015 All rights reserved\n# Author: nhim175@gmail.com\n\nButton = require '../button.coffee' \n\nclass GUIP",
"end": 66,
"score": 0.9999144077301025,
"start": 49,
"tag": "EMAIL",
"value": "nhim175@gmail.com"
}
] | src/lib/gui/pause_btn.coffee | nhim175/scorpionsmasher | 0 | # Copyright © 2015 All rights reserved
# Author: nhim175@gmail.com
Button = require '../button.coffee'
class GUIPauseButton extends Button
constructor: (game) ->
super(game, 51, 56, 'pause_btn', @onClick)
@game.add.group().add @
onClick: =>
console.log 'pause btn clicked'
return if @game.isOver... | 216251 | # Copyright © 2015 All rights reserved
# Author: <EMAIL>
Button = require '../button.coffee'
class GUIPauseButton extends Button
constructor: (game) ->
super(game, 51, 56, 'pause_btn', @onClick)
@game.add.group().add @
onClick: =>
console.log 'pause btn clicked'
return if @game.isOver
$(@ga... | true | # Copyright © 2015 All rights reserved
# Author: PI:EMAIL:<EMAIL>END_PI
Button = require '../button.coffee'
class GUIPauseButton extends Button
constructor: (game) ->
super(game, 51, 56, 'pause_btn', @onClick)
@game.add.group().add @
onClick: =>
console.log 'pause btn clicked'
return if @game.i... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998438954353333,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/nucleus/routing.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 107788 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "###\n backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n Lice",
"end": 58,
"score": 0.9991459846496582,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/memory/sync.coffee | michaelBenin/backbone-orm | 1 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require '../queue'
Mem... | 94624 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require '../queue'
Memor... | true | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require '..... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.