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": "# Copyright 2013 Andrey Antukh <niwi@niwi.be>\n#\n# Licensed under the Apache Lice",
"end": 30,
"score": 0.9998809695243835,
"start": 17,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "# Copyright 2013 Andrey Antukh <niwi@niwi.be>\n#\n# Licensed under the Apac... | mrfogg-front/app/coffee/plugins/i18next.coffee | PIWEEK/mrfogg | 0 | # Copyright 2013 Andrey Antukh <niwi@niwi.be>
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | 121586 | # Copyright 2013 <NAME> <<EMAIL>>
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | true | # Copyright 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... |
[
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed under the Apach",
"end": 35,
"score": 0.9998103380203247,
"start": 24,
"tag": "NAME",
"value": "Dan Elliott"
},
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed ... | clients/www/src/coffee/handler/isadore_settings_general_config_config.coffee | bluthen/isadore_server | 0 | # Copyright 2010-2019 Dan Elliott, Russell Valentine
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appl... | 149864 | # Copyright 2010-2019 <NAME>, <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ag... | true | # Copyright 2010-2019 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... |
[
{
"context": "unt (default 5)\n#\n# Notes\n# None\n#\n# Author:\n# Morgan Wigmanich <okize123@gmail.com> (https://github.com/okize)\n\n",
"end": 580,
"score": 0.999879777431488,
"start": 564,
"tag": "NAME",
"value": "Morgan Wigmanich"
},
{
"context": " Notes\n# None\n#\n# Autho... | src/garble.coffee | okize/hubot-garble | 1 | # Description:
# Garbles your text
#
# Dependencies:
# None
#
# Configuration:
# YANDEX_TRANSLATE_API_KEY string; a Yandex API key (required)
# HUBOT_GARBLE_LOCAL_LANGUAGE string; language code for chatroom language (optional; default is 'en')
# HUBOT_GARBLE_TRANSLATION_PATH_LOG boo... | 94882 | # Description:
# Garbles your text
#
# Dependencies:
# None
#
# Configuration:
# YANDEX_TRANSLATE_API_KEY string; a Yandex API key (required)
# HUBOT_GARBLE_LOCAL_LANGUAGE string; language code for chatroom language (optional; default is 'en')
# HUBOT_GARBLE_TRANSLATION_PATH_LOG boo... | true | # Description:
# Garbles your text
#
# Dependencies:
# None
#
# Configuration:
# YANDEX_TRANSLATE_API_KEY string; a Yandex API key (required)
# HUBOT_GARBLE_LOCAL_LANGUAGE string; language code for chatroom language (optional; default is 'en')
# HUBOT_GARBLE_TRANSLATION_PATH_LOG boo... |
[
{
"context": "###\r\n// ==UserScript==\r\n// @name Silent B\r\n// @namespace https://github.com/hentaiPand",
"end": 51,
"score": 0.9995946884155273,
"start": 43,
"tag": "NAME",
"value": "Silent B"
},
{
"context": " Silent B\r\n// @namespace https://github.com/hen... | Silent B/silentb_4672.20.coffee | hentaiPanda/GM_Scripts | 1 | ###
// ==UserScript==
// @name Silent B
// @namespace https://github.com/hentaiPanda
// @description 隐藏指定的超展开列表项目,等等
// @author niR
// @version 4672.20 pre Bismark
// @license MIT License
// @encoding utf-8
// @require http://code.jquery.com/jquery-2.1.1.js
... | 189951 | ###
// ==UserScript==
// @name <NAME>
// @namespace https://github.com/hentaiPanda
// @description 隐藏指定的超展开列表项目,等等
// @author niR
// @version 4672.20 pre Bismark
// @license MIT License
// @encoding utf-8
// @require http://code.jquery.com/jquery-2.1.1.js
/... | true | ###
// ==UserScript==
// @name PI:NAME:<NAME>END_PI
// @namespace https://github.com/hentaiPanda
// @description 隐藏指定的超展开列表项目,等等
// @author niR
// @version 4672.20 pre Bismark
// @license MIT License
// @encoding utf-8
// @require http://code.jquery.com/jque... |
[
{
"context": "om, automatically generated\n# Generator created by Renato \"Hii\" Garcia\n'.source.pwn, .source.inc':\n 'execute",
"end": 78,
"score": 0.9982182383537292,
"start": 72,
"tag": "NAME",
"value": "Renato"
},
{
"context": "atically generated\n# Generator created by Renato ... | snippets/YSF.cson | Wuzi/language-pawn | 4 | # YSF Snippets for Atom, automatically generated
# Generator created by Renato "Hii" Garcia
'.source.pwn, .source.inc':
'execute':
'prefix': 'execute'
'body': 'execute(${1:const command[]})'
'description': 'Function from: YSF'
'descriptionMoreURL': 'http://forum.sa-mp.com/showthread.php?t=513499'
'... | 36367 | # YSF Snippets for Atom, automatically generated
# Generator created by <NAME> "<NAME>" <NAME>
'.source.pwn, .source.inc':
'execute':
'prefix': 'execute'
'body': 'execute(${1:const command[]})'
'description': 'Function from: YSF'
'descriptionMoreURL': 'http://forum.sa-mp.com/showthread.php?t=513499'
... | true | # YSF Snippets for Atom, automatically generated
# Generator created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI" PI:NAME:<NAME>END_PI
'.source.pwn, .source.inc':
'execute':
'prefix': 'execute'
'body': 'execute(${1:const command[]})'
'description': 'Function from: YSF'
'descriptionMoreURL': 'http://... |
[
{
"context": "a of the body.\n#\n# Notes:\n# None\n#\n# Author:\n# bsensale\n\n# TODO: Figure out how to match up the incoming ",
"end": 333,
"score": 0.9996605515480042,
"start": 325,
"tag": "USERNAME",
"value": "bsensale"
},
{
"context": "m}\", \"#{aim}\", \"#{aim}\", \"miss\"]... | node_modules/hubot-darts/src/darts.coffee | shashankredemption/shitpostbot | 4 | # Description
# Have an office dart fight, even when working from home
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot shoot target (in the legs/head/body) - Fire's a foam dart at the target
# Optionalls attempts to aim for a specific area of the body.
#
# Notes:
# None
#
# Author:... | 79949 | # Description
# Have an office dart fight, even when working from home
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot shoot target (in the legs/head/body) - Fire's a foam dart at the target
# Optionalls attempts to aim for a specific area of the body.
#
# Notes:
# None
#
# Author:... | true | # Description
# Have an office dart fight, even when working from home
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot shoot target (in the legs/head/body) - Fire's a foam dart at the target
# Optionalls attempts to aim for a specific area of the body.
#
# Notes:
# None
#
# Author:... |
[
{
"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.9998461008071899,
"start": 57,
"tag": "NAME",
"value": "Mathieu Ledru"
}
] | Common/Bin/Data/coffee/Menu/MenuLabelContainer.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 this source code.
###
cpz.MenuLabelContainer = cpz.MenuBox.extend(
_container: null
_margin: null
ctor: ->
@_super()
@_cont... | 142418 | ###
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 this source code.
###
cpz.MenuLabelContainer = cpz.MenuBox.extend(
_container: null
_margin: null
ctor: ->
@_super()
@_container =... | 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 this source code.
###
cpz.MenuLabelContainer = cpz.MenuBox.extend(
_container: null
_margin: null
ctor: ->
@_super()
... |
[
{
"context": " beforeEach -> \n room.user.say 'charlie', 'hubot vsts projec'\n\n it 'should rep",
"end": 486,
"score": 0.9992239475250244,
"start": 479,
"tag": "NAME",
"value": "charlie"
},
{
"context": "ect(room.messages).to.eql [\n ['... | test/vsts-slack-test.coffee | Mimeo/Hubot-Slack-VSTS | 0 | Helper = require 'hubot-test-helper'
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
expect = chai.expect
helper = new Helper('./../src/vsts-slack.coffee')
describe 'vsts-slack', ->
room = null
beforeEach ->
room = helper.createRoom()
afterEach ->
... | 33091 | Helper = require 'hubot-test-helper'
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
expect = chai.expect
helper = new Helper('./../src/vsts-slack.coffee')
describe 'vsts-slack', ->
room = null
beforeEach ->
room = helper.createRoom()
afterEach ->
... | true | Helper = require 'hubot-test-helper'
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
expect = chai.expect
helper = new Helper('./../src/vsts-slack.coffee')
describe 'vsts-slack', ->
room = null
beforeEach ->
room = helper.createRoom()
afterEach ->
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission ",
"end": 18,
"score": 0.9030064344406128,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream2-large-read-stall.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... | 225400 | # 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": "ageRateLimit', ->\n beforeEach ->\n @clientKey = uuid.v1()\n @client = redis.createClient @clientKey\n c",
"end": 242,
"score": 0.9056974649429321,
"start": 233,
"tag": "KEY",
"value": "uuid.v1()"
},
{
"context": "-electric'\n auth:\n uuid: 'el... | test/enforce-message-rate-limit-spec.coffee | octoblu/meshblu-core-task-enforce-message-rate-limit | 0 | _ = require 'lodash'
redis = require 'fakeredis'
uuid = require 'uuid'
EnforceMessageRateLimit = require '../'
MeshbluCoreCache = require 'meshblu-core-cache'
describe 'EnforceMessageRateLimit', ->
beforeEach ->
@clientKey = uuid.v1()
@client = redis.createClient @clientKey
cache = new MeshbluCoreCache ... | 154710 | _ = require 'lodash'
redis = require 'fakeredis'
uuid = require 'uuid'
EnforceMessageRateLimit = require '../'
MeshbluCoreCache = require 'meshblu-core-cache'
describe 'EnforceMessageRateLimit', ->
beforeEach ->
@clientKey = <KEY>
@client = redis.createClient @clientKey
cache = new MeshbluCoreCache clie... | true | _ = require 'lodash'
redis = require 'fakeredis'
uuid = require 'uuid'
EnforceMessageRateLimit = require '../'
MeshbluCoreCache = require 'meshblu-core-cache'
describe 'EnforceMessageRateLimit', ->
beforeEach ->
@clientKey = PI:KEY:<KEY>END_PI
@client = redis.createClient @clientKey
cache = new MeshbluC... |
[
{
"context": "#\n# Ethan Mick\n# 2015\n#\nTask = require '../models/task'\n\ncreate ",
"end": 14,
"score": 0.9997628927230835,
"start": 4,
"tag": "NAME",
"value": "Ethan Mick"
}
] | lib/routes/task.coffee | ethanmick/future-server | 0 | #
# Ethan Mick
# 2015
#
Task = require '../models/task'
create = (req, reply)->
task = new Task(req.payload)
task.saveQ().then ->
console.log req.server.app.scheduler.queue.enq
req.server.app.scheduler.queue.enq(task) if task.soon()
reply(name: task.name)
.done()
get = (req, reply)->
Task.findOneQ... | 14909 | #
# <NAME>
# 2015
#
Task = require '../models/task'
create = (req, reply)->
task = new Task(req.payload)
task.saveQ().then ->
console.log req.server.app.scheduler.queue.enq
req.server.app.scheduler.queue.enq(task) if task.soon()
reply(name: task.name)
.done()
get = (req, reply)->
Task.findOneQ(nam... | true | #
# PI:NAME:<NAME>END_PI
# 2015
#
Task = require '../models/task'
create = (req, reply)->
task = new Task(req.payload)
task.saveQ().then ->
console.log req.server.app.scheduler.queue.enq
req.server.app.scheduler.queue.enq(task) if task.soon()
reply(name: task.name)
.done()
get = (req, reply)->
Tas... |
[
{
"context": "ee: Github pull-request class\n#\n# Copyright © 2012 Pavan Kumar Sunkara. All rights reserved\n#\n\n# Initiate class\nclass Pr",
"end": 81,
"score": 0.9998677372932434,
"start": 62,
"tag": "NAME",
"value": "Pavan Kumar Sunkara"
},
{
"context": "\n\n # List comments on ... | src/octonode/pr.coffee | silverbux/octonode2 | 0 | #
# pr.coffee: Github pull-request class
#
# Copyright © 2012 Pavan Kumar Sunkara. All rights reserved
#
# Initiate class
class Pr
constructor: (@repo, @number, @client) ->
# Get a single pull request
# '/repos/pksunkara/hub/pulls/37' GET
info: (cb) ->
@client.get "/repos/#{@repo}/pulls/#{@number}", (err... | 118708 | #
# pr.coffee: Github pull-request class
#
# Copyright © 2012 <NAME>. All rights reserved
#
# Initiate class
class Pr
constructor: (@repo, @number, @client) ->
# Get a single pull request
# '/repos/pksunkara/hub/pulls/37' GET
info: (cb) ->
@client.get "/repos/#{@repo}/pulls/#{@number}", (err, s, b, h) ->... | true | #
# pr.coffee: Github pull-request class
#
# Copyright © 2012 PI:NAME:<NAME>END_PI. All rights reserved
#
# Initiate class
class Pr
constructor: (@repo, @number, @client) ->
# Get a single pull request
# '/repos/pksunkara/hub/pulls/37' GET
info: (cb) ->
@client.get "/repos/#{@repo}/pulls/#{@number}", (er... |
[
{
"context": "en @capitalize(key) else key\n macKey = \"#{prefix}#{altKey}\"\n output[key] =\n if attributes[mac",
"end": 6659,
"score": 0.9004649519920349,
"start": 6639,
"tag": "KEY",
"value": "\"#{prefix}#{altKey}\""
}
] | src/util.coffee | neosavvyinc/MacGyver | 1 | ##
## Util module
##
## Contains various miscellaneous utility functions and extensions.
##
# Expose an object with a bunch of utility functions on it.
angular.module("Mac.Util", []).factory "util", [
"$filter"
(
$filter
) ->
# Underscore function section
ArrayProto = Array.prototype
ObjProto ... | 158844 | ##
## Util module
##
## Contains various miscellaneous utility functions and extensions.
##
# Expose an object with a bunch of utility functions on it.
angular.module("Mac.Util", []).factory "util", [
"$filter"
(
$filter
) ->
# Underscore function section
ArrayProto = Array.prototype
ObjProto ... | true | ##
## Util module
##
## Contains various miscellaneous utility functions and extensions.
##
# Expose an object with a bunch of utility functions on it.
angular.module("Mac.Util", []).factory "util", [
"$filter"
(
$filter
) ->
# Underscore function section
ArrayProto = Array.prototype
ObjProto ... |
[
{
"context": "\n JST['nodes/operands/basic_block']\n name: @name\n\n titleizeInstructions: (previousInstruction",
"end": 817,
"score": 0.6111352443695068,
"start": 817,
"tag": "NAME",
"value": ""
}
] | lib/furnace-xray/app/assets/javascripts/lib/nodes/basic_block.js.coffee | evilmartians/furnace-xray | 4 | class @BasicBlockNode extends Node
constructor: (data, map) ->
super
@functions = Object.extended()
update: (data, map) ->
@name = data['name']
@reassign @instructionIds, data['instruction_ids'], (removed, added) =>
removed.each (id) => @locate(id, map).unlinkBlock(@)
added.each (id)... | 202261 | class @BasicBlockNode extends Node
constructor: (data, map) ->
super
@functions = Object.extended()
update: (data, map) ->
@name = data['name']
@reassign @instructionIds, data['instruction_ids'], (removed, added) =>
removed.each (id) => @locate(id, map).unlinkBlock(@)
added.each (id)... | true | class @BasicBlockNode extends Node
constructor: (data, map) ->
super
@functions = Object.extended()
update: (data, map) ->
@name = data['name']
@reassign @instructionIds, data['instruction_ids'], (removed, added) =>
removed.each (id) => @locate(id, map).unlinkBlock(@)
added.each (id)... |
[
{
"context": "---------------------------------\n# Copyright 2013 I.B.M.\n# \n# Licensed under the Apache License, Version 2",
"end": 414,
"score": 0.9786924719810486,
"start": 409,
"tag": "NAME",
"value": "I.B.M"
}
] | lib-src/coffee/www/index.coffee | pmuellr/nodprof | 6 | # Licensed under the Apache License. See footer for details.
utils = require "../common/utils"
logger = require "../common/logger"
controllers = require "./controllers"
#-------------------------------------------------------------------------------
amod = angular.module "nodprof", []
controllers amod
#--------... | 193208 | # Licensed under the Apache License. See footer for details.
utils = require "../common/utils"
logger = require "../common/logger"
controllers = require "./controllers"
#-------------------------------------------------------------------------------
amod = angular.module "nodprof", []
controllers amod
#--------... | true | # Licensed under the Apache License. See footer for details.
utils = require "../common/utils"
logger = require "../common/logger"
controllers = require "./controllers"
#-------------------------------------------------------------------------------
amod = angular.module "nodprof", []
controllers amod
#--------... |
[
{
"context": "ust a PDF\"\n ,\n metaData:\n author: \"Michael Müller\"\n title: \"Testreport\"\n , (error, pdf) -",
"end": 2379,
"score": 0.9998369216918945,
"start": 2365,
"tag": "NAME",
"value": "Michael Müller"
},
{
"context": "ust a PDF\"\n ,\n me... | test/test.coffee | konsorten/jade-reporting | 5 | report = require "../dist/module.js"
path = require "path"
test = require "tape"
tapSpec = require "tap-spec"
report.checkDependencies null, (installed) ->
test.createStream()
.pipe(tapSpec())
.pipe(process.stdout)
test 'report.generate(template, output[, data, config, callback]) throws an error when exec... | 29863 | report = require "../dist/module.js"
path = require "path"
test = require "tape"
tapSpec = require "tap-spec"
report.checkDependencies null, (installed) ->
test.createStream()
.pipe(tapSpec())
.pipe(process.stdout)
test 'report.generate(template, output[, data, config, callback]) throws an error when exec... | true | report = require "../dist/module.js"
path = require "path"
test = require "tape"
tapSpec = require "tap-spec"
report.checkDependencies null, (installed) ->
test.createStream()
.pipe(tapSpec())
.pipe(process.stdout)
test 'report.generate(template, output[, data, config, callback]) throws an error when exec... |
[
{
"context": " = form.lastName\n\t\temail = form.email\n\t\tpassword = form.password\n\n\t\t# Try to authenticate if form and fields are v",
"end": 450,
"score": 0.9922892451286316,
"start": 437,
"tag": "PASSWORD",
"value": "form.password"
},
{
"context": "hen ->\n\t\t\t\temail = ema... | js/controllers/modal/signup.coffee | SwarmCorp/razzledazzle | 0 | window.app.controller 'modalSignupController', ($scope, $modal, $modalInstance, User) ->
# Loading indicator to show/hide spinner
$scope.loading = false
# Initially signup form isn't submitted
$scope.form = {}
$scope.formSubmitted = false
# Submit signup form
$scope.signup = ->
$scope.formSubmitted = true
... | 83725 | window.app.controller 'modalSignupController', ($scope, $modal, $modalInstance, User) ->
# Loading indicator to show/hide spinner
$scope.loading = false
# Initially signup form isn't submitted
$scope.form = {}
$scope.formSubmitted = false
# Submit signup form
$scope.signup = ->
$scope.formSubmitted = true
... | true | window.app.controller 'modalSignupController', ($scope, $modal, $modalInstance, User) ->
# Loading indicator to show/hide spinner
$scope.loading = false
# Initially signup form isn't submitted
$scope.form = {}
$scope.formSubmitted = false
# Submit signup form
$scope.signup = ->
$scope.formSubmitted = true
... |
[
{
"context": "rn('some code')\n\n process.env.TEST_USERNAME = 'testusername'\n process.env.TEST_PASSWORD = 'testpassword'\n\n",
"end": 641,
"score": 0.9986116886138916,
"start": 629,
"tag": "USERNAME",
"value": "testusername"
},
{
"context": "= 'testusername'\n process.env.T... | spec/adapters/authorizer_spec.coffee | dnesteryuk/hubot-torrent | 2 | nock = require('nock')
Authorizer = require('../../lib/hubot-torrent/adapters/authorizer')
describe 'Adapter.Authorizer', ->
beforeEach ->
@granter =
name: ->
'TestTorrent'
requiredEnvVars: ->
['TEST_USERNAME', 'TEST_PASSWORD']
authorizeOptions: ->
host: 'google.com'... | 11198 | nock = require('nock')
Authorizer = require('../../lib/hubot-torrent/adapters/authorizer')
describe 'Adapter.Authorizer', ->
beforeEach ->
@granter =
name: ->
'TestTorrent'
requiredEnvVars: ->
['TEST_USERNAME', 'TEST_PASSWORD']
authorizeOptions: ->
host: 'google.com'... | true | nock = require('nock')
Authorizer = require('../../lib/hubot-torrent/adapters/authorizer')
describe 'Adapter.Authorizer', ->
beforeEach ->
@granter =
name: ->
'TestTorrent'
requiredEnvVars: ->
['TEST_USERNAME', 'TEST_PASSWORD']
authorizeOptions: ->
host: 'google.com'... |
[
{
"context": "'\n },\n 'id': '6096360202846601376',\n 'token': 'ceec931a-c131-11e5-87c1-0c51b7557be8',\n 'name': 'Wf",
"end": 194,
"score": 0.6056936979293823,
"start": 192,
"tag": "KEY",
"value": "ce"
},
{
"context": " },\n 'id': '6096360202846601376',\n 'token': 'ceec931a-c1... | client/mocks/mock.collaborationchannel.coffee | ezgikaysi/koding | 1 | module.exports = {
'watchers': {},
'bongo_': {
'instanceId': '497eefa0616721b4a084cb188feb4f8c',
'constructorName': 'SocialChannel'
},
'id': '6096360202846601376',
'token': 'ceec931a-c131-11e5-87c1-0c51b7557be8',
'name': 'Wf2J0yS5BUqQ9rE9',
'creatorId': '2',
'groupName': 'turunc-gokhan',
'purp... | 191553 | module.exports = {
'watchers': {},
'bongo_': {
'instanceId': '497eefa0616721b4a084cb188feb4f8c',
'constructorName': 'SocialChannel'
},
'id': '6096360202846601376',
'token': '<KEY> <PASSWORD>',
'name': 'Wf2J0yS5BUqQ9rE9',
'creatorId': '2',
'groupName': 'turunc-gokhan',
'purpose': '___collaborat... | true | module.exports = {
'watchers': {},
'bongo_': {
'instanceId': '497eefa0616721b4a084cb188feb4f8c',
'constructorName': 'SocialChannel'
},
'id': '6096360202846601376',
'token': 'PI:KEY:<KEY>END_PI PI:PASSWORD:<PASSWORD>END_PI',
'name': 'Wf2J0yS5BUqQ9rE9',
'creatorId': '2',
'groupName': 'turunc-gokha... |
[
{
"context": "hen return statement contains assignment\n# @author Ilya Volodin\n###\n'use strict'\n\n#------------------------------",
"end": 98,
"score": 0.9997566342353821,
"start": 86,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/rules/no-return-assign.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag when return statement contains assignment
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../esli... | 203036 | ###*
# @fileoverview Rule to flag when return statement contains assignment
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslint-ast... | true | ###*
# @fileoverview Rule to flag when return statement contains assignment
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require ... |
[
{
"context": "est\n checkHttp: (opt={}, cb) ->\n opt.user ?= \"admin\"\n opt.pass ?= \"admin\"\n opt.port ?= 80\n o",
"end": 918,
"score": 0.9848883152008057,
"start": 913,
"tag": "USERNAME",
"value": "admin"
},
{
"context": ", cb) ->\n opt.user ?= \"admin\"\n opt.... | lib/main.coffee | contra/hackery | 1 | request = require 'request'
ftp = require 'jsftp'
ping = require 'ping'
portscanner = require 'portscanner'
async = require 'async'
hackery =
# Networking stuff
ping: ping.sys.probe
scan: (host, port, cb) ->
portscanner.checkPortStatus port, host, (err, res) ->
cb !err and res isnt 'closed'
scanAll... | 179301 | request = require 'request'
ftp = require 'jsftp'
ping = require 'ping'
portscanner = require 'portscanner'
async = require 'async'
hackery =
# Networking stuff
ping: ping.sys.probe
scan: (host, port, cb) ->
portscanner.checkPortStatus port, host, (err, res) ->
cb !err and res isnt 'closed'
scanAll... | true | request = require 'request'
ftp = require 'jsftp'
ping = require 'ping'
portscanner = require 'portscanner'
async = require 'async'
hackery =
# Networking stuff
ping: ping.sys.probe
scan: (host, port, cb) ->
portscanner.checkPortStatus port, host, (err, res) ->
cb !err and res isnt 'closed'
scanAll... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994208812713623,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-tty-wrap.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... | 36944 | # 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": "hbluHttp\n uuid: '1234'\n token: 'tok3n'\n server: 'google.co'\n port: 55",
"end": 418,
"score": 0.9973215460777283,
"start": 413,
"tag": "PASSWORD",
"value": "tok3n"
},
{
"context": "t token', ->\n expect(@sut.token).to.equal ... | node_modules/passport-octoblu/node_modules/meshblu-http/test/meshblu-http-spec.coffee | ratokeshi/endo-google-cloud-platform | 0 | MeshbluHttp = require '../src/meshblu-http'
describe 'MeshbluHttp', ->
describe '->constructor', ->
describe 'default', ->
beforeEach ->
@sut = new MeshbluHttp
it 'should set urlBase', ->
expect(@sut.urlBase).to.equal 'https://meshblu.octoblu.com:443'
describe 'with options', ->... | 30280 | MeshbluHttp = require '../src/meshblu-http'
describe 'MeshbluHttp', ->
describe '->constructor', ->
describe 'default', ->
beforeEach ->
@sut = new MeshbluHttp
it 'should set urlBase', ->
expect(@sut.urlBase).to.equal 'https://meshblu.octoblu.com:443'
describe 'with options', ->... | true | MeshbluHttp = require '../src/meshblu-http'
describe 'MeshbluHttp', ->
describe '->constructor', ->
describe 'default', ->
beforeEach ->
@sut = new MeshbluHttp
it 'should set urlBase', ->
expect(@sut.urlBase).to.equal 'https://meshblu.octoblu.com:443'
describe 'with options', ->... |
[
{
"context": " ->\n selectAll = [\n 'notes'\n 'active'\n 'firstName'\n 'lastName'\n 'company'\n 'position'\n ",
"end": 149,
"score": 0.9753308892250061,
"start": 140,
"tag": "NAME",
"value": "firstName"
},
{
"context": "= [\n 'notes'\n 'active'\n 'first... | example/data/contact_data.coffee | jamesknelson/angular-deputy | 1 | mod = angular.module 'memamug.data.contact', []
mod.factory 'Contact', ["Deputy", (Deputy) ->
selectAll = [
'notes'
'active'
'firstName'
'lastName'
'company'
'position'
'birthday'
'source'
cards: [
'answer'
'active'
question: ['question']
]
]
new Deputy '... | 10407 | mod = angular.module 'memamug.data.contact', []
mod.factory 'Contact', ["Deputy", (Deputy) ->
selectAll = [
'notes'
'active'
'<NAME>'
'<NAME>'
'company'
'position'
'birthday'
'source'
cards: [
'answer'
'active'
question: ['question']
]
]
new Deputy 'Conta... | true | mod = angular.module 'memamug.data.contact', []
mod.factory 'Contact', ["Deputy", (Deputy) ->
selectAll = [
'notes'
'active'
'PI:NAME:<NAME>END_PI'
'PI:NAME:<NAME>END_PI'
'company'
'position'
'birthday'
'source'
cards: [
'answer'
'active'
question: ['question']
... |
[
{
"context": "else 'https://api.nasa.gov/planetary/apod?api_key=NNKOjkoul8n1CH18TWA9gwngW1s1SmjESPjNoUFo'\n\t\t@type = if @options.type then @options.type el",
"end": 410,
"score": 0.9997280836105347,
"start": 370,
"tag": "KEY",
"value": "NNKOjkoul8n1CH18TWA9gwngW1s1SmjESPjNoUFo"
},
{
... | modules/HTTPRequest.coffee | sseira/Framer--HTTPRequest | 0 | # HTTPRequest wrapper class
# accepts url, type, callback, content_type, response_type, body, & access_token
# based on type, sends a GET or POST request
#
class HTTPRequest
constructor: (@options={}) ->
default_callback = (data) ->
print data
console.log data
@url = if @options.url then @options.url ... | 1002 | # HTTPRequest wrapper class
# accepts url, type, callback, content_type, response_type, body, & access_token
# based on type, sends a GET or POST request
#
class HTTPRequest
constructor: (@options={}) ->
default_callback = (data) ->
print data
console.log data
@url = if @options.url then @options.url ... | true | # HTTPRequest wrapper class
# accepts url, type, callback, content_type, response_type, body, & access_token
# based on type, sends a GET or POST request
#
class HTTPRequest
constructor: (@options={}) ->
default_callback = (data) ->
print data
console.log data
@url = if @options.url then @options.url ... |
[
{
"context": "confirmPassword', 'Passwords do not match').equals req.body.password\n \n errors = req.validationErro",
"end": 2610,
"score": 0.6305769681930542,
"start": 2607,
"tag": "PASSWORD",
"value": "req"
},
{
"context": "ssword', 'Passwords do not match').equals req.body.p... | controllers/user.coffee | bedrockdata/stormchaser | 1 | _ = require 'lodash'
async = require 'async'
crypto = require 'crypto'
nodemailer = require 'nodemailer'
passport = require 'passport'
User = require '../models/user'
Stream = require '../models/stream'
DataType = require '../models/data_type'
class UserController
constructor: (@api) ->
getAll: (req, res) ->
... | 161004 | _ = require 'lodash'
async = require 'async'
crypto = require 'crypto'
nodemailer = require 'nodemailer'
passport = require 'passport'
User = require '../models/user'
Stream = require '../models/stream'
DataType = require '../models/data_type'
class UserController
constructor: (@api) ->
getAll: (req, res) ->
... | true | _ = require 'lodash'
async = require 'async'
crypto = require 'crypto'
nodemailer = require 'nodemailer'
passport = require 'passport'
User = require '../models/user'
Stream = require '../models/stream'
DataType = require '../models/data_type'
class UserController
constructor: (@api) ->
getAll: (req, res) ->
... |
[
{
"context": "/expanded state on desktops\n store_state_key: 'mmstate'\n disable_animation_on: ['small'] # Disable an",
"end": 466,
"score": 0.8187145590782166,
"start": 459,
"tag": "KEY",
"value": "mmstate"
},
{
"context": " FastClick plugin\n # # (see https://github.com/ft... | Public/javascripts/sources/app.coffee | mollid/admin | 0 | # -------------------------------------------------------------------
# app.coffee
#
# Default app settings
SETTINGS_DEFAULTS =
is_mobile: false
resize_delay: 400 # resize event delay (milliseconds)
stored_values_prefix: 'pa_' # prefix for strored values in the localStorage and cookies
main_menu:
accordion... | 125175 | # -------------------------------------------------------------------
# app.coffee
#
# Default app settings
SETTINGS_DEFAULTS =
is_mobile: false
resize_delay: 400 # resize event delay (milliseconds)
stored_values_prefix: 'pa_' # prefix for strored values in the localStorage and cookies
main_menu:
accordion... | true | # -------------------------------------------------------------------
# app.coffee
#
# Default app settings
SETTINGS_DEFAULTS =
is_mobile: false
resize_delay: 400 # resize event delay (milliseconds)
stored_values_prefix: 'pa_' # prefix for strored values in the localStorage and cookies
main_menu:
accordion... |
[
{
"context": "#\n knockback.js 0.19.1\n Copyright (c) 2011-2014 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 67,
"score": 0.9998106360435486,
"start": 53,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/core/statistics.coffee | metacommunications/knockback | 0 | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Backbone... | 22171 | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 <NAME>.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###... | true | ###
knockback.js 0.19.1
Copyright (c) 2011-2014 PI:NAME:<NAME>END_PI.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Ba... |
[
{
"context": "===================\n#\n# Colour Methods\n#\n# @author Matthew Wagerfield @mwagerfield\n#\n#=================================",
"end": 115,
"score": 0.9998763203620911,
"start": 97,
"tag": "NAME",
"value": "Matthew Wagerfield"
},
{
"context": "\n#\n# Colour Methods\n#\n... | development/production/source/assets/scripts/coffee/core/Color.coffee | wagerfield/cinnamon | 2 | ###
#============================================================
#
# Colour Methods
#
# @author Matthew Wagerfield @mwagerfield
#
#============================================================
###
class Color
###
# Converts a hex string ().
# @param {number} hex Hex value of the color.
# @param {number} range... | 53605 | ###
#============================================================
#
# Colour Methods
#
# @author <NAME> @mwagerfield
#
#============================================================
###
class Color
###
# Converts a hex string ().
# @param {number} hex Hex value of the color.
# @param {number} range Range of th... | true | ###
#============================================================
#
# Colour Methods
#
# @author PI:NAME:<NAME>END_PI @mwagerfield
#
#============================================================
###
class Color
###
# Converts a hex string ().
# @param {number} hex Hex value of the color.
# @param {number} ran... |
[
{
"context": ".inputs\n\n options =\n password : password.getValue()\n disable : yes\n\n @handleProcessOf2",
"end": 2306,
"score": 0.9163334369659424,
"start": 2289,
"tag": "PASSWORD",
"value": "password.getValue"
},
{
"context": " key : @_a... | client/account/lib/accounttwofactorauth.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
whoami = require 'app/util/whoami'
KDView = kd.View
KDButtonView = kd.ButtonView
module.exports = class AccountTwoFactorAuth extends KDView
constructor: (options = {}, data) ->
options.cssClass = kd.utils.curry \
'AppModal--account tfauth', options.cssClass
... | 23615 | kd = require 'kd'
whoami = require 'app/util/whoami'
KDView = kd.View
KDButtonView = kd.ButtonView
module.exports = class AccountTwoFactorAuth extends KDView
constructor: (options = {}, data) ->
options.cssClass = kd.utils.curry \
'AppModal--account tfauth', options.cssClass
... | true | kd = require 'kd'
whoami = require 'app/util/whoami'
KDView = kd.View
KDButtonView = kd.ButtonView
module.exports = class AccountTwoFactorAuth extends KDView
constructor: (options = {}, data) ->
options.cssClass = kd.utils.curry \
'AppModal--account tfauth', options.cssClass
... |
[
{
"context": "#!/usr/bin/env coffee\n\n###\nCopyright © Avi Flax and other contributors\n\nPermission is hereby gran",
"end": 47,
"score": 0.9998348951339722,
"start": 39,
"tag": "NAME",
"value": "Avi Flax"
}
] | coffee-script/rollup.coffee | aviflax/rollups | 2 | #!/usr/bin/env coffee
###
Copyright © Avi Flax and other 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, mo... | 51652 | #!/usr/bin/env coffee
###
Copyright © <NAME> and other 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, modi... | true | #!/usr/bin/env coffee
###
Copyright © PI:NAME:<NAME>END_PI and other 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 u... |
[
{
"context": "settings =\n transmissionIframeSrc: \"http://95.128.64.231:6886\"\n @$el.html(@template(settings))\n ",
"end": 220,
"score": 0.9994120001792908,
"start": 207,
"tag": "IP_ADDRESS",
"value": "95.128.64.231"
}
] | app/assets/backbone/views/downloads/transmission.js.coffee | v-yarotsky/TorrentsPub | 0 | @module 'TorrentsPub.Downloads', ->
class @DownloadsView extends Backbone.View
template: JST["templates/downloads/transmission"]
render: =>
settings =
transmissionIframeSrc: "http://95.128.64.231:6886"
@$el.html(@template(settings))
@
| 46399 | @module 'TorrentsPub.Downloads', ->
class @DownloadsView extends Backbone.View
template: JST["templates/downloads/transmission"]
render: =>
settings =
transmissionIframeSrc: "http://172.16.17.32:6886"
@$el.html(@template(settings))
@
| true | @module 'TorrentsPub.Downloads', ->
class @DownloadsView extends Backbone.View
template: JST["templates/downloads/transmission"]
render: =>
settings =
transmissionIframeSrc: "http://PI:IP_ADDRESS:172.16.17.32END_PI:6886"
@$el.html(@template(settings))
@
|
[
{
"context": "() < upperBoundary) {\n # var old_key = my.selectedPoint.x();\n # my.selectedPoint.tr",
"end": 17616,
"score": 0.5756866335868835,
"start": 17616,
"tag": "KEY",
"value": ""
},
{
"context": "dary) {\n # var old_key = my.selectedPoint.x();\n # ... | www/static/coffee/curve_editor.coffee | jonepatr/affordance-master-thesis | 5 | class window.BezierCurveEditor
constructor: (@curveEditorContainer, @curveChannels, @sendHandler, @widthHeight) ->
@listWithCurves = {}
@gCanvas
@gCtx
@gBackCanvas
@gBackCtx
@Mode =
kAdding:
value: 0
name: "Adding"
kSelecting:
value: 1
name: "Select... | 225832 | class window.BezierCurveEditor
constructor: (@curveEditorContainer, @curveChannels, @sendHandler, @widthHeight) ->
@listWithCurves = {}
@gCanvas
@gCtx
@gBackCanvas
@gBackCtx
@Mode =
kAdding:
value: 0
name: "Adding"
kSelecting:
value: 1
name: "Select... | true | class window.BezierCurveEditor
constructor: (@curveEditorContainer, @curveChannels, @sendHandler, @widthHeight) ->
@listWithCurves = {}
@gCanvas
@gCtx
@gBackCanvas
@gBackCtx
@Mode =
kAdding:
value: 0
name: "Adding"
kSelecting:
value: 1
name: "Select... |
[
{
"context": " contains configuration of the project.\n\n @author Fabian M. <mail.fabianm@gmail.com>\n###\nclass ProjectConfig",
"end": 212,
"score": 0.9995850324630737,
"start": 204,
"tag": "NAME",
"value": "Fabian M"
},
{
"context": "nfiguration of the project.\n\n @author Fabian... | kaffee/src/main/kaffee/project/configuration.coffee | fabianm/kaffee | 1 | Fs = require "fs"
Path = require "path"
Configuration = require "../configuration"
Util = require "../util"
###
The {@link ProjectConfiguration} class contains configuration of the project.
@author Fabian M. <mail.fabianm@gmail.com>
###
class ProjectConfiguration
###
Constructs a new {@link ProjectConfigurati... | 206781 | Fs = require "fs"
Path = require "path"
Configuration = require "../configuration"
Util = require "../util"
###
The {@link ProjectConfiguration} class contains configuration of the project.
@author <NAME>. <<EMAIL>>
###
class ProjectConfiguration
###
Constructs a new {@link ProjectConfiguration} instance.
... | true | Fs = require "fs"
Path = require "path"
Configuration = require "../configuration"
Util = require "../util"
###
The {@link ProjectConfiguration} class contains configuration of the project.
@author PI:NAME:<NAME>END_PI. <PI:EMAIL:<EMAIL>END_PI>
###
class ProjectConfiguration
###
Constructs a new {@link Projec... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.7049664258956909,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/spec/SpecBarcode.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'bwip'
'KineticJS'
], (bwip, kin) ->
"use strict"
createView = (attributes) ->
view = new k... | 99898 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'bwip'
'KineticJS'
], (bwip, kin) ->
"use strict"
createView = (attributes) ->
view = new ... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'bwip'
'KineticJS'
], (bwip, kin) ->
"use strict"
createView = (attributes) ->
... |
[
{
"context": "(|\\\\)|\\\\s|\\\\.)*$\")\n\n setting =\n key: \"offsets-#{scope.offsetsKey}\"\n\n setting.initialize = ->\n",
"end": 662,
"score": 0.9956178665161133,
"start": 652,
"tag": "KEY",
"value": "offsets-#{"
}
] | src/components/widgets-settings/offsets/offsets.directive.coffee | agranado2k/impac-angular | 7 | module = angular.module('impac.components.widgets-settings.offsets',[])
module.directive('settingOffsets', ($templateCache, ImpacUtilities) ->
return {
restrict: 'A',
scope: {
parentWidget: '='
deferred: '='
offsetsKey: '@'
initialOffsets: '='
currency: '='
intervalsCount:... | 64766 | module = angular.module('impac.components.widgets-settings.offsets',[])
module.directive('settingOffsets', ($templateCache, ImpacUtilities) ->
return {
restrict: 'A',
scope: {
parentWidget: '='
deferred: '='
offsetsKey: '@'
initialOffsets: '='
currency: '='
intervalsCount:... | true | module = angular.module('impac.components.widgets-settings.offsets',[])
module.directive('settingOffsets', ($templateCache, ImpacUtilities) ->
return {
restrict: 'A',
scope: {
parentWidget: '='
deferred: '='
offsetsKey: '@'
initialOffsets: '='
currency: '='
intervalsCount:... |
[
{
"context": "E = \"test/resources/logo.png\"\n PUBLIC_ID = \"api_test\"\n TIMEOUT_SHORT = 5000\n TIMEOUT_MEDIUM ",
"end": 396,
"score": 0.5211643576622009,
"start": 393,
"tag": "KEY",
"value": "api"
},
{
"context": "ry.v2.uploader.upload IMAGE_FILE, public_id: \"api_test5... | countProject/countproject_temp/node_modules/keystone/node_modules/cloudinary/test/apispec.coffee | edagarli/countProjects | 0 | dotenv = require('dotenv')
dotenv.load()
expect = require("expect.js")
cloudinary = require("../cloudinary")
utils = require("../lib/utils")
_ = require("lodash")
Q = require('q')
fs = require('fs')
describe "api", ->
return console.warn("**** Please setup environment for api test to run!") if !cloudinary.config().a... | 1395 | dotenv = require('dotenv')
dotenv.load()
expect = require("expect.js")
cloudinary = require("../cloudinary")
utils = require("../lib/utils")
_ = require("lodash")
Q = require('q')
fs = require('fs')
describe "api", ->
return console.warn("**** Please setup environment for api test to run!") if !cloudinary.config().a... | true | dotenv = require('dotenv')
dotenv.load()
expect = require("expect.js")
cloudinary = require("../cloudinary")
utils = require("../lib/utils")
_ = require("lodash")
Q = require('q')
fs = require('fs')
describe "api", ->
return console.warn("**** Please setup environment for api test to run!") if !cloudinary.config().a... |
[
{
"context": " ht = {}\n for row in @rows\n key = @keyf(row)[1]\n ht[key] = [] unless key of ht\n ht[",
"end": 3978,
"score": 0.9433931112289429,
"start": 3965,
"tag": "KEY",
"value": "@keyf(row)[1]"
}
] | src/data/partitionedpairtable.coffee | sirrice/ggdata | 0 | #<< data/pairtable
class data.PartitionedPairTable extends data.PairTable
constructor: (@table, @cols, @lschema, @rschema) ->
unless @table.has 'left'
throw Error
unless @table.has 'right'
throw Error
if @cols.length + 2 != @table.cols().length
#throw Error "table should have #{@cols.... | 133042 | #<< data/pairtable
class data.PartitionedPairTable extends data.PairTable
constructor: (@table, @cols, @lschema, @rschema) ->
unless @table.has 'left'
throw Error
unless @table.has 'right'
throw Error
if @cols.length + 2 != @table.cols().length
#throw Error "table should have #{@cols.... | true | #<< data/pairtable
class data.PartitionedPairTable extends data.PairTable
constructor: (@table, @cols, @lschema, @rschema) ->
unless @table.has 'left'
throw Error
unless @table.has 'right'
throw Error
if @cols.length + 2 != @table.cols().length
#throw Error "table should have #{@cols.... |
[
{
"context": "\n# File: Tiramisu/_helper/camera.coffee\r\n# Author: NaNuNo\r\n# Project: https://github.com/NaNuNoo/Tiramisu\r\n",
"end": 97,
"score": 0.9546462893486023,
"start": 91,
"tag": "NAME",
"value": "NaNuNo"
},
{
"context": "\r\n# Author: NaNuNo\r\n# Project: https://github.... | _helper/camera.coffee | NaNuNoo/Tiramisu | 0 | # # # # # # # # # # # # # # # # # # # #
# File: Tiramisu/_helper/camera.coffee
# Author: NaNuNo
# Project: https://github.com/NaNuNoo/Tiramisu
# WebSite: http://FenQi.IO
# # # # # # # # # # # # # # # # # # # #
PHI_MIN = 0
PHI_MAX = Math.PI * 2
THETA_MIN = 0
THETA_MAX = Math.PI
class SphereView
construc... | 141463 | # # # # # # # # # # # # # # # # # # # #
# File: Tiramisu/_helper/camera.coffee
# Author: <NAME>
# Project: https://github.com/NaNuNoo/Tiramisu
# WebSite: http://FenQi.IO
# # # # # # # # # # # # # # # # # # # #
PHI_MIN = 0
PHI_MAX = Math.PI * 2
THETA_MIN = 0
THETA_MAX = Math.PI
class SphereView
construc... | true | # # # # # # # # # # # # # # # # # # # #
# File: Tiramisu/_helper/camera.coffee
# Author: PI:NAME:<NAME>END_PI
# Project: https://github.com/NaNuNoo/Tiramisu
# WebSite: http://FenQi.IO
# # # # # # # # # # # # # # # # # # # #
PHI_MIN = 0
PHI_MAX = Math.PI * 2
THETA_MIN = 0
THETA_MAX = Math.PI
class SphereVi... |
[
{
"context": "# Copyright 2013 Andrey Antukh <niwi@niwi.be>\n#\n# Licensed under the Apache Lice",
"end": 30,
"score": 0.9998822212219238,
"start": 17,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "# Copyright 2013 Andrey Antukh <niwi@niwi.be>\n#\n# Licensed under the Apac... | mrfogg-front/app/coffee/plugins/overlay.coffee | PIWEEK/mrfogg | 0 | # Copyright 2013 Andrey Antukh <niwi@niwi.be>
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | 140078 | # Copyright 2013 <NAME> <<EMAIL>>
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | true | # Copyright 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Licensed under the Apache License, Version 2.0 (the "License")
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... |
[
{
"context": "s token.\n @param {String} [options.admin.email=loopback-with-admin@example.com] email address for admin user\n @param {String}",
"end": 1259,
"score": 0.9998177289962769,
"start": 1228,
"tag": "EMAIL",
"value": "loopback-with-admin@example.com"
},
{
"context": " ... | src/main.coffee | CureApp/loopback-with-admin | 13 |
LoopbackInfo = require './lib/loopback-info'
LoopbackServer = require './lib/loopback-server'
ConfigJSONGenerator = require './lib/config-json-generator'
ModelsGenerator = require './lib/models-generator'
BuildInfoGenerator = require './lib/build-info-generator'
CustomConfigs = require './lib/cus... | 48624 |
LoopbackInfo = require './lib/loopback-info'
LoopbackServer = require './lib/loopback-server'
ConfigJSONGenerator = require './lib/config-json-generator'
ModelsGenerator = require './lib/models-generator'
BuildInfoGenerator = require './lib/build-info-generator'
CustomConfigs = require './lib/cus... | true |
LoopbackInfo = require './lib/loopback-info'
LoopbackServer = require './lib/loopback-server'
ConfigJSONGenerator = require './lib/config-json-generator'
ModelsGenerator = require './lib/models-generator'
BuildInfoGenerator = require './lib/build-info-generator'
CustomConfigs = require './lib/cus... |
[
{
"context": " ele: \"simple element\"\r\n person:\r\n name: \"John\"\r\n '@age': 35\r\n '?pi': 'mypi'\r\n '#",
"end": 113,
"score": 0.9997250437736511,
"start": 109,
"tag": "NAME",
"value": "John"
}
] | node_modules/xmlbuilder/perf/basic/object.coffee | jordaoqualho/Lorena-Felicio | 8 | perf 'Create simple object', 100000, (run) ->
obj =
ele: "simple element"
person:
name: "John"
'@age': 35
'?pi': 'mypi'
'#comment': 'Good guy'
'#cdata': 'well formed!'
unescaped:
'#raw': '&<>&'
address:
city: "Istanbul"
street: "En... | 39707 | perf 'Create simple object', 100000, (run) ->
obj =
ele: "simple element"
person:
name: "<NAME>"
'@age': 35
'?pi': 'mypi'
'#comment': 'Good guy'
'#cdata': 'well formed!'
unescaped:
'#raw': '&<>&'
address:
city: "Istanbul"
street: "... | true | perf 'Create simple object', 100000, (run) ->
obj =
ele: "simple element"
person:
name: "PI:NAME:<NAME>END_PI"
'@age': 35
'?pi': 'mypi'
'#comment': 'Good guy'
'#cdata': 'well formed!'
unescaped:
'#raw': '&<>&'
address:
city: "Istanbul"
... |
[
{
"context": ".3.18 Darwin/14.0.0'\n 'Authorization':'oauth 5774b305d2ae4469a2c9258956ea49'\n 'Content-Type':'application/json'\n }\n\n\n",
"end": 449,
"score": 0.5984563827514648,
"start": 419,
"tag": "PASSWORD",
"value": "5774b305d2ae4469a2c9258956ea49"
}
] | server/getCollection.coffee | youqingkui/zhihu2evernote | 0 | requrest = require('request')
fs = require('fs')
path = require('path')
queue = require('../server/getAnswers')
SyncLog = require('../models/sync-log')
async = require('async')
saveErr = require('../server/errInfo')
Task = require('../models/task')
class GetCol
constructor:(@noteStore) ->
@headers = {
'U... | 175782 | requrest = require('request')
fs = require('fs')
path = require('path')
queue = require('../server/getAnswers')
SyncLog = require('../models/sync-log')
async = require('async')
saveErr = require('../server/errInfo')
Task = require('../models/task')
class GetCol
constructor:(@noteStore) ->
@headers = {
'U... | true | requrest = require('request')
fs = require('fs')
path = require('path')
queue = require('../server/getAnswers')
SyncLog = require('../models/sync-log')
async = require('async')
saveErr = require('../server/errInfo')
Task = require('../models/task')
class GetCol
constructor:(@noteStore) ->
@headers = {
'U... |
[
{
"context": "ft part is the same as the right\n# part.\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 116,
"score": 0.9998145699501038,
"start": 104,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/rules/no-self-compare.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag comparison where left part is the same as the right
# part.
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
modul... | 74120 | ###*
# @fileoverview Rule to flag comparison where left part is the same as the right
# part.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.expo... | true | ###*
# @fileoverview Rule to flag comparison where left part is the same as the right
# part.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------------------------------------------------... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998615980148315,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/lists.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget "IKS.hallolists",
options:
editable: null
toolbar: null
uuid: ''
lists:
... | 155060 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget "IKS.hallolists",
options:
editable: null
toolbar: null
uuid: ''
lists:
... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget "IKS.hallolists",
options:
editable: null
toolbar: null
uuid: ''
lists... |
[
{
"context": "\n###\n Script.js - Script that powers 1fiesta. By Andy Chase.\n###\n\nmap = \"\"\ngeocoder = \"\"\nmarkersArray = \"\"\nin",
"end": 62,
"score": 0.9998190402984619,
"start": 52,
"tag": "NAME",
"value": "Andy Chase"
}
] | static/js/src/ascript.coffee | andychase/1fiesta.com | 0 |
###
Script.js - Script that powers 1fiesta. By Andy Chase.
###
map = ""
geocoder = ""
markersArray = ""
infoWindow = ""
current_lang = "english"
### Script options ###
numberOfMarkersToShowOnPage = 90
getNewEventsRate = 500
### ^ Milliseconds ###
markersTooCloseToBotOfPage = 150
markersTooCloseOnMap = (zoom) ->
... | 201452 |
###
Script.js - Script that powers 1fiesta. By <NAME>.
###
map = ""
geocoder = ""
markersArray = ""
infoWindow = ""
current_lang = "english"
### Script options ###
numberOfMarkersToShowOnPage = 90
getNewEventsRate = 500
### ^ Milliseconds ###
markersTooCloseToBotOfPage = 150
markersTooCloseOnMap = (zoom) ->
if ... | true |
###
Script.js - Script that powers 1fiesta. By PI:NAME:<NAME>END_PI.
###
map = ""
geocoder = ""
markersArray = ""
infoWindow = ""
current_lang = "english"
### Script options ###
numberOfMarkersToShowOnPage = 90
getNewEventsRate = 500
### ^ Milliseconds ###
markersTooCloseToBotOfPage = 150
markersTooCloseOnMap = ... |
[
{
"context": "cation.href = '/'\n\n login: ->\n username = $('#username').val()\n password = $('#password').val()\n @",
"end": 462,
"score": 0.6499702334403992,
"start": 454,
"tag": "USERNAME",
"value": "username"
},
{
"context": "sername = $('#username').val()\n passwor... | app/assets/javascripts/views/users/login.coffee | okapusta/skirace | 0 | class Skirace.Views.Users.Login extends Backbone.View
template: JST['users/login']
loginForm: '#login-from'
el: $ '.application-container'
events:
'click #login' : 'login'
'click .login-close' : 'loginClose'
initialize: ->
@user = new Skirace.Models.User()
@render()
render: ->
$(@... | 158287 | class Skirace.Views.Users.Login extends Backbone.View
template: JST['users/login']
loginForm: '#login-from'
el: $ '.application-container'
events:
'click #login' : 'login'
'click .login-close' : 'loginClose'
initialize: ->
@user = new Skirace.Models.User()
@render()
render: ->
$(@... | true | class Skirace.Views.Users.Login extends Backbone.View
template: JST['users/login']
loginForm: '#login-from'
el: $ '.application-container'
events:
'click #login' : 'login'
'click .login-close' : 'loginClose'
initialize: ->
@user = new Skirace.Models.User()
@render()
render: ->
$(@... |
[
{
"context": "t.attr('class'), data)\n\n data = { key1: 'value1', key2: 'value2' }\n $tag = affix(\".child",
"end": 2075,
"score": 0.6993916034698486,
"start": 2069,
"tag": "KEY",
"value": "value1"
},
{
"context": " data)\n\n data = { key1: 'value1', key2: ... | spec_app/spec/javascripts/up/bus_spec.js.coffee | ktec/unpoly | 0 | describe 'up.bus', ->
describe 'JavaScript functions', ->
describe 'up.on', ->
it 'registers a delagating event listener to the document body, which passes the $element as a second argument to the listener', asyncSpec (next) ->
affix('.container .child')
observeClass = jasmine.createSpy... | 145073 | describe 'up.bus', ->
describe 'JavaScript functions', ->
describe 'up.on', ->
it 'registers a delagating event listener to the document body, which passes the $element as a second argument to the listener', asyncSpec (next) ->
affix('.container .child')
observeClass = jasmine.createSpy... | true | describe 'up.bus', ->
describe 'JavaScript functions', ->
describe 'up.on', ->
it 'registers a delagating event listener to the document body, which passes the $element as a second argument to the listener', asyncSpec (next) ->
affix('.container .child')
observeClass = jasmine.createSpy... |
[
{
"context": "e database here\n for key of config\n keyU = underscored(humanize(key)).toUpperCase()\n keyC = camelize",
"end": 562,
"score": 0.7690818309783936,
"start": 550,
"tag": "KEY",
"value": "underscored("
},
{
"context": "re\n for key of config\n keyU = u... | src/index.coffee | ndxbxrme/ndx-database-engine | 0 | 'use strict'
ObjectID = require 'bson-objectid'
settings = require './settings'
underscored = require('underscore.string').underscored
humanize = require('underscore.string').humanize
camelize = require('underscore.string').camelize
version = require('../package.json').version
callbacks =
ready: []
insert: []
up... | 120841 | 'use strict'
ObjectID = require 'bson-objectid'
settings = require './settings'
underscored = require('underscore.string').underscored
humanize = require('underscore.string').humanize
camelize = require('underscore.string').camelize
version = require('../package.json').version
callbacks =
ready: []
insert: []
up... | true | 'use strict'
ObjectID = require 'bson-objectid'
settings = require './settings'
underscored = require('underscore.string').underscored
humanize = require('underscore.string').humanize
camelize = require('underscore.string').camelize
version = require('../package.json').version
callbacks =
ready: []
insert: []
up... |
[
{
"context": "rview Enforce props alphabetical sorting\n# @author Yannick Croissant\n###\n\n'use strict'\n\n# ----------------------------",
"end": 83,
"score": 0.9998615980148315,
"start": 66,
"tag": "NAME",
"value": "Yannick Croissant"
}
] | src/tests/rules/jsx-sort-props.coffee | danielbayley/eslint-plugin-coffee | 0 | ###*
# @fileoverview Enforce props alphabetical sorting
# @author Yannick Croissant
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/r... | 85707 | ###*
# @fileoverview Enforce props alphabetical sorting
# @author <NAME>
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/jsx-so... | true | ###*
# @fileoverview Enforce props alphabetical sorting
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/li... |
[
{
"context": "l\", () ->\n myModel = @myEntity.create(name: 'Luccas Marks')\n\n expect(myModel.isNew()).toBe(true)\n ",
"end": 2418,
"score": 0.999880313873291,
"start": 2406,
"tag": "NAME",
"value": "Luccas Marks"
},
{
"context": "oBe(true)\n expect(myModel.get('n... | spec/javascripts/core/entities/entity.spec.coffee | houzelio/houzel | 2 | import Entity from 'javascripts/core/entities/entity'
import sinon from 'sinon'
describe("Entity", () ->
MyEntity = Entity.extend({
urlRoot: "/foo-model"
url: "/foo-collection"
})
beforeEach ->
@server = sinon.fakeServer.create()
@myEntity = new MyEntity
afterEach ->
@server.restore()
... | 98870 | import Entity from 'javascripts/core/entities/entity'
import sinon from 'sinon'
describe("Entity", () ->
MyEntity = Entity.extend({
urlRoot: "/foo-model"
url: "/foo-collection"
})
beforeEach ->
@server = sinon.fakeServer.create()
@myEntity = new MyEntity
afterEach ->
@server.restore()
... | true | import Entity from 'javascripts/core/entities/entity'
import sinon from 'sinon'
describe("Entity", () ->
MyEntity = Entity.extend({
urlRoot: "/foo-model"
url: "/foo-collection"
})
beforeEach ->
@server = sinon.fakeServer.create()
@myEntity = new MyEntity
afterEach ->
@server.restore()
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993383288383484,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "n \"linux\"\n filter = (e) ->\n e.address is \"127.0.0.1\"\n\n actual = interfaces.... | test/simple/test-os.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... | 107673 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "###\n @author Takahiro INOUE <takahiro.inoue@aist.go.jp>\n @license Songle Wid",
"end": 28,
"score": 0.9998713135719299,
"start": 14,
"tag": "NAME",
"value": "Takahiro INOUE"
},
{
"context": "###\n @author Takahiro INOUE <takahiro.inoue@aist.go.jp>\n @license Songle... | extras/src/sw-extra-visualizer.coffee | ongacrest/songle-widget-api-examples | 16 | ###
@author Takahiro INOUE <takahiro.inoue@aist.go.jp>
@license Songle Widget API Examples
Visit http://songle.jp/info/Credit.html OR http://widget.songle.jp/docs/v1 for documentation.
Copyright (c) 2015 National Institute of Advanced Industrial Science and Technology (AIST)
Distributed under the terms of t... | 30979 | ###
@author <NAME> <<EMAIL>>
@license Songle Widget API Examples
Visit http://songle.jp/info/Credit.html OR http://widget.songle.jp/docs/v1 for documentation.
Copyright (c) 2015 National Institute of Advanced Industrial Science and Technology (AIST)
Distributed under the terms of the MIT license only for no... | true | ###
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
@license Songle Widget API Examples
Visit http://songle.jp/info/Credit.html OR http://widget.songle.jp/docs/v1 for documentation.
Copyright (c) 2015 National Institute of Advanced Industrial Science and Technology (AIST)
Distributed under the terms o... |
[
{
"context": "# @author supereggbert / http://www.paulbrunt.co.uk/\n# @author ",
"end": 13,
"score": 0.9936078786849976,
"start": 10,
"tag": "USERNAME",
"value": "sup"
},
{
"context": "# @author supereggbert / http://www.paulbrunt.co.uk/\n# @author philogb /",
"end": 22,
"sco... | source/javascripts/new_src/core/vector_4.coffee | andrew-aladev/three.js | 0 | # @author supereggbert / http://www.paulbrunt.co.uk/
# @author philogb / http://blog.thejit.org/
# @author mikael emtinger / http://gomo.se/
# @author egraether / http://egraether.com/
# @author aladjev.andrew@gmail.com
class Vector4
constructor: (x, y, z, w) ->
@x = x or 0
@y = y or 0
@z = z or 0
@w... | 137384 | # @author sup<NAME> / http://www.paulbrunt.co.uk/
# @author philogb / http://blog.thejit.org/
# @author <NAME> / http://gomo.se/
# @author egraether / http://egraether.com/
# @author <EMAIL>
class Vector4
constructor: (x, y, z, w) ->
@x = x or 0
@y = y or 0
@z = z or 0
@w = (if (w isnt undefined) the... | true | # @author supPI:NAME:<NAME>END_PI / http://www.paulbrunt.co.uk/
# @author philogb / http://blog.thejit.org/
# @author PI:NAME:<NAME>END_PI / http://gomo.se/
# @author egraether / http://egraether.com/
# @author PI:EMAIL:<EMAIL>END_PI
class Vector4
constructor: (x, y, z, w) ->
@x = x or 0
@y = y or 0
@z =... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998907446861267,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/index.coffee | AbdelhakimRafik/Project | 1 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date June 2021
###
express = require 'express'
app = do express
cors = require 'cors'
config = require './config'
db = require('./database')(config.db)
routes = require('./routes'... | 60294 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date June 2021
###
express = require 'express'
app = do express
cors = require 'cors'
config = require './config'
db = require('./database')(config.db)
routes = require('./routes')(app)
# use bodyPa... | 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
###
express = require 'express'
app = do express
cors = require 'cors'
config = require './config'
db = require('./database')(config.db)
routes = require('.... |
[
{
"context": "is earned by killing unique players.\n *\n * @name PKer\n * @prerequisite Kill 10*[10*[n-1]+1] unique pla",
"end": 185,
"score": 0.7147166132926941,
"start": 181,
"tag": "USERNAME",
"value": "PKer"
},
{
"context": "kValue / killInterval\n item =\n name: \... | src/character/achievements/PKer.coffee | jawsome/IdleLands | 3 |
Achievement = require "../base/Achievement"
{toRoman} = require "roman-numerals"
_ = require "lodash"
`/**
* This achievement is earned by killing unique players.
*
* @name PKer
* @prerequisite Kill 10*[10*[n-1]+1] unique players.
* @reward +5 STR
* @reward +5 AGI
* @reward +5 CON
* @reward +5 DEX
*... | 125321 |
Achievement = require "../base/Achievement"
{toRoman} = require "roman-numerals"
_ = require "lodash"
`/**
* This achievement is earned by killing unique players.
*
* @name PKer
* @prerequisite Kill 10*[10*[n-1]+1] unique players.
* @reward +5 STR
* @reward +5 AGI
* @reward +5 CON
* @reward +5 DEX
*... | true |
Achievement = require "../base/Achievement"
{toRoman} = require "roman-numerals"
_ = require "lodash"
`/**
* This achievement is earned by killing unique players.
*
* @name PKer
* @prerequisite Kill 10*[10*[n-1]+1] unique players.
* @reward +5 STR
* @reward +5 AGI
* @reward +5 CON
* @reward +5 DEX
*... |
[
{
"context": "-grunt-travis-github-pages/\n\t# https://github.com/sindresorhus/grunt-shell\n\t# Needs “pipenv run”, that scripts f",
"end": 336,
"score": 0.9996150732040405,
"start": 324,
"tag": "USERNAME",
"value": "sindresorhus"
},
{
"context": " --update”, users have bug:\n\t# htt... | grunt/shell.coffee | Kristinita/SashaPelicanTest | 0 | #################
## grunt-shell ##
#################
# Grunt plugin to run non-Grunt CLI commands.
# https://www.npmjs.com/package/grunt-shell
module.exports =
#############
## Pelican ##
#############
# Build Pelican site:
# http://manos.im/blog/static-site-pelican-grunt-travis-github-pages/
# https://github.... | 702 | #################
## grunt-shell ##
#################
# Grunt plugin to run non-Grunt CLI commands.
# https://www.npmjs.com/package/grunt-shell
module.exports =
#############
## Pelican ##
#############
# Build Pelican site:
# http://manos.im/blog/static-site-pelican-grunt-travis-github-pages/
# https://github.... | true | #################
## grunt-shell ##
#################
# Grunt plugin to run non-Grunt CLI commands.
# https://www.npmjs.com/package/grunt-shell
module.exports =
#############
## Pelican ##
#############
# Build Pelican site:
# http://manos.im/blog/static-site-pelican-grunt-travis-github-pages/
# https://github.... |
[
{
"context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 25,
"score": 0.9931498765945435,
"start": 19,
"tag": "NAME",
"value": "Balena"
}
] | lib/models/config.coffee | josecoelho/balena-sdk | 0 | ###
Copyright 2016 Balena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | 72217 | ###
Copyright 2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
[
{
"context": "ute', (done) ->\n model = new Model({name: 'Bob', type: 'thing'})\n model.save (err) ->\n ",
"end": 1167,
"score": 0.9994315505027771,
"start": 1164,
"tag": "NAME",
"value": "Bob"
},
{
"context": "tes', (done) ->\n model = new Model({name: 'Bob', ... | test/spec/sync/capabilities/dynamic_attributes.tests.coffee | dk-dev/backbone-orm | 54 | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... | 161146 | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... | true | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneORM
_.each BackboneORM.TestUtils.optionSets(), exports = (options) ->
... |
[
{
"context": "e, @email, @password) ->\n\nlogins = [\n new Login \"ghostrider9511\", \"ghostrider9511@gmail.com\", \"dOg#ibCud!5D\"\n ne",
"end": 169,
"score": 0.9996634125709534,
"start": 155,
"tag": "USERNAME",
"value": "ghostrider9511"
},
{
"context": "rd) ->\n\nlogins = [\n ne... | automation/src/index.coffee | codyseibert/random | 3 | spawn = require('child_process').spawn
Promise = require 'bluebird'
class Login
constructor: (@username, @email, @password) ->
logins = [
new Login "ghostrider9511", "ghostrider9511@gmail.com", "dOg#ibCud!5D"
new Login "kigostacre", "kigostacre@thrma.com", "dOg#ibCud!5D"
new Login "ceriputhic", "ceriputhic@th... | 206423 | spawn = require('child_process').spawn
Promise = require 'bluebird'
class Login
constructor: (@username, @email, @password) ->
logins = [
new Login "ghostrider9511", "<EMAIL>", "dOg#ibCud!5D"
new Login "kigostacre", "<EMAIL>", "dOg#ibCud!5D"
new Login "ceriputhic", "<EMAIL>", "bad8C_dasc"
new Login "jebuchi... | true | spawn = require('child_process').spawn
Promise = require 'bluebird'
class Login
constructor: (@username, @email, @password) ->
logins = [
new Login "ghostrider9511", "PI:EMAIL:<EMAIL>END_PI", "dOg#ibCud!5D"
new Login "kigostacre", "PI:EMAIL:<EMAIL>END_PI", "dOg#ibCud!5D"
new Login "ceriputhic", "PI:EMAIL:<EMA... |
[
{
"context": "###\n# lib/seed/archives.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Seed the datab",
"end": 53,
"score": 0.9996594786643982,
"start": 42,
"tag": "NAME",
"value": "Dan Nichols"
}
] | lib/seed/archives.coffee | dlnichols/h_media | 0 | ###
# lib/seed/archives.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Seed the database with archives
###
'use strict'
# External libs
Async = require 'async'
# Internal libs
Factory = require '../../test/lib/factory'
module.exports = [
'users'
(done, results) ->
Async.parallel [
Fac... | 76642 | ###
# lib/seed/archives.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Seed the database with archives
###
'use strict'
# External libs
Async = require 'async'
# Internal libs
Factory = require '../../test/lib/factory'
module.exports = [
'users'
(done, results) ->
Async.parallel [
Factory.... | true | ###
# lib/seed/archives.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Seed the database with archives
###
'use strict'
# External libs
Async = require 'async'
# Internal libs
Factory = require '../../test/lib/factory'
module.exports = [
'users'
(done, results) ->
Async.parallel [
... |
[
{
"context": "# geodist\n# Copyright (c) 2013 Charles Moncrief <cmoncrief@gmail.com>\n# MIT Licensed\n\nradiusUnits",
"end": 47,
"score": 0.9998701214790344,
"start": 31,
"tag": "NAME",
"value": "Charles Moncrief"
},
{
"context": "# geodist\n# Copyright (c) 2013 Charles Moncrief <cmo... | src/geodist.coffee | cmoncrief/geodist | 36 | # geodist
# Copyright (c) 2013 Charles Moncrief <cmoncrief@gmail.com>
# MIT Licensed
radiusUnits =
'feet': 20908800
'yards': 6969600
'miles': 3960
'mi': 3960
'kilometers': 6371
'km': 6371
'meters': 6371000
# Returns the distance between two points. Takes two points in varying
# formats and an options h... | 157233 | # geodist
# Copyright (c) 2013 <NAME> <<EMAIL>>
# MIT Licensed
radiusUnits =
'feet': 20908800
'yards': 6969600
'miles': 3960
'mi': 3960
'kilometers': 6371
'km': 6371
'meters': 6371000
# Returns the distance between two points. Takes two points in varying
# formats and an options hash.
getDistance = (s... | true | # geodist
# Copyright (c) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MIT Licensed
radiusUnits =
'feet': 20908800
'yards': 6969600
'miles': 3960
'mi': 3960
'kilometers': 6371
'km': 6371
'meters': 6371000
# Returns the distance between two points. Takes two points in varying
# formats and an op... |
[
{
"context": " @loadFixtures()\n # @user =\n # username: 'foobar1'\n # email: \"foobar1@example.com\"\n # pas",
"end": 184,
"score": 0.9994755983352661,
"start": 177,
"tag": "USERNAME",
"value": "foobar1"
},
{
"context": "ser =\n # username: 'foobar1'\n # ... | spec/javascripts/controllers/AuthCtrl_spec.coffee | baberthal/cocktails | 0 | #= require spec_helper
describe 'AuthCtrl', ->
beforeEach ->
@setupController('AuthCtrl')
@Auth = @model('Auth')
@loadFixtures()
# @user =
# username: 'foobar1'
# email: "foobar1@example.com"
# password: 'foobar1secret'
@templateExpectations()
describe 'controller initializat... | 144943 | #= require spec_helper
describe 'AuthCtrl', ->
beforeEach ->
@setupController('AuthCtrl')
@Auth = @model('Auth')
@loadFixtures()
# @user =
# username: 'foobar1'
# email: "<EMAIL>"
# password: '<PASSWORD>'
@templateExpectations()
describe 'controller initialization', ->
de... | true | #= require spec_helper
describe 'AuthCtrl', ->
beforeEach ->
@setupController('AuthCtrl')
@Auth = @model('Auth')
@loadFixtures()
# @user =
# username: 'foobar1'
# email: "PI:EMAIL:<EMAIL>END_PI"
# password: 'PI:PASSWORD:<PASSWORD>END_PI'
@templateExpectations()
describe 'cont... |
[
{
"context": "rience\n money: user.money\n username: user.username\n Identities: user.getIdentities().map (ide",
"end": 777,
"score": 0.9978882670402527,
"start": 764,
"tag": "USERNAME",
"value": "user.username"
},
{
"context": "upation: identity.occupation\n ... | GOTHAM/Backend/src/Networking/Rooms/UserRoom.coffee | perara/gotham | 0 | Room = require './Room.coffee'
###*
# UserRoom, Room which contains emitter related to user events
# @class UserRoom
# @module Backend
# @submodule Backend.Networking
# @extends Room
###
class UserRoom extends Room
define: ->
that = @
###*
# Emitter for getting a user (Defined as class, but is in real... | 208888 | Room = require './Room.coffee'
###*
# UserRoom, Room which contains emitter related to user events
# @class UserRoom
# @module Backend
# @submodule Backend.Networking
# @extends Room
###
class UserRoom extends Room
define: ->
that = @
###*
# Emitter for getting a user (Defined as class, but is in real... | true | Room = require './Room.coffee'
###*
# UserRoom, Room which contains emitter related to user events
# @class UserRoom
# @module Backend
# @submodule Backend.Networking
# @extends Room
###
class UserRoom extends Room
define: ->
that = @
###*
# Emitter for getting a user (Defined as class, but is in real... |
[
{
"context": "count\n tom_account = balancesheet.get_account('Tom')\n tom_account.should.be.an.instanceOf(Account",
"end": 521,
"score": 0.9993647933006287,
"start": 518,
"tag": "NAME",
"value": "Tom"
},
{
"context": "unt)\n dick_account = balancesheet.get_account('Dick')\n ... | test/datastore/balancesheet.coffee | PartTimeLegend/buttercoin-engine | 8 | BalanceSheet = require('../../lib/datastore/balancesheet')
Account = require('../../lib/datastore/account')
describe 'BalanceSheet', ->
it 'should initialize with no accounts', ->
balancesheet = new BalanceSheet()
Object.keys(balancesheet.accounts).should.be.empty
it 'should add new account instances as t... | 161454 | BalanceSheet = require('../../lib/datastore/balancesheet')
Account = require('../../lib/datastore/account')
describe 'BalanceSheet', ->
it 'should initialize with no accounts', ->
balancesheet = new BalanceSheet()
Object.keys(balancesheet.accounts).should.be.empty
it 'should add new account instances as t... | true | BalanceSheet = require('../../lib/datastore/balancesheet')
Account = require('../../lib/datastore/account')
describe 'BalanceSheet', ->
it 'should initialize with no accounts', ->
balancesheet = new BalanceSheet()
Object.keys(balancesheet.accounts).should.be.empty
it 'should add new account instances as t... |
[
{
"context": "ms with identical hash values\", ->\n key_a = new FunnyKey(257)\n key_b = new FunnyKey(513)\n key_c =",
"end": 3762,
"score": 0.6667735576629639,
"start": 3757,
"tag": "KEY",
"value": "Funny"
},
{
"context": "entical hash values\", ->\n key_a = new FunnyKey(... | spec/hash_map_spec.coffee | odf/pazy.js | 0 | if typeof(require) != 'undefined'
{ seq } = require 'sequence'
{ HashMap } = require 'indexed'
else
{ seq, HashMap } = pazy
class FunnyKey
constructor: (@value) ->
hashCode: -> @value % 256
equals: (other) -> @value == other.value
toString: -> "FunnyKey(#{@value})"
FunnyKey.sorter = (a, b) -> a[... | 61466 | if typeof(require) != 'undefined'
{ seq } = require 'sequence'
{ HashMap } = require 'indexed'
else
{ seq, HashMap } = pazy
class FunnyKey
constructor: (@value) ->
hashCode: -> @value % 256
equals: (other) -> @value == other.value
toString: -> "FunnyKey(#{@value})"
FunnyKey.sorter = (a, b) -> a[... | true | if typeof(require) != 'undefined'
{ seq } = require 'sequence'
{ HashMap } = require 'indexed'
else
{ seq, HashMap } = pazy
class FunnyKey
constructor: (@value) ->
hashCode: -> @value % 256
equals: (other) -> @value == other.value
toString: -> "FunnyKey(#{@value})"
FunnyKey.sorter = (a, b) -> a[... |
[
{
"context": "tist's request)\n JSON.stringify(item).match(/kippenberger|zoe.*leonard/i)\n",
"end": 449,
"score": 0.9408758282661438,
"start": 437,
"tag": "NAME",
"value": "kippenberger"
},
{
"context": "t)\n JSON.stringify(item).match(/kippenberger|zoe.*leonard/i)\n",
... | src/desktop/apps/search/collections/global_search_results.coffee | zephraph/force | 1 | _ = require 'underscore'
Backbone = require 'backbone'
sd = require('sharify').data
SearchResult = require '../../../models/search_result.coffee'
module.exports = class GlobalSearchResults extends Backbone.Collection
model: SearchResult
url: "#{sd.API_URL}/api/v1/match"
parse: (response) ->
_.reject respo... | 25805 | _ = require 'underscore'
Backbone = require 'backbone'
sd = require('sharify').data
SearchResult = require '../../../models/search_result.coffee'
module.exports = class GlobalSearchResults extends Backbone.Collection
model: SearchResult
url: "#{sd.API_URL}/api/v1/match"
parse: (response) ->
_.reject respo... | true | _ = require 'underscore'
Backbone = require 'backbone'
sd = require('sharify').data
SearchResult = require '../../../models/search_result.coffee'
module.exports = class GlobalSearchResults extends Backbone.Collection
model: SearchResult
url: "#{sd.API_URL}/api/v1/match"
parse: (response) ->
_.reject respo... |
[
{
"context": "a = @getProperties \"email\", \"password\", \"password_confirmation\", \"title\", \"first_name\", \"last_name\", \"role\", \"co",
"end": 358,
"score": 0.6555001139640808,
"start": 346,
"tag": "PASSWORD",
"value": "confirmation"
}
] | app/scripts/controllers/profile/signup_controller.coffee | JulianMiller/opened.io | 1 | Openedui.ProfileSignupController = Ember.Controller.extend
isLoading: false
actions:
signup: ->
self = @
# dont go further if we sending already a request
return if self.get('isLoading')
self.set('isLoading', true)
@set "role", @get("activeTab")
data = @getProperties "emai... | 120414 | Openedui.ProfileSignupController = Ember.Controller.extend
isLoading: false
actions:
signup: ->
self = @
# dont go further if we sending already a request
return if self.get('isLoading')
self.set('isLoading', true)
@set "role", @get("activeTab")
data = @getProperties "emai... | true | Openedui.ProfileSignupController = Ember.Controller.extend
isLoading: false
actions:
signup: ->
self = @
# dont go further if we sending already a request
return if self.get('isLoading')
self.set('isLoading', true)
@set "role", @get("activeTab")
data = @getProperties "emai... |
[
{
"context": "# Author: Josh Bass\n# Description: The React View for the Header bar ",
"end": 19,
"score": 0.9998741745948792,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
}
] | src/client/components/header_bar/HeaderBarView.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
# Description: The React View for the Header bar at the top of the mast diagnostic display.
React = require("react");
mathjs = require("mathjs");
require("./res/styles/header_bar.scss")
module.exports = React.createClass
getInitialState: ->
{time: "00:00:00", export_data_alert: false};
c... | 203772 | # Author: <NAME>
# Description: The React View for the Header bar at the top of the mast diagnostic display.
React = require("react");
mathjs = require("mathjs");
require("./res/styles/header_bar.scss")
module.exports = React.createClass
getInitialState: ->
{time: "00:00:00", export_data_alert: false};
comp... | true | # Author: PI:NAME:<NAME>END_PI
# Description: The React View for the Header bar at the top of the mast diagnostic display.
React = require("react");
mathjs = require("mathjs");
require("./res/styles/header_bar.scss")
module.exports = React.createClass
getInitialState: ->
{time: "00:00:00", export_data_alert: f... |
[
{
"context": "e-break-on-single-newline': ->\n keyPath = 'markdown-preview-plus.breakOnSingleNewline'\n atom.config.set(keyPath, not atom.config",
"end": 4016,
"score": 0.9977120757102966,
"start": 3974,
"tag": "KEY",
"value": "markdown-preview-plus.breakOnSingleNewline"
}
] | packages/markdown-preview-plus/lib/main.coffee | jarednipper/atom-config | 0 | url = require 'url'
fs = require 'fs-plus'
MarkdownPreviewView = null
renderer = null
mathjaxHelper = null
isMarkdownPreviewView = (object) ->
MarkdownPreviewView ?= require './markdown-preview-view'
object instanceof MarkdownPreviewView
module.exports =
config:
breakOnSingleNewline:
type: 'boolean'
... | 119616 | url = require 'url'
fs = require 'fs-plus'
MarkdownPreviewView = null
renderer = null
mathjaxHelper = null
isMarkdownPreviewView = (object) ->
MarkdownPreviewView ?= require './markdown-preview-view'
object instanceof MarkdownPreviewView
module.exports =
config:
breakOnSingleNewline:
type: 'boolean'
... | true | url = require 'url'
fs = require 'fs-plus'
MarkdownPreviewView = null
renderer = null
mathjaxHelper = null
isMarkdownPreviewView = (object) ->
MarkdownPreviewView ?= require './markdown-preview-view'
object instanceof MarkdownPreviewView
module.exports =
config:
breakOnSingleNewline:
type: 'boolean'
... |
[
{
"context": "sitory('c')\n\n cRepo.save(id: 'xxx', name: 'shin')\n cRepo.save(id: 'yyy', name: 'satake')\n\n",
"end": 1149,
"score": 0.9994955062866211,
"start": 1145,
"tag": "NAME",
"value": "shin"
},
{
"context": "ame: 'shin')\n cRepo.save(id: 'yyy', name: 'sa... | spec/lib/includer.coffee | CureApp/base-domain | 37 |
Facade = require '../base-domain'
{ ValueObject, Entity, BaseAsyncRepository, BaseSyncRepository } = Facade
{ MemoryResource, Includer } = require '../others'
describe 'Includer', ->
before ->
@facade = require('../create-facade').create()
class A extends ValueObject
@properties:... | 127493 |
Facade = require '../base-domain'
{ ValueObject, Entity, BaseAsyncRepository, BaseSyncRepository } = Facade
{ MemoryResource, Includer } = require '../others'
describe 'Includer', ->
before ->
@facade = require('../create-facade').create()
class A extends ValueObject
@properties:... | true |
Facade = require '../base-domain'
{ ValueObject, Entity, BaseAsyncRepository, BaseSyncRepository } = Facade
{ MemoryResource, Includer } = require '../others'
describe 'Includer', ->
before ->
@facade = require('../create-facade').create()
class A extends ValueObject
@properties:... |
[
{
"context": " # source: http://www.flickr.com/photos/virgomerry/315412804/\n # also see: http://www.flick",
"end": 15213,
"score": 0.9996131062507629,
"start": 15203,
"tag": "USERNAME",
"value": "virgomerry"
},
{
"context": " # also see: http://www.flickr.... | apps/smartgraphs/activity_json/gravity.coffee | concord-consortium/Smartgraphs | 0 | Smartgraphs.activityDocs ||= {}
Smartgraphs.activityDocs["/shared/gravity"] =
_id: "gravity.df6"
_rev: 1
data_format_version: 6
activity:
title: "Was Galileo Right?"
url: "/shared/gravity"
owner: "shared"
pages: [
"/shared/gravity/page/1"
"/shared... | 94565 | Smartgraphs.activityDocs ||= {}
Smartgraphs.activityDocs["/shared/gravity"] =
_id: "gravity.df6"
_rev: 1
data_format_version: 6
activity:
title: "Was Galileo Right?"
url: "/shared/gravity"
owner: "shared"
pages: [
"/shared/gravity/page/1"
"/shared... | true | Smartgraphs.activityDocs ||= {}
Smartgraphs.activityDocs["/shared/gravity"] =
_id: "gravity.df6"
_rev: 1
data_format_version: 6
activity:
title: "Was Galileo Right?"
url: "/shared/gravity"
owner: "shared"
pages: [
"/shared/gravity/page/1"
"/shared... |
[
{
"context": "\t\tdiscoverableServices.publishServices([ { name: 'Gopher', identifier: '_noweb._sub._gopher._udp', po",
"end": 6442,
"score": 0.6847783327102661,
"start": 6441,
"tag": "NAME",
"value": "G"
},
{
"context": "length(1)\n\t\t\t\t\tgopher = _.find(services, { name: 'Gopher... | tests/discovery.spec.coffee | balena-io-modules/resin-discoverable-services | 3 | m = require('mochainon')
_ = require('lodash')
{ expect } = m.chai
{ testServicePath, givenServiceRegistry } = require('./setup')
{ isAvailable: isAvahiAvailable } = require('../lib/backends/avahi')
discoverableServices = require('../lib/discoverable')
describe 'Discoverable Services:', ->
testServices = [
{
... | 158098 | m = require('mochainon')
_ = require('lodash')
{ expect } = m.chai
{ testServicePath, givenServiceRegistry } = require('./setup')
{ isAvailable: isAvahiAvailable } = require('../lib/backends/avahi')
discoverableServices = require('../lib/discoverable')
describe 'Discoverable Services:', ->
testServices = [
{
... | true | m = require('mochainon')
_ = require('lodash')
{ expect } = m.chai
{ testServicePath, givenServiceRegistry } = require('./setup')
{ isAvailable: isAvahiAvailable } = require('../lib/backends/avahi')
discoverableServices = require('../lib/discoverable')
describe 'Discoverable Services:', ->
testServices = [
{
... |
[
{
"context": "get).css('background', \"url('/images/bridal_party/Michael.jpg') no-repeat\")\n $(e.target).css('backgr",
"end": 1659,
"score": 0.8248655796051025,
"start": 1652,
"tag": "NAME",
"value": "Michael"
},
{
"context": "\\-\\w+\\.jpg/.exec(image)[0]\n\n michael1Rege... | source/javascripts/script.js.coffee | waysidekoi/richandkristen | 0 | $ ->
$('.girls').on 'click', 'dd', (e)->
$('.girls').find('dd').removeClass('active')
$(e.target).closest('dd').addClass('active')
$('.boys').on 'click', 'dd', (e)->
$('.boys').find('dd').removeClass('active')
$(e.target).closest('dd').addClass('active')
$('.gw').on 'click', 'dd', (e)->
$('.gw'... | 192341 | $ ->
$('.girls').on 'click', 'dd', (e)->
$('.girls').find('dd').removeClass('active')
$(e.target).closest('dd').addClass('active')
$('.boys').on 'click', 'dd', (e)->
$('.boys').find('dd').removeClass('active')
$(e.target).closest('dd').addClass('active')
$('.gw').on 'click', 'dd', (e)->
$('.gw'... | true | $ ->
$('.girls').on 'click', 'dd', (e)->
$('.girls').find('dd').removeClass('active')
$(e.target).closest('dd').addClass('active')
$('.boys').on 'click', 'dd', (e)->
$('.boys').find('dd').removeClass('active')
$(e.target).closest('dd').addClass('active')
$('.gw').on 'click', 'dd', (e)->
$('.gw'... |
[
{
"context": "til\n\n The MIT License (MIT)\n\n Copyright (c) 2014 Yasuhiro Okuno\n\n Permission is hereby granted, free of charge, ",
"end": 88,
"score": 0.9998618364334106,
"start": 74,
"tag": "NAME",
"value": "Yasuhiro Okuno"
}
] | coffee_lib/crowdutil/command.coffee | koma75/crowdutil | 1 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 Yasuhiro Okuno
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... | 89792 | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
... | true | ###
@license
crowdutil
The MIT License (MIT)
Copyright (c) 2014 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitati... |
[
{
"context": "\n# A CoffeeScript version of Paul Irish's requestAnimationFrame polyfill.\ndo ->\n w = win",
"end": 39,
"score": 0.999386727809906,
"start": 29,
"tag": "NAME",
"value": "Paul Irish"
}
] | coffee/index.coffee | ndrwhr/tumbler | 20 |
# A CoffeeScript version of Paul Irish's requestAnimationFrame polyfill.
do ->
w = window
for vendor in ['ms', 'moz', 'webkit', 'o']
break if w.requestAnimationFrame
w.requestAnimationFrame = w["#{vendor}RequestAnimationFrame"]
w.cancelAnimationFrame = (w["#{vendor}CancelAnimationFrame"] or
... | 144023 |
# A CoffeeScript version of <NAME>'s requestAnimationFrame polyfill.
do ->
w = window
for vendor in ['ms', 'moz', 'webkit', 'o']
break if w.requestAnimationFrame
w.requestAnimationFrame = w["#{vendor}RequestAnimationFrame"]
w.cancelAnimationFrame = (w["#{vendor}CancelAnimationFrame"] or
... | true |
# A CoffeeScript version of PI:NAME:<NAME>END_PI's requestAnimationFrame polyfill.
do ->
w = window
for vendor in ['ms', 'moz', 'webkit', 'o']
break if w.requestAnimationFrame
w.requestAnimationFrame = w["#{vendor}RequestAnimationFrame"]
w.cancelAnimationFrame = (w["#{vendor}CancelAnimationFrame"] or
... |
[
{
"context": " ->\n before -> @product = id: 123, name: \"foo bar\"\n\n it \"is defined\", ->\n expect(Produc",
"end": 1003,
"score": 0.7279783487319946,
"start": 1000,
"tag": "NAME",
"value": "bar"
},
{
"context": " product = new Products(id: 4567, name: \"... | client/test/unit/modules/resources_spec.coffee | lucassus/angular-coffee-seed | 2 | describe "Module `myApp.resources`", ->
beforeEach module "myApp.resources"
describe "Service `Products`", ->
$rootScope = null
$httpBackend = null
Products = null
beforeEach inject (_$rootScope_, _$httpBackend_, _Products_) ->
$rootScope = _$rootScope_
$httpBackend = _$httpBackend_
... | 25343 | describe "Module `myApp.resources`", ->
beforeEach module "myApp.resources"
describe "Service `Products`", ->
$rootScope = null
$httpBackend = null
Products = null
beforeEach inject (_$rootScope_, _$httpBackend_, _Products_) ->
$rootScope = _$rootScope_
$httpBackend = _$httpBackend_
... | true | describe "Module `myApp.resources`", ->
beforeEach module "myApp.resources"
describe "Service `Products`", ->
$rootScope = null
$httpBackend = null
Products = null
beforeEach inject (_$rootScope_, _$httpBackend_, _Products_) ->
$rootScope = _$rootScope_
$httpBackend = _$httpBackend_
... |
[
{
"context": "force spacing before and after keywords.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 96,
"score": 0.9998630881309509,
"start": 82,
"tag": "NAME",
"value": "Toru Nagashima"
}
] | src/rules/keyword-spacing.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to enforce spacing before and after keywords.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslin... | 91774 | ###*
# @fileoverview Rule to enforce spacing before and after keywords.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslint-ast-ut... | true | ###*
# @fileoverview Rule to enforce spacing before and after keywords.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '..... |
[
{
"context": "asic\"\n username: options.username\n password: options.password\n\n githubStr = JSON.stringify\n username: optio",
"end": 621,
"score": 0.9988429546356201,
"start": 605,
"tag": "PASSWORD",
"value": "options.password"
},
{
"context": ".username\n module.exp... | lib/utils/gitApi.coffee | yezhiming/atom-chameleon | 3 | Q = require 'q'
request = require 'request'
GitHubApi = require 'github'
{exec} = require 'child_process'
{EOL} = require 'os'
fse = require 'fs-extra'
fs = require 'fs'
github = null
# api.github.com
github_init = ->
github = new GitHubApi
# required
version: '3.0.0'
# optional
debug: false
ti... | 133236 | Q = require 'q'
request = require 'request'
GitHubApi = require 'github'
{exec} = require 'child_process'
{EOL} = require 'os'
fse = require 'fs-extra'
fs = require 'fs'
github = null
# api.github.com
github_init = ->
github = new GitHubApi
# required
version: '3.0.0'
# optional
debug: false
ti... | true | Q = require 'q'
request = require 'request'
GitHubApi = require 'github'
{exec} = require 'child_process'
{EOL} = require 'os'
fse = require 'fs-extra'
fs = require 'fs'
github = null
# api.github.com
github_init = ->
github = new GitHubApi
# required
version: '3.0.0'
# optional
debug: false
ti... |
[
{
"context": "ew.$el.html '<input>'\n @view.$('input').val 'Lemuria'\n @view.once 'location:update', (location) -",
"end": 2433,
"score": 0.9751976132392883,
"start": 2426,
"tag": "NAME",
"value": "Lemuria"
},
{
"context": " (location) ->\n location.should.eql name: ... | src/desktop/components/location_search/test/location_search.coffee | kanaabe/force | 1 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
LocationSearchView = benv.requireWithJadeify(resolve(__dirname, '../index'), ['template'])
describe 'Location Search', ->
beforeEach (done) ->
benv.setup =>
benv.expose
... | 189265 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
LocationSearchView = benv.requireWithJadeify(resolve(__dirname, '../index'), ['template'])
describe 'Location Search', ->
beforeEach (done) ->
benv.setup =>
benv.expose
... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
LocationSearchView = benv.requireWithJadeify(resolve(__dirname, '../index'), ['template'])
describe 'Location Search', ->
beforeEach (done) ->
benv.setup =>
benv.expose
... |
[
{
"context": "l 3\n Users.identify [{user_id: 3, username: 'my_username'}], (err, userId) ->\n should.not.exist err",
"end": 986,
"score": 0.9995508193969727,
"start": 975,
"tag": "USERNAME",
"value": "my_username"
},
{
"context": "ame', (next) ->\n Users.create\n ... | test/identify.coffee | wdavidw/node-ron | 14 |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get
name: 'users'
properties:
user_id: identifier: true
username: unique: true
email: index: true
next()
beforeEac... | 222734 |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get
name: 'users'
properties:
user_id: identifier: true
username: unique: true
email: index: true
next()
beforeEac... | true |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get
name: 'users'
properties:
user_id: identifier: true
username: unique: true
email: index: true
next()
beforeEac... |
[
{
"context": " enums (regression)', ->\n # https://github.com/atom/language-java/issues/103\n # This test 'fails' ",
"end": 13878,
"score": 0.9961035251617432,
"start": 13874,
"tag": "USERNAME",
"value": "atom"
},
{
"context": " String someString;\n String assigned = ... | spec/java-spec.coffee | ndneighbor/cafecito-atom | 0 | describe 'Java grammar', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage('language-java')
runs ->
grammar = atom.grammars.grammarForScopeName('source.java')
it 'parses the grammar', ->
expect(grammar).toBeTruthy()
expect(grammar.scopeName).toBe 'sour... | 67545 | describe 'Java grammar', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage('language-java')
runs ->
grammar = atom.grammars.grammarForScopeName('source.java')
it 'parses the grammar', ->
expect(grammar).toBeTruthy()
expect(grammar.scopeName).toBe 'sour... | true | describe 'Java grammar', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage('language-java')
runs ->
grammar = atom.grammars.grammarForScopeName('source.java')
it 'parses the grammar', ->
expect(grammar).toBeTruthy()
expect(grammar.scopeName).toBe 'sour... |
[
{
"context": "ction_name = rule_queue.shift()\n rule_key = \"#{action_name}_#{separate_url_length}\"\n args = @_prepareArgs rule_queue, rule_key",
"end": 722,
"score": 0.9847366213798523,
"start": 683,
"tag": "KEY",
"value": "\"#{action_name}_#{separate_url_length}\""
}
] | vendor/assets/javascripts/keybridge/routine_route.js.coffee | eduvo/bootstrap-sass | 0 | define (require) ->
$window = $(window)
UrlPath = require 'keybridge/urlpath'
class RoutineRoute
eventName: "RR:route"
path: ''
rulesPool: {}
_prepareArgs: (rule_queue, rule_key) ->
option = {}
if option_candidate = @rulesPool[rule_key]?.option_candidate
args = [rule_key, opti... | 1358 | define (require) ->
$window = $(window)
UrlPath = require 'keybridge/urlpath'
class RoutineRoute
eventName: "RR:route"
path: ''
rulesPool: {}
_prepareArgs: (rule_queue, rule_key) ->
option = {}
if option_candidate = @rulesPool[rule_key]?.option_candidate
args = [rule_key, opti... | true | define (require) ->
$window = $(window)
UrlPath = require 'keybridge/urlpath'
class RoutineRoute
eventName: "RR:route"
path: ''
rulesPool: {}
_prepareArgs: (rule_queue, rule_key) ->
option = {}
if option_candidate = @rulesPool[rule_key]?.option_candidate
args = [rule_key, opti... |
[
{
"context": "ull\n\nbeforeEach ->\n struct = new Struct name: 'Bob'\n\nit 'key is accessible', ->\n assert.is struct",
"end": 100,
"score": 0.9976414442062378,
"start": 97,
"tag": "NAME",
"value": "Bob"
},
{
"context": "ey is accessible', ->\n assert.is struct.name, 'Bob'\n... | packages/core/neft-core/src/struct/index.test.coffee | Neft-io/neftio | 23 | 'use strict'
Struct = require './'
struct = null
beforeEach ->
struct = new Struct name: 'Bob'
it 'key is accessible', ->
assert.is struct.name, 'Bob'
it 'key can be changed', ->
struct.name = 'Max'
assert.is struct.name, 'Max'
it 'new key cannot be added', ->
error = null
try
stru... | 137267 | 'use strict'
Struct = require './'
struct = null
beforeEach ->
struct = new Struct name: '<NAME>'
it 'key is accessible', ->
assert.is struct.name, '<NAME>'
it 'key can be changed', ->
struct.name = '<NAME>'
assert.is struct.name, '<NAME>'
it 'new key cannot be added', ->
error = null
try
... | true | 'use strict'
Struct = require './'
struct = null
beforeEach ->
struct = new Struct name: 'PI:NAME:<NAME>END_PI'
it 'key is accessible', ->
assert.is struct.name, 'PI:NAME:<NAME>END_PI'
it 'key can be changed', ->
struct.name = 'PI:NAME:<NAME>END_PI'
assert.is struct.name, 'PI:NAME:<NAME>END_PI'
it... |
[
{
"context": "O: when API supports it as per https://github.com/resin-io/hq/pull/949 remove userId\n\t\t\t_.defaults(device, {",
"end": 8859,
"score": 0.9990300536155701,
"start": 8851,
"tag": "USERNAME",
"value": "resin-io"
},
{
"context": "stance, it failed to start so far\n\t\t\t\... | src/api-binder.coffee | hippolyt/resin-supervisor | 0 | Promise = require 'bluebird'
_ = require 'lodash'
url = require 'url'
TypedError = require 'typed-error'
PinejsClient = require 'pinejs-client'
deviceRegister = require 'resin-register-device'
express = require 'express'
bodyParser = require 'body-parser'
Lock = require 'rwlock'
{ request, requestOpts } = require './li... | 201548 | Promise = require 'bluebird'
_ = require 'lodash'
url = require 'url'
TypedError = require 'typed-error'
PinejsClient = require 'pinejs-client'
deviceRegister = require 'resin-register-device'
express = require 'express'
bodyParser = require 'body-parser'
Lock = require 'rwlock'
{ request, requestOpts } = require './li... | true | Promise = require 'bluebird'
_ = require 'lodash'
url = require 'url'
TypedError = require 'typed-error'
PinejsClient = require 'pinejs-client'
deviceRegister = require 'resin-register-device'
express = require 'express'
bodyParser = require 'body-parser'
Lock = require 'rwlock'
{ request, requestOpts } = require './li... |
[
{
"context": "###*\n# @fileoverview No mixed linebreaks\n# @author Erik Mueller\n###\n'use strict'\n\n#------------------------------",
"end": 63,
"score": 0.9998123049736023,
"start": 51,
"tag": "NAME",
"value": "Erik Mueller"
}
] | src/tests/rules/linebreak-style.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview No mixed linebreaks
# @author Erik Mueller
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/linebreak-style'
{RuleTester}... | 209781 | ###*
# @fileoverview No mixed linebreaks
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/linebreak-style'
{RuleTester} = req... | true | ###*
# @fileoverview No mixed linebreaks
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/linebreak-style'
{Rul... |
[
{
"context": "etConnect()\ndomain = \"slack-node\"\nwebhookToken = \"ROHgstANbsFAUA5dHHI5JONu\"\napiToken = \"xoxp-2307918714-2307918716-230791081",
"end": 182,
"score": 0.9987815022468567,
"start": 158,
"tag": "KEY",
"value": "ROHgstANbsFAUA5dHHI5JONu"
},
{
"context": "ookToken = \"... | src/test/main.spec.test.coffee | edwardbc/slack-node-sdk | 0 | should = require "should"
nock = require "nock"
url = require "url"
Slack = require "../index"
nock.enableNetConnect()
domain = "slack-node"
webhookToken = "ROHgstANbsFAUA5dHHI5JONu"
apiToken = "xoxp-2307918714-2307918716-2307910813-17cabf"
webhookUri = "https://hooks.slack.com/services/T0291T0M0/B0291T1K4/ROHgstANbsF... | 186706 | should = require "should"
nock = require "nock"
url = require "url"
Slack = require "../index"
nock.enableNetConnect()
domain = "slack-node"
webhookToken = "<KEY>"
apiToken = "<KEY>"
webhookUri = "<KEY>"
describe 'slack new webhook test', ->
this.timeout(50000)
slack = new Slack()
slack.setWebhook(webhookUri)
... | true | should = require "should"
nock = require "nock"
url = require "url"
Slack = require "../index"
nock.enableNetConnect()
domain = "slack-node"
webhookToken = "PI:KEY:<KEY>END_PI"
apiToken = "PI:KEY:<KEY>END_PI"
webhookUri = "PI:KEY:<KEY>END_PI"
describe 'slack new webhook test', ->
this.timeout(50000)
slack = new S... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992320537567139,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-child-process-double-pipe.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... | 176437 | # 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": "et'\n dataType: 'json'\n data:\n password: password\n email: email\n success: (data) -> set_fee",
"end": 398,
"score": 0.9989483952522278,
"start": 390,
"tag": "PASSWORD",
"value": "password"
}
] | lib/assets/javascripts/password_feedback.js.coffee | bluerail/password_feedback | 1 | #= require zxcvbn
'use strict'
req = null
show_feedback = (input, email, password, bar) ->
req.abort() if req?
if password is ''
bar.html ''
return
show_feedback_client input, email, password, bar
show_feedback_server = ((input, email, password, bar) ->
req = jQuery.ajax
url: '/users/password_... | 150605 | #= require zxcvbn
'use strict'
req = null
show_feedback = (input, email, password, bar) ->
req.abort() if req?
if password is ''
bar.html ''
return
show_feedback_client input, email, password, bar
show_feedback_server = ((input, email, password, bar) ->
req = jQuery.ajax
url: '/users/password_... | true | #= require zxcvbn
'use strict'
req = null
show_feedback = (input, email, password, bar) ->
req.abort() if req?
if password is ''
bar.html ''
return
show_feedback_client input, email, password, bar
show_feedback_server = ((input, email, password, bar) ->
req = jQuery.ajax
url: '/users/password_... |
[
{
"context": "emo = { endpoint: 'https://api.github.com', key: 'github', name: 'GitHub', description: 'fancy desc' }\n ",
"end": 249,
"score": 0.9910535216331482,
"start": 243,
"tag": "KEY",
"value": "github"
}
] | test/unit/controllers/demo_spec.coffee | rrampage/monitor | 114 | describe 'DemoService', ->
beforeEach module('slug.services.demo')
it 'creates new service', inject (DemoService, Service) ->
spyOn(Service, 'save').and.callFake (service) ->
myDemo = { endpoint: 'https://api.github.com', key: 'github', name: 'GitHub', description: 'fancy desc' }
DemoService.create... | 125047 | describe 'DemoService', ->
beforeEach module('slug.services.demo')
it 'creates new service', inject (DemoService, Service) ->
spyOn(Service, 'save').and.callFake (service) ->
myDemo = { endpoint: 'https://api.github.com', key: '<KEY>', name: 'GitHub', description: 'fancy desc' }
DemoService.create(... | true | describe 'DemoService', ->
beforeEach module('slug.services.demo')
it 'creates new service', inject (DemoService, Service) ->
spyOn(Service, 'save').and.callFake (service) ->
myDemo = { endpoint: 'https://api.github.com', key: 'PI:KEY:<KEY>END_PI', name: 'GitHub', description: 'fancy desc' }
DemoSe... |
[
{
"context": "g: \"Prevailing Pung/Kong\",score: 1},\n \"Chanta\": {jpn: \"Chanta\",eng: \"Outs",
"end": 1503,
"score": 0.8775755167007446,
"start": 1497,
"tag": "NAME",
"value": "Chanta"
},
{
"context": " \"Chanta\": {... | akagiScoring.coffee | Kuba663/Akagi-Bot | 1 | _ = require('lodash')
gamePieces = require('./akagiTiles.coffee')
yakuList = {
"Riichi": {jpn: "Riichi",eng: "Riichi",score: 1},
"Ippatsu": {jpn: "Ippatsu",eng: "One Shot",score: 1},
"Daburu Riichi": {jpn: "Daburu Riichi",eng... | 119713 | _ = require('lodash')
gamePieces = require('./akagiTiles.coffee')
yakuList = {
"Riichi": {jpn: "Riichi",eng: "Riichi",score: 1},
"Ippatsu": {jpn: "Ippatsu",eng: "One Shot",score: 1},
"Daburu Riichi": {jpn: "Daburu Riichi",eng... | true | _ = require('lodash')
gamePieces = require('./akagiTiles.coffee')
yakuList = {
"Riichi": {jpn: "Riichi",eng: "Riichi",score: 1},
"Ippatsu": {jpn: "Ippatsu",eng: "One Shot",score: 1},
"Daburu Riichi": {jpn: "Daburu Riichi",eng... |
[
{
"context": "{port}};Database={#{database}};Uid={#{user}};Pwd={#{password}};Trusted_Connection={#{trusted}};'\nCONNECTION_ST",
"end": 431,
"score": 0.7481077313423157,
"start": 421,
"tag": "PASSWORD",
"value": "#{password"
},
{
"context": "tance}};Database={#{database}};Uid={#{user}... | node_modules/sails-sqlserver/node_modules/mssql/src/msnodesql.coffee | siaomingjeng/konga-test | 0 | {Pool} = require 'generic-pool'
msnodesql = require 'msnodesql'
util = require 'util'
{TYPES, declare} = require('./datatypes')
UDT = require('./udt').PARSERS
ISOLATION_LEVEL = require('./isolationlevel')
DECLARATIONS = require('./datatypes').DECLARATIONS
EMPTY_BUFFER = new Buffer(0)
CONNECTION_STRING_PORT = 'Driver=... | 34246 | {Pool} = require 'generic-pool'
msnodesql = require 'msnodesql'
util = require 'util'
{TYPES, declare} = require('./datatypes')
UDT = require('./udt').PARSERS
ISOLATION_LEVEL = require('./isolationlevel')
DECLARATIONS = require('./datatypes').DECLARATIONS
EMPTY_BUFFER = new Buffer(0)
CONNECTION_STRING_PORT = 'Driver=... | true | {Pool} = require 'generic-pool'
msnodesql = require 'msnodesql'
util = require 'util'
{TYPES, declare} = require('./datatypes')
UDT = require('./udt').PARSERS
ISOLATION_LEVEL = require('./isolationlevel')
DECLARATIONS = require('./datatypes').DECLARATIONS
EMPTY_BUFFER = new Buffer(0)
CONNECTION_STRING_PORT = 'Driver=... |
[
{
"context": "t\n model: models.a\n event: \"sample@chain.chain\"\n handler: -> ok(true, \"got sample@cha",
"end": 6251,
"score": 0.9968719482421875,
"start": 6233,
"tag": "EMAIL",
"value": "sample@chain.chain"
},
{
"context": "chain.chain\"\n ... | test/chaining.coffee | ronen/backbone-chaining | 1 | $(document).ready ->
unless window.console
window.console = {}
names = [ 'log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml',
'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd' ]
for name in names
window.console[name] = -... | 75779 | $(document).ready ->
unless window.console
window.console = {}
names = [ 'log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml',
'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd' ]
for name in names
window.console[name] = -... | true | $(document).ready ->
unless window.console
window.console = {}
names = [ 'log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml',
'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd' ]
for name in names
window.console[name] = -... |
[
{
"context": "arch: (text, rid, limit) ->\n\t\t###\n\t\t\ttext = 'from:rodrigo mention:gabriel chat'\n\t\t###\n\n\t\tresult =\n\t\t\tmessag",
"end": 82,
"score": 0.8924514651298523,
"start": 75,
"tag": "USERNAME",
"value": "rodrigo"
},
{
"context": ", limit) ->\n\t\t###\n\t\t\ttext =... | server/methods/messageSearch.coffee | org100h1/Rocket.Panda | 0 | Meteor.methods
messageSearch: (text, rid, limit) ->
###
text = 'from:rodrigo mention:gabriel chat'
###
result =
messages: []
users: []
channels: []
query = {}
options =
sort:
ts: -1
limit: limit or 20
# Query for senders
from = []
text = text.replace /from:([a-z0-9.-_]+)/ig, (m... | 84707 | Meteor.methods
messageSearch: (text, rid, limit) ->
###
text = 'from:rodrigo mention:<NAME> chat'
###
result =
messages: []
users: []
channels: []
query = {}
options =
sort:
ts: -1
limit: limit or 20
# Query for senders
from = []
text = text.replace /from:([a-z0-9.-_]+)/ig, (ma... | true | Meteor.methods
messageSearch: (text, rid, limit) ->
###
text = 'from:rodrigo mention:PI:NAME:<NAME>END_PI chat'
###
result =
messages: []
users: []
channels: []
query = {}
options =
sort:
ts: -1
limit: limit or 20
# Query for senders
from = []
text = text.replace /from:([a-z0-9... |
[
{
"context": "to flag uses of backticks (embedded JS).\n# @author Julian Rosse\n###\n'use strict'\n\nmodule.exports =\n meta:\n do",
"end": 91,
"score": 0.9998577237129211,
"start": 79,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/no-backticks.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview A rule to flag uses of backticks (embedded JS).
# @author Julian Rosse
###
'use strict'
module.exports =
meta:
docs:
description: 'disallow backticks'
category: 'Stylistic Issues'
recommended: no
# url: 'https://eslint.org/docs/rules/max-lines-per-function'
schem... | 80266 | ###*
# @fileoverview A rule to flag uses of backticks (embedded JS).
# @author <NAME>
###
'use strict'
module.exports =
meta:
docs:
description: 'disallow backticks'
category: 'Stylistic Issues'
recommended: no
# url: 'https://eslint.org/docs/rules/max-lines-per-function'
schema: []
... | true | ###*
# @fileoverview A rule to flag uses of backticks (embedded JS).
# @author PI:NAME:<NAME>END_PI
###
'use strict'
module.exports =
meta:
docs:
description: 'disallow backticks'
category: 'Stylistic Issues'
recommended: no
# url: 'https://eslint.org/docs/rules/max-lines-per-function'
... |
[
{
"context": "shortName: 'snippy'\ndescription: 'snippy'\nbaseUrl: 'https://wtwf",
"end": 14,
"score": 0.5676376223564148,
"start": 12,
"tag": "NAME",
"value": "sn"
},
{
"context": "shortName: 'snippy'\ndescription: 'snippy'\nbaseUrl: 'https://wtwf.com",
"end": 18,
"score": 0... | branding.wtwf/snippy_config.cson | arkarkark/snippy | 0 | shortName: 'snippy'
description: 'snippy'
baseUrl: 'https://wtwf.com/'
developer: 'ark'
| 84388 | shortName: '<NAME>ippy'
description: 'snippy'
baseUrl: 'https://wtwf.com/'
developer: 'ark'
| true | shortName: 'PI:NAME:<NAME>END_PIippy'
description: 'snippy'
baseUrl: 'https://wtwf.com/'
developer: 'ark'
|
[
{
"context": " \"feed\"\n link: url\n picture: image\n name: title\n description: desc\n\n FB.ui obj, callback\n re",
"end": 192,
"score": 0.9364708662033081,
"start": 187,
"tag": "NAME",
"value": "title"
}
] | app/assets/javascripts/social.js.coffee | saisjournal/bcjournal | 1 | ###############
# Facebook JS #
###############
postToFeed = (title, desc, url, image) ->
callback = (response) ->
obj =
method: "feed"
link: url
picture: image
name: title
description: desc
FB.ui obj, callback
return
window.fbAsyncInit = ->
FB.init
appId: "385604281606707"
xfb... | 107188 | ###############
# Facebook JS #
###############
postToFeed = (title, desc, url, image) ->
callback = (response) ->
obj =
method: "feed"
link: url
picture: image
name: <NAME>
description: desc
FB.ui obj, callback
return
window.fbAsyncInit = ->
FB.init
appId: "385604281606707"
xf... | true | ###############
# Facebook JS #
###############
postToFeed = (title, desc, url, image) ->
callback = (response) ->
obj =
method: "feed"
link: url
picture: image
name: PI:NAME:<NAME>END_PI
description: desc
FB.ui obj, callback
return
window.fbAsyncInit = ->
FB.init
appId: "385604281... |
[
{
"context": "m to keep out the dirt.\n '''\n\n scientificName: 'Mellivora capensis'\n mainImage: 'assets/fieldguide-content/mammals/",
"end": 641,
"score": 0.9998716711997986,
"start": 623,
"tag": "NAME",
"value": "Mellivora capensis"
}
] | app/lib/field-guide-content/honey_badger.coffee | zooniverse/wildcam-gorongosa-facebook | 7 | module.exports =
description: '''
The honey badger is part of the weasel family, related to skunks, otters, ferrets, and other badgers. Honey badgers are muscular and compact, with a thick skull, well-developed neck and shoulders, and strong forelegs armed with bearlike claws. The honey badger’s coloration is str... | 155179 | module.exports =
description: '''
The honey badger is part of the weasel family, related to skunks, otters, ferrets, and other badgers. Honey badgers are muscular and compact, with a thick skull, well-developed neck and shoulders, and strong forelegs armed with bearlike claws. The honey badger’s coloration is str... | true | module.exports =
description: '''
The honey badger is part of the weasel family, related to skunks, otters, ferrets, and other badgers. Honey badgers are muscular and compact, with a thick skull, well-developed neck and shoulders, and strong forelegs armed with bearlike claws. The honey badger’s coloration is str... |
[
{
"context": "ue.coffee: Github issue class\n#\n# Copyright © 2013 Josh Priestley. All rights reserved\n#\n\n# Initiate class\nclass Is",
"end": 72,
"score": 0.999646782875061,
"start": 58,
"tag": "NAME",
"value": "Josh Priestley"
},
{
"context": ") ->\n\n # List comments on an issu... | src/octonode/issue.coffee | troupe/octonode | 0 | #
# issue.coffee: Github issue class
#
# Copyright © 2013 Josh Priestley. All rights reserved
#
# Initiate class
class Issue
constructor: (@repo, @number, @client) ->
# List comments on an issue
# '/repos/pksunkara/hub/issues/37/comments' GET
comments: (cb) ->
@client.get "/repos/" + @repo + "/issues/" +... | 168224 | #
# issue.coffee: Github issue class
#
# Copyright © 2013 <NAME>. All rights reserved
#
# Initiate class
class Issue
constructor: (@repo, @number, @client) ->
# List comments on an issue
# '/repos/pksunkara/hub/issues/37/comments' GET
comments: (cb) ->
@client.get "/repos/" + @repo + "/issues/" + @number... | true | #
# issue.coffee: Github issue class
#
# Copyright © 2013 PI:NAME:<NAME>END_PI. All rights reserved
#
# Initiate class
class Issue
constructor: (@repo, @number, @client) ->
# List comments on an issue
# '/repos/pksunkara/hub/issues/37/comments' GET
comments: (cb) ->
@client.get "/repos/" + @repo + "/issu... |
[
{
"context": "pp_secret = process.env.FACEBOOK_APP_SECRET || '67f736184742334282b5a38d35694023'\n\n initMongo: ->\n mon",
"end": 577,
"score": 0.5496439337730408,
"start": 571,
"tag": "KEY",
"value": "f73618"
},
{
"context": "et = process.env.FACEBOOK_APP_SECRET || '67f7361847423... | src/config.coffee | robertothais/plop-web | 0 | mongoose = require 'mongoose'
redis = require 'redis'
socketRedis = require 'socket.io/node_modules/redis'
url = require 'url'
http = require 'http'
class Config
constructor: ->
@environment = process.env.NODE_ENV || 'development'
this.initErrors()
this.initMongo()
this.initRedis()
... | 84460 | mongoose = require 'mongoose'
redis = require 'redis'
socketRedis = require 'socket.io/node_modules/redis'
url = require 'url'
http = require 'http'
class Config
constructor: ->
@environment = process.env.NODE_ENV || 'development'
this.initErrors()
this.initMongo()
this.initRedis()
... | true | mongoose = require 'mongoose'
redis = require 'redis'
socketRedis = require 'socket.io/node_modules/redis'
url = require 'url'
http = require 'http'
class Config
constructor: ->
@environment = process.env.NODE_ENV || 'development'
this.initErrors()
this.initMongo()
this.initRedis()
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.