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": " create features\n# HUBOT_AHA_PASS - password for aha user\n# HUBOT_AHA_ACCOUNTNAME - the name of th",
"end": 199,
"score": 0.7308351397514343,
"start": 198,
"tag": "USERNAME",
"value": "a"
},
{
"context": "ate features\n# HUBOT_AHA_PASS - password for aha user\n#... | src/hubot-aha-idea.coffee | denniswalker/hubot-aha-create-idea | 0 | # Description:
# Command for hubot to create an idea in Aha
#
# Configuration:
# HUBOT_AHA_USER - username of user in Aha who has permission to create features
# HUBOT_AHA_PASS - password for aha user
# HUBOT_AHA_ACCOUNTNAME - the name of the Aha.io account
# HUBOT_AHA_IDEA_VISIBILITY - visibility of the new ... | 194067 | # Description:
# Command for hubot to create an idea in Aha
#
# Configuration:
# HUBOT_AHA_USER - username of user in Aha who has permission to create features
# HUBOT_AHA_PASS - password for aha user
# HUBOT_AHA_ACCOUNTNAME - the name of the Aha.io account
# HUBOT_AHA_IDEA_VISIBILITY - visibility of the new ... | true | # Description:
# Command for hubot to create an idea in Aha
#
# Configuration:
# HUBOT_AHA_USER - username of user in Aha who has permission to create features
# HUBOT_AHA_PASS - password for aha user
# HUBOT_AHA_ACCOUNTNAME - the name of the Aha.io account
# HUBOT_AHA_IDEA_VISIBILITY - visibility of the new ... |
[
{
"context": "---------------------------------\n# Copyright 2013 I.B.M.\n# \n# Licensed under the Apache License, Version 2",
"end": 4266,
"score": 0.9986682534217834,
"start": 4261,
"tag": "NAME",
"value": "I.B.M"
}
] | lib-src/coffee/node/config.coffee | pmuellr/nodprof | 6 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
nopt = require "nopt"
_ = require "underscore"
pkg = require "../../package.json"
utils = require "../common/utils"
logger = require "../common/logger"
#--------------------------------------------------... | 105171 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
nopt = require "nopt"
_ = require "underscore"
pkg = require "../../package.json"
utils = require "../common/utils"
logger = require "../common/logger"
#--------------------------------------------------... | true | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
nopt = require "nopt"
_ = require "underscore"
pkg = require "../../package.json"
utils = require "../common/utils"
logger = require "../common/logger"
#--------------------------------------------------... |
[
{
"context": "nge for Bosun -- http://bosun.org.\n#\n# Author:\n# lukas.pustina@gmail.com\n#\n# Todos:\n# (*) Graph queries\n\nrequest = requi",
"end": 1894,
"score": 0.9998924136161804,
"start": 1871,
"tag": "EMAIL",
"value": "lukas.pustina@gmail.com"
},
{
"context": "ta = {\n ... | src/bosun.coffee | lukaspustina/hubot-bosun | 1 | # Description
# Allows hubot to interact with Bosun.
#
# Configuration:
# HUBOT_BOSUN_HOST -- Bosun server URL, e.g., `http://localhost:8070`
# HUBOT_BOSUN_LINK_URL -- If set, this URL will be used for links instead of `HUBOT_BOSUN_HOST`
# HUBOT_BOSUN_ROLE -- If set, auth role required to interact with Bosun. D... | 7564 | # Description
# Allows hubot to interact with Bosun.
#
# Configuration:
# HUBOT_BOSUN_HOST -- Bosun server URL, e.g., `http://localhost:8070`
# HUBOT_BOSUN_LINK_URL -- If set, this URL will be used for links instead of `HUBOT_BOSUN_HOST`
# HUBOT_BOSUN_ROLE -- If set, auth role required to interact with Bosun. D... | true | # Description
# Allows hubot to interact with Bosun.
#
# Configuration:
# HUBOT_BOSUN_HOST -- Bosun server URL, e.g., `http://localhost:8070`
# HUBOT_BOSUN_LINK_URL -- If set, this URL will be used for links instead of `HUBOT_BOSUN_HOST`
# HUBOT_BOSUN_ROLE -- If set, auth role required to interact with Bosun. D... |
[
{
"context": "###\n@author alteredq / http://alteredqualia.com/\n\nPort of greggman's T",
"end": 20,
"score": 0.937816858291626,
"start": 12,
"tag": "NAME",
"value": "alteredq"
},
{
"context": "////////////////\n\n# These tables are straight from Paul Bourke's page:\n# http://local.w... | js-src/MarchingCubes.coffee | eccheng/math126 | 0 | ###
@author alteredq / http://alteredqualia.com/
Port of greggman's ThreeD version of marching cubes to Three.js
http://webglsamples.googlecode.com/hg/blob/blob.html
###
THREE.MarchingCubes = (resolution, material, enableUvs, enableColors) ->
THREE.ImmediateRenderObject.call this
@material = material
@enableUvs ... | 164273 | ###
@author <NAME> / http://alteredqualia.com/
Port of greggman's ThreeD version of marching cubes to Three.js
http://webglsamples.googlecode.com/hg/blob/blob.html
###
THREE.MarchingCubes = (resolution, material, enableUvs, enableColors) ->
THREE.ImmediateRenderObject.call this
@material = material
@enableUvs = ... | true | ###
@author PI:NAME:<NAME>END_PI / http://alteredqualia.com/
Port of greggman's ThreeD version of marching cubes to Three.js
http://webglsamples.googlecode.com/hg/blob/blob.html
###
THREE.MarchingCubes = (resolution, material, enableUvs, enableColors) ->
THREE.ImmediateRenderObject.call this
@material = material
... |
[
{
"context": "###\nCopyright 2012 David Mauro\n\nLicensed under the Apache License, Version 2.0 (",
"end": 30,
"score": 0.9998544454574585,
"start": 19,
"tag": "NAME",
"value": "David Mauro"
}
] | keypress.coffee | cinchcast/Keypress | 0 | ###
Copyright 2012 David Mauro
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distri... | 11766 | ###
Copyright 2012 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed... | true | ###
Copyright 2012 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwa... |
[
{
"context": "TRAVIS\n project.configure\n username: 'shiptester'\n password: config.github.password\n ",
"end": 368,
"score": 0.9997095465660095,
"start": 358,
"tag": "USERNAME",
"value": "shiptester"
},
{
"context": "e\n username: 'shiptester'\n ... | test/gh-pages.coffee | carrot/ship | 151 | request = require 'request'
nodefn = require 'when/node'
config = require '../config'
path = require 'path'
describe 'gh-pages', ->
it 'deploys a complex nested site to an empty repo', ->
project = new Ship(root: path.join(_path, 'deployers/gh-pages'), deployer: 'gh-pages')
if process.env.TRAVIS
... | 35961 | request = require 'request'
nodefn = require 'when/node'
config = require '../config'
path = require 'path'
describe 'gh-pages', ->
it 'deploys a complex nested site to an empty repo', ->
project = new Ship(root: path.join(_path, 'deployers/gh-pages'), deployer: 'gh-pages')
if process.env.TRAVIS
... | true | request = require 'request'
nodefn = require 'when/node'
config = require '../config'
path = require 'path'
describe 'gh-pages', ->
it 'deploys a complex nested site to an empty repo', ->
project = new Ship(root: path.join(_path, 'deployers/gh-pages'), deployer: 'gh-pages')
if process.env.TRAVIS
... |
[
{
"context": "###\n @author Gilles Gerlinger\n Copyright 2016. All rights reserved.\n###\n\nlog =",
"end": 30,
"score": 0.9998587965965271,
"start": 14,
"tag": "NAME",
"value": "Gilles Gerlinger"
}
] | src/easyRpc.coffee | gigerlin/easyRPC | 1 | ###
@author Gilles Gerlinger
Copyright 2016. All rights reserved.
###
log = require './log'
cnf = require './config'
className = 'class name'
#
# Client Side
#
exports.Remote = class Remote
constructor: (options) ->
@[className] = options.class
count = 0; uid = cnf.random()
ctx = use:options.... | 122447 | ###
@author <NAME>
Copyright 2016. All rights reserved.
###
log = require './log'
cnf = require './config'
className = 'class name'
#
# Client Side
#
exports.Remote = class Remote
constructor: (options) ->
@[className] = options.class
count = 0; uid = cnf.random()
ctx = use:options.use, reque... | true | ###
@author PI:NAME:<NAME>END_PI
Copyright 2016. All rights reserved.
###
log = require './log'
cnf = require './config'
className = 'class name'
#
# Client Side
#
exports.Remote = class Remote
constructor: (options) ->
@[className] = options.class
count = 0; uid = cnf.random()
ctx = use:opti... |
[
{
"context": "ck) ->\n monthKey = monthToLoad.format 'YYYY-MM'\n unless window.app.mainStore.loadedMonths",
"end": 428,
"score": 0.657389760017395,
"start": 426,
"tag": "KEY",
"value": "MM"
}
] | client/app/collections/events.coffee | kondaldurgam/cozy-calendar | 2 | ScheduleItemsCollection = require './scheduleitems'
Event = require '../models/event'
request = require 'lib/request'
module.exports = class EventCollection extends ScheduleItemsCollection
model: Event
url: 'events'
# Check if given month is already. If not, request the server to retrieve
# events o... | 213110 | ScheduleItemsCollection = require './scheduleitems'
Event = require '../models/event'
request = require 'lib/request'
module.exports = class EventCollection extends ScheduleItemsCollection
model: Event
url: 'events'
# Check if given month is already. If not, request the server to retrieve
# events o... | true | ScheduleItemsCollection = require './scheduleitems'
Event = require '../models/event'
request = require 'lib/request'
module.exports = class EventCollection extends ScheduleItemsCollection
model: Event
url: 'events'
# Check if given month is already. If not, request the server to retrieve
# events o... |
[
{
"context": "0'\n educationLevel: ['Middle']\n firstName: 'Mr'\n lastName: 'Bean'\n }\n\n beforeEach ->\n sp",
"end": 1426,
"score": 0.9995998740196228,
"start": 1424,
"tag": "NAME",
"value": "Mr"
},
{
"context": "el: ['Middle']\n firstName: 'Mr'\n lastName: 'Bea... | test/app/views/teachers/ConvertToTeacherAccountView.spec.coffee | gugumiao/codecombat | 2 | ConvertToTeacherAccountView = require 'views/teachers/ConvertToTeacherAccountView'
storage = require 'core/storage'
forms = require 'core/forms'
describe '/teachers/update-account', ->
describe 'when logged out', ->
it 'redirects to /teachers/signup', ->
spyOn(me, 'isAnonymous').and.returnValue(true)
... | 30797 | ConvertToTeacherAccountView = require 'views/teachers/ConvertToTeacherAccountView'
storage = require 'core/storage'
forms = require 'core/forms'
describe '/teachers/update-account', ->
describe 'when logged out', ->
it 'redirects to /teachers/signup', ->
spyOn(me, 'isAnonymous').and.returnValue(true)
... | true | ConvertToTeacherAccountView = require 'views/teachers/ConvertToTeacherAccountView'
storage = require 'core/storage'
forms = require 'core/forms'
describe '/teachers/update-account', ->
describe 'when logged out', ->
it 'redirects to /teachers/signup', ->
spyOn(me, 'isAnonymous').and.returnValue(true)
... |
[
{
"context": "http://maps.googleapis.com/maps/api/staticmap?key=AIzaSyCmfR2XMO4sljkBUtkxrE3aizEn9AL39zw&size=640x480&path=weight:4%7Ccolor:red%7Cenc:#{en",
"end": 346,
"score": 0.99974524974823,
"start": 307,
"tag": "KEY",
"value": "AIzaSyCmfR2XMO4sljkBUtkxrE3aizEn9AL39zw"
},
{
"cont... | assets/js/models/Activity.coffee | jsilland/delta | 0 | Soliton.module 'Soliton.Cotton.Models'
class Soliton.Cotton.Models.Activity extends Backbone.Model
url: ->
"/strava/activities/#{@id}"
fullAthleteName: ->
"#{@get('athlete').firstname} #{@get('athlete').lastname}"
largeMapUrl: ->
"http://maps.googleapis.com/maps/api/staticmap?key=AIzaSyCmfR2XM... | 110314 | Soliton.module 'Soliton.Cotton.Models'
class Soliton.Cotton.Models.Activity extends Backbone.Model
url: ->
"/strava/activities/#{@id}"
fullAthleteName: ->
"#{@get('athlete').firstname} #{@get('athlete').lastname}"
largeMapUrl: ->
"http://maps.googleapis.com/maps/api/staticmap?key=<KEY>&size=64... | true | Soliton.module 'Soliton.Cotton.Models'
class Soliton.Cotton.Models.Activity extends Backbone.Model
url: ->
"/strava/activities/#{@id}"
fullAthleteName: ->
"#{@get('athlete').firstname} #{@get('athlete').lastname}"
largeMapUrl: ->
"http://maps.googleapis.com/maps/api/staticmap?key=PI:KEY:<KEY>E... |
[
{
"context": "tory: configuration.buildDir)\n keypath = keygen('signature/')\n fs.readFile keypath, (err, data) ->\n crx.",
"end": 700,
"score": 0.6712501645088196,
"start": 691,
"tag": "KEY",
"value": "signature"
}
] | compilation/script-package.coffee | romanornr/ledger-wallet-crw | 0 |
archiver = require 'archiver'
zip = archiver 'zip'
fs = require 'fs'
{ensureDistDir, ensureSignatureDir} = require './utils'
ChromeExtension = require 'crx'
rsa = require 'node-rsa'
path = require 'path'
join = path.join
resolve = path.resolve
Q = require 'q'
keygen = (dir) -... | 225455 |
archiver = require 'archiver'
zip = archiver 'zip'
fs = require 'fs'
{ensureDistDir, ensureSignatureDir} = require './utils'
ChromeExtension = require 'crx'
rsa = require 'node-rsa'
path = require 'path'
join = path.join
resolve = path.resolve
Q = require 'q'
keygen = (dir) -... | true |
archiver = require 'archiver'
zip = archiver 'zip'
fs = require 'fs'
{ensureDistDir, ensureSignatureDir} = require './utils'
ChromeExtension = require 'crx'
rsa = require 'node-rsa'
path = require 'path'
join = path.join
resolve = path.resolve
Q = require 'q'
keygen = (dir) -... |
[
{
"context": "om = (->\n seed = 49734321\n ->\n \n # Robert Jenkins' 32 bit integer hash function.\n seed = ((see",
"end": 3149,
"score": 0.999686598777771,
"start": 3135,
"tag": "NAME",
"value": "Robert Jenkins"
}
] | deps/v8/test/js-perf-test/base.coffee | lxe/io.coffee | 0 | # Copyright 2014 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Performance.now is used in latency benchmarks, the fallback is Date.now.
# Simple framework for running the benchmark suites and
# computing a score bas... | 152181 | # Copyright 2014 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Performance.now is used in latency benchmarks, the fallback is Date.now.
# Simple framework for running the benchmark suites and
# computing a score bas... | true | # Copyright 2014 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Performance.now is used in latency benchmarks, the fallback is Date.now.
# Simple framework for running the benchmark suites and
# computing a score bas... |
[
{
"context": "\napp.use authenticate.middleware(\n encrypt_key: 'Pa2#a'\n validate_key: 'Fir@n2e'\n)\n\n# Authenticate.\n# N",
"end": 2519,
"score": 0.9993739128112793,
"start": 2514,
"tag": "KEY",
"value": "Pa2#a"
},
{
"context": "ddleware(\n encrypt_key: 'Pa2#a'\n validate_key:... | server/server.coffee | ohsu-qin/qiprofile | 0 | #
# The Quantitative Imaging Profile Express server application.
#
express = require 'express'
http = require 'http'
path = require 'path'
mkdirp = require 'mkdirp'
net = require 'net'
fs = require 'fs'
logger = require 'express-bunyan-logger'
authenticate = require 'authenticate'
spawn = require './spawn'
favicon = re... | 103395 | #
# The Quantitative Imaging Profile Express server application.
#
express = require 'express'
http = require 'http'
path = require 'path'
mkdirp = require 'mkdirp'
net = require 'net'
fs = require 'fs'
logger = require 'express-bunyan-logger'
authenticate = require 'authenticate'
spawn = require './spawn'
favicon = re... | true | #
# The Quantitative Imaging Profile Express server application.
#
express = require 'express'
http = require 'http'
path = require 'path'
mkdirp = require 'mkdirp'
net = require 'net'
fs = require 'fs'
logger = require 'express-bunyan-logger'
authenticate = require 'authenticate'
spawn = require './spawn'
favicon = re... |
[
{
"context": "atabase}\"\n\nsecure = !!/https/.exec host\nauth = {username, password}\nconn = new Cradle.Connection {host, ",
"end": 678,
"score": 0.9969593286514282,
"start": 670,
"tag": "USERNAME",
"value": "username"
},
{
"context": "le.Connection {host, port, secure, auth: us... | boot.coffee | nextorigin/flat-white | 0 | #!./node_modules/.bin/iced
url = require "url"
Cradle = require "cradle"
errify = require "errify"
CloudantUser = require "cloudant-user"
CouchApp = require "couchapp"
_security = require "./_security-docs/_security"
## Couch server admin credentials
username = ""
password = ""
## URL, Da... | 185206 | #!./node_modules/.bin/iced
url = require "url"
Cradle = require "cradle"
errify = require "errify"
CloudantUser = require "cloudant-user"
CouchApp = require "couchapp"
_security = require "./_security-docs/_security"
## Couch server admin credentials
username = ""
password = ""
## URL, Da... | true | #!./node_modules/.bin/iced
url = require "url"
Cradle = require "cradle"
errify = require "errify"
CloudantUser = require "cloudant-user"
CouchApp = require "couchapp"
_security = require "./_security-docs/_security"
## Couch server admin credentials
username = ""
password = ""
## URL, Da... |
[
{
"context": "ittle Mocha Reference ========\nhttps://github.com/visionmedia/should.js\nhttps://github.com/visionmedia/mocha\n\nM",
"end": 150,
"score": 0.9995959997177124,
"start": 139,
"tag": "USERNAME",
"value": "visionmedia"
},
{
"context": "thub.com/visionmedia/should.js\nhttps:... | src/test/node-sportsdata_test.coffee | pureawesome/node-sportsdata | 1 | 'use strict'
node_sportsdata = require('../lib/node-sportsdata')
###
======== A Handy Little Mocha Reference ========
https://github.com/visionmedia/should.js
https://github.com/visionmedia/mocha
Mocha hooks:
before ()-> # before describe
after ()-> # after describe
beforeEach ()-> # before each it
afterEach... | 150983 | 'use strict'
node_sportsdata = require('../lib/node-sportsdata')
###
======== A Handy Little Mocha Reference ========
https://github.com/visionmedia/should.js
https://github.com/visionmedia/mocha
Mocha hooks:
before ()-> # before describe
after ()-> # after describe
beforeEach ()-> # before each it
afterEach... | true | 'use strict'
node_sportsdata = require('../lib/node-sportsdata')
###
======== A Handy Little Mocha Reference ========
https://github.com/visionmedia/should.js
https://github.com/visionmedia/mocha
Mocha hooks:
before ()-> # before describe
after ()-> # after describe
beforeEach ()-> # before each it
afterEach... |
[
{
"context": "view.followed = new Backbone.Collection [{ name: 'Foo Bar', id: 'foo-bar' }, { name: 'Baz Qux', id: 'baz-qu",
"end": 5233,
"score": 0.7485669255256653,
"start": 5226,
"tag": "NAME",
"value": "Foo Bar"
},
{
"context": "ion [{ name: 'Foo Bar', id: 'foo-bar' }, { name: 'Ba... | src/mobile/apps/personalize/test/client/client.coffee | streamich/force | 1 | _ = require 'underscore'
Backbone = require 'backbone'
sinon = require 'sinon'
PersonalizeState = require '../../client/personalize_state.coffee'
CurrentUser = require '../../../../models/current_user.coffee'
benv = require 'benv'
{ resolve } = require 'path'
describe 'Personalization view code', ->
beforeEach (don... | 48907 | _ = require 'underscore'
Backbone = require 'backbone'
sinon = require 'sinon'
PersonalizeState = require '../../client/personalize_state.coffee'
CurrentUser = require '../../../../models/current_user.coffee'
benv = require 'benv'
{ resolve } = require 'path'
describe 'Personalization view code', ->
beforeEach (don... | true | _ = require 'underscore'
Backbone = require 'backbone'
sinon = require 'sinon'
PersonalizeState = require '../../client/personalize_state.coffee'
CurrentUser = require '../../../../models/current_user.coffee'
benv = require 'benv'
{ resolve } = require 'path'
describe 'Personalization view code', ->
beforeEach (don... |
[
{
"context": "a font name for use later\n doc.registerFont('Charter', 'assets/charter.ttf')\n\n # Set the font, draw s",
"end": 134,
"score": 0.6111172437667847,
"start": 131,
"tag": "NAME",
"value": "ter"
},
{
"context": "\n # Set the font, draw some text\n doc.font('Charter')\n... | pitfall/ptest/test12.coffee | mbutterick/typesetting | 22 | PDFDocument = require 'pdfkit'
fs = require 'fs'
make = (doc) ->
# Register a font name for use later
doc.registerFont('Charter', 'assets/charter.ttf')
# Set the font, draw some text
doc.font('Charter')
.fontSize(25)
.text('Some text with an embedded font', 100, 100, {width: false})
... | 111803 | PDFDocument = require 'pdfkit'
fs = require 'fs'
make = (doc) ->
# Register a font name for use later
doc.registerFont('Char<NAME>', 'assets/charter.ttf')
# Set the font, draw some text
doc.font('Char<NAME>')
.fontSize(25)
.text('Some text with an embedded font', 100, 100, {width: false})
... | true | PDFDocument = require 'pdfkit'
fs = require 'fs'
make = (doc) ->
# Register a font name for use later
doc.registerFont('CharPI:NAME:<NAME>END_PI', 'assets/charter.ttf')
# Set the font, draw some text
doc.font('CharPI:NAME:<NAME>END_PI')
.fontSize(25)
.text('Some text with an embedded font', 100, 1... |
[
{
"context": " a = document.createElement 'a'\n link = 'john.doe@johnny.com'\n a.href = 'mailto:' + link\n a.innerTex",
"end": 2836,
"score": 0.9998638033866882,
"start": 2817,
"tag": "EMAIL",
"value": "john.doe@johnny.com"
}
] | spec/chattifier.spec.coffee | kubkon/email-chattifier | 0 | jsdom = require("jsdom").jsdom
Chattifier = require "../src/chattifier.coffee"
describe "A suite of Chattifier tests:", ->
chattifier = {}
document = {}
node = {}
beforeEach ->
# create mock documentument
document = jsdom '<html></html>'
# create mock node
node = document.createElement 'div'
... | 211428 | jsdom = require("jsdom").jsdom
Chattifier = require "../src/chattifier.coffee"
describe "A suite of Chattifier tests:", ->
chattifier = {}
document = {}
node = {}
beforeEach ->
# create mock documentument
document = jsdom '<html></html>'
# create mock node
node = document.createElement 'div'
... | true | jsdom = require("jsdom").jsdom
Chattifier = require "../src/chattifier.coffee"
describe "A suite of Chattifier tests:", ->
chattifier = {}
document = {}
node = {}
beforeEach ->
# create mock documentument
document = jsdom '<html></html>'
# create mock node
node = document.createElement 'div'
... |
[
{
"context": "fault']\n\n p1 = P.create()\n p1.name('foo')\n p1.age(1)\n\n p1Obj =\n ",
"end": 380,
"score": 0.8667365908622742,
"start": 377,
"tag": "NAME",
"value": "foo"
},
{
"context": " p1.age(1)\n\n p1Obj =\n name: 'fo... | samplenode/samplenode/node_modules/nodejs-model/test/test-attributes-tags.coffee | thakurarun/Basic-nodejs-express-app | 19 | u = require 'util'
model = require '../lib/index'
_ = require 'underscore'
describe 'Attributes Tags', ->
it "Ensure default tag is 'default'", (done) ->
P = model("Person").attr('name').attr('age')
P.attrsDefs().name.tags.should.deep.equal ['default']
P.attrsDefs().age.tags.should.deep.equ... | 165179 | u = require 'util'
model = require '../lib/index'
_ = require 'underscore'
describe 'Attributes Tags', ->
it "Ensure default tag is 'default'", (done) ->
P = model("Person").attr('name').attr('age')
P.attrsDefs().name.tags.should.deep.equal ['default']
P.attrsDefs().age.tags.should.deep.equ... | true | u = require 'util'
model = require '../lib/index'
_ = require 'underscore'
describe 'Attributes Tags', ->
it "Ensure default tag is 'default'", (done) ->
P = model("Person").attr('name').attr('age')
P.attrsDefs().name.tags.should.deep.equal ['default']
P.attrsDefs().age.tags.should.deep.equ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9985394477844238,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-client-race-2.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... | 163850 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": " }\n ],\n \"message\": null,\n \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJPbmxpbmUgSldUIEJ1aWxkZXIiLCJpYXQiOjE1MTk4OTI3MTMsImV4cCI6MTU1MTQyODcxMywiYXVkIjoid3d3LmV4YW1wbGUuY29tIiwic3ViIjoianJvY2tldEBleGFtcGxlLmNvbSJ9._PWCLR7lgLmX3qA3gVnAhyGj-wt3WjDeNaml_tOunJM\"\n}\n... | server/src/upgrade.coffee | muonium/docs | 0 | ###
@api {get} /upgrade/history Get upgrade history
@apiName GetHistory
@apiGroup Upgrade
@apiHeader {String} token Token (Authorization: Bearer).
@apiSuccess (Success 200) {String} token Current token.
@apiSuccess (Success 200) {Object[]} data Array of objects containing:
@apiSu... | 82100 | ###
@api {get} /upgrade/history Get upgrade history
@apiName GetHistory
@apiGroup Upgrade
@apiHeader {String} token Token (Authorization: Bearer).
@apiSuccess (Success 200) {String} token Current token.
@apiSuccess (Success 200) {Object[]} data Array of objects containing:
@apiSu... | true | ###
@api {get} /upgrade/history Get upgrade history
@apiName GetHistory
@apiGroup Upgrade
@apiHeader {String} token Token (Authorization: Bearer).
@apiSuccess (Success 200) {String} token Current token.
@apiSuccess (Success 200) {Object[]} data Array of objects containing:
@apiSu... |
[
{
"context": " = options.sync\n BASE_COUNT = 5\n\n PICK_KEYS = ['id', 'name']\n\n describe \"hasOne #{options.$paramete",
"end": 631,
"score": 0.7990486025810242,
"start": 629,
"tag": "KEY",
"value": "id"
},
{
"context": "urn done() if options.embed\n\n related_key = 'reverse... | test/spec/sync/relational/has_one.tests.coffee | dk-dev/backbone-orm | 54 | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... | 37688 | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... | true | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... |
[
{
"context": "s to: Helpers -> getProjects\n#\n# Author(s): Cyrus Manouchehrian\n# Will Zuill\n######################",
"end": 1180,
"score": 0.999894380569458,
"start": 1161,
"tag": "NAME",
"value": "Cyrus Manouchehrian"
},
{
"context": " Author(s): Cyrus Man... | src/srl-openapi-proxy.coffee | cyrusm86/srl_chatbot | 0 | ###
Copyright 2016 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | 91533 | ###
Copyright 2016 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | true | ###
Copyright 2016 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... |
[
{
"context": " @collection = new Luca.Collection([id:\"1\",name:\"jon\"])\n @field = new Luca.fields.CheckboxArray(col",
"end": 111,
"score": 0.9983407258987427,
"start": 108,
"tag": "NAME",
"value": "jon"
}
] | spec/javascripts/components/fields/checkbox_array_spec.coffee | datapimp/luca | 4 | describe 'The Checkbox Array Field', ->
beforeEach ->
@collection = new Luca.Collection([id:"1",name:"jon"])
@field = new Luca.fields.CheckboxArray(collection: @collection)
$('body').append("<div id='jasmine-helper' style='display:none' />")
$('#jasmine-helper').html( @field.render().el )
it "sho... | 86113 | describe 'The Checkbox Array Field', ->
beforeEach ->
@collection = new Luca.Collection([id:"1",name:"<NAME>"])
@field = new Luca.fields.CheckboxArray(collection: @collection)
$('body').append("<div id='jasmine-helper' style='display:none' />")
$('#jasmine-helper').html( @field.render().el )
it "... | true | describe 'The Checkbox Array Field', ->
beforeEach ->
@collection = new Luca.Collection([id:"1",name:"PI:NAME:<NAME>END_PI"])
@field = new Luca.fields.CheckboxArray(collection: @collection)
$('body').append("<div id='jasmine-helper' style='display:none' />")
$('#jasmine-helper').html( @field.render(... |
[
{
"context": " 'exponent': ''\n 'AED':\n 'name': 'UAE Dirham'\n 'code': '784'\n 'country': 'UNITED",
"end": 299,
"score": 0.9976462125778198,
"start": 289,
"tag": "NAME",
"value": "UAE Dirham"
},
{
"context": " 'exponent': '2'\n 'ALL':\n '... | src/genesis/helpers/currency.coffee | Pogix3m/genesis.js | 2 | bd = require 'bigdecimal'
_ = require "underscore"
class Currency
constructor: ->
@iso4217 =
'':
'name': 'No universal currency'
'code': ''
'country': 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS'
'exponent': ''
'AED':
'name': 'UAE Dirham'
'code': '78... | 34389 | bd = require 'bigdecimal'
_ = require "underscore"
class Currency
constructor: ->
@iso4217 =
'':
'name': 'No universal currency'
'code': ''
'country': 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS'
'exponent': ''
'AED':
'name': '<NAME>'
'code': '784'
... | true | bd = require 'bigdecimal'
_ = require "underscore"
class Currency
constructor: ->
@iso4217 =
'':
'name': 'No universal currency'
'code': ''
'country': 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS'
'exponent': ''
'AED':
'name': 'PI:NAME:<NAME>END_PI'
'... |
[
{
"context": "#\n# Usefull Constants\n# @author : David Ronai / @Makio64 / makiopolis.com\n#\n\nclass Constants\n\n\t",
"end": 45,
"score": 0.9998668432235718,
"start": 34,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "#\n# Usefull Constants\n# @author : David Ronai / @Makio... | test/src/coffee/core/Constants.coffee | Makio64/christmasxp2015 | 65 | #
# Usefull Constants
# @author : David Ronai / @Makio64 / makiopolis.com
#
class Constants
@PI2 = Math.PI*2
@M2PI = 2/Math.PI
@M4PI = 4/Math.PI
@M8PI = 8/Math.PI
@RAD2DEGREE = 180 / Math.PI
@DEGREE2RAD = Math.PI / 180
@SQRT2 = Math.sqrt(2)
@DEBUG = true
@ZERO = new THREE.Vector3(0)
constructor:()->
... | 219559 | #
# Usefull Constants
# @author : <NAME> / @Makio64 / m<EMAIL>
#
class Constants
@PI2 = Math.PI*2
@M2PI = 2/Math.PI
@M4PI = 4/Math.PI
@M8PI = 8/Math.PI
@RAD2DEGREE = 180 / Math.PI
@DEGREE2RAD = Math.PI / 180
@SQRT2 = Math.sqrt(2)
@DEBUG = true
@ZERO = new THREE.Vector3(0)
constructor:()->
console.war... | true | #
# Usefull Constants
# @author : PI:NAME:<NAME>END_PI / @Makio64 / mPI:EMAIL:<EMAIL>END_PI
#
class Constants
@PI2 = Math.PI*2
@M2PI = 2/Math.PI
@M4PI = 4/Math.PI
@M8PI = 8/Math.PI
@RAD2DEGREE = 180 / Math.PI
@DEGREE2RAD = Math.PI / 180
@SQRT2 = Math.sqrt(2)
@DEBUG = true
@ZERO = new THREE.Vector3(0)
c... |
[
{
"context": "//localhost:3000/'\n\npusher_keys = \n production: '19beda1f7e2ca403abab'\n staging: '1f4ef2d9292c6ac10cdc'\n development:",
"end": 403,
"score": 0.9996153116226196,
"start": 383,
"tag": "KEY",
"value": "19beda1f7e2ca403abab"
},
{
"context": "\n production: '19beda1... | app/config.coffee | aredotna/ps1expo | 0 | config =
api: {}
pusher: {}
errbit: {}
production = yes # MUST BE YES/NO
staging = false # MUST BE TRUE/FALSE
environment =
if production
'production'
else if staging
'staging'
else
'development'
environments =
production: 'http://api.are.na/'
staging: 'http://staging.are.na/'
develo... | 69791 | config =
api: {}
pusher: {}
errbit: {}
production = yes # MUST BE YES/NO
staging = false # MUST BE TRUE/FALSE
environment =
if production
'production'
else if staging
'staging'
else
'development'
environments =
production: 'http://api.are.na/'
staging: 'http://staging.are.na/'
develo... | true | config =
api: {}
pusher: {}
errbit: {}
production = yes # MUST BE YES/NO
staging = false # MUST BE TRUE/FALSE
environment =
if production
'production'
else if staging
'staging'
else
'development'
environments =
production: 'http://api.are.na/'
staging: 'http://staging.are.na/'
develo... |
[
{
"context": "gs off to ipfs.\n [(No Title)](https://github.com/wesharehoodies/slate-react-rich-text-editor/tree/part-2)\n \n \n ",
"end": 286,
"score": 0.9871376156806946,
"start": 272,
"tag": "USERNAME",
"value": "wesharehoodies"
},
{
"context": "nEE993UM4jikk | [ENGR003](https:... | notes/aa9ff3c2-4ec8-49df-8664-d9eef5d92c26.cson | wikiGrandfleet/gravRepo | 0 | createdAt: "2018-09-25T01:44:28.157Z"
updatedAt: "2018-10-04T04:33:46.024Z"
type: "MARKDOWN_NOTE"
folder: "5cef29a72e245ea24273"
title: "IPFS Dapp"
content: '''
### IPFS Dapp
Add text editor eventually and send things off to ipfs.
[(No Title)](https://github.com/wesharehoodies/slate-react-rich-text-editor/tree... | 130172 | createdAt: "2018-09-25T01:44:28.157Z"
updatedAt: "2018-10-04T04:33:46.024Z"
type: "MARKDOWN_NOTE"
folder: "5cef29a72e245ea24273"
title: "IPFS Dapp"
content: '''
### IPFS Dapp
Add text editor eventually and send things off to ipfs.
[(No Title)](https://github.com/wesharehoodies/slate-react-rich-text-editor/tree... | true | createdAt: "2018-09-25T01:44:28.157Z"
updatedAt: "2018-10-04T04:33:46.024Z"
type: "MARKDOWN_NOTE"
folder: "5cef29a72e245ea24273"
title: "IPFS Dapp"
content: '''
### IPFS Dapp
Add text editor eventually and send things off to ipfs.
[(No Title)](https://github.com/wesharehoodies/slate-react-rich-text-editor/tree... |
[
{
"context": " Schema __dirname + '/..', database: '', username: DBUSER, password: DBPASS\nschema.log = (q) -> console.log",
"end": 217,
"score": 0.960623562335968,
"start": 211,
"tag": "USERNAME",
"value": "DBUSER"
},
{
"context": "+ '/..', database: '', username: DBUSER, password: ... | test/migration.coffee | BlakeLucchesi/mysql-adapter | 10 | juggling = require('jugglingdb')
Schema = juggling.Schema
Text = Schema.Text
DBNAME = 'myapp_test'
DBUSER = 'root'
DBPASS = ''
DBENGINE = 'mysql'
schema = new Schema __dirname + '/..', database: '', username: DBUSER, password: DBPASS
schema.log = (q) -> console.log q
query = (sql, cb) ->
schema.adapter.query sql... | 215023 | juggling = require('jugglingdb')
Schema = juggling.Schema
Text = Schema.Text
DBNAME = 'myapp_test'
DBUSER = 'root'
DBPASS = ''
DBENGINE = 'mysql'
schema = new Schema __dirname + '/..', database: '', username: DBUSER, password: <PASSWORD>
schema.log = (q) -> console.log q
query = (sql, cb) ->
schema.adapter.query... | true | juggling = require('jugglingdb')
Schema = juggling.Schema
Text = Schema.Text
DBNAME = 'myapp_test'
DBUSER = 'root'
DBPASS = ''
DBENGINE = 'mysql'
schema = new Schema __dirname + '/..', database: '', username: DBUSER, password: PI:PASSWORD:<PASSWORD>END_PI
schema.log = (q) -> console.log q
query = (sql, cb) ->
sc... |
[
{
"context": "ves, linked to points in 0, 1, or 2 scatterplots\n# Karl W Broman\n\niplotCurves = (curve_data, scatter1_data, scatte",
"end": 101,
"score": 0.9998623728752136,
"start": 88,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/charts/iplotCurves.coffee | FourchettesDeInterActive/qtlcharts | 0 | # iplotCurves: Plot of a bunch of curves, linked to points in 0, 1, or 2 scatterplots
# Karl W Broman
iplotCurves = (curve_data, scatter1_data, scatter2_data, chartOpts) ->
# chartOpts start
htop = chartOpts?.htop ? 500 # height of curves chart in pixels
hbot = chartOpts?.hbot ? 500 # height of scatterplo... | 26986 | # iplotCurves: Plot of a bunch of curves, linked to points in 0, 1, or 2 scatterplots
# <NAME>
iplotCurves = (curve_data, scatter1_data, scatter2_data, chartOpts) ->
# chartOpts start
htop = chartOpts?.htop ? 500 # height of curves chart in pixels
hbot = chartOpts?.hbot ? 500 # height of scatterplots in p... | true | # iplotCurves: Plot of a bunch of curves, linked to points in 0, 1, or 2 scatterplots
# PI:NAME:<NAME>END_PI
iplotCurves = (curve_data, scatter1_data, scatter2_data, chartOpts) ->
# chartOpts start
htop = chartOpts?.htop ? 500 # height of curves chart in pixels
hbot = chartOpts?.hbot ? 500 # height of sca... |
[
{
"context": "ducts: ->\n products = [\n {\n name: \"HTC Wildfire\", description: \"Old android phone\",\n manuf",
"end": 111,
"score": 0.6804338097572327,
"start": 99,
"tag": "NAME",
"value": "HTC Wildfire"
}
] | server/lib/fixtures.coffee | lucassus/angular-coffee-seed | 2 | faker = require("Faker")
module.exports =
products: ->
products = [
{
name: "HTC Wildfire", description: "Old android phone",
manufacturer: "HTC",
price: 499.99, discount: 10
}
{ name: "iPhone", price: 2500 }
{ name: "Nexus One", price: 1000, discount: 7 }
{... | 24573 | faker = require("Faker")
module.exports =
products: ->
products = [
{
name: "<NAME>", description: "Old android phone",
manufacturer: "HTC",
price: 499.99, discount: 10
}
{ name: "iPhone", price: 2500 }
{ name: "Nexus One", price: 1000, discount: 7 }
{ name:... | true | faker = require("Faker")
module.exports =
products: ->
products = [
{
name: "PI:NAME:<NAME>END_PI", description: "Old android phone",
manufacturer: "HTC",
price: 499.99, discount: 10
}
{ name: "iPhone", price: 2500 }
{ name: "Nexus One", price: 1000, discount: 7 }... |
[
{
"context": ".lint(nodes(\n '''\n field = 'howdy'\n obj =\n \"#{field}\": 1\n",
"end": 6326,
"score": 0.545425534248352,
"start": 6323,
"tag": "NAME",
"value": "how"
}
] | test/ScopeLinter/unused.coffee | zmillman/coffeescope | 0 | "use strict"
{nodes} = require "coffeescript"
ScopeLinter = require "../../src/ScopeLinter"
describe "ScopeLinter/unused", ->
it "matches trivial cases", ->
ScopeLinter.default().lint(nodes(
"""
foo = "bar"
{bar} = "bar"
"""
), {
unused_... | 153689 | "use strict"
{nodes} = require "coffeescript"
ScopeLinter = require "../../src/ScopeLinter"
describe "ScopeLinter/unused", ->
it "matches trivial cases", ->
ScopeLinter.default().lint(nodes(
"""
foo = "bar"
{bar} = "bar"
"""
), {
unused_... | true | "use strict"
{nodes} = require "coffeescript"
ScopeLinter = require "../../src/ScopeLinter"
describe "ScopeLinter/unused", ->
it "matches trivial cases", ->
ScopeLinter.default().lint(nodes(
"""
foo = "bar"
{bar} = "bar"
"""
), {
unused_... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993589520454407,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "mmon.mustCall((name, cb) ->\n assert.equal name, \"hello\"\n assert.equal cb, listener1\n r... | test/simple/test-event-emitter-remove-listeners.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... | 129059 | # 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": "\t\"modules/localStorage\"\n], (App) ->\n\tCACHE_KEY = \"countlyEvents\"\n\n\tApp.factory \"event_tracking\", (localStorage) -",
"end": 80,
"score": 0.9937960505485535,
"start": 67,
"tag": "KEY",
"value": "countlyEvents"
}
] | public/coffee/main/event.coffee | bowlofstew/web-sharelatex | 0 | define [
"base"
"modules/localStorage"
], (App) ->
CACHE_KEY = "countlyEvents"
App.factory "event_tracking", (localStorage) ->
_getEventCache = () ->
eventCache = localStorage CACHE_KEY
# Initialize as an empy object if the event cache is still empty.
if !eventCache?
eventCache = {}
localStora... | 197522 | define [
"base"
"modules/localStorage"
], (App) ->
CACHE_KEY = "<KEY>"
App.factory "event_tracking", (localStorage) ->
_getEventCache = () ->
eventCache = localStorage CACHE_KEY
# Initialize as an empy object if the event cache is still empty.
if !eventCache?
eventCache = {}
localStorage CACHE... | true | define [
"base"
"modules/localStorage"
], (App) ->
CACHE_KEY = "PI:KEY:<KEY>END_PI"
App.factory "event_tracking", (localStorage) ->
_getEventCache = () ->
eventCache = localStorage CACHE_KEY
# Initialize as an empy object if the event cache is still empty.
if !eventCache?
eventCache = {}
local... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9984683394432068,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/pummel/test-stream-pipe-multi.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... | 98259 | # 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": ".name\n switch f.mappedType\n when 'username' then @credential.username\n when 'passwo",
"end": 2377,
"score": 0.9928306937217712,
"start": 2369,
"tag": "USERNAME",
"value": "username"
},
{
"context": "sername\n when 'password' then @cr... | src/models/tasks/watch_static_page_task.coffee | nodeswork/nodeswork-watchmen | 0 | _ = require 'underscore'
co = require 'co'
nodeswork = require 'nodeswork'
winston = require 'winston'
CredentialSchemaPlugin = require '../credential_plugin'
module.exports = WatchStaticPageTaskSchema = nodeswork.Models.Task.schema.extend {
... | 164689 | _ = require 'underscore'
co = require 'co'
nodeswork = require 'nodeswork'
winston = require 'winston'
CredentialSchemaPlugin = require '../credential_plugin'
module.exports = WatchStaticPageTaskSchema = nodeswork.Models.Task.schema.extend {
... | true | _ = require 'underscore'
co = require 'co'
nodeswork = require 'nodeswork'
winston = require 'winston'
CredentialSchemaPlugin = require '../credential_plugin'
module.exports = WatchStaticPageTaskSchema = nodeswork.Models.Task.schema.extend {
... |
[
{
"context": "s.google.com/a/hyperbotic.com/spreadsheet/pub?key=0AvVyfy1LBTe3dFdIa1ItMTN2Q0k4R05qV2VtbWYzbFE&output=html\")\n\n Hy.Pages.StartPage.addObserver",
"end": 968,
"score": 0.9996896386146545,
"start": 924,
"tag": "KEY",
"value": "0AvVyfy1LBTe3dFdIa1ItMTN2Q0k4R05qV2VtbWYzbFE"
}... | app-src/console_app.coffee | hyperbotic/crowdgame-trivially-pro | 0 | # ==================================================================================================================
#
# IT IS REALLY IMPORTANT THAT App-level event handlers return null.
# Ti.App.addEventListener("eventName", (event)=>null)
#
#
class ConsoleApp extends Hy.UI.Application
gInstance = null
# ----... | 182122 | # ==================================================================================================================
#
# IT IS REALLY IMPORTANT THAT App-level event handlers return null.
# Ti.App.addEventListener("eventName", (event)=>null)
#
#
class ConsoleApp extends Hy.UI.Application
gInstance = null
# ----... | true | # ==================================================================================================================
#
# IT IS REALLY IMPORTANT THAT App-level event handlers return null.
# Ti.App.addEventListener("eventName", (event)=>null)
#
#
class ConsoleApp extends Hy.UI.Application
gInstance = null
# ----... |
[
{
"context": "ast burrito.\",\n \"AIDS.\",\n \"AXE body spray.\",\n \"Aaron Burr.\",\n \"Active listening.\",\n \"Actually getting sho",
"end": 2808,
"score": 0.991296648979187,
"start": 2798,
"tag": "NAME",
"value": "Aaron Burr"
},
{
"context": "\n \"Apologizing.\",\n \"Appre... | src/whitecards.coffee | veronism/hubot-cah | 6 | # White Cards Against Humanity cards to be played against Black cards
#
module.exports = [
"72 virgins.",
"8 oz. of sweet Mexican black-tar heroin.",
"A 55-gallon drum of lube.",
"A Bop It.",
"A Burmese tiger pit.",
"A Christmas stocking full of coleslaw.",
"A Gypsy curse.",
"A Hungry-Man Frozen Chris... | 197039 | # White Cards Against Humanity cards to be played against Black cards
#
module.exports = [
"72 virgins.",
"8 oz. of sweet Mexican black-tar heroin.",
"A 55-gallon drum of lube.",
"A Bop It.",
"A Burmese tiger pit.",
"A Christmas stocking full of coleslaw.",
"A Gypsy curse.",
"A Hungry-Man Frozen Chris... | true | # White Cards Against Humanity cards to be played against Black cards
#
module.exports = [
"72 virgins.",
"8 oz. of sweet Mexican black-tar heroin.",
"A 55-gallon drum of lube.",
"A Bop It.",
"A Burmese tiger pit.",
"A Christmas stocking full of coleslaw.",
"A Gypsy curse.",
"A Hungry-Man Frozen Chris... |
[
{
"context": " @scope.user =\n email: \"test@test.com\"\n name: \"test\"\n pas",
"end": 786,
"score": 0.9999211430549622,
"start": 773,
"tag": "EMAIL",
"value": "test@test.com"
},
{
"context": " name: \"test\"\n ... | app/components/login/controller-test.coffee | vidatio/web-app | 0 | "use strict"
describe "Login / Register Directive", ->
beforeEach ->
module "app"
inject ($controller, $rootScope, $q, $state, $log) ->
@scope = $rootScope.$new()
@rootScope = $rootScope
@deferred = $q.defer()
@UserFactory =
save: (u... | 75161 | "use strict"
describe "Login / Register Directive", ->
beforeEach ->
module "app"
inject ($controller, $rootScope, $q, $state, $log) ->
@scope = $rootScope.$new()
@rootScope = $rootScope
@deferred = $q.defer()
@UserFactory =
save: (u... | true | "use strict"
describe "Login / Register Directive", ->
beforeEach ->
module "app"
inject ($controller, $rootScope, $q, $state, $log) ->
@scope = $rootScope.$new()
@rootScope = $rootScope
@deferred = $q.defer()
@UserFactory =
save: (u... |
[
{
"context": "mespace COOLSTRAP\n * @class Plugins\n * \n * @author Cristian Ferrari <cristianferrarig@gmail.com> || @energettico\n * @",
"end": 103,
"score": 0.9998801350593567,
"start": 87,
"tag": "NAME",
"value": "Cristian Ferrari"
},
{
"context": "* @class Plugins\n * \n * @autho... | coolstrap-core/app/assets/javascripts/coolstrap/plugins/_Coolstrap.Plugins.coffee | cristianferrarig/coolstrap | 0 | ###
* Coolstrapp Plugins
*
* @namespace COOLSTRAP
* @class Plugins
*
* @author Cristian Ferrari <cristianferrarig@gmail.com> || @energettico
* @author Abraham Barrera <abarrerac@gmail.com> || @abraham_barrera
*
###
COOLSTRAP.Plugins = ((cool, document) ->
# fn arg can be an object or a function, thanks to... | 112682 | ###
* Coolstrapp Plugins
*
* @namespace COOLSTRAP
* @class Plugins
*
* @author <NAME> <<EMAIL>> || @energettico
* @author <NAME> <<EMAIL>> || @abraham_barrera
*
###
COOLSTRAP.Plugins = ((cool, document) ->
# fn arg can be an object or a function, thanks to handleEvent
# read more about the explanation a... | true | ###
* Coolstrapp Plugins
*
* @namespace COOLSTRAP
* @class Plugins
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @energettico
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @abraham_barrera
*
###
COOLSTRAP.Plugins = ((cool, document) ->
# fn arg can be an object or a function, t... |
[
{
"context": " author:\n aclType: 'none'\n name: 'author'\n plural: 'authors'\n base: 'User'\n ",
"end": 74,
"score": 0.9302845597267151,
"start": 68,
"tag": "NAME",
"value": "author"
}
] | spec/model-definitions.coffee | CureApp/loopback-promised | 10 | module.exports =
author:
aclType: 'none'
name: 'author'
plural: 'authors'
base: 'User'
idInjection: true
properties: {}
validations: []
relations:
notebooks:
type: 'hasMany'
model: 'notebook'
... | 31378 | module.exports =
author:
aclType: 'none'
name: '<NAME>'
plural: 'authors'
base: 'User'
idInjection: true
properties: {}
validations: []
relations:
notebooks:
type: 'hasMany'
model: 'notebook'
... | true | module.exports =
author:
aclType: 'none'
name: 'PI:NAME:<NAME>END_PI'
plural: 'authors'
base: 'User'
idInjection: true
properties: {}
validations: []
relations:
notebooks:
type: 'hasMany'
model: 'notebook'
... |
[
{
"context": "rematurely\n yes\n\nmodule.exports = {\n name: \"Owo\"\n handler: handler\n}\n",
"end": 634,
"score": 0.9299149513244629,
"start": 631,
"tag": "NAME",
"value": "Owo"
}
] | src/specials/owo.coffee | MindfulMinun/discord-haruka | 2 | #! ========================================
#! Special: owo
handler = (msg, Haruka) ->
# Matches variations of "owo", preceded or followed by whitespace, case insensitive
reg = /^\s*[ou][wmn][ou]\s*$/i
# Break if regex doesn't match.
if (not reg.test(msg.content)) or msg.author.bot then return no
... | 124916 | #! ========================================
#! Special: owo
handler = (msg, Haruka) ->
# Matches variations of "owo", preceded or followed by whitespace, case insensitive
reg = /^\s*[ou][wmn][ou]\s*$/i
# Break if regex doesn't match.
if (not reg.test(msg.content)) or msg.author.bot then return no
... | true | #! ========================================
#! Special: owo
handler = (msg, Haruka) ->
# Matches variations of "owo", preceded or followed by whitespace, case insensitive
reg = /^\s*[ou][wmn][ou]\s*$/i
# Break if regex doesn't match.
if (not reg.test(msg.content)) or msg.author.bot then return no
... |
[
{
"context": "etter__ 'creds', (creds) ->\n # as reported by Charles Schwab customer support\n # search for \"schwab passw",
"end": 406,
"score": 0.9856370687484741,
"start": 392,
"tag": "NAME",
"value": "Charles Schwab"
},
{
"context": "g password to 8 characters\"\n ... | application/chrome/content/wesabe/fi-scripts/com/schwab/bank.coffee | wesabe/ssu | 28 | wesabe.provide 'fi-scripts.com.schwab.bank',
class bank extends wesabe.download.OFXPlayer
fid: 'com.schwab.bank'
org: 'Charles Schwab Bank, N.A.'
fi:
ofxFid: '101'
ofxOrg: 'ISC'
ofxUrl: 'https://ofx.schwab.com/bankcgi_dev/ofx_server'
this::__defineGetter__ 'creds', ->
@_creds... | 113138 | wesabe.provide 'fi-scripts.com.schwab.bank',
class bank extends wesabe.download.OFXPlayer
fid: 'com.schwab.bank'
org: 'Charles Schwab Bank, N.A.'
fi:
ofxFid: '101'
ofxOrg: 'ISC'
ofxUrl: 'https://ofx.schwab.com/bankcgi_dev/ofx_server'
this::__defineGetter__ 'creds', ->
@_creds... | true | wesabe.provide 'fi-scripts.com.schwab.bank',
class bank extends wesabe.download.OFXPlayer
fid: 'com.schwab.bank'
org: 'Charles Schwab Bank, N.A.'
fi:
ofxFid: '101'
ofxOrg: 'ISC'
ofxUrl: 'https://ofx.schwab.com/bankcgi_dev/ofx_server'
this::__defineGetter__ 'creds', ->
@_creds... |
[
{
"context": " phoneNumber: phoneNumber\n password: '123456'\n\n util.requestAsync options\n\n .spread (res",
"end": 5000,
"score": 0.9993461966514587,
"start": 4994,
"tag": "PASSWORD",
"value": "123456"
},
{
"context": " phoneNumber: phoneNumber\n passw... | talk-account/test/apis/mobile.coffee | ikingye/talk-os | 3,084 | should = require 'should'
config = require 'config'
jwt = require 'jsonwebtoken'
Promise = require 'bluebird'
limbo = require 'limbo'
util = require '../util'
redis = require '../../server/components/redis'
phoneNumber = '18500000000'
{
MobileModel
UserModel
} = limbo.use 'account'
requestUtil = require '../../... | 20518 | should = require 'should'
config = require 'config'
jwt = require 'jsonwebtoken'
Promise = require 'bluebird'
limbo = require 'limbo'
util = require '../util'
redis = require '../../server/components/redis'
phoneNumber = '18500000000'
{
MobileModel
UserModel
} = limbo.use 'account'
requestUtil = require '../../... | true | should = require 'should'
config = require 'config'
jwt = require 'jsonwebtoken'
Promise = require 'bluebird'
limbo = require 'limbo'
util = require '../util'
redis = require '../../server/components/redis'
phoneNumber = '18500000000'
{
MobileModel
UserModel
} = limbo.use 'account'
requestUtil = require '../../... |
[
{
"context": "tion for Backbone.Marionette\n#\n# Copyright (C)2012 Derick Bailey, Muted Solutions, LLC\n# Distributed Under MIT Lic",
"end": 108,
"score": 0.9998453855514526,
"start": 95,
"tag": "NAME",
"value": "Derick Bailey"
},
{
"context": "nd Full License Available at:\n# http:/... | client/contacts/contactlist.coffee | zhangcheng/bbclonemail-meteor | 1 | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 Derick Bailey, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.marionette
... | 61507 | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 <NAME>, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.marionette
# Conta... | true | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 PI:NAME:<NAME>END_PI, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.mario... |
[
{
"context": "ittle Mocha Reference ========\nhttps://github.com/visionmedia/should.js\nhttps://github.com/visionmedia/mocha\n##",
"end": 284,
"score": 0.9994957447052002,
"start": 273,
"tag": "USERNAME",
"value": "visionmedia"
},
{
"context": "thub.com/visionmedia/should.js\nhttps:/... | nodejs/flarebyte.net/0.8/node/magma/node_modules/magma-plugin-json-file-reader/test/magma-plugin-json-file-reader_test.coffee | flarebyte/wonderful-bazar | 0 | 'use strict'
init = require("fb-custom-init")
magma_plugin_json_file_reader = require('magma-plugin-json-file-reader')
should = require('should')
CT = require('magma-constant')
_ = require('lodash')
###
======== A Handy Little Mocha Reference ========
https://github.com/visionmedia/should.js
https://github.com/vision... | 222799 | 'use strict'
init = require("fb-custom-init")
magma_plugin_json_file_reader = require('magma-plugin-json-file-reader')
should = require('should')
CT = require('magma-constant')
_ = require('lodash')
###
======== A Handy Little Mocha Reference ========
https://github.com/visionmedia/should.js
https://github.com/vision... | true | 'use strict'
init = require("fb-custom-init")
magma_plugin_json_file_reader = require('magma-plugin-json-file-reader')
should = require('should')
CT = require('magma-constant')
_ = require('lodash')
###
======== A Handy Little Mocha Reference ========
https://github.com/visionmedia/should.js
https://github.com/vision... |
[
{
"context": "as {{username}}:{{password}}',\n # username: username\n # password: password\n # )\n return",
"end": 578,
"score": 0.9988399147987366,
"start": 570,
"tag": "USERNAME",
"value": "username"
},
{
"context": ",\n # username: username\n # ... | frontend/scripts/session-controller.coffee | rao1219/Vedio | 0 | angular.module 'vsvs'
.controller 'SessionController', [
'$resource'
'Session'
($resource, Session) ->
@login = (username, password) ->
console.log "username: #{username} password: #{password}"
Session.login username, password
.then ->
console.log 'Good'
, ->
console.lo... | 78386 | angular.module 'vsvs'
.controller 'SessionController', [
'$resource'
'Session'
($resource, Session) ->
@login = (username, password) ->
console.log "username: #{username} password: #{password}"
Session.login username, password
.then ->
console.log 'Good'
, ->
console.lo... | true | angular.module 'vsvs'
.controller 'SessionController', [
'$resource'
'Session'
($resource, Session) ->
@login = (username, password) ->
console.log "username: #{username} password: #{password}"
Session.login username, password
.then ->
console.log 'Good'
, ->
console.lo... |
[
{
"context": "2\n database: \"mydb\" \n user: \"user\"\n password: \"password\"\n staging:\n ",
"end": 456,
"score": 0.7870566844940186,
"start": 452,
"tag": "USERNAME",
"value": "user"
},
{
"context": "\" \n user: \"user\"\n p... | src/test.coffee | assignittous/knodeo_scriptella | 0 | console.log "TEST"
scriptella = require("./index").Scriptella
propertiesTest =
databases:
drivers:
postgresql:
class: "org.postgresql.Driver"
classPath: "{{cwd}}/_workshop/drivers/postgresql-9.3-1103.jdbc4.jar"
baseUrl: "jdbc:postgresql://{{something}}"
mydb:
development... | 156568 | console.log "TEST"
scriptella = require("./index").Scriptella
propertiesTest =
databases:
drivers:
postgresql:
class: "org.postgresql.Driver"
classPath: "{{cwd}}/_workshop/drivers/postgresql-9.3-1103.jdbc4.jar"
baseUrl: "jdbc:postgresql://{{something}}"
mydb:
development... | true | console.log "TEST"
scriptella = require("./index").Scriptella
propertiesTest =
databases:
drivers:
postgresql:
class: "org.postgresql.Driver"
classPath: "{{cwd}}/_workshop/drivers/postgresql-9.3-1103.jdbc4.jar"
baseUrl: "jdbc:postgresql://{{something}}"
mydb:
development... |
[
{
"context": "ngth != 6\n console.log(\"#{@name} #{dir} #{dist} length #{@genericMovement_dict[\"#",
"end": 1137,
"score": 0.48764681816101074,
"start": 1133,
"tag": "USERNAME",
"value": "name"
},
{
"context": "r}\"\n $(\"##{@elem_id} .panel-title\").tex... | src/coffee/hotac_data.coffee | elistevens/xwing-hotac | 1 | exportObj = exports ? this
#EventEmitter2 = require('eventemitter2').EventEmitter2;
clone = (obj) ->
if not obj? or typeof obj isnt 'object' #or obj.isGlobalState
return obj
if obj instanceof Date
return new Date(obj.getTime())
if obj instanceof RegExp
flags = ''
flags +=... | 162443 | exportObj = exports ? this
#EventEmitter2 = require('eventemitter2').EventEmitter2;
clone = (obj) ->
if not obj? or typeof obj isnt 'object' #or obj.isGlobalState
return obj
if obj instanceof Date
return new Date(obj.getTime())
if obj instanceof RegExp
flags = ''
flags +=... | true | exportObj = exports ? this
#EventEmitter2 = require('eventemitter2').EventEmitter2;
clone = (obj) ->
if not obj? or typeof obj isnt 'object' #or obj.isGlobalState
return obj
if obj instanceof Date
return new Date(obj.getTime())
if obj instanceof RegExp
flags = ''
flags +=... |
[
{
"context": " model.populate({ email: \"\", email_confirmation: \"foo@somewhere.com\" });\n expect(! model.isValid()).toBeTruthy()\n ",
"end": 2156,
"score": 0.9999237656593323,
"start": 2139,
"tag": "EMAIL",
"value": "foo@somewhere.com"
},
{
"context": "d confirm blank\", ->\n ... | test/spec_coffee/confirmation_validator_spec.coffee | kirkbowers/mvcoffee | 0 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.validates 'email', test: 'confirmation'
# The 'email_confirmation' property should be implied
describe "confirmation", ->
model = null
beforeEach ->
model = new User
it "fails when undefined", ->
model.vali... | 90765 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.validates 'email', test: 'confirmation'
# The 'email_confirmation' property should be implied
describe "confirmation", ->
model = null
beforeEach ->
model = new User
it "fails when undefined", ->
model.vali... | true | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.validates 'email', test: 'confirmation'
# The 'email_confirmation' property should be implied
describe "confirmation", ->
model = null
beforeEach ->
model = new User
it "fails when undefined", ->
model.vali... |
[
{
"context": " This guild base is located in Frigri.\n *\n * @name Frigri\n * @category Bases\n * @package Guild\n * @cos",
"end": 95,
"score": 0.7531615495681763,
"start": 94,
"tag": "NAME",
"value": "F"
},
{
"context": "his guild base is located in Frigri.\n *\n * @name Frigri\n * ... | src/map/guild-bases/Frigri.coffee | jawsome/IdleLands | 3 | GuildBase = require "../GuildBase"
`/**
* This guild base is located in Frigri.
*
* @name Frigri
* @category Bases
* @package Guild
* @cost {move-in} 150000
* @cost {build-sm} 70000
* @cost {build-md} 120000
* @cost {build-lg} 150000
* @buildings {sm} 2
* @buildings {md} 4
* @buildings {lg} 3
*/`
class Fr... | 102150 | GuildBase = require "../GuildBase"
`/**
* This guild base is located in Frigri.
*
* @name <NAME>rigri
* @category Bases
* @package Guild
* @cost {move-in} 150000
* @cost {build-sm} 70000
* @cost {build-md} 120000
* @cost {build-lg} 150000
* @buildings {sm} 2
* @buildings {md} 4
* @buildings {lg} 3
*/`
cla... | true | GuildBase = require "../GuildBase"
`/**
* This guild base is located in Frigri.
*
* @name PI:NAME:<NAME>END_PIrigri
* @category Bases
* @package Guild
* @cost {move-in} 150000
* @cost {build-sm} 70000
* @cost {build-md} 120000
* @cost {build-lg} 150000
* @buildings {sm} 2
* @buildings {md} 4
* @buildings {... |
[
{
"context": "ree ]\n\n it 'should sort by value', ->\n key = \"name\"\n arr = @arr.sort( (a,b) -> b[key] - a[key] )\n",
"end": 454,
"score": 0.9915022850036621,
"start": 450,
"tag": "KEY",
"value": "name"
},
{
"context": "@arr.sort( (a,b) -> b[key] - a[key] )\n\n key = \"n... | src/spec/sorting-spec.coffee | creativeprogramming/mozart | 1 | describe 'Mozart.parseSort', ->
beforeEach ->
@one = Mozart.MztObject.create({name:'one', value:"1"})
@two = Mozart.MztObject.create({name:'two', value:"2"})
@three = Mozart.MztObject.create({name:'three', value:"3"})
@four = Mozart.MztObject.create({name:'four', value:"4"})
@five = Mozart.MztObj... | 63362 | describe 'Mozart.parseSort', ->
beforeEach ->
@one = Mozart.MztObject.create({name:'one', value:"1"})
@two = Mozart.MztObject.create({name:'two', value:"2"})
@three = Mozart.MztObject.create({name:'three', value:"3"})
@four = Mozart.MztObject.create({name:'four', value:"4"})
@five = Mozart.MztObj... | true | describe 'Mozart.parseSort', ->
beforeEach ->
@one = Mozart.MztObject.create({name:'one', value:"1"})
@two = Mozart.MztObject.create({name:'two', value:"2"})
@three = Mozart.MztObject.create({name:'three', value:"3"})
@four = Mozart.MztObject.create({name:'four', value:"4"})
@five = Mozart.MztObj... |
[
{
"context": "quest.setRequestHeader(\"X-Authentication-Token\", 'xzBA8HXinAO2zprPr')\n error: (jqXHR, textStatus, errorThrown) -",
"end": 443,
"score": 0.945411205291748,
"start": 426,
"tag": "KEY",
"value": "xzBA8HXinAO2zprPr"
}
] | app/assets/javascripts/questions.js.coffee | unepwcmc/ORS-API | 2 | window.Questions = class Questions
constructor: (@$container_el, @questionnaire_id) ->
@get_questions()
get_questions: ->
$.ajax(
url: "http://demo-ors-api.ort-staging.linode.unep-wcmc.org/api/v1/questionnaires/#{@questionnaire_id}/questions"
type: 'GET'
dataType: 'json'
contentType... | 209948 | window.Questions = class Questions
constructor: (@$container_el, @questionnaire_id) ->
@get_questions()
get_questions: ->
$.ajax(
url: "http://demo-ors-api.ort-staging.linode.unep-wcmc.org/api/v1/questionnaires/#{@questionnaire_id}/questions"
type: 'GET'
dataType: 'json'
contentType... | true | window.Questions = class Questions
constructor: (@$container_el, @questionnaire_id) ->
@get_questions()
get_questions: ->
$.ajax(
url: "http://demo-ors-api.ort-staging.linode.unep-wcmc.org/api/v1/questionnaires/#{@questionnaire_id}/questions"
type: 'GET'
dataType: 'json'
contentType... |
[
{
"context": "ce in aid of Amnesty International and St.\n Vincent de Paul'''\n",
"end": 1289,
"score": 0.9602702856063843,
"start": 1274,
"tag": "NAME",
"value": "Vincent de Paul"
}
] | static/src/scripts/app/AppRouter.coffee | Specialkbyte/single-page-static-test | 0 | define [
'backbone',
'collections/TeamsCollection'
'models/FiltersModel'
'views/IndexView'
'views/teams/ListPageView'
], (Backbone, Teams, Filters, IndexView, TeamsListPageView) ->
class Router extends Backbone.Router
routes:
'': 'index'
'teams(/)': 'teams'
i... | 134034 | define [
'backbone',
'collections/TeamsCollection'
'models/FiltersModel'
'views/IndexView'
'views/teams/ListPageView'
], (Backbone, Teams, Filters, IndexView, TeamsListPageView) ->
class Router extends Backbone.Router
routes:
'': 'index'
'teams(/)': 'teams'
i... | true | define [
'backbone',
'collections/TeamsCollection'
'models/FiltersModel'
'views/IndexView'
'views/teams/ListPageView'
], (Backbone, Teams, Filters, IndexView, TeamsListPageView) ->
class Router extends Backbone.Router
routes:
'': 'index'
'teams(/)': 'teams'
i... |
[
{
"context": "setCardSetId(CardSet.Coreshatter)\n\t\t\tcard.name = \"Grand Strategos\"\n\t\t\tcard.setDescription(\"Trial: Summon 12 minions",
"end": 3652,
"score": 0.8863011002540588,
"start": 3637,
"tag": "NAME",
"value": "Grand Strategos"
},
{
"context": "bject()\n\t\t\temblemModi... | app/sdk/cards/factory/coreshatter/faction1.coffee | willroberts/duelyst | 5 | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... | 84366 | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... | true | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... |
[
{
"context": "eck empty newline between class members\n# @author 薛定谔的猫<hh_2013@foxmail.com>\n###\n'use strict'\n\nastUtils =",
"end": 86,
"score": 0.9997463822364807,
"start": 81,
"tag": "NAME",
"value": "薛定谔的猫"
},
{
"context": "pty newline between class members\n# @author 薛定谔的猫<hh_2... | src/rules/lines-between-class-members.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to check empty newline between class members
# @author 薛定谔的猫<hh_2013@foxmail.com>
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------------------------... | 128328 | ###*
# @fileoverview Rule to check empty newline between class members
# @author <NAME><<EMAIL>>
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#----------------------------------------------------------------... | true | ###*
# @fileoverview Rule to check empty newline between class members
# @author PI:NAME:<NAME>END_PI<PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------... |
[
{
"context": "meteor.com/img/hackifilogo.png'\n companyName: 'Hackifi'\n companyUrl: 'http://hackifi.com'\n company",
"end": 430,
"score": 0.9892280101776123,
"start": 423,
"tag": "NAME",
"value": "Hackifi"
},
{
"context": "elephone: '+(233) 248-060-588'\n companyEmail: '... | lib/_config/emails.coffee | ijayoa/hackifi | 0 | if Meteor.isServer
options =
siteName: Config.name
if Config.socialMedia
_.each Config.socialMedia, (v,k) ->
options[k] = v.url
if Config.legal
options.companyAddress = Config.legal.address
options.companyName = Config.legal.name
options.companyUrl = Config.legal.url
PrettyEmail.opt... | 126984 | if Meteor.isServer
options =
siteName: Config.name
if Config.socialMedia
_.each Config.socialMedia, (v,k) ->
options[k] = v.url
if Config.legal
options.companyAddress = Config.legal.address
options.companyName = Config.legal.name
options.companyUrl = Config.legal.url
PrettyEmail.opt... | true | if Meteor.isServer
options =
siteName: Config.name
if Config.socialMedia
_.each Config.socialMedia, (v,k) ->
options[k] = v.url
if Config.legal
options.companyAddress = Config.legal.address
options.companyName = Config.legal.name
options.companyUrl = Config.legal.url
PrettyEmail.opt... |
[
{
"context": "ken\", \"system\",\n get: ->\n password: @get(\"password\")\n email: @get(\"email\")\n token: @get(\"t",
"end": 517,
"score": 0.5727882385253906,
"start": 509,
"tag": "PASSWORD",
"value": "password"
}
] | addon/utils/errors.coffee | simwms/simwms-shared | 0 | `import Ember from 'ember'`
`import {simplifyError} from './apiv3-error-tools'`
{computed, A} = Ember
{notEmpty: notEmpty, or: ifAny} = computed
Errors = Ember.Object.extend
hasErrors: ifAny "hasEmailErrors", "hasTokenErrors", "hasPasswordErrors", "hasSystemErrors"
hasTokenErrors: notEmpty "token"
hasPasswordEr... | 95569 | `import Ember from 'ember'`
`import {simplifyError} from './apiv3-error-tools'`
{computed, A} = Ember
{notEmpty: notEmpty, or: ifAny} = computed
Errors = Ember.Object.extend
hasErrors: ifAny "hasEmailErrors", "hasTokenErrors", "hasPasswordErrors", "hasSystemErrors"
hasTokenErrors: notEmpty "token"
hasPasswordEr... | true | `import Ember from 'ember'`
`import {simplifyError} from './apiv3-error-tools'`
{computed, A} = Ember
{notEmpty: notEmpty, or: ifAny} = computed
Errors = Ember.Object.extend
hasErrors: ifAny "hasEmailErrors", "hasTokenErrors", "hasPasswordErrors", "hasSystemErrors"
hasTokenErrors: notEmpty "token"
hasPasswordEr... |
[
{
"context": "cryption.encrypt {\n credentialsDeviceToken: 'cred-token2'\n credentials:\n secret: 'resour",
"end": 754,
"score": 0.7905679941177368,
"start": 743,
"tag": "PASSWORD",
"value": "cred-token2"
},
{
"context": "fresh token'\n }\n @resourceOwner... | test/integration/auth-spec.coffee | octoblu/endo-lib | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
Encryption = require 'meshblu-encryption'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
M... | 133615 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
Encryption = require 'meshblu-encryption'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
M... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
fs = require 'fs'
Encryption = require 'meshblu-encryption'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
M... |
[
{
"context": "\n _array1 = [\n {\n vorname: \"Albert\"\n nachname: \"Einstain\"\n }\n ",
"end": 340,
"score": 0.9995070695877075,
"start": 334,
"tag": "NAME",
"value": "Albert"
},
{
"context": " vorname: \"Albert\"\n nach... | frontend/common/services/helper/helper.spec.coffee | Contactis/translation-manager | 0 | describe "Unit testing: translation.services.helper Module >", () ->
describe "for HelperService >", () ->
HelperService = null
_array1 = null
_array2 = null
# load required modules
beforeEach () ->
module 'translation.services.helper'
_array1 = [
{
... | 40872 | describe "Unit testing: translation.services.helper Module >", () ->
describe "for HelperService >", () ->
HelperService = null
_array1 = null
_array2 = null
# load required modules
beforeEach () ->
module 'translation.services.helper'
_array1 = [
{
... | true | describe "Unit testing: translation.services.helper Module >", () ->
describe "for HelperService >", () ->
HelperService = null
_array1 = null
_array2 = null
# load required modules
beforeEach () ->
module 'translation.services.helper'
_array1 = [
{
... |
[
{
"context": "'use strict'\n\n\n# Key\n#\n# @copyright Andrew Lawson 2012\n# @see http://github.com/adlawson/key\n# @see",
"end": 49,
"score": 0.9998739361763,
"start": 36,
"tag": "NAME",
"value": "Andrew Lawson"
},
{
"context": "right Andrew Lawson 2012\n# @see http://github.com/adl... | src/code/brand.coffee | adlawson/coffee-key | 1 | 'use strict'
# Key
#
# @copyright Andrew Lawson 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
brand = {
apple: ref 'Apple ⌘', 224
windows: {
star... | 71550 | 'use strict'
# Key
#
# @copyright <NAME> 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
brand = {
apple: ref 'Apple ⌘', 224
windows: {
start: ref ... | true | 'use strict'
# Key
#
# @copyright PI:NAME:<NAME>END_PI 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
# Definitions
brand = {
apple: ref 'Apple ⌘', 224
windows: {
... |
[
{
"context": " body: '{\\n \"type\": \"bulldozer\",\\n \"name\": \"willy\"}\\n'\n headers:\n 'Content-Type",
"end": 4238,
"score": 0.9894127249717712,
"start": 4233,
"tag": "NAME",
"value": "willy"
},
{
"context": " body: '{\\n \"type\": \"bulldozer\",\... | test/unit/transaction-runner-test.coffee | HBOCodeLabs/dredd | 0 | require 'coffee-errors'
{EventEmitter} = require 'events'
{assert} = require 'chai'
nock = require 'nock'
proxyquire = require 'proxyquire'
sinon = require 'sinon'
htmlStub = require 'html'
advisableStub = require 'advisable'
addHooksStub = sinon.spy require '../../src/add-hooks'
loggerStub = require '../../src/logger'... | 104033 | require 'coffee-errors'
{EventEmitter} = require 'events'
{assert} = require 'chai'
nock = require 'nock'
proxyquire = require 'proxyquire'
sinon = require 'sinon'
htmlStub = require 'html'
advisableStub = require 'advisable'
addHooksStub = sinon.spy require '../../src/add-hooks'
loggerStub = require '../../src/logger'... | true | require 'coffee-errors'
{EventEmitter} = require 'events'
{assert} = require 'chai'
nock = require 'nock'
proxyquire = require 'proxyquire'
sinon = require 'sinon'
htmlStub = require 'html'
advisableStub = require 'advisable'
addHooksStub = sinon.spy require '../../src/add-hooks'
loggerStub = require '../../src/logger'... |
[
{
"context": "{ 'Content-Type': 'application/json' }, '{\"name\":\"Batman\"}' ]\n\ndescribe 'set respond with', ->\n beforeEac",
"end": 1811,
"score": 0.9998002052307129,
"start": 1805,
"tag": "NAME",
"value": "Batman"
}
] | tests/specs/set-respond-with.spec.coffee | appirio-tech/swagger-fake-server | 0 | 'use strict'
api =
host : 'api.uber.com'
basePath: '/v1'
schemes : ['https', 'http']
paths:
'/player':
get:
responses:
'200':
schema:
type: 'object',
items:
'$ref' : '#/definitions/Player'
'/players':
get:
... | 202063 | 'use strict'
api =
host : 'api.uber.com'
basePath: '/v1'
schemes : ['https', 'http']
paths:
'/player':
get:
responses:
'200':
schema:
type: 'object',
items:
'$ref' : '#/definitions/Player'
'/players':
get:
... | true | 'use strict'
api =
host : 'api.uber.com'
basePath: '/v1'
schemes : ['https', 'http']
paths:
'/player':
get:
responses:
'200':
schema:
type: 'object',
items:
'$ref' : '#/definitions/Player'
'/players':
get:
... |
[
{
"context": "must be at least 3 characters'\n password: 'must be present'\n\n assert.calledWith(form.username.$setValid",
"end": 642,
"score": 0.99920654296875,
"start": 627,
"tag": "PASSWORD",
"value": "must be present"
},
{
"context": "must be at least 3 characters'\n ... | tests/js/util-test.coffee | Treora/h | 0 | assert = chai.assert
sinon.assert.expose(assert, prefix: '')
describe 'h.helpers.formHelpers', ->
formHelpers = null
beforeEach module('h.helpers')
beforeEach inject (_formHelpers_) ->
formHelpers = _formHelpers_
describe '.applyValidationErrors', ->
form = null
beforeEach ->
form =
... | 49861 | assert = chai.assert
sinon.assert.expose(assert, prefix: '')
describe 'h.helpers.formHelpers', ->
formHelpers = null
beforeEach module('h.helpers')
beforeEach inject (_formHelpers_) ->
formHelpers = _formHelpers_
describe '.applyValidationErrors', ->
form = null
beforeEach ->
form =
... | true | assert = chai.assert
sinon.assert.expose(assert, prefix: '')
describe 'h.helpers.formHelpers', ->
formHelpers = null
beforeEach module('h.helpers')
beforeEach inject (_formHelpers_) ->
formHelpers = _formHelpers_
describe '.applyValidationErrors', ->
form = null
beforeEach ->
form =
... |
[
{
"context": "(涉及帖子操作时,为帖子Owner)'\n },\n {\n key:'userName',\n title:'用户昵称'\n },\n {\n k",
"end": 2100,
"score": 0.9261019229888916,
"start": 2092,
"tag": "USERNAME",
"value": "userName"
},
{
"context": " title: '操作类型'\n },\n {\... | hotShareWeb/server/4_router_server.coffee | Ritesh1991/mobile_app_server | 0 | subs = new SubsManager({
#maximum number of cache subscriptions
cacheLimit: 999,
# any subscription will be expire after 30 days, if it's not subscribed again
expireIn: 60*24*30
});
if Meteor.isServer
request = Meteor.npmRequire('request')
Fiber = Meteor.npmRequire('fibers')
QRImage = Meteor.npmRequire('... | 112008 | subs = new SubsManager({
#maximum number of cache subscriptions
cacheLimit: 999,
# any subscription will be expire after 30 days, if it's not subscribed again
expireIn: 60*24*30
});
if Meteor.isServer
request = Meteor.npmRequire('request')
Fiber = Meteor.npmRequire('fibers')
QRImage = Meteor.npmRequire('... | true | subs = new SubsManager({
#maximum number of cache subscriptions
cacheLimit: 999,
# any subscription will be expire after 30 days, if it's not subscribed again
expireIn: 60*24*30
});
if Meteor.isServer
request = Meteor.npmRequire('request')
Fiber = Meteor.npmRequire('fibers')
QRImage = Meteor.npmRequire('... |
[
{
"context": "\nRep = r: 5, spacing: 12\n\nFactions = [\n { name: 'Die Linke', class: 'linke' }\n { name: 'SPD', ",
"end": 306,
"score": 0.9955400824546814,
"start": 297,
"tag": "NAME",
"value": "Die Linke"
},
{
"context": "SPD', class: 'spd' }\n { n... | coffee/main.coffee | opendatacity/nebeneinkuenfte_faz | 1 | 'use strict'
# Warning: This code is hideous.
# I solemnly swear that I will never write code as unmaintainable
# as this mess again. Sorry.
Viewport = width: 700, height: 350, center: {x: 350, y: 350}
Arc = innerR: 80, outerR: 350, phiMax: 180
Rep = r: 5, spacing: 12
Factions = [
{ name: 'Die Linke', ... | 100008 | 'use strict'
# Warning: This code is hideous.
# I solemnly swear that I will never write code as unmaintainable
# as this mess again. Sorry.
Viewport = width: 700, height: 350, center: {x: 350, y: 350}
Arc = innerR: 80, outerR: 350, phiMax: 180
Rep = r: 5, spacing: 12
Factions = [
{ name: '<NAME>', cl... | true | 'use strict'
# Warning: This code is hideous.
# I solemnly swear that I will never write code as unmaintainable
# as this mess again. Sorry.
Viewport = width: 700, height: 350, center: {x: 350, y: 350}
Arc = innerR: 80, outerR: 350, phiMax: 180
Rep = r: 5, spacing: 12
Factions = [
{ name: 'PI:NAME:<NAME>END_PI', ... |
[
{
"context": "# Copyright (c) 2013 Taher Haveliwala\n# All Rights Reserved\n#\n# asteroids.coffee\n#\n# Se",
"end": 37,
"score": 0.9998696446418762,
"start": 21,
"tag": "NAME",
"value": "Taher Haveliwala"
}
] | src/coffeescript/asteroids.coffee | taherh/Astro | 0 | # Copyright (c) 2013 Taher Haveliwala
# All Rights Reserved
#
# asteroids.coffee
#
# See LICENSE for licensing
#
class ImageManager
constructor: ->
@imageCache = {}
imageMap:
ship: 'assets/img/ship.png'
bullet: 'assets/img/bullet.gif'
asteroid: 'assets/img/asteroid.gif'
... | 83690 | # Copyright (c) 2013 <NAME>
# All Rights Reserved
#
# asteroids.coffee
#
# See LICENSE for licensing
#
class ImageManager
constructor: ->
@imageCache = {}
imageMap:
ship: 'assets/img/ship.png'
bullet: 'assets/img/bullet.gif'
asteroid: 'assets/img/asteroid.gif'
# ... | true | # Copyright (c) 2013 PI:NAME:<NAME>END_PI
# All Rights Reserved
#
# asteroids.coffee
#
# See LICENSE for licensing
#
class ImageManager
constructor: ->
@imageCache = {}
imageMap:
ship: 'assets/img/ship.png'
bullet: 'assets/img/bullet.gif'
asteroid: 'assets/img/asteroid.gi... |
[
{
"context": "\"mongodb://nodejitsu:#{ process.env.MONGODB_PWD }@staff.mongohq.com:10090/nodejitsudb407113725252\"\n\n # Attach the ap",
"end": 2249,
"score": 0.9951090812683105,
"start": 2232,
"tag": "EMAIL",
"value": "staff.mongohq.com"
}
] | site/app/application.coffee | isabella232/coffeedoc.info | 2 | http = require 'http'
path = require 'path'
fs = require 'fs'
Express = require 'express'
Codo = require 'codo'
HamlCoffee = require 'haml-coffee'
Assets = require 'connect-assets'
Mongoose = require 'mongoose'
CoffeeDocController = require './controllers/coffeedoc'
CodoController = ... | 140664 | http = require 'http'
path = require 'path'
fs = require 'fs'
Express = require 'express'
Codo = require 'codo'
HamlCoffee = require 'haml-coffee'
Assets = require 'connect-assets'
Mongoose = require 'mongoose'
CoffeeDocController = require './controllers/coffeedoc'
CodoController = ... | true | http = require 'http'
path = require 'path'
fs = require 'fs'
Express = require 'express'
Codo = require 'codo'
HamlCoffee = require 'haml-coffee'
Assets = require 'connect-assets'
Mongoose = require 'mongoose'
CoffeeDocController = require './controllers/coffeedoc'
CodoController = ... |
[
{
"context": "featherEditor = new Aviary.Feather\n apiKey: 'e7a5e1c28334eb7a',\n apiVersion: 3,\n theme: 'light',\n language: ",
"end": 62,
"score": 0.9996667504310608,
"start": 46,
"tag": "KEY",
"value": "e7a5e1c28334eb7a"
}
] | app/assets/javascripts/spina/admin/aviary.js.coffee | dbwest/Spina | 0 | featherEditor = new Aviary.Feather
apiKey: 'e7a5e1c28334eb7a',
apiVersion: 3,
theme: 'light',
language: 'nl',
minimumStyling: true,
tools: 'crop,enhance,contrast,sharpness,text,whiten,effects,warmth,orientation,brightness,saturation,redeye,blemish',
appendTo: '',
onSave: (imageID, newURL) ->
img = $... | 61301 | featherEditor = new Aviary.Feather
apiKey: '<KEY>',
apiVersion: 3,
theme: 'light',
language: 'nl',
minimumStyling: true,
tools: 'crop,enhance,contrast,sharpness,text,whiten,effects,warmth,orientation,brightness,saturation,redeye,blemish',
appendTo: '',
onSave: (imageID, newURL) ->
img = $('#' + imag... | true | featherEditor = new Aviary.Feather
apiKey: 'PI:KEY:<KEY>END_PI',
apiVersion: 3,
theme: 'light',
language: 'nl',
minimumStyling: true,
tools: 'crop,enhance,contrast,sharpness,text,whiten,effects,warmth,orientation,brightness,saturation,redeye,blemish',
appendTo: '',
onSave: (imageID, newURL) ->
img =... |
[
{
"context": " []\n @trystring = ''\n @keystring = 'qwertyuiop|asdfghjkl|zxcvbnm'\n @breakpoints = ['-']\n @breakpatte",
"end": 307,
"score": 0.9996727108955383,
"start": 279,
"tag": "KEY",
"value": "qwertyuiop|asdfghjkl|zxcvbnm"
}
] | affix.coffee | devongovett/spellchecker.js | 5 | {parseFlags} = require './shared'
class Affix
constructor: (data) ->
@lines = data.split('\n')
@cur = 0
@rules = {}
@flags = {}
@compoundRules = []
@replacementTable = []
@trystring = ''
@keystring = 'qwertyuiop|asdfghjkl|zxcvbnm'
@br... | 45083 | {parseFlags} = require './shared'
class Affix
constructor: (data) ->
@lines = data.split('\n')
@cur = 0
@rules = {}
@flags = {}
@compoundRules = []
@replacementTable = []
@trystring = ''
@keystring = '<KEY>'
@breakpoints = ['-']
... | true | {parseFlags} = require './shared'
class Affix
constructor: (data) ->
@lines = data.split('\n')
@cur = 0
@rules = {}
@flags = {}
@compoundRules = []
@replacementTable = []
@trystring = ''
@keystring = 'PI:KEY:<KEY>END_PI'
@breakpoints ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999122619628906,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmapset-page/score-top.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { FlagCountry } from 'flag-country'
import { Mods } from 'mods'
import * as React from 'react'
import { div, a } from 'react-dom-factories... | 94497 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { FlagCountry } from 'flag-country'
import { Mods } from 'mods'
import * as React from 'react'
import { div, a } from 'react-dom-factories'
el = ... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { FlagCountry } from 'flag-country'
import { Mods } from 'mods'
import * as React from 'react'
import { div, a } from 'react-dom-f... |
[
{
"context": "g me - Returns a random meme image\n#\n# Author:\n# EnriqueVidal \n#\n# Contributors:\n# dedeibel (gif support)\n\nSe",
"end": 282,
"score": 0.999499499797821,
"start": 270,
"tag": "NAME",
"value": "EnriqueVidal"
},
{
"context": "\n# Author:\n# EnriqueVidal \n#\n#... | src/scripts/9gag.coffee | contolini/hubot-scripts | 4 | # Description:
# None
#
# Dependencies:
# "htmlparser": "1.7.6"
# "soupselect": "0.2.0"
#
# Configuration:
# HUBOT_9GAG_NO_GIFS (optional, skips GIFs if defined; default is undefined)
#
# Commands:
# hubot 9gag me - Returns a random meme image
#
# Author:
# EnriqueVidal
#
# Contributors:
# dedeibel (gif ... | 28413 | # Description:
# None
#
# Dependencies:
# "htmlparser": "1.7.6"
# "soupselect": "0.2.0"
#
# Configuration:
# HUBOT_9GAG_NO_GIFS (optional, skips GIFs if defined; default is undefined)
#
# Commands:
# hubot 9gag me - Returns a random meme image
#
# Author:
# <NAME>
#
# Contributors:
# dedeibel (gif suppor... | true | # Description:
# None
#
# Dependencies:
# "htmlparser": "1.7.6"
# "soupselect": "0.2.0"
#
# Configuration:
# HUBOT_9GAG_NO_GIFS (optional, skips GIFs if defined; default is undefined)
#
# Commands:
# hubot 9gag me - Returns a random meme image
#
# Author:
# PI:NAME:<NAME>END_PI
#
# Contributors:
# dedeib... |
[
{
"context": "'throws without password', ->\n yargs ['-u', 'tester@testing.org'], true\n _.partial(require, '..').should.Thr",
"end": 476,
"score": 0.999913215637207,
"start": 458,
"tag": "EMAIL",
"value": "tester@testing.org"
},
{
"context": "e', ->\n inflate = null\n\n ... | test/test.coffee | jdcrensh/force-coverage | 2 | _ = require 'lodash'
# bdd
chai = require 'chai'
chai.should()
describe 'argv', ->
describe 'when credentials are not provided', ->
@timeout 10000
it 'throws with neither username nor password', ->
yargs [], true
_.partial(require, '..').should.Throw()
it 'throws without username', ->
... | 101587 | _ = require 'lodash'
# bdd
chai = require 'chai'
chai.should()
describe 'argv', ->
describe 'when credentials are not provided', ->
@timeout 10000
it 'throws with neither username nor password', ->
yargs [], true
_.partial(require, '..').should.Throw()
it 'throws without username', ->
... | true | _ = require 'lodash'
# bdd
chai = require 'chai'
chai.should()
describe 'argv', ->
describe 'when credentials are not provided', ->
@timeout 10000
it 'throws with neither username nor password', ->
yargs [], true
_.partial(require, '..').should.Throw()
it 'throws without username', ->
... |
[
{
"context": " seems to be enforced by Devis\n password: 'too short'\n\n if attributes.password_confirmation.lengt",
"end": 641,
"score": 0.9986239671707153,
"start": 632,
"tag": "PASSWORD",
"value": "too short"
},
{
"context": "tributes.password\n password_confirm... | app/backbone/models/user_password.coffee | Factlink/feedforward | 0 | class window.UserPassword extends Backbone.Model
defaults:
current_password: ''
password: ''
password_confirmation: ''
initialize: (attributes, options) ->
@_user = options.user
url: -> @_user.url() + '/password'
isNew: -> false
# Weirdly, this is not default behaviour
clear: ->
@set ... | 49267 | class window.UserPassword extends Backbone.Model
defaults:
current_password: ''
password: ''
password_confirmation: ''
initialize: (attributes, options) ->
@_user = options.user
url: -> @_user.url() + '/password'
isNew: -> false
# Weirdly, this is not default behaviour
clear: ->
@set ... | true | class window.UserPassword extends Backbone.Model
defaults:
current_password: ''
password: ''
password_confirmation: ''
initialize: (attributes, options) ->
@_user = options.user
url: -> @_user.url() + '/password'
isNew: -> false
# Weirdly, this is not default behaviour
clear: ->
@set ... |
[
{
"context": ">\n expect(validation.isValidEmailFormat 'user@example.com').to.be.ok\n\n describe 'invalid', ->\n ",
"end": 341,
"score": 0.9999162554740906,
"start": 325,
"tag": "EMAIL",
"value": "user@example.com"
},
{
"context": "\n expect(validation.i... | source/TextUml/Scripts/specs/application/models/validation.coffee | marufsiddiqui/textuml-dotnet | 1 | define (require) ->
validation = require '../../../application/models/validation'
repeatString = require('../../helpers').repeatString
describe 'models/validation', ->
describe '.isValidEmailFormat', ->
describe 'valid', ->
it 'returns true', ->
expect(validation.isValidEmailFor... | 55987 | define (require) ->
validation = require '../../../application/models/validation'
repeatString = require('../../helpers').repeatString
describe 'models/validation', ->
describe '.isValidEmailFormat', ->
describe 'valid', ->
it 'returns true', ->
expect(validation.isValidEmailFor... | true | define (require) ->
validation = require '../../../application/models/validation'
repeatString = require('../../helpers').repeatString
describe 'models/validation', ->
describe '.isValidEmailFormat', ->
describe 'valid', ->
it 'returns true', ->
expect(validation.isValidEmailFor... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998880624771118,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/related-tasks.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 174604 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "n\n\t\texpiration = expiration.toISOString()\n\n\t\tkey = \"#{ops.path}/#{ops.file_name}\"\n\n\t\tpolicy =\n\t\t\t\"expiration\":expiration\n\t\t\t\"condit",
"end": 650,
"score": 0.9953253865242004,
"start": 620,
"tag": "KEY",
"value": "\"#{ops.path}/#{ops.file_name}\""
}
] | server/sign_request.coffee | mli-r7/S3 | 0 | Meteor.methods
_s3_sign: (ops={}) ->
@unblock()
# ops.expiration: the signature expires after x milliseconds | defaults to 30 minutes
# ops.path
# ops.file_type
# ops.file_name
# ops.file_size
# ops.acl
# ops.bucket
_.defaults ops,
expiration:1800000
path:""
bucket:S3.config.bucket
acl:"... | 95107 | Meteor.methods
_s3_sign: (ops={}) ->
@unblock()
# ops.expiration: the signature expires after x milliseconds | defaults to 30 minutes
# ops.path
# ops.file_type
# ops.file_name
# ops.file_size
# ops.acl
# ops.bucket
_.defaults ops,
expiration:1800000
path:""
bucket:S3.config.bucket
acl:"... | true | Meteor.methods
_s3_sign: (ops={}) ->
@unblock()
# ops.expiration: the signature expires after x milliseconds | defaults to 30 minutes
# ops.path
# ops.file_type
# ops.file_name
# ops.file_size
# ops.acl
# ops.bucket
_.defaults ops,
expiration:1800000
path:""
bucket:S3.config.bucket
acl:"... |
[
{
"context": ") 2013-2014 TheGrid (Rituwall Inc.)\n# (c) 2013 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 124,
"score": 0.9998469352722168,
"start": 111,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "Grid (Rituwall Inc.)\n# (c) 2013 He... | src/lib/ComponentLoader.coffee | jonnor/noflo | 1 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2013 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
#
# This is the browser version of the ComponentLoader.
internalSocket = require './InternalSocket'
nofloGraph = require './Gra... | 85478 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2013 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
#
# This is the browser version of the ComponentLoader.
internalSocket = require './InternalSocket'
nofloGraph = require './Graph'
uti... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2013 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
#
# This is the browser version of the ComponentLoader.
internalSocket = require './InternalSocket'
nofloG... |
[
{
"context": "SON OT type.\n#\n# Spec is here: https://github.com/josephg/ShareJS/wiki/JSON-Operations\n\nif WEB?\n text = ex",
"end": 94,
"score": 0.9997073411941528,
"start": 87,
"tag": "USERNAME",
"value": "josephg"
},
{
"context": "entkey = null\n elem = container\n ke... | public/coffee/ide/editor/sharejs/vendor/types/json.coffee | mickaobrien/web-sharelatex | 1 | # This is the implementation of the JSON OT type.
#
# Spec is here: https://github.com/josephg/ShareJS/wiki/JSON-Operations
if WEB?
text = exports.types.text
else
text = require './text'
json = {}
json.name = 'json'
json.create = -> null
json.invertComponent = (c) ->
c_ = {p: c.p}
c_.sd = c.si if c.si != u... | 104918 | # This is the implementation of the JSON OT type.
#
# Spec is here: https://github.com/josephg/ShareJS/wiki/JSON-Operations
if WEB?
text = exports.types.text
else
text = require './text'
json = {}
json.name = 'json'
json.create = -> null
json.invertComponent = (c) ->
c_ = {p: c.p}
c_.sd = c.si if c.si != u... | true | # This is the implementation of the JSON OT type.
#
# Spec is here: https://github.com/josephg/ShareJS/wiki/JSON-Operations
if WEB?
text = exports.types.text
else
text = require './text'
json = {}
json.name = 'json'
json.create = -> null
json.invertComponent = (c) ->
c_ = {p: c.p}
c_.sd = c.si if c.si != u... |
[
{
"context": "# express-mongoose-resource\n# Copyright (C) 2012 Marco Pantaleoni.\n#\n# Distributed under the MIT License.\n\n# Inspir",
"end": 65,
"score": 0.9998567700386047,
"start": 49,
"tag": "NAME",
"value": "Marco Pantaleoni"
},
{
"context": "T License.\n\n# Inspired by:\n# ... | src/index.coffee | panta/express-mongoose-resource | 5 | # express-mongoose-resource
# Copyright (C) 2012 Marco Pantaleoni.
#
# Distributed under the MIT License.
# Inspired by:
# https://github.com/visionmedia/express/blob/master/examples/mvc/mvc.js
# https://github.com/visionmedia/express-resource/
# https://github.com/jsmarkus/colibri
#
# See also:
# https://gith... | 218622 | # express-mongoose-resource
# Copyright (C) 2012 <NAME>.
#
# Distributed under the MIT License.
# Inspired by:
# https://github.com/visionmedia/express/blob/master/examples/mvc/mvc.js
# https://github.com/visionmedia/express-resource/
# https://github.com/jsmarkus/colibri
#
# See also:
# https://github.com/beb... | true | # express-mongoose-resource
# Copyright (C) 2012 PI:NAME:<NAME>END_PI.
#
# Distributed under the MIT License.
# Inspired by:
# https://github.com/visionmedia/express/blob/master/examples/mvc/mvc.js
# https://github.com/visionmedia/express-resource/
# https://github.com/jsmarkus/colibri
#
# See also:
# https://... |
[
{
"context": "k.js\n# @namespeace Desk\n#\n# @version 0.1\n# @author Jhon Marroquin || @jhon3rick\n# @author Jonatan Herran || @jonata",
"end": 74,
"score": 0.9998936057090759,
"start": 60,
"tag": "NAME",
"value": "Jhon Marroquin"
},
{
"context": " Desk\n#\n# @version 0.1\n# @author ... | source/coffee/Desktop.coffee | jhon3rick/Desk | 0 | ###
# Desk.js
# @namespeace Desk
#
# @version 0.1
# @author Jhon Marroquin || @jhon3rick
# @author Jonatan Herran || @jonatan2874
#
###
"use strict"
Desk = do ->
Desk = {}
Desk.Create = (obj) ->
alignment = obj.alignment || 'left'
widthIcons = obj.widthIcons || 5
taskbar = obj.taskbar || {}
... | 1324 | ###
# Desk.js
# @namespeace Desk
#
# @version 0.1
# @author <NAME> || @jhon3rick
# @author <NAME> || @jonatan2874
#
###
"use strict"
Desk = do ->
Desk = {}
Desk.Create = (obj) ->
alignment = obj.alignment || 'left'
widthIcons = obj.widthIcons || 5
taskbar = obj.taskbar || {}
user ... | true | ###
# Desk.js
# @namespeace Desk
#
# @version 0.1
# @author PI:NAME:<NAME>END_PI || @jhon3rick
# @author PI:NAME:<NAME>END_PI || @jonatan2874
#
###
"use strict"
Desk = do ->
Desk = {}
Desk.Create = (obj) ->
alignment = obj.alignment || 'left'
widthIcons = obj.widthIcons || 5
taskbar = obj.tas... |
[
{
"context": "d to parentWidget\n setting = {}\n setting.key = \"payroll\"\n setting.isInitialized = false\n\n # initializat",
"end": 826,
"score": 0.9625753164291382,
"start": 819,
"tag": "KEY",
"value": "payroll"
}
] | src/components/widgets-settings/payroll/payroll.directive.coffee | maestrano/impac-angular | 7 | module = angular.module('impac.components.widgets-settings.payroll',[])
module.controller('SettingPayrollCtrl', ($scope, ImpacDashboardsSvc) ->
w = $scope.parentWidget
$scope.togglePayroll = ->
$scope.selectedPayroll.enabled = !$scope.selectedPayroll.enabled
unless $scope.selectedPayroll.enabled
... | 104176 | module = angular.module('impac.components.widgets-settings.payroll',[])
module.controller('SettingPayrollCtrl', ($scope, ImpacDashboardsSvc) ->
w = $scope.parentWidget
$scope.togglePayroll = ->
$scope.selectedPayroll.enabled = !$scope.selectedPayroll.enabled
unless $scope.selectedPayroll.enabled
... | true | module = angular.module('impac.components.widgets-settings.payroll',[])
module.controller('SettingPayrollCtrl', ($scope, ImpacDashboardsSvc) ->
w = $scope.parentWidget
$scope.togglePayroll = ->
$scope.selectedPayroll.enabled = !$scope.selectedPayroll.enabled
unless $scope.selectedPayroll.enabled
... |
[
{
"context": "t =\n items: [\n text: \"kein Treffer\"\n value: undefined\n ]",
"end": 6922,
"score": 0.9992300271987915,
"start": 6910,
"tag": "NAME",
"value": "kein Treffer"
}
] | src/webfrontend/CustomDataTypeGetty.coffee | programmfabrik/custom-data-type-getty | 0 | class CustomDataTypeGetty extends CustomDataTypeWithCommons
#######################################################################
# return name of plugin
getCustomDataTypeName: ->
"custom:base.custom-data-type-getty.getty"
#######################################################################
# retu... | 15707 | class CustomDataTypeGetty extends CustomDataTypeWithCommons
#######################################################################
# return name of plugin
getCustomDataTypeName: ->
"custom:base.custom-data-type-getty.getty"
#######################################################################
# retu... | true | class CustomDataTypeGetty extends CustomDataTypeWithCommons
#######################################################################
# return name of plugin
getCustomDataTypeName: ->
"custom:base.custom-data-type-getty.getty"
#######################################################################
# retu... |
[
{
"context": " map lines\n\n map_done: () ->\n msg = {name: \"MAPPER_DONE\", job_id: @job_id, id: @_id}\n @send_to_server ",
"end": 3646,
"score": 0.9084214568138123,
"start": 3635,
"tag": "USERNAME",
"value": "MAPPER_DONE"
},
{
"context": "() ->\n msg = {name: \"MAPPER_D... | src/public/javascripts/lib/models/worker.coffee | dwetterau/countdera | 2 | firebase = require '../firebase_client.coffee'
config = require '../../../../config.coffee'
constants = require '../../../../constants.coffee'
q = require 'q'
class Worker
constructor: (statecallback) ->
@_last_update = new Date().getTime()
@_connections = {}
@_status = {
state: 'IDLE'
}
@s... | 89568 | firebase = require '../firebase_client.coffee'
config = require '../../../../config.coffee'
constants = require '../../../../constants.coffee'
q = require 'q'
class Worker
constructor: (statecallback) ->
@_last_update = new Date().getTime()
@_connections = {}
@_status = {
state: 'IDLE'
}
@s... | true | firebase = require '../firebase_client.coffee'
config = require '../../../../config.coffee'
constants = require '../../../../constants.coffee'
q = require 'q'
class Worker
constructor: (statecallback) ->
@_last_update = new Date().getTime()
@_connections = {}
@_status = {
state: 'IDLE'
}
@s... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.9998670816421509,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | source/PlanetMath.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
root.cubeFaceQuaternion = []
root.cubeFaceMatrix = []
# Maps plane coordinates (where top left = [0,0] and bottom right = [1,1])
# to a coordinates on a unit cube (corners at [-1,-1,-1] and [+1... | 82879 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
root.cubeFaceQuaternion = []
root.cubeFaceMatrix = []
# Maps plane coordinates (where top left = [0,0] and bottom right = [1,1])
# to a coordinates on a unit cube (corners at [-1,-1,-1] and [+1,+1,+1... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
root = exports ? this
root.cubeFaceQuaternion = []
root.cubeFaceMatrix = []
# Maps plane coordinates (where top left = [0,0] and bottom right = [1,1])
# to a coordinates on a unit cube (corners at [-1,-1,-1]... |
[
{
"context": "opyright 2013 Canopy Canopy Canopy, Inc.\n# Authors Adam Florin & Anthony Tran\n#\nclass Alongslide::Scrolling\n\n #",
"end": 117,
"score": 0.9997655749320984,
"start": 106,
"tag": "NAME",
"value": "Adam Florin"
},
{
"context": "Canopy Canopy Canopy, Inc.\n# Authors Ad... | app/assets/javascripts/alongslide/scrolling.coffee | triplecanopy/alongslide | 33 | #
# alongslide/scrolling.coffee: Skrollr wrapper.
#
# Copyright 2013 Canopy Canopy Canopy, Inc.
# Authors Adam Florin & Anthony Tran
#
class Alongslide::Scrolling
# For applyTransition.
#
TRANSITIONS:
in : [-1..0]
out: [0..1]
FLIP_THRESHOLD : 0.04
WAIT_BEFORE_RESET_MS : 250
SLIDE_DURAT... | 179634 | #
# alongslide/scrolling.coffee: Skrollr wrapper.
#
# Copyright 2013 Canopy Canopy Canopy, Inc.
# Authors <NAME> & <NAME>
#
class Alongslide::Scrolling
# For applyTransition.
#
TRANSITIONS:
in : [-1..0]
out: [0..1]
FLIP_THRESHOLD : 0.04
WAIT_BEFORE_RESET_MS : 250
SLIDE_DURATION_MS ... | true | #
# alongslide/scrolling.coffee: Skrollr wrapper.
#
# Copyright 2013 Canopy Canopy Canopy, Inc.
# Authors PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
#
class Alongslide::Scrolling
# For applyTransition.
#
TRANSITIONS:
in : [-1..0]
out: [0..1]
FLIP_THRESHOLD : 0.04
WAIT_BEFORE_RESET_MS : ... |
[
{
"context": "ce': 'path',\n 'keys': [\n 'b'\n ]\n }\n }, JSON.parse(",
"end": 929,
"score": 0.8698724508285522,
"start": 928,
"tag": "KEY",
"value": "b"
}
] | labs/api/meetings/test/routetests.coffee | thong-hoczita/bigbluebutton | 0 | hapi = require('hapi')
assert = require('assert')
chai = require('chai')
assert = chai.assert
routes = require('../lib/routes')
# integration tests for API endpoint
# setup server with firing up - use inject instead
server = new hapi.Server()
server.route(routes.routes)
# parseurls en... | 106997 | hapi = require('hapi')
assert = require('assert')
chai = require('chai')
assert = chai.assert
routes = require('../lib/routes')
# integration tests for API endpoint
# setup server with firing up - use inject instead
server = new hapi.Server()
server.route(routes.routes)
# parseurls en... | true | hapi = require('hapi')
assert = require('assert')
chai = require('chai')
assert = chai.assert
routes = require('../lib/routes')
# integration tests for API endpoint
# setup server with firing up - use inject instead
server = new hapi.Server()
server.route(routes.routes)
# parseurls en... |
[
{
"context": "e <[owner/]repo> from package.json\n#\n# Author:\n# Tatshro Mitsuno <tmitsuno@yahoo-corp.jp>\n\nPublishRelease = requir",
"end": 422,
"score": 0.9998603463172913,
"start": 407,
"tag": "NAME",
"value": "Tatshro Mitsuno"
},
{
"context": "rom package.json\n#\n# Author:\n... | src/index.coffee | yahoojapan/hubot-package-version-release | 1 | # Description:
# create github release from package.json
#
# Dependencies:
# githubot
#
# Configuration:
# HUBOT_GITHUB_TOKEN (required)
# HUBOT_GITHUB_BASE_BRANCH (optional)
# HUBOT_GITHUB_OWNER (optional)
# HUBOT_GITHUB_RAW (optional)
# HUBOT_GITHUB_API (optional)
#
... | 152413 | # Description:
# create github release from package.json
#
# Dependencies:
# githubot
#
# Configuration:
# HUBOT_GITHUB_TOKEN (required)
# HUBOT_GITHUB_BASE_BRANCH (optional)
# HUBOT_GITHUB_OWNER (optional)
# HUBOT_GITHUB_RAW (optional)
# HUBOT_GITHUB_API (optional)
#
... | true | # Description:
# create github release from package.json
#
# Dependencies:
# githubot
#
# Configuration:
# HUBOT_GITHUB_TOKEN (required)
# HUBOT_GITHUB_BASE_BRANCH (optional)
# HUBOT_GITHUB_OWNER (optional)
# HUBOT_GITHUB_RAW (optional)
# HUBOT_GITHUB_API (optional)
#
... |
[
{
"context": "email':\n prefix: 'eml-text'\n body: '''\nTo: \"John Doe\" <to@example.com>\nFrom: \"Mario Z.\" <from@example.",
"end": 85,
"score": 0.9998030662536621,
"start": 77,
"tag": "NAME",
"value": "John Doe"
},
{
"context": " prefix: 'eml-text'\n body: '''\nTo: \"John... | snippets/language-eml.cson | pchaigno/language-eml | 6 | '.text.eml':
'Plain-Text email':
prefix: 'eml-text'
body: '''
To: "John Doe" <to@example.com>
From: "Mario Z." <from@example.com>
Subject: This is a PlainText email
$2
'''
'HTML email':
prefix: 'eml-html'
body: '''
To: "John Doe" <to@example.com>
From: "Mario Z." <from@example.com>
Subject: This is... | 27805 | '.text.eml':
'Plain-Text email':
prefix: 'eml-text'
body: '''
To: "<NAME>" <<EMAIL>>
From: "<NAME>." <<EMAIL>>
Subject: This is a PlainText email
$2
'''
'HTML email':
prefix: 'eml-html'
body: '''
To: "<NAME>" <<EMAIL>>
From: "<NAME>." <<EMAIL>>
Subject: This is a HTML email
Content-Type: text/html;... | true | '.text.eml':
'Plain-Text email':
prefix: 'eml-text'
body: '''
To: "PI:NAME:<NAME>END_PI" <PI:EMAIL:<EMAIL>END_PI>
From: "PI:NAME:<NAME>END_PI." <PI:EMAIL:<EMAIL>END_PI>
Subject: This is a PlainText email
$2
'''
'HTML email':
prefix: 'eml-html'
body: '''
To: "PI:NAME:<NAME>END_PI" <PI:EMAIL:<EMAIL>E... |
[
{
"context": " username : @.req.body.username,\n password : @.req.",
"end": 1942,
"score": 0.750636637210846,
"start": 1934,
"tag": "USERNAME",
"value": "username"
},
{
"context": "sername,\n password ... | src/controllers/User-Sign-Up-Controller.coffee | TeamMentor/TM_Site | 0 | signUp_fail = 'guest/sign-up-Fail.jade'
signUpPage_Unavailable = 'guest/sign-up-cant-connect.jade'
signUp_Ok = 'guest/sign-up-OK.html'
login_page = '/browser-detect-login'
errorMessage = "TEAM Mentor is unavailable, please contact us at "
request = null... | 114940 | signUp_fail = 'guest/sign-up-Fail.jade'
signUpPage_Unavailable = 'guest/sign-up-cant-connect.jade'
signUp_Ok = 'guest/sign-up-OK.html'
login_page = '/browser-detect-login'
errorMessage = "TEAM Mentor is unavailable, please contact us at "
request = null... | true | signUp_fail = 'guest/sign-up-Fail.jade'
signUpPage_Unavailable = 'guest/sign-up-cant-connect.jade'
signUp_Ok = 'guest/sign-up-OK.html'
login_page = '/browser-detect-login'
errorMessage = "TEAM Mentor is unavailable, please contact us at "
request = null... |
[
{
"context": "n 5+ Confirm Dialog Modal\n# version 0.3\n# (c) 2014 joe johnston [joe@simple10.com]\n# released under the MIT licen",
"end": 119,
"score": 0.9998485445976257,
"start": 107,
"tag": "NAME",
"value": "joe johnston"
},
{
"context": "alog Modal\n# version 0.3\n# (c) 2014 jo... | vendor/assets/javascripts/rails_confirm_dialog.js.coffee | gablarsen/playinpeel | 3 | #
# Rails 3+ with Twitter Bootstrap 2+ or Zurb Foundation 5+ Confirm Dialog Modal
# version 0.3
# (c) 2014 joe johnston [joe@simple10.com]
# released under the MIT license
#
# Dependencies:
# jQuery
#
# Overview:
# Override $.rails.allowAction to intercept clicked elements with data-confirm. If message is an object... | 146984 | #
# Rails 3+ with Twitter Bootstrap 2+ or Zurb Foundation 5+ Confirm Dialog Modal
# version 0.3
# (c) 2014 <NAME> [<EMAIL>]
# released under the MIT license
#
# Dependencies:
# jQuery
#
# Overview:
# Override $.rails.allowAction to intercept clicked elements with data-confirm. If message is an object, use
# jQuer... | true | #
# Rails 3+ with Twitter Bootstrap 2+ or Zurb Foundation 5+ Confirm Dialog Modal
# version 0.3
# (c) 2014 PI:NAME:<NAME>END_PI [PI:EMAIL:<EMAIL>END_PI]
# released under the MIT license
#
# Dependencies:
# jQuery
#
# Overview:
# Override $.rails.allowAction to intercept clicked elements with data-confirm. If messag... |
[
{
"context": ": 0xd00d\n uuid: 'gateblu-uuid'\n token: 'gateblu-token'\n\n @deviceList =\n getList: sinon.stub()\n\n",
"end": 293,
"score": 0.7049446105957031,
"start": 280,
"tag": "PASSWORD",
"value": "gateblu-token"
},
{
"context": "deviceList.getList.yields null,... | test/gateblu-service-spec.coffee | octoblu/node-gateblu-service | 0 | _ = require 'lodash'
shmock = require '@octoblu/shmock'
GatebluService = require '../src/gateblu-service'
describe 'GatebluService', ->
beforeEach ->
meshbluConfig =
server: 'localhost'
port: 0xd00d
uuid: 'gateblu-uuid'
token: 'gateblu-token'
@deviceList =
... | 47179 | _ = require 'lodash'
shmock = require '@octoblu/shmock'
GatebluService = require '../src/gateblu-service'
describe 'GatebluService', ->
beforeEach ->
meshbluConfig =
server: 'localhost'
port: 0xd00d
uuid: 'gateblu-uuid'
token: '<PASSWORD>'
@deviceList =
get... | true | _ = require 'lodash'
shmock = require '@octoblu/shmock'
GatebluService = require '../src/gateblu-service'
describe 'GatebluService', ->
beforeEach ->
meshbluConfig =
server: 'localhost'
port: 0xd00d
uuid: 'gateblu-uuid'
token: 'PI:PASSWORD:<PASSWORD>END_PI'
@devi... |
[
{
"context": "er, MarkerManager, uiGmapPromise) ->\n keys = ['coords', 'icon', 'options', 'fit']\n class MarkerChildModel extends ModelKey\n ",
"end": 448,
"score": 0.927708089351654,
"start": 414,
"tag": "KEY",
"value": "coords', 'icon', 'options', 'fit']"
},
{
"context": ... | public/bower_components/angular-google-maps/src/coffee/directives/api/models/child/marker-child-model.coffee | arslannaseem/notasoft | 0 | angular.module('uiGmapgoogle-maps.directives.api.models.child')
.factory 'uiGmapMarkerChildModel', [
'uiGmapModelKey', 'uiGmapGmapUtil',
'uiGmapLogger', 'uiGmapEventsHelper', 'uiGmapPropertyAction',
'uiGmapMarkerOptions', 'uiGmapIMarker', 'uiGmapMarkerManager', 'uiGmapPromise',
(ModelKey, GmapUtil, $log, Events... | 165122 | angular.module('uiGmapgoogle-maps.directives.api.models.child')
.factory 'uiGmapMarkerChildModel', [
'uiGmapModelKey', 'uiGmapGmapUtil',
'uiGmapLogger', 'uiGmapEventsHelper', 'uiGmapPropertyAction',
'uiGmapMarkerOptions', 'uiGmapIMarker', 'uiGmapMarkerManager', 'uiGmapPromise',
(ModelKey, GmapUtil, $log, Events... | true | angular.module('uiGmapgoogle-maps.directives.api.models.child')
.factory 'uiGmapMarkerChildModel', [
'uiGmapModelKey', 'uiGmapGmapUtil',
'uiGmapLogger', 'uiGmapEventsHelper', 'uiGmapPropertyAction',
'uiGmapMarkerOptions', 'uiGmapIMarker', 'uiGmapMarkerManager', 'uiGmapPromise',
(ModelKey, GmapUtil, $log, Events... |
[
{
"context": "plate({title: title, base_url: base_url, username: username, message: message})\n\t\topts = {\n\t\t\tfrom: 'support@",
"end": 2144,
"score": 0.5373497009277344,
"start": 2136,
"tag": "USERNAME",
"value": "username"
},
{
"context": "username, message: message})\n\t\topts... | server/mailer.coffee | willroberts/duelyst | 5 | fs = require 'fs'
os = require 'os'
path = require 'path'
nodemailer = require 'nodemailer'
hbs = require 'hbs'
handlebars = hbs.handlebars
config = require '../config/config.js'
# Pretty error printing, helps with stack traces
PrettyError = require 'pretty-error'
prettyError = new PrettyError()
prettyError.skipNodeFi... | 194889 | fs = require 'fs'
os = require 'os'
path = require 'path'
nodemailer = require 'nodemailer'
hbs = require 'hbs'
handlebars = hbs.handlebars
config = require '../config/config.js'
# Pretty error printing, helps with stack traces
PrettyError = require 'pretty-error'
prettyError = new PrettyError()
prettyError.skipNodeFi... | true | fs = require 'fs'
os = require 'os'
path = require 'path'
nodemailer = require 'nodemailer'
hbs = require 'hbs'
handlebars = hbs.handlebars
config = require '../config/config.js'
# Pretty error printing, helps with stack traces
PrettyError = require 'pretty-error'
prettyError = new PrettyError()
prettyError.skipNodeFi... |
[
{
"context": "# (c) 2013-2018 Flowhub UG\n# (c) 2011-2012 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 116,
"score": 0.9998559951782227,
"start": 103,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "2018 Flowhub UG\n# (c) 2011-2012 He... | src/lib/Network.coffee | rrothenb/noflo | 0 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2018 Flowhub UG
# (c) 2011-2012 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
BaseNetwork = require './BaseNetwork'
# ## The NoFlo network coordinator
#
# NoFlo networks consist of processes connected to each oth... | 167109 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2018 Flowhub UG
# (c) 2011-2012 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
BaseNetwork = require './BaseNetwork'
# ## The NoFlo network coordinator
#
# NoFlo networks consist of processes connected to each other
# vi... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2018 Flowhub UG
# (c) 2011-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
BaseNetwork = require './BaseNetwork'
# ## The NoFlo network coordinator
#
# NoFlo networks consist of processes ... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nFoldingTextService = requi",
"end": 35,
"score": 0.9997143745422363,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/extensions/tags/index.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
FoldingTextService = require '../../foldingtext-service'
TokenInputElement = require '../ui/token-input-element'
ListInputElement = require '../ui/list-input-element'
{CompositeDisposable} = require 'atom'
FoldingTextService.observeOutlineEditors (editor) ->
... | 75447 | # Copyright (c) 2015 <NAME>. All rights reserved.
FoldingTextService = require '../../foldingtext-service'
TokenInputElement = require '../ui/token-input-element'
ListInputElement = require '../ui/list-input-element'
{CompositeDisposable} = require 'atom'
FoldingTextService.observeOutlineEditors (editor) ->
editor.... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
FoldingTextService = require '../../foldingtext-service'
TokenInputElement = require '../ui/token-input-element'
ListInputElement = require '../ui/list-input-element'
{CompositeDisposable} = require 'atom'
FoldingTextService.observeOutlineEditors (editor... |
[
{
"context": "nversion routine.\n@license MIT. Copyright (c) 2015 James Devlin / FluentDesk.\n@module utils/html-to-wpml\n###\n\n\n_ ",
"end": 117,
"score": 0.9997646808624268,
"start": 105,
"tag": "NAME",
"value": "James Devlin"
}
] | src/utils/html-to-wpml.coffee | focusaurus/HackMyResume | 2 | ###*
Definition of the Markdown to WordProcessingML conversion routine.
@license MIT. Copyright (c) 2015 James Devlin / FluentDesk.
@module utils/html-to-wpml
###
_ = require 'underscore'
HTML5Tokenizer = require 'simple-html-tokenizer'
module.exports = ( html ) ->
# Tokenize the HTML stream.
tokens = HTML5Toke... | 40942 | ###*
Definition of the Markdown to WordProcessingML conversion routine.
@license MIT. Copyright (c) 2015 <NAME> / FluentDesk.
@module utils/html-to-wpml
###
_ = require 'underscore'
HTML5Tokenizer = require 'simple-html-tokenizer'
module.exports = ( html ) ->
# Tokenize the HTML stream.
tokens = HTML5Tokenizer.... | true | ###*
Definition of the Markdown to WordProcessingML conversion routine.
@license MIT. Copyright (c) 2015 PI:NAME:<NAME>END_PI / FluentDesk.
@module utils/html-to-wpml
###
_ = require 'underscore'
HTML5Tokenizer = require 'simple-html-tokenizer'
module.exports = ( html ) ->
# Tokenize the HTML stream.
tokens = H... |
[
{
"context": "###\n resource-embedder\n https://github.com/callumlocke/resource-embedder\n\n Copyright 2013 Callum Locke\n",
"end": 56,
"score": 0.9995028972625732,
"start": 45,
"tag": "USERNAME",
"value": "callumlocke"
},
{
"context": "om/callumlocke/resource-embedder\n\n Copyri... | src/resource-embedder.coffee | callumlocke/resource-embedder | 1 | ###
resource-embedder
https://github.com/callumlocke/resource-embedder
Copyright 2013 Callum Locke
Licensed under the MIT license.
###
fs = require 'graceful-fs'
path = require 'path'
htmlparser = require 'htmlparser2'
assign = require('lodash').assign
Resource = require './resource'
getLineIndent = require '... | 17900 | ###
resource-embedder
https://github.com/callumlocke/resource-embedder
Copyright 2013 <NAME>
Licensed under the MIT license.
###
fs = require 'graceful-fs'
path = require 'path'
htmlparser = require 'htmlparser2'
assign = require('lodash').assign
Resource = require './resource'
getLineIndent = require './get-... | true | ###
resource-embedder
https://github.com/callumlocke/resource-embedder
Copyright 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
fs = require 'graceful-fs'
path = require 'path'
htmlparser = require 'htmlparser2'
assign = require('lodash').assign
Resource = require './resource'
getLineIndent = r... |
[
{
"context": " 'fetchEtcdTokenURL'\n 'username:fetch': 'fetchUsername'\n 'password:validate': 'validatePassword'\n ",
"end": 611,
"score": 0.834611177444458,
"start": 598,
"tag": "USERNAME",
"value": "fetchUsername"
},
{
"context": " 'fetchUsername'\n 'password:... | src/app/ipc/config.coffee | s1090709/vessel | 101 | # Provide an interface for creating and reading environment config files
_ = require 'underscore'
exec = require('child_process').exec
spawn = require('child_process').spawn
fs = require 'fs-plus'
restler = require 'restler'
sudofy = require 'sudofy'
tempWrite = require 'temp-write'
Liste... | 58413 | # Provide an interface for creating and reading environment config files
_ = require 'underscore'
exec = require('child_process').exec
spawn = require('child_process').spawn
fs = require 'fs-plus'
restler = require 'restler'
sudofy = require 'sudofy'
tempWrite = require 'temp-write'
Liste... | true | # Provide an interface for creating and reading environment config files
_ = require 'underscore'
exec = require('child_process').exec
spawn = require('child_process').spawn
fs = require 'fs-plus'
restler = require 'restler'
sudofy = require 'sudofy'
tempWrite = require 'temp-write'
Liste... |
[
{
"context": "HR) ->\n jqXHR.setRequestHeader('X-Spree-Token', 'ad76617dfee35d1b793d8d67187e85c7075ccea6bed232c9')\n",
"end": 625,
"score": 0.974035382270813,
"start": 577,
"tag": "PASSWORD",
"value": "ad76617dfee35d1b793d8d67187e85c7075ccea6bed232c9"
}
] | app/assets/javascripts/spree/ember/frontend/application.js.coffee | venkatesh3007/spree_ember | 1 | //= require jquery
//= require handlebars
//= require ember
//= require spree
//= require_self
//= require ./frontend
Spree.Resolver = Ember.DefaultResolver.extend
resolveTemplate: (parsedName) ->
Ember.TEMPLATES['spree/ember/frontend/' + parsedName.name] ||
Ember.TEMPLATES.NOT_FOUND
Spree.App = Ember.Appl... | 111628 | //= require jquery
//= require handlebars
//= require ember
//= require spree
//= require_self
//= require ./frontend
Spree.Resolver = Ember.DefaultResolver.extend
resolveTemplate: (parsedName) ->
Ember.TEMPLATES['spree/ember/frontend/' + parsedName.name] ||
Ember.TEMPLATES.NOT_FOUND
Spree.App = Ember.Appl... | true | //= require jquery
//= require handlebars
//= require ember
//= require spree
//= require_self
//= require ./frontend
Spree.Resolver = Ember.DefaultResolver.extend
resolveTemplate: (parsedName) ->
Ember.TEMPLATES['spree/ember/frontend/' + parsedName.name] ||
Ember.TEMPLATES.NOT_FOUND
Spree.App = Ember.Appl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.