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": " links\n\n\t\t\t\t\t# First : app -> other app\n\t\t\t\t\tkey = \"#{call.caller}:#{call.called}:#{call.starttime}\"\n\n\t\t\t\t\tif not links[key]?\n\t\t\t\t\t\tlinks[key] = new L",
"end": 12347,
"score": 0.9380872249603271,
"start": 12298,
"tag": "KEY",
"value": "\"#{call.call... | modules/postgresConnector/PostgresConnector.coffee | ggeoffrey/Choregraphie | 1 | pg = require 'pg'
async = require 'async'
Call = require './Call'
Node = require './Node'
Link = require './Link'
Event = require './Event'
appConfig = require '../../config'
#
# Connect to a PostgreSQL database according to the local config file.
#
class Connector
# Read config, connect to Postgre and ensure th... | 129754 | pg = require 'pg'
async = require 'async'
Call = require './Call'
Node = require './Node'
Link = require './Link'
Event = require './Event'
appConfig = require '../../config'
#
# Connect to a PostgreSQL database according to the local config file.
#
class Connector
# Read config, connect to Postgre and ensure th... | true | pg = require 'pg'
async = require 'async'
Call = require './Call'
Node = require './Node'
Link = require './Link'
Event = require './Event'
appConfig = require '../../config'
#
# Connect to a PostgreSQL database according to the local config file.
#
class Connector
# Read config, connect to Postgre and ensure th... |
[
{
"context": "styles` directory for available options.\n key = \"css-#{variables}-#{styles}\"\n if cache[key] then return done null, ca",
"end": 3622,
"score": 0.9189561009407043,
"start": 3603,
"tag": "KEY",
"value": "css-#{variables}-#{"
},
{
"context": "ilable options.\n key = ... | src/main.coffee | googoid/aglio-theme-smartaxi | 0 | crypto = require 'crypto'
fs = require 'fs'
hljs = require 'highlight.js'
jade = require 'jade'
less = require 'less'
markdownIt = require 'markdown-it'
moment = require 'moment'
path = require 'path'
querystring = require 'querystring'
# The root directory of this project
ROOT = path.dirname __dirname
cache = {}
# ... | 194529 | crypto = require 'crypto'
fs = require 'fs'
hljs = require 'highlight.js'
jade = require 'jade'
less = require 'less'
markdownIt = require 'markdown-it'
moment = require 'moment'
path = require 'path'
querystring = require 'querystring'
# The root directory of this project
ROOT = path.dirname __dirname
cache = {}
# ... | true | crypto = require 'crypto'
fs = require 'fs'
hljs = require 'highlight.js'
jade = require 'jade'
less = require 'less'
markdownIt = require 'markdown-it'
moment = require 'moment'
path = require 'path'
querystring = require 'querystring'
# The root directory of this project
ROOT = path.dirname __dirname
cache = {}
# ... |
[
{
"context": "///\nCopyright 2016 Anthony Shaw, Dimension Data\n\nLicensed under the Apache Licens",
"end": 31,
"score": 0.9998396039009094,
"start": 19,
"tag": "NAME",
"value": "Anthony Shaw"
}
] | src/spark.coffee | viveksyngh/hubot-spark | 14 | ///
Copyright 2016 Anthony Shaw, Dimension Data
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 wri... | 77831 | ///
Copyright 2016 <NAME>, Dimension Data
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... | true | ///
Copyright 2016 PI:NAME:<NAME>END_PI, Dimension Data
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 t... |
[
{
"context": "{\n title: \"welcome to lemon\"\n}\n",
"end": 28,
"score": 0.8254252672195435,
"start": 23,
"tag": "NAME",
"value": "lemon"
}
] | data/index.cson | lemon/default.lemonjs.org | 0 | {
title: "welcome to lemon"
}
| 82269 | {
title: "welcome to <NAME>"
}
| true | {
title: "welcome to PI:NAME:<NAME>END_PI"
}
|
[
{
"context": " type: 'text'\n placeholder: 'Ivan Ivanov'\n value: @state.name\n ",
"end": 3879,
"score": 0.9997580647468567,
"start": 3868,
"tag": "NAME",
"value": "Ivan Ivanov"
},
{
"context": " type: 'text'\n placeho... | main/static/main/js/main.coffee | FeodorM/splitmoney | 0 | render = ReactDOM.render
{div, button, form, input, br} = React.DOM
# Нагугленная херня, которая заработала
getCookie = (name) ->
cookieValue = null
if document.cookie and document.cookie != ''
cookies = document.cookie.split(';')
i = 0
while i < cookies.length
cookie = jQuery.trim(cookies[i])... | 74585 | render = ReactDOM.render
{div, button, form, input, br} = React.DOM
# Нагугленная херня, которая заработала
getCookie = (name) ->
cookieValue = null
if document.cookie and document.cookie != ''
cookies = document.cookie.split(';')
i = 0
while i < cookies.length
cookie = jQuery.trim(cookies[i])... | true | render = ReactDOM.render
{div, button, form, input, br} = React.DOM
# Нагугленная херня, которая заработала
getCookie = (name) ->
cookieValue = null
if document.cookie and document.cookie != ''
cookies = document.cookie.split(';')
i = 0
while i < cookies.length
cookie = jQuery.trim(cookies[i])... |
[
{
"context": " email: faker.internet.email()\n password: '1234568878'\n\n Accounts.createUser doc, (err) ->\n ",
"end": 1148,
"score": 0.9993352890014648,
"start": 1138,
"tag": "PASSWORD",
"value": "1234568878"
},
{
"context": "c =\n email: sharedEmail\n ... | app_tests/client/user.app-tests.coffee | Phaze1D/SA-Units | 0 | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
{ Organizations } = require '../../imports/api/collection... | 215300 | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
{ Organizations } = require '../../imports/api/collection... | true | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
{ Organizations } = require '../../imports/api/collection... |
[
{
"context": "nt/main-client\n start everything\n\n copyright mark hahn 2013\n MIT license\n https://github.com/mark-",
"end": 79,
"score": 0.99976646900177,
"start": 70,
"tag": "NAME",
"value": "mark hahn"
},
{
"context": " hahn 2013\n MIT license\n https://github.... | src/client/main-client.coffee | mark-hahn/bace | 1 | ###
file: src/client/main-client
start everything
copyright mark hahn 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
main = (bace.main ?= {})
header = (bace.header ?= {})
multibox = (bace.multibox ?= {})
edit = (bace.edit ?= {})
{render, div,img... | 25855 | ###
file: src/client/main-client
start everything
copyright <NAME> 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
main = (bace.main ?= {})
header = (bace.header ?= {})
multibox = (bace.multibox ?= {})
edit = (bace.edit ?= {})
{render, div,img,ta... | true | ###
file: src/client/main-client
start everything
copyright PI:NAME:<NAME>END_PI 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
main = (bace.main ?= {})
header = (bace.header ?= {})
multibox = (bace.multibox ?= {})
edit = (bace.edit ?= {})
{rend... |
[
{
"context": " this.user.set_validated_attrs(['password', 'confirm_password'])\n this.set_validity(false)\n ",
"end": 891,
"score": 0.9088647365570068,
"start": 875,
"tag": "PASSWORD",
"value": "confirm_password"
}
] | pages/auth/change_password/auth_change_password.coffee | signonsridhar/sridhar_hbs | 0 | define(['bases/page',
'models/user/user',
'css!pages/auth/change_password/auth_change_password'
], (BasePage, User)->
BasePage.extend({
LANG:()->
LANG = {}
LANG.title = 'Reset your password'
LANG.subtitle = ''
LANG.errors = {}
LANG.errors.confirm_passw... | 50992 | define(['bases/page',
'models/user/user',
'css!pages/auth/change_password/auth_change_password'
], (BasePage, User)->
BasePage.extend({
LANG:()->
LANG = {}
LANG.title = 'Reset your password'
LANG.subtitle = ''
LANG.errors = {}
LANG.errors.confirm_passw... | true | define(['bases/page',
'models/user/user',
'css!pages/auth/change_password/auth_change_password'
], (BasePage, User)->
BasePage.extend({
LANG:()->
LANG = {}
LANG.title = 'Reset your password'
LANG.subtitle = ''
LANG.errors = {}
LANG.errors.confirm_passw... |
[
{
"context": "to play\n community: \"Społeczność\"\n editor: \"Edytor\"\n blog: \"Blog\"\n forum: \"Forum\"\n account:",
"end": 1334,
"score": 0.9885063767433167,
"start": 1328,
"tag": "NAME",
"value": "Edytor"
},
{
"context": "e an admin\n home: \"Główna\"\n con... | app/locale/pl.coffee | SaintRamzes/codecombat | 1 | module.exports = nativeDescription: "polski", englishDescription: "Polish", translation:
home:
slogan: "Naucz się programowania grając"
no_ie: "CodeCombat nie działa na Internet Explorer 8 i starszych. Przepraszamy!" # Warning that only shows up in IE8 and older
no_mobile: "CodeCombat nie został zaprojekt... | 130880 | module.exports = nativeDescription: "polski", englishDescription: "Polish", translation:
home:
slogan: "Naucz się programowania grając"
no_ie: "CodeCombat nie działa na Internet Explorer 8 i starszych. Przepraszamy!" # Warning that only shows up in IE8 and older
no_mobile: "CodeCombat nie został zaprojekt... | true | module.exports = nativeDescription: "polski", englishDescription: "Polish", translation:
home:
slogan: "Naucz się programowania grając"
no_ie: "CodeCombat nie działa na Internet Explorer 8 i starszych. Przepraszamy!" # Warning that only shows up in IE8 and older
no_mobile: "CodeCombat nie został zaprojekt... |
[
{
"context": "\n variables = ko.observableArray()\n\n randomKey = Math.random()\n\n register = (variable) ->\n variable.refere",
"end": 352,
"score": 0.9921773076057434,
"start": 341,
"tag": "KEY",
"value": "Math.random"
}
] | app/assets/javascripts/models/data/variable.js.coffee | evenstensberg/earthdata-search | 1 | ns = @edsc.models.data
ns.Variable = do (ko
DetailsModel = @edsc.models.DetailsModel
extend=jQuery.extend
ajax = @edsc.util.xhr.ajax
dateUtil = @edsc.util.date
config = @edsc.config
) ->
variables = ko.observableAr... | 167861 | ns = @edsc.models.data
ns.Variable = do (ko
DetailsModel = @edsc.models.DetailsModel
extend=jQuery.extend
ajax = @edsc.util.xhr.ajax
dateUtil = @edsc.util.date
config = @edsc.config
) ->
variables = ko.observableAr... | true | ns = @edsc.models.data
ns.Variable = do (ko
DetailsModel = @edsc.models.DetailsModel
extend=jQuery.extend
ajax = @edsc.util.xhr.ajax
dateUtil = @edsc.util.date
config = @edsc.config
) ->
variables = ko.observableAr... |
[
{
"context": "down 'emphasis/simple', \"That's **all** to say. _(Alex)_\", null, true, cb\n\n it \"should make examples ",
"end": 366,
"score": 0.8890059590339661,
"start": 362,
"tag": "NAME",
"value": "Alex"
}
] | test/mocha/element/emphasis.coffee | alinex/node-report | 1 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
test = require '../test'
async = require 'async'
Report = require '../../../src'
before (cb) -> Report.init cb
describe "emphasis", ->
describe "examples", ->
@timeout 30000
it "should make examples", (cb) ->
test.markdown 'em... | 172397 | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
test = require '../test'
async = require 'async'
Report = require '../../../src'
before (cb) -> Report.init cb
describe "emphasis", ->
describe "examples", ->
@timeout 30000
it "should make examples", (cb) ->
test.markdown 'em... | true | chai = require 'chai'
expect = chai.expect
### eslint-env node, mocha ###
test = require '../test'
async = require 'async'
Report = require '../../../src'
before (cb) -> Report.init cb
describe "emphasis", ->
describe "examples", ->
@timeout 30000
it "should make examples", (cb) ->
test.markdown 'em... |
[
{
"context": "ingify({\n file : metadata.file\n key : new Buffer(metadata.key).toString('base64')\n nonce : new",
"end": 528,
"score": 0.9190530776977539,
"start": 517,
"tag": "KEY",
"value": "new Buffer("
},
{
"context": "etadata.file\n key : new Buffer(meta... | src/scrambler.coffee | themadcreator/scrmblr | 0 | fs = require 'fs'
path = require 'path'
nacl = require('js-nacl').instantiate()
sodium = require 'libsodium-wrappers'
chunkThrough = require './chunk-through'
xorThrough = require './xor-through'
takeThrough = require './take-through'
class Scrambler
@DEFAULT_CHUNK_SIZE : 512
@... | 92659 | fs = require 'fs'
path = require 'path'
nacl = require('js-nacl').instantiate()
sodium = require 'libsodium-wrappers'
chunkThrough = require './chunk-through'
xorThrough = require './xor-through'
takeThrough = require './take-through'
class Scrambler
@DEFAULT_CHUNK_SIZE : 512
@... | true | fs = require 'fs'
path = require 'path'
nacl = require('js-nacl').instantiate()
sodium = require 'libsodium-wrappers'
chunkThrough = require './chunk-through'
xorThrough = require './xor-through'
takeThrough = require './take-through'
class Scrambler
@DEFAULT_CHUNK_SIZE : 512
@... |
[
{
"context": "is 'values: 0 1 2 3 4 5 6 7 8 9'\n\nobj: {\n name: 'Joe'\n hi: -> \"Hello $@name.\"\n cya: -> \"Hello $@name",
"end": 1746,
"score": 0.9964148998260498,
"start": 1743,
"tag": "NAME",
"value": "Joe"
},
{
"context": "replace('Hello','Goodbye')\n}\nok obj.hi() is \"Hell... | test/test_string_interpolation.coffee | rpl/coffee-script | 1 | hello: 'Hello'
world: 'World'
ok '$hello $world!' is '$hello $world!'
ok '${hello} ${world}!' is '${hello} ${world}!'
ok "$hello $world!" is 'Hello World!'
ok "${hello} ${world}!" is 'Hello World!'
ok "[$hello$world]" is '[HelloWorld]'
ok "[${hello}${world}]" is '[HelloWorld]'
ok "$hello$$world" is 'Hello$World'
ok "${... | 88069 | hello: 'Hello'
world: 'World'
ok '$hello $world!' is '$hello $world!'
ok '${hello} ${world}!' is '${hello} ${world}!'
ok "$hello $world!" is 'Hello World!'
ok "${hello} ${world}!" is 'Hello World!'
ok "[$hello$world]" is '[HelloWorld]'
ok "[${hello}${world}]" is '[HelloWorld]'
ok "$hello$$world" is 'Hello$World'
ok "${... | true | hello: 'Hello'
world: 'World'
ok '$hello $world!' is '$hello $world!'
ok '${hello} ${world}!' is '${hello} ${world}!'
ok "$hello $world!" is 'Hello World!'
ok "${hello} ${world}!" is 'Hello World!'
ok "[$hello$world]" is '[HelloWorld]'
ok "[${hello}${world}]" is '[HelloWorld]'
ok "$hello$$world" is 'Hello$World'
ok "${... |
[
{
"context": "ire 'lodash'\nBintray = require '../'\n\nusername = 'username'\napikey = 'apikey'\norganization = 'organization'\n",
"end": 92,
"score": 0.9993847012519836,
"start": 84,
"tag": "USERNAME",
"value": "username"
},
{
"context": " = require '../'\n\nusername = 'username'\na... | test/usersSpec.coffee | h2non/node-bintray | 4 | assert = require 'assert'
_ = require 'lodash'
Bintray = require '../'
username = 'username'
apikey = 'apikey'
organization = 'organization'
repository = 'repo'
apiBaseUrl = 'http://localhost:8882'
client = new Bintray { username: username, apikey: apikey, organization: organization, repository: repository, baseUrl:... | 48756 | assert = require 'assert'
_ = require 'lodash'
Bintray = require '../'
username = 'username'
apikey = '<KEY>'
organization = 'organization'
repository = 'repo'
apiBaseUrl = 'http://localhost:8882'
client = new Bintray { username: username, apikey: apikey, organization: organization, repository: repository, baseUrl: ... | true | assert = require 'assert'
_ = require 'lodash'
Bintray = require '../'
username = 'username'
apikey = 'PI:KEY:<KEY>END_PI'
organization = 'organization'
repository = 'repo'
apiBaseUrl = 'http://localhost:8882'
client = new Bintray { username: username, apikey: apikey, organization: organization, repository: reposito... |
[
{
"context": " Entities()\n\npool = mysql.createPool {\n host: '192.168.99.100'\n user: 'root'\n password: 'mysql'\n}\n\nwrite ",
"end": 483,
"score": 0.9996863007545471,
"start": 469,
"tag": "IP_ADDRESS",
"value": "192.168.99.100"
},
{
"context": " '192.168.99.100'\n use... | src/backend/router.coffee | miniEggRoll/SQLaaS | 0 | _ = require 'underscore'
co = require 'co'
fs = require 'fs'
path = require 'path'
router = require 'koa-trie-router'
uuid = require 'node-uuid'
mysql = require 'mysql'
Mustache = require 'mustache'
Entities = new require('html-entities').XmlEntities
index ... | 77032 | _ = require 'underscore'
co = require 'co'
fs = require 'fs'
path = require 'path'
router = require 'koa-trie-router'
uuid = require 'node-uuid'
mysql = require 'mysql'
Mustache = require 'mustache'
Entities = new require('html-entities').XmlEntities
index ... | true | _ = require 'underscore'
co = require 'co'
fs = require 'fs'
path = require 'path'
router = require 'koa-trie-router'
uuid = require 'node-uuid'
mysql = require 'mysql'
Mustache = require 'mustache'
Entities = new require('html-entities').XmlEntities
index ... |
[
{
"context": "t']\n res.superObj.should.be.deep.equal key1:'hi', key2:'world'\n res.superStr.should.be.equal",
"end": 6272,
"score": 0.8922060132026672,
"start": 6270,
"tag": "KEY",
"value": "hi"
},
{
"context": "es.superObj.should.be.deep.equal key1:'hi', key2:'world'\n ... | test/index-test.coffee | snowyu/resource-file.js | 0 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setPrototypeOf = require 'inherits-ex/lib/setPrototypeOf'
loadCfgFile = require 'load-config-fil... | 172827 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setPrototypeOf = require 'inherits-ex/lib/setPrototypeOf'
loadCfgFile = require 'load-config-fil... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setPrototypeOf = require 'inherits-ex/lib/setPrototypeOf'
loadCfgFile = require 'load-config-fil... |
[
{
"context": " (done) ->\n auth.login(server, {username: \"test@test.com\", password:\"password\"}, 200, \n (res)->",
"end": 601,
"score": 0.9999243021011353,
"start": 588,
"tag": "EMAIL",
"value": "test@test.com"
},
{
"context": "gin(server, {username: \"test@test.... | test/services_tests/test_dashboard_services.coffee | ureport-web/ureport-s | 3 | #load application models
server = require('../../app')
_ = require('underscore');
dashboard = require('../api_objects/dashboard_api_object')
auth = require('../api_objects/auth_api_object')
user = require('../api_objects/user_api_object')
mongoose = require('mongoose')
chai = require('chai')
chaiHttp = require('chai-h... | 127778 | #load application models
server = require('../../app')
_ = require('underscore');
dashboard = require('../api_objects/dashboard_api_object')
auth = require('../api_objects/auth_api_object')
user = require('../api_objects/user_api_object')
mongoose = require('mongoose')
chai = require('chai')
chaiHttp = require('chai-h... | true | #load application models
server = require('../../app')
_ = require('underscore');
dashboard = require('../api_objects/dashboard_api_object')
auth = require('../api_objects/auth_api_object')
user = require('../api_objects/user_api_object')
mongoose = require('mongoose')
chai = require('chai')
chaiHttp = require('chai-h... |
[
{
"context": " = (storyName, secretKey) ->\n {\n branch_key: 'key_live_haoXB4nBJ0AHZj0o1OFOGjafzFa8nQOG'\n channel: 'sms'\n feature: 'sharing'\n da",
"end": 447,
"score": 0.999681830406189,
"start": 406,
"tag": "KEY",
"value": "key_live_haoXB4nBJ0AHZj0o1OFOGjafzFa8nQOG"
}
] | src/utils/utils.coffee | arif2009/Gobi-Web-Integration | 0 | qrDataToDataUrl = (qrData) ->
new (promise_polyfill_1.default)((resolve, reject) ->
canvas = document.createElement('canvas')
qrcode_1.default.toCanvas canvas, qrData, (error) ->
if error
console.error error
reject error
dataUrl = canvas.toDataURL()
resolve dataUrl
retu... | 75287 | qrDataToDataUrl = (qrData) ->
new (promise_polyfill_1.default)((resolve, reject) ->
canvas = document.createElement('canvas')
qrcode_1.default.toCanvas canvas, qrData, (error) ->
if error
console.error error
reject error
dataUrl = canvas.toDataURL()
resolve dataUrl
retu... | true | qrDataToDataUrl = (qrData) ->
new (promise_polyfill_1.default)((resolve, reject) ->
canvas = document.createElement('canvas')
qrcode_1.default.toCanvas canvas, qrData, (error) ->
if error
console.error error
reject error
dataUrl = canvas.toDataURL()
resolve dataUrl
retu... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993535876274109,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-writeint.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... | 120445 | # 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": " env variable 'REQUEST='{headers: {x-api-token: \\\"234678k2jk3\\\"} }' to pass custom requestdata to the request obj",
"end": 355,
"score": 0.9548976421356201,
"start": 342,
"tag": "KEY",
"value": "234678k2jk3\\\""
}
] | app/server/webhook.coffee | coderofsalvation/express-api-user-management-signup | 1 | module.exports = (app,router,requestdata) ->
# initializing default request settings
if !requestdata
if !process.env.REQUEST
process.env.REQUEST = "{}"
console.log "using 'request' npm lib without any basic http authentication or auth-tokens"
console.log "HINT: set env variable 'REQUEST='{hea... | 160065 | module.exports = (app,router,requestdata) ->
# initializing default request settings
if !requestdata
if !process.env.REQUEST
process.env.REQUEST = "{}"
console.log "using 'request' npm lib without any basic http authentication or auth-tokens"
console.log "HINT: set env variable 'REQUEST='{hea... | true | module.exports = (app,router,requestdata) ->
# initializing default request settings
if !requestdata
if !process.env.REQUEST
process.env.REQUEST = "{}"
console.log "using 'request' npm lib without any basic http authentication or auth-tokens"
console.log "HINT: set env variable 'REQUEST='{hea... |
[
{
"context": " server client.io handler for bace\n\n copyright mark hahn 2013\n MIT license\n https://github.com/mark-",
"end": 96,
"score": 0.9997302293777466,
"start": 87,
"tag": "NAME",
"value": "mark hahn"
},
{
"context": " hahn 2013\n MIT license\n https://github... | src/server/socket-srvr.coffee | mark-hahn/bace | 1 | ###
file: src/server/client-srvr
server client.io handler for bace
copyright mark hahn 2013
MIT license
https://github.com/mark-hahn/bace/
###
fs = require 'fs'
_ = require 'underscore'
_.mixin require('underscore.string').exports()
require 'colors'
settings = require './settings-srvr'
user ... | 159333 | ###
file: src/server/client-srvr
server client.io handler for bace
copyright <NAME> 2013
MIT license
https://github.com/mark-hahn/bace/
###
fs = require 'fs'
_ = require 'underscore'
_.mixin require('underscore.string').exports()
require 'colors'
settings = require './settings-srvr'
user ... | true | ###
file: src/server/client-srvr
server client.io handler for bace
copyright PI:NAME:<NAME>END_PI 2013
MIT license
https://github.com/mark-hahn/bace/
###
fs = require 'fs'
_ = require 'underscore'
_.mixin require('underscore.string').exports()
require 'colors'
settings = require './settings-... |
[
{
"context": "r, rendered) ->\n expected = \"<p>Sent email to John Doe at john@doe.com.</p>\"\n expect(rendered).toEq",
"end": 1814,
"score": 0.9995788335800171,
"start": 1806,
"tag": "NAME",
"value": "John Doe"
},
{
"context": " ->\n expected = \"<p>Sent email to John... | spec/server/transformers/template-spec.coffee | groupon/gleemail | 89 | ###
Copyright (c) 2014, Groupon, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following dis... | 57264 | ###
Copyright (c) 2014, Groupon, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following dis... | true | ###
Copyright (c) 2014, Groupon, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
Redistributions of source code must retain the above copyright notice,
this list of conditions and the following dis... |
[
{
"context": "ould merge two objects', ->\n expected = {dog: 'Ben', cat: 'Anne'}\n result = util.merge {dog: 'Ben",
"end": 282,
"score": 0.9977778792381287,
"start": 279,
"tag": "NAME",
"value": "Ben"
},
{
"context": "wo objects', ->\n expected = {dog: 'Ben', cat: 'Anne'}\n ... | test/util-test.coffee | jimeh/hubot-fleep | 0 | chai = require 'chai'
util = require '../src/util'
expect = chai.expect
chai.should()
describe 'merge', ->
it 'should return an empty object if inputs are empty', ->
util.merge({}, {}, {}).should.be.empty()
it 'should merge two objects', ->
expected = {dog: 'Ben', cat: 'Anne'}
result = util.merg... | 75290 | chai = require 'chai'
util = require '../src/util'
expect = chai.expect
chai.should()
describe 'merge', ->
it 'should return an empty object if inputs are empty', ->
util.merge({}, {}, {}).should.be.empty()
it 'should merge two objects', ->
expected = {dog: '<NAME>', cat: '<NAME>'}
result = util... | true | chai = require 'chai'
util = require '../src/util'
expect = chai.expect
chai.should()
describe 'merge', ->
it 'should return an empty object if inputs are empty', ->
util.merge({}, {}, {}).should.be.empty()
it 'should merge two objects', ->
expected = {dog: 'PI:NAME:<NAME>END_PI', cat: 'PI:NAME:<NAM... |
[
{
"context": "otherUser = Meteor.users.findOne('profile.name': \"Sean Stanley Producer Role\")\n#\n# expect Meteor.users.find(",
"end": 363,
"score": 0.7635929584503174,
"start": 351,
"tag": "NAME",
"value": "Sean Stanley"
},
{
"context": "ers\"\n#\n# product =\n# {\n# ... | tests/jasmine/client-disabled/integration/Product.hooks.spec.coffee | redhead-web/meteor-foodcoop | 11 | #
# describe "product upload on behalf as an admin", ->
# beforeEach (done) ->
# Meteor.subscribe 'list-of-producers', ->
# console.log('subscribed to producers')
# done()
#
# it "should auto correct the producer name on insert", (done) ->
# console.log "starting tests"
# otherUser = Meteor.... | 54761 | #
# describe "product upload on behalf as an admin", ->
# beforeEach (done) ->
# Meteor.subscribe 'list-of-producers', ->
# console.log('subscribed to producers')
# done()
#
# it "should auto correct the producer name on insert", (done) ->
# console.log "starting tests"
# otherUser = Meteor.... | true | #
# describe "product upload on behalf as an admin", ->
# beforeEach (done) ->
# Meteor.subscribe 'list-of-producers', ->
# console.log('subscribed to producers')
# done()
#
# it "should auto correct the producer name on insert", (done) ->
# console.log "starting tests"
# otherUser = Meteor.... |
[
{
"context": "ot of scantwo results (2-dim, 2-QTL genome scan)\n# Karl W Broman\n\nHTMLWidgets.widget({\n\n name: \"iplotScantwo\",\n",
"end": 94,
"score": 0.9998483657836914,
"start": 81,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/htmlwidgets/iplotScantwo.coffee | cran/qtlcharts | 64 | # iplotScantwo: interactive plot of scantwo results (2-dim, 2-QTL genome scan)
# Karl W Broman
HTMLWidgets.widget({
name: "iplotScantwo",
type: "output",
initialize: (widgetdiv, width, height) ->
d3.select(widgetdiv).append("svg")
.attr("class", "qtlcharts")
.attr("width", wid... | 91373 | # iplotScantwo: interactive plot of scantwo results (2-dim, 2-QTL genome scan)
# <NAME>
HTMLWidgets.widget({
name: "iplotScantwo",
type: "output",
initialize: (widgetdiv, width, height) ->
d3.select(widgetdiv).append("svg")
.attr("class", "qtlcharts")
.attr("width", width)
... | true | # iplotScantwo: interactive plot of scantwo results (2-dim, 2-QTL genome scan)
# PI:NAME:<NAME>END_PI
HTMLWidgets.widget({
name: "iplotScantwo",
type: "output",
initialize: (widgetdiv, width, height) ->
d3.select(widgetdiv).append("svg")
.attr("class", "qtlcharts")
.attr("widt... |
[
{
"context": " provides storage service.\n * @function\n * @author İsmail Demirbilek\n###\nangular.module 'esef.frontend.storage', []",
"end": 188,
"score": 0.9998912811279297,
"start": 171,
"tag": "NAME",
"value": "İsmail Demirbilek"
}
] | src/storage/coffee/app.coffee | egemsoft/esef-frontend | 0 | 'use strict'
###*
* @ngdoc overview
* @name esef.frontend.storage
* @description
* Storage module for esef-frontend provides storage service.
* @function
* @author İsmail Demirbilek
###
angular.module 'esef.frontend.storage', [] | 61887 | 'use strict'
###*
* @ngdoc overview
* @name esef.frontend.storage
* @description
* Storage module for esef-frontend provides storage service.
* @function
* @author <NAME>
###
angular.module 'esef.frontend.storage', [] | true | 'use strict'
###*
* @ngdoc overview
* @name esef.frontend.storage
* @description
* Storage module for esef-frontend provides storage service.
* @function
* @author PI:NAME:<NAME>END_PI
###
angular.module 'esef.frontend.storage', [] |
[
{
"context": "}\n keyless.addLink { bucket: 'bucket', key: 'test2', tag: '_' }\n keyless.addLink { bucket: 'buc",
"end": 1766,
"score": 0.9664300680160522,
"start": 1761,
"tag": "KEY",
"value": "test2"
},
{
"context": "}\n keyless.addLink { bucket: 'bucket', key: 'test... | spec/test_meta.coffee | geeklist/riak-js-geeklist | 1 | vows = require 'vows'
assert = require 'assert'
Meta = require '../src/meta'
full = {}
vows.describe('Meta').addBatch(
'an empty meta':
topic: ->
new Meta 'bucket', 'empty'
'has its basic properties set': (empty) ->
assert.equal 'bucket', empty.bucket
assert.equal 'empty', ... | 193975 | vows = require 'vows'
assert = require 'assert'
Meta = require '../src/meta'
full = {}
vows.describe('Meta').addBatch(
'an empty meta':
topic: ->
new Meta 'bucket', 'empty'
'has its basic properties set': (empty) ->
assert.equal 'bucket', empty.bucket
assert.equal 'empty', ... | true | vows = require 'vows'
assert = require 'assert'
Meta = require '../src/meta'
full = {}
vows.describe('Meta').addBatch(
'an empty meta':
topic: ->
new Meta 'bucket', 'empty'
'has its basic properties set': (empty) ->
assert.equal 'bucket', empty.bucket
assert.equal 'empty', ... |
[
{
"context": "views\n\t\t\tpagename: 'awesome people'\n\t\t\tauthors: ['Paul', 'Jim', 'Jane']\n\t\tres.template \"views/templates/",
"end": 328,
"score": 0.9998048543930054,
"start": 324,
"tag": "NAME",
"value": "Paul"
},
{
"context": "\tpagename: 'awesome people'\n\t\t\tauthors: ['P... | project/controllers/controllers.coffee | stanislavfeldman/wheels | 1 | class MyController
get: (req, res) ->
#translator = new kiss.views.Translator()
#console.log translator.translate req, "hello"
#console.log translator.translate req, 'hello, {0}', "Стас"
req.session.views ?= 0
req.session.views++
context =
foo: req.session.views
pagename: 'awesome people'
authors... | 172380 | class MyController
get: (req, res) ->
#translator = new kiss.views.Translator()
#console.log translator.translate req, "hello"
#console.log translator.translate req, 'hello, {0}', "Стас"
req.session.views ?= 0
req.session.views++
context =
foo: req.session.views
pagename: 'awesome people'
authors... | true | class MyController
get: (req, res) ->
#translator = new kiss.views.Translator()
#console.log translator.translate req, "hello"
#console.log translator.translate req, 'hello, {0}', "Стас"
req.session.views ?= 0
req.session.views++
context =
foo: req.session.views
pagename: 'awesome people'
authors... |
[
{
"context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ",
"end": 2720,
"score": 0.9990534782409668,
"start": 2713,
"tag": "NAME",
"value": "Patient"
},
{
"context": " }\n }, {\n ... | Src/coffeescript/cql-execution/test/elm/library/data.coffee | MeasureAuthoringTool/clinical_quality_language | 2 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### In Age Demographic
library TestSnippet version '1'
using QUICK
parameter MeasurementPeriod default Interval[D... | 216996 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### In Age Demographic
library TestSnippet version '1'
using QUICK
parameter MeasurementPeriod default Interval[D... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### In Age Demographic
library TestSnippet version '1'
using QUICK
parameter MeasurementPeriod default Interval[D... |
[
{
"context": "isdom I guild buff increases Wisdom.\n *\n * @name Wisdom I\n * @requirement {gold} 4000\n * @requirement {gu",
"end": 115,
"score": 0.760959267616272,
"start": 107,
"tag": "NAME",
"value": "Wisdom I"
},
{
"context": "sdom II guild buff increases Wisdom.\n *\n * @... | src/character/guildBuffs/GuildWisdom.coffee | sadbear-/IdleLands | 0 |
GuildBuff = require "../base/GuildBuff"
`/**
* The Wisdom I guild buff increases Wisdom.
*
* @name Wisdom I
* @requirement {gold} 4000
* @requirement {guild level} 20
* @requirement {guild members} 1
* @effect +5% WIS
* @duration 1 day
* @category Wisdom
* @package GuildBuffs
*/`
`/**
* The Wisd... | 133719 |
GuildBuff = require "../base/GuildBuff"
`/**
* The Wisdom I guild buff increases Wisdom.
*
* @name <NAME>
* @requirement {gold} 4000
* @requirement {guild level} 20
* @requirement {guild members} 1
* @effect +5% WIS
* @duration 1 day
* @category Wisdom
* @package GuildBuffs
*/`
`/**
* The Wisdom... | true |
GuildBuff = require "../base/GuildBuff"
`/**
* The Wisdom I guild buff increases Wisdom.
*
* @name PI:NAME:<NAME>END_PI
* @requirement {gold} 4000
* @requirement {guild level} 20
* @requirement {guild members} 1
* @effect +5% WIS
* @duration 1 day
* @category Wisdom
* @package GuildBuffs
*/`
`/**
... |
[
{
"context": " else if program.sha\n password = '{SHA}' + module.exports.sha1 password\n else\n ",
"end": 1150,
"score": 0.6488337516784668,
"start": 1147,
"tag": "PASSWORD",
"value": "SHA"
},
{
"context": "ts.sha1 password\n else\n password = ... | src/node_modules/http-auth/node_modules/htpasswd/src/utils.coffee | sisense-dev/kibana | 4 | # Importing crypto module.
crypto = require 'crypto'
# Importing apache-md5 module.
md5 = require 'apache-md5'
# Importing apache-crypt module.
crypt = require 'apache-crypt'
# Module for utility functionalities.
module.exports =
# Crypt method.
crypt3: (password, hash) ->
crypt password, hash
# Generat... | 219569 | # Importing crypto module.
crypto = require 'crypto'
# Importing apache-md5 module.
md5 = require 'apache-md5'
# Importing apache-crypt module.
crypt = require 'apache-crypt'
# Module for utility functionalities.
module.exports =
# Crypt method.
crypt3: (password, hash) ->
crypt password, hash
# Generat... | true | # Importing crypto module.
crypto = require 'crypto'
# Importing apache-md5 module.
md5 = require 'apache-md5'
# Importing apache-crypt module.
crypt = require 'apache-crypt'
# Module for utility functionalities.
module.exports =
# Crypt method.
crypt3: (password, hash) ->
crypt password, hash
# Generat... |
[
{
"context": "nds Marionette.Module\n onStart: ->\n apiKey = 'JQfSXfyNsMd9hupTfhZRyQ'\n src = \"http://widget.uservoice.com/#{apiKey}",
"end": 179,
"score": 0.9997158050537109,
"start": 157,
"tag": "KEY",
"value": "JQfSXfyNsMd9hupTfhZRyQ"
}
] | app/modules/feedback/module.coffee | sabakaio/topdeck.pro | 0 | $ = require 'jquery'
Marionette = require 'backbone.marionette'
module.exports = class FeedbackModule extends Marionette.Module
onStart: ->
apiKey = 'JQfSXfyNsMd9hupTfhZRyQ'
src = "http://widget.uservoice.com/#{apiKey}.js"
$.getScript src, ->
UserVoice.push ['set',
accent_color: '#448dd6'
... | 192353 | $ = require 'jquery'
Marionette = require 'backbone.marionette'
module.exports = class FeedbackModule extends Marionette.Module
onStart: ->
apiKey = '<KEY>'
src = "http://widget.uservoice.com/#{apiKey}.js"
$.getScript src, ->
UserVoice.push ['set',
accent_color: '#448dd6'
trigger_co... | true | $ = require 'jquery'
Marionette = require 'backbone.marionette'
module.exports = class FeedbackModule extends Marionette.Module
onStart: ->
apiKey = 'PI:KEY:<KEY>END_PI'
src = "http://widget.uservoice.com/#{apiKey}.js"
$.getScript src, ->
UserVoice.push ['set',
accent_color: '#448dd6'
... |
[
{
"context": "# it 'Should create a new user', (done)=>\n # (@testUser = new API.User).save {username:'test.user',passwo",
"end": 497,
"score": 0.8982911109924316,
"start": 489,
"tag": "USERNAME",
"value": "testUser"
},
{
"context": "\n # (@testUser = new API.User).save {userna... | test/server/node_modules/api-hero/node_modules/rikki-tikki-client/test/user.coffee | vancarney/apihero-module-socket.io | 0 | # fs = require 'fs'
# (chai = require 'chai').should()
# _ = (require 'underscore')._
# Backbone = require 'backbone'
# Backbone.$ = require 'jQuery'
# {RikkiTikki} = require '../index'
# jsonData = require './data.json'
# server = true
# API ... | 49445 | # fs = require 'fs'
# (chai = require 'chai').should()
# _ = (require 'underscore')._
# Backbone = require 'backbone'
# Backbone.$ = require 'jQuery'
# {RikkiTikki} = require '../index'
# jsonData = require './data.json'
# server = true
# API ... | true | # fs = require 'fs'
# (chai = require 'chai').should()
# _ = (require 'underscore')._
# Backbone = require 'backbone'
# Backbone.$ = require 'jQuery'
# {RikkiTikki} = require '../index'
# jsonData = require './data.json'
# server = true
# API ... |
[
{
"context": "\t\tcontinue if key is 'get'\n\t\t\tcontinue if key is 'stringArray' # TODO\n\t\t\treturn key if @[key] v\n\t\tconsole.",
"end": 139,
"score": 0.6044160723686218,
"start": 133,
"tag": "KEY",
"value": "string"
}
] | src/helpers/isType.coffee | rapid-build/rapid-build | 5 | module.exports =
# type
# ====
get: (v) -> # :string | void
for own key of @
continue if key is 'get'
continue if key is 'stringArray' # TODO
return key if @[key] v
console.log new Error("type not in lib: #{v}").message.warn
undefined
# types (all return :boolean)
# =====
array: (v) ->
Array.isA... | 196681 | module.exports =
# type
# ====
get: (v) -> # :string | void
for own key of @
continue if key is 'get'
continue if key is '<KEY>Array' # TODO
return key if @[key] v
console.log new Error("type not in lib: #{v}").message.warn
undefined
# types (all return :boolean)
# =====
array: (v) ->
Array.isAr... | true | module.exports =
# type
# ====
get: (v) -> # :string | void
for own key of @
continue if key is 'get'
continue if key is 'PI:KEY:<KEY>END_PIArray' # TODO
return key if @[key] v
console.log new Error("type not in lib: #{v}").message.warn
undefined
# types (all return :boolean)
# =====
array: (v) ->... |
[
{
"context": "port:\"1234\"\n\t\t\t\t\thost:\"somewhere\"\n\t\t\t\t\tpassword: \"password\"\n\t\t@rclient =\n\t\t\tincr: sinon.stub()\n\t\t\tget: sinon",
"end": 375,
"score": 0.9994921088218689,
"start": 367,
"tag": "PASSWORD",
"value": "password"
}
] | test/UnitTests/coffee/infrastructure/RateLimterTests.coffee | HasanSanli/web-sharelatex | 0 | assert = require("chai").assert
sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/infrastructure/RateLimiter.js"
SandboxedModule = require('sandboxed-module')
describe "RateLimiter", ->
beforeEach ->
@settings =
redis:
web:
por... | 194647 | assert = require("chai").assert
sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/infrastructure/RateLimiter.js"
SandboxedModule = require('sandboxed-module')
describe "RateLimiter", ->
beforeEach ->
@settings =
redis:
web:
por... | true | assert = require("chai").assert
sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/infrastructure/RateLimiter.js"
SandboxedModule = require('sandboxed-module')
describe "RateLimiter", ->
beforeEach ->
@settings =
redis:
web:
por... |
[
{
"context": " rounds: @draftEdit.draft_rounds\n password: @draftEdit.draft_password\n using_depth_charts: @draftEdit.using_depth_",
"end": 4497,
"score": 0.9987133145332336,
"start": 4472,
"tag": "PASSWORD",
"value": "@draftEdit.draft_password"
}
] | app/coffee/controllers/commish/draft_edit.coffee | justinpyvis/phpdraft | 0 | class DraftEditController extends BaseController
@register 'DraftEditController'
@inject '$scope',
'$loading',
'subscriptionKeys',
'workingModalService',
'api',
'messageService',
'depthChartPositionService'
initialize: ->
@draftEdit =
using_depth_charts: false
depthChartPositions: []... | 106301 | class DraftEditController extends BaseController
@register 'DraftEditController'
@inject '$scope',
'$loading',
'subscriptionKeys',
'workingModalService',
'api',
'messageService',
'depthChartPositionService'
initialize: ->
@draftEdit =
using_depth_charts: false
depthChartPositions: []... | true | class DraftEditController extends BaseController
@register 'DraftEditController'
@inject '$scope',
'$loading',
'subscriptionKeys',
'workingModalService',
'api',
'messageService',
'depthChartPositionService'
initialize: ->
@draftEdit =
using_depth_charts: false
depthChartPositions: []... |
[
{
"context": "alt\": \"'#{salt}'\"\n\n \"gitcrypt.pass\": \"'#{pass}'\"\n\n \"gitcrypt.cipher\": \"'#{cipher}'\"\n\n ",
"end": 6477,
"score": 0.7101157903671265,
"start": 6477,
"tag": "PASSWORD",
"value": ""
}
] | lib/main.coffee | joaoafrmartins/spaghetty-gitcrypt | 0 | async = require 'async'
{ EOL } = require 'os'
{ resolve } = require 'path'
stash = require 'png-stash'
ACliCommand = require 'a-cli-command'
class Gitcrypt extends ACliCommand
command:
name: "gitcrypt"
options:
salt:
type: "string"
description: [
"the salt used for ... | 116331 | async = require 'async'
{ EOL } = require 'os'
{ resolve } = require 'path'
stash = require 'png-stash'
ACliCommand = require 'a-cli-command'
class Gitcrypt extends ACliCommand
command:
name: "gitcrypt"
options:
salt:
type: "string"
description: [
"the salt used for ... | true | async = require 'async'
{ EOL } = require 'os'
{ resolve } = require 'path'
stash = require 'png-stash'
ACliCommand = require 'a-cli-command'
class Gitcrypt extends ACliCommand
command:
name: "gitcrypt"
options:
salt:
type: "string"
description: [
"the salt used for ... |
[
{
"context": "scopeName: 'source.coccinelle'\nname: 'Coccinelle'\ntype: 'tree-sitter'\nparser: 'tree-sitter-coccine",
"end": 48,
"score": 0.9997287392616272,
"start": 38,
"tag": "NAME",
"value": "Coccinelle"
}
] | grammars/coccinelle.cson | eugmes/language-coccinelle | 0 | scopeName: 'source.coccinelle'
name: 'Coccinelle'
type: 'tree-sitter'
parser: 'tree-sitter-coccinelle'
fileTypes: [
'cocci'
]
comments:
start: '// '
folds: [
{
type: 'comment'
}
{
type: 'changeset'
}
{
type: 'prolog'
}
]
scopes:
'comment': 'comment.block'
"""
include > "#include"... | 118964 | scopeName: 'source.coccinelle'
name: '<NAME>'
type: 'tree-sitter'
parser: 'tree-sitter-coccinelle'
fileTypes: [
'cocci'
]
comments:
start: '// '
folds: [
{
type: 'comment'
}
{
type: 'changeset'
}
{
type: 'prolog'
}
]
scopes:
'comment': 'comment.block'
"""
include > "#include",
... | true | scopeName: 'source.coccinelle'
name: 'PI:NAME:<NAME>END_PI'
type: 'tree-sitter'
parser: 'tree-sitter-coccinelle'
fileTypes: [
'cocci'
]
comments:
start: '// '
folds: [
{
type: 'comment'
}
{
type: 'changeset'
}
{
type: 'prolog'
}
]
scopes:
'comment': 'comment.block'
"""
include > ... |
[
{
"context": "lized into JSON\", ->\n asset = new Asset(name: \"Johnson me!\")\n JSON.stringify(asset.attributes()).should.",
"end": 2226,
"score": 0.8626589179039001,
"start": 2216,
"tag": "NAME",
"value": "Johnson me"
},
{
"context": "ify(asset.attributes()).should.equal \"{\... | spec/model_spec.coffee | ryggrad/Ryggrad | 0 | describe "Model", ->
Asset = undefined
beforeEach ->
class Asset extends Ryggrad.Model
@configure("Asset", "name")
it "can create records", ->
asset = Asset.create name: "test.pdf"
# Compare this way because JS is annoying
Asset.all()[0].id.should.equal asset.id
Asset.all()[0].uid.sho... | 77802 | describe "Model", ->
Asset = undefined
beforeEach ->
class Asset extends Ryggrad.Model
@configure("Asset", "name")
it "can create records", ->
asset = Asset.create name: "test.pdf"
# Compare this way because JS is annoying
Asset.all()[0].id.should.equal asset.id
Asset.all()[0].uid.sho... | true | describe "Model", ->
Asset = undefined
beforeEach ->
class Asset extends Ryggrad.Model
@configure("Asset", "name")
it "can create records", ->
asset = Asset.create name: "test.pdf"
# Compare this way because JS is annoying
Asset.all()[0].id.should.equal asset.id
Asset.all()[0].uid.sho... |
[
{
"context": "f5bb9215039d87329e\"\n },\n \"first_name\": \"First Name\",\n \"last_name\": \"Last Name\",\n \"admin\": ",
"end": 194,
"score": 0.999608039855957,
"start": 184,
"tag": "NAME",
"value": "First Name"
},
{
"context": " \"first_name\": \"First Name\",\... | spec/javascripts/models/user_spec.js.coffee | projectcypress/bonnie | 0 | describe 'User', ->
beforeAll ->
jasmine.getJSONFixtures().clearCache()
userJson = {
"_id": {
"$oid": "5c8037f5bb9215039d87329e"
},
"first_name": "First Name",
"last_name": "Last Name",
"admin": false,
"approved": false,
"email": "good@email.com"
}
@u... | 77555 | describe 'User', ->
beforeAll ->
jasmine.getJSONFixtures().clearCache()
userJson = {
"_id": {
"$oid": "5c8037f5bb9215039d87329e"
},
"first_name": "<NAME>",
"last_name": "<NAME>",
"admin": false,
"approved": false,
"email": "<EMAIL>"
}
@user = new Thor... | true | describe 'User', ->
beforeAll ->
jasmine.getJSONFixtures().clearCache()
userJson = {
"_id": {
"$oid": "5c8037f5bb9215039d87329e"
},
"first_name": "PI:NAME:<NAME>END_PI",
"last_name": "PI:NAME:<NAME>END_PI",
"admin": false,
"approved": false,
"email": "PI:EMAI... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991421103477478,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-client-readable.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... | 171175 | # 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": "wfds.apps.googleusercontent.com\n clientSecret: 1wnchd7Xjs-d7ucnJHSXJK\n\n Leave empty to keep previous values\n\n\"\"\"\n s",
"end": 2958,
"score": 0.9989084005355835,
"start": 2936,
"tag": "KEY",
"value": "1wnchd7Xjs-d7ucnJHSXJK"
},
{
"context": " csup v0.0.2 (... | src/csuplib.coffee | pstaender/csup | 2 | YAML = require('yamljs')
_ = require('underscore')
fs = require('fs')
googleapis = require("googleapis")
argv = require('optimist').argv
GoogleTokenProvider = require("refresh-token").GoogleTokenProvider
_rl = null
absPath = (p) ->
home = process.env['HOME'] or process.env['USERPR... | 54634 | YAML = require('yamljs')
_ = require('underscore')
fs = require('fs')
googleapis = require("googleapis")
argv = require('optimist').argv
GoogleTokenProvider = require("refresh-token").GoogleTokenProvider
_rl = null
absPath = (p) ->
home = process.env['HOME'] or process.env['USERPR... | true | YAML = require('yamljs')
_ = require('underscore')
fs = require('fs')
googleapis = require("googleapis")
argv = require('optimist').argv
GoogleTokenProvider = require("refresh-token").GoogleTokenProvider
_rl = null
absPath = (p) ->
home = process.env['HOME'] or process.env['USERPR... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992077946662903,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "ire(\"crypto\")\ncommon = require(\"../common\")\nkeys = crypto.randomBytes(48)\nserverLog = [... | test/simple/test-tls-ticket.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... | 129338 | # 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": "ase\n\t\t\tuser: config.database.username\n\t\t\tpassword: config.database.password\n\t\tpool:\n\t\t\tmin: 2\n\t\t\tmax: 10\n\t\tmigrations:\n\t\t\ttab",
"end": 290,
"score": 0.930867075920105,
"start": 266,
"tag": "PASSWORD",
"value": "config.database.password"
}
] | knexfile.coffee | joepie91/pdfy2 | 11 | # Update with your config settings.
config = require "./config.json"
module.exports =
# TODO: Do we need an environment name here?
development:
client: "mysql2"
connection:
database: config.database.database
user: config.database.username
password: config.database.password
pool:
min: 2
max: 10
... | 185168 | # Update with your config settings.
config = require "./config.json"
module.exports =
# TODO: Do we need an environment name here?
development:
client: "mysql2"
connection:
database: config.database.database
user: config.database.username
password: <PASSWORD>
pool:
min: 2
max: 10
migrations:
... | true | # Update with your config settings.
config = require "./config.json"
module.exports =
# TODO: Do we need an environment name here?
development:
client: "mysql2"
connection:
database: config.database.database
user: config.database.username
password: PI:PASSWORD:<PASSWORD>END_PI
pool:
min: 2
max:... |
[
{
"context": " href=\"https://peoplefinder.service.gov.uk/people/john-smith\">John Smith</a>' +\n '</body>')\n $(doc",
"end": 330,
"score": 0.996716320514679,
"start": 320,
"tag": "USERNAME",
"value": "john-smith"
},
{
"context": "://peoplefinder.service.gov.uk/people/joh... | spec/javascripts/analytics/virtual_pageview_spec.coffee | cybersquirrel/peoplefinder | 16 | //= require modules/virtual_pageview
describe 'VirtualPageview', ->
element = null
describe 'given "data-virtual-pageview" anchor link', ->
setUpPage = (page_url) ->
element = $('<body>' +
'<a id="a_link" data-virtual-pageview="' + page_url + '" href="https://peoplefinder.service.gov.uk/people/... | 84274 | //= require modules/virtual_pageview
describe 'VirtualPageview', ->
element = null
describe 'given "data-virtual-pageview" anchor link', ->
setUpPage = (page_url) ->
element = $('<body>' +
'<a id="a_link" data-virtual-pageview="' + page_url + '" href="https://peoplefinder.service.gov.uk/people/... | true | //= require modules/virtual_pageview
describe 'VirtualPageview', ->
element = null
describe 'given "data-virtual-pageview" anchor link', ->
setUpPage = (page_url) ->
element = $('<body>' +
'<a id="a_link" data-virtual-pageview="' + page_url + '" href="https://peoplefinder.service.gov.uk/people/... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9901421070098877,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": "pload\n\t__registerEvents: (type)... | src/base/XHR/XHR.coffee | programmfabrik/coffeescript-ui | 10 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class CUI.XHR extends CUI.Element
getGroup: ->
"Core"
initOpts: ->
super()
@addOpts
meth... | 9156 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class CUI.XHR extends CUI.Element
getGroup: ->
"Core"
initOpts: ->
super()
@addOpts
meth... | true | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class CUI.XHR extends CUI.Element
getGroup: ->
"Core"
initOpts: ->
super()
@addOpts
meth... |
[
{
"context": "tmq-node-js-mqtt-and-amqp/\n\nurl = 'amqp://meshblu:some-random-development-password@octoblu.dev:5672/mqtt'\n\nconnection = amqp.createConnection({ ",
"end": 340,
"score": 0.8884672522544861,
"start": 296,
"tag": "EMAIL",
"value": "some-random-development-password@octoblu.dev"
... | test.coffee | octoblu/meshblu-core-worker-mqtt | 0 | amqp = require 'amqp'
debug = require('debug')('meshblu-core-worker-amqp:worker')
RedisPooledJobManager = require 'meshblu-core-redis-pooled-job-manager'
#http://blog.airasoul.io/the-internet-of-things-with-rabbitmq-node-js-mqtt-and-amqp/
url = 'amqp://meshblu:some-random-development-... | 51120 | amqp = require 'amqp'
debug = require('debug')('meshblu-core-worker-amqp:worker')
RedisPooledJobManager = require 'meshblu-core-redis-pooled-job-manager'
#http://blog.airasoul.io/the-internet-of-things-with-rabbitmq-node-js-mqtt-and-amqp/
url = 'amqp://meshblu:<EMAIL>:5672/mqtt'
conn... | true | amqp = require 'amqp'
debug = require('debug')('meshblu-core-worker-amqp:worker')
RedisPooledJobManager = require 'meshblu-core-redis-pooled-job-manager'
#http://blog.airasoul.io/the-internet-of-things-with-rabbitmq-node-js-mqtt-and-amqp/
url = 'amqp://meshblu:PI:EMAIL:<EMAIL>END_PI:5... |
[
{
"context": "d see what answers'\n version: '0.2'\n authors: ['Tunnecino @ ignitae.com']",
"end": 1238,
"score": 0.9795308709144592,
"start": 1229,
"tag": "USERNAME",
"value": "Tunnecino"
},
{
"context": "answers'\n version: '0.2'\n authors: ['Tunnecino @ ignitae.com']",
"en... | plugins/eightball.coffee | Arrogance/nerdobot | 1 |
answers = [
"It is certain",
"It is decidedly so",
"Without a doubt",
"Yes – definitely",
"You may rely on it",
"As I see it, yes",
"Most likely",
"Outlook good",
"Yes",
"Signs point to yes",
"Reply hazy, try again",
"Ask again later",
"Better not tell you now",
"Cannot predict now",
"Con... | 161719 |
answers = [
"It is certain",
"It is decidedly so",
"Without a doubt",
"Yes – definitely",
"You may rely on it",
"As I see it, yes",
"Most likely",
"Outlook good",
"Yes",
"Signs point to yes",
"Reply hazy, try again",
"Ask again later",
"Better not tell you now",
"Cannot predict now",
"Con... | true |
answers = [
"It is certain",
"It is decidedly so",
"Without a doubt",
"Yes – definitely",
"You may rely on it",
"As I see it, yes",
"Most likely",
"Outlook good",
"Yes",
"Signs point to yes",
"Reply hazy, try again",
"Ask again later",
"Better not tell you now",
"Cannot predict now",
"Con... |
[
{
"context": "dev =\n name: \"localhost\",\n imdoneKeyA: 'NjbOJJ42rA4zdkEE8gs-D_USeA-_iUa9tpZLOFwKcGEh9PymSSP9zw=='\n imdoneKeyB: 'ZHpAmF5D8S_7lVuDNP--hgJGncY='\n pu",
"end": 99,
"score": 0.9997687935829163,
"start": 42,
"tag": "KEY",
"value": "NjbOJJ42rA4zdkEE8gs-D_USeA-_iUa9tpZLOFwKcGE... | config/index.coffee | robbynshaw/imdone-atom | 0 | dev =
name: "localhost",
imdoneKeyA: 'NjbOJJ42rA4zdkEE8gs-D_USeA-_iUa9tpZLOFwKcGEh9PymSSP9zw=='
imdoneKeyB: 'ZHpAmF5D8S_7lVuDNP--hgJGncY='
pusherKey: '64354707585286cfe58f'
pusherChannelPrefix: 'private-imdoneio-dev'
baseUrl: 'http://localhost:3000'
beta =
name: 'beta.imdone.io'
imdoneKeyA: 'WFuE-QDFb... | 1457 | dev =
name: "localhost",
imdoneKeyA: '<KEY>
imdoneKeyB: '<KEY>
pusherKey: '<KEY>'
pusherChannelPrefix: 'private-imdoneio-dev'
baseUrl: 'http://localhost:3000'
beta =
name: 'beta.imdone.io'
imdoneKeyA: '<KEY>
imdoneKeyB: '<KEY>
pusherKey: '<KEY>'
pusherChannelPrefix: 'private-imdoneio-beta'
ba... | true | dev =
name: "localhost",
imdoneKeyA: 'PI:KEY:<KEY>END_PI
imdoneKeyB: 'PI:KEY:<KEY>END_PI
pusherKey: 'PI:KEY:<KEY>END_PI'
pusherChannelPrefix: 'private-imdoneio-dev'
baseUrl: 'http://localhost:3000'
beta =
name: 'beta.imdone.io'
imdoneKeyA: 'PI:KEY:<KEY>END_PI
imdoneKeyB: 'PI:KEY:<KEY>END_PI
pusher... |
[
{
"context": " requestkey: requestKey\n username: user\n password: user\n else\n ",
"end": 4008,
"score": 0.9941661357879639,
"start": 4004,
"tag": "USERNAME",
"value": "user"
},
{
"context": "y\n username: user\n passwo... | tests/api/utils.coffee | christophetd/courseadvisor | 19 | ###
api/utils.coffee
Utilities framework for API testing. This file must be required by all test files.
###
# Dependencies
frisby = require 'frisby'
request = require 'request'
Q = require 'q'
shared = require '../utils-shared.coffee'
# Sets up global parameters
Q.longStackSupport = true
frisby.globalSetup
... | 1351 | ###
api/utils.coffee
Utilities framework for API testing. This file must be required by all test files.
###
# Dependencies
frisby = require 'frisby'
request = require 'request'
Q = require 'q'
shared = require '../utils-shared.coffee'
# Sets up global parameters
Q.longStackSupport = true
frisby.globalSetup
... | true | ###
api/utils.coffee
Utilities framework for API testing. This file must be required by all test files.
###
# Dependencies
frisby = require 'frisby'
request = require 'request'
Q = require 'q'
shared = require '../utils-shared.coffee'
# Sets up global parameters
Q.longStackSupport = true
frisby.globalSetup
... |
[
{
"context": "pi\n# A NodeJS interface for the Public Bitly API\n# Nathaniel Kirby <nate@projectspong.com\n# https://github.com/nkirb",
"end": 132,
"score": 0.9998870491981506,
"start": 117,
"tag": "NAME",
"value": "Nathaniel Kirby"
},
{
"context": "rface for the Public Bitly API\n# ... | src/Bitly.coffee | nkirby/node-bitlyapi | 30 | ####################################################
# node-bitlyapi
# A NodeJS interface for the Public Bitly API
# Nathaniel Kirby <nate@projectspong.com
# https://github.com/nkirby/node-bitlyapi
####################################################
btoa = require 'btoa'
request = require 'request'
querystring = requ... | 70538 | ####################################################
# node-bitlyapi
# A NodeJS interface for the Public Bitly API
# <NAME> <<EMAIL>
# https://github.com/nkirby/node-bitlyapi
####################################################
btoa = require 'btoa'
request = require 'request'
querystring = require 'querystring'
clas... | true | ####################################################
# node-bitlyapi
# A NodeJS interface for the Public Bitly API
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI
# https://github.com/nkirby/node-bitlyapi
####################################################
btoa = require 'btoa'
request = require 'request'
querystring ... |
[
{
"context": "eanu-shirt' + (randomToken 2)\n name: 'Sad Keanu T-shirt'\n price: 2500\n currency: 'US",
"end": 188,
"score": 0.7585844397544861,
"start": 171,
"tag": "NAME",
"value": "Sad Keanu T-shirt"
},
{
"context": "keanu-shirt-' + (randomToken 2)... | test/server/variant.coffee | hanzo-io/hanzo.js | 147 | describe 'Api.variant', ->
variant = null
before ->
product = yield api.product.create
slug: 'sad-keanu-shirt' + (randomToken 2)
name: 'Sad Keanu T-shirt'
price: 2500
currency: 'USD'
headline: 'Oh Keanu'
description: 'Sad Keanu is sad.'
opti... | 61372 | describe 'Api.variant', ->
variant = null
before ->
product = yield api.product.create
slug: 'sad-keanu-shirt' + (randomToken 2)
name: '<NAME>'
price: 2500
currency: 'USD'
headline: 'Oh Keanu'
description: 'Sad Keanu is sad.'
options: [
... | true | describe 'Api.variant', ->
variant = null
before ->
product = yield api.product.create
slug: 'sad-keanu-shirt' + (randomToken 2)
name: 'PI:NAME:<NAME>END_PI'
price: 2500
currency: 'USD'
headline: 'Oh Keanu'
description: 'Sad Keanu is sad.'
o... |
[
{
"context": ":\n admin:\n uid: 'toto'\n gid: 'toto'\n ta",
"end": 3906,
"score": 0.5749356746673584,
"start": 3903,
"tag": "USERNAME",
"value": "oto"
},
{
"context": "to'\n task:\n uid: '... | packages/core/test/misc/misc.coffee | chibanemourad/node-nikita | 1 |
misc = require '../../src/misc'
{tags} = require '../test'
return unless tags.api
describe 'misc', ->
describe 'object', ->
describe 'equals', ->
it 'two objects', ->
misc.object.equals({a: '1', b: '2'}, {a: '1', b: '2'}).should.be.true()
misc.object.equals({a: '1', b: '1'}, {a: '2', b... | 91271 |
misc = require '../../src/misc'
{tags} = require '../test'
return unless tags.api
describe 'misc', ->
describe 'object', ->
describe 'equals', ->
it 'two objects', ->
misc.object.equals({a: '1', b: '2'}, {a: '1', b: '2'}).should.be.true()
misc.object.equals({a: '1', b: '1'}, {a: '2', b... | true |
misc = require '../../src/misc'
{tags} = require '../test'
return unless tags.api
describe 'misc', ->
describe 'object', ->
describe 'equals', ->
it 'two objects', ->
misc.object.equals({a: '1', b: '2'}, {a: '1', b: '2'}).should.be.true()
misc.object.equals({a: '1', b: '1'}, {a: '2', b... |
[
{
"context": "\n @swig.renderFile(lpath, { locals: { author: \"Jeff Escalante\" } })\n .catch(should.not.exist)\n .done(",
"end": 3971,
"score": 0.9998670816421509,
"start": 3957,
"tag": "NAME",
"value": "Jeff Escalante"
},
{
"context": "ustache.render(\"Why hello, {{ na... | node_modules/gulp-stylus/node_modules/accord/test/test.coffee | richgilbank/test | 0 | should = require 'should'
path = require 'path'
accord = require '../'
require('./helpers')(should)
describe 'base functions', ->
it 'supports should work', ->
accord.supports('jade').should.be.ok
accord.supports('markdown').should.be.ok
accord.supports('marked').should.be.ok
accord.supports('blarg... | 109920 | should = require 'should'
path = require 'path'
accord = require '../'
require('./helpers')(should)
describe 'base functions', ->
it 'supports should work', ->
accord.supports('jade').should.be.ok
accord.supports('markdown').should.be.ok
accord.supports('marked').should.be.ok
accord.supports('blarg... | true | should = require 'should'
path = require 'path'
accord = require '../'
require('./helpers')(should)
describe 'base functions', ->
it 'supports should work', ->
accord.supports('jade').should.be.ok
accord.supports('markdown').should.be.ok
accord.supports('marked').should.be.ok
accord.supports('blarg... |
[
{
"context": "ooltip\n\n# Inspired by the original jQuery.tipsy by Jason Frame\n# https://github.com/jaz303/tipsy\n\n# Copyright (c",
"end": 71,
"score": 0.9716385006904602,
"start": 60,
"tag": "NAME",
"value": "Jason Frame"
},
{
"context": " jQuery.tipsy by Jason Frame\n# https://gi... | assets/javascripts/mice/tooltip.coffee | miclle/mice | 7 | # Mice: tooltip
# Inspired by the original jQuery.tipsy by Jason Frame
# https://github.com/jaz303/tipsy
# Copyright (c) 2014 Miclle
# Licensed under MIT (https://github.com/miclle/mice/blob/master/LICENSE)
# Generated markup by the plugin
# <div class="tooltip top" role="tooltip">
# <div class="arrow"></div>
# ... | 215547 | # Mice: tooltip
# Inspired by the original jQuery.tipsy by <NAME>
# https://github.com/jaz303/tipsy
# Copyright (c) 2014 <NAME>iclle
# Licensed under MIT (https://github.com/miclle/mice/blob/master/LICENSE)
# Generated markup by the plugin
# <div class="tooltip top" role="tooltip">
# <div class="arrow"></div>
# ... | true | # Mice: tooltip
# Inspired by the original jQuery.tipsy by PI:NAME:<NAME>END_PI
# https://github.com/jaz303/tipsy
# Copyright (c) 2014 PI:NAME:<NAME>END_PIiclle
# Licensed under MIT (https://github.com/miclle/mice/blob/master/LICENSE)
# Generated markup by the plugin
# <div class="tooltip top" role="tooltip">
# <... |
[
{
"context": "n’t work in Grunt Pelican:\n# # https://github.com/chuwy/grunt-pelican/issues/4\n# pelican:\n# \toptions:\n# \t",
"end": 608,
"score": 0.99932861328125,
"start": 603,
"tag": "USERNAME",
"value": "chuwy"
},
{
"context": "ve on GitHub, so no issue:\n# # https://github.com... | grunt/deprecated.coffee | Kristinita/--- | 6 | ######################
## Deprecated tasks ##
######################
# All buggy, obsolete and/or unneedable plugins.
# Save, because possibly I can use them again.
# [FIXME] Re-install grunt-eslint, when I will have a time:
# ################
# # grunt-eslint #
# ################
# module.exports =
# options:
# m... | 127583 | ######################
## Deprecated tasks ##
######################
# All buggy, obsolete and/or unneedable plugins.
# Save, because possibly I can use them again.
# [FIXME] Re-install grunt-eslint, when I will have a time:
# ################
# # grunt-eslint #
# ################
# module.exports =
# options:
# m... | true | ######################
## Deprecated tasks ##
######################
# All buggy, obsolete and/or unneedable plugins.
# Save, because possibly I can use them again.
# [FIXME] Re-install grunt-eslint, when I will have a time:
# ################
# # grunt-eslint #
# ################
# module.exports =
# options:
# m... |
[
{
"context": "p://voxe.org/assets/iOS/114ios.png',\n name: \"Voxe\",\n caption: 'Voxe.org',\n description: '",
"end": 578,
"score": 0.9971392154693604,
"start": 574,
"tag": "NAME",
"value": "Voxe"
}
] | app/assets/javascripts/embed/elections/views/application.js.coffee | JulienGuizot/voxe | 5 | class window.ApplicationView extends Backbone.View
events:
"click .facebook": "facebook"
initialize: ->
@model.bind 'change', @setElectionName
@width = $('#app').width()
@height = $('#app').height()
setElectionName: =>
@.$('#header .container').html @model.name()
render: ->
... | 199133 | class window.ApplicationView extends Backbone.View
events:
"click .facebook": "facebook"
initialize: ->
@model.bind 'change', @setElectionName
@width = $('#app').width()
@height = $('#app').height()
setElectionName: =>
@.$('#header .container').html @model.name()
render: ->
... | true | class window.ApplicationView extends Backbone.View
events:
"click .facebook": "facebook"
initialize: ->
@model.bind 'change', @setElectionName
@width = $('#app').width()
@height = $('#app').height()
setElectionName: =>
@.$('#header .container').html @model.name()
render: ->
... |
[
{
"context": "#\n# Project's main unit\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\nclass Autocompleter extends UI.Menu\n include: ",
"end": 64,
"score": 0.9998811483383179,
"start": 47,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/autocompleter/src/autocompleter.coffee | lovely-io/lovely.io-stl | 2 | #
# Project's main unit
#
# Copyright (C) 2012 Nikolay Nemshilov
#
class Autocompleter extends UI.Menu
include: core.Options
extend:
Options: # default options
src: [] # an url to the search query or an Array of
method: 'get' # ajax requests default HTTP method
minLength: 1 ... | 95692 | #
# Project's main unit
#
# Copyright (C) 2012 <NAME>
#
class Autocompleter extends UI.Menu
include: core.Options
extend:
Options: # default options
src: [] # an url to the search query or an Array of
method: 'get' # ajax requests default HTTP method
minLength: 1 # min text ... | true | #
# Project's main unit
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
class Autocompleter extends UI.Menu
include: core.Options
extend:
Options: # default options
src: [] # an url to the search query or an Array of
method: 'get' # ajax requests default HTTP method
minLength: 1 ... |
[
{
"context": "', ->\n effect = null\n user = {\n name: 'user1'\n iff: -> true\n attackAttrs: -> []\n ",
"end": 3397,
"score": 0.9991282224655151,
"start": 3392,
"tag": "USERNAME",
"value": "user1"
},
{
"context": " targets = [\n {\n hp:50\n ... | src/test/common/EffectTest.coffee | fukuyama/tmlib-rpg | 0 | require('chai').should()
require('../../main/common/utils.coffee')
require('../../main/common/constants.coffee')
require('../../main/common/Battler.coffee')
require('../../main/common/Actor.coffee')
require('../../main/common/Effect.coffee')
require('../../main/common/State.coffee')
require('../../test/common/System.... | 14506 | require('chai').should()
require('../../main/common/utils.coffee')
require('../../main/common/constants.coffee')
require('../../main/common/Battler.coffee')
require('../../main/common/Actor.coffee')
require('../../main/common/Effect.coffee')
require('../../main/common/State.coffee')
require('../../test/common/System.... | true | require('chai').should()
require('../../main/common/utils.coffee')
require('../../main/common/constants.coffee')
require('../../main/common/Battler.coffee')
require('../../main/common/Actor.coffee')
require('../../main/common/Effect.coffee')
require('../../main/common/State.coffee')
require('../../test/common/System.... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993293881416321,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": " \"error\", socketErrorListener\n \n # TODO(isaacs): Need a way to reset a stream to... | lib/_http_client.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... | 50531 | # 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": " inviting me!\"\n .setDescription \"\"\"\n Hi! I'm Kko-hi, a Discord bot coded purely on CoffeeScript!",
"end": 463,
"score": 0.6821931004524231,
"start": 462,
"tag": "NAME",
"value": "K"
},
{
"context": "nviting me!\"\n .setDescription \"\"\"\n Hi! I'm Kko-... | events/guildCreate.coffee | Fizuku/Kko-hi-Public | 4 | Discord = require 'discord.js'
module.exports =
event: "guildCreate"
emitter: "on"
run: (guild, bot) ->
channelID;
channels = guild.channels;
for c in channels
channelType = c[1].type;
if channelType is "text" then channelID = c[0];
channel = bot.channels.cache.get guild.syst... | 82707 | Discord = require 'discord.js'
module.exports =
event: "guildCreate"
emitter: "on"
run: (guild, bot) ->
channelID;
channels = guild.channels;
for c in channels
channelType = c[1].type;
if channelType is "text" then channelID = c[0];
channel = bot.channels.cache.get guild.syst... | true | Discord = require 'discord.js'
module.exports =
event: "guildCreate"
emitter: "on"
run: (guild, bot) ->
channelID;
channels = guild.channels;
for c in channels
channelType = c[1].type;
if channelType is "text" then channelID = c[0];
channel = bot.channels.cache.get guild.syst... |
[
{
"context": " illustrate how easy it is to write one.\n Author: Mikolaj Pawlikowski (mikolaj@pawlikowski.pl)\n\n###\n\nstate = JSON.parse",
"end": 106,
"score": 0.9998726844787598,
"start": 87,
"tag": "NAME",
"value": "Mikolaj Pawlikowski"
},
{
"context": "t is to write one.\n Aut... | bot.coffee | wioota/battleships-bot | 1 | ###
Random bot: an example bot to illustrate how easy it is to write one.
Author: Mikolaj Pawlikowski (mikolaj@pawlikowski.pl)
###
state = JSON.parse process.argv.slice(2)
rand = (n) ->
Math.floor(Math.random()*100000 + new Date().getTime()) % (n+1)
randomMove = ->
"#{rand(7)}#{rand(7)}"
if state.cmd is ... | 7624 | ###
Random bot: an example bot to illustrate how easy it is to write one.
Author: <NAME> (<EMAIL>)
###
state = JSON.parse process.argv.slice(2)
rand = (n) ->
Math.floor(Math.random()*100000 + new Date().getTime()) % (n+1)
randomMove = ->
"#{rand(7)}#{rand(7)}"
if state.cmd is 'init'
diff = 0
config =... | true | ###
Random bot: an example bot to illustrate how easy it is to write one.
Author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
###
state = JSON.parse process.argv.slice(2)
rand = (n) ->
Math.floor(Math.random()*100000 + new Date().getTime()) % (n+1)
randomMove = ->
"#{rand(7)}#{rand(7)}"
if state.cmd is... |
[
{
"context": ", ->\n dd ->\n span \"姓名:\"\n span \"黄鑫\"\n dd ->\n span \"性别:\"\n span \"男\"\n",
"end": 2536,
"score": 0.9996986985206604,
"start": 2534,
"tag": "NAME",
"value": "黄鑫"
},
{
"context": "\nPersonal Repository: <a href=\"https://github... | views/about.coffee | dreampuf/banajs | 3 | doctype 5
html ->
head ->
meta charset:"utf-8"
title "About Huangxin"
script src:"/js/raphael.js"
style -> """
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, ... | 142955 | doctype 5
html ->
head ->
meta charset:"utf-8"
title "About Huangxin"
script src:"/js/raphael.js"
style -> """
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, ... | true | doctype 5
html ->
head ->
meta charset:"utf-8"
title "About Huangxin"
script src:"/js/raphael.js"
style -> """
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, ... |
[
{
"context": "\n user = robot.brain.userForId('1', name: 'jasmine', room: '#jasmine')\n adapter = robot.adapt",
"end": 935,
"score": 0.5987827777862549,
"start": 928,
"tag": "NAME",
"value": "jasmine"
}
] | spec/pubsub_spec.coffee | hubot-scripts/hubot-pubsub | 24 | path = require 'path'
Robot = require 'hubot/src/robot'
messages = require 'hubot/src/message'
describe 'pubsub', ->
robot = null
adapter = null
user = null
say = (msg) ->
adapter.receive new messages.TextMessage(user, msg)
expectHubotToSay = (msg, done) ->
adapter.on 'send', (envelope, strings) -... | 151371 | path = require 'path'
Robot = require 'hubot/src/robot'
messages = require 'hubot/src/message'
describe 'pubsub', ->
robot = null
adapter = null
user = null
say = (msg) ->
adapter.receive new messages.TextMessage(user, msg)
expectHubotToSay = (msg, done) ->
adapter.on 'send', (envelope, strings) -... | true | path = require 'path'
Robot = require 'hubot/src/robot'
messages = require 'hubot/src/message'
describe 'pubsub', ->
robot = null
adapter = null
user = null
say = (msg) ->
adapter.receive new messages.TextMessage(user, msg)
expectHubotToSay = (msg, done) ->
adapter.on 'send', (envelope, strings) -... |
[
{
"context": "late:'hi ${user}!'\n data:\n user: 'Mikey'\n expect(result).to.be.equal 'hi Mikey!'\n ",
"end": 2731,
"score": 0.8979530334472656,
"start": 2726,
"tag": "USERNAME",
"value": "Mikey"
},
{
"context": "late:'hi ${user}!'\n data:\n use... | test/index-test.coffee | snowyu/task-registry-template-engine.js | 0 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setImmediate = setImmediate || process.nextTick
Task = require 'task-registry'
Templat... | 99598 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setImmediate = setImmediate || process.nextTick
Task = require 'task-registry'
Templat... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
should = chai.should()
expect = chai.expect
assert = chai.assert
chai.use(sinonChai)
setImmediate = setImmediate || process.nextTick
Task = require 'task-registry'
Templat... |
[
{
"context": "###\ngrunt-ember-script\n\nCopyright (c) 2013 Gordon L. Hempton, contributors\nLicensed under the MIT license.\n###",
"end": 60,
"score": 0.9998518228530884,
"start": 43,
"tag": "NAME",
"value": "Gordon L. Hempton"
}
] | node_modules/grunt-ember-script/test/em_test.coffee | rtablada/ember-walkthrough | 7 | ###
grunt-ember-script
Copyright (c) 2013 Gordon L. Hempton, contributors
Licensed under the MIT license.
###
grunt = require 'grunt'
fs = require 'fs'
read = (file)->
content = grunt.file.read file
if process.platform is 'win32' then content.replace /\r\n/g, '\n' else content
exports.em =
compile: (test)->
... | 169977 | ###
grunt-ember-script
Copyright (c) 2013 <NAME>, contributors
Licensed under the MIT license.
###
grunt = require 'grunt'
fs = require 'fs'
read = (file)->
content = grunt.file.read file
if process.platform is 'win32' then content.replace /\r\n/g, '\n' else content
exports.em =
compile: (test)->
test.exp... | true | ###
grunt-ember-script
Copyright (c) 2013 PI:NAME:<NAME>END_PI, contributors
Licensed under the MIT license.
###
grunt = require 'grunt'
fs = require 'fs'
read = (file)->
content = grunt.file.read file
if process.platform is 'win32' then content.replace /\r\n/g, '\n' else content
exports.em =
compile: (test)-... |
[
{
"context": "llowing text is an excerpt from Finnegan's Wake by James Joyce\"\n done()\n\n it 'can also be chaine",
"end": 1548,
"score": 0.9996936321258545,
"start": 1537,
"tag": "NAME",
"value": "James Joyce"
},
{
"context": "llowing text is an excerpt from Finnega... | node_modules/webdriver-sizzle/test/webdriver_sizzle.test.coffee | goodguytt01/gateway-front | 5 | assert = require 'assert'
path = require 'path'
webdriver = require 'selenium-webdriver'
webdriverSizzle = require '..'
{WebElement} = webdriver
{Deferred} = webdriver.promise
url = (page) ->
"file://#{path.join __dirname, page}"
# hack to work around then not working below,
# hijack mocha's uncaughtException hand... | 153927 | assert = require 'assert'
path = require 'path'
webdriver = require 'selenium-webdriver'
webdriverSizzle = require '..'
{WebElement} = webdriver
{Deferred} = webdriver.promise
url = (page) ->
"file://#{path.join __dirname, page}"
# hack to work around then not working below,
# hijack mocha's uncaughtException hand... | true | assert = require 'assert'
path = require 'path'
webdriver = require 'selenium-webdriver'
webdriverSizzle = require '..'
{WebElement} = webdriver
{Deferred} = webdriver.promise
url = (page) ->
"file://#{path.join __dirname, page}"
# hack to work around then not working below,
# hijack mocha's uncaughtException hand... |
[
{
"context": "\n return if error\n\n me.set({\n password: attrs.password1\n name: attrs.name\n email: @trialRequest",
"end": 13385,
"score": 0.9985983371734619,
"start": 13370,
"tag": "PASSWORD",
"value": "attrs.password1"
},
{
"context": "Anonymous = {\n type: ... | app/views/teachers/RequestQuoteView.coffee | mjaqueFL/codecombat | 0 | require('app/styles/teachers/teacher-trial-requests.sass')
RootView = require 'views/core/RootView'
forms = require 'core/forms'
TrialRequest = require 'models/TrialRequest'
TrialRequests = require 'collections/TrialRequests'
AuthModal = require 'views/core/AuthModal'
errors = require 'core/errors'
ConfirmModal = requi... | 28392 | require('app/styles/teachers/teacher-trial-requests.sass')
RootView = require 'views/core/RootView'
forms = require 'core/forms'
TrialRequest = require 'models/TrialRequest'
TrialRequests = require 'collections/TrialRequests'
AuthModal = require 'views/core/AuthModal'
errors = require 'core/errors'
ConfirmModal = requi... | true | require('app/styles/teachers/teacher-trial-requests.sass')
RootView = require 'views/core/RootView'
forms = require 'core/forms'
TrialRequest = require 'models/TrialRequest'
TrialRequests = require 'collections/TrialRequests'
AuthModal = require 'views/core/AuthModal'
errors = require 'core/errors'
ConfirmModal = requi... |
[
{
"context": "#\n# Ethan Mick\n# 2015\n#\n\nmodule.exports =\n Client: require './c",
"end": 14,
"score": 0.9998003840446472,
"start": 4,
"tag": "NAME",
"value": "Ethan Mick"
}
] | lib/index.coffee | ethanmick/future-client | 0 | #
# Ethan Mick
# 2015
#
module.exports =
Client: require './client'
Task: require './task'
| 134763 | #
# <NAME>
# 2015
#
module.exports =
Client: require './client'
Task: require './task'
| true | #
# PI:NAME:<NAME>END_PI
# 2015
#
module.exports =
Client: require './client'
Task: require './task'
|
[
{
"context": "evelopers\n 'GET_YOUR_OWN_API_KEY_FOR_TINYPNG' # - client-email-1@example.com\n 'GET_YOUR_OWN_API_KEY_FOR_TINYPNG' # - client-e",
"end": 525,
"score": 0.9973485469818115,
"start": 499,
"tag": "EMAIL",
"value": "client-email-1@example.com"
},
{
"context": "ample.com\n ... | include/example-gulpfile.coffee | reatlat/wp-theme-builder-with-docker | 0 | app = {}
app.name = theme.name # Application name
app.desc = theme.desc # This is my application
app.url = "localhost" # Homepage link
app.devName = theme.author # Developer name (Company name)
app.devURL = theme.authorUrl # Developer URL (Company URL)
###
# TinyPNG API Keys
###
tinypng = ... | 82670 | app = {}
app.name = theme.name # Application name
app.desc = theme.desc # This is my application
app.url = "localhost" # Homepage link
app.devName = theme.author # Developer name (Company name)
app.devURL = theme.authorUrl # Developer URL (Company URL)
###
# TinyPNG API Keys
###
tinypng = ... | true | app = {}
app.name = theme.name # Application name
app.desc = theme.desc # This is my application
app.url = "localhost" # Homepage link
app.devName = theme.author # Developer name (Company name)
app.devURL = theme.authorUrl # Developer URL (Company URL)
###
# TinyPNG API Keys
###
tinypng = ... |
[
{
"context": "is “ride” is mostly a movie in a theater. It stars Ellen DeGeneres, Bill Nye, and Jamie Lee Curtis and debuted in 19",
"end": 1777,
"score": 0.9998108148574829,
"start": 1762,
"tag": "NAME",
"value": "Ellen DeGeneres"
},
{
"context": "ly a movie in a theater. It stars E... | src/javascript/data.coffee | adampash/epcot_map | 0 | module.exports =
Norway:
headline: "The Best Restaurant in the World Is: Norway's Kringla Bakeri Og Kafe"
text: "<strong>Rich:</strong> “Is it too much?” you asked. Before I could answer, a female patron in line behind us piped up: “You’re at Disney. It’s not too much.”"
url: "http://bestrestaurant.gawker... | 82090 | module.exports =
Norway:
headline: "The Best Restaurant in the World Is: Norway's Kringla Bakeri Og Kafe"
text: "<strong>Rich:</strong> “Is it too much?” you asked. Before I could answer, a female patron in line behind us piped up: “You’re at Disney. It’s not too much.”"
url: "http://bestrestaurant.gawker... | true | module.exports =
Norway:
headline: "The Best Restaurant in the World Is: Norway's Kringla Bakeri Og Kafe"
text: "<strong>Rich:</strong> “Is it too much?” you asked. Before I could answer, a female patron in line behind us piped up: “You’re at Disney. It’s not too much.”"
url: "http://bestrestaurant.gawker... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9654585123062134,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/persist/cache.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module provides a simple key-value store suitable as a cache.
# Keys must be strings. Values can be anything ex... | 220948 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module provides a simple key-value store suitable as a cache.
# Keys must be strings. Values can be anything ex... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# This module provides a simple key-value store suitable as a cache.
# Keys must be strings. Values can ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988306164741516,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/pummel/test-crypto-dh.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... | 36738 | # 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": "h ->\n\t\t\t@req.session =\n\t\t\t\tuser: _id: @user_id = \"user-id-123\"\n\t\t\t\tdestroy:->\n\t\t\t@req.params = project_id: @pro",
"end": 1971,
"score": 0.5925742387771606,
"start": 1960,
"tag": "USERNAME",
"value": "user-id-123"
},
{
"context": "\n\t\t\t@owner =\n\t... | test/UnitTests/coffee/Collaborators/CollaboratorsControllerTests.coffee | ukasiu/web-sharelatex | 0 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Collaborators/CollaboratorsController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockRequest = require "../helpers/MockRequest"
MockResponse = require ".... | 206932 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Collaborators/CollaboratorsController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockRequest = require "../helpers/MockRequest"
MockResponse = require ".... | true | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/Collaborators/CollaboratorsController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockRequest = require "../helpers/MockRequest"
MockResponse = require ".... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991805553436279,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-repl-reset-event.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... | 137481 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "###\n\n Faviconr\n\n Andrey Popp (c) 2013\n\n###\n\nurl = require 'url'\nexpres",
"end": 30,
"score": 0.9998693466186523,
"start": 19,
"tag": "NAME",
"value": "Andrey Popp"
}
] | index.coffee | andreypopp/faviconr | 1 | ###
Faviconr
Andrey Popp (c) 2013
###
url = require 'url'
express = require 'express'
hyperquest = require 'hyperquest'
sax = require 'sax'
checkRel = (v) ->
v == 'icon' or
v == 'shortcut' or
v == 'shortcut icon' or
v == 'icon shortcut'
parseFavicon = (cb) ->
parser = sax.... | 113349 | ###
Faviconr
<NAME> (c) 2013
###
url = require 'url'
express = require 'express'
hyperquest = require 'hyperquest'
sax = require 'sax'
checkRel = (v) ->
v == 'icon' or
v == 'shortcut' or
v == 'shortcut icon' or
v == 'icon shortcut'
parseFavicon = (cb) ->
parser = sax.creat... | true | ###
Faviconr
PI:NAME:<NAME>END_PI (c) 2013
###
url = require 'url'
express = require 'express'
hyperquest = require 'hyperquest'
sax = require 'sax'
checkRel = (v) ->
v == 'icon' or
v == 'shortcut' or
v == 'shortcut icon' or
v == 'icon shortcut'
parseFavicon = (cb) ->
pars... |
[
{
"context": "pp/behaviours/hello'\n\n $(\"body\").append \"<p>Hello Anais</p>\"\n\n bye.bye 'Simon'",
"end": 219,
"score": 0.9887545704841614,
"start": 214,
"tag": "NAME",
"value": "Anais"
},
{
"context": "$(\"body\").append \"<p>Hello Anais</p>\"\n\n bye.bye 'Simon'",
"end":... | examples/hello-world-coffee/behaviours/index.coffee | hanging-gardens/hanging_gardens.js | 0 | $ = require "jquery"
console = require "browser/console"
bye = require "app/behaviours/bye"
$ ()=>
console.log 'hello %o', hello: "hello"
require 'app/behaviours/hello'
$("body").append "<p>Hello Anais</p>"
bye.bye 'Simon' | 118668 | $ = require "jquery"
console = require "browser/console"
bye = require "app/behaviours/bye"
$ ()=>
console.log 'hello %o', hello: "hello"
require 'app/behaviours/hello'
$("body").append "<p>Hello <NAME></p>"
bye.bye '<NAME>' | true | $ = require "jquery"
console = require "browser/console"
bye = require "app/behaviours/bye"
$ ()=>
console.log 'hello %o', hello: "hello"
require 'app/behaviours/hello'
$("body").append "<p>Hello PI:NAME:<NAME>END_PI</p>"
bye.bye 'PI:NAME:<NAME>END_PI' |
[
{
"context": "###\nFretboard Tests\nCopyright Mohit Cheppudira 2013 <mohit@muthanna.com>\n###\n\nclass Vex.Flow.Tes",
"end": 46,
"score": 0.9998812675476074,
"start": 30,
"tag": "NAME",
"value": "Mohit Cheppudira"
},
{
"context": "\nFretboard Tests\nCopyright Mohit Cheppudira 2013 <m... | src/fretboard_test.coffee | MSD200X/fretboard | 43 | ###
Fretboard Tests
Copyright Mohit Cheppudira 2013 <mohit@muthanna.com>
###
class Vex.Flow.Test
sel = "#notespace_testoutput"
id = 0
genID = ->
id++
createTestCanvas = (canvas_sel_name, div_sel_name, test_name) ->
test_div = $('<div></div>').addClass("testcanvas").
attr("id", div_sel_name)
... | 26616 | ###
Fretboard Tests
Copyright <NAME> 2013 <<EMAIL>>
###
class Vex.Flow.Test
sel = "#notespace_testoutput"
id = 0
genID = ->
id++
createTestCanvas = (canvas_sel_name, div_sel_name, test_name) ->
test_div = $('<div></div>').addClass("testcanvas").
attr("id", div_sel_name)
test_div.append($('... | true | ###
Fretboard Tests
Copyright PI:NAME:<NAME>END_PI 2013 <PI:EMAIL:<EMAIL>END_PI>
###
class Vex.Flow.Test
sel = "#notespace_testoutput"
id = 0
genID = ->
id++
createTestCanvas = (canvas_sel_name, div_sel_name, test_name) ->
test_div = $('<div></div>').addClass("testcanvas").
attr("id", div_sel_n... |
[
{
"context": "# Vex Fretboard\n#\n# Uses PaperJS.\n# Copyright Mohit Muthanna Cheppudira 2013\n\nclass Vex.Flow.Fretboard\n @DEBUG = false\n ",
"end": 71,
"score": 0.9998824000358582,
"start": 46,
"tag": "NAME",
"value": "Mohit Muthanna Cheppudira"
}
] | src/fretboard.coffee | MSD200X/fretboard | 43 | # Vex Fretboard
#
# Uses PaperJS.
# Copyright Mohit Muthanna Cheppudira 2013
class Vex.Flow.Fretboard
@DEBUG = false
L = (args...) -> console?.log("(Vex.Flow.Fretboard)", args...) if Vex.Flow.Fretboard.DEBUG
constructor: (@paper, options) ->
L "constructor: options=", options
@options =
strings: 6... | 180435 | # Vex Fretboard
#
# Uses PaperJS.
# Copyright <NAME> 2013
class Vex.Flow.Fretboard
@DEBUG = false
L = (args...) -> console?.log("(Vex.Flow.Fretboard)", args...) if Vex.Flow.Fretboard.DEBUG
constructor: (@paper, options) ->
L "constructor: options=", options
@options =
strings: 6
start_fret: ... | true | # Vex Fretboard
#
# Uses PaperJS.
# Copyright PI:NAME:<NAME>END_PI 2013
class Vex.Flow.Fretboard
@DEBUG = false
L = (args...) -> console?.log("(Vex.Flow.Fretboard)", args...) if Vex.Flow.Fretboard.DEBUG
constructor: (@paper, options) ->
L "constructor: options=", options
@options =
strings: 6
... |
[
{
"context": "ry email protector plug-in\n#\n# https://github.com/pgib/jquery.email-protector/\n#\n# This plugin will allo",
"end": 60,
"score": 0.9996788501739502,
"start": 56,
"tag": "USERNAME",
"value": "pgib"
},
{
"context": "ster bots. Instead of having:\n#\n# <a href=\"mailto:f... | src/jquery.email-protector.coffee | pgib/jquery.email-protector | 0 | # jQuery email protector plug-in
#
# https://github.com/pgib/jquery.email-protector/
#
# This plugin will allow you to keep your mailto: links away from the
# prying eyes of email harvester bots. Instead of having:
#
# <a href="mailto:foo@bar.com">foo@bar.com</a>
#
# You would simply have:
#
# <a data-email-protector="... | 54581 | # jQuery email protector plug-in
#
# https://github.com/pgib/jquery.email-protector/
#
# This plugin will allow you to keep your mailto: links away from the
# prying eyes of email harvester bots. Instead of having:
#
# <a href="mailto:<EMAIL>"><EMAIL></a>
#
# You would simply have:
#
# <a data-email-protector="foo|bar.... | true | # jQuery email protector plug-in
#
# https://github.com/pgib/jquery.email-protector/
#
# This plugin will allow you to keep your mailto: links away from the
# prying eyes of email harvester bots. Instead of having:
#
# <a href="mailto:PI:EMAIL:<EMAIL>END_PI">PI:EMAIL:<EMAIL>END_PI</a>
#
# You would simply have:
#
# <a ... |
[
{
"context": "ww.googleapis.com/youtube/v3/search'\n apiKey: 'AIzaSyCof4lR7pAYUvem4KdZ7xke7XvI_FqI0gY'\n playerOptions:\n #videoId: 'XkemFr6gmZo'",
"end": 413,
"score": 0.9997755885124207,
"start": 374,
"tag": "KEY",
"value": "AIzaSyCof4lR7pAYUvem4KdZ7xke7XvI_FqI0gY"
}
] | app/assets/javascripts/classes/defaults.js.coffee | morion4000/molamp | 1 | class Molamp.Defaults
SPIN_OPTIONS:
lines: 12 # The number of lines to draw
length: 4 # The length of each line
width: 3 # The line thickness
radius: 5 # The radius of the inner circle
LASTFM_OPTIONS:
apiKey: ''
apiSecret: ''
YOUTUBE_OPTIONS:
domElement: 'ytplayer'
apiUrl: 'https... | 20832 | class Molamp.Defaults
SPIN_OPTIONS:
lines: 12 # The number of lines to draw
length: 4 # The length of each line
width: 3 # The line thickness
radius: 5 # The radius of the inner circle
LASTFM_OPTIONS:
apiKey: ''
apiSecret: ''
YOUTUBE_OPTIONS:
domElement: 'ytplayer'
apiUrl: 'https... | true | class Molamp.Defaults
SPIN_OPTIONS:
lines: 12 # The number of lines to draw
length: 4 # The length of each line
width: 3 # The line thickness
radius: 5 # The radius of the inner circle
LASTFM_OPTIONS:
apiKey: ''
apiSecret: ''
YOUTUBE_OPTIONS:
domElement: 'ytplayer'
apiUrl: 'https... |
[
{
"context": " method: 'GET'\n data:{email:email, password: password, mooc_provider:mooc_provider}\n error: (jqXHR, ",
"end": 5700,
"score": 0.9993245601654053,
"start": 5692,
"tag": "PASSWORD",
"value": "password"
}
] | app/assets/javascripts/user_settings.coffee | jprberlin/mammooc | 6 |
ready = ->
$('#load-account-settings-button').on 'click', (event) -> loadAccountSettings(event)
$('#load-mooc-provider-settings-button').on 'click', (event) -> loadMoocProviderSettings(event)
$('#load-privacy-settings-button').on 'click', (event) -> loadPrivacySettings(event)
$('#load-newsletter-settings-butto... | 143894 |
ready = ->
$('#load-account-settings-button').on 'click', (event) -> loadAccountSettings(event)
$('#load-mooc-provider-settings-button').on 'click', (event) -> loadMoocProviderSettings(event)
$('#load-privacy-settings-button').on 'click', (event) -> loadPrivacySettings(event)
$('#load-newsletter-settings-butto... | true |
ready = ->
$('#load-account-settings-button').on 'click', (event) -> loadAccountSettings(event)
$('#load-mooc-provider-settings-button').on 'click', (event) -> loadMoocProviderSettings(event)
$('#load-privacy-settings-button').on 'click', (event) -> loadPrivacySettings(event)
$('#load-newsletter-settings-butto... |
[
{
"context": "ame.toLowerCase()\n primaryKey = \"#{lowerModelName}Id\"\n\n # collection level\n # GET lists all items in",
"end": 400,
"score": 0.6683080196380615,
"start": 398,
"tag": "KEY",
"value": "Id"
},
{
"context": "delName = actualModel.modelName\n secondaryKey = \"#{fi... | lib/util/getRoutesFromModel.coffee | wearefractal/crudify | 8 | getPopulatesFromModel = require "./getPopulatesFromModel"
getStaticsFromModel = require "./getStaticsFromModel"
getInstanceMethodsFromModel = require "./getInstanceMethodsFromModel"
reserved = ['authorize']
module.exports = (model) ->
routes = []
collectionName = model.collection.name
modelName = model.modelNam... | 126240 | getPopulatesFromModel = require "./getPopulatesFromModel"
getStaticsFromModel = require "./getStaticsFromModel"
getInstanceMethodsFromModel = require "./getInstanceMethodsFromModel"
reserved = ['authorize']
module.exports = (model) ->
routes = []
collectionName = model.collection.name
modelName = model.modelNam... | true | getPopulatesFromModel = require "./getPopulatesFromModel"
getStaticsFromModel = require "./getStaticsFromModel"
getInstanceMethodsFromModel = require "./getInstanceMethodsFromModel"
reserved = ['authorize']
module.exports = (model) ->
routes = []
collectionName = model.collection.name
modelName = model.modelNam... |
[
{
"context": "or 25 invitees on a vote. Contact <a href=\"mailto:support@swarm.fund\">support@swarm.fund</a> if you require more than ",
"end": 3284,
"score": 0.9999209642410278,
"start": 3266,
"tag": "EMAIL",
"value": "support@swarm.fund"
},
{
"context": "vote. Contact <a href=\"mai... | js/directives/sidebar/da-sidebar-voting-admin.coffee | SwarmCorp/razzledazzle | 0 | window.app.directive 'daSidebarVotingAdmin', ($q, $sce, $timeout, Voting, User, Wallet, Counterparty) ->
restrict: 'A'
templateUrl: 'partials/app/blocks/sidebar-voting-admin.html'
replace: true
link: (scope) ->
scope.voting = ''
scope.newVoting = null || window.daDebug?.createNewVotingMode
scope.loading = fa... | 75011 | window.app.directive 'daSidebarVotingAdmin', ($q, $sce, $timeout, Voting, User, Wallet, Counterparty) ->
restrict: 'A'
templateUrl: 'partials/app/blocks/sidebar-voting-admin.html'
replace: true
link: (scope) ->
scope.voting = ''
scope.newVoting = null || window.daDebug?.createNewVotingMode
scope.loading = fa... | true | window.app.directive 'daSidebarVotingAdmin', ($q, $sce, $timeout, Voting, User, Wallet, Counterparty) ->
restrict: 'A'
templateUrl: 'partials/app/blocks/sidebar-voting-admin.html'
replace: true
link: (scope) ->
scope.voting = ''
scope.newVoting = null || window.daDebug?.createNewVotingMode
scope.loading = fa... |
[
{
"context": "loader from archive.routeviews.org\n#\n# Author:\n# Shintaro Kojima <goodies@codeout.net>\n\nHttpClient = require('scop",
"end": 100,
"score": 0.9998614192008972,
"start": 85,
"tag": "NAME",
"value": "Shintaro Kojima"
},
{
"context": "e.routeviews.org\n#\n# Author:\n#... | src/index.coffee | codeout/node-mrt | 0 | # Description
# MRT archive downloader from archive.routeviews.org
#
# Author:
# Shintaro Kojima <goodies@codeout.net>
HttpClient = require('scoped-http-client')
Parser = require('cheerio')
Tmp = require('tmp')
class MRT
constructor: (@server) ->
@cache = {}
month: ->
date = new Date()
date.getUT... | 126897 | # Description
# MRT archive downloader from archive.routeviews.org
#
# Author:
# <NAME> <<EMAIL>>
HttpClient = require('scoped-http-client')
Parser = require('cheerio')
Tmp = require('tmp')
class MRT
constructor: (@server) ->
@cache = {}
month: ->
date = new Date()
date.getUTCFullYear().toString(... | true | # Description
# MRT archive downloader from archive.routeviews.org
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
HttpClient = require('scoped-http-client')
Parser = require('cheerio')
Tmp = require('tmp')
class MRT
constructor: (@server) ->
@cache = {}
month: ->
date = new Date()
da... |
[
{
"context": "= 42\n\n fakeRecipe =\n id: recipeId\n name: \"Baked Potatoes\"\n instructions: \"Pierce potato with fork, nuke",
"end": 215,
"score": 0.9200836420059204,
"start": 201,
"tag": "NAME",
"value": "Baked Potatoes"
}
] | spec/javascripts/controllers/RecipeController_spec.coffee | yumikohey/receta | 0 | describe "RecipeController", ->
scope = null
ctrl = null
routeParams = null
httpBackend = null
flash = null
recipeId = 42
fakeRecipe =
id: recipeId
name: "Baked Potatoes"
instructions: "Pierce potato with fork, nuke for 20 minutes"
setupController =(recipeExists=true... | 118508 | describe "RecipeController", ->
scope = null
ctrl = null
routeParams = null
httpBackend = null
flash = null
recipeId = 42
fakeRecipe =
id: recipeId
name: "<NAME>"
instructions: "Pierce potato with fork, nuke for 20 minutes"
setupController =(recipeExists=true)->
... | true | describe "RecipeController", ->
scope = null
ctrl = null
routeParams = null
httpBackend = null
flash = null
recipeId = 42
fakeRecipe =
id: recipeId
name: "PI:NAME:<NAME>END_PI"
instructions: "Pierce potato with fork, nuke for 20 minutes"
setupController =(recipeExist... |
[
{
"context": "nfo.title\n tags : 'Cnode'\n consumer_key:process.env.pocket\n access_token:''\n }\n users = []\n as",
"end": 1535,
"score": 0.963706910610199,
"start": 1517,
"tag": "KEY",
"value": "process.env.pocket"
}
] | servers/saveArticle.coffee | youqingkui/cnode2pocket | 0 | request = require('request')
async = require('async')
Article = require('../models/article')
User = require('../models/user')
saveErr = require('../servers/saveErr')
class ArticleSave
constructor:() ->
@baseUrl = 'https://cnodejs.org/api/v1/topics?tab=good&page='
@urlArr = []
getPage:(page, cb) ->
sel... | 11975 | request = require('request')
async = require('async')
Article = require('../models/article')
User = require('../models/user')
saveErr = require('../servers/saveErr')
class ArticleSave
constructor:() ->
@baseUrl = 'https://cnodejs.org/api/v1/topics?tab=good&page='
@urlArr = []
getPage:(page, cb) ->
sel... | true | request = require('request')
async = require('async')
Article = require('../models/article')
User = require('../models/user')
saveErr = require('../servers/saveErr')
class ArticleSave
constructor:() ->
@baseUrl = 'https://cnodejs.org/api/v1/topics?tab=good&page='
@urlArr = []
getPage:(page, cb) ->
sel... |
[
{
"context": "s'\n folder: 'utils'\n ,\n name: 'Lier'\n folder: 'app'\n ]\n\n @provider =",
"end": 430,
"score": 0.9810205698013306,
"start": 426,
"tag": "NAME",
"value": "Lier"
}
] | lib/extjs4-autocomplete.coffee | Sighter/extjs4-autocomplete | 0 | module.exports =
provider: null
activate: ->
console.log "activating extjs4-autocomplete"
console.log 'got path', atom.project.getDirectories()
deactivate: ->
@provider = null
provide: ->
unless @provider?
console.log "providing extjs4-autocomplete"
Extjs4Provider = require('./cla... | 149889 | module.exports =
provider: null
activate: ->
console.log "activating extjs4-autocomplete"
console.log 'got path', atom.project.getDirectories()
deactivate: ->
@provider = null
provide: ->
unless @provider?
console.log "providing extjs4-autocomplete"
Extjs4Provider = require('./cla... | true | module.exports =
provider: null
activate: ->
console.log "activating extjs4-autocomplete"
console.log 'got path', atom.project.getDirectories()
deactivate: ->
@provider = null
provide: ->
unless @provider?
console.log "providing extjs4-autocomplete"
Extjs4Provider = require('./cla... |
[
{
"context": "###\nGulp task bower\n@create 2014-10-07\n@author KoutarouYabe <idolm@ster.pw>\n###\n\nmodule.exports = (gulp, plug",
"end": 59,
"score": 0.9998926520347595,
"start": 47,
"tag": "NAME",
"value": "KoutarouYabe"
},
{
"context": "sk bower\n@create 2014-10-07\n@author Kouta... | tasks/config/dependencies.coffee | ky0615/atc_tram | 0 | ###
Gulp task bower
@create 2014-10-07
@author KoutarouYabe <idolm@ster.pw>
###
module.exports = (gulp, plugins, path)->
filter = plugins.filter
jsFilter = filter ["**/*.js", "**/*.js.map"]
cssFilter = filter "**/*.css"
fontFilter = filter ["**/*.ttf", "**/*.svg", "**/*.eot", "**/*.woff", "**/*.woff2"]
gulp... | 142300 | ###
Gulp task bower
@create 2014-10-07
@author <NAME> <<EMAIL>>
###
module.exports = (gulp, plugins, path)->
filter = plugins.filter
jsFilter = filter ["**/*.js", "**/*.js.map"]
cssFilter = filter "**/*.css"
fontFilter = filter ["**/*.ttf", "**/*.svg", "**/*.eot", "**/*.woff", "**/*.woff2"]
gulp.task "depen... | true | ###
Gulp task bower
@create 2014-10-07
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
module.exports = (gulp, plugins, path)->
filter = plugins.filter
jsFilter = filter ["**/*.js", "**/*.js.map"]
cssFilter = filter "**/*.css"
fontFilter = filter ["**/*.ttf", "**/*.svg", "**/*.eot", "**/*.woff", "**/... |
[
{
"context": "'speaks by', @name\ndan = man.new()\ndan.give_name 'Dan'\ndan.introduce()\ndan.speak()\n\nconsole.log '-- sup",
"end": 348,
"score": 0.9938783049583435,
"start": 345,
"tag": "NAME",
"value": "Dan"
}
] | test.coffee | tiye/proto-scope | 1 |
proto = require './proto.coffee'
console.log '-- inherent --'
human = proto.as
init: -> @name = 'human race'
give_name: (@name) ->
introduce: -> console.log "this is #{@name}"
tom = human.new()
tom.introduce()
console.log '-- sub class --'
man = human.as
speak: ->
console.log 'speaks by', @name
dan = ... | 13179 |
proto = require './proto.coffee'
console.log '-- inherent --'
human = proto.as
init: -> @name = 'human race'
give_name: (@name) ->
introduce: -> console.log "this is #{@name}"
tom = human.new()
tom.introduce()
console.log '-- sub class --'
man = human.as
speak: ->
console.log 'speaks by', @name
dan = ... | true |
proto = require './proto.coffee'
console.log '-- inherent --'
human = proto.as
init: -> @name = 'human race'
give_name: (@name) ->
introduce: -> console.log "this is #{@name}"
tom = human.new()
tom.introduce()
console.log '-- sub class --'
man = human.as
speak: ->
console.log 'speaks by', @name
dan = ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990425109863281,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "Nov 6 09:52:22 2029 GMT\\\",\" + \"\\\"fingerprint\\\":\\\"2A:7A:C2:DD:E5:F9:CC:53:72:35:99:7... | test/disabled/test-http-tls.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... | 218894 | # 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": "\r\n ],\r\n xkey: 'x'\r\n ykeys: ['y', 'z', 'a']\r\n labels: ['Y', 'Z', 'A']\r\n\r\n ",
"end": 4021,
"score": 0.9517794251441956,
"start": 4020,
"tag": "KEY",
"value": "y"
},
{
"context": " ],\r\n xkey: 'x'\r\n ykeys: ['y', ... | src/main/webapp/resources/contents/lib/morris.js/spec/lib/bar/bar_spec.coffee | noor52/qa_board_repo | 0 | describe 'Morris.Bar', ->
describe 'when using vertical grid', ->
defaults =
element: 'graph'
data: [{x: 'foo', y: 2, z: 3}, {x: 'bar', y: 4, z: 6}]
xkey: 'x'
ykeys: ['y', 'z']
labels: ['Y', 'Z']
barColors: ['#0b62a4', '#7a92a3']
gridLineColor: '#aaa'
grid... | 207001 | describe 'Morris.Bar', ->
describe 'when using vertical grid', ->
defaults =
element: 'graph'
data: [{x: 'foo', y: 2, z: 3}, {x: 'bar', y: 4, z: 6}]
xkey: 'x'
ykeys: ['y', 'z']
labels: ['Y', 'Z']
barColors: ['#0b62a4', '#7a92a3']
gridLineColor: '#aaa'
grid... | true | describe 'Morris.Bar', ->
describe 'when using vertical grid', ->
defaults =
element: 'graph'
data: [{x: 'foo', y: 2, z: 3}, {x: 'bar', y: 4, z: 6}]
xkey: 'x'
ykeys: ['y', 'z']
labels: ['Y', 'Z']
barColors: ['#0b62a4', '#7a92a3']
gridLineColor: '#aaa'
grid... |
[
{
"context": "muestra nuestro código de conducta\n#\n# Author:\n# Francho\n\nhttps = require 'https'\n\nmodule.exports = (ro",
"end": 198,
"score": 0.637177586555481,
"start": 194,
"tag": "NAME",
"value": "Fran"
},
{
"context": "ra nuestro código de conducta\n#\n# Author:\n# Fran... | scripts/zithub-code-of-conduct.coffee | francho/agilico | 1 | # Description:
# Show zithub code of conduct
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot nuestro código - muestra nuestro código de conducta
#
# Author:
# Francho
https = require 'https'
module.exports = (robot) ->
robot.respond /nuestro c.digo/i, (msg) ->
rulesUrl = 'http... | 115467 | # Description:
# Show zithub code of conduct
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot nuestro código - muestra nuestro código de conducta
#
# Author:
# <NAME>cho
https = require 'https'
module.exports = (robot) ->
robot.respond /nuestro c.digo/i, (msg) ->
rulesUrl = 'ht... | true | # Description:
# Show zithub code of conduct
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot nuestro código - muestra nuestro código de conducta
#
# Author:
# PI:NAME:<NAME>END_PIcho
https = require 'https'
module.exports = (robot) ->
robot.respond /nuestro c.digo/i, (msg) ->
... |
[
{
"context": "###\n\t(c) 2016 Julian Gonggrijp\n###\n\n'use strict'\n\nmodule.exports = (grunt) ->\n\t\n",
"end": 30,
"score": 0.9998762011528015,
"start": 14,
"tag": "NAME",
"value": "Julian Gonggrijp"
}
] | Gruntfile.coffee | NBOCampbellToets/CampbellSoup | 0 | ###
(c) 2016 Julian Gonggrijp
###
'use strict'
module.exports = (grunt) ->
if grunt.option 'production'
require('load-grunt-tasks') grunt, scope: 'dependencies'
else
jasmineTemplate = require 'grunt-template-jasmine-requirejs'
require('load-grunt-tasks') grunt
stripRegExp = (path, ext) -> new RegExp "^#{p... | 35122 | ###
(c) 2016 <NAME>
###
'use strict'
module.exports = (grunt) ->
if grunt.option 'production'
require('load-grunt-tasks') grunt, scope: 'dependencies'
else
jasmineTemplate = require 'grunt-template-jasmine-requirejs'
require('load-grunt-tasks') grunt
stripRegExp = (path, ext) -> new RegExp "^#{path}/|\\.#... | true | ###
(c) 2016 PI:NAME:<NAME>END_PI
###
'use strict'
module.exports = (grunt) ->
if grunt.option 'production'
require('load-grunt-tasks') grunt, scope: 'dependencies'
else
jasmineTemplate = require 'grunt-template-jasmine-requirejs'
require('load-grunt-tasks') grunt
stripRegExp = (path, ext) -> new RegExp "... |
[
{
"context": "03/\", =>\n @browser.document.innerHTML = \"Wolf\"\n @browser.window.addEventListener \"hash",
"end": 8481,
"score": 0.6539329290390015,
"start": 8477,
"tag": "NAME",
"value": "Wolf"
},
{
"context": ">\n @browser.window.document.innerHTML = \"... | test/history_test.coffee | krasimir/zombie | 1 | { assert, brains, Browser } = require("./helpers")
JSDOM = require("jsdom")
URL = require("url")
describe "History", ->
file_url = "file://#{__dirname}/data/index.html"
before (done)->
brains.get "/history/boo/", (req, res)->
response = if req.query.redirected then "Redirected" else "Eeek!"
r... | 90762 | { assert, brains, Browser } = require("./helpers")
JSDOM = require("jsdom")
URL = require("url")
describe "History", ->
file_url = "file://#{__dirname}/data/index.html"
before (done)->
brains.get "/history/boo/", (req, res)->
response = if req.query.redirected then "Redirected" else "Eeek!"
r... | true | { assert, brains, Browser } = require("./helpers")
JSDOM = require("jsdom")
URL = require("url")
describe "History", ->
file_url = "file://#{__dirname}/data/index.html"
before (done)->
brains.get "/history/boo/", (req, res)->
response = if req.query.redirected then "Redirected" else "Eeek!"
r... |
[
{
"context": " (request, response, next) =>\n {email,password,firstName,lastName} = request.body\n return response.stat",
"end": 412,
"score": 0.5220289826393127,
"start": 403,
"tag": "NAME",
"value": "firstName"
},
{
"context": "\n\n request.email = email\n request.passw... | app/controllers/device-controller.coffee | iotrentil/rentil-authenticator-email-password | 0 | debug = require('debug')('meshblu-authenticator-email-password:device-controller')
_ = require 'lodash'
validator = require 'validator'
url = require 'url'
request = require 'request'
class DeviceController
constructor: ({@meshbluHttp, @deviceModel, @forwarderUrl}) ->
throw new Error('forwarderUrl is required') ... | 220513 | debug = require('debug')('meshblu-authenticator-email-password:device-controller')
_ = require 'lodash'
validator = require 'validator'
url = require 'url'
request = require 'request'
class DeviceController
constructor: ({@meshbluHttp, @deviceModel, @forwarderUrl}) ->
throw new Error('forwarderUrl is required') ... | true | debug = require('debug')('meshblu-authenticator-email-password:device-controller')
_ = require 'lodash'
validator = require 'validator'
url = require 'url'
request = require 'request'
class DeviceController
constructor: ({@meshbluHttp, @deviceModel, @forwarderUrl}) ->
throw new Error('forwarderUrl is required') ... |
[
{
"context": "# MIT License:\n#\n# Copyright (c) 2010-2012, Joe Walnes\n#\n# Permission is hereby granted, free of charge,",
"end": 54,
"score": 0.9998564720153809,
"start": 44,
"tag": "NAME",
"value": "Joe Walnes"
},
{
"context": "/joewalnes/reconnecting-websocket/\nContributors:\n-... | node_modules/share/src/client/reconnecting_websocket.coffee | abraarsyed/workshare | 2 | # MIT License:
#
# Copyright (c) 2010-2012, Joe Walnes
#
# 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, m... | 192982 | # MIT License:
#
# Copyright (c) 2010-2012, <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge... | true | # MIT License:
#
# Copyright (c) 2010-2012, PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy,... |
[
{
"context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ",
"end": 2876,
"score": 0.9986213445663452,
"start": 2869,
"tag": "NAME",
"value": "Patient"
},
{
"context": " }\n }, {\n ... | Src/coffeescript/cql-execution/test/elm/executor/data.coffee | MeasureAuthoringTool/clinical_quality_language | 2 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Age
library TestSnippet version '1'
using QUICK
parameter MeasurementPeriod default Interval[DateTime(2013, 1... | 73589 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Age
library TestSnippet version '1'
using QUICK
parameter MeasurementPeriod default Interval[DateTime(2013, 1... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Age
library TestSnippet version '1'
using QUICK
parameter MeasurementPeriod default Interval[DateTime(2013, 1... |
[
{
"context": " # * Date Format 1.2.3\n # * (c) 2007-2009 Steven Levithan <stevenlevithan.com>\n # * MIT license\n #",
"end": 650,
"score": 0.9999071955680847,
"start": 635,
"tag": "NAME",
"value": "Steven Levithan"
},
{
"context": "t 1.2.3\n # * (c) 2007-2009 ... | www/js/helper.coffee | ierror/29C3 | 2 | class Helper
@i18nDateFormats
constructor: ->
@i18nDateFormats = @_i18nDateFormats()
_i18nDateFormats: ->
dayNames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
monthNames: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', '... | 152971 | class Helper
@i18nDateFormats
constructor: ->
@i18nDateFormats = @_i18nDateFormats()
_i18nDateFormats: ->
dayNames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
monthNames: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', '... | true | class Helper
@i18nDateFormats
constructor: ->
@i18nDateFormats = @_i18nDateFormats()
_i18nDateFormats: ->
dayNames: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
monthNames: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', '... |
[
{
"context": "= new Director(\"push\", router)\n\n\t###\n\t###\n\t\n\tname: director.name\n\n\t###\n\t###\n\t\n\tdirector: director\n\n\t###\n\t###\n",
"end": 146,
"score": 0.9040957093238831,
"start": 138,
"tag": "NAME",
"value": "director"
}
] | src/push/plugin.coffee | crcn-archive/beanpoll.js | 1 | Director = require "./director"
module.exports = (router) ->
###
###
director = new Director("push", router)
###
###
name: director.name
###
###
director: director
###
###
newListener: (listener) ->
router.request('new/listener').tag('private',true).query(listener).push();
###
###
... | 12841 | Director = require "./director"
module.exports = (router) ->
###
###
director = new Director("push", router)
###
###
name: <NAME>.name
###
###
director: director
###
###
newListener: (listener) ->
router.request('new/listener').tag('private',true).query(listener).push();
###
###
ro... | true | Director = require "./director"
module.exports = (router) ->
###
###
director = new Director("push", router)
###
###
name: PI:NAME:<NAME>END_PI.name
###
###
director: director
###
###
newListener: (listener) ->
router.request('new/listener').tag('private',true).query(listener).push();
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.