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": "\n # may do and undo a change. Ie: \"Star if from Ben, Unstar if subject is \"Bla\"\n return Promise.ea",
"end": 4350,
"score": 0.9989696741104126,
"start": 4347,
"tag": "NAME",
"value": "Ben"
}
] | packages/client-app/src/mail-rules-processor.coffee | cnheider/nylas-mail | 24,369 | _ = require 'underscore'
Task = require('./flux/tasks/task').default
Actions = require('./flux/actions').default
Category = require('./flux/models/category').default
Thread = require('./flux/models/thread').default
Message = require('./flux/models/message').default
AccountStore = require('./flux/stores/account-store')... | 79658 | _ = require 'underscore'
Task = require('./flux/tasks/task').default
Actions = require('./flux/actions').default
Category = require('./flux/models/category').default
Thread = require('./flux/models/thread').default
Message = require('./flux/models/message').default
AccountStore = require('./flux/stores/account-store')... | true | _ = require 'underscore'
Task = require('./flux/tasks/task').default
Actions = require('./flux/actions').default
Category = require('./flux/models/category').default
Thread = require('./flux/models/thread').default
Message = require('./flux/models/message').default
AccountStore = require('./flux/stores/account-store')... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993605613708496,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "hile j--\n client = net.connect(common.PORT, \"127.0.0.1\")\n client.id = j\n c... | test/simple/test-child-process-fork-getconnections.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... | 103301 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "#\n# Copyright (c) 2019 Alexander Sporn. All rights reserved.\n#\n\nEnocean = require './Eno",
"end": 38,
"score": 0.9998582601547241,
"start": 23,
"tag": "NAME",
"value": "Alexander Sporn"
}
] | index.coffee | alexsporn/homebridge-enocean | 1 | #
# Copyright (c) 2019 Alexander Sporn. All rights reserved.
#
Enocean = require './Enocean'
Accessory = undefined
Service = undefined
Characteristic = undefined
UUIDGen = undefined
module.exports = (homebridge) ->
Accessory = homebridge.platformAccessory
Service = homebridge.hap.Service
Characteristic = homeb... | 90807 | #
# Copyright (c) 2019 <NAME>. All rights reserved.
#
Enocean = require './Enocean'
Accessory = undefined
Service = undefined
Characteristic = undefined
UUIDGen = undefined
module.exports = (homebridge) ->
Accessory = homebridge.platformAccessory
Service = homebridge.hap.Service
Characteristic = homebridge.hap... | true | #
# Copyright (c) 2019 PI:NAME:<NAME>END_PI. All rights reserved.
#
Enocean = require './Enocean'
Accessory = undefined
Service = undefined
Characteristic = undefined
UUIDGen = undefined
module.exports = (homebridge) ->
Accessory = homebridge.platformAccessory
Service = homebridge.hap.Service
Characteristic = ... |
[
{
"context": "mobyDick = \"Call me Ishmael. Some years ago --\n never",
"end": 4,
"score": 0.474505215883255,
"start": 2,
"tag": "NAME",
"value": "by"
},
{
"context": "mobyDick = \"Call me Ishmael. Some years ago --\n never min",
"end": 8,
"score": 0.6427341103553772,
"... | documentation/examples/strings.coffee | Trott/coffeescript | 8,728 | mobyDick = "Call me Ishmael. Some years ago --
never mind how long precisely -- having little
or no money in my purse, and nothing particular
to interest me on shore, I thought I would sail
about a little and see the watery part of the
world..."
| 102917 | mo<NAME>D<NAME> = "Call me <NAME>. Some years ago --
never mind how long precisely -- having little
or no money in my purse, and nothing particular
to interest me on shore, I thought I would sail
about a little and see the watery part of the
world..."
| true | moPI:NAME:<NAME>END_PIDPI:NAME:<NAME>END_PI = "Call me PI:NAME:<NAME>END_PI. Some years ago --
never mind how long precisely -- having little
or no money in my purse, and nothing particular
to interest me on shore, I thought I would sail
about a little and see the watery part of the
world..."
|
[
{
"context": " return next(err)\n rs['password'] = undefined\n res.json rs\n )\n\nrouter.post '/",
"end": 869,
"score": 0.9904025793075562,
"start": 860,
"tag": "PASSWORD",
"value": "undefined"
},
{
"context": " return next(err)\n rs['p... | src/routes/preference.coffee | ureport-web/ureport-s | 3 | express = require('express')
router = express.Router()
User = require('../models/user')
AccessControl = require('../utils/ac_grants')
component = 'preference'
#create the login get and post routes
router.post '/update/dashboard', (req, res, next) ->
if(!req.body.user)
return res.status(400).json {error: "U... | 199837 | express = require('express')
router = express.Router()
User = require('../models/user')
AccessControl = require('../utils/ac_grants')
component = 'preference'
#create the login get and post routes
router.post '/update/dashboard', (req, res, next) ->
if(!req.body.user)
return res.status(400).json {error: "U... | true | express = require('express')
router = express.Router()
User = require('../models/user')
AccessControl = require('../utils/ac_grants')
component = 'preference'
#create the login get and post routes
router.post '/update/dashboard', (req, res, next) ->
if(!req.body.user)
return res.status(400).json {error: "U... |
[
{
"context": "angular: [\n {\n key: 'metadata.responseId'\n }\n {\n key: 'metadata.endSession'\n }\n {\n ",
"end": 44,
"score": 0.7463879585266113,
"start": 25,
"tag": "KEY",
"value": "metadata.responseId"
},
{
"context": "\n key: 'metadata.responseId'\n }\n {\n ke... | src/schemas/message/reprompt-form.cson | octoblu/alexa-service | 3 | angular: [
{
key: 'metadata.responseId'
}
{
key: 'metadata.endSession'
}
{
key: 'data.phrase'
}
]
| 190126 | angular: [
{
key: '<KEY>'
}
{
key: '<KEY>'
}
{
key: '<KEY>'
}
]
| true | angular: [
{
key: 'PI:KEY:<KEY>END_PI'
}
{
key: 'PI:KEY:<KEY>END_PI'
}
{
key: 'PI:KEY:<KEY>END_PI'
}
]
|
[
{
"context": " key\n keyRE = \"#{Const.TAGS_RE.RECALL_BEGIN}#{keyRE}#{Const.TAGS_RE.RECALL_END}\"\n keyRE =",
"end": 1600,
"score": 0.7014304399490356,
"start": 1598,
"tag": "KEY",
"value": "#{"
},
{
"context": " keyRE = \"#{Const.TAGS_RE.RECALL_BEGIN}#{keyRE}#{Cons... | src/callbacks.coffee | klarna/katt-js | 2 | ###
Copyright 2013 Klarna AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | 69263 | ###
Copyright 2013 Klarna AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... | true | ###
Copyright 2013 Klarna AB
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writ... |
[
{
"context": ".TwitterBot = class TwitterBot\n\n constructor : ({@username, @password}) ->\n @jar = request.jar()\n\n #----",
"end": 303,
"score": 0.8542296886444092,
"start": 294,
"tag": "USERNAME",
"value": "@username"
},
{
"context": "n \"\"\n body = null\n form.authent... | test/lib/twitter.iced | AngelKey/Angelkey.nodeclient | 151 |
request = require 'request'
cheerio = require 'cheerio'
{a_json_parse,katch} = require('iced-utils').util
{make_esc} = require('iced-error')
util = require 'util'
#=====================================================================
exports.TwitterBot = class TwitterBot
constructor : ({@username, @password}) ->
... | 64059 |
request = require 'request'
cheerio = require 'cheerio'
{a_json_parse,katch} = require('iced-utils').util
{make_esc} = require('iced-error')
util = require 'util'
#=====================================================================
exports.TwitterBot = class TwitterBot
constructor : ({@username, @password}) ->
... | true |
request = require 'request'
cheerio = require 'cheerio'
{a_json_parse,katch} = require('iced-utils').util
{make_esc} = require('iced-error')
util = require 'util'
#=====================================================================
exports.TwitterBot = class TwitterBot
constructor : ({@username, @password}) ->
... |
[
{
"context": "x.props.sshcmd =\n 'ssh -A -t '+g.user+'@users.isi.deterlab.net '+\n 'ssh -A '+x.props.name+'.'+",
"end": 6381,
"score": 0.5692400932312012,
"start": 6378,
"tag": "EMAIL",
"value": "isi"
},
{
"context": "d.add(@shp.obj3d)\n @props = {\n name: \"com... | coffee/main.coffee | cycps/designer | 0 | root = exports ? this
getParameterByName = (name) =>
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]")
regex = new RegExp("[\\?&]" + name + "=([^&#]*)")
results = regex.exec(location.search)
decodeURIComponent(results[1].replace(/\+/g, " "))
initViz = () =>
g.ve = new VisualEnvironment(
... | 90935 | root = exports ? this
getParameterByName = (name) =>
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]")
regex = new RegExp("[\\?&]" + name + "=([^&#]*)")
results = regex.exec(location.search)
decodeURIComponent(results[1].replace(/\+/g, " "))
initViz = () =>
g.ve = new VisualEnvironment(
... | true | root = exports ? this
getParameterByName = (name) =>
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]")
regex = new RegExp("[\\?&]" + name + "=([^&#]*)")
results = regex.exec(location.search)
decodeURIComponent(results[1].replace(/\+/g, " "))
initViz = () =>
g.ve = new VisualEnvironment(
... |
[
{
"context": "###\n Superslides\n https://github.com/nicinabox/superslides\n Copyright (c) 2013 Nic Aitch; Licen",
"end": 48,
"score": 0.9992921352386475,
"start": 39,
"tag": "USERNAME",
"value": "nicinabox"
},
{
"context": "hub.com/nicinabox/superslides\n Copyright (c) 2013 Nic ... | src/jquery.superslides.coffee | davgit/superslides | 1 | ###
Superslides
https://github.com/nicinabox/superslides
Copyright (c) 2013 Nic Aitch; Licensed MIT
###
plugin = 'superslides'
$ = jQuery
Superslides = (el, options = {}) ->
@options = $.extend
play: false
slide_speed: 'normal'
slide_easing: 'linear'
pagination: true
hashchange: false... | 145500 | ###
Superslides
https://github.com/nicinabox/superslides
Copyright (c) 2013 <NAME>; Licensed MIT
###
plugin = 'superslides'
$ = jQuery
Superslides = (el, options = {}) ->
@options = $.extend
play: false
slide_speed: 'normal'
slide_easing: 'linear'
pagination: true
hashchange: false
... | true | ###
Superslides
https://github.com/nicinabox/superslides
Copyright (c) 2013 PI:NAME:<NAME>END_PI; Licensed MIT
###
plugin = 'superslides'
$ = jQuery
Superslides = (el, options = {}) ->
@options = $.extend
play: false
slide_speed: 'normal'
slide_easing: 'linear'
pagination: true
hashch... |
[
{
"context": "pe.auth.isLoggedIn\n ###\n testData = {username: \"anish\", password: 'something'}\n saHttp.post(saApiEndpo",
"end": 651,
"score": 0.9996726512908936,
"start": 646,
"tag": "USERNAME",
"value": "anish"
},
{
"context": " ###\n testData = {username: \"anish\", passwor... | js/controllers/test.coffee | bassoGeorge/shuttle-up-2015 | 0 | angular.module 'shuttleApp.controllers'
.controller 'TestController', ($scope, $modal, $aside, toastr,
$log, saApiEndpoints, saEncPass
saHttp) ->
$scope.openModal = () ->
$modal.open(
templateUrl: 'templates/modals/modal_test.html'
)
$scop... | 54617 | angular.module 'shuttleApp.controllers'
.controller 'TestController', ($scope, $modal, $aside, toastr,
$log, saApiEndpoints, saEncPass
saHttp) ->
$scope.openModal = () ->
$modal.open(
templateUrl: 'templates/modals/modal_test.html'
)
$scop... | true | angular.module 'shuttleApp.controllers'
.controller 'TestController', ($scope, $modal, $aside, toastr,
$log, saApiEndpoints, saEncPass
saHttp) ->
$scope.openModal = () ->
$modal.open(
templateUrl: 'templates/modals/modal_test.html'
)
$scop... |
[
{
"context": ")\n parent_id = el.data('taxon-id')\n name = 'New node'\n child_index = 0\n @create_taxon({name",
"end": 2028,
"score": 0.8567935228347778,
"start": 2025,
"tag": "NAME",
"value": "New"
},
{
"context": "create: (e) ->\n e.preventDefault()\n name = 'New ... | backend/app/assets/javascripts/spree/backend/taxonomy.js.coffee | vexus2/solidus | 0 | Handlebars.registerHelper 'isRootTaxon', ->
!@parent_id?
TaxonTreeView = Backbone.View.extend
create_taxon: ({name, parent_id, child_index}) ->
Spree.ajax
type: "POST",
dataType: "json",
url: "#{this.model.url()}/taxons",
data:
taxon: {name, parent_id, child_index}
complet... | 13163 | Handlebars.registerHelper 'isRootTaxon', ->
!@parent_id?
TaxonTreeView = Backbone.View.extend
create_taxon: ({name, parent_id, child_index}) ->
Spree.ajax
type: "POST",
dataType: "json",
url: "#{this.model.url()}/taxons",
data:
taxon: {name, parent_id, child_index}
complet... | true | Handlebars.registerHelper 'isRootTaxon', ->
!@parent_id?
TaxonTreeView = Backbone.View.extend
create_taxon: ({name, parent_id, child_index}) ->
Spree.ajax
type: "POST",
dataType: "json",
url: "#{this.model.url()}/taxons",
data:
taxon: {name, parent_id, child_index}
complet... |
[
{
"context": "equire 'mongoose'\n\nFactory.userData = {\n email: 'zap@brannigan.com'\n first_name: 'Zapp'\n last_name: 'Brannigan'\n ",
"end": 140,
"score": 0.9999296069145203,
"start": 123,
"tag": "EMAIL",
"value": "zap@brannigan.com"
},
{
"context": "a = {\n email: 'zap@branni... | test/helpers/factory.coffee | HarvestJS/crud-intro | 1 | Factory = require 'factory-worker'
require '../../app/user'
mongoose = require 'mongoose'
Factory.userData = {
email: 'zap@brannigan.com'
first_name: 'Zapp'
last_name: 'Brannigan'
role: 'Captain'
}
if Factory.connected = mongoose?.connections?[0]?.collections?.users
{User} = mongoose.models
Factory.def... | 141646 | Factory = require 'factory-worker'
require '../../app/user'
mongoose = require 'mongoose'
Factory.userData = {
email: '<EMAIL>'
first_name: '<NAME>'
last_name: '<NAME>'
role: 'Captain'
}
if Factory.connected = mongoose?.connections?[0]?.collections?.users
{User} = mongoose.models
Factory.define 'user',... | true | Factory = require 'factory-worker'
require '../../app/user'
mongoose = require 'mongoose'
Factory.userData = {
email: 'PI:EMAIL:<EMAIL>END_PI'
first_name: 'PI:NAME:<NAME>END_PI'
last_name: 'PI:NAME:<NAME>END_PI'
role: 'Captain'
}
if Factory.connected = mongoose?.connections?[0]?.collections?.users
{User} ... |
[
{
"context": "nel = null\nSEP_IID = 'SEP1'\nIID = 'A1'\nCONNKEY = '123456'\nEXPECTED_REPLY = 'Hello'\nEXPECTED_PAYLOAD = 'Mor",
"end": 1819,
"score": 0.999522864818573,
"start": 1813,
"tag": "KEY",
"value": "123456"
},
{
"context": "ay(100)\n # When ...\n # Sec-WebSocket-Key ... | tests/http-message.test.coffee | kumori-systems/http-message | 0 | http = require '../src/index'
q = require 'q'
net = require 'net'
EventEmitter = require('events').EventEmitter
should = require 'should'
supertest = require 'supertest'
WebSocketServer = require('websocket').server
#### START: ENABLE LOG LINES FOR DEBUGGING ####
# This will show all log lines in the code if the test ... | 8117 | http = require '../src/index'
q = require 'q'
net = require 'net'
EventEmitter = require('events').EventEmitter
should = require 'should'
supertest = require 'supertest'
WebSocketServer = require('websocket').server
#### START: ENABLE LOG LINES FOR DEBUGGING ####
# This will show all log lines in the code if the test ... | true | http = require '../src/index'
q = require 'q'
net = require 'net'
EventEmitter = require('events').EventEmitter
should = require 'should'
supertest = require 'supertest'
WebSocketServer = require('websocket').server
#### START: ENABLE LOG LINES FOR DEBUGGING ####
# This will show all log lines in the code if the test ... |
[
{
"context": "eness. For example, while <em>My\nfavorite works of William Shakespeare</em> will most likely be an original\ncollection, ",
"end": 1246,
"score": 0.9478300213813782,
"start": 1227,
"tag": "NAME",
"value": "William Shakespeare"
},
{
"context": "y be an original\ncollect... | src/license-selector.coffee | CodeMaster7000/public-license-selector | 39 | EVENT_NS = 'license-selector'
$ = require 'jquery';
_ = require 'lodash';
{LicenseDefinitions, LicenseCompatibility, QuestionDefinitions, LabelsDefinitions} = require './definitions.coffee'
# keyword : text
Explanations =
'the scope of copyright and related rights': """
<p>
Copyright protects original works. Origin... | 133583 | EVENT_NS = 'license-selector'
$ = require 'jquery';
_ = require 'lodash';
{LicenseDefinitions, LicenseCompatibility, QuestionDefinitions, LabelsDefinitions} = require './definitions.coffee'
# keyword : text
Explanations =
'the scope of copyright and related rights': """
<p>
Copyright protects original works. Origin... | true | EVENT_NS = 'license-selector'
$ = require 'jquery';
_ = require 'lodash';
{LicenseDefinitions, LicenseCompatibility, QuestionDefinitions, LabelsDefinitions} = require './definitions.coffee'
# keyword : text
Explanations =
'the scope of copyright and related rights': """
<p>
Copyright protects original works. Origin... |
[
{
"context": "KOU_CONDUCTOR_ROUTING_KEY\"]\n\n# https://github.com/joukou/joukou-conductor-rabbitmq/blob/develop/src/lib/co",
"end": 1159,
"score": 0.9993212223052979,
"start": 1153,
"tag": "USERNAME",
"value": "joukou"
},
{
"context": "onductorRoutingKey\n JoukouConductorRoutingKey... | src/persona/graph/network/routes.coffee | joukou/joukou-api | 0 | "use strict"
###*
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,... | 65466 | "use strict"
###*
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,... | true | "use strict"
###*
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,... |
[
{
"context": "#!/usr/bin/env node\n\n###\n# @author Jinzulen\n# @license MIT License\n# @copyright Copyright (C)",
"end": 43,
"score": 0.9997485876083374,
"start": 35,
"tag": "NAME",
"value": "Jinzulen"
},
{
"context": "icense MIT License\n# @copyright Copyright (C) 2020 Jinzulen\n##... | src/index.coffee | Jinzulen/YumeCLI | 1 | #!/usr/bin/env node
###
# @author Jinzulen
# @license MIT License
# @copyright Copyright (C) 2020 Jinzulen
###
# Core dependencies.
OS = require "os"
FS = require "fs"
Path = require "path"
JSZip = require "jszip"
Moment = require "moment"
Request = require "request"
Comm... | 191667 | #!/usr/bin/env node
###
# @author <NAME>
# @license MIT License
# @copyright Copyright (C) 2020 <NAME>
###
# Core dependencies.
OS = require "os"
FS = require "fs"
Path = require "path"
JSZip = require "jszip"
Moment = require "moment"
Request = require "request"
Commande... | true | #!/usr/bin/env node
###
# @author PI:NAME:<NAME>END_PI
# @license MIT License
# @copyright Copyright (C) 2020 PI:NAME:<NAME>END_PI
###
# Core dependencies.
OS = require "os"
FS = require "fs"
Path = require "path"
JSZip = require "jszip"
Moment = require "moment"
Request ... |
[
{
"context": "_id}/contents/main.tex\"\n\t\t\t\tauth:\n\t\t\t\t\tusername: \"sharelatex\"\n\t\t\t\t\tpassword: \"password\"\n\t\t\t\t\tsendImmediately: ",
"end": 628,
"score": 0.9992351531982422,
"start": 618,
"tag": "USERNAME",
"value": "sharelatex"
},
{
"context": "auth:\n\t\t\t\t\... | test/acceptance/coffee/TpdsUpdateTests.coffee | davidmehren/web-sharelatex | 1 | expect = require("chai").expect
ProjectGetter = require "../../../app/js/Features/Project/ProjectGetter.js"
request = require "./helpers/request"
User = require "./helpers/User"
describe "TpdsUpdateTests", ->
before (done) ->
@owner = new User()
@owner.login (error) =>
throw error if error?
@owner.createPro... | 51768 | expect = require("chai").expect
ProjectGetter = require "../../../app/js/Features/Project/ProjectGetter.js"
request = require "./helpers/request"
User = require "./helpers/User"
describe "TpdsUpdateTests", ->
before (done) ->
@owner = new User()
@owner.login (error) =>
throw error if error?
@owner.createPro... | true | expect = require("chai").expect
ProjectGetter = require "../../../app/js/Features/Project/ProjectGetter.js"
request = require "./helpers/request"
User = require "./helpers/User"
describe "TpdsUpdateTests", ->
before (done) ->
@owner = new User()
@owner.login (error) =>
throw error if error?
@owner.createPro... |
[
{
"context": "->\n\n setSucc: (@succ) ->\n\n\n ###\n I love you artur\n hackerkate nows the sick code\n ###\n\n inRa",
"end": 6993,
"score": 0.8555888533592224,
"start": 6988,
"tag": "NAME",
"value": "artur"
}
] | src/coffee/geometry/posn.coffee | agiza/mondrian | 226 | ###
Posn
•
(x, y)
Lowest-level geometry class.
Consists of x, y coordinates. Provides methods for manipulating or representing
the point in two-dimensional space.
Superclass: Point
###
class Posn
constructor: (@x, @y, @zoomLevel = 1.0) ->
# I/P:
# x: number
# y: number
... | 201513 | ###
Posn
•
(x, y)
Lowest-level geometry class.
Consists of x, y coordinates. Provides methods for manipulating or representing
the point in two-dimensional space.
Superclass: Point
###
class Posn
constructor: (@x, @y, @zoomLevel = 1.0) ->
# I/P:
# x: number
# y: number
... | true | ###
Posn
•
(x, y)
Lowest-level geometry class.
Consists of x, y coordinates. Provides methods for manipulating or representing
the point in two-dimensional space.
Superclass: Point
###
class Posn
constructor: (@x, @y, @zoomLevel = 1.0) ->
# I/P:
# x: number
# y: number
... |
[
{
"context": "he latest English versions:\n## https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascri",
"end": 185,
"score": 0.9927756786346436,
"start": 175,
"tag": "USERNAME",
"value": "uploadcare"
},
{
"context": "oad: 'Kann nicht hochgeladen werden'\n ... | app/assets/javascripts/uploadcare/locale/de.js.coffee | nd0ut/uploadcare-widget | 1 | ##
## Please, do not use this locale as a reference for new translations.
## It could be outdated or incomplete. Always use the latest English versions:
## https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js.coffee
##
## Any fixes are welcome.
##
uploadcare.namesp... | 36416 | ##
## Please, do not use this locale as a reference for new translations.
## It could be outdated or incomplete. Always use the latest English versions:
## https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js.coffee
##
## Any fixes are welcome.
##
uploadcare.namesp... | true | ##
## Please, do not use this locale as a reference for new translations.
## It could be outdated or incomplete. Always use the latest English versions:
## https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js.coffee
##
## Any fixes are welcome.
##
uploadcare.namesp... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http",
"end": 63,
"score": 0.5680813789367676,
"start": 62,
"tag": "NAME",
"value": "H"
}
] | src/event.coffee | heartyoh/dou | 1 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./utils'
'./collection'
], (utils, collection) ->
"use strict"
Event =
withEvent: ->
... | 3777 | # ==========================================
# Copyright 2014 <NAME>atio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./utils'
'./collection'
], (utils, collection) ->
"use strict"
Event =
withEvent: ->
... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PIatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./utils'
'./collection'
], (utils, collection) ->
"use strict"
Event =
with... |
[
{
"context": "# user : 'bob',\n# password : 'secret',\n# create_tables_automatically: true\n# ",
"end": 531,
"score": 0.99946528673172,
"start": 525,
"tag": "PASSWORD",
"value": "secret"
}
] | node_modules/share/src/server/db/mysql.coffee | abraarsyed/workshare | 2 | # This is an implementation of the OT data backend for MySQL. It requires
# that you have two tables defined in your schema: one for the snapshots
# and one for the operations. You must also install the 'mysql' package.
#
#
# Example usage:
#
# var connect = require('connect');
# var share = require('share').... | 28652 | # This is an implementation of the OT data backend for MySQL. It requires
# that you have two tables defined in your schema: one for the snapshots
# and one for the operations. You must also install the 'mysql' package.
#
#
# Example usage:
#
# var connect = require('connect');
# var share = require('share').... | true | # This is an implementation of the OT data backend for MySQL. It requires
# that you have two tables defined in your schema: one for the snapshots
# and one for the operations. You must also install the 'mysql' package.
#
#
# Example usage:
#
# var connect = require('connect');
# var share = require('share').... |
[
{
"context": "\n\n\n\nattributes =\n client: [\n \"client_id\"\n \"first_name\"\n \"email\"\n \"username\"\n \"home_phone\"",
"end": 981,
"score": 0.527849018573761,
"start": 976,
"tag": "NAME",
"value": "first"
},
{
"context": " \"client_id\"\n \"first_name\"\n... | src/lib/services/freshbooks.coffee | assignittous/knodeo_workshop | 0 | # freshbooks.coffee
'use strict'
require('sugar')
config = require("../../lib/configuration").Configuration
logger = require('../../lib/logger').Logger
output = require('../../lib/data').Data
request = require("../../lib/http").Http
thisService = "freshbooks"
serviceConfig = config.forService thisService
data_dir = ... | 212939 | # freshbooks.coffee
'use strict'
require('sugar')
config = require("../../lib/configuration").Configuration
logger = require('../../lib/logger').Logger
output = require('../../lib/data').Data
request = require("../../lib/http").Http
thisService = "freshbooks"
serviceConfig = config.forService thisService
data_dir = ... | true | # freshbooks.coffee
'use strict'
require('sugar')
config = require("../../lib/configuration").Configuration
logger = require('../../lib/logger').Logger
output = require('../../lib/data').Data
request = require("../../lib/http").Http
thisService = "freshbooks"
serviceConfig = config.forService thisService
data_dir = ... |
[
{
"context": " a player's move\", ->\n @battle.recordMove(@id1, @battle.getMove('Tackle'))\n action = _(@bat",
"end": 1546,
"score": 0.6915391683578491,
"start": 1545,
"tag": "USERNAME",
"value": "1"
},
{
"context": "c priority bracket\", ->\n @battle.recordMove(@id1, ... | test/bw/battle.coffee | sarenji/pokebattle-sim | 5 | require '../helpers'
sinon = require('sinon')
{Attachment} = require('../../server/bw/attachment')
{Battle} = require('../../server/bw/battle')
{Weather} = require('../../shared/weather')
{Conditions} = require '../../shared/conditions'
{Factory} = require('../factory')
{BattleServer} = require('../../server/server')... | 223330 | require '../helpers'
sinon = require('sinon')
{Attachment} = require('../../server/bw/attachment')
{Battle} = require('../../server/bw/battle')
{Weather} = require('../../shared/weather')
{Conditions} = require '../../shared/conditions'
{Factory} = require('../factory')
{BattleServer} = require('../../server/server')... | true | require '../helpers'
sinon = require('sinon')
{Attachment} = require('../../server/bw/attachment')
{Battle} = require('../../server/bw/battle')
{Weather} = require('../../shared/weather')
{Conditions} = require '../../shared/conditions'
{Factory} = require('../factory')
{BattleServer} = require('../../server/server')... |
[
{
"context": "TEAM */\n Koding, Inc.\n Contact : hello@koding.com\n Twitter : twitter.com/koding\n ",
"end": 863,
"score": 0.9999175667762756,
"start": 847,
"tag": "EMAIL",
"value": "hello@koding.com"
},
{
"context": "ello@koding.com\n Twitt... | servers/lib/server/humanstxt.coffee | ezgikaysi/koding | 1 | bongo = require './bongo'
generateHumanstxt = (req, res) ->
{ JAccount } = bongo.models
JAccount.some { 'globalFlags': 'staff' }, {}, (err, accounts) ->
if err or not accounts
return res.status(500).end()
else
body = ''
for acc in accounts
if acc?.profile?.nickname?
... | 170648 | bongo = require './bongo'
generateHumanstxt = (req, res) ->
{ JAccount } = bongo.models
JAccount.some { 'globalFlags': 'staff' }, {}, (err, accounts) ->
if err or not accounts
return res.status(500).end()
else
body = ''
for acc in accounts
if acc?.profile?.nickname?
... | true | bongo = require './bongo'
generateHumanstxt = (req, res) ->
{ JAccount } = bongo.models
JAccount.some { 'globalFlags': 'staff' }, {}, (err, accounts) ->
if err or not accounts
return res.status(500).end()
else
body = ''
for acc in accounts
if acc?.profile?.nickname?
... |
[
{
"context": "Person =\n name: 'string'\n email: 'string'\n chore_ids: [ ObjectId(chore_",
"end": 24,
"score": 0.9817655086517334,
"start": 18,
"tag": "NAME",
"value": "string"
}
] | store/_data.cson | jimbol/dashberry-pi | 0 | Person =
name: 'string'
email: 'string'
chore_ids: [ ObjectId(chore_id) ]
Chore =
label: 'string'
person_id: ObjectId( person_id )
List =
person_id: ObjectId( person_id )
title: 'string'
chore_ids: [ ObjectId(chore_id) ]
Lists =
list_ids: [ ObjectId( list_id ) ]
person_id: ObjectId( person_id )
| 225627 | Person =
name: '<NAME>'
email: 'string'
chore_ids: [ ObjectId(chore_id) ]
Chore =
label: 'string'
person_id: ObjectId( person_id )
List =
person_id: ObjectId( person_id )
title: 'string'
chore_ids: [ ObjectId(chore_id) ]
Lists =
list_ids: [ ObjectId( list_id ) ]
person_id: ObjectId( person_id )
| true | Person =
name: 'PI:NAME:<NAME>END_PI'
email: 'string'
chore_ids: [ ObjectId(chore_id) ]
Chore =
label: 'string'
person_id: ObjectId( person_id )
List =
person_id: ObjectId( person_id )
title: 'string'
chore_ids: [ ObjectId(chore_id) ]
Lists =
list_ids: [ ObjectId( list_id ) ]
person_id: ObjectId(... |
[
{
"context": "'base64')\n\n opt.headers[\"Authorization\"] = \"UPYUN #{@username}:#{signature}\"\n opt.headers[\"Date\"] = date\n @_u",
"end": 2050,
"score": 0.8638317584991455,
"start": 2039,
"tag": "USERNAME",
"value": "#{@username"
},
{
"context": "xt url\n@action_share = (url)... | source/javascripts/all.coffee | layerssss/manager-for-upyun | 164 | moment.locale 'zh-cn'
try
@m_favs = JSON.parse(localStorage.favs)||{}
catch
@m_favs = {}
@refresh_favs = =>
$ '#favs'
.empty()
for k, fav of @m_favs
fav.origin ?= "http://#{fav.bucket}.b0.upaiyun.com"
$ li = document.createElement 'li'
.appendTo '#favs'
$ document.createElement 'a'
... | 53432 | moment.locale 'zh-cn'
try
@m_favs = JSON.parse(localStorage.favs)||{}
catch
@m_favs = {}
@refresh_favs = =>
$ '#favs'
.empty()
for k, fav of @m_favs
fav.origin ?= "http://#{fav.bucket}.b0.upaiyun.com"
$ li = document.createElement 'li'
.appendTo '#favs'
$ document.createElement 'a'
... | true | moment.locale 'zh-cn'
try
@m_favs = JSON.parse(localStorage.favs)||{}
catch
@m_favs = {}
@refresh_favs = =>
$ '#favs'
.empty()
for k, fav of @m_favs
fav.origin ?= "http://#{fav.bucket}.b0.upaiyun.com"
$ li = document.createElement 'li'
.appendTo '#favs'
$ document.createElement 'a'
... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/\n###\n\ndefine 'Coffixi/extras",
"end": 23,
"score": 0.9998831748962402,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/\n###\n\ndefine 'Coffixi/extras/Strip... | src/Coffixi/extras/Strip.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/
###
define 'Coffixi/extras/Strip', [
'Coffixi/display/DisplayObjectContainer'
'Coffixi/display/Sprite'
'Coffixi/utils/Utils'
'Coffixi/core/RenderTypes'
], (
DisplayObjectContainer
Sprite
Utils
RenderTypes
) ->
class Strip extends DisplayObjectContainer
... | 209182 | ###*
@author <NAME> http://matgroves.com/
###
define 'Coffixi/extras/Strip', [
'Coffixi/display/DisplayObjectContainer'
'Coffixi/display/Sprite'
'Coffixi/utils/Utils'
'Coffixi/core/RenderTypes'
], (
DisplayObjectContainer
Sprite
Utils
RenderTypes
) ->
class Strip extends DisplayObjectContainer
_... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/
###
define 'Coffixi/extras/Strip', [
'Coffixi/display/DisplayObjectContainer'
'Coffixi/display/Sprite'
'Coffixi/utils/Utils'
'Coffixi/core/RenderTypes'
], (
DisplayObjectContainer
Sprite
Utils
RenderTypes
) ->
class Strip extends DisplayObjectC... |
[
{
"context": "###\n turing-tape.coffee\n Fionan Haralddottir\n Spring 2015\n This program is published under t",
"end": 46,
"score": 0.9998840093612671,
"start": 27,
"tag": "NAME",
"value": "Fionan Haralddottir"
}
] | src/turing-tape.coffee | Lokidottir/coffeescript-turing-machine | 0 | ###
turing-tape.coffee
Fionan Haralddottir
Spring 2015
This program is published under the MIT licence
###
class TuringTape
###
A class that represents an infinite bi-directional
tape
###
defaultSymbol: null # The default symbol written to the tape
symbols: null # The number of symb... | 210058 | ###
turing-tape.coffee
<NAME>
Spring 2015
This program is published under the MIT licence
###
class TuringTape
###
A class that represents an infinite bi-directional
tape
###
defaultSymbol: null # The default symbol written to the tape
symbols: null # The number of symbols supported... | true | ###
turing-tape.coffee
PI:NAME:<NAME>END_PI
Spring 2015
This program is published under the MIT licence
###
class TuringTape
###
A class that represents an infinite bi-directional
tape
###
defaultSymbol: null # The default symbol written to the tape
symbols: null # The number of sym... |
[
{
"context": "/artwork/foo-bar-id\",\n \"partner\": {\n \"name\": \"Galerie Foo Bar\"\n },\n \"artist_names\": \"John Doe\",\n \"image\": {\n",
"end": 211,
"score": 0.9998782277107239,
"start": 196,
"tag": "NAME",
"value": "Galerie Foo Bar"
},
{
"context": "\"name\": \"Galerie... | apps/artwork_purchase/test/artwork_json.coffee | l2succes/force | 0 | module.exports = {
"id": "foo-bar-id",
"is_purchasable": true,
"title": "Foo Bar",
"date": "2011",
"sale_message": "€9,500",
"href": "/artwork/foo-bar-id",
"partner": {
"name": "Galerie Foo Bar"
},
"artist_names": "John Doe",
"image": {
"url": "foo-bar.jpg"
}
} | 37943 | module.exports = {
"id": "foo-bar-id",
"is_purchasable": true,
"title": "Foo Bar",
"date": "2011",
"sale_message": "€9,500",
"href": "/artwork/foo-bar-id",
"partner": {
"name": "<NAME>"
},
"artist_names": "<NAME>",
"image": {
"url": "foo-bar.jpg"
}
} | true | module.exports = {
"id": "foo-bar-id",
"is_purchasable": true,
"title": "Foo Bar",
"date": "2011",
"sale_message": "€9,500",
"href": "/artwork/foo-bar-id",
"partner": {
"name": "PI:NAME:<NAME>END_PI"
},
"artist_names": "PI:NAME:<NAME>END_PI",
"image": {
"url": "foo-bar.jpg"
}
} |
[
{
"context": " create an auction\nauction = new Auction({ item: 'Mars Bar', description: 'chocolate bar'})\n# until we have ",
"end": 5662,
"score": 0.9863173961639404,
"start": 5654,
"tag": "NAME",
"value": "Mars Bar"
}
] | auction.coffee | kartikmenda/livebids | 0 |
StateMachine = require('./sm').StateMachine
Collection = require('./collection').Collection
states =
start:
full_name: 'Waiting for Bidders'
active:
full_name: 'Auction happening now!'
complete:
full_name: 'Auction Finished'
payment_pending:
full_name: 'Waiting for Payment'
payment_collected... | 164122 |
StateMachine = require('./sm').StateMachine
Collection = require('./collection').Collection
states =
start:
full_name: 'Waiting for Bidders'
active:
full_name: 'Auction happening now!'
complete:
full_name: 'Auction Finished'
payment_pending:
full_name: 'Waiting for Payment'
payment_collected... | true |
StateMachine = require('./sm').StateMachine
Collection = require('./collection').Collection
states =
start:
full_name: 'Waiting for Bidders'
active:
full_name: 'Auction happening now!'
complete:
full_name: 'Auction Finished'
payment_pending:
full_name: 'Waiting for Payment'
payment_collected... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999122619628906,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/detail.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 { DetailBar } from './detail-bar'
import { MedalsCount } from './medals-count'
import { PlayTime } from './play-time'
import { Pp } from '... | 180529 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { DetailBar } from './detail-bar'
import { MedalsCount } from './medals-count'
import { PlayTime } from './play-time'
import { Pp } from './pp'
i... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { DetailBar } from './detail-bar'
import { MedalsCount } from './medals-count'
import { PlayTime } from './play-time'
import { Pp ... |
[
{
"context": "ery plugin v<%= pkg.version %>\\nCopyright (c) 2015 Ivan Prignano\\nReleased under the MIT License\\n*/'\n file",
"end": 327,
"score": 0.9998878240585327,
"start": 314,
"tag": "NAME",
"value": "Ivan Prignano"
}
] | Gruntfile.coffee | iprignano/tendina | 77 | module.exports = (grunt)->
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
coffee:
compile:
files:
"dist/tendina.js": "src/tendina.coffee"
uglify:
target:
options:
banner: '/*!\nTendina jQuery plugin v<%= pkg.version %>\nCopyright (c) 2015 Ivan P... | 92390 | module.exports = (grunt)->
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
coffee:
compile:
files:
"dist/tendina.js": "src/tendina.coffee"
uglify:
target:
options:
banner: '/*!\nTendina jQuery plugin v<%= pkg.version %>\nCopyright (c) 2015 <NAME>... | true | module.exports = (grunt)->
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
coffee:
compile:
files:
"dist/tendina.js": "src/tendina.coffee"
uglify:
target:
options:
banner: '/*!\nTendina jQuery plugin v<%= pkg.version %>\nCopyright (c) 2015 PI:NAM... |
[
{
"context": " yield utils.clearModels([User, Classroom])\n @user1 = yield utils.initUser()\n yield utils.loginUs",
"end": 492,
"score": 0.5070427060127258,
"start": 488,
"tag": "USERNAME",
"value": "user"
},
{
"context": "= yield utils.initUser()\n yield utils.loginUser(@u... | spec/server/functional/classrooms.spec.coffee | differentmatt/codecombat | 0 | config = require '../../../server_config'
require '../common'
clientUtils = require '../../../app/core/utils' # Must come after require /common
mongoose = require 'mongoose'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
requestAsync = Promise.promisify(request, {multiArgs: true})
classro... | 68003 | config = require '../../../server_config'
require '../common'
clientUtils = require '../../../app/core/utils' # Must come after require /common
mongoose = require 'mongoose'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
requestAsync = Promise.promisify(request, {multiArgs: true})
classro... | true | config = require '../../../server_config'
require '../common'
clientUtils = require '../../../app/core/utils' # Must come after require /common
mongoose = require 'mongoose'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
requestAsync = Promise.promisify(request, {multiArgs: true})
classro... |
[
{
"context": "a-11e5-a51a-f5a1e8cbbcce'\nGITHUB_CLIENT_SECRET = 'f01b0f2f-947a-467b-ad41-dcae8fe6ed7c'\n# Passport session setup.\n# To support persist",
"end": 245,
"score": 0.9945878386497498,
"start": 209,
"tag": "KEY",
"value": "f01b0f2f-947a-467b-ad41-dcae8fe6ed7c"
},
{
"conte... | example/app.coffee | trevorwang/passport-teambition | 0 | express = require('express')
passport = require('passport')
util = require('util')
GitHubStrategy = require('../src').Strategy
GITHUB_CLIENT_ID = '88fc4f30-983a-11e5-a51a-f5a1e8cbbcce'
GITHUB_CLIENT_SECRET = 'f01b0f2f-947a-467b-ad41-dcae8fe6ed7c'
# Passport session setup.
# To support persistent login sessions, Passp... | 45227 | express = require('express')
passport = require('passport')
util = require('util')
GitHubStrategy = require('../src').Strategy
GITHUB_CLIENT_ID = '88fc4f30-983a-11e5-a51a-f5a1e8cbbcce'
GITHUB_CLIENT_SECRET = '<KEY>'
# Passport session setup.
# To support persistent login sessions, Passport needs to be able to
# ser... | true | express = require('express')
passport = require('passport')
util = require('util')
GitHubStrategy = require('../src').Strategy
GITHUB_CLIENT_ID = '88fc4f30-983a-11e5-a51a-f5a1e8cbbcce'
GITHUB_CLIENT_SECRET = 'PI:KEY:<KEY>END_PI'
# Passport session setup.
# To support persistent login sessions, Passport needs to be ab... |
[
{
"context": "d @, card._id\n card: card,\n key: card._id\n ,\n (Editing\n cardid: ",
"end": 1868,
"score": 0.934030294418335,
"start": 1860,
"tag": "KEY",
"value": "card._id"
}
] | main.coffee | fiatjaf/youfle | 1 | YAML = require './yaml.coffee'
cardStore = require './cardStore.coffee'
dispatcher = require './dispatcher.coffee'
{div, span, pre,
small, i, p, a, button,
h1, h2, h3, h4,
form, legend, fieldset, input, textarea, select
ul, li} = React.DOM
Board = React.createClass
displayName: 'Board'
getI... | 159466 | YAML = require './yaml.coffee'
cardStore = require './cardStore.coffee'
dispatcher = require './dispatcher.coffee'
{div, span, pre,
small, i, p, a, button,
h1, h2, h3, h4,
form, legend, fieldset, input, textarea, select
ul, li} = React.DOM
Board = React.createClass
displayName: 'Board'
getI... | true | YAML = require './yaml.coffee'
cardStore = require './cardStore.coffee'
dispatcher = require './dispatcher.coffee'
{div, span, pre,
small, i, p, a, button,
h1, h2, h3, h4,
form, legend, fieldset, input, textarea, select
ul, li} = React.DOM
Board = React.createClass
displayName: 'Board'
getI... |
[
{
"context": "ieldView\n role: RoleFieldView\n username: UsernameFieldView\n password: UserPasswordFieldView\n passw",
"end": 2324,
"score": 0.9987092018127441,
"start": 2307,
"tag": "USERNAME",
"value": "UsernameFieldView"
},
{
"context": "\n username: Usern... | app/scripts/views/user-add-widget.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'./resource-add-widget'
'./textarea-field'
'./password-field'
'./select-field'
'./relational-select-field'
'./script-field'
'./../models/user'
'./../utils/globals'
], (ResourceAddWidgetView, TextareaFieldView, PasswordFieldView,
SelectFieldView, RelationalSelectFieldView, ScriptFieldView, Use... | 38682 | define [
'./resource-add-widget'
'./textarea-field'
'./password-field'
'./select-field'
'./relational-select-field'
'./script-field'
'./../models/user'
'./../utils/globals'
], (ResourceAddWidgetView, TextareaFieldView, PasswordFieldView,
SelectFieldView, RelationalSelectFieldView, ScriptFieldView, Use... | true | define [
'./resource-add-widget'
'./textarea-field'
'./password-field'
'./select-field'
'./relational-select-field'
'./script-field'
'./../models/user'
'./../utils/globals'
], (ResourceAddWidgetView, TextareaFieldView, PasswordFieldView,
SelectFieldView, RelationalSelectFieldView, ScriptFieldView, Use... |
[
{
"context": " inputOptions :\n placeholder : 'pick a username'\n name : 'username'\n ",
"end": 1001,
"score": 0.6926931142807007,
"start": 995,
"tag": "USERNAME",
"value": "pick a"
},
{
"context": " : 'pick a username'\n name ... | client/landing/site.landing/coffee/team/forms/teamjoinbysignupform.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
utils = require './../../core/utils'
TeamJoinTabForm = require './../forms/teamjointabform'
LoginInputView = require './../../login/logininputview'
module.exports = class TeamJoinBySignupForm extends TeamJoinTabForm
constructor: (options = {}, data) ->
teamData = util... | 30975 | kd = require 'kd'
utils = require './../../core/utils'
TeamJoinTabForm = require './../forms/teamjointabform'
LoginInputView = require './../../login/logininputview'
module.exports = class TeamJoinBySignupForm extends TeamJoinTabForm
constructor: (options = {}, data) ->
teamData = util... | true | kd = require 'kd'
utils = require './../../core/utils'
TeamJoinTabForm = require './../forms/teamjointabform'
LoginInputView = require './../../login/logininputview'
module.exports = class TeamJoinBySignupForm extends TeamJoinTabForm
constructor: (options = {}, data) ->
teamData = util... |
[
{
"context": "#\n# Author: Peter K. Lee (peter@corenova.com)\n#\n# All rights reserved. Thi",
"end": 24,
"score": 0.9998708963394165,
"start": 12,
"tag": "NAME",
"value": "Peter K. Lee"
},
{
"context": "#\n# Author: Peter K. Lee (peter@corenova.com)\n#\n# All rights reserved. This pr... | test/promise-intents.coffee | hashnfv/hashnfv-promise-backup | 0 | #
# Author: Peter K. Lee (peter@corenova.com)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
config = require 'config'
a... | 199652 | #
# Author: <NAME> (<EMAIL>)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
config = require 'config'
assert = require '... | true | #
# Author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
config = requir... |
[
{
"context": "\r\n <%= password_field_tag '${1:pin}' {2: , '1234', maxlength: 4, size: 6, class: \"pin_input\" } %>$",
"end": 1074,
"score": 0.9942630529403687,
"start": 1070,
"tag": "PASSWORD",
"value": "1234"
},
{
"context": "\"\r\n <%= email_field_tag '${1:email}' ${2: ... | snippets/dry-rails-views-html-form-tags.cson | dayogreats/dry | 0 | '.text.html.ruby,.text.html.erb':
'text_area_tag':
'prefix': 'text_area_tag'
'body': """
<%= text_area_tag(:${1:message}, "${1:Hi, nice site}", size: "24x6") %>$0
"""
'leftLabelHTML': '<span style=\"color:#ed225d;display:inline-block;font-weight:400;font-size:1.25em\">Rails Form Tag<... | 88235 | '.text.html.ruby,.text.html.erb':
'text_area_tag':
'prefix': 'text_area_tag'
'body': """
<%= text_area_tag(:${1:message}, "${1:Hi, nice site}", size: "24x6") %>$0
"""
'leftLabelHTML': '<span style=\"color:#ed225d;display:inline-block;font-weight:400;font-size:1.25em\">Rails Form Tag<... | true | '.text.html.ruby,.text.html.erb':
'text_area_tag':
'prefix': 'text_area_tag'
'body': """
<%= text_area_tag(:${1:message}, "${1:Hi, nice site}", size: "24x6") %>$0
"""
'leftLabelHTML': '<span style=\"color:#ed225d;display:inline-block;font-weight:400;font-size:1.25em\">Rails Form Tag<... |
[
{
"context": "{\n \"body\": {\n \"key\": {\n \"eldest_kid\": \"01013ef90b4c4e62121d12a51d18569b57996002c8bdccc9b2740935c9e4a07d20b40a\",\n \"host\": \"keybase.io\",\n \"kid\": \"0120b",
"end": 118,
"score": 0.9973297119140625,
"start": 48,
"tag": "KEY",
"value": "01013ef90... | teams_sample.cson | Dexvirxx/proofs | 118 | {
"body": {
"key": {
"eldest_kid": "01013ef90b4c4e62121d12a51d18569b57996002c8bdccc9b2740935c9e4a07d20b40a",
"host": "keybase.io",
"kid": "0120bd7350508b78d8be24a04789dc88f409c9fe607713dbc685215091b7a37aec130a",
"uid": "dbb165b7879fe7b1174df73bed0b9500",
"username": "max"
},
... | 25142 | {
"body": {
"key": {
"eldest_kid": "<KEY>",
"host": "keybase.io",
"kid": "<KEY>",
"uid": "dbb165b7879fe7b1174df73bed0b9500",
"username": "max"
},
"team" : {
"name" : "<NAME>",
"id" : "3399881122994004422",
"members" : {
"owner" : [ "max", "chris", "... | true | {
"body": {
"key": {
"eldest_kid": "PI:KEY:<KEY>END_PI",
"host": "keybase.io",
"kid": "PI:KEY:<KEY>END_PI",
"uid": "dbb165b7879fe7b1174df73bed0b9500",
"username": "max"
},
"team" : {
"name" : "PI:NAME:<NAME>END_PI",
"id" : "3399881122994004422",
"members" : ... |
[
{
"context": "ign/factsMainViews/_view/EntityConceptName?key=[\\\"http://www.sec.gov/CIK/#{identifier}\\\",\\\"#{elementName}\\\"]&include_do",
"end": 445,
"score": 0.7091633081436157,
"start": 426,
"tag": "KEY",
"value": "http://www.sec.gov/"
},
{
"context": "iew/EntityConceptName?k... | routes/rawfacts.coffee | curtinmjc/XbrlServer | 0 | express = require('express')
http = require('http')
request = require('request')
JSONStream = require('JSONStream')
{tickerResolver} = require('./helpers')
{getCloudantUrl} = require('./helpers')
{ObjectStringTransformStream} = require('../streams/ObjectStringTransformStream')
sendResponse = (identifier, elementName, ... | 81870 | express = require('express')
http = require('http')
request = require('request')
JSONStream = require('JSONStream')
{tickerResolver} = require('./helpers')
{getCloudantUrl} = require('./helpers')
{ObjectStringTransformStream} = require('../streams/ObjectStringTransformStream')
sendResponse = (identifier, elementName, ... | true | express = require('express')
http = require('http')
request = require('request')
JSONStream = require('JSONStream')
{tickerResolver} = require('./helpers')
{getCloudantUrl} = require('./helpers')
{ObjectStringTransformStream} = require('../streams/ObjectStringTransformStream')
sendResponse = (identifier, elementName, ... |
[
{
"context": " JSON scene\n# description compatible with hqz.\n#\n# Micah Elizabeth Scott <micah@scanlime.org>\n# This file is released into",
"end": 145,
"score": 0.999884843826294,
"start": 124,
"tag": "NAME",
"value": "Micah Elizabeth Scott"
},
{
"context": "n compatible with hqz.... | example /hqz/zen2json.coffee | amane312/photon_generator | 0 | #!/usr/bin/env coffee
#
# This script converts a zenphoton.com URL into a JSON scene
# description compatible with hqz.
#
# Micah Elizabeth Scott <micah@scanlime.org>
# This file is released into the public domain.
#
findOrAppend = (list, item) ->
# Find an item in the list or append if it isn't already there.
... | 38322 | #!/usr/bin/env coffee
#
# This script converts a zenphoton.com URL into a JSON scene
# description compatible with hqz.
#
# <NAME> <<EMAIL>>
# This file is released into the public domain.
#
findOrAppend = (list, item) ->
# Find an item in the list or append if it isn't already there.
# Returns a zero-based i... | true | #!/usr/bin/env coffee
#
# This script converts a zenphoton.com URL into a JSON scene
# description compatible with hqz.
#
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# This file is released into the public domain.
#
findOrAppend = (list, item) ->
# Find an item in the list or append if it isn't already there.... |
[
{
"context": "###\n\tfile: src/server/settings-srvr\n\n copyright mark hahn 2013\n MIT license\n https://github.com/mark-",
"end": 60,
"score": 0.9995383620262146,
"start": 51,
"tag": "NAME",
"value": "mark hahn"
},
{
"context": " hahn 2013\n MIT license\n https://gith... | src/server/settings-srvr.coffee | mark-hahn/bace | 1 | ###
file: src/server/settings-srvr
copyright mark hahn 2013
MIT license
https://github.com/mark-hahn/bace/
###
fs = require 'fs'
user = require './user-srvr'
settings = exports
avoidThemes = kr: yes
themeList = []
console.log process.cwd()
allFiles = fs.readdirSync 'ace/src-noconflict'
for file in a... | 107423 | ###
file: src/server/settings-srvr
copyright <NAME> 2013
MIT license
https://github.com/mark-hahn/bace/
###
fs = require 'fs'
user = require './user-srvr'
settings = exports
avoidThemes = kr: yes
themeList = []
console.log process.cwd()
allFiles = fs.readdirSync 'ace/src-noconflict'
for file in allF... | true | ###
file: src/server/settings-srvr
copyright PI:NAME:<NAME>END_PI 2013
MIT license
https://github.com/mark-hahn/bace/
###
fs = require 'fs'
user = require './user-srvr'
settings = exports
avoidThemes = kr: yes
themeList = []
console.log process.cwd()
allFiles = fs.readdirSync 'ace/src-noconflict'
fo... |
[
{
"context": "e.openstreetmap.org/{z}/{x}/{y}.png',\n key: '1234'\n layerName: 'OpenStreetMap'\n styleId: ",
"end": 594,
"score": 0.9961836934089661,
"start": 590,
"tag": "KEY",
"value": "1234"
}
] | app/packages/grits-net-meteor/client/mapper/grits_map.coffee | billdmcconnell/fliightData | 4 | _imagePath = 'packages/bevanhunt_leaflet/images'
# Creates an instance of a map
#
# @param [String]
# @param [Object] options, Leaflet map options + height
# @see http://leafletjs.com/reference.html#map-options
class GritsMap extends L.Map
constructor: (element, options) ->
@_name = 'GritsMap'
@_element = ele... | 117049 | _imagePath = 'packages/bevanhunt_leaflet/images'
# Creates an instance of a map
#
# @param [String]
# @param [Object] options, Leaflet map options + height
# @see http://leafletjs.com/reference.html#map-options
class GritsMap extends L.Map
constructor: (element, options) ->
@_name = 'GritsMap'
@_element = ele... | true | _imagePath = 'packages/bevanhunt_leaflet/images'
# Creates an instance of a map
#
# @param [String]
# @param [Object] options, Leaflet map options + height
# @see http://leafletjs.com/reference.html#map-options
class GritsMap extends L.Map
constructor: (element, options) ->
@_name = 'GritsMap'
@_element = ele... |
[
{
"context": "# Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>\n'use strict'\n\nchai = req",
"end": 34,
"score": 0.9998681545257568,
"start": 22,
"tag": "NAME",
"value": "David M. Lee"
},
{
"context": "# Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>\n'use stric... | test/bootstrap/index.coffee | building5/parfaitjs | 1 | # Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>
'use strict'
chai = require 'chai'
chaiAsPromised = require 'chai-as-promised'
chai.config.includeStack = true
chai.use chaiAsPromised
if process.env.COVERAGE == 'true'
console.log 'Enabling code coverage'
require('blanket')()
| 126963 | # Copyright (c) 2014. <NAME>, II <<EMAIL>>
'use strict'
chai = require 'chai'
chaiAsPromised = require 'chai-as-promised'
chai.config.includeStack = true
chai.use chaiAsPromised
if process.env.COVERAGE == 'true'
console.log 'Enabling code coverage'
require('blanket')()
| true | # Copyright (c) 2014. PI:NAME:<NAME>END_PI, II <PI:EMAIL:<EMAIL>END_PI>
'use strict'
chai = require 'chai'
chaiAsPromised = require 'chai-as-promised'
chai.config.includeStack = true
chai.use chaiAsPromised
if process.env.COVERAGE == 'true'
console.log 'Enabling code coverage'
require('blanket')()
|
[
{
"context": "3-2014 TheGrid (Rituwall Inc.)\n# (c) 2011-2012 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 129,
"score": 0.9998494982719421,
"start": 116,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "(Rituwall Inc.)\n# (c) 2011-2012 He... | src/lib/Component.coffee | ensonic/noflo | 1 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
#
# Baseclass for regular NoFlo components.
{EventEmitter} = require 'events'
ports = require './Ports'
class Component ... | 71568 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
#
# Baseclass for regular NoFlo components.
{EventEmitter} = require 'events'
ports = require './Ports'
class Component extends... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
#
# Baseclass for regular NoFlo components.
{EventEmitter} = require 'events'
ports = require './Por... |
[
{
"context": "tions.Patients [getJSONFixture('patients/CMSv5555/John_Smith.json')], parse: true\n patient = patients.model",
"end": 2917,
"score": 0.9569252729415894,
"start": 2907,
"tag": "NAME",
"value": "John_Smith"
},
{
"context": " @patientBuilder.$(':input[name=last]').... | spec/javascripts/patient_builder_tests/patient/patient_builder_spec.js.coffee | sb-benohe/bonnie | 33 | describe 'PatientBuilderView', ->
beforeEach ->
jasmine.getJSONFixtures().clearCache()
@measure = loadMeasureWithValueSets 'cqm_measure_data/CMS134v6/CMS134v6.json', 'cqm_measure_data/CMS134v6/value_sets.json'
@patients = new Thorax.Collections.Patients [getJSONFixture('patients/CMS134v6/Elements_Test.js... | 225389 | describe 'PatientBuilderView', ->
beforeEach ->
jasmine.getJSONFixtures().clearCache()
@measure = loadMeasureWithValueSets 'cqm_measure_data/CMS134v6/CMS134v6.json', 'cqm_measure_data/CMS134v6/value_sets.json'
@patients = new Thorax.Collections.Patients [getJSONFixture('patients/CMS134v6/Elements_Test.js... | true | describe 'PatientBuilderView', ->
beforeEach ->
jasmine.getJSONFixtures().clearCache()
@measure = loadMeasureWithValueSets 'cqm_measure_data/CMS134v6/CMS134v6.json', 'cqm_measure_data/CMS134v6/value_sets.json'
@patients = new Thorax.Collections.Patients [getJSONFixture('patients/CMS134v6/Elements_Test.js... |
[
{
"context": " return\n\n invoSkills.push new Skill {\n name: 'invoke',\n key: 'r',\n secondsCd: 0,\n canBeChalle",
"end": 3651,
"score": 0.9656829237937927,
"start": 3645,
"tag": "NAME",
"value": "invoke"
},
{
"context": "traSkills)\n }\n\n invoker = new Hero {\n n... | assets/js/src/HeroManager.coffee | juancjara/dota-game | 0 | HeroManager = () ->
this.heros = {}
return
HeroManager::invoker = () ->
extraSkills = []
extraSkills.push new Skill {
canBeChallenge: true,
srcImg: 'cold_snap',
name: 'cold snap',
clickNeeded: true,
dependencies: 'qqq',
effect: 'stun',
key: 'y'
}
extraSkills.push new Skill {
c... | 224788 | HeroManager = () ->
this.heros = {}
return
HeroManager::invoker = () ->
extraSkills = []
extraSkills.push new Skill {
canBeChallenge: true,
srcImg: 'cold_snap',
name: 'cold snap',
clickNeeded: true,
dependencies: 'qqq',
effect: 'stun',
key: 'y'
}
extraSkills.push new Skill {
c... | true | HeroManager = () ->
this.heros = {}
return
HeroManager::invoker = () ->
extraSkills = []
extraSkills.push new Skill {
canBeChallenge: true,
srcImg: 'cold_snap',
name: 'cold snap',
clickNeeded: true,
dependencies: 'qqq',
effect: 'stun',
key: 'y'
}
extraSkills.push new Skill {
c... |
[
{
"context": "onversationLink conversation={conversation} user={@props.user} key={conversation.id} />\n }\n ",
"end": 3878,
"score": 0.9876965880393982,
"start": 3867,
"tag": "USERNAME",
"value": "@props.user"
},
{
"context": "conversation} user={@props.user} key={... | app/talk/inbox.cjsx | ilacerna/Panoptes-Front-End | 0 | React = require 'react'
PropTypes = require 'prop-types'
createReactClass = require 'create-react-class'
talkClient = require 'panoptes-client/lib/talk-client'
apiClient = require 'panoptes-client/lib/api-client'
{Link} = require 'react-router'
{ Helmet } = require 'react-helmet'
counterpart = require 'counterpart'
Pag... | 100361 | React = require 'react'
PropTypes = require 'prop-types'
createReactClass = require 'create-react-class'
talkClient = require 'panoptes-client/lib/talk-client'
apiClient = require 'panoptes-client/lib/api-client'
{Link} = require 'react-router'
{ Helmet } = require 'react-helmet'
counterpart = require 'counterpart'
Pag... | true | React = require 'react'
PropTypes = require 'prop-types'
createReactClass = require 'create-react-class'
talkClient = require 'panoptes-client/lib/talk-client'
apiClient = require 'panoptes-client/lib/api-client'
{Link} = require 'react-router'
{ Helmet } = require 'react-helmet'
counterpart = require 'counterpart'
Pag... |
[
{
"context": "###\n\tCopyright 2013 David Pearson.\n\tBSD License.\n###\n\n# Private: Switches two rows ",
"end": 33,
"score": 0.9998523592948914,
"start": 20,
"tag": "NAME",
"value": "David Pearson"
}
] | src/gelim.coffee | dpearson/linalgebra | 1 | ###
Copyright 2013 David Pearson.
BSD License.
###
# Private: Switches two rows in a matrix
#
# a - The matrix in which to switch rows
# x - The first row's index (zero-offset)
# y - The second row's index (zero-offset)
#
# Example:
# swap [[1], [2], [3]], 0, 2
# => [[3], [2], [1]]
#
# Returns a modified version ... | 180955 | ###
Copyright 2013 <NAME>.
BSD License.
###
# Private: Switches two rows in a matrix
#
# a - The matrix in which to switch rows
# x - The first row's index (zero-offset)
# y - The second row's index (zero-offset)
#
# Example:
# swap [[1], [2], [3]], 0, 2
# => [[3], [2], [1]]
#
# Returns a modified version of a wi... | true | ###
Copyright 2013 PI:NAME:<NAME>END_PI.
BSD License.
###
# Private: Switches two rows in a matrix
#
# a - The matrix in which to switch rows
# x - The first row's index (zero-offset)
# y - The second row's index (zero-offset)
#
# Example:
# swap [[1], [2], [3]], 0, 2
# => [[3], [2], [1]]
#
# Returns a modified v... |
[
{
"context": " blog: \"Blog\"\n forum: \"Fórum\"\n account: \"Conta\"\n my_account: \"A Minha Conta\"\n profile: \"Pe",
"end": 14821,
"score": 0.9993863105773926,
"start": 14816,
"tag": "NAME",
"value": "Conta"
},
{
"context": "um: \"Fórum\"\n account: \"Conta\"\n ... | app/locale/pt-PT.coffee | desimil/codecombat | 1 | module.exports = nativeDescription: "Português (Portugal)", englishDescription: "Portuguese (Portugal)", translation:
new_home:
# title: "CodeCombat - Coding games to learn Python and JavaScript"
# meta_keywords: "CodeCombat, python, javascript, Coding Games"
# meta_description: "Learn typed code through a ... | 117354 | module.exports = nativeDescription: "Português (Portugal)", englishDescription: "Portuguese (Portugal)", translation:
new_home:
# title: "CodeCombat - Coding games to learn Python and JavaScript"
# meta_keywords: "CodeCombat, python, javascript, Coding Games"
# meta_description: "Learn typed code through a ... | true | module.exports = nativeDescription: "Português (Portugal)", englishDescription: "Portuguese (Portugal)", translation:
new_home:
# title: "CodeCombat - Coding games to learn Python and JavaScript"
# meta_keywords: "CodeCombat, python, javascript, Coding Games"
# meta_description: "Learn typed code through a ... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nmodule.exports = (func, wa",
"end": 35,
"score": 0.9997158050537109,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/editor/raf-debounce.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
module.exports = (func, wait, immediate) ->
->
args = arguments
context = this
timeout = null
later = ->
timeout = null
if not immediate
func.apply(context, args)
callNow = immediate and not timeout
if wait is un... | 72493 | # Copyright (c) 2015 <NAME>. All rights reserved.
module.exports = (func, wait, immediate) ->
->
args = arguments
context = this
timeout = null
later = ->
timeout = null
if not immediate
func.apply(context, args)
callNow = immediate and not timeout
if wait is undefined
... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
module.exports = (func, wait, immediate) ->
->
args = arguments
context = this
timeout = null
later = ->
timeout = null
if not immediate
func.apply(context, args)
callNow = immediate and not timeout
if wait... |
[
{
"context": "on/json'\n body:\n name: 'first'\n callback: (res, data) ->\n ",
"end": 653,
"score": 0.9872773885726929,
"start": 648,
"tag": "NAME",
"value": "first"
},
{
"context": "on/json'\n body:\n name: 'se... | test/specs/resources/rows.coffee | letsface/postgresql-http-server | 13 | assert = require 'assert'
test = require('../utils').test
path = '/db/test/schemas/testschema/tables/testtable/rows'
describe 'Rows resource', ->
it 'should answer first GET with empty recordset', (done) ->
test
path: path
method: 'GET'
callback: (res, data) ->
... | 170403 | assert = require 'assert'
test = require('../utils').test
path = '/db/test/schemas/testschema/tables/testtable/rows'
describe 'Rows resource', ->
it 'should answer first GET with empty recordset', (done) ->
test
path: path
method: 'GET'
callback: (res, data) ->
... | true | assert = require 'assert'
test = require('../utils').test
path = '/db/test/schemas/testschema/tables/testtable/rows'
describe 'Rows resource', ->
it 'should answer first GET with empty recordset', (done) ->
test
path: path
method: 'GET'
callback: (res, data) ->
... |
[
{
"context": "anner contents', ->\n return currentItem({ id: 'damon-zucconi' })\n .then (item) -> item.should.containEql\n",
"end": 554,
"score": 0.9893999099731445,
"start": 541,
"tag": "NAME",
"value": "damon-zucconi"
}
] | apps/artist/test/components/current_eoy_listing/index.coffee | l2succes/force | 1 | _ = require 'underscore'
Q = require 'bluebird-q'
data = require '../../../../eoy_2016/fixtures/data.json'
rewire = require 'rewire'
currentItem = rewire '../../../components/current_eoy_listing/index'
currentItem.__set__ 'fetchEOY2016Lists', () -> Q(data)
describe 'current EOY listing', ->
it 'returs null if the ar... | 35280 | _ = require 'underscore'
Q = require 'bluebird-q'
data = require '../../../../eoy_2016/fixtures/data.json'
rewire = require 'rewire'
currentItem = rewire '../../../components/current_eoy_listing/index'
currentItem.__set__ 'fetchEOY2016Lists', () -> Q(data)
describe 'current EOY listing', ->
it 'returs null if the ar... | true | _ = require 'underscore'
Q = require 'bluebird-q'
data = require '../../../../eoy_2016/fixtures/data.json'
rewire = require 'rewire'
currentItem = rewire '../../../components/current_eoy_listing/index'
currentItem.__set__ 'fetchEOY2016Lists', () -> Q(data)
describe 'current EOY listing', ->
it 'returs null if the ar... |
[
{
"context": "__________.\"\n \"Free as in __________.\"\n \"Hi, I'm Troy McClure. You may remember me from such commit messages as",
"end": 532,
"score": 0.999707818031311,
"start": 520,
"tag": "NAME",
"value": "Troy McClure"
},
{
"context": "rastructure? __________. For sure.\"\n... | src/blackcards.coffee | pkoro/devops-against-humanity | 3 | module.exports = [
"You saw __________ in prod? Logs or it didn't happen."
"s/__________/__________/g"
"__________, for some values of __________."
"Ask me anything about __________."
"Called on account of __________."
"Disrupting the established players in __________ via __________."
"Doge __________."
... | 5243 | module.exports = [
"You saw __________ in prod? Logs or it didn't happen."
"s/__________/__________/g"
"__________, for some values of __________."
"Ask me anything about __________."
"Called on account of __________."
"Disrupting the established players in __________ via __________."
"Doge __________."
... | true | module.exports = [
"You saw __________ in prod? Logs or it didn't happen."
"s/__________/__________/g"
"__________, for some values of __________."
"Ask me anything about __________."
"Called on account of __________."
"Disrupting the established players in __________ via __________."
"Doge __________."
... |
[
{
"context": " @staticObjProp:\n key: 'originalValue'\n\n instanceMethodToBeOverridden: ->\n ",
"end": 849,
"score": 0.6298562288284302,
"start": 836,
"tag": "KEY",
"value": "originalValue"
}
] | spec/copy-class.coffee | shinout/copy-class | 1 |
assert = require 'power-assert'
copyClass = require '../src/copy-class'
describe 'copy-class', ->
describe 'copy', ->
class ParentClass
constructor: ->
@parentConstructed = true
@staticProp: 1
@staticPropToBeOverridden: 'parent'
@staticO... | 191004 |
assert = require 'power-assert'
copyClass = require '../src/copy-class'
describe 'copy-class', ->
describe 'copy', ->
class ParentClass
constructor: ->
@parentConstructed = true
@staticProp: 1
@staticPropToBeOverridden: 'parent'
@staticO... | true |
assert = require 'power-assert'
copyClass = require '../src/copy-class'
describe 'copy-class', ->
describe 'copy', ->
class ParentClass
constructor: ->
@parentConstructed = true
@staticProp: 1
@staticPropToBeOverridden: 'parent'
@staticO... |
[
{
"context": "new TextLayer\n\tparent:playbackBarContainer\n\ttext:\"Gulliver's Travels\"\n\tfontFamily:'sans-serif, fsme-light', ",
"end": 3537,
"score": 0.7753741145133972,
"start": 3529,
"tag": "NAME",
"value": "Gulliver"
}
] | prototypes/percent-nav/app.coffee | Skinny-Malinky/Skinny-Malinky.github.io | 0 | # Setup Variables
document.body.style.cursor = "auto"
Screen.backgroundColor = '#000'
Canvas.image = 'https://struanfraser.co.uk/images/youview-back.jpg'
youviewBlue = '#00a6ff'
youviewBlue2 = '#0F5391'
youviewBlue3 = '#032230'
youviewGrey1 = '#b6b9bf'
youviewGrey2 = '#83858a'
darkGrey3 = '#505359'
black = '#000'
whit... | 218605 | # Setup Variables
document.body.style.cursor = "auto"
Screen.backgroundColor = '#000'
Canvas.image = 'https://struanfraser.co.uk/images/youview-back.jpg'
youviewBlue = '#00a6ff'
youviewBlue2 = '#0F5391'
youviewBlue3 = '#032230'
youviewGrey1 = '#b6b9bf'
youviewGrey2 = '#83858a'
darkGrey3 = '#505359'
black = '#000'
whit... | true | # Setup Variables
document.body.style.cursor = "auto"
Screen.backgroundColor = '#000'
Canvas.image = 'https://struanfraser.co.uk/images/youview-back.jpg'
youviewBlue = '#00a6ff'
youviewBlue2 = '#0F5391'
youviewBlue3 = '#032230'
youviewGrey1 = '#b6b9bf'
youviewGrey2 = '#83858a'
darkGrey3 = '#505359'
black = '#000'
whit... |
[
{
"context": "\n\n data =\n '1Z6089649053538738':\n name: 'Grag Clerk'\n address: '1885 Hummingbird Way, Winchester",
"end": 839,
"score": 0.9997916221618652,
"start": 829,
"tag": "NAME",
"value": "Grag Clerk"
}
] | app/ng/app.integration.coffee | jluchiji/tranzit | 0 | # ______ ______ ______ __ __ ______ __ ______
# /\__ _\ /\ == \ /\ __ \ /\ "-.\ \ /\___ \ /\ \ /\__ _\
# \/_/\ \/ \ \ __< \ \ __ \ \ \ \-. \ \/_/ /__ \ \ \ \/_/\ \/
# \ \_\ \ \_\ \_\ \ \_\ \_\ \ \_\\"\_\ /\_____\ \ \_\ \ \_\
# \/_/ \/_/ /_/ \/_/... | 137792 | # ______ ______ ______ __ __ ______ __ ______
# /\__ _\ /\ == \ /\ __ \ /\ "-.\ \ /\___ \ /\ \ /\__ _\
# \/_/\ \/ \ \ __< \ \ __ \ \ \ \-. \ \/_/ /__ \ \ \ \/_/\ \/
# \ \_\ \ \_\ \_\ \ \_\ \_\ \ \_\\"\_\ /\_____\ \ \_\ \ \_\
# \/_/ \/_/ /_/ \/_/... | true | # ______ ______ ______ __ __ ______ __ ______
# /\__ _\ /\ == \ /\ __ \ /\ "-.\ \ /\___ \ /\ \ /\__ _\
# \/_/\ \/ \ \ __< \ \ __ \ \ \ \-. \ \/_/ /__ \ \ \ \/_/\ \/
# \ \_\ \ \_\ \_\ \ \_\ \_\ \ \_\\"\_\ /\_____\ \ \_\ \ \_\
# \/_/ \/_/ /_/ \/_/... |
[
{
"context": "hclaw/pawn-sublime-language\n# Converter created by Renato \"Hii\" Garcia\n# Repo: https://github.com/Renato-Ga",
"end": 165,
"score": 0.9996509552001953,
"start": 159,
"tag": "NAME",
"value": "Renato"
},
{
"context": "n-sublime-language\n# Converter created by Renato \... | snippets/SIF.Button.pwn.cson | Wuzi/language-pawn | 4 | # SIF.Button.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by Renato "Hii" Garcia
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'CreateButton':
'prefix': 'Cr... | 87903 | # SIF.Button.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by <NAME> "<NAME>
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'CreateButton':
'prefix': 'CreateB... | true | # SIF.Button.pwn snippets for Atom converted from Sublime Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'CreateBut... |
[
{
"context": " creds = plain_auth.split(':')\n # authToken = \"Bearer #{creds[0]}\"\n authToken = socket?.handshake?.query?.toke",
"end": 1601,
"score": 0.9085640907287598,
"start": 1585,
"tag": "KEY",
"value": "Bearer #{creds[0"
}
] | src/websocket-publisher.coffee | iti-ict/localstamp | 1 | sio = require 'socket.io'
klogger = require 'k-logger'
moment = require 'moment'
events = sys = require 'events'
EMITTED_EVENTS_NAME = 'ecloud-event'
AUTHENTICATION_ERROR = 'Authentication error'
class WebsocketPublisher
constructor: (@httpServer, @httpAuthenticator) ->
@logger = klogger.getLogger 'Websocket'... | 146017 | sio = require 'socket.io'
klogger = require 'k-logger'
moment = require 'moment'
events = sys = require 'events'
EMITTED_EVENTS_NAME = 'ecloud-event'
AUTHENTICATION_ERROR = 'Authentication error'
class WebsocketPublisher
constructor: (@httpServer, @httpAuthenticator) ->
@logger = klogger.getLogger 'Websocket'... | true | sio = require 'socket.io'
klogger = require 'k-logger'
moment = require 'moment'
events = sys = require 'events'
EMITTED_EVENTS_NAME = 'ecloud-event'
AUTHENTICATION_ERROR = 'Authentication error'
class WebsocketPublisher
constructor: (@httpServer, @httpAuthenticator) ->
@logger = klogger.getLogger 'Websocket'... |
[
{
"context": "lse 'No') + '\"'\n\n API.mail.send\n to: 'alert@cottagelabs.com'\n subject: 'MS titles bing test complete'\n",
"end": 3734,
"score": 0.9999298453330994,
"start": 3713,
"tag": "EMAIL",
"value": "alert@cottagelabs.com"
}
] | noddy/service/oabutton/scripts/test_bing.coffee | jibe-b/website | 0 |
import fs from 'fs'
import Future from 'fibers/future'
API.add 'service/oab/scripts/test_bing',
get:
roleRequired: 'root'
action: () ->
titles = oab_availability.search 'from:illiad AND discovered.article:false AND NOT url:http* AND NOT url:pmid*', {newest:false, size:1000}, undefined, false
co... | 96975 |
import fs from 'fs'
import Future from 'fibers/future'
API.add 'service/oab/scripts/test_bing',
get:
roleRequired: 'root'
action: () ->
titles = oab_availability.search 'from:illiad AND discovered.article:false AND NOT url:http* AND NOT url:pmid*', {newest:false, size:1000}, undefined, false
co... | true |
import fs from 'fs'
import Future from 'fibers/future'
API.add 'service/oab/scripts/test_bing',
get:
roleRequired: 'root'
action: () ->
titles = oab_availability.search 'from:illiad AND discovered.article:false AND NOT url:http* AND NOT url:pmid*', {newest:false, size:1000}, undefined, false
co... |
[
{
"context": "ows'\n q: 'input mock name=\"thurstone\" | head 20'\n }\n ",
"end": 32626,
"score": 0.4044267237186432,
"start": 32624,
"tag": "NAME",
"value": "th"
},
{
"context": "ows'\n q: 'input mock name=\"thu... | web/app/scripts/services/documentationService.coffee | ExpediaGroup/parsec | 1 | # Documentation for Parsec
Parsec.Services.factory 'documentationService', ->
documentation =
tokens: [
{
name: ';'
altName: 'query separator'
type: 'symbol'
syntax: ['query1; query2', 'query1; query2; query3 ...']
d... | 190111 | # Documentation for Parsec
Parsec.Services.factory 'documentationService', ->
documentation =
tokens: [
{
name: ';'
altName: 'query separator'
type: 'symbol'
syntax: ['query1; query2', 'query1; query2; query3 ...']
d... | true | # Documentation for Parsec
Parsec.Services.factory 'documentationService', ->
documentation =
tokens: [
{
name: ';'
altName: 'query separator'
type: 'symbol'
syntax: ['query1; query2', 'query1; query2; query3 ...']
d... |
[
{
"context": "t-form\").serializeObject()\n form[\"reset-token\"] = window.location.hash.substring(1)\n apiCall \"POST\", \"/api/user/confirm_",
"end": 547,
"score": 0.5321102142333984,
"start": 527,
"tag": "PASSWORD",
"value": "window.location.hash"
},
{
"context": "e\", {team_nam... | picoCTF-web/web/coffee/account.coffee | NNHSSE201819/picoCTF | 0 | updatePassword = (e) ->
e.preventDefault()
apiCall "POST", "/api/user/update_password", $("#password-update-form").serializeObject()
.done (data) ->
switch data['status']
when 1
ga('send', 'event', 'Authentication', 'UpdatePassword', 'Success')
when 0
ga('send', 'event', 'Authentic... | 6739 | updatePassword = (e) ->
e.preventDefault()
apiCall "POST", "/api/user/update_password", $("#password-update-form").serializeObject()
.done (data) ->
switch data['status']
when 1
ga('send', 'event', 'Authentication', 'UpdatePassword', 'Success')
when 0
ga('send', 'event', 'Authentic... | true | updatePassword = (e) ->
e.preventDefault()
apiCall "POST", "/api/user/update_password", $("#password-update-form").serializeObject()
.done (data) ->
switch data['status']
when 1
ga('send', 'event', 'Authentication', 'UpdatePassword', 'Success')
when 0
ga('send', 'event', 'Authentic... |
[
{
"context": "\"#login-username\")\n @$login_password = $(\"#login-password\")\n\n @$login_username.val(localStorage.getI",
"end": 15083,
"score": 0.9465584754943848,
"start": 15069,
"tag": "PASSWORD",
"value": "login-password"
},
{
"context": " @$login_username.v... | client/front.coffee | treeform/asterisk | 1 |
# nice short cut
print = (args...) -> console.log(args...)
String::contains = (s) -> @indexOf(s) != -1
afterTimeout = (ms, fn) -> setTimeout(fn, ms)
afterInterval = (ms, fn) -> setInterval(fn, ms)
requestAnimFrame = window.requestAnimationFrame or
window.webkitRequestAnimationFrame or
window.mozReque... | 52287 |
# nice short cut
print = (args...) -> console.log(args...)
String::contains = (s) -> @indexOf(s) != -1
afterTimeout = (ms, fn) -> setTimeout(fn, ms)
afterInterval = (ms, fn) -> setInterval(fn, ms)
requestAnimFrame = window.requestAnimationFrame or
window.webkitRequestAnimationFrame or
window.mozReque... | true |
# nice short cut
print = (args...) -> console.log(args...)
String::contains = (s) -> @indexOf(s) != -1
afterTimeout = (ms, fn) -> setTimeout(fn, ms)
afterInterval = (ms, fn) -> setInterval(fn, ms)
requestAnimFrame = window.requestAnimationFrame or
window.webkitRequestAnimationFrame or
window.mozReque... |
[
{
"context": "# Copyright (c) 2014-2015 Riceball LEE, MIT License\ndeprecate = require('dep",
"end": 38,
"score": 0.9997366666793823,
"start": 26,
"tag": "NAME",
"value": "Riceball LEE"
}
] | src/custom-factory.coffee | snowyu/custom-factory.js | 2 | # Copyright (c) 2014-2015 Riceball LEE, MIT License
deprecate = require('depd')('custom-factory')
inherits = require('inherits-ex/lib/inherits')
isInheritedFrom = require('inherits-ex/lib/isInheritedFrom')
createObject = require('inherits-ex/lib/createObject')
getPrototypeOf ... | 145094 | # Copyright (c) 2014-2015 <NAME>, MIT License
deprecate = require('depd')('custom-factory')
inherits = require('inherits-ex/lib/inherits')
isInheritedFrom = require('inherits-ex/lib/isInheritedFrom')
createObject = require('inherits-ex/lib/createObject')
getPrototypeOf = r... | true | # Copyright (c) 2014-2015 PI:NAME:<NAME>END_PI, MIT License
deprecate = require('depd')('custom-factory')
inherits = require('inherits-ex/lib/inherits')
isInheritedFrom = require('inherits-ex/lib/isInheritedFrom')
createObject = require('inherits-ex/lib/createObject')
getPrototyp... |
[
{
"context": "Each ->\n project = new Project\n name:\"testProject\"\n bomExporter = new BomExporter()\n ",
"end": 264,
"score": 0.7396036982536316,
"start": 260,
"tag": "NAME",
"value": "test"
},
{
"context": "rt fails',-> \n project.addFile\n name:\"t... | src/test/spec/exporters/bomExporter/bomExporter.spec.coffee | kaosat-dev/CoffeeSCad | 110 | define (require)->
BomExporter = require "exporters/bomExporter/bomExporter"
Project = require "core/projects/project"
describe "BomExporter", ->
project = null
bomExporter = null
beforeEach ->
project = new Project
name:"testProject"
bomExporter = new BomExporter()
... | 88963 | define (require)->
BomExporter = require "exporters/bomExporter/bomExporter"
Project = require "core/projects/project"
describe "BomExporter", ->
project = null
bomExporter = null
beforeEach ->
project = new Project
name:"<NAME>Project"
bomExporter = new BomExporter()
... | true | define (require)->
BomExporter = require "exporters/bomExporter/bomExporter"
Project = require "core/projects/project"
describe "BomExporter", ->
project = null
bomExporter = null
beforeEach ->
project = new Project
name:"PI:NAME:<NAME>END_PIProject"
bomExporter = new BomExpo... |
[
{
"context": "lt=\"First slide\" src=\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIH",
"end": 649,
"score": 0.7412447929382324,
"start": 647,
"tag": "KEY",
"value": "N2"
},
{
"context": "First slide\" src=\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0i... | snippets/carousel.cson | OBomber/At-bs3-snippet | 0 | '.text.html':
'Carousel':
'prefix': 'bs3-carousel'
'body': """
<div id="${1:carousel-id}" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#${1:carousel-id}" data-slide-to="0" class=""></li>
<li data-target="#${1:carousel-id}" dat... | 7586 | '.text.html':
'Carousel':
'prefix': 'bs3-carousel'
'body': """
<div id="${1:carousel-id}" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#${1:carousel-id}" data-slide-to="0" class=""></li>
<li data-target="#${1:carousel-id}" dat... | true | '.text.html':
'Carousel':
'prefix': 'bs3-carousel'
'body': """
<div id="${1:carousel-id}" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#${1:carousel-id}" data-slide-to="0" class=""></li>
<li data-target="#${1:carousel-id}" dat... |
[
{
"context": "older : 'What is your name?'\n value : 'Fatih Acet'\n name : 'name'\n\n input = new spar",
"end": 294,
"score": 0.9997430443763733,
"start": 284,
"tag": "NAME",
"value": "Fatih Acet"
}
] | src/tests/components/inputs/test_input.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.require 'spark.components.Input'
goog.require 'spark.components.Field'
describe 'spark.components.Input', ->
input = null
options = null
beforeEach ->
options =
placeholder : 'What is your name?'
value : 'Fatih Acet'
name : 'nam... | 104985 | goog = goog or goog = require: ->
goog.require 'spark.components.Input'
goog.require 'spark.components.Field'
describe 'spark.components.Input', ->
input = null
options = null
beforeEach ->
options =
placeholder : 'What is your name?'
value : '<NAME>'
name : 'name'
... | true | goog = goog or goog = require: ->
goog.require 'spark.components.Input'
goog.require 'spark.components.Field'
describe 'spark.components.Input', ->
input = null
options = null
beforeEach ->
options =
placeholder : 'What is your name?'
value : 'PI:NAME:<NAME>END_PI'
name ... |
[
{
"context": "./lib/author').Author\n\nauthor = new Author name: \"Name\", email: \"Email\"\n\nassert.equal true, author.doc.",
"end": 99,
"score": 0.9862586855888367,
"start": 95,
"tag": "NAME",
"value": "Name"
},
{
"context": ".doc.hash?, \"A hash exists\"\n\nauthor.set_password \... | test/author_test.coffee | nko/emergent-heroes | 2 | assert = require 'assert'
Author = require('../lib/author').Author
author = new Author name: "Name", email: "Email"
assert.equal true, author.doc.salt?, "No salt"
assert.equal false, author.doc.hash?, "A hash exists"
author.set_password "secret"
assert.equal true, author.authenticates('secret'), "Valid password d... | 83961 | assert = require 'assert'
Author = require('../lib/author').Author
author = new Author name: "<NAME>", email: "Email"
assert.equal true, author.doc.salt?, "No salt"
assert.equal false, author.doc.hash?, "A hash exists"
author.set_password "<PASSWORD>"
assert.equal true, author.authenticates('secret'), "Valid pass... | true | assert = require 'assert'
Author = require('../lib/author').Author
author = new Author name: "PI:NAME:<NAME>END_PI", email: "Email"
assert.equal true, author.doc.salt?, "No salt"
assert.equal false, author.doc.hash?, "A hash exists"
author.set_password "PI:PASSWORD:<PASSWORD>END_PI"
assert.equal true, author.auth... |
[
{
"context": "g'\n },{\n id: 'st-petersburg'\n name: 'St. Petersburg'\n extra_key: 'something'\n }]\n\n @aggreg",
"end": 861,
"score": 0.6726847290992737,
"start": 847,
"tag": "NAME",
"value": "St. Petersburg"
},
{
"context": "ation 4' },\n { id: 'st-pe... | src/desktop/apps/galleries_institutions/components/filter_facet/test/partner_filter_facet.coffee | kanaabe/force | 1 | Backbone = require 'backbone'
_ = require 'underscore'
sinon = require 'sinon'
rewire = require 'rewire'
PartnerFilterFacet = rewire '../partner_filter_facet.coffee'
describe 'PartnerFilterFacet', ->
aggreationsUpdate = location: { total: 10, countItems: [
{ id: 'location-1', name: 'Location 1', count: 5 }
... | 157757 | Backbone = require 'backbone'
_ = require 'underscore'
sinon = require 'sinon'
rewire = require 'rewire'
PartnerFilterFacet = rewire '../partner_filter_facet.coffee'
describe 'PartnerFilterFacet', ->
aggreationsUpdate = location: { total: 10, countItems: [
{ id: 'location-1', name: 'Location 1', count: 5 }
... | true | Backbone = require 'backbone'
_ = require 'underscore'
sinon = require 'sinon'
rewire = require 'rewire'
PartnerFilterFacet = rewire '../partner_filter_facet.coffee'
describe 'PartnerFilterFacet', ->
aggreationsUpdate = location: { total: 10, countItems: [
{ id: 'location-1', name: 'Location 1', count: 5 }
... |
[
{
"context": " ->\n service = new AWS.Service(accessKeyId: 'foo', secretAccessKey: 'bar')\n expect(service.co",
"end": 1990,
"score": 0.8329190611839294,
"start": 1987,
"tag": "KEY",
"value": "foo"
},
{
"context": "AWS.Service(accessKeyId: 'foo', secretAccessKey: 'bar')\n ... | test/service.spec.coffee | ashharrison90/ibm-cos-sdk-js | 0 | helpers = require('./helpers')
AWS = helpers.AWS
MockService = helpers.MockService
metadata = require('../apis/metadata.json')
describe 'AWS.Service', ->
config = null; service = null
retryableError = (error, result) ->
expect(service.retryableError(error)).to.eql(result)
beforeEach (done) ->
config = ... | 100329 | helpers = require('./helpers')
AWS = helpers.AWS
MockService = helpers.MockService
metadata = require('../apis/metadata.json')
describe 'AWS.Service', ->
config = null; service = null
retryableError = (error, result) ->
expect(service.retryableError(error)).to.eql(result)
beforeEach (done) ->
config = ... | true | helpers = require('./helpers')
AWS = helpers.AWS
MockService = helpers.MockService
metadata = require('../apis/metadata.json')
describe 'AWS.Service', ->
config = null; service = null
retryableError = (error, result) ->
expect(service.retryableError(error)).to.eql(result)
beforeEach (done) ->
config = ... |
[
{
"context": "---------------------------------------\n# Authors: Maksym Melnyk <maxim@slatestudio.com>,\n# Alexander Kra",
"end": 104,
"score": 0.9998645782470703,
"start": 91,
"tag": "NAME",
"value": "Maksym Melnyk"
},
{
"context": "-----------------------\n# Authors: Maks... | app/assets/javascripts/insights.coffee | slate-studio/insights | 0 | # -----------------------------------------------------------------------------
# Authors: Maksym Melnyk <maxim@slatestudio.com>,
# Alexander Kravets <alex@slatestudio.com>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# IN... | 223719 | # -----------------------------------------------------------------------------
# Authors: <NAME> <<EMAIL>>,
# <NAME> <<EMAIL>>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# INSIGHTS DASHBOARD
# --------------------------... | true | # -----------------------------------------------------------------------------
# Authors: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>,
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>,
# Slate Studio (http://www.slatestudio.com)
# ---------------------------------------------------------------------... |
[
{
"context": "# Contributed by Jason Huggins\n\nhttp = require 'http'\n\nserver = http.createServe",
"end": 30,
"score": 0.9998869895935059,
"start": 17,
"tag": "NAME",
"value": "Jason Huggins"
}
] | components/coffee-script/examples/web_server.coffee | tubbo/sumatra | 33 | # Contributed by Jason Huggins
http = require 'http'
server = http.createServer (req, res) ->
res.writeHeader 200, 'Content-Type': 'text/plain'
res.write 'Hello, World!'
res.end()
server.listen 3000
console.log "Server running at http://localhost:3000/"
| 111843 | # Contributed by <NAME>
http = require 'http'
server = http.createServer (req, res) ->
res.writeHeader 200, 'Content-Type': 'text/plain'
res.write 'Hello, World!'
res.end()
server.listen 3000
console.log "Server running at http://localhost:3000/"
| true | # Contributed by PI:NAME:<NAME>END_PI
http = require 'http'
server = http.createServer (req, res) ->
res.writeHeader 200, 'Content-Type': 'text/plain'
res.write 'Hello, World!'
res.end()
server.listen 3000
console.log "Server running at http://localhost:3000/"
|
[
{
"context": " {\n type: \"text\"\n name: \"username\"\n key: \"username\"\n id: \"usernam",
"end": 289,
"score": 0.9995571374893188,
"start": 281,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\"text\"\n name: \"username\... | src/components/user/login.coffee | dwetterau/life | 2 | React = require 'react'
{FormPage} = require './form_page'
Login = React.createClass
displayName: 'Login'
render: () ->
React.createElement FormPage,
pageHeader: 'Sign in'
action: '/user/login'
inputs: [
{
type: "text"
name: "username"
key: "username"
... | 160549 | React = require 'react'
{FormPage} = require './form_page'
Login = React.createClass
displayName: 'Login'
render: () ->
React.createElement FormPage,
pageHeader: 'Sign in'
action: '/user/login'
inputs: [
{
type: "text"
name: "username"
key: "username"
... | true | React = require 'react'
{FormPage} = require './form_page'
Login = React.createClass
displayName: 'Login'
render: () ->
React.createElement FormPage,
pageHeader: 'Sign in'
action: '/user/login'
inputs: [
{
type: "text"
name: "username"
key: "username"
... |
[
{
"context": "return model =\n name: 'Bed'\n size: 1\n bodies:\n headrest:\n section_",
"end": 27,
"score": 0.9755876660346985,
"start": 24,
"tag": "NAME",
"value": "Bed"
}
] | utilities/starblast_bed_wars/starblast_bed_final.coffee | JavRedstone/Starblast.io-Modding | 5 | return model =
name: 'Bed'
size: 1
bodies:
headrest:
section_segments: [45, 135, 225, 315]
offset:
x: 0
y: 0
z: 0
position:
x: [0, 0, 0, 0]
y: [0, 0, 50, 50]
z: [0, 0, 0, 0]
width: [0, 100, 100, 0]
height: [0, 20, 20, 0]
textu... | 89274 | return model =
name: '<NAME>'
size: 1
bodies:
headrest:
section_segments: [45, 135, 225, 315]
offset:
x: 0
y: 0
z: 0
position:
x: [0, 0, 0, 0]
y: [0, 0, 50, 50]
z: [0, 0, 0, 0]
width: [0, 100, 100, 0]
height: [0, 20, 20, 0]
te... | true | return model =
name: 'PI:NAME:<NAME>END_PI'
size: 1
bodies:
headrest:
section_segments: [45, 135, 225, 315]
offset:
x: 0
y: 0
z: 0
position:
x: [0, 0, 0, 0]
y: [0, 0, 50, 50]
z: [0, 0, 0, 0]
width: [0, 100, 100, 0]
height: [0, 20, 2... |
[
{
"context": "# Zhancheng Qian, February 2018\n\n# Modified from Felix Hageloh 's ",
"end": 16,
"score": 0.9998870491981506,
"start": 2,
"tag": "NAME",
"value": "Zhancheng Qian"
},
{
"context": "# Zhancheng Qian, February 2018\n\n# Modified from Felix Hageloh 's Pretty Weather widget... | weathersummary.widget.coffee | zhanchengqian/weathersummary-widget | 0 | # Zhancheng Qian, February 2018
# Modified from Felix Hageloh 's Pretty Weather widget
# Made possible with DarkSky API (darksky.net/dev)
apiKey: '' # put your forcast.io api key inside the quotes here
refreshFrequency: 600000
style: """
bottom: 45%
left: 10%
margin: 0 0 0 -100px
font-family: Berlin, Helveti... | 117547 | # <NAME>, February 2018
# Modified from <NAME> 's Pretty Weather widget
# Made possible with DarkSky API (darksky.net/dev)
apiKey: '' # put your forcast.io api key inside the quotes here
refreshFrequency: 600000
style: """
bottom: 45%
left: 10%
margin: 0 0 0 -100px
font-family: Berlin, Helvetica Neue
color... | true | # PI:NAME:<NAME>END_PI, February 2018
# Modified from PI:NAME:<NAME>END_PI 's Pretty Weather widget
# Made possible with DarkSky API (darksky.net/dev)
apiKey: '' # put your forcast.io api key inside the quotes here
refreshFrequency: 600000
style: """
bottom: 45%
left: 10%
margin: 0 0 0 -100px
font-family: Be... |
[
{
"context": "###!\n# JsPlus v0.0.1 (https://github.com/cuidingfeng/jsplus/)\n# Copyright 2015 cuidingfeng, Inc.\n# Lic",
"end": 52,
"score": 0.999638557434082,
"start": 41,
"tag": "USERNAME",
"value": "cuidingfeng"
},
{
"context": "ng, Inc.\n# Licensed under MIT (https://github.com/... | main.coffee | cuidingfeng/jsplus | 15 | ###!
# JsPlus v0.0.1 (https://github.com/cuidingfeng/jsplus/)
# Copyright 2015 cuidingfeng, Inc.
# Licensed under MIT (https://github.com/cuidingfeng/jsplus/blob/master/LICENSE)
# Email: admin@baiketupu.com
# Generated by CoffeeScript 1.7.1
###
'use strict'
###
# JsPlus的定位是一个JavaScript库,目标是提供一系列简化JavaScript操作的基础方法,让开... | 70353 | ###!
# JsPlus v0.0.1 (https://github.com/cuidingfeng/jsplus/)
# Copyright 2015 cuidingfeng, Inc.
# Licensed under MIT (https://github.com/cuidingfeng/jsplus/blob/master/LICENSE)
# Email: <EMAIL>
# Generated by CoffeeScript 1.7.1
###
'use strict'
###
# JsPlus的定位是一个JavaScript库,目标是提供一系列简化JavaScript操作的基础方法,让开发专注于业务逻辑。
##... | true | ###!
# JsPlus v0.0.1 (https://github.com/cuidingfeng/jsplus/)
# Copyright 2015 cuidingfeng, Inc.
# Licensed under MIT (https://github.com/cuidingfeng/jsplus/blob/master/LICENSE)
# Email: PI:EMAIL:<EMAIL>END_PI
# Generated by CoffeeScript 1.7.1
###
'use strict'
###
# JsPlus的定位是一个JavaScript库,目标是提供一系列简化JavaScript操作的基础方法... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 197,
"score": 0.9998787045478821,
"start": 180,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | examples/shapes.coffee | OniDaito/pxljs | 1 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for... | 121566 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for details
An exam... | true | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under the MIT Licence. See LIC... |
[
{
"context": "model.user.getMe()\n place: @place\n name: @name\n isActionLoading: false\n\n getThumbnailU",
"end": 953,
"score": 0.5571628212928772,
"start": 953,
"tag": "NAME",
"value": ""
},
{
"context": "@state.getValue()\n\n place ?= @place\n name ?= @name\n... | src/components/place_list_campground/index.coffee | FreeRoamApp/free-roam | 14 | z = require 'zorium'
_map = require 'lodash/map'
RxObservable = require('rxjs/Observable').Observable
Icon = require '../icon'
Rating = require '../rating'
SecondaryButton = require '../secondary_button'
MapService = require '../../services/map'
colors = require '../../colors'
config = require '../../config'
if windo... | 91909 | z = require 'zorium'
_map = require 'lodash/map'
RxObservable = require('rxjs/Observable').Observable
Icon = require '../icon'
Rating = require '../rating'
SecondaryButton = require '../secondary_button'
MapService = require '../../services/map'
colors = require '../../colors'
config = require '../../config'
if windo... | true | z = require 'zorium'
_map = require 'lodash/map'
RxObservable = require('rxjs/Observable').Observable
Icon = require '../icon'
Rating = require '../rating'
SecondaryButton = require '../secondary_button'
MapService = require '../../services/map'
colors = require '../../colors'
config = require '../../config'
if windo... |
[
{
"context": "rd, action, uid} = req.get()\n sentVerifyKey = \"sentverify:#{phoneNumber}\"\n\n switch action\n\n when 'signup'\n #",
"end": 1516,
"score": 0.937126100063324,
"start": 1490,
"tag": "KEY",
"value": "sentverify:#{phoneNumber}\""
},
{
"context": "or req.... | talk-account/server/apis/mobile.coffee | ikingye/talk-os | 3,084 | ###*
* 手机验证码登录/注册接口
###
Err = require 'err1st'
limbo = require 'limbo'
config = require 'config'
Promise = require 'bluebird'
_ = require 'lodash'
app = require '../server'
util = require '../util'
redis = require '../components/redis'
{
MobileModel
UserModel
} = limbo.use 'account'
module.exports = mobileCont... | 27509 | ###*
* 手机验证码登录/注册接口
###
Err = require 'err1st'
limbo = require 'limbo'
config = require 'config'
Promise = require 'bluebird'
_ = require 'lodash'
app = require '../server'
util = require '../util'
redis = require '../components/redis'
{
MobileModel
UserModel
} = limbo.use 'account'
module.exports = mobileCont... | true | ###*
* 手机验证码登录/注册接口
###
Err = require 'err1st'
limbo = require 'limbo'
config = require 'config'
Promise = require 'bluebird'
_ = require 'lodash'
app = require '../server'
util = require '../util'
redis = require '../components/redis'
{
MobileModel
UserModel
} = limbo.use 'account'
module.exports = mobileCont... |
[
{
"context": "erface and experience for your app.\n *\n * @author André Lademann <vergissberlin@googlemail.com>\n * @link https:",
"end": 462,
"score": 0.9998708963394165,
"start": 448,
"tag": "NAME",
"value": "André Lademann"
},
{
"context": "ence for your app.\n *\n * @author ... | src/firebase-login-custom.coffee | vergissberlin/firebase-login-custom | 1 | ###*
* FirebaseLoginCustom
*
* Authenticating Users with Custom login
* Firebase makes it easy to integrate email and password authentication
* into your app. Firebase automatically stores your users' credentials
* securely (using bcrypt) and redundantly (daily off-site backups).
* This separates sensitive user ... | 129441 | ###*
* FirebaseLoginCustom
*
* Authenticating Users with Custom login
* Firebase makes it easy to integrate email and password authentication
* into your app. Firebase automatically stores your users' credentials
* securely (using bcrypt) and redundantly (daily off-site backups).
* This separates sensitive user ... | true | ###*
* FirebaseLoginCustom
*
* Authenticating Users with Custom login
* Firebase makes it easy to integrate email and password authentication
* into your app. Firebase automatically stores your users' credentials
* securely (using bcrypt) and redundantly (daily off-site backups).
* This separates sensitive user ... |
[
{
"context": "itPresence @cName, @docName, {v:0, val:{id:{name:'seph'}}}, (err) =>\n throw new Error err if err\n",
"end": 869,
"score": 0.9987878203392029,
"start": 865,
"tag": "NAME",
"value": "seph"
},
{
"context": ">\n assert.deepEqual presence, {id:{name:'seph'}}... | test/presence.coffee | kantele/k-livedb | 1 | assert = require 'assert'
{createClient, createDoc, setup, teardown} = require './util'
# This isn't working at the moment - we regressed.
describe.skip 'presence', ->
beforeEach setup
afterEach teardown
describe 'fetch and set', ->
it 'fetchPresence on a doc with no presence data returns {}', (done) ->
... | 125194 | assert = require 'assert'
{createClient, createDoc, setup, teardown} = require './util'
# This isn't working at the moment - we regressed.
describe.skip 'presence', ->
beforeEach setup
afterEach teardown
describe 'fetch and set', ->
it 'fetchPresence on a doc with no presence data returns {}', (done) ->
... | true | assert = require 'assert'
{createClient, createDoc, setup, teardown} = require './util'
# This isn't working at the moment - we regressed.
describe.skip 'presence', ->
beforeEach setup
afterEach teardown
describe 'fetch and set', ->
it 'fetchPresence on a doc with no presence data returns {}', (done) ->
... |
[
{
"context": "qualizer on config change\n showEqualizerKey = \"Rdio.#{RdioView.CONFIGS.showEqualizer.key}\"\n this.subs",
"end": 2402,
"score": 0.8745219111442566,
"start": 2395,
"tag": "KEY",
"value": "Rdio.#{"
}
] | lib/rdio-view.coffee | stramel/atom-music | 1 | {View} = require 'atom'
open = require 'open'
md5 = require 'MD5'
RdioDesktop = require './rdio-desktop'
module.exports =
class RdioView extends View
@CONFIGS = {
showEqualizer:
key: 'showEqualizer (WindowResizePerformanceIssue )'
action: 'toggleEqualizer'
default: true
}
@content: ->
... | 93713 | {View} = require 'atom'
open = require 'open'
md5 = require 'MD5'
RdioDesktop = require './rdio-desktop'
module.exports =
class RdioView extends View
@CONFIGS = {
showEqualizer:
key: 'showEqualizer (WindowResizePerformanceIssue )'
action: 'toggleEqualizer'
default: true
}
@content: ->
... | true | {View} = require 'atom'
open = require 'open'
md5 = require 'MD5'
RdioDesktop = require './rdio-desktop'
module.exports =
class RdioView extends View
@CONFIGS = {
showEqualizer:
key: 'showEqualizer (WindowResizePerformanceIssue )'
action: 'toggleEqualizer'
default: true
}
@content: ->
... |
[
{
"context": "###\nToshiro Ken Sugihara 2013\n###\n\n$ ->\n\n class World\n\n constructor: (",
"end": 24,
"score": 0.9998784065246582,
"start": 4,
"tag": "NAME",
"value": "Toshiro Ken Sugihara"
}
] | game_of_life.coffee | tshr/game_of_life | 0 | ###
Toshiro Ken Sugihara 2013
###
$ ->
class World
constructor: (numRows, numColumns, canvasHeight, canvasWidth, aliveColor) ->
@numRows = numRows
@numColumns = numColumns
@aliveColor = aliveColor
@grid = []
@fillGrid()
@createCells canvasWidth, canvasHeight
fillGrid: ... | 159926 | ###
<NAME> 2013
###
$ ->
class World
constructor: (numRows, numColumns, canvasHeight, canvasWidth, aliveColor) ->
@numRows = numRows
@numColumns = numColumns
@aliveColor = aliveColor
@grid = []
@fillGrid()
@createCells canvasWidth, canvasHeight
fillGrid: ->
for i... | true | ###
PI:NAME:<NAME>END_PI 2013
###
$ ->
class World
constructor: (numRows, numColumns, canvasHeight, canvasWidth, aliveColor) ->
@numRows = numRows
@numColumns = numColumns
@aliveColor = aliveColor
@grid = []
@fillGrid()
@createCells canvasWidth, canvasHeight
fillGrid: ... |
[
{
"context": "rage['purpleUserId']\n token: localStorage['purpleToken']\n os: Ext.os.name\n subscripti",
"end": 11109,
"score": 0.5962790846824646,
"start": 11103,
"tag": "KEY",
"value": "purple"
}
] | src/app/controller/Subscriptions.coffee | Purple-Services/app | 2 | Ext.define 'Purple.controller.Subscriptions',
extend: 'Ext.app.Controller'
requires: [
'Purple.view.Subscriptions'
]
config:
refs:
mainContainer: 'maincontainer'
topToolbar: 'toptoolbar'
accountTabContainer: '#accountTabContainer'
accountForm: 'accountform'
requestGasTabCon... | 37367 | Ext.define 'Purple.controller.Subscriptions',
extend: 'Ext.app.Controller'
requires: [
'Purple.view.Subscriptions'
]
config:
refs:
mainContainer: 'maincontainer'
topToolbar: 'toptoolbar'
accountTabContainer: '#accountTabContainer'
accountForm: 'accountform'
requestGasTabCon... | true | Ext.define 'Purple.controller.Subscriptions',
extend: 'Ext.app.Controller'
requires: [
'Purple.view.Subscriptions'
]
config:
refs:
mainContainer: 'maincontainer'
topToolbar: 'toptoolbar'
accountTabContainer: '#accountTabContainer'
accountForm: 'accountform'
requestGasTabCon... |
[
{
"context": "tor: 10\n app:\n port: 3000\n sessionSecret: 'secret key'\n\nmodule.exports = config\n",
"end": 185,
"score": 0.7038788795471191,
"start": 175,
"tag": "KEY",
"value": "secret key"
}
] | config.example.coffee | zodoz/EC2Manager | 0 | config =
db:
url: 'mongodb://localhost/ec2Manager'
passport:
secret: 'EC2ManagerSecret'
bcrypt:
saltWorkFactor: 10
app:
port: 3000
sessionSecret: 'secret key'
module.exports = config
| 175160 | config =
db:
url: 'mongodb://localhost/ec2Manager'
passport:
secret: 'EC2ManagerSecret'
bcrypt:
saltWorkFactor: 10
app:
port: 3000
sessionSecret: '<KEY>'
module.exports = config
| true | config =
db:
url: 'mongodb://localhost/ec2Manager'
passport:
secret: 'EC2ManagerSecret'
bcrypt:
saltWorkFactor: 10
app:
port: 3000
sessionSecret: 'PI:KEY:<KEY>END_PI'
module.exports = config
|
[
{
"context": "ontSize: 17\n \"exception-reporting\":\n userId: \"1effa0b2-2ee8-4a52-b80e-098d95a88836\"\n \"fuzzy-finder\":\n scoringSystem: \"fast\"\n ",
"end": 513,
"score": 0.7570253014564514,
"start": 477,
"tag": "PASSWORD",
"value": "1effa0b2-2ee8-4a52-b80e-098d95a88836"
}
... | config.cson | special-k/atom-multimode-config | 0 | "*":
"atom-package-deps":
ignored: [
"linter-pylint"
]
"autocomplete-plus":
enableAutoActivation: false
enableAutoConfirmSingleSuggestion: false
minimumWordLength: 1
"command-palette":
defaultCommandPath: "vim:"
core:
disabledPackages: [
"vim-mode-plus-macros"
]
t... | 222234 | "*":
"atom-package-deps":
ignored: [
"linter-pylint"
]
"autocomplete-plus":
enableAutoActivation: false
enableAutoConfirmSingleSuggestion: false
minimumWordLength: 1
"command-palette":
defaultCommandPath: "vim:"
core:
disabledPackages: [
"vim-mode-plus-macros"
]
t... | true | "*":
"atom-package-deps":
ignored: [
"linter-pylint"
]
"autocomplete-plus":
enableAutoActivation: false
enableAutoConfirmSingleSuggestion: false
minimumWordLength: 1
"command-palette":
defaultCommandPath: "vim:"
core:
disabledPackages: [
"vim-mode-plus-macros"
]
t... |
[
{
"context": " service\n\n userA = yield User.create\n email: 'user1@example.com'\n password: 'password1'\n organizationId: or",
"end": 2291,
"score": 0.999921977519989,
"start": 2274,
"tag": "EMAIL",
"value": "user1@example.com"
},
{
"context": "ate\n email: 'user1@exam... | preset.coffee | evanhuang8/teresa | 0 | #!/usr/bin/env coffee
fs = require 'fs'
_ = require 'lodash'
moment = require 'moment-timezone'
co = require 'co'
faker = require 'faker'
csv = require 'csv'
Q = require 'q'
parseCSV = Q.denodeify csv.parse
configs =
5: 'shelter'
6: 'housing'
7: 'job'
8: 'health'
9: 'food'
10: 'funding'
co ->
db = ... | 112533 | #!/usr/bin/env coffee
fs = require 'fs'
_ = require 'lodash'
moment = require 'moment-timezone'
co = require 'co'
faker = require 'faker'
csv = require 'csv'
Q = require 'q'
parseCSV = Q.denodeify csv.parse
configs =
5: 'shelter'
6: 'housing'
7: 'job'
8: 'health'
9: 'food'
10: 'funding'
co ->
db = ... | true | #!/usr/bin/env coffee
fs = require 'fs'
_ = require 'lodash'
moment = require 'moment-timezone'
co = require 'co'
faker = require 'faker'
csv = require 'csv'
Q = require 'q'
parseCSV = Q.denodeify csv.parse
configs =
5: 'shelter'
6: 'housing'
7: 'job'
8: 'health'
9: 'food'
10: 'funding'
co ->
db = ... |
[
{
"context": "\t\tnodename = os.hostname().split(\".\")[0]\n\t\tkey = \"nodes/#{config.get('env')}-#{nodename}/reassignment-status",
"end": 3238,
"score": 0.8318449258804321,
"start": 3230,
"tag": "KEY",
"value": "nodes/#{"
},
{
"context": ").split(\".\")[0]\n\t\tkey = \"nodes/#{conf... | server/lib/consul.coffee | willroberts/duelyst | 5 | os = require 'os'
config = require '../../config/config.js'
Logger = require '../../app/common/logger.coffee'
Colors = require 'colors'
Promise = require 'bluebird'
request = require 'superagent'
_ = require 'underscore'
class Consul
@baseUrl = "http://#{config.get('consul.ip')}:#{config.get('consul.... | 47243 | os = require 'os'
config = require '../../config/config.js'
Logger = require '../../app/common/logger.coffee'
Colors = require 'colors'
Promise = require 'bluebird'
request = require 'superagent'
_ = require 'underscore'
class Consul
@baseUrl = "http://#{config.get('consul.ip')}:#{config.get('consul.... | true | os = require 'os'
config = require '../../config/config.js'
Logger = require '../../app/common/logger.coffee'
Colors = require 'colors'
Promise = require 'bluebird'
request = require 'superagent'
_ = require 'underscore'
class Consul
@baseUrl = "http://#{config.get('consul.ip')}:#{config.get('consul.... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998895525932312,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\nclass Input\n ... | source/javascripts/new_src/loaders/collada/input.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
class Input
constructor: ->
@semantic = ""
@offset = 0
@source = ""
@set = 0
parse: (element) ->
@semantic = element.getAttribute "semantic"
@source = element.getAt... | 199247 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
class Input
constructor: ->
@semantic = ""
@offset = 0
@source = ""
@set = 0
parse: (element) ->
@semantic = element.getAttribute "semantic"
@source = element.getAttribute("source").r... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
class Input
constructor: ->
@semantic = ""
@offset = 0
@source = ""
@set = 0
parse: (element) ->
@semantic = element.getAttribute "semantic"
@source = ele... |
[
{
"context": "STAR On-Line\n\n\t\t\nReturn to Request STAR On-Line\n\t\nRandom Guy\n\t\n \nPREPARED: 01/30/13 - 08:31\nGuy,Random 1\nPROGR",
"end": 121,
"score": 0.9798430800437927,
"start": 111,
"tag": "NAME",
"value": "Random Guy"
},
{
"context": "ck Titan Web for your registration... | tempstar.coffee | seiyria/star-report-reader | 0 | @tempStar = """
New Window | Help | Customize Page
STAR On-Line
Return to Request STAR On-Line
Random Guy
PREPARED: 01/30/13 - 08:31
Guy,Random 1
PROGRAM CODE: 222234007 CATALOG YEAR: 2010
CAMPUS ID : xxxxxxx
BACHELOR OF SCIENCE DEGREE - COLLEGE OF LETTERS AND SCIENCE
COMPUTER S... | 2980 | @tempStar = """
New Window | Help | Customize Page
STAR On-Line
Return to Request STAR On-Line
<NAME>
PREPARED: 01/30/13 - 08:31
Guy,Random 1
PROGRAM CODE: 222234007 CATALOG YEAR: 2010
CAMPUS ID : xxxxxxx
BACHELOR OF SCIENCE DEGREE - COLLEGE OF LETTERS AND SCIENCE
COMPUTER SC & ... | true | @tempStar = """
New Window | Help | Customize Page
STAR On-Line
Return to Request STAR On-Line
PI:NAME:<NAME>END_PI
PREPARED: 01/30/13 - 08:31
Guy,Random 1
PROGRAM CODE: 222234007 CATALOG YEAR: 2010
CAMPUS ID : xxxxxxx
BACHELOR OF SCIENCE DEGREE - COLLEGE OF LETTERS AND SCIENCE
... |
[
{
"context": "8-201f-4a1b-85bd-f925a01d551c\"\n username: \"user@example.com\"\n full_name: null\n serialized_data:",
"end": 782,
"score": 0.9999250173568726,
"start": 766,
"tag": "EMAIL",
"value": "user@example.com"
},
{
"context": " ->\n parameters =\n... | spec/boco-knex-rdb.spec.coffee | bocodigitalmedia/boco-knex-rdb | 0 | $files = {}
describe "boco-knex-rdb", ->
describe "Usage", ->
[BocoKnexRDB, knex, defineUsersTable, table, createUsersTable, createUsersPromise, record] = []
beforeEach ->
BocoKnexRDB = require "boco-knex-rdb"
knex = require("knex") client: "sqlite3", connection: "test.db"
defineUsersTabl... | 47484 | $files = {}
describe "boco-knex-rdb", ->
describe "Usage", ->
[BocoKnexRDB, knex, defineUsersTable, table, createUsersTable, createUsersPromise, record] = []
beforeEach ->
BocoKnexRDB = require "boco-knex-rdb"
knex = require("knex") client: "sqlite3", connection: "test.db"
defineUsersTabl... | true | $files = {}
describe "boco-knex-rdb", ->
describe "Usage", ->
[BocoKnexRDB, knex, defineUsersTable, table, createUsersTable, createUsersPromise, record] = []
beforeEach ->
BocoKnexRDB = require "boco-knex-rdb"
knex = require("knex") client: "sqlite3", connection: "test.db"
defineUsersTabl... |
[
{
"context": "t 'drop', obj\n #@Cache = -> if @name? then Cache[@name] else Cache['NodeBase'] \n #remove Objects f",
"end": 4716,
"score": 0.6425732970237732,
"start": 4716,
"tag": "USERNAME",
"value": ""
},
{
"context": "ts created\n @getTotalIds = -> if @name? then cids[@name]... | nodeBase-coffee.coffee | dotmaster/NodeBase | 2 | events = require('events')
util = require(if process.binding('natives').util then 'util' else 'sys')
CappedObject = require './CappedObject'
#extend the stacktracelimit for coffeescript
Error.stackTraceLimit = 50;
stringify = (obj) -> JSON.stringify(obj, null, " ")
#from underscore.coffee
isEmpty = (obj) ->
return ... | 181988 | events = require('events')
util = require(if process.binding('natives').util then 'util' else 'sys')
CappedObject = require './CappedObject'
#extend the stacktracelimit for coffeescript
Error.stackTraceLimit = 50;
stringify = (obj) -> JSON.stringify(obj, null, " ")
#from underscore.coffee
isEmpty = (obj) ->
return ... | true | events = require('events')
util = require(if process.binding('natives').util then 'util' else 'sys')
CappedObject = require './CappedObject'
#extend the stacktracelimit for coffeescript
Error.stackTraceLimit = 50;
stringify = (obj) -> JSON.stringify(obj, null, " ")
#from underscore.coffee
isEmpty = (obj) ->
return ... |
[
{
"context": ".alice_and_bob()\n alice.secretKey = new Buffer('0000000000000000000000000000000000000000000000000000",
"end": 2956,
"score": 0.5452808737754822,
"start": 2955,
"tag": "KEY",
"value": "0"
},
{
"context": "d.real_saltpack\n people_keys = [\n new Buffer('28536f6cd88b... | test/files/stream.iced | hummhive/node-saltpack | 21 | crypto = require('crypto')
saltpack = require('../..')
{make_esc} = require('iced-error')
format = saltpack.lowlevel.format
stream = saltpack.stream
util = saltpack.lowlevel.util
vectors = require('../vectors.iced')
msg_length = (1024**2)/2
#============================================================================... | 135920 | crypto = require('crypto')
saltpack = require('../..')
{make_esc} = require('iced-error')
format = saltpack.lowlevel.format
stream = saltpack.stream
util = saltpack.lowlevel.util
vectors = require('../vectors.iced')
msg_length = (1024**2)/2
#============================================================================... | true | crypto = require('crypto')
saltpack = require('../..')
{make_esc} = require('iced-error')
format = saltpack.lowlevel.format
stream = saltpack.stream
util = saltpack.lowlevel.util
vectors = require('../vectors.iced')
msg_length = (1024**2)/2
#============================================================================... |
[
{
"context": "re '../index'\r\ntwitterKeys = {\r\n consumer_key : 'XXXXXXXXXXXXXXXXXXXXXXXXX',\r\n consumer_secret : 'XXXXXXXXXXXXXXXXXXXXXXXXX",
"end": 206,
"score": 0.9988781213760376,
"start": 181,
"tag": "KEY",
"value": "XXXXXXXXXXXXXXXXXXXXXXXXX"
},
{
"context": "XXXXXXXXXXXXX... | client/node_modules/fetch-tweets/test/search-tweets.test.coffee | ggruessingUCB/tweetTweet | 1 | # Testing frameworks and tools
expect = require('chai').expect
sinon = require('sinon')
# Modules to test
fetchTweets = require '../index'
twitterKeys = {
consumer_key : 'XXXXXXXXXXXXXXXXXXXXXXXXX',
consumer_secret : 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
};
# Fake data to use as sinon st... | 135090 | # Testing frameworks and tools
expect = require('chai').expect
sinon = require('sinon')
# Modules to test
fetchTweets = require '../index'
twitterKeys = {
consumer_key : '<KEY>',
consumer_secret : '<KEY>'
};
# Fake data to use as sinon stubs
fakeData1 = require './fake-data/search-tweets-fake-data1'... | true | # Testing frameworks and tools
expect = require('chai').expect
sinon = require('sinon')
# Modules to test
fetchTweets = require '../index'
twitterKeys = {
consumer_key : 'PI:KEY:<KEY>END_PI',
consumer_secret : 'PI:KEY:<KEY>END_PI'
};
# Fake data to use as sinon stubs
fakeData1 = require './fake-data... |
[
{
"context": "od: 'GET'\n , JSON.stringify products: [ name: \"test\", cost: 20 ]\n\n @adapter.perform 'readAll', @Pr",
"end": 2300,
"score": 0.9979721307754517,
"start": 2296,
"tag": "NAME",
"value": "test"
},
{
"context": "aData: \"foo\"\n products: [\n name: ... | tests/batman/storage_adapter/rest_storage_helper.coffee | airhorns/batman | 1 | if typeof require isnt 'undefined'
{sharedStorageTestSuite} = require('./storage_adapter_helper')
else
{sharedStorageTestSuite} = window
productJSON =
product:
name: 'test'
id: 10
specialProductJSON =
special_product:
name: 'test'
id: 10
class MockRequest extends MockClass
@dataHasFileUploa... | 76950 | if typeof require isnt 'undefined'
{sharedStorageTestSuite} = require('./storage_adapter_helper')
else
{sharedStorageTestSuite} = window
productJSON =
product:
name: 'test'
id: 10
specialProductJSON =
special_product:
name: 'test'
id: 10
class MockRequest extends MockClass
@dataHasFileUploa... | true | if typeof require isnt 'undefined'
{sharedStorageTestSuite} = require('./storage_adapter_helper')
else
{sharedStorageTestSuite} = window
productJSON =
product:
name: 'test'
id: 10
specialProductJSON =
special_product:
name: 'test'
id: 10
class MockRequest extends MockClass
@dataHasFileUploa... |
[
{
"context": ".org/ws/2005/05/identity/claims/emailaddress\": [ \"tuser@example.com\" ]\n \"http://schemas.xmlsoap.org/ws/2005/",
"end": 7520,
"score": 0.999898374080658,
"start": 7503,
"tag": "EMAIL",
"value": "tuser@example.com"
},
{
"context": ".xmlsoap.org/ws/2005/05/ide... | lambda/node_modules/saml2-js/test/saml2.coffee | realestate-com-au/sshephalopod | 26 | _ = require 'underscore'
assert = require 'assert'
async = require 'async'
zlib = require 'zlib'
crypto = require 'crypto'
fs = require 'fs'
saml2 = require "#{__dirname}/../index"
url = require 'url'
util = require 'util'
xmldom = ... | 203561 | _ = require 'underscore'
assert = require 'assert'
async = require 'async'
zlib = require 'zlib'
crypto = require 'crypto'
fs = require 'fs'
saml2 = require "#{__dirname}/../index"
url = require 'url'
util = require 'util'
xmldom = ... | true | _ = require 'underscore'
assert = require 'assert'
async = require 'async'
zlib = require 'zlib'
crypto = require 'crypto'
fs = require 'fs'
saml2 = require "#{__dirname}/../index"
url = require 'url'
util = require 'util'
xmldom = ... |
[
{
"context": " tabLength: 4\n \"go-plus\":\n goPath: \"/Users/holman/Code/go\"\n \"linter-tidy\":\n grammarScopes: [\n ",
"end": 1544,
"score": 0.845687747001648,
"start": 1538,
"tag": "USERNAME",
"value": "holman"
},
{
"context": "4cecf260bb8683eab060a7\"\n personalAc... | atom.symlink/config.cson | ritcheyer/dotfiles | 2 | "*":
"atom-beautify":
general:
_analyticsUserId: "e426b16e-4437-4291-a506-5fa5465e114d"
scss:
beautify_on_save: true
convert_quotes: "single"
force_indentation: true
indent_size: 2
no_lead_zero: true
preserve_newlines: true
"atom-clock":
showClockIcon: true
au... | 83105 | "*":
"atom-beautify":
general:
_analyticsUserId: "e426b16e-4437-4291-a506-5fa5465e114d"
scss:
beautify_on_save: true
convert_quotes: "single"
force_indentation: true
indent_size: 2
no_lead_zero: true
preserve_newlines: true
"atom-clock":
showClockIcon: true
au... | true | "*":
"atom-beautify":
general:
_analyticsUserId: "e426b16e-4437-4291-a506-5fa5465e114d"
scss:
beautify_on_save: true
convert_quotes: "single"
force_indentation: true
indent_size: 2
no_lead_zero: true
preserve_newlines: true
"atom-clock":
showClockIcon: true
au... |
[
{
"context": " is an existing user', ->\n createUser(name: 'bob', slackUsername: 'bob_yeah', false)\n .then (",
"end": 1105,
"score": 0.9849013090133667,
"start": 1102,
"tag": "USERNAME",
"value": "bob"
},
{
"context": " ->\n createUser(name: 'bob', slackUsername: 'bob... | test/integration/app-tests.coffee | citizencode/swarmbot | 21 | { createUser } = require '../helpers/test-helper'
sinon = require 'sinon'
User = require '../../src/models/user.coffee'
KeenioInfo = require '../../src/services/keenio-info.coffee'
Init = require '../../src/bots/!init'
describe "App", ->
beforeEach ->
@robot =
enter: ->
respond: ->
adapter:
... | 215865 | { createUser } = require '../helpers/test-helper'
sinon = require 'sinon'
User = require '../../src/models/user.coffee'
KeenioInfo = require '../../src/services/keenio-info.coffee'
Init = require '../../src/bots/!init'
describe "App", ->
beforeEach ->
@robot =
enter: ->
respond: ->
adapter:
... | true | { createUser } = require '../helpers/test-helper'
sinon = require 'sinon'
User = require '../../src/models/user.coffee'
KeenioInfo = require '../../src/services/keenio-info.coffee'
Init = require '../../src/bots/!init'
describe "App", ->
beforeEach ->
@robot =
enter: ->
respond: ->
adapter:
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.