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": "-app'\n\nsetState\n contacts: [\n {key: 1, name: \"James K Nelson\", email: \"james@jamesknelson.com\", description: \"",
"end": 4081,
"score": 0.9998506307601929,
"start": 4067,
"tag": "NAME",
"value": "James K Nelson"
},
{
"context": "s: [\n {key: 1, name: \"Ja... | app/scripts/app.coffee | ak64th/CSReact | 0 | React = require('react')
ReactDOM = require('react-dom')
CONTACT_TEMPLATE =
name: ''
email: ''
description: ''
errors: null
Component =
create: (spec) ->
React.createFactory React.createClass(spec)
{ div, h1, h2, ul, li, p, a } = React.DOM
{ form, input, textarea, button } = React.DOM
ContactItem = Re... | 150856 | React = require('react')
ReactDOM = require('react-dom')
CONTACT_TEMPLATE =
name: ''
email: ''
description: ''
errors: null
Component =
create: (spec) ->
React.createFactory React.createClass(spec)
{ div, h1, h2, ul, li, p, a } = React.DOM
{ form, input, textarea, button } = React.DOM
ContactItem = Re... | true | React = require('react')
ReactDOM = require('react-dom')
CONTACT_TEMPLATE =
name: ''
email: ''
description: ''
errors: null
Component =
create: (spec) ->
React.createFactory React.createClass(spec)
{ div, h1, h2, ul, li, p, a } = React.DOM
{ form, input, textarea, button } = React.DOM
ContactItem = Re... |
[
{
"context": "ient\", ->\n client = Myna.init\n apiKey: \"092c90f6-a8f2-11e2-a2b9-7c6d628b25f7\"\n apiRoot: testApiRoot\n experiments: [",
"end": 135,
"score": 0.9997698664665222,
"start": 99,
"tag": "KEY",
"value": "092c90f6-a8f2-11e2-a2b9-7c6d628b25f7"
},
{
"co... | src/test/init-spec.coffee | plyfe/myna-js | 0 | describe "Myna.init", ->
it "should create a client", ->
client = Myna.init
apiKey: "092c90f6-a8f2-11e2-a2b9-7c6d628b25f7"
apiRoot: testApiRoot
experiments: [
{
uuid: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
id: "a"
settings: "myna.web.sticky": fa... | 90960 | describe "Myna.init", ->
it "should create a client", ->
client = Myna.init
apiKey: "<KEY>"
apiRoot: testApiRoot
experiments: [
{
uuid: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
id: "a"
settings: "myna.web.sticky": false
variants: [
... | true | describe "Myna.init", ->
it "should create a client", ->
client = Myna.init
apiKey: "PI:KEY:<KEY>END_PI"
apiRoot: testApiRoot
experiments: [
{
uuid: "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
id: "a"
settings: "myna.web.sticky": false
vari... |
[
{
"context": "env.NODE_ENV = \"test\"\nprocess.env.VANITY_TOKEN = \"secret\"\n\nAsync = require(\"async\")\nReplay = re",
"end": 64,
"score": 0.6263463497161865,
"start": 58,
"tag": "KEY",
"value": "secret"
}
] | node/test/helper.coffee | assaf/vanity.js | 2 | process.env.NODE_ENV = "test"
process.env.VANITY_TOKEN = "secret"
Async = require("async")
Replay = require("replay")
Request = require("request")
server = require("../../server/config/server")
redis = require("../../server/config/redis")
Activity = require("../../server/models/activity")
... | 189974 | process.env.NODE_ENV = "test"
process.env.VANITY_TOKEN = "<KEY>"
Async = require("async")
Replay = require("replay")
Request = require("request")
server = require("../../server/config/server")
redis = require("../../server/config/redis")
Activity = require("../../server/models/activity")
E... | true | process.env.NODE_ENV = "test"
process.env.VANITY_TOKEN = "PI:KEY:<KEY>END_PI"
Async = require("async")
Replay = require("replay")
Request = require("request")
server = require("../../server/config/server")
redis = require("../../server/config/redis")
Activity = require("../../server/models... |
[
{
"context": ", last seen times will be relative\n#\n# Author:\n# wiredfool, patcon@gittip\n\nconfig =\n use_timeago: process.e",
"end": 342,
"score": 0.9994014501571655,
"start": 333,
"tag": "USERNAME",
"value": "wiredfool"
},
{
"context": " times will be relative\n#\n# Author:\n... | scripts/seen.coffee | thejunto/juntobot | 0 | # Description:
# A hubot script that tracks when/where users were last seen.
#
# Commands:
# hubot seen <user> - show when and where user was last seen
# hubot seen in last 24h - list users seen in last 24 hours
#
# Configuration:
# HUBOT_SEEN_TIMEAGO - If set (to anything), last seen times will be relative
#
#... | 68705 | # Description:
# A hubot script that tracks when/where users were last seen.
#
# Commands:
# hubot seen <user> - show when and where user was last seen
# hubot seen in last 24h - list users seen in last 24 hours
#
# Configuration:
# HUBOT_SEEN_TIMEAGO - If set (to anything), last seen times will be relative
#
#... | true | # Description:
# A hubot script that tracks when/where users were last seen.
#
# Commands:
# hubot seen <user> - show when and where user was last seen
# hubot seen in last 24h - list users seen in last 24 hours
#
# Configuration:
# HUBOT_SEEN_TIMEAGO - If set (to anything), last seen times will be relative
#
#... |
[
{
"context": ")\n\t\t\t$1.fetch({\n\t\t\t\tinclude: ['$4'],\n\t\t\t\tkeys: '${5:key1,key2}',\n\t\t\t}).then(()=>{\n\t\t\t\tconsole.log($1)",
"end": 2478,
"score": 0.847261369228363,
"start": 2477,
"tag": "KEY",
"value": "5"
},
{
"context": "\t\t\t$1.fetch({\n\t\t\t\tinclude: ['$4'],\... | snippets/AVObject.cson | youngjuning/atom-leancloud | 0 | '.source.js,javascript':
'声明类型':
'prefix': 'av-class'
'body': """
const $1 = AV.Object.extend('$1')
"""
'description': '对象->构建对象'
'descriptionMoreURL': 'https://leancloud.cn/docs/leanstorage_guide-js.html#hash813593086'
'LeanCloud 类文件':
'prefix': 'av-class-file'
'body': """
import AV fro... | 196173 | '.source.js,javascript':
'声明类型':
'prefix': 'av-class'
'body': """
const $1 = AV.Object.extend('$1')
"""
'description': '对象->构建对象'
'descriptionMoreURL': 'https://leancloud.cn/docs/leanstorage_guide-js.html#hash813593086'
'LeanCloud 类文件':
'prefix': 'av-class-file'
'body': """
import AV fro... | true | '.source.js,javascript':
'声明类型':
'prefix': 'av-class'
'body': """
const $1 = AV.Object.extend('$1')
"""
'description': '对象->构建对象'
'descriptionMoreURL': 'https://leancloud.cn/docs/leanstorage_guide-js.html#hash813593086'
'LeanCloud 类文件':
'prefix': 'av-class-file'
'body': """
import AV fro... |
[
{
"context": ":\"foo\"\r\n bar:\r\n name:\"bar\"\r\n price:20\r\n }\r\n ",
"end": 2312,
"score": 0.8422616720199585,
"start": 2309,
"tag": "NAME",
"value": "bar"
}
] | source/spec/blending/shared/deepExtendExamples-specs.coffee | anodynos/uBerscore | 1 | # clone to check mutability
{ project, global, bundle, obj, arrInt, arrInt2, arrStr } = _.clone data, true
module.exports = (deepExtendMergeBlend)->
describe 'deepExtend source code examples : ', ->
it "replaceRE allows you to concatenate strings.", ->
expect(
deepExtendMergeBlend(
... | 185766 | # clone to check mutability
{ project, global, bundle, obj, arrInt, arrInt2, arrStr } = _.clone data, true
module.exports = (deepExtendMergeBlend)->
describe 'deepExtend source code examples : ', ->
it "replaceRE allows you to concatenate strings.", ->
expect(
deepExtendMergeBlend(
... | true | # clone to check mutability
{ project, global, bundle, obj, arrInt, arrInt2, arrStr } = _.clone data, true
module.exports = (deepExtendMergeBlend)->
describe 'deepExtend source code examples : ', ->
it "replaceRE allows you to concatenate strings.", ->
expect(
deepExtendMergeBlend(
... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998884201049805,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\n#= require new... | source/javascripts/new_src/loaders/collada/controller.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/collada/skin
#= require new_src/loaders/collada/morph
class Controller
constructor: (loader) ->
@id = ""
@name = ""
@type = ""
@skin = null
@morph ... | 205366 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
#= require new_src/loaders/collada/skin
#= require new_src/loaders/collada/morph
class Controller
constructor: (loader) ->
@id = ""
@name = ""
@type = ""
@skin = null
@morph = null
@loader ... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/collada/skin
#= require new_src/loaders/collada/morph
class Controller
constructor: (loader) ->
@id = ""
@name = ""
@type = ""
@skin = null
... |
[
{
"context": " = sessionToken\n req.session.userName = userName\n\n serverSettings.userName = userName\n ",
"end": 1077,
"score": 0.9991458654403687,
"start": 1069,
"tag": "USERNAME",
"value": "userName"
},
{
"context": " = userName\n\n serverSettings... | src/setup.coffee | brianshaler/kerplunk-admin | 0 | hash = require './hash'
generateSessionKey = require './generateSessionKey'
generateToken = require './generateToken'
module.exports = (System) ->
(req, res, next) ->
console.log 'setup..', System.isSetup()
return next() if System.isSetup()
System.getSettingsByName 'kerplunk-server', (err, serverSettings... | 210460 | hash = require './hash'
generateSessionKey = require './generateSessionKey'
generateToken = require './generateToken'
module.exports = (System) ->
(req, res, next) ->
console.log 'setup..', System.isSetup()
return next() if System.isSetup()
System.getSettingsByName 'kerplunk-server', (err, serverSettings... | true | hash = require './hash'
generateSessionKey = require './generateSessionKey'
generateToken = require './generateToken'
module.exports = (System) ->
(req, res, next) ->
console.log 'setup..', System.isSetup()
return next() if System.isSetup()
System.getSettingsByName 'kerplunk-server', (err, serverSettings... |
[
{
"context": "###\n * ExtensionStats\n * http://github.com/ingorichter/BracketsExtensionTweetBot\n *\n * Copyright (c) 201",
"end": 54,
"score": 0.9996849894523621,
"start": 43,
"tag": "USERNAME",
"value": "ingorichter"
},
{
"context": "BracketsExtensionTweetBot\n *\n * Copyright (c)... | src/ExtensionStats.coffee | ingorichter/BracketsExtensionTweetBot | 0 | ###
* ExtensionStats
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 Ingo Richter
* Licensed under the MIT license.
###
# jslint vars: true, plusplus: true, devel: true, node: true, nomen: true, indent: 4, maxerr: 50
'use strict'
path = require 'path'
fs = require 'fs'
Promise = ... | 119496 | ###
* ExtensionStats
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
# jslint vars: true, plusplus: true, devel: true, node: true, nomen: true, indent: 4, maxerr: 50
'use strict'
path = require 'path'
fs = require 'fs'
Promise = requir... | true | ###
* ExtensionStats
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
# jslint vars: true, plusplus: true, devel: true, node: true, nomen: true, indent: 4, maxerr: 50
'use strict'
path = require 'path'
fs = require 'fs'
Pr... |
[
{
"context": "8n.__ 'Error on line 1, check if variable has name fruits. Do you have comma and space after each value?",
"end": 10358,
"score": 0.8163840770721436,
"start": 10355,
"tag": "NAME",
"value": "fru"
},
{
"context": " line9Expected = /var peter = new Person\\([\"']Peter... | lib/lessons/JSLesson.coffee | Elfoslav/codermania | 56 | class @JSLesson
###
# @param opts Object
# lesson
# code
# @returns true on success, string message on failure
###
@checkAssignment: (opts) ->
opts.code = $.trim(opts.code)
lesson = opts.lesson
success = false
resultMsg = ''
#hello world
if lesson.id is '1a'
if opts.... | 117463 | class @JSLesson
###
# @param opts Object
# lesson
# code
# @returns true on success, string message on failure
###
@checkAssignment: (opts) ->
opts.code = $.trim(opts.code)
lesson = opts.lesson
success = false
resultMsg = ''
#hello world
if lesson.id is '1a'
if opts.... | true | class @JSLesson
###
# @param opts Object
# lesson
# code
# @returns true on success, string message on failure
###
@checkAssignment: (opts) ->
opts.code = $.trim(opts.code)
lesson = opts.lesson
success = false
resultMsg = ''
#hello world
if lesson.id is '1a'
if opts.... |
[
{
"context": "lugin for nerdobot'\n version: '0.1'\n authors: ['Álvaro Cuesta']\n\nclass PushServer extends EventEmitter\n constr",
"end": 1105,
"score": 0.9998922348022461,
"start": 1092,
"tag": "NAME",
"value": "Álvaro Cuesta"
}
] | plugins/gitpush.coffee | alvaro-cuesta/nerdobot | 2 | EventEmitter = require('events').EventEmitter
express = require 'express'
module.exports = (config) ->
ps = new PushServer(config)
app = express()
app.use express.bodyParser()
app.post config.path, ps.handler
server = app.listen config.port ? 9999
@events.on 'end', -> server.close()
ps.on 'push', (bra... | 135005 | EventEmitter = require('events').EventEmitter
express = require 'express'
module.exports = (config) ->
ps = new PushServer(config)
app = express()
app.use express.bodyParser()
app.post config.path, ps.handler
server = app.listen config.port ? 9999
@events.on 'end', -> server.close()
ps.on 'push', (bra... | true | EventEmitter = require('events').EventEmitter
express = require 'express'
module.exports = (config) ->
ps = new PushServer(config)
app = express()
app.use express.bodyParser()
app.post config.path, ps.handler
server = app.listen config.port ? 9999
@events.on 'end', -> server.close()
ps.on 'push', (bra... |
[
{
"context": "><>11/10/21(金) 20:49:40 ID:ehenfox<>62¥¥¥\n ぬふあ <br> <>twitter\n ***<><>2011/10/21(金) 20:50",
"end": 6379,
"score": 0.9989140629768372,
"start": 6376,
"tag": "NAME",
"value": "ぬふあ"
}
] | spec/service/Adapter/ChLikeBBS.spec.coffee | awef/read.crx-3 | 2 | describe "chLikeBBSAdapter", ->
"use strict"
beforeEach ->
module "ChLikeBBS"
inject (chLikeBBSAdapter) =>
@chLikeBBSAdapter = chLikeBBSAdapter
return
return
describe ".isSupported", ->
it "与えられたURLから、対応状況を返す", ->
expect(@chLikeBBSAdapter.isSupported("http://anago.2ch.net/")).... | 122033 | describe "chLikeBBSAdapter", ->
"use strict"
beforeEach ->
module "ChLikeBBS"
inject (chLikeBBSAdapter) =>
@chLikeBBSAdapter = chLikeBBSAdapter
return
return
describe ".isSupported", ->
it "与えられたURLから、対応状況を返す", ->
expect(@chLikeBBSAdapter.isSupported("http://anago.2ch.net/")).... | true | describe "chLikeBBSAdapter", ->
"use strict"
beforeEach ->
module "ChLikeBBS"
inject (chLikeBBSAdapter) =>
@chLikeBBSAdapter = chLikeBBSAdapter
return
return
describe ".isSupported", ->
it "与えられたURLから、対応状況を返す", ->
expect(@chLikeBBSAdapter.isSupported("http://anago.2ch.net/")).... |
[
{
"context": "eader-cell-section'\n\n defaults:\n displayKey: 'name'\n displayValue: 'href'\n\n template: (data) ->\n",
"end": 319,
"score": 0.6352121829986572,
"start": 315,
"tag": "KEY",
"value": "name"
}
] | src/desktop/components/related_links/view.coffee | kanaabe/force | 1 | _ = require 'underscore'
Backbone = require 'backbone'
module.exports = class RelatedLinksView extends Backbone.View
headerTemplate: _.template ''
wrapperTemplate: _.template '<div><%= links %></div>'
className: 'artist-related-genes related-links bisected-header-cell-section'
defaults:
displayKey: 'name'... | 87661 | _ = require 'underscore'
Backbone = require 'backbone'
module.exports = class RelatedLinksView extends Backbone.View
headerTemplate: _.template ''
wrapperTemplate: _.template '<div><%= links %></div>'
className: 'artist-related-genes related-links bisected-header-cell-section'
defaults:
displayKey: '<KEY>... | true | _ = require 'underscore'
Backbone = require 'backbone'
module.exports = class RelatedLinksView extends Backbone.View
headerTemplate: _.template ''
wrapperTemplate: _.template '<div><%= links %></div>'
className: 'artist-related-genes related-links bisected-header-cell-section'
defaults:
displayKey: 'PI:KE... |
[
{
"context": "ter = 'unknown'\n @userName = 'unknown'\n @robotName = 'hubot'\n @autoMerge ",
"end": 1488,
"score": 0.9105009436607361,
"start": 1481,
"tag": "USERNAME",
"value": "unknown"
},
{
"context": "Name = 'unknown'\n @robotName ... | src/github/api/deployment.coffee | yumimobi/hubot-deploy | 0 | Fs = require "fs"
Url = require "url"
Path = require "path"
Fernet = require "fernet"
Version = require(Path.join(__dirname, "..", "..", "version")).Version
Octonode = require "octonode"
GitHubApi = require(Path.join(__dirname, "..", "api")).Api
extend = require "node.extend"
AppsFile = proc... | 13524 | Fs = require "fs"
Url = require "url"
Path = require "path"
Fernet = require "fernet"
Version = require(Path.join(__dirname, "..", "..", "version")).Version
Octonode = require "octonode"
GitHubApi = require(Path.join(__dirname, "..", "api")).Api
extend = require "node.extend"
AppsFile = proc... | true | Fs = require "fs"
Url = require "url"
Path = require "path"
Fernet = require "fernet"
Version = require(Path.join(__dirname, "..", "..", "version")).Version
Octonode = require "octonode"
GitHubApi = require(Path.join(__dirname, "..", "api")).Api
extend = require "node.extend"
AppsFile = proc... |
[
{
"context": " if not Event::name_format.test @name\n @key = \"event:#{@name}\"\n\n info: (cb) ->\n return until cb\n @redis.m",
"end": 346,
"score": 0.9181004762649536,
"start": 331,
"tag": "KEY",
"value": "event:#{@name}\""
}
] | lib/event.coffee | Lytro/pushd | 0 | async = require 'async'
logger = require 'winston'
class Event
OPTION_IGNORE_MESSAGE: 1
name_format: /^[a-zA-Z0-9@:._-]{1,100}$/
constructor: (@redis, @name) ->
throw new Error("Missing redis connection") if not redis?
throw new Error('Invalid event name ' + @name) if not Event::name_format.test @name
... | 66762 | async = require 'async'
logger = require 'winston'
class Event
OPTION_IGNORE_MESSAGE: 1
name_format: /^[a-zA-Z0-9@:._-]{1,100}$/
constructor: (@redis, @name) ->
throw new Error("Missing redis connection") if not redis?
throw new Error('Invalid event name ' + @name) if not Event::name_format.test @name
... | true | async = require 'async'
logger = require 'winston'
class Event
OPTION_IGNORE_MESSAGE: 1
name_format: /^[a-zA-Z0-9@:._-]{1,100}$/
constructor: (@redis, @name) ->
throw new Error("Missing redis connection") if not redis?
throw new Error('Invalid event name ' + @name) if not Event::name_format.test @name
... |
[
{
"context": "url, callback])\n callback(\n key: \"12345678\"\n isEnabled: true\n group: 'corp",
"end": 1941,
"score": 0.9996001720428467,
"start": 1933,
"tag": "KEY",
"value": "12345678"
},
{
"context": "8/is-enabled?userId=user&sessionId=1234567890... | test/featness-tests.coffee | featness/featness.js | 1 | chai = require 'chai'
sinon = require 'sinon'
{Featness} = require '../src/featness'
{Cookies, CookiesClass} = require '../src/featness.cookies'
{JSONP} = require '../src/featness.jsonp'
queueClass = require '../bower_components/asynqueue/queue'
expect = chai.expect
chai.should()
describe 'featness', ->
cookiesMoc... | 145640 | chai = require 'chai'
sinon = require 'sinon'
{Featness} = require '../src/featness'
{Cookies, CookiesClass} = require '../src/featness.cookies'
{JSONP} = require '../src/featness.jsonp'
queueClass = require '../bower_components/asynqueue/queue'
expect = chai.expect
chai.should()
describe 'featness', ->
cookiesMoc... | true | chai = require 'chai'
sinon = require 'sinon'
{Featness} = require '../src/featness'
{Cookies, CookiesClass} = require '../src/featness.cookies'
{JSONP} = require '../src/featness.jsonp'
queueClass = require '../bower_components/asynqueue/queue'
expect = chai.expect
chai.should()
describe 'featness', ->
cookiesMoc... |
[
{
"context": "--------------\n# Copyright Joe Drago 2018.\n# Distributed under the Boost Softw",
"end": 123,
"score": 0.9998353123664856,
"start": 114,
"tag": "NAME",
"value": "Joe Drago"
}
] | lib/templates/src/coffee/TouchDiv.coffee | EwoutH/colorist | 0 | # ---------------------------------------------------------------------------
# Copyright Joe Drago 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
#... | 19655 | # ---------------------------------------------------------------------------
# Copyright <NAME> 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
# --... | true | # ---------------------------------------------------------------------------
# Copyright PI:NAME:<NAME>END_PI 2018.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE... |
[
{
"context": "(browser, {\n logins:\n admin:\n password: 'password'\n})\n\nchai = require('chai')\nglobal.expect = chai.",
"end": 198,
"score": 0.9993022084236145,
"start": 190,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ogin')\n browser.element('#username'... | test/specs/browser.coffee | pstaender/visitjs | 0 | expect = require('expect.js')
{
visit
login
logout
saveViewportScreenshot
headlessRequestOptions
debug
} = require('../../src')(browser, {
logins:
admin:
password: 'password'
})
chai = require('chai')
global.expect = chai.expect
chai.Should()
debug(true)
describe 'Check websites with webdriv... | 41080 | expect = require('expect.js')
{
visit
login
logout
saveViewportScreenshot
headlessRequestOptions
debug
} = require('../../src')(browser, {
logins:
admin:
password: '<PASSWORD>'
})
chai = require('chai')
global.expect = chai.expect
chai.Should()
debug(true)
describe 'Check websites with webdr... | true | expect = require('expect.js')
{
visit
login
logout
saveViewportScreenshot
headlessRequestOptions
debug
} = require('../../src')(browser, {
logins:
admin:
password: 'PI:PASSWORD:<PASSWORD>END_PI'
})
chai = require('chai')
global.expect = chai.expect
chai.Should()
debug(true)
describe 'Check w... |
[
{
"context": "er.run.later @, resolve, 10\n model =\n email: \"foxnewsnetwork@gmail.com\"\n username: \"foxnewsnetwork\"\n topic: \"some ",
"end": 1546,
"score": 0.9999282956123352,
"start": 1522,
"tag": "EMAIL",
"value": "foxnewsnetwork@gmail.com"
},
{
"context": " email: ... | tests/acceptance/object-validation-test.coffee | foxnewsnetwork/ember-functional-validation | 4 | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import FunctionalValidation from 'ember-functional-validation'`
module 'Acceptance: FunctionalValidation'
test 'it exists', (assert) ->
assert.ok FunctionalValidation
assert.ok FunctionalValidation.create
test 'it should create a validating func... | 190932 | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import FunctionalValidation from 'ember-functional-validation'`
module 'Acceptance: FunctionalValidation'
test 'it exists', (assert) ->
assert.ok FunctionalValidation
assert.ok FunctionalValidation.create
test 'it should create a validating func... | true | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import FunctionalValidation from 'ember-functional-validation'`
module 'Acceptance: FunctionalValidation'
test 'it exists', (assert) ->
assert.ok FunctionalValidation
assert.ok FunctionalValidation.create
test 'it should create a validating func... |
[
{
"context": "####\n# Title: StepCollection Base Class\n# Author: kevin@wintr.us @ WINTR\n#########################################",
"end": 119,
"score": 0.9999075531959534,
"start": 105,
"tag": "EMAIL",
"value": "kevin@wintr.us"
}
] | source/javascripts/models/StepCollection.coffee | WikiEducationFoundation/WikiEduWizard | 1 |
#########################################################
# Title: StepCollection Base Class
# Author: kevin@wintr.us @ WINTR
#########################################################
Collection = require('../models/supers/Collection')
StepModel = require('../models/StepModel')
module.exports = class StepCollection... | 75860 |
#########################################################
# Title: StepCollection Base Class
# Author: <EMAIL> @ WINTR
#########################################################
Collection = require('../models/supers/Collection')
StepModel = require('../models/StepModel')
module.exports = class StepCollection extend... | true |
#########################################################
# Title: StepCollection Base Class
# Author: PI:EMAIL:<EMAIL>END_PI @ WINTR
#########################################################
Collection = require('../models/supers/Collection')
StepModel = require('../models/StepModel')
module.exports = class StepCo... |
[
{
"context": "nge =\n domain: 'domain'\n userName: 'username'\n password: 'password'\n ntlmpacket:",
"end": 156,
"score": 0.999600350856781,
"start": 148,
"tag": "USERNAME",
"value": "username"
},
{
"context": "'\n userName: 'username'\n pass... | test/unit/ntlm-payload-test.coffee | sgermain06/tedious-int64-native | 1 | NTLMPayload = require('../../src/ntlm-payload')
exports.respondToChallenge = (test) ->
challenge =
domain: 'domain'
userName: 'username'
password: 'password'
ntlmpacket:
target: new Buffer([170, 170, 170, 170]) # aa aa aa aa
nonce: new Buffer([187, 187, 187, ... | 158709 | NTLMPayload = require('../../src/ntlm-payload')
exports.respondToChallenge = (test) ->
challenge =
domain: 'domain'
userName: 'username'
password: '<PASSWORD>'
ntlmpacket:
target: new Buffer([170, 170, 170, 170]) # aa aa aa aa
nonce: new Buffer([187, 187, 187... | true | NTLMPayload = require('../../src/ntlm-payload')
exports.respondToChallenge = (test) ->
challenge =
domain: 'domain'
userName: 'username'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
ntlmpacket:
target: new Buffer([170, 170, 170, 170]) # aa aa aa aa
nonce: new Buf... |
[
{
"context": " <span class='s1'>Email: </span><span class='s2'>privacy@koding.com</span>\n </p>\n\n <p class='p4'>\n K",
"end": 860,
"score": 0.9998690485954285,
"start": 842,
"tag": "EMAIL",
"value": "privacy@koding.com"
},
{
"context": " specifying your commun... | client/legal/lib/privacyview.coffee | ezgikaysi/koding | 1 | JView = require 'app/jview'
module.exports = class PrivacyView extends JView
constructor: (options = {}) ->
super options
pistachio : ->
"""
<div class='tos'>
<p class='last-modified'>(last modified on May 17th, 2014)</p>
<p class='p2'>
<span class='s1'>This Application collect... | 180001 | JView = require 'app/jview'
module.exports = class PrivacyView extends JView
constructor: (options = {}) ->
super options
pistachio : ->
"""
<div class='tos'>
<p class='last-modified'>(last modified on May 17th, 2014)</p>
<p class='p2'>
<span class='s1'>This Application collect... | true | JView = require 'app/jview'
module.exports = class PrivacyView extends JView
constructor: (options = {}) ->
super options
pistachio : ->
"""
<div class='tos'>
<p class='last-modified'>(last modified on May 17th, 2014)</p>
<p class='p2'>
<span class='s1'>This Application collect... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.998362123966217,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-timers-linked-list.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... | 132173 | # 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": "otero.File.getContentsFromURL('https://github.com/retorquere/zotero-better-bibtex/releases/download/update.rdf",
"end": 254,
"score": 0.999717116355896,
"start": 244,
"tag": "USERNAME",
"value": "retorquere"
},
{
"context": ".send(fd)\n\n init: ->\n @key = Zotero.Ut... | chrome/content/zotero-better-bibtex/errorReport.coffee | edwinksl/zotero-better-bibtex | 0 | # Components.utils.importGlobalProperties(['Blob'])
Components.utils.import('resource://zotero/config.js')
Zotero_BetterBibTeX_ErrorReport = new class
constructor: ->
@form = JSON.parse(Zotero.File.getContentsFromURL('https://github.com/retorquere/zotero-better-bibtex/releases/download/update.rdf/error-report.js... | 44414 | # Components.utils.importGlobalProperties(['Blob'])
Components.utils.import('resource://zotero/config.js')
Zotero_BetterBibTeX_ErrorReport = new class
constructor: ->
@form = JSON.parse(Zotero.File.getContentsFromURL('https://github.com/retorquere/zotero-better-bibtex/releases/download/update.rdf/error-report.js... | true | # Components.utils.importGlobalProperties(['Blob'])
Components.utils.import('resource://zotero/config.js')
Zotero_BetterBibTeX_ErrorReport = new class
constructor: ->
@form = JSON.parse(Zotero.File.getContentsFromURL('https://github.com/retorquere/zotero-better-bibtex/releases/download/update.rdf/error-report.js... |
[
{
"context": "t_view_id]?.column_width,(val, key)->\n\t\t\tif key == \"_id_checkbox\"\n\t\t\t\tcolumn_width[key] = 60\n\t\t\telse if key == '_i",
"end": 5727,
"score": 0.9654144644737244,
"start": 5714,
"tag": "KEY",
"value": "\"_id_checkbox"
},
{
"context": "kbox\"\n\t\t\t\tcolumn_w... | packages/steedos-creator/client/views/list_wrapper.coffee | zonglu233/fuel-car | 0 |
Template.creator_list_wrapper.onRendered ->
self = this
self.autorun ->
if Session.get("list_view_id")
self.$(".btn-filter-list").removeClass("slds-is-selected")
self.$(".filter-list-container").addClass("slds-hide")
self.autorun ->
if Session.get("list_view_id")
list_view_obj = Creator.Collections.ob... | 214186 |
Template.creator_list_wrapper.onRendered ->
self = this
self.autorun ->
if Session.get("list_view_id")
self.$(".btn-filter-list").removeClass("slds-is-selected")
self.$(".filter-list-container").addClass("slds-hide")
self.autorun ->
if Session.get("list_view_id")
list_view_obj = Creator.Collections.ob... | true |
Template.creator_list_wrapper.onRendered ->
self = this
self.autorun ->
if Session.get("list_view_id")
self.$(".btn-filter-list").removeClass("slds-is-selected")
self.$(".filter-list-container").addClass("slds-hide")
self.autorun ->
if Session.get("list_view_id")
list_view_obj = Creator.Collections.ob... |
[
{
"context": "iew Tests for no-implicit-coercion rule.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 82,
"score": 0.9998652338981628,
"start": 68,
"tag": "NAME",
"value": "Toru Nagashima"
},
{
"context": ": yes, allow: ['+']]\n ,\n # ht... | src/tests/rules/no-implicit-coercion.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-implicit-coercion rule.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-implicit-co... | 220108 | ###*
# @fileoverview Tests for no-implicit-coercion rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-implicit-coercion'
... | true | ###*
# @fileoverview Tests for no-implicit-coercion rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-impli... |
[
{
"context": "ab.url.split(\"/\")[2]\n filter =\n name: \"session@cloud\"\n domain: domain\n\n chrome.cookies.getAll filt",
"end": 1062,
"score": 0.537375807762146,
"start": 1056,
"tag": "EMAIL",
"value": "@cloud"
}
] | coffeescript/background.coffee | dougbeal/feedlyconsole | 0 | # Called when the url of a tab changes.
checkForValidUrl = (tabId, changeInfo, tab) ->
if /.*feedly.com.*/.test(tab.url)
# ... show the page action.
console.log "checkForValidUrl " + tab.id + "/" + tab.url
activatePageActionTab tab
activatePageActionTab = (tab) ->
msg = "show pageAction icon and se... | 213892 | # Called when the url of a tab changes.
checkForValidUrl = (tabId, changeInfo, tab) ->
if /.*feedly.com.*/.test(tab.url)
# ... show the page action.
console.log "checkForValidUrl " + tab.id + "/" + tab.url
activatePageActionTab tab
activatePageActionTab = (tab) ->
msg = "show pageAction icon and se... | true | # Called when the url of a tab changes.
checkForValidUrl = (tabId, changeInfo, tab) ->
if /.*feedly.com.*/.test(tab.url)
# ... show the page action.
console.log "checkForValidUrl " + tab.id + "/" + tab.url
activatePageActionTab tab
activatePageActionTab = (tab) ->
msg = "show pageAction icon and se... |
[
{
"context": " followerId: blacker._id\n followerName: blackerName\n followerIcon: blacker.profile.icon ",
"end": 5519,
"score": 0.7944408059120178,
"start": 5514,
"tag": "NAME",
"value": "black"
},
{
"context": "r.userId()\n #这里存放fullname\n userName: ... | hotShareMobile/client/simpleUserProfile/simpleUserProfile.coffee | fay1986/mobile_app_server | 4 | if Meteor.isClient
getLocation = (userId)->
userInfo = Meteor.users.findOne({_id:userId})
console.log('Get location for user '+ userId + JSON.stringify(userInfo))
if userInfo and userInfo.profile
if userInfo.profile.location and userInfo.profile.location isnt ''
return userInfo.profile.locat... | 37571 | if Meteor.isClient
getLocation = (userId)->
userInfo = Meteor.users.findOne({_id:userId})
console.log('Get location for user '+ userId + JSON.stringify(userInfo))
if userInfo and userInfo.profile
if userInfo.profile.location and userInfo.profile.location isnt ''
return userInfo.profile.locat... | true | if Meteor.isClient
getLocation = (userId)->
userInfo = Meteor.users.findOne({_id:userId})
console.log('Get location for user '+ userId + JSON.stringify(userInfo))
if userInfo and userInfo.profile
if userInfo.profile.location and userInfo.profile.location isnt ''
return userInfo.profile.locat... |
[
{
"context": "###\n# Copyright (C) 2014-2017 Taiga Agile LLC <taiga@taiga.io>\n#\n# This program is free software: you can redis",
"end": 61,
"score": 0.9999279975891113,
"start": 47,
"tag": "EMAIL",
"value": "taiga@taiga.io"
}
] | app/modules/components/tags/tag-line-common/tag-line-common.controller.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <taiga@taiga.io>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
... | 48629 | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# Thi... | true | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later v... |
[
{
"context": " MIT licensed\\n\" + \" *\\n\" + \" * Copyright (C) 2015 Hakim El Hattab, http://hakim.se\\n\" + \" */\"\n\n qunit:\n fil",
"end": 415,
"score": 0.999863862991333,
"start": 400,
"tag": "NAME",
"value": "Hakim El Hattab"
}
] | Gruntfile.coffee | sparkbox/reveal.js | 1 | # global module:false
module.exports = (grunt) ->
port = grunt.option("port") or 8000
# Project configuration
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
meta:
banner: "/*!\n" + " * reveal.js <%= pkg.version %> (<%= grunt.template.today(\"yyyy-mm-dd, HH:MM\") %>)\n" + " * http://la... | 137448 | # global module:false
module.exports = (grunt) ->
port = grunt.option("port") or 8000
# Project configuration
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
meta:
banner: "/*!\n" + " * reveal.js <%= pkg.version %> (<%= grunt.template.today(\"yyyy-mm-dd, HH:MM\") %>)\n" + " * http://la... | true | # global module:false
module.exports = (grunt) ->
port = grunt.option("port") or 8000
# Project configuration
grunt.initConfig
pkg: grunt.file.readJSON("package.json")
meta:
banner: "/*!\n" + " * reveal.js <%= pkg.version %> (<%= grunt.template.today(\"yyyy-mm-dd, HH:MM\") %>)\n" + " * http://la... |
[
{
"context": "hould.eql\n root: group: 'root', password: 'x', gid: 0, users: [ 'root' ]\n bin: group: '",
"end": 958,
"score": 0.9992759823799133,
"start": 957,
"tag": "PASSWORD",
"value": "x"
},
{
"context": " [ 'root' ]\n bin: group: 'bin', password: 'x', gid: ... | packages/core/test/system.group/read.coffee | chibanemourad/node-nikita | 1 |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'system.group.read', ->
they 'shy doesnt modify the status', ({ssh}) ->
nikita
ssh: ssh
.file
target: "#{scratch}/etc/group"
content: """... | 181091 |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'system.group.read', ->
they 'shy doesnt modify the status', ({ssh}) ->
nikita
ssh: ssh
.file
target: "#{scratch}/etc/group"
content: """... | true |
nikita = require '../../src'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'system.group.read', ->
they 'shy doesnt modify the status', ({ssh}) ->
nikita
ssh: ssh
.file
target: "#{scratch}/etc/group"
content: """... |
[
{
"context": "_#{pluginName}\"\n\n unless plugin\n key = \"tabu#{if tabsLength > 1 then '-' + ++index else ''",
"end": 1665,
"score": 0.7820605039596558,
"start": 1664,
"tag": "KEY",
"value": "\""
},
{
"context": "{pluginName}\"\n\n unless plugin\n key = \"tab... | coffee/tabs.coffee | IcaliaLabs/furatto | 133 | (($, window, document) ->
#sets the plugin name
pluginName = 'tabu'
defaults =
startIndex: 0
tabContentClass: 'tabu-content'
tabContentsClass: 'content'
class Furatto.Tabu
constructor: (@el, options) ->
#jquery element
@$el = $(@el)
#merges options
@options = $.extend... | 161945 | (($, window, document) ->
#sets the plugin name
pluginName = 'tabu'
defaults =
startIndex: 0
tabContentClass: 'tabu-content'
tabContentsClass: 'content'
class Furatto.Tabu
constructor: (@el, options) ->
#jquery element
@$el = $(@el)
#merges options
@options = $.extend... | true | (($, window, document) ->
#sets the plugin name
pluginName = 'tabu'
defaults =
startIndex: 0
tabContentClass: 'tabu-content'
tabContentsClass: 'content'
class Furatto.Tabu
constructor: (@el, options) ->
#jquery element
@$el = $(@el)
#merges options
@options = $.extend... |
[
{
"context": "done) ->\n channelPayload = {\n \"key\": \"mah-channel\"\n }\n\n cleanup(@import.client.channels)\n",
"end": 7314,
"score": 0.961629331111908,
"start": 7303,
"tag": "KEY",
"value": "mah-channel"
}
] | src/spec/stockimport.spec.coffee | celeste-horgan/sphere-stock-import | 0 | _ = require 'underscore'
Promise = require 'bluebird'
csv = require 'csv'
sinon = require 'sinon'
{ExtendedLogger} = require 'sphere-node-utils'
package_json = require '../package.json'
Config = require '../config'
xmlHelpers = require '../lib/xmlhelpers.js'
StockImport = require '../lib/stockimport'
{customTypePayloa... | 139925 | _ = require 'underscore'
Promise = require 'bluebird'
csv = require 'csv'
sinon = require 'sinon'
{ExtendedLogger} = require 'sphere-node-utils'
package_json = require '../package.json'
Config = require '../config'
xmlHelpers = require '../lib/xmlhelpers.js'
StockImport = require '../lib/stockimport'
{customTypePayloa... | true | _ = require 'underscore'
Promise = require 'bluebird'
csv = require 'csv'
sinon = require 'sinon'
{ExtendedLogger} = require 'sphere-node-utils'
package_json = require '../package.json'
Config = require '../config'
xmlHelpers = require '../lib/xmlhelpers.js'
StockImport = require '../lib/stockimport'
{customTypePayloa... |
[
{
"context": "til'\n\npropsToRemove = ['_id', '__v', 'password', 'hash', 'salt']\n\nmodule.exports = class ResourceControl",
"end": 252,
"score": 0.9595861434936523,
"start": 248,
"tag": "PASSWORD",
"value": "hash"
},
{
"context": "opsToRemove = ['_id', '__v', 'password', 'hash', 'sa... | lib/resourceController.coffee | mattstone/StarterApp-Server | 0 | inflection = require "inflection"
h = require('./helpers')
ObjectId = require('mongoose').Schema.Types.ObjectId
mongoose = require 'mongoose'
typeOf = h.type
util = require 'util'
propsToRemove = ['_id', '__v', 'password', 'hash', 'salt']
module.exports = class ResourceController
constructo... | 32535 | inflection = require "inflection"
h = require('./helpers')
ObjectId = require('mongoose').Schema.Types.ObjectId
mongoose = require 'mongoose'
typeOf = h.type
util = require 'util'
propsToRemove = ['_id', '__v', 'password', '<PASSWORD>', '<PASSWORD>']
module.exports = class ResourceController
... | true | inflection = require "inflection"
h = require('./helpers')
ObjectId = require('mongoose').Schema.Types.ObjectId
mongoose = require 'mongoose'
typeOf = h.type
util = require 'util'
propsToRemove = ['_id', '__v', 'password', 'PI:PASSWORD:<PASSWORD>END_PI', 'PI:PASSWORD:<PASSWORD>END_PI']
module.e... |
[
{
"context": "# Lovingly crafted by Rohan Likhite [rohanlikhite.com]\n\ncommand: \"finger `whoami` | a",
"end": 35,
"score": 0.9999002814292908,
"start": 22,
"tag": "NAME",
"value": "Rohan Likhite"
},
{
"context": "h your name (in quotation marks, such as: name = \"rohan\") \n name ... | morning.widget/morning.coffee | imRohan/tripping-octo-tyrion | 13 | # Lovingly crafted by Rohan Likhite [rohanlikhite.com]
command: "finger `whoami` | awk -F: '{ print $3 }' | head -n1 | sed 's/^ // '"
#Refresh time (default: 1/2 minute 30000)
refreshFrequency: 30000
#Body Style
style: """
color: #fff
font-family: Helvetica Neue, Arial
.main
position: relative
width:... | 193775 | # Lovingly crafted by <NAME> [rohanlikhite.com]
command: "finger `whoami` | awk -F: '{ print $3 }' | head -n1 | sed 's/^ // '"
#Refresh time (default: 1/2 minute 30000)
refreshFrequency: 30000
#Body Style
style: """
color: #fff
font-family: Helvetica Neue, Arial
.main
position: relative
width: 100vw
... | true | # Lovingly crafted by PI:NAME:<NAME>END_PI [rohanlikhite.com]
command: "finger `whoami` | awk -F: '{ print $3 }' | head -n1 | sed 's/^ // '"
#Refresh time (default: 1/2 minute 30000)
refreshFrequency: 30000
#Body Style
style: """
color: #fff
font-family: Helvetica Neue, Arial
.main
position: relative
... |
[
{
"context": "orts = lemon.Component {\n package: 'wg'\n name: 'SkyGlider'\n class: 'webgradient'\n\n data: {\n posi",
"end": 176,
"score": 0.7753516435623169,
"start": 173,
"tag": "NAME",
"value": "Sky"
},
{
"context": "s = lemon.Component {\n package: 'wg'\n name: 'SkyGlid... | SkyGlider.coffee | lemon/lemonjs-wg | 0 |
# dependencies
Path = require 'path'
# stylesheet
require Path.resolve(__dirname, 'gradient.css')
# component
module.exports = lemon.Component {
package: 'wg'
name: 'SkyGlider'
class: 'webgradient'
data: {
position: null
}
template: (data) ->
div class: data.position, style: "background-image: ... | 182198 |
# dependencies
Path = require 'path'
# stylesheet
require Path.resolve(__dirname, 'gradient.css')
# component
module.exports = lemon.Component {
package: 'wg'
name: '<NAME>Glider'
class: 'webgradient'
data: {
position: null
}
template: (data) ->
div class: data.position, style: "background-imag... | true |
# dependencies
Path = require 'path'
# stylesheet
require Path.resolve(__dirname, 'gradient.css')
# component
module.exports = lemon.Component {
package: 'wg'
name: 'PI:NAME:<NAME>END_PIGlider'
class: 'webgradient'
data: {
position: null
}
template: (data) ->
div class: data.position, style: "b... |
[
{
"context": " new Card\n guid: 'pkmn_pikachu'\n name: 'Pikachu'\n deckLimit: 5\n description: 'Foo'\n ",
"end": 232,
"score": 0.9997117519378662,
"start": 225,
"tag": "NAME",
"value": "Pikachu"
},
{
"context": ", ->\n initialName = card.name\n card.name ... | tests/WheatonCardTest.coffee | lessthanthree/wheaton | 1 | cardClassPath = '../src/vendor/wheaton/Card'
jest.dontMock cardClassPath
describe 'Card', ->
card = undefined
beforeEach ->
Card = require cardClassPath
card = new Card
guid: 'pkmn_pikachu'
name: 'Pikachu'
deckLimit: 5
description: 'Foo'
card.emit = do jest.genMockFunction
... | 31504 | cardClassPath = '../src/vendor/wheaton/Card'
jest.dontMock cardClassPath
describe 'Card', ->
card = undefined
beforeEach ->
Card = require cardClassPath
card = new Card
guid: 'pkmn_pikachu'
name: '<NAME>'
deckLimit: 5
description: 'Foo'
card.emit = do jest.genMockFunction
... | true | cardClassPath = '../src/vendor/wheaton/Card'
jest.dontMock cardClassPath
describe 'Card', ->
card = undefined
beforeEach ->
Card = require cardClassPath
card = new Card
guid: 'pkmn_pikachu'
name: 'PI:NAME:<NAME>END_PI'
deckLimit: 5
description: 'Foo'
card.emit = do jest.genMo... |
[
{
"context": "module.exports =\n id: 'server-id'\n key: '1234'\n secret: '5678'\n",
"end": 33,
"score": 0.9337029457092285,
"start": 24,
"tag": "USERNAME",
"value": "server-id"
},
{
"context": "module.exports =\n id: 'server-id'\n key: '1234'\n secret: '5678'\n",
"end": 47,... | server/config.dev.coffee | BoLaMN/loopback-boot-di | 0 | module.exports =
id: 'server-id'
key: '1234'
secret: '5678'
| 135579 | module.exports =
id: 'server-id'
key: '<KEY>'
secret: '<KEY>'
| true | module.exports =
id: 'server-id'
key: 'PI:KEY:<KEY>END_PI'
secret: 'PI:KEY:<KEY>END_PI'
|
[
{
"context": "'use strict'\n\n\n# Key\n#\n# @copyright Andrew Lawson 2012\n# @see http://github.com/adlawson/key\n# @see",
"end": 49,
"score": 0.9998777508735657,
"start": 36,
"tag": "NAME",
"value": "Andrew Lawson"
},
{
"context": "right Andrew Lawson 2012\n# @see http://github.com/... | src/key.coffee | adlawson/coffee-key | 1 | 'use strict'
# Key
#
# @copyright Andrew Lawson 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{isRef} = require './ref'
# Namespace
key = {}
# Keycodes
key.code =
special: require './code/special'... | 68922 | 'use strict'
# Key
#
# @copyright <NAME> 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{isRef} = require './ref'
# Namespace
key = {}
# Keycodes
key.code =
special: require './code/special'
arro... | true | 'use strict'
# Key
#
# @copyright PI:NAME:<NAME>END_PI 2012
# @see http://github.com/adlawson/key
# @see http://npmjs.org/package/key
# @see http://opensource.org/licenses/mit-license.php MIT License
# Dependencies
{isRef} = require './ref'
# Namespace
key = {}
# Keycodes
key.code =
special: require './code/s... |
[
{
"context": "rue\n return\n userName=Session.get(\"pcommentsName\")\n toastr.info(userName+\"点评过的段落已为您用蓝色标注!\")",
"end": 2530,
"score": 0.9885099530220032,
"start": 2517,
"tag": "USERNAME",
"value": "pcommentsName"
},
{
"context": "Info: ()->\n user = Mete... | hotShareWeb/client/posts/showPosts.coffee | fay1986/mobile_app_server | 4 | if Meteor.isClient
@isIOS = (navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true : false)
@isWeiXinFunc = ()->
ua = window.navigator.userAgent.toLowerCase()
M = ua.match(/MicroMessenger/i)
if M and M[0] is 'micromessenger'
true
else
false
@isAndroidFunc = ()->
userAgent = navig... | 7778 | if Meteor.isClient
@isIOS = (navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true : false)
@isWeiXinFunc = ()->
ua = window.navigator.userAgent.toLowerCase()
M = ua.match(/MicroMessenger/i)
if M and M[0] is 'micromessenger'
true
else
false
@isAndroidFunc = ()->
userAgent = navig... | true | if Meteor.isClient
@isIOS = (navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true : false)
@isWeiXinFunc = ()->
ua = window.navigator.userAgent.toLowerCase()
M = ua.match(/MicroMessenger/i)
if M and M[0] is 'micromessenger'
true
else
false
@isAndroidFunc = ()->
userAgent = navig... |
[
{
"context": "myKey')).toEqual []\n store.set('myKey', 'myVal1')\n expect(store.get('myKey')).toEqual ['my",
"end": 674,
"score": 0.7864286303520203,
"start": 670,
"tag": "KEY",
"value": "Val1"
},
{
"context": "l1')\n expect(store.get('myKey')).toEqual ['myVal1']... | spec/src/store_spec.coffee | andrewberls/kona | 4 | Kona.ready ->
describe "Kona.Store", ->
# set get all concat
describe "#set/#get", ->
it "sets values correctly", ->
store = new Kona.Store()
expect(store.get('myKey')).toEqual []
expect(store.set('myKey', 'myVal1')).toEqual ['myVal1']
it "returns the value at the key se... | 12930 | Kona.ready ->
describe "Kona.Store", ->
# set get all concat
describe "#set/#get", ->
it "sets values correctly", ->
store = new Kona.Store()
expect(store.get('myKey')).toEqual []
expect(store.set('myKey', 'myVal1')).toEqual ['myVal1']
it "returns the value at the key se... | true | Kona.ready ->
describe "Kona.Store", ->
# set get all concat
describe "#set/#get", ->
it "sets values correctly", ->
store = new Kona.Store()
expect(store.get('myKey')).toEqual []
expect(store.set('myKey', 'myVal1')).toEqual ['myVal1']
it "returns the value at the key se... |
[
{
"context": " TransforMap, Laniakea\n\t\t\t\t\"\"\"\n\t\t\tauthor: \"\"\"\n\t\t\t\tJon Richter\n\t\t\t\"\"\"\n\n\t\tgetPreparedTitle: ->\n\t\t\tif @document.ti",
"end": 536,
"score": 0.9998273849487305,
"start": 525,
"tag": "NAME",
"value": "Jon Richter"
}
] | docpad.coffee | geopedia/geopedia.github.io | 0 | # DocPad Configuration File
# http://docpad.org/docs/config
# Define the DocPad Configuration
docpadConfig = {
# regeneratePaths: [
# 'src'
# ]
plugins:
ghpages:
deployRemote: 'origin'
deployBranch: 'master'
templateData:
site:
url: "http://transformap.co"
title: "TransforMap"
descr... | 21160 | # DocPad Configuration File
# http://docpad.org/docs/config
# Define the DocPad Configuration
docpadConfig = {
# regeneratePaths: [
# 'src'
# ]
plugins:
ghpages:
deployRemote: 'origin'
deployBranch: 'master'
templateData:
site:
url: "http://transformap.co"
title: "TransforMap"
descr... | true | # DocPad Configuration File
# http://docpad.org/docs/config
# Define the DocPad Configuration
docpadConfig = {
# regeneratePaths: [
# 'src'
# ]
plugins:
ghpages:
deployRemote: 'origin'
deployBranch: 'master'
templateData:
site:
url: "http://transformap.co"
title: "TransforMap"
descr... |
[
{
"context": "od: \"POST\", ->\n input type: \"hidden\", name: \"username\", value: user.username\n input type: \"hidden\"",
"end": 542,
"score": 0.9204992055892944,
"start": 534,
"tag": "USERNAME",
"value": "username"
},
{
"context": "put type: \"hidden\", name: \"username... | templates/password_reset.coffee | jaekwon/YCatalyst | 3 | exports.template = ->
if typeof @user == 'undefined'
p "Enter your email address and we'll send you a password reset link."
form action: "/password_reset", method: 'POST', ->
table ->
tr ->
td ->
label "email"
td ->
input name: "email"
tr ->
... | 191609 | exports.template = ->
if typeof @user == 'undefined'
p "Enter your email address and we'll send you a password reset link."
form action: "/password_reset", method: 'POST', ->
table ->
tr ->
td ->
label "email"
td ->
input name: "email"
tr ->
... | true | exports.template = ->
if typeof @user == 'undefined'
p "Enter your email address and we'll send you a password reset link."
form action: "/password_reset", method: 'POST', ->
table ->
tr ->
td ->
label "email"
td ->
input name: "email"
tr ->
... |
[
{
"context": "ionDays: ${4:30},\r\n \\n\\toauthSecretKey: \"${5:wgporjigrpqgdfg}\",\r\n \\n});\r\n \\nAccounts.ui.config({\r\n ",
"end": 6690,
"score": 0.9592750072479248,
"start": 6675,
"tag": "KEY",
"value": "wgporjigrpqgdfg"
},
{
"context": " var userObject = {... | snippets/meteor-api-snippets-javascript.cson | awatson1978/meteor-api | 82 | # Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to consol... | 66140 | # Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to consol... | true | # Your snippets
#
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
#
# You can create a new snippet in this file by typing "snip" and then hitting
# tab.
#
# An example CoffeeScript snippet to expand log to consol... |
[
{
"context": "is file is part of the ChinesePuzzle package.\n\n(c) Mathieu Ledru\n\nFor the full copyright and license information, ",
"end": 70,
"score": 0.999862551689148,
"start": 57,
"tag": "NAME",
"value": "Mathieu Ledru"
}
] | Common/Bin/Data/coffee/Menu/MenuLayout.coffee | matyo91/ChinesePuzzle | 1 | ###
This file is part of the ChinesePuzzle package.
(c) Mathieu Ledru
For the full copyright and license information, please view the LICENSE
file that was distributed with @ source code.
###
cpz.MenuLayoutType =
None: 0
NewGame: 1
RetryGame: 2
Hint: 3
Theme: 4
cpz.MenuTag =
Bg: 0
NewTitle: 1
NewY... | 64685 | ###
This file is part of the ChinesePuzzle package.
(c) <NAME>
For the full copyright and license information, please view the LICENSE
file that was distributed with @ source code.
###
cpz.MenuLayoutType =
None: 0
NewGame: 1
RetryGame: 2
Hint: 3
Theme: 4
cpz.MenuTag =
Bg: 0
NewTitle: 1
NewYes: 2
... | true | ###
This file is part of the ChinesePuzzle package.
(c) PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE
file that was distributed with @ source code.
###
cpz.MenuLayoutType =
None: 0
NewGame: 1
RetryGame: 2
Hint: 3
Theme: 4
cpz.MenuTag =
Bg: 0
NewTitle: 1... |
[
{
"context": "tupKeyboradHander: ->\n eventKeys = ['up','down','left','right','enter','escape']\n repeatCount",
"end": 1302,
"score": 0.6381332278251648,
"start": 1298,
"tag": "KEY",
"value": "down"
},
{
"context": "der: ->\n eventKeys = ['up','down','left','right'... | src/main/coffeescript/nz/SceneBase.coffee | fukuyama/nineteen | 2 | ###*
* @file SceneBase.coffee
* シーンベース
###
phina.define 'nz.SceneBase',
superClass: phina.display.CanvasScene
init: (options) ->
@superInit(options)
@on 'resume', ->
@_description?.show()
return
return
popMessage: (param) ->
{
message
popwait
} = {
message: ''
... | 112592 | ###*
* @file SceneBase.coffee
* シーンベース
###
phina.define 'nz.SceneBase',
superClass: phina.display.CanvasScene
init: (options) ->
@superInit(options)
@on 'resume', ->
@_description?.show()
return
return
popMessage: (param) ->
{
message
popwait
} = {
message: ''
... | true | ###*
* @file SceneBase.coffee
* シーンベース
###
phina.define 'nz.SceneBase',
superClass: phina.display.CanvasScene
init: (options) ->
@superInit(options)
@on 'resume', ->
@_description?.show()
return
return
popMessage: (param) ->
{
message
popwait
} = {
message: ''
... |
[
{
"context": "postmeta pm on p.ID = pm.post_id and pm.meta_key = \"_wp_attached_file\" where p.ID not in (select object_id from wp_geo_",
"end": 327,
"score": 0.9977788329124451,
"start": 309,
"tag": "KEY",
"value": "\"_wp_attached_file"
}
] | src/index.coffee | SocialDecode/wp_postlocator | 0 | #!/usr/bin/env coffee
config = require '../config.json'
mysql = require 'mysql'
async = require 'async'
cox = mysql.createConnection(config.mysql)
cox.connect()
todo = 2
cox.query 'select p.ID, pm.meta_value, p.post_type from wp_posts as p inner join wp_postmeta pm on p.ID = pm.post_id and pm.meta_key = "_wp_attach... | 165518 | #!/usr/bin/env coffee
config = require '../config.json'
mysql = require 'mysql'
async = require 'async'
cox = mysql.createConnection(config.mysql)
cox.connect()
todo = 2
cox.query 'select p.ID, pm.meta_value, p.post_type from wp_posts as p inner join wp_postmeta pm on p.ID = pm.post_id and pm.meta_key = <KEY>" wher... | true | #!/usr/bin/env coffee
config = require '../config.json'
mysql = require 'mysql'
async = require 'async'
cox = mysql.createConnection(config.mysql)
cox.connect()
todo = 2
cox.query 'select p.ID, pm.meta_value, p.post_type from wp_posts as p inner join wp_postmeta pm on p.ID = pm.post_id and pm.meta_key = PI:KEY:<KEY... |
[
{
"context": "nal notes required for the script>\n#\n# Author:\n# Felipe Oliveira[@<org>]\n\nmodule.exports = (robot) ->\n robot.rout",
"end": 299,
"score": 0.9998645782470703,
"start": 284,
"tag": "NAME",
"value": "Felipe Oliveira"
}
] | src/bitbucket-pullrequest.coffee | felipecvo/hubot-bitbucket-pullrequest | 0 | # Description
# A hubot script that notifies pull requests
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# Felipe Oliveira[@<org>]
module.expo... | 187883 | # Description
# A hubot script that notifies pull requests
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# <NAME>[@<org>]
module.exports = (ro... | true | # Description
# A hubot script that notifies pull requests
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# PI:NAME:<NAME>END_PI[@<org>]
module... |
[
{
"context": "son =\n 'id': '1234'\n 'account_id': '1234'\n 'test_number': 4\n 'test_boolean':",
"end": 2286,
"score": 0.9646180868148804,
"start": 2282,
"tag": "KEY",
"value": "1234"
},
{
"context": "ction, {\n id: \"1234\",\n account_id: \"... | spec/restful-model-spec.coffee | lever/nylas-nodejs | 0 | Nylas = require '../nylas'
NylasConnection = require '../nylas-connection'
RestfulModel = require '../models/restful-model'
Attributes = require '../models/attributes'
Promise = require 'bluebird'
request = require 'request'
_ = require 'underscore'
class RestfulSubclassA extends RestfulModel
class RestfulSubclassB e... | 77211 | Nylas = require '../nylas'
NylasConnection = require '../nylas-connection'
RestfulModel = require '../models/restful-model'
Attributes = require '../models/attributes'
Promise = require 'bluebird'
request = require 'request'
_ = require 'underscore'
class RestfulSubclassA extends RestfulModel
class RestfulSubclassB e... | true | Nylas = require '../nylas'
NylasConnection = require '../nylas-connection'
RestfulModel = require '../models/restful-model'
Attributes = require '../models/attributes'
Promise = require 'bluebird'
request = require 'request'
_ = require 'underscore'
class RestfulSubclassA extends RestfulModel
class RestfulSubclassB e... |
[
{
"context": " user: _config.username,\n password: _config.password\n })\n .then((serverMessage) =>\n ",
"end": 2188,
"score": 0.8370804190635681,
"start": 2173,
"tag": "PASSWORD",
"value": "config.password"
},
{
"context": "o = @config.to ? @config.add... | save.coffee | bertreb/pimatic-save | 1 | module.exports = (env) ->
events = env.require 'events'
fs = require 'fs'
path = require 'path'
FtpClient = require 'promise-ftp'
#Dropbox = require('dropbox').Dropbox
nodemailer = require('nodemailer')
fetch = require 'isomorphic-fetch'
M = env.matcher
_ = require 'lodash'
dateFormat = require('da... | 151783 | module.exports = (env) ->
events = env.require 'events'
fs = require 'fs'
path = require 'path'
FtpClient = require 'promise-ftp'
#Dropbox = require('dropbox').Dropbox
nodemailer = require('nodemailer')
fetch = require 'isomorphic-fetch'
M = env.matcher
_ = require 'lodash'
dateFormat = require('da... | true | module.exports = (env) ->
events = env.require 'events'
fs = require 'fs'
path = require 'path'
FtpClient = require 'promise-ftp'
#Dropbox = require('dropbox').Dropbox
nodemailer = require('nodemailer')
fetch = require 'isomorphic-fetch'
M = env.matcher
_ = require 'lodash'
dateFormat = require('da... |
[
{
"context": "data-src=\"foo\"><img data-src=\"bar\"><img data-src=\"barney\"><img data-src=\"baz\"></div>'\n\n describe 'with ",
"end": 179,
"score": 0.9278421998023987,
"start": 173,
"tag": "NAME",
"value": "barney"
},
{
"context": "foo\"><img data-index=\"1\" src=\"bar\"><img d... | test/spec/components/ui/image_loader_spec.coffee | rentpath/gallery.js | 0 | define [ 'jquery' ], ($) ->
describeComponent 'app/coffeescript/components/ui/image_loader', ->
fixture = '<div><img data-src="foo"><img data-src="bar"><img data-src="barney"><img data-src="baz"></div>'
describe 'with lazyLoadThreshold', ->
beforeEach ->
@setupComponent(fixture, { lazyLoadThres... | 36235 | define [ 'jquery' ], ($) ->
describeComponent 'app/coffeescript/components/ui/image_loader', ->
fixture = '<div><img data-src="foo"><img data-src="bar"><img data-src="<NAME>"><img data-src="baz"></div>'
describe 'with lazyLoadThreshold', ->
beforeEach ->
@setupComponent(fixture, { lazyLoadThres... | true | define [ 'jquery' ], ($) ->
describeComponent 'app/coffeescript/components/ui/image_loader', ->
fixture = '<div><img data-src="foo"><img data-src="bar"><img data-src="PI:NAME:<NAME>END_PI"><img data-src="baz"></div>'
describe 'with lazyLoadThreshold', ->
beforeEach ->
@setupComponent(fixture, {... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998393058776855,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | src/Scope.coffee | sjorek/goatee-script.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... | 211484 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": "tions =\n alias:\n 'r': 'remote_port'\n 'k': 'password',\n 'c': 'config_file',\n 'm': 'method'\n str",
"end": 326,
"score": 0.7738746404647827,
"start": 318,
"tag": "PASSWORD",
"value": "password"
}
] | src/server.coffee | rainx/shadowsocks_r_node_cloud | 1 | net = require("net")
fs = require("fs")
path = require("path")
http = require("http")
parseArgs = require("minimist")
Encryptor = require("./encrypt").Encryptor
ProtocolAuth = require("./ProtocolAuth").ProtocolAuth
ServerInfo = require('./ProtocolAuth').ServerInfo
options =
alias:
'r': 'remote_port'
'k': 'pa... | 95853 | net = require("net")
fs = require("fs")
path = require("path")
http = require("http")
parseArgs = require("minimist")
Encryptor = require("./encrypt").Encryptor
ProtocolAuth = require("./ProtocolAuth").ProtocolAuth
ServerInfo = require('./ProtocolAuth').ServerInfo
options =
alias:
'r': 'remote_port'
'k': '<P... | true | net = require("net")
fs = require("fs")
path = require("path")
http = require("http")
parseArgs = require("minimist")
Encryptor = require("./encrypt").Encryptor
ProtocolAuth = require("./ProtocolAuth").ProtocolAuth
ServerInfo = require('./ProtocolAuth').ServerInfo
options =
alias:
'r': 'remote_port'
'k': 'PI... |
[
{
"context": "n\n\ncola.util.cancelDelay = (owner, name) ->\n\tkey = \"_timer_\" + name\n\ttimerId = owner[key]\n\tif timerId\n\t\tdelete",
"end": 2459,
"score": 0.982031524181366,
"start": 2450,
"tag": "KEY",
"value": "\"_timer_\""
}
] | src/core/util.coffee | BennyBao/cola-dorado7 | 0 | #IMPORT_BEGIN
if exports?
cola = require("./keyed-array")
module?.exports = cola
else
cola = @cola
#IMPORT_END
cola.util.trim = (text) ->
return if text? then String.prototype.trim.call(text) else ""
cola.util.capitalize = (text) ->
return text unless text
return text.charAt(0).toUpperCase() + text.slice(1);
c... | 105882 | #IMPORT_BEGIN
if exports?
cola = require("./keyed-array")
module?.exports = cola
else
cola = @cola
#IMPORT_END
cola.util.trim = (text) ->
return if text? then String.prototype.trim.call(text) else ""
cola.util.capitalize = (text) ->
return text unless text
return text.charAt(0).toUpperCase() + text.slice(1);
c... | true | #IMPORT_BEGIN
if exports?
cola = require("./keyed-array")
module?.exports = cola
else
cola = @cola
#IMPORT_END
cola.util.trim = (text) ->
return if text? then String.prototype.trim.call(text) else ""
cola.util.capitalize = (text) ->
return text unless text
return text.charAt(0).toUpperCase() + text.slice(1);
c... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998926520347595,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/routes/userRouter.coffee | AbdelhakimRafik/Project | 1 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date June 2021
###
userController = require '../app/controllers/userController'
checkRole = require '../app/middlewares/roleMiddleware'
# export
module.exports = (router) ->
# ad... | 56277 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date June 2021
###
userController = require '../app/controllers/userController'
checkRole = require '../app/middlewares/roleMiddleware'
# export
module.exports = (router) ->
# add new user
router.p... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date June 2021
###
userController = require '../app/controllers/userController'
checkRole = require '../app/middlewares/roleMiddleware'
# export
module.exports = (router) -... |
[
{
"context": " parent model\", 5, ->\n store = new @Store name: 'Zellers'\n product1 = new @Product name: 'Gizmo'\n produc",
"end": 4017,
"score": 0.9852926135063171,
"start": 4010,
"tag": "NAME",
"value": "Zellers"
},
{
"context": " name: 'Zellers'\n product1 = new @Product name... | tests/batman/model/associations/has_many_test.coffee | airhorns/batman | 1 | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter, generateSorterOnProperty} = if typeof require isnt 'undefined' then require '../model_helper' else window
helpers = if typeof require is 'undefined' then window.viewHelpers else require '../../view/view_helper'
QUnit.module "Batman.Model hasMany Assoc... | 206978 | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter, generateSorterOnProperty} = if typeof require isnt 'undefined' then require '../model_helper' else window
helpers = if typeof require is 'undefined' then window.viewHelpers else require '../../view/view_helper'
QUnit.module "Batman.Model hasMany Assoc... | true | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter, generateSorterOnProperty} = if typeof require isnt 'undefined' then require '../model_helper' else window
helpers = if typeof require is 'undefined' then window.viewHelpers else require '../../view/view_helper'
QUnit.module "Batman.Model hasMany Assoc... |
[
{
"context": "collection.add(collection.parse({id: 'b4', name: 'John', number: '555-555-5558', date: new Date(1940, 10",
"end": 2047,
"score": 0.9998192191123962,
"start": 2043,
"tag": "NAME",
"value": "John"
},
{
"context": " # get\n assert.equal(view_model.name(), 'John', ... | test/knockback/defaults/test.coffee | npmcomponent/kmalakoff-knockback | 1 | describe 'knockback-defaults.js', ->
ko = window.ko or require?('knockout')
kb = window.kb or require?('knockback')
_ = kb._
Backbone = kb.Backbone
require?('knockback-examples-localization')
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.ok(!!kb.Model... | 187869 | describe 'knockback-defaults.js', ->
ko = window.ko or require?('knockout')
kb = window.kb or require?('knockback')
_ = kb._
Backbone = kb.Backbone
require?('knockback-examples-localization')
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.ok(!!kb.Model... | true | describe 'knockback-defaults.js', ->
ko = window.ko or require?('knockout')
kb = window.kb or require?('knockback')
_ = kb._
Backbone = kb.Backbone
require?('knockback-examples-localization')
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.ok(!!kb.Model... |
[
{
"context": "son'\n characterSize: 24\n Goobbue.key =\n W: 87\n D: 68\n S: 83\n A: 65\n Goobbue.objects =",
"end": 252,
"score": 0.7471780180931091,
"start": 250,
"tag": "KEY",
"value": "87"
},
{
"context": "haracterSize: 24\n Goobbue.key =\n W: 87\n D: 68\n ... | src/coffee/app.coffee | slightair/goobbue-prototype | 2 | window.Goobbue = {}
$ ->
Goobbue.CE = CE.defines('world-canvas').
extend(Input).
extend(Tiled).
ready -> Goobbue.CE.Scene.call "WorldScene"
Goobbue.settings =
mapFile: '/api/map.json'
characterSize: 24
Goobbue.key =
W: 87
D: 68
S: 83
A: 65
Goobbue.objects =
startPosition... | 127441 | window.Goobbue = {}
$ ->
Goobbue.CE = CE.defines('world-canvas').
extend(Input).
extend(Tiled).
ready -> Goobbue.CE.Scene.call "WorldScene"
Goobbue.settings =
mapFile: '/api/map.json'
characterSize: 24
Goobbue.key =
W: <KEY>
D: <KEY>
S: <KEY>
A: 6<KEY>
Goobbue.objects =
... | true | window.Goobbue = {}
$ ->
Goobbue.CE = CE.defines('world-canvas').
extend(Input).
extend(Tiled).
ready -> Goobbue.CE.Scene.call "WorldScene"
Goobbue.settings =
mapFile: '/api/map.json'
characterSize: 24
Goobbue.key =
W: PI:KEY:<KEY>END_PI
D: PI:KEY:<KEY>END_PI
S: PI:KEY:<KEY>END_PI... |
[
{
"context": "\n ipcRenderer.send 'login',\n username: @.username\n password: @.password\n ->\n documen",
"end": 305,
"score": 0.9885579943656921,
"start": 295,
"tag": "USERNAME",
"value": "@.username"
},
{
"context": "n',\n username: @.username\n ... | src/renderer.coffee | ndxbxrme/rsafe | 0 | glob = require 'glob'
path = require 'path'
yma = require 'yma'
{ipcRenderer} = require 'electron'
console.log 'hey'
yma.route '/', ->
templateUrl: 'app/routes/login/login.html'
controller: ->
@.submit = (e) =>
e.preventDefault()
ipcRenderer.send 'login',
username: @.username
passwo... | 97890 | glob = require 'glob'
path = require 'path'
yma = require 'yma'
{ipcRenderer} = require 'electron'
console.log 'hey'
yma.route '/', ->
templateUrl: 'app/routes/login/login.html'
controller: ->
@.submit = (e) =>
e.preventDefault()
ipcRenderer.send 'login',
username: @.username
passwo... | true | glob = require 'glob'
path = require 'path'
yma = require 'yma'
{ipcRenderer} = require 'electron'
console.log 'hey'
yma.route '/', ->
templateUrl: 'app/routes/login/login.html'
controller: ->
@.submit = (e) =>
e.preventDefault()
ipcRenderer.send 'login',
username: @.username
passwo... |
[
{
"context": "es = {\n page_title: 'Login'\n username: 'admin'\n }\n\n # renderValues['csrf_token'] = req.cs",
"end": 617,
"score": 0.9982284903526306,
"start": 612,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "Login: (req, res, next)=>\n username = req.bod... | src/admin_app/controller/login.coffee | RaghavendhraK/daily_sales | 0 | Controller = require '../controller'
LoginModel = require '../../models/internal_storage/login'
Is = require 'is_js'
class LoginController extends Controller
constructor: () ->
super()
@loginModel = new LoginModel
setupRoutes: (server) ->
server.get('/login', @checkAuthentication, @index)
server... | 27611 | Controller = require '../controller'
LoginModel = require '../../models/internal_storage/login'
Is = require 'is_js'
class LoginController extends Controller
constructor: () ->
super()
@loginModel = new LoginModel
setupRoutes: (server) ->
server.get('/login', @checkAuthentication, @index)
server... | true | Controller = require '../controller'
LoginModel = require '../../models/internal_storage/login'
Is = require 'is_js'
class LoginController extends Controller
constructor: () ->
super()
@loginModel = new LoginModel
setupRoutes: (server) ->
server.get('/login', @checkAuthentication, @index)
server... |
[
{
"context": "###*\n* The MicroRacing game object\n*\n* @author David Jegat <david.jegat@gmail.com>\n###\nclass Game\n ###*\n *",
"end": 58,
"score": 0.9998761415481567,
"start": 47,
"tag": "NAME",
"value": "David Jegat"
},
{
"context": " MicroRacing game object\n*\n* @author David... | src/Game.coffee | Djeg/MicroRacing | 1 | ###*
* The MicroRacing game object
*
* @author David Jegat <david.jegat@gmail.com>
###
class Game
###*
* Automatically resize canvas area to feet the screen
*
* @static
* @param {string} selector, the canvas selector
###
@resizeCanvas: (selector) ->
canvas = $(selector)
w = canvas.width... | 145739 | ###*
* The MicroRacing game object
*
* @author <NAME> <<EMAIL>>
###
class Game
###*
* Automatically resize canvas area to feet the screen
*
* @static
* @param {string} selector, the canvas selector
###
@resizeCanvas: (selector) ->
canvas = $(selector)
w = canvas.width()
h = ... | true | ###*
* The MicroRacing game object
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
class Game
###*
* Automatically resize canvas area to feet the screen
*
* @static
* @param {string} selector, the canvas selector
###
@resizeCanvas: (selector) ->
canvas = $(selector)
w = ca... |
[
{
"context": "n\"\n\n uploader = new Uploader\n accessKey: \"test-accessKey\"\n secretKey: \"test-secretKey\"\n bucke",
"end": 286,
"score": 0.8339647650718689,
"start": 275,
"tag": "KEY",
"value": "test-access"
},
{
"context": " accessKey: \"test-accessKey\"\n ... | test/uploader-test.coffee | KarolisL/s3-streaming-upload | 0 | {assert} = require 'chai'
{Uploader} = require '../src/uploader'
describe 'Setup file upload test', ->
source = undefined
uploader = undefined
before (done) ->
source = new Buffer "key;value\ntest;1\nexample;2\n"
uploader = new Uploader
accessKey: "test-accessKey"
secretKey: "test-secret... | 211989 | {assert} = require 'chai'
{Uploader} = require '../src/uploader'
describe 'Setup file upload test', ->
source = undefined
uploader = undefined
before (done) ->
source = new Buffer "key;value\ntest;1\nexample;2\n"
uploader = new Uploader
accessKey: "<KEY>Key"
secretKey: "<KEY>Key"
b... | true | {assert} = require 'chai'
{Uploader} = require '../src/uploader'
describe 'Setup file upload test', ->
source = undefined
uploader = undefined
before (done) ->
source = new Buffer "key;value\ntest;1\nexample;2\n"
uploader = new Uploader
accessKey: "PI:KEY:<KEY>END_PIKey"
secretKey: "PI:K... |
[
{
"context": "###################################\n#\n# Created by Markus on 7/12/2017.\n#\n#################################",
"end": 75,
"score": 0.9994062185287476,
"start": 69,
"tag": "NAME",
"value": "Markus"
}
] | server/2_tools/server_status.coffee | agottschalk10/worklearn | 0 | #####################################################
#
# Created by Markus on 7/12/2017.
#
#####################################################
#####################################################
@get_environment = () ->
if(process.env.ROOT_URL == "http://localhost:3000/")
return "local"
else
return "live" | 107369 | #####################################################
#
# Created by <NAME> on 7/12/2017.
#
#####################################################
#####################################################
@get_environment = () ->
if(process.env.ROOT_URL == "http://localhost:3000/")
return "local"
else
return "live" | true | #####################################################
#
# Created by PI:NAME:<NAME>END_PI on 7/12/2017.
#
#####################################################
#####################################################
@get_environment = () ->
if(process.env.ROOT_URL == "http://localhost:3000/")
return "local"
else
... |
[
{
"context": "\t\t\t\t# layer.addChild(draft.group)\n\t\t\t\t\t\n\t\t\t\t\t# $(@currentDrawing.svg).parent().parent().hide()\n\t\t\t\t\t\n\n\t\t\t\t\t",
"end": 6924,
"score": 0.5501940250396729,
"start": 6917,
"tag": "EMAIL",
"value": "current"
},
{
"context": "dChild(draft.group)\n\... | coffee/Loader.coffee | arthursw/comme-un-dessein-client | 0 | define ['paper', 'R', 'Utils/Utils', 'Commands/Command', 'Items/Item', 'UI/ModuleLoader', 'Items/Drawing', 'Items/Divs/Text' ], (P, R, Utils, Command, Item, ModuleLoader, Drawing, Text) ->
# define ['paper', 'R', 'Utils/Utils', 'Commands/Command', 'Items/Item', 'UI/ModuleLoader', 'Items/Lock', 'Items/Divs/Div', 'Items/... | 102637 | define ['paper', 'R', 'Utils/Utils', 'Commands/Command', 'Items/Item', 'UI/ModuleLoader', 'Items/Drawing', 'Items/Divs/Text' ], (P, R, Utils, Command, Item, ModuleLoader, Drawing, Text) ->
# define ['paper', 'R', 'Utils/Utils', 'Commands/Command', 'Items/Item', 'UI/ModuleLoader', 'Items/Lock', 'Items/Divs/Div', 'Items/... | true | define ['paper', 'R', 'Utils/Utils', 'Commands/Command', 'Items/Item', 'UI/ModuleLoader', 'Items/Drawing', 'Items/Divs/Text' ], (P, R, Utils, Command, Item, ModuleLoader, Drawing, Text) ->
# define ['paper', 'R', 'Utils/Utils', 'Commands/Command', 'Items/Item', 'UI/ModuleLoader', 'Items/Lock', 'Items/Divs/Div', 'Items/... |
[
{
"context": "ay, I'll deploy `test` branch of 'git@your_server.com:organization/project.git'. Check deployment logs ",
"end": 1142,
"score": 0.5203239917755127,
"start": 1139,
"tag": "EMAIL",
"value": "com"
}
] | spec/hubot-chatops-spec.coffee | emilsoman/hubot-chatops | 1 | bot = require 'mock-hubot'
script = require '../src/hubot-chatops.coffee'
nock = require 'nock'
describe 'hubot-chatops', ->
beforeEach (done) ->
# Initialize mock-hubot and load the hubot script
bot.start ->
bot.learn script
nock("#{process.env.DEPLOYER_URL}")
.post('/deploy')
.r... | 100840 | bot = require 'mock-hubot'
script = require '../src/hubot-chatops.coffee'
nock = require 'nock'
describe 'hubot-chatops', ->
beforeEach (done) ->
# Initialize mock-hubot and load the hubot script
bot.start ->
bot.learn script
nock("#{process.env.DEPLOYER_URL}")
.post('/deploy')
.r... | true | bot = require 'mock-hubot'
script = require '../src/hubot-chatops.coffee'
nock = require 'nock'
describe 'hubot-chatops', ->
beforeEach (done) ->
# Initialize mock-hubot and load the hubot script
bot.start ->
bot.learn script
nock("#{process.env.DEPLOYER_URL}")
.post('/deploy')
.r... |
[
{
"context": "###\n background.js 0.3.3\n (c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/background/\n Licen",
"end": 57,
"score": 0.9997689723968506,
"start": 43,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "js 0.3.3\n (c) 2011, 2012 Kevin Malakoff - ht... | src/background_core.coffee | kmalakoff/background | 36 | ###
background.js 0.3.3
(c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/background/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
root = @
# export or create Background namespace
Background = @Background = if (typeof(exports) != 'undefined') then exports else {}
Background.VE... | 164223 | ###
background.js 0.3.3
(c) 2011, 2012 <NAME> - http://kmalakoff.github.com/background/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
root = @
# export or create Background namespace
Background = @Background = if (typeof(exports) != 'undefined') then exports else {}
Background.VERSION = ... | true | ###
background.js 0.3.3
(c) 2011, 2012 PI:NAME:<NAME>END_PI - http://kmalakoff.github.com/background/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
root = @
# export or create Background namespace
Background = @Background = if (typeof(exports) != 'undefined') then exports else {}
Backgro... |
[
{
"context": "en (res) =>\n @client.channels.create(key: 'testchannel').then (result) ->\n testChannel = result",
"end": 12641,
"score": 0.902249276638031,
"start": 12630,
"tag": "KEY",
"value": "testchannel"
},
{
"context": "en (res) =>\n @client.channels.crea... | src/spec/integration.spec.coffee | wkrugiolka/sphere-stock-import | 0 | _ = require 'underscore'
{ExtendedLogger} = require 'sphere-node-utils'
package_json = require '../package.json'
Config = require '../config'
StockImport = require '../lib/stockimport'
{customTypePayload1, customTypePayload2, customTypePayload3} = require './helper-customTypePayload.spec'
{ cleanup } = require './utils... | 69154 | _ = require 'underscore'
{ExtendedLogger} = require 'sphere-node-utils'
package_json = require '../package.json'
Config = require '../config'
StockImport = require '../lib/stockimport'
{customTypePayload1, customTypePayload2, customTypePayload3} = require './helper-customTypePayload.spec'
{ cleanup } = require './utils... | true | _ = require 'underscore'
{ExtendedLogger} = require 'sphere-node-utils'
package_json = require '../package.json'
Config = require '../config'
StockImport = require '../lib/stockimport'
{customTypePayload1, customTypePayload2, customTypePayload3} = require './helper-customTypePayload.spec'
{ cleanup } = require './utils... |
[
{
"context": "arr.push \" addr = server.address() or {address: '0.0.0.0', port: argv[0] or 8000}\"\narr.push \" router.log ",
"end": 2151,
"score": 0.998960018157959,
"start": 2144,
"tag": "IP_ADDRESS",
"value": "0.0.0.0"
},
{
"context": "se) {\n return response.end(\"Hello, ... | service/node_modules/node-simple-router/src/mk-server.coffee | sesam-community/slack | 21 | #!/usr/bin/env coffee
arr = []
arr.push "#!/usr/bin/env coffee"
arr.push "\n"
arr.push "try"
arr.push " Router = require 'node-simple-router'"
arr.push "catch e"
arr.push " console.log 'node-simple-router must be installed for this to work'"
arr.push " process.exit(-1)\n"
arr.push "http = require 'http'"
arr.push "... | 120191 | #!/usr/bin/env coffee
arr = []
arr.push "#!/usr/bin/env coffee"
arr.push "\n"
arr.push "try"
arr.push " Router = require 'node-simple-router'"
arr.push "catch e"
arr.push " console.log 'node-simple-router must be installed for this to work'"
arr.push " process.exit(-1)\n"
arr.push "http = require 'http'"
arr.push "... | true | #!/usr/bin/env coffee
arr = []
arr.push "#!/usr/bin/env coffee"
arr.push "\n"
arr.push "try"
arr.push " Router = require 'node-simple-router'"
arr.push "catch e"
arr.push " console.log 'node-simple-router must be installed for this to work'"
arr.push " process.exit(-1)\n"
arr.push "http = require 'http'"
arr.push "... |
[
{
"context": "ta\n auth: {username: \"#{@key}\", password: \"#{@key}\"}\n headers:\n accept : \"application/vn",
"end": 926,
"score": 0.8845140337944031,
"start": 922,
"tag": "PASSWORD",
"value": "@key"
}
] | src/komodo.coffee | cmoncrief/komodo | 0 | request = require 'request'
baseAPI = "https://api.heroku.com/apps"
routes =
scale : {url: "/formation", method: 'PATCH'}
stop : {url: "/formation", method: 'PATCH'}
list : {url: "/formation", method: 'GET'}
class Komodo
constructor: (@key, @app) ->
auth: (key, app) ->
@key = key
@app = ... | 168995 | request = require 'request'
baseAPI = "https://api.heroku.com/apps"
routes =
scale : {url: "/formation", method: 'PATCH'}
stop : {url: "/formation", method: 'PATCH'}
list : {url: "/formation", method: 'GET'}
class Komodo
constructor: (@key, @app) ->
auth: (key, app) ->
@key = key
@app = ... | true | request = require 'request'
baseAPI = "https://api.heroku.com/apps"
routes =
scale : {url: "/formation", method: 'PATCH'}
stop : {url: "/formation", method: 'PATCH'}
list : {url: "/formation", method: 'GET'}
class Komodo
constructor: (@key, @app) ->
auth: (key, app) ->
@key = key
@app = ... |
[
{
"context": "de options.body}\">\n <meta name=\"author\" content=\"Koding\">\n <meta name=\"robots\" content=\"noodp,noydir\" />",
"end": 840,
"score": 0.9593212604522705,
"start": 834,
"tag": "NAME",
"value": "Koding"
},
{
"context": "t\" content=\"!\">\n\n <meta itemprop=\"name... | workers/social/lib/social/render/graphmeta.coffee | ezgikaysi/koding | 1 | encoder = require 'htmlencode'
{ uri, domains, client: { version } } = require 'koding-config-manager'
module.exports = (options = {}) ->
options.title ?= 'Koding | Say goodbye to your localhost and write code in the cloud.'
options.shareUrl ?= "https://#{domains.base}"
options.image ?= "#{uri.address}/a/images... | 147823 | encoder = require 'htmlencode'
{ uri, domains, client: { version } } = require 'koding-config-manager'
module.exports = (options = {}) ->
options.title ?= 'Koding | Say goodbye to your localhost and write code in the cloud.'
options.shareUrl ?= "https://#{domains.base}"
options.image ?= "#{uri.address}/a/images... | true | encoder = require 'htmlencode'
{ uri, domains, client: { version } } = require 'koding-config-manager'
module.exports = (options = {}) ->
options.title ?= 'Koding | Say goodbye to your localhost and write code in the cloud.'
options.shareUrl ?= "https://#{domains.base}"
options.image ?= "#{uri.address}/a/images... |
[
{
"context": "##\n Underscore-Awesomer.js 1.2.4\n (c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/underscore-awesomer",
"end": 66,
"score": 0.9998650550842285,
"start": 52,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "js 1.2.4\n (c) 2011, 2012 Kevin Malako... | src/underscore-awesomer.coffee | kmalakoff/underscore-awesomer | 2 | ###
Underscore-Awesomer.js 1.2.4
(c) 2011, 2012 Kevin Malakoff - http://kmalakoff.github.com/underscore-awesomer/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Underscore-Awesomer provides extensions to the Underscore library: http:#documentcloud.github.com/underscore
Note: some code fro... | 104542 | ###
Underscore-Awesomer.js 1.2.4
(c) 2011, 2012 <NAME> - http://kmalakoff.github.com/underscore-awesomer/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Underscore-Awesomer provides extensions to the Underscore library: http:#documentcloud.github.com/underscore
Note: some code from Unders... | true | ###
Underscore-Awesomer.js 1.2.4
(c) 2011, 2012 PI:NAME:<NAME>END_PI - http://kmalakoff.github.com/underscore-awesomer/
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Underscore-Awesomer provides extensions to the Underscore library: http:#documentcloud.github.com/underscore
Note: some co... |
[
{
"context": "th:\n uuid: 'cred-uuid'\n token: 'cred-token'\n\n @sut.add slurry, => console.log 'added sl",
"end": 2008,
"score": 0.9818875789642334,
"start": 1998,
"tag": "PASSWORD",
"value": "cred-token"
}
] | test/multi-spreader-spec.coffee | octoblu/slurry-spreader-core | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
async = require 'async'
fs = require 'fs'
redis = require 'ioredis'
_ = require 'lodash'
Encryption = require 'meshblu-encryption'
RedisNS = require '@octoblu/redis-ns'
path = require... | 198871 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
async = require 'async'
fs = require 'fs'
redis = require 'ioredis'
_ = require 'lodash'
Encryption = require 'meshblu-encryption'
RedisNS = require '@octoblu/redis-ns'
path = require... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
async = require 'async'
fs = require 'fs'
redis = require 'ioredis'
_ = require 'lodash'
Encryption = require 'meshblu-encryption'
RedisNS = require '@octoblu/redis-ns'
path = require... |
[
{
"context": "atus: 200, responseText: JSON.stringify({ email: 'some@email.com' })}\n}\n\nxdescribe 'CreateAccountModal', ->\n \n m",
"end": 539,
"score": 0.9999099969863892,
"start": 525,
"tag": "EMAIL",
"value": "some@email.com"
},
{
"context": ")\n owner: factories.... | test/app/views/core/CreateAccountModal.spec.coffee | adamcsillag/codecombat | 1 | CreateAccountModal = require 'views/core/CreateAccountModal'
Classroom = require 'models/Classroom'
#COPPADenyModal = require 'views/core/COPPADenyModal'
forms = require 'core/forms'
factories = require 'test/app/factories'
# TODO: Figure out why these tests break Travis. Suspect it has to do with the
# asynchronous, ... | 75608 | CreateAccountModal = require 'views/core/CreateAccountModal'
Classroom = require 'models/Classroom'
#COPPADenyModal = require 'views/core/COPPADenyModal'
forms = require 'core/forms'
factories = require 'test/app/factories'
# TODO: Figure out why these tests break Travis. Suspect it has to do with the
# asynchronous, ... | true | CreateAccountModal = require 'views/core/CreateAccountModal'
Classroom = require 'models/Classroom'
#COPPADenyModal = require 'views/core/COPPADenyModal'
forms = require 'core/forms'
factories = require 'test/app/factories'
# TODO: Figure out why these tests break Travis. Suspect it has to do with the
# asynchronous, ... |
[
{
"context": "\"\n\nnetuno.callbacks =\n create: (func)->\n key = netuno.newUid()\n netuno.callbacks[key] = func\n ret",
"end": 719,
"score": 0.6190924048423767,
"start": 713,
"tag": "KEY",
"value": "netuno"
},
{
"context": "o.callbacks =\n create: (func)->\n key = netu... | bundle/base/web/netuno/scripts/sbadmin4/netuno/core.coffee | netuno-org/platform | 19 |
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": true,
"progressBar": false,
"positionClass": "toast-top-center",
"preventDuplicates": true,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "3000",
"extendedTimeOut": "1000",
"showEasing": "swing",... | 85143 |
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": true,
"progressBar": false,
"positionClass": "toast-top-center",
"preventDuplicates": true,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "3000",
"extendedTimeOut": "1000",
"showEasing": "swing",... | true |
toastr.options = {
"closeButton": true,
"debug": false,
"newestOnTop": true,
"progressBar": false,
"positionClass": "toast-top-center",
"preventDuplicates": true,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "3000",
"extendedTimeOut": "1000",
"showEasing": "swing",... |
[
{
"context": "= goobi_api_url + '/processes/search?token=' + goobi_endpoint_token + '&field='+that.getCustomSchemaSe",
"end": 2803,
"score": 0.5003449320793152,
"start": 2801,
"tag": "KEY",
"value": "bi"
},
{
"context": "oobi_api_url + '/processes/search?token=' + goobi_endpoint_toke... | src/webfrontend/CustomDataTypeGoobi.coffee | programmfabrik/easydb-custom-data-type-goobi | 0 | #######################################################################
# loadCSS
ez5.session_ready =>
ez5.pluginManager.getPlugin("custom-data-type-goobi").loadCss()
class CustomDataTypeGoobi extends CustomDataTypeWithCommons
#######################################################################
# bugfix, m... | 30913 | #######################################################################
# loadCSS
ez5.session_ready =>
ez5.pluginManager.getPlugin("custom-data-type-goobi").loadCss()
class CustomDataTypeGoobi extends CustomDataTypeWithCommons
#######################################################################
# bugfix, m... | true | #######################################################################
# loadCSS
ez5.session_ready =>
ez5.pluginManager.getPlugin("custom-data-type-goobi").loadCss()
class CustomDataTypeGoobi extends CustomDataTypeWithCommons
#######################################################################
# bugfix, m... |
[
{
"context": "# Droplet Python mode\n#\n# Copyright (c) 2015 Anthony Bau\n# MIT License\n\nhelper = require '../helper.coffee",
"end": 56,
"score": 0.9998437166213989,
"start": 45,
"tag": "NAME",
"value": "Anthony Bau"
}
] | src/languages/shell2.coffee | takeratta/droplet | 145 | # Droplet Python mode
#
# Copyright (c) 2015 Anthony Bau
# MIT License
helper = require '../helper.coffee'
model = require '../model.coffee'
parser = require '../parser.coffee'
treewalk = require '../treewalk.coffee'
skulpt = require '../../vendor/skulpt'
# PARSER SECTION
parse = (context, text) ->
result = transf... | 203910 | # Droplet Python mode
#
# Copyright (c) 2015 <NAME>
# MIT License
helper = require '../helper.coffee'
model = require '../model.coffee'
parser = require '../parser.coffee'
treewalk = require '../treewalk.coffee'
skulpt = require '../../vendor/skulpt'
# PARSER SECTION
parse = (context, text) ->
result = transform s... | true | # Droplet Python mode
#
# Copyright (c) 2015 PI:NAME:<NAME>END_PI
# MIT License
helper = require '../helper.coffee'
model = require '../model.coffee'
parser = require '../parser.coffee'
treewalk = require '../treewalk.coffee'
skulpt = require '../../vendor/skulpt'
# PARSER SECTION
parse = (context, text) ->
result... |
[
{
"context": "Done = false\n svc = new AWS.S3(accessKeyId: 'akid', secretAccessKey: 'secret', maxRetries: 0)\n ",
"end": 2971,
"score": 0.9947107434272766,
"start": 2967,
"tag": "KEY",
"value": "akid"
},
{
"context": "new AWS.S3(accessKeyId: 'akid', secretAccessKey: 'secret'... | test/browser.spec.coffee | MitocGroup/aws-sdk-js | 0 | helpers = require('./helpers')
AWS = helpers.AWS
config = {}
try
config = require('./configuration')
cloudwatch = new AWS.CloudWatch(AWS.util.merge(config, config.cloudwatch))
cloudwatchlogs = new AWS.CloudWatchLogs(AWS.util.merge(config, config.cloudwatchlogs))
cognitoidentity = new AWS.CognitoIdentity(AWS.util.mer... | 86019 | helpers = require('./helpers')
AWS = helpers.AWS
config = {}
try
config = require('./configuration')
cloudwatch = new AWS.CloudWatch(AWS.util.merge(config, config.cloudwatch))
cloudwatchlogs = new AWS.CloudWatchLogs(AWS.util.merge(config, config.cloudwatchlogs))
cognitoidentity = new AWS.CognitoIdentity(AWS.util.mer... | true | helpers = require('./helpers')
AWS = helpers.AWS
config = {}
try
config = require('./configuration')
cloudwatch = new AWS.CloudWatch(AWS.util.merge(config, config.cloudwatch))
cloudwatchlogs = new AWS.CloudWatchLogs(AWS.util.merge(config, config.cloudwatchlogs))
cognitoidentity = new AWS.CognitoIdentity(AWS.util.mer... |
[
{
"context": "# Copyright (c) 2014 FireZenk <firezenk@gmail.com>\n#\n# Permission is hereby gra",
"end": 29,
"score": 0.9952685236930847,
"start": 21,
"tag": "NAME",
"value": "FireZenk"
},
{
"context": "# Copyright (c) 2014 FireZenk <firezenk@gmail.com>\n#\n# Permission is hereby gra... | snippets/language-lua.cson | nebularg/language-lua-wow | 12 | # Copyright (c) 2014 FireZenk <firezenk@gmail.com>
#
# 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, mer... | 181130 | # Copyright (c) 2014 <NAME> <<EMAIL>>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
# copy, modify, merge, publish, ... | true | # Copyright (c) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
# c... |
[
{
"context": " return\n\n self = @ \n key = d[3] or 'xstore'\n method = d[2]\n cacheBust = 0\n my",
"end": 3510,
"score": 0.9985625743865967,
"start": 3504,
"tag": "KEY",
"value": "xstore"
}
] | src/index.coffee | niiknow/xstore | 0 | ((win) ->
doc = win.document
debug = require('debug')
log = debug('xstore')
load = require('load-iframe')
store = require('store.js')
cookie = require('cookie')
# determine if postmessage is enabled
usePostMessage = win.postMessage?
# use this to bust cache for has method
cacheBust = 0
# defaul... | 40985 | ((win) ->
doc = win.document
debug = require('debug')
log = debug('xstore')
load = require('load-iframe')
store = require('store.js')
cookie = require('cookie')
# determine if postmessage is enabled
usePostMessage = win.postMessage?
# use this to bust cache for has method
cacheBust = 0
# defaul... | true | ((win) ->
doc = win.document
debug = require('debug')
log = debug('xstore')
load = require('load-iframe')
store = require('store.js')
cookie = require('cookie')
# determine if postmessage is enabled
usePostMessage = win.postMessage?
# use this to bust cache for has method
cacheBust = 0
# defaul... |
[
{
"context": "state)\n\n $scope.defaultUser =\n username: \"Username\"\n avatar: \"avatars:svg-1\"\n email: \"user",
"end": 942,
"score": 0.9988428354263306,
"start": 934,
"tag": "USERNAME",
"value": "Username"
},
{
"context": "name\"\n avatar: \"avatars:svg-1\... | app/assets/javascripts/controllers/MainCtrl.coffee | baberthal/cocktails | 0 | angular.module('controllers').controller "MainCtrl", [
'$scope',
'$state',
'$mdSidenav',
'$mdDialog',
'Auth',
'$mdToast',
($scope, $state, $mdSidenav, $mdDialog, Auth, $mdToast) ->
Auth.currentUser().then (user) ->
$scope.currentUser = user
$scope.signedIn = Auth.isAuthenticated
$scope.... | 132614 | angular.module('controllers').controller "MainCtrl", [
'$scope',
'$state',
'$mdSidenav',
'$mdDialog',
'Auth',
'$mdToast',
($scope, $state, $mdSidenav, $mdDialog, Auth, $mdToast) ->
Auth.currentUser().then (user) ->
$scope.currentUser = user
$scope.signedIn = Auth.isAuthenticated
$scope.... | true | angular.module('controllers').controller "MainCtrl", [
'$scope',
'$state',
'$mdSidenav',
'$mdDialog',
'Auth',
'$mdToast',
($scope, $state, $mdSidenav, $mdDialog, Auth, $mdToast) ->
Auth.currentUser().then (user) ->
$scope.currentUser = user
$scope.signedIn = Auth.isAuthenticated
$scope.... |
[
{
"context": "e to disallow anonymous default exports.\n# @author Duncan Beevers\n###\n\n# import docsUrl from '../docsUrl'\ndocsUrl =",
"end": 89,
"score": 0.9998321533203125,
"start": 75,
"tag": "NAME",
"value": "Duncan Beevers"
}
] | src/rules/no-anonymous-default-export.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to disallow anonymous default exports.
# @author Duncan Beevers
###
# import docsUrl from '../docsUrl'
docsUrl = -> ''
{flow, map: fmap, fromPairs: ffromPairs} = require 'lodash/fp'
defs =
ArrayExpression:
option: 'allowArray'
description: 'If `false`, will report default export of... | 92500 | ###*
# @fileoverview Rule to disallow anonymous default exports.
# @author <NAME>
###
# import docsUrl from '../docsUrl'
docsUrl = -> ''
{flow, map: fmap, fromPairs: ffromPairs} = require 'lodash/fp'
defs =
ArrayExpression:
option: 'allowArray'
description: 'If `false`, will report default export of an arra... | true | ###*
# @fileoverview Rule to disallow anonymous default exports.
# @author PI:NAME:<NAME>END_PI
###
# import docsUrl from '../docsUrl'
docsUrl = -> ''
{flow, map: fmap, fromPairs: ffromPairs} = require 'lodash/fp'
defs =
ArrayExpression:
option: 'allowArray'
description: 'If `false`, will report default exp... |
[
{
"context": " - returns price in gbp\n#\n# Author:\n# Fred Wu\n# Peter Tripp <petertripp@gmail.com>\n\nmodule.ex",
"end": 356,
"score": 0.9998421669006348,
"start": 349,
"tag": "NAME",
"value": "Fred Wu"
},
{
"context": "- returns price in gbp\n#\n# Author:\n# Fred ... | src/bitcoin.coffee | notpeter/hubot-bitcoin | 5 | # Description:
# Find the latest Bitcoin price in specified currency
#
# Configuration:
# None
#
# Commands:
# hubot bitcoin - returns price in usd
# hubot bitcoin list - returns list of available currencies
# hubot bitcoin gbp - returns ... | 201661 | # Description:
# Find the latest Bitcoin price in specified currency
#
# Configuration:
# None
#
# Commands:
# hubot bitcoin - returns price in usd
# hubot bitcoin list - returns list of available currencies
# hubot bitcoin gbp - returns ... | true | # Description:
# Find the latest Bitcoin price in specified currency
#
# Configuration:
# None
#
# Commands:
# hubot bitcoin - returns price in usd
# hubot bitcoin list - returns list of available currencies
# hubot bitcoin gbp - returns ... |
[
{
"context": "#\n# Author: Peter K. Lee (peter@corenova.com)\n#\n# All rights reserved. Thi",
"end": 24,
"score": 0.9998714327812195,
"start": 12,
"tag": "NAME",
"value": "Peter K. Lee"
},
{
"context": "#\n# Author: Peter K. Lee (peter@corenova.com)\n#\n# All rights reserved. This pr... | spec/openstack-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
#
request = require 'superage... | 36001 | #
# 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
#
request = require 'superagent'
module.expor... | 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
#
request = requi... |
[
{
"context": "###*\n * @author Brent Zerbe\n * @date 10/31/2015\n * @class CIS-336\n * @pu",
"end": 28,
"score": 0.9998822212219238,
"start": 17,
"tag": "NAME",
"value": "Brent Zerbe"
}
] | q1.coffee | zerbzman/js-pass-by-value-vs-pass-by-reference-arrays | 0 | ###*
* @author Brent Zerbe
* @date 10/31/2015
* @class CIS-336
* @purpose Show the performance difference between passing a large array by
* value vs reference in Javascript
###
###*
* Class that holds a large array
* @param {array} a large array
###
class CustomLargeArray
constructor: ( array ) ->
... | 70801 | ###*
* @author <NAME>
* @date 10/31/2015
* @class CIS-336
* @purpose Show the performance difference between passing a large array by
* value vs reference in Javascript
###
###*
* Class that holds a large array
* @param {array} a large array
###
class CustomLargeArray
constructor: ( array ) ->
@cust... | true | ###*
* @author PI:NAME:<NAME>END_PI
* @date 10/31/2015
* @class CIS-336
* @purpose Show the performance difference between passing a large array by
* value vs reference in Javascript
###
###*
* Class that holds a large array
* @param {array} a large array
###
class CustomLargeArray
constructor: ( array ... |
[
{
"context": "###*\n# 首页 \n# @date 2016-06-27 10:19:06\n# @author Allen-mo <735016387@qq.com>\n# \n###\n\nconsole.log 'index2'\na",
"end": 57,
"score": 0.9990782141685486,
"start": 49,
"tag": "NAME",
"value": "Allen-mo"
},
{
"context": " \n# @date 2016-06-27 10:19:06\n# @author Allen... | src/js/page/index.coffee | Phlen/fui-template | 0 | ###*
# 首页
# @date 2016-06-27 10:19:06
# @author Allen-mo <735016387@qq.com>
#
###
console.log 'index2'
alert('fff') | 184121 | ###*
# 首页
# @date 2016-06-27 10:19:06
# @author <NAME> <<EMAIL>>
#
###
console.log 'index2'
alert('fff') | true | ###*
# 首页
# @date 2016-06-27 10:19:06
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
###
console.log 'index2'
alert('fff') |
[
{
"context": "_ESA_JUST_EMIT\n# HUBOT_ESA_DEBUG\n#\n# Author:\n# hmsk <k.hamasaki@gmail.com>\n\ncrypto = require 'crypto'",
"end": 551,
"score": 0.9996552467346191,
"start": 547,
"tag": "USERNAME",
"value": "hmsk"
},
{
"context": "ST_EMIT\n# HUBOT_ESA_DEBUG\n#\n# Author:\n# h... | src/esa.coffee | hmsk/hubot-esa | 9 | # Descriptipn
# Hubot script handle webhook and API of https://esa.io
#
# Dependencies:
# "crypto": "*"
#
# Commands:
# hubot esa stats - Show stats of your team
# https://[yourteam].esa.io/posts/[post_id] - Show information of post
# https://[yourteam].esa.io/posts/[post_id]#comment-[comment_id] - Show comment... | 75261 | # Descriptipn
# Hubot script handle webhook and API of https://esa.io
#
# Dependencies:
# "crypto": "*"
#
# Commands:
# hubot esa stats - Show stats of your team
# https://[yourteam].esa.io/posts/[post_id] - Show information of post
# https://[yourteam].esa.io/posts/[post_id]#comment-[comment_id] - Show comment... | true | # Descriptipn
# Hubot script handle webhook and API of https://esa.io
#
# Dependencies:
# "crypto": "*"
#
# Commands:
# hubot esa stats - Show stats of your team
# https://[yourteam].esa.io/posts/[post_id] - Show information of post
# https://[yourteam].esa.io/posts/[post_id]#comment-[comment_id] - Show comment... |
[
{
"context": "tends LayerInfo\n @shouldParse: (key) -> key in ['vmsk', 'vsms']\n\n constructor: (layer, length) ->\n ",
"end": 179,
"score": 0.8442873954772949,
"start": 175,
"tag": "KEY",
"value": "vmsk"
},
{
"context": "yerInfo\n @shouldParse: (key) -> key in ['vmsk', 'vsms']... | lib/psd/layer_info/vector_mask.coffee | LoginovIlya/psd.js | 2,218 | LayerInfo = require '../layer_info.coffee'
PathRecord = require '../path_record.coffee'
module.exports = class VectorMask extends LayerInfo
@shouldParse: (key) -> key in ['vmsk', 'vsms']
constructor: (layer, length) ->
super(layer, length)
@invert = null
@notLink = null
@disable = null
@paths... | 149594 | LayerInfo = require '../layer_info.coffee'
PathRecord = require '../path_record.coffee'
module.exports = class VectorMask extends LayerInfo
@shouldParse: (key) -> key in ['<KEY>', '<KEY>']
constructor: (layer, length) ->
super(layer, length)
@invert = null
@notLink = null
@disable = null
@pat... | true | LayerInfo = require '../layer_info.coffee'
PathRecord = require '../path_record.coffee'
module.exports = class VectorMask extends LayerInfo
@shouldParse: (key) -> key in ['PI:KEY:<KEY>END_PI', 'PI:KEY:<KEY>END_PI']
constructor: (layer, length) ->
super(layer, length)
@invert = null
@notLink = null
... |
[
{
"context": "\nnikita = require '@nikitajs/core/lib'\n{tags, config, ipa} = require '../test'",
"end": 28,
"score": 0.914557695388794,
"start": 23,
"tag": "USERNAME",
"value": "itajs"
},
{
"context": "r_user'\n attributes:\n givenname: 'Firstname'\n sn: 'Las... | packages/ipa/test/group/add_member.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
nikita = require '@nikitajs/core/lib'
{tags, config, ipa} = require '../test'
they = require('mocha-they')(config)
return unless tags.ipa
describe 'ipa.group.add_member', ->
they 'add_member to a group', ({ssh}) ->
gidnumber = null
nikita
$ssh: ssh
, ->
await @ipa.group.del connection: ipa,... | 78938 |
nikita = require '@nikitajs/core/lib'
{tags, config, ipa} = require '../test'
they = require('mocha-they')(config)
return unless tags.ipa
describe 'ipa.group.add_member', ->
they 'add_member to a group', ({ssh}) ->
gidnumber = null
nikita
$ssh: ssh
, ->
await @ipa.group.del connection: ipa,... | true |
nikita = require '@nikitajs/core/lib'
{tags, config, ipa} = require '../test'
they = require('mocha-they')(config)
return unless tags.ipa
describe 'ipa.group.add_member', ->
they 'add_member to a group', ({ssh}) ->
gidnumber = null
nikita
$ssh: ssh
, ->
await @ipa.group.del connection: ipa,... |
[
{
"context": "\n {tokens} = grammar.tokenizeLine('[White \"Magnus Carlsen\"]')\n expect(tokens[0]).toEqual value: \"[\",",
"end": 889,
"score": 0.9998078346252441,
"start": 875,
"tag": "NAME",
"value": "Magnus Carlsen"
},
{
"context": "n.pgn\"]\n expect(tokens[4]... | spec/language-pgn-spec.coffee | sanichi/language-pgn | 2 | # Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
#
# To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit`
# or `fdescribe`). Remove the `f` to unfocus the block.
describe "PGN grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.... | 164497 | # Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
#
# To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit`
# or `fdescribe`). Remove the `f` to unfocus the block.
describe "PGN grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.... | true | # Use the command `window:run-package-specs` (cmd-alt-ctrl-p) to run specs.
#
# To run a specific `it` or `describe` block add an `f` to the front (e.g. `fit`
# or `fdescribe`). Remove the `f` to unfocus the block.
describe "PGN grammar", ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.... |
[
{
"context": "# @author mrdoob / http://mrdoob.com/\n# @author aladjev.andrew@gma",
"end": 16,
"score": 0.9996719360351562,
"start": 10,
"tag": "USERNAME",
"value": "mrdoob"
},
{
"context": "# @author mrdoob / http://mrdoob.com/\n# @author aladjev.andrew@gmail.com\n\n#= require new_s... | source/javascripts/new_src/loaders/vtk.coffee | andrew-aladev/three.js | 0 | # @author mrdoob / http://mrdoob.com/
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/loader
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/face_3
#= require new_src/core/face_4
class VTKLoader extends THREE.Loader
load: (url, callback) ->
xhr = new XMLHt... | 178580 | # @author mrdoob / http://mrdoob.com/
# @author <EMAIL>
#= require new_src/loaders/loader
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/face_3
#= require new_src/core/face_4
class VTKLoader extends THREE.Loader
load: (url, callback) ->
xhr = new XMLHttpRequest()
x... | true | # @author mrdoob / http://mrdoob.com/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/loader
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/face_3
#= require new_src/core/face_4
class VTKLoader extends THREE.Loader
load: (url, callback) ->
xhr = new XMLHttp... |
[
{
"context": "tch projects\", (done) ->\n service.setToken(123)\n mocks.resources.asanaImporter.listProjec",
"end": 1945,
"score": 0.7332846522331238,
"start": 1942,
"tag": "KEY",
"value": "123"
},
{
"context": " \"fetch user\", (done) ->\n service.setToken(123)\... | app/modules/projects/create/asana-import/asana-import.service.spec.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | 106205 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... |
[
{
"context": " loaded.\n$ ->\n client = new Dropbox.Client key: 'ol56zaikdq4kxjx'\n window.app = new Checkbox client, '#app-ui'\n",
"end": 8370,
"score": 0.9996833801269531,
"start": 8355,
"tag": "KEY",
"value": "ol56zaikdq4kxjx"
}
] | samples/checkbox.js/public/checkbox.coffee | expo/dropbox-js | 4 | # vim: set tabstop=2 shiftwidth=2 softtabstop=2 expandtab :
# Controller/View for the application.
class Checkbox
# @param {Dropbox.Client} dbClient a non-authenticated Dropbox client
# @param {DOMElement} root the app's main UI element
constructor: (@dbClient, @root) ->
@$root = $ @root
@taskTemplate = ... | 29858 | # vim: set tabstop=2 shiftwidth=2 softtabstop=2 expandtab :
# Controller/View for the application.
class Checkbox
# @param {Dropbox.Client} dbClient a non-authenticated Dropbox client
# @param {DOMElement} root the app's main UI element
constructor: (@dbClient, @root) ->
@$root = $ @root
@taskTemplate = ... | true | # vim: set tabstop=2 shiftwidth=2 softtabstop=2 expandtab :
# Controller/View for the application.
class Checkbox
# @param {Dropbox.Client} dbClient a non-authenticated Dropbox client
# @param {DOMElement} root the app's main UI element
constructor: (@dbClient, @root) ->
@$root = $ @root
@taskTemplate = ... |
[
{
"context": "'weatherman').constant 'CONF',\n openweatherKey: 'THANK_YOU_OPEN_WEATHER'\n",
"end": 87,
"score": 0.9667816162109375,
"start": 65,
"tag": "KEY",
"value": "THANK_YOU_OPEN_WEATHER"
}
] | app/scripts/conf/config.coffee | kylezeeuwen/weatherman | 0 | angular.module('weatherman').constant 'CONF',
openweatherKey: 'THANK_YOU_OPEN_WEATHER'
| 90366 | angular.module('weatherman').constant 'CONF',
openweatherKey: '<KEY>'
| true | angular.module('weatherman').constant 'CONF',
openweatherKey: 'PI:KEY:<KEY>END_PI'
|
[
{
"context": "quire 'performance-now'\n\nconfig = \n hostname: '192.168.105.222',\n port: 5222,\n uuid: 'cea58c41-aaa0-46d8-a",
"end": 329,
"score": 0.9995270371437073,
"start": 314,
"tag": "IP_ADDRESS",
"value": "192.168.105.222"
},
{
"context": "ea58c41-aaa0-46d8-ac9e-2ebc... | command-xmpp-receive.coffee | ducxop/meshblu-benchmark | 0 | myMesh = require "./src/MyMeshblu.js"
Meshblu = require 'meshblu-xmpp'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
async = require 'async'
_ = require 'lodash'
commander = require 'commander'
now = require 'performance-now'
config =
hostname: '192.16... | 78795 | myMesh = require "./src/MyMeshblu.js"
Meshblu = require 'meshblu-xmpp'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
async = require 'async'
_ = require 'lodash'
commander = require 'commander'
now = require 'performance-now'
config =
hostname: '192.16... | true | myMesh = require "./src/MyMeshblu.js"
Meshblu = require 'meshblu-xmpp'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
async = require 'async'
_ = require 'lodash'
commander = require 'commander'
now = require 'performance-now'
config =
hostname: '192.16... |
[
{
"context": "###\n# Copyright (C) 2014-2017 Taiga Agile LLC <taiga@taiga.io>\n#\n# This program is free software: you can redis",
"end": 61,
"score": 0.9999282956123352,
"start": 47,
"tag": "EMAIL",
"value": "taiga@taiga.io"
}
] | app/modules/components/tags/tag-line.service.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <taiga@taiga.io>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
... | 56014 | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# Thi... | true | ###
# Copyright (C) 2014-2017 Taiga Agile LLC <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later v... |
[
{
"context": "@secret = config.secret\n @key = config.key || 'rack.session'\n\n findSession: (cookieHeader, callback) ->\n ",
"end": 190,
"score": 0.8930010199546814,
"start": 178,
"tag": "KEY",
"value": "rack.session"
}
] | src/RackSession.coffee | cesare/node-rack-session | 1 | buffer = require 'buffer'
crypto = require 'crypto'
cookie = require 'cookie'
class RackSession
constructor: (config) ->
@secret = config.secret
@key = config.key || 'rack.session'
findSession: (cookieHeader, callback) ->
unless callback
return
unless cookieHeader
return callback 'Coo... | 174730 | buffer = require 'buffer'
crypto = require 'crypto'
cookie = require 'cookie'
class RackSession
constructor: (config) ->
@secret = config.secret
@key = config.key || '<KEY>'
findSession: (cookieHeader, callback) ->
unless callback
return
unless cookieHeader
return callback 'Cookie hea... | true | buffer = require 'buffer'
crypto = require 'crypto'
cookie = require 'cookie'
class RackSession
constructor: (config) ->
@secret = config.secret
@key = config.key || 'PI:KEY:<KEY>END_PI'
findSession: (cookieHeader, callback) ->
unless callback
return
unless cookieHeader
return callbac... |
[
{
"context": "ir default value\n #\n # { \n # login: 'guest'\n # password: 'guest'\n # host: 'loc",
"end": 164,
"score": 0.8430479168891907,
"start": 159,
"tag": "USERNAME",
"value": "guest"
},
{
"context": " { \n # login: 'guest'\n # password... | examples/example-connection.coffee | FGRibreau/node-amqp-dsl | 2 | AmqpDsl = require 'amqp-dsl'
AmqpDsl
# First we log in, here the list of the available parameters and their default value
#
# {
# login: 'guest'
# password: 'guest'
# host: 'localhost'
# port: 5672
# vhost: '/'
# }
#
.login(
login: 'user'
password: ... | 101407 | AmqpDsl = require 'amqp-dsl'
AmqpDsl
# First we log in, here the list of the available parameters and their default value
#
# {
# login: 'guest'
# password: '<PASSWORD>'
# host: 'localhost'
# port: 5672
# vhost: '/'
# }
#
.login(
login: 'user'
passw... | true | AmqpDsl = require 'amqp-dsl'
AmqpDsl
# First we log in, here the list of the available parameters and their default value
#
# {
# login: 'guest'
# password: 'PI:PASSWORD:<PASSWORD>END_PI'
# host: 'localhost'
# port: 5672
# vhost: '/'
# }
#
.login(
login... |
[
{
"context": "\n config.port = rtg.port\n config.auth.password = rtg.auth.split(':')[1]\n config\n\ngetQueue = (clientI",
"end": 325,
"score": 0.8392237424850464,
"start": 323,
"tag": "PASSWORD",
"value": "rt"
}
] | test/MQ_Listen.coffee | rybesh/noflo | 0 | kckmq = require 'kckupmq'
sender = require "../src/components/MQ/Listen"
socket = require "../src/lib/InternalSocket"
url = require 'url'
getConfig = ->
return {} unless process.env.REDISTOGO_URL
rtg = url.parse process.env.REDISTOGO_URL
config.host = rtg.hostname
config.port = rtg.port
config.auth.password... | 109687 | kckmq = require 'kckupmq'
sender = require "../src/components/MQ/Listen"
socket = require "../src/lib/InternalSocket"
url = require 'url'
getConfig = ->
return {} unless process.env.REDISTOGO_URL
rtg = url.parse process.env.REDISTOGO_URL
config.host = rtg.hostname
config.port = rtg.port
config.auth.password... | true | kckmq = require 'kckupmq'
sender = require "../src/components/MQ/Listen"
socket = require "../src/lib/InternalSocket"
url = require 'url'
getConfig = ->
return {} unless process.env.REDISTOGO_URL
rtg = url.parse process.env.REDISTOGO_URL
config.host = rtg.hostname
config.port = rtg.port
config.auth.password... |
[
{
"context": "rce line breaks after each array element\n# @author Jan Peer Stöcklmair <https://github.com/JPeer264>\n###\n\n'use strict'\n\n",
"end": 103,
"score": 0.9998955726623535,
"start": 84,
"tag": "NAME",
"value": "Jan Peer Stöcklmair"
},
{
"context": "# @author Jan Peer Stöck... | src/rules/array-element-newline.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to enforce line breaks after each array element
# @author Jan Peer Stöcklmair <https://github.com/JPeer264>
###
'use strict'
astUtils = require '../eslint-ast-utils'
{hasIndentedLastLine} = require '../util/ast-utils'
#------------------------------------------------------------------------... | 222100 | ###*
# @fileoverview Rule to enforce line breaks after each array element
# @author <NAME> <https://github.com/JPeer264>
###
'use strict'
astUtils = require '../eslint-ast-utils'
{hasIndentedLastLine} = require '../util/ast-utils'
#------------------------------------------------------------------------------
# Rule... | true | ###*
# @fileoverview Rule to enforce line breaks after each array element
# @author PI:NAME:<NAME>END_PI <https://github.com/JPeer264>
###
'use strict'
astUtils = require '../eslint-ast-utils'
{hasIndentedLastLine} = require '../util/ast-utils'
#-----------------------------------------------------------------------... |
[
{
"context": "ps.username} addonBefore={userGlyph} placeholder=\"Username\" required=\"visible\"/>\n <div style={{heig",
"end": 851,
"score": 0.9910078644752502,
"start": 843,
"tag": "USERNAME",
"value": "Username"
},
{
"context": "@props.firstname} label=\"First Name\" plac... | picoCTF-web/web/coffee/front-page.coffee | jingjiey/picoCTF | 0 | Input = ReactBootstrap.Input
Row = ReactBootstrap.Row
Col = ReactBootstrap.Col
Button = ReactBootstrap.Button
Panel = ReactBootstrap.Panel
Glyphicon = ReactBootstrap.Glyphicon
ButtonInput = ReactBootstrap.ButtonInput
ButtonGroup = ReactBootstrap.ButtonGroup
Alert = ReactBootstrap.Alert
update = React.addons.update
Lo... | 16432 | Input = ReactBootstrap.Input
Row = ReactBootstrap.Row
Col = ReactBootstrap.Col
Button = ReactBootstrap.Button
Panel = ReactBootstrap.Panel
Glyphicon = ReactBootstrap.Glyphicon
ButtonInput = ReactBootstrap.ButtonInput
ButtonGroup = ReactBootstrap.ButtonGroup
Alert = ReactBootstrap.Alert
update = React.addons.update
Lo... | true | Input = ReactBootstrap.Input
Row = ReactBootstrap.Row
Col = ReactBootstrap.Col
Button = ReactBootstrap.Button
Panel = ReactBootstrap.Panel
Glyphicon = ReactBootstrap.Glyphicon
ButtonInput = ReactBootstrap.ButtonInput
ButtonGroup = ReactBootstrap.ButtonGroup
Alert = ReactBootstrap.Alert
update = React.addons.update
Lo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.