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": "\nnikita = require '@nikitajs/core/lib'\n{tags, config, db} = require './test'\nt",
"end": 28,
"score": 0.7973939776420593,
"start": 26,
"tag": "USERNAME",
"value": "js"
},
{
"context": " # Prepare\n @db.user\n username: 'db_schema_list_0_usr'\n pa... | packages/db/test/schema.list.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
nikita = require '@nikitajs/core/lib'
{tags, config, db} = require './test'
they = require('mocha-they')(config)
return unless tags.db
describe 'db.schema.list postgres', ->
return unless db.postgresql
they 'list', ({ssh}) ->
nikita
$ssh: ssh
db: db.postgresql
, ->
# Clean
@db.d... | 207417 |
nikita = require '@nikitajs/core/lib'
{tags, config, db} = require './test'
they = require('mocha-they')(config)
return unless tags.db
describe 'db.schema.list postgres', ->
return unless db.postgresql
they 'list', ({ssh}) ->
nikita
$ssh: ssh
db: db.postgresql
, ->
# Clean
@db.d... | true |
nikita = require '@nikitajs/core/lib'
{tags, config, db} = require './test'
they = require('mocha-they')(config)
return unless tags.db
describe 'db.schema.list postgres', ->
return unless db.postgresql
they 'list', ({ssh}) ->
nikita
$ssh: ssh
db: db.postgresql
, ->
# Clean
@db.d... |
[
{
"context": " The Cookie unit tests\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n{Test, assert} = require('lovely')\n\ndescribe \"C",
"end": 71,
"score": 0.9998877048492432,
"start": 54,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/cookie/test/cookie_test.coffee | lovely-io/lovely.io-stl | 2 | #
# The Cookie unit tests
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
{Test, assert} = require('lovely')
describe "Cookie", ->
Cookie = cookie = null
assert.cookie = (value)->
assert.equal cookie, value
before Test.load (build, win)->
Cookie = build
Object.defineProperty win.document, 'cookie... | 184798 | #
# The Cookie unit tests
#
# Copyright (C) 2011-2013 <NAME>
#
{Test, assert} = require('lovely')
describe "Cookie", ->
Cookie = cookie = null
assert.cookie = (value)->
assert.equal cookie, value
before Test.load (build, win)->
Cookie = build
Object.defineProperty win.document, 'cookie',
se... | true | #
# The Cookie unit tests
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
{Test, assert} = require('lovely')
describe "Cookie", ->
Cookie = cookie = null
assert.cookie = (value)->
assert.equal cookie, value
before Test.load (build, win)->
Cookie = build
Object.defineProperty win.document, 'coo... |
[
{
"context": "ne\n#\n# Commands:\n# hubot slogan (.*)\n#\n# Author:\n# DafyddCrosby\n#\n\ngetSlogan = (msg, query) ->\n msg.h",
"end": 152,
"score": 0.5144082307815552,
"start": 151,
"tag": "NAME",
"value": "D"
},
{
"context": "\n#\n# Commands:\n# hubot slogan (.*)\n#\n# Author:\n# ... | src/scripts/slogan.coffee | contolini/hubot-scripts | 1,450 | # Description:
# Make a slogan using sloganizer.net
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot slogan (.*)
#
# Author:
# DafyddCrosby
#
getSlogan = (msg, query) ->
msg.http("http://www.sloganizer.net/en/outbound.php?slogan=#{query}")
.get() (err, res, body) ->
slogan = body.re... | 184652 | # Description:
# Make a slogan using sloganizer.net
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot slogan (.*)
#
# Author:
# <NAME>afyddCrosby
#
getSlogan = (msg, query) ->
msg.http("http://www.sloganizer.net/en/outbound.php?slogan=#{query}")
.get() (err, res, body) ->
slogan = bo... | true | # Description:
# Make a slogan using sloganizer.net
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot slogan (.*)
#
# Author:
# PI:NAME:<NAME>END_PIafyddCrosby
#
getSlogan = (msg, query) ->
msg.http("http://www.sloganizer.net/en/outbound.php?slogan=#{query}")
.get() (err, res, body) ->
... |
[
{
"context": " to require or disallow yoda comparisons\n# @author Nicholas C. Zakas\n###\n'use strict'\n\n#------------------------------",
"end": 93,
"score": 0.9998154640197754,
"start": 76,
"tag": "NAME",
"value": "Nicholas C. Zakas"
}
] | src/rules/yoda.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to require or disallow yoda comparisons
# @author Nicholas C. Zakas
###
'use strict'
#--------------------------------------------------------------------------
# Requirements
#--------------------------------------------------------------------------
astUtils = require '../eslint-ast-utils'... | 203669 | ###*
# @fileoverview Rule to require or disallow yoda comparisons
# @author <NAME>
###
'use strict'
#--------------------------------------------------------------------------
# Requirements
#--------------------------------------------------------------------------
astUtils = require '../eslint-ast-utils'
#--------... | true | ###*
# @fileoverview Rule to require or disallow yoda comparisons
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#--------------------------------------------------------------------------
# Requirements
#--------------------------------------------------------------------------
astUtils = require '../eslint-ast-uti... |
[
{
"context": "tUserName\").val()\n 'netuno_pass': $(\"#inputPassword\").val()\n }\n success: (response) ->\n ",
"end": 307,
"score": 0.7334142327308655,
"start": 299,
"tag": "PASSWORD",
"value": "Password"
}
] | bundle/base/web/netuno/scripts/sbadmin4/netuno/login.coffee | netuno-org/platform | 19 |
netuno.addPageLoad () ->
$('#formSignIn').on 'submit', (e) ->
e.preventDefault()
$.ajax
type: 'POST'
url: "#{ netuno.config.urlBase }Index#{ netuno.config.extension }?action=login"
data: {
'netuno_user': $("#inputUserName").val()
'netuno_pass': $("#inputPassword").val()
... | 188833 |
netuno.addPageLoad () ->
$('#formSignIn').on 'submit', (e) ->
e.preventDefault()
$.ajax
type: 'POST'
url: "#{ netuno.config.urlBase }Index#{ netuno.config.extension }?action=login"
data: {
'netuno_user': $("#inputUserName").val()
'netuno_pass': $("#input<PASSWORD>").val()
... | true |
netuno.addPageLoad () ->
$('#formSignIn').on 'submit', (e) ->
e.preventDefault()
$.ajax
type: 'POST'
url: "#{ netuno.config.urlBase }Index#{ netuno.config.extension }?action=login"
data: {
'netuno_user': $("#inputUserName").val()
'netuno_pass': $("#inputPI:PASSWORD:<PASSWORD... |
[
{
"context": "d()\n#\n# # result = Mailer.send\n# # to: \"Sean Stanley <sean@maplekiwi.com>\"\n# # subject: \"Your in",
"end": 1109,
"score": 0.9998718500137329,
"start": 1097,
"tag": "NAME",
"value": "Sean Stanley"
},
{
"context": "result = Mailer.send\n# # to:... | tests/jasmine/server-disabled/integration/invoiceEmail.spec.coffee | redhead-web/meteor-foodcoop | 11 | # describe 'Invoice Emails', ->
#
# it 'should have Mailer defined and initiated', ->
# expect(Mailer).toBeDefined()
#
# it 'should be able to send an invoice email with a valid data context', ->
#
# invoice =
# recipient: Meteor.users.findOne().profile.name
# number: Random.id(6)
# date: ... | 38058 | # describe 'Invoice Emails', ->
#
# it 'should have Mailer defined and initiated', ->
# expect(Mailer).toBeDefined()
#
# it 'should be able to send an invoice email with a valid data context', ->
#
# invoice =
# recipient: Meteor.users.findOne().profile.name
# number: Random.id(6)
# date: ... | true | # describe 'Invoice Emails', ->
#
# it 'should have Mailer defined and initiated', ->
# expect(Mailer).toBeDefined()
#
# it 'should be able to send an invoice email with a valid data context', ->
#
# invoice =
# recipient: Meteor.users.findOne().profile.name
# number: Random.id(6)
# date: ... |
[
{
"context": "RC_SERVER=\"localhost\"\nprocess.env.HUBOT_IRC_NICK=\"Hubot\"\nprocess.env.HUBOT_IRC_REALNAME=\"Hubot\"\nprocess.e",
"end": 241,
"score": 0.9881024956703186,
"start": 236,
"tag": "USERNAME",
"value": "Hubot"
},
{
"context": "_IRC_NICK=\"Hubot\"\nprocess.env.HUBOT_IRC_RE... | test/setup.coffee | WeebHoarder/kana | 0 | {DEBUG} = process.env
if DEBUG? and DEBUG is 'true'
process.env.HUBOT_IRC_DEBUG=true
else
delete process.env.HUBOT_IRC_DEBUG
process.env.HUBOT_IRC_ROOMS="#mocha"
process.env.HUBOT_IRC_SERVER="localhost"
process.env.HUBOT_IRC_NICK="Hubot"
process.env.HUBOT_IRC_REALNAME="Hubot"
process.env.HUBOT_IRC_USERNAME="hubot"... | 141998 | {DEBUG} = process.env
if DEBUG? and DEBUG is 'true'
process.env.HUBOT_IRC_DEBUG=true
else
delete process.env.HUBOT_IRC_DEBUG
process.env.HUBOT_IRC_ROOMS="#mocha"
process.env.HUBOT_IRC_SERVER="localhost"
process.env.HUBOT_IRC_NICK="Hubot"
process.env.HUBOT_IRC_REALNAME="Hubot"
process.env.HUBOT_IRC_USERNAME="hubot"... | true | {DEBUG} = process.env
if DEBUG? and DEBUG is 'true'
process.env.HUBOT_IRC_DEBUG=true
else
delete process.env.HUBOT_IRC_DEBUG
process.env.HUBOT_IRC_ROOMS="#mocha"
process.env.HUBOT_IRC_SERVER="localhost"
process.env.HUBOT_IRC_NICK="Hubot"
process.env.HUBOT_IRC_REALNAME="Hubot"
process.env.HUBOT_IRC_USERNAME="hubot"... |
[
{
"context": " backbone-orm.js 0.7.14\n Copyright (c) 2013-2016 Vidigami\n License: MIT (http://www.opensource.org/license",
"end": 63,
"score": 0.9998754262924194,
"start": 55,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": "ses/mit-license.php)\n Source: https://github.com/... | src/lib/json_utils.coffee | dk-dev/backbone-orm | 54 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 Vidigami
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
Queue = require './queue'
IterationUtils = require './iterat... | 57588 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 <NAME>
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
Queue = require './queue'
IterationUtils = require './iteratio... | true | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 PI:NAME:<NAME>END_PI
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
Queue = require './queue'
IterationUtils = requi... |
[
{
"context": "Device', ->\n beforeEach (done) ->\n @redisKey = uuid.v1()\n @uuidAliasResolver = resolve: (uuid, callba",
"end": 487,
"score": 0.9404386281967163,
"start": 480,
"tag": "KEY",
"value": "uuid.v1"
},
{
"context": "'thank-you-for-considering'\n token: '... | test/find-and-update-device-spec.coffee | octoblu/meshblu-core-task-find-and-update | 0 | _ = require 'lodash'
mongojs = require 'mongojs'
moment = require 'moment'
Datastore = require 'meshblu-core-datastore'
redis = require 'fakeredis'
FindAndUpdateDevice = require '../'
JobManager = require 'meshblu-core-job-manager'
DeviceManage... | 79002 | _ = require 'lodash'
mongojs = require 'mongojs'
moment = require 'moment'
Datastore = require 'meshblu-core-datastore'
redis = require 'fakeredis'
FindAndUpdateDevice = require '../'
JobManager = require 'meshblu-core-job-manager'
DeviceManage... | true | _ = require 'lodash'
mongojs = require 'mongojs'
moment = require 'moment'
Datastore = require 'meshblu-core-datastore'
redis = require 'fakeredis'
FindAndUpdateDevice = require '../'
JobManager = require 'meshblu-core-job-manager'
DeviceManage... |
[
{
"context": " if @name = opt.name\n @STORE_KEY_PROP = \"_resizer_#{@name}_prop\"\n @STORE_KEY = \"_resizer_#{@nam",
"end": 392,
"score": 0.9912927746772766,
"start": 380,
"tag": "KEY",
"value": "\"_resizer_#{"
},
{
"context": "= opt.name\n @STORE_KEY_PROP = ... | src/public/lib/views/ui/resizer.coffee | tonistiigi/styler | 18 | define (require, exports, module) ->
require 'vendor/link!css/resizer.css'
{getStyle} = require 'lib/utils'
Resizer = Backbone.View.extend
events:
'mousedown' : 'onMouseDown'
initialize: (opt) ->
_.bindAll @, 'onMouseMove', 'onMouseUp', 'onDOMLoaded', 'onSelection'
@target = $(opt.... | 34010 | define (require, exports, module) ->
require 'vendor/link!css/resizer.css'
{getStyle} = require 'lib/utils'
Resizer = Backbone.View.extend
events:
'mousedown' : 'onMouseDown'
initialize: (opt) ->
_.bindAll @, 'onMouseMove', 'onMouseUp', 'onDOMLoaded', 'onSelection'
@target = $(opt.... | true | define (require, exports, module) ->
require 'vendor/link!css/resizer.css'
{getStyle} = require 'lib/utils'
Resizer = Backbone.View.extend
events:
'mousedown' : 'onMouseDown'
initialize: (opt) ->
_.bindAll @, 'onMouseMove', 'onMouseUp', 'onDOMLoaded', 'onSelection'
@target = $(opt.... |
[
{
"context": "', options: {partialReplace: true, onlyKeys: ['turbo-area']}, ->\n assertLinks(['foo.css'])\n d",
"end": 14502,
"score": 0.6706206202507019,
"start": 14495,
"tag": "KEY",
"value": "bo-area"
},
{
"context": "ody', options: {partialReplace: true, onlyKeys: [... | test/javascripts/turbolinks_test.coffee | fakeNetflix/Shopify-repo-turbograft | 221 | describe 'Turbolinks', ->
baseHTML = '<html><head></head><body></body></html>'
iframe = null
testDocument = null
sandbox = null
pushStateStub = null
replaceStateStub = null
resetScrollStub = null
ROUTE_TEMPLATE_INDEX = 2
TURBO_EVENTS = [
'page:change',
'page:update',
'page:load',
'pa... | 87080 | describe 'Turbolinks', ->
baseHTML = '<html><head></head><body></body></html>'
iframe = null
testDocument = null
sandbox = null
pushStateStub = null
replaceStateStub = null
resetScrollStub = null
ROUTE_TEMPLATE_INDEX = 2
TURBO_EVENTS = [
'page:change',
'page:update',
'page:load',
'pa... | true | describe 'Turbolinks', ->
baseHTML = '<html><head></head><body></body></html>'
iframe = null
testDocument = null
sandbox = null
pushStateStub = null
replaceStateStub = null
resetScrollStub = null
ROUTE_TEMPLATE_INDEX = 2
TURBO_EVENTS = [
'page:change',
'page:update',
'page:load',
'pa... |
[
{
"context": "leoverview Tests for no-script-url rule.\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 73,
"score": 0.9998161792755127,
"start": 61,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/tests/rules/no-script-url.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-script-url rule.
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-script-url'
{Ru... | 53367 | ###*
# @fileoverview Tests for no-script-url rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-script-url'
{RuleTest... | true | ###*
# @fileoverview Tests for no-script-url rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-script-... |
[
{
"context": "middleware module.\n@module joukou-api/cors\n@author Isaac Johnston <isaac.johnston@joukou.com>\n@copyright © 200",
"end": 690,
"score": 0.9998860359191895,
"start": 676,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": ".\n@module joukou-api/cors\n@author ... | src/cors.coffee | joukou/joukou-flow | 0 | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | 187983 | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | true | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... |
[
{
"context": "eight() - m[0] - m[2]\n maxi = 0\n\n # From http://mbostock.github.io/d3/talk/20111018/tree.html\n # Initiali",
"end": 143,
"score": 0.8595890998840332,
"start": 135,
"tag": "USERNAME",
"value": "mbostock"
},
{
"context": "]\n maxi = 0\n\n # From http://mbostock.gi... | app/assets/javascripts/projects.js.coffee | renchap/Minp | 1 | $( ->
m = [80, 20, 20, 20]
w = $(window).width() - m[1] - m[3]
h = $(window).height() - m[0] - m[2]
maxi = 0
# From http://mbostock.github.io/d3/talk/20111018/tree.html
# Initialize the display to show a few nodes.
update = (source) ->
duration = (if d3.event and d3.event.altKey then 5000 else 500)
... | 183146 | $( ->
m = [80, 20, 20, 20]
w = $(window).width() - m[1] - m[3]
h = $(window).height() - m[0] - m[2]
maxi = 0
# From http://mbostock.github.io/d3/talk/20111018/tree.html
# Initialize the display to show a few nodes.
update = (source) ->
duration = (if d3.event and d3.event.altKey then 5000 else 500)
... | true | $( ->
m = [80, 20, 20, 20]
w = $(window).width() - m[1] - m[3]
h = $(window).height() - m[0] - m[2]
maxi = 0
# From http://mbostock.github.io/d3/talk/20111018/tree.html
# Initialize the display to show a few nodes.
update = (source) ->
duration = (if d3.event and d3.event.altKey then 5000 else 500)
... |
[
{
"context": "ould.equal 'Person'\n json.name.should.equal 'Pablo Picasso'\n\n describe '#toJSONLDShort', ->\n\n it 'return",
"end": 2545,
"score": 0.9998411536216736,
"start": 2532,
"tag": "NAME",
"value": "Pablo Picasso"
},
{
"context": "ould.equal 'Person'\n json.nam... | src/desktop/test/models/artist.coffee | kanaabe/force | 1 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
rewire = require 'rewire'
{ fabricate } = require 'antigravity'
Artist = rewire '../../models/artist'
describe 'Artist', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@artist = new Artist fabricate 'artist'
afterEach ->
Ba... | 223225 | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
rewire = require 'rewire'
{ fabricate } = require 'antigravity'
Artist = rewire '../../models/artist'
describe 'Artist', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@artist = new Artist fabricate 'artist'
afterEach ->
Ba... | true | _ = require 'underscore'
sinon = require 'sinon'
Backbone = require 'backbone'
rewire = require 'rewire'
{ fabricate } = require 'antigravity'
Artist = rewire '../../models/artist'
describe 'Artist', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@artist = new Artist fabricate 'artist'
afterEach ->
Ba... |
[
{
"context": " current_user:\r\n id: '12345'\r\n name: '宋亮'\r\n deadline_time: new Date(new Date().getTime(",
"end": 344,
"score": 0.9137406349182129,
"start": 342,
"tag": "NAME",
"value": "宋亮"
}
] | vendor/assets/javascripts/lily-components/projects/kc/test-system/KcTest.Dispatcher.coffee | kc-train/mindpin-bootstrap-components | 0 | # 数据结构参考:
# http://markdown.4ye.me/OZqnksBw
# http://markdown.4ye.me/OZqnksBw/2
sample_seconds = 1 * 3600 + 14 * 60 + 58
# sample_seconds = 10
SAMPLE =
init_res:
status: 'NOT_START'
# status: 'RUNNING'
# status: 'FINISHED'
start_res:
status: 'RUNNING'
current_user:
id: ... | 202637 | # 数据结构参考:
# http://markdown.4ye.me/OZqnksBw
# http://markdown.4ye.me/OZqnksBw/2
sample_seconds = 1 * 3600 + 14 * 60 + 58
# sample_seconds = 10
SAMPLE =
init_res:
status: 'NOT_START'
# status: 'RUNNING'
# status: 'FINISHED'
start_res:
status: 'RUNNING'
current_user:
id: ... | true | # 数据结构参考:
# http://markdown.4ye.me/OZqnksBw
# http://markdown.4ye.me/OZqnksBw/2
sample_seconds = 1 * 3600 + 14 * 60 + 58
# sample_seconds = 10
SAMPLE =
init_res:
status: 'NOT_START'
# status: 'RUNNING'
# status: 'FINISHED'
start_res:
status: 'RUNNING'
current_user:
id: ... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.9998666048049927,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | shaders/PlanetfieldShader.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
frag = """
precision mediump float;
varying vec3 vUVA;
varying vec4 vColor;
void main(void) {
// compute planet color based on intensity = 1/dist^2 from center of sprite
vec2 dv = vUVA.xy;
float d = dot(dv, dv);
... | 15623 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
frag = """
precision mediump float;
varying vec3 vUVA;
varying vec4 vColor;
void main(void) {
// compute planet color based on intensity = 1/dist^2 from center of sprite
vec2 dv = vUVA.xy;
float d = dot(dv, dv);
float... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
frag = """
precision mediump float;
varying vec3 vUVA;
varying vec4 vColor;
void main(void) {
// compute planet color based on intensity = 1/dist^2 from center of sprite
vec2 dv = vUVA.xy;
float d = dot(d... |
[
{
"context": "ee'\n\n products = [\n # Pure\n {\n name: 'Браслет PureStrength'\n price: '749'\n price_old: '1 200'\n ",
"end": 660,
"score": 0.9869655966758728,
"start": 640,
"tag": "NAME",
"value": "Браслет PureStrength"
},
{
"context": "' }\n ]\n }\... | src/javascript/main.coffee | voodee/cepora | 0 | window.jQuery = window.$ = require 'jquery'
plugin = require 'plugin'
$(document).ready ->
require './lib/bootstrap.js'
# Team
if $('.team-slider').length
window.EventEmitter = require './lib/eventEmitter.js'
window.imagesLoaded = require './lib/imagesloaded.js'
require './lib/f... | 129244 | window.jQuery = window.$ = require 'jquery'
plugin = require 'plugin'
$(document).ready ->
require './lib/bootstrap.js'
# Team
if $('.team-slider').length
window.EventEmitter = require './lib/eventEmitter.js'
window.imagesLoaded = require './lib/imagesloaded.js'
require './lib/f... | true | window.jQuery = window.$ = require 'jquery'
plugin = require 'plugin'
$(document).ready ->
require './lib/bootstrap.js'
# Team
if $('.team-slider').length
window.EventEmitter = require './lib/eventEmitter.js'
window.imagesLoaded = require './lib/imagesloaded.js'
require './lib/f... |
[
{
"context": "### Gulp File by Ivan Vinogradov ###\n\ngulp = require 'gulp'\nstylus = require 'gulp",
"end": 32,
"score": 0.999852180480957,
"start": 17,
"tag": "NAME",
"value": "Ivan Vinogradov"
}
] | gulpfile.coffee | ivan-programmer/bagichev-trade | 0 | ### Gulp File by Ivan Vinogradov ###
gulp = require 'gulp'
stylus = require 'gulp-stylus'
coffee = require 'gulp-coffee'
mincss = require 'gulp-csso'
minjs = require 'gulp-uglify'
rename = require 'gulp-rename'
gulp.task 'minjs', ->
gulp.src './public/script.js'
.pipe minjs()
.on 'error', (err) ->
co... | 132346 | ### Gulp File by <NAME> ###
gulp = require 'gulp'
stylus = require 'gulp-stylus'
coffee = require 'gulp-coffee'
mincss = require 'gulp-csso'
minjs = require 'gulp-uglify'
rename = require 'gulp-rename'
gulp.task 'minjs', ->
gulp.src './public/script.js'
.pipe minjs()
.on 'error', (err) ->
console.err... | true | ### Gulp File by PI:NAME:<NAME>END_PI ###
gulp = require 'gulp'
stylus = require 'gulp-stylus'
coffee = require 'gulp-coffee'
mincss = require 'gulp-csso'
minjs = require 'gulp-uglify'
rename = require 'gulp-rename'
gulp.task 'minjs', ->
gulp.src './public/script.js'
.pipe minjs()
.on 'error', (err) ->
... |
[
{
"context": " meta.links[0].key\n assert.equal 'KLM-1196', meta.links[1].key\n ",
"end": 2218,
"score": 0.5374429821968079,
"start": 2215,
"tag": "KEY",
"value": "KLM"
},
{
"context": "e: 'SkyTeam', european: false}]\n ARG: [{name: 'Aerolíne... | spec/test_client.coffee | geeklist/riak-js-geeklist | 1 | vows = require 'vows'
assert = require 'assert'
api = process.env['RIAKJS_TEST_API'] or 'http'
db = require('../src/index').getClient({ api: api, debug: false })
client = require "./batch_#{api}"
suite = vows.describe "Riak #{api.toUpperCase()} API"
setupBatch =
'suite setup':
topic: ->
done = @... | 153759 | vows = require 'vows'
assert = require 'assert'
api = process.env['RIAKJS_TEST_API'] or 'http'
db = require('../src/index').getClient({ api: api, debug: false })
client = require "./batch_#{api}"
suite = vows.describe "Riak #{api.toUpperCase()} API"
setupBatch =
'suite setup':
topic: ->
done = @... | true | vows = require 'vows'
assert = require 'assert'
api = process.env['RIAKJS_TEST_API'] or 'http'
db = require('../src/index').getClient({ api: api, debug: false })
client = require "./batch_#{api}"
suite = vows.describe "Riak #{api.toUpperCase()} API"
setupBatch =
'suite setup':
topic: ->
done = @... |
[
{
"context": "to disallow whitespace before properties\n# @author Kai Cataldo\n###\n'use strict'\n\n#------------------------------",
"end": 88,
"score": 0.9998465776443481,
"start": 77,
"tag": "NAME",
"value": "Kai Cataldo"
}
] | src/rules/no-whitespace-before-property.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to disallow whitespace before properties
# @author Kai Cataldo
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslint-ast-uti... | 198323 | ###*
# @fileoverview Rule to disallow whitespace before properties
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslint-ast-utils'
... | true | ###*
# @fileoverview Rule to disallow whitespace before properties
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslin... |
[
{
"context": "re('created_at', '>', '2017-03-01') # 'username':'raithe'\n\t\tlistName = \"DUELYST BETA Requests\"\n\n\t\tif not a",
"end": 20075,
"score": 0.9994218945503235,
"start": 20069,
"tag": "USERNAME",
"value": "raithe"
},
{
"context": "s:\n\t\t\t\t\t\t\t\tUSERID:row[\"id\"]\... | cli/crm.coffee | willroberts/duelyst | 5 | # libraries
path = require('path')
require('app-module-path').addPath(path.join(__dirname, '..'))
program = require('vorpal')()
Promise = require 'bluebird'
moment = require 'moment'
ProgressBar = require 'progress'
config = null
inquirerPromisifed = require 'bluebird-inquirer'
inquirer = require 'inquirer'
colors = re... | 120220 | # libraries
path = require('path')
require('app-module-path').addPath(path.join(__dirname, '..'))
program = require('vorpal')()
Promise = require 'bluebird'
moment = require 'moment'
ProgressBar = require 'progress'
config = null
inquirerPromisifed = require 'bluebird-inquirer'
inquirer = require 'inquirer'
colors = re... | true | # libraries
path = require('path')
require('app-module-path').addPath(path.join(__dirname, '..'))
program = require('vorpal')()
Promise = require 'bluebird'
moment = require 'moment'
ProgressBar = require 'progress'
config = null
inquirerPromisifed = require 'bluebird-inquirer'
inquirer = require 'inquirer'
colors = re... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998537302017212,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/util/noise.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 68536 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "nd google closure javascript libraries \n\n @author Mads Hartmann Jensen (mads379@gmail.com)\n### \n\n###* \n Global name-spa",
"end": 283,
"score": 0.9998807907104492,
"start": 263,
"tag": "NAME",
"value": "Mads Hartmann Jensen"
},
{
"context": "cript libraries \n\n ... | src/Mugs.coffee | mads-hartmann/mugs | 1 | ###*
This is the base file of the mugs library. It declares the mugs namespace and
includes support for dynamic dependency management. It is largely inspired by
the base.js in both js_cols (jscols.com) and google closure javascript libraries
@author Mads Hartmann Jensen (mads379@gmail.com)
###
###*
Gl... | 54066 | ###*
This is the base file of the mugs library. It declares the mugs namespace and
includes support for dynamic dependency management. It is largely inspired by
the base.js in both js_cols (jscols.com) and google closure javascript libraries
@author <NAME> (<EMAIL>)
###
###*
Global name-space for the ... | true | ###*
This is the base file of the mugs library. It declares the mugs namespace and
includes support for dynamic dependency management. It is largely inspired by
the base.js in both js_cols (jscols.com) and google closure javascript libraries
@author PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
###
###* ... |
[
{
"context": "szczenie zapisanej nazwy użytkownika\n $username = null\n\n#\n# Okno dialogowe przypisania/edycji pomiaru\n#\n",
"end": 6343,
"score": 0.6832762360572815,
"start": 6339,
"tag": "USERNAME",
"value": "null"
},
{
"context": " <label class=\"col-xs-4 control-lab... | src/main/webapp/resources/media/js/scripts.coffee | tomekby/ipmed-webapp | 0 | $logout_after = 30
$updaters_refresh_after = 30
# Poniższe 2 zmienne są ustawiane przez task na podstawie pliku properties
# Czas w minutach od ostatniej aktywności po którym nastąpi automatyczne wylogowanie
#$logout_after
# Czas w sekundach po jakim mają być odświeżone funkcje sprawdzające ilość nowości
#$updaters_ref... | 21259 | $logout_after = 30
$updaters_refresh_after = 30
# Poniższe 2 zmienne są ustawiane przez task na podstawie pliku properties
# Czas w minutach od ostatniej aktywności po którym nastąpi automatyczne wylogowanie
#$logout_after
# Czas w sekundach po jakim mają być odświeżone funkcje sprawdzające ilość nowości
#$updaters_ref... | true | $logout_after = 30
$updaters_refresh_after = 30
# Poniższe 2 zmienne są ustawiane przez task na podstawie pliku properties
# Czas w minutach od ostatniej aktywności po którym nastąpi automatyczne wylogowanie
#$logout_after
# Czas w sekundach po jakim mają być odświeżone funkcje sprawdzające ilość nowości
#$updaters_ref... |
[
{
"context": " @fileoverview Tests for use-isnan rule.\n# @author James Allardice, Michael Paulukonis\n###\n\n'use strict'\n\n#---------",
"end": 72,
"score": 0.9998435378074646,
"start": 57,
"tag": "NAME",
"value": "James Allardice"
},
{
"context": "sts for use-isnan rule.\n# @autho... | src/tests/rules/use-isnan.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for use-isnan rule.
# @author James Allardice, Michael Paulukonis
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/use-... | 144795 | ###*
# @fileoverview Tests for use-isnan rule.
# @author <NAME>, <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/use-isnan'
{RuleTester} =... | true | ###*
# @fileoverview Tests for use-isnan rule.
# @author PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rul... |
[
{
"context": "nitors usage of shorthand `@` for `this`\n# @author Julian Rosse\n###\n'use strict'\n\nisProperty = (node) ->\n {paren",
"end": 96,
"score": 0.9998721480369568,
"start": 84,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/shorthand-this.coffee | danielbayley/eslint-plugin-coffee | 0 | ###*
# @fileoverview This rule monitors usage of shorthand `@` for `this`
# @author Julian Rosse
###
'use strict'
isProperty = (node) ->
{parent} = node
parent.type is 'MemberExpression' and node is parent.object
isThisParam = (node) ->
return no unless isProperty node
{parent} = node
parent.parent.type is ... | 222993 | ###*
# @fileoverview This rule monitors usage of shorthand `@` for `this`
# @author <NAME>
###
'use strict'
isProperty = (node) ->
{parent} = node
parent.type is 'MemberExpression' and node is parent.object
isThisParam = (node) ->
return no unless isProperty node
{parent} = node
parent.parent.type is 'Funct... | true | ###*
# @fileoverview This rule monitors usage of shorthand `@` for `this`
# @author PI:NAME:<NAME>END_PI
###
'use strict'
isProperty = (node) ->
{parent} = node
parent.type is 'MemberExpression' and node is parent.object
isThisParam = (node) ->
return no unless isProperty node
{parent} = node
parent.parent.... |
[
{
"context": " port: 21\n authKey: \"<%= pkg.name %>\"\n src: \"dist/docs\"\n ",
"end": 4460,
"score": 0.6742109656333923,
"start": 4456,
"tag": "KEY",
"value": "name"
},
{
"context": " port: 21\n authKey: \"<%= pkg... | Gruntfile.coffee | rlugojr/tinycarousel | 79 | module.exports = ( grunt ) ->
grunt.loadNpmTasks "grunt-contrib-clean"
grunt.loadNpmTasks "grunt-contrib-compress"
grunt.loadNpmTasks "grunt-contrib-copy"
grunt.loadNpmTasks "grunt-contrib-jshint"
grunt.loadNpmTasks "grunt-contrib-uglify"
grunt.loadNpmTasks "grunt-contrib-yuidoc"
grunt.load... | 21864 | module.exports = ( grunt ) ->
grunt.loadNpmTasks "grunt-contrib-clean"
grunt.loadNpmTasks "grunt-contrib-compress"
grunt.loadNpmTasks "grunt-contrib-copy"
grunt.loadNpmTasks "grunt-contrib-jshint"
grunt.loadNpmTasks "grunt-contrib-uglify"
grunt.loadNpmTasks "grunt-contrib-yuidoc"
grunt.load... | true | module.exports = ( grunt ) ->
grunt.loadNpmTasks "grunt-contrib-clean"
grunt.loadNpmTasks "grunt-contrib-compress"
grunt.loadNpmTasks "grunt-contrib-copy"
grunt.loadNpmTasks "grunt-contrib-jshint"
grunt.loadNpmTasks "grunt-contrib-uglify"
grunt.loadNpmTasks "grunt-contrib-yuidoc"
grunt.load... |
[
{
"context": " region: \"NY\"\n postal_code: '10012'\n name: 'Artsy'\n street: '401 Broadway'\n\ndescribe \"Shipping T",
"end": 515,
"score": 0.998954713344574,
"start": 510,
"tag": "NAME",
"value": "Artsy"
}
] | src/desktop/apps/order/test/templates.coffee | kanaabe/force | 1 | jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Order = require '../../../models/order'
cheerio = require 'cheerio'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
f... | 157410 | jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Order = require '../../../models/order'
cheerio = require 'cheerio'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
f... | true | jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Order = require '../../../models/order'
cheerio = require 'cheerio'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
f... |
[
{
"context": "\\]/\"'\\*=~\\-\\u2013\\u2014])|$)///gi\n\t,\n\t\tosis: [\"Jonah\"]\n\t\tregexp: ///(^|#{bcv_parser::regexps.pre_book}",
"end": 12750,
"score": 0.5974192023277283,
"start": 12748,
"tag": "NAME",
"value": "ah"
},
{
"context": "ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])(\n\t\t(?:1(?:... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/no/regexps.coffee | saiba-mais/bible-lessons | 149 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | 78209 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | true | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... |
[
{
"context": "*\n# @fileoverview Disallow sparse arrays\n# @author Nicholas C. Zakas\n###\n'use strict'\n\n#------------------------------",
"end": 71,
"score": 0.999825119972229,
"start": 54,
"tag": "NAME",
"value": "Nicholas C. Zakas"
}
] | src/tests/rules/no-sparse-arrays.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallow sparse arrays
# @author Nicholas C. Zakas
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-sparse-arrays'
{Ru... | 221512 | ###*
# @fileoverview Disallow sparse arrays
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-sparse-arrays'
{RuleTester} =... | true | ###*
# @fileoverview Disallow sparse arrays
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-sparse-arrays'
... |
[
{
"context": "# A browser library \n#\n# @author Fleming Slone\n# @since 6/29/2015\n\n((root, factory) ->\n\troot.hig",
"end": 46,
"score": 0.9998572468757629,
"start": 33,
"tag": "NAME",
"value": "Fleming Slone"
}
] | src/highbrow.coffee | fslone/highbrow | 2 | # A browser library
#
# @author Fleming Slone
# @since 6/29/2015
((root, factory) ->
root.highbrow = factory(root.highbrow)
)(@,
->(highbrow)
root = @ || global
w = window
highbrow = {}
highbrow =
uA: window.navigator.userAgent.toLowerCase()
do:
alert: (msg) -> w.alert(msg)
addEventListener: (e,fnc)... | 122668 | # A browser library
#
# @author <NAME>
# @since 6/29/2015
((root, factory) ->
root.highbrow = factory(root.highbrow)
)(@,
->(highbrow)
root = @ || global
w = window
highbrow = {}
highbrow =
uA: window.navigator.userAgent.toLowerCase()
do:
alert: (msg) -> w.alert(msg)
addEventListener: (e,fnc) -> w.d... | true | # A browser library
#
# @author PI:NAME:<NAME>END_PI
# @since 6/29/2015
((root, factory) ->
root.highbrow = factory(root.highbrow)
)(@,
->(highbrow)
root = @ || global
w = window
highbrow = {}
highbrow =
uA: window.navigator.userAgent.toLowerCase()
do:
alert: (msg) -> w.alert(msg)
addEventListener: ... |
[
{
"context": "ºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])(\n\t\t(?:3John)|(?:Dritte[\\s\\xa0]*Johannes|3(?:\\.?[\\s\\xa0]*Johannes|\\.?[\\s\\",
"end": 15297,
"score": 0.8982412815093994,
"start": 15291,
"tag": "NAME",
"value": "Dritte"
},
{
"context": "ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])(\n\t\t(?:3John)|(?:Dritte... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/de/regexps.coffee | saiba-mais/bible-lessons | 0 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | 45121 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | true | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9757969975471497,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "ar\"\n path: \"/foo/bar?baz=quux\"\n\n \"//user:pass@example.com:8000/foo/bar?baz=quux#fra... | test/simple/test-url.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... | 56606 | # 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": " = op:\n limitKey: 'Limit'\n inputToken: 'Marker'\n outputToken: 'Marker'\n resultKey: 'Re",
"end": 987,
"score": 0.45407623052597046,
"start": 981,
"tag": "PASSWORD",
"value": "Marker"
},
{
"context": "t'\n inputToken: 'Marker'\n outputTok... | node_modules/aws-sdk/test/response.spec.coffee | Nordstrom/banquo-server | 2 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | 63324 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | true | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... |
[
{
"context": "ss Vampire extends Race\n key: 'vampire'\n name: 'vampire'\n\n alignments: ['evil']\n rarity: ['uncommon'",
"end": 57,
"score": 0.8117563724517822,
"start": 53,
"tag": "NAME",
"value": "vamp"
}
] | js/races/vampire.coffee | ktchernov/7drl-lion.github.io | 27 | class Vampire extends Race
key: 'vampire'
name: 'vampire'
alignments: ['evil']
rarity: ['uncommon', 'rare']
base_hp: 15
base_mp: 15
base_speed: 120
base_attack: 15
base_sight_range: 10
for_player: false
can_get_through_rubble: true
skills: []
register_race Vampire
| 155603 | class Vampire extends Race
key: 'vampire'
name: '<NAME>ire'
alignments: ['evil']
rarity: ['uncommon', 'rare']
base_hp: 15
base_mp: 15
base_speed: 120
base_attack: 15
base_sight_range: 10
for_player: false
can_get_through_rubble: true
skills: []
register_race Vampire
| true | class Vampire extends Race
key: 'vampire'
name: 'PI:NAME:<NAME>END_PIire'
alignments: ['evil']
rarity: ['uncommon', 'rare']
base_hp: 15
base_mp: 15
base_speed: 120
base_attack: 15
base_sight_range: 10
for_player: false
can_get_through_rubble: true
skills: []
register_race Vampire
|
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998432993888855,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/geometry/primitive.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 48681 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "l (data.coffee)\n#\n# Air Sciences Inc. - 2016\n# Jacob Fielding\n#\n\nwindow.Plotter ||= {}\n\nwindow.Plotter.Data = c",
"end": 141,
"score": 0.999803364276886,
"start": 127,
"tag": "NAME",
"value": "Jacob Fielding"
}
] | coffee/data.coffee | airsciences/metplotter | 0 | #
# Northwest Avalanche Center (NWAC)
# Plotter Tools - Data Process Tool (data.coffee)
#
# Air Sciences Inc. - 2016
# Jacob Fielding
#
window.Plotter ||= {}
window.Plotter.Data = class Data
constructor: (data) ->
@preError = "Plotter.Data."
preError = "#{@preError}.constructor(...)"
if data not... | 64373 | #
# Northwest Avalanche Center (NWAC)
# Plotter Tools - Data Process Tool (data.coffee)
#
# Air Sciences Inc. - 2016
# <NAME>
#
window.Plotter ||= {}
window.Plotter.Data = class Data
constructor: (data) ->
@preError = "Plotter.Data."
preError = "#{@preError}.constructor(...)"
if data not instanc... | true | #
# Northwest Avalanche Center (NWAC)
# Plotter Tools - Data Process Tool (data.coffee)
#
# Air Sciences Inc. - 2016
# PI:NAME:<NAME>END_PI
#
window.Plotter ||= {}
window.Plotter.Data = class Data
constructor: (data) ->
@preError = "Plotter.Data."
preError = "#{@preError}.constructor(...)"
if da... |
[
{
"context": "post '/change-password', {_token: token, password: password} , (json) ->\n if !json.success\n toast",
"end": 1130,
"score": 0.9978502988815308,
"start": 1122,
"tag": "PASSWORD",
"value": "password"
}
] | resources/assets/coffee/change-password.coffee | suditugeorge/dorminator | 0 | showSpinner = ->
$('#change-password').addClass('hidden')
$('.spinner-wrap').removeClass('hidden')
return
hideSpinner = ->
$('#change-password').removeClass('hidden')
$('.spinner-wrap').addClass('hidden')
return
$ ->
$('#change-password').click (e) ->
e.preventDefault();
$('#password').removeClas... | 44007 | showSpinner = ->
$('#change-password').addClass('hidden')
$('.spinner-wrap').removeClass('hidden')
return
hideSpinner = ->
$('#change-password').removeClass('hidden')
$('.spinner-wrap').addClass('hidden')
return
$ ->
$('#change-password').click (e) ->
e.preventDefault();
$('#password').removeClas... | true | showSpinner = ->
$('#change-password').addClass('hidden')
$('.spinner-wrap').removeClass('hidden')
return
hideSpinner = ->
$('#change-password').removeClass('hidden')
$('.spinner-wrap').addClass('hidden')
return
$ ->
$('#change-password').click (e) ->
e.preventDefault();
$('#password').removeClas... |
[
{
"context": "ist + '/' + filePath\n auth:\n user: subject\n pass: process.env.BINTRAY_API_KEY\n ",
"end": 1514,
"score": 0.699453592300415,
"start": 1507,
"tag": "USERNAME",
"value": "subject"
},
{
"context": "h:\n user: subject\n pass:... | tasks/publish.coffee | Hadisaeed/test-build | 0 | gulp = require 'gulp'
path = require 'path'
fs = require 'fs'
async = require 'async'
githubRelease = require 'gulp-github-release'
request = require 'request'
manifest = require '../src/package.json'
mainManifest = require '../package.json'
args = require './args'
# Upload every file in ./dist to GitHub
gulp.task '... | 102639 | gulp = require 'gulp'
path = require 'path'
fs = require 'fs'
async = require 'async'
githubRelease = require 'gulp-github-release'
request = require 'request'
manifest = require '../src/package.json'
mainManifest = require '../package.json'
args = require './args'
# Upload every file in ./dist to GitHub
gulp.task '... | true | gulp = require 'gulp'
path = require 'path'
fs = require 'fs'
async = require 'async'
githubRelease = require 'gulp-github-release'
request = require 'request'
manifest = require '../src/package.json'
mainManifest = require '../package.json'
args = require './args'
# Upload every file in ./dist to GitHub
gulp.task '... |
[
{
"context": "##\nfile.coffee\nCopyright.novaextension\n\nCreated by Tommaso Negri on 07/11/20.\n###\n",
"end": 65,
"score": 0.999889075756073,
"start": 52,
"tag": "NAME",
"value": "Tommaso Negri"
}
] | Copyright.novaextension/Tests/file.coffee | tommasongr/nova-copyright | 1 | ###
file.coffee
Copyright.novaextension
Created by Tommaso Negri on 07/11/20.
###
| 156570 | ###
file.coffee
Copyright.novaextension
Created by <NAME> on 07/11/20.
###
| true | ###
file.coffee
Copyright.novaextension
Created by PI:NAME:<NAME>END_PI on 07/11/20.
###
|
[
{
"context": "###\n * cena_auth\n * https://github.com/1egoman/cena_app\n *\n * Copyright (c) 2015 Ryan Gaus\n * Li",
"end": 46,
"score": 0.9989848136901855,
"start": 39,
"tag": "USERNAME",
"value": "1egoman"
},
{
"context": "thub.com/1egoman/cena_app\n *\n * Copyright (c) 2015 Ryan ... | src/index.coffee | 1egoman/cena_app | 0 | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
'use strict';
app = (require "express")()
app.set "view engine", "ejs"
passport = require "passport"
flash = require "flash"
path = require "path"
bodyParser = require "body-parser"
express... | 57797 | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
'use strict';
app = (require "express")()
app.set "view engine", "ejs"
passport = require "passport"
flash = require "flash"
path = require "path"
bodyParser = require "body-parser"
expressSes... | true | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
'use strict';
app = (require "express")()
app.set "view engine", "ejs"
passport = require "passport"
flash = require "flash"
path = require "path"
bodyParser = require "body-pars... |
[
{
"context": "= Statistics.globalStats\n $scope.sortChampKey = 'winRate'\n $scope.reverse = true\n $scope.statsView = 'ch",
"end": 323,
"score": 0.9965567588806152,
"start": 316,
"tag": "KEY",
"value": "winRate"
},
{
"context": "ame)->\n if urlname is 'flame'\n urlname = '... | client/app/leaderboard/leaderboard.controller.coffee | johnttan/spicybattle | 0 | 'use strict'
angular.module 'spicyPartyApp'
.controller 'LeaderboardCtrl', ($scope, $rootScope, Statistics) ->
console.log 'leaderboardctrl'
Statistics.getEloLeaderboard()
Statistics.getGlobalStats()
$scope.leaders = Statistics.leaders
$scope.globalStats = Statistics.globalStats
$scope.sortChampKey = 'winR... | 225347 | 'use strict'
angular.module 'spicyPartyApp'
.controller 'LeaderboardCtrl', ($scope, $rootScope, Statistics) ->
console.log 'leaderboardctrl'
Statistics.getEloLeaderboard()
Statistics.getGlobalStats()
$scope.leaders = Statistics.leaders
$scope.globalStats = Statistics.globalStats
$scope.sortChampKey = '<KEY... | true | 'use strict'
angular.module 'spicyPartyApp'
.controller 'LeaderboardCtrl', ($scope, $rootScope, Statistics) ->
console.log 'leaderboardctrl'
Statistics.getEloLeaderboard()
Statistics.getGlobalStats()
$scope.leaders = Statistics.leaders
$scope.globalStats = Statistics.globalStats
$scope.sortChampKey = 'PI:K... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\n# Focused when in item mod",
"end": 35,
"score": 0.9997143745422363,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/editor/outline-editor-focus-element.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
# Focused when in item mode so that cut, copy, and paste will work. But
# causes problems in languages with input managers...
class FocusElement extends HTMLInputElement
constructor: ->
super()
@value = '.'
@_resetInput =>
@value = '.'
cr... | 114495 | # Copyright (c) 2015 <NAME>. All rights reserved.
# Focused when in item mode so that cut, copy, and paste will work. But
# causes problems in languages with input managers...
class FocusElement extends HTMLInputElement
constructor: ->
super()
@value = '.'
@_resetInput =>
@value = '.'
createdCal... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
# Focused when in item mode so that cut, copy, and paste will work. But
# causes problems in languages with input managers...
class FocusElement extends HTMLInputElement
constructor: ->
super()
@value = '.'
@_resetInput =>
@value = '.'... |
[
{
"context": "###\n mixin-js-timeouts.js 0.1.5\n (c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/mixin/\n License: M",
"end": 64,
"score": 0.9998480081558228,
"start": 50,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "js 0.1.5\n (c) 2011, 2012 Kevin Malako... | src/lib/mixin-js-timeouts.coffee | kmalakoff/mixin | 14 | ###
mixin-js-timeouts.js 0.1.5
(c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
Mixin.Timeouts or= {}
Mixin.Timeouts._mixin_info =
mixin_name: 'Timeouts'
initialize: ->
Mixin.instanceData(t... | 19256 | ###
mixin-js-timeouts.js 0.1.5
(c) 2011, 2012 <NAME> - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
Mixin.Timeouts or= {}
Mixin.Timeouts._mixin_info =
mixin_name: 'Timeouts'
initialize: ->
Mixin.instanceData(this, 'Ti... | true | ###
mixin-js-timeouts.js 0.1.5
(c) 2011, 2012 PI:NAME:<NAME>END_PI - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
Mixin.Timeouts or= {}
Mixin.Timeouts._mixin_info =
mixin_name: 'Timeouts'
initialize: ->
Mixin.instance... |
[
{
"context": "# Droplet C mode\n#\n# Copyright (c) 2015 Anthony Bau\n# MIT License\n\nhelper = require '../helper.coffee",
"end": 51,
"score": 0.9998523592948914,
"start": 40,
"tag": "NAME",
"value": "Anthony Bau"
}
] | src/languages/c.coffee | sanyaade-teachings/spresensedroplet | 3 | # Droplet C mode
#
# Copyright (c) 2015 Anthony Bau
# MIT License
helper = require '../helper.coffee'
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
model = require '../model.coffee'
{fixQuotedString, looseCUnescape, quoteAndCEscape} = helper
ADD_BUTTON = [
{
key: 'add-button'
... | 151505 | # Droplet C mode
#
# Copyright (c) 2015 <NAME>
# MIT License
helper = require '../helper.coffee'
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
model = require '../model.coffee'
{fixQuotedString, looseCUnescape, quoteAndCEscape} = helper
ADD_BUTTON = [
{
key: 'add-button'
glyp... | true | # Droplet C mode
#
# Copyright (c) 2015 PI:NAME:<NAME>END_PI
# MIT License
helper = require '../helper.coffee'
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
model = require '../model.coffee'
{fixQuotedString, looseCUnescape, quoteAndCEscape} = helper
ADD_BUTTON = [
{
key: 'add-bu... |
[
{
"context": "\"jQuery\", \"AJAX\", \"SCSS\"]\n ,\n _id: 4, title:\"Dixon Family\", hasLink:true, url: \"http://dixon.meteo",
"end": 850,
"score": 0.5688984990119934,
"start": 848,
"tag": "NAME",
"value": "ix"
},
{
"context": "ery\", \"AJAX\", \"SCSS\"]\n ,\n _id: 4, title:\"... | portfolio.coffee | zachdixon/portfolio | 0 | if Meteor.isClient
projects = [
_id: 1, title:"SocialCentiv", hasLink:true, url:"http://socialcentiv.com", link: "http://socialcentiv.com", imgSrc:"/images/socialcentiv.png", description:"Lead generation with Twitter marketing for small businesses", skills:["BatmanJS", "CoffeeScript", "SCSS", "jQuery", "MVC", "RE... | 65407 | if Meteor.isClient
projects = [
_id: 1, title:"SocialCentiv", hasLink:true, url:"http://socialcentiv.com", link: "http://socialcentiv.com", imgSrc:"/images/socialcentiv.png", description:"Lead generation with Twitter marketing for small businesses", skills:["BatmanJS", "CoffeeScript", "SCSS", "jQuery", "MVC", "RE... | true | if Meteor.isClient
projects = [
_id: 1, title:"SocialCentiv", hasLink:true, url:"http://socialcentiv.com", link: "http://socialcentiv.com", imgSrc:"/images/socialcentiv.png", description:"Lead generation with Twitter marketing for small businesses", skills:["BatmanJS", "CoffeeScript", "SCSS", "jQuery", "MVC", "RE... |
[
{
"context": "modelDefs.add\n\n id: '6ee7289c-6eb6-4239-9fe1-5ded5dd511e4'\n name: 'Relative Importance'\n version: '1.0'\n ",
"end": 58,
"score": 0.8973156809806824,
"start": 22,
"tag": "PASSWORD",
"value": "6ee7289c-6eb6-4239-9fe1-5ded5dd511e4"
},
{
"context": ": '6ee7289c-6eb6-... | app/coffee/modelDefs/weightedAspectsModel.coffee | mathewsk/cypress-example-piechopper | 17 | modelDefs.add
id: '6ee7289c-6eb6-4239-9fe1-5ded5dd511e4'
name: 'Relative Importance'
version: '1.0'
image: 'weightedAspectsModel.png'
target: "If you want something quick and simple"
priority: 30
desc: """
<p>This method considers relative importance of various aspect related to establishing a comp... | 187788 | modelDefs.add
id: '<PASSWORD>'
name: '<NAME> Importance'
version: '1.0'
image: 'weightedAspectsModel.png'
target: "If you want something quick and simple"
priority: 30
desc: """
<p>This method considers relative importance of various aspect related to establishing a company. It's quick to fill, tho... | true | modelDefs.add
id: 'PI:PASSWORD:<PASSWORD>END_PI'
name: 'PI:NAME:<NAME>END_PI Importance'
version: '1.0'
image: 'weightedAspectsModel.png'
target: "If you want something quick and simple"
priority: 30
desc: """
<p>This method considers relative importance of various aspect related to establishing a ... |
[
{
"context": "rs without native support\n * by Opera engineer Erik Möller\n * \n * @method polyFill\n * \n ###\n",
"end": 1731,
"score": 0.999731183052063,
"start": 1720,
"tag": "NAME",
"value": "Erik Möller"
}
] | src/counter.coffee | KyleNeedham/countUp | 2 |
((root, factory) ->
if typeof define is 'function' and define.amd
define ->
factory root
else
root.Counter = factory(root)
) @, (root) ->
class Counter
@VERSION: '0.1.2'
@DEFAULTS:
autostart: no
easing: yes
grouping: yes
separator: ','
decimal: '.'
pre... | 198315 |
((root, factory) ->
if typeof define is 'function' and define.amd
define ->
factory root
else
root.Counter = factory(root)
) @, (root) ->
class Counter
@VERSION: '0.1.2'
@DEFAULTS:
autostart: no
easing: yes
grouping: yes
separator: ','
decimal: '.'
pre... | true |
((root, factory) ->
if typeof define is 'function' and define.amd
define ->
factory root
else
root.Counter = factory(root)
) @, (root) ->
class Counter
@VERSION: '0.1.2'
@DEFAULTS:
autostart: no
easing: yes
grouping: yes
separator: ','
decimal: '.'
pre... |
[
{
"context": " \"email: #{process.env.ADMIN_EMAIL} | password: #{process.env.ADMIN_PASS}\".red\n\n\t\t\t\t\t\tid = Meteor.users.insert\n\t\t\t\t\t\t\tcrea",
"end": 829,
"score": 0.8350006937980652,
"start": 807,
"tag": "PASSWORD",
"value": "process.env.ADMIN_PASS"
},
{
"context": "IL... | server/startup/initialData.coffee | icaromh/Rocket.Chat | 0 | Meteor.startup ->
Meteor.defer ->
# Insert server unique id if it doesn't exist
if not Settings.findOne { _id: 'uniqueID' }
Settings.insert
_id: 'uniqueID'
value: Random.id()
if not ChatRoom.findOne('name': 'general')?
ChatRoom.insert
_id: 'GENERAL'
default: true
usernames: []
ts: ... | 3534 | Meteor.startup ->
Meteor.defer ->
# Insert server unique id if it doesn't exist
if not Settings.findOne { _id: 'uniqueID' }
Settings.insert
_id: 'uniqueID'
value: Random.id()
if not ChatRoom.findOne('name': 'general')?
ChatRoom.insert
_id: 'GENERAL'
default: true
usernames: []
ts: ... | true | Meteor.startup ->
Meteor.defer ->
# Insert server unique id if it doesn't exist
if not Settings.findOne { _id: 'uniqueID' }
Settings.insert
_id: 'uniqueID'
value: Random.id()
if not ChatRoom.findOne('name': 'general')?
ChatRoom.insert
_id: 'GENERAL'
default: true
usernames: []
ts: ... |
[
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed under the Apach",
"end": 35,
"score": 0.9998356103897095,
"start": 24,
"tag": "NAME",
"value": "Dan Elliott"
},
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed ... | clients/www/src/coffee/isadore_graphs/HeatmapGraph.coffee | bluthen/isadore_server | 0 | # Copyright 2010-2019 Dan Elliott, Russell Valentine
#
# 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 appl... | 36911 | # Copyright 2010-2019 <NAME>, <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | true | # Copyright 2010-2019 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998361468315125,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | src/Utility.coffee | sjorek/goatee-rules.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
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 cond... | 221384 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
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 ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": "k email addresses which contains\n plus in it like acet+fatih@gmail.com. It's valid email bug my RegExp sucks!\n\n @export",
"end": 1206,
"score": 0.9994199275970459,
"start": 1186,
"tag": "EMAIL",
"value": "acet+fatih@gmail.com"
}
] | src/lib/validation/validation.coffee | dashersw/spark | 1 | goog.provide 'spark.validation'
###*
Validates the given string has length.
@export
@param {string} value The string to be tested.
@return {boolean} The validation result.
###
spark.validation.isText = (value) ->
if spark.validation.isString value
return value.length > 0
return no
###*
Validates... | 50368 | goog.provide 'spark.validation'
###*
Validates the given string has length.
@export
@param {string} value The string to be tested.
@return {boolean} The validation result.
###
spark.validation.isText = (value) ->
if spark.validation.isString value
return value.length > 0
return no
###*
Validates... | true | goog.provide 'spark.validation'
###*
Validates the given string has length.
@export
@param {string} value The string to be tested.
@return {boolean} The validation result.
###
spark.validation.isText = (value) ->
if spark.validation.isString value
return value.length > 0
return no
###*
Validates... |
[
{
"context": " [\n _.extend(fabricate 'artist', id: 'andy', name: 'Andy')\n _.extend(fabricate 'art",
"end": 2384,
"score": 0.9944289922714233,
"start": 2380,
"tag": "NAME",
"value": "andy"
},
{
"context": " _.extend(fabricate 'artist', id: 'andy', name: 'Andy')... | src/client/test/models/article.test.coffee | craigspaeth/positron | 0 | _ = require 'underscore'
Backbone = require 'backbone'
fixtures = require '../../../test/helpers/fixtures'
rewire = require 'rewire'
Article = rewire '../../models/article.coffee'
sinon = require 'sinon'
{ fabricate } = require 'antigravity'
fixtures = require '../../../test/helpers/fixtures'
moment = require 'moment'
... | 170945 | _ = require 'underscore'
Backbone = require 'backbone'
fixtures = require '../../../test/helpers/fixtures'
rewire = require 'rewire'
Article = rewire '../../models/article.coffee'
sinon = require 'sinon'
{ fabricate } = require 'antigravity'
fixtures = require '../../../test/helpers/fixtures'
moment = require 'moment'
... | true | _ = require 'underscore'
Backbone = require 'backbone'
fixtures = require '../../../test/helpers/fixtures'
rewire = require 'rewire'
Article = rewire '../../models/article.coffee'
sinon = require 'sinon'
{ fabricate } = require 'antigravity'
fixtures = require '../../../test/helpers/fixtures'
moment = require 'moment'
... |
[
{
"context": "ength: true\n \"exception-reporting\":\n userId: \"ccc4f4c4-2aaa-45e6-a2b6-4ce1cc337a9d\"\n welcome:\n showOnStartup: false\n",
"end": 300,
"score": 0.8364142179489136,
"start": 264,
"tag": "PASSWORD",
"value": "ccc4f4c4-2aaa-45e6-a2b6-4ce1cc337a9d"
}
] | config.cson | lilu/.atom | 0 | "*":
core:
autoHideMenuBar: true
disabledPackages: [
"minimap"
]
projectHome: "/home/lilu/Documents"
telemetryConsent: "limited"
editor:
softWrap: true
softWrapAtPreferredLineLength: true
"exception-reporting":
userId: "ccc4f4c4-2aaa-45e6-a2b6-4ce1cc337a9d"
welcome:
sho... | 2097 | "*":
core:
autoHideMenuBar: true
disabledPackages: [
"minimap"
]
projectHome: "/home/lilu/Documents"
telemetryConsent: "limited"
editor:
softWrap: true
softWrapAtPreferredLineLength: true
"exception-reporting":
userId: "<PASSWORD>"
welcome:
showOnStartup: false
| true | "*":
core:
autoHideMenuBar: true
disabledPackages: [
"minimap"
]
projectHome: "/home/lilu/Documents"
telemetryConsent: "limited"
editor:
softWrap: true
softWrapAtPreferredLineLength: true
"exception-reporting":
userId: "PI:PASSWORD:<PASSWORD>END_PI"
welcome:
showOnStart... |
[
{
"context": "ne.Model\n model.set(\n id: 10\n name: \"Wages\"\n net: \"5423.23\"\n received: \"5423.23\"\n ",
"end": 367,
"score": 0.9994491338729858,
"start": 362,
"tag": "NAME",
"value": "Wages"
}
] | spec/javascripts/dot_ledger/views/reports/income_and_expenses/table_row_spec.js.coffee | malclocke/dotledger | 0 | describe "DotLedger.Views.Reports.IncomeAndExpenses.TableRow", ->
spentBalance = ->
model = new Backbone.Model
model.set(
id: 10
name: "Bank Charges"
net: "-27.23"
received: "0.0"
spent: "27.23"
type: "Essential"
)
reveivedBalance = ->
model = new Backbone.Model... | 224284 | describe "DotLedger.Views.Reports.IncomeAndExpenses.TableRow", ->
spentBalance = ->
model = new Backbone.Model
model.set(
id: 10
name: "Bank Charges"
net: "-27.23"
received: "0.0"
spent: "27.23"
type: "Essential"
)
reveivedBalance = ->
model = new Backbone.Model... | true | describe "DotLedger.Views.Reports.IncomeAndExpenses.TableRow", ->
spentBalance = ->
model = new Backbone.Model
model.set(
id: 10
name: "Bank Charges"
net: "-27.23"
received: "0.0"
spent: "27.23"
type: "Essential"
)
reveivedBalance = ->
model = new Backbone.Model... |
[
{
"context": "JavaScript code here\n\n\t\t\t\"\"\"\n\n\t\tproject =\n\t\t\tname: projectName\n\t\t\tdescription: projectDescription\n\t\t\teditors: [ ",
"end": 633,
"score": 0.99418044090271,
"start": 622,
"tag": "NAME",
"value": "projectName"
}
] | server/serverMethods.coffee | Coding4KidsAT/coding4kids-ide | 0 | { ShareJS } = require 'meteor/edemaine:sharejs'
Meteor.methods
newProject: (projectName,projectDescription) ->
fileContents =
'index.html': """
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>#{projectName}</title>
<link rel="stylesheet" href="style.css"/>
</head... | 103447 | { ShareJS } = require 'meteor/edemaine:sharejs'
Meteor.methods
newProject: (projectName,projectDescription) ->
fileContents =
'index.html': """
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>#{projectName}</title>
<link rel="stylesheet" href="style.css"/>
</head... | true | { ShareJS } = require 'meteor/edemaine:sharejs'
Meteor.methods
newProject: (projectName,projectDescription) ->
fileContents =
'index.html': """
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>#{projectName}</title>
<link rel="stylesheet" href="style.css"/>
</head... |
[
{
"context": "imple WYSIWYG editor with jQuery.\n\n## Author:\n\n Jason Lee <huacnlee@gmail.com>\n\n## Requirements:\n\n [jQue",
"end": 106,
"score": 0.9997262954711914,
"start": 97,
"tag": "NAME",
"value": "Jason Lee"
},
{
"context": "G editor with jQuery.\n\n## Author:\n\n ... | src/js/jquery.qeditor.coffee | cyyjs/jquery.qeditor | 1 | ###
jquery.qeditor
==============
This is a simple WYSIWYG editor with jQuery.
## Author:
Jason Lee <huacnlee@gmail.com>
## Requirements:
[jQuery](http://jquery.com)
(Font-Awesome)[http://fortawesome.github.io/Font-Awesome/] - Toolbar icons
## Usage:
$("textarea").qeditor();
and then you need fi... | 186291 | ###
jquery.qeditor
==============
This is a simple WYSIWYG editor with jQuery.
## Author:
<NAME> <<EMAIL>>
## Requirements:
[jQuery](http://jquery.com)
(Font-Awesome)[http://fortawesome.github.io/Font-Awesome/] - Toolbar icons
## Usage:
$("textarea").qeditor();
and then you need filt the html ta... | true | ###
jquery.qeditor
==============
This is a simple WYSIWYG editor with jQuery.
## Author:
PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
## Requirements:
[jQuery](http://jquery.com)
(Font-Awesome)[http://fortawesome.github.io/Font-Awesome/] - Toolbar icons
## Usage:
$("textarea").qeditor();
and t... |
[
{
"context": "id appended too it.', ->\n\n\t\t\tkey = new s3Key 'SomeId'\n\t\t\tkey.get().should.equal \"#{key.prefix}SomeId\"\n",
"end": 241,
"score": 0.4939395487308502,
"start": 239,
"tag": "KEY",
"value": "Id"
}
] | lib/tests/s3/s3Key.tests.coffee | NiteoSoftware/s3artifactor | 3 | should = require 'should'
path = require 'path'
s3Key = require path.join( __dirname, "../../s3/s3Key.js")
describe 's3Key', ->
describe '#get()', ->
it 'should return key with correct id appended too it.', ->
key = new s3Key 'SomeId'
key.get().should.equal "#{key.prefix}SomeId"
it 'should return key with... | 88761 | should = require 'should'
path = require 'path'
s3Key = require path.join( __dirname, "../../s3/s3Key.js")
describe 's3Key', ->
describe '#get()', ->
it 'should return key with correct id appended too it.', ->
key = new s3Key 'Some<KEY>'
key.get().should.equal "#{key.prefix}SomeId"
it 'should return key w... | true | should = require 'should'
path = require 'path'
s3Key = require path.join( __dirname, "../../s3/s3Key.js")
describe 's3Key', ->
describe '#get()', ->
it 'should return key with correct id appended too it.', ->
key = new s3Key 'SomePI:KEY:<KEY>END_PI'
key.get().should.equal "#{key.prefix}SomeId"
it 'should... |
[
{
"context": "w seedling @db,\n\n User: [\n username: 'admin'\n id: '1'\n token: '1'\n passw",
"end": 424,
"score": 0.9295194745063782,
"start": 419,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "username: 'admin'\n id: '1'\n toke... | test/main.coffee | wearefractal/seedling | 1 | seedling = require '../'
should = require 'should'
config = require './config/config'
goose = require 'goosestrap'
module.exports =
"given a db connection": =>
@db = goose config.db.url, config.paths.models
"given some seed data": =>
@preCreateRan = false
@preClearRan= false
@postCreateRan... | 11302 | seedling = require '../'
should = require 'should'
config = require './config/config'
goose = require 'goosestrap'
module.exports =
"given a db connection": =>
@db = goose config.db.url, config.paths.models
"given some seed data": =>
@preCreateRan = false
@preClearRan= false
@postCreateRan... | true | seedling = require '../'
should = require 'should'
config = require './config/config'
goose = require 'goosestrap'
module.exports =
"given a db connection": =>
@db = goose config.db.url, config.paths.models
"given some seed data": =>
@preCreateRan = false
@preClearRan= false
@postCreateRan... |
[
{
"context": ".2*n+1]).concat([0, 0]).concat(L+N).concat([0])\n\n# Runge Kutta\n{rk, ode} = $blab.ode #; Imported RK functions (c",
"end": 766,
"score": 0.8841001391410828,
"start": 755,
"tag": "NAME",
"value": "Runge Kutta"
}
] | main.coffee | stemblab/fermi-pasta-ulam | 2 | # FPU model
# $\ddot{x} = x_{k+1}-2x_k+x_{k-1} + \alpha \left( (x_{k+1}-x_k)^2 - (x_{k-1}-x_k)^2 \right)$
n = 16 # Number of springs (try 8 or 32)
# Mass displacements (from rest) and velocity.
fig = $blab.massFigure # Imported figure/plot function (click to view)
n: n
height: 200
yaxes: [
{p... | 97567 | # FPU model
# $\ddot{x} = x_{k+1}-2x_k+x_{k-1} + \alpha \left( (x_{k+1}-x_k)^2 - (x_{k-1}-x_k)^2 \right)$
n = 16 # Number of springs (try 8 or 32)
# Mass displacements (from rest) and velocity.
fig = $blab.massFigure # Imported figure/plot function (click to view)
n: n
height: 200
yaxes: [
{p... | true | # FPU model
# $\ddot{x} = x_{k+1}-2x_k+x_{k-1} + \alpha \left( (x_{k+1}-x_k)^2 - (x_{k-1}-x_k)^2 \right)$
n = 16 # Number of springs (try 8 or 32)
# Mass displacements (from rest) and velocity.
fig = $blab.massFigure # Imported figure/plot function (click to view)
n: n
height: 200
yaxes: [
{p... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998883008956909,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/resources/attachments.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 41999 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "_GIT_URL}:#{gitlab_name}.git\"\n githubRemote = \"git@github.com:#{GITHUB_ORG}/#{github_name}.git\"\n console.log",
"end": 798,
"score": 0.9760687947273254,
"start": 784,
"tag": "EMAIL",
"value": "git@github.com"
}
] | lib/git.coffee | W2P-Digital/gitlab-github-migrate | 1 | require('dotenv').load()
require 'shelljs/global'
_ = require 'underscore'
GitLab = require './gitlab'
GitHub = require './github'
Git = module.exports =
migrateManyRepos: (options) ->
{ limit } = options
return GitLab.getAllProjects(limit)
.then (projects) ->
promise = Promise.resolve();
... | 1769 | require('dotenv').load()
require 'shelljs/global'
_ = require 'underscore'
GitLab = require './gitlab'
GitHub = require './github'
Git = module.exports =
migrateManyRepos: (options) ->
{ limit } = options
return GitLab.getAllProjects(limit)
.then (projects) ->
promise = Promise.resolve();
... | true | require('dotenv').load()
require 'shelljs/global'
_ = require 'underscore'
GitLab = require './gitlab'
GitHub = require './github'
Git = module.exports =
migrateManyRepos: (options) ->
{ limit } = options
return GitLab.getAllProjects(limit)
.then (projects) ->
promise = Promise.resolve();
... |
[
{
"context": " # in \"Bipolar Disorder\" oid \"2.16.840.1.113883.3.67.1.101.1.128\"\n initialCode = new cqm.models.CQL.Cod",
"end": 1114,
"score": 0.9961444139480591,
"start": 1104,
"tag": "IP_ADDRESS",
"value": "3.67.1.101"
},
{
"context": "alueset\"]').val()).toBe '2.16.840.... | spec/javascripts/patient_builder_tests/input_views/code_input_view_spec.js.coffee | projectcypress/bonnie | 33 | describe 'InputView', ->
describe 'CodeView', ->
beforeAll ->
# load up a measure so we have valuesets
jasmine.getJSONFixtures().clearCache()
@measure = loadMeasureWithValueSets 'cqm_measure_data/CMS160v6/CMS160v6.json', 'cqm_measure_data/CMS160v6/value_sets.json'
it 'starts with no valid... | 31627 | describe 'InputView', ->
describe 'CodeView', ->
beforeAll ->
# load up a measure so we have valuesets
jasmine.getJSONFixtures().clearCache()
@measure = loadMeasureWithValueSets 'cqm_measure_data/CMS160v6/CMS160v6.json', 'cqm_measure_data/CMS160v6/value_sets.json'
it 'starts with no valid... | true | describe 'InputView', ->
describe 'CodeView', ->
beforeAll ->
# load up a measure so we have valuesets
jasmine.getJSONFixtures().clearCache()
@measure = loadMeasureWithValueSets 'cqm_measure_data/CMS160v6/CMS160v6.json', 'cqm_measure_data/CMS160v6/value_sets.json'
it 'starts with no valid... |
[
{
"context": "ate the Rule Thumbnail List for WolfCage.\n\n@author Destin Moulton\n@git https://github.com/destinmoulton/wolfcage\n@l",
"end": 75,
"score": 0.9998533129692078,
"start": 61,
"tag": "NAME",
"value": "Destin Moulton"
},
{
"context": ".\n\n@author Destin Moulton\n@git htt... | src/modals/ThumbnailsModal.coffee | destinmoulton/cagen | 0 | ###
Generate the Rule Thumbnail List for WolfCage.
@author Destin Moulton
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
The thumbnail for each rule is presented.
Event handlers are added to each thumbnail for generating
the automata cell... | 130451 | ###
Generate the Rule Thumbnail List for WolfCage.
@author <NAME>
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
The thumbnail for each rule is presented.
Event handlers are added to each thumbnail for generating
the automata cells for th... | true | ###
Generate the Rule Thumbnail List for WolfCage.
@author PI:NAME:<NAME>END_PI
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
The thumbnail for each rule is presented.
Event handlers are added to each thumbnail for generating
the automat... |
[
{
"context": " { name: 'ubuntu 2' }\n { name: 'red hat 4', k: 'kind' }\n { name: 'windows 8', ",
"end": 243,
"score": 0.5869086384773254,
"start": 236,
"tag": "NAME",
"value": "red hat"
},
{
"context": " { name: 'ubuntu 2' }\n { name: 'r... | test/filter/filter.coffee | dragonboy612/Angular_Knockout | 317 |
Test('filter-filter-0').run ($test, alight) ->
if not alight.filters.filter
return 'skip'
$test.start 5
scope =
list: [
{ name: 'linux 1' }
{ name: 'ubuntu 2' }
{ name: 'red hat 4', k: 'kind' }
{ name: 'windows 8', k: 'kind' }
]
... | 152838 |
Test('filter-filter-0').run ($test, alight) ->
if not alight.filters.filter
return 'skip'
$test.start 5
scope =
list: [
{ name: 'linux 1' }
{ name: 'ubuntu 2' }
{ name: '<NAME> 4', k: 'kind' }
{ name: 'windows 8', k: 'kind' }
]
... | true |
Test('filter-filter-0').run ($test, alight) ->
if not alight.filters.filter
return 'skip'
$test.start 5
scope =
list: [
{ name: 'linux 1' }
{ name: 'ubuntu 2' }
{ name: 'PI:NAME:<NAME>END_PI 4', k: 'kind' }
{ name: 'windows 8', k: 'kind' }
... |
[
{
"context": "t \"create message\", ->\n plaintext = \"Hello, Alice!\"\n message = $.Message.from \"utf8\", plaint",
"end": 777,
"score": 0.9941904544830322,
"start": 772,
"tag": "NAME",
"value": "Alice"
}
] | test/asymmetric-encryption.coffee | pandastrike/panda-confidential | 0 | import assert from "@dashkite/assert"
import { test } from "@dashkite/amen"
import nacl from "@dashkite/tweetnacl"
asymmetric = do ({
alice
bob
eve
plaintext
message
envelope
channel
payload
} = {}) ->
($) ->
[
await test "generate encryption key pair", ->
alice = await $.Encrypt... | 113567 | import assert from "@dashkite/assert"
import { test } from "@dashkite/amen"
import nacl from "@dashkite/tweetnacl"
asymmetric = do ({
alice
bob
eve
plaintext
message
envelope
channel
payload
} = {}) ->
($) ->
[
await test "generate encryption key pair", ->
alice = await $.Encrypt... | true | import assert from "@dashkite/assert"
import { test } from "@dashkite/amen"
import nacl from "@dashkite/tweetnacl"
asymmetric = do ({
alice
bob
eve
plaintext
message
envelope
channel
payload
} = {}) ->
($) ->
[
await test "generate encryption key pair", ->
alice = await $.Encrypt... |
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.999866783618927,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
},
{
"context": " $scope: scope\n\n testUser = {\n username: ... | src/app/components/user/users.controller.spec.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 157088 | # Copyright (c) 2015 naymspace software (<NAME>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # Copyright (c) 2015 naymspace software (PI:NAME:<NAME>END_PI)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": ": (event, template) ->\n name = template.find(\"#userName\").value\n email = template.find(\"#userEmail\").v",
"end": 134,
"score": 0.9838608503341675,
"start": 126,
"tag": "USERNAME",
"value": "userName"
},
{
"context": "mail\n user =\n email: email\n ... | src/packages/carpool-view-map/CarpoolProfile.coffee | ArnoldasSid/vilnius-carpool | 11 | Template.Register.events
# TODO dry register and login
"click .register": (event, template) ->
name = template.find("#userName").value
email = template.find("#userEmail").value
password = template.find("#userPassword").value
return Session.set("registrationError", "Name" + " should not be empty") u... | 162282 | Template.Register.events
# TODO dry register and login
"click .register": (event, template) ->
name = template.find("#userName").value
email = template.find("#userEmail").value
password = template.find("#userPassword").value
return Session.set("registrationError", "Name" + " should not be empty") u... | true | Template.Register.events
# TODO dry register and login
"click .register": (event, template) ->
name = template.find("#userName").value
email = template.find("#userEmail").value
password = template.find("#userPassword").value
return Session.set("registrationError", "Name" + " should not be empty") u... |
[
{
"context": " storageKey\n\t\treturn\n\tset: (ps, helper) ->\n\t\tkey = undefined\n\t\tfor key of helper\n\t\t\tps.style[key] = helper[key",
"end": 16808,
"score": 0.8677148222923279,
"start": 16799,
"tag": "KEY",
"value": "undefined"
},
{
"context": "}\n\t###\n\n\temptyHandler = ->... | app/scripts/core.coffee | deltaidea/flymer-jetpack | 0 | # Show full message history by default.
for link in document.querySelectorAll ".linkB"
link.href = link.href.replace "#new", "&full=1#new"
# Auto-save drafts.
conversationId = document.location.href.match( /c=(\d*)/ )?[ 1 ] ? "new-note"
document.addEventListener "keyup", ( e ) ->
if e.target.id in [ "reply-input", ... | 152794 | # Show full message history by default.
for link in document.querySelectorAll ".linkB"
link.href = link.href.replace "#new", "&full=1#new"
# Auto-save drafts.
conversationId = document.location.href.match( /c=(\d*)/ )?[ 1 ] ? "new-note"
document.addEventListener "keyup", ( e ) ->
if e.target.id in [ "reply-input", ... | true | # Show full message history by default.
for link in document.querySelectorAll ".linkB"
link.href = link.href.replace "#new", "&full=1#new"
# Auto-save drafts.
conversationId = document.location.href.match( /c=(\d*)/ )?[ 1 ] ? "new-note"
document.addEventListener "keyup", ( e ) ->
if e.target.id in [ "reply-input", ... |
[
{
"context": " have a favorite ice cream flavour?\",\n key: \"pick_page_type\",\n next_task: null,\n tool: \"pickOne\"\n ",
"end": 512,
"score": 0.8184100389480591,
"start": 498,
"tag": "KEY",
"value": "pick_page_type"
}
] | app/assets/javascripts/__tests__/text-tool-test.cjsx | ogugugugugua/PRED-Crowdsourcing-2020 | 88 | jest
.dontMock "../components/transcribe/tools/text-tool/index"
describe 'text-tool index', ->
React = require 'react/addons'
{
renderIntoDocument,
scryRenderedComponentsWithType,
scryRenderedDOMComponentsWithClass,
scryRenderedDOMComponentsWithTag,
createRenderer,
... | 114725 | jest
.dontMock "../components/transcribe/tools/text-tool/index"
describe 'text-tool index', ->
React = require 'react/addons'
{
renderIntoDocument,
scryRenderedComponentsWithType,
scryRenderedDOMComponentsWithClass,
scryRenderedDOMComponentsWithTag,
createRenderer,
... | true | jest
.dontMock "../components/transcribe/tools/text-tool/index"
describe 'text-tool index', ->
React = require 'react/addons'
{
renderIntoDocument,
scryRenderedComponentsWithType,
scryRenderedDOMComponentsWithClass,
scryRenderedDOMComponentsWithTag,
createRenderer,
... |
[
{
"context": "h ->\n\t\t@callback = sinon.stub()\n\t\t@user_id = \"user-id-123\"\n\t\t@AuthenticationController =\n\t\t\tgetLoggedInUser",
"end": 341,
"score": 0.6780899167060852,
"start": 335,
"tag": "PASSWORD",
"value": "id-123"
},
{
"context": "oller =\n\t\t\tgetLoggedInUserId: si... | test/unit/coffee/History/HistoryControllerTests.coffee | davidmehren/web-sharelatex | 1 | chai = require('chai')
chai.should()
sinon = require("sinon")
Errors = require "../../../../app/js/Features/Errors/Errors"
modulePath = "../../../../app/js/Features/History/HistoryController"
SandboxedModule = require('sandboxed-module')
describe "HistoryController", ->
beforeEach ->
@callback = sinon.stub()
@u... | 136874 | chai = require('chai')
chai.should()
sinon = require("sinon")
Errors = require "../../../../app/js/Features/Errors/Errors"
modulePath = "../../../../app/js/Features/History/HistoryController"
SandboxedModule = require('sandboxed-module')
describe "HistoryController", ->
beforeEach ->
@callback = sinon.stub()
@u... | true | chai = require('chai')
chai.should()
sinon = require("sinon")
Errors = require "../../../../app/js/Features/Errors/Errors"
modulePath = "../../../../app/js/Features/History/HistoryController"
SandboxedModule = require('sandboxed-module')
describe "HistoryController", ->
beforeEach ->
@callback = sinon.stub()
@u... |
[
{
"context": "lassName: 'archmage'\n\n contributors: [\n {id: '52ccfc9bd3eb6b5a4100b60d', name: 'Glen De Cauwsemae",
"end": 278,
"score": 0.46752065420150757,
"start": 277,
"tag": "KEY",
"value": "5"
},
{
"context": "rs: [\n {id: '52ccfc9bd3eb6b5a4100b60d', name: 'Glen De Cauw... | app/views/contribute/ArchmageView.coffee | flowabuse/codecombat | 0 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/archmage'
module.exports = class ArchmageView extends ContributeClassView
id: 'archmage-view'
template: template
contributorClassName: 'archmage'
contributors: [
{id: '52ccfc9bd3eb6b5a4100b60d', name: 'Glen De C... | 154029 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/archmage'
module.exports = class ArchmageView extends ContributeClassView
id: 'archmage-view'
template: template
contributorClassName: 'archmage'
contributors: [
{id: '<KEY>2ccfc9bd3eb6b5a4100b60d', name: '<NAME... | true | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/archmage'
module.exports = class ArchmageView extends ContributeClassView
id: 'archmage-view'
template: template
contributorClassName: 'archmage'
contributors: [
{id: 'PI:KEY:<KEY>END_PI2ccfc9bd3eb6b5a4100b60d',... |
[
{
"context": "###\n\nnode-sportsdata\nhttps://github.com/pac12/node-sportsdata\n\nCopyright (c) 2013 PAC-12\nLicens",
"end": 45,
"score": 0.9995546936988831,
"start": 40,
"tag": "USERNAME",
"value": "pac12"
},
{
"context": "thub.com/pac12/node-sportsdata\n\nCopyright (c) 2013 PAC-12\... | src/lib/node-sportsdata.coffee | pureawesome/node-sportsdata | 0 | ###
node-sportsdata
https://github.com/pac12/node-sportsdata
Copyright (c) 2013 PAC-12
Licensed under the MIT license.
###
'use strict'
MLB = require './v3/mlb'
NCAAFB = require './v1/ncaafb'
NCAAMB = require './v3/ncaamb'
NCAAWB = require './v3/ncaawb'
NFL = require './v1/nfl'
exports.awesome = ()->
'aw... | 51875 | ###
node-sportsdata
https://github.com/pac12/node-sportsdata
Copyright (c) 2013 <NAME>
Licensed under the MIT license.
###
'use strict'
MLB = require './v3/mlb'
NCAAFB = require './v1/ncaafb'
NCAAMB = require './v3/ncaamb'
NCAAWB = require './v3/ncaawb'
NFL = require './v1/nfl'
exports.awesome = ()->
'aw... | true | ###
node-sportsdata
https://github.com/pac12/node-sportsdata
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
'use strict'
MLB = require './v3/mlb'
NCAAFB = require './v1/ncaafb'
NCAAMB = require './v3/ncaamb'
NCAAWB = require './v3/ncaawb'
NFL = require './v1/nfl'
exports.awesom... |
[
{
"context": "ns, groups, out, callback) ->\n keys = [\n 'grid-avatar'\n 'grid-token'\n 'grid-user'\n 'gith",
"end": 578,
"score": 0.9890515208244324,
"start": 567,
"tag": "KEY",
"value": "grid-avatar"
},
{
"context": "lback) ->\n keys = [\n 'grid-avata... | components/LoadUserData.coffee | taylorzane/noflo-ui | 1 | noflo = require 'noflo'
validate = (items, callback) ->
return callback null, items unless items['grid-user']
try
items['grid-user'] = JSON.parse items['grid-user']
catch e
return callback e
callback null, items
exports.getComponent = ->
c = new noflo.Component
c.inPorts.add 'start',
datatype:... | 182344 | noflo = require 'noflo'
validate = (items, callback) ->
return callback null, items unless items['grid-user']
try
items['grid-user'] = JSON.parse items['grid-user']
catch e
return callback e
callback null, items
exports.getComponent = ->
c = new noflo.Component
c.inPorts.add 'start',
datatype:... | true | noflo = require 'noflo'
validate = (items, callback) ->
return callback null, items unless items['grid-user']
try
items['grid-user'] = JSON.parse items['grid-user']
catch e
return callback e
callback null, items
exports.getComponent = ->
c = new noflo.Component
c.inPorts.add 'start',
datatype:... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999219179153442,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
},
{
"context": " 1970 00:00:01 GMT;';\n $.... | frontend/javascripts/app/config.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 200049 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "gColor.xyz *= specColor.xyz;\"\r\n\r\n # Old Daniele\r\n \r\n # FRESNEL\r\n ",
"end": 9594,
"score": 0.9925144910812378,
"start": 9583,
"tag": "NAME",
"value": "Old Daniele"
}
] | project/develop/coffee/ifl/shaders/IFLStormFresnelShader.coffee | GyanaPrasannaa/oz-experiment | 0 | class IFLStormFresnelShader
uniforms : null
constructor:->
@uniforms = THREE.UniformsUtils.merge [
THREE.UniformsLib[ "common" ]
#THREE.UniformsLib[ "bump" ]
#THREE.UniformsLib[ "normalmap" ]
#THREE.UniformsLib[ "fog" ]
#THR... | 146277 | class IFLStormFresnelShader
uniforms : null
constructor:->
@uniforms = THREE.UniformsUtils.merge [
THREE.UniformsLib[ "common" ]
#THREE.UniformsLib[ "bump" ]
#THREE.UniformsLib[ "normalmap" ]
#THREE.UniformsLib[ "fog" ]
#THR... | true | class IFLStormFresnelShader
uniforms : null
constructor:->
@uniforms = THREE.UniformsUtils.merge [
THREE.UniformsLib[ "common" ]
#THREE.UniformsLib[ "bump" ]
#THREE.UniformsLib[ "normalmap" ]
#THREE.UniformsLib[ "fog" ]
#THR... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999109506607056,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/status-page/incidents.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Incident } from './incident'
import * as React from 'react'
import { div, h1, h5 } from 'react-dom-factories'
el = React.createElement
... | 221502 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Incident } from './incident'
import * as React from 'react'
import { div, h1, h5 } from 'react-dom-factories'
el = React.createElement
export ... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Incident } from './incident'
import * as React from 'react'
import { div, h1, h5 } from 'react-dom-factories'
el = React.createE... |
[
{
"context": "' ')[0]\n @send envelope, strings.map((str) -> \"@#{name} #{str}\")...\n\n topic: (envelope, strings...)",
"end": 1891,
"score": 0.894595742225647,
"start": 1891,
"tag": "USERNAME",
"value": ""
},
{
"context": "0]\n @send envelope, strings.map((str) -> \"@#{n... | src/facebook.coffee | yuyuvn/hubot-facebook | 0 | {Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, Response, Brain} = require 'hubot'
{StickerMessage} = require './message'
{StickerListener} = require './listener'
fs = require 'fs'
chat = require 'facebook-chat-api'
# Custom Response class that adds a sendPrivate method (based on hubot-irc) an... | 147150 | {Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, Response, Brain} = require 'hubot'
{StickerMessage} = require './message'
{StickerListener} = require './listener'
fs = require 'fs'
chat = require 'facebook-chat-api'
# Custom Response class that adds a sendPrivate method (based on hubot-irc) an... | true | {Robot, Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, Response, Brain} = require 'hubot'
{StickerMessage} = require './message'
{StickerListener} = require './listener'
fs = require 'fs'
chat = require 'facebook-chat-api'
# Custom Response class that adds a sendPrivate method (based on hubot-irc) an... |
[
{
"context": "!Meteor.user()\n commentUser =\n name: 'Anonymous'\n avatarUrl: settings.defaultImg\n i",
"end": 677,
"score": 0.6044777631759644,
"start": 668,
"tag": "NAME",
"value": "Anonymous"
},
{
"context": "tings.defaultImg\n commentUser =\n ... | client/views/blog/blog.coffee | cas-group/meteor-blog | 0 | Template.blogIndex.rendered = ->
# Page Title
document.title = "Blog"
if Blog.settings.title
document.title += " | #{Blog.settings.title}"
Template.blogShowBody.rendered = ->
Meteor.call 'isBlogAuthorized', @id, (err, authorized) =>
if authorized
Session.set 'canEditPost', authorized
#
... | 212731 | Template.blogIndex.rendered = ->
# Page Title
document.title = "Blog"
if Blog.settings.title
document.title += " | #{Blog.settings.title}"
Template.blogShowBody.rendered = ->
Meteor.call 'isBlogAuthorized', @id, (err, authorized) =>
if authorized
Session.set 'canEditPost', authorized
#
... | true | Template.blogIndex.rendered = ->
# Page Title
document.title = "Blog"
if Blog.settings.title
document.title += " | #{Blog.settings.title}"
Template.blogShowBody.rendered = ->
Meteor.call 'isBlogAuthorized', @id, (err, authorized) =>
if authorized
Session.set 'canEditPost', authorized
#
... |
[
{
"context": "#\n# Copyright (c) 2015 by James Fenwick. See LICENSE for details.\n#\n\nCodo = require './co",
"end": 39,
"score": 0.9998278617858887,
"start": 26,
"tag": "NAME",
"value": "James Fenwick"
}
] | lib/main.coffee | jmsfwk/codo | 1 | #
# Copyright (c) 2015 by James Fenwick. See LICENSE for details.
#
Codo = require './codo'
module.exports =
config:
addReturns:
type: 'boolean',
default: true
ReturnsDefaultType:
type: 'string',
default: 'undefined',
ReturnsTemplate:
type: 'string',
default: '@return... | 203485 | #
# Copyright (c) 2015 by <NAME>. See LICENSE for details.
#
Codo = require './codo'
module.exports =
config:
addReturns:
type: 'boolean',
default: true
ReturnsDefaultType:
type: 'string',
default: 'undefined',
ReturnsTemplate:
type: 'string',
default: '@return %type%... | true | #
# Copyright (c) 2015 by PI:NAME:<NAME>END_PI. See LICENSE for details.
#
Codo = require './codo'
module.exports =
config:
addReturns:
type: 'boolean',
default: true
ReturnsDefaultType:
type: 'string',
default: 'undefined',
ReturnsTemplate:
type: 'string',
default: '... |
[
{
"context": "w \"\"\"\n <n-state name=\"userName\" value=\"Bob\" />\n <h1>{userName}</h1>\n \"\"\"\n ",
"end": 224,
"score": 0.8027068376541138,
"start": 221,
"tag": "NAME",
"value": "Bob"
},
{
"context": "me=\"userName\" />\n <n-call>{userNam... | __tests__/document/state.coffee | Neft-io/neftio | 23 | {Struct} = require '@neft/core'
{createView, renderParse} = require './utils'
describe '<n-state />', ->
it 'creates new state attribute', ->
view = createView """
<n-state name="userName" value="Bob" />
<h1>{userName}</h1>
"""
view.render()
assert.isEqual vi... | 182910 | {Struct} = require '@neft/core'
{createView, renderParse} = require './utils'
describe '<n-state />', ->
it 'creates new state attribute', ->
view = createView """
<n-state name="userName" value="<NAME>" />
<h1>{userName}</h1>
"""
view.render()
assert.isEqual... | true | {Struct} = require '@neft/core'
{createView, renderParse} = require './utils'
describe '<n-state />', ->
it 'creates new state attribute', ->
view = createView """
<n-state name="userName" value="PI:NAME:<NAME>END_PI" />
<h1>{userName}</h1>
"""
view.render()
... |
[
{
"context": "o\n appInstance = new AppController { name: 'FooApp' }\n expect.spyOn appManager, 'setListener",
"end": 980,
"score": 0.6034913063049316,
"start": 977,
"tag": "NAME",
"value": "Foo"
}
] | client/app/test/applicationmanager.test.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
expect = require 'expect'
globals = require 'globals'
AppController = require '../lib/appcontroller'
registerAppClass = require '../lib/util/registerAppClass'
ApplicationManager = require '../lib/applicationmanager'
KodingAppsController = requi... | 9386 | kd = require 'kd'
expect = require 'expect'
globals = require 'globals'
AppController = require '../lib/appcontroller'
registerAppClass = require '../lib/util/registerAppClass'
ApplicationManager = require '../lib/applicationmanager'
KodingAppsController = requi... | true | kd = require 'kd'
expect = require 'expect'
globals = require 'globals'
AppController = require '../lib/appcontroller'
registerAppClass = require '../lib/util/registerAppClass'
ApplicationManager = require '../lib/applicationmanager'
KodingAppsController = requi... |
[
{
"context": "# Copyright (c) 2021 Quinn Michaels\n# If this is your first time writing a language g",
"end": 35,
"score": 0.9998312592506409,
"start": 21,
"tag": "NAME",
"value": "Quinn Michaels"
}
] | grammars/feecting.cson | indraai/language-feecting | 22 | # Copyright (c) 2021 Quinn Michaels
# If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
'scopeName': 'source.feecting'
'name': 'Feecting'
'fileTypes': [
'feecting'
]
'patterns': [
{
'match': '(\/\/\\s.*)$'
'captur... | 67458 | # Copyright (c) 2021 <NAME>
# If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
'scopeName': 'source.feecting'
'name': 'Feecting'
'fileTypes': [
'feecting'
]
'patterns': [
{
'match': '(\/\/\\s.*)$'
'captures':
... | true | # Copyright (c) 2021 PI:NAME:<NAME>END_PI
# If this is your first time writing a language grammar, check out:
# - https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/
'scopeName': 'source.feecting'
'name': 'Feecting'
'fileTypes': [
'feecting'
]
'patterns': [
{
'match': '(\/\/\\s.*)$'
'... |
[
{
"context": "lor','name','names','email','author_affiliation','user.username','user.email','user.firstname','user.las",
"end": 4085,
"score": 0.7157666087150574,
"start": 4081,
"tag": "USERNAME",
"value": "user"
},
{
"context": "'name','names','email','author_affiliation','user.user... | noddy/service/v2/bulk.coffee | oaworks/API | 2 |
API.add 'service/oab/import',
post:
roleRequired: 'openaccessbutton.admin', # later could be opened to other oab users, with some sort of quota / limit
action: () ->
try
records = this.request.body
resp = {found:0,updated:0,missing:[]}
updates = []
for p in this.request.... | 153600 |
API.add 'service/oab/import',
post:
roleRequired: 'openaccessbutton.admin', # later could be opened to other oab users, with some sort of quota / limit
action: () ->
try
records = this.request.body
resp = {found:0,updated:0,missing:[]}
updates = []
for p in this.request.... | true |
API.add 'service/oab/import',
post:
roleRequired: 'openaccessbutton.admin', # later could be opened to other oab users, with some sort of quota / limit
action: () ->
try
records = this.request.body
resp = {found:0,updated:0,missing:[]}
updates = []
for p in this.request.... |
[
{
"context": "SON.parse(JSON.stringify(record))\n data.key = data.id\n delete data.id\n if type == \"destroy\"\n ",
"end": 353,
"score": 0.9962694048881531,
"start": 346,
"tag": "KEY",
"value": "data.id"
}
] | src/lawnchair_spine.coffee | vojto/atmos2 | 1 | Spine = require('spine')
LawnchairStore = require('./lawnchair_store')
Spine.Model.Lawnchair =
extended: ->
@extend LawnchairStore
@change @saveLawnchair
@fetch @loadLawnchair
saveLawnchair: (record, type) ->
@prepareStore @className, (store) =>
data = JSON.parse(JSON.stringify(... | 8092 | Spine = require('spine')
LawnchairStore = require('./lawnchair_store')
Spine.Model.Lawnchair =
extended: ->
@extend LawnchairStore
@change @saveLawnchair
@fetch @loadLawnchair
saveLawnchair: (record, type) ->
@prepareStore @className, (store) =>
data = JSON.parse(JSON.stringify(... | true | Spine = require('spine')
LawnchairStore = require('./lawnchair_store')
Spine.Model.Lawnchair =
extended: ->
@extend LawnchairStore
@change @saveLawnchair
@fetch @loadLawnchair
saveLawnchair: (record, type) ->
@prepareStore @className, (store) =>
data = JSON.parse(JSON.stringify(... |
[
{
"context": "SOFTWARE.\n\nangular-google-maps\nhttps://github.com/nlaplante/angular-google-maps\n\n@authors\nNicolas Laplante - ",
"end": 1154,
"score": 0.9678347110748291,
"start": 1145,
"tag": "USERNAME",
"value": "nlaplante"
},
{
"context": "ithub.com/nlaplante/angular-google-map... | bower_components/angular-google-maps/src/coffee/directives/polylines.coffee | Vater/colaiuta | 2 | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
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... | 186577 | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
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... | true | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use... |
[
{
"context": "key: 'passthrough-macro'\n\npatterns: [\n\n # Matches several variants of th",
"end": 23,
"score": 0.8208774328231812,
"start": 6,
"tag": "KEY",
"value": "passthrough-macro"
}
] | grammars/repositories/inlines/passthrough-macro-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'passthrough-macro'
patterns: [
# Matches several variants of the passthrough inline macro, which may span multiple lines.
#
# Examples
#
# +++text+++
# $$text$$
#
name: 'markup.macro.inline.passthrough.asciidoc'
match: '(?:(?<!\\\\)(\\[([^\\]]+?)\\]))?(?:\\\\{0,2})(?<delim>\\+{2,3}|\\${2})... | 85918 | key: '<KEY>'
patterns: [
# Matches several variants of the passthrough inline macro, which may span multiple lines.
#
# Examples
#
# +++text+++
# $$text$$
#
name: 'markup.macro.inline.passthrough.asciidoc'
match: '(?:(?<!\\\\)(\\[([^\\]]+?)\\]))?(?:\\\\{0,2})(?<delim>\\+{2,3}|\\${2})(.*?)(\\k<de... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches several variants of the passthrough inline macro, which may span multiple lines.
#
# Examples
#
# +++text+++
# $$text$$
#
name: 'markup.macro.inline.passthrough.asciidoc'
match: '(?:(?<!\\\\)(\\[([^\\]]+?)\\]))?(?:\\\\{0,2})(?<delim>\\+{2,3}|\\${2}... |
[
{
"context": "ession = session\n secret: SESSION_SECRET\n key: 'positron.sess'\n\nexports.initSocketSession = (app, io) ->\n # co",
"end": 235,
"score": 0.9979773759841919,
"start": 222,
"tag": "KEY",
"value": "positron.sess"
}
] | src/client/lib/setup/session.coffee | craigspaeth/positron | 76 | session = require 'cookie-session'
sharedsession = require 'express-socket.io-session'
{ get } = require 'lodash'
{ SESSION_SECRET } = process.env
sess = exports.defaultSession = session
secret: SESSION_SECRET
key: 'positron.sess'
exports.initSocketSession = (app, io) ->
# copies express sessions to socket-io
... | 103465 | session = require 'cookie-session'
sharedsession = require 'express-socket.io-session'
{ get } = require 'lodash'
{ SESSION_SECRET } = process.env
sess = exports.defaultSession = session
secret: SESSION_SECRET
key: '<KEY>'
exports.initSocketSession = (app, io) ->
# copies express sessions to socket-io
io.use... | true | session = require 'cookie-session'
sharedsession = require 'express-socket.io-session'
{ get } = require 'lodash'
{ SESSION_SECRET } = process.env
sess = exports.defaultSession = session
secret: SESSION_SECRET
key: 'PI:KEY:<KEY>END_PI'
exports.initSocketSession = (app, io) ->
# copies express sessions to socke... |
[
{
"context": " top results.\"\n version: '0.3'\n authors: [\n 'Tunnecino @ arrogance.es'\n ]\n",
"end": 2266,
"score": 0.6187364459037781,
"start": 2265,
"tag": "EMAIL",
"value": "T"
},
{
"context": "esults.\"\n version: '0.3'\n authors: [\n 'Tunnecino @ arrogance.es'\n ]... | plugins/isohunt.coffee | alvaro-cuesta/nerdobot | 2 | # API IsoHunt: http://ca.isohunt.com/forum/viewtopic.php?p=433527#433527
# API ou.gd: http://ou.gd/pages/api.php
request = require('request')
fileURL = (guid) ->
"http://isohunt.com/download/#{guid}/file.torrent"
shortenURL = (url) ->
url = encodeURIComponent q
"http://ou.gd/api.php?format=json&action=shorturl&... | 134105 | # API IsoHunt: http://ca.isohunt.com/forum/viewtopic.php?p=433527#433527
# API ou.gd: http://ou.gd/pages/api.php
request = require('request')
fileURL = (guid) ->
"http://isohunt.com/download/#{guid}/file.torrent"
shortenURL = (url) ->
url = encodeURIComponent q
"http://ou.gd/api.php?format=json&action=shorturl&... | true | # API IsoHunt: http://ca.isohunt.com/forum/viewtopic.php?p=433527#433527
# API ou.gd: http://ou.gd/pages/api.php
request = require('request')
fileURL = (guid) ->
"http://isohunt.com/download/#{guid}/file.torrent"
shortenURL = (url) ->
url = encodeURIComponent q
"http://ou.gd/api.php?format=json&action=shorturl&... |
[
{
"context": "y pixel on 2D HTML5 canvas\n# https://github.com/linusyang/jscube\n#\n# Copyright (c) 2013 Linus Yang\n#\n\n@Ca",
"end": 101,
"score": 0.9993956089019775,
"start": 92,
"tag": "USERNAME",
"value": "linusyang"
},
{
"context": "thub.com/linusyang/jscube\n#\n# Copyrig... | src/camerautil.coffee | linusyang/jscube | 2 | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 Linus Yang
#
@CameraUtil =
registerMouseListener: (canvas, listener) ->
state =
first_event: true
is_clicking: false
last_x: 0
last_y: 0
relXY = (e) -... | 154544 | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 <NAME>
#
@CameraUtil =
registerMouseListener: (canvas, listener) ->
state =
first_event: true
is_clicking: false
last_x: 0
last_y: 0
relXY = (e) ->
... | true | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
#
@CameraUtil =
registerMouseListener: (canvas, listener) ->
state =
first_event: true
is_clicking: false
last_x: 0
last_y: 0
rel... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nVelocity = require 'veloci",
"end": 35,
"score": 0.99974524974823,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/editor/animations/move-animation.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
Velocity = require 'velocity-animate'
module.exports =
class MoveAnimation
@id = 'MoveAnimation'
constructor: (id, item, itemRenderer) ->
@_id = id
@_item = item
@itemRenderer = itemRenderer
@_movingLIClone = null
fastForward: ->
be... | 96091 | # Copyright (c) 2015 <NAME>. All rights reserved.
Velocity = require 'velocity-animate'
module.exports =
class MoveAnimation
@id = 'MoveAnimation'
constructor: (id, item, itemRenderer) ->
@_id = id
@_item = item
@itemRenderer = itemRenderer
@_movingLIClone = null
fastForward: ->
beginMove:... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
Velocity = require 'velocity-animate'
module.exports =
class MoveAnimation
@id = 'MoveAnimation'
constructor: (id, item, itemRenderer) ->
@_id = id
@_item = item
@itemRenderer = itemRenderer
@_movingLIClone = null
fastForward: ->... |
[
{
"context": "Server\n\n beforeEach (done) ->\n @redisKey = UUID.v1()\n meshbluConfig =\n server: 'localhost'",
"end": 583,
"score": 0.9441383481025696,
"start": 574,
"tag": "KEY",
"value": "UUID.v1()"
},
{
"context": "/localhost:20000'\n auth: {usern... | test/integration/update-deploy-state-spec.coffee | octoblu/governator-service | 0 | _ = require 'lodash'
request = require 'request'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
UUID = require 'uuid'
RedisNs = require '@octoblu/redis-ns'
redis = require 'ioredis'
DeployService = require '../../src/services/deploy-service'
Server ... | 146428 | _ = require 'lodash'
request = require 'request'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
UUID = require 'uuid'
RedisNs = require '@octoblu/redis-ns'
redis = require 'ioredis'
DeployService = require '../../src/services/deploy-service'
Server ... | true | _ = require 'lodash'
request = require 'request'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
UUID = require 'uuid'
RedisNs = require '@octoblu/redis-ns'
redis = require 'ioredis'
DeployService = require '../../src/services/deploy-service'
Server ... |
[
{
"context": "es to the instance', ->\n properties = name: 'Dominik', age: 26\n instance = new MyTestStruct prope",
"end": 831,
"score": 0.9996325969696045,
"start": 824,
"tag": "NAME",
"value": "Dominik"
},
{
"context": "ect', ->\n instance = new MyTestStruct name: 'D... | tests/unit/struct.unit.coffee | meteor-space/base | 49 |
describe 'Space.Struct', ->
class MyTestStruct extends Space.Struct
@type 'MyTestStruct'
fields: -> name: String, age: Match.Integer
class MyExtendedTestStruct extends MyTestStruct
@type 'MyExtendedTestStruct'
fields: ->
fields = super()
fields.extra = Match.Integer
return field... | 188255 |
describe 'Space.Struct', ->
class MyTestStruct extends Space.Struct
@type 'MyTestStruct'
fields: -> name: String, age: Match.Integer
class MyExtendedTestStruct extends MyTestStruct
@type 'MyExtendedTestStruct'
fields: ->
fields = super()
fields.extra = Match.Integer
return field... | true |
describe 'Space.Struct', ->
class MyTestStruct extends Space.Struct
@type 'MyTestStruct'
fields: -> name: String, age: Match.Integer
class MyExtendedTestStruct extends MyTestStruct
@type 'MyExtendedTestStruct'
fields: ->
fields = super()
fields.extra = Match.Integer
return field... |
[
{
"context": "\ndefine [], () ->\n # Nano Templates (Tomasz Mazur, Jacek Becela)\n class Nano\n \n @pipes :\n ",
"end": 50,
"score": 0.9998685717582703,
"start": 38,
"tag": "NAME",
"value": "Tomasz Mazur"
},
{
"context": "define [], () ->\n # Nano Templates (Tomasz Mazur, ... | community/server/src/main/coffeescript/ribcage/ui/Nano.coffee | rebaze/neo4j | 1 |
define [], () ->
# Nano Templates (Tomasz Mazur, Jacek Becela)
class Nano
@pipes :
'truncate' : (value, args) ->
maxlen = Number(args[0])
if maxlen isnt NaN and value.length > maxlen
return value[0...maxlen]
return value
@compile : (template, data) ->
... | 182399 |
define [], () ->
# Nano Templates (<NAME>, <NAME>)
class Nano
@pipes :
'truncate' : (value, args) ->
maxlen = Number(args[0])
if maxlen isnt NaN and value.length > maxlen
return value[0...maxlen]
return value
@compile : (template, data) ->
template.re... | true |
define [], () ->
# Nano Templates (PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI)
class Nano
@pipes :
'truncate' : (value, args) ->
maxlen = Number(args[0])
if maxlen isnt NaN and value.length > maxlen
return value[0...maxlen]
return value
@compile : (template... |
[
{
"context": ", (cookie) ->\n props = {\n key: cookie.name\n path: cookie.path\n value: cooki",
"end": 1700,
"score": 0.6978815793991089,
"start": 1696,
"tag": "KEY",
"value": "name"
},
{
"context": "f not cookie.hostOnly\n ## https://github.com/sal... | packages/server/lib/request.coffee | maff/cypress | 2 | _ = require("lodash")
r = require("request")
rp = require("request-promise")
url = require("url")
tough = require("tough-cookie")
moment = require("moment")
Promise = require("bluebird")
statusCode = require("./util/status_code")
Cookies = require("./automation/cookies")
... | 145998 | _ = require("lodash")
r = require("request")
rp = require("request-promise")
url = require("url")
tough = require("tough-cookie")
moment = require("moment")
Promise = require("bluebird")
statusCode = require("./util/status_code")
Cookies = require("./automation/cookies")
... | true | _ = require("lodash")
r = require("request")
rp = require("request-promise")
url = require("url")
tough = require("tough-cookie")
moment = require("moment")
Promise = require("bluebird")
statusCode = require("./util/status_code")
Cookies = require("./automation/cookies")
... |
[
{
"context": " timeout: 5000\n user: 'default_es_user'\n password: 'default_es_password'\n",
"end": 1617,
"score": 0.9766857028007507,
"start": 1602,
"tag": "USERNAME",
"value": "default_es_user"
},
{
"context": "ser: 'default_es_user'\n ... | test/ElasticSearch.coffee | s2way/elasticsearch-connector | 0 | ElasticSearch = require './../src/ElasticSearch'
expect = require 'expect.js'
describe 'The ElasticSearch connector', ->
describe 'when call constructor method', ->
it 'should throw an exception if the data source is invalid', ->
expect ->
new ElasticSearch
.to.thr... | 87374 | ElasticSearch = require './../src/ElasticSearch'
expect = require 'expect.js'
describe 'The ElasticSearch connector', ->
describe 'when call constructor method', ->
it 'should throw an exception if the data source is invalid', ->
expect ->
new ElasticSearch
.to.thr... | true | ElasticSearch = require './../src/ElasticSearch'
expect = require 'expect.js'
describe 'The ElasticSearch connector', ->
describe 'when call constructor method', ->
it 'should throw an exception if the data source is invalid', ->
expect ->
new ElasticSearch
.to.thr... |
[
{
"context": ":4, y:1, z:0}]\n xkey: 'x'\n ykeys: ['y', 'z']\n labels: ['y', 'z']\n lineCol",
"end": 2551,
"score": 0.5134715437889099,
"start": 2550,
"tag": "KEY",
"value": "y"
},
{
"context": ":1, z:0}]\n xkey: 'x'\n ykeys: ['y', 'z']\n ... | backend/web/frontend/bower_components/morris.js/spec/lib/line/line_spec.coffee | ouqunfu/website_admin | 0 | describe 'Morris.Line', ->
it 'should raise an error when the placeholder element is not found', ->
my_data = [{x: 1, y: 1}, {x: 2, y: 2}]
fn = ->
Morris.Line(
element: "thisplacedoesnotexist"
data: my_data
xkey: 'x'
ykeys: ['y']
labels: ['dontcare']
)
... | 216161 | describe 'Morris.Line', ->
it 'should raise an error when the placeholder element is not found', ->
my_data = [{x: 1, y: 1}, {x: 2, y: 2}]
fn = ->
Morris.Line(
element: "thisplacedoesnotexist"
data: my_data
xkey: 'x'
ykeys: ['y']
labels: ['dontcare']
)
... | true | describe 'Morris.Line', ->
it 'should raise an error when the placeholder element is not found', ->
my_data = [{x: 1, y: 1}, {x: 2, y: 2}]
fn = ->
Morris.Line(
element: "thisplacedoesnotexist"
data: my_data
xkey: 'x'
ykeys: ['y']
labels: ['dontcare']
)
... |
[
{
"context": "ettings =\n data:\n someKey: ['1', '2', '3']\n\n # ?someKey[]=1&someKey[]=2&someKey[",
"end": 10762,
"score": 0.8973278999328613,
"start": 10761,
"tag": "KEY",
"value": "2"
},
{
"context": "gs =\n data:\n someKey: ['1', '2', '3']\n\n... | test/tb/lib/ti/ajax/settings_test.coffee | vcu/titanium-backbone | 1 | helpers = require '../../../../helpers'
_ = require 'underscore'
{ assert } = helpers.chai
ti = helpers.require 'tb/lib/ti'
$ = ti.$
Ti = ti.Ti
describe '$.ajax settings', ->
beforeEach ->
@originalSettings = _.clone $.ajaxSettings
Ti.Network.HTTPClient.resetCaches()
Ti.Network.HTTPClient.mock [
... | 101534 | helpers = require '../../../../helpers'
_ = require 'underscore'
{ assert } = helpers.chai
ti = helpers.require 'tb/lib/ti'
$ = ti.$
Ti = ti.Ti
describe '$.ajax settings', ->
beforeEach ->
@originalSettings = _.clone $.ajaxSettings
Ti.Network.HTTPClient.resetCaches()
Ti.Network.HTTPClient.mock [
... | true | helpers = require '../../../../helpers'
_ = require 'underscore'
{ assert } = helpers.chai
ti = helpers.require 'tb/lib/ti'
$ = ti.$
Ti = ti.Ti
describe '$.ajax settings', ->
beforeEach ->
@originalSettings = _.clone $.ajaxSettings
Ti.Network.HTTPClient.resetCaches()
Ti.Network.HTTPClient.mock [
... |
[
{
"context": "IT License](http://mateusortiz.mit-license.org/) © Mateus Ortiz\n '''\n",
"end": 603,
"score": 0.9998946189880371,
"start": 591,
"tag": "NAME",
"value": "Mateus Ortiz"
}
] | snippets.cson | mateusortiz/atom-preferences | 1 | # Your snippets
# README
'*':
'readme':
'prefix': 'readme'
'body': '''
# ${1:Project Name}
TODO: Write a project description
## Install
TODO: Describe the installation process
## Usage
TODO: Write usage instructions
## Contributing
1. Fork it!
2. Create your feature... | 155493 | # Your snippets
# README
'*':
'readme':
'prefix': 'readme'
'body': '''
# ${1:Project Name}
TODO: Write a project description
## Install
TODO: Describe the installation process
## Usage
TODO: Write usage instructions
## Contributing
1. Fork it!
2. Create your feature... | true | # Your snippets
# README
'*':
'readme':
'prefix': 'readme'
'body': '''
# ${1:Project Name}
TODO: Write a project description
## Install
TODO: Describe the installation process
## Usage
TODO: Write usage instructions
## Contributing
1. Fork it!
2. Create your feature... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.