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": "fileoverview Tests for vars-on-top rule.\n# @author Danny Fritz\n# @author Gyandeep Singh\n###\n'use strict'\n\n#-----",
"end": 70,
"score": 0.9998223185539246,
"start": 59,
"tag": "NAME",
"value": "Danny Fritz"
},
{
"context": " vars-on-top rule.\n# @author Danny Fritz... | src/tests/rules/vars-on-top.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for vars-on-top rule.
# @author Danny Fritz
# @author Gyandeep Singh
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/va... | 93274 | ###*
# @fileoverview Tests for vars-on-top rule.
# @author <NAME>
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/vars-on-top'
{R... | true | ###*
# @fileoverview Tests for vars-on-top rule.
# @author PI:NAME:<NAME>END_PI
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require ... |
[
{
"context": "equire 'async'\nHASHKEY = \"#{_config.redis.unique}:role\"\n\ngetKey = (project_id, member_id)->\n \"role:#{pr",
"end": 196,
"score": 0.865892767906189,
"start": 192,
"tag": "KEY",
"value": "role"
}
] | src/redis/authority.bak.coffee | kiteam/kiteam | 0 | _common = require '../common'
_config = _common.config
_entity = require '../entity/project_member'
_connect = require './connect'
_async = require 'async'
HASHKEY = "#{_config.redis.unique}:role"
getKey = (project_id, member_id)->
"role:#{project_id}:#{member_id}"
pushToRedis = (list, cb)->
index = 0
_async.w... | 120387 | _common = require '../common'
_config = _common.config
_entity = require '../entity/project_member'
_connect = require './connect'
_async = require 'async'
HASHKEY = "#{_config.redis.unique}:<KEY>"
getKey = (project_id, member_id)->
"role:#{project_id}:#{member_id}"
pushToRedis = (list, cb)->
index = 0
_async.... | true | _common = require '../common'
_config = _common.config
_entity = require '../entity/project_member'
_connect = require './connect'
_async = require 'async'
HASHKEY = "#{_config.redis.unique}:PI:KEY:<KEY>END_PI"
getKey = (project_id, member_id)->
"role:#{project_id}:#{member_id}"
pushToRedis = (list, cb)->
index ... |
[
{
"context": "nInput = {value('name')}\n placeholder = 'Full Name'\n />\n <input\n type = 'text'\n ",
"end": 1270,
"score": 0.997536301612854,
"start": 1261,
"tag": "NAME",
"value": "Full Name"
}
] | test/index.cjsx | zouiteryoussef/react-credit-card-master | 240 |
React = require('react')
Card = require('../build/card.js')
lorem = '
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi.
Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent
mauris. Fusce nec tellus sed augue... | 169445 |
React = require('react')
Card = require('../build/card.js')
lorem = '
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi.
Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent
mauris. Fusce nec tellus sed augue... | true |
React = require('react')
Card = require('../build/card.js')
lorem = '
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi.
Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent
mauris. Fusce nec tellus sed augue... |
[
{
"context": "s not valid\").isEmail()\n req.assert(\"password\", \"Password cannot be blank\").notEmpty()\n validationErrors = req.validationE",
"end": 707,
"score": 0.8328497409820557,
"start": 683,
"tag": "PASSWORD",
"value": "Password cannot be blank"
},
{
"context": "{name: re... | development/server/controllers/user.coffee | SwingDev/MEAN-starter | 0 | _ = require("lodash")
async = require("async")
crypto = require("crypto")
nodemailer = require("nodemailer")
passport = require("passport")
User = require("../models/User")
config = require("../config/config")
mailer = require("./mailer")
swig = require('swig')
path = requi... | 178574 | _ = require("lodash")
async = require("async")
crypto = require("crypto")
nodemailer = require("nodemailer")
passport = require("passport")
User = require("../models/User")
config = require("../config/config")
mailer = require("./mailer")
swig = require('swig')
path = requi... | true | _ = require("lodash")
async = require("async")
crypto = require("crypto")
nodemailer = require("nodemailer")
passport = require("passport")
User = require("../models/User")
config = require("../config/config")
mailer = require("./mailer")
swig = require('swig')
path = requi... |
[
{
"context": "# TODO: s/ECMA/Java/ once finished\nname: \"JSX\"\nscopeName: \"source.ecmascript.jsx\"\nfileTypes: [\n",
"end": 45,
"score": 0.875259280204773,
"start": 42,
"tag": "NAME",
"value": "JSX"
}
] | grammars/jsx.cson | Alhadis/language-js | 4 | # TODO: s/ECMA/Java/ once finished
name: "JSX"
scopeName: "source.ecmascript.jsx"
fileTypes: [
".jsx"
".babel"
".flow"
]
firstLineMatch: """(?x)
# Babel pragma
( /[*]{2}\\s*@babel\\s*[*]/
| "use babel"
| 'use babel'
| /[*]\\s*@flow\\s*[*]/
)
|
# Modeline
(?i:
# Emacs
-\\*-(?:\\s*(?=[^:;\\s]+\\s*-\\*-)|(... | 90300 | # TODO: s/ECMA/Java/ once finished
name: "<NAME>"
scopeName: "source.ecmascript.jsx"
fileTypes: [
".jsx"
".babel"
".flow"
]
firstLineMatch: """(?x)
# Babel pragma
( /[*]{2}\\s*@babel\\s*[*]/
| "use babel"
| 'use babel'
| /[*]\\s*@flow\\s*[*]/
)
|
# Modeline
(?i:
# Emacs
-\\*-(?:\\s*(?=[^:;\\s]+\\s*-\\*-... | true | # TODO: s/ECMA/Java/ once finished
name: "PI:NAME:<NAME>END_PI"
scopeName: "source.ecmascript.jsx"
fileTypes: [
".jsx"
".babel"
".flow"
]
firstLineMatch: """(?x)
# Babel pragma
( /[*]{2}\\s*@babel\\s*[*]/
| "use babel"
| 'use babel'
| /[*]\\s*@flow\\s*[*]/
)
|
# Modeline
(?i:
# Emacs
-\\*-(?:\\s*(?=[^:;... |
[
{
"context": " creatorLabel = @game.add.text(0, 48, 'Made by: Andrew O.', {font: '48px VT323', fill: '#fff'})\n creato",
"end": 151,
"score": 0.9991275072097778,
"start": 143,
"tag": "NAME",
"value": "Andrew O"
},
{
"context": " creatorSubLabel = @game.add.text(0, 88, 'Twitter:... | scripts/coffee/credits.coffee | oppenlander/flappy-donk | 0 | BaseState = require './basestate'
class Credits extends BaseState
create: ->
super
creatorLabel = @game.add.text(0, 48, 'Made by: Andrew O.', {font: '48px VT323', fill: '#fff'})
creatorLabel.x = @gw/2 - creatorLabel._width/2
creatorSubLabel = @game.add.text(0, 88, 'Twitter: usagimaru57', {font: '32... | 175473 | BaseState = require './basestate'
class Credits extends BaseState
create: ->
super
creatorLabel = @game.add.text(0, 48, 'Made by: <NAME>.', {font: '48px VT323', fill: '#fff'})
creatorLabel.x = @gw/2 - creatorLabel._width/2
creatorSubLabel = @game.add.text(0, 88, 'Twitter: usagimaru57', {font: '32px... | true | BaseState = require './basestate'
class Credits extends BaseState
create: ->
super
creatorLabel = @game.add.text(0, 48, 'Made by: PI:NAME:<NAME>END_PI.', {font: '48px VT323', fill: '#fff'})
creatorLabel.x = @gw/2 - creatorLabel._width/2
creatorSubLabel = @game.add.text(0, 88, 'Twitter: usagimaru57'... |
[
{
"context": "***\n# JSListView list view manage class\n# Coded by Hajime Oh-yake 2013.04.02\n#*************************************",
"end": 104,
"score": 0.9998912811279297,
"start": 90,
"tag": "NAME",
"value": "Hajime Oh-yake"
}
] | JSKit/04_JSListView.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSListView list view manage class
# Coded by Hajime Oh-yake 2013.04.02
#*****************************************
class JSListView extends JSScrollView
constructor:(frame)->
super(frame)
@_listData = null
@_orglist = null
@_clickaction = ... | 182688 | #*****************************************
# JSListView list view manage class
# Coded by <NAME> 2013.04.02
#*****************************************
class JSListView extends JSScrollView
constructor:(frame)->
super(frame)
@_listData = null
@_orglist = null
@_clickaction = null
... | true | #*****************************************
# JSListView list view manage class
# Coded by PI:NAME:<NAME>END_PI 2013.04.02
#*****************************************
class JSListView extends JSScrollView
constructor:(frame)->
super(frame)
@_listData = null
@_orglist = null
@_clickact... |
[
{
"context": "x =\n host: 'localhost'\n port: 8984\n username: 'admin'\n password: 'admin'\n database: 'letterdb'\n pat",
"end": 109,
"score": 0.9992070198059082,
"start": 104,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "st'\n port: 8984\n username: 'admin'\n passwo... | config.coffee | nerdenough/letterdb | 0 | config =
title: 'LetterDB'
port: 3000
config.basex =
host: 'localhost'
port: 8984
username: 'admin'
password: 'admin'
database: 'letterdb'
path: '/rest/letterdb'
module.exports = config
| 158887 | config =
title: 'LetterDB'
port: 3000
config.basex =
host: 'localhost'
port: 8984
username: 'admin'
password: '<PASSWORD>'
database: 'letterdb'
path: '/rest/letterdb'
module.exports = config
| true | config =
title: 'LetterDB'
port: 3000
config.basex =
host: 'localhost'
port: 8984
username: 'admin'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
database: 'letterdb'
path: '/rest/letterdb'
module.exports = config
|
[
{
"context": "The `Class` unit tests\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test,should} = require('lovely')\n\neval(Test.bu",
"end": 72,
"score": 0.9998873472213745,
"start": 55,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/core/test/class_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The `Class` unit tests
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test,should} = require('lovely')
eval(Test.build)
Class = this.Lovely.Class
describe 'Class', ->
describe "new Class({..})", ->
Klass = new Class
getName: -> return this.name
setName: (name) -> this.name = name
... | 72568 | #
# The `Class` unit tests
#
# Copyright (C) 2011-2013 <NAME>
#
{Test,should} = require('lovely')
eval(Test.build)
Class = this.Lovely.Class
describe 'Class', ->
describe "new Class({..})", ->
Klass = new Class
getName: -> return this.name
setName: (name) -> this.name = name
it 'should ... | true | #
# The `Class` unit tests
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test,should} = require('lovely')
eval(Test.build)
Class = this.Lovely.Class
describe 'Class', ->
describe "new Class({..})", ->
Klass = new Class
getName: -> return this.name
setName: (name) -> this.name = name
... |
[
{
"context": "ool)\n\t\t\tif justCreated and R.tools[@name]?\n\t\t\t\tg[@Path.constructor.name] = @Path\n\t\t\t\tR.tools[@name].remove()\n\t\t\t\tdelete R",
"end": 2752,
"score": 0.9872232675552368,
"start": 2731,
"tag": "EMAIL",
"value": "Path.constructor.name"
},
{
"context": "lly)... | coffee/Tools/PathTool.coffee | arthursw/comme-un-dessein-client | 0 | define ['paper', 'R', 'Utils/Utils', 'Tools/Tool', 'UI/Button', 'i18next' ], (P, R, Utils, Tool, Button, i18next) ->
# PathTool: the mother class of all drawing tools
# doctodo: P.Path are created with three steps:
# - begin: initialize RPath: create the group, controlPath etc., and initialize the drawing
# - upda... | 172541 | define ['paper', 'R', 'Utils/Utils', 'Tools/Tool', 'UI/Button', 'i18next' ], (P, R, Utils, Tool, Button, i18next) ->
# PathTool: the mother class of all drawing tools
# doctodo: P.Path are created with three steps:
# - begin: initialize RPath: create the group, controlPath etc., and initialize the drawing
# - upda... | true | define ['paper', 'R', 'Utils/Utils', 'Tools/Tool', 'UI/Button', 'i18next' ], (P, R, Utils, Tool, Button, i18next) ->
# PathTool: the mother class of all drawing tools
# doctodo: P.Path are created with three steps:
# - begin: initialize RPath: create the group, controlPath etc., and initialize the drawing
# - upda... |
[
{
"context": "ta : \"foo\"})\n store2.insert({id: 2, name: \"barf\"})\n store1.getAllKeys().then (keys) ->\n ",
"end": 1354,
"score": 0.8104575872421265,
"start": 1350,
"tag": "NAME",
"value": "barf"
},
{
"context": "\"foo\"})\n stores[1].insert({id: 2, name:... | app/bower_components/angular-indexedDB/test/spec/angular-indexeddb-spec.coffee | Ajtimstoj/registerform | 0 | 'use strict'
describe "$indexedDB", ->
providerConfig = {}
$q = {}
beforeEach ->
angular.module('indexedDB').config ($indexedDBProvider) ->
providerConfig = $indexedDBProvider
module 'indexedDB'
inject(->)
itPromises = (message, testFunc) ->
it message, (done) ->
successCb = sino... | 128490 | 'use strict'
describe "$indexedDB", ->
providerConfig = {}
$q = {}
beforeEach ->
angular.module('indexedDB').config ($indexedDBProvider) ->
providerConfig = $indexedDBProvider
module 'indexedDB'
inject(->)
itPromises = (message, testFunc) ->
it message, (done) ->
successCb = sino... | true | 'use strict'
describe "$indexedDB", ->
providerConfig = {}
$q = {}
beforeEach ->
angular.module('indexedDB').config ($indexedDBProvider) ->
providerConfig = $indexedDBProvider
module 'indexedDB'
inject(->)
itPromises = (message, testFunc) ->
it message, (done) ->
successCb = sino... |
[
{
"context": "-strings')\n\ndebugger\n\nTEST_STRINGS = [{\n input: \"Bob went to the store\"\n expected: \"bob-went-to-the-s",
"end": 83,
"score": 0.9990279674530029,
"start": 80,
"tag": "NAME",
"value": "Bob"
}
] | test/dasherize.coffee | littlebee/bumble-strings | 0 |
BStr = require('../src/bumble-strings')
debugger
TEST_STRINGS = [{
input: "Bob went to the store"
expected: "bob-went-to-the-store"
why: "Should have converted the whole string to lower case and replaced all spaces with dashes"
},{
input: "someLowerCamelCasedThing"
expected: "some-lower-camel-cased-thin... | 114859 |
BStr = require('../src/bumble-strings')
debugger
TEST_STRINGS = [{
input: "<NAME> went to the store"
expected: "bob-went-to-the-store"
why: "Should have converted the whole string to lower case and replaced all spaces with dashes"
},{
input: "someLowerCamelCasedThing"
expected: "some-lower-camel-cased-t... | true |
BStr = require('../src/bumble-strings')
debugger
TEST_STRINGS = [{
input: "PI:NAME:<NAME>END_PI went to the store"
expected: "bob-went-to-the-store"
why: "Should have converted the whole string to lower case and replaced all spaces with dashes"
},{
input: "someLowerCamelCasedThing"
expected: "some-lower... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nFoldingTextService = requi",
"end": 35,
"score": 0.9997214078903198,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/extensions/ui/list-input-element.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
FoldingTextService = require '../../foldingtext-service'
{Disposable, CompositeDisposable} = require 'atom'
fuzzyFilter = null # defer until used
class ListInputElement extends HTMLElement
items: []
maxItems: Infinity
allowNewItems: true
allowMultipl... | 210122 | # Copyright (c) 2015 <NAME>. All rights reserved.
FoldingTextService = require '../../foldingtext-service'
{Disposable, CompositeDisposable} = require 'atom'
fuzzyFilter = null # defer until used
class ListInputElement extends HTMLElement
items: []
maxItems: Infinity
allowNewItems: true
allowMultipleItems: ... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
FoldingTextService = require '../../foldingtext-service'
{Disposable, CompositeDisposable} = require 'atom'
fuzzyFilter = null # defer until used
class ListInputElement extends HTMLElement
items: []
maxItems: Infinity
allowNewItems: true
allowM... |
[
{
"context": ">\n clean = (key) ->\n key = key.replace /:/g, 'IDBI'\n key.replace /\\//g, 'IIDI'\n unclean = (key) ",
"end": 181,
"score": 0.908519983291626,
"start": 177,
"tag": "KEY",
"value": "IDBI"
},
{
"context": " key.replace /:/g, 'IDBI'\n key.replace /\\//g, 'IIDI'... | src/local.coffee | ndxbxrme/ndxdb | 1 | 'use strict'
settings = require './settings'
glob = require 'glob'
fs = require 'fs'
path = require 'path'
module.exports = ->
clean = (key) ->
key = key.replace /:/g, 'IDBI'
key.replace /\//g, 'IIDI'
unclean = (key) ->
key = key.replace /IDBI/g, ':'
key = key.replace /IIDI/g, '/'
regex = new ... | 10788 | 'use strict'
settings = require './settings'
glob = require 'glob'
fs = require 'fs'
path = require 'path'
module.exports = ->
clean = (key) ->
key = key.replace /:/g, '<KEY>'
key.replace /\//g, '<KEY>'
unclean = (key) ->
key = key.replace /IDBI/g, ':'
key = key.replace /IIDI/g, '/'
regex = ne... | true | 'use strict'
settings = require './settings'
glob = require 'glob'
fs = require 'fs'
path = require 'path'
module.exports = ->
clean = (key) ->
key = key.replace /:/g, 'PI:KEY:<KEY>END_PI'
key.replace /\//g, 'PI:KEY:<KEY>END_PI'
unclean = (key) ->
key = key.replace /IDBI/g, ':'
key = key.replace /... |
[
{
"context": " \"greekonstreet\" : \"359790551186407425\",\n \"BettyCrockski\" : \"463677794044502016\",\n \"Macarollin\" ",
"end": 871,
"score": 0.9992278218269348,
"start": 858,
"tag": "NAME",
"value": "BettyCrockski"
},
{
"context": " \"BettyCrockski\" : \"463... | assets/food.coffee | coworkbuffalo/coworkbuffalo.github.com | 1 | $ ->
$.supersized slides: [{image: '/images/buffalo_1900.jpg'}]
trucks = {
"whereslloyd" : "344853196625309696",
"RoamingBuffalo1" : "344857092533911552",
"theBMFT" : "344858519096397824",
"FindFrankNow" : "344858686004535296",
"amys_truck" : "344858789989728256",... | 167876 | $ ->
$.supersized slides: [{image: '/images/buffalo_1900.jpg'}]
trucks = {
"whereslloyd" : "344853196625309696",
"RoamingBuffalo1" : "344857092533911552",
"theBMFT" : "344858519096397824",
"FindFrankNow" : "344858686004535296",
"amys_truck" : "344858789989728256",... | true | $ ->
$.supersized slides: [{image: '/images/buffalo_1900.jpg'}]
trucks = {
"whereslloyd" : "344853196625309696",
"RoamingBuffalo1" : "344857092533911552",
"theBMFT" : "344858519096397824",
"FindFrankNow" : "344858686004535296",
"amys_truck" : "344858789989728256",... |
[
{
"context": "###\nknockback-inspector.js 0.1.6\n(c) 2012 Kevin Malakoff.\nKnockback-Inspector.js is freely distributable u",
"end": 56,
"score": 0.9998501539230347,
"start": 42,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ng for full license details:\n https://github.... | src/lib/kbi_core.coffee | kmalakoff/knockback-inspector | 1 | ###
knockback-inspector.js 0.1.6
(c) 2012 Kevin Malakoff.
Knockback-Inspector.js is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback-inspector/blob/master/LICENSE
Dependencies: Knockout.js, Underscore.js, Backbone.js, and Knockback.js.
###
... | 43544 | ###
knockback-inspector.js 0.1.6
(c) 2012 <NAME>.
Knockback-Inspector.js is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback-inspector/blob/master/LICENSE
Dependencies: Knockout.js, Underscore.js, Backbone.js, and Knockback.js.
###
# impor... | true | ###
knockback-inspector.js 0.1.6
(c) 2012 PI:NAME:<NAME>END_PI.
Knockback-Inspector.js is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback-inspector/blob/master/LICENSE
Dependencies: Knockout.js, Underscore.js, Backbone.js, and Knockback.js... |
[
{
"context": "atic __dirname \n\t\tapp.use express.session {secret: '$#$wt00ne%%', store: new express.session.MemoryStore}\n\t\tapp.s",
"end": 261,
"score": 0.9542864561080933,
"start": 249,
"tag": "KEY",
"value": "'$#$wt00ne%%"
}
] | example/express-core.coffee | codeboost/Skull.io | 1 | express = require 'express'
app = express()
path = require 'path'
exports.init = (viewsDir) ->
app.configure ->
app.use express.bodyParser()
app.use express.cookieParser()
app.use express.static __dirname
app.use express.session {secret: '$#$wt00ne%%', store: new express.session.MemoryStore}
app.set 'views... | 3473 | express = require 'express'
app = express()
path = require 'path'
exports.init = (viewsDir) ->
app.configure ->
app.use express.bodyParser()
app.use express.cookieParser()
app.use express.static __dirname
app.use express.session {secret: <KEY>', store: new express.session.MemoryStore}
app.set 'views', view... | true | express = require 'express'
app = express()
path = require 'path'
exports.init = (viewsDir) ->
app.configure ->
app.use express.bodyParser()
app.use express.cookieParser()
app.use express.static __dirname
app.use express.session {secret: PI:KEY:<KEY>END_PI', store: new express.session.MemoryStore}
app.set ... |
[
{
"context": "date number exists', (done) ->\n vdoc = {name: 'meow', array: []}\n wongo.save 'MockValidation', vdo",
"end": 961,
"score": 0.9761753082275391,
"start": 957,
"tag": "NAME",
"value": "meow"
},
{
"context": "ate boolean exists', (done) ->\n vdoc = {name: 'meow', ... | test/validation.test.coffee | wookets/wongo | 0 | assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockValidation',
fields:
name: {type: String, required: true, min: 3, max: 12} # simplest property
number: {type: Number, required: true, min: -1, max: 10} # a number property
boolean: {type: Boolean, required: true} # a boolean pro... | 89231 | assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockValidation',
fields:
name: {type: String, required: true, min: 3, max: 12} # simplest property
number: {type: Number, required: true, min: -1, max: 10} # a number property
boolean: {type: Boolean, required: true} # a boolean pro... | true | assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockValidation',
fields:
name: {type: String, required: true, min: 3, max: 12} # simplest property
number: {type: Number, required: true, min: -1, max: 10} # a number property
boolean: {type: Boolean, required: true} # a boolean pro... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9989904761314392,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-vm-new-script-this-context.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... | 178583 | # 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": "# @file tests.coffee\n# @Copyright (c) 2016 Taylor Siviter\n# This source code is licensed under the MIT Lice",
"end": 57,
"score": 0.9998048543930054,
"start": 43,
"tag": "NAME",
"value": "Taylor Siviter"
}
] | test/tests.coffee | siviter-t/lampyridae.coffee | 4 | # @file tests.coffee
# @Copyright (c) 2016 Taylor Siviter
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
# Helpful dom element creation and removal functions
window.createElementById = (id = '', tag = 'div', parent = 'body') ->
element = docume... | 67213 | # @file tests.coffee
# @Copyright (c) 2016 <NAME>
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
# Helpful dom element creation and removal functions
window.createElementById = (id = '', tag = 'div', parent = 'body') ->
element = document.creat... | true | # @file tests.coffee
# @Copyright (c) 2016 PI:NAME:<NAME>END_PI
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
# Helpful dom element creation and removal functions
window.createElementById = (id = '', tag = 'div', parent = 'body') ->
element = ... |
[
{
"context": "le_Data(filename)\n .user.name.assert_Is 'Joe'\n\n it 'set_File_Data', ->\n target_File = 'tea",
"end": 1552,
"score": 0.8039158582687378,
"start": 1549,
"tag": "NAME",
"value": "Joe"
}
] | test/backend/Data-Files.test.coffee | nhannan/BSIMM | 0 | Data_Files = require '../../src/backend/Data-Files'
describe 'controllers | Api-Controller', ->
data_Files = null
beforeEach ->
data_Files = new Data_Files()
it 'constructor',->
using data_Files, ->
@.constructor.name.assert_Is 'Data_Files'
@.data_Path.assert_Contains 'data'
... | 148586 | Data_Files = require '../../src/backend/Data-Files'
describe 'controllers | Api-Controller', ->
data_Files = null
beforeEach ->
data_Files = new Data_Files()
it 'constructor',->
using data_Files, ->
@.constructor.name.assert_Is 'Data_Files'
@.data_Path.assert_Contains 'data'
... | true | Data_Files = require '../../src/backend/Data-Files'
describe 'controllers | Api-Controller', ->
data_Files = null
beforeEach ->
data_Files = new Data_Files()
it 'constructor',->
using data_Files, ->
@.constructor.name.assert_Is 'Data_Files'
@.data_Path.assert_Contains 'data'
... |
[
{
"context": "/?'\nlfm = 'http://www.last.fm/api/auth/?'\n\nkey = 'f85dd881f328badc6505a31ae9cc8626'\nsecret = 'a0c50bb8ceda91e115c44b725680d904'\n\nbui",
"end": 130,
"score": 0.9997540712356567,
"start": 98,
"tag": "KEY",
"value": "f85dd881f328badc6505a31ae9cc8626"
},
{
"context": "... | app/scripts/contentscript.coffee | tlvince/focusatwill-scrobbler | 1 | 'use strict'
api = '//ws.audioscrobbler.com/2.0/?'
lfm = 'http://www.last.fm/api/auth/?'
key = 'f85dd881f328badc6505a31ae9cc8626'
secret = 'a0c50bb8ceda91e115c44b725680d904'
buildQuery = (query) ->
str = []
for key, value of query
str.push "#{key}=#{encodeURIComponent(value)}"
str.join '&'
sign = (query) ... | 107093 | 'use strict'
api = '//ws.audioscrobbler.com/2.0/?'
lfm = 'http://www.last.fm/api/auth/?'
key = '<KEY>'
secret = '<KEY>'
buildQuery = (query) ->
str = []
for key, value of query
str.push "#{key}=#{encodeURIComponent(value)}"
str.join '&'
sign = (query) ->
keys = Object.keys(query).sort()
for key, i in... | true | 'use strict'
api = '//ws.audioscrobbler.com/2.0/?'
lfm = 'http://www.last.fm/api/auth/?'
key = 'PI:KEY:<KEY>END_PI'
secret = 'PI:KEY:<KEY>END_PI'
buildQuery = (query) ->
str = []
for key, value of query
str.push "#{key}=#{encodeURIComponent(value)}"
str.join '&'
sign = (query) ->
keys = Object.keys(quer... |
[
{
"context": "###\n\n vat-calc.coffee\n\n Copyright (c) 2014-2016, Daniel Ellermann\n\n Permission is hereby granted, free of charge, ",
"end": 67,
"score": 0.9997744560241699,
"start": 51,
"tag": "NAME",
"value": "Daniel Ellermann"
},
{
"context": "ts the client-side V.A.T calcul... | coffee/vat-calc.coffee | dellermann/vat-calc | 0 | ###
vat-calc.coffee
Copyright (c) 2014-2016, Daniel Ellermann
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, cop... | 113121 | ###
vat-calc.coffee
Copyright (c) 2014-2016, <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify,... | true | ###
vat-calc.coffee
Copyright (c) 2014-2016, PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use,... |
[
{
"context": "を鸚鵡返しする\n# hubot 何時 - 今の時刻を教えてくれる\n#\n# Author:\n# yagizombie <yanagihara+zombie@brainpad.co.jp>\n\nmodule.export",
"end": 170,
"score": 0.9996978044509888,
"start": 160,
"tag": "USERNAME",
"value": "yagizombie"
},
{
"context": "ubot 何時 - 今の時刻を教えてくれる\n#\n# Author:\n... | src/conomi-utils.coffee | yagizombie/hubot-conomi-utils | 0 | # Description
# ちょっとしたツールを収録
#
# Commands:
# hubot アダプター - 今使っているアダプターを返す
# hubot ご一緒に <text> - <text> を鸚鵡返しする
# hubot 何時 - 今の時刻を教えてくれる
#
# Author:
# yagizombie <yanagihara+zombie@brainpad.co.jp>
module.exports = (robot) ->
robot.respond /(アダプター|ADAPTER)$/i, (msg) ->
msg.send robot.adapterName
robot... | 122913 | # Description
# ちょっとしたツールを収録
#
# Commands:
# hubot アダプター - 今使っているアダプターを返す
# hubot ご一緒に <text> - <text> を鸚鵡返しする
# hubot 何時 - 今の時刻を教えてくれる
#
# Author:
# yagizombie <<EMAIL>>
module.exports = (robot) ->
robot.respond /(アダプター|ADAPTER)$/i, (msg) ->
msg.send robot.adapterName
robot.respond /(ECHO|ご一緒に|せーの)... | true | # Description
# ちょっとしたツールを収録
#
# Commands:
# hubot アダプター - 今使っているアダプターを返す
# hubot ご一緒に <text> - <text> を鸚鵡返しする
# hubot 何時 - 今の時刻を教えてくれる
#
# Author:
# yagizombie <PI:EMAIL:<EMAIL>END_PI>
module.exports = (robot) ->
robot.respond /(アダプター|ADAPTER)$/i, (msg) ->
msg.send robot.adapterName
robot.respond /... |
[
{
"context": "ails](/install/rails)\n- [Roda](https://github.com/adam12/roda-unpoly)\n- [Rack](https://github.com/adam12/r",
"end": 992,
"score": 0.9994257092475891,
"start": 986,
"tag": "USERNAME",
"value": "adam12"
},
{
"context": "m/adam12/roda-unpoly)\n- [Rack](https://github.com... | lib/assets/javascripts/unpoly/protocol.coffee | pfw/unpoly | 0 | ###**
Server protocol
===============
You rarely need to change server-side code to use Unpoly. You don't need
to provide a JSON API, or add extra routes for AJAX requests. The server simply renders
a series of full HTML pages, like it would without Unpoly.
There is an **optional** protocol your server may use to exc... | 63321 | ###**
Server protocol
===============
You rarely need to change server-side code to use Unpoly. You don't need
to provide a JSON API, or add extra routes for AJAX requests. The server simply renders
a series of full HTML pages, like it would without Unpoly.
There is an **optional** protocol your server may use to exc... | true | ###**
Server protocol
===============
You rarely need to change server-side code to use Unpoly. You don't need
to provide a JSON API, or add extra routes for AJAX requests. The server simply renders
a series of full HTML pages, like it would without Unpoly.
There is an **optional** protocol your server may use to exc... |
[
{
"context": "ts = ()->\n method = {}\n\n method.webhookToken = \"P8GnA43jssAXRfnYvSSmK3TC\"\n method.token = \"4KY9DDVfTc5YKfc54KlKtgSf\"\n me",
"end": 93,
"score": 0.8936864137649536,
"start": 69,
"tag": "KEY",
"value": "P8GnA43jssAXRfnYvSSmK3TC"
},
{
"context": "en = \"P8GnA43... | config/th.coffee | pcruise/peoply-slackbot | 0 | #태국 슬랙
module.exports = ()->
method = {}
method.webhookToken = "P8GnA43jssAXRfnYvSSmK3TC"
method.token = "4KY9DDVfTc5YKfc54KlKtgSf"
method.parse_app_id = 'h8yTR0fZZvHmLsQTw5W9vaCHEZTqo4ixFMIR8WCm'
method.parse_app_key = 'FtLLRlTm7WsL1h81fhtFA2rw90ZTb3yiOJzkmW0s'
method.domain = "aropayello"
method.bot_na... | 144616 | #태국 슬랙
module.exports = ()->
method = {}
method.webhookToken = "<KEY>"
method.token = "<KEY>"
method.parse_app_id = 'h8yTR0fZZvHmLsQTw5W9vaCHEZTqo4ixFMIR8WCm'
method.parse_app_key = '<KEY>'
method.domain = "aropayello"
method.bot_name = "YelloBot"
method.auto_msg =
wait: 'Welcome to Concierge! Plea... | true | #태국 슬랙
module.exports = ()->
method = {}
method.webhookToken = "PI:KEY:<KEY>END_PI"
method.token = "PI:KEY:<KEY>END_PI"
method.parse_app_id = 'h8yTR0fZZvHmLsQTw5W9vaCHEZTqo4ixFMIR8WCm'
method.parse_app_key = 'PI:KEY:<KEY>END_PI'
method.domain = "aropayello"
method.bot_name = "YelloBot"
method.auto_msg ... |
[
{
"context": " email = generateRandomEmail()\n username = generateRandomUsername()\n\n registerRequestParams = generateRegisterRe",
"end": 2152,
"score": 0.9969294667243958,
"start": 2130,
"tag": "USERNAME",
"value": "generateRandomUsername"
},
{
"context": " = generateRa... | servers/lib/server/handlers/validateemail.test.coffee | ezgikaysi/koding | 1 | { async
expect
request
generateRandomEmail
generateRandomString
generateRandomUsername
checkBongoConnectivity } = require '../../../testhelper'
{ generateRegisterRequestParams } = require '../../../testhelper/handler/registerhelper'
{ generateValidateEmailRequestParams } = require '../../..... | 112363 | { async
expect
request
generateRandomEmail
generateRandomString
generateRandomUsername
checkBongoConnectivity } = require '../../../testhelper'
{ generateRegisterRequestParams } = require '../../../testhelper/handler/registerhelper'
{ generateValidateEmailRequestParams } = require '../../..... | true | { async
expect
request
generateRandomEmail
generateRandomString
generateRandomUsername
checkBongoConnectivity } = require '../../../testhelper'
{ generateRegisterRequestParams } = require '../../../testhelper/handler/registerhelper'
{ generateValidateEmailRequestParams } = require '../../..... |
[
{
"context": "###\n ChangeOnScroll\n https:#github.com/ignlg/ChangeOnScroll\n\n Copyright (c) 2015 Ignacio Lago",
"end": 46,
"score": 0.9990832209587097,
"start": 41,
"tag": "USERNAME",
"value": "ignlg"
},
{
"context": "hub.com/ignlg/ChangeOnScroll\n\n Copyright (c) 2015 Ignacio ... | jquery-changeonscroll.coffee | ignlg/ChangeOnScroll | 0 | ###
ChangeOnScroll
https:#github.com/ignlg/ChangeOnScroll
Copyright (c) 2015 Ignacio Lago
MIT license
###
(($) ->
$.isChangeOnScroll = (el) ->
not not $(el).data 'ChangeOnScroll'
$.ChangeOnScroll = (el, options) ->
base = this
base.$el = $ el
base.el = el
# Add a reverse reference to... | 160123 | ###
ChangeOnScroll
https:#github.com/ignlg/ChangeOnScroll
Copyright (c) 2015 <NAME>
MIT license
###
(($) ->
$.isChangeOnScroll = (el) ->
not not $(el).data 'ChangeOnScroll'
$.ChangeOnScroll = (el, options) ->
base = this
base.$el = $ el
base.el = el
# Add a reverse reference to the D... | true | ###
ChangeOnScroll
https:#github.com/ignlg/ChangeOnScroll
Copyright (c) 2015 PI:NAME:<NAME>END_PI
MIT license
###
(($) ->
$.isChangeOnScroll = (el) ->
not not $(el).data 'ChangeOnScroll'
$.ChangeOnScroll = (el, options) ->
base = this
base.$el = $ el
base.el = el
# Add a reverse refe... |
[
{
"context": " a person on Pipl by email address\n#\n# Author:\n# Scott J Roberts - @sroberts\n\nPIPL_API_KEY = process.env.PIPL_API_",
"end": 265,
"score": 0.9998388290405273,
"start": 250,
"tag": "NAME",
"value": "Scott J Roberts"
},
{
"context": "by email address\n#\n# Author:\n... | src/scripts/pipl.coffee | 3ch01c/hubot-vtr-scripts | 47 | # Description:
# Lookup a user on Pipl
#
# Dependencies:
# None
#
# Configuration:
# PIPL_API_KEY - Sign up at http://dev.pipl.com/
#
# Commands:
# hubot pipl email <email_address> - Looks up a person on Pipl by email address
#
# Author:
# Scott J Roberts - @sroberts
PIPL_API_KEY = process.env.PIPL_API_KEY
... | 147400 | # Description:
# Lookup a user on Pipl
#
# Dependencies:
# None
#
# Configuration:
# PIPL_API_KEY - Sign up at http://dev.pipl.com/
#
# Commands:
# hubot pipl email <email_address> - Looks up a person on Pipl by email address
#
# Author:
# <NAME> - @sroberts
PIPL_API_KEY = process.env.PIPL_API_KEY
api_url =... | true | # Description:
# Lookup a user on Pipl
#
# Dependencies:
# None
#
# Configuration:
# PIPL_API_KEY - Sign up at http://dev.pipl.com/
#
# Commands:
# hubot pipl email <email_address> - Looks up a person on Pipl by email address
#
# Author:
# PI:NAME:<NAME>END_PI - @sroberts
PIPL_API_KEY = process.env.PIPL_API_... |
[
{
"context": "\n@TODO\n\n@namespace Atoms.Atom\n@class GMap\n\n@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\"use strict\"\n\nc",
"end": 75,
"score": 0.9998553991317749,
"start": 54,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": ".Atom\n@class G... | atom/gmap.coffee | tapquo/atoms-app-gmaps | 0 | ###
@TODO
@namespace Atoms.Atom
@class GMap
@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
"use strict"
class Atoms.Atom.GMap extends Atoms.Class.Atom
@version : "1.0.2"
@template : """
<div {{#if.style}}class="{{style}}"{{/if.style}}>
<span class="loading-animation"></span>
</d... | 222161 | ###
@TODO
@namespace Atoms.Atom
@class GMap
@author <NAME> <<EMAIL>> || @soyjavi
###
"use strict"
class Atoms.Atom.GMap extends Atoms.Class.Atom
@version : "1.0.2"
@template : """
<div {{#if.style}}class="{{style}}"{{/if.style}}>
<span class="loading-animation"></span>
</div>"""
@base : "... | true | ###
@TODO
@namespace Atoms.Atom
@class GMap
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
"use strict"
class Atoms.Atom.GMap extends Atoms.Class.Atom
@version : "1.0.2"
@template : """
<div {{#if.style}}class="{{style}}"{{/if.style}}>
<span class="loading-animation"></span>
... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998518824577332,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/block.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Blockquote Plugin
# allows to change the current selection/ current block outer element
# provides a dropdown-menu-item that highlights the current block-type if ... | 32786 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Blockquote Plugin
# allows to change the current selection/ current block outer element
# provides a dropdown-menu-item that highlights the current block-type if any
# b... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Blockquote Plugin
# allows to change the current selection/ current block outer element
# provides a dropdown-menu-item that highlights the current block-t... |
[
{
"context": " route: 'gitHub'\n path: \"https://github.com/lumapictures/meteor-luma-ui\"\n external: true\n page:\n ",
"end": 414,
"score": 0.9985811710357666,
"start": 402,
"tag": "USERNAME",
"value": "lumapictures"
},
{
"context": "route: 'reportBugs'\n path: \"h... | example/routes.coffee | LumaPictures/meteor-luma-ui | 10 | Router.addRoutes [
{
route: 'home'
path: '/'
controller: 'ExampleController'
page:
title: "Home"
subtitle: "This isn't really home, its work."
},{
route: 'jQuerySelect2'
path: "https://jquery-select2.meteor.com"
external: true
page:
title: "jQuery Select2"
sub... | 106127 | Router.addRoutes [
{
route: 'home'
path: '/'
controller: 'ExampleController'
page:
title: "Home"
subtitle: "This isn't really home, its work."
},{
route: 'jQuerySelect2'
path: "https://jquery-select2.meteor.com"
external: true
page:
title: "jQuery Select2"
sub... | true | Router.addRoutes [
{
route: 'home'
path: '/'
controller: 'ExampleController'
page:
title: "Home"
subtitle: "This isn't really home, its work."
},{
route: 'jQuerySelect2'
path: "https://jquery-select2.meteor.com"
external: true
page:
title: "jQuery Select2"
sub... |
[
{
"context": "\"https://spreadsheets.google.com/feeds/worksheets/1vyPu1EtzU1DvGXfthjrR-blJ8mGe75TL4BFNWtFMm0I/public/basic?alt=json\"\n dest: 'spec/fixtur",
"end": 526,
"score": 0.9828590750694275,
"start": 482,
"tag": "KEY",
"value": "1vyPu1EtzU1DvGXfthjrR-blJ8mGe75TL4BFNWtFMm0I"
}... | google-spreadsheets-parser-0.2.0/Gruntfile.coffee | gordonhu7/SRCCalendar | 0 | module.exports = (grunt)->
grunt.initConfig
coffee:
dist:
options:
bare: true
join: true
files:
'dist/googleSpreadsheetsParser.js': [
'src/googleSpreadsheetsUtil.coffee'
'src/googleSpreadsheetsParser.coffee'
]
karma:
... | 199531 | module.exports = (grunt)->
grunt.initConfig
coffee:
dist:
options:
bare: true
join: true
files:
'dist/googleSpreadsheetsParser.js': [
'src/googleSpreadsheetsUtil.coffee'
'src/googleSpreadsheetsParser.coffee'
]
karma:
... | true | module.exports = (grunt)->
grunt.initConfig
coffee:
dist:
options:
bare: true
join: true
files:
'dist/googleSpreadsheetsParser.js': [
'src/googleSpreadsheetsUtil.coffee'
'src/googleSpreadsheetsParser.coffee'
]
karma:
... |
[
{
"context": "cKey\n\n @HTTP_SIGNATURE_OPTIONS =\n keyId: 'credentials-service-uuid'\n key: privateKey\n headers: [ 'date', '",
"end": 577,
"score": 0.9935518503189087,
"start": 553,
"tag": "KEY",
"value": "credentials-service-uuid"
}
] | test/integration/get-credentials-spec.coffee | octoblu/credentials-service | 0 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
JobManager = require 'meshblu-core-job-manager'
redis = require 'fakeredis'
RedisNS = require '@octoblu/redis-ns'
uuid = require 'uuid'
{publicKey, privateKey} = requir... | 88202 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
JobManager = require 'meshblu-core-job-manager'
redis = require 'fakeredis'
RedisNS = require '@octoblu/redis-ns'
uuid = require 'uuid'
{publicKey, privateKey} = requir... | true | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
JobManager = require 'meshblu-core-job-manager'
redis = require 'fakeredis'
RedisNS = require '@octoblu/redis-ns'
uuid = require 'uuid'
{publicKey, privateKey} = requir... |
[
{
"context": "./index\")(robot)\n\n userInfo =\n name: \"atmos\",\n room: \"#my-room\"\n\n user = robot",
"end": 773,
"score": 0.836276650428772,
"start": 768,
"tag": "NAME",
"value": "atmos"
}
] | test/scripts/deployment_test.coffee | travis-ci/hubot-deploy | 2 | VCR = require "ys-vcr"
Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
Verifiers = require(Path.join(__dirname, "..", "..", "src", "models", "verifiers"))
TokenForBrain = Verifiers.VaultKey
describe "Deploying from chat", (... | 117504 | VCR = require "ys-vcr"
Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
Verifiers = require(Path.join(__dirname, "..", "..", "src", "models", "verifiers"))
TokenForBrain = Verifiers.VaultKey
describe "Deploying from chat", (... | true | VCR = require "ys-vcr"
Path = require "path"
Robot = require "hubot/src/robot"
TextMessage = require("hubot/src/message").TextMessage
Verifiers = require(Path.join(__dirname, "..", "..", "src", "models", "verifiers"))
TokenForBrain = Verifiers.VaultKey
describe "Deploying from chat", (... |
[
{
"context": "\n\tdefaults: =>\n\t\treturn @extend super, \n\t\t\thkey: \"nodepaymentexample\"\n\t\t\thost: \"localhost\"\n\t\t\tport: 6379\n\t\t\toptions: {",
"end": 160,
"score": 0.9927526116371155,
"start": 142,
"tag": "KEY",
"value": "nodepaymentexample"
},
{
"context": "ateClien... | _src/lib/paymentstores/redishashstore.coffee | mpneuried/node-payments | 20 | _ = require( "lodash" )
module.exports = class RedisHashStore extends require( "../basic" )
defaults: =>
return @extend super,
hkey: "nodepaymentexample"
host: "localhost"
port: 6379
options: {}
redis: null
constructor: ->
super
# just a simulation to globaly handle server powered stores
@co... | 113311 | _ = require( "lodash" )
module.exports = class RedisHashStore extends require( "../basic" )
defaults: =>
return @extend super,
hkey: "<KEY>"
host: "localhost"
port: 6379
options: {}
redis: null
constructor: ->
super
# just a simulation to globaly handle server powered stores
@connected = fal... | true | _ = require( "lodash" )
module.exports = class RedisHashStore extends require( "../basic" )
defaults: =>
return @extend super,
hkey: "PI:KEY:<KEY>END_PI"
host: "localhost"
port: 6379
options: {}
redis: null
constructor: ->
super
# just a simulation to globaly handle server powered stores
@co... |
[
{
"context": "# Description:\n# Marvin, the Paranoid Android, from The Hitchhiker's Guid",
"end": 25,
"score": 0.995067834854126,
"start": 19,
"tag": "NAME",
"value": "Marvin"
},
{
"context": "ved me\n# hubot how is your life?\n#\n# Author:\n# jweslley\n\nquotes = [\n \"I thin... | src/scripts/marvin-quotes.coffee | Devex/hubot-scripts | 0 | # Description:
# Marvin, the Paranoid Android, from The Hitchhiker's Guide to the Galaxy
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot you saved me
# hubot how is your life?
#
# Author:
# jweslley
quotes = [
"I think you ought to know I'm feeling very depressed.",
"Life! Don'... | 172497 | # Description:
# <NAME>, the Paranoid Android, from The Hitchhiker's Guide to the Galaxy
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot you saved me
# hubot how is your life?
#
# Author:
# jweslley
quotes = [
"I think you ought to know I'm feeling very depressed.",
"Life! Don'... | true | # Description:
# PI:NAME:<NAME>END_PI, the Paranoid Android, from The Hitchhiker's Guide to the Galaxy
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot you saved me
# hubot how is your life?
#
# Author:
# jweslley
quotes = [
"I think you ought to know I'm feeling very depressed.",... |
[
{
"context": ".state.length == 0\n phantom.state = [\n 'sencha'\n 'aconran'\n 'ariyahidayat'\n ",
"end": 120,
"score": 0.9943153262138367,
"start": 114,
"tag": "NAME",
"value": "sencha"
},
{
"context": "0\n phantom.state = [\n 'sencha'\n ... | app/contact-app/contact-webapp/src/main/webapp/touch/sdk/command/vendor/nodejs/node_modules/jasmine-node/node_modules/jasmine-reporters/ext/phantomjs/examples/follow.coffee | hiya492/spring | 213 | # List following and followers from several accounts
if phantom.state.length == 0
phantom.state = [
'sencha'
'aconran'
'ariyahidayat'
'darrellmeyer'
'DavidKaneda'
'DmitryBaranovsk'
'donovanerba'
'edspencer'
'helder_correia'
'jamespearc... | 167675 | # List following and followers from several accounts
if phantom.state.length == 0
phantom.state = [
'<NAME>'
'<NAME>'
'<NAME>'
'darrellmeyer'
'<NAME>'
'<NAME>'
'donovanerba'
'edspencer'
'helder_correia'
'jamespearce'
'jamieavin... | true | # List following and followers from several accounts
if phantom.state.length == 0
phantom.state = [
'PI:NAME:<NAME>END_PI'
'PI:NAME:<NAME>END_PI'
'PI:NAME:<NAME>END_PI'
'darrellmeyer'
'PI:NAME:<NAME>END_PI'
'PI:NAME:<NAME>END_PI'
'donovanerba'
'edspen... |
[
{
"context": "module.exports =\n\n provideProvider: ->\n key: 'makefile'\n mod: require './module'\n",
"end": 58,
"score": 0.9914454221725464,
"start": 50,
"tag": "KEY",
"value": "makefile"
}
] | lib/build-tools-make.coffee | deprint/build-tools-make | 0 | module.exports =
provideProvider: ->
key: 'makefile'
mod: require './module'
| 214402 | module.exports =
provideProvider: ->
key: '<KEY>'
mod: require './module'
| true | module.exports =
provideProvider: ->
key: 'PI:KEY:<KEY>END_PI'
mod: require './module'
|
[
{
"context": " [iOrder](http://neocotic.com/iOrder) \n# (c) 2013 Alasdair Mercer \n# Freely distributable under the MIT license. ",
"end": 67,
"score": 0.9998736381530762,
"start": 52,
"tag": "NAME",
"value": "Alasdair Mercer"
}
] | chrome/src/lib/notification.coffee | neocotic/iOrder | 0 | # [iOrder](http://neocotic.com/iOrder)
# (c) 2013 Alasdair Mercer
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/iOrder>
# Private variables
# -----------------
# Easily accessible reference to analytics, logging, storage, utilities, and the extension... | 145534 | # [iOrder](http://neocotic.com/iOrder)
# (c) 2013 <NAME>
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/iOrder>
# Private variables
# -----------------
# Easily accessible reference to analytics, logging, storage, utilities, and the extension
# contro... | true | # [iOrder](http://neocotic.com/iOrder)
# (c) 2013 PI:NAME:<NAME>END_PI
# Freely distributable under the MIT license.
# For all details and documentation:
# <http://neocotic.com/iOrder>
# Private variables
# -----------------
# Easily accessible reference to analytics, logging, storage, utilities, and the exte... |
[
{
"context": " data =\n email: @state.email\n password: @state.password\n request.post '/login', data, (err, res) =>\n ",
"end": 570,
"score": 0.9566632509231567,
"start": 555,
"tag": "PASSWORD",
"value": "@state.password"
}
] | client/views/Login/index.coffee | stevelacy/portal | 0 | request = require 'superagent'
{view, DOM} = require 'fission'
NavbarView = require '../../components/NavBar'
{div, h1, button, a, img, br, form, input} = DOM
module.exports = view
displayName: 'Login'
init: ->
email: ''
password: ''
status: ''
updateEmail: (e) ->
@setState email: e.target.valu... | 202351 | request = require 'superagent'
{view, DOM} = require 'fission'
NavbarView = require '../../components/NavBar'
{div, h1, button, a, img, br, form, input} = DOM
module.exports = view
displayName: 'Login'
init: ->
email: ''
password: ''
status: ''
updateEmail: (e) ->
@setState email: e.target.valu... | true | request = require 'superagent'
{view, DOM} = require 'fission'
NavbarView = require '../../components/NavBar'
{div, h1, button, a, img, br, form, input} = DOM
module.exports = view
displayName: 'Login'
init: ->
email: ''
password: ''
status: ''
updateEmail: (e) ->
@setState email: e.target.valu... |
[
{
"context": "\n\t\t\tsecret = $('#secret').val()\n\t\t\tusername = $('#username').val()\n\t\t\tpassword = $('#password').val()\n\t\t\trem",
"end": 352,
"score": 0.9928346872329712,
"start": 344,
"tag": "USERNAME",
"value": "username"
},
{
"context": "username = $('#username').val()\... | src/register.coffee | roobin/StaticSite | 1 |
require ['app/auth', 'util/admin-redirect'], (auth) ->
# view code
$ ->
$('body').fadeIn()
$('div.alert').hide()
$('#key').focus()
$('#registerform').submit (event) ->
event.preventDefault()
$('#alerts').slideUp('fast')
# process sign-in
key = $('#key').val()
secret = $('#secret').... | 1942 |
require ['app/auth', 'util/admin-redirect'], (auth) ->
# view code
$ ->
$('body').fadeIn()
$('div.alert').hide()
$('#key').focus()
$('#registerform').submit (event) ->
event.preventDefault()
$('#alerts').slideUp('fast')
# process sign-in
key = $('#key').val()
secret = $('#secret').... | true |
require ['app/auth', 'util/admin-redirect'], (auth) ->
# view code
$ ->
$('body').fadeIn()
$('div.alert').hide()
$('#key').focus()
$('#registerform').submit (event) ->
event.preventDefault()
$('#alerts').slideUp('fast')
# process sign-in
key = $('#key').val()
secret = $('#secret').... |
[
{
"context": "ple from rfc 2617\ntest1 = (success) ->\n realm = 'testrealm@host.com'\n nonce = 'dcd98b7102dd2f0e8b11d0f600bfb0c093'\n ",
"end": 211,
"score": 0.999916136264801,
"start": 193,
"tag": "EMAIL",
"value": "testrealm@host.com"
},
{
"context": "e = '0a4f113b'\n ha1 = dige... | test/digest.coffee | kelchy/sip.js | 221 | sip = require '../sip'
digest = require '../digest'
assert = require 'assert'
util = require 'util'
## testing digest calculation againts example from rfc 2617
test1 = (success) ->
realm = 'testrealm@host.com'
nonce = 'dcd98b7102dd2f0e8b11d0f600bfb0c093'
opaque= '5ccc069c403ebaf9f0171e9517f40e41'
cnonce = '0a4... | 99475 | sip = require '../sip'
digest = require '../digest'
assert = require 'assert'
util = require 'util'
## testing digest calculation againts example from rfc 2617
test1 = (success) ->
realm = '<EMAIL>'
nonce = 'dcd98b7102dd2f0e8b11d0f600bfb0c093'
opaque= '5ccc069c403ebaf9f0171e9517f40e41'
cnonce = '0a4f113b'
ha... | true | sip = require '../sip'
digest = require '../digest'
assert = require 'assert'
util = require 'util'
## testing digest calculation againts example from rfc 2617
test1 = (success) ->
realm = 'PI:EMAIL:<EMAIL>END_PI'
nonce = 'dcd98b7102dd2f0e8b11d0f600bfb0c093'
opaque= '5ccc069c403ebaf9f0171e9517f40e41'
cnonce = ... |
[
{
"context": "json')\n patient = collection.findWhere(first: 'GP_Peds', last: 'A')\n results = @measure.get('populati",
"end": 746,
"score": 0.8289687037467957,
"start": 739,
"tag": "NAME",
"value": "GP_Peds"
}
] | spec/javascripts/models/measure_spec.js.coffee | okeefm/bonnie | 0 | describe 'Measure', ->
beforeEach ->
@measure = bonnie.measures.get('40280381-3D61-56A7-013E-5D1EF9B76A48')
it 'has basic attributes available', ->
expect(@measure.id).toEqual '40280381-3D61-56A7-013E-5D1EF9B76A48'
expect(@measure.get('title')).toEqual 'Appropriate Testing for Children with Pharyngiti... | 93501 | describe 'Measure', ->
beforeEach ->
@measure = bonnie.measures.get('40280381-3D61-56A7-013E-5D1EF9B76A48')
it 'has basic attributes available', ->
expect(@measure.id).toEqual '40280381-3D61-56A7-013E-5D1EF9B76A48'
expect(@measure.get('title')).toEqual 'Appropriate Testing for Children with Pharyngiti... | true | describe 'Measure', ->
beforeEach ->
@measure = bonnie.measures.get('40280381-3D61-56A7-013E-5D1EF9B76A48')
it 'has basic attributes available', ->
expect(@measure.id).toEqual '40280381-3D61-56A7-013E-5D1EF9B76A48'
expect(@measure.get('title')).toEqual 'Appropriate Testing for Children with Pharyngiti... |
[
{
"context": " - pixelir_sprite.coffee\n#\n# 2016.11.17 Created by PROJECT PROMINENCE\n#\n#***********************************",
"end": 320,
"score": 0.880776584148407,
"start": 313,
"tag": "NAME",
"value": "PROJECT"
},
{
"context": "ir_sprite.coffee\n#\n# 2016.11.17 Created by PROJE... | pixelir_sprite.coffee | digitarhythm/PixelirJS | 0 | #****************************************************************************
#****************************************************************************
#****************************************************************************
#
# PixelirJS Sprite Library - pixelir_sprite.coffee
#
# 2016.11.17 Created by PROJECT... | 213640 | #****************************************************************************
#****************************************************************************
#****************************************************************************
#
# PixelirJS Sprite Library - pixelir_sprite.coffee
#
# 2016.11.17 Created by <NAME> ... | true | #****************************************************************************
#****************************************************************************
#****************************************************************************
#
# PixelirJS Sprite Library - pixelir_sprite.coffee
#
# 2016.11.17 Created by PI:NAME... |
[
{
"context": "#\n# @license Andrew Brown v1.0.0\n# (c) 2013 http://monsterboxpro.com\n# Lice",
"end": 25,
"score": 0.9998111724853516,
"start": 13,
"tag": "NAME",
"value": "Andrew Brown"
},
{
"context": " req = @$http\n method: 'POST'\n url: name\n data: form_da... | app/assets/javascripts/monster/api.coffee | monsterboxpro/monster-javascripts | 0 | #
# @license Andrew Brown v1.0.0
# (c) 2013 http://monsterboxpro.com
# License: MIT
#
# Passing Params
# @Api.users.index({student_id: 23})
#
# Add a tag to end of event string
# @Api.users.index({},tag: 'success') => 'users/index#success'
parameter_name = (root)->
name = root[0]
name += '[' + root.slice(1).joi... | 216769 | #
# @license <NAME> v1.0.0
# (c) 2013 http://monsterboxpro.com
# License: MIT
#
# Passing Params
# @Api.users.index({student_id: 23})
#
# Add a tag to end of event string
# @Api.users.index({},tag: 'success') => 'users/index#success'
parameter_name = (root)->
name = root[0]
name += '[' + root.slice(1).join(']['... | true | #
# @license PI:NAME:<NAME>END_PI v1.0.0
# (c) 2013 http://monsterboxpro.com
# License: MIT
#
# Passing Params
# @Api.users.index({student_id: 23})
#
# Add a tag to end of event string
# @Api.users.index({},tag: 'success') => 'users/index#success'
parameter_name = (root)->
name = root[0]
name += '[' + root.slic... |
[
{
"context": "# Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>\n'use strict'\n\nPromise = ",
"end": 34,
"score": 0.9998535513877869,
"start": 22,
"tag": "NAME",
"value": "David M. Lee"
},
{
"context": "# Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>\n'use stric... | src/configure.coffee | building5/parfaitjs | 1 | # Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>
'use strict'
Promise = (require 'es6-promise').Promise
appdirs = require 'appdirs'
confmerge = require './confmerge'
jsyaml = require 'js-yaml'
path = require 'path'
{readFile, stat, readdir} = require './fs-promise'
###
Process configuration files.
@p... | 115399 | # Copyright (c) 2014. <NAME>, II <<EMAIL>>
'use strict'
Promise = (require 'es6-promise').Promise
appdirs = require 'appdirs'
confmerge = require './confmerge'
jsyaml = require 'js-yaml'
path = require 'path'
{readFile, stat, readdir} = require './fs-promise'
###
Process configuration files.
@param {String} env... | true | # Copyright (c) 2014. PI:NAME:<NAME>END_PI, II <PI:EMAIL:<EMAIL>END_PI>
'use strict'
Promise = (require 'es6-promise').Promise
appdirs = require 'appdirs'
confmerge = require './confmerge'
jsyaml = require 'js-yaml'
path = require 'path'
{readFile, stat, readdir} = require './fs-promise'
###
Process configuration ... |
[
{
"context": "# * https://github.com/jasoncypret/expressionUI\n# *\n# * Copyright (c) 2013 Jason Cyp",
"end": 34,
"score": 0.999526858329773,
"start": 23,
"tag": "USERNAME",
"value": "jasoncypret"
},
{
"context": "asoncypret/expressionUI\n# *\n# * Copyright (c) 2013 Jason Cypret (htt... | vendor/assets/javascripts/expressionui.modal.js.coffee | jasoncypret/expressionUI | 0 | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 Jason Cypret (http://jasoncypret.com/)
# * Licensed under the MIT License
#
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymous AMD module:
define [
"jquery"
], factory
else... | 201044 | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 <NAME> (http://jasoncypret.com/)
# * Licensed under the MIT License
#
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymous AMD module:
define [
"jquery"
], factory
else
#... | true | # * https://github.com/jasoncypret/expressionUI
# *
# * Copyright (c) 2013 PI:NAME:<NAME>END_PI (http://jasoncypret.com/)
# * Licensed under the MIT License
#
((factory) ->
"use strict"
if typeof define is "function" and define.amd
# Register as an anonymous AMD module:
define [
"jquery"
], factor... |
[
{
"context": "lePath = __dirname + \"/../../src\"\n\nplayers = [\n 'Jombocom'\n 'Carple'\n 'Danret'\n 'Goop'\n 'Jeut'\n 'Axce'",
"end": 298,
"score": 0.8416978716850281,
"start": 290,
"tag": "NAME",
"value": "Jombocom"
},
{
"context": "rname + \"/../../src\"\n\nplayers = [\n '... | ext/local-test/LocalTest.coffee | sadbear-/IdleLands | 0 |
finder = require "fs-finder"
watch = require "node-watch"
colors = require "cli-color"
_ = require "lodash"
#### GAME CONSTANTS ####
# change this if you want the console game to go faster
DELAY_INTERVAL = 1
########################
idlePath = __dirname + "/../../src"
players = [
'Jombocom'
'Carple'
'Danret... | 160886 |
finder = require "fs-finder"
watch = require "node-watch"
colors = require "cli-color"
_ = require "lodash"
#### GAME CONSTANTS ####
# change this if you want the console game to go faster
DELAY_INTERVAL = 1
########################
idlePath = __dirname + "/../../src"
players = [
'<NAME>'
'<NAME>'
'<NAME>'
... | true |
finder = require "fs-finder"
watch = require "node-watch"
colors = require "cli-color"
_ = require "lodash"
#### GAME CONSTANTS ####
# change this if you want the console game to go faster
DELAY_INTERVAL = 1
########################
idlePath = __dirname + "/../../src"
players = [
'PI:NAME:<NAME>END_PI'
'PI:NA... |
[
{
"context": "n for duelyst-dev.firebaseio.com\nfirebaseToken = 'AxTA1RfsIzL2hDUOmYyFXQ9VAjnc86EqZ4n8LvxJ'\nfbRef = new Firebase('https://duelyst-alpha.fire",
"end": 289,
"score": 0.9940870404243469,
"start": 249,
"tag": "KEY",
"value": "AxTA1RfsIzL2hDUOmYyFXQ9VAjnc86EqZ4n8LvxJ"
},
{
... | scripts/add_index.coffee | willroberts/duelyst | 5 | Firebase = require 'firebase'
_ = require 'underscore'
fbUtil = require '../app/common/utils/utils_firebase.js'
# Configuration object
config = require '../config/config.js'
# Firebase secure token for duelyst-dev.firebaseio.com
firebaseToken = 'AxTA1RfsIzL2hDUOmYyFXQ9VAjnc86EqZ4n8LvxJ'
fbRef = new Firebase('https:/... | 41288 | Firebase = require 'firebase'
_ = require 'underscore'
fbUtil = require '../app/common/utils/utils_firebase.js'
# Configuration object
config = require '../config/config.js'
# Firebase secure token for duelyst-dev.firebaseio.com
firebaseToken = '<KEY>'
fbRef = new Firebase('https://duelyst-alpha.firebaseio.com/')
#... | true | Firebase = require 'firebase'
_ = require 'underscore'
fbUtil = require '../app/common/utils/utils_firebase.js'
# Configuration object
config = require '../config/config.js'
# Firebase secure token for duelyst-dev.firebaseio.com
firebaseToken = 'PI:KEY:<KEY>END_PI'
fbRef = new Firebase('https://duelyst-alpha.firebas... |
[
{
"context": " uuid: 'some-uuid'\n token: 'some-token'\n rawData: '{}'\n\n @sut.do request",
"end": 935,
"score": 0.8297185301780701,
"start": 925,
"tag": "PASSWORD",
"value": "some-token"
},
{
"context": "nManager.verifyToken { uuid: 'some-uuid'... | test/migrate-root-token-spec.coffee | octoblu/meshblu-core-task-migrate-root-token | 0 | Datastore = require 'meshblu-core-datastore'
TokenManager = require 'meshblu-core-manager-token'
mongojs = require 'mongojs'
MigrateRootToken = require '../'
describe 'MigrateRootToken', ->
beforeEach (done) ->
@uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid
database... | 184685 | Datastore = require 'meshblu-core-datastore'
TokenManager = require 'meshblu-core-manager-token'
mongojs = require 'mongojs'
MigrateRootToken = require '../'
describe 'MigrateRootToken', ->
beforeEach (done) ->
@uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid
database... | true | Datastore = require 'meshblu-core-datastore'
TokenManager = require 'meshblu-core-manager-token'
mongojs = require 'mongojs'
MigrateRootToken = require '../'
describe 'MigrateRootToken', ->
beforeEach (done) ->
@uuidAliasResolver = resolve: (uuid, callback) => callback null, uuid
database... |
[
{
"context": "ntroller extends Batman.Controller\n routingKey: 'game'\n\n constructor: ->\n super\n @iceServers = [",
"end": 73,
"score": 0.9770106077194214,
"start": 69,
"tag": "KEY",
"value": "game"
}
] | coffee/controllers/game_controller.coffee | frustra/tetrus | 0 | class Tetrus.GameController extends Batman.Controller
routingKey: 'game'
constructor: ->
super
@iceServers = ['stun:stun.l.google.com:19302']
play: ->
@peer = new Tetrus.Peer(Tetrus.get('peer'))
@game = new Tetrus.Game
@connectionParams = [
{ DtlsSrtpKeyAgreement: true }
]
if... | 144132 | class Tetrus.GameController extends Batman.Controller
routingKey: '<KEY>'
constructor: ->
super
@iceServers = ['stun:stun.l.google.com:19302']
play: ->
@peer = new Tetrus.Peer(Tetrus.get('peer'))
@game = new Tetrus.Game
@connectionParams = [
{ DtlsSrtpKeyAgreement: true }
]
i... | true | class Tetrus.GameController extends Batman.Controller
routingKey: 'PI:KEY:<KEY>END_PI'
constructor: ->
super
@iceServers = ['stun:stun.l.google.com:19302']
play: ->
@peer = new Tetrus.Peer(Tetrus.get('peer'))
@game = new Tetrus.Game
@connectionParams = [
{ DtlsSrtpKeyAgreement: true }... |
[
{
"context": "class App.User extends Tower.Model\n @field 'firstName'\n @field 'lastName'\n @field 'createdAt', type: ",
"end": 54,
"score": 0.9765043258666992,
"start": 45,
"tag": "NAME",
"value": "firstName"
},
{
"context": "xtends Tower.Model\n @field 'firstName'\n @field 'la... | test/example/app/models/user.coffee | jivagoalves/tower | 1 | class App.User extends Tower.Model
@field 'firstName'
@field 'lastName'
@field 'createdAt', type: 'Time', default: -> new Date()
@field 'likes', type: 'Integer', default: 0
@field 'tags', type: ['Array'], default: []
@field 'admin', type: 'Boolean', default: false
@field 'rating', type: 'Float', default: ... | 188522 | class App.User extends Tower.Model
@field '<NAME>'
@field '<NAME>'
@field 'createdAt', type: 'Time', default: -> new Date()
@field 'likes', type: 'Integer', default: 0
@field 'tags', type: ['Array'], default: []
@field 'admin', type: 'Boolean', default: false
@field 'rating', type: 'Float', default: 2.5
... | true | class App.User extends Tower.Model
@field 'PI:NAME:<NAME>END_PI'
@field 'PI:NAME:<NAME>END_PI'
@field 'createdAt', type: 'Time', default: -> new Date()
@field 'likes', type: 'Integer', default: 0
@field 'tags', type: ['Array'], default: []
@field 'admin', type: 'Boolean', default: false
@field 'rating', t... |
[
{
"context": "body:\n essid: 'Testing'\n password: 'Testing'\n fetch '/ap', data\n .then (res) ->\n ",
"end": 213,
"score": 0.9994117617607117,
"start": 206,
"tag": "PASSWORD",
"value": "Testing"
}
] | device/test/20-ap.coffee | twhtanghk/docker.esp8266 | 1 | describe 'ap', ->
it 'GET /ap', ->
fetch '/ap'
.then ok
it 'PUT /ap check min password length', ->
data = opts
method: 'PUT'
body:
essid: 'Testing'
password: 'Testing'
fetch '/ap', data
.then (res) ->
res.json()
.then (res) ->
expect res
... | 9071 | describe 'ap', ->
it 'GET /ap', ->
fetch '/ap'
.then ok
it 'PUT /ap check min password length', ->
data = opts
method: 'PUT'
body:
essid: 'Testing'
password: '<PASSWORD>'
fetch '/ap', data
.then (res) ->
res.json()
.then (res) ->
expect res
... | true | describe 'ap', ->
it 'GET /ap', ->
fetch '/ap'
.then ok
it 'PUT /ap check min password length', ->
data = opts
method: 'PUT'
body:
essid: 'Testing'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
fetch '/ap', data
.then (res) ->
res.json()
.then (res) ->
... |
[
{
"context": "n')\n\n repo: Ember.belongsTo('Travis.Repo', key: 'repository_id')\n\n isPropertyLoaded: (key) ->\n if key == 'va",
"end": 210,
"score": 0.8652591705322266,
"start": 197,
"tag": "KEY",
"value": "repository_id"
}
] | assets/scripts/app/models/env_var.coffee | Acidburn0zzz/travis-web | 0 | require 'travis/model'
Travis.EnvVar = Travis.Model.extend
name: Ember.attr('string')
value: Ember.attr('string')
public: Ember.attr('boolean')
repo: Ember.belongsTo('Travis.Repo', key: 'repository_id')
isPropertyLoaded: (key) ->
if key == 'value'
return true
else
@_super(key)
| 46125 | require 'travis/model'
Travis.EnvVar = Travis.Model.extend
name: Ember.attr('string')
value: Ember.attr('string')
public: Ember.attr('boolean')
repo: Ember.belongsTo('Travis.Repo', key: '<KEY>')
isPropertyLoaded: (key) ->
if key == 'value'
return true
else
@_super(key)
| true | require 'travis/model'
Travis.EnvVar = Travis.Model.extend
name: Ember.attr('string')
value: Ember.attr('string')
public: Ember.attr('boolean')
repo: Ember.belongsTo('Travis.Repo', key: 'PI:KEY:<KEY>END_PI')
isPropertyLoaded: (key) ->
if key == 'value'
return true
else
@_super(key)
|
[
{
"context": ",\"fmq\":\"1457507365044_R\",\"ist\":\"\",\"is\":\"\",\"word\":\"途安\",\"sme\":\"\",\"fr\":\"\",\"cs\":\"2464434574,440997798\",\"ct",
"end": 1812,
"score": 0.9287292957305908,
"start": 1810,
"tag": "NAME",
"value": "途安"
}
] | test.coffee | react-china/router-as-view | 3 |
assert = require 'assert'
Immutable = require 'immutable'
pathUtil = require './src/path'
o = Immutable.Map()
fromJS = Immutable.fromJS
testTrimSlash = ->
console.log "* test on trim slash"
assert.equal pathUtil.trimSlash('/a/b/c'), 'a/b/c'
assert.equal pathUtil.trimSlash('/a/b/'), 'a/b'
testQueryParse = ->
... | 7299 |
assert = require 'assert'
Immutable = require 'immutable'
pathUtil = require './src/path'
o = Immutable.Map()
fromJS = Immutable.fromJS
testTrimSlash = ->
console.log "* test on trim slash"
assert.equal pathUtil.trimSlash('/a/b/c'), 'a/b/c'
assert.equal pathUtil.trimSlash('/a/b/'), 'a/b'
testQueryParse = ->
... | true |
assert = require 'assert'
Immutable = require 'immutable'
pathUtil = require './src/path'
o = Immutable.Map()
fromJS = Immutable.fromJS
testTrimSlash = ->
console.log "* test on trim slash"
assert.equal pathUtil.trimSlash('/a/b/c'), 'a/b/c'
assert.equal pathUtil.trimSlash('/a/b/'), 'a/b'
testQueryParse = ->
... |
[
{
"context": "elper.defaultGateway.customer.create {firstName: 'John', lastName: 'Smith'}, (err, response) ->\n ",
"end": 422,
"score": 0.9998196959495544,
"start": 418,
"tag": "NAME",
"value": "John"
},
{
"context": "ay.customer.create {firstName: 'John', lastName: 'Smith'}, ... | spec/integration/braintree/customer_gateway_spec.coffee | StreamCo/braintree_node | 0 | require('../../spec_helper')
{_} = require('underscore')
{VenmoSdk} = require('../../../lib/braintree/test/venmo_sdk')
{Nonces} = require('../../../lib/braintree/test/nonces')
{Config} = require('../../../lib/braintree/config')
braintree = specHelper.braintree
describe "CustomerGateway", ->
describe "create", ->
... | 201515 | require('../../spec_helper')
{_} = require('underscore')
{VenmoSdk} = require('../../../lib/braintree/test/venmo_sdk')
{Nonces} = require('../../../lib/braintree/test/nonces')
{Config} = require('../../../lib/braintree/config')
braintree = specHelper.braintree
describe "CustomerGateway", ->
describe "create", ->
... | true | require('../../spec_helper')
{_} = require('underscore')
{VenmoSdk} = require('../../../lib/braintree/test/venmo_sdk')
{Nonces} = require('../../../lib/braintree/test/nonces')
{Config} = require('../../../lib/braintree/config')
braintree = specHelper.braintree
describe "CustomerGateway", ->
describe "create", ->
... |
[
{
"context": "nforces spaces inside of array brackets.\n# @author Jamund Ferguson\n###\n'use strict'\n\nastUtils = require '../eslint-a",
"end": 101,
"score": 0.9998721480369568,
"start": 86,
"tag": "NAME",
"value": "Jamund Ferguson"
}
] | src/rules/array-bracket-spacing.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallows or enforces spaces inside of array brackets.
# @author Jamund Ferguson
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------------------------------... | 14312 | ###*
# @fileoverview Disallows or enforces spaces inside of array brackets.
# @author <NAME>
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#--------------------------------------------------------------------... | true | ###*
# @fileoverview Disallows or enforces spaces inside of array brackets.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
astUtils = require '../eslint-ast-utils'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------... |
[
{
"context": "rk: 'wifi'\n\t\twifiSsid: 'testWifiSsid'\n\t\twifiKey: 'testWifiKey'\n\n\tsdk.models.device.get(DEVICES.raspberrypi.i",
"end": 3265,
"score": 0.9937201738357544,
"start": 3257,
"tag": "KEY",
"value": "testWifi"
},
{
"context": "iSsid')\n\t\tm.chai.expect(config.wifiKey)... | tests/e2e.coffee | resin-io-modules/resin-device-init | 3 | m = require('mochainon')
_ = require('lodash')
os = require('os')
path = require('path')
Promise = require('bluebird')
fs = Promise.promisifyAll(require('fs'))
wary = require('wary')
settings = require('balena-settings-client')
sdk = require('balena-sdk')({
apiUrl: settings.get('apiUrl')
})
imagefs = require('balena... | 90744 | m = require('mochainon')
_ = require('lodash')
os = require('os')
path = require('path')
Promise = require('bluebird')
fs = Promise.promisifyAll(require('fs'))
wary = require('wary')
settings = require('balena-settings-client')
sdk = require('balena-sdk')({
apiUrl: settings.get('apiUrl')
})
imagefs = require('balena... | true | m = require('mochainon')
_ = require('lodash')
os = require('os')
path = require('path')
Promise = require('bluebird')
fs = Promise.promisifyAll(require('fs'))
wary = require('wary')
settings = require('balena-settings-client')
sdk = require('balena-sdk')({
apiUrl: settings.get('apiUrl')
})
imagefs = require('balena... |
[
{
"context": "ter buf\n len = cleverBufferWriter.writeString 'héllo', {encoding: 'utf16le'}\n len.should.eql 10\n\n ",
"end": 6735,
"score": 0.9181643724441528,
"start": 6730,
"tag": "NAME",
"value": "héllo"
},
{
"context": "ter buf\n len = cleverBufferWriter.writeString 'H... | test/clever-buffer-writer.spec.coffee | deancouch/clever-buffer | 0 | should = require 'should'
CleverBufferWriter = require "#{SRC}/clever-buffer-writer"
{ writeToStupidBuffer,
writeToCleverBuffer } = require './support/test-helper'
specHelper = require './spec-helper'
describe 'CleverBufferWriter', ->
NUMBER_OF_ITERATIONS = 16
it 'should ... | 33926 | should = require 'should'
CleverBufferWriter = require "#{SRC}/clever-buffer-writer"
{ writeToStupidBuffer,
writeToCleverBuffer } = require './support/test-helper'
specHelper = require './spec-helper'
describe 'CleverBufferWriter', ->
NUMBER_OF_ITERATIONS = 16
it 'should ... | true | should = require 'should'
CleverBufferWriter = require "#{SRC}/clever-buffer-writer"
{ writeToStupidBuffer,
writeToCleverBuffer } = require './support/test-helper'
specHelper = require './spec-helper'
describe 'CleverBufferWriter', ->
NUMBER_OF_ITERATIONS = 16
it 'should ... |
[
{
"context": "uire '../lib/salsa20'\n\nkey = WordArray.from_utf8 '11112222333344445555666677778888'\niv = WordArray.from_utf8 'aaaabbbbccccddddeeeeff",
"end": 136,
"score": 0.9991670250892639,
"start": 104,
"tag": "KEY",
"value": "11112222333344445555666677778888"
},
{
"context": "aa... | dev/salsa_enc.iced | CyberFlameGO/triplesec | 274 | {WordArray} = require '../lib/wordarray'
salsa20 = require '../lib/salsa20'
key = WordArray.from_utf8 '11112222333344445555666677778888'
iv = WordArray.from_utf8 'aaaabbbbccccddddeeeeffff'
text = "hello my name is max and i work at crashmix LLC. we don't have a product."
input = WordArray.from_utf8 text
console.log ... | 112752 | {WordArray} = require '../lib/wordarray'
salsa20 = require '../lib/salsa20'
key = WordArray.from_utf8 '<KEY>'
iv = WordArray.from_utf8 'aaaabbbbccccddddeeeeffff'
text = "hello my name is <NAME> and i work at crashmix LLC. we don't have a product."
input = WordArray.from_utf8 text
console.log input.to_hex()
x = salsa... | true | {WordArray} = require '../lib/wordarray'
salsa20 = require '../lib/salsa20'
key = WordArray.from_utf8 'PI:KEY:<KEY>END_PI'
iv = WordArray.from_utf8 'aaaabbbbccccddddeeeeffff'
text = "hello my name is PI:NAME:<NAME>END_PI and i work at crashmix LLC. we don't have a product."
input = WordArray.from_utf8 text
console.l... |
[
{
"context": "ebaseUtil(robot, \"name\")와 같이 사용한다.\n#\n# Author:\n# river-mountain\n\n\nFirebase = require 'firebase'\nFirebaseTokenGene",
"end": 296,
"score": 0.9995360374450684,
"start": 282,
"tag": "USERNAME",
"value": "river-mountain"
},
{
"context": ", 계정 분리를 위해 구 파베 사용 추후 마이그... | scripts/firebase-util.coffee | kyunooh/bibly-bot | 0 | # Description
# Firebase를 토큰을 통해 연결해주는 유틸
#
# Dependencies:
# "firebase": "^2.2.7"
# "firebase-token-generator": "^2.0.0"
#
# Commands:
# Firebase를 사용하고자 하는 곳에서 FirebaseUtil = require './firebase-util' 을 선언하고
# fb = new FirebaseUtil(robot, "name")와 같이 사용한다.
#
# Author:
# river-mountain
Firebase = require 'f... | 33031 | # Description
# Firebase를 토큰을 통해 연결해주는 유틸
#
# Dependencies:
# "firebase": "^2.2.7"
# "firebase-token-generator": "^2.0.0"
#
# Commands:
# Firebase를 사용하고자 하는 곳에서 FirebaseUtil = require './firebase-util' 을 선언하고
# fb = new FirebaseUtil(robot, "name")와 같이 사용한다.
#
# Author:
# river-mountain
Firebase = require 'f... | true | # Description
# Firebase를 토큰을 통해 연결해주는 유틸
#
# Dependencies:
# "firebase": "^2.2.7"
# "firebase-token-generator": "^2.0.0"
#
# Commands:
# Firebase를 사용하고자 하는 곳에서 FirebaseUtil = require './firebase-util' 을 선언하고
# fb = new FirebaseUtil(robot, "name")와 같이 사용한다.
#
# Author:
# river-mountain
Firebase = require 'f... |
[
{
"context": "ception-reporting\":\n\t\tuserId: \"4b2dfe3a-7eef-a871-4d35-230cb11366f8\"\n\t\"file-icons\":\n\t\tcoloured: false",
"end": 1736,
"score": 0.4188135266304016,
"start": 1735,
"tag": "PASSWORD",
"value": "4"
}
] | config.cson | Alhadis/Atom-PhoenixTheme | 0 | "*":
"atom-github-syntax":
matchFont: false
"auto-detect-indentation":
showSpacingInStatusBar: false
core:
customFileTypes:
"source.c": [
"share/misc/getopt"
]
"source.gitconfig": [
"config.worktree"
]
"source.makefile": [
"make"
"makefile"
"mk.config"
"mkfile"
]
"s... | 98296 | "*":
"atom-github-syntax":
matchFont: false
"auto-detect-indentation":
showSpacingInStatusBar: false
core:
customFileTypes:
"source.c": [
"share/misc/getopt"
]
"source.gitconfig": [
"config.worktree"
]
"source.makefile": [
"make"
"makefile"
"mk.config"
"mkfile"
]
"s... | true | "*":
"atom-github-syntax":
matchFont: false
"auto-detect-indentation":
showSpacingInStatusBar: false
core:
customFileTypes:
"source.c": [
"share/misc/getopt"
]
"source.gitconfig": [
"config.worktree"
]
"source.makefile": [
"make"
"makefile"
"mk.config"
"mkfile"
]
"s... |
[
{
"context": "\n\n passwordId: (->\n id = @get('model.id') || 'new'\n \"password-#{id}\"\n ).property('model.id')\n\n\n",
"end": 1286,
"score": 0.7220396995544434,
"start": 1283,
"tag": "PASSWORD",
"value": "new"
},
{
"context": "rdId: (->\n id = @get('model.id') || 'new'\... | app/assets/javascripts/mixins/agent_form.js.coffee | fwoeck/voice-rails | 1 | Voice.AgentForm = Ember.Mixin.create({
needs: ['agents', 'users']
formEl: null
uiLocales: env.uiLocales
actions:
noop: ->
false
safeRecord: ->
if @get('dirty')
@validateForm()
Ember.run.next @, @submitForm
false
cancelChanges: ->
@resetForm()
... | 78500 | Voice.AgentForm = Ember.Mixin.create({
needs: ['agents', 'users']
formEl: null
uiLocales: env.uiLocales
actions:
noop: ->
false
safeRecord: ->
if @get('dirty')
@validateForm()
Ember.run.next @, @submitForm
false
cancelChanges: ->
@resetForm()
... | true | Voice.AgentForm = Ember.Mixin.create({
needs: ['agents', 'users']
formEl: null
uiLocales: env.uiLocales
actions:
noop: ->
false
safeRecord: ->
if @get('dirty')
@validateForm()
Ember.run.next @, @submitForm
false
cancelChanges: ->
@resetForm()
... |
[
{
"context": " activity =\n actor:\n displayName: actor\n verb: verb\n labels: la",
"end": 2371,
"score": 0.9715564846992493,
"start": 2366,
"tag": "NAME",
"value": "actor"
}
] | server/lib/fake_it.coffee | assaf/vanity.js | 2 | # To populate ElasticSearch with 1000 activities over 3 days:
# coffee lib/take_if 1000 localhost:3000
#
# The first argument is number of iterations, optional and defaults to 1000.
#
# The second argument is hostname:port, optional and defaults to localhost:3000.
assert = require("assert")
Async = requi... | 128162 | # To populate ElasticSearch with 1000 activities over 3 days:
# coffee lib/take_if 1000 localhost:3000
#
# The first argument is number of iterations, optional and defaults to 1000.
#
# The second argument is hostname:port, optional and defaults to localhost:3000.
assert = require("assert")
Async = requi... | true | # To populate ElasticSearch with 1000 activities over 3 days:
# coffee lib/take_if 1000 localhost:3000
#
# The first argument is number of iterations, optional and defaults to 1000.
#
# The second argument is hostname:port, optional and defaults to localhost:3000.
assert = require("assert")
Async = requi... |
[
{
"context": "'use strict'\n#\n# Ethan Mick\n# 2015\n#\nQ = require 'q'\nmongoose = require('mong",
"end": 27,
"score": 0.9996620416641235,
"start": 17,
"tag": "NAME",
"value": "Ethan Mick"
}
] | init.coffee | ethanmick/future-server | 0 | 'use strict'
#
# Ethan Mick
# 2015
#
Q = require 'q'
mongoose = require('mongoose-q')()
log = require './lib/helpers/log'
Server = require './lib/server'
mongo = require './lib/helpers/mongo'
server = new Server(port: 8124)
mongo().then ->
server.start()
.then ->
server.routes()
.then ->
log.warn 'Future has sta... | 2150 | 'use strict'
#
# <NAME>
# 2015
#
Q = require 'q'
mongoose = require('mongoose-q')()
log = require './lib/helpers/log'
Server = require './lib/server'
mongo = require './lib/helpers/mongo'
server = new Server(port: 8124)
mongo().then ->
server.start()
.then ->
server.routes()
.then ->
log.warn 'Future has started... | true | 'use strict'
#
# PI:NAME:<NAME>END_PI
# 2015
#
Q = require 'q'
mongoose = require('mongoose-q')()
log = require './lib/helpers/log'
Server = require './lib/server'
mongo = require './lib/helpers/mongo'
server = new Server(port: 8124)
mongo().then ->
server.start()
.then ->
server.routes()
.then ->
log.warn 'Futu... |
[
{
"context": "#\n# Copyright (c) 2012 Konstantin Bender.\n#\n# Permission is hereby granted, free of charge",
"end": 40,
"score": 0.9998645782470703,
"start": 23,
"tag": "NAME",
"value": "Konstantin Bender"
},
{
"context": "'s properties as keys\", ->\n peter = name: \"Peter\"... | tests/test-array.coffee | konstantinbe/milk | 0 | #
# Copyright (c) 2012 Konstantin Bender.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish... | 111171 | #
# Copyright (c) 2012 <NAME>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribut... | true | #
# Copyright (c) 2012 PI:NAME:<NAME>END_PI.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publ... |
[
{
"context": "istribution: someDebian(distros)\n password: genpass()\n metadata:\n purpose: \"testing\"\n ",
"end": 1635,
"score": 0.9278811812400818,
"start": 1628,
"tag": "PASSWORD",
"value": "genpass"
}
] | src/test.coffee | typeduck/jiffybox | 0 | ###############################################################################
# Tests for JiffyBox Client Library
###############################################################################
should = require("should")
Promise = require("bluebird")
Moment = require("moment")
jiffybox = require("./JiffyBoxClient")... | 98133 | ###############################################################################
# Tests for JiffyBox Client Library
###############################################################################
should = require("should")
Promise = require("bluebird")
Moment = require("moment")
jiffybox = require("./JiffyBoxClient")... | true | ###############################################################################
# Tests for JiffyBox Client Library
###############################################################################
should = require("should")
Promise = require("bluebird")
Moment = require("moment")
jiffybox = require("./JiffyBoxClient")... |
[
{
"context": "#\n# Copyright 2014 Carsten Klein\n#\n# Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9998637437820435,
"start": 19,
"tag": "NAME",
"value": "Carsten Klein"
}
] | test/monkeypatch-test.coffee | vibejs/vibejs-subclassof | 0 | #
# Copyright 2014 Carsten Klein
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... | 49034 | #
# Copyright 2014 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | true | #
# Copyright 2014 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... |
[
{
"context": "UserContext= (req)->\n uctx=\n ownerRef: \"email:magma.test.u1.77225432@flarebyte.com\"\n universeId: \"magma:f/universe/testing\",\n ",
"end": 188,
"score": 0.9999216794967651,
"start": 152,
"tag": "EMAIL",
"value": "magma.test.u1.77225432@flarebyte.com"
}
] | nodejs/flarebyte.net/0.8/node/flaming/routes/apiOld.coffee | flarebyte/wonderful-bazar | 0 | #
# * Serve JSON to our AngularJS client
#
'use strict'
client = require('flaming-magma-client')
getUserContext= (req)->
uctx=
ownerRef: "email:magma.test.u1.77225432@flarebyte.com"
universeId: "magma:f/universe/testing",
verified: true
return uctx
exports.name = (req, res) ->
viewModel= client.g.... | 153694 | #
# * Serve JSON to our AngularJS client
#
'use strict'
client = require('flaming-magma-client')
getUserContext= (req)->
uctx=
ownerRef: "email:<EMAIL>"
universeId: "magma:f/universe/testing",
verified: true
return uctx
exports.name = (req, res) ->
viewModel= client.g.lookup('magma:f/view.get/7445... | true | #
# * Serve JSON to our AngularJS client
#
'use strict'
client = require('flaming-magma-client')
getUserContext= (req)->
uctx=
ownerRef: "email:PI:EMAIL:<EMAIL>END_PI"
universeId: "magma:f/universe/testing",
verified: true
return uctx
exports.name = (req, res) ->
viewModel= client.g.lookup('magma:... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.8025781512260437,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | src/de/spec.coffee | phillipb/Bible-Passage-Reference-Parser | 149 | bcv_parser = require("../../js/de_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 33338 | bcv_parser = require("../../js/de_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/de_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "tomatically would be best\n\t\t\t\t\t\t\temail_address = \"isaiahodhner@gmail.com\"\n\t\t\t\t\t\t\tnew_issue_url = \"https://github.com/1j01/",
"end": 1196,
"score": 0.9998877048492432,
"start": 1174,
"tag": "EMAIL",
"value": "isaiahodhner@gmail.com"
},
{
"context": "l.... | src/audio-clips.coffee | 1j01/wavey | 69 |
localforage = require "localforage"
class AudioClipStorage
constructor: ->
# TODO: make these into Maps
@audio_buffers = {}
@recordings = {}
@loading = {}
@_errors = {}
@_suggestions = {}
# dependencies must be injected before use
# XXX: I'm sure there's a cleaner way of doing this
@InfoBar = null
... | 175580 |
localforage = require "localforage"
class AudioClipStorage
constructor: ->
# TODO: make these into Maps
@audio_buffers = {}
@recordings = {}
@loading = {}
@_errors = {}
@_suggestions = {}
# dependencies must be injected before use
# XXX: I'm sure there's a cleaner way of doing this
@InfoBar = null
... | true |
localforage = require "localforage"
class AudioClipStorage
constructor: ->
# TODO: make these into Maps
@audio_buffers = {}
@recordings = {}
@loading = {}
@_errors = {}
@_suggestions = {}
# dependencies must be injected before use
# XXX: I'm sure there's a cleaner way of doing this
@InfoBar = null
... |
[
{
"context": " should probably handle nested bracket pairs!?! -- Allan'\n 'end': '\\\\}'\n 'endCaptures':\n ",
"end": 10015,
"score": 0.9905258417129517,
"start": 10010,
"tag": "NAME",
"value": "Allan"
}
] | grammars/sql.cson | halcyon-dayz/language-sql | 40 | 'scopeName': 'source.sql'
'name': 'SQL'
'fileTypes': [
'ddl'
'dml'
'dsql'
'hql'
'pgsql'
'psql'
'q'
'sql'
]
'patterns': [
{
'include': '#comments'
}
{
'captures':
'1':
'name': 'keyword.other.create.sql'
'2':
'name': 'keyword.other.sql'
'4':
'name': ... | 219766 | 'scopeName': 'source.sql'
'name': 'SQL'
'fileTypes': [
'ddl'
'dml'
'dsql'
'hql'
'pgsql'
'psql'
'q'
'sql'
]
'patterns': [
{
'include': '#comments'
}
{
'captures':
'1':
'name': 'keyword.other.create.sql'
'2':
'name': 'keyword.other.sql'
'4':
'name': ... | true | 'scopeName': 'source.sql'
'name': 'SQL'
'fileTypes': [
'ddl'
'dml'
'dsql'
'hql'
'pgsql'
'psql'
'q'
'sql'
]
'patterns': [
{
'include': '#comments'
}
{
'captures':
'1':
'name': 'keyword.other.create.sql'
'2':
'name': 'keyword.other.sql'
'4':
'name': ... |
[
{
"context": "kspace')\n expect(credentials.username).toBe('defaultuser')\n expect(credentials.apiKey).toBe('yomama')",
"end": 607,
"score": 0.9995549917221069,
"start": 596,
"tag": "USERNAME",
"value": "defaultuser"
},
{
"context": "aultuser')\n expect(credentials.api... | spec/cloud-credentials-spec.coffee | mtdev2/atom-cloud-sync | 0 | {CloudCredentials, FILENAME} = require '../lib/cloud-credentials'
{File, Directory} = require 'pathwatcher'
path = require 'path'
describe 'CloudCredentials', ->
it "loads from a #{FILENAME} file", ->
root = atom.project.getRootDirectory().getRealPathSync()
f = new File(path.join root, FILENAME)
credent... | 98630 | {CloudCredentials, FILENAME} = require '../lib/cloud-credentials'
{File, Directory} = require 'pathwatcher'
path = require 'path'
describe 'CloudCredentials', ->
it "loads from a #{FILENAME} file", ->
root = atom.project.getRootDirectory().getRealPathSync()
f = new File(path.join root, FILENAME)
credent... | true | {CloudCredentials, FILENAME} = require '../lib/cloud-credentials'
{File, Directory} = require 'pathwatcher'
path = require 'path'
describe 'CloudCredentials', ->
it "loads from a #{FILENAME} file", ->
root = atom.project.getRootDirectory().getRealPathSync()
f = new File(path.join root, FILENAME)
credent... |
[
{
"context": "als & Developers (assets)\nProject: Waaave\nAuthors: Julien Le Coupanec, Valerian Saliou\nCopyright: 2014, Waaave\n###\n\n__ ",
"end": 109,
"score": 0.999859631061554,
"start": 91,
"tag": "NAME",
"value": "Julien Le Coupanec"
},
{
"context": "sets)\nProject: Waaave\nAut... | static/src/assets/tutorial/javascripts/tutorial_view_related_tutorials_developers.coffee | valeriansaliou/waaave-web | 1 | ###
Bundle: Tutorial View Related Tutorials & Developers (assets)
Project: Waaave
Authors: Julien Le Coupanec, Valerian Saliou
Copyright: 2014, Waaave
###
__ = window
class TutorialViewRelatedTutorialsDevelopers
init: ->
try
# Selectors
@_window_sel = $ window
@_docum... | 163967 | ###
Bundle: Tutorial View Related Tutorials & Developers (assets)
Project: Waaave
Authors: <NAME>, <NAME>
Copyright: 2014, Waaave
###
__ = window
class TutorialViewRelatedTutorialsDevelopers
init: ->
try
# Selectors
@_window_sel = $ window
@_document_sel = $ document
... | true | ###
Bundle: Tutorial View Related Tutorials & Developers (assets)
Project: Waaave
Authors: PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
Copyright: 2014, Waaave
###
__ = window
class TutorialViewRelatedTutorialsDevelopers
init: ->
try
# Selectors
@_window_sel = $ window
... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.909584641456604,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/spec/SpecRuler.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS'
], (kin) ->
"use strict"
PIXEL_PER_MM = 3.779527559
drawHorizontal = (context) ->
... | 69549 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS'
], (kin) ->
"use strict"
PIXEL_PER_MM = 3.779527559
drawHorizontal = (context) ->
... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'KineticJS'
], (kin) ->
"use strict"
PIXEL_PER_MM = 3.779527559
drawHorizontal = (c... |
[
{
"context": "ageCode] =\n githubURL: \"https://github.com/codecombat/codecombat/blob/master/app/locale/#{languageCode}",
"end": 1787,
"score": 0.9974166750907898,
"start": 1777,
"tag": "USERNAME",
"value": "codecombat"
},
{
"context": " # русский язык, Russian\n ... | app/views/contribute/DiplomatView.coffee | JurianLock/codecombat | 0 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/diplomat'
{me} = require 'core/auth'
require("locale/en")
require("locale/en-US")
require("locale/en-GB")
require("locale/ru")
require("locale/de-DE")
require("locale/de-AT")
require("locale/de-CH")
require("locale/es-419")
... | 58781 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/diplomat'
{me} = require 'core/auth'
require("locale/en")
require("locale/en-US")
require("locale/en-GB")
require("locale/ru")
require("locale/de-DE")
require("locale/de-AT")
require("locale/de-CH")
require("locale/es-419")
... | true | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/diplomat'
{me} = require 'core/auth'
require("locale/en")
require("locale/en-US")
require("locale/en-GB")
require("locale/ru")
require("locale/de-DE")
require("locale/de-AT")
require("locale/de-CH")
require("locale/es-419")
... |
[
{
"context": "###\n * https://github.com/jkuetemeier/gulp-tasks-common\n *\n * Copyright (c) 2014 Jörg K",
"end": 37,
"score": 0.9985677599906921,
"start": 26,
"tag": "USERNAME",
"value": "jkuetemeier"
},
{
"context": "temeier/gulp-tasks-common\n *\n * Copyright (c) 2014 Jörg Kütemei... | src/register_tasks.coffee | kuetemeier/gulp-tasks-common | 0 | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 Jörg Kütemeier
* Licensed under the MIT license.
###
_ = require 'lodash'
module.exports = (common) ->
(gulp, config) ->
if gulp == undefined
throw new Error 'gulp variable has to be defined'
config = config || {}
_... | 143623 | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
_ = require 'lodash'
module.exports = (common) ->
(gulp, config) ->
if gulp == undefined
throw new Error 'gulp variable has to be defined'
config = config || {}
_.default... | true | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
_ = require 'lodash'
module.exports = (common) ->
(gulp, config) ->
if gulp == undefined
throw new Error 'gulp variable has to be defined'
config = config || {}... |
[
{
"context": "ound patch\"\n }\n {\n id: 3\n title: \"Sharks\"\n info: \"Cat sample patch\"\n }\n ]\n a",
"end": 479,
"score": 0.6136012077331543,
"start": 477,
"tag": "NAME",
"value": "Sh"
}
] | app/js/features/patches/patch_service.coffee | 17thDimension/synthesizer | 0 | ###
A simple example service that returns some data.
###
angular.module("synthesizer")
.factory "PatchService", ->
# Might use a resource here that returns a JSON array
# Some fake testing data
patches = [
{
id: 0
title: "Cats"
info: "Cat sample patch"
}
{
id: 1
title:... | 158546 | ###
A simple example service that returns some data.
###
angular.module("synthesizer")
.factory "PatchService", ->
# Might use a resource here that returns a JSON array
# Some fake testing data
patches = [
{
id: 0
title: "Cats"
info: "Cat sample patch"
}
{
id: 1
title:... | true | ###
A simple example service that returns some data.
###
angular.module("synthesizer")
.factory "PatchService", ->
# Might use a resource here that returns a JSON array
# Some fake testing data
patches = [
{
id: 0
title: "Cats"
info: "Cat sample patch"
}
{
id: 1
title:... |
[
{
"context": "al notes required for the script>\n#\n# Author:\n# 神楽坂喵\n\nmodule.exports = (robot) ->\n\n robot.hear /nyaa ",
"end": 283,
"score": 0.9997584223747253,
"start": 279,
"tag": "NAME",
"value": "神楽坂喵"
}
] | src/nyaa-net.coffee | KagurazakaNyaa/hubot-nyaa-net | 0 | # Description
# nyaa.net 搜索机器人脚本
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# nyaa search <name> <page> <size> - 搜索nyaa.net
# sukebei search <name> <page> <size> - 搜索sukebei.nyaa.net
#
# Notes:
# <optional notes required for the script>
#
# Author:
# 神楽坂喵
module.exports = (robot) ->
robo... | 92670 | # Description
# nyaa.net 搜索机器人脚本
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# nyaa search <name> <page> <size> - 搜索nyaa.net
# sukebei search <name> <page> <size> - 搜索sukebei.nyaa.net
#
# Notes:
# <optional notes required for the script>
#
# Author:
# <NAME>
module.exports = (robot) ->
ro... | true | # Description
# nyaa.net 搜索机器人脚本
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# nyaa search <name> <page> <size> - 搜索nyaa.net
# sukebei search <name> <page> <size> - 搜索sukebei.nyaa.net
#
# Notes:
# <optional notes required for the script>
#
# Author:
# PI:NAME:<NAME>END_PI
module.exports = (r... |
[
{
"context": " target: \"#{scratch}/file\"\n content: \"hello nikita\"\n .file.assert\n target: \"#{scratch}/f",
"end": 6452,
"score": 0.9752916693687439,
"start": 6446,
"tag": "NAME",
"value": "nikita"
},
{
"context": " match: /(username)=(.*)/\n replace... | packages/core/test/file/index.coffee | chibanemourad/node-nikita | 0 |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file', ->
describe 'options content', ->
they 'is a string', ({ssh}) ->
nikita
ssh: ssh
.file
target: "#{scratch}/file"
c... | 120923 |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file', ->
describe 'options content', ->
they 'is a string', ({ssh}) ->
nikita
ssh: ssh
.file
target: "#{scratch}/file"
c... | true |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file', ->
describe 'options content', ->
they 'is a string', ({ssh}) ->
nikita
ssh: ssh
.file
target: "#{scratch}/file"
c... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998520016670227,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/nucleus/loader.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 115848 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "# angularScopeExtend / Alex Solo 2015 / License: MIT\n\n'format global'\n'deps angula",
"end": 32,
"score": 0.999854564666748,
"start": 23,
"tag": "NAME",
"value": "Alex Solo"
},
{
"context": " listens.push\n key: name\n ... | angular-scope-extend.coffee | civilframe/angular-scope-extend | 3 | # angularScopeExtend / Alex Solo 2015 / License: MIT
'format global'
'deps angular'
do ->
# Internal functions
_isObject = (obj) ->
return typeof obj is 'object'
_isFunction = (obj) ->
return typeof obj is 'function'
_isArray = (obj) ->
return toString.call(obj) is '[object ... | 90870 | # angularScopeExtend / <NAME> 2015 / License: MIT
'format global'
'deps angular'
do ->
# Internal functions
_isObject = (obj) ->
return typeof obj is 'object'
_isFunction = (obj) ->
return typeof obj is 'function'
_isArray = (obj) ->
return toString.call(obj) is '[object Arr... | true | # angularScopeExtend / PI:NAME:<NAME>END_PI 2015 / License: MIT
'format global'
'deps angular'
do ->
# Internal functions
_isObject = (obj) ->
return typeof obj is 'object'
_isFunction = (obj) ->
return typeof obj is 'function'
_isArray = (obj) ->
return toString.call(obj) i... |
[
{
"context": "AssetModel\n display_name: \"test asset\"\n url: 'actual_asset",
"end": 1785,
"score": 0.7807860970497131,
"start": 1781,
"tag": "NAME",
"value": "test"
}
] | work-files/install-native/cms/static/coffee/spec/views/assets_spec.coffee | lpm0073/netec-edx-theme | 0 | define ["jquery", "edx-ui-toolkit/js/utils/spec-helpers/ajax-helpers", "squire"],
($, AjaxHelpers, Squire) ->
assetLibraryTpl = readFixtures('asset-library.underscore')
assetTpl = readFixtures('asset.underscore')
describe "Asset view", ->
beforeEach (done) ->
setFixtures($("<script>", ... | 76080 | define ["jquery", "edx-ui-toolkit/js/utils/spec-helpers/ajax-helpers", "squire"],
($, AjaxHelpers, Squire) ->
assetLibraryTpl = readFixtures('asset-library.underscore')
assetTpl = readFixtures('asset.underscore')
describe "Asset view", ->
beforeEach (done) ->
setFixtures($("<script>", ... | true | define ["jquery", "edx-ui-toolkit/js/utils/spec-helpers/ajax-helpers", "squire"],
($, AjaxHelpers, Squire) ->
assetLibraryTpl = readFixtures('asset-library.underscore')
assetTpl = readFixtures('asset.underscore')
describe "Asset view", ->
beforeEach (done) ->
setFixtures($("<script>", ... |
[
{
"context": "irbrake(on: (->), {\n id: '1'\n key: '2'\n version: '0.0'\n name: 'testing'\n ",
"end": 443,
"score": 0.922469973564148,
"start": 442,
"tag": "KEY",
"value": "2"
},
{
"context": "should.equal '1'\n airbrake.key.should.equal '2'\n ai... | test/unit/airbrake.coffee | Wayfarer247/airbrake-hapi | 0 | should = require('chai').should()
Airbrake = require '../../lib/airbrake'
Info = require '../airbrake_info.json'
describe 'Airbrake', ->
it 'should exist', ->
should.exist Airbrake
it 'should be creatable', ->
server = on: ->
airbrake = new Airbrake(server)
should.exist airbrake
describe 'crea... | 191894 | should = require('chai').should()
Airbrake = require '../../lib/airbrake'
Info = require '../airbrake_info.json'
describe 'Airbrake', ->
it 'should exist', ->
should.exist Airbrake
it 'should be creatable', ->
server = on: ->
airbrake = new Airbrake(server)
should.exist airbrake
describe 'crea... | true | should = require('chai').should()
Airbrake = require '../../lib/airbrake'
Info = require '../airbrake_info.json'
describe 'Airbrake', ->
it 'should exist', ->
should.exist Airbrake
it 'should be creatable', ->
server = on: ->
airbrake = new Airbrake(server)
should.exist airbrake
describe 'crea... |
[
{
"context": "on-4\nexports.test_vectors = \n s_4_1 :\n key : '000102030405060708090A0B0C0D0E0F'\n plaintext : '00112233445566778899AABBCCDDEEF",
"end": 168,
"score": 0.9997614622116089,
"start": 136,
"tag": "KEY",
"value": "000102030405060708090A0B0C0D0E0F"
},
{
"context": "A... | test/data/rfc3394.iced | samkenxstream/kbpgp | 464 |
# Test vectors from RFC 3394, Section 4
# http://tools.ietf.org/html/rfc3394#section-4
exports.test_vectors =
s_4_1 :
key : '000102030405060708090A0B0C0D0E0F'
plaintext : '00112233445566778899AABBCCDDEEFF'
ciphertext : '1FA68B0A8112B447AEF34BD8FB5A7B829D3E862371D2CFE5'
s_4_2:
key : '0001020304... | 64007 |
# Test vectors from RFC 3394, Section 4
# http://tools.ietf.org/html/rfc3394#section-4
exports.test_vectors =
s_4_1 :
key : '<KEY>'
plaintext : '00112233445566778899<KEY>EFF'
ciphertext : '1FA68B0A8112B447AEF34BD8FB5A7B829D3E862371D2CFE5'
s_4_2:
key : '<KEY>'
plaintext : '00112233445566778... | true |
# Test vectors from RFC 3394, Section 4
# http://tools.ietf.org/html/rfc3394#section-4
exports.test_vectors =
s_4_1 :
key : 'PI:KEY:<KEY>END_PI'
plaintext : '00112233445566778899PI:KEY:<KEY>END_PIEFF'
ciphertext : '1FA68B0A8112B447AEF34BD8FB5A7B829D3E862371D2CFE5'
s_4_2:
key : 'PI:KEY:<KEY>END... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998865127563477,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/Router/RouteDefinition.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
RouteArgument = use('@Konsserto/Component/Router/RouteArgument')
# RouteDefinition
# @... | 172371 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
RouteArgument = use('@Konsserto/Component/Router/RouteArgument')
# RouteDefinition
# @author <NAME> <<EMAI... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
RouteArgument = use('@Konsserto/Component/Router/RouteArgument')
# RouteDefin... |
[
{
"context": "t aliases - lists all etcd aliases\n#\n# Author:\n# Chris Riddle\n\n_ = require \"underscore\"\n\nmodule.exports = (robo",
"end": 449,
"score": 0.9998595118522644,
"start": 437,
"tag": "NAME",
"value": "Chris Riddle"
}
] | src/etcd.coffee | christriddle/hubot-etcd | 2 | # Description:
# A Hubot script for querying an Etcd cluster
#
# Dependencies:
# None
#
# Commands:
# hubot etcd <alias> cluster health - show cluster health
# hubot etcd <alias> get <key> - gets the value of a key
# hubot etcd add alias <alias> <etcd_host> <etcd_port> - add an alias to a Etcd cluster
# hub... | 165263 | # Description:
# A Hubot script for querying an Etcd cluster
#
# Dependencies:
# None
#
# Commands:
# hubot etcd <alias> cluster health - show cluster health
# hubot etcd <alias> get <key> - gets the value of a key
# hubot etcd add alias <alias> <etcd_host> <etcd_port> - add an alias to a Etcd cluster
# hub... | true | # Description:
# A Hubot script for querying an Etcd cluster
#
# Dependencies:
# None
#
# Commands:
# hubot etcd <alias> cluster health - show cluster health
# hubot etcd <alias> get <key> - gets the value of a key
# hubot etcd add alias <alias> <etcd_host> <etcd_port> - add an alias to a Etcd cluster
# hub... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998888373374939,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/app/controllers/pharmacyController.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
Validator = require 'validatorjs'
Pharmacy = require '../models/pharmacy'
{ sequelize } = require '../../database'
module.exports.create = (req, res) ->
# ph... | 168620 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
Validator = require 'validatorjs'
Pharmacy = require '../models/pharmacy'
{ sequelize } = require '../../database'
module.exports.create = (req, res) ->
# pharmacy data validati... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
Validator = require 'validatorjs'
Pharmacy = require '../models/pharmacy'
{ sequelize } = require '../../database'
module.exports.create = (req, res) -... |
[
{
"context": "ript Client Detection\"\n # (C) viazenetti GmbH (Christian Ludwig)\n\n unknown = '-'\n #browser\n nVer = navig",
"end": 1160,
"score": 0.9998834133148193,
"start": 1144,
"tag": "NAME",
"value": "Christian Ludwig"
}
] | src/SystemInfo.coffee | intensifier/Fizzygum | 110 | # this file is excluded from the fizzygum homepage build
# Holds information about browser and machine
# Note that some of these could
# change during user session.
class SystemInfo
userAgent: nil
screenWidth: nil
screenHeight: nil
screenColorDepth: nil
screenPixelRatio: nil
screenCeilPixelRatio: nil
a... | 105204 | # this file is excluded from the fizzygum homepage build
# Holds information about browser and machine
# Note that some of these could
# change during user session.
class SystemInfo
userAgent: nil
screenWidth: nil
screenHeight: nil
screenColorDepth: nil
screenPixelRatio: nil
screenCeilPixelRatio: nil
a... | true | # this file is excluded from the fizzygum homepage build
# Holds information about browser and machine
# Note that some of these could
# change during user session.
class SystemInfo
userAgent: nil
screenWidth: nil
screenHeight: nil
screenColorDepth: nil
screenPixelRatio: nil
screenCeilPixelRatio: nil
a... |
[
{
"context": " room.set(data)\n )\n\nroom = new Room(\n self: \"Joe\",\n name: \"My Room\",\n people: []\n)\n#console.log ",
"end": 433,
"score": 0.9933170676231384,
"start": 430,
"tag": "NAME",
"value": "Joe"
},
{
"context": "ta)\n )\n\nroom = new Room(\n self: \"Joe\",\n ... | assets/script.coffee | cespare/scrumcard | 0 | #_ = require './underscore'
#Backbone = require './backbone'
class Room extends Backbone.Model
defaults:
people: []
class RoomCollection extends Backbone.Collection
model: Room
class User extends Backbone.Model
defaults:
vote: -1
change_vote: (vote) ->
this.save({"vote": vote})
poll_room = (ro... | 14660 | #_ = require './underscore'
#Backbone = require './backbone'
class Room extends Backbone.Model
defaults:
people: []
class RoomCollection extends Backbone.Collection
model: Room
class User extends Backbone.Model
defaults:
vote: -1
change_vote: (vote) ->
this.save({"vote": vote})
poll_room = (ro... | true | #_ = require './underscore'
#Backbone = require './backbone'
class Room extends Backbone.Model
defaults:
people: []
class RoomCollection extends Backbone.Collection
model: Room
class User extends Backbone.Model
defaults:
vote: -1
change_vote: (vote) ->
this.save({"vote": vote})
poll_room = (ro... |
[
{
"context": ".full-menu .header.list-item': [\n\t\t{\n\t\t\t'label': 'Bemy'\n\t\t\t'submenu': [\n\t\t\t\t{\n\t\t\t\t\t'label': 'Auto'\n\t\t\t\t\t",
"end": 111,
"score": 0.7511788606643677,
"start": 107,
"tag": "NAME",
"value": "Bemy"
}
] | menus/bemy.cson | frux/atom-bemy | 2 | 'context-menu':
'.tree-view.full-menu .entry, .tree-view.full-menu .header.list-item': [
{
'label': 'Bemy'
'submenu': [
{
'label': 'Auto'
'command': 'bemy:auto'
},
{
'label': 'Create'
'command': 'bemy:create'
}
]
}
]
'menu': [
{}
]
| 22825 | 'context-menu':
'.tree-view.full-menu .entry, .tree-view.full-menu .header.list-item': [
{
'label': '<NAME>'
'submenu': [
{
'label': 'Auto'
'command': 'bemy:auto'
},
{
'label': 'Create'
'command': 'bemy:create'
}
]
}
]
'menu': [
{}
]
| true | 'context-menu':
'.tree-view.full-menu .entry, .tree-view.full-menu .header.list-item': [
{
'label': 'PI:NAME:<NAME>END_PI'
'submenu': [
{
'label': 'Auto'
'command': 'bemy:auto'
},
{
'label': 'Create'
'command': 'bemy:create'
}
]
}
]
'menu': [
{}
]
|
[
{
"context": " by grab and drag scroll.\n# \n# Copyright (c) 2009 Toshimitsu Takahashi\n# Modified 2009 by Andrew Badr\n# \n# Released un",
"end": 145,
"score": 0.9998530149459839,
"start": 125,
"tag": "NAME",
"value": "Toshimitsu Takahashi"
},
{
"context": " (c) 2009 Toshimitsu T... | jotleaf/static/js/libs/jquery.scrollview.coffee | reverie/jotleaf.com | 1 | # ScrollView - jQuery plugin 0.1
#
# This plugin supplies contents view by grab and drag scroll.
#
# Copyright (c) 2009 Toshimitsu Takahashi
# Modified 2009 by Andrew Badr
#
# Released under the MIT license.
class DraggableSurface
constructor: (@container, @scrollBy) ->
@container = $(@container)
@ac... | 208518 | # ScrollView - jQuery plugin 0.1
#
# This plugin supplies contents view by grab and drag scroll.
#
# Copyright (c) 2009 <NAME>
# Modified 2009 by <NAME>
#
# Released under the MIT license.
class DraggableSurface
constructor: (@container, @scrollBy) ->
@container = $(@container)
@active = true
@_i... | true | # ScrollView - jQuery plugin 0.1
#
# This plugin supplies contents view by grab and drag scroll.
#
# Copyright (c) 2009 PI:NAME:<NAME>END_PI
# Modified 2009 by PI:NAME:<NAME>END_PI
#
# Released under the MIT license.
class DraggableSurface
constructor: (@container, @scrollBy) ->
@container = $(@container... |
[
{
"context": "# JSONRequest created by Jordan Dobson on 17 Nov 2016 - @jordandobson - jordandobson@gma",
"end": 38,
"score": 0.9998911023139954,
"start": 25,
"tag": "NAME",
"value": "Jordan Dobson"
},
{
"context": "NRequest created by Jordan Dobson on 17 Nov 2016 - @jordandobson - jo... | JSONRequest.coffee | Seattle-Framer/modules-Seattle | 12 | # JSONRequest created by Jordan Dobson on 17 Nov 2016 - @jordandobson - jordandobson@gmail.com
class exports.JSONRequest extends Framer.BaseClass
# https://davidwalsh.name/xmlhttprequest
DATA = "data"
EVENT = "event"
@LOAD = LOAD = "load"
@ABORT = ABORT = "abort"
@ERROR = ERROR = "error"
... | 179491 | # JSONRequest created by <NAME> on 17 Nov 2016 - @jordandobson - <EMAIL>
class exports.JSONRequest extends Framer.BaseClass
# https://davidwalsh.name/xmlhttprequest
DATA = "data"
EVENT = "event"
@LOAD = LOAD = "load"
@ABORT = ABORT = "abort"
@ERROR = ERROR = "error"
@PROGRESS = PROGRESS ... | true | # JSONRequest created by PI:NAME:<NAME>END_PI on 17 Nov 2016 - @jordandobson - PI:EMAIL:<EMAIL>END_PI
class exports.JSONRequest extends Framer.BaseClass
# https://davidwalsh.name/xmlhttprequest
DATA = "data"
EVENT = "event"
@LOAD = LOAD = "load"
@ABORT = ABORT = "abort"
@ERROR = ERROR = "... |
[
{
"context": " 'M-SEARCH * HTTP/1.1\\r\\n\\\n HOST: 239.255.255.250:1900\\r\\n\\\n MAN: \"ssdp:discover\"\\r",
"end": 2900,
"score": 0.9997106194496155,
"start": 2885,
"tag": "IP_ADDRESS",
"value": "239.255.255.250"
},
{
"context": "ast group\n search... | lib/roku-develop-ssdp.coffee | entrez/roku-develop | 15 | http = require 'http'
dgram = require 'dgram'
# RegEx to extract ip addr/serial number from M-SEARCH and NOTIFY responses
reIpAddr = /\r\nLocation\s*:\s*(?:.*?:\/\/)?([^:\/\r\n]+)/i
reSerialNumber = /\r\nUSN:\s*uuid:roku:ecp:\s*([A-Z0-9]+)/i
# Use a regular expression to extract a field from some data,
# ret... | 8561 | http = require 'http'
dgram = require 'dgram'
# RegEx to extract ip addr/serial number from M-SEARCH and NOTIFY responses
reIpAddr = /\r\nLocation\s*:\s*(?:.*?:\/\/)?([^:\/\r\n]+)/i
reSerialNumber = /\r\nUSN:\s*uuid:roku:ecp:\s*([A-Z0-9]+)/i
# Use a regular expression to extract a field from some data,
# ret... | true | http = require 'http'
dgram = require 'dgram'
# RegEx to extract ip addr/serial number from M-SEARCH and NOTIFY responses
reIpAddr = /\r\nLocation\s*:\s*(?:.*?:\/\/)?([^:\/\r\n]+)/i
reSerialNumber = /\r\nUSN:\s*uuid:roku:ecp:\s*([A-Z0-9]+)/i
# Use a regular expression to extract a field from some data,
# ret... |
[
{
"context": "rsion 1.0.0\n@file Alert.js\n@author Welington Sampaio (http://welington.zaez.net/)\n@contact http://",
"end": 146,
"score": 0.9999037981033325,
"start": 129,
"tag": "NAME",
"value": "Welington Sampaio"
},
{
"context": "n.zaez.net/site/contato\n\n@co... | vendor/assets/javascripts/lol_framework/Alert.coffee | welingtonsampaio/lol-framework | 1 | ###
@summary Lol Framework
@description Framework of RIAs applications
@version 1.0.0
@file Alert.js
@author Welington Sampaio (http://welington.zaez.net/)
@contact http://welington.zaez.net/site/contato
@copyright Copyright 2012 Welington Sampaio, all rights reserved.
This source file is free... | 197181 | ###
@summary Lol Framework
@description Framework of RIAs applications
@version 1.0.0
@file Alert.js
@author <NAME> (http://welington.zaez.net/)
@contact http://welington.zaez.net/site/contato
@copyright Copyright 2012 <NAME>, all rights reserved.
This source file is free software, under the l... | true | ###
@summary Lol Framework
@description Framework of RIAs applications
@version 1.0.0
@file Alert.js
@author PI:NAME:<NAME>END_PI (http://welington.zaez.net/)
@contact http://welington.zaez.net/site/contato
@copyright Copyright 2012 PI:NAME:<NAME>END_PI, all rights reserved.
This source file i... |
[
{
"context": "\"+deploy_user\n host : deploy_user+\"@danielepelagatti.com\"\n\n\n gruntConfig.htmlmin = \n all :\n ",
"end": 9390,
"score": 0.9891127347946167,
"start": 9369,
"tag": "EMAIL",
"value": "@danielepelagatti.com"
}
] | Gruntfile.coffee | daniele-pelagatti/danielepelagatti.com | 0 | module.exports = (grunt)->
# Project configuration.
# debugger
env = grunt.option("env") || "prod";
deploy_user = grunt.option("user");
grunt.task.loadTasks("tasks")
require("load-grunt-tasks")(grunt);
rewriteModule = require("http-rewrite-middleware");
optional_files = [
... | 112826 | module.exports = (grunt)->
# Project configuration.
# debugger
env = grunt.option("env") || "prod";
deploy_user = grunt.option("user");
grunt.task.loadTasks("tasks")
require("load-grunt-tasks")(grunt);
rewriteModule = require("http-rewrite-middleware");
optional_files = [
... | true | module.exports = (grunt)->
# Project configuration.
# debugger
env = grunt.option("env") || "prod";
deploy_user = grunt.option("user");
grunt.task.loadTasks("tasks")
require("load-grunt-tasks")(grunt);
rewriteModule = require("http-rewrite-middleware");
optional_files = [
... |
[
{
"context": "###*\n* BaseScene class\n*\n* @author David Jegat <david.jegat@gmail.com>\n###\nclass BaseScene\n ###",
"end": 46,
"score": 0.9998867511749268,
"start": 35,
"tag": "NAME",
"value": "David Jegat"
},
{
"context": "###*\n* BaseScene class\n*\n* @author David Jegat <david.... | src/Scene/BaseScene.coffee | Djeg/MicroRacing | 1 | ###*
* BaseScene class
*
* @author David Jegat <david.jegat@gmail.com>
###
class BaseScene
###*
* @constructor
###
constructor: () ->
@game = null
@input = null
@mouse = null
@name = @constructor.name.replace 'Scene', ''
@graphics = new GraphicCollection
@actors = new Act... | 182255 | ###*
* BaseScene class
*
* @author <NAME> <<EMAIL>>
###
class BaseScene
###*
* @constructor
###
constructor: () ->
@game = null
@input = null
@mouse = null
@name = @constructor.name.replace 'Scene', ''
@graphics = new GraphicCollection
@actors = new ActorCollection
###... | true | ###*
* BaseScene class
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
class BaseScene
###*
* @constructor
###
constructor: () ->
@game = null
@input = null
@mouse = null
@name = @constructor.name.replace 'Scene', ''
@graphics = new GraphicCollection
@actors ... |
[
{
"context": "@sheet.authorize({\n client_email: 'bad@email.com',\n private_key: 'bad key'\n ",
"end": 525,
"score": 0.9999127388000488,
"start": 512,
"tag": "EMAIL",
"value": "bad@email.com"
},
{
"context": "l: 'bad@email.com',\n p... | tests/models/test_sheet.coffee | fangamer/ibizan | 0 |
moment = require 'moment'
chai = require 'chai'
assert = chai.assert
expect = chai.expect
Spreadsheet = require '../../src/models/sheet'
MockSheet = require '../mocks/mock_sheet.js'
Punch = require '../../src/models/punch'
describe 'Sheet', ->
beforeEach ->
sheet_id = 'bad id'
@sheet = new Spreadsheet(shee... | 70609 |
moment = require 'moment'
chai = require 'chai'
assert = chai.assert
expect = chai.expect
Spreadsheet = require '../../src/models/sheet'
MockSheet = require '../mocks/mock_sheet.js'
Punch = require '../../src/models/punch'
describe 'Sheet', ->
beforeEach ->
sheet_id = 'bad id'
@sheet = new Spreadsheet(shee... | true |
moment = require 'moment'
chai = require 'chai'
assert = chai.assert
expect = chai.expect
Spreadsheet = require '../../src/models/sheet'
MockSheet = require '../mocks/mock_sheet.js'
Punch = require '../../src/models/punch'
describe 'Sheet', ->
beforeEach ->
sheet_id = 'bad id'
@sheet = new Spreadsheet(shee... |
[
{
"context": "()\n alice.ensureMainSynchro euid\n\n # Connect Alice to Bob, but stop automatic propagation of changes",
"end": 645,
"score": 0.9420238733291626,
"start": 640,
"tag": "NAME",
"value": "Alice"
},
{
"context": "ice.ensureMainSynchro euid\n\n # Connect Alice to B... | packages/nog-sync/nog-sync-remote-tests.coffee | nogproject/nog | 0 | { createTestPeers } = require './nog-sync-peer-tests.coffee'
{ createContentFaker } = require './nog-sync-store-tests.coffee'
describe 'nog-sync', -> describe 'remote, real ops', ->
peers = null
euid = null
alice = null
bob = null
bobSyncStore = null
bobSyncOwner = null
bobContentStore = null
bobCont... | 63584 | { createTestPeers } = require './nog-sync-peer-tests.coffee'
{ createContentFaker } = require './nog-sync-store-tests.coffee'
describe 'nog-sync', -> describe 'remote, real ops', ->
peers = null
euid = null
alice = null
bob = null
bobSyncStore = null
bobSyncOwner = null
bobContentStore = null
bobCont... | true | { createTestPeers } = require './nog-sync-peer-tests.coffee'
{ createContentFaker } = require './nog-sync-store-tests.coffee'
describe 'nog-sync', -> describe 'remote, real ops', ->
peers = null
euid = null
alice = null
bob = null
bobSyncStore = null
bobSyncOwner = null
bobContentStore = null
bobCont... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.