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": "t information\n .setValue '#user\\\\.email', 'test2@checkouttests.xyz'\n .setValue '#user\\\\.name', 'checkout test",
"end": 1491,
"score": 0.9999250173568726,
"start": 1468,
"tag": "EMAIL",
"value": "test2@checkouttests.xyz"
},
{
"context": "s.xyz'\n ... | test/test.coffee | verus-io/crowdstart-checkout | 14 | assert = require 'assert'
should = require('chai').should()
{getBrowser, TIMEOUT} = require './util'
parsePrice = (str) ->
parseFloat str.match /[\d.]+/
describe "Checkout (#{process.env.BROWSER})", ->
testPage = "http://localhost:#{process.env.PORT ? 3333}/widget.html"
openWidget = (browser) ->
bro... | 162662 | assert = require 'assert'
should = require('chai').should()
{getBrowser, TIMEOUT} = require './util'
parsePrice = (str) ->
parseFloat str.match /[\d.]+/
describe "Checkout (#{process.env.BROWSER})", ->
testPage = "http://localhost:#{process.env.PORT ? 3333}/widget.html"
openWidget = (browser) ->
bro... | true | assert = require 'assert'
should = require('chai').should()
{getBrowser, TIMEOUT} = require './util'
parsePrice = (str) ->
parseFloat str.match /[\d.]+/
describe "Checkout (#{process.env.BROWSER})", ->
testPage = "http://localhost:#{process.env.PORT ? 3333}/widget.html"
openWidget = (browser) ->
bro... |
[
{
"context": "rview Rule to check for implicit objects\n# @author Julian Rosse\n###\n\n'use strict'\n\n#-----------------------------",
"end": 78,
"score": 0.9998735189437866,
"start": 66,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/implicit-object.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to check for implicit objects
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
de... | 28470 | ###*
# @fileoverview Rule to check for implicit objects
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
descript... | true | ###*
# @fileoverview Rule to check for implicit objects
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
... |
[
{
"context": "s @coursesAvailable()\n title = \"That\\'s all, folks!\"\n text = \"This concludes the mini-course ",
"end": 4844,
"score": 0.8267454504966736,
"start": 4839,
"tag": "NAME",
"value": "folks"
}
] | app/lib/mini-course.coffee | zooniverse/Planet-Hunters-2 | 1 | BaseController = require 'zooniverse/controllers/base-controller'
User = require 'zooniverse/models/user'
Api = require 'zooniverse/lib/api'
loginDialog = require 'zooniverse/controllers/login-dialog'
signupDialog = require 'zooniverse/controllers/signup-dialog'
miniCourseConten... | 94251 | BaseController = require 'zooniverse/controllers/base-controller'
User = require 'zooniverse/models/user'
Api = require 'zooniverse/lib/api'
loginDialog = require 'zooniverse/controllers/login-dialog'
signupDialog = require 'zooniverse/controllers/signup-dialog'
miniCourseConten... | true | BaseController = require 'zooniverse/controllers/base-controller'
User = require 'zooniverse/models/user'
Api = require 'zooniverse/lib/api'
loginDialog = require 'zooniverse/controllers/login-dialog'
signupDialog = require 'zooniverse/controllers/signup-dialog'
miniCourseConten... |
[
{
"context": "red = \n name: 'red',\n symbol: 'O',\n homePoint: 25,\n homeQuadrant:",
"end": 19,
"score": 0.9981755614280701,
"start": 16,
"tag": "NAME",
"value": "red"
},
{
"context": "homeQuadrant: 3,\n direction: 1\nblack = \n name: 'black',\n symbol: 'X',\n homePoint: 0,\... | lib/teams.coffee | rabidaudio/backgammon | 0 | red =
name: 'red',
symbol: 'O',
homePoint: 25,
homeQuadrant: 3,
direction: 1
black =
name: 'black',
symbol: 'X',
homePoint: 0,
homeQuadrant: 0,
direction: -1
[red.otherTeam, black.otherTeam] = [black, red]
module.exports =
red: red,
black: black | 44617 | red =
name: '<NAME>',
symbol: 'O',
homePoint: 25,
homeQuadrant: 3,
direction: 1
black =
name: '<NAME>',
symbol: 'X',
homePoint: 0,
homeQuadrant: 0,
direction: -1
[red.otherTeam, black.otherTeam] = [black, red]
module.exports =
red: red,
black: black | true | red =
name: 'PI:NAME:<NAME>END_PI',
symbol: 'O',
homePoint: 25,
homeQuadrant: 3,
direction: 1
black =
name: 'PI:NAME:<NAME>END_PI',
symbol: 'X',
homePoint: 0,
homeQuadrant: 0,
direction: -1
[red.otherTeam, black.otherTeam] = [black, red]
module.exports =
red: red,
black: black |
[
{
"context": "t.deepEqual [{\"id\":\"1\"}], result\n done()\n\n # Kai Sellgren's original demo example\n it \"can create table, i",
"end": 635,
"score": 0.9603199362754822,
"start": 623,
"tag": "NAME",
"value": "Kai Sellgren"
},
{
"context": "ext\":\"the second item\"}], resul... | test/test.coffee | davgit/sql.js | 1 | assert = require('chai').assert
Sql = require '../js/node-sqlite-purejs.js'
path = require 'path'
fs = require 'fs'
db_file = path.join __dirname, 'fixtures', 'db', 'development.sqlite'
describe 'Node SQLite', ->
db = `undefined`
beforeEach (done) ->
if fs.existsSync db_file
fs.unlinkSync db_file
Sql... | 58622 | assert = require('chai').assert
Sql = require '../js/node-sqlite-purejs.js'
path = require 'path'
fs = require 'fs'
db_file = path.join __dirname, 'fixtures', 'db', 'development.sqlite'
describe 'Node SQLite', ->
db = `undefined`
beforeEach (done) ->
if fs.existsSync db_file
fs.unlinkSync db_file
Sql... | true | assert = require('chai').assert
Sql = require '../js/node-sqlite-purejs.js'
path = require 'path'
fs = require 'fs'
db_file = path.join __dirname, 'fixtures', 'db', 'development.sqlite'
describe 'Node SQLite', ->
db = `undefined`
beforeEach (done) ->
if fs.existsSync db_file
fs.unlinkSync db_file
Sql... |
[
{
"context": " message'\r\n time: new Date().getTime()\r\n name: 'bob'\r\n\r\nmessages = [sampleMessage]\r\n\r\nMessageManager ",
"end": 88,
"score": 0.8447889089584351,
"start": 85,
"tag": "NAME",
"value": "bob"
}
] | server/messages.coffee | royaldark/node-chat-demo | 2 | sampleMessage =
message: 'sample message'
time: new Date().getTime()
name: 'bob'
messages = [sampleMessage]
MessageManager =
add: (message) ->
messages.push message
lastMessages: (n) ->
start = Math.max 0, MessageManager.messageCount() - n
messages[start..]
messageCount: ->
... | 37746 | sampleMessage =
message: 'sample message'
time: new Date().getTime()
name: '<NAME>'
messages = [sampleMessage]
MessageManager =
add: (message) ->
messages.push message
lastMessages: (n) ->
start = Math.max 0, MessageManager.messageCount() - n
messages[start..]
messageCount: ->... | true | sampleMessage =
message: 'sample message'
time: new Date().getTime()
name: 'PI:NAME:<NAME>END_PI'
messages = [sampleMessage]
MessageManager =
add: (message) ->
messages.push message
lastMessages: (n) ->
start = Math.max 0, MessageManager.messageCount() - n
messages[start..]
me... |
[
{
"context": "\n\t\t\t\tauth:\n\t\t\t\t\tuser: testData.auth1[0]\n\t\t\t\t\tpass: testData.auth1[1]\n\t\t\t\tqs:\n\t\t\t\t\ttestData.test5\n\t\t\t\n\t\t\thrr opts, (",
"end": 4191,
"score": 0.97548508644104,
"start": 4177,
"tag": "PASSWORD",
"value": "testData.auth1"
},
{
"context": ... | _src/test/main.coffee | mpneuried/hyperrequest | 4 | should = require('should')
hrr = require( "../." )
testData = require( "./data" )
_moduleInst = null
testServer = require( "./server" )
PORT = testServer.address().port
# TODO spin up a express server and test the module
describe "----- hyperrequest TESTS -----", ->
before ( done )->
# _moduleInst = new Modul... | 77467 | should = require('should')
hrr = require( "../." )
testData = require( "./data" )
_moduleInst = null
testServer = require( "./server" )
PORT = testServer.address().port
# TODO spin up a express server and test the module
describe "----- hyperrequest TESTS -----", ->
before ( done )->
# _moduleInst = new Modul... | true | should = require('should')
hrr = require( "../." )
testData = require( "./data" )
_moduleInst = null
testServer = require( "./server" )
PORT = testServer.address().port
# TODO spin up a express server and test the module
describe "----- hyperrequest TESTS -----", ->
before ( done )->
# _moduleInst = new Modul... |
[
{
"context": "ot has been requested by a founder. Please contact help@sv.co if you wish to cancel this session.'\n trigger:",
"end": 1711,
"score": 0.999923050403595,
"start": 1701,
"tag": "EMAIL",
"value": "help@sv.co"
}
] | app/assets/javascripts/faculty/weekly_slots.coffee | vtamara/pupilfirst | 495 | slotsClickHandler = ->
$('.weekly-slots__connect-slot').click (event) ->
slot = $(event.target)
day = slot.data('day')
return if slot.hasClass('weekly-slots__connect-slot--requested')
# Mark (or unmark) selected class.
slot.toggleClass('weekly-slots__connect-slot--selected')
slotValue = { ti... | 161603 | slotsClickHandler = ->
$('.weekly-slots__connect-slot').click (event) ->
slot = $(event.target)
day = slot.data('day')
return if slot.hasClass('weekly-slots__connect-slot--requested')
# Mark (or unmark) selected class.
slot.toggleClass('weekly-slots__connect-slot--selected')
slotValue = { ti... | true | slotsClickHandler = ->
$('.weekly-slots__connect-slot').click (event) ->
slot = $(event.target)
day = slot.data('day')
return if slot.hasClass('weekly-slots__connect-slot--requested')
# Mark (or unmark) selected class.
slot.toggleClass('weekly-slots__connect-slot--selected')
slotValue = { ti... |
[
{
"context": "rary\" : {\n \"identifier\" : {\n \"id\" : \"TestSnippet\",\n \"version\" : \"1\"\n },\n ",
"end": 404,
"score": 0.8982555270195007,
"start": 400,
"tag": "NAME",
"value": "Test"
},
{
"context": "rary\" : {\n \"identifier\" : {\n ... | Src/coffeescript/cql-execution/test/elm/parameters/data.coffee | esteban-aliverti/clinical_quality_language | 0 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ParameterDef
library TestSnippet version '1'
using QUICK
parameter MeasureYear default 2012
###
module.expor... | 94057 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ParameterDef
library TestSnippet version '1'
using QUICK
parameter MeasureYear default 2012
###
module.expor... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ParameterDef
library TestSnippet version '1'
using QUICK
parameter MeasureYear default 2012
###
module.expor... |
[
{
"context": "xtra\n#\n# Extra Math need in many project\n# @author David Ronai / Makiopolis.com / @Makio64\n#\n\nclass M\n\n\tconstruc",
"end": 71,
"score": 0.9998535513877869,
"start": 60,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "ath need in many project\n# @author Da... | src/coffee/makio/math/M.coffee | Makio64/pizzaparty_vj | 1 | #
# MathExtra
#
# Extra Math need in many project
# @author David Ronai / Makiopolis.com / @Makio64
#
class M
constructor:()->
throw new Error('you cant instanciate M')
return
@nextPowerTwo:(value)->
power = 0
while(value > Math.pow(2,power))
power++
return Math.pow(2,power)
@smoothstep:(min, max, v... | 154979 | #
# MathExtra
#
# Extra Math need in many project
# @author <NAME> / M<EMAIL> / @Makio64
#
class M
constructor:()->
throw new Error('you cant instanciate M')
return
@nextPowerTwo:(value)->
power = 0
while(value > Math.pow(2,power))
power++
return Math.pow(2,power)
@smoothstep:(min, max, value)->
x... | true | #
# MathExtra
#
# Extra Math need in many project
# @author PI:NAME:<NAME>END_PI / MPI:EMAIL:<EMAIL>END_PI / @Makio64
#
class M
constructor:()->
throw new Error('you cant instanciate M')
return
@nextPowerTwo:(value)->
power = 0
while(value > Math.pow(2,power))
power++
return Math.pow(2,power)
@smoot... |
[
{
"context": "le is part of the Mooch package.\n\nCopyright © 2014 Erin Millard\n\nFor the full copyright and license information, ",
"end": 74,
"score": 0.9997770190238953,
"start": 62,
"tag": "NAME",
"value": "Erin Millard"
}
] | src/Logger.coffee | vanwars/twitter-proxy-cors | 19 | ###
This file is part of the Mooch package.
Copyright © 2014 Erin Millard
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
util = require 'util'
module.exports = class Logger
constructor: (moment = (require 'moment'), output = console) -... | 80693 | ###
This file is part of the Mooch package.
Copyright © 2014 <NAME>
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
util = require 'util'
module.exports = class Logger
constructor: (moment = (require 'moment'), output = console) ->
... | true | ###
This file is part of the Mooch package.
Copyright © 2014 PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE file
that was distributed with this source code.
###
util = require 'util'
module.exports = class Logger
constructor: (moment = (require 'moment'), output = co... |
[
{
"context": "ames/#{@appId}/users.json\",\n {'access_token': accessToken, 'api_key': @udid},\n (jqXHR) =>\n resp",
"end": 2547,
"score": 0.37612107396125793,
"start": 2536,
"tag": "KEY",
"value": "accessToken"
},
{
"context": "/requests/#{requestId}/clicks\", {click... | src/Carrot.coffee | GoCarrot/carrot-js | 0 | # Carrot -- Copyright (C) 2012 Carrot Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | 224278 | # Carrot -- Copyright (C) 2012 Carrot Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | true | # Carrot -- Copyright (C) 2012 Carrot Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... |
[
{
"context": " EC('secp256k1');\n\nkeyA = ec.genKeyPair();\nstr = \"Password456\"\nmsg = crypto.createHash(\"sha256\").update(str).di",
"end": 136,
"score": 0.9670528769493103,
"start": 125,
"tag": "PASSWORD",
"value": "Password456"
}
] | perfomance_simulations/idbp/idbp_store.coffee | lucy7li/compromised-credential-checking | 6 | crypto = require 'crypto';
ecc = require 'elliptic';
EC = ecc.ec;
ec = new EC('secp256k1');
keyA = ec.genKeyPair();
str = "Password456"
msg = crypto.createHash("sha256").update(str).digest('hex');
key = ec.keyFromPrivate(msg,'hex');
console.log(keyA.getPublic().mul(key.getPrivate()).encode('hex'))
#console.log(ke... | 216029 | crypto = require 'crypto';
ecc = require 'elliptic';
EC = ecc.ec;
ec = new EC('secp256k1');
keyA = ec.genKeyPair();
str = "<PASSWORD>"
msg = crypto.createHash("sha256").update(str).digest('hex');
key = ec.keyFromPrivate(msg,'hex');
console.log(keyA.getPublic().mul(key.getPrivate()).encode('hex'))
#console.log(key... | true | crypto = require 'crypto';
ecc = require 'elliptic';
EC = ecc.ec;
ec = new EC('secp256k1');
keyA = ec.genKeyPair();
str = "PI:PASSWORD:<PASSWORD>END_PI"
msg = crypto.createHash("sha256").update(str).digest('hex');
key = ec.keyFromPrivate(msg,'hex');
console.log(keyA.getPublic().mul(key.getPrivate()).encode('hex'))... |
[
{
"context": " (SES Example)- No Javascript (Woo!)\n\n Created by Daniel Rowe\n http://danielrowe.me\n\n=========================",
"end": 142,
"score": 0.9998564720153809,
"start": 131,
"tag": "NAME",
"value": "Daniel Rowe"
},
{
"context": " port\" + config.NoJSPort)\nconsole.info... | routes/js/contact_nojs.coffee | moelaknahour23/A.J.A.M.K.A | 0 | ###
===========================================================
Contact Form (SES Example)- No Javascript (Woo!)
Created by Daniel Rowe
http://danielrowe.me
============================================================
###
connect = require("connect")
http = require("http")
nodemailer = require("nodemailer")
... | 15919 | ###
===========================================================
Contact Form (SES Example)- No Javascript (Woo!)
Created by <NAME>
http://danielrowe.me
============================================================
###
connect = require("connect")
http = require("http")
nodemailer = require("nodemailer")
ses =... | true | ###
===========================================================
Contact Form (SES Example)- No Javascript (Woo!)
Created by PI:NAME:<NAME>END_PI
http://danielrowe.me
============================================================
###
connect = require("connect")
http = require("http")
nodemailer = require("node... |
[
{
"context": "submit\", ->\n param = {files: [{name: 'test'}]}\n called = false\n scope ",
"end": 1825,
"score": 0.8812359571456909,
"start": 1821,
"tag": "NAME",
"value": "test"
},
{
"context": "ccess\", ->\n param = {files: [{name: 'te... | test/unit/file_upload.spec.coffee | neosavvyinc/MacGyver | 1 | describe "Mac Fileupload", ->
beforeEach module("Mac")
describe "Options updates", ->
$compile = null
$rootScope = null
beforeEach inject (_$compile_, _$rootScope_) ->
$compile = _$compile_
$rootScope = _$rootScope_
it "should initialize fileupload plugin", ->
element = $com... | 157357 | describe "Mac Fileupload", ->
beforeEach module("Mac")
describe "Options updates", ->
$compile = null
$rootScope = null
beforeEach inject (_$compile_, _$rootScope_) ->
$compile = _$compile_
$rootScope = _$rootScope_
it "should initialize fileupload plugin", ->
element = $com... | true | describe "Mac Fileupload", ->
beforeEach module("Mac")
describe "Options updates", ->
$compile = null
$rootScope = null
beforeEach inject (_$compile_, _$rootScope_) ->
$compile = _$compile_
$rootScope = _$rootScope_
it "should initialize fileupload plugin", ->
element = $com... |
[
{
"context": " Flow-Based Programming for Node.js\n# (c) 2011 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 77,
"score": 0.9998487234115601,
"start": 64,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "gramming for Node.js\n# (c) 2011 Henr... | src/lib/NoFlo.coffee | rybesh/noflo | 0 | # NoFlo - Flow-Based Programming for Node.js
# (c) 2011 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
internalSocket = require "./InternalSocket"
component = require "./Component"
asynccomponent = require "./AsyncComponent"
port = require "./Port"
arrayport = require "./Array... | 132892 | # NoFlo - Flow-Based Programming for Node.js
# (c) 2011 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
internalSocket = require "./InternalSocket"
component = require "./Component"
asynccomponent = require "./AsyncComponent"
port = require "./Port"
arrayport = require "./ArrayPort"
g... | true | # NoFlo - Flow-Based Programming for Node.js
# (c) 2011 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
internalSocket = require "./InternalSocket"
component = require "./Component"
asynccomponent = require "./AsyncComponent"
port = require "./Port"
arraypo... |
[
{
"context": "\"./lib/esm.mjs\"\n version: \"0.0.0\"\n author: \"Anatoly Chernov <chertoly@gmail.com>\"\n description: \"left as a",
"end": 318,
"score": 0.9998875260353088,
"start": 303,
"tag": "NAME",
"value": "Anatoly Chernov"
},
{
"context": " version: \"0.0.0\"\n a... | src/commands/create/package.coffee | ch1c0t/coffeelib | 0 | exports.CreatePackageFile = ({ name }) ->
await IO.copy "#{ROOT}/LICENSE", "#{DIR}/LICENSE"
{ version } = require '../../../package.json'
spec =
name: name
main: "./lib/main.js"
exports:
require: "./lib/main.js"
import: "./lib/esm.mjs"
version: "0.0.0"
author: "Anatoly Chernov <... | 183258 | exports.CreatePackageFile = ({ name }) ->
await IO.copy "#{ROOT}/LICENSE", "#{DIR}/LICENSE"
{ version } = require '../../../package.json'
spec =
name: name
main: "./lib/main.js"
exports:
require: "./lib/main.js"
import: "./lib/esm.mjs"
version: "0.0.0"
author: "<NAME> <<EMAIL>>"... | true | exports.CreatePackageFile = ({ name }) ->
await IO.copy "#{ROOT}/LICENSE", "#{DIR}/LICENSE"
{ version } = require '../../../package.json'
spec =
name: name
main: "./lib/main.js"
exports:
require: "./lib/main.js"
import: "./lib/esm.mjs"
version: "0.0.0"
author: "PI:NAME:<NAME>END... |
[
{
"context": " \"#081d58\"\n ]\n }\n {\n name: 'GnBu'\n range:\n 3: [\n \"#e0f3db\"\n ",
"end": 2172,
"score": 0.9510190486907959,
"start": 2168,
"tag": "NAME",
"value": "GnBu"
},
{
"context": " \"#00441b\"\n ]\n }\n {\n ... | src/services/palettes.coffee | nicgirault/angular-colorBrewer-selector | 0 | angular.module('colorBrewer').factory 'palettes', ->
[
{
name: 'YlGn'
range:
3: [
"#f7fcb9"
"#addd8e"
"#31a354"
]
4: [
"#ffffcc"
"#c2e699"
"#78c679"
"#238443"
]
5: [
"#ffffcc"
... | 216051 | angular.module('colorBrewer').factory 'palettes', ->
[
{
name: 'YlGn'
range:
3: [
"#f7fcb9"
"#addd8e"
"#31a354"
]
4: [
"#ffffcc"
"#c2e699"
"#78c679"
"#238443"
]
5: [
"#ffffcc"
... | true | angular.module('colorBrewer').factory 'palettes', ->
[
{
name: 'YlGn'
range:
3: [
"#f7fcb9"
"#addd8e"
"#31a354"
]
4: [
"#ffffcc"
"#c2e699"
"#78c679"
"#238443"
]
5: [
"#ffffcc"
... |
[
{
"context": "entage: 0\n vat_percentage: 20\n company_name: 'Toggl OU'\n company_address: 'Rävala 8'\n contact_person: ",
"end": 376,
"score": 0.6610127091407776,
"start": 370,
"tag": "NAME",
"value": "ggl OU"
},
{
"context": "\n company_address: 'Rävala 8'\n contact_person: '... | testdata/test_invoice.coffee | meeDamian/toggl-pdf | 1 | Invoice = require '../app/invoice'
fs = require 'fs'
invoice = new Invoice
id: 142250
description: 'Description'
amount_in_usd: 135
subscription_from: new Date
subscription_to: new Date
users_in_workspace: 5
paid_at: null
profile: 13
cancelled_at: null
created_at: 'October 10, 2013'
discount_perc... | 34541 | Invoice = require '../app/invoice'
fs = require 'fs'
invoice = new Invoice
id: 142250
description: 'Description'
amount_in_usd: 135
subscription_from: new Date
subscription_to: new Date
users_in_workspace: 5
paid_at: null
profile: 13
cancelled_at: null
created_at: 'October 10, 2013'
discount_perc... | true | Invoice = require '../app/invoice'
fs = require 'fs'
invoice = new Invoice
id: 142250
description: 'Description'
amount_in_usd: 135
subscription_from: new Date
subscription_to: new Date
users_in_workspace: 5
paid_at: null
profile: 13
cancelled_at: null
created_at: 'October 10, 2013'
discount_perc... |
[
{
"context": "shop = {\n owner: new Person \"KeiSei\" \n animals: Animal.loadSeedData()\n featured: [\"",
"end": 36,
"score": 0.9782439470291138,
"start": 30,
"tag": "NAME",
"value": "KeiSei"
}
] | src/setup.coffee | keisei77/coffee_demo | 0 | shop = {
owner: new Person "KeiSei"
animals: Animal.loadSeedData()
featured: ["Chupa", "Kelsey", "Flops"]
}
petViews = (new PetView pet for pet in shop.animals)
petListView = new PetListView petViews, shop.featured
mainView = new ShopView shop.owner, petListView
mainView.render() | 157655 | shop = {
owner: new Person "<NAME>"
animals: Animal.loadSeedData()
featured: ["Chupa", "Kelsey", "Flops"]
}
petViews = (new PetView pet for pet in shop.animals)
petListView = new PetListView petViews, shop.featured
mainView = new ShopView shop.owner, petListView
mainView.render() | true | shop = {
owner: new Person "PI:NAME:<NAME>END_PI"
animals: Animal.loadSeedData()
featured: ["Chupa", "Kelsey", "Flops"]
}
petViews = (new PetView pet for pet in shop.animals)
petListView = new PetListView petViews, shop.featured
mainView = new ShopView shop.owner, petListView
mainView.render() |
[
{
"context": " mixin-js-subscriptions.js 0.1.5\n (c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/mixin/\n License: M",
"end": 69,
"score": 0.9998294115066528,
"start": 55,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "js 0.1.5\n (c) 2011, 2012 Kevin Malako... | src/lib/mixin-js-subscriptions.coffee | kmalakoff/mixin | 14 | ###
mixin-js-subscriptions.js 0.1.5
(c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
####################################################
# Classes
# options:
# destroy -> calls you back when... | 208123 | ###
mixin-js-subscriptions.js 0.1.5
(c) 2011, 2012 <NAME> - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
####################################################
# Classes
# options:
# destroy -> calls you back when link is... | true | ###
mixin-js-subscriptions.js 0.1.5
(c) 2011, 2012 PI:NAME:<NAME>END_PI - http://kmalakoff.github.com/mixin/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Mixin.Core
###
####################################################
# Classes
# options:
# destroy -> calls you bac... |
[
{
"context": "duct = new @Product\n product.fromJSON\n name: \"Product One\"\n id: 1\n store_id: 1\n productVariants: [",
"end": 4270,
"score": 0.9709024429321289,
"start": 4259,
"tag": "NAME",
"value": "Product One"
},
{
"context": ", 3\n @Product.createFromJSON(id... | tests/batman/model/associations/has_many_test.coffee | Shipow/batman | 1 | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter, generateSorterOnProperty} = if typeof require isnt 'undefined' then require '../model_helper' else window
helpers = if typeof require is 'undefined' then window.viewHelpers else require '../../view/view_helper'
QUnit.module "Batman.Model hasMany Assoc... | 45343 | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter, generateSorterOnProperty} = if typeof require isnt 'undefined' then require '../model_helper' else window
helpers = if typeof require is 'undefined' then window.viewHelpers else require '../../view/view_helper'
QUnit.module "Batman.Model hasMany Assoc... | true | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter, generateSorterOnProperty} = if typeof require isnt 'undefined' then require '../model_helper' else window
helpers = if typeof require is 'undefined' then window.viewHelpers else require '../../view/view_helper'
QUnit.module "Batman.Model hasMany Assoc... |
[
{
"context": "ch ->\n match = isApiCall url, 'api.topcoder-dev.com', ['https'], '/v3/events'\n\n it 'should match",
"end": 1707,
"score": 0.965916633605957,
"start": 1700,
"tag": "EMAIL",
"value": "dev.com"
}
] | tests/specs/is-api-call.spec.coffee | appirio-tech/swagger-fake-server | 0 | 'use strict'
match = null
url = null
isApiCall = AutoConfigFakeServerPrivates.isApiCall
describe 'isApiCall', ->
describe 'http://localhost:8080/api/v1/debug.html', ->
beforeEach ->
url = 'http://localhost:8080/api/v1/debug.html'
context 'match host, schemes, basePath', ->
beforeEach ->
... | 64152 | 'use strict'
match = null
url = null
isApiCall = AutoConfigFakeServerPrivates.isApiCall
describe 'isApiCall', ->
describe 'http://localhost:8080/api/v1/debug.html', ->
beforeEach ->
url = 'http://localhost:8080/api/v1/debug.html'
context 'match host, schemes, basePath', ->
beforeEach ->
... | true | 'use strict'
match = null
url = null
isApiCall = AutoConfigFakeServerPrivates.isApiCall
describe 'isApiCall', ->
describe 'http://localhost:8080/api/v1/debug.html', ->
beforeEach ->
url = 'http://localhost:8080/api/v1/debug.html'
context 'match host, schemes, basePath', ->
beforeEach ->
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994129538536072,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": " address = socket.remoteAddress\n if host is \"127.0.0.1\"\n assert.equal address, \... | test/pummel/test-net-pingpong.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... | 39480 | # 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": "e = name.toLowerCase()\n switch\n when name == 'nidoran f' then 29\n when name == 'nidoran m' then 32\n ",
"end": 206,
"score": 0.9993467926979065,
"start": 197,
"tag": "NAME",
"value": "nidoran f"
},
{
"context": "hen name == 'nidoran f' then 29\n when name... | index.coffee | mp-pinheiro/pokemon-battle | 0 | Pokemon = require './src/pokemon'
Trainer = require './src/trainer'
Battle = require './src/battle'
pokemon = {}
pokemon.lookup = (name) ->
name = name.toLowerCase()
switch
when name == 'nidoran f' then 29
when name == 'nidoran m' then 32
else (id for id, pkmn of Pokemon.pokedex when name is pkmn.name... | 143530 | Pokemon = require './src/pokemon'
Trainer = require './src/trainer'
Battle = require './src/battle'
pokemon = {}
pokemon.lookup = (name) ->
name = name.toLowerCase()
switch
when name == '<NAME>' then 29
when name == '<NAME>' then 32
else (id for id, pkmn of Pokemon.pokedex when name is pkmn.name.toLow... | true | Pokemon = require './src/pokemon'
Trainer = require './src/trainer'
Battle = require './src/battle'
pokemon = {}
pokemon.lookup = (name) ->
name = name.toLowerCase()
switch
when name == 'PI:NAME:<NAME>END_PI' then 29
when name == 'PI:NAME:<NAME>END_PI' then 32
else (id for id, pkmn of Pokemon.pokedex ... |
[
{
"context": "oggleDraft'\n\n enableLoadVsac: ->\n username = @$('#vsacUser')\n password = @$('#vsacPassword')\n if (user",
"end": 2232,
"score": 0.9262140989303589,
"start": 2220,
"tag": "USERNAME",
"value": "$('#vsacUser"
},
{
"context": " username = @$('#vsacUser')\n ... | app/assets/javascripts/views/import_measure_view.js.coffee | okeefm/bonnie | 0 | class Thorax.Views.ImportMeasure extends Thorax.Views.BonnieView
template: JST['import/import_measure']
context: ->
hqmfSetId = @model.get('hqmf_set_id') if @model?
measureTypeLabel = if @model?
if @model.get('type') is 'eh' then 'Eligible Hospital (EH)'
else if @model.get('type') is 'ep' then '... | 204778 | class Thorax.Views.ImportMeasure extends Thorax.Views.BonnieView
template: JST['import/import_measure']
context: ->
hqmfSetId = @model.get('hqmf_set_id') if @model?
measureTypeLabel = if @model?
if @model.get('type') is 'eh' then 'Eligible Hospital (EH)'
else if @model.get('type') is 'ep' then '... | true | class Thorax.Views.ImportMeasure extends Thorax.Views.BonnieView
template: JST['import/import_measure']
context: ->
hqmfSetId = @model.get('hqmf_set_id') if @model?
measureTypeLabel = if @model?
if @model.get('type') is 'eh' then 'Eligible Hospital (EH)'
else if @model.get('type') is 'ep' then '... |
[
{
"context": " .set(\"passphrase\",\"${7:1234}\") #Optional passphrase to be added to ssh key",
"end": 1567,
"score": 0.8598355650901794,
"start": 1561,
"tag": "PASSWORD",
"value": "7:1234"
}
] | snippets/flint-ssh-connector.cson | manoj-dhadke/flint-atom | 0 | ##########################################################################
#
# INFIVERVE TECHNOLOGIES PTE LIMITED CONFIDENTIAL
# __________________
#
# (C) INFIVERVE TECHNOLOGIES PTE LIMITED, SINGAPORE
# All Rights Reserved.
# Product / Project: Flint IT Automation Platform
# NOTICE: All information contained h... | 74778 | ##########################################################################
#
# INFIVERVE TECHNOLOGIES PTE LIMITED CONFIDENTIAL
# __________________
#
# (C) INFIVERVE TECHNOLOGIES PTE LIMITED, SINGAPORE
# All Rights Reserved.
# Product / Project: Flint IT Automation Platform
# NOTICE: All information contained h... | true | ##########################################################################
#
# INFIVERVE TECHNOLOGIES PTE LIMITED CONFIDENTIAL
# __________________
#
# (C) INFIVERVE TECHNOLOGIES PTE LIMITED, SINGAPORE
# All Rights Reserved.
# Product / Project: Flint IT Automation Platform
# NOTICE: All information contained h... |
[
{
"context": "ptions', 4, ->\n product1 = new @Product(name: \"testA\", cost: 20)\n product2 = new @Product(name: \"te",
"end": 605,
"score": 0.9785475730895996,
"start": 600,
"tag": "NAME",
"value": "testA"
},
{
"context": "tA\", cost: 20)\n product2 = new @Product(name: \"... | tests/batman/storage_adapter/local_storage_test.coffee | davidcornu/batman | 0 | if typeof require isnt 'undefined'
{sharedStorageTestSuite} = require('./storage_adapter_helper')
else
{sharedStorageTestSuite} = window
if typeof window.localStorage isnt 'undefined'
QUnit.module "Batman.LocalStorage",
setup: ->
window.localStorage.clear()
class @Product extends Batman.Model
... | 117612 | if typeof require isnt 'undefined'
{sharedStorageTestSuite} = require('./storage_adapter_helper')
else
{sharedStorageTestSuite} = window
if typeof window.localStorage isnt 'undefined'
QUnit.module "Batman.LocalStorage",
setup: ->
window.localStorage.clear()
class @Product extends Batman.Model
... | true | if typeof require isnt 'undefined'
{sharedStorageTestSuite} = require('./storage_adapter_helper')
else
{sharedStorageTestSuite} = window
if typeof window.localStorage isnt 'undefined'
QUnit.module "Batman.LocalStorage",
setup: ->
window.localStorage.clear()
class @Product extends Batman.Model
... |
[
{
"context": "sigchains, with\n# sibkeys and multiple PGP keys. \"t_frank\" is a user who started with a PGP key\n# generated",
"end": 438,
"score": 0.9297051429748535,
"start": 431,
"tag": "USERNAME",
"value": "t_frank"
},
{
"context": "th the Go client to generate a\n# second PGP k... | test/files/8_multikey.iced | AngelKey/Angelkey.nodeclient | 151 | fs = require 'fs'
path = require 'path'
child_process = require 'child_process'
{User, signup} = require '../lib/user'
{prng} = require 'crypto'
{make_esc} = require 'iced-error'
kbpgp = require 'kbpgp'
libkeybase = require 'libkeybase'
# These tests are for exercising compatibility with the Go client. In
# p... | 102429 | fs = require 'fs'
path = require 'path'
child_process = require 'child_process'
{User, signup} = require '../lib/user'
{prng} = require 'crypto'
{make_esc} = require 'iced-error'
kbpgp = require 'kbpgp'
libkeybase = require 'libkeybase'
# These tests are for exercising compatibility with the Go client. In
# p... | true | fs = require 'fs'
path = require 'path'
child_process = require 'child_process'
{User, signup} = require '../lib/user'
{prng} = require 'crypto'
{make_esc} = require 'iced-error'
kbpgp = require 'kbpgp'
libkeybase = require 'libkeybase'
# These tests are for exercising compatibility with the Go client. In
# p... |
[
{
"context": "then state else Person.state\n @name = 'nick'\n @state = 'fl'\n @defaultUs",
"end": 919,
"score": 0.9604515433311462,
"start": 915,
"tag": "NAME",
"value": "nick"
},
{
"context": "rect ', ->\n expect(@usage.name).toEqual(@name... | SafetyNet_Mobile/www/lib/angular-google-maps-master/spec/coffee/directives/api/utils/base-object.spec.coffee | donh/pheonix | 1 | describe 'oo.BaseObject', ->
beforeEach ->
module 'uiGmapgoogle-maps.directives.api.utils'
inject ['uiGmapBaseObject', (BaseObject) =>
@subject = BaseObject
PersonModule =
changePersonName: (person, name)->
person.name = name
... | 55780 | describe 'oo.BaseObject', ->
beforeEach ->
module 'uiGmapgoogle-maps.directives.api.utils'
inject ['uiGmapBaseObject', (BaseObject) =>
@subject = BaseObject
PersonModule =
changePersonName: (person, name)->
person.name = name
... | true | describe 'oo.BaseObject', ->
beforeEach ->
module 'uiGmapgoogle-maps.directives.api.utils'
inject ['uiGmapBaseObject', (BaseObject) =>
@subject = BaseObject
PersonModule =
changePersonName: (person, name)->
person.name = name
... |
[
{
"context": "more details about restler see https://github.com/danwrong/restler.\n#\n# It also adds `.fromRest` method to p",
"end": 202,
"score": 0.9996769428253174,
"start": 194,
"tag": "USERNAME",
"value": "danwrong"
},
{
"context": "json',\n# multipart: true\n# usern... | src/mixin/RestMixin.coffee | tetrapi/node-datapumps | 300 | # Mixin to interact with REST services.
#
# This mixin wraps and promisifies the restler library methods, like .get(), .post() or
# .del(). For more details about restler see https://github.com/danwrong/restler.
#
# It also adds `.fromRest` method to pump, which fills input buffer from results of a REST service
# query... | 81652 | # Mixin to interact with REST services.
#
# This mixin wraps and promisifies the restler library methods, like .get(), .post() or
# .del(). For more details about restler see https://github.com/danwrong/restler.
#
# It also adds `.fromRest` method to pump, which fills input buffer from results of a REST service
# query... | true | # Mixin to interact with REST services.
#
# This mixin wraps and promisifies the restler library methods, like .get(), .post() or
# .del(). For more details about restler see https://github.com/danwrong/restler.
#
# It also adds `.fromRest` method to pump, which fills input buffer from results of a REST service
# query... |
[
{
"context": "rary\" : {\n \"identifier\" : {\n \"id\" : \"TestSnippet\",\n \"version\" : \"1\"\n },\n ",
"end": 385,
"score": 0.9626885652542114,
"start": 381,
"tag": "NAME",
"value": "Test"
},
{
"context": "s\" : {\n \"def\" : [ {\n ... | Src/coffeescript/cql-execution/test/elm/nullological/data.coffee | esteban-aliverti/clinical_quality_language | 0 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Nil
library TestSnippet version '1'
using QUICK
context Patient
define Nil = null
###
module.exports['Nil'] ... | 199592 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Nil
library TestSnippet version '1'
using QUICK
context Patient
define Nil = null
###
module.exports['Nil'] ... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Nil
library TestSnippet version '1'
using QUICK
context Patient
define Nil = null
###
module.exports['Nil'] ... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9927714467048645,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/dialog.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# A generic bootstrap dialog component
# Props:
# containerClasses: []
# disableBackgroundClick: boolean
# disableC... | 193828 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# A generic bootstrap dialog component
# Props:
# containerClasses: []
# disableBackgroundClick: boolean
# disableC... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# A generic bootstrap dialog component
# Props:
# containerClasses: []
# disableBackgroundClick: boole... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998478293418884,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/shipped/fonting.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... | 76156 | ###
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": "ade by 3 months of age.\n '''\n\n scientificName: 'Panthera leo'\n mainImage: 'assets/fieldguide-content/mammals/",
"end": 528,
"score": 0.9997463226318359,
"start": 516,
"tag": "NAME",
"value": "Panthera leo"
}
] | app/lib/field-guide-content/lion_female.coffee | zooniverse/wildcam-gorongosa-facebook | 7 | module.exports =
label: 'Lion'
description: '''
Lions are iconic African large cats, built to prey on animals many times their size. Their coat is a smooth tawny color with whitish underparts. They have a muscular build, heavy muzzle, strong jaws, large paws, and a long tail that ends in a black tassel. They ar... | 58889 | module.exports =
label: 'Lion'
description: '''
Lions are iconic African large cats, built to prey on animals many times their size. Their coat is a smooth tawny color with whitish underparts. They have a muscular build, heavy muzzle, strong jaws, large paws, and a long tail that ends in a black tassel. They ar... | true | module.exports =
label: 'Lion'
description: '''
Lions are iconic African large cats, built to prey on animals many times their size. Their coat is a smooth tawny color with whitish underparts. They have a muscular build, heavy muzzle, strong jaws, large paws, and a long tail that ends in a black tassel. They ar... |
[
{
"context": "sut = new LogentriesWebhookAuthExpress password: 'pre-shared-key'\n @next = sinon.spy()\n @request =\n ",
"end": 409,
"score": 0.9992863535881042,
"start": 395,
"tag": "PASSWORD",
"value": "pre-shared-key"
},
{
"context": "sut = new LogentriesWebhookAuthEx... | test/logentries-webhook-auth-express-spec.coffee | octoblu/express-logentries-webhook-auth | 0 | LogentriesWebhookAuthExpress = require '../src/logentries-webhook-auth-express'
describe 'LogentriesWebhookAuthExpress', ->
describe '->getFromAuthorizationHeader', ->
beforeEach ->
@makeFakeGet = (request) =>
return (header) => request.headers[header]
describe 'with a valid LE token', ->
... | 2149 | LogentriesWebhookAuthExpress = require '../src/logentries-webhook-auth-express'
describe 'LogentriesWebhookAuthExpress', ->
describe '->getFromAuthorizationHeader', ->
beforeEach ->
@makeFakeGet = (request) =>
return (header) => request.headers[header]
describe 'with a valid LE token', ->
... | true | LogentriesWebhookAuthExpress = require '../src/logentries-webhook-auth-express'
describe 'LogentriesWebhookAuthExpress', ->
describe '->getFromAuthorizationHeader', ->
beforeEach ->
@makeFakeGet = (request) =>
return (header) => request.headers[header]
describe 'with a valid LE token', ->
... |
[
{
"context": "y for storing webhooks\n\twebhookKey: (entryId) -> \"asana-#{entryId}-webhook-id\"\n\n\t# Find a task given it's id\n\tgetTask: (id) ->\n",
"end": 1814,
"score": 0.8833834528923035,
"start": 1787,
"tag": "KEY",
"value": "asana-#{entryId}-webhook-id"
},
{
"context": "mat... | functions/services/asana.coffee | BKWLD/asana-gitlab-bridge | 2 | # Deps
axios = require 'axios'
_ = require 'lodash'
db = new (require './db')
# Constants that are used in multiple places
PRIORITY_FIELD = 'Priority'
STATUS_FIELD = 'Dev status'
DEPLOYED_STATUS = 'Deployed'
# Define the service
module.exports = class Asana
# Constants for custom field names
PRIORITY_FIELD: PRIOR... | 107486 | # Deps
axios = require 'axios'
_ = require 'lodash'
db = new (require './db')
# Constants that are used in multiple places
PRIORITY_FIELD = 'Priority'
STATUS_FIELD = 'Dev status'
DEPLOYED_STATUS = 'Deployed'
# Define the service
module.exports = class Asana
# Constants for custom field names
PRIORITY_FIELD: PRIOR... | true | # Deps
axios = require 'axios'
_ = require 'lodash'
db = new (require './db')
# Constants that are used in multiple places
PRIORITY_FIELD = 'Priority'
STATUS_FIELD = 'Dev status'
DEPLOYED_STATUS = 'Deployed'
# Define the service
module.exports = class Asana
# Constants for custom field names
PRIORITY_FIELD: PRIOR... |
[
{
"context": "uel_test.coffee\n# mdo_prototype\n# \n# Created by Dmitry Shvetsov.\n# Copyright 2014 Dmitry Shvetsov. All rights re",
"end": 73,
"score": 0.9998883008956909,
"start": 58,
"tag": "NAME",
"value": "Dmitry Shvetsov"
},
{
"context": " \n# Created by Dmitry Shvetsov.\n... | test/duel_test.coffee | shvetsovdm/mdo_prototype | 0 | #
# duel_test.coffee
# mdo_prototype
#
# Created by Dmitry Shvetsov.
# Copyright 2014 Dmitry Shvetsov. All rights reserved.
#
chai = require 'chai'
should = chai.should()
expect = chai.expect
_ = require 'underscore'
UUId = require('node-uuid')
libCore = require '../lib/core.js'
libDuel = req... | 218851 | #
# duel_test.coffee
# mdo_prototype
#
# Created by <NAME>.
# Copyright 2014 <NAME>. All rights reserved.
#
chai = require 'chai'
should = chai.should()
expect = chai.expect
_ = require 'underscore'
UUId = require('node-uuid')
libCore = require '../lib/core.js'
libDuel = require '../lib/duel.... | true | #
# duel_test.coffee
# mdo_prototype
#
# Created by PI:NAME:<NAME>END_PI.
# Copyright 2014 PI:NAME:<NAME>END_PI. All rights reserved.
#
chai = require 'chai'
should = chai.should()
expect = chai.expect
_ = require 'underscore'
UUId = require('node-uuid')
libCore = require '../lib/core.js'
lib... |
[
{
"context": "# Author: Josh Bass\n\nReact = require(\"react\");\nmathjs = require(\"math",
"end": 19,
"score": 0.9998779296875,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
}
] | src/client/components/analytics/AnalyticsView.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
React = require("react");
mathjs = require("mathjs");
css = require("./res/css/analytics.css")
module.exports = React.createClass
getInitialState: ->
{};
componentDidMount: ->
render: ->
<div className="common-view inventory-view">
<div style={{"textAlign": "center", "c... | 163628 | # Author: <NAME>
React = require("react");
mathjs = require("mathjs");
css = require("./res/css/analytics.css")
module.exports = React.createClass
getInitialState: ->
{};
componentDidMount: ->
render: ->
<div className="common-view inventory-view">
<div style={{"textAlign": "center", "colo... | true | # Author: PI:NAME:<NAME>END_PI
React = require("react");
mathjs = require("mathjs");
css = require("./res/css/analytics.css")
module.exports = React.createClass
getInitialState: ->
{};
componentDidMount: ->
render: ->
<div className="common-view inventory-view">
<div style={{"textAlign": "... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9935612082481384,
"start": 16,
"tag": "NAME",
"value": "Konode"
},
{
"context": "\t\t\tisEditable: isEditing\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tkey: metric.get('id')\n\t\t\t\t\t\... | src/clientFilePage/progNotesTab.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Client file view for displaying, searching, and updating progress notes
Fs = require 'fs'
Path = require 'path'
Asse... | 207537 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Client file view for displaying, searching, and updating progress notes
Fs = require 'fs'
Path = require 'path'
Asse... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Client file view for displaying, searching, and updating progress notes
Fs = require 'fs'
Path = requi... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9978378415107727,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/internet/test-net-connect-timeout.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... | 14209 | # 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": "ieves all products owned by a given user.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n###\r\nclass CurrentUserProd",
"end": 679,
"score": 0.9998679757118225,
"start": 667,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/routes/ajax/user/CurrentUserProductsRoute.coffee | qrefdev/qref | 0 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
async = require('async')
ProductManager = require('../../../../db/manager/ProductManager')
###
Servi... | 194477 | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
async = require('async')
ProductManager = require('../../../../db/manager/ProductManager')
###
Servi... | true | AjaxRoute = require('../../../AjaxRoute')
AjaxResponse = require('../../../../serialization/AjaxResponse')
UserAuth = require('../../../../security/UserAuth')
QRefDatabase = require('../../../../db/QRefDatabase')
async = require('async')
ProductManager = require('../../../../db/manager/ProductManager')
###
Servi... |
[
{
"context": "n/common/constants')\n\nmodule.exports = {\n name: 'ひよこ'\n character: 'character.hiyoko'\n base:\n str:",
"end": 202,
"score": 0.9995914697647095,
"start": 199,
"tag": "NAME",
"value": "ひよこ"
}
] | src/data/001/actor/001.coffee | fukuyama/tmlib-rpg | 0 | path = require 'path'
base = path.dirname module.filename
require path.relative(base,'./src/main/common/utils')
require path.relative(base,'./src/main/common/constants')
module.exports = {
name: 'ひよこ'
character: 'character.hiyoko'
base:
str: 10 # ちから
vit: 10 # たいりょく
dex: 10 # きようさ
agi: 10 # すばやさ
... | 125188 | path = require 'path'
base = path.dirname module.filename
require path.relative(base,'./src/main/common/utils')
require path.relative(base,'./src/main/common/constants')
module.exports = {
name: '<NAME>'
character: 'character.hiyoko'
base:
str: 10 # ちから
vit: 10 # たいりょく
dex: 10 # きようさ
agi: 10 # すば... | true | path = require 'path'
base = path.dirname module.filename
require path.relative(base,'./src/main/common/utils')
require path.relative(base,'./src/main/common/constants')
module.exports = {
name: 'PI:NAME:<NAME>END_PI'
character: 'character.hiyoko'
base:
str: 10 # ちから
vit: 10 # たいりょく
dex: 10 # きようさ
... |
[
{
"context": "****\n The MIT License (MIT)\n\n Copyright (c) 2013 Shaun Springer\n\n Permission is hereby granted, free of charge, ",
"end": 151,
"score": 0.9998868107795715,
"start": 137,
"tag": "NAME",
"value": "Shaun Springer"
},
{
"context": "f Collections, Models, and Control... | src/wraith.coffee | ShaunSpringer/Wraith | 2 | ###
**************************************************************************************
The MIT License (MIT)
Copyright (c) 2013 Shaun Springer
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... | 142601 | ###
**************************************************************************************
The MIT License (MIT)
Copyright (c) 2013 <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 Softwar... | true | ###
**************************************************************************************
The MIT License (MIT)
Copyright (c) 2013 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
... |
[
{
"context": "ocalhost'\n secure: true\n auth:\n user: 'protothril@localhost'\n pass: 'secret'\n appEmail: 'protothril@loc",
"end": 212,
"score": 0.8069208860397339,
"start": 192,
"tag": "EMAIL",
"value": "protothril@localhost"
},
{
"context": ":\n user: 'protot... | server/coffee/conf.default.coffee | softwarerero/protothril | 0 | module.exports =
appName: 'protothril'
debugPort: 3017
elasticsearch:
host: 'localhost:9200'
index: 'users'
smtp:
host: 'localhost'
secure: true
auth:
user: 'protothril@localhost'
pass: 'secret'
appEmail: 'protothril@localhost'
frontend: 'localhost:9000/?'
| 105822 | module.exports =
appName: 'protothril'
debugPort: 3017
elasticsearch:
host: 'localhost:9200'
index: 'users'
smtp:
host: 'localhost'
secure: true
auth:
user: '<EMAIL>'
pass: '<PASSWORD>'
appEmail: '<EMAIL>'
frontend: 'localhost:9000/?'
| true | module.exports =
appName: 'protothril'
debugPort: 3017
elasticsearch:
host: 'localhost:9200'
index: 'users'
smtp:
host: 'localhost'
secure: true
auth:
user: 'PI:EMAIL:<EMAIL>END_PI'
pass: 'PI:PASSWORD:<PASSWORD>END_PI'
appEmail: 'PI:EMAIL:<EMAIL>END_PI'
frontend: 'localhost:9... |
[
{
"context": "ccount_title: \"Obnovení účtu\"\n send_password: \"Zaslat nové heslo\"\n\n signup:\n create_account_title: \"Vytvořit ú",
"end": 1194,
"score": 0.9289093017578125,
"start": 1177,
"tag": "PASSWORD",
"value": "Zaslat nové heslo"
},
{
"context": "k\"\n wizard_tab... | app/locale/cs.coffee | individuo7/codecombat | 1 | module.exports = nativeDescription: "čeština", englishDescription: "Czech", translation:
common:
loading: "Načítání..."
saving: "Ukládání..."
sending: "Odesílání..."
cancel: "Zrušit"
save: "Uložit"
delay_1_sec: "1 vteřina"
delay_3_sec: "3 vteřiny"
delay_5_sec: "5 vteřin"
manual: "R... | 139950 | module.exports = nativeDescription: "čeština", englishDescription: "Czech", translation:
common:
loading: "Načítání..."
saving: "Ukládání..."
sending: "Odesílání..."
cancel: "Zrušit"
save: "Uložit"
delay_1_sec: "1 vteřina"
delay_3_sec: "3 vteřiny"
delay_5_sec: "5 vteřin"
manual: "R... | true | module.exports = nativeDescription: "čeština", englishDescription: "Czech", translation:
common:
loading: "Načítání..."
saving: "Ukládání..."
sending: "Odesílání..."
cancel: "Zrušit"
save: "Uložit"
delay_1_sec: "1 vteřina"
delay_3_sec: "3 vteřiny"
delay_5_sec: "5 vteřin"
manual: "R... |
[
{
"context": "/_____/\n\n gtl.js ~ v0.1.0 ~ https://github.com/kossnocorp/gtl\n\n Greater than less\n\n The MIT License\n\n Co",
"end": 205,
"score": 0.7675294280052185,
"start": 197,
"tag": "USERNAME",
"value": "ssnocorp"
},
{
"context": "than less\n\n The MIT License\n\n Copy... | src/gtl.coffee | kossnocorp/gtl | 1 | ###
______ ______ __
/\ ___\ /\__ _\ /\ \
\ \ \__ \ \/_/\ \/ \ \ \____
\ \_____\ \ \_\ \ \_____\
\/_____/ \/_/ \/_____/
gtl.js ~ v0.1.0 ~ https://github.com/kossnocorp/gtl
Greater than less
The MIT License
Copyright (c) 2012 Sasha Koss
###
# Define main object
gtl = {}
#... | 224075 | ###
______ ______ __
/\ ___\ /\__ _\ /\ \
\ \ \__ \ \/_/\ \/ \ \ \____
\ \_____\ \ \_\ \ \_____\
\/_____/ \/_/ \/_____/
gtl.js ~ v0.1.0 ~ https://github.com/kossnocorp/gtl
Greater than less
The MIT License
Copyright (c) 2012 <NAME>
###
# Define main object
gtl = {}
###
... | true | ###
______ ______ __
/\ ___\ /\__ _\ /\ \
\ \ \__ \ \/_/\ \/ \ \ \____
\ \_____\ \ \_\ \ \_____\
\/_____/ \/_/ \/_____/
gtl.js ~ v0.1.0 ~ https://github.com/kossnocorp/gtl
Greater than less
The MIT License
Copyright (c) 2012 PI:NAME:<NAME>END_PI
###
# Define main object
g... |
[
{
"context": "###\n *\n * jQuery Tooltips by Gary Hepting - https://github.com/ghepting/jquery-tooltips\n * ",
"end": 42,
"score": 0.9998958706855774,
"start": 30,
"tag": "NAME",
"value": "Gary Hepting"
},
{
"context": "ery Tooltips by Gary Hepting - https://github.com/ghepting/jque... | src/coffee/plugins/jquery-tooltip.coffee | Shipow/groundwork | 1 | ###
*
* jQuery Tooltips by Gary Hepting - https://github.com/ghepting/jquery-tooltips
*
* Open source under the MIT License.
*
* Copyright © 2013 Gary Hepting. All rights reserved.
*
###
(($) ->
$.fn.tooltip = (options) ->
defaults =
topOffset: 0
delay: 100 # delay bef... | 130913 | ###
*
* jQuery Tooltips by <NAME> - https://github.com/ghepting/jquery-tooltips
*
* Open source under the MIT License.
*
* Copyright © 2013 <NAME>. All rights reserved.
*
###
(($) ->
$.fn.tooltip = (options) ->
defaults =
topOffset: 0
delay: 100 # delay before showing ... | true | ###
*
* jQuery Tooltips by PI:NAME:<NAME>END_PI - https://github.com/ghepting/jquery-tooltips
*
* Open source under the MIT License.
*
* Copyright © 2013 PI:NAME:<NAME>END_PI. All rights reserved.
*
###
(($) ->
$.fn.tooltip = (options) ->
defaults =
topOffset: 0
delay: 100 ... |
[
{
"context": "taging-api.joukou.com'\n else\n 'http://127.0.0.1:2101'\n\n getFQDN: ->\n switch self.getEnvironme",
"end": 957,
"score": 0.9996768236160278,
"start": 948,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " 'http://localhost:2100'\n ... | src/env.coffee | joukou/joukou-api | 0 | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | 57443 | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | true | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.999884307384491,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Jes... | node_modules/konsserto/lib/src/Konsserto/Component/Console/Input/ArrayInput.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Input = use('@Konsserto/Component/Console/Input/Input')
Tools = use('@Konsserto/Compone... | 14439 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Input = use('@Konsserto/Component/Console/Input/Input')
Tools = use('@Konsserto/Component/Static/Tools')
#... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Input = use('@Konsserto/Component/Console/Input/Input')
Tools = use('@Konssert... |
[
{
"context": "X math rendering on the web.\n# https://github.com/Khan/KaTeX\n###\nclass Katex\n\tconstructor: ->\n\t\t@delimit",
"end": 114,
"score": 0.9990551471710205,
"start": 110,
"tag": "USERNAME",
"value": "Khan"
},
{
"context": "nder_func = (latex, displayMode) =>\n\t\t\t\t\tt... | packages/rocketchat-katex/katex.coffee | Cosecha/rocket-chat-stable | 2 | ###
# KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web.
# https://github.com/Khan/KaTeX
###
class Katex
constructor: ->
@delimiters_map = [
{ opener: '\\[', closer: '\\]', displayMode: true , enabled: () => @parenthesis_syntax_enabled() },
{ opener: '\\(', closer: '\\)', displa... | 82407 | ###
# KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web.
# https://github.com/Khan/KaTeX
###
class Katex
constructor: ->
@delimiters_map = [
{ opener: '\\[', closer: '\\]', displayMode: true , enabled: () => @parenthesis_syntax_enabled() },
{ opener: '\\(', closer: '\\)', displa... | true | ###
# KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web.
# https://github.com/Khan/KaTeX
###
class Katex
constructor: ->
@delimiters_map = [
{ opener: '\\[', closer: '\\]', displayMode: true , enabled: () => @parenthesis_syntax_enabled() },
{ opener: '\\(', closer: '\\)', displa... |
[
{
"context": "x_size = 0\n\n for word in word_lst\n key = word.split('').sort().join('')\n anagrams[key] ?= []\n a",
"end": 138,
"score": 0.620293378829956,
"start": 133,
"tag": "KEY",
"value": "split"
},
{
"context": "= 0\n\n for word in word_lst\n key = word.split('')... | Task/Anagrams/CoffeeScript/anagrams-1.coffee | djgoku/RosettaCodeData | 1 | http = require 'http'
show_large_anagram_sets = (word_lst) ->
anagrams = {}
max_size = 0
for word in word_lst
key = word.split('').sort().join('')
anagrams[key] ?= []
anagrams[key].push word
size = anagrams[key].length
max_size = size if size > max_size
for key, variations of anagrams
... | 217389 | http = require 'http'
show_large_anagram_sets = (word_lst) ->
anagrams = {}
max_size = 0
for word in word_lst
key = word.<KEY>('').<KEY>('')
anagrams[key] ?= []
anagrams[key].push word
size = anagrams[key].length
max_size = size if size > max_size
for key, variations of anagrams
if va... | true | http = require 'http'
show_large_anagram_sets = (word_lst) ->
anagrams = {}
max_size = 0
for word in word_lst
key = word.PI:KEY:<KEY>END_PI('').PI:KEY:<KEY>END_PI('')
anagrams[key] ?= []
anagrams[key].push word
size = anagrams[key].length
max_size = size if size > max_size
for key, variat... |
[
{
"context": "\": [{ \"value\": \"1\" }],\n \"name\": {\"given\":[\"John\"], \"family\": [\"Smith\"]},\n \"gender\": \"M\",\n ",
"end": 1809,
"score": 0.9998725652694702,
"start": 1805,
"tag": "NAME",
"value": "John"
},
{
"context": "],\n \"name\": {\"given\":[\"... | src/example/exec-cms146v2_CQM.coffee | luis1van/cql-execution-1 | 2 | cql = require '../cql'
codes = require '../cql-code-service'
measure = require './CMS146v2_CQM'
cservice = new codes.CodeService {
"1.2.3.4.5": {
"1": [
{
"code": "ABC",
"system": "5.4.3.2.1",
"version": "1"
}, {
"code": "DEF",
"system": "5.4.... | 191684 | cql = require '../cql'
codes = require '../cql-code-service'
measure = require './CMS146v2_CQM'
cservice = new codes.CodeService {
"1.2.3.4.5": {
"1": [
{
"code": "ABC",
"system": "5.4.3.2.1",
"version": "1"
}, {
"code": "DEF",
"system": "5.4.... | true | cql = require '../cql'
codes = require '../cql-code-service'
measure = require './CMS146v2_CQM'
cservice = new codes.CodeService {
"1.2.3.4.5": {
"1": [
{
"code": "ABC",
"system": "5.4.3.2.1",
"version": "1"
}, {
"code": "DEF",
"system": "5.4.... |
[
{
"context": "'../../mail-rules-templates'\n\nRulesJSONBlobKey = \"MailRules-V2\"\n\nclass MailRulesStore extends NylasStore\n const",
"end": 523,
"score": 0.99937504529953,
"start": 511,
"tag": "KEY",
"value": "MailRules-V2"
}
] | packages/client-app/src/flux/stores/mail-rules-store.coffee | cnheider/nylas-mail | 24,369 | NylasStore = require 'nylas-store'
_ = require 'underscore'
Rx = require 'rx-lite'
AccountStore = require('./account-store').default
DatabaseStore = require('./database-store').default
TaskQueueStatusStore = require './task-queue-status-store'
ReprocessMailRulesTask = require('../tasks/reprocess-mail-rules-task').defau... | 82243 | NylasStore = require 'nylas-store'
_ = require 'underscore'
Rx = require 'rx-lite'
AccountStore = require('./account-store').default
DatabaseStore = require('./database-store').default
TaskQueueStatusStore = require './task-queue-status-store'
ReprocessMailRulesTask = require('../tasks/reprocess-mail-rules-task').defau... | true | NylasStore = require 'nylas-store'
_ = require 'underscore'
Rx = require 'rx-lite'
AccountStore = require('./account-store').default
DatabaseStore = require('./database-store').default
TaskQueueStatusStore = require './task-queue-status-store'
ReprocessMailRulesTask = require('../tasks/reprocess-mail-rules-task').defau... |
[
{
"context": "e\n\n cat = {}\n cat.setName = setName\n cat.setName 'Mittens'\n console.log cat.name\n\n pig = {}\n setName.apply ",
"end": 89,
"score": 0.9995630383491516,
"start": 82,
"tag": "NAME",
"value": "Mittens"
},
{
"context": "sole.log cat.name\n\n pig = {}\n setName.apply p... | project/web/assets/coffee/js/one3.coffee | kongwen/zhubao1 | 0 | setName = (name) -> @name = name
cat = {}
cat.setName = setName
cat.setName 'Mittens'
console.log cat.name
pig = {}
setName.apply pig,['Babe']
console.log pig.name
setName.call pig,'Babe1'
console.log pig.name
horse = {}
cat.setName.apply horse,['Mr. Ed']
console.log horse.name
ringFireAlarm = (isDril... | 193797 | setName = (name) -> @name = name
cat = {}
cat.setName = setName
cat.setName '<NAME>'
console.log cat.name
pig = {}
setName.apply pig,['<NAME>']
console.log pig.name
setName.call pig,'<NAME>'
console.log pig.name
horse = {}
cat.setName.apply horse,['Mr. <NAME>']
console.log horse.name
ringFireAlarm = (... | true | setName = (name) -> @name = name
cat = {}
cat.setName = setName
cat.setName 'PI:NAME:<NAME>END_PI'
console.log cat.name
pig = {}
setName.apply pig,['PI:NAME:<NAME>END_PI']
console.log pig.name
setName.call pig,'PI:NAME:<NAME>END_PI'
console.log pig.name
horse = {}
cat.setName.apply horse,['Mr. PI:NAME:<N... |
[
{
"context": "ew event is triggered.\n#\n# See https://github.com/bugsnag/bugsnag-notification-plugins/ for full docs\n#\n\nmo",
"end": 810,
"score": 0.9965683817863464,
"start": 803,
"tag": "USERNAME",
"value": "bugsnag"
},
{
"context": "be easy to fix\"\n event.user =\n ... | notification-plugin.coffee | jacobmarshall-etc/bugsnag-notification-plugins | 0 | require "sugar"
fs = require "fs"
path = require "path"
Handlebars = require "handlebars"
Table = require('cli-table')
argv = require("optimist").argv
Handlebars.registerHelper "eachSummaryFrame", (stack, options) ->
NotificationPlugin.getSummaryStacktrace(stack).map((line) ->
options.fn line
).join ""
#
# Th... | 175947 | require "sugar"
fs = require "fs"
path = require "path"
Handlebars = require "handlebars"
Table = require('cli-table')
argv = require("optimist").argv
Handlebars.registerHelper "eachSummaryFrame", (stack, options) ->
NotificationPlugin.getSummaryStacktrace(stack).map((line) ->
options.fn line
).join ""
#
# Th... | true | require "sugar"
fs = require "fs"
path = require "path"
Handlebars = require "handlebars"
Table = require('cli-table')
argv = require("optimist").argv
Handlebars.registerHelper "eachSummaryFrame", (stack, options) ->
NotificationPlugin.getSummaryStacktrace(stack).map((line) ->
options.fn line
).join ""
#
# Th... |
[
{
"context": "readFileSync('./VERSION', 'utf8').trim()\nauthor: 'Jacob Evans <dcrypt@dekz.net>'\n\nlicences: [\n type: 'FEISTY'\n",
"end": 191,
"score": 0.9998903870582581,
"start": 180,
"tag": "NAME",
"value": "Jacob Evans"
},
{
"context": "'./VERSION', 'utf8').trim()\nauthor: 'Jac... | package.coffee | jaitengill/crypt-local | 6 | name: 'dcrypt'
description: 'extended openssl bindings'
keywords: ['crypt', 'crypto', 'dcrypt', 'openssl']
version: require('fs').readFileSync('./VERSION', 'utf8').trim()
author: 'Jacob Evans <dcrypt@dekz.net>'
licences: [
type: 'FEISTY'
url: 'http://github.com/feisty/license/raw/master/LICENSE'
]
contributors: [... | 116255 | name: 'dcrypt'
description: 'extended openssl bindings'
keywords: ['crypt', 'crypto', 'dcrypt', 'openssl']
version: require('fs').readFileSync('./VERSION', 'utf8').trim()
author: '<NAME> <<EMAIL>>'
licences: [
type: 'FEISTY'
url: 'http://github.com/feisty/license/raw/master/LICENSE'
]
contributors: ['<NAME> <<EMA... | true | name: 'dcrypt'
description: 'extended openssl bindings'
keywords: ['crypt', 'crypto', 'dcrypt', 'openssl']
version: require('fs').readFileSync('./VERSION', 'utf8').trim()
author: 'PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>'
licences: [
type: 'FEISTY'
url: 'http://github.com/feisty/license/raw/master/LICENSE'
]
... |
[
{
"context": "# numtel:webcomponent\n# MIT License, ben@latenightsketches.com\n# lib/registerElement.coffee\n\n# Register a Blaze ",
"end": 62,
"score": 0.9999207258224487,
"start": 37,
"tag": "EMAIL",
"value": "ben@latenightsketches.com"
}
] | lib/registerElement.coffee | numtel/meteor-webcomponent | 24 | # numtel:webcomponent
# MIT License, ben@latenightsketches.com
# lib/registerElement.coffee
# Register a Blaze Template as a WebComponent
# @param {string} name - Node name for new element (must include hyphen)
# @param {object} options
# @option {string} css - Rules to apply in Shadow DOM context
# @option {[string]}... | 183897 | # numtel:webcomponent
# MIT License, <EMAIL>
# lib/registerElement.coffee
# Register a Blaze Template as a WebComponent
# @param {string} name - Node name for new element (must include hyphen)
# @param {object} options
# @option {string} css - Rules to apply in Shadow DOM context
# @option {[string]} cssLinks - list o... | true | # numtel:webcomponent
# MIT License, PI:EMAIL:<EMAIL>END_PI
# lib/registerElement.coffee
# Register a Blaze Template as a WebComponent
# @param {string} name - Node name for new element (must include hyphen)
# @param {object} options
# @option {string} css - Rules to apply in Shadow DOM context
# @option {[string]} cs... |
[
{
"context": "###\n# lib/seed/users.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Seed the datab",
"end": 50,
"score": 0.9997899532318115,
"start": 39,
"tag": "NAME",
"value": "Dan Nichols"
},
{
"context": "actory.create.bind null, 'user',\n email: \"t... | lib/seed/users.coffee | dlnichols/h_media | 0 | ###
# lib/seed/users.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Seed the database with archives
###
'use strict'
# External libs
Async = require 'async'
# Internal libs
Factory = require '../../test/lib/factory'
module.exports = (done, results) ->
Async.parallel [
Factory.create.bind null... | 220432 | ###
# lib/seed/users.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Seed the database with archives
###
'use strict'
# External libs
Async = require 'async'
# Internal libs
Factory = require '../../test/lib/factory'
module.exports = (done, results) ->
Async.parallel [
Factory.create.bind null, 'us... | true | ###
# lib/seed/users.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Seed the database with archives
###
'use strict'
# External libs
Async = require 'async'
# Internal libs
Factory = require '../../test/lib/factory'
module.exports = (done, results) ->
Async.parallel [
Factory.create.... |
[
{
"context": "d) ->\n startAP \n ssid: ssid\n pwd: \"12345678\"\n .then ->\n http\n .createServer (req, re",
"end": 503,
"score": 0.9991912841796875,
"start": 495,
"tag": "PASSWORD",
"value": "12345678"
}
] | proxy/index.coffee | twhtanghk/docker.esp8266 | 1 | http = global.require 'http'
wifi = global.require 'Wifi'
log = require './log.coffee'
mac = ->
new Promise (resolve, reject) ->
wifi.getAPIP (cfg) ->
resolve cfg.mac
startAP = (opts)->
new Promise (resolve, reject) ->
wifi.startAP opts.ssid, {authMode: 'wpa2', password: opts.pwd}, (err) ->
if... | 209877 | http = global.require 'http'
wifi = global.require 'Wifi'
log = require './log.coffee'
mac = ->
new Promise (resolve, reject) ->
wifi.getAPIP (cfg) ->
resolve cfg.mac
startAP = (opts)->
new Promise (resolve, reject) ->
wifi.startAP opts.ssid, {authMode: 'wpa2', password: opts.pwd}, (err) ->
if... | true | http = global.require 'http'
wifi = global.require 'Wifi'
log = require './log.coffee'
mac = ->
new Promise (resolve, reject) ->
wifi.getAPIP (cfg) ->
resolve cfg.mac
startAP = (opts)->
new Promise (resolve, reject) ->
wifi.startAP opts.ssid, {authMode: 'wpa2', password: opts.pwd}, (err) ->
if... |
[
{
"context": "e Music\n * @category Web Components\n * @author Nazar Mokrynskyi <nazar@mokrynskyi.com>\n * @copyright Copyright (c",
"end": 96,
"score": 0.9998931884765625,
"start": 80,
"tag": "NAME",
"value": "Nazar Mokrynskyi"
},
{
"context": "y Web Components\n * @author N... | html/cs-music-library-action/script.coffee | mariot/Klif-Mozika | 0 | ###*
* @package CleverStyle Music
* @category Web Components
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @copyright Copyright (c) 2014-2015, Nazar Mokrynskyi
* @license MIT License, see license.txt
###
document.webL10n.ready ->
music_playlist = cs.music_playlist
player = document.querySelector... | 120569 | ###*
* @package CleverStyle Music
* @category Web Components
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2014-2015, <NAME>
* @license MIT License, see license.txt
###
document.webL10n.ready ->
music_playlist = cs.music_playlist
player = document.querySelector('cs-music-player')
Polymer(
... | true | ###*
* @package CleverStyle Music
* @category Web Components
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright Copyright (c) 2014-2015, PI:NAME:<NAME>END_PI
* @license MIT License, see license.txt
###
document.webL10n.ready ->
music_playlist = cs.music_playlist
player = document.que... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero G",
"end": 27,
"score": 0.6362142562866211,
"start": 21,
"tag": "NAME",
"value": "ty Ltd"
},
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Pub... | resources/assets/coffee/react/beatmap-discussions.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 { Main } from './beatmap-discussions/main'
reactTurbolinks.registerPersistent 'beatmap-discussions', Main, true, (target) ->
initial: o... | 532 | # Copyright (c) ppy 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 { Main } from './beatmap-discussions/main'
reactTurbolinks.registerPersistent 'beatmap-discussions', Main, true, (target) ->
initial: osu.pars... | true | # Copyright (c) ppy 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 { Main } from './beatmap-discussions/main'
reactTurbolinks.registerPersistent 'beatmap-discussions', Main, true, (t... |
[
{
"context": "sid-####\" in the presence of hubot\n#\n# Author:\n# christianchristensen\n\nmodule.exports = (robot) ->\n robot.hear /(sid-|",
"end": 264,
"score": 0.8482671976089478,
"start": 244,
"tag": "NAME",
"value": "christianchristensen"
}
] | src/scripts/pivotalstorylisten.coffee | TaxiOS/hubot-scripts | 0 | # Description:
# Listen for a specific story from PivotalTracker
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_PIVOTAL_TOKEN
#
# Commands:
# paste a pivotal tracker link or type "sid-####" in the presence of hubot
#
# Author:
# christianchristensen
module.exports = (robot) ->
robot.hear /(sid-|SID-|p... | 77193 | # Description:
# Listen for a specific story from PivotalTracker
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_PIVOTAL_TOKEN
#
# Commands:
# paste a pivotal tracker link or type "sid-####" in the presence of hubot
#
# Author:
# <NAME>
module.exports = (robot) ->
robot.hear /(sid-|SID-|pivotaltracker.... | true | # Description:
# Listen for a specific story from PivotalTracker
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_PIVOTAL_TOKEN
#
# Commands:
# paste a pivotal tracker link or type "sid-####" in the presence of hubot
#
# Author:
# PI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.hear /(sid-|SID-|p... |
[
{
"context": "rted Siren input type\\\n - https://github.com/kevinswiber/siren#type-3\\\n expect radio checkbox and fil",
"end": 1552,
"score": 0.9997241497039795,
"start": 1541,
"tag": "USERNAME",
"value": "kevinswiber"
},
{
"context": "{\n \"type\": \"password\"\... | src/modules/siren-browser/directives/actionFormSpec.coffee | applicaster/siren-browser | 4 | describe "actionForm directive", ->
ele = undefined
scope = undefined
beforeEach(window.angular.mock.module("SirenBrowser"))
beforeEach inject(($compile, $rootScope) ->
scope = $rootScope
ele = angular.element(
'<action-form ng-model="action"/>'
)
$compile(ele)(scope)
scope.$apply()
... | 208234 | describe "actionForm directive", ->
ele = undefined
scope = undefined
beforeEach(window.angular.mock.module("SirenBrowser"))
beforeEach inject(($compile, $rootScope) ->
scope = $rootScope
ele = angular.element(
'<action-form ng-model="action"/>'
)
$compile(ele)(scope)
scope.$apply()
... | true | describe "actionForm directive", ->
ele = undefined
scope = undefined
beforeEach(window.angular.mock.module("SirenBrowser"))
beforeEach inject(($compile, $rootScope) ->
scope = $rootScope
ele = angular.element(
'<action-form ng-model="action"/>'
)
$compile(ele)(scope)
scope.$apply()
... |
[
{
"context": "plits splitRatios, splitKeys\n\n randomVecKey = lightning.createTempKey()\n\n statements = []\n\n statements.push \"",
"end": 36963,
"score": 0.881439208984375,
"start": 36940,
"tag": "KEY",
"value": "lightning.createTempKey"
}
] | src/ext/modules/routines.coffee | pingguo1231/h2oai | 0 | Plotly = require('plotly.js')
{ flatten, compact, keyBy, findIndex, isFunction, isArray,
map, uniq, head, keys, range, escape, sortBy, some,
tail, concat, values } = require('lodash')
{ isObject, isNumber } = require('../../core/modules/prelude')
{ words, typeOf, stringify } = require('../../core/modules/prelude... | 117369 | Plotly = require('plotly.js')
{ flatten, compact, keyBy, findIndex, isFunction, isArray,
map, uniq, head, keys, range, escape, sortBy, some,
tail, concat, values } = require('lodash')
{ isObject, isNumber } = require('../../core/modules/prelude')
{ words, typeOf, stringify } = require('../../core/modules/prelude... | true | Plotly = require('plotly.js')
{ flatten, compact, keyBy, findIndex, isFunction, isArray,
map, uniq, head, keys, range, escape, sortBy, some,
tail, concat, values } = require('lodash')
{ isObject, isNumber } = require('../../core/modules/prelude')
{ words, typeOf, stringify } = require('../../core/modules/prelude... |
[
{
"context": "###\n @author Gilles Gerlinger\n Copyright 2016. All rights reserved.\n###\n\nfs = ",
"end": 30,
"score": 0.999864399433136,
"start": 14,
"tag": "NAME",
"value": "Gilles Gerlinger"
}
] | test/express.coffee | gigerlin/easyRPC | 1 | ###
@author Gilles Gerlinger
Copyright 2016. All rights reserved.
###
fs = require 'fs'
routes = []; all = '*'
module.exports = ->
app = (req, res) ->
if routes[req.url]
roads = if root = routes[all] then root.concat(routes[req.url]) else routes[req.url]
index = 0
(next = -> if index < roa... | 99721 | ###
@author <NAME>
Copyright 2016. All rights reserved.
###
fs = require 'fs'
routes = []; all = '*'
module.exports = ->
app = (req, res) ->
if routes[req.url]
roads = if root = routes[all] then root.concat(routes[req.url]) else routes[req.url]
index = 0
(next = -> if index < roads.length ... | true | ###
@author PI:NAME:<NAME>END_PI
Copyright 2016. All rights reserved.
###
fs = require 'fs'
routes = []; all = '*'
module.exports = ->
app = (req, res) ->
if routes[req.url]
roads = if root = routes[all] then root.concat(routes[req.url]) else routes[req.url]
index = 0
(next = -> if index <... |
[
{
"context": " = require \"./lib/fixtures\"\n\nitems = [\n { name: \"Caprese\", price: \"5.25\"},\n { name: \"Artichoke\", price: \"",
"end": 91,
"score": 0.9998120665550232,
"start": 84,
"tag": "NAME",
"value": "Caprese"
},
{
"context": "[\n { name: \"Caprese\", price: \"5.25\"},... | test/test_eco.coffee | braze-inc/eco | 256 | eco = require ".."
{fixture} = require "./lib/fixtures"
items = [
{ name: "Caprese", price: "5.25"},
{ name: "Artichoke", price: "6.25" }
]
module.exports =
"eco() caches compiled templates": (test) ->
render = eco fixture("hello.eco")
test.same render, eco fixture("hello.eco")
test.done()
... | 70043 | eco = require ".."
{fixture} = require "./lib/fixtures"
items = [
{ name: "<NAME>", price: "5.25"},
{ name: "<NAME>", price: "6.25" }
]
module.exports =
"eco() caches compiled templates": (test) ->
render = eco fixture("hello.eco")
test.same render, eco fixture("hello.eco")
test.done()
"cac... | true | eco = require ".."
{fixture} = require "./lib/fixtures"
items = [
{ name: "PI:NAME:<NAME>END_PI", price: "5.25"},
{ name: "PI:NAME:<NAME>END_PI", price: "6.25" }
]
module.exports =
"eco() caches compiled templates": (test) ->
render = eco fixture("hello.eco")
test.same render, eco fixture("hello.e... |
[
{
"context": " elements = [\n {type: 'email', value:'abä@de.com', 'minlength': 10}\n ]\n\n helper.appendAn",
"end": 1957,
"score": 0.9998487830162048,
"start": 1947,
"tag": "EMAIL",
"value": "abä@de.com"
},
{
"context": "ator.config.messages.email\n\n $el... | spec/hint.spec.coffee | creative-workflow/jquery.input.validator | 0 |
describe 'jquery.input.validator', ->
$ = jQuery
helper = jasmine.helper
validator = $('body').iValidator()
hintSelector = ".#{validator.config.classes.hint}"
# override -> no waiting for dom changes
validator.config.handler.onShowHint = validator.config.handler.onShowHintForTesting
descri... | 209001 |
describe 'jquery.input.validator', ->
$ = jQuery
helper = jasmine.helper
validator = $('body').iValidator()
hintSelector = ".#{validator.config.classes.hint}"
# override -> no waiting for dom changes
validator.config.handler.onShowHint = validator.config.handler.onShowHintForTesting
descri... | true |
describe 'jquery.input.validator', ->
$ = jQuery
helper = jasmine.helper
validator = $('body').iValidator()
hintSelector = ".#{validator.config.classes.hint}"
# override -> no waiting for dom changes
validator.config.handler.onShowHint = validator.config.handler.onShowHintForTesting
descri... |
[
{
"context": "###\r\n\r\ngas-manager\r\nhttps://github.com/soundTricker/gas-manager\r\n\r\nCopyright (c) 2013 Keisuke Oohashi",
"end": 51,
"score": 0.9975616335868835,
"start": 39,
"tag": "USERNAME",
"value": "soundTricker"
},
{
"context": "com/soundTricker/gas-manager\r\n\r\nCopyrig... | src/lib/commands/upload-command.coffee | unau/gas-minus-minus | 0 | ###
gas-manager
https://github.com/soundTricker/gas-manager
Copyright (c) 2013 Keisuke Oohashi
Licensed under the MIT license.
###
'use strict'
fs = require 'fs'
path = require 'path'
async = require 'async'
Manager = require('../gas-manager').Manager
util = require './util'
exports.upload =... | 133338 | ###
gas-manager
https://github.com/soundTricker/gas-manager
Copyright (c) 2013 <NAME>
Licensed under the MIT license.
###
'use strict'
fs = require 'fs'
path = require 'path'
async = require 'async'
Manager = require('../gas-manager').Manager
util = require './util'
exports.upload = (options... | true | ###
gas-manager
https://github.com/soundTricker/gas-manager
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
'use strict'
fs = require 'fs'
path = require 'path'
async = require 'async'
Manager = require('../gas-manager').Manager
util = require './util'
exports.upl... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991371035575867,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream-writev.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... | 171256 | # 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": " @element.appendChild(message)\n\n #@resultsBox.style.display = 'block'\n #@errorElement.style.d",
"end": 882,
"score": 0.7112994194030762,
"start": 882,
"tag": "EMAIL",
"value": ""
},
{
"context": "ocument.createElement('div')\n\n #@errorElement.style.disp... | lib/postgres-autocomplete-view.coffee | rikard2/Postgres-Autocomplete | 0 | module.exports =
class PostgresAutocompleteView
constructor: (serializedState) ->
# Create root element
@element = document.createElement('div')
@element.classList.add('postgres-autocomplete')
# Create message element
message = document.createElement('div')
message.textContent = "The Postgres... | 199998 | module.exports =
class PostgresAutocompleteView
constructor: (serializedState) ->
# Create root element
@element = document.createElement('div')
@element.classList.add('postgres-autocomplete')
# Create message element
message = document.createElement('div')
message.textContent = "The Postgres... | true | module.exports =
class PostgresAutocompleteView
constructor: (serializedState) ->
# Create root element
@element = document.createElement('div')
@element.classList.add('postgres-autocomplete')
# Create message element
message = document.createElement('div')
message.textContent = "The Postgres... |
[
{
"context": "'use strict'\n\n\n# Key\n#\n# @copyright Andrew Lawson 2012\n# @see http://github.com/adlawson/key\n# @see",
"end": 49,
"score": 0.9998748898506165,
"start": 36,
"tag": "NAME",
"value": "Andrew Lawson"
},
{
"context": "right Andrew Lawson 2012\n# @see http://github.com/... | src/code/keypad.coffee | adlawson/coffee-key | 1 | 'use strict'
# Key
#
# @copyright Andrew Lawson 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
enter = require './special'
# Definitions
keypad = {
'0': ref '0', 96
'1': ... | 149598 | 'use strict'
# Key
#
# @copyright <NAME> 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
enter = require './special'
# Definitions
keypad = {
'0': ref '0', 96
'1': ref '1'... | true | 'use strict'
# Key
#
# @copyright PI:NAME:<NAME>END_PI 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{ref} = require '../ref'
enter = require './special'
# Definitions
keypad = {
'0': ref '0', 96
... |
[
{
"context": " {\n 'requiredData': {\n 'user': [\n 'username'\n ],\n 'group': [\n 'slug'\n ]",
"end": 671,
"score": 0.9995728731155396,
"start": 663,
"tag": "USERNAME",
"value": "username"
},
{
"context": "6da2'\n },\n 'credentials': {\n 'aws... | client/mocks/mock.jstack.coffee | ezgikaysi/koding | 1 | module.exports = {
'watchers': {},
'bongo_': {
'constructorName': 'JStackTemplate',
'instanceId': '2a68ab44e407c1cca60aada3ea98cebb'
},
'machines': [
{
'label': 'example',
'provider': 'aws',
'region': 'us-east-1',
'source_ami': 'ami-cf35f3a4',
'instanceType': 't2.nano',... | 60573 | module.exports = {
'watchers': {},
'bongo_': {
'constructorName': 'JStackTemplate',
'instanceId': '2a68ab44e407c1cca60aada3ea98cebb'
},
'machines': [
{
'label': 'example',
'provider': 'aws',
'region': 'us-east-1',
'source_ami': 'ami-cf35f3a4',
'instanceType': 't2.nano',... | true | module.exports = {
'watchers': {},
'bongo_': {
'constructorName': 'JStackTemplate',
'instanceId': '2a68ab44e407c1cca60aada3ea98cebb'
},
'machines': [
{
'label': 'example',
'provider': 'aws',
'region': 'us-east-1',
'source_ami': 'ami-cf35f3a4',
'instanceType': 't2.nano',... |
[
{
"context": ".refs.textInput.refs.element\n input.value = 'test data'\n TestUtils.Simulate.change input\n expe",
"end": 862,
"score": 0.9356240630149841,
"start": 853,
"tag": "NAME",
"value": "test data"
},
{
"context": "xpect(data.user).toInclude { bing: 'bong', name... | test/rest_form.spec.cjsx | PayloadDev/react-at-rest | 48 | React = require 'react'
superagent = require 'superagent'
mocker = require('superagent-mocker')(superagent)
expect = require 'expect'
TestUtils = require 'react-addons-test-utils'
{Store, RestForm, Forms} = require '../modules'
class UserForm extends RestForm
validations:
name:
req... | 50034 | React = require 'react'
superagent = require 'superagent'
mocker = require('superagent-mocker')(superagent)
expect = require 'expect'
TestUtils = require 'react-addons-test-utils'
{Store, RestForm, Forms} = require '../modules'
class UserForm extends RestForm
validations:
name:
req... | true | React = require 'react'
superagent = require 'superagent'
mocker = require('superagent-mocker')(superagent)
expect = require 'expect'
TestUtils = require 'react-addons-test-utils'
{Store, RestForm, Forms} = require '../modules'
class UserForm extends RestForm
validations:
name:
req... |
[
{
"context": ": 'TableA'\n id:\n name: 'id'\n column: 'colIdA'\n ",
"end": 2285,
"score": 0.6132261157035828,
"start": 2283,
"tag": "NAME",
"value": "id"
},
{
"context": ": 'TableA'\n id:\n name: 'idA'\n... | test/suite/02_test_mapping.coffee | smbape/node-dblayer | 0 | logger = log4js.getLogger __filename.replace /^(?:.+[\\\/])?([^.\\\/]+)(?:.[^.]+)?$/, '$1'
async = require 'async'
_ = require 'lodash'
{PersistenceManager} = require '../../'
describe 'mapping', ->
it 'should map', ->
mapping = {}
# Check consistency
assertPartial mapping, 'ClassA',
... | 26388 | logger = log4js.getLogger __filename.replace /^(?:.+[\\\/])?([^.\\\/]+)(?:.[^.]+)?$/, '$1'
async = require 'async'
_ = require 'lodash'
{PersistenceManager} = require '../../'
describe 'mapping', ->
it 'should map', ->
mapping = {}
# Check consistency
assertPartial mapping, 'ClassA',
... | true | logger = log4js.getLogger __filename.replace /^(?:.+[\\\/])?([^.\\\/]+)(?:.[^.]+)?$/, '$1'
async = require 'async'
_ = require 'lodash'
{PersistenceManager} = require '../../'
describe 'mapping', ->
it 'should map', ->
mapping = {}
# Check consistency
assertPartial mapping, 'ClassA',
... |
[
{
"context": "y(), '1')\n\n $('.droplet-hidden-input').sendkeys('2 + 3')\n\n setTimeout((->\n ok(editor.cursorAtSocket(",
"end": 6290,
"score": 0.7096831798553467,
"start": 6285,
"tag": "KEY",
"value": "2 + 3"
},
{
"context": "y(), 'a')\n\n $('.droplet-hidden-input').sendkeys('... | test/src/uitest.coffee | PencilCode/droplet | 117 | helper = require '../../src/helper.coffee'
model = require '../../src/model.coffee'
view = require '../../src/view.coffee'
draw = require '../../src/draw.coffee'
droplet = require '../../dist/droplet-full.js'
seedrandom = require 'seedrandom'
`
// Mouse event simluation function
function simulate(type, target, options... | 8452 | helper = require '../../src/helper.coffee'
model = require '../../src/model.coffee'
view = require '../../src/view.coffee'
draw = require '../../src/draw.coffee'
droplet = require '../../dist/droplet-full.js'
seedrandom = require 'seedrandom'
`
// Mouse event simluation function
function simulate(type, target, options... | true | helper = require '../../src/helper.coffee'
model = require '../../src/model.coffee'
view = require '../../src/view.coffee'
draw = require '../../src/draw.coffee'
droplet = require '../../dist/droplet-full.js'
seedrandom = require 'seedrandom'
`
// Mouse event simluation function
function simulate(type, target, options... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999128580093384,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/shared.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.
# Avoid triggering submit when pressing enter since both
# submit and change will be triggered.
# Moreover, blurring the input will trigger the '... | 201052 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
# Avoid triggering submit when pressing enter since both
# submit and change will be triggered.
# Moreover, blurring the input will trigger the 'change'... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
# Avoid triggering submit when pressing enter since both
# submit and change will be triggered.
# Moreover, blurring the input will trigg... |
[
{
"context": " attributedString.addAttributeInRange('name', 'jesse', 0, 12)\n copy = attributedString.copy()\n a",
"end": 363,
"score": 0.9994275569915771,
"start": 358,
"tag": "NAME",
"value": "jesse"
},
{
"context": " attributedString.addAttributeInRange('name', 'jesse'... | atom/packages/foldingtext-for-atom/spec/core/attributed-string-spec.coffee | prookie/dotfiles-1 | 0 | AttributedString = require '../../lib/core/attributed-string'
Outline = require '../../lib/core/outline'
Item = require '../../lib/core/item'
describe 'AttributedString', ->
[attributedString] = []
beforeEach ->
attributedString = new AttributedString 'Hello world!'
it 'should create copy', ->
attribut... | 143796 | AttributedString = require '../../lib/core/attributed-string'
Outline = require '../../lib/core/outline'
Item = require '../../lib/core/item'
describe 'AttributedString', ->
[attributedString] = []
beforeEach ->
attributedString = new AttributedString 'Hello world!'
it 'should create copy', ->
attribut... | true | AttributedString = require '../../lib/core/attributed-string'
Outline = require '../../lib/core/outline'
Item = require '../../lib/core/item'
describe 'AttributedString', ->
[attributedString] = []
beforeEach ->
attributedString = new AttributedString 'Hello world!'
it 'should create copy', ->
attribut... |
[
{
"context": "ount: changesCounter\n\t\t\t)\n\t$scope.user =\n\t\tname: 'hello'\n\t\tlastname: 'world'\n\n\tdo ->\n\t\ttimer = null\n\t\t$sc",
"end": 1993,
"score": 0.9706974625587463,
"start": 1988,
"tag": "NAME",
"value": "hello"
}
] | app/scripts/controllers/controllers.coffee | SKorolchuk/angular-educational-app | 0 | 'use strict'
angular.module 'SKorolchuk.AngularStudy'
.controller 'MainCtrl', ($scope, $location, $window, version, $state) ->
$scope.$path = $location.path.bind($location)
$scope.$state = $state
$scope.version = version
.controller 'ProductCtrl', ($scope, $state, $stateParams, productService) ->
$scope.products... | 66623 | 'use strict'
angular.module 'SKorolchuk.AngularStudy'
.controller 'MainCtrl', ($scope, $location, $window, version, $state) ->
$scope.$path = $location.path.bind($location)
$scope.$state = $state
$scope.version = version
.controller 'ProductCtrl', ($scope, $state, $stateParams, productService) ->
$scope.products... | true | 'use strict'
angular.module 'SKorolchuk.AngularStudy'
.controller 'MainCtrl', ($scope, $location, $window, version, $state) ->
$scope.$path = $location.path.bind($location)
$scope.$state = $state
$scope.version = version
.controller 'ProductCtrl', ($scope, $state, $stateParams, productService) ->
$scope.products... |
[
{
"context": "y(\n usernameField: 'email'\n passwordField: 'password'\n ,\n (username, password, done) ->\n models.u",
"end": 480,
"score": 0.9962759613990784,
"start": 472,
"tag": "PASSWORD",
"value": "password"
}
] | server/src/services/authentication.coffee | natevecc/jeff-project | 0 | models = require '../models'
Promise = require 'bluebird'
bcrypt = Promise.promisifyAll require('bcrypt')
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
passport.serializeUser (user, done) ->
done null, user.get('id')
passport.deserializeUser (id, done) ->
models.user.findById(id... | 174035 | models = require '../models'
Promise = require 'bluebird'
bcrypt = Promise.promisifyAll require('bcrypt')
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
passport.serializeUser (user, done) ->
done null, user.get('id')
passport.deserializeUser (id, done) ->
models.user.findById(id... | true | models = require '../models'
Promise = require 'bluebird'
bcrypt = Promise.promisifyAll require('bcrypt')
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
passport.serializeUser (user, done) ->
done null, user.get('id')
passport.deserializeUser (id, done) ->
models.user.findById(id... |
[
{
"context": "true\n ipa:\n principal: 'admin'\n password: 'admin_pw'\n # referer: 'https://freeipa.nikita.local/ipa",
"end": 93,
"score": 0.9991156458854675,
"start": 85,
"tag": "PASSWORD",
"value": "admin_pw"
},
{
"context": "al'\n ,\n label: 'remote'\n ssh:\n ... | packages/ipa/env/ipa/test.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
module.exports =
tags:
ipa: true
ipa:
principal: 'admin'
password: 'admin_pw'
# referer: 'https://freeipa.nikita.local/ipa/xml'
url: 'https://ipa.nikita.local/ipa/session/json'
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username: process.env.USER,
... | 140244 |
module.exports =
tags:
ipa: true
ipa:
principal: 'admin'
password: '<PASSWORD>'
# referer: 'https://freeipa.nikita.local/ipa/xml'
url: 'https://ipa.nikita.local/ipa/session/json'
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username: process.env.USER,... | true |
module.exports =
tags:
ipa: true
ipa:
principal: 'admin'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
# referer: 'https://freeipa.nikita.local/ipa/xml'
url: 'https://ipa.nikita.local/ipa/session/json'
config: [
label: 'local'
,
label: 'remote'
ssh:
host: '127.0.0.1', username:... |
[
{
"context": "64')\n\n data =\n user_id: user_id\n key: gen_token()\n scope: util.normalize_scope(options.scope",
"end": 602,
"score": 0.8480386734008789,
"start": 593,
"tag": "KEY",
"value": "gen_token"
}
] | lib/guard.coffee | danielmwai/oauth2-node | 0 | URL = require 'url'
crypto = require 'crypto'
util = require './util'
Err = require './error'
module.exports = class Guard extends require('./options')
constructor: ->
super
@._accessor 'storage'
throw new Error("Please provide 'storage' for OAuth Guard") unless @storage
issue_token: (user_id,... | 127189 | URL = require 'url'
crypto = require 'crypto'
util = require './util'
Err = require './error'
module.exports = class Guard extends require('./options')
constructor: ->
super
@._accessor 'storage'
throw new Error("Please provide 'storage' for OAuth Guard") unless @storage
issue_token: (user_id,... | true | URL = require 'url'
crypto = require 'crypto'
util = require './util'
Err = require './error'
module.exports = class Guard extends require('./options')
constructor: ->
super
@._accessor 'storage'
throw new Error("Please provide 'storage' for OAuth Guard") unless @storage
issue_token: (user_id,... |
[
{
"context": "te'].size()\n @.by_Type._keys().assert_Is ['participant-remote','participant']\n @.by_Funded['yes'].size()",
"end": 628,
"score": 0.7789159417152405,
"start": 610,
"tag": "KEY",
"value": "participant-remote"
}
] | src/server/test/Participants.test.coffee | shooking/owasp-summit-2017 | 101 | Jekyll_Data = require '../src/Jekyll-Data'
describe 'Jekyll Data | Participants', ->
participants = null
beforeEach ->
participants = new Jekyll_Data().participants
using participants,->
@.jekyll_Data.folder_Root.assert_Folder_Exists()
@.file_Yaml_Lists.file_Name().assert_Is 'lists.yml'
it... | 38351 | Jekyll_Data = require '../src/Jekyll-Data'
describe 'Jekyll Data | Participants', ->
participants = null
beforeEach ->
participants = new Jekyll_Data().participants
using participants,->
@.jekyll_Data.folder_Root.assert_Folder_Exists()
@.file_Yaml_Lists.file_Name().assert_Is 'lists.yml'
it... | true | Jekyll_Data = require '../src/Jekyll-Data'
describe 'Jekyll Data | Participants', ->
participants = null
beforeEach ->
participants = new Jekyll_Data().participants
using participants,->
@.jekyll_Data.folder_Root.assert_Folder_Exists()
@.file_Yaml_Lists.file_Name().assert_Is 'lists.yml'
it... |
[
{
"context": " message: 'Update documentation'\n repo: 'git@github.com:' + process.env.TRAVIS_REPO_SLUG\n watch:\n ",
"end": 1962,
"score": 0.9966700673103333,
"start": 1948,
"tag": "EMAIL",
"value": "git@github.com"
}
] | Gruntfile.coffee | hpautonomy/topic-map | 0 | module.exports = (grunt) ->
jasmineRequireTemplate = require 'grunt-template-jasmine-requirejs'
documentation = 'doc'
jasmineSpecRunner = 'spec-runner.html'
specs = 'test/spec/**/*.js'
source = 'src/js/**/*.js'
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
clean: [
'bin'
'.... | 60039 | module.exports = (grunt) ->
jasmineRequireTemplate = require 'grunt-template-jasmine-requirejs'
documentation = 'doc'
jasmineSpecRunner = 'spec-runner.html'
specs = 'test/spec/**/*.js'
source = 'src/js/**/*.js'
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
clean: [
'bin'
'.... | true | module.exports = (grunt) ->
jasmineRequireTemplate = require 'grunt-template-jasmine-requirejs'
documentation = 'doc'
jasmineSpecRunner = 'spec-runner.html'
specs = 'test/spec/**/*.js'
source = 'src/js/**/*.js'
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
clean: [
'bin'
'.... |
[
{
"context": " path: 'tao-quan.mp4'\n# name: 'Tao Quan'\n# }\n ]\n }\n\n when",
"end": 2013,
"score": 0.9995883703231812,
"start": 2005,
"tag": "NAME",
"value": "Tao Quan"
}
] | lib/streamer.coffee | tungv/video-streaming | 1 | config = require 'config'
logger = require('log4js').getLogger('streamer')
fs = require 'fs'
ffmpeg = require 'fluent-ffmpeg'
BinaryServer = require('binaryjs').BinaryServer
bs = new BinaryServer {port: config['streamer']['port']}
getPath = (path)-> __dirname + '/../video/' + path
createStream = (stream, fileName,... | 75763 | config = require 'config'
logger = require('log4js').getLogger('streamer')
fs = require 'fs'
ffmpeg = require 'fluent-ffmpeg'
BinaryServer = require('binaryjs').BinaryServer
bs = new BinaryServer {port: config['streamer']['port']}
getPath = (path)-> __dirname + '/../video/' + path
createStream = (stream, fileName,... | true | config = require 'config'
logger = require('log4js').getLogger('streamer')
fs = require 'fs'
ffmpeg = require 'fluent-ffmpeg'
BinaryServer = require('binaryjs').BinaryServer
bs = new BinaryServer {port: config['streamer']['port']}
getPath = (path)-> __dirname + '/../video/' + path
createStream = (stream, fileName,... |
[
{
"context": "\tcallbackCount = 0\n\t\t\texpectedArgs = id: 1, name:'one', created: new Date(), sub: { sub1: 1, sub2: 2}\n\t",
"end": 3784,
"score": 0.9882181882858276,
"start": 3781,
"tag": "NAME",
"value": "one"
}
] | test/cache.coffee | adamchester/gistblog-express | 1 | describe 'cache', ->
util = require 'util'
_ = require 'underscore'
assert = require 'assert'
events = require 'events'
logging = require '../lib/logging'
th = require './test_helpers'
a = require './asserters'
cache = require '../lib/cache'
# helpers
isFunction = (fn) -> _.isFunction(fn)
describe 'export... | 123662 | describe 'cache', ->
util = require 'util'
_ = require 'underscore'
assert = require 'assert'
events = require 'events'
logging = require '../lib/logging'
th = require './test_helpers'
a = require './asserters'
cache = require '../lib/cache'
# helpers
isFunction = (fn) -> _.isFunction(fn)
describe 'export... | true | describe 'cache', ->
util = require 'util'
_ = require 'underscore'
assert = require 'assert'
events = require 'events'
logging = require '../lib/logging'
th = require './test_helpers'
a = require './asserters'
cache = require '../lib/cache'
# helpers
isFunction = (fn) -> _.isFunction(fn)
describe 'export... |
[
{
"context": "e real Sachin\n# hubot ship CBRIS\n#\n# Author:\n# Mateusz Kopij <sagasu>\n\nchrisExcuse = [\n \"Sachin makes me feel",
"end": 519,
"score": 0.999862015247345,
"start": 506,
"tag": "NAME",
"value": "Mateusz Kopij"
},
{
"context": " hubot ship CBRIS\n#\n# Author:\n... | scripts/offshore.coffee | sagasu/doc | 1 | # Description:
# offshore team
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot offshore team
# hubot sachin nsfw
# hubot who will be victorious
# hubot who will prevail
# hubot who will unleash righteous vengeance upon evil
# hubot who will be triumphant
# hubot when Prem is... | 216914 | # Description:
# offshore team
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot offshore team
# hubot sachin nsfw
# hubot who will be victorious
# hubot who will prevail
# hubot who will unleash righteous vengeance upon evil
# hubot who will be triumphant
# hubot when Prem is... | true | # Description:
# offshore team
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot offshore team
# hubot sachin nsfw
# hubot who will be victorious
# hubot who will prevail
# hubot who will unleash righteous vengeance upon evil
# hubot who will be triumphant
# hubot when Prem is... |
[
{
"context": "e CSS/SASS highlighter\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nColorifier.css = Colorifier.sass = Colorifier.s",
"end": 74,
"score": 0.9998884797096252,
"start": 57,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | src/lang/css.coffee | MadRabbit/colorifier | 1 | #
# The CSS/SASS highlighter
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
Colorifier.css = Colorifier.sass = Colorifier.scss = new Class Colorifier,
comments: "/* */,//"
booleans: "collapse,solid,dotted,dashed,none,auto,url,any,block,normal,"+
"italic,bold,unerline,inherit,inline,inline-block,inset,... | 145370 | #
# The CSS/SASS highlighter
#
# Copyright (C) 2011-2012 <NAME>
#
Colorifier.css = Colorifier.sass = Colorifier.scss = new Class Colorifier,
comments: "/* */,//"
booleans: "collapse,solid,dotted,dashed,none,auto,url,any,block,normal,"+
"italic,bold,unerline,inherit,inline,inline-block,inset,outset,"+
... | true | #
# The CSS/SASS highlighter
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
Colorifier.css = Colorifier.sass = Colorifier.scss = new Class Colorifier,
comments: "/* */,//"
booleans: "collapse,solid,dotted,dashed,none,auto,url,any,block,normal,"+
"italic,bold,unerline,inherit,inline,inline-block,ins... |
[
{
"context": "CommentService) ->\n $scope.user =\n name: \"John\"\n phone: \"12312312\"\n\n comment = CommentSe",
"end": 239,
"score": 0.999639630317688,
"start": 235,
"tag": "NAME",
"value": "John"
},
{
"context": "()\n# UserFactory.addCreditCard(\"1234\",10,17,... | app/assets/javascripts/console/controllers.coffee | arakcheev/console | 0 | ###*
Console controllers.
###
define ['./services'], (services)->
"use strict"
###*
Controls the index page
###
MainCtrl = ($scope, ConsoleFactory, UserFactory, TaskFactory, CommentService) ->
$scope.user =
name: "John"
phone: "12312312"
comment = CommentService
comment.onmessage (ev... | 94357 | ###*
Console controllers.
###
define ['./services'], (services)->
"use strict"
###*
Controls the index page
###
MainCtrl = ($scope, ConsoleFactory, UserFactory, TaskFactory, CommentService) ->
$scope.user =
name: "<NAME>"
phone: "12312312"
comment = CommentService
comment.onmessage (... | true | ###*
Console controllers.
###
define ['./services'], (services)->
"use strict"
###*
Controls the index page
###
MainCtrl = ($scope, ConsoleFactory, UserFactory, TaskFactory, CommentService) ->
$scope.user =
name: "PI:NAME:<NAME>END_PI"
phone: "12312312"
comment = CommentService
comme... |
[
{
"context": "rt(\n service: 'gmail'\n auth:\n user: 'perpustakaanonline2015@gmail.com'\n pass: 'penelitianilmiah123'\n)\n\npassport.",
"end": 439,
"score": 0.99992436170578,
"start": 407,
"tag": "EMAIL",
"value": "perpustakaanonline2015@gmail.com"
},
{
"context":... | Server/routes/UserRoute.coffee | RizkiMufrizal/Belajar-ES6 | 1 | express = require 'express'
jwt = require 'jsonwebtoken'
uuid = require 'node-uuid'
User = require '../models/User'
Logger = require '../utils/Logger'
nodemailer = require 'nodemailer'
bcrypt = require 'bcrypt'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
router = express.Router()
t... | 148737 | express = require 'express'
jwt = require 'jsonwebtoken'
uuid = require 'node-uuid'
User = require '../models/User'
Logger = require '../utils/Logger'
nodemailer = require 'nodemailer'
bcrypt = require 'bcrypt'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
router = express.Router()
t... | true | express = require 'express'
jwt = require 'jsonwebtoken'
uuid = require 'node-uuid'
User = require '../models/User'
Logger = require '../utils/Logger'
nodemailer = require 'nodemailer'
bcrypt = require 'bcrypt'
passport = require 'passport'
LocalStrategy = require('passport-local').Strategy
router = express.Router()
t... |
[
{
"context": " = (id, password) ->\n options =\n username: id\n password: password\n\n login(options).then",
"end": 1269,
"score": 0.820228099822998,
"start": 1267,
"tag": "USERNAME",
"value": "id"
},
{
"context": ">\n options =\n username: id\n password:... | app/scripts/connect/welcome.coffee | appirio-tech/accounts-app | 3 | 'use strict'
{ getFreshToken, login } = require '../../../core/auth.js'
{ DOMAIN } = require '../../../core/constants.js'
{ generateReturnUrl, redirectTo } = require '../../../core/url.js'
_ = require 'lodash'
ConnectWelcomeController = ($state, $stateParams, $scope, ISO3166) ->
vm = this
vm.terms... | 123538 | 'use strict'
{ getFreshToken, login } = require '../../../core/auth.js'
{ DOMAIN } = require '../../../core/constants.js'
{ generateReturnUrl, redirectTo } = require '../../../core/url.js'
_ = require 'lodash'
ConnectWelcomeController = ($state, $stateParams, $scope, ISO3166) ->
vm = this
vm.terms... | true | 'use strict'
{ getFreshToken, login } = require '../../../core/auth.js'
{ DOMAIN } = require '../../../core/constants.js'
{ generateReturnUrl, redirectTo } = require '../../../core/url.js'
_ = require 'lodash'
ConnectWelcomeController = ($state, $stateParams, $scope, ISO3166) ->
vm = this
vm.terms... |
[
{
"context": "###\n Vertical News Ticker 1.21\n\n Original by: Tadas Juozapaitis ( kasp3rito [eta] gmail (dot) com )\n ",
"end": 65,
"score": 0.9999014735221863,
"start": 48,
"tag": "NAME",
"value": "Tadas Juozapaitis"
},
{
"context": "ail (dot) com )\n ht... | coffee/jquery.vticker.coffee | richhollis/vticker | 118 | ###
Vertical News Ticker 1.21
Original by: Tadas Juozapaitis ( kasp3rito [eta] gmail (dot) com )
https://github.com/kasp3r/vTicker
Forked/Modified by: Richard Hollis @richhollis - richhollis.co.uk
###
(($) ->
defaults =
speed: 700
pause: 4000
showItems: 1
mousePause: true
... | 41902 | ###
Vertical News Ticker 1.21
Original by: <NAME> ( kasp3rito [eta] gmail (dot) com )
https://github.com/kasp3r/vTicker
Forked/Modified by: <NAME> @richhollis - <EMAIL>
###
(($) ->
defaults =
speed: 700
pause: 4000
showItems: 1
mousePause: true
height: 0
animate: true... | true | ###
Vertical News Ticker 1.21
Original by: PI:NAME:<NAME>END_PI ( kasp3rito [eta] gmail (dot) com )
https://github.com/kasp3r/vTicker
Forked/Modified by: PI:NAME:<NAME>END_PI @richhollis - PI:EMAIL:<EMAIL>END_PI
###
(($) ->
defaults =
speed: 700
pause: 4000
showItems: 1
mouse... |
[
{
"context": "# ----------------------------------------------\n# Nick: Phantombuster's custom navigation module\n# -----",
"end": 55,
"score": 0.9990307688713074,
"start": 51,
"tag": "NAME",
"value": "Nick"
},
{
"context": "------------------------------------------\n# Nick: Phantom... | libs/lib-Nick-beta.coffee | shubs/api-store | 8 | # ----------------------------------------------
# Nick: Phantombuster's custom navigation module
# ----------------------------------------------
#
# This modules provides an easy navigation/web automation/scraping system based
# on CasperJS.
#
# Always launch a script using this module with the CasperJS command.
#
# ... | 103857 | # ----------------------------------------------
# <NAME>: <NAME>'s custom navigation module
# ----------------------------------------------
#
# This modules provides an easy navigation/web automation/scraping system based
# on CasperJS.
#
# Always launch a script using this module with the CasperJS command.
#
# Pleas... | true | # ----------------------------------------------
# PI:NAME:<NAME>END_PI: PI:NAME:<NAME>END_PI's custom navigation module
# ----------------------------------------------
#
# This modules provides an easy navigation/web automation/scraping system based
# on CasperJS.
#
# Always launch a script using this module with the... |
[
{
"context": "7e1905a38e9587f9504b739ff9b77ef2d5cc0f\" : true\n \"ac6e225b8324c1fcbe814382e198495bea801dfeb56cb22b9e89066cc52ab03b0f\" : true\n \"3034e8b7d75861fc28a478b4992a8592b5478d",
"end": 2112,
"score": 0.8776329755783081,
"start": 2046,
"tag": "KEY",
"value": "ac6e225b8324c1fcbe8143... | node_modules/libkeybase/src/sigchain/sigchain.iced | AngelKey/Angelkey.nodeclient | 151 | {bufeq_secure,athrow, a_json_parse} = require('iced-utils').util
{make_esc} = require 'iced-error'
kbpgp = require('kbpgp')
proofs = require('keybase-proofs')
ie = require('iced-error')
{trim} = require('pgp-utils').util
UID_LEN = 32
exports.SIG_ID_SUFFIX = SIG_ID_SUFFIX = "0f"
strip_final_newline = (buf) ->
s = bu... | 194677 | {bufeq_secure,athrow, a_json_parse} = require('iced-utils').util
{make_esc} = require 'iced-error'
kbpgp = require('kbpgp')
proofs = require('keybase-proofs')
ie = require('iced-error')
{trim} = require('pgp-utils').util
UID_LEN = 32
exports.SIG_ID_SUFFIX = SIG_ID_SUFFIX = "0f"
strip_final_newline = (buf) ->
s = bu... | true | {bufeq_secure,athrow, a_json_parse} = require('iced-utils').util
{make_esc} = require 'iced-error'
kbpgp = require('kbpgp')
proofs = require('keybase-proofs')
ie = require('iced-error')
{trim} = require('pgp-utils').util
UID_LEN = 32
exports.SIG_ID_SUFFIX = SIG_ID_SUFFIX = "0f"
strip_final_newline = (buf) ->
s = bu... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero G",
"end": 27,
"score": 0.6288893222808838,
"start": 20,
"tag": "NAME",
"value": "Pty Ltd"
},
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Pu... | resources/assets/coffee/react/artist-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 { Tracklist } from 'tracklist'
reactTurbolinks.registerPersistent 'artistTracklist', Tracklist, true, (el) ->
tracks: osu.parseJson el.... | 198727 | # Copyright (c) ppy <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 { Tracklist } from 'tracklist'
reactTurbolinks.registerPersistent 'artistTracklist', Tracklist, true, (el) ->
tracks: osu.parseJson el.dataset.... | true | # Copyright (c) ppy PI: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 { Tracklist } from 'tracklist'
reactTurbolinks.registerPersistent 'artistTracklist', Tracklist, true, (el) ->
trac... |
[
{
"context": " password) ->\n @setName(name)\n @setPassword(password)\n $('#login-submit-btn').click()\n browser.w",
"end": 378,
"score": 0.9727783203125,
"start": 370,
"tag": "PASSWORD",
"value": "password"
}
] | app/specs/e2e/pages/home.coffee | asartalo/axya | 0 | 'use strict'
class HomePage extends require('./base')
constructor: ->
@pagePath = '/'
setName: (name) ->
$('#inputUsername').sendKeys(name)
setPassword: (password) ->
$('#inputPassword').sendKeys(password)
goToSignUp: ->
$('#signup-link').click()
browser.waitForAngular()
login: (name,... | 32105 | 'use strict'
class HomePage extends require('./base')
constructor: ->
@pagePath = '/'
setName: (name) ->
$('#inputUsername').sendKeys(name)
setPassword: (password) ->
$('#inputPassword').sendKeys(password)
goToSignUp: ->
$('#signup-link').click()
browser.waitForAngular()
login: (name,... | true | 'use strict'
class HomePage extends require('./base')
constructor: ->
@pagePath = '/'
setName: (name) ->
$('#inputUsername').sendKeys(name)
setPassword: (password) ->
$('#inputPassword').sendKeys(password)
goToSignUp: ->
$('#signup-link').click()
browser.waitForAngular()
login: (name,... |
[
{
"context": "###\n * grunt-choose\n * https://github.com/leny/grunt-choose\n *\n * Copyright (c) 2014 Leny\n * Lic",
"end": 46,
"score": 0.9995312690734863,
"start": 42,
"tag": "USERNAME",
"value": "leny"
},
{
"context": "hub.com/leny/grunt-choose\n *\n * Copyright (c) 2014 Leny\n *... | Gruntfile.coffee | gruntjs-updater/grunt-choose | 0 | ###
* grunt-choose
* https://github.com/leny/grunt-choose
*
* Copyright (c) 2014 Leny
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
options:
arrow_spacin... | 104774 | ###
* grunt-choose
* https://github.com/leny/grunt-choose
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
options:
arrow_spac... | true | ###
* grunt-choose
* https://github.com/leny/grunt-choose
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
options:
... |
[
{
"context": "s.twitter.consumerSecret\n access_token_key: tok\n access_token_secret: tokSec\n )\n\n# just",
"end": 657,
"score": 0.6528001427650452,
"start": 654,
"tag": "KEY",
"value": "tok"
},
{
"context": "access_token_key: tok\n access_token_secret: tokSe... | src/lib/twitterAPI.coffee | sharismlab/social-brain-framework | 2 | # Here is stored all logic related to twitter API requests
# We use nTwitter module to fetch data from twitter
s = null
tok =null
tokSec=null
# create a ntwitter element
ntwitter = require 'ntwitter'
apikeys = require '../../config/apikeys'
# declare global vars
ntwit = null
#import seuron controller
# seurons_con... | 26023 | # Here is stored all logic related to twitter API requests
# We use nTwitter module to fetch data from twitter
s = null
tok =null
tokSec=null
# create a ntwitter element
ntwitter = require 'ntwitter'
apikeys = require '../../config/apikeys'
# declare global vars
ntwit = null
#import seuron controller
# seurons_con... | true | # Here is stored all logic related to twitter API requests
# We use nTwitter module to fetch data from twitter
s = null
tok =null
tokSec=null
# create a ntwitter element
ntwitter = require 'ntwitter'
apikeys = require '../../config/apikeys'
# declare global vars
ntwit = null
#import seuron controller
# seurons_con... |
[
{
"context": "# parsing Python code\n#\n# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.outsider.ne.kr/>\n# L",
"end": 59,
"score": 0.9998612999916077,
"start": 45,
"tag": "NAME",
"value": "JeongHoon Byun"
},
{
"context": "n code\n#\n# Copyright (c) 2013 JeongHoon ... | src/parser/python-parser.coffee | uppalapatisujitha/CodingConventionofCommitHistory | 421 | # parsing Python code
#
# Copyright (c) 2013 JeongHoon Byun aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
helpers = require '../helpers'
_ = require 'underscore'
jsParser = module.exports =
lang: 'py'
parse: (line, convention, commitUrl) ->
... | 109081 | # parsing Python code
#
# Copyright (c) 2013 <NAME> aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
helpers = require '../helpers'
_ = require 'underscore'
jsParser = module.exports =
lang: 'py'
parse: (line, convention, commitUrl) ->
conve... | true | # parsing Python code
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
helpers = require '../helpers'
_ = require 'underscore'
jsParser = module.exports =
lang: 'py'
parse: (line, convention, commitUrl... |
[
{
"context": " # get (callback)\n # Get metrics\n # - username: the user id\n # - callback: the callback function, callback(e",
"end": 87,
"score": 0.978050172328949,
"start": 76,
"tag": "USERNAME",
"value": "the user id"
},
{
"context": "estamp ] = data.key.split \":\"\n if... | src/back/metrics.coffee | ThomasCharuel/ece_ast_project | 0 | module.exports = (db) ->
# get (callback)
# Get metrics
# - username: the user id
# - callback: the callback function, callback(err, data)
get: (username, callback) ->
# result array
res = []
rs = db.createReadStream()
# on data, add the data to the result array
rs.on 'data', (data) ->
... | 105054 | module.exports = (db) ->
# get (callback)
# Get metrics
# - username: the user id
# - callback: the callback function, callback(err, data)
get: (username, callback) ->
# result array
res = []
rs = db.createReadStream()
# on data, add the data to the result array
rs.on 'data', (data) ->
... | true | module.exports = (db) ->
# get (callback)
# Get metrics
# - username: the user id
# - callback: the callback function, callback(err, data)
get: (username, callback) ->
# result array
res = []
rs = db.createReadStream()
# on data, add the data to the result array
rs.on 'data', (data) ->
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.