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": "er-stub/account/login.json',\n {login: 'testlogin', password: 'testpassword'}).respond(200, '')\n\n ",
"end": 373,
"score": 0.5380377769470215,
"start": 368,
"tag": "USERNAME",
"value": "login"
},
{
"context": "in.json',\n {login: 'testlogin', password: '... | src/app/login/loginFactory.spec.coffee | Bunyod/MyDissWeb | 0 | describe 'LoginSvc', ->
beforeEach module('uzhotels.login')
beforeEach inject (@$injector, @$httpBackend) ->
describe 'login', ->
it 'should pass login and password to server URL', ->
service = @$injector.get('LoginSvc', {'$http': @$httpBackend})
@$httpBackend.expectPOST(
'assets/server... | 148365 | describe 'LoginSvc', ->
beforeEach module('uzhotels.login')
beforeEach inject (@$injector, @$httpBackend) ->
describe 'login', ->
it 'should pass login and password to server URL', ->
service = @$injector.get('LoginSvc', {'$http': @$httpBackend})
@$httpBackend.expectPOST(
'assets/server... | true | describe 'LoginSvc', ->
beforeEach module('uzhotels.login')
beforeEach inject (@$injector, @$httpBackend) ->
describe 'login', ->
it 'should pass login and password to server URL', ->
service = @$injector.get('LoginSvc', {'$http': @$httpBackend})
@$httpBackend.expectPOST(
'assets/server... |
[
{
"context": "nizeLines \"\"\"\n General Tso's Chicken: 1\n Dwayne \"The Rock\" Johnson: 2nd\n possessives': \"3\"\n ",
"end": 40538,
"score": 0.9993297457695007,
"start": 40532,
"tag": "NAME",
"value": "Dwayne"
},
{
"context": "\"\n General Tso's Chicken: 1\n ... | spec/yaml-spec.coffee | adamzr/language-otl | 0 | describe "YAML grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-otl")
runs ->
grammar = atom.grammars.grammarForScopeName('source.otl')
it "parses the grammar", ->
expect(grammar).toBeTruthy()
expect(grammar.scopeName).toBe "source... | 98090 | describe "YAML grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-otl")
runs ->
grammar = atom.grammars.grammarForScopeName('source.otl')
it "parses the grammar", ->
expect(grammar).toBeTruthy()
expect(grammar.scopeName).toBe "source... | true | describe "YAML grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage("language-otl")
runs ->
grammar = atom.grammars.grammarForScopeName('source.otl')
it "parses the grammar", ->
expect(grammar).toBeTruthy()
expect(grammar.scopeName).toBe "source... |
[
{
"context": "ey\"\n description: \"If you need one, email `api@robinsloan.com`\"\n default: \"op3n-s3s4m3\"\n }\n",
"end": 1125,
"score": 0.9999235272407532,
"start": 1107,
"tag": "EMAIL",
"value": "api@robinsloan.com"
}
] | lib/rnn-writer-config.coffee | retdop/atom_rnn_plugin | 224 | module.exports = {
numberOfSuggestionsPerRequest:
order: 1
type: "integer"
title: "Number of suggestions per request"
maximum: 10
default: 5
lookbackLength:
order: 2
type: "integer"
title: "Lookback length"
description: "How many characters should we send as sample text?"
max... | 221234 | module.exports = {
numberOfSuggestionsPerRequest:
order: 1
type: "integer"
title: "Number of suggestions per request"
maximum: 10
default: 5
lookbackLength:
order: 2
type: "integer"
title: "Lookback length"
description: "How many characters should we send as sample text?"
max... | true | module.exports = {
numberOfSuggestionsPerRequest:
order: 1
type: "integer"
title: "Number of suggestions per request"
maximum: 10
default: 5
lookbackLength:
order: 2
type: "integer"
title: "Lookback length"
description: "How many characters should we send as sample text?"
max... |
[
{
"context": "oject: atom.project.getPaths()[0]\n oldname: 'Test 1'\n name: 'Test 1'\n command: 'echo test'\n",
"end": 466,
"score": 0.9905905723571777,
"start": 460,
"tag": "NAME",
"value": "Test 1"
},
{
"context": "etPaths()[0]\n oldname: 'Test 1'\n name: '... | spec/command-info-pane-spec.coffee | fstiewitz/build-tools-cpp | 3 | CommandInfoPane = require '../lib/view/command-info-pane'
Command = require '../lib/provider/command'
describe 'Command Info Pane', ->
view = null
command = null
up = null
down = null
edit = null
remove = null
beforeEach ->
up = jasmine.createSpy('up')
down = jasmine.createSpy('down')
edit =... | 178481 | CommandInfoPane = require '../lib/view/command-info-pane'
Command = require '../lib/provider/command'
describe 'Command Info Pane', ->
view = null
command = null
up = null
down = null
edit = null
remove = null
beforeEach ->
up = jasmine.createSpy('up')
down = jasmine.createSpy('down')
edit =... | true | CommandInfoPane = require '../lib/view/command-info-pane'
Command = require '../lib/provider/command'
describe 'Command Info Pane', ->
view = null
command = null
up = null
down = null
edit = null
remove = null
beforeEach ->
up = jasmine.createSpy('up')
down = jasmine.createSpy('down')
edit =... |
[
{
"context": "tch err\n\nrequest_session = (token) ->\n# token = 'bd74a5ab-eca4-4d4a-b959-9335d1aa76d4'\n try\n json",
"end": 362,
"score": 0.6829633116722107,
"start": 360,
"tag": "KEY",
"value": "bd"
},
{
"context": "h err\n\nrequest_session = (token) ->\n# token = 'bd74a5ab-... | src/scripts/commands/login.coffee | WittBulter/fine | 155 | open = require 'opn'
ora = require 'ora'
http = require '../networks/http'
request_token = () ->
try
json = await http.post '/tokens', do http.make_options
if not json.token
fine.print.error json.message if json.message?
fine.print.error 'unable to connect to server'
json.token
catch err
r... | 67431 | open = require 'opn'
ora = require 'ora'
http = require '../networks/http'
request_token = () ->
try
json = await http.post '/tokens', do http.make_options
if not json.token
fine.print.error json.message if json.message?
fine.print.error 'unable to connect to server'
json.token
catch err
r... | true | open = require 'opn'
ora = require 'ora'
http = require '../networks/http'
request_token = () ->
try
json = await http.post '/tokens', do http.make_options
if not json.token
fine.print.error json.message if json.message?
fine.print.error 'unable to connect to server'
json.token
catch err
r... |
[
{
"context": "ller\", ->\n\tbeforeEach ->\n\t\t@user_id = \"323123\"\n\n\t\t@user =\n\t\t\t_id:@user_id\n\t\t\tsave: sinon.stub().calls",
"end": 463,
"score": 0.5839993357658386,
"start": 463,
"tag": "USERNAME",
"value": ""
},
{
"context": "oreEach ->\n\t\t@user_id = \"323123\"\n\n\t... | test/UnitTests/coffee/User/UserControllerTests.coffee | watercrossing/web-sharelatex | 0 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/User/UserController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockResponse = require "../helpers/MockResponse"
MockRequest = require "../helpers/MockReq... | 159377 | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/User/UserController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockResponse = require "../helpers/MockResponse"
MockRequest = require "../helpers/MockReq... | true | sinon = require('sinon')
chai = require('chai')
should = chai.should()
expect = chai.expect
modulePath = "../../../../app/js/Features/User/UserController.js"
SandboxedModule = require('sandboxed-module')
events = require "events"
MockResponse = require "../helpers/MockResponse"
MockRequest = require "../helpers/MockReq... |
[
{
"context": "rine automatically\"\n version: '1.0.0'\n author: 'RPMAN'\n link: 'https://github.com/cmrpman'\n reactClas",
"end": 890,
"score": 0.9997395873069763,
"start": 885,
"tag": "USERNAME",
"value": "RPMAN"
},
{
"context": ".0'\n author: 'RPMAN'\n link: 'https://github.c... | index.cjsx | cnrpman/plugin-sukumizu-helper | 0 | {relative, join} = require 'path-extra'
fs = require 'fs-extra'
{_, $, $$, React, ReactBootstrap, ROOT, resolveTime, layout, toggleModal} = window
{Table, ProgressBar, Grid, Input, Col, Alert} = ReactBootstrap
{APPDATA_PATH, SERVER_HOSTNAME} = window
ss_dat = require join(__dirname,'assets','ss_dat.json')
Shiprow = re... | 119104 | {relative, join} = require 'path-extra'
fs = require 'fs-extra'
{_, $, $$, React, ReactBootstrap, ROOT, resolveTime, layout, toggleModal} = window
{Table, ProgressBar, Grid, Input, Col, Alert} = ReactBootstrap
{APPDATA_PATH, SERVER_HOSTNAME} = window
ss_dat = require join(__dirname,'assets','ss_dat.json')
Shiprow = re... | true | {relative, join} = require 'path-extra'
fs = require 'fs-extra'
{_, $, $$, React, ReactBootstrap, ROOT, resolveTime, layout, toggleModal} = window
{Table, ProgressBar, Grid, Input, Col, Alert} = ReactBootstrap
{APPDATA_PATH, SERVER_HOSTNAME} = window
ss_dat = require join(__dirname,'assets','ss_dat.json')
Shiprow = re... |
[
{
"context": "strap TypeAhead editor 2.0.0\n\n Copyright (c) 2016 Tomasz Jakub Rup\n\n https://github.com/tomi77/backbone-forms-typea",
"end": 92,
"score": 0.9998733997344971,
"start": 76,
"tag": "NAME",
"value": "Tomasz Jakub Rup"
},
{
"context": "t (c) 2016 Tomasz Jakub Rup\n\n ... | src/index.coffee | tomi77/backbone-forms-typeahead | 1 | ###
Backbone-Forms Bootstrap TypeAhead editor 2.0.0
Copyright (c) 2016 Tomasz Jakub Rup
https://github.com/tomi77/backbone-forms-typeahead
Released under the MIT license
###
((root, factory) ->
switch
when typeof define is 'function' and define.amd
define ['underscore', 'backbone', 'backbone-for... | 98247 | ###
Backbone-Forms Bootstrap TypeAhead editor 2.0.0
Copyright (c) 2016 <NAME>
https://github.com/tomi77/backbone-forms-typeahead
Released under the MIT license
###
((root, factory) ->
switch
when typeof define is 'function' and define.amd
define ['underscore', 'backbone', 'backbone-forms', 'type... | true | ###
Backbone-Forms Bootstrap TypeAhead editor 2.0.0
Copyright (c) 2016 PI:NAME:<NAME>END_PI
https://github.com/tomi77/backbone-forms-typeahead
Released under the MIT license
###
((root, factory) ->
switch
when typeof define is 'function' and define.amd
define ['underscore', 'backbone', 'backbone... |
[
{
"context": "RD_CHECK(\n\t\t p_username => $1,\n\t\t\tp_password => $2,\n\t\t\tp_old_password => $3,\n\t\t\tp_workspace_name => ",
"end": 264550,
"score": 0.5938345193862915,
"start": 264549,
"tag": "PASSWORD",
"value": "2"
},
{
"context": "e => $1,\n\t\t\tp_password => $2,\n\t\t\t... | OldSnippetPackage/lib/5.0/AfterSeedOmitUpper.cson | insum-labs/atom-apex-snippet | 2 | '.source.sql, .source.pkb, .source.pks, .source.plsql':
#URL: http://docs.oracle.com/database/apex-5.1/AEAPI/Global-Variables.htm
'apex_application.g_browser_language':
'prefix': 'apex_application.g_browser_language'
'body': """APEX_APPLICATION.G_BROWSER_LANGUAGE"""
'description': 'Refers to the web browser\'s ... | 62084 | '.source.sql, .source.pkb, .source.pks, .source.plsql':
#URL: http://docs.oracle.com/database/apex-5.1/AEAPI/Global-Variables.htm
'apex_application.g_browser_language':
'prefix': 'apex_application.g_browser_language'
'body': """APEX_APPLICATION.G_BROWSER_LANGUAGE"""
'description': 'Refers to the web browser\'s ... | true | '.source.sql, .source.pkb, .source.pks, .source.plsql':
#URL: http://docs.oracle.com/database/apex-5.1/AEAPI/Global-Variables.htm
'apex_application.g_browser_language':
'prefix': 'apex_application.g_browser_language'
'body': """APEX_APPLICATION.G_BROWSER_LANGUAGE"""
'description': 'Refers to the web browser\'s ... |
[
{
"context": "= null) ->\n options =\n name: \"testPet\"\n attrs: [\"1\", \"2\"]\n type: ",
"end": 1435,
"score": 0.7178773283958435,
"start": 1428,
"tag": "USERNAME",
"value": "testPet"
},
{
"context": "k\"\n\n owner:\n ... | test/system/managers/PetManagerTest.coffee | jawsome/IdleLands | 3 | basedir = "../../../src/"
chai = require "chai"
mocha = require "mocha"
sinon = require "sinon"
proxyquire = require "proxyquire"
expect = chai.expect
describe = mocha.describe
GameStub = require "../../stubs/GameStub"
Pet = require basedir + "character/npc/Pet"
#stubs
game = GameStub.getGameStub()
describe "LogM... | 96105 | basedir = "../../../src/"
chai = require "chai"
mocha = require "mocha"
sinon = require "sinon"
proxyquire = require "proxyquire"
expect = chai.expect
describe = mocha.describe
GameStub = require "../../stubs/GameStub"
Pet = require basedir + "character/npc/Pet"
#stubs
game = GameStub.getGameStub()
describe "LogM... | true | basedir = "../../../src/"
chai = require "chai"
mocha = require "mocha"
sinon = require "sinon"
proxyquire = require "proxyquire"
expect = chai.expect
describe = mocha.describe
GameStub = require "../../stubs/GameStub"
Pet = require basedir + "character/npc/Pet"
#stubs
game = GameStub.getGameStub()
describe "LogM... |
[
{
"context": "bqr:\"\n play_now: \"Cynl Abj\"\n im_a_teacher: \"V'z n Grnpure\"\n im_a_student: \"V'z n Fghqrag\"\n learn_more",
"end": 326,
"score": 0.9997717142105103,
"start": 313,
"tag": "NAME",
"value": "V'z n Grnpure"
},
{
"context": " im_a_teacher: \"V'z n Grnpure\... | app/locale/rot13.coffee | Alicecold/codecombat | 0 | module.exports = nativeDescription: "rot13", englishDescription: "English with the letters jumbled", translation:
new_home:
slogan: "Gur zbfg ratntvat tnzr sbe yrneavat cebtenzzvat."
classroom_edition: "Pynffebbz Rqvgvba:"
learn_to_code: "Yrnea gb pbqr:"
play_now: "Cynl Abj"
im_a_teacher: "V'z n G... | 218286 | module.exports = nativeDescription: "rot13", englishDescription: "English with the letters jumbled", translation:
new_home:
slogan: "Gur zbfg ratntvat tnzr sbe yrneavat cebtenzzvat."
classroom_edition: "Pynffebbz Rqvgvba:"
learn_to_code: "Yrnea gb pbqr:"
play_now: "Cynl Abj"
im_a_teacher: "<NAME>"... | true | module.exports = nativeDescription: "rot13", englishDescription: "English with the letters jumbled", translation:
new_home:
slogan: "Gur zbfg ratntvat tnzr sbe yrneavat cebtenzzvat."
classroom_edition: "Pynffebbz Rqvgvba:"
learn_to_code: "Yrnea gb pbqr:"
play_now: "Cynl Abj"
im_a_teacher: "PI:NAME... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero G",
"end": 27,
"score": 0.7324114441871643,
"start": 17,
"tag": "NAME",
"value": "py Pty Ltd"
},
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General... | resources/assets/coffee/react/status-page.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 { Page } from './status-page/page'
reactTurbolinks.register 'status-page', Page
| 123527 | # Copyright (c) p<NAME> <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Page } from './status-page/page'
reactTurbolinks.register 'status-page', Page
| true | # Copyright (c) pPI:NAME:<NAME>END_PI <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 { Page } from './status-page/page'
reactTurbolinks.register 'status-page', Page
|
[
{
"context": "id: 20\nname: \"Bereavement support\"\ndescription: \"Looking at how to help bereaved cu",
"end": 33,
"score": 0.9998682141304016,
"start": 14,
"tag": "NAME",
"value": "Bereavement support"
},
{
"context": "ision\"\nlocation: \"Newcastle\"\nphase: \"alpha\"\nsro: \"Grae... | app/data/projects/bereavement-allowance.cson | tsmorgan/dwp-ux-work | 0 | id: 20
name: "Bereavement support"
description: "Looking at how to help bereaved customers report and deal with changes after a death."
theme: "Retirement Provision"
location: "Newcastle"
phase: "alpha"
sro: "Graeme Wallace"
service_man: "Danny Mclaughlin"
phase_history:
discovery: [
{
label: "Completed"
... | 182446 | id: 20
name: "<NAME>"
description: "Looking at how to help bereaved customers report and deal with changes after a death."
theme: "Retirement Provision"
location: "Newcastle"
phase: "alpha"
sro: "<NAME>"
service_man: "<NAME>"
phase_history:
discovery: [
{
label: "Completed"
date: "January 2016"
}
... | true | id: 20
name: "PI:NAME:<NAME>END_PI"
description: "Looking at how to help bereaved customers report and deal with changes after a death."
theme: "Retirement Provision"
location: "Newcastle"
phase: "alpha"
sro: "PI:NAME:<NAME>END_PI"
service_man: "PI:NAME:<NAME>END_PI"
phase_history:
discovery: [
{
label: "Co... |
[
{
"context": "# Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>\n'use strict'\n\nexpect = (",
"end": 34,
"score": 0.999860942363739,
"start": 22,
"tag": "NAME",
"value": "David M. Lee"
},
{
"context": "# Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>\n'use strict... | test/configure.spec.coffee | building5/parfaitjs | 1 | # Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>
'use strict'
expect = (require 'chai').expect
parfait = require '../src'
class MockAppDirs
constructor: (@basedir) ->
siteDataDir: (appName, appAuthor) ->
expect(appName).to.equal('someApp')
expect(appAuthor).to.equal('someAuthor')
"#{@base... | 26065 | # Copyright (c) 2014. <NAME>, II <<EMAIL>>
'use strict'
expect = (require 'chai').expect
parfait = require '../src'
class MockAppDirs
constructor: (@basedir) ->
siteDataDir: (appName, appAuthor) ->
expect(appName).to.equal('someApp')
expect(appAuthor).to.equal('someAuthor')
"#{@basedir}/site"
use... | true | # Copyright (c) 2014. PI:NAME:<NAME>END_PI, II <PI:EMAIL:<EMAIL>END_PI>
'use strict'
expect = (require 'chai').expect
parfait = require '../src'
class MockAppDirs
constructor: (@basedir) ->
siteDataDir: (appName, appAuthor) ->
expect(appName).to.equal('someApp')
expect(appAuthor).to.equal('someAuthor')
... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998469948768616,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/applied/mailer.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 16240 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "#Skull-client (c) 2011 Braghis Florin (florin@libertv.ro). MIT License\n\nSkull = window.",
"end": 37,
"score": 0.9998756051063538,
"start": 23,
"tag": "NAME",
"value": "Braghis Florin"
},
{
"context": "#Skull-client (c) 2011 Braghis Florin (florin@libertv.ro). MIT Lice... | lib/skull-client.coffee | codeboost/Skull.io | 1 | #Skull-client (c) 2011 Braghis Florin (florin@libertv.ro). MIT License
Skull = window.Skull = {}
#return true if the model is an instance of Skull.Model/Collection
Skull.isValidModel = (model) ->
(typeof model == 'object') and (model instanceof Skull.Model or model instanceof Skull.Collection)
#Called when the ser... | 98907 | #Skull-client (c) 2011 <NAME> (<EMAIL>). MIT License
Skull = window.Skull = {}
#return true if the model is an instance of Skull.Model/Collection
Skull.isValidModel = (model) ->
(typeof model == 'object') and (model instanceof Skull.Model or model instanceof Skull.Collection)
#Called when the server has locked the... | true | #Skull-client (c) 2011 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI). MIT License
Skull = window.Skull = {}
#return true if the model is an instance of Skull.Model/Collection
Skull.isValidModel = (model) ->
(typeof model == 'object') and (model instanceof Skull.Model or model instanceof Skull.Collection)
#Called w... |
[
{
"context": "le.step 'Foobar'\n\n child._name.should.equal 'Foobar'\n\n it 'takes optional details', ->\n profi",
"end": 2549,
"score": 0.9715752601623535,
"start": 2543,
"tag": "NAME",
"value": "Foobar"
},
{
"context": "ar', (child) ->\n child._name.should.equal... | test/unit/profiler.coffee | couchand/tinyprofiler | 0 | # profiler tests
require '../helper'
tinyprofiler = require '../../src'
describe 'Profiler', ->
describe '_baseline', ->
it 'is set in the constructor', ->
start = process.hrtime()
profile = new tinyprofiler.Profiler()
stop = process.hrtime()
profile._baseline.should.be.at.least start
... | 92998 | # profiler tests
require '../helper'
tinyprofiler = require '../../src'
describe 'Profiler', ->
describe '_baseline', ->
it 'is set in the constructor', ->
start = process.hrtime()
profile = new tinyprofiler.Profiler()
stop = process.hrtime()
profile._baseline.should.be.at.least start
... | true | # profiler tests
require '../helper'
tinyprofiler = require '../../src'
describe 'Profiler', ->
describe '_baseline', ->
it 'is set in the constructor', ->
start = process.hrtime()
profile = new tinyprofiler.Profiler()
stop = process.hrtime()
profile._baseline.should.be.at.least start
... |
[
{
"context": "###\n * bag\n * getbag.io\n *\n * Copyright (c) 2015 Ryan Gaus\n * Licensed under the MIT license.\n###\n\nmongoose ",
"end": 58,
"score": 0.9998534917831421,
"start": 49,
"tag": "NAME",
"value": "Ryan Gaus"
}
] | src/models/bag_model.coffee | 1egoman/bag-node | 0 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
bag = mongoose.Schema
user: String
contents: Array
contentsLists: Array
bag.set 'versionKey', false
module.exports = mongoose.model 'Bag', bag
| 127138 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
bag = mongoose.Schema
user: String
contents: Array
contentsLists: Array
bag.set 'versionKey', false
module.exports = mongoose.model 'Bag', bag
| true | ###
* bag
* getbag.io
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
mongoose = require 'mongoose'
bag = mongoose.Schema
user: String
contents: Array
contentsLists: Array
bag.set 'versionKey', false
module.exports = mongoose.model 'Bag', bag
|
[
{
"context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 25,
"score": 0.9967074394226074,
"start": 19,
"tag": "NAME",
"value": "Balena"
}
] | lib/init.coffee | resin-io-modules/resin-device-init | 3 | ###
Copyright 2016 Balena
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
distribu... | 136762 | ###
Copyright 2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
[
{
"context": "n'\n }\n ]\n layout:\n name: 'cose'\n nodeRepulsion: 10000000\n nodeDime",
"end": 3116,
"score": 0.7708072662353516,
"start": 3112,
"tag": "NAME",
"value": "cose"
}
] | app/assets/javascripts/tags.coffee | eyafjall/mampf | 0 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).on 'turbolinks:load', ->
# fill courses selector in admin tag search with user's edited course... | 121874 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).on 'turbolinks:load', ->
# fill courses selector in admin tag search with user's edited course... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$(document).on 'turbolinks:load', ->
# fill courses selector in admin tag search with user's edited course... |
[
{
"context": "###\n *\n * jQuery Modals by Gary Hepting\n * https://github.com/ghepting/modal \n *\n * B",
"end": 40,
"score": 0.9998860359191895,
"start": 28,
"tag": "NAME",
"value": "Gary Hepting"
},
{
"context": "ry Modals by Gary Hepting\n * https://github.com/ghepting/mod... | js/plugins/coffee/jquery.modals.coffee | storagebot/groundwork | 1 | ###
*
* jQuery Modals by Gary Hepting
* https://github.com/ghepting/modal
*
* Based on Avgrund by Hakim El Hattab <3
*
###
(($) ->
# setup iframe modal
if $('div#iframeModal').length < 1
$('body').append('<div class="iframe modal" id="iframeModal"><iframe marginheight="0" marginwidth="0" framebord... | 175876 | ###
*
* jQuery Modals by <NAME>
* https://github.com/ghepting/modal
*
* Based on Avgrund by <NAME> <3
*
###
(($) ->
# setup iframe modal
if $('div#iframeModal').length < 1
$('body').append('<div class="iframe modal" id="iframeModal"><iframe marginheight="0" marginwidth="0" frameborder="0"></iframe... | true | ###
*
* jQuery Modals by PI:NAME:<NAME>END_PI
* https://github.com/ghepting/modal
*
* Based on Avgrund by PI:NAME:<NAME>END_PI <3
*
###
(($) ->
# setup iframe modal
if $('div#iframeModal').length < 1
$('body').append('<div class="iframe modal" id="iframeModal"><iframe marginheight="0" marginwidth=... |
[
{
"context": "room = new Classroom({\n name: 'Test Classroom'\n members: [ joe.get",
"end": 1938,
"score": 0.5148141384124756,
"start": 1934,
"tag": "NAME",
"value": "Test"
}
] | spec/server/functional/level.spec.coffee | JurianLock/codecombat | 1 | require '../common'
describe 'Level', ->
level =
name: 'King\'s Peak 3'
description: 'Climb a mountain.'
permissions: simplePermissions
scripts: []
thangs: []
documentation: {specificArticles: [], generalArticles: []}
urlLevel = '/db/level'
it 'clears things first', (done) ->
clear... | 77006 | require '../common'
describe 'Level', ->
level =
name: 'King\'s Peak 3'
description: 'Climb a mountain.'
permissions: simplePermissions
scripts: []
thangs: []
documentation: {specificArticles: [], generalArticles: []}
urlLevel = '/db/level'
it 'clears things first', (done) ->
clear... | true | require '../common'
describe 'Level', ->
level =
name: 'King\'s Peak 3'
description: 'Climb a mountain.'
permissions: simplePermissions
scripts: []
thangs: []
documentation: {specificArticles: [], generalArticles: []}
urlLevel = '/db/level'
it 'clears things first', (done) ->
clear... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 197,
"score": 0.9998767971992493,
"start": 180,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | test/geometryTest.coffee | OniDaito/pxljs | 1 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for... | 33391 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for details
Tree Tes... | true | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under the MIT Licence. See LIC... |
[
{
"context": "\n \n $('.task-owner').editable\n name: 'owner_id'\n resource: 'task'\n type: 'select'\n \n #",
"end": 820,
"score": 0.6392789483070374,
"start": 818,
"tag": "NAME",
"value": "id"
}
] | app/assets/javascripts/tasks.coffee | Trevonte/network | 24 |
$(document).on 'turbolinks:load', ->
# initialize and link datepickers
$ ->
$('#startdatepicker').datetimepicker
useCurrent: false
format: 'ddd MMMM DD YYYY'
$('#enddatepicker').datetimepicker
useCurrent: false
format: 'ddd MMMM DD YYYY'
$('#task-datetimepicker').datetimepicker ... | 205906 |
$(document).on 'turbolinks:load', ->
# initialize and link datepickers
$ ->
$('#startdatepicker').datetimepicker
useCurrent: false
format: 'ddd MMMM DD YYYY'
$('#enddatepicker').datetimepicker
useCurrent: false
format: 'ddd MMMM DD YYYY'
$('#task-datetimepicker').datetimepicker ... | true |
$(document).on 'turbolinks:load', ->
# initialize and link datepickers
$ ->
$('#startdatepicker').datetimepicker
useCurrent: false
format: 'ddd MMMM DD YYYY'
$('#enddatepicker').datetimepicker
useCurrent: false
format: 'ddd MMMM DD YYYY'
$('#task-datetimepicker').datetimepicker ... |
[
{
"context": "link: (scope, element, attr)->\n editorKey = 'issue'\n issueAPI = null\n\n scope.notFound = fa",
"end": 442,
"score": 0.976428210735321,
"start": 437,
"tag": "KEY",
"value": "issue"
}
] | src/js/issue/issue-details-directive.coffee | Kiteam/kiteam-angular | 0 | define [
'../ng-module'
'../utils'
'../vendor/lodash'
'../../package/highlight/highlight.pack'
], (_module,_utils, _, _hljs) ->
_module.directiveModule
.directive('issueDetails', ['$rootScope', '$stateParams', '$location', '$http', '$timeout', 'API', 'NOTIFY',
($rootScope, $stateParams, $location, $http ... | 218362 | define [
'../ng-module'
'../utils'
'../vendor/lodash'
'../../package/highlight/highlight.pack'
], (_module,_utils, _, _hljs) ->
_module.directiveModule
.directive('issueDetails', ['$rootScope', '$stateParams', '$location', '$http', '$timeout', 'API', 'NOTIFY',
($rootScope, $stateParams, $location, $http ... | true | define [
'../ng-module'
'../utils'
'../vendor/lodash'
'../../package/highlight/highlight.pack'
], (_module,_utils, _, _hljs) ->
_module.directiveModule
.directive('issueDetails', ['$rootScope', '$stateParams', '$location', '$http', '$timeout', 'API', 'NOTIFY',
($rootScope, $stateParams, $location, $http ... |
[
{
"context": " username: process.env.USERID\n password: process.env.USERSECRET\n scope: ''\n .expect 200\n .then (",
"end": 413,
"score": 0.9992669224739075,
"start": 391,
"tag": "PASSWORD",
"value": "process.env.USERSECRET"
}
] | backend/test/unit/1-oauth2.coffee | twhtanghk/jsOAuth2 | 0 | req = require 'supertest'
{parse} = require 'url'
describe 'oauth2', ->
it 'token', ->
url = parse process.env.TOKENURL
req global.server
.post url.path
.auth process.env.CLIENTID, process.env.CLIENTSECRET
.set 'Content-Type', 'application/x-www-form-urlencoded'
.send
grant_t... | 166237 | req = require 'supertest'
{parse} = require 'url'
describe 'oauth2', ->
it 'token', ->
url = parse process.env.TOKENURL
req global.server
.post url.path
.auth process.env.CLIENTID, process.env.CLIENTSECRET
.set 'Content-Type', 'application/x-www-form-urlencoded'
.send
grant_t... | true | req = require 'supertest'
{parse} = require 'url'
describe 'oauth2', ->
it 'token', ->
url = parse process.env.TOKENURL
req global.server
.post url.path
.auth process.env.CLIENTID, process.env.CLIENTSECRET
.set 'Content-Type', 'application/x-www-form-urlencoded'
.send
grant_t... |
[
{
"context": " api.post('/user')\n .send(username: 'test1', password: 'test')\n .end (err, res)->\n ",
"end": 1026,
"score": 0.9995452165603638,
"start": 1021,
"tag": "USERNAME",
"value": "test1"
},
{
"context": "r')\n .send(username: 'test1', password:... | test/server/group.coffee | ethanmick/fastchat-server | 7 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
supertest = require('supertest')
api = supertest('http://localhost:6190')
async = require('async')
mongoose = require('mongoose')
User = require('../../lib/model/user')
Group = require('../../lib/model/group')
Message = require('../../lib/model/messa... | 194024 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
supertest = require('supertest')
api = supertest('http://localhost:6190')
async = require('async')
mongoose = require('mongoose')
User = require('../../lib/model/user')
Group = require('../../lib/model/group')
Message = require('../../lib/model/messa... | true | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
supertest = require('supertest')
api = supertest('http://localhost:6190')
async = require('async')
mongoose = require('mongoose')
User = require('../../lib/model/user')
Group = require('../../lib/model/group')
Message = require('../../lib/model/messa... |
[
{
"context": "###\n Pokemon Go(c) MITM node proxy\n by Michael Strassburger <codepoet@cpan.org>\n\n All your hitting throws wi",
"end": 61,
"score": 0.9998800158500671,
"start": 41,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " Go(c) MITM node proxy\n by Michae... | example.alwaySuperThrow.coffee | noobcakes4603/tinkering | 393 | ###
Pokemon Go(c) MITM node proxy
by Michael Strassburger <codepoet@cpan.org>
All your hitting throws will be spinned and just perfect, +XP time!
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
server = new PokemonGoMITM port: 8081, debug: true
.addRequestHandler "CatchPokemon", (data) ->
data.normalize... | 10258 | ###
Pokemon Go(c) MITM node proxy
by <NAME> <<EMAIL>>
All your hitting throws will be spinned and just perfect, +XP time!
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
server = new PokemonGoMITM port: 8081, debug: true
.addRequestHandler "CatchPokemon", (data) ->
data.normalized_reticle_size = 1.950
... | true | ###
Pokemon Go(c) MITM node proxy
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All your hitting throws will be spinned and just perfect, +XP time!
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
server = new PokemonGoMITM port: 8081, debug: true
.addRequestHandler "CatchPokemon", (data) ->
data.norm... |
[
{
"context": "###\n * https://github.com/jkuetemeier/gulp-tasks-common\n *\n * Copyright (c) 2014 Jörg K",
"end": 37,
"score": 0.9987958073616028,
"start": 26,
"tag": "USERNAME",
"value": "jkuetemeier"
},
{
"context": "temeier/gulp-tasks-common\n *\n * Copyright (c) 2014 Jörg Kütemei... | src/config.coffee | kuetemeier/gulp-tasks-common | 0 | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 Jörg Kütemeier
* Licensed under the MIT license.
###
# KEEP THIS FILE!
# as a cached config for tasks
module.exports = require('requiredir')('config')
| 11165 | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
# KEEP THIS FILE!
# as a cached config for tasks
module.exports = require('requiredir')('config')
| true | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
# KEEP THIS FILE!
# as a cached config for tasks
module.exports = require('requiredir')('config')
|
[
{
"context": "ditable\n # element in webkit, thanks to Marek Suscak's fiddle here:\n # http://jsfiddle.net/",
"end": 4324,
"score": 0.9926712512969971,
"start": 4312,
"tag": "NAME",
"value": "Marek Suscak"
},
{
"context": "'s fiddle here:\n # http://j... | src/scripts/ui/dialogs/dialogs.coffee | boyum/ContentTools | 0 | class ContentTools.AnchoredDialogUI extends ContentTools.WidgetUI
# Base class for creating anchored dialogs. An anchored dialog appears above
# the page but is anchored to a set position within, they are typically used
# for in page edits, such as setting a link within the page.
constructor: () ->
... | 53304 | class ContentTools.AnchoredDialogUI extends ContentTools.WidgetUI
# Base class for creating anchored dialogs. An anchored dialog appears above
# the page but is anchored to a set position within, they are typically used
# for in page edits, such as setting a link within the page.
constructor: () ->
... | true | class ContentTools.AnchoredDialogUI extends ContentTools.WidgetUI
# Base class for creating anchored dialogs. An anchored dialog appears above
# the page but is anchored to a set position within, they are typically used
# for in page edits, such as setting a link within the page.
constructor: () ->
... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.8195878267288208,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/disposer.coffee | heartyoh/dou | 1 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./advice'
], (compose, advice) ->
"use strict"
addDisposer = (callback) ->
@__disp... | 73271 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./advice'
], (compose, advice) ->
"use strict"
addDisposer = (callback) ->
@__dis... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./advice'
], (compose, advice) ->
"use strict"
addDisposer = (callback) ->
... |
[
{
"context": "sWithKeymapsDisabled: []\n projectHome: \"/Users/nathanlim/Github\"\n telemetryConsent: \"limited\"\n editor:",
"end": 1606,
"score": 0.9994657635688782,
"start": 1597,
"tag": "USERNAME",
"value": "nathanlim"
},
{
"context": " 79\n \"linter-python\":\n execut... | mackup-bak/MackUp/.atom/config.cson | nathanmlim/dotfiles-1 | 0 | "*":
"Remote-FTP":
enableTransferNotifications: true
"atom-beautify":
general:
_analyticsUserId: "27a113d1-a0aa-4c56-b86e-22db7d3efe16"
python:
sort_imports: true
"atom-ide-ui":
"atom-ide-terminal":
allowTransparency: true
brightCyan: "#419698"
brightGreen: "#4f8f00"
... | 131514 | "*":
"Remote-FTP":
enableTransferNotifications: true
"atom-beautify":
general:
_analyticsUserId: "27a113d1-a0aa-4c56-b86e-22db7d3efe16"
python:
sort_imports: true
"atom-ide-ui":
"atom-ide-terminal":
allowTransparency: true
brightCyan: "#419698"
brightGreen: "#4f8f00"
... | true | "*":
"Remote-FTP":
enableTransferNotifications: true
"atom-beautify":
general:
_analyticsUserId: "27a113d1-a0aa-4c56-b86e-22db7d3efe16"
python:
sort_imports: true
"atom-ide-ui":
"atom-ide-terminal":
allowTransparency: true
brightCyan: "#419698"
brightGreen: "#4f8f00"
... |
[
{
"context": "dy DSL for Jison grammar generation, thanks to\n# [Tim Caswell](http://github.com/creationix). For every rule in",
"end": 439,
"score": 0.9949256777763367,
"start": 428,
"tag": "NAME",
"value": "Tim Caswell"
},
{
"context": "tion, thanks to\n# [Tim Caswell](http://githu... | source/grammar_dsl.coffee | inductor-labs/hamlet-parser | 18 | # Jison DSL
# ---------
# The only dependency is on the **Jison.Parser**.
{Parser} = require 'jison'
# Since we're going to be wrapped in a function by Jison in any case, if our
# action immediately returns a value, we can optimize by removing the function
# wrapper and just returning the value directly.
unwrap = /^f... | 83295 | # Jison DSL
# ---------
# The only dependency is on the **Jison.Parser**.
{Parser} = require 'jison'
# Since we're going to be wrapped in a function by Jison in any case, if our
# action immediately returns a value, we can optimize by removing the function
# wrapper and just returning the value directly.
unwrap = /^f... | true | # Jison DSL
# ---------
# The only dependency is on the **Jison.Parser**.
{Parser} = require 'jison'
# Since we're going to be wrapped in a function by Jison in any case, if our
# action immediately returns a value, we can optimize by removing the function
# wrapper and just returning the value directly.
unwrap = /^f... |
[
{
"context": "rview Tests for no-mixed-operators rule.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 80,
"score": 0.9998511672019958,
"start": 66,
"tag": "NAME",
"value": "Toru Nagashima"
}
] | src/tests/rules/no-mixed-operators.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-mixed-operators rule.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-mixed-operato... | 9365 | ###*
# @fileoverview Tests for no-mixed-operators rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-mixed-operators'
{Rul... | true | ###*
# @fileoverview Tests for no-mixed-operators rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-mixed-o... |
[
{
"context": "'Esquema del escenario:'\n 'Ejemplos:'\n 'Dado '\n 'Dada '\n 'Dados '\n 'Dadas '\n ",
"end": 203,
"score": 0.8380805253982544,
"start": 199,
"tag": "NAME",
"value": "Dado"
},
{
"context": "scenario:'\n 'Ejemplos:'\n 'Dado '\n 'D... | settings/language-gherkin_es.cson | mackoj/language-gherkin-i18n | 17 | '.text.gherkin.feature.es':
'editor':
'completions': [
'Característica:'
'Antecedentes:'
'Ejemplo:'
'Escenario:'
'Esquema del escenario:'
'Ejemplos:'
'Dado '
'Dada '
'Dados '
'Dadas '
'Cuando '
'Entonces '
'Pero '
'Y '
'E '
... | 63462 | '.text.gherkin.feature.es':
'editor':
'completions': [
'Característica:'
'Antecedentes:'
'Ejemplo:'
'Escenario:'
'Esquema del escenario:'
'Ejemplos:'
'<NAME> '
'<NAME> '
'Dados '
'Dadas '
'Cuando '
'Entonces '
'Pero '
'Y '
'... | true | '.text.gherkin.feature.es':
'editor':
'completions': [
'Característica:'
'Antecedentes:'
'Ejemplo:'
'Escenario:'
'Esquema del escenario:'
'Ejemplos:'
'PI:NAME:<NAME>END_PI '
'PI:NAME:<NAME>END_PI '
'Dados '
'Dadas '
'Cuando '
'Entonces '
... |
[
{
"context": " : 'Formline--half'\n placeholder : 'firstname'\n name : 'firstName'\n l",
"end": 2192,
"score": 0.8146111965179443,
"start": 2183,
"tag": "NAME",
"value": "firstname"
},
{
"context": "er : 'firstname'\n name ... | client/account/lib/views/accounteditusername.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
KDButtonView = kd.ButtonView
KDCustomHTMLView = kd.CustomHTMLView
KDFormViewWithFields = kd.FormViewWithFields
KDInputView = kd.InputView
KDNotificationView = kd.NotificationView
remote = require('app/remote').getInstance()
s3upload = ... | 166521 | kd = require 'kd'
KDButtonView = kd.ButtonView
KDCustomHTMLView = kd.CustomHTMLView
KDFormViewWithFields = kd.FormViewWithFields
KDInputView = kd.InputView
KDNotificationView = kd.NotificationView
remote = require('app/remote').getInstance()
s3upload = ... | true | kd = require 'kd'
KDButtonView = kd.ButtonView
KDCustomHTMLView = kd.CustomHTMLView
KDFormViewWithFields = kd.FormViewWithFields
KDInputView = kd.InputView
KDNotificationView = kd.NotificationView
remote = require('app/remote').getInstance()
s3upload = ... |
[
{
"context": "te: 'Webseite'\n facebook: 'Facebook'\n twitter: 'Twitter'\n beschreibung: 'Beschreibung'\n\n\n 'Reiniciar fi",
"end": 564,
"score": 0.5676694512367249,
"start": 557,
"tag": "NAME",
"value": "Twitter"
}
] | vendor/scripts/t9n/de.coffee | softwarerero/paginasamarillas | 0 | de =
t9nLanguage: 'Deutsch'
app:
title: 'Gelbe Seiten'
filtro: 'Filter'
home: 'Start'
preise: 'Preise'
entwicklung: 'Entwicklung '
preise:
text: 'Alle Preise verstehen sich in Guarani zuzüglich aktuell gültiger paraguayischer Umsatzsteuer (IVA), dies entspricht 10% im Oktober 2014.'
... | 204370 | de =
t9nLanguage: 'Deutsch'
app:
title: 'Gelbe Seiten'
filtro: 'Filter'
home: 'Start'
preise: 'Preise'
entwicklung: 'Entwicklung '
preise:
text: 'Alle Preise verstehen sich in Guarani zuzüglich aktuell gültiger paraguayischer Umsatzsteuer (IVA), dies entspricht 10% im Oktober 2014.'
... | true | de =
t9nLanguage: 'Deutsch'
app:
title: 'Gelbe Seiten'
filtro: 'Filter'
home: 'Start'
preise: 'Preise'
entwicklung: 'Entwicklung '
preise:
text: 'Alle Preise verstehen sich in Guarani zuzüglich aktuell gültiger paraguayischer Umsatzsteuer (IVA), dies entspricht 10% im Oktober 2014.'
... |
[
{
"context": " depending on how this evolves\n function_key: 'bioactivities'\n function_link: true\n execute_on_render: t",
"end": 8162,
"score": 0.9759114980697632,
"start": 8149,
"tag": "KEY",
"value": "bioactivities"
}
] | src/glados/static/coffee/models/Target.coffee | BNext-IQT/glados-frontend-chembl-main-interface | 33 | Target = Backbone.Model.extend(DownloadModelOrCollectionExt).extend
entityName: 'Target'
entityNamePlural: 'Targets'
idAttribute: 'target_chembl_id'
defaults:
fetch_from_elastic: true
initialize: ->
@on 'change', @getProteinTargetClassification, @
@initURL()
initURL: ->
id = @get('id')
... | 159074 | Target = Backbone.Model.extend(DownloadModelOrCollectionExt).extend
entityName: 'Target'
entityNamePlural: 'Targets'
idAttribute: 'target_chembl_id'
defaults:
fetch_from_elastic: true
initialize: ->
@on 'change', @getProteinTargetClassification, @
@initURL()
initURL: ->
id = @get('id')
... | true | Target = Backbone.Model.extend(DownloadModelOrCollectionExt).extend
entityName: 'Target'
entityNamePlural: 'Targets'
idAttribute: 'target_chembl_id'
defaults:
fetch_from_elastic: true
initialize: ->
@on 'change', @getProteinTargetClassification, @
@initURL()
initURL: ->
id = @get('id')
... |
[
{
"context": "(\n ->\n name = Bacon.constant({first:\"jack\", last:\"bauer\"})\n stuff = later(1, { key:",
"end": 5826,
"score": 0.9997171759605408,
"start": 5822,
"tag": "NAME",
"value": "jack"
},
{
"context": " name = Bacon.constant({first:\"jack\", last:... | spec/specs/combine.coffee | laurilehmijoki/bacon.js | 1 | # build-dependencies: scheduled, bus
describe "Property.combine", ->
describe "combines latest values of two properties, with given combinator function, passing through errors", ->
expectPropertyEvents(
->
left = series(2, [1, error(), 2, 3]).toProperty()
right = series(2, [4, error(), 5, 6... | 62255 | # build-dependencies: scheduled, bus
describe "Property.combine", ->
describe "combines latest values of two properties, with given combinator function, passing through errors", ->
expectPropertyEvents(
->
left = series(2, [1, error(), 2, 3]).toProperty()
right = series(2, [4, error(), 5, 6... | true | # build-dependencies: scheduled, bus
describe "Property.combine", ->
describe "combines latest values of two properties, with given combinator function, passing through errors", ->
expectPropertyEvents(
->
left = series(2, [1, error(), 2, 3]).toProperty()
right = series(2, [4, error(), 5, 6... |
[
{
"context": "06\n user: dbConfig['db_user']\n password: dbConfig['db_pass']\n database: dbConfig['db_name']\n ",
"end": 393,
"score": 0.9992863535881042,
"start": 385,
"tag": "PASSWORD",
"value": "dbConfig"
},
{
"context": "er: dbConfig['db_user']\n password: db... | server/controllers/databaseConnector.coffee | Ionaru/Node-Express-boilerplate | 1 | fs = require('fs')
mysql = require('mysql')
state = {
pool: null
mode: null
}
exports.connect = (done) ->
# Only use SSL if the 3 SSL fields in the config are filled
if dbConfig['db_ca_f'] and dbConfig['db_cc_f'] and dbConfig['db_ck_f']
dbOptions = {
host: dbConfig['db_host']
port: dbConfig['d... | 109736 | fs = require('fs')
mysql = require('mysql')
state = {
pool: null
mode: null
}
exports.connect = (done) ->
# Only use SSL if the 3 SSL fields in the config are filled
if dbConfig['db_ca_f'] and dbConfig['db_cc_f'] and dbConfig['db_ck_f']
dbOptions = {
host: dbConfig['db_host']
port: dbConfig['d... | true | fs = require('fs')
mysql = require('mysql')
state = {
pool: null
mode: null
}
exports.connect = (done) ->
# Only use SSL if the 3 SSL fields in the config are filled
if dbConfig['db_ca_f'] and dbConfig['db_cc_f'] and dbConfig['db_ck_f']
dbOptions = {
host: dbConfig['db_host']
port: dbConfig['d... |
[
{
"context": "-9A-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])(\n\t\t(?:1John)|(?:(?:1[ao]|I)[\\s\\xa0]*Jo[a\\xE3]o|1[\\s\\xa0]*",
"end": 16659,
"score": 0.5284895300865173,
"start": 16658,
"tag": "NAME",
"value": "1"
},
{
"context": "\\[\\]/\"'\\*=~\\-\\u2013\\u2014])|$)///gi\n\t,\n\t\to... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/pt/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... | 215167 | 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": "User\r\n email: info.email\r\n password: info.password\r\n , (error, userData) =>\r\n if error o",
"end": 1716,
"score": 0.9989002346992493,
"start": 1703,
"tag": "PASSWORD",
"value": "info.password"
}
] | dev/fire_auth_class.coffee | CurtisHumphrey/knockout-firebase-users | 0 | define (require) ->
ko = require 'knockout'
require 'knockout_firebase'
Firebase = require 'firebase'
class Fire_Auth_Class
constructor: () ->
@user = {}
@user_id = ko.observable()
@valid = ko.pureComputed => Boolean @user_id()
@checking = ko.observable... | 197229 | define (require) ->
ko = require 'knockout'
require 'knockout_firebase'
Firebase = require 'firebase'
class Fire_Auth_Class
constructor: () ->
@user = {}
@user_id = ko.observable()
@valid = ko.pureComputed => Boolean @user_id()
@checking = ko.observable... | true | define (require) ->
ko = require 'knockout'
require 'knockout_firebase'
Firebase = require 'firebase'
class Fire_Auth_Class
constructor: () ->
@user = {}
@user_id = ko.observable()
@valid = ko.pureComputed => Boolean @user_id()
@checking = ko.observable... |
[
{
"context": "###\n* @author Robert Kolatzek\n * The MIT License (MIT)\n *\n * Copyright (c)",
"end": 29,
"score": 0.9998608827590942,
"start": 14,
"tag": "NAME",
"value": "Robert Kolatzek"
},
{
"context": "he MIT License (MIT)\n *\n * Copyright (c) 2015 Dr. Robert Kolatzek\n *... | src/en.coffee | SULB/GNDcoffeine | 0 | ###
* @author Robert Kolatzek
* The MIT License (MIT)
*
* Copyright (c) 2015 Dr. Robert Kolatzek
*
* 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, includin... | 170426 | ###
* @author <NAME>
* The MIT License (MIT)
*
* Copyright (c) 2015 Dr. <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitati... | true | ###
* @author PI:NAME:<NAME>END_PI
* The MIT License (MIT)
*
* Copyright (c) 2015 Dr. PI:NAME:<NAME>END_PI
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction... |
[
{
"context": " random_password = (Math.random().toString() + '097654345771').slice(2, 20)\n\n random_username = h",
"end": 7489,
"score": 0.9768962264060974,
"start": 7477,
"tag": "PASSWORD",
"value": "097654345771"
}
] | app/workers/importer.coffee | lesmo/BlackSam | 1 | module.exports = (helpers, cfg, log) ->
parse_torrent = require 'parse-torrent'
line_reader = require 'line-reader'
async = require 'async'
trycatch = require 'trycatch'
cfg =
sultanna_path: cfg.get 'sultanna path'
userdir: cfg.get 'importer userdir'
random_userdir_torrents: cfg.get 'importe... | 103974 | module.exports = (helpers, cfg, log) ->
parse_torrent = require 'parse-torrent'
line_reader = require 'line-reader'
async = require 'async'
trycatch = require 'trycatch'
cfg =
sultanna_path: cfg.get 'sultanna path'
userdir: cfg.get 'importer userdir'
random_userdir_torrents: cfg.get 'importe... | true | module.exports = (helpers, cfg, log) ->
parse_torrent = require 'parse-torrent'
line_reader = require 'line-reader'
async = require 'async'
trycatch = require 'trycatch'
cfg =
sultanna_path: cfg.get 'sultanna path'
userdir: cfg.get 'importer userdir'
random_userdir_torrents: cfg.get 'importe... |
[
{
"context": "###\n@authors\nNicholas McCready - https://twitter.com/nmccready\nOriginal idea fro",
"end": 30,
"score": 0.9998911023139954,
"start": 13,
"tag": "NAME",
"value": "Nicholas McCready"
},
{
"context": "\n@authors\nNicholas McCready - https://twitter.com/nmccready\nOrigina... | SafetyNet_Mobile/www/lib/angular-google-maps-master/src/coffee/directives/api/models/child/free-draw-polygons-child.coffee | donh/pheonix | 0 | ###
@authors
Nicholas McCready - https://twitter.com/nmccready
Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawing-freehand , &
http://jsfiddle.net/YsQdh/88/
###
angular.module('uiGmapgoogle-maps.directives.api.models.child')
.factory 'uiGmapDrawFreeHandChildModel', ['uiGmapLogger', '$... | 144461 | ###
@authors
<NAME> - https://twitter.com/nmccready
Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawing-freehand , &
http://jsfiddle.net/YsQdh/88/
###
angular.module('uiGmapgoogle-maps.directives.api.models.child')
.factory 'uiGmapDrawFreeHandChildModel', ['uiGmapLogger', '$q', ($log, ... | true | ###
@authors
PI:NAME:<NAME>END_PI - https://twitter.com/nmccready
Original idea from: http://stackoverflow.com/questions/22758950/google-map-drawing-freehand , &
http://jsfiddle.net/YsQdh/88/
###
angular.module('uiGmapgoogle-maps.directives.api.models.child')
.factory 'uiGmapDrawFreeHandChildModel', ['uiGmapLogger',... |
[
{
"context": " data: [\n id: 1\n name: \"Bob\"\n ,\n id: 2\n name: ",
"end": 355,
"score": 0.9998229146003723,
"start": 352,
"tag": "NAME",
"value": "Bob"
},
{
"context": "\n ,\n id: 2\n name: \"S... | test/spec_coffee/model_all_with_order_ignore_case_spec.coffee | kirkbowers/mvcoffee | 0 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
store = null
describe "models with out of order data", ->
beforeEach ->
store = new MVCoffee.ModelStore
user: User
store.load
mvcoffee_version: "1.0.0"
models:
user:
data: [
... | 17726 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
store = null
describe "models with out of order data", ->
beforeEach ->
store = new MVCoffee.ModelStore
user: User
store.load
mvcoffee_version: "1.0.0"
models:
user:
data: [
... | true | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
store = null
describe "models with out of order data", ->
beforeEach ->
store = new MVCoffee.ModelStore
user: User
store.load
mvcoffee_version: "1.0.0"
models:
user:
data: [
... |
[
{
"context": "te\n\n rateLimit: (id=\"\", callback=->) =>\n key = \"#{@name}:#{id}:#{moment().unix()}\"\n debug 'rateLi",
"end": 309,
"score": 0.7713908553123474,
"start": 306,
"tag": "KEY",
"value": "\"#{"
},
{
"context": " rateLimit: (id=\"\", callback=->) =>\n key = \"#{... | lib/RedisThrottle.coffee | CESARBR/knot-cloud-source | 4 | debug = require('debug')('meshblu:RedisThrottle')
moment = require 'moment'
redis = require './redis'
logError = require 'logError'
###
THIS DOESN'T WORK YET!!
###
class RedisThrottle
constructor: (@name, @rate) ->
debug 'constructor', @name, @rate
rateLimit: (id="", callback=->) =>
key = "#{@name}:#{id... | 60938 | debug = require('debug')('meshblu:RedisThrottle')
moment = require 'moment'
redis = require './redis'
logError = require 'logError'
###
THIS DOESN'T WORK YET!!
###
class RedisThrottle
constructor: (@name, @rate) ->
debug 'constructor', @name, @rate
rateLimit: (id="", callback=->) =>
key = <KEY>@<KEY>mom... | true | debug = require('debug')('meshblu:RedisThrottle')
moment = require 'moment'
redis = require './redis'
logError = require 'logError'
###
THIS DOESN'T WORK YET!!
###
class RedisThrottle
constructor: (@name, @rate) ->
debug 'constructor', @name, @rate
rateLimit: (id="", callback=->) =>
key = PI:KEY:<KEY>EN... |
[
{
"context": "ibutes =\n id: m.prop ''\n email: m.prop '1@1.cc'\n nickname: m.prop ''\n firstname: m.pro",
"end": 559,
"score": 0.9792434573173523,
"start": 553,
"tag": "EMAIL",
"value": "1@1.cc"
},
{
"context": ".prop ''\n lastname: m.prop ''\n password... | client/app/scripts/components/user/UserVM.coffee | softwarerero/protothril | 0 | m = require 'mithril'
ViewModel = require '../abstract/ViewModel'
module.exports = class UserVM extends ViewModel
constructor: () ->
super()
@modelName = 'User'
@vm = UserVM
@verb = 'user'
@url = 'api/user'
@homeRoute = '/users'
# create clean hash map without object prototype - ECMAScr... | 130717 | m = require 'mithril'
ViewModel = require '../abstract/ViewModel'
module.exports = class UserVM extends ViewModel
constructor: () ->
super()
@modelName = 'User'
@vm = UserVM
@verb = 'user'
@url = 'api/user'
@homeRoute = '/users'
# create clean hash map without object prototype - ECMAScr... | true | m = require 'mithril'
ViewModel = require '../abstract/ViewModel'
module.exports = class UserVM extends ViewModel
constructor: () ->
super()
@modelName = 'User'
@vm = UserVM
@verb = 'user'
@url = 'api/user'
@homeRoute = '/users'
# create clean hash map without object prototype - ECMAScr... |
[
{
"context": "\"#login_account\").val()\n password: $(\"#login_pwd\").val()\n dataType: 'json'\n type: 'P",
"end": 236,
"score": 0.9431117177009583,
"start": 227,
"tag": "PASSWORD",
"value": "login_pwd"
}
] | static/coffee/auth.coffee | gray0018/tornado-storminton | 0 | root = exports ? this
# !!!! Hotpoor root object
root.Hs or= {}
Hs = root.Hs
root.start_login = ()->
$.ajax
url: "/api/login"
data:
username: $("#login_account").val()
password: $("#login_pwd").val()
dataType: 'json'
type: 'POST'
success: (data)->
... | 99513 | root = exports ? this
# !!!! Hotpoor root object
root.Hs or= {}
Hs = root.Hs
root.start_login = ()->
$.ajax
url: "/api/login"
data:
username: $("#login_account").val()
password: $("#<PASSWORD>").val()
dataType: 'json'
type: 'POST'
success: (data)->
... | true | root = exports ? this
# !!!! Hotpoor root object
root.Hs or= {}
Hs = root.Hs
root.start_login = ()->
$.ajax
url: "/api/login"
data:
username: $("#login_account").val()
password: $("#PI:PASSWORD:<PASSWORD>END_PI").val()
dataType: 'json'
type: 'POST'
su... |
[
{
"context": "rue, users are forced to set a username\n\tusername: false\n\t\n\t# Localisation\n\tdefaultLanguage: 'en'\n\tdateFor",
"end": 508,
"score": 0.8500896096229553,
"start": 503,
"tag": "USERNAME",
"value": "false"
},
{
"context": "al:\n\t\taddress: 'Postfach 317, 8630 Rüti'... | lib/_config/_config.coffee | meip/vmt | 0 | # These values get propagated through the app
# E.g. The 'name' and 'subtitle' are used in seo.coffee
@Config =
# Basic Details
name: 'VMT'
title: ->
TAPi18n.__ 'configTitle'
subtitle: ->
TAPi18n.__ 'configSubtitle'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + ' - Copyright ' + new Date().getFul... | 53990 | # These values get propagated through the app
# E.g. The 'name' and 'subtitle' are used in seo.coffee
@Config =
# Basic Details
name: 'VMT'
title: ->
TAPi18n.__ 'configTitle'
subtitle: ->
TAPi18n.__ 'configSubtitle'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + ' - Copyright ' + new Date().getFul... | true | # These values get propagated through the app
# E.g. The 'name' and 'subtitle' are used in seo.coffee
@Config =
# Basic Details
name: 'VMT'
title: ->
TAPi18n.__ 'configTitle'
subtitle: ->
TAPi18n.__ 'configSubtitle'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + ' - Copyright ' + new Date().getFul... |
[
{
"context": "eBeenCalledWith \\\n 'https://github.com/some-user/some-repo/blob/master/some-dir/some-file.md'\n\n ",
"end": 2279,
"score": 0.9994929432868958,
"start": 2270,
"tag": "USERNAME",
"value": "some-user"
},
{
"context": "eenCalledWith \\\n 'https:/... | spec/github-file-spec.coffee | AEgan/open-on-github | 1 | GitHubFile = require '../lib/github-file'
fs = require 'fs-plus'
path = require 'path'
os = require 'os'
describe "GitHubFile", ->
[githubFile, editor] = []
describe "commands", ->
workingDirPath = path.join(os.tmpdir(), 'open-on-github-working-dir')
filePathRelativeToWorkingDir = 'some-dir/some-file.md'
... | 105611 | GitHubFile = require '../lib/github-file'
fs = require 'fs-plus'
path = require 'path'
os = require 'os'
describe "GitHubFile", ->
[githubFile, editor] = []
describe "commands", ->
workingDirPath = path.join(os.tmpdir(), 'open-on-github-working-dir')
filePathRelativeToWorkingDir = 'some-dir/some-file.md'
... | true | GitHubFile = require '../lib/github-file'
fs = require 'fs-plus'
path = require 'path'
os = require 'os'
describe "GitHubFile", ->
[githubFile, editor] = []
describe "commands", ->
workingDirPath = path.join(os.tmpdir(), 'open-on-github-working-dir')
filePathRelativeToWorkingDir = 'some-dir/some-file.md'
... |
[
{
"context": "{name} = {name: 'Jeremy'}\n[a, [{b: c}]] = [1, [{b: 2}]]\n\nf = (a, [b], {c}",
"end": 23,
"score": 0.999832808971405,
"start": 17,
"tag": "NAME",
"value": "Jeremy"
},
{
"context": "Trace:\n# 1: before name=/\n# 1: after name='Jeremy'\n# 2: before a=/ c=/\n# ... | test/traces/coffee/pattern_matching.coffee | paigeruten/pencil-tracer | 1 | {name} = {name: 'Jeremy'}
[a, [{b: c}]] = [1, [{b: 2}]]
f = (a, [b], {c}, @d, e...) ->
f 1, [2], {c: 3}, 4, 5, 6
# Trace:
# 1: before name=/
# 1: after name='Jeremy'
# 2: before a=/ c=/
# 2: after a=1 c=2
# 4: before f=/
# 4: after f=<function>
# 5: before
# 4: enter a=1 b=2 c=3 @d=4 e=[5... | 3923 | {name} = {name: '<NAME>'}
[a, [{b: c}]] = [1, [{b: 2}]]
f = (a, [b], {c}, @d, e...) ->
f 1, [2], {c: 3}, 4, 5, 6
# Trace:
# 1: before name=/
# 1: after name='<NAME>'
# 2: before a=/ c=/
# 2: after a=1 c=2
# 4: before f=/
# 4: after f=<function>
# 5: before
# 4: enter a=1 b=2 c=3 @d=4 e=[5... | true | {name} = {name: 'PI:NAME:<NAME>END_PI'}
[a, [{b: c}]] = [1, [{b: 2}]]
f = (a, [b], {c}, @d, e...) ->
f 1, [2], {c: 3}, 4, 5, 6
# Trace:
# 1: before name=/
# 1: after name='PI:NAME:<NAME>END_PI'
# 2: before a=/ c=/
# 2: after a=1 c=2
# 4: before f=/
# 4: after f=<function>
# 5: before
# 4: e... |
[
{
"context": " equal $(\".ts-userProfile dd\").eq(0).text(), 'Mrs. Mary Smith'\n equal $(\".ts-userProfile dd\").eq(1).text(), ",
"end": 842,
"score": 0.9992225170135498,
"start": 832,
"tag": "NAME",
"value": "Mary Smith"
},
{
"context": "\n equal $(\".ts-userProfile dd\").eq(1... | test/spec/integration/profile/profile_test.coffee | JulianMiller/opened.io | 1 |
module 'Profile',
setup: ->
Em.run ->
$.mockjaxClear()
localStorage.clear()
Openedui.reset()
Openedui.deferReadiness()
#teardown: ->
# Openedui.reset()
# Ember.testing = false
# localStorage.clear()
test "index page without login", ->
expect 2
Ember.run Openedui, 'advance... | 100549 |
module 'Profile',
setup: ->
Em.run ->
$.mockjaxClear()
localStorage.clear()
Openedui.reset()
Openedui.deferReadiness()
#teardown: ->
# Openedui.reset()
# Ember.testing = false
# localStorage.clear()
test "index page without login", ->
expect 2
Ember.run Openedui, 'advance... | true |
module 'Profile',
setup: ->
Em.run ->
$.mockjaxClear()
localStorage.clear()
Openedui.reset()
Openedui.deferReadiness()
#teardown: ->
# Openedui.reset()
# Ember.testing = false
# localStorage.clear()
test "index page without login", ->
expect 2
Ember.run Openedui, 'advance... |
[
{
"context": "###\n * bag\n * getbag.io\n *\n * Copyright (c) 2015 Ryan Gaus\n * Licensed under the MIT license.\n###\nuuid = req",
"end": 58,
"score": 0.9998422265052795,
"start": 49,
"tag": "NAME",
"value": "Ryan Gaus"
}
] | src/controllers/list_controller.coffee | 1egoman/bag-node | 0 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
uuid = require "uuid"
List = require "../models/list_model"
# get a list of all lists
# GET /list
exports.index = (req, res) ->
query = List.find({}).sort date: -1
# limit quantity and a start index
query = query.s... | 94195 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
uuid = require "uuid"
List = require "../models/list_model"
# get a list of all lists
# GET /list
exports.index = (req, res) ->
query = List.find({}).sort date: -1
# limit quantity and a start index
query = query.skip... | true | ###
* bag
* getbag.io
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
uuid = require "uuid"
List = require "../models/list_model"
# get a list of all lists
# GET /list
exports.index = (req, res) ->
query = List.find({}).sort date: -1
# limit quantity and a start index
quer... |
[
{
"context": "rts =\n _id: setup.newId()\n id: 1234567\n name: 'Mike Adams'\n token: 'sofake'\n tokenSecret: 'sosecret'\n us",
"end": 99,
"score": 0.9998824596405029,
"start": 89,
"tag": "NAME",
"value": "Mike Adams"
},
{
"context": "Id()\n id: 1234567\n name: 'Mike Adams'\n ... | app/scaffold/templates/^language/@coffee/^backend/@yes/server/test/user/mock.coffee | gentryjs/gentry-boiler | 0 | setup = require '../setup'
module.exports =
_id: setup.newId()
id: 1234567
name: 'Mike Adams'
token: 'sofake'
tokenSecret: 'sosecret'
username: 'mikeadams'
| 67002 | setup = require '../setup'
module.exports =
_id: setup.newId()
id: 1234567
name: '<NAME>'
token: '<PASSWORD>'
tokenSecret: '<KEY>'
username: 'mikeadams'
| true | setup = require '../setup'
module.exports =
_id: setup.newId()
id: 1234567
name: 'PI:NAME:<NAME>END_PI'
token: 'PI:PASSWORD:<PASSWORD>END_PI'
tokenSecret: 'PI:KEY:<KEY>END_PI'
username: 'mikeadams'
|
[
{
"context": "fileoverview Tests for no-iterator rule.\n# @author Ian Christian Myers\n###\n\n'use strict'\n\n#-----------------------------",
"end": 78,
"score": 0.9997979402542114,
"start": 59,
"tag": "NAME",
"value": "Ian Christian Myers"
}
] | src/tests/rules/no-iterator.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-iterator rule.
# @author Ian Christian Myers
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-iterator'
... | 94408 | ###*
# @fileoverview Tests for no-iterator rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-iterator'
{RuleTester} ... | true | ###*
# @fileoverview Tests for no-iterator rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-iterator'... |
[
{
"context": "in\",\n \"joke\",\n \"judge\",\n \"juice\",\n \"jump\",\n \"jury\",\n \"justify\",\n \"keep\",\n \"kick\",\n \"kid\",\n ",
"end": 5497,
"score": 0.7999828457832336,
"start": 5496,
"tag": "NAME",
"value": "j"
}
] | src/bro.coffee | PurdyForks/hubot-bro | 0 | # Description:
# Listens for "bro"
terms = [
"abuse",
"accept",
"access",
"according",
"account",
"accuse",
"achieve",
"acquire",
"act",
"adapt",
"add",
"address",
"adjust",
"admire",
"admit",
"adopt",
"advance",
"advantage",
"affect",
"afford",
"age",
"agree",
"air",
... | 97882 | # Description:
# Listens for "bro"
terms = [
"abuse",
"accept",
"access",
"according",
"account",
"accuse",
"achieve",
"acquire",
"act",
"adapt",
"add",
"address",
"adjust",
"admire",
"admit",
"adopt",
"advance",
"advantage",
"affect",
"afford",
"age",
"agree",
"air",
... | true | # Description:
# Listens for "bro"
terms = [
"abuse",
"accept",
"access",
"according",
"account",
"accuse",
"achieve",
"acquire",
"act",
"adapt",
"add",
"address",
"adjust",
"admire",
"admit",
"adopt",
"advance",
"advantage",
"affect",
"afford",
"age",
"agree",
"air",
... |
[
{
"context": "# 'degrees' module v1.0\n# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn\n",
"end": 39,
"score": 0.9998838305473328,
"start": 29,
"tag": "NAME",
"value": "Marc Krenn"
},
{
"context": "degrees' module v1.0\n# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.... | module/degrees.coffee | marckrenn/framer-degrees | 17 | # 'degrees' module v1.0
# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn
#
# Add the following line to your project in Framer Studio.
# degrees = require "degrees"
startcord = false
startX = 0
startY = 0
dx = 0
dy = 0
degr = 0.0
# Returns degrees between current and start position of a draggable laye... | 64318 | # 'degrees' module v1.0
# by <NAME>, Sept. 2015 | <EMAIL> | @marc_krenn
#
# Add the following line to your project in Framer Studio.
# degrees = require "degrees"
startcord = false
startX = 0
startY = 0
dx = 0
dy = 0
degr = 0.0
# Returns degrees between current and start position of a draggable layer
exports.toDragS... | true | # 'degrees' module v1.0
# by PI:NAME:<NAME>END_PI, Sept. 2015 | PI:EMAIL:<EMAIL>END_PI | @marc_krenn
#
# Add the following line to your project in Framer Studio.
# degrees = require "degrees"
startcord = false
startX = 0
startY = 0
dx = 0
dy = 0
degr = 0.0
# Returns degrees between current and start position of a dr... |
[
{
"context": "module for shrinking URLs\n https://www.github.com/jonahoffline/node-linkshrink\n Copyright (c) 2013 Jonah Ruiz\n M",
"end": 87,
"score": 0.9993348717689514,
"start": 75,
"tag": "USERNAME",
"value": "jonahoffline"
},
{
"context": "m/jonahoffline/node-linkshrink\n Copyri... | src/linkshrink.coffee | jonahoffline/node-linkshrink | 0 | ###
linkshrink - A node module for shrinking URLs
https://www.github.com/jonahoffline/node-linkshrink
Copyright (c) 2013 Jonah Ruiz
MIT Licence
###
request = require 'request'
class LinkShrink
constructor: (api_key) ->
@defaults()
@api_key = api_key ? process.env.GOOGLE_URL_KEY
@configureApi() if @a... | 143117 | ###
linkshrink - A node module for shrinking URLs
https://www.github.com/jonahoffline/node-linkshrink
Copyright (c) 2013 <NAME>
MIT Licence
###
request = require 'request'
class LinkShrink
constructor: (api_key) ->
@defaults()
@api_key = api_key ? process.env.GOOGLE_URL_KEY
@configureApi() if @api_k... | true | ###
linkshrink - A node module for shrinking URLs
https://www.github.com/jonahoffline/node-linkshrink
Copyright (c) 2013 PI:NAME:<NAME>END_PI
MIT Licence
###
request = require 'request'
class LinkShrink
constructor: (api_key) ->
@defaults()
@api_key = api_key ? process.env.GOOGLE_URL_KEY
@configureA... |
[
{
"context": " unless users.admin\n METEOR_ADMIN_PASSWORD = env.METEOR_ADMIN_PASSWORD\n METEOR_ADMIN_EMAIL = env.METEOR_ADM",
"end": 212,
"score": 0.9635602831840515,
"start": 195,
"tag": "PASSWORD",
"value": "env.METEOR_ADMIN_"
},
{
"context": "rs.admin =\n name: '... | src/AccountsLocal.coffee | urbanetic/meteor-accounts-local | 0 | AccountsLocal =
config: (users) ->
users ?= {}
env = process.env
# Create an admin user from environment variables if needed.
unless users.admin
METEOR_ADMIN_PASSWORD = env.METEOR_ADMIN_PASSWORD
METEOR_ADMIN_EMAIL = env.METEOR_ADMIN_EMAIL
unless METEOR_ADMIN_PASSWORD
throw ... | 175260 | AccountsLocal =
config: (users) ->
users ?= {}
env = process.env
# Create an admin user from environment variables if needed.
unless users.admin
METEOR_ADMIN_PASSWORD = <PASSWORD>PASSWORD
METEOR_ADMIN_EMAIL = env.METEOR_ADMIN_EMAIL
unless METEOR_ADMIN_PASSWORD
throw new Err... | true | AccountsLocal =
config: (users) ->
users ?= {}
env = process.env
# Create an admin user from environment variables if needed.
unless users.admin
METEOR_ADMIN_PASSWORD = PI:PASSWORD:<PASSWORD>END_PIPASSWORD
METEOR_ADMIN_EMAIL = env.METEOR_ADMIN_EMAIL
unless METEOR_ADMIN_PASSWORD
... |
[
{
"context": "rView} = require 'atom'\n\ngiphy_public_beta_key = \"dc6zaTOxFJmzC\"\n\n# See http://coffeescriptcookbook.com/chapters/",
"end": 78,
"score": 0.9994198083877563,
"start": 65,
"tag": "KEY",
"value": "dc6zaTOxFJmzC"
}
] | lib/giphy-view.coffee | rgbkrk/atom-giphy | 2 | {$, View, EditorView} = require 'atom'
giphy_public_beta_key = "dc6zaTOxFJmzC"
# See http://coffeescriptcookbook.com/chapters/arrays/shuffling-array-elements
#
shuffle = (a) ->
i = a.length
while --i > 0
j = ~~(Math.random() * (i + 1)) # ~~ is a common optimization for Math.floor
t = a[j]
a[j] = a[i]
... | 160963 | {$, View, EditorView} = require 'atom'
giphy_public_beta_key = "<KEY>"
# See http://coffeescriptcookbook.com/chapters/arrays/shuffling-array-elements
#
shuffle = (a) ->
i = a.length
while --i > 0
j = ~~(Math.random() * (i + 1)) # ~~ is a common optimization for Math.floor
t = a[j]
a[j] = a[i]
a[i]... | true | {$, View, EditorView} = require 'atom'
giphy_public_beta_key = "PI:KEY:<KEY>END_PI"
# See http://coffeescriptcookbook.com/chapters/arrays/shuffling-array-elements
#
shuffle = (a) ->
i = a.length
while --i > 0
j = ~~(Math.random() * (i + 1)) # ~~ is a common optimization for Math.floor
t = a[j]
a[j] = ... |
[
{
"context": " new Auction fabricate('sale',\n name: 'An Auction'\n start_at: moment().add(2, 'day",
"end": 2636,
"score": 0.6886143088340759,
"start": 2632,
"tag": "NAME",
"value": "An A"
}
] | src/mobile/apps/auction/test/template.coffee | streamich/force | 0 | _ = require 'underscore'
benv = require 'benv'
moment = require 'moment'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
Auction = require '../../../models/auction'
CurrentUser = require '../../../models/current_user'
Artworks = require '../../../collections/artworks'
SaleArtworks = require '../../..... | 12506 | _ = require 'underscore'
benv = require 'benv'
moment = require 'moment'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
Auction = require '../../../models/auction'
CurrentUser = require '../../../models/current_user'
Artworks = require '../../../collections/artworks'
SaleArtworks = require '../../..... | true | _ = require 'underscore'
benv = require 'benv'
moment = require 'moment'
{ resolve } = require 'path'
{ fabricate } = require 'antigravity'
Auction = require '../../../models/auction'
CurrentUser = require '../../../models/current_user'
Artworks = require '../../../collections/artworks'
SaleArtworks = require '../../..... |
[
{
"context": "e to flag references to undeclared types\n# @author Julian Rosse\n###\n\n{getAddImportFix: getFix} = require '../util",
"end": 87,
"score": 0.9998661279678345,
"start": 75,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/no-undef-types.coffee | helixbass/eslint-plugin-known-imports | 4 | ###*
# @fileoverview Rule to flag references to undeclared types
# @author Julian Rosse
###
{getAddImportFix: getFix} = require '../utils'
# ------------------------------------------------------------------------------
# Helpers
# ------------------------------------------------------------------------------
# ----... | 187205 | ###*
# @fileoverview Rule to flag references to undeclared types
# @author <NAME>
###
{getAddImportFix: getFix} = require '../utils'
# ------------------------------------------------------------------------------
# Helpers
# ------------------------------------------------------------------------------
# ----------... | true | ###*
# @fileoverview Rule to flag references to undeclared types
# @author PI:NAME:<NAME>END_PI
###
{getAddImportFix: getFix} = require '../utils'
# ------------------------------------------------------------------------------
# Helpers
# ------------------------------------------------------------------------------... |
[
{
"context": " logger.warning data.stderr\n\n responseKey = \"\\nResponse:\\n\"\n responsePos = data.stdout.indexOf respon",
"end": 3043,
"score": 0.9956908226013184,
"start": 3029,
"tag": "KEY",
"value": "\"\\nResponse:\\n"
}
] | packages/litexa/src/command-line/api/smapi.coffee | cheruvian/litexa | 34 | LoggingChannel = require '../loggingChannel'
{ spawn } = require('child_process')
###
# Utility function to call a SMAPI command via the `ask api` CLI.
# @param askProfile ... required ASK profile name
# @param command ... required ASK API command
# @param params ... optional flags to send with the command
# @p... | 72557 | LoggingChannel = require '../loggingChannel'
{ spawn } = require('child_process')
###
# Utility function to call a SMAPI command via the `ask api` CLI.
# @param askProfile ... required ASK profile name
# @param command ... required ASK API command
# @param params ... optional flags to send with the command
# @p... | true | LoggingChannel = require '../loggingChannel'
{ spawn } = require('child_process')
###
# Utility function to call a SMAPI command via the `ask api` CLI.
# @param askProfile ... required ASK profile name
# @param command ... required ASK API command
# @param params ... optional flags to send with the command
# @p... |
[
{
"context": " \"data\": \"<tsRequest>\\n <user fullName=\\\"AmyK\\\"\\n email=\\\"AmyK@Amy.com\\\"\\n password=\\\"Amy",
"end": 1054,
"score": 0.9475100636482239,
"start": 1050,
"tag": "USERNAME",
"value": "AmyK"
},
{
"context": "tsRequest>\\n <user fullName=\\\"AmyK\... | snippets/updateuser.cson | cmtoomey/TableauRESTJS | 1 | '.source.js':
'Update User':
'prefix': 'truu'
'body': """
//Update User
// Modifies information about the specified user. If Tableau Server is configured to use local authentication,
// you can update the user's name, email address, password, or site role. If Tableau Server... | 183970 | '.source.js':
'Update User':
'prefix': 'truu'
'body': """
//Update User
// Modifies information about the specified user. If Tableau Server is configured to use local authentication,
// you can update the user's name, email address, password, or site role. If Tableau Server... | true | '.source.js':
'Update User':
'prefix': 'truu'
'body': """
//Update User
// Modifies information about the specified user. If Tableau Server is configured to use local authentication,
// you can update the user's name, email address, password, or site role. If Tableau Server... |
[
{
"context": "lloWorldDict =\n 'en': 'Hello World'\n 'se': 'Hejsan Världen'\n 'jp': 'こんにちは世界'\n 'de': 'Hallo Welt'\n '",
"end": 189,
"score": 0.9995070695877075,
"start": 175,
"tag": "NAME",
"value": "Hejsan Världen"
},
{
"context": ": 'Hejsan Världen'\n 'jp': 'こんにち... | tests/WheatonStoreTest.coffee | lessthanthree/wheaton | 1 | storeClassPath = '../src/vendor/wheaton/Store'
jest.dontMock storeClassPath
describe 'Store', ->
store = undefined
helloWorldDict =
'en': 'Hello World'
'se': 'Hejsan Världen'
'jp': 'こんにちは世界'
'de': 'Hallo Welt'
'es': 'Hola mundo'
'nl': 'Hello wereld'
'ru': 'Здравствулте мир'
gotham... | 143777 | storeClassPath = '../src/vendor/wheaton/Store'
jest.dontMock storeClassPath
describe 'Store', ->
store = undefined
helloWorldDict =
'en': 'Hello World'
'se': '<NAME>'
'jp': 'こんにちは世界'
'de': '<NAME>'
'es': 'Hola mundo'
'nl': 'Hello wereld'
'ru': 'Здравствулте мир'
gothamVillainsDict... | true | storeClassPath = '../src/vendor/wheaton/Store'
jest.dontMock storeClassPath
describe 'Store', ->
store = undefined
helloWorldDict =
'en': 'Hello World'
'se': 'PI:NAME:<NAME>END_PI'
'jp': 'こんにちは世界'
'de': 'PI:NAME:<NAME>END_PI'
'es': 'Hola mundo'
'nl': 'Hello wereld'
'ru': 'Здравствулт... |
[
{
"context": "# Droplet Java mode\n#\n# Copyright (c) 2015 Anthony Bau\n# MIT License\nparser = require '../parser.coffee'",
"end": 54,
"score": 0.9998555183410645,
"start": 43,
"tag": "NAME",
"value": "Anthony Bau"
}
] | src/languages/java.coffee | takeratta/droplet | 145 | # Droplet Java mode
#
# Copyright (c) 2015 Anthony Bau
# MIT License
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
INDENTS = ['block', 'classBody']
SKIPS = ['compilationUnit',
'variableDeclarators'
'variableDeclarator'
'classDeclaration',
'memberDeclaration',
'constructorDeclara... | 205115 | # Droplet Java mode
#
# Copyright (c) 2015 <NAME>
# MIT License
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
INDENTS = ['block', 'classBody']
SKIPS = ['compilationUnit',
'variableDeclarators'
'variableDeclarator'
'classDeclaration',
'memberDeclaration',
'constructorDeclaration'... | true | # Droplet Java mode
#
# Copyright (c) 2015 PI:NAME:<NAME>END_PI
# MIT License
parser = require '../parser.coffee'
antlrHelper = require '../antlr.coffee'
INDENTS = ['block', 'classBody']
SKIPS = ['compilationUnit',
'variableDeclarators'
'variableDeclarator'
'classDeclaration',
'memberDeclaration',
'construct... |
[
{
"context": "->\n user = App.User.build\n username: 'A username'\n email: 'A email'\n password: 'A pa",
"end": 150,
"score": 0.9994528293609619,
"start": 140,
"tag": "USERNAME",
"value": "A username"
},
{
"context": "name'\n email: 'A email'\n ... | test/cases/models/shared/userTest.coffee | MagicPower2/Power | 0 | describe 'App.User', ->
user = undefined
describe 'fields', ->
beforeEach (done) ->
user = App.User.build
username: 'A username'
email: 'A email'
password: 'A password'
createTime: 'A createTime'
done()
test 'username', ->
assert.ok user.get('username')
... | 219629 | describe 'App.User', ->
user = undefined
describe 'fields', ->
beforeEach (done) ->
user = App.User.build
username: 'A username'
email: 'A email'
password: '<PASSWORD>'
createTime: 'A createTime'
done()
test 'username', ->
assert.ok user.get('username')
... | true | describe 'App.User', ->
user = undefined
describe 'fields', ->
beforeEach (done) ->
user = App.User.build
username: 'A username'
email: 'A email'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
createTime: 'A createTime'
done()
test 'username', ->
assert.ok user... |
[
{
"context": " url\n }\n }\n author {\n name\n }\n }\n publisher\n manufacturer\n ",
"end": 285,
"score": 0.9955283999443054,
"start": 281,
"tag": "NAME",
"value": "name"
}
] | src/desktop/apps/artwork/components/additional_info/query.coffee | kanaabe/force | 1 | module.exports = """
fragment additional_info on Artwork {
articles(size: 2) {
title
href
thumbnail: thumbnail_image {
image: cropped(width: 150, height: 100) {
width
height
url
}
}
author {
name
}
}
publisher
ma... | 180096 | module.exports = """
fragment additional_info on Artwork {
articles(size: 2) {
title
href
thumbnail: thumbnail_image {
image: cropped(width: 150, height: 100) {
width
height
url
}
}
author {
<NAME>
}
}
publisher
... | true | module.exports = """
fragment additional_info on Artwork {
articles(size: 2) {
title
href
thumbnail: thumbnail_image {
image: cropped(width: 150, height: 100) {
width
height
url
}
}
author {
PI:NAME:<NAME>END_PI
}
}
... |
[
{
"context": " cameratype \n ###\n constructor: ->\n @name = 'Panasonic WV-SW598'\n @sensorWidth = 7.93\n @sens",
"end": 228,
"score": 0.7689076662063599,
"start": 225,
"tag": "NAME",
"value": "Pan"
}
] | test/sampleptzcameratype.coffee | kruschid/threenorama | 0 | ###*
# Sample PTZ-CameraConfig Panasonic WV-SW598
# @memberOf threenorama.test
# @namespace SamplePTZCameraType
###
module.exports = class SamplePTZCameraType
###*
# inits cameratype
###
constructor: ->
@name = 'Panasonic WV-SW598'
@sensorWidth = 7.93
@sensorHeight = 4.46
@focalLengthMin = 4.3
... | 219987 | ###*
# Sample PTZ-CameraConfig Panasonic WV-SW598
# @memberOf threenorama.test
# @namespace SamplePTZCameraType
###
module.exports = class SamplePTZCameraType
###*
# inits cameratype
###
constructor: ->
@name = '<NAME>asonic WV-SW598'
@sensorWidth = 7.93
@sensorHeight = 4.46
@focalLengthMin = 4... | true | ###*
# Sample PTZ-CameraConfig Panasonic WV-SW598
# @memberOf threenorama.test
# @namespace SamplePTZCameraType
###
module.exports = class SamplePTZCameraType
###*
# inits cameratype
###
constructor: ->
@name = 'PI:NAME:<NAME>END_PIasonic WV-SW598'
@sensorWidth = 7.93
@sensorHeight = 4.46
@foca... |
[
{
"context": "###\nThe MIT License\n\nCopyright (c) 2015 Juan Cruz Viotti. https://jviotti.github.io.\n\nPermission is hereby",
"end": 56,
"score": 0.9998188018798828,
"start": 40,
"tag": "NAME",
"value": "Juan Cruz Viotti"
}
] | lib/temporal.coffee | jviotti/wary | 1 | ###
The MIT License
Copyright (c) 2015 Juan Cruz Viotti. https://jviotti.github.io.
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... | 120831 | ###
The MIT License
Copyright (c) 2015 <NAME>. https://jviotti.github.io.
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... | true | ###
The MIT License
Copyright (c) 2015 PI:NAME:<NAME>END_PI. https://jviotti.github.io.
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 right... |
[
{
"context": "srv.uname\n s.uname = @defUname\n s.pass = @defPass\n C.C.connect s, (err,res) => @onConnect(srvId,",
"end": 3380,
"score": 0.9990237355232239,
"start": 3372,
"tag": "PASSWORD",
"value": "@defPass"
}
] | lib/servers.coffee | quintanar401/connect-kdb-q | 8 | C = require './c'
class Servers
constructor: ->
@srvView = null; @barView = @pendingQuery = null
@srvs = []; @tagLists = []; @tags = {}; @srvMap = {}; @defUname = null; @defPass = null
@init(); @currSrv = -1
setConnection: ->
try
if !@srvView
view = require './servers-view'
@... | 82914 | C = require './c'
class Servers
constructor: ->
@srvView = null; @barView = @pendingQuery = null
@srvs = []; @tagLists = []; @tags = {}; @srvMap = {}; @defUname = null; @defPass = null
@init(); @currSrv = -1
setConnection: ->
try
if !@srvView
view = require './servers-view'
@... | true | C = require './c'
class Servers
constructor: ->
@srvView = null; @barView = @pendingQuery = null
@srvs = []; @tagLists = []; @tags = {}; @srvMap = {}; @defUname = null; @defPass = null
@init(); @currSrv = -1
setConnection: ->
try
if !@srvView
view = require './servers-view'
@... |
[
{
"context": "\n \"index.start\" : \"Start Now\"\n \"full_name\" : \"{{firstName}} {{lastName}}\"\n \"select_district\" : \"Select a d",
"end": 1067,
"score": 0.8322252035140991,
"start": 1058,
"tag": "NAME",
"value": "firstName"
},
{
"context": "t\" : \"Start Now\"\n \"full_name... | addon/locales/en/translations.coffee | crossroads/shared.goodcity | 0 | I18nTranslationsEn =
"offline_error": "Unable to complete action, please check your internet connection."
"offline_page": "Unable to load app, please check your internet connection."
"try_again": "Try Again"
"send": "Send"
"delete_confirm": "Are you sure? This cannot be undone."
"online": "Online"
"not_co... | 163010 | I18nTranslationsEn =
"offline_error": "Unable to complete action, please check your internet connection."
"offline_page": "Unable to load app, please check your internet connection."
"try_again": "Try Again"
"send": "Send"
"delete_confirm": "Are you sure? This cannot be undone."
"online": "Online"
"not_co... | true | I18nTranslationsEn =
"offline_error": "Unable to complete action, please check your internet connection."
"offline_page": "Unable to load app, please check your internet connection."
"try_again": "Try Again"
"send": "Send"
"delete_confirm": "Are you sure? This cannot be undone."
"online": "Online"
"not_co... |
[
{
"context": " user = robot.brain.userForId '1',\n name: 'mocha'\n room: '#mocha'\n adapter = robot.ada",
"end": 783,
"score": 0.6482627987861633,
"start": 778,
"tag": "NAME",
"value": "mocha"
},
{
"context": "gs) ->\n expect(envelope.user.name).to.equal(\"moc... | test/github-op_test.coffee | groovenauts/hubot-groovenauts | 0 | # references:
# http://devlog.forkwell.com/2014/10/28/testable-hubot-tdddetesutowoshu-kinagarabotwozuo-ru/
# http://ja.ngs.io/2014/06/13/tdd-hubot-scripts/
#
chai = require("chai")
nock = require("nock")
{ expect } = chai
Robot = require('hubot/src/robot')
TextMessage = require('hubot/src/message').TextMess... | 93536 | # references:
# http://devlog.forkwell.com/2014/10/28/testable-hubot-tdddetesutowoshu-kinagarabotwozuo-ru/
# http://ja.ngs.io/2014/06/13/tdd-hubot-scripts/
#
chai = require("chai")
nock = require("nock")
{ expect } = chai
Robot = require('hubot/src/robot')
TextMessage = require('hubot/src/message').TextMess... | true | # references:
# http://devlog.forkwell.com/2014/10/28/testable-hubot-tdddetesutowoshu-kinagarabotwozuo-ru/
# http://ja.ngs.io/2014/06/13/tdd-hubot-scripts/
#
chai = require("chai")
nock = require("nock")
{ expect } = chai
Robot = require('hubot/src/robot')
TextMessage = require('hubot/src/message').TextMess... |
[
{
"context": " ### extends [NPM:MPBasic](https://cdn.rawgit.com/mpneuried/mpbaisc/master/_docs/index.coffee.html)\n#\n# ### E",
"end": 79,
"score": 0.9996998906135559,
"start": 70,
"tag": "USERNAME",
"value": "mpneuried"
},
{
"context": " The config key to load redis\n\t\t\tredisConf... | _src/lib/redisconnector.coffee | mpneuried/node-pi-photobooth | 1 | # # RedisConnector
# ### extends [NPM:MPBasic](https://cdn.rawgit.com/mpneuried/mpbaisc/master/_docs/index.coffee.html)
#
# ### Exports: *Class*
#
# Basic module to handle a redis connection.
# Just call `@connect()` within the constructor to connect savely to redis
#
# ### Class-Vars
#
# * **redis** *RedisClient* the... | 200234 | # # RedisConnector
# ### extends [NPM:MPBasic](https://cdn.rawgit.com/mpneuried/mpbaisc/master/_docs/index.coffee.html)
#
# ### Exports: *Class*
#
# Basic module to handle a redis connection.
# Just call `@connect()` within the constructor to connect savely to redis
#
# ### Class-Vars
#
# * **redis** *RedisClient* the... | true | # # RedisConnector
# ### extends [NPM:MPBasic](https://cdn.rawgit.com/mpneuried/mpbaisc/master/_docs/index.coffee.html)
#
# ### Exports: *Class*
#
# Basic module to handle a redis connection.
# Just call `@connect()` within the constructor to connect savely to redis
#
# ### Class-Vars
#
# * **redis** *RedisClient* the... |
[
{
"context": "###\n * zouti\n * https://github.com/krkn/zouti\n *\n * Copyright (c) 2014 Leny\n * Licensed u",
"end": 39,
"score": 0.9995752573013306,
"start": 35,
"tag": "USERNAME",
"value": "krkn"
},
{
"context": "s://github.com/krkn/zouti\n *\n * Copyright (c) 2014 Leny\n * Licens... | lib/zouti.coffee | krkn/zouti | 1 | ###
* zouti
* https://github.com/krkn/zouti
*
* Copyright (c) 2014 Leny
* Licensed under the WTFPL license.
###
"use strict"
crypto = require "crypto"
chalk = require "chalk"
# Log formatting constants
exports.ERROR = ERROR = "ERROR"
exports.WARNING = WARNING = "WARNING"
exports.SUCCESS = SUCCESS = "SUCCESS"
#... | 88055 | ###
* zouti
* https://github.com/krkn/zouti
*
* Copyright (c) 2014 <NAME>
* Licensed under the WTFPL license.
###
"use strict"
crypto = require "crypto"
chalk = require "chalk"
# Log formatting constants
exports.ERROR = ERROR = "ERROR"
exports.WARNING = WARNING = "WARNING"
exports.SUCCESS = SUCCESS = "SUCCESS"
... | true | ###
* zouti
* https://github.com/krkn/zouti
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the WTFPL license.
###
"use strict"
crypto = require "crypto"
chalk = require "chalk"
# Log formatting constants
exports.ERROR = ERROR = "ERROR"
exports.WARNING = WARNING = "WARNING"
exports.SUCCESS = SUCCES... |
[
{
"context": "s added in\ntwo links, first one with one invite (\"basil%1\") and second with two\ninvites (\"rose%1\", \"lily%",
"end": 115,
"score": 0.7140970230102539,
"start": 110,
"tag": "NAME",
"value": "basil"
},
{
"context": "asil%1\") and second with two\ninvites (\"rose%1\",... | teamchains/inputs/invite_obsolete.iced | keybase/keybase-test-vectors | 4 | description: """Obsoleting invites - This chain has 3 invites added in
two links, first one with one invite ("basil%1") and second with two
invites ("rose%1", "lily%1"). Then, basil user is added as a member
using change_membership link, but it does not explicitly complete
invite. Team player should mark "basil%1" invi... | 118232 | description: """Obsoleting invites - This chain has 3 invites added in
two links, first one with one invite ("<NAME>%1") and second with two
invites ("rose%1", "l<NAME>%1"). Then, <NAME>il user is added as a member
using change_membership link, but it does not explicitly complete
invite. Team player should mark "bas<NA... | true | description: """Obsoleting invites - This chain has 3 invites added in
two links, first one with one invite ("PI:NAME:<NAME>END_PI%1") and second with two
invites ("rose%1", "lPI:NAME:<NAME>END_PI%1"). Then, PI:NAME:<NAME>END_PIil user is added as a member
using change_membership link, but it does not explicitly comple... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991018176078796,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": " error event, not an exception.\nkey = new Buffer(\"48fb56eb10ffeb13fc0ef551bbca3b1b\", \"hex\... | test/simple/test-crypto-stream.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... | 113781 | # 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": "to: \"author\"\n post = new Post(author: { name: \"Jonas\", email: \"jonas@elabs.se\" })\n expect(post.name",
"end": 233,
"score": 0.9995430707931519,
"start": 228,
"tag": "NAME",
"value": "Jonas"
},
{
"context": " post = new Post(author: { name: \"Jonas\", email:... | test/model/delegate.spec.coffee | varvet/serenade.js | 5 | require './../spec_helper'
describe "Serenade.Model.delegate", ->
it "sets up delegated attributes", ->
class Post extends Serenade.Model
@delegate "name", "email", to: "author"
post = new Post(author: { name: "Jonas", email: "jonas@elabs.se" })
expect(post.name).to.eql("Jonas")
expect(post.ema... | 108771 | require './../spec_helper'
describe "Serenade.Model.delegate", ->
it "sets up delegated attributes", ->
class Post extends Serenade.Model
@delegate "name", "email", to: "author"
post = new Post(author: { name: "<NAME>", email: "<EMAIL>" })
expect(post.name).to.eql("<NAME>")
expect(post.email).t... | true | require './../spec_helper'
describe "Serenade.Model.delegate", ->
it "sets up delegated attributes", ->
class Post extends Serenade.Model
@delegate "name", "email", to: "author"
post = new Post(author: { name: "PI:NAME:<NAME>END_PI", email: "PI:EMAIL:<EMAIL>END_PI" })
expect(post.name).to.eql("PI:N... |
[
{
"context": "izeSubscription: ->\n routingKey1 = \"changes.project.#{@scope.projectId}.userstories\"\n r",
"end": 12807,
"score": 0.560716986656189,
"start": 12807,
"tag": "KEY",
"value": ""
}
] | app/coffee/modules/kanban/main.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# 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 the
# License, or (at your option) any later version.
#
# This program ... | 46986 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# 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 the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# 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 the
# License, or (at your option) any later version.
#
# This program ... |
[
{
"context": "nitialState: ->\r\n template:\r\n fieldName: \"title\"\r\n type: undefined\r\n custom: false\r\n ",
"end": 155,
"score": 0.9897066950798035,
"start": 150,
"tag": "NAME",
"value": "title"
}
] | lib/assets/javascripts/excel-i-o/export/main.js.coffee.cjsx | mystand/excel-io | 1 | window.ExcelMapperExportMain = React.createClass
mixins: [React.addons.LinkedStateMixin],
getInitialState: ->
template:
fieldName: "title"
type: undefined
custom: false
fieldsData: JSON.parse(@props.fieldsData)
fieldNames: JSON.parse(@props.fieldNames)
sampleData: JSON.par... | 41606 | window.ExcelMapperExportMain = React.createClass
mixins: [React.addons.LinkedStateMixin],
getInitialState: ->
template:
fieldName: "<NAME>"
type: undefined
custom: false
fieldsData: JSON.parse(@props.fieldsData)
fieldNames: JSON.parse(@props.fieldNames)
sampleData: JSON.pa... | true | window.ExcelMapperExportMain = React.createClass
mixins: [React.addons.LinkedStateMixin],
getInitialState: ->
template:
fieldName: "PI:NAME:<NAME>END_PI"
type: undefined
custom: false
fieldsData: JSON.parse(@props.fieldsData)
fieldNames: JSON.parse(@props.fieldNames)
sampl... |
[
{
"context": "# @author alteredq / http://alteredqualia.com/\n# @author aladjev.and",
"end": 18,
"score": 0.972034215927124,
"start": 10,
"tag": "USERNAME",
"value": "alteredq"
},
{
"context": "hor alteredq / http://alteredqualia.com/\n# @author aladjev.andrew@gmail.com\n\nclass Cloc... | source/javascripts/new_src/core/clock.coffee | andrew-aladev/three.js | 0 | # @author alteredq / http://alteredqualia.com/
# @author aladjev.andrew@gmail.com
class Clock
constructor: (autoStart) ->
if autoStart is undefined
@autoStart = true
@startTime = 0
@oldTime = 0
@elapsedTime = 0
@running = false
start: ->
@startTime = Date.now()
@o... | 6854 | # @author alteredq / http://alteredqualia.com/
# @author <EMAIL>
class Clock
constructor: (autoStart) ->
if autoStart is undefined
@autoStart = true
@startTime = 0
@oldTime = 0
@elapsedTime = 0
@running = false
start: ->
@startTime = Date.now()
@oldTime = @star... | true | # @author alteredq / http://alteredqualia.com/
# @author PI:EMAIL:<EMAIL>END_PI
class Clock
constructor: (autoStart) ->
if autoStart is undefined
@autoStart = true
@startTime = 0
@oldTime = 0
@elapsedTime = 0
@running = false
start: ->
@startTime = Date.now()
@old... |
[
{
"context": "ions\"\n\t\tauth: { user: settings.apis.v1.user, pass: settings.apis.v1.pass }\n\t\tjson: true,\n\t\ttimeout: 20 * 1000\n\t}, (error, ",
"end": 3593,
"score": 0.8872625827789307,
"start": 3572,
"tag": "PASSWORD",
"value": "settings.apis.v1.pass"
}
] | app/coffee/Features/User/UserGetter.coffee | davidmehren/web-sharelatex | 0 | mongojs = require("../../infrastructure/mongojs")
metrics = require('metrics-sharelatex')
logger = require('logger-sharelatex')
db = mongojs.db
ObjectId = mongojs.ObjectId
settings = require "settings-sharelatex"
request = require "request"
module.exports = UserGetter =
getUser: (query, projection, callback = (error,... | 32588 | mongojs = require("../../infrastructure/mongojs")
metrics = require('metrics-sharelatex')
logger = require('logger-sharelatex')
db = mongojs.db
ObjectId = mongojs.ObjectId
settings = require "settings-sharelatex"
request = require "request"
module.exports = UserGetter =
getUser: (query, projection, callback = (error,... | true | mongojs = require("../../infrastructure/mongojs")
metrics = require('metrics-sharelatex')
logger = require('logger-sharelatex')
db = mongojs.db
ObjectId = mongojs.ObjectId
settings = require "settings-sharelatex"
request = require "request"
module.exports = UserGetter =
getUser: (query, projection, callback = (error,... |
[
{
"context": "ption of project}',\n author='${4:Joe Schmoe}',\n author_email='${5:joe@schmoe",
"end": 338,
"score": 0.9998680353164673,
"start": 328,
"tag": "NAME",
"value": "Joe Schmoe"
},
{
"context": "Joe Schmoe}',\n author_email=... | snippets/setup-snippet.cson | andydevs/better-python-snippets | 0 | '.source.python':
'Setup Function':
prefix: 'setup'
body: '''
from distutils.core import setup
# Setup function
setup(name='${1:my-project}',
version='${2:0.1}',
description='${3:description of project}',
auth... | 105082 | '.source.python':
'Setup Function':
prefix: 'setup'
body: '''
from distutils.core import setup
# Setup function
setup(name='${1:my-project}',
version='${2:0.1}',
description='${3:description of project}',
auth... | true | '.source.python':
'Setup Function':
prefix: 'setup'
body: '''
from distutils.core import setup
# Setup function
setup(name='${1:my-project}',
version='${2:0.1}',
description='${3:description of project}',
auth... |
[
{
"context": "//localhost:5000'\n sd['ARTSY_XAPP_TOKEN'] = 'xappfoobar'\n sd['CURRENT_USER'] = { accessToken: 'acces",
"end": 530,
"score": 0.796227753162384,
"start": 520,
"tag": "PASSWORD",
"value": "xappfoobar"
},
{
"context": "oobar'\n sd['CURRENT_USER'] = { access... | src/mobile/components/layout/test/layout.coffee | kanaabe/force | 0 | jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
benv = require 'benv'
{ resolve } = require 'path'
sd = require('sharify').data
rewire = require 'rewire'
sinon = require 'sinon'
{ fabricate } = require 'antigravity'
describe 'Bootstrapping client-side environment', ->
be... | 26221 | jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
benv = require 'benv'
{ resolve } = require 'path'
sd = require('sharify').data
rewire = require 'rewire'
sinon = require 'sinon'
{ fabricate } = require 'antigravity'
describe 'Bootstrapping client-side environment', ->
be... | true | jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
benv = require 'benv'
{ resolve } = require 'path'
sd = require('sharify').data
rewire = require 'rewire'
sinon = require 'sinon'
{ fabricate } = require 'antigravity'
describe 'Bootstrapping client-side environment', ->
be... |
[
{
"context": "w Tests for no-useless-constructor rule.\n# @author Alberto Rodriguez\n###\n\n'use strict'\n\n#-----------------------------",
"end": 87,
"score": 0.9998433589935303,
"start": 70,
"tag": "NAME",
"value": "Alberto Rodriguez"
}
] | src/tests/rules/no-useless-constructor.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-useless-constructor rule.
# @author Alberto Rodriguez
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-useles... | 167468 | ###*
# @fileoverview Tests for no-useless-constructor rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-useless-construct... | true | ###*
# @fileoverview Tests for no-useless-constructor rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-use... |
[
{
"context": "angular: [\n {\n key: \"desiredState.color\"\n }\n]\n",
"end": 37,
"score": 0.6730431914329529,
"start": 37,
"tag": "KEY",
"value": ""
}
] | src/schemas/configure/default-form.cson | octoblu/alexa-service | 3 | angular: [
{
key: "desiredState.color"
}
]
| 64459 | angular: [
{
key: "desiredState<KEY>.color"
}
]
| true | angular: [
{
key: "desiredStatePI:KEY:<KEY>END_PI.color"
}
]
|
[
{
"context": "key] = data.key.split ':'\n user.username ?= username\n user[key] = data.value\n .on 'error',",
"end": 382,
"score": 0.996137261390686,
"start": 374,
"tag": "USERNAME",
"value": "username"
},
{
"context": " person.value = data.value\n te... | lib/db.coffee | Vowow/LoginJS | 0 | level = require 'level'
module.exports = (db="#{__dirname}../db") ->
db = level db if typeof db is 'string'
close: (callback) ->
db.close callback
users:
get: (username, callback) ->
user = {}
db.createReadStream
gt: "users:#{username}:"
.on 'data', (data) ->
[_, usernam... | 94334 | level = require 'level'
module.exports = (db="#{__dirname}../db") ->
db = level db if typeof db is 'string'
close: (callback) ->
db.close callback
users:
get: (username, callback) ->
user = {}
db.createReadStream
gt: "users:#{username}:"
.on 'data', (data) ->
[_, usernam... | true | level = require 'level'
module.exports = (db="#{__dirname}../db") ->
db = level db if typeof db is 'string'
close: (callback) ->
db.close callback
users:
get: (username, callback) ->
user = {}
db.createReadStream
gt: "users:#{username}:"
.on 'data', (data) ->
[_, usernam... |
[
{
"context": " engine = new AiEngine 'Default', topics, {name: 'Jonny', age: 21}\n done()\n\n it 'should not res",
"end": 2556,
"score": 0.999670147895813,
"start": 2551,
"tag": "NAME",
"value": "Jonny"
},
{
"context": "wn message', (done) ->\n engine.reply {name: 'Lis... | lib/aiml/test/engine-tests.coffee | XunshanTech/ryori | 0 | should = require('chai').should()
AiEngine = require('./../index').AiEngine
parse = require('./../index').parse
xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<aiml version=\"1.0\">
<category>
<pattern>what is your Name</pattern>
<that>bot</that>
... | 107017 | should = require('chai').should()
AiEngine = require('./../index').AiEngine
parse = require('./../index').parse
xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<aiml version=\"1.0\">
<category>
<pattern>what is your Name</pattern>
<that>bot</that>
... | true | should = require('chai').should()
AiEngine = require('./../index').AiEngine
parse = require('./../index').parse
xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<aiml version=\"1.0\">
<category>
<pattern>what is your Name</pattern>
<that>bot</that>
... |
[
{
"context": " [\n new UserModel\n id: 'AWiYXbY_SjjuUM2b1CGI'\n name: 'enju'\n ",
"end": 1265,
"score": 0.8126559853553772,
"start": 1263,
"tag": "USERNAME",
"value": "AW"
},
{
"context": "id: 'AWiYXbY_SjjuUM2b1CGI'\n name: 'enj... | __tests__/utils.coffee | kelp404/enju | 12 | config = require 'config'
elasticsearch = require 'elasticsearch'
utils = require '../lib/utils'
enju = require '../'
beforeEach ->
jest.mock 'elasticsearch'
afterEach ->
jest.restoreAllMocks()
test 'Get elasticsearch client.', ->
jest.spyOn(elasticsearch, 'Client').mockImplementation (args) ->
{... | 132382 | config = require 'config'
elasticsearch = require 'elasticsearch'
utils = require '../lib/utils'
enju = require '../'
beforeEach ->
jest.mock 'elasticsearch'
afterEach ->
jest.restoreAllMocks()
test 'Get elasticsearch client.', ->
jest.spyOn(elasticsearch, 'Client').mockImplementation (args) ->
{... | true | config = require 'config'
elasticsearch = require 'elasticsearch'
utils = require '../lib/utils'
enju = require '../'
beforeEach ->
jest.mock 'elasticsearch'
afterEach ->
jest.restoreAllMocks()
test 'Get elasticsearch client.', ->
jest.spyOn(elasticsearch, 'Client').mockImplementation (args) ->
{... |
[
{
"context": ") ->\n console.log \"Sending message\"\n\n user = @userFromParams(params)\n\n strings.forEach (str) =>\n ",
"end": 247,
"score": 0.5958369970321655,
"start": 242,
"tag": "USERNAME",
"value": "@user"
},
{
"context": "({\"channel\": user.reply_to, \"text\": str, ... | src/slack.coffee | patcon/hubot-slack | 0 | Robot = require('hubot').Robot
Adapter = require('hubot').Adapter
TextMessage = require('hubot').TextMessage
HTTPS = require 'https'
class Slack extends Adapter
send: (params, strings...) ->
console.log "Sending message"
user = @userFromParams(params)
strings.forEach (str) =>
# Escape this
... | 26360 | Robot = require('hubot').Robot
Adapter = require('hubot').Adapter
TextMessage = require('hubot').TextMessage
HTTPS = require 'https'
class Slack extends Adapter
send: (params, strings...) ->
console.log "Sending message"
user = @userFromParams(params)
strings.forEach (str) =>
# Escape this
... | true | Robot = require('hubot').Robot
Adapter = require('hubot').Adapter
TextMessage = require('hubot').TextMessage
HTTPS = require 'https'
class Slack extends Adapter
send: (params, strings...) ->
console.log "Sending message"
user = @userFromParams(params)
strings.forEach (str) =>
# Escape this
... |
[
{
"context": "ssible operations\n # see https://github.com/visionmedia/supertest\n # and https://github.com/visionm",
"end": 1281,
"score": 0.9996219873428345,
"start": 1270,
"tag": "USERNAME",
"value": "visionmedia"
},
{
"context": "onmedia/supertest\n # and https:... | example/test/events.coffee | pauldambra/supersamples | 45 | # These specs are written in CoffeeScript (personal choice)
# but would work just as well in JavaScript
request = require 'supertest'
sinon = require 'sinon'
server = require '../src/server'
fixtures = require './fixtures'
# We use a sinon sandboxes to cleanup our stubs/mocks
# http://sinonjs.org/docs/#sinon-san... | 158349 | # These specs are written in CoffeeScript (personal choice)
# but would work just as well in JavaScript
request = require 'supertest'
sinon = require 'sinon'
server = require '../src/server'
fixtures = require './fixtures'
# We use a sinon sandboxes to cleanup our stubs/mocks
# http://sinonjs.org/docs/#sinon-san... | true | # These specs are written in CoffeeScript (personal choice)
# but would work just as well in JavaScript
request = require 'supertest'
sinon = require 'sinon'
server = require '../src/server'
fixtures = require './fixtures'
# We use a sinon sandboxes to cleanup our stubs/mocks
# http://sinonjs.org/docs/#sinon-san... |
[
{
"context": "s\n\t\treturn if @isTransitioning\n\n\t\t# Maybe people (Jorn) pass in a layer accidentally\n\t\toptions = {} if o",
"end": 5028,
"score": 0.9607884883880615,
"start": 5024,
"tag": "NAME",
"value": "Jorn"
}
] | framer/Components/FlowComponent.coffee | ig-la/Framer | 3,817 | Utils = require "../Utils"
{Layer} = require "../Layer"
{Events} = require "../Events"
{LayerStates} = require "../LayerStates"
{LayerStateMachine} = require "../LayerStateMachine"
{AnimationGroup} = require "../AnimationGroup"
FlowComponentLayerScrollKey = "_flowComponentWrapped"
Events.TransitionStart = "transitio... | 39609 | Utils = require "../Utils"
{Layer} = require "../Layer"
{Events} = require "../Events"
{LayerStates} = require "../LayerStates"
{LayerStateMachine} = require "../LayerStateMachine"
{AnimationGroup} = require "../AnimationGroup"
FlowComponentLayerScrollKey = "_flowComponentWrapped"
Events.TransitionStart = "transitio... | true | Utils = require "../Utils"
{Layer} = require "../Layer"
{Events} = require "../Events"
{LayerStates} = require "../LayerStates"
{LayerStateMachine} = require "../LayerStateMachine"
{AnimationGroup} = require "../AnimationGroup"
FlowComponentLayerScrollKey = "_flowComponentWrapped"
Events.TransitionStart = "transitio... |
[
{
"context": "version %>',\n # github:\n # repo: 'pozadi/kefir', //put your user/repo here\n # use",
"end": 3274,
"score": 0.9944421648979187,
"start": 3268,
"tag": "USERNAME",
"value": "pozadi"
},
{
"context": "put your user/repo here\n # usernameVa... | Gruntfile.coffee | raimohanska/kefir | 0 | module.exports = (grunt) ->
pkg = grunt.file.readJSON('package.json')
banner = """
/*! Kefir.js v#{pkg.version}
* #{pkg.homepage}
*/
"""
intro = """
;(function(global){
"use strict";
var Kefir = {};
"""
outro = """
if (typeof define === 'function' && define.am... | 3305 | module.exports = (grunt) ->
pkg = grunt.file.readJSON('package.json')
banner = """
/*! Kefir.js v#{pkg.version}
* #{pkg.homepage}
*/
"""
intro = """
;(function(global){
"use strict";
var Kefir = {};
"""
outro = """
if (typeof define === 'function' && define.am... | true | module.exports = (grunt) ->
pkg = grunt.file.readJSON('package.json')
banner = """
/*! Kefir.js v#{pkg.version}
* #{pkg.homepage}
*/
"""
intro = """
;(function(global){
"use strict";
var Kefir = {};
"""
outro = """
if (typeof define === 'function' && define.am... |
[
{
"context": "gtrainer.LangtrainerApp.currentUser.set('email', 'test@test.ru')\n window.Langtrainer.LangtrainerApp.current",
"end": 1268,
"score": 0.9999178051948547,
"start": 1256,
"tag": "EMAIL",
"value": "test@test.ru"
}
] | spec/javascripts/langtrainer_app/views/navbar_control_spec.js.coffee | beorc/langtrainer_frontend_backbone | 0 | describe "Langtrainer.LangtrainerApp.Views.NavbarControl", ->
runApplication = ->
worldData = getJSONFixture('world.json')
window.Langtrainer.LangtrainerApp.run({})
Langtrainer.LangtrainerApp.world.set(worldData)
runApplication()
beforeEach ->
@view = new Langtrainer.LangtrainerApp.Views.NavbarC... | 107681 | describe "Langtrainer.LangtrainerApp.Views.NavbarControl", ->
runApplication = ->
worldData = getJSONFixture('world.json')
window.Langtrainer.LangtrainerApp.run({})
Langtrainer.LangtrainerApp.world.set(worldData)
runApplication()
beforeEach ->
@view = new Langtrainer.LangtrainerApp.Views.NavbarC... | true | describe "Langtrainer.LangtrainerApp.Views.NavbarControl", ->
runApplication = ->
worldData = getJSONFixture('world.json')
window.Langtrainer.LangtrainerApp.run({})
Langtrainer.LangtrainerApp.world.set(worldData)
runApplication()
beforeEach ->
@view = new Langtrainer.LangtrainerApp.Views.NavbarC... |
[
{
"context": "ck) ->\n\n id = data.getId()\n { profile : { email, firstName, lastName } } = data\n invitations = [ { email, f",
"end": 136,
"score": 0.9993287324905396,
"start": 127,
"tag": "NAME",
"value": "firstName"
},
{
"context": "d = data.getId()\n { profile : { email, firs... | client/app/lib/util/invitationWithNoEmail.coffee | lionheart1022/koding | 0 | remote = require 'app/remote'
module.exports = (data, currentGroup, callback) ->
id = data.getId()
{ profile : { email, firstName, lastName } } = data
invitations = [ { email, firstName, lastName, role : 'member' } ]
remote.api.JInvitation.create
invitations : invitations
noEmail : yes
retur... | 121079 | remote = require 'app/remote'
module.exports = (data, currentGroup, callback) ->
id = data.getId()
{ profile : { email, <NAME>, <NAME> } } = data
invitations = [ { email, <NAME>, <NAME>, role : 'member' } ]
remote.api.JInvitation.create
invitations : invitations
noEmail : yes
returnCodes : y... | true | remote = require 'app/remote'
module.exports = (data, currentGroup, callback) ->
id = data.getId()
{ profile : { email, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI } } = data
invitations = [ { email, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, role : 'member' } ]
remote.api.JInvitation.create
invitations... |
[
{
"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.9999187588691711,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/services/chart_data.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... | 219929 | ###
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": "\t\t\t\t\trole = {\n\t\t\t\t\t\t\t\t\t_id: role_id\n\t\t\t\t\t\t\t\t\tname: role_name\n\t\t\t\t\t\t\t\t\tspace: spaceId\n\t\t\t\t\t\t\t\t\tcreated: ne",
"end": 15237,
"score": 0.5490521192550659,
"start": 15233,
"tag": "NAME",
"value": "role"
},
{
"context": "\t\t\t\t\t... | creator/packages/steedos-app-workflow/server/lib/import.coffee | baozhoutao/steedos-platform | 0 | objectql = require("@steedos/objectql");
steedosImport = {}
_formatFieldsID = (fields)->
_.each(fields, (f)->
if (!f._id && f.id)
f._id = f.id;
delete f.id;
if (f.type == 'section' || f.type == 'table')
_formatFieldsID(f.fields);
);
return fields;
upgradeFlowByForm = (flow, formVersionId, options)... | 131076 | objectql = require("@steedos/objectql");
steedosImport = {}
_formatFieldsID = (fields)->
_.each(fields, (f)->
if (!f._id && f.id)
f._id = f.id;
delete f.id;
if (f.type == 'section' || f.type == 'table')
_formatFieldsID(f.fields);
);
return fields;
upgradeFlowByForm = (flow, formVersionId, options)... | true | objectql = require("@steedos/objectql");
steedosImport = {}
_formatFieldsID = (fields)->
_.each(fields, (f)->
if (!f._id && f.id)
f._id = f.id;
delete f.id;
if (f.type == 'section' || f.type == 'table')
_formatFieldsID(f.fields);
);
return fields;
upgradeFlowByForm = (flow, formVersionId, options)... |
[
{
"context": "'fileTypes': [\n 'ily',\n 'ly'\n]\n'name': 'LilyPond'\n'patterns': [\n {\n 'include': 'source.lilypon",
"end": 50,
"score": 0.8705443143844604,
"start": 42,
"tag": "NAME",
"value": "LilyPond"
}
] | grammars/lilypond.cson | skafdasschaf/lilypond-grammar | 0 | 'fileTypes': [
'ily',
'ly'
]
'name': 'LilyPond'
'patterns': [
{
'include': 'source.lilypond-notenames'
}
{
'include': 'source.lilypond-internals'
}
{
'include': 'source.lilypond-notemode'
}
{
'include': 'source.lilypond-drummode'
}
{
'include': 'source.lilypond-lyricsmode'
}
... | 210577 | 'fileTypes': [
'ily',
'ly'
]
'name': '<NAME>'
'patterns': [
{
'include': 'source.lilypond-notenames'
}
{
'include': 'source.lilypond-internals'
}
{
'include': 'source.lilypond-notemode'
}
{
'include': 'source.lilypond-drummode'
}
{
'include': 'source.lilypond-lyricsmode'
}
... | true | 'fileTypes': [
'ily',
'ly'
]
'name': 'PI:NAME:<NAME>END_PI'
'patterns': [
{
'include': 'source.lilypond-notenames'
}
{
'include': 'source.lilypond-internals'
}
{
'include': 'source.lilypond-notemode'
}
{
'include': 'source.lilypond-drummode'
}
{
'include': 'source.lilypond-lyri... |
[
{
"context": "nfig()\n\nBase64 =\n # private property\n _keyStr: \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\"\n\n # public method for encoding\n encode: (input)",
"end": 7482,
"score": 0.9997506141662598,
"start": 7416,
"tag": "KEY",
"value": "ABCDEFGHIJKLMNOPQRS... | templates/conekta.js-0.6.0/src/conekta.js.coffee | josmrhyde/Base | 0 | base_url = 'https://api.conekta.io/' #'https://api.conekta.io/'
session_id = ""
_language = 'es'
kount_merchant_id = '205000'
antifraud_config = {}
unless window.conektaAjax
if typeof jQuery != 'undefined'
window.conektaAjax = jQuery.ajax #fallback to jquery
else
console.error("no either a jQuery or ajax f... | 19885 | base_url = 'https://api.conekta.io/' #'https://api.conekta.io/'
session_id = ""
_language = 'es'
kount_merchant_id = '205000'
antifraud_config = {}
unless window.conektaAjax
if typeof jQuery != 'undefined'
window.conektaAjax = jQuery.ajax #fallback to jquery
else
console.error("no either a jQuery or ajax f... | true | base_url = 'https://api.conekta.io/' #'https://api.conekta.io/'
session_id = ""
_language = 'es'
kount_merchant_id = '205000'
antifraud_config = {}
unless window.conektaAjax
if typeof jQuery != 'undefined'
window.conektaAjax = jQuery.ajax #fallback to jquery
else
console.error("no either a jQuery or ajax f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.