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": "kg, \"package.json\"), JSON.stringify(\n author: \"Evan Lucas\"\n name: \"outdated-notarget\"\n version: \"0.0.",
"end": 162,
"score": 0.9998536109924316,
"start": 152,
"tag": "NAME",
"value": "Evan Lucas"
}
] | deps/npm/test/tap/outdated-notarget.coffee | lxe/io.coffee | 0 | # Fixes Issue #1770
setup = ->
mkdirp.sync pkg
mkdirp.sync cache
fs.writeFileSync path.resolve(pkg, "package.json"), JSON.stringify(
author: "Evan Lucas"
name: "outdated-notarget"
version: "0.0.0"
description: "Test for outdated-target"
dependencies:
underscore: "~199.7.1"
), "utf8"
... | 120000 | # Fixes Issue #1770
setup = ->
mkdirp.sync pkg
mkdirp.sync cache
fs.writeFileSync path.resolve(pkg, "package.json"), JSON.stringify(
author: "<NAME>"
name: "outdated-notarget"
version: "0.0.0"
description: "Test for outdated-target"
dependencies:
underscore: "~199.7.1"
), "utf8"
proc... | true | # Fixes Issue #1770
setup = ->
mkdirp.sync pkg
mkdirp.sync cache
fs.writeFileSync path.resolve(pkg, "package.json"), JSON.stringify(
author: "PI:NAME:<NAME>END_PI"
name: "outdated-notarget"
version: "0.0.0"
description: "Test for outdated-target"
dependencies:
underscore: "~199.7.1"
),... |
[
{
"context": "\n 'package.json':\n name: name\n version: '0.0.0'\n ",
"end": 839,
"score": 0.9011706709861755,
"start": 835,
"tag": "NAME",
"value": "name"
}
] | src/define.coffee | nomilous/ipso | 0 |
#
# HAC
# ===
#
# ipso.define(list)
# -----------------
#
# creates capacity to return mock module using require
#
# Achieved by tailoring the behaviours of fs{readFileSync, statSync, lstatSync}
# such that when they are called from require('module-name') (module.js) they
# return faked responses that create the a... | 216921 |
#
# HAC
# ===
#
# ipso.define(list)
# -----------------
#
# creates capacity to return mock module using require
#
# Achieved by tailoring the behaviours of fs{readFileSync, statSync, lstatSync}
# such that when they are called from require('module-name') (module.js) they
# return faked responses that create the a... | true |
#
# HAC
# ===
#
# ipso.define(list)
# -----------------
#
# creates capacity to return mock module using require
#
# Achieved by tailoring the behaviours of fs{readFileSync, statSync, lstatSync}
# such that when they are called from require('module-name') (module.js) they
# return faked responses that create the a... |
[
{
"context": "C_REMOTE'] %>\r\n@ng_app.constant('SERVER_HOST', \"//103.248.102.25/index.php\" );\r\n<% else %>\r\n@ng_app.constant('SERV",
"end": 113,
"score": 0.9996629953384399,
"start": 99,
"tag": "IP_ADDRESS",
"value": "103.248.102.25"
},
{
"context": ";\r\n<% else %>\r\n@ng_app.... | front/content/js/coffee/constants.coffee | yintengzhao/CCCourse | 0 | <% if ENV['NANOC_ENV']=='production' && ENV['NANOC_REMOTE'] %>
@ng_app.constant('SERVER_HOST', "//103.248.102.25/index.php" );
<% else %>
@ng_app.constant('SERVER_HOST', "//103.248.102.25/index.php" );
<% end %>
| 117829 | <% if ENV['NANOC_ENV']=='production' && ENV['NANOC_REMOTE'] %>
@ng_app.constant('SERVER_HOST', "//192.168.3.11/index.php" );
<% else %>
@ng_app.constant('SERVER_HOST', "//192.168.3.11/index.php" );
<% end %>
| true | <% if ENV['NANOC_ENV']=='production' && ENV['NANOC_REMOTE'] %>
@ng_app.constant('SERVER_HOST', "//PI:IP_ADDRESS:192.168.3.11END_PI/index.php" );
<% else %>
@ng_app.constant('SERVER_HOST', "//PI:IP_ADDRESS:192.168.3.11END_PI/index.php" );
<% end %>
|
[
{
"context": "\n * @namespace KINOUT\n * @class Boot\n *\n * @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\nKINOUT.Constan",
"end": 111,
"score": 0.9998833537101746,
"start": 90,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": " @class Boot\n *\n ... | components/Kinout/src/Kinout.Constants.coffee | biojazzard/kirbout | 2 | ###
* Description or Responsability
*
* @namespace KINOUT
* @class Boot
*
* @author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
KINOUT.Constants =
MARKUP:
GLOW: "<div class='glow'></div>"
COPYRIGHT: "<div class='copyright'><a href='http://biojazzard.github.com/kirbout'>birb<em>ou... | 218975 | ###
* Description or Responsability
*
* @namespace KINOUT
* @class Boot
*
* @author <NAME> <<EMAIL>> || @soyjavi
###
KINOUT.Constants =
MARKUP:
GLOW: "<div class='glow'></div>"
COPYRIGHT: "<div class='copyright'><a href='http://biojazzard.github.com/kirbout'>birb<em>out</em></a>Glued by bioj... | true | ###
* Description or Responsability
*
* @namespace KINOUT
* @class Boot
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
KINOUT.Constants =
MARKUP:
GLOW: "<div class='glow'></div>"
COPYRIGHT: "<div class='copyright'><a href='http://biojazzard.github.com/kirbout'>birb... |
[
{
"context": "mpaign=SubtlePatternsBookmarklet\" target=\"_blank\">Brad Jasper</a>\n </div>\n\n <div class=\"menu_wrapp",
"end": 1188,
"score": 0.9992528557777405,
"start": 1177,
"tag": "NAME",
"value": "Brad Jasper"
}
] | src/templates.coffee | fengyiyi/subtle-patterns-bookmarklet | 27 | template_bookmarklet = """
<div id="subtlepatterns_bookmarklet">
<div class="wrapper">
<span class="title">
<a href="#" target="_blank" class="name"></a>
</span>
<div class="controls">
<a href="javascript:void(0)" class="previous"><img src="https://d2ueh8f0j2xol3.clou... | 4654 | template_bookmarklet = """
<div id="subtlepatterns_bookmarklet">
<div class="wrapper">
<span class="title">
<a href="#" target="_blank" class="name"></a>
</span>
<div class="controls">
<a href="javascript:void(0)" class="previous"><img src="https://d2ueh8f0j2xol3.clou... | true | template_bookmarklet = """
<div id="subtlepatterns_bookmarklet">
<div class="wrapper">
<span class="title">
<a href="#" target="_blank" class="name"></a>
</span>
<div class="controls">
<a href="javascript:void(0)" class="previous"><img src="https://d2ueh8f0j2xol3.clou... |
[
{
"context": "der) ->\n EWSBuilder.$sender builder, {name: 'NAME', emailAddress: 'ADDRESS'}\n node = doc.get('//",
"end": 3322,
"score": 0.9877623319625854,
"start": 3318,
"tag": "NAME",
"value": "NAME"
},
{
"context": " EWSBuilder.$itemAttachment(builder, {name: 'NAME',... | spec/ews-builder-spec.coffee | liuxiong332/node-viewpoint | 0 | should = require 'should'
EWSBuilder = require '../lib/ews-builder'
NS = require '../lib/ews-ns'
describe 'EWSBuilder', ->
getNSHref = (node) ->
node.namespace().href()
it '@build', ->
doc = EWSBuilder.build()
doc.should.ok
SOAP_HREF = NS.NAMESPACES[NS.NS_SOAP]
getNSHref(doc.root()).should.equ... | 172311 | should = require 'should'
EWSBuilder = require '../lib/ews-builder'
NS = require '../lib/ews-ns'
describe 'EWSBuilder', ->
getNSHref = (node) ->
node.namespace().href()
it '@build', ->
doc = EWSBuilder.build()
doc.should.ok
SOAP_HREF = NS.NAMESPACES[NS.NS_SOAP]
getNSHref(doc.root()).should.equ... | true | should = require 'should'
EWSBuilder = require '../lib/ews-builder'
NS = require '../lib/ews-ns'
describe 'EWSBuilder', ->
getNSHref = (node) ->
node.namespace().href()
it '@build', ->
doc = EWSBuilder.build()
doc.should.ok
SOAP_HREF = NS.NAMESPACES[NS.NS_SOAP]
getNSHref(doc.root()).should.equ... |
[
{
"context": "dataType: 'json'\n data:\n username: username\n password: password\n xhrFields:\n ",
"end": 1588,
"score": 0.9989088773727417,
"start": 1580,
"tag": "USERNAME",
"value": "username"
},
{
"context": ":\n username: username\n ... | src/vines.js.coffee | negativecode/vines-cloud-js | 1 | # private functions
get = (url, params) -> new Request('GET', url).run params
post = (url, params) -> new Request('POST', url).run params
put = (url, params) -> new Request('PUT', url).run params
remove = (url, params) -> new Request('DELETE', url).run params
type = (obj) -> Object::toString.call(obj).match(/... | 165215 | # private functions
get = (url, params) -> new Request('GET', url).run params
post = (url, params) -> new Request('POST', url).run params
put = (url, params) -> new Request('PUT', url).run params
remove = (url, params) -> new Request('DELETE', url).run params
type = (obj) -> Object::toString.call(obj).match(/... | true | # private functions
get = (url, params) -> new Request('GET', url).run params
post = (url, params) -> new Request('POST', url).run params
put = (url, params) -> new Request('PUT', url).run params
remove = (url, params) -> new Request('DELETE', url).run params
type = (obj) -> Object::toString.call(obj).match(/... |
[
{
"context": "s.\", ->\n\n class Cat\n constructor: -> @name = 'Whiskers'\n breed: 'tabby'\n hair: 'cream'\n\n whisker",
"end": 4544,
"score": 0.9987967610359192,
"start": 4536,
"tag": "NAME",
"value": "Whiskers"
}
] | tests/cases/comprehensions.coffee | Enkora/coffeescript-php | 36 | # Comprehensions
# --------------
# * Array Comprehensions
# * Range Comprehensions
# * Object Comprehensions
# * Implicit Destructuring Assignment
# * Comprehensions with Nonstandard Step
# TODO: refactor comprehension tests
test "Basic array comprehensions.", ->
nums = (n * n for n in [1, 2, 3] when n & 1)
... | 202489 | # Comprehensions
# --------------
# * Array Comprehensions
# * Range Comprehensions
# * Object Comprehensions
# * Implicit Destructuring Assignment
# * Comprehensions with Nonstandard Step
# TODO: refactor comprehension tests
test "Basic array comprehensions.", ->
nums = (n * n for n in [1, 2, 3] when n & 1)
... | true | # Comprehensions
# --------------
# * Array Comprehensions
# * Range Comprehensions
# * Object Comprehensions
# * Implicit Destructuring Assignment
# * Comprehensions with Nonstandard Step
# TODO: refactor comprehension tests
test "Basic array comprehensions.", ->
nums = (n * n for n in [1, 2, 3] when n & 1)
... |
[
{
"context": " }\n }\n ]\n ) d\n\n expect(fObject 'Darth Vader', {\n 'property1': 'foo'\n 'property2': 0",
"end": 5466,
"score": 0.9998401403427124,
"start": 5455,
"tag": "NAME",
"value": "Darth Vader"
},
{
"context": "mmy'\n }).to.equal 'valid'\n\n ... | test/arty_spec.coffee | jhanschoo/arty | 0 | t = require '../arty'
expect = require('chai').expect
d = -> 'valid'
describe 'arty', ->
describe 'after being initialized with a function signature', ->
it 'should allow functions to be defined on it', ->
tNull = t()
expect(-> tNull(->)).to.not.throw(Error)
it 'should not allow other types to... | 151044 | t = require '../arty'
expect = require('chai').expect
d = -> 'valid'
describe 'arty', ->
describe 'after being initialized with a function signature', ->
it 'should allow functions to be defined on it', ->
tNull = t()
expect(-> tNull(->)).to.not.throw(Error)
it 'should not allow other types to... | true | t = require '../arty'
expect = require('chai').expect
d = -> 'valid'
describe 'arty', ->
describe 'after being initialized with a function signature', ->
it 'should allow functions to be defined on it', ->
tNull = t()
expect(-> tNull(->)).to.not.throw(Error)
it 'should not allow other types to... |
[
{
"context": "ER_ID or \"55d3b333e2bf182b637341dc\" # my user id (rgausnet)\nUSER_NAME = process.env.USER_NAME or \"rgausnet\"\n",
"end": 244,
"score": 0.9989790916442871,
"start": 236,
"tag": "USERNAME",
"value": "rgausnet"
},
{
"context": " (rgausnet)\nUSER_NAME = process.env.USER_... | test/src/specs/payments.controller.spec.coffee | 1egoman/bag-node | 0 | 'use strict'
require "./spec_helper.spec"
Account = require "../../../src/account"
User = require "../../../src/models/user_model"
# environment-specific config
USER_ID = process.env.USER_ID or "55d3b333e2bf182b637341dc" # my user id (rgausnet)
USER_NAME = process.env.USER_NAME or "rgausnet"
USER_PASS = process.env.US... | 167134 | 'use strict'
require "./spec_helper.spec"
Account = require "../../../src/account"
User = require "../../../src/models/user_model"
# environment-specific config
USER_ID = process.env.USER_ID or "55d3b333e2bf182b637341dc" # my user id (rgausnet)
USER_NAME = process.env.USER_NAME or "rgausnet"
USER_PASS = process.env.US... | true | 'use strict'
require "./spec_helper.spec"
Account = require "../../../src/account"
User = require "../../../src/models/user_model"
# environment-specific config
USER_ID = process.env.USER_ID or "55d3b333e2bf182b637341dc" # my user id (rgausnet)
USER_NAME = process.env.USER_NAME or "rgausnet"
USER_PASS = process.env.US... |
[
{
"context": "n 'u'\n\n # if it's a simple update: {name: 'Bob'}\n if (k for k of data.o when k[0] isnt '$",
"end": 824,
"score": 0.999683141708374,
"start": 821,
"tag": "NAME",
"value": "Bob"
},
{
"context": " ]\n\n # or a complex one: {'$set': {name: 'Bob'}}\n... | lib/formats.coffee | classdojo/mongo-watch | 34 | {getDate} = require './util'
mapOp =
n: 'noop'
i: 'insert'
u: 'update'
r: 'remove'
module.exports =
# raw data from the oplog
raw: (data) -> data
# something a bit more readable, but preserving the original data
pretty: (data) ->
timestamp: getDate data.ts
operation: mapOp[data.op] or data.o... | 189515 | {getDate} = require './util'
mapOp =
n: 'noop'
i: 'insert'
u: 'update'
r: 'remove'
module.exports =
# raw data from the oplog
raw: (data) -> data
# something a bit more readable, but preserving the original data
pretty: (data) ->
timestamp: getDate data.ts
operation: mapOp[data.op] or data.o... | true | {getDate} = require './util'
mapOp =
n: 'noop'
i: 'insert'
u: 'update'
r: 'remove'
module.exports =
# raw data from the oplog
raw: (data) -> data
# something a bit more readable, but preserving the original data
pretty: (data) ->
timestamp: getDate data.ts
operation: mapOp[data.op] or data.o... |
[
{
"context": "C480\"\n\t\timage: \"https://raw.githubusercontent.com/bevry/designs/master/startup-hostel/wallpapers/phil.jpg",
"end": 1671,
"score": 0.9997072219848633,
"start": 1666,
"tag": "USERNAME",
"value": "bevry"
},
{
"context": "jquery-1.9.1.min.js'\n\t\t\t\t# 'http://raw.git... | docpad.coffee | bevry/startup-hostel | 1 | # Import
TaskGroup = require('taskgroup')
createsend = require('createsend')
feedr = null
createsendConnection = new createsend(process.env.CM_KEY)
###
twit = require('twit')
twitConnection = new twit(
consumer_key: process.env.TWITTER_CONSUMER_KEY
consumer_secret: process.env.TWITTER_CONSUMER_SECRET
access_token: ... | 64971 | # Import
TaskGroup = require('taskgroup')
createsend = require('createsend')
feedr = null
createsendConnection = new createsend(process.env.CM_KEY)
###
twit = require('twit')
twitConnection = new twit(
consumer_key: process.env.TWITTER_CONSUMER_KEY
consumer_secret: process.env.TWITTER_CONSUMER_SECRET
access_token: ... | true | # Import
TaskGroup = require('taskgroup')
createsend = require('createsend')
feedr = null
createsendConnection = new createsend(process.env.CM_KEY)
###
twit = require('twit')
twitConnection = new twit(
consumer_key: process.env.TWITTER_CONSUMER_KEY
consumer_secret: process.env.TWITTER_CONSUMER_SECRET
access_token: ... |
[
{
"context": "nization) ->\n options =\n from: 'SA Units <steadypathapp@gmail.com>'\n to: user.emails[0].address\n subject:",
"end": 658,
"score": 0.9999219179153442,
"start": 635,
"tag": "EMAIL",
"value": "steadypathapp@gmail.com"
}
] | imports/api/collections/users/server/secret_methods.coffee | Phaze1D/SA-Units | 0 | { Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ SSR } = require 'meteor/meteorhacks:ssr'
{ Random } = require 'meteor/random'
{ Email } = require 'meteor/email'
OrganizationModule = require '../../organizations/organizations.coffee'
# Secert Method Code
exports.SMC =
createInv... | 100262 | { Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ SSR } = require 'meteor/meteorhacks:ssr'
{ Random } = require 'meteor/random'
{ Email } = require 'meteor/email'
OrganizationModule = require '../../organizations/organizations.coffee'
# Secert Method Code
exports.SMC =
createInv... | true | { Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ SSR } = require 'meteor/meteorhacks:ssr'
{ Random } = require 'meteor/random'
{ Email } = require 'meteor/email'
OrganizationModule = require '../../organizations/organizations.coffee'
# Secert Method Code
exports.SMC =
createInv... |
[
{
"context": "-oplog')\n oplog = MongoOplog('mongodb://oplogger:PasswordForOplogger@host1.tiegushi.com:27017/local?authSource=admin', { ns: 'hotShare.pc",
"end": 207,
"score": 0.9998561143875122,
"start": 169,
"tag": "EMAIL",
"value": "PasswordForOplogger@host1.tiegushi.com"
},
{
"c... | rocketchat/server/startup/oplogObsever.coffee | Ritesh1991/mobile_app_server | 0 |
Meteor.startup ()->
# TAPi18n.setLanguage 'zh'
Fiber = Npm.require('fibers')
MongoOplog=Meteor.npmRequire('mongo-oplog')
oplog = MongoOplog('mongodb://oplogger:PasswordForOplogger@host1.tiegushi.com:27017/local?authSource=admin', { ns: 'hotShare.pcomments' , server : { reconnectTries : 3000, reconnectInterval:... | 39045 |
Meteor.startup ()->
# TAPi18n.setLanguage 'zh'
Fiber = Npm.require('fibers')
MongoOplog=Meteor.npmRequire('mongo-oplog')
oplog = MongoOplog('mongodb://oplogger:<EMAIL>:27017/local?authSource=admin', { ns: 'hotShare.pcomments' , server : { reconnectTries : 3000, reconnectInterval: 2000, autoReconnect : true }})... | true |
Meteor.startup ()->
# TAPi18n.setLanguage 'zh'
Fiber = Npm.require('fibers')
MongoOplog=Meteor.npmRequire('mongo-oplog')
oplog = MongoOplog('mongodb://oplogger:PI:EMAIL:<EMAIL>END_PI:27017/local?authSource=admin', { ns: 'hotShare.pcomments' , server : { reconnectTries : 3000, reconnectInterval: 2000, autoRecon... |
[
{
"context": " .addPlugin('Permissions', {\n # user: 'Bill'\n # })\n #\n # Returns itself to allow chain",
"end": 25936,
"score": 0.8463154435157776,
"start": 25932,
"tag": "NAME",
"value": "Bill"
}
] | h/lib/_annotator_mapsrc/src/annotator.coffee | balupton/h | 0 | # Selection and range creation reference for the following code:
# http://www.quirksmode.org/dom/range_intro.html
#
# I've removed any support for IE TextRange (see commit d7085bf2 for code)
# for the moment, having no means of testing it.
util =
uuid: (-> counter = 0; -> counter++)()
getGlobal: -> (-> this)()
... | 155929 | # Selection and range creation reference for the following code:
# http://www.quirksmode.org/dom/range_intro.html
#
# I've removed any support for IE TextRange (see commit d7085bf2 for code)
# for the moment, having no means of testing it.
util =
uuid: (-> counter = 0; -> counter++)()
getGlobal: -> (-> this)()
... | true | # Selection and range creation reference for the following code:
# http://www.quirksmode.org/dom/range_intro.html
#
# I've removed any support for IE TextRange (see commit d7085bf2 for code)
# for the moment, having no means of testing it.
util =
uuid: (-> counter = 0; -> counter++)()
getGlobal: -> (-> this)()
... |
[
{
"context": "\n userId: 'TODO: user id'\n passphrase: 'super long and hard to guess secret!'\n .then (keypair) ->\n pgpKey = new Key\n ",
"end": 1004,
"score": 0.9993197917938232,
"start": 969,
"tag": "PASSWORD",
"value": "super long and hard to guess secret"
}
] | src/index.coffee | brianshaler/kerplunk-pgp | 0 | _ = require 'lodash'
pgp = require 'openpgp'
Promise = require 'when'
KeySchema = require './models/Key'
module.exports = (System) ->
mongoose = System.getMongoose 'kerplunk-pgp'
Key = KeySchema mongoose
showPublicKey = (req, res, next) ->
Key
.where
name: req.params.name ? 'primary'
.findOne... | 3514 | _ = require 'lodash'
pgp = require 'openpgp'
Promise = require 'when'
KeySchema = require './models/Key'
module.exports = (System) ->
mongoose = System.getMongoose 'kerplunk-pgp'
Key = KeySchema mongoose
showPublicKey = (req, res, next) ->
Key
.where
name: req.params.name ? 'primary'
.findOne... | true | _ = require 'lodash'
pgp = require 'openpgp'
Promise = require 'when'
KeySchema = require './models/Key'
module.exports = (System) ->
mongoose = System.getMongoose 'kerplunk-pgp'
Key = KeySchema mongoose
showPublicKey = (req, res, next) ->
Key
.where
name: req.params.name ? 'primary'
.findOne... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.744631290435791,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\",... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/ms/spec.coffee | saiba-mais/bible-lessons | 0 | bcv_parser = require("../../js/ms_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"
... | 172322 | bcv_parser = require("../../js/ms_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/ms_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": "# Copyright 2014, 2015, 2016, 2017, 2018, 2019 Simon Lydell\n# License: MIT. (See LICENSE.)\n\n# <https://tc39.e",
"end": 59,
"score": 0.9998577833175659,
"start": 47,
"tag": "NAME",
"value": "Simon Lydell"
}
] | regex.coffee | laden666666/js-tokens | 0 | # Copyright 2014, 2015, 2016, 2017, 2018, 2019 Simon Lydell
# License: MIT. (See LICENSE.)
# <https://tc39.es/ecma262/#sec-lexical-grammar>
# Don’t worry, you don’t need to know CoffeeScript. It is only used for its
# readable regex syntax. Everything else is done in JavaScript in index.js.
module.exports = ///
( ... | 163413 | # Copyright 2014, 2015, 2016, 2017, 2018, 2019 <NAME>
# License: MIT. (See LICENSE.)
# <https://tc39.es/ecma262/#sec-lexical-grammar>
# Don’t worry, you don’t need to know CoffeeScript. It is only used for its
# readable regex syntax. Everything else is done in JavaScript in index.js.
module.exports = ///
( # <str... | true | # Copyright 2014, 2015, 2016, 2017, 2018, 2019 PI:NAME:<NAME>END_PI
# License: MIT. (See LICENSE.)
# <https://tc39.es/ecma262/#sec-lexical-grammar>
# Don’t worry, you don’t need to know CoffeeScript. It is only used for its
# readable regex syntax. Everything else is done in JavaScript in index.js.
module.exports = ... |
[
{
"context": "###\nconfirmCtrl.coffee\nCopyright (C) 2014 ender xu <xuender@gmail.com>\n\nDistributed under terms of t",
"end": 50,
"score": 0.9996868968009949,
"start": 42,
"tag": "NAME",
"value": "ender xu"
},
{
"context": "#\nconfirmCtrl.coffee\nCopyright (C) 2014 ender xu <xuende... | src/web/confirmCtrl.coffee | xuender/mindfulness | 0 | ###
confirmCtrl.coffee
Copyright (C) 2014 ender xu <xuender@gmail.com>
Distributed under terms of the MIT license.
###
ConfirmCtrl= ($scope, $modalInstance, msg)->
$scope.msg = msg
$scope.ok = ->
$modalInstance.close('ok')
$scope.cancel = ->
$modalInstance.dismiss('cancel')
ConfirmCtrl.$inject = [
'$... | 68848 | ###
confirmCtrl.coffee
Copyright (C) 2014 <NAME> <<EMAIL>>
Distributed under terms of the MIT license.
###
ConfirmCtrl= ($scope, $modalInstance, msg)->
$scope.msg = msg
$scope.ok = ->
$modalInstance.close('ok')
$scope.cancel = ->
$modalInstance.dismiss('cancel')
ConfirmCtrl.$inject = [
'$scope'
'$m... | true | ###
confirmCtrl.coffee
Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Distributed under terms of the MIT license.
###
ConfirmCtrl= ($scope, $modalInstance, msg)->
$scope.msg = msg
$scope.ok = ->
$modalInstance.close('ok')
$scope.cancel = ->
$modalInstance.dismiss('cancel')
ConfirmCtrl... |
[
{
"context": "age but never actually uses the ability?\n #heh, ron paul\n @announce cb, @user.name + ' ran for presiden",
"end": 316,
"score": 0.9308902621269226,
"start": 308,
"tag": "NAME",
"value": "ron paul"
}
] | src/js/moves/run-for-pres.coffee | Huntrr/Battle-Resolution | 0 | $ = require 'lib/jquery.js'
Move = require './../move.coffee'
module.exports = class RunForPres extends Move
constructor: () ->
super 'RUN FOR PRESIDENT'
getDamage: () ->
return 100
use: (cb) ->
#get it.. because he can do some much damage but never actually uses the ability?
#heh, ron paul
... | 756 | $ = require 'lib/jquery.js'
Move = require './../move.coffee'
module.exports = class RunForPres extends Move
constructor: () ->
super 'RUN FOR PRESIDENT'
getDamage: () ->
return 100
use: (cb) ->
#get it.. because he can do some much damage but never actually uses the ability?
#heh, <NAME>
@... | true | $ = require 'lib/jquery.js'
Move = require './../move.coffee'
module.exports = class RunForPres extends Move
constructor: () ->
super 'RUN FOR PRESIDENT'
getDamage: () ->
return 100
use: (cb) ->
#get it.. because he can do some much damage but never actually uses the ability?
#heh, PI:NAME:<NAM... |
[
{
"context": ". ¯\\_(ツ)_/¯\"}\n else\n player.password = hash\n logger.info \"Success with set storePasswo",
"end": 2717,
"score": 0.9919868111610413,
"start": 2713,
"tag": "PASSWORD",
"value": "hash"
},
{
"context": "(identifier, password) ->\n try\n passw... | src/system/managers/PlayerManager.coffee | Oipo/IdleLandsOld | 0 |
Datastore = require "./../database/DatabaseWrapper"
_ = require "lodash"
Player = require "../../character/player/Player"
Equipment = require "../../item/Equipment"
RestrictedNumber = require "restricted-number"
Q = require "q"
MessageCreator = require "./../handlers/MessageCreator"
Constants = require "./../utilities... | 11323 |
Datastore = require "./../database/DatabaseWrapper"
_ = require "lodash"
Player = require "../../character/player/Player"
Equipment = require "../../item/Equipment"
RestrictedNumber = require "restricted-number"
Q = require "q"
MessageCreator = require "./../handlers/MessageCreator"
Constants = require "./../utilities... | true |
Datastore = require "./../database/DatabaseWrapper"
_ = require "lodash"
Player = require "../../character/player/Player"
Equipment = require "../../item/Equipment"
RestrictedNumber = require "restricted-number"
Q = require "q"
MessageCreator = require "./../handlers/MessageCreator"
Constants = require "./../utilities... |
[
{
"context": " artists.first().get('name').should.equal \"Andy Bazqux\"\n done()\n Backbone.sync.args[0][2].su",
"end": 1869,
"score": 0.9998900890350342,
"start": 1858,
"tag": "NAME",
"value": "Andy Bazqux"
},
{
"context": "nc.args[0][2].success [fabricate 'artist... | test/models/artist.coffee | kanaabe/microgravity | 1 | sinon = require 'sinon'
Backbone = require 'backbone'
Artist = require '../../models/artist'
{ fabricate } = require 'antigravity'
describe 'Artist', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@artist = new Artist fabricate 'artist'
afterEach ->
Backbone.sync.restore()
describe '#imageUrl', ->
... | 121409 | sinon = require 'sinon'
Backbone = require 'backbone'
Artist = require '../../models/artist'
{ fabricate } = require 'antigravity'
describe 'Artist', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@artist = new Artist fabricate 'artist'
afterEach ->
Backbone.sync.restore()
describe '#imageUrl', ->
... | true | sinon = require 'sinon'
Backbone = require 'backbone'
Artist = require '../../models/artist'
{ fabricate } = require 'antigravity'
describe 'Artist', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@artist = new Artist fabricate 'artist'
afterEach ->
Backbone.sync.restore()
describe '#imageUrl', ->
... |
[
{
"context": "##\n knockback.js 1.2.3\n Copyright (c) 2011-2016 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 66,
"score": 0.9998349547386169,
"start": 52,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/core/monkey-patches.coffee | kmalakoff/knockback | 160 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneO... | 129978 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 <NAME>.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###
... | true | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 PI:NAME:<NAME>END_PI.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Bac... |
[
{
"context": "ody((path) -> return {\"login\":\"12345\",\"password\":\"54321\"})\n .post('/connectors/bank/societegeneral",
"end": 648,
"score": 0.9992853403091431,
"start": 643,
"tag": "PASSWORD",
"value": "54321"
},
{
"context": "st('/connectors/bank/societegenerale/', {\"lo... | tests/mock-weboob.coffee | frankrousseau/kresus | 0 | if not process.env.NODE_ENV? or process.env.NODE_ENV is "development"
nock = require 'nock'
options =
allowUnmocked: true
accountsGenerator = require './fixtures/weboob/accounts'
operationsGenerator = require './fixtures/weboob/operations'
#nock.recorder.rec() # enable or not the request... | 63952 | if not process.env.NODE_ENV? or process.env.NODE_ENV is "development"
nock = require 'nock'
options =
allowUnmocked: true
accountsGenerator = require './fixtures/weboob/accounts'
operationsGenerator = require './fixtures/weboob/operations'
#nock.recorder.rec() # enable or not the request... | true | if not process.env.NODE_ENV? or process.env.NODE_ENV is "development"
nock = require 'nock'
options =
allowUnmocked: true
accountsGenerator = require './fixtures/weboob/accounts'
operationsGenerator = require './fixtures/weboob/operations'
#nock.recorder.rec() # enable or not the request... |
[
{
"context": "た/)[1]\n no: i + 1\n date: post.date\n name: name\n repo: \"https://github.com/bouzuya/#{name}\"\n\nm",
"end": 415,
"score": 0.8288161158561707,
"start": 411,
"tag": "NAME",
"value": "name"
},
{
"context": "date\n name: name\n repo: \"https://github.co... | src/loader/bbn.coffee | bouzuya/hspd | 1 | request = require 'request-b'
fetch = ->
request
method: 'GET'
url: 'http://blog.bouzuya.net/posts.json'
json: true
.then (res) ->
res.body
filter = (posts) ->
posts.filter (post) ->
post.tags.some (tag) ->
tag is 'hubot-script-per-day'
map = (posts) ->
posts.map (post, i) ->
na... | 102341 | request = require 'request-b'
fetch = ->
request
method: 'GET'
url: 'http://blog.bouzuya.net/posts.json'
json: true
.then (res) ->
res.body
filter = (posts) ->
posts.filter (post) ->
post.tags.some (tag) ->
tag is 'hubot-script-per-day'
map = (posts) ->
posts.map (post, i) ->
na... | true | request = require 'request-b'
fetch = ->
request
method: 'GET'
url: 'http://blog.bouzuya.net/posts.json'
json: true
.then (res) ->
res.body
filter = (posts) ->
posts.filter (post) ->
post.tags.some (tag) ->
tag is 'hubot-script-per-day'
map = (posts) ->
posts.map (post, i) ->
na... |
[
{
"context": "\nAWS_REGION: 'ap-southeast-2'\nAWS_ACCESS_KEY_ID: '1234'\nAWS_SECRET_ACCESS_KEY: '5678'\nAWS_ACCOUNT_ID: '0",
"end": 494,
"score": 0.9992941617965698,
"start": 490,
"tag": "KEY",
"value": "1234"
},
{
"context": "AWS_ACCESS_KEY_ID: '1234'\nAWS_SECRET_ACCESS_KEY: '5678'\... | server/config.cson | BoLaMN/loopback-boot-di | 0 | serverName: 'server'
restApiRoot: "/api"
host: "localhost"
port: 3012
authHost: 'http://localhost:3010'
sdkHost: 'http://localhost:3012/api'
remoting:
rest:
normalizeHttpPath: false
xml: false
json:
strict: false
limit: 20971520
urlencoded:
extended: true
limit: 20971520
types:
... | 169719 | serverName: 'server'
restApiRoot: "/api"
host: "localhost"
port: 3012
authHost: 'http://localhost:3010'
sdkHost: 'http://localhost:3012/api'
remoting:
rest:
normalizeHttpPath: false
xml: false
json:
strict: false
limit: 20971520
urlencoded:
extended: true
limit: 20971520
types:
... | true | serverName: 'server'
restApiRoot: "/api"
host: "localhost"
port: 3012
authHost: 'http://localhost:3010'
sdkHost: 'http://localhost:3012/api'
remoting:
rest:
normalizeHttpPath: false
xml: false
json:
strict: false
limit: 20971520
urlencoded:
extended: true
limit: 20971520
types:
... |
[
{
"context": "{class_name} btn-mini status-value\">#{oObj.aData[@columns.status]}</a>\"\"\"\n if status == 'failed'",
"end": 1245,
"score": 0.5377252101898193,
"start": 1238,
"tag": "EMAIL",
"value": "columns"
}
] | app/assets/javascripts/sidekiq/monitor/queue_jobs_table.js.coffee | TriompheMarketing/sidekiq_monitor | 112 | class SidekiqMonitor.QueueJobsTable extends SidekiqMonitor.AbstractJobsTable
initialize: =>
options =
table_selector: 'table.queue-jobs'
columns:
id: 0
jid: 1
queue: 2
class_name: 3
name: 4
enqueued_at: 5
started_at: 6
duration: 7
... | 17729 | class SidekiqMonitor.QueueJobsTable extends SidekiqMonitor.AbstractJobsTable
initialize: =>
options =
table_selector: 'table.queue-jobs'
columns:
id: 0
jid: 1
queue: 2
class_name: 3
name: 4
enqueued_at: 5
started_at: 6
duration: 7
... | true | class SidekiqMonitor.QueueJobsTable extends SidekiqMonitor.AbstractJobsTable
initialize: =>
options =
table_selector: 'table.queue-jobs'
columns:
id: 0
jid: 1
queue: 2
class_name: 3
name: 4
enqueued_at: 5
started_at: 6
duration: 7
... |
[
{
"context": " 'Auction House'\n @artwork.partner.name = 'Phillips'\n\n it 'should display Gallery header', ->\n ",
"end": 5015,
"score": 0.9996464848518372,
"start": 5007,
"tag": "NAME",
"value": "Phillips"
},
{
"context": "tner .artwork-partner-name').text().should.equ... | src/mobile/apps/artwork/components/meta_data/test/template.coffee | ashfurrow/force | 0 | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
fs.readFileSync(... | 214938 | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
fs.readFileSync(... | true | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
fs.readFileSync(... |
[
{
"context": "Notes\n# I've made a huge mistake\n#\n# Author:\n# Morgan Wigmanich <okize123@gmail.com> (https://github.com/okize)\n\n",
"end": 290,
"score": 0.9998819828033447,
"start": 274,
"tag": "NAME",
"value": "Morgan Wigmanich"
},
{
"context": " a huge mistake\n#\n# Author:... | src/chickendance.coffee | okize/hubot-chicken-dance | 2 | # Description:
# Displays one of the various chicken dances of Arrested Development characters
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot chicken dance - displays chicken dance gif
#
# Notes
# I've made a huge mistake
#
# Author:
# Morgan Wigmanich <okize123@gmail.com> (https:/... | 7998 | # Description:
# Displays one of the various chicken dances of Arrested Development characters
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot chicken dance - displays chicken dance gif
#
# Notes
# I've made a huge mistake
#
# Author:
# <NAME> <<EMAIL>> (https://github.com/okize)
i... | true | # Description:
# Displays one of the various chicken dances of Arrested Development characters
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot chicken dance - displays chicken dance gif
#
# Notes
# I've made a huge mistake
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> ... |
[
{
"context": " if kParser.type == 'property'\n key = kParser.parse()\n vResult = parseToken(originText",
"end": 671,
"score": 0.5150977969169617,
"start": 665,
"tag": "KEY",
"value": "Parser"
}
] | src/psd/engine_data.coffee | taofei-pro/psd.js | 0 | iconv = require('iconv-lite')
index = 0
originText = ''
parseEngineData = (engineData) ->
originText = codeToString(engineData)
result = hashStart(originText).parse()
result
codeToString = (engineData) ->
String.fromCharCode.apply null, engineData
# helper fun
Match = (reg, text) ->
reg.test text
# tyep ... | 121281 | iconv = require('iconv-lite')
index = 0
originText = ''
parseEngineData = (engineData) ->
originText = codeToString(engineData)
result = hashStart(originText).parse()
result
codeToString = (engineData) ->
String.fromCharCode.apply null, engineData
# helper fun
Match = (reg, text) ->
reg.test text
# tyep ... | true | iconv = require('iconv-lite')
index = 0
originText = ''
parseEngineData = (engineData) ->
originText = codeToString(engineData)
result = hashStart(originText).parse()
result
codeToString = (engineData) ->
String.fromCharCode.apply null, engineData
# helper fun
Match = (reg, text) ->
reg.test text
# tyep ... |
[
{
"context": ":\n#\n# Configuration:\n#\n# Commands:\n#\n# Author:\n# Thomas Howe - ghostofbasho@gmail.com\n#\n\nRequest = require('re",
"end": 129,
"score": 0.9998627305030823,
"start": 118,
"tag": "NAME",
"value": "Thomas Howe"
},
{
"context": "ation:\n#\n# Commands:\n#\n# Author... | src/scripts/slack.coffee | green-bot/hubot-session | 1 | # Description:
# Connects greenbot to live chat.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# Thomas Howe - ghostofbasho@gmail.com
#
Request = require('request-promise')
Slack = require('slack-client')
Util = require('util')
module.exports = (robot) ->
# Don't run this unless SLACK_TOKEN a... | 22246 | # Description:
# Connects greenbot to live chat.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# <NAME> - <EMAIL>
#
Request = require('request-promise')
Slack = require('slack-client')
Util = require('util')
module.exports = (robot) ->
# Don't run this unless SLACK_TOKEN and SLACK_ANNOUNCE ar... | true | # Description:
# Connects greenbot to live chat.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
#
Request = require('request-promise')
Slack = require('slack-client')
Util = require('util')
module.exports = (robot) ->
# Don't run this unless SLAC... |
[
{
"context": " response:\n authResponse:\n accessToken: 'aksdhjflkqjrj245234b52k345q344le4j4k5l45j45s4dkljvdaskl'\n userID: '4301938'\n expiresIn: 5138\n ",
"end": 187,
"score": 0.9994691610336304,
"start": 132,
"tag": "KEY",
"value": "aksdhjflkqjrj245234b52k345q344le4j4k... | test/app/core/social-handlers/FacebookHandler.spec.coffee | teplyja1/codecombat | 0 | FacebookHandler = require 'core/social-handlers/FacebookHandler'
mockAuthEvent =
response:
authResponse:
accessToken: 'aksdhjflkqjrj245234b52k345q344le4j4k5l45j45s4dkljvdaskl'
userID: '4301938'
expiresIn: 5138
signedRequest: 'akjsdhfjkhea.3423nkfkdsejnfkd'
status: 'connected'
window.... | 182100 | FacebookHandler = require 'core/social-handlers/FacebookHandler'
mockAuthEvent =
response:
authResponse:
accessToken: '<KEY>'
userID: '4301938'
expiresIn: 5138
signedRequest: 'akjsdhfjkhea.3423nkfkdsejnfkd'
status: 'connected'
window.FB ?= {
api: ->
login: ->
}
describe 'lib/Fac... | true | FacebookHandler = require 'core/social-handlers/FacebookHandler'
mockAuthEvent =
response:
authResponse:
accessToken: 'PI:KEY:<KEY>END_PI'
userID: '4301938'
expiresIn: 5138
signedRequest: 'akjsdhfjkhea.3423nkfkdsejnfkd'
status: 'connected'
window.FB ?= {
api: ->
login: ->
}
desc... |
[
{
"context": "display: 'Artist page', model: 'artist', artist: 'zoe leonard' }\n { display: 'Partner Show Page', model:",
"end": 372,
"score": 0.9998399615287781,
"start": 361,
"tag": "NAME",
"value": "zoe leonard"
}
] | src/desktop/apps/search/test/collections/global_search_results.test.coffee | jo-rs/force | 0 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require '@artsy/antigravity'
GlobalSearchResults = require '../../collections/global_search_results.coffee'
describe 'GlobalSearchResults', ->
describe '#parse', ->
beforeEach ->
@response = [
{ display: ... | 7126 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require '@artsy/antigravity'
GlobalSearchResults = require '../../collections/global_search_results.coffee'
describe 'GlobalSearchResults', ->
describe '#parse', ->
beforeEach ->
@response = [
{ display: ... | true | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require '@artsy/antigravity'
GlobalSearchResults = require '../../collections/global_search_results.coffee'
describe 'GlobalSearchResults', ->
describe '#parse', ->
beforeEach ->
@response = [
{ display: ... |
[
{
"context": "# Hey-coffee Tests\n# TJ Eastmond - tj.eastmond@gmail.com\n# Copyright 2013\n\nHey = r",
"end": 32,
"score": 0.9998539090156555,
"start": 21,
"tag": "NAME",
"value": "TJ Eastmond"
},
{
"context": "# Hey-coffee Tests\n# TJ Eastmond - tj.eastmond@gmail.com\n# Copyright 20... | test/tests.coffee | tjeastmond/hey-coffee | 1 | # Hey-coffee Tests
# TJ Eastmond - tj.eastmond@gmail.com
# Copyright 2013
Hey = require '../'
should = require 'should'
mkdirp = require 'mkdirp'
fs = require 'fs'
exec = require('child_process').exec
blogDir = process.cwd() + '/test/blog/'
# misc functions
create_blog_folder = -> mkdirp.sync blogDir
delete_blog_fol... | 83347 | # Hey-coffee Tests
# <NAME> - <EMAIL>
# Copyright 2013
Hey = require '../'
should = require 'should'
mkdirp = require 'mkdirp'
fs = require 'fs'
exec = require('child_process').exec
blogDir = process.cwd() + '/test/blog/'
# misc functions
create_blog_folder = -> mkdirp.sync blogDir
delete_blog_folder = (callback) ->... | true | # Hey-coffee Tests
# PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
# Copyright 2013
Hey = require '../'
should = require 'should'
mkdirp = require 'mkdirp'
fs = require 'fs'
exec = require('child_process').exec
blogDir = process.cwd() + '/test/blog/'
# misc functions
create_blog_folder = -> mkdirp.sync blogDir
delet... |
[
{
"context": "bviews', ->\n model = new TestModel( name: 'test' )\n l = new List([ 1, model, 3 ])\n ",
"end": 2335,
"score": 0.9652373194694519,
"start": 2331,
"tag": "NAME",
"value": "test"
},
{
"context": "ey change', ->\n ma = new TestModel( name: 'ma' ... | stdlib/test/view/list.coffee | issa-tseng/janus | 11 | should = require('should')
{ Varying, DomView, template, find, from, List, Set, App, Library, Model } = require('janus')
{ ListView, SetView } = require('../../lib/view/list')
$ = require('../../lib/view/dollar')
# TODO: there is some kind of bug (i'm pretty sure it's not us, and it's not jquery,
# and it is domino)... | 64828 | should = require('should')
{ Varying, DomView, template, find, from, List, Set, App, Library, Model } = require('janus')
{ ListView, SetView } = require('../../lib/view/list')
$ = require('../../lib/view/dollar')
# TODO: there is some kind of bug (i'm pretty sure it's not us, and it's not jquery,
# and it is domino)... | true | should = require('should')
{ Varying, DomView, template, find, from, List, Set, App, Library, Model } = require('janus')
{ ListView, SetView } = require('../../lib/view/list')
$ = require('../../lib/view/dollar')
# TODO: there is some kind of bug (i'm pretty sure it's not us, and it's not jquery,
# and it is domino)... |
[
{
"context": ".exports =\n options:\n base: 'dist'\n name: \"tfoldi\"\n email: \"tfoldi@starschema.net\"\n src: ['**']",
"end": 62,
"score": 0.9140100479125977,
"start": 56,
"tag": "USERNAME",
"value": "tfoldi"
},
{
"context": ":\n base: 'dist'\n name: \"tfoldi\"\n ... | grunt/gh-pages.coffee | tfoldi/tableau-chess | 5 | module.exports =
options:
base: 'dist'
name: "tfoldi"
email: "tfoldi@starschema.net"
src: ['**']
| 72992 | module.exports =
options:
base: 'dist'
name: "tfoldi"
email: "<EMAIL>"
src: ['**']
| true | module.exports =
options:
base: 'dist'
name: "tfoldi"
email: "PI:EMAIL:<EMAIL>END_PI"
src: ['**']
|
[
{
"context": "KEY\n mail = {\n \"from\": \"Coffee alarm <postmaster@etude.mailgun.org>\",\n \"to\": user.email,\n \"subject\": d",
"end": 656,
"score": 0.9999326467514038,
"start": 628,
"tag": "EMAIL",
"value": "postmaster@etude.mailgun.org"
}
] | queued/process_mailgun.coffee | osvlabs/coffee-alarm | 0 | kue = require 'kue'
mongo = require 'mongoskin'
mailgun = require 'mailgun-js'
queue = kue.createQueue()
require('dotenv').config()
# Mailgun
api_key = process.env.MAILGUN_KEY
domain = process.env.MAILGUN_DOMAIN
# Mongodb Connect
db = mongo.db('mongodb://'+process.env.MONGO_HOST+':27017/alarm-doc')
mailgun = mailgun... | 119190 | kue = require 'kue'
mongo = require 'mongoskin'
mailgun = require 'mailgun-js'
queue = kue.createQueue()
require('dotenv').config()
# Mailgun
api_key = process.env.MAILGUN_KEY
domain = process.env.MAILGUN_DOMAIN
# Mongodb Connect
db = mongo.db('mongodb://'+process.env.MONGO_HOST+':27017/alarm-doc')
mailgun = mailgun... | true | kue = require 'kue'
mongo = require 'mongoskin'
mailgun = require 'mailgun-js'
queue = kue.createQueue()
require('dotenv').config()
# Mailgun
api_key = process.env.MAILGUN_KEY
domain = process.env.MAILGUN_DOMAIN
# Mongodb Connect
db = mongo.db('mongodb://'+process.env.MONGO_HOST+':27017/alarm-doc')
mailgun = mailgun... |
[
{
"context": "g'\n\nserviceLoader.config.rss.serviceUrl = 'http://127.0.0.1:7632/rssspider'\n\napp = require '../app'\n{prepare,",
"end": 202,
"score": 0.9819005131721497,
"start": 193,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " _roomId: app.room1._id\n ... | talk-api2x/test/controllers/integration.coffee | ikingye/talk-os | 3,084 | should = require 'should'
Promise = require 'bluebird'
limbo = require 'limbo'
serviceLoader = require 'talk-services'
config = require 'config'
serviceLoader.config.rss.serviceUrl = 'http://127.0.0.1:7632/rssspider'
app = require '../app'
{prepare, clear, request, requestAsync} = app
describe 'Integration', ->
... | 73745 | should = require 'should'
Promise = require 'bluebird'
limbo = require 'limbo'
serviceLoader = require 'talk-services'
config = require 'config'
serviceLoader.config.rss.serviceUrl = 'http://127.0.0.1:7632/rssspider'
app = require '../app'
{prepare, clear, request, requestAsync} = app
describe 'Integration', ->
... | true | should = require 'should'
Promise = require 'bluebird'
limbo = require 'limbo'
serviceLoader = require 'talk-services'
config = require 'config'
serviceLoader.config.rss.serviceUrl = 'http://127.0.0.1:7632/rssspider'
app = require '../app'
{prepare, clear, request, requestAsync} = app
describe 'Integration', ->
... |
[
{
"context": "eResques = [\n name: \"www\"\n ,\n name: \"admin\"\n ]\n\n adminResque =\n name: \"admin\"\n faile",
"end": 145,
"score": 0.9954321384429932,
"start": 140,
"tag": "NAME",
"value": "admin"
},
{
"context": " name: \"admin\"\n ]\n\n adminResque =\... | spec/javascripts/controllers/SummaryControllerSpec.coffee | stitchfix/resque-brain | 43 | describe "SummaryController", ->
scope = null
ctrl = null
resques = null
fakeResques = [
name: "www"
,
name: "admin"
]
adminResque =
name: "admin"
failed: 12
running: 10
runningTooLong: 3
waiting: 123
wwwResque =
name: "admin"
failed: 2
running: 1
... | 33955 | describe "SummaryController", ->
scope = null
ctrl = null
resques = null
fakeResques = [
name: "www"
,
name: "<NAME>"
]
adminResque =
name: "<NAME>"
failed: 12
running: 10
runningTooLong: 3
waiting: 123
wwwResque =
name: "<NAME>"
failed: 2
running: 1... | true | describe "SummaryController", ->
scope = null
ctrl = null
resques = null
fakeResques = [
name: "www"
,
name: "PI:NAME:<NAME>END_PI"
]
adminResque =
name: "PI:NAME:<NAME>END_PI"
failed: 12
running: 10
runningTooLong: 3
waiting: 123
wwwResque =
name: "PI:NAME:... |
[
{
"context": "equence\n# Manages a sequence of Animations\n# \n# by Isaac Weinhausen\n# http://isaacw.com\n\n\nclass exports.AnimationSequ",
"end": 80,
"score": 0.9998573064804077,
"start": 64,
"tag": "NAME",
"value": "Isaac Weinhausen"
}
] | examples/mixed-collections.framer/modules/AnimationSequence.coffee | ekfuhrmann/framer-animation-collections | 0 | # Animation Sequence
# Manages a sequence of Animations
#
# by Isaac Weinhausen
# http://isaacw.com
class exports.AnimationSequence extends Framer.EventEmitter
constructor: (options = {}) ->
@_animationsArray = []
@_currentAnimation = null
@add(animation) for k, animation of options.animations
@repeat = o... | 223933 | # Animation Sequence
# Manages a sequence of Animations
#
# by <NAME>
# http://isaacw.com
class exports.AnimationSequence extends Framer.EventEmitter
constructor: (options = {}) ->
@_animationsArray = []
@_currentAnimation = null
@add(animation) for k, animation of options.animations
@repeat = options.rep... | true | # Animation Sequence
# Manages a sequence of Animations
#
# by PI:NAME:<NAME>END_PI
# http://isaacw.com
class exports.AnimationSequence extends Framer.EventEmitter
constructor: (options = {}) ->
@_animationsArray = []
@_currentAnimation = null
@add(animation) for k, animation of options.animations
@repeat... |
[
{
"context": "howError err if err\n\n { nickname, firstName, lastName } = accounts.first.profile\n\n userDetails.upd",
"end": 2880,
"score": 0.6088191270828247,
"start": 2872,
"tag": "NAME",
"value": "lastName"
}
] | client/app/lib/activity/sidebar/sidebarmachinesharepopup.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
async = require 'async'
KDView = kd.View
remote = require('app/remote').getInstance()
showError = require 'app/util/showError'
AvatarView = require 'app/commonviews/avatarviews/avatarview'
KDModalView = kd.ModalView
KDButtonView = kd.B... | 175781 | kd = require 'kd'
async = require 'async'
KDView = kd.View
remote = require('app/remote').getInstance()
showError = require 'app/util/showError'
AvatarView = require 'app/commonviews/avatarviews/avatarview'
KDModalView = kd.ModalView
KDButtonView = kd.B... | true | kd = require 'kd'
async = require 'async'
KDView = kd.View
remote = require('app/remote').getInstance()
showError = require 'app/util/showError'
AvatarView = require 'app/commonviews/avatarviews/avatarview'
KDModalView = kd.ModalView
KDButtonView = kd.B... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988718032836914,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/disabled/test-net-fd-passing.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... | 47807 | # 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": " runs ->\n svc = new AWS.S3(accessKeyId: 'akid', secretAccessKey: 'secret')\n req = svc.ge",
"end": 2535,
"score": 0.9937998056411743,
"start": 2531,
"tag": "KEY",
"value": "akid"
},
{
"context": "new AWS.S3(accessKeyId: 'akid', secretAccessKey: 'secret'... | node_modules/aws-sdk/test/browser.spec.coffee | xmen4u/trainer | 1 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | 153690 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | true | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... |
[
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 1/5/15 1",
"end": 16,
"score": 0.9994856715202332,
"start": 13,
"tag": "NAME",
"value": "易晓峰"
},
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 1/5/15 10:02 AM\n# Description:\n\n_... | src/biz/git_map.coffee | kiteam/kiteam | 0 | # Author: 易晓峰
# E-mail: wvv8oo@gmail.com
# Date: 1/5/15 10:02 AM
# Description:
_entity = require '../entity'
_entityMember = require '../entity/member'
_GitLabInterface = require 'gitlab-few'
_config = require('../common').config
_async = require 'async'
_http = require('bijou').http
_enume = require('..... | 206596 | # Author: <NAME>
# E-mail: <EMAIL>
# Date: 1/5/15 10:02 AM
# Description:
_entity = require '../entity'
_entityMember = require '../entity/member'
_GitLabInterface = require 'gitlab-few'
_config = require('../common').config
_async = require 'async'
_http = require('bijou').http
_enume = require('../commo... | true | # Author: PI:NAME:<NAME>END_PI
# E-mail: PI:EMAIL:<EMAIL>END_PI
# Date: 1/5/15 10:02 AM
# Description:
_entity = require '../entity'
_entityMember = require '../entity/member'
_GitLabInterface = require 'gitlab-few'
_config = require('../common').config
_async = require 'async'
_http = require('bijou').htt... |
[
{
"context": "may get conflicts / double answers\n#\n# Author:\n# Olivier Jacques\n\napiai = require('apiai')\nutil = require('util')\n",
"end": 608,
"score": 0.999854564666748,
"start": 593,
"tag": "NAME",
"value": "Olivier Jacques"
}
] | src/apiai.coffee | ojacques/hubot-apiai | 12 | # Description
# Talks with api.ai back-end to create smart bots with
# conversational user experience
#
# Configuration:
# API_AI_CLIENT_ACCESS_TOKEN
#
# Commands:
# None
#
# Notes:
# This script responds to everything and get a dialog
# going with api.ai. Once the intent is fully resolved,
# it uses robo... | 86195 | # Description
# Talks with api.ai back-end to create smart bots with
# conversational user experience
#
# Configuration:
# API_AI_CLIENT_ACCESS_TOKEN
#
# Commands:
# None
#
# Notes:
# This script responds to everything and get a dialog
# going with api.ai. Once the intent is fully resolved,
# it uses robo... | true | # Description
# Talks with api.ai back-end to create smart bots with
# conversational user experience
#
# Configuration:
# API_AI_CLIENT_ACCESS_TOKEN
#
# Commands:
# None
#
# Notes:
# This script responds to everything and get a dialog
# going with api.ai. Once the intent is fully resolved,
# it uses robo... |
[
{
"context": "App.Post.destroy =>\n App.Post.create title: 'First Post', rating: 8, =>\n App.Post.create titl",
"end": 196,
"score": 0.8722298741340637,
"start": 191,
"tag": "NAME",
"value": "First"
},
{
"context": "t', rating: 8, =>\n App.Post.create title: 'Secon... | test/cases/controller/server/paramsTest.coffee | jivagoalves/tower | 1 | describe 'Tower.ControllerParams', ->
beforeEach (done) ->
# for travisci... for some reason there is a post created, not sure why
App.Post.destroy =>
App.Post.create title: 'First Post', rating: 8, =>
App.Post.create title: 'Second Post', rating: 7, done
beforeEach (done) ->
Tower.start(... | 223363 | describe 'Tower.ControllerParams', ->
beforeEach (done) ->
# for travisci... for some reason there is a post created, not sure why
App.Post.destroy =>
App.Post.create title: '<NAME> Post', rating: 8, =>
App.Post.create title: '<NAME> Post', rating: 7, done
beforeEach (done) ->
Tower.start... | true | describe 'Tower.ControllerParams', ->
beforeEach (done) ->
# for travisci... for some reason there is a post created, not sure why
App.Post.destroy =>
App.Post.create title: 'PI:NAME:<NAME>END_PI Post', rating: 8, =>
App.Post.create title: 'PI:NAME:<NAME>END_PI Post', rating: 7, done
beforeEa... |
[
{
"context": "ception\n constructor: (@message) ->\n @name = \"Love Error\"\n",
"end": 73,
"score": 0.9906458258628845,
"start": 63,
"tag": "NAME",
"value": "Love Error"
}
] | coffeescript/love.js/exception.coffee | TannerRogalsky/punchdrunk | 61 | class Love.Exception
constructor: (@message) ->
@name = "Love Error"
| 134283 | class Love.Exception
constructor: (@message) ->
@name = "<NAME>"
| true | class Love.Exception
constructor: (@message) ->
@name = "PI:NAME:<NAME>END_PI"
|
[
{
"context": "## Hash\n# (c)2014 Van Carney\n#### A strict Hash implementation allowing key re",
"end": 28,
"score": 0.9997275471687317,
"start": 18,
"tag": "NAME",
"value": "Van Carney"
}
] | src/strictly-hash.coffee | vancarney/strictly-hash | 0 | ## Hash
# (c)2014 Van Carney
#### A strict Hash implementation allowing key restriction and virtualization
global = exports ? window
class global.Hash
'use strict'
constructor:(_o={}, restrict_keys=[], restrict_values={}) ->
object = {}
# escapes keys that append __
escapeKey = (key) ->
if key.len... | 127248 | ## Hash
# (c)2014 <NAME>
#### A strict Hash implementation allowing key restriction and virtualization
global = exports ? window
class global.Hash
'use strict'
constructor:(_o={}, restrict_keys=[], restrict_values={}) ->
object = {}
# escapes keys that append __
escapeKey = (key) ->
if key.length ... | true | ## Hash
# (c)2014 PI:NAME:<NAME>END_PI
#### A strict Hash implementation allowing key restriction and virtualization
global = exports ? window
class global.Hash
'use strict'
constructor:(_o={}, restrict_keys=[], restrict_values={}) ->
object = {}
# escapes keys that append __
escapeKey = (key) ->
... |
[
{
"context": "ked!');\n\nsomePerson = Em.Object.create\n name: 'asaf'\n errors: Ember.Object.create()\n validate: ",
"end": 438,
"score": 0.9997611045837402,
"start": 434,
"tag": "NAME",
"value": "asaf"
}
] | vendor/ember-forms/tests/form.coffee | aburton207/Refset-Frontend-V2 | 0 | moduleForComponent('form', 'FormComponent'
needs: ['component:form-submit', 'template:components/form-submit-button']
)
FormController = Em.ObjectController.extend
actions:
submit: ->
ok(true, 'submit action invoked!');
FormControllerCustomAction = Em.ObjectController.extend
actions:
... | 92180 | moduleForComponent('form', 'FormComponent'
needs: ['component:form-submit', 'template:components/form-submit-button']
)
FormController = Em.ObjectController.extend
actions:
submit: ->
ok(true, 'submit action invoked!');
FormControllerCustomAction = Em.ObjectController.extend
actions:
... | true | moduleForComponent('form', 'FormComponent'
needs: ['component:form-submit', 'template:components/form-submit-button']
)
FormController = Em.ObjectController.extend
actions:
submit: ->
ok(true, 'submit action invoked!');
FormControllerCustomAction = Em.ObjectController.extend
actions:
... |
[
{
"context": " extensions unit tests\n#\n# Copyright (C) 2011-2103 Nikolay Nemshilov\n#\nLovely = require('lovely')\n{Test, assert} = Lov",
"end": 81,
"score": 0.9998903274536133,
"start": 64,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/lang/test/array_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The Array extensions unit tests
#
# Copyright (C) 2011-2103 Nikolay Nemshilov
#
Lovely = require('lovely')
{Test, assert} = Lovely
eval(Test.build)
describe "Array extensions", ->
describe "#size()", ->
it "should return the array length", ->
assert.equal [].size(), 0
assert.equal [1].size()... | 28766 | #
# The Array extensions unit tests
#
# Copyright (C) 2011-2103 <NAME>
#
Lovely = require('lovely')
{Test, assert} = Lovely
eval(Test.build)
describe "Array extensions", ->
describe "#size()", ->
it "should return the array length", ->
assert.equal [].size(), 0
assert.equal [1].size(), 1
... | true | #
# The Array extensions unit tests
#
# Copyright (C) 2011-2103 PI:NAME:<NAME>END_PI
#
Lovely = require('lovely')
{Test, assert} = Lovely
eval(Test.build)
describe "Array extensions", ->
describe "#size()", ->
it "should return the array length", ->
assert.equal [].size(), 0
assert.equal [1].siz... |
[
{
"context": "re is licensed under the MIT License.\n\n Copyright Fedor Indutny, 2011.\n\n Permission is hereby granted, free of c",
"end": 135,
"score": 0.9996959567070007,
"start": 122,
"tag": "NAME",
"value": "Fedor Indutny"
}
] | node_modules/index/lib/index/core/bulk.coffee | beshrkayali/monkey-release-action | 12 | ###
Bulk set/unset functionality for Node index module
This software is licensed under the MIT License.
Copyright Fedor Indutny, 2011.
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... | 222855 | ###
Bulk set/unset functionality for Node index module
This software is licensed under the MIT License.
Copyright <NAME>, 2011.
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 withou... | true | ###
Bulk set/unset functionality for Node index module
This software is licensed under the MIT License.
Copyright PI:NAME:<NAME>END_PI, 2011.
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 S... |
[
{
"context": " #\n # Page.\n #\n # Created by hector spc <hector@aerstudio.com>\n # Aer Studio \n # http:/",
"end": 41,
"score": 0.986259937286377,
"start": 31,
"tag": "NAME",
"value": "hector spc"
},
{
"context": " #\n # Page.\n #\n # Created by hector spc <hector@aerstudio.co... | src/models/page_model.coffee | aerstudio/Phallanxpress | 1 | #
# Page.
#
# Created by hector spc <hector@aerstudio.com>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# models/page_model.js.coffee
#
class Phallanxpress.Page extends Phallanxpress.Model
apiCommand: 'get_page'
parseTag: 'page'
| 189247 | #
# Page.
#
# Created by <NAME> <<EMAIL>>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# models/page_model.js.coffee
#
class Phallanxpress.Page extends Phallanxpress.Model
apiCommand: 'get_page'
parseTag: 'page'
| true | #
# Page.
#
# Created by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# models/page_model.js.coffee
#
class Phallanxpress.Page extends Phallanxpress.Model
apiCommand: 'get_page'
parseTag: 'page'
|
[
{
"context": "he Geordi API to log user activity\n\n @tokens = ['zooHome', 'zooTalk', 'zooniverse/gravity-spy']\n\n keys:\n ",
"end": 144,
"score": 0.7601291537284851,
"start": 137,
"tag": "KEY",
"value": "zooHome"
},
{
"context": "PI to log user activity\n\n @tokens = ['zooHome',... | app/lib/geordi-logger.coffee | alexbfree/Panoptes-Front-End | 0 | GeordiClient = require 'zooniverse-geordi-client'
class GeordiLogger # Make calls to the Geordi API to log user activity
@tokens = ['zooHome', 'zooTalk', 'zooniverse/gravity-spy']
keys:
projectToken: 'zooHome'
geordi: null
instance: =>
@geordi = @geordi || @makeGeordi @keys?.projectToken
getEnv:... | 110005 | GeordiClient = require 'zooniverse-geordi-client'
class GeordiLogger # Make calls to the Geordi API to log user activity
@tokens = ['<KEY>', '<KEY>', '<PASSWORD>']
keys:
projectToken: '<KEY>'
geordi: null
instance: =>
@geordi = @geordi || @makeGeordi @keys?.projectToken
getEnv: ->
shell_env ... | true | GeordiClient = require 'zooniverse-geordi-client'
class GeordiLogger # Make calls to the Geordi API to log user activity
@tokens = ['PI:KEY:<KEY>END_PI', 'PI:KEY:<KEY>END_PI', 'PI:PASSWORD:<PASSWORD>END_PI']
keys:
projectToken: 'PI:KEY:<KEY>END_PI'
geordi: null
instance: =>
@geordi = @geordi || @ma... |
[
{
"context": "ny)', ->\n beforeEach ->\n @company.name = 'Nick'\n @$scope.save(@company)\n\n describe 'when",
"end": 843,
"score": 0.9998471736907959,
"start": 839,
"tag": "NAME",
"value": "Nick"
}
] | spec/javascripts/controllers/edit_company_modal_controller_spec.js.coffee | unicorn-rideshare/unicorn | 0 | describe 'EditCompanyModalCtrl', ->
beforeEach ->
module('unicornApp.controllers')
beforeEach inject ($rootScope, $q) ->
@$scope = $rootScope
@$modalInstance = jasmine.createSpyObj('$modalInstance', ['close', 'dismiss'])
@deferred = $q.defer()
@company = jasmine.createSpyObj('company', ['$upd... | 89492 | describe 'EditCompanyModalCtrl', ->
beforeEach ->
module('unicornApp.controllers')
beforeEach inject ($rootScope, $q) ->
@$scope = $rootScope
@$modalInstance = jasmine.createSpyObj('$modalInstance', ['close', 'dismiss'])
@deferred = $q.defer()
@company = jasmine.createSpyObj('company', ['$upd... | true | describe 'EditCompanyModalCtrl', ->
beforeEach ->
module('unicornApp.controllers')
beforeEach inject ($rootScope, $q) ->
@$scope = $rootScope
@$modalInstance = jasmine.createSpyObj('$modalInstance', ['close', 'dismiss'])
@deferred = $q.defer()
@company = jasmine.createSpyObj('company', ['$upd... |
[
{
"context": "################################################\n# MINDAY 0.009Tu\n# view.coffee\n# Меню Вид\n###########",
"end": 52,
"score": 0.8152344822883606,
"start": 51,
"tag": "NAME",
"value": "M"
},
{
"context": "#################\n# MINDAY 0.009Tu\n# view.coffee\n# Меню Вид\... | view.coffee | agershun/minday | 0 | ################################################
# MINDAY 0.009Tu
# view.coffee
# Меню Вид
################################################
# Устанавливаем ссылки на меню
setMenuView = ->
$(".view_fullscreen").click viewFullScreen
$(".view_description").click viewDescription
$(".view_guide").click viewGuide
$(".vi... | 140301 | ################################################
# <NAME>INDAY 0.009Tu
# view.coffee
# <NAME>
################################################
# Устанавливаем ссылки на меню
setMenuView = ->
$(".view_fullscreen").click viewFullScreen
$(".view_description").click viewDescription
$(".view_guide").click viewGuide
$("... | true | ################################################
# PI:NAME:<NAME>END_PIINDAY 0.009Tu
# view.coffee
# PI:NAME:<NAME>END_PI
################################################
# Устанавливаем ссылки на меню
setMenuView = ->
$(".view_fullscreen").click viewFullScreen
$(".view_description").click viewDescription
$(".view_... |
[
{
"context": "eps = []\n for key,val of fnode.deps\n key = @conciseName key\n target_spec += \" \\\\\\n #{key}\"\n deps.p",
"end": 1579,
"score": 0.9932864308357239,
"start": 1563,
"tag": "KEY",
"value": "@conciseName key"
},
{
"context": "eps = []\n for key,val... | lib/printer.coffee | gromnitsky/make-commonjs-depend | 1 | class PrinterError extends Error
constructor: (msg) ->
@name = @constructor.name
@message = "Printer: #{msg}"
Error.captureStackTrace this, @name
# Abstract
class Printer
constructor: (@ftree, @output, @opt) ->
throw new PrinterError 'invalid tree' unless @ftree?.root
@tree = @ftree.root
... | 202073 | class PrinterError extends Error
constructor: (msg) ->
@name = @constructor.name
@message = "Printer: #{msg}"
Error.captureStackTrace this, @name
# Abstract
class Printer
constructor: (@ftree, @output, @opt) ->
throw new PrinterError 'invalid tree' unless @ftree?.root
@tree = @ftree.root
... | true | class PrinterError extends Error
constructor: (msg) ->
@name = @constructor.name
@message = "Printer: #{msg}"
Error.captureStackTrace this, @name
# Abstract
class Printer
constructor: (@ftree, @output, @opt) ->
throw new PrinterError 'invalid tree' unless @ftree?.root
@tree = @ftree.root
... |
[
{
"context": "path: 'rana'})?._id\n\n fields = [\n key: \"name\"\n label: \"Name\"\n ,\n key: \"crea",
"end": 453,
"score": 0.5141785740852356,
"start": 449,
"tag": "USERNAME",
"value": "name"
},
{
"context": "name\"\n label: \"Name\"\n ,\n ... | client/controllers/selectImportStudy.coffee | ecohealthalliance/rana | 0 | Template.selectImportStudy.helpers
settings: () =>
selectReportButton = (obj) ->
reportsPath = Router.path 'table'
addReportPath = Router.path 'importReports', {studyId: obj._id}, {query: "redirectOnSubmit=#{reportsPath}"}
"""<a class="btn btn-success" href="#{addReportPath}">Import Reports</a... | 208811 | Template.selectImportStudy.helpers
settings: () =>
selectReportButton = (obj) ->
reportsPath = Router.path 'table'
addReportPath = Router.path 'importReports', {studyId: obj._id}, {query: "redirectOnSubmit=#{reportsPath}"}
"""<a class="btn btn-success" href="#{addReportPath}">Import Reports</a... | true | Template.selectImportStudy.helpers
settings: () =>
selectReportButton = (obj) ->
reportsPath = Router.path 'table'
addReportPath = Router.path 'importReports', {studyId: obj._id}, {query: "redirectOnSubmit=#{reportsPath}"}
"""<a class="btn btn-success" href="#{addReportPath}">Import Reports</a... |
[
{
"context": "module.exports =\n name: \"Pulp\"\n url: '/pulp/:language/:from'\n fields: [\n {",
"end": 30,
"score": 0.7485380172729492,
"start": 26,
"tag": "NAME",
"value": "Pulp"
}
] | lib/operations/pulp.coffee | BenOien/ForkOAAS | 0 | module.exports =
name: "Pulp"
url: '/pulp/:language/:from'
fields: [
{ name: 'Language', field: 'language'},
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/pulp/:language/:from', (req, res) ->
message = "#{req.params.language}, motherforker, do you speak it?"
su... | 27637 | module.exports =
name: "<NAME>"
url: '/pulp/:language/:from'
fields: [
{ name: 'Language', field: 'language'},
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/pulp/:language/:from', (req, res) ->
message = "#{req.params.language}, motherforker, do you speak it?"
... | true | module.exports =
name: "PI:NAME:<NAME>END_PI"
url: '/pulp/:language/:from'
fields: [
{ name: 'Language', field: 'language'},
{ name: 'From', field: 'from'}
]
register: (app, output) ->
app.get '/pulp/:language/:from', (req, res) ->
message = "#{req.params.language}, motherforker, do you spe... |
[
{
"context": "##\n# grunt-svg2storeicons\n# https://github.com/PEM--/grunt-svg2storeicons\n#\n# Copyright (c) 2013 Pierr",
"end": 51,
"score": 0.6424378156661987,
"start": 51,
"tag": "USERNAME",
"value": ""
},
{
"context": "/PEM--/grunt-svg2storeicons\n#\n# Copyright (c) 2013 Pierre-... | tasks/svg2storeicons.coffee | gruntjs-updater/grunt-svg2storeicons | 0 | ###
# grunt-svg2storeicons
# https://github.com/PEM--/grunt-svg2storeicons
#
# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)
# Licensed under the MIT licence.
###
'use strict'
# GraphicsMagick (node-gm) is used for every conversion and resizing tasks
gm = require 'gm'
# Async is used to t... | 151917 | ###
# grunt-svg2storeicons
# https://github.com/PEM--/grunt-svg2storeicons
#
# Copyright (c) 2013 <NAME> (PEM-- <<EMAIL>>)
# Licensed under the MIT licence.
###
'use strict'
# GraphicsMagick (node-gm) is used for every conversion and resizing tasks
gm = require 'gm'
# Async is used to transform this task as an asynch... | true | ###
# grunt-svg2storeicons
# https://github.com/PEM--/grunt-svg2storeicons
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI (PEM-- <PI:EMAIL:<EMAIL>END_PI>)
# Licensed under the MIT licence.
###
'use strict'
# GraphicsMagick (node-gm) is used for every conversion and resizing tasks
gm = require 'gm'
# Async is used to tra... |
[
{
"context": "ript-concat.coffee \r\n#\r\n# Copyright (C) 2010-2013 Tom Fairfield\r\n#\r\n# This software is provided 'as-is', without",
"end": 74,
"score": 0.9997967481613159,
"start": 61,
"tag": "NAME",
"value": "Tom Fairfield"
},
{
"context": "ved or altered from any source dist... | gofish_project/node_modules/grunt-coffeescript-concat/node_modules/coffeescript-concat/coffeescript-concat.coffee | nadvamir/gofish-lite | 0 | # coffeescript-concat.coffee
#
# Copyright (C) 2010-2013 Tom Fairfield
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any damages
# arising from the use of this software.
#
# Permission is granted to anyone to use this sof... | 14481 | # coffeescript-concat.coffee
#
# Copyright (C) 2010-2013 <NAME>
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any damages
# arising from the use of this software.
#
# Permission is granted to anyone to use this software f... | true | # coffeescript-concat.coffee
#
# Copyright (C) 2010-2013 PI:NAME:<NAME>END_PI
#
# This software is provided 'as-is', without any express or implied
# warranty. In no event will the authors be held liable for any damages
# arising from the use of this software.
#
# Permission is granted to anyone to use t... |
[
{
"context": " <del>}</del>\n # }\n # After\n # {\n # name: 'Fancy toy'\n # tags: [{ id: 'toy', name: 'toy' }]\n # v",
"end": 1809,
"score": 0.998901903629303,
"start": 1800,
"tag": "NAME",
"value": "Fancy toy"
}
] | src/merchant.coffee | cncolder/wishapi | 4 | util = require 'util'
url = require 'url'
Promise = require 'bluebird'
request = Promise.promisifyAll require 'request'
errors = require './errors'
debug = (require './debug') 'merchant'
# - - -
# Merchant
# ========
#
# **Merchant** use for invoke [Wish Merchant API](https://merchant.wish.com/documentation/api). For... | 165039 | util = require 'util'
url = require 'url'
Promise = require 'bluebird'
request = Promise.promisifyAll require 'request'
errors = require './errors'
debug = (require './debug') 'merchant'
# - - -
# Merchant
# ========
#
# **Merchant** use for invoke [Wish Merchant API](https://merchant.wish.com/documentation/api). For... | true | util = require 'util'
url = require 'url'
Promise = require 'bluebird'
request = Promise.promisifyAll require 'request'
errors = require './errors'
debug = (require './debug') 'merchant'
# - - -
# Merchant
# ========
#
# **Merchant** use for invoke [Wish Merchant API](https://merchant.wish.com/documentation/api). For... |
[
{
"context": "#\n# Ethan Mick\n# 2015\n#\n'use strict'\n\nHapi = require 'hapi'\nSock",
"end": 14,
"score": 0.9998264908790588,
"start": 4,
"tag": "NAME",
"value": "Ethan Mick"
}
] | server.coffee | ethanmick/season | 0 | #
# Ethan Mick
# 2015
#
'use strict'
Hapi = require 'hapi'
SocketIO = require 'socket.io'
Q = require 'q'
config = require './config/config'
PORT = process.env.PORT or 4439
class Server
constructor: ->
server = new Hapi.Server()
server.connection(port: 4439)
@io = SocketIO.listen(server.listener)
a... | 163203 | #
# <NAME>
# 2015
#
'use strict'
Hapi = require 'hapi'
SocketIO = require 'socket.io'
Q = require 'q'
config = require './config/config'
PORT = process.env.PORT or 4439
class Server
constructor: ->
server = new Hapi.Server()
server.connection(port: 4439)
@io = SocketIO.listen(server.listener)
addSo... | true | #
# PI:NAME:<NAME>END_PI
# 2015
#
'use strict'
Hapi = require 'hapi'
SocketIO = require 'socket.io'
Q = require 'q'
config = require './config/config'
PORT = process.env.PORT or 4439
class Server
constructor: ->
server = new Hapi.Server()
server.connection(port: 4439)
@io = SocketIO.listen(server.liste... |
[
{
"context": " up roles and voices ---------------------------\n{Alex,Daniel,Kate,Oliver,Samantha,Serena,MeiJia,Sinji} ",
"end": 164,
"score": 0.9998399615287781,
"start": 160,
"tag": "NAME",
"value": "Alex"
},
{
"context": "oles and voices ---------------------------\n{Alex,Daniel,K... | drama01.coffee | emptist/mac_speaker | 0 | Speaker = require './speaker'
lesson01 = require './lesson01'
Speaker.restart()
# ---------------------- set up roles and voices ---------------------------
{Alex,Daniel,Kate,Oliver,Samantha,Serena,MeiJia,Sinji} = Speaker
T = [
Daniel
Kate
Serena
]
S = [
MeiJia
Sinji
Samantha
Alex
Oliver
]
T.map... | 1764 | Speaker = require './speaker'
lesson01 = require './lesson01'
Speaker.restart()
# ---------------------- set up roles and voices ---------------------------
{<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>} = Speaker
T = [
<NAME>
<NAME>
<NAME>
]
S = [
<NAME>
<NAME>
<NAME>
<NAME>
<NAME>
]
... | true | Speaker = require './speaker'
lesson01 = require './lesson01'
Speaker.restart()
# ---------------------- set up roles and voices ---------------------------
{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,PI:NAME:<NAME>END_PI,PI:NAME:<NAME... |
[
{
"context": " return true\n \n Mailer.send\n to: 'sean@maplekiwi.com'\n subject: 'Producer Application'\n temp",
"end": 507,
"score": 0.9999281764030457,
"start": 489,
"tag": "EMAIL",
"value": "sean@maplekiwi.com"
}
] | common/methods/apply/apply.coffee | redhead-web/meteor-foodcoop | 11 | Meteor.methods
apply: (application) ->
check application, Object
unless this.userId
throw new Meteor.Error 500, 'no user for this application'
Meteor.users.update this.userId,
$set:
'profile.certification': application.certification
'profile.chemicals': application.chemicals... | 17361 | Meteor.methods
apply: (application) ->
check application, Object
unless this.userId
throw new Meteor.Error 500, 'no user for this application'
Meteor.users.update this.userId,
$set:
'profile.certification': application.certification
'profile.chemicals': application.chemicals... | true | Meteor.methods
apply: (application) ->
check application, Object
unless this.userId
throw new Meteor.Error 500, 'no user for this application'
Meteor.users.update this.userId,
$set:
'profile.certification': application.certification
'profile.chemicals': application.chemicals... |
[
{
"context": " # bootstrapFoo = [\n # {\n # name: 'Fooby'\n # }\n # ]\n\n # _.each bootstrapFoo, (f",
"end": 129,
"score": 0.9989670515060425,
"start": 124,
"tag": "NAME",
"value": "Fooby"
}
] | app/templates/server/main.coffee | cmalven/generator-met | 10 | Meteor.startup ->
# Bootstrap Collections
# if not Foo.find().count()
# bootstrapFoo = [
# {
# name: 'Fooby'
# }
# ]
# _.each bootstrapFoo, (foo) ->
# Meteor.call 'addFoo', foo | 43972 | Meteor.startup ->
# Bootstrap Collections
# if not Foo.find().count()
# bootstrapFoo = [
# {
# name: '<NAME>'
# }
# ]
# _.each bootstrapFoo, (foo) ->
# Meteor.call 'addFoo', foo | true | Meteor.startup ->
# Bootstrap Collections
# if not Foo.find().count()
# bootstrapFoo = [
# {
# name: 'PI:NAME:<NAME>END_PI'
# }
# ]
# _.each bootstrapFoo, (foo) ->
# Meteor.call 'addFoo', foo |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9964773058891296,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/planTemplateManagerTab.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Tab layer for creating/managing system-wide plan templates
Async = require 'async'
Imm = require 'immutable'
Fs = re... | 100367 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Tab layer for creating/managing system-wide plan templates
Async = require 'async'
Imm = require 'immutable'
Fs = re... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Tab layer for creating/managing system-wide plan templates
Async = require 'async'
Imm = require 'immu... |
[
{
"context": "t arr\n for k, v of arr\n if k.indexOf(\"d3plus\") isnt 0 and\n !(k in vars[type].keys) a",
"end": 427,
"score": 0.6483826041221619,
"start": 421,
"tag": "KEY",
"value": "d3plus"
}
] | src/core/data/keys.coffee | romind/d3plus_sandbox | 1 | print = require "../console/print.coffee"
validObject = require "../../object/validate.coffee"
# Get Key Types from Data
module.exports = (vars, type) ->
timerString = type + " key analysis"
print.time timerString if vars.dev.value
vars[type].keys = {}
get_keys = (arr) ->
if arr instanceof Array
... | 42887 | print = require "../console/print.coffee"
validObject = require "../../object/validate.coffee"
# Get Key Types from Data
module.exports = (vars, type) ->
timerString = type + " key analysis"
print.time timerString if vars.dev.value
vars[type].keys = {}
get_keys = (arr) ->
if arr instanceof Array
... | true | print = require "../console/print.coffee"
validObject = require "../../object/validate.coffee"
# Get Key Types from Data
module.exports = (vars, type) ->
timerString = type + " key analysis"
print.time timerString if vars.dev.value
vars[type].keys = {}
get_keys = (arr) ->
if arr instanceof Array
... |
[
{
"context": " }\n }, {\n \"name\" : \"Med\",\n \"context\" : \"Patient\",\n ",
"end": 2282,
"score": 0.9979349374771118,
"start": 2279,
"tag": "NAME",
"value": "Med"
},
{
"context": " \"element\" : [ {\n \"nam... | Src/coffeescript/cql-execution/test/elm/instance/data.coffee | MeasureAuthoringTool/clinical_quality_language | 2 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Instance
library TestSnippet version '1'
using QUICK
context Patient
define Quantity: Quantity {
unit: 'a',... | 13636 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Instance
library TestSnippet version '1'
using QUICK
context Patient
define Quantity: Quantity {
unit: 'a',... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Instance
library TestSnippet version '1'
using QUICK
context Patient
define Quantity: Quantity {
unit: 'a',... |
[
{
"context": "dsHostname + \"/blind/\"],\n [\"Office\", [[\"1\", \"Rob's Shade\"], [\"2\", \"Left\"], [\"3\", \"Mid-Left\"], [\"4\", ",
"end": 1741,
"score": 0.7982516288757324,
"start": 1736,
"tag": "NAME",
"value": "Rob's"
},
{
"context": "es/320035001147343438323536/apiCall\\... | AdminScripts/old-scripts/setup-db.coffee | robdobsn/HomeTabletLocalApp | 0 | fs = require('fs')
request = require('request')
DefaultTabletConfig = require('../www/js/default-tablet-config.js')
getSonosConfig = (deviceConfigList) ->
sonosConfig = []
for deviceConfig, confIdx in deviceConfigList
sonosRoomName = deviceConfig['sonosRoomName']
roomName = deviceConfig['roomName']
# A... | 61392 | fs = require('fs')
request = require('request')
DefaultTabletConfig = require('../www/js/default-tablet-config.js')
getSonosConfig = (deviceConfigList) ->
sonosConfig = []
for deviceConfig, confIdx in deviceConfigList
sonosRoomName = deviceConfig['sonosRoomName']
roomName = deviceConfig['roomName']
# A... | true | fs = require('fs')
request = require('request')
DefaultTabletConfig = require('../www/js/default-tablet-config.js')
getSonosConfig = (deviceConfigList) ->
sonosConfig = []
for deviceConfig, confIdx in deviceConfigList
sonosRoomName = deviceConfig['sonosRoomName']
roomName = deviceConfig['roomName']
# A... |
[
{
"context": "the user specific checklist if successful.\n@author Nathan Klick\n@copyright QRef 2012\n###\nclass AuthorizeInstallPr",
"end": 703,
"score": 0.9998753070831299,
"start": 691,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/rpc/aircraft/AuthorizeInstallProductRoute.coffee | qrefdev/qref | 0 | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
###
Service route that performs authentication of Apple IAP R... | 101286 | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
###
Service route that performs authentication of Apple IAP R... | true | RpcRoute = require('../../../RpcRoute')
QRefDatabase = require('../../../../db/QRefDatabase')
RpcResponse = require('../../../../serialization/RpcResponse')
UserAuth = require('../../../../security/UserAuth')
https = require('https')
async = require('async')
###
Service route that performs authentication of Apple IAP R... |
[
{
"context": "ut are accompanied\n# by onfocus/onblur.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 135,
"score": 0.9998742938041687,
"start": 124,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/mouse-events-have-key-events.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce onmouseover/onmouseout are accompanied
# by onfocus/onblur.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
pat... | 218371 | ### eslint-env jest ###
###*
# @fileoverview Enforce onmouseover/onmouseout are accompanied
# by onfocus/onblur.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = r... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce onmouseover/onmouseout are accompanied
# by onfocus/onblur.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# -------------------------------------------------------------------------... |
[
{
"context": "piKey = (key, callback) ->\n url = buildUrl key, '195893', 'tiny' # We know this image exists.\n reques",
"end": 21551,
"score": 0.7264573574066162,
"start": 21548,
"tag": "KEY",
"value": "195"
},
{
"context": " = (key, callback) ->\n url = buildUrl key, '195893', 't... | src/picksel.coffee | lambdacasserole/picksel | 0 | # Constants.
USER_PATH = './.pickselacc' # Location of user file.
PROJECT_PATH = './picksel.json' # Location of project file.
AMBIG_DIR = './picksel_temp' # Location of ambiguous result resolution folder.
AMBIG_BASE_PATH = './pickseltemp_base.temp' # Location of base image file.
# Load dependencies.
https = require 'h... | 220322 | # Constants.
USER_PATH = './.pickselacc' # Location of user file.
PROJECT_PATH = './picksel.json' # Location of project file.
AMBIG_DIR = './picksel_temp' # Location of ambiguous result resolution folder.
AMBIG_BASE_PATH = './pickseltemp_base.temp' # Location of base image file.
# Load dependencies.
https = require 'h... | true | # Constants.
USER_PATH = './.pickselacc' # Location of user file.
PROJECT_PATH = './picksel.json' # Location of project file.
AMBIG_DIR = './picksel_temp' # Location of ambiguous result resolution folder.
AMBIG_BASE_PATH = './pickseltemp_base.temp' # Location of base image file.
# Load dependencies.
https = require 'h... |
[
{
"context": "y = new ReactiveVar false\n\tGoogleMaps.load({key: 'AIzaSyCU9x2LIIDvkHtQLQHQ9KGBsqT0RpH2_n0', libraries: 'places' })\n\n\t@_stopInterceptValue =",
"end": 142,
"score": 0.999750554561615,
"start": 103,
"tag": "KEY",
"value": "AIzaSyCU9x2LIIDvkHtQLQHQ9KGBsqT0RpH2_n0"
}
] | client/views/providers/providersSearch.coffee | thiago-zaidem/appVilaDosBichos | 0 | markerJson = []
Template.maps.created = ->
@mapReady = new ReactiveVar false
GoogleMaps.load({key: 'AIzaSyCU9x2LIIDvkHtQLQHQ9KGBsqT0RpH2_n0', libraries: 'places' })
@_stopInterceptValue = false
data = @.data
params = this.data.search[0].fields
searchParams = params
searchParams = _.extend searchParams, {"audi... | 76506 | markerJson = []
Template.maps.created = ->
@mapReady = new ReactiveVar false
GoogleMaps.load({key: '<KEY>', libraries: 'places' })
@_stopInterceptValue = false
data = @.data
params = this.data.search[0].fields
searchParams = params
searchParams = _.extend searchParams, {"auditoria.deleted":false}
if params.... | true | markerJson = []
Template.maps.created = ->
@mapReady = new ReactiveVar false
GoogleMaps.load({key: 'PI:KEY:<KEY>END_PI', libraries: 'places' })
@_stopInterceptValue = false
data = @.data
params = this.data.search[0].fields
searchParams = params
searchParams = _.extend searchParams, {"auditoria.deleted":false}... |
[
{
"context": "Actions: ->\n\t\ttestActions =\n\t\t[\n\t\t\t{\n\t\t\t\t\"name\": \"Grace - Bright\",\n\t\t\t\t\"nameURLEncoded\": \"Grace%20-%20Bri",
"end": 147,
"score": 0.5453385710716248,
"start": 142,
"tag": "NAME",
"value": "Grace"
},
{
"context": "/Grace%20-%20Stars.json\"\n\t\t... | www/js/indigo-test-server.coffee | robdobsn/HomeTabletLocalApp | 0 | class App.IndigoTestServer
constructor: (@manager, @serverDef, @dataReadyCallback) ->
reqActions: ->
testActions =
[
{
"name": "Grace - Bright",
"nameURLEncoded": "Grace%20-%20Bright",
"restParent": "actions",
"restURL": "/actions/Grace%20-%20Bright.json"
}
, {
"name": "Grace - Mood"... | 113347 | class App.IndigoTestServer
constructor: (@manager, @serverDef, @dataReadyCallback) ->
reqActions: ->
testActions =
[
{
"name": "<NAME> - Bright",
"nameURLEncoded": "Grace%20-%20Bright",
"restParent": "actions",
"restURL": "/actions/Grace%20-%20Bright.json"
}
, {
"name": "Grace - Mood... | true | class App.IndigoTestServer
constructor: (@manager, @serverDef, @dataReadyCallback) ->
reqActions: ->
testActions =
[
{
"name": "PI:NAME:<NAME>END_PI - Bright",
"nameURLEncoded": "Grace%20-%20Bright",
"restParent": "actions",
"restURL": "/actions/Grace%20-%20Bright.json"
}
, {
"name":... |
[
{
"context": "mail\", lambdaCallback\n\t\t# Good. Store it\n\t\ttoken = uuidv4()\n\t\tputS3 email, \"pending\", token, (err)->\n\t\t\tif ",
"end": 2231,
"score": 0.6492403745651245,
"start": 2225,
"tag": "KEY",
"value": "uuidv4"
},
{
"context": "ilRedirect\n\n\t\t# Good. Store it com... | handler.coffee | ScreamingHawk/email-account-management | 0 | AWS = require 'aws-sdk'
uuidv4 = require 'uuid/v4'
querystring = require 'querystring'
config = require "config.#{process.env.stage}.json"
s3 = new AWS.S3()
ses = new AWS.SES
region: config.awsSesRegion
# Get the email data from S3
getS3 = (email, state, callback) =>
params =
Bucket: config.bucketName
Key: "#{... | 216973 | AWS = require 'aws-sdk'
uuidv4 = require 'uuid/v4'
querystring = require 'querystring'
config = require "config.#{process.env.stage}.json"
s3 = new AWS.S3()
ses = new AWS.SES
region: config.awsSesRegion
# Get the email data from S3
getS3 = (email, state, callback) =>
params =
Bucket: config.bucketName
Key: "#{... | true | AWS = require 'aws-sdk'
uuidv4 = require 'uuid/v4'
querystring = require 'querystring'
config = require "config.#{process.env.stage}.json"
s3 = new AWS.S3()
ses = new AWS.SES
region: config.awsSesRegion
# Get the email data from S3
getS3 = (email, state, callback) =>
params =
Bucket: config.bucketName
Key: "#{... |
[
{
"context": "DragEnd: onDragEnd\n key: \"#{@props.id}-#{address.address}-#{idx}\"\n title: ad",
"end": 2675,
"score": 0.8161980509757996,
"start": 2669,
"tag": "KEY",
"value": "id}-#{"
},
{
"context": "gEnd\n key: \"#{@props.id}-#{address... | client/app/components/mails_input.coffee | cozy-labs/emails | 58 | {div, label, textarea, span, ul, li, a, img, i} = React.DOM
MessageUtils = require '../utils/message_utils'
ContactStore = require '../stores/contact_store'
ContactActionCreator = require '../actions/contact_action_creator'
LayoutActionCreator = require '../actions/layout_action_creator'
classer = React.addons.... | 140814 | {div, label, textarea, span, ul, li, a, img, i} = React.DOM
MessageUtils = require '../utils/message_utils'
ContactStore = require '../stores/contact_store'
ContactActionCreator = require '../actions/contact_action_creator'
LayoutActionCreator = require '../actions/layout_action_creator'
classer = React.addons.... | true | {div, label, textarea, span, ul, li, a, img, i} = React.DOM
MessageUtils = require '../utils/message_utils'
ContactStore = require '../stores/contact_store'
ContactActionCreator = require '../actions/contact_action_creator'
LayoutActionCreator = require '../actions/layout_action_creator'
classer = React.addons.... |
[
{
"context": "ommon'\n\n###\n\tdocs:待排序的文档数组\n\tids:_id集合\n\tid_key: 默认为_id\n\treturn 按照ids的顺序返回新的文档集合\n###\nCreator.getOrderlySe",
"end": 1850,
"score": 0.9844164848327637,
"start": 1848,
"tag": "KEY",
"value": "id"
},
{
"context": " ids, id_key, hit_first)->\n\n\tif !id_key\n\t\tid... | packages/steedos-objects/core.coffee | zonglu233/fuel-car | 0 | if !Creator?
@Creator = {}
Creator.Objects = {}
Creator.Collections = {}
Creator.deps = {
app: new Tracker.Dependency
object: new Tracker.Dependency
};
Creator.getObject = (object_name)->
if Meteor.isClient
Creator.deps?.object?.depend()
if !object_name and Meteor.isClient
object_name = Session.get("object_na... | 198399 | if !Creator?
@Creator = {}
Creator.Objects = {}
Creator.Collections = {}
Creator.deps = {
app: new Tracker.Dependency
object: new Tracker.Dependency
};
Creator.getObject = (object_name)->
if Meteor.isClient
Creator.deps?.object?.depend()
if !object_name and Meteor.isClient
object_name = Session.get("object_na... | true | if !Creator?
@Creator = {}
Creator.Objects = {}
Creator.Collections = {}
Creator.deps = {
app: new Tracker.Dependency
object: new Tracker.Dependency
};
Creator.getObject = (object_name)->
if Meteor.isClient
Creator.deps?.object?.depend()
if !object_name and Meteor.isClient
object_name = Session.get("object_na... |
[
{
"context": "t('&').sort()\n [\n 'AWSAccessKeyId=akid',\n 'Action=CopySnapshot',\n 'Des",
"end": 882,
"score": 0.8966994285583496,
"start": 878,
"tag": "KEY",
"value": "akid"
},
{
"context": "tpRequest.params).to.eql\n AWSAccessKeyId: 'akid'\... | test/services/ec2.spec.coffee | mick/aws-sdk-js | 0 | helpers = require('../helpers')
AWS = helpers.AWS
describe 'AWS.EC2', ->
ec2 = new AWS.EC2()
describe 'proxy support', ->
it 'always sets Host header to correct endpoint', ->
helpers.mockHttpResponse 200, {}, ''
ec2 = new AWS.EC2(httpOptions: proxy: 'http://__INVALID_HOSTNAME__:9999')
ec2.m... | 149315 | helpers = require('../helpers')
AWS = helpers.AWS
describe 'AWS.EC2', ->
ec2 = new AWS.EC2()
describe 'proxy support', ->
it 'always sets Host header to correct endpoint', ->
helpers.mockHttpResponse 200, {}, ''
ec2 = new AWS.EC2(httpOptions: proxy: 'http://__INVALID_HOSTNAME__:9999')
ec2.m... | true | helpers = require('../helpers')
AWS = helpers.AWS
describe 'AWS.EC2', ->
ec2 = new AWS.EC2()
describe 'proxy support', ->
it 'always sets Host header to correct endpoint', ->
helpers.mockHttpResponse 200, {}, ''
ec2 = new AWS.EC2(httpOptions: proxy: 'http://__INVALID_HOSTNAME__:9999')
ec2.m... |
[
{
"context": "hart.update\n\n return chart\n\n# http://bl.ocks.org/phil-pedruco/88cb8a51cdce45f13c7e\nnormalChart = (data) ->\n ma",
"end": 1552,
"score": 0.9996673464775085,
"start": 1540,
"tag": "USERNAME",
"value": "phil-pedruco"
},
{
"context": ")\n .attr(\"d\", line)\n\n# f... | ui/main.coffee | noblesamurai/guv | 0 |
# guv = require 'guv'
# DOM helpers
dom =
id: (name) ->
document.getElementById name
# UI React widgets
class TestStatusClass
render: () ->
total = countCases @props.suites, () -> return true
passing = countCases @props.suites, (c) -> return c.passed? and c.passed
failing = countCases @props.sui... | 68706 |
# guv = require 'guv'
# DOM helpers
dom =
id: (name) ->
document.getElementById name
# UI React widgets
class TestStatusClass
render: () ->
total = countCases @props.suites, () -> return true
passing = countCases @props.suites, (c) -> return c.passed? and c.passed
failing = countCases @props.sui... | true |
# guv = require 'guv'
# DOM helpers
dom =
id: (name) ->
document.getElementById name
# UI React widgets
class TestStatusClass
render: () ->
total = countCases @props.suites, () -> return true
passing = countCases @props.suites, (c) -> return c.passed? and c.passed
failing = countCases @props.sui... |
[
{
"context": ")\n reg.addClass \"initial\"\n reg.val \"Your name\"\n return\n\n registered:\n show: [ \"#",
"end": 418,
"score": 0.6111437082290649,
"start": 409,
"tag": "NAME",
"value": "Your name"
}
] | www/tupelo-main.coffee | jait/tupelo | 0 | # tupelo-main.coffee
# vim: sts=2 sw=2 et:
$ = jQuery
$(document).ready ->
# status object
tupelo =
game_state: {}
events: []
config:
serverBaseUrl: "/api"
states =
initial:
show: [ "#register_form" ]
hide: [ "#quit_form", "#games", "#players", "#my_game", "#game" ]
chan... | 275 | # tupelo-main.coffee
# vim: sts=2 sw=2 et:
$ = jQuery
$(document).ready ->
# status object
tupelo =
game_state: {}
events: []
config:
serverBaseUrl: "/api"
states =
initial:
show: [ "#register_form" ]
hide: [ "#quit_form", "#games", "#players", "#my_game", "#game" ]
chan... | true | # tupelo-main.coffee
# vim: sts=2 sw=2 et:
$ = jQuery
$(document).ready ->
# status object
tupelo =
game_state: {}
events: []
config:
serverBaseUrl: "/api"
states =
initial:
show: [ "#register_form" ]
hide: [ "#quit_form", "#games", "#players", "#my_game", "#game" ]
chan... |
[
{
"context": "odule.exports = (params, callback) ->\n cacheKey = JSON.stringify(params)\n eb.send 'reitti.cache.get', k",
"end": 212,
"score": 0.9411481618881226,
"start": 208,
"tag": "KEY",
"value": "JSON"
},
{
"context": "exports = (params, callback) ->\n cacheKey = JSON.stringi... | find_routes.coffee | reitti/reittiopas | 3 | vertx = require 'vertx'
hsl = require 'hsl'
accessibility = require 'accessibility'
CACHE_TTL = 60 * 60 # One hour
eb = vertx.eventBus
module.exports = (params, callback) ->
cacheKey = JSON.stringify(params)
eb.send 'reitti.cache.get', key: cacheKey, (res) ->
if res.result?
callback r... | 105306 | vertx = require 'vertx'
hsl = require 'hsl'
accessibility = require 'accessibility'
CACHE_TTL = 60 * 60 # One hour
eb = vertx.eventBus
module.exports = (params, callback) ->
cacheKey = <KEY>.<KEY>(params)
eb.send 'reitti.cache.get', key: cacheKey, (res) ->
if res.result?
callback res.... | true | vertx = require 'vertx'
hsl = require 'hsl'
accessibility = require 'accessibility'
CACHE_TTL = 60 * 60 # One hour
eb = vertx.eventBus
module.exports = (params, callback) ->
cacheKey = PI:KEY:<KEY>END_PI.PI:KEY:<KEY>END_PI(params)
eb.send 'reitti.cache.get', key: cacheKey, (res) ->
if res.r... |
[
{
"context": "{\n hrot: {\n id: 'hrot'\n name: 'Hrot'\n initial: [(width/2) - 5, 0]\n fina",
"end": 6257,
"score": 0.8535946011543274,
"start": 6253,
"tag": "NAME",
"value": "Hrot"
}
] | source/assets/javascripts/app.js.coffee | LastStar/superiortype.com | 0 | //= require jquery/dist/jquery.min
//= require snap.svg/dist/snap.svg-min
//= require jquery.scrollTo/jquery.scrollTo.min
//= require jQuery-Storage-API/jquery.storageapi.min.js
//= require jquery-waypoints/lib/jquery.waypoints.min.js
//= require jquery-waypoints/lib/shortcuts/inview.min.js
wishedSpan = $('#wished spa... | 64754 | //= require jquery/dist/jquery.min
//= require snap.svg/dist/snap.svg-min
//= require jquery.scrollTo/jquery.scrollTo.min
//= require jQuery-Storage-API/jquery.storageapi.min.js
//= require jquery-waypoints/lib/jquery.waypoints.min.js
//= require jquery-waypoints/lib/shortcuts/inview.min.js
wishedSpan = $('#wished spa... | true | //= require jquery/dist/jquery.min
//= require snap.svg/dist/snap.svg-min
//= require jquery.scrollTo/jquery.scrollTo.min
//= require jQuery-Storage-API/jquery.storageapi.min.js
//= require jquery-waypoints/lib/jquery.waypoints.min.js
//= require jquery-waypoints/lib/shortcuts/inview.min.js
wishedSpan = $('#wished spa... |
[
{
"context": "ur bid result is not yet available. Please contact support@artsy.net.\"\n else\n @timesPolledForBidPlacem",
"end": 3184,
"score": 0.9999262690544128,
"start": 3167,
"tag": "EMAIL",
"value": "support@artsy.net"
}
] | apps/feature/client/bid_page.coffee | xtina-starr/microgravity | 1 | _ = require 'underscore'
sd = require('sharify').data
SaleArtwork = require '../../../models/sale_artwork.coffee'
Backbone = require 'backbone'
bootstrap = require '../../../components/layout/bootstrap.coffee'
AuctionClockView = require '../../../components/auction_clock/view.coffee'
openSpecialistModal = require '../.... | 77817 | _ = require 'underscore'
sd = require('sharify').data
SaleArtwork = require '../../../models/sale_artwork.coffee'
Backbone = require 'backbone'
bootstrap = require '../../../components/layout/bootstrap.coffee'
AuctionClockView = require '../../../components/auction_clock/view.coffee'
openSpecialistModal = require '../.... | true | _ = require 'underscore'
sd = require('sharify').data
SaleArtwork = require '../../../models/sale_artwork.coffee'
Backbone = require 'backbone'
bootstrap = require '../../../components/layout/bootstrap.coffee'
AuctionClockView = require '../../../components/auction_clock/view.coffee'
openSpecialistModal = require '../.... |
[
{
"context": " exports.Torus extends Entity\n\n\tentity :\n\t\tname: \"Torus\"\n\t\ttype: \"a-torus\"\n\n\t# --------------------------",
"end": 108,
"score": 0.9881317615509033,
"start": 103,
"tag": "NAME",
"value": "Torus"
}
] | src/Torus.coffee | etiennepinchon/hologram | 89 | {entityAttribute, Entity} = require "./Entity"
class exports.Torus extends Entity
entity :
name: "Torus"
type: "a-torus"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
@define "radiusTubular", entityAttrib... | 91170 | {entityAttribute, Entity} = require "./Entity"
class exports.Torus extends Entity
entity :
name: "<NAME>"
type: "a-torus"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
@define "radiusTubular", entityAttri... | true | {entityAttribute, Entity} = require "./Entity"
class exports.Torus extends Entity
entity :
name: "PI:NAME:<NAME>END_PI"
type: "a-torus"
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 1)
@define "radiusTubular... |
[
{
"context": "0\n else\n (new Email(\n from: 'atlvegguide@atlvegguide.com',\n to: settings.to_email,\n ",
"end": 676,
"score": 0.9999281167984009,
"start": 649,
"tag": "EMAIL",
"value": "atlvegguide@atlvegguide.com"
}
] | suggest.coffee | vilmibm/veganguide | 1 | Email = require('email').Email
express = require 'express'
settings = (require './settings').init()
app = express()
app.configure(->
app.use(express.logger())
app.use(express.favicon())
app.use(express.bodyParser())
app.use((q,s,n) -> # cors middleware. TODO don't just use *
s.setHeader('Access... | 8028 | Email = require('email').Email
express = require 'express'
settings = (require './settings').init()
app = express()
app.configure(->
app.use(express.logger())
app.use(express.favicon())
app.use(express.bodyParser())
app.use((q,s,n) -> # cors middleware. TODO don't just use *
s.setHeader('Access... | true | Email = require('email').Email
express = require 'express'
settings = (require './settings').init()
app = express()
app.configure(->
app.use(express.logger())
app.use(express.favicon())
app.use(express.bodyParser())
app.use((q,s,n) -> # cors middleware. TODO don't just use *
s.setHeader('Access... |
[
{
"context": "estStore(@window.localStorage)\n @domLoadKey = 'nitroDomLoad'\n @fetchLoadKey = 'nitroFetchLoad'\n @cacheL",
"end": 691,
"score": 0.9495818018913269,
"start": 679,
"tag": "KEY",
"value": "nitroDomLoad"
},
{
"context": "@domLoadKey = 'nitroDomLoad'\n @fetchLo... | app/assets/javascripts/nitrolinks/testing.coffee | asartalo/nitrolinks-rails | 0 | whenReady = (fn) ->
if (if document.attachEvent then document.readyState == 'complete' else document.readyState != 'loading')
fn()
else
document.addEventListener "DOMContentLoaded", ->
fn()
select = (selector) ->
selectAll(selector)[0]
selectAll = (selector) ->
document.querySelectorAll(selector... | 151389 | whenReady = (fn) ->
if (if document.attachEvent then document.readyState == 'complete' else document.readyState != 'loading')
fn()
else
document.addEventListener "DOMContentLoaded", ->
fn()
select = (selector) ->
selectAll(selector)[0]
selectAll = (selector) ->
document.querySelectorAll(selector... | true | whenReady = (fn) ->
if (if document.attachEvent then document.readyState == 'complete' else document.readyState != 'loading')
fn()
else
document.addEventListener "DOMContentLoaded", ->
fn()
select = (selector) ->
selectAll(selector)[0]
selectAll = (selector) ->
document.querySelectorAll(selector... |
[
{
"context": "space: 5\n amount_in_usd: 5000\n contact_person: 'Jaan Jalgratas'\n company_name: 'Toggl OU'\n company_address: 'R",
"end": 198,
"score": 0.999865710735321,
"start": 184,
"tag": "NAME",
"value": "Jaan Jalgratas"
},
{
"context": "ntact_person: 'Jaan Jalgratas'\n com... | testdata/test_prepayment.coffee | meeDamian/toggl-pdf | 1 | Prepayment = require '../app/prepayment'
fs = require 'fs'
prepayment = new Prepayment
id: 142250
workspace_id: 1
users_in_workspace: 5
amount_in_usd: 5000
contact_person: 'Jaan Jalgratas'
company_name: 'Toggl OU'
company_address: 'Rävala 8'
country_id: 69
country_name: 'Estonia'
vat_number: 'EE123... | 151239 | Prepayment = require '../app/prepayment'
fs = require 'fs'
prepayment = new Prepayment
id: 142250
workspace_id: 1
users_in_workspace: 5
amount_in_usd: 5000
contact_person: '<NAME>'
company_name: 'To<NAME> OU'
company_address: 'Rävala 8'
country_id: 69
country_name: 'Estonia'
vat_number: 'EE12345678... | true | Prepayment = require '../app/prepayment'
fs = require 'fs'
prepayment = new Prepayment
id: 142250
workspace_id: 1
users_in_workspace: 5
amount_in_usd: 5000
contact_person: 'PI:NAME:<NAME>END_PI'
company_name: 'ToPI:NAME:<NAME>END_PI OU'
company_address: 'Rävala 8'
country_id: 69
country_name: 'Estoni... |
[
{
"context": " = process.env.HUBOT_UNFUDDLE_USER\n password = process.env.HUBOT_UNFUDDLE_PASSWORD\n projects = process.env.H",
"end": 365,
"score": 0.767382025718689,
"start": 354,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "v.HUBOT_UNFUDDLE_USER\n password = pro... | src/scripts/unfuddle.coffee | poshboytl/hubot-scripts | 1 | # Interacting with unfuddle
#
# <project shortcut> #ticket_number - display unfuddle ticket
#
Http = require 'http'
Https = require 'https'
Qs = require 'querystring'
XML = require 'libxmljs'
module.exports = (robot) ->
host = process.env.HUBOT_UNFUDDLE_SUBDOMAIN + ".unfuddle.com"
user = process.env... | 70582 | # Interacting with unfuddle
#
# <project shortcut> #ticket_number - display unfuddle ticket
#
Http = require 'http'
Https = require 'https'
Qs = require 'querystring'
XML = require 'libxmljs'
module.exports = (robot) ->
host = process.env.HUBOT_UNFUDDLE_SUBDOMAIN + ".unfuddle.com"
user = process.env... | true | # Interacting with unfuddle
#
# <project shortcut> #ticket_number - display unfuddle ticket
#
Http = require 'http'
Https = require 'https'
Qs = require 'querystring'
XML = require 'libxmljs'
module.exports = (robot) ->
host = process.env.HUBOT_UNFUDDLE_SUBDOMAIN + ".unfuddle.com"
user = process.env... |
[
{
"context": " signupRedirect: '/personalize'\n XAPP_TOKEN: artsyXapp.token\n\n # General settings\n app.use logger('dev')\n a",
"end": 3520,
"score": 0.959736168384552,
"start": 3505,
"tag": "PASSWORD",
"value": "artsyXapp.token"
}
] | mobile/lib/setup.coffee | dblock/force | 0 | #
# Sets up intial project settings, middleware, mounted apps, and global configuration
# such as overriding Backbone.sync and populating sharify data
#
{ ARTSY_URL, API_URL, APP_URL, SESSION_SECRET, CLIENT_ID, CLIENT_SECRET,
MAX_SOCKETS, COOKIE_DOMAIN, SESSION_COOKIE_KEY, OPENREDIS_URL,
NODE_ENV, SESSION_COOKIE_M... | 214913 | #
# Sets up intial project settings, middleware, mounted apps, and global configuration
# such as overriding Backbone.sync and populating sharify data
#
{ ARTSY_URL, API_URL, APP_URL, SESSION_SECRET, CLIENT_ID, CLIENT_SECRET,
MAX_SOCKETS, COOKIE_DOMAIN, SESSION_COOKIE_KEY, OPENREDIS_URL,
NODE_ENV, SESSION_COOKIE_M... | true | #
# Sets up intial project settings, middleware, mounted apps, and global configuration
# such as overriding Backbone.sync and populating sharify data
#
{ ARTSY_URL, API_URL, APP_URL, SESSION_SECRET, CLIENT_ID, CLIENT_SECRET,
MAX_SOCKETS, COOKIE_DOMAIN, SESSION_COOKIE_KEY, OPENREDIS_URL,
NODE_ENV, SESSION_COOKIE_M... |
[
{
"context": "ot_phid', ->\n\n hubotHear = (message, userName = 'momo', tempo = 50) ->\n beforeEach (done) ->\n r",
"end": 588,
"score": 0.9993804693222046,
"start": 584,
"tag": "USERNAME",
"value": "momo"
},
{
"context": "ut (done), tempo\n\n hubot = (message, userName = '... | test/phabs_commands_test.coffee | f0ff886f/hubot-phabs | 22 | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
Hubot = require('../node_modules/hubot')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_commands.coffee')
path = require 'path'
nock = require 'nock'
sinon = require 'sinon'
moment = require 'moment'
e... | 182934 | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
Hubot = require('../node_modules/hubot')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_commands.coffee')
path = require 'path'
nock = require 'nock'
sinon = require 'sinon'
moment = require 'moment'
e... | true | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
Hubot = require('../node_modules/hubot')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/phabs_commands.coffee')
path = require 'path'
nock = require 'nock'
sinon = require 'sinon'
moment = require 'moment'
e... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998788237571716,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/Console/Input/InputArgument.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
#
# InputArgument is a command line argument
#
# @author Jessym Reziga <jessym@konssert... | 49573 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
#
# InputArgument is a command line argument
#
# @author <NAME> <<EMAIL>>
#
class InputArgument
@REQUIRE... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
#
# InputArgument is a command line argument
#
# @author PI:NAME:<NAME>END_PI ... |
[
{
"context": "oGLib\n# Module | Stat Methods\n# Author | Sherif Emabrak\n# Description | function return The minimum value",
"end": 164,
"score": 0.9998734593391418,
"start": 150,
"tag": "NAME",
"value": "Sherif Emabrak"
}
] | src/lib/statistics/summary/min.coffee | Sherif-Embarak/gp-test | 0 | # ------------------------------------------------------------------------------
# ,Project | GoGLib
# Module | Stat Methods
# Author | Sherif Emabrak
# Description | function return The minimum value of data set
#, ------------------------------------------------------------------------------
min = (inp... | 107047 | # ------------------------------------------------------------------------------
# ,Project | GoGLib
# Module | Stat Methods
# Author | <NAME>
# Description | function return The minimum value of data set
#, ------------------------------------------------------------------------------
min = (input_array... | true | # ------------------------------------------------------------------------------
# ,Project | GoGLib
# Module | Stat Methods
# Author | PI:NAME:<NAME>END_PI
# Description | function return The minimum value of data set
#, ------------------------------------------------------------------------------
min ... |
[
{
"context": "roy()\n\n it 'not set env', ->\n @room.user.say('inaba', '@hubot amesh').then =>\n expect(@room.mess",
"end": 281,
"score": 0.738286554813385,
"start": 276,
"tag": "NAME",
"value": "inaba"
},
{
"context": " expect(@room.messages).to.eql [\n ['inaba'... | test/amesh-test.coffee | 178inaba/hubot-amesh | 0 | Helper = require('hubot-test-helper')
chai = require 'chai'
expect = chai.expect
helper = new Helper('../src/amesh.coffee')
describe 'amesh', ->
beforeEach ->
@room = helper.createRoom()
afterEach ->
@room.destroy()
it 'not set env', ->
@room.user.say('inaba', '@hubot amesh').then =>
expect... | 218921 | Helper = require('hubot-test-helper')
chai = require 'chai'
expect = chai.expect
helper = new Helper('../src/amesh.coffee')
describe 'amesh', ->
beforeEach ->
@room = helper.createRoom()
afterEach ->
@room.destroy()
it 'not set env', ->
@room.user.say('<NAME>', '@hubot amesh').then =>
expec... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
expect = chai.expect
helper = new Helper('../src/amesh.coffee')
describe 'amesh', ->
beforeEach ->
@room = helper.createRoom()
afterEach ->
@room.destroy()
it 'not set env', ->
@room.user.say('PI:NAME:<NAME>END_PI', '@hubot amesh').then ... |
[
{
"context": "st letter of a class name is capitalized\n# @author Julian Rosse\n###\n'use strict'\n\n#------------------------------",
"end": 105,
"score": 0.9998645782470703,
"start": 93,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/tests/rules/capitalized-class-names.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Enforces that the first letter of a class name is capitalized
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../.... | 187662 | ###*
# @fileoverview Enforces that the first letter of a class name is capitalized
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rule... | true | ###*
# @fileoverview Enforces that the first letter of a class name is capitalized
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = requi... |
[
{
"context": "action = 'changePwd'\n userInfo =\n oldPassword: currentPassword\n newPassword: newPassword\n confirmPassword:",
"end": 959,
"score": 0.997279167175293,
"start": 944,
"tag": "PASSWORD",
"value": "currentPassword"
},
{
"context": "\n oldPassword: currentPass... | src/js/extension/services/index.coffee | obi1kenobi/jester | 2 | async = require('../../../deps/async')
logger = require('../../lib/util/logging').logger(['ext', 'svc'])
constants = require('../../lib/config/constants')
serviceData = require('./service_data')
shim = require('./shim')
windowManager = require('./window_manager')
login = (wnd,... | 140214 | async = require('../../../deps/async')
logger = require('../../lib/util/logging').logger(['ext', 'svc'])
constants = require('../../lib/config/constants')
serviceData = require('./service_data')
shim = require('./shim')
windowManager = require('./window_manager')
login = (wnd,... | true | async = require('../../../deps/async')
logger = require('../../lib/util/logging').logger(['ext', 'svc'])
constants = require('../../lib/config/constants')
serviceData = require('./service_data')
shim = require('./shim')
windowManager = require('./window_manager')
login = (wnd,... |
[
{
"context": "ll\n @set 'email', email\n @set 'password', password\n @save {},\n error: => @trigger '",
"end": 170,
"score": 0.9983792304992676,
"start": 162,
"tag": "PASSWORD",
"value": "password"
}
] | client/src/coffee/models/session.coffee | Plaristote/ep-socialnetwork | 0 | class Session extends Backbone.Model
url: "/session"
connect: (email, password) ->
@set 'id', null
@set 'email', email
@set 'password', password
@save {},
error: => @trigger 'login-failed'
success: (data) => @trigger 'login', data.id
disconnect: () ->
@destroy
... | 191640 | class Session extends Backbone.Model
url: "/session"
connect: (email, password) ->
@set 'id', null
@set 'email', email
@set 'password', <PASSWORD>
@save {},
error: => @trigger 'login-failed'
success: (data) => @trigger 'login', data.id
disconnect: () ->
@destroy... | true | class Session extends Backbone.Model
url: "/session"
connect: (email, password) ->
@set 'id', null
@set 'email', email
@set 'password', PI:PASSWORD:<PASSWORD>END_PI
@save {},
error: => @trigger 'login-failed'
success: (data) => @trigger 'login', data.id
disconnect: ... |
[
{
"context": " end: end.data.guid\n\n if this.p.name == \"ziptie\"\n ziptie = this.p \n ziptie.se",
"end": 6432,
"score": 0.6547701358795166,
"start": 6431,
"tag": "NAME",
"value": "z"
},
{
"context": " segments: [e.point, e.point]\n name: \"ziptie... | rails-material/app/assets/javascripts/canvas_ui/ziptie.js.coffee | The-Hybrid-Atelier/program-as-material | 0 | # reader = new FileReader()
# exp = paper.project.exportSVG
# asString: true
# precision: 5
# blob = new Blob([exp], {type: 'application/svg'});
# $.ajax
# type: "POST"
# url:"/notebook/save_file"
# data:
# svg: exp
# success: (data)... | 197785 | # reader = new FileReader()
# exp = paper.project.exportSVG
# asString: true
# precision: 5
# blob = new Blob([exp], {type: 'application/svg'});
# $.ajax
# type: "POST"
# url:"/notebook/save_file"
# data:
# svg: exp
# success: (data)... | true | # reader = new FileReader()
# exp = paper.project.exportSVG
# asString: true
# precision: 5
# blob = new Blob([exp], {type: 'application/svg'});
# $.ajax
# type: "POST"
# url:"/notebook/save_file"
# data:
# svg: exp
# success: (data)... |
[
{
"context": "export default\n name: 'Earth'\n type: 'planet'\n radius: 6371.01\n mass: 5.972",
"end": 29,
"score": 0.9680894017219543,
"start": 24,
"tag": "NAME",
"value": "Earth"
},
{
"context": "64, node: 0}\n satellites:\n moon:\n name: 'The Moon'\n type: 'moon'... | src/data/bodies/earth.coffee | skepticalimagination/solaris-model | 5 | export default
name: 'Earth'
type: 'planet'
radius: 6371.01
mass: 5.97219e24
tilt: 23.45
elements: # actually the Earth-Moon system's barycenter
format: 'jpl-1800-2050'
base: {a: 1.00000261, e: 0.01671123, i: -0.00001531, L: 100.46457166, lp: 102.93768193, node: 0}
cy: {a: 0.00000562, e: -0.0000... | 56272 | export default
name: '<NAME>'
type: 'planet'
radius: 6371.01
mass: 5.97219e24
tilt: 23.45
elements: # actually the Earth-Moon system's barycenter
format: 'jpl-1800-2050'
base: {a: 1.00000261, e: 0.01671123, i: -0.00001531, L: 100.46457166, lp: 102.93768193, node: 0}
cy: {a: 0.00000562, e: -0.000... | true | export default
name: 'PI:NAME:<NAME>END_PI'
type: 'planet'
radius: 6371.01
mass: 5.97219e24
tilt: 23.45
elements: # actually the Earth-Moon system's barycenter
format: 'jpl-1800-2050'
base: {a: 1.00000261, e: 0.01671123, i: -0.00001531, L: 100.46457166, lp: 102.93768193, node: 0}
cy: {a: 0.00000... |
[
{
"context": "###\n Copyright (c) 2014 clowwindy\n \n Permission is hereby granted, free of charge",
"end": 34,
"score": 0.9997297525405884,
"start": 25,
"tag": "USERNAME",
"value": "clowwindy"
},
{
"context": "rPort, port, key, method, timeout, local_address='127.0.0.1') ->\n \n... | src/local.coffee | songyuan88/shadowsocks-nodejs | 0 | ###
Copyright (c) 2014 clowwindy
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | 76973 | ###
Copyright (c) 2014 clowwindy
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | true | ###
Copyright (c) 2014 clowwindy
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... |
[
{
"context": " \n email : email\n password : password\n\n success : (data) ->\n this.se",
"end": 459,
"score": 0.9977819323539734,
"start": 451,
"tag": "PASSWORD",
"value": "password"
}
] | vendor/assets/javascripts/beercan/authentication/user_session.js.coffee | kristianmandrup/ember-beercan | 2 | App.Authentication.UserSession = Ember.Object.extend
auth_token : null
urlBase : ApiUrl.tokens_path
errorMsg : null
signedIn : (->
return (this.get('auth_token') != null)
).property('auth_token')
signIn : (email, password) ->
$.ajax
url : "#{this.get('urlBase')}.json"
... | 176646 | App.Authentication.UserSession = Ember.Object.extend
auth_token : null
urlBase : ApiUrl.tokens_path
errorMsg : null
signedIn : (->
return (this.get('auth_token') != null)
).property('auth_token')
signIn : (email, password) ->
$.ajax
url : "#{this.get('urlBase')}.json"
... | true | App.Authentication.UserSession = Ember.Object.extend
auth_token : null
urlBase : ApiUrl.tokens_path
errorMsg : null
signedIn : (->
return (this.get('auth_token') != null)
).property('auth_token')
signIn : (email, password) ->
$.ajax
url : "#{this.get('urlBase')}.json"
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.