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": " adapters: [ { type: \"http_in\", url: \"http://127.0.0.1:8888\" } ]\n }\n hActor = new Actor topolo",
"end": 1864,
"score": 0.9996939897537231,
"start": 1855,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ssage\", {goodBye:'worldPOST'}, {hea... | test/hHttpAdapter.coffee | fredpottier/hubiquitus | 2 | #
# * Copyright (c) Novedia Group 2012.
# *
# * This file is part of Hubiquitus
# *
# * 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 li... | 162247 | #
# * Copyright (c) Novedia Group 2012.
# *
# * This file is part of Hubiquitus
# *
# * 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 li... | true | #
# * Copyright (c) Novedia Group 2012.
# *
# * This file is part of Hubiquitus
# *
# * 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 li... |
[
{
"context": " in context of object', ->\n @object.first = 'Jonas'\n @object.last = 'Nicklas'\n definePrope",
"end": 2420,
"score": 0.9997893571853638,
"start": 2415,
"tag": "NAME",
"value": "Jonas"
},
{
"context": " @object.first = 'Jonas'\n @object.last = 'Ni... | test/property.spec.coffee | varvet/serenade.js | 5 | require './spec_helper'
{extend} = Build
{defineProperty} = Serenade
describe 'Serenade.defineProperty', ->
beforeEach ->
@object = {}
it 'does not bleed over between objects with same prototype', ->
@inst1 = Object.create(@object)
@inst2 = Object.create(@object)
defineProperty @object, 'name', s... | 180652 | require './spec_helper'
{extend} = Build
{defineProperty} = Serenade
describe 'Serenade.defineProperty', ->
beforeEach ->
@object = {}
it 'does not bleed over between objects with same prototype', ->
@inst1 = Object.create(@object)
@inst2 = Object.create(@object)
defineProperty @object, 'name', s... | true | require './spec_helper'
{extend} = Build
{defineProperty} = Serenade
describe 'Serenade.defineProperty', ->
beforeEach ->
@object = {}
it 'does not bleed over between objects with same prototype', ->
@inst1 = Object.create(@object)
@inst2 = Object.create(@object)
defineProperty @object, 'name', s... |
[
{
"context": "do fill = (item = 'Bob') ->\n $('#content').append \"#{item}\"\n console.d",
"end": 22,
"score": 0.9994577765464783,
"start": 19,
"tag": "NAME",
"value": "Bob"
}
] | components/coffee/script.coffee | planetoftheweb/coffeescript | 5 | do fill = (item = 'Bob') ->
$('#content').append "#{item}"
console.dir @fill
fill | 124545 | do fill = (item = '<NAME>') ->
$('#content').append "#{item}"
console.dir @fill
fill | true | do fill = (item = 'PI:NAME:<NAME>END_PI') ->
$('#content').append "#{item}"
console.dir @fill
fill |
[
{
"context": "s.cache\"\n ]\n projectHome: \"~/src/github.com/aegypius/\"\n telemetryConsent: \"limited\"\n uriHandlerR",
"end": 2284,
"score": 0.9995814561843872,
"start": 2276,
"tag": "USERNAME",
"value": "aegypius"
},
{
"context": "t\":\n panelHeight: 108\n metrics... | home/.atom/config.cson | aegypius/dotfiles | 1 | "*":
_dart:
_firstRun: true
_version: "1.0.1"
"atom-autocomplete-php": {}
"atom-beautify":
apex: {}
arduino: {}
c: {}
cfml: {}
coffeescript: {}
cpp: {}
cs: {}
css: {}
d: {}
ejs: {}
erb: {}
fortran: {}
general:
_analyticsUserId: "a6669e24-585f-4be5-... | 139091 | "*":
_dart:
_firstRun: true
_version: "1.0.1"
"atom-autocomplete-php": {}
"atom-beautify":
apex: {}
arduino: {}
c: {}
cfml: {}
coffeescript: {}
cpp: {}
cs: {}
css: {}
d: {}
ejs: {}
erb: {}
fortran: {}
general:
_analyticsUserId: "a6669e24-585f-4be5-... | true | "*":
_dart:
_firstRun: true
_version: "1.0.1"
"atom-autocomplete-php": {}
"atom-beautify":
apex: {}
arduino: {}
c: {}
cfml: {}
coffeescript: {}
cpp: {}
cs: {}
css: {}
d: {}
ejs: {}
erb: {}
fortran: {}
general:
_analyticsUserId: "a6669e24-585f-4be5-... |
[
{
"context": "# (C) 2015-present Antoine Catton <devel at antoine dot catton dot fr>\n#\n# This fil",
"end": 33,
"score": 0.9998884201049805,
"start": 19,
"tag": "NAME",
"value": "Antoine Catton"
}
] | src/script.coffee | acatton/mhc.js | 0 | # (C) 2015-present Antoine Catton <devel at antoine dot catton dot fr>
#
# This file is part of mhc.js.
#
# mhc.js is a free software: you can redistribute it and/or modify it under the
# terms of the MIT License as published by the Open Source Initiative.
#
# mhc.js is distributed in the hope that it will be useful, b... | 24478 | # (C) 2015-present <NAME> <devel at antoine dot catton dot fr>
#
# This file is part of mhc.js.
#
# mhc.js is a free software: you can redistribute it and/or modify it under the
# terms of the MIT License as published by the Open Source Initiative.
#
# mhc.js is distributed in the hope that it will be useful, but WITHO... | true | # (C) 2015-present PI:NAME:<NAME>END_PI <devel at antoine dot catton dot fr>
#
# This file is part of mhc.js.
#
# mhc.js is a free software: you can redistribute it and/or modify it under the
# terms of the MIT License as published by the Open Source Initiative.
#
# mhc.js is distributed in the hope that it will be use... |
[
{
"context": "# Copyright (c) 2014 sobataro <sobatarooo@gmail.com>\n# Released under the MIT l",
"end": 29,
"score": 0.9272405505180359,
"start": 21,
"tag": "USERNAME",
"value": "sobataro"
},
{
"context": "# Copyright (c) 2014 sobataro <sobatarooo@gmail.com>\n# Released under the MIT... | src/pull_request_tuple.coffee | sobataro/robotaro | 2 | # Copyright (c) 2014 sobataro <sobatarooo@gmail.com>
# Released under the MIT license
# http://opensource.org/licenses/mit-license.php
Q = require("q")
config = require("config")
class PullRequestTuple
constructor: (issue, githubot) ->
@issue = issue
@_reposMustWatchStatuses = config.get("github.reposMustWa... | 91152 | # Copyright (c) 2014 sobataro <<EMAIL>>
# Released under the MIT license
# http://opensource.org/licenses/mit-license.php
Q = require("q")
config = require("config")
class PullRequestTuple
constructor: (issue, githubot) ->
@issue = issue
@_reposMustWatchStatuses = config.get("github.reposMustWatchStatuses")... | true | # Copyright (c) 2014 sobataro <PI:EMAIL:<EMAIL>END_PI>
# Released under the MIT license
# http://opensource.org/licenses/mit-license.php
Q = require("q")
config = require("config")
class PullRequestTuple
constructor: (issue, githubot) ->
@issue = issue
@_reposMustWatchStatuses = config.get("github.reposMust... |
[
{
"context": "###\n# models.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# This module pr",
"end": 42,
"score": 0.9997896552085876,
"start": 31,
"tag": "NAME",
"value": "Dan Nichols"
}
] | lib/models.coffee | dlnichols/h_media | 0 | ###
# models.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# This module preloads our Mongoose models, and allows exporting them to an
# object. This saves us having to require every model individually.
###
'use strict'
# External libs
_s = require 'underscore.string'
fs = require 'fs'
path = ... | 13391 | ###
# models.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# This module preloads our Mongoose models, and allows exporting them to an
# object. This saves us having to require every model individually.
###
'use strict'
# External libs
_s = require 'underscore.string'
fs = require 'fs'
path = requi... | true | ###
# models.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# This module preloads our Mongoose models, and allows exporting them to an
# object. This saves us having to require every model individually.
###
'use strict'
# External libs
_s = require 'underscore.string'
fs = require 'fs'... |
[
{
"context": "sion 1.0.0\n@file Render.js\n@author Welington Sampaio (http://welington.zaez.net/)\n@contact http://",
"end": 139,
"score": 0.9998940229415894,
"start": 122,
"tag": "NAME",
"value": "Welington Sampaio"
}
] | vendor/assets/javascripts/joker/Render.coffee | zaeznet/joker-rails | 0 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Render.js
@author Welington Sampaio (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free sof... | 105652 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Render.js
@author <NAME> (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free software, unde... | true | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file Render.js
@author PI:NAME:<NAME>END_PI (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free ... |
[
{
"context": "ted: now\n\t\tmodified: now\n\t}\n\tif name\n\t\tuser.name = name\n\tuser.services = {weixin: {openid: []}}\n\tif openi",
"end": 381,
"score": 0.6561440229415894,
"start": 377,
"tag": "USERNAME",
"value": "name"
},
{
"context": "Id\n\nWXMini.newSpaceUser = (userId, spac... | creator/packages/steedos-weixin/lib/wx_mini.coffee | yicone/steedos-platform | 42 | request = Npm.require("request")
crypto = Npm.require('crypto')
@WXMini = {}
WXMini.newUser = (appId, openid, unionid, name, locale, phoneNumber)->
now = new Date
user_id = Creator.getCollection("users")._makeNewID()
user = {
_id: user_id
steedos_id: phoneNumber || user_id
locale: locale
is_deleted: false
... | 158331 | request = Npm.require("request")
crypto = Npm.require('crypto')
@WXMini = {}
WXMini.newUser = (appId, openid, unionid, name, locale, phoneNumber)->
now = new Date
user_id = Creator.getCollection("users")._makeNewID()
user = {
_id: user_id
steedos_id: phoneNumber || user_id
locale: locale
is_deleted: false
... | true | request = Npm.require("request")
crypto = Npm.require('crypto')
@WXMini = {}
WXMini.newUser = (appId, openid, unionid, name, locale, phoneNumber)->
now = new Date
user_id = Creator.getCollection("users")._makeNewID()
user = {
_id: user_id
steedos_id: phoneNumber || user_id
locale: locale
is_deleted: false
... |
[
{
"context": "[\n {\n name: 'Dr. Brown'\n signal: 3606\n minAmplitude: 200000\n",
"end": 19,
"score": 0.9696065187454224,
"start": 17,
"tag": "NAME",
"value": "Dr"
},
{
"context": "[\n {\n name: 'Dr. Brown'\n signal: 3606\n minAmplitude: 200000\n },\n ",
"end... | people.cson | octoblu/chords | 0 | [
{
name: 'Dr. Brown'
signal: 3606
minAmplitude: 200000
},
{
name: 'Dr. Evil'
signal: 3620
minAmplitude: 200000
},
{
name: 'Dr. Who'
signal: 3608
minAmplitude: 700000
},
{
name: 'Dr. Gonzo'
signal: 3654
minAmplitude: 60000
}
{
name: 'Dr. Moreau'
... | 150627 | [
{
name: '<NAME>. <NAME>'
signal: 3606
minAmplitude: 200000
},
{
name: '<NAME>. <NAME>'
signal: 3620
minAmplitude: 200000
},
{
name: '<NAME>. <NAME>'
signal: 3608
minAmplitude: 700000
},
{
name: '<NAME>. <NAME>'
signal: 3654
minAmplitude: 60000
}
{
... | true | [
{
name: 'PI:NAME:<NAME>END_PI. PI:NAME:<NAME>END_PI'
signal: 3606
minAmplitude: 200000
},
{
name: 'PI:NAME:<NAME>END_PI. PI:NAME:<NAME>END_PI'
signal: 3620
minAmplitude: 200000
},
{
name: 'PI:NAME:<NAME>END_PI. PI:NAME:<NAME>END_PI'
signal: 3608
minAmplitude: 700000
},
... |
[
{
"context": "false\n\n auth = chap.createAuth({username: 'x'})\n .updateUser({nonce: 'y', nextnonce",
"end": 1804,
"score": 0.522697389125824,
"start": 1803,
"tag": "USERNAME",
"value": "x"
},
{
"context": "false\n\n auth = chap.createAuth({username: 'x', cn... | spec/authenticate.spec.coffee | kixxauth/CHAP | 2 | crypto = require 'crypto'
chap = require '../lib/chap-server'
describe 'Authenticator.validate() invalid parameters', ->
it 'should throw an error if the username string is not available', ->
err = false
auth = chap.createAuth().updateUser()
try
auth.validate()
catch ... | 108372 | crypto = require 'crypto'
chap = require '../lib/chap-server'
describe 'Authenticator.validate() invalid parameters', ->
it 'should throw an error if the username string is not available', ->
err = false
auth = chap.createAuth().updateUser()
try
auth.validate()
catch ... | true | crypto = require 'crypto'
chap = require '../lib/chap-server'
describe 'Authenticator.validate() invalid parameters', ->
it 'should throw an error if the username string is not available', ->
err = false
auth = chap.createAuth().updateUser()
try
auth.validate()
catch ... |
[
{
"context": "s.headers.common['Authorization'] = 'Token token=\"8433f4313d49d1a89821e115579eed18\"'\n $httpProvider.defaults.headers.post['Authoriz",
"end": 1325,
"score": 0.9819422960281372,
"start": 1293,
"tag": "PASSWORD",
"value": "8433f4313d49d1a89821e115579eed18"
},
{
"contex... | app/coffeescript/app.coffee | hoitomt/wager-tagger-ui | 0 | # FastClick.attach(document.body)
window.addEventListener 'load', ->
FastClick.attach(document.body);
, false
if window.location.hostname is "localhost"
API_SERVER = "http://localhost:3000/api/v1"
else
API_SERVER = "https://wager-tagger.herokuapp.com/api/v1"
SEASON_START_DATE = '2017-07-01'
SEASON_STOP_DATE ... | 215886 | # FastClick.attach(document.body)
window.addEventListener 'load', ->
FastClick.attach(document.body);
, false
if window.location.hostname is "localhost"
API_SERVER = "http://localhost:3000/api/v1"
else
API_SERVER = "https://wager-tagger.herokuapp.com/api/v1"
SEASON_START_DATE = '2017-07-01'
SEASON_STOP_DATE ... | true | # FastClick.attach(document.body)
window.addEventListener 'load', ->
FastClick.attach(document.body);
, false
if window.location.hostname is "localhost"
API_SERVER = "http://localhost:3000/api/v1"
else
API_SERVER = "https://wager-tagger.herokuapp.com/api/v1"
SEASON_START_DATE = '2017-07-01'
SEASON_STOP_DATE ... |
[
{
"context": " @joyent = options?.joyent or ''\n\n @password = @randomPassword()\n @new_password = true\n @confirmed = optio",
"end": 6234,
"score": 0.9938519597053528,
"start": 6219,
"tag": "PASSWORD",
"value": "@randomPassword"
},
{
"context": "(' ')[0]\n\n resetPassword... | models/models.coffee | InfinitelLoop/website-3 | 2 | Mongo = require('./mongo').Mongo
http = require('./http')
sys = require 'sys'
crypto = require 'crypto'
require '../public/javascripts/Math.uuid'
nko = {}
md5 = (str) ->
hash = crypto.createHash 'md5'
hash.update str
hash.digest 'hex'
validEmail = (email) ->
/^[a-zA-Z0-9+._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.... | 144045 | Mongo = require('./mongo').Mongo
http = require('./http')
sys = require 'sys'
crypto = require 'crypto'
require '../public/javascripts/Math.uuid'
nko = {}
md5 = (str) ->
hash = crypto.createHash 'md5'
hash.update str
hash.digest 'hex'
validEmail = (email) ->
/^[a-zA-Z0-9+._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.... | true | Mongo = require('./mongo').Mongo
http = require('./http')
sys = require 'sys'
crypto = require 'crypto'
require '../public/javascripts/Math.uuid'
nko = {}
md5 = (str) ->
hash = crypto.createHash 'md5'
hash.update str
hash.digest 'hex'
validEmail = (email) ->
/^[a-zA-Z0-9+._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.... |
[
{
"context": " <div>\n On 11-Apr-2011, at 6:54 PM, Bob <bob@example.com> wrote:\n </div>\n\n ",
"end": 683,
"score": 0.9998258948326111,
"start": 680,
"tag": "NAME",
"value": "Bob"
},
{
"context": "iv>\n On 11-Apr-2011, at 6:54 PM, Bob <bob@ex... | test/planerHtml.test.coffee | acterry/planer | 1 | {expect} = require 'chai'
fs = require 'fs'
jsdom = require 'jsdom'
path = require 'path'
planer = require '../src/planer'
describe 'planer#extractFromHtml', ->
before 'configure jsdom', ->
jsdom.defaultDocumentFeatures = {
FetchExternalResources: false,
ProcessExternalResources: false
}
@dom... | 96005 | {expect} = require 'chai'
fs = require 'fs'
jsdom = require 'jsdom'
path = require 'path'
planer = require '../src/planer'
describe 'planer#extractFromHtml', ->
before 'configure jsdom', ->
jsdom.defaultDocumentFeatures = {
FetchExternalResources: false,
ProcessExternalResources: false
}
@dom... | true | {expect} = require 'chai'
fs = require 'fs'
jsdom = require 'jsdom'
path = require 'path'
planer = require '../src/planer'
describe 'planer#extractFromHtml', ->
before 'configure jsdom', ->
jsdom.defaultDocumentFeatures = {
FetchExternalResources: false,
ProcessExternalResources: false
}
@dom... |
[
{
"context": "idirectional visual effects\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\nclass Fx.Twin extends Fx.Style\n\n #\n # Hidding",
"end": 95,
"score": 0.9998877048492432,
"start": 78,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/fx/src/fx/twin.coffee | lovely-io/lovely.io-stl | 2 | #
# An abstract class for bidirectional visual effects
#
# Copyright (C) 2011 Nikolay Nemshilov
#
class Fx.Twin extends Fx.Style
#
# Hidding the element after the effect
#
# @return {Fx.Twin} this
#
finish: ->
if @direction is 'out'
# calling 'prototype' to prevent circular calls from subclasses
... | 54851 | #
# An abstract class for bidirectional visual effects
#
# Copyright (C) 2011 <NAME>
#
class Fx.Twin extends Fx.Style
#
# Hidding the element after the effect
#
# @return {Fx.Twin} this
#
finish: ->
if @direction is 'out'
# calling 'prototype' to prevent circular calls from subclasses
Eleme... | true | #
# An abstract class for bidirectional visual effects
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
class Fx.Twin extends Fx.Style
#
# Hidding the element after the effect
#
# @return {Fx.Twin} this
#
finish: ->
if @direction is 'out'
# calling 'prototype' to prevent circular calls from subclass... |
[
{
"context": "'*'\n 'anon': [ 'public' ]\n 'user': [\n 'user'\n 'translator'\n 'programmer'\n 'man",
"end": 201,
"score": 0.6115214228630066,
"start": 197,
"tag": "USERNAME",
"value": "user"
},
{
"context": "': [ 'public' ]\n 'user': [\n 'user'\n ... | common/permissionsConfig.coffee | Contactis/translation-manager | 0 | module.exports =
roles: [
'public'
'user'
'translator'
'programmer'
'manager'
'admin'
]
accessLevels:
'public': '*'
'anon': [ 'public' ]
'user': [
'user'
'translator'
'programmer'
'manager'
'admin'
]
'translator': [
'translator'
... | 181746 | module.exports =
roles: [
'public'
'user'
'translator'
'programmer'
'manager'
'admin'
]
accessLevels:
'public': '*'
'anon': [ 'public' ]
'user': [
'user'
'<NAME>'
'<NAME>'
'manager'
'admin'
]
'translator': [
'translator'
'admin... | true | module.exports =
roles: [
'public'
'user'
'translator'
'programmer'
'manager'
'admin'
]
accessLevels:
'public': '*'
'anon': [ 'public' ]
'user': [
'user'
'PI:NAME:<NAME>END_PI'
'PI:NAME:<NAME>END_PI'
'manager'
'admin'
]
'translator': [
... |
[
{
"context": "mEvents(\n -> Bacon.once({ bacon: Bacon.once(\"sir francis\")}).flatMap(\".bacon\")\n [\"sir francis\"], semi",
"end": 2386,
"score": 0.9969730973243713,
"start": 2375,
"tag": "NAME",
"value": "sir francis"
},
{
"context": "n.once(\"sir francis\")}).flatMap(\"... | spec/specs/flatmap.coffee | phadej/bacon.js | 0 | # build-dependencies: concat
#
describe "EventStream.flatMap", ->
describe "should spawn new stream for each value and collect results into a single stream", ->
expectStreamEvents(
-> series(1, [1, 2]).flatMap (value) ->
series(t(2), [value, error(), value])
[1, 2, error(), error(), 1, 2], sem... | 91558 | # build-dependencies: concat
#
describe "EventStream.flatMap", ->
describe "should spawn new stream for each value and collect results into a single stream", ->
expectStreamEvents(
-> series(1, [1, 2]).flatMap (value) ->
series(t(2), [value, error(), value])
[1, 2, error(), error(), 1, 2], sem... | true | # build-dependencies: concat
#
describe "EventStream.flatMap", ->
describe "should spawn new stream for each value and collect results into a single stream", ->
expectStreamEvents(
-> series(1, [1, 2]).flatMap (value) ->
series(t(2), [value, error(), value])
[1, 2, error(), error(), 1, 2], sem... |
[
{
"context": " data:\n email: email\n password: password\n headers:\n 'Content-Type': 'applicati",
"end": 1421,
"score": 0.9986249208450317,
"start": 1413,
"tag": "PASSWORD",
"value": "password"
}
] | src/fleep.coffee | anroots/fleep-stream | 0 | Client = require('node-rest-client').Client
fleepClient = new Client
fleepClient.registerMethod 'login', 'https://fleep.io/api/account/login', 'POST'
fleepClient.registerMethod 'poll', 'https://fleep.io/api/account/poll', 'POST'
fleepClient.registerMethod 'sync', 'https://fleep.io/api/account/sync', 'POST'
fleepClien... | 213373 | Client = require('node-rest-client').Client
fleepClient = new Client
fleepClient.registerMethod 'login', 'https://fleep.io/api/account/login', 'POST'
fleepClient.registerMethod 'poll', 'https://fleep.io/api/account/poll', 'POST'
fleepClient.registerMethod 'sync', 'https://fleep.io/api/account/sync', 'POST'
fleepClien... | true | Client = require('node-rest-client').Client
fleepClient = new Client
fleepClient.registerMethod 'login', 'https://fleep.io/api/account/login', 'POST'
fleepClient.registerMethod 'poll', 'https://fleep.io/api/account/poll', 'POST'
fleepClient.registerMethod 'sync', 'https://fleep.io/api/account/sync', 'POST'
fleepClien... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998874664306641,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/taskboard/sortable.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 14331 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "# Tabs based on this script from Jack Moore: http://www.jacklmoore.com/notes/jquery-tabs/\n$('",
"end": 43,
"score": 0.9760231375694275,
"start": 33,
"tag": "NAME",
"value": "Jack Moore"
}
] | app/_src/tabs.coffee | caitlynmayers/livewires | 0 | # Tabs based on this script from Jack Moore: http://www.jacklmoore.com/notes/jquery-tabs/
$('.tabs').each ->
# Find the tabs
$links = $(@).find('a')
# If the location.hash matches one of the links, use that as the active tab.
# If no match is found, use the first link as the initial active tab.
$active = $(... | 22248 | # Tabs based on this script from <NAME>: http://www.jacklmoore.com/notes/jquery-tabs/
$('.tabs').each ->
# Find the tabs
$links = $(@).find('a')
# If the location.hash matches one of the links, use that as the active tab.
# If no match is found, use the first link as the initial active tab.
$active = $($lin... | true | # Tabs based on this script from PI:NAME:<NAME>END_PI: http://www.jacklmoore.com/notes/jquery-tabs/
$('.tabs').each ->
# Find the tabs
$links = $(@).find('a')
# If the location.hash matches one of the links, use that as the active tab.
# If no match is found, use the first link as the initial active tab.
$a... |
[
{
"context": "et et sw=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i@binux.me>\n# http://binux.me\n# Created o",
"end": 64,
"score": 0.9583234786987305,
"start": 59,
"tag": "USERNAME",
"value": "Binux"
},
{
"context": "w=2 ts=2 sts=2 ff=unix fenc=utf8:\n# Author: Binux<i... | web/static/coffee/utils.coffee | dhbowen1/qiandao | 0 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<i@binux.me>
# http://binux.me
# Created on 2014-08-03 07:42:45
define (require) ->
require '/static/node_components'
RegExp.escape = (s) ->
s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&')
url = node_url
tough = node_tough
querystring ... | 56654 | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<<EMAIL>>
# http://binux.me
# Created on 2014-08-03 07:42:45
define (require) ->
require '/static/node_components'
RegExp.escape = (s) ->
s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&')
url = node_url
tough = node_tough
querystring = n... | true | # vim: set et sw=2 ts=2 sts=2 ff=unix fenc=utf8:
# Author: Binux<PI:EMAIL:<EMAIL>END_PI>
# http://binux.me
# Created on 2014-08-03 07:42:45
define (require) ->
require '/static/node_components'
RegExp.escape = (s) ->
s.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&')
url = node_url
tough = node_tough
... |
[
{
"context": "jects-->list projects\\ncreate user-->create user <username> <pwd> <email>\\nprovide permission to user for pr",
"end": 1615,
"score": 0.998633623123169,
"start": 1607,
"tag": "USERNAME",
"value": "username"
},
{
"context": "EATE,ADMIN,SYS_ADMIN)\\ndelete user-->delete ... | scripts/bitbucket5.11.1/scripts-hipchat/bitbucket.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | 107137 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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
# ... |
[
{
"context": " new Date(startDate)\n while d < endDate\n key = \"#{d.getFullYear()}-#{d.getMonth()}\"\n found = months.find (m) => m.getKey() == key\n",
"end": 303,
"score": 0.9272151589393616,
"start": 267,
"tag": "KEY",
"value": "\"#{d.getFullYear()}-#{d.getMonth()}\""
}
] | src/components/calendar/setupMonths.coffee | brianshaler/kerplunk-location-calendar | 0 | Month = require './month'
module.exports = setupMonths = (regl, months, startDate, endDate, config) ->
{
monthColumns
pageMargin
squareSize
squareMargin
textHeight
width
} = config
d = new Date(startDate)
while d < endDate
key = "#{d.getFullYear()}-#{d.getMonth()}"
found = mont... | 29314 | Month = require './month'
module.exports = setupMonths = (regl, months, startDate, endDate, config) ->
{
monthColumns
pageMargin
squareSize
squareMargin
textHeight
width
} = config
d = new Date(startDate)
while d < endDate
key = <KEY>
found = months.find (m) => m.getKey() == ke... | true | Month = require './month'
module.exports = setupMonths = (regl, months, startDate, endDate, config) ->
{
monthColumns
pageMargin
squareSize
squareMargin
textHeight
width
} = config
d = new Date(startDate)
while d < endDate
key = PI:KEY:<KEY>END_PI
found = months.find (m) => m.g... |
[
{
"context": " user: {\n id: 1,\n email: \"voter1@example.com\",\n name: \"Voter1\",\n gravatar_ha",
"end": 805,
"score": 0.9999073147773743,
"start": 787,
"tag": "EMAIL",
"value": "voter1@example.com"
},
{
"context": " email: \"voter1@exa... | test/spec/services/api_loaders_spec.coffee | Spokenvote/spokenvote | 21 | describe 'API Loaders Tests', ->
beforeEach module 'spokenvote'
$httpBackend = undefined
$rootScope = undefined
$route = undefined
returnedProposalList =
id: 15,
related_proposals: [
{
id: 49,
statement: "Voter 1 has something better that is the max length you can make a propos... | 213100 | describe 'API Loaders Tests', ->
beforeEach module 'spokenvote'
$httpBackend = undefined
$rootScope = undefined
$route = undefined
returnedProposalList =
id: 15,
related_proposals: [
{
id: 49,
statement: "Voter 1 has something better that is the max length you can make a propos... | true | describe 'API Loaders Tests', ->
beforeEach module 'spokenvote'
$httpBackend = undefined
$rootScope = undefined
$route = undefined
returnedProposalList =
id: 15,
related_proposals: [
{
id: 49,
statement: "Voter 1 has something better that is the max length you can make a propos... |
[
{
"context": ".$scope.cfg.workers ?= []\n name = \"myslave\" + (self.$scope.cfg.workers.length + 1).toString(",
"end": 3883,
"score": 0.9962283968925476,
"start": 3876,
"tag": "USERNAME",
"value": "myslave"
},
{
"context": ".$scope.cfg.workers.push\n ... | buildbot_travis/ui/src/app/configEditors/bbtravis_config.controller.coffee | levitte/buildbot_travis | 1 | class ProjectsConfig extends Controller
self = null
constructor: ($scope, config, $state) ->
self = this
self.$scope = $scope
$scope.title = "Watched Projects"
$scope.project_remove = (project) ->
_.remove $scope.cfg.projects, (i) -> i == project
$scope.sho... | 200592 | class ProjectsConfig extends Controller
self = null
constructor: ($scope, config, $state) ->
self = this
self.$scope = $scope
$scope.title = "Watched Projects"
$scope.project_remove = (project) ->
_.remove $scope.cfg.projects, (i) -> i == project
$scope.sho... | true | class ProjectsConfig extends Controller
self = null
constructor: ($scope, config, $state) ->
self = this
self.$scope = $scope
$scope.title = "Watched Projects"
$scope.project_remove = (project) ->
_.remove $scope.cfg.projects, (i) -> i == project
$scope.sho... |
[
{
"context": " id = '' + new Date().getTime()\n name = \"name-#{id}\"\n email = \"#{id}@domain\"\n ident = ",
"end": 3478,
"score": 0.6618633270263672,
"start": 3474,
"tag": "USERNAME",
"value": "name"
},
{
"context": "e\"\n repo.identify new Actor('ro... | test/repo.test.coffee | weemonger/gift | 0 | should = require 'should'
sinon = require 'sinon'
fs = require 'fs-extra'
fixtures = require './fixtures'
git = require '../src'
Actor = require '../src/actor'
Commit = require '../src/commit'
Tree = require '../src/tree'
Diff = require '../src/diff'
Tag = require '../src/tag'
Status ... | 142424 | should = require 'should'
sinon = require 'sinon'
fs = require 'fs-extra'
fixtures = require './fixtures'
git = require '../src'
Actor = require '../src/actor'
Commit = require '../src/commit'
Tree = require '../src/tree'
Diff = require '../src/diff'
Tag = require '../src/tag'
Status ... | true | should = require 'should'
sinon = require 'sinon'
fs = require 'fs-extra'
fixtures = require './fixtures'
git = require '../src'
Actor = require '../src/actor'
Commit = require '../src/commit'
Tree = require '../src/tree'
Diff = require '../src/diff'
Tag = require '../src/tag'
Status ... |
[
{
"context": " regEx: SimpleSchema.RegEx.Email\n label: 'Votre courriel'\n subject:\n type: String\n label:",
"end": 259,
"score": 0.9990129470825195,
"start": 245,
"tag": "NAME",
"value": "Votre courriel"
}
] | contact-form.coffee | JustinRvt/Meteor-French-Contact-Form | 0 | global.Schema = global.Schema or {}
Schema.myFrenchContactForm = new SimpleSchema(
name:
type: String
label: 'Votre nom'
max: 64
email:
type: String
regEx: SimpleSchema.RegEx.Email
label: 'Votre courriel'
subject:
type: String
label: 'Sujet'
... | 75968 | global.Schema = global.Schema or {}
Schema.myFrenchContactForm = new SimpleSchema(
name:
type: String
label: 'Votre nom'
max: 64
email:
type: String
regEx: SimpleSchema.RegEx.Email
label: '<NAME>'
subject:
type: String
label: 'Sujet'
ma... | true | global.Schema = global.Schema or {}
Schema.myFrenchContactForm = new SimpleSchema(
name:
type: String
label: 'Votre nom'
max: 64
email:
type: String
regEx: SimpleSchema.RegEx.Email
label: 'PI:NAME:<NAME>END_PI'
subject:
type: String
label: 'Suj... |
[
{
"context": "'name': 'Test Ruby'\n'type': 'tree-sitter'\n'scopeName': 'test.rb'\n'pa",
"end": 18,
"score": 0.9265958070755005,
"start": 9,
"tag": "NAME",
"value": "Test Ruby"
}
] | spec/fixtures/packages/package-with-rb-filetype/grammars/rb.cson | davidbertsch/atom | 62,188 | 'name': 'Test Ruby'
'type': 'tree-sitter'
'scopeName': 'test.rb'
'parser': 'tree-sitter-ruby'
'firstLineRegex': '^\\#!.*(?:\\s|\\/)(?:testruby)(?:$|\\s)'
'fileTypes': [
'rb'
]
| 70846 | 'name': '<NAME>'
'type': 'tree-sitter'
'scopeName': 'test.rb'
'parser': 'tree-sitter-ruby'
'firstLineRegex': '^\\#!.*(?:\\s|\\/)(?:testruby)(?:$|\\s)'
'fileTypes': [
'rb'
]
| true | 'name': 'PI:NAME:<NAME>END_PI'
'type': 'tree-sitter'
'scopeName': 'test.rb'
'parser': 'tree-sitter-ruby'
'firstLineRegex': '^\\#!.*(?:\\s|\\/)(?:testruby)(?:$|\\s)'
'fileTypes': [
'rb'
]
|
[
{
"context": "###\n Bookmarklet IDE\n (c) 2015 Daniel Davison & Contributors\n\n Bookmarklet IDE for Chrome\n###\n",
"end": 47,
"score": 0.9998506307601929,
"start": 33,
"tag": "NAME",
"value": "Daniel Davison"
}
] | src/coffee/options.coffee | ddavison/chrome-bookmarklet-ide | 15 | ###
Bookmarklet IDE
(c) 2015 Daniel Davison & Contributors
Bookmarklet IDE for Chrome
###
# Load default settings (and set them if they are not set already
window.Settings.get({
project_dir: 'Bookmarklets',
indentUnit: 2,
smartIndent: true,
tabSize: 2,
indentWithTabs: false,
lineNumbers: true,
the... | 11686 | ###
Bookmarklet IDE
(c) 2015 <NAME> & Contributors
Bookmarklet IDE for Chrome
###
# Load default settings (and set them if they are not set already
window.Settings.get({
project_dir: 'Bookmarklets',
indentUnit: 2,
smartIndent: true,
tabSize: 2,
indentWithTabs: false,
lineNumbers: true,
theme: 'sol... | true | ###
Bookmarklet IDE
(c) 2015 PI:NAME:<NAME>END_PI & Contributors
Bookmarklet IDE for Chrome
###
# Load default settings (and set them if they are not set already
window.Settings.get({
project_dir: 'Bookmarklets',
indentUnit: 2,
smartIndent: true,
tabSize: 2,
indentWithTabs: false,
lineNumbers: true,... |
[
{
"context": "e: form.username.value,\n password: form.password.value,\n api: form.api.value\n }, null,",
"end": 2557,
"score": 0.8390699625015259,
"start": 2543,
"tag": "PASSWORD",
"value": "password.value"
},
{
"context": "pw = mk('input', {type: 'passw... | ui/js/coffee/account.coffee | isabella232/incubator-warble-server | 1 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, ... | 192801 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, ... | true | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, ... |
[
{
"context": "itialize: (container, application) ->\n\n key = 'common:main'\n \n container.register key, container.looku",
"end": 118,
"score": 0.9986782073974609,
"start": 107,
"tag": "KEY",
"value": "common:main"
}
] | app/initializers/common_controller.coffee | tobobo/thyme-frontend | 0 | Ember.Application.initializer
name: 'injectCommon'
initialize: (container, application) ->
key = 'common:main'
container.register key, container.lookup('controller:common'),
instantiate: false
for type in ['controller', 'route']
for name in ['common']
container.typeInjection t... | 121981 | Ember.Application.initializer
name: 'injectCommon'
initialize: (container, application) ->
key = '<KEY>'
container.register key, container.lookup('controller:common'),
instantiate: false
for type in ['controller', 'route']
for name in ['common']
container.typeInjection type, n... | true | Ember.Application.initializer
name: 'injectCommon'
initialize: (container, application) ->
key = 'PI:KEY:<KEY>END_PI'
container.register key, container.lookup('controller:common'),
instantiate: false
for type in ['controller', 'route']
for name in ['common']
container.typeInje... |
[
{
"context": "yBaer\"\n\t@type:\"ModifierEnvyBaer\"\n\n\t@modifierName:\"Envybaer\"\n\t@description:\"Whenever this minion damages an e",
"end": 327,
"score": 0.9945217967033386,
"start": 319,
"tag": "NAME",
"value": "Envybaer"
}
] | app/sdk/modifiers/modifierEnvyBaer.coffee | willroberts/duelyst | 5 | ModifierDealDamageWatch = require './modifierDealDamageWatch'
RandomTeleportAction = require 'app/sdk/actions/randomTeleportAction'
CONFIG = require 'app/common/config'
_ = require 'underscore'
class ModifierEnvyBaer extends ModifierDealDamageWatch
type:"ModifierEnvyBaer"
@type:"ModifierEnvyBaer"
@modifierName:"E... | 175388 | ModifierDealDamageWatch = require './modifierDealDamageWatch'
RandomTeleportAction = require 'app/sdk/actions/randomTeleportAction'
CONFIG = require 'app/common/config'
_ = require 'underscore'
class ModifierEnvyBaer extends ModifierDealDamageWatch
type:"ModifierEnvyBaer"
@type:"ModifierEnvyBaer"
@modifierName:"<... | true | ModifierDealDamageWatch = require './modifierDealDamageWatch'
RandomTeleportAction = require 'app/sdk/actions/randomTeleportAction'
CONFIG = require 'app/common/config'
_ = require 'underscore'
class ModifierEnvyBaer extends ModifierDealDamageWatch
type:"ModifierEnvyBaer"
@type:"ModifierEnvyBaer"
@modifierName:"P... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988133311271667,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "\"http\")\n http.Server(->\n ).listen common.PORT, \"127.0.0.1\"\nelse if process.argv[2] is... | test/simple/test-cluster-master-error.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... | 557 | # 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 \"{your answer} who?\", then \"lol\"\n#\n# Author:\n# Tim Kinnane\n#\n\nmodule.exports = (robot) ->\n require '../../l",
"end": 466,
"score": 0.9998786449432373,
"start": 455,
"tag": "NAME",
"value": "Tim Kinnane"
}
] | integration/scripts/knock-knock-direct-noreply.coffee | PropertyUX/nubot-playbook | 0 | # Description:
# Tell Hubot a knock knock joke - it is guaranteed to laugh
# Uses inline declarations, single branch path with prompt (very compact)
#
# Dependencies:
# hubot-playbook
#
# Configuration:
# Playbook direct scene responds to a single user and room
# sendReplies: false by default - Hubot will sen... | 47644 | # Description:
# Tell Hubot a knock knock joke - it is guaranteed to laugh
# Uses inline declarations, single branch path with prompt (very compact)
#
# Dependencies:
# hubot-playbook
#
# Configuration:
# Playbook direct scene responds to a single user and room
# sendReplies: false by default - Hubot will sen... | true | # Description:
# Tell Hubot a knock knock joke - it is guaranteed to laugh
# Uses inline declarations, single branch path with prompt (very compact)
#
# Dependencies:
# hubot-playbook
#
# Configuration:
# Playbook direct scene responds to a single user and room
# sendReplies: false by default - Hubot will sen... |
[
{
"context": "@getAvatarUrlFromUsername = (username) ->\n\tkey = \"avatar_random_#{username}\"\n\trandom = Session?.keys[key] or 0\n\tif not usernam",
"end": 76,
"score": 0.9982385635375977,
"start": 50,
"tag": "KEY",
"value": "avatar_random_#{username}\""
}
] | packages/rocketchat-ui/lib/getAvatarUrlFromUsername.coffee | Cosecha/rocket-chat-stable | 2 | @getAvatarUrlFromUsername = (username) ->
key = "avatar_random_#{username}"
random = Session?.keys[key] or 0
if not username?
return
if Meteor.isCordova
path = Meteor.absoluteUrl().replace /\/$/, ''
else
path = __meteor_runtime_config__.ROOT_URL_PATH_PREFIX || '';
"#{path}/avatar/#{encodeURIComponent(userna... | 19502 | @getAvatarUrlFromUsername = (username) ->
key = "<KEY>
random = Session?.keys[key] or 0
if not username?
return
if Meteor.isCordova
path = Meteor.absoluteUrl().replace /\/$/, ''
else
path = __meteor_runtime_config__.ROOT_URL_PATH_PREFIX || '';
"#{path}/avatar/#{encodeURIComponent(username)}.jpg?_dc=#{random... | true | @getAvatarUrlFromUsername = (username) ->
key = "PI:KEY:<KEY>END_PI
random = Session?.keys[key] or 0
if not username?
return
if Meteor.isCordova
path = Meteor.absoluteUrl().replace /\/$/, ''
else
path = __meteor_runtime_config__.ROOT_URL_PATH_PREFIX || '';
"#{path}/avatar/#{encodeURIComponent(username)}.jpg... |
[
{
"context": "#\n# * $Id$\n# *\n# * Copyright 2014 Valentyn Kolesnikov\n# *\n# * Licensed under the Apache License, Versio",
"end": 53,
"score": 0.9995880722999573,
"start": 34,
"tag": "NAME",
"value": "Valentyn Kolesnikov"
},
{
"context": "0_5\"\n \"-text\": \"тысяч,миллионов... | src/main/resources/com/github/moneytostr/moneytostr.coffee | runbins/thirdparty-moneytostr-russian | 40 | #
# * $Id$
# *
# * Copyright 2014 Valentyn Kolesnikov
# *
# * 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... | 90558 | #
# * $Id$
# *
# * Copyright 2014 <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 l... | true | #
# * $Id$
# *
# * Copyright 2014 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 b... |
[
{
"context": "to#\",\n \"body\": \"<a id=\\\"$1\\\" href=\\\"mailto:${2:joe@example.com}?subject=${3:feedback}\\\">${4:email me}</a>$0\"\n ,",
"end": 11695,
"score": 0.9997244477272034,
"start": 11680,
"tag": "EMAIL",
"value": "joe@example.com"
},
{
"context": ".\",\n \"body\"... | snippets/html-id-class-snippets.cson | Seldonite/html-id-class-snippets | 3 | ".text.html":
"Anchor#":
"prefix": "a#",
"body": "<a id=\"$1\" href=\"${2:#}\">$3</a>$0"
,
"Anchor.":
"prefix": "a.",
"body": "<a class=\"$1\" href=\"${2:#}\">$3</a>$0"
,
"Abbreviation#":
"prefix": "abbr#",
"body": "<abbr id=\"$1\" title=\"$2\">$3</abbr>$0"
,
"Abbreviation.":
"... | 41455 | ".text.html":
"Anchor#":
"prefix": "a#",
"body": "<a id=\"$1\" href=\"${2:#}\">$3</a>$0"
,
"Anchor.":
"prefix": "a.",
"body": "<a class=\"$1\" href=\"${2:#}\">$3</a>$0"
,
"Abbreviation#":
"prefix": "abbr#",
"body": "<abbr id=\"$1\" title=\"$2\">$3</abbr>$0"
,
"Abbreviation.":
"... | true | ".text.html":
"Anchor#":
"prefix": "a#",
"body": "<a id=\"$1\" href=\"${2:#}\">$3</a>$0"
,
"Anchor.":
"prefix": "a.",
"body": "<a class=\"$1\" href=\"${2:#}\">$3</a>$0"
,
"Abbreviation#":
"prefix": "abbr#",
"body": "<abbr id=\"$1\" title=\"$2\">$3</abbr>$0"
,
"Abbreviation.":
"... |
[
{
"context": "ters.Sepia extends App.TrackFilters.Base\n name: 'Sepia'\n filterClass: WAGNER.SepiaPass\n",
"end": 71,
"score": 0.6139640212059021,
"start": 68,
"tag": "NAME",
"value": "Sep"
}
] | public-source/javascripts/models/trackFilters/sepia.coffee | lekevicius/vijual | 1 | class App.TrackFilters.Sepia extends App.TrackFilters.Base
name: 'Sepia'
filterClass: WAGNER.SepiaPass
| 194663 | class App.TrackFilters.Sepia extends App.TrackFilters.Base
name: '<NAME>ia'
filterClass: WAGNER.SepiaPass
| true | class App.TrackFilters.Sepia extends App.TrackFilters.Base
name: 'PI:NAME:<NAME>END_PIia'
filterClass: WAGNER.SepiaPass
|
[
{
"context": "ecode a password correctly', ->\n password = \"A39CADD77ED72A9C75467D0F5A5C88BFCD75370DD63E3388D3F402AF50C4E5029071B0965C343B99B6D6636A8698562DDB2EE51020D87EA3\"\n result = \"HelloWorld\"\n expect(cisco_d",
"end": 476,
"score": 0.9889700412750244,
"start": 364,
"tag"... | test/test.coffee | kkoscielniak/cisco-password-decoder-cli | 0 | chai = require 'chai'
expect = chai.expect
cisco_decoder = require('../src/index')
describe 'remove_nullbyte', ->
it 'should remove nullbyte', ->
expect(cisco_decoder.remove_nullbyte("HelloWorld\u0000")).to.equal "HelloWorld"
describe 'cisco_password_decoder', ->
task1 = task2 = null
it 'should decode ... | 21571 | chai = require 'chai'
expect = chai.expect
cisco_decoder = require('../src/index')
describe 'remove_nullbyte', ->
it 'should remove nullbyte', ->
expect(cisco_decoder.remove_nullbyte("HelloWorld\u0000")).to.equal "HelloWorld"
describe 'cisco_password_decoder', ->
task1 = task2 = null
it 'should decode ... | true | chai = require 'chai'
expect = chai.expect
cisco_decoder = require('../src/index')
describe 'remove_nullbyte', ->
it 'should remove nullbyte', ->
expect(cisco_decoder.remove_nullbyte("HelloWorld\u0000")).to.equal "HelloWorld"
describe 'cisco_password_decoder', ->
task1 = task2 = null
it 'should decode ... |
[
{
"context": " url: 'mongodb://localhost/session'\n secret: '1234567890QWERTY'\n maxAge : new Date(Date.now() + 24 * 3600000",
"end": 6204,
"score": 0.9947549104690552,
"start": 6188,
"tag": "KEY",
"value": "1234567890QWERTY"
}
] | src/app.coffee | breeswish/swall-server | 2 | express = require 'express'
path = require 'path'
favicon = require 'serve-favicon'
logger = require 'morgan'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
mongoose = require 'mongoose'
urlparser = require 'url'
https = require 'https'
fs = r... | 23551 | express = require 'express'
path = require 'path'
favicon = require 'serve-favicon'
logger = require 'morgan'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
mongoose = require 'mongoose'
urlparser = require 'url'
https = require 'https'
fs = r... | true | express = require 'express'
path = require 'path'
favicon = require 'serve-favicon'
logger = require 'morgan'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
mongoose = require 'mongoose'
urlparser = require 'url'
https = require 'https'
fs = r... |
[
{
"context": "erName: data.prefix + i.trim()\n password: @makeId()\n roles: data.roles\n message: da",
"end": 1065,
"score": 0.9953889846801758,
"start": 1058,
"tag": "PASSWORD",
"value": "@makeId"
},
{
"context": "rName: data.prefix + @makeId()\n ... | Web.App/app/modules/admin/views/users-generator-view.coffee | vip32/eventfeedback | 0 | application = require 'application'
vent = require 'vent'
module.exports = class UsersGeneratorView extends Backbone.Marionette.CompositeView
id: 'users-generator-view'
template: require './templates/users-generator'
itemView: require './users-generator-item-view'
itemViewContainer: '#js-users'
events:
... | 191658 | application = require 'application'
vent = require 'vent'
module.exports = class UsersGeneratorView extends Backbone.Marionette.CompositeView
id: 'users-generator-view'
template: require './templates/users-generator'
itemView: require './users-generator-item-view'
itemViewContainer: '#js-users'
events:
... | true | application = require 'application'
vent = require 'vent'
module.exports = class UsersGeneratorView extends Backbone.Marionette.CompositeView
id: 'users-generator-view'
template: require './templates/users-generator'
itemView: require './users-generator-item-view'
itemViewContainer: '#js-users'
events:
... |
[
{
"context": "'path'\n\n\n# modified from cli-scrape\n#\n# (c) 2012 Philip Thrasher & 2015 Richard Smith-Unna\n#\n# cli-scrape may be ",
"end": 229,
"score": 0.9998822212219238,
"start": 214,
"tag": "NAME",
"value": "Philip Thrasher"
},
{
"context": "om cli-scrape\n#\n# (c) 2012 ... | src/bo.coffee | Blahah/beau-selector | 0 | fs = require 'fs'
path = require 'path'
log = require 'verbalize'
optimist = require 'optimist'
jsdom = require 'jsdom'
log = require 'npmlog'
path = require 'path'
# modified from cli-scrape
#
# (c) 2012 Philip Thrasher & 2015 Richard Smith-Unna
#
# cli-scrape may be freely distributed under the MIT license.... | 100490 | fs = require 'fs'
path = require 'path'
log = require 'verbalize'
optimist = require 'optimist'
jsdom = require 'jsdom'
log = require 'npmlog'
path = require 'path'
# modified from cli-scrape
#
# (c) 2012 <NAME> & 2015 <NAME>
#
# cli-scrape may be freely distributed under the MIT license.
# For all details a... | true | fs = require 'fs'
path = require 'path'
log = require 'verbalize'
optimist = require 'optimist'
jsdom = require 'jsdom'
log = require 'npmlog'
path = require 'path'
# modified from cli-scrape
#
# (c) 2012 PI:NAME:<NAME>END_PI & 2015 PI:NAME:<NAME>END_PI
#
# cli-scrape may be freely distributed under the MIT l... |
[
{
"context": "nt-size: 12.3199996948242px; text-align: center;\">Miriam McCormick</td>\n</tr>\n</tbody>\n</table>\n<p><span style=\"colo",
"end": 6060,
"score": 0.9998807907104492,
"start": 6044,
"tag": "NAME",
"value": "Miriam McCormick"
}
] | minitests/html.coffee | edwinksl/zotero-better-bibtex | 0 | html = """
<p><span>When I first had a « student » tell me that she doesn’t ‹ believe in evolution › I was at a loss of how to respond. To
me, that sounded like someone telling me that she didn’t believe in gravity. It seemed both irrational and wrong.
Experiences like this are common; we think that one’s actual belief... | 54977 | html = """
<p><span>When I first had a « student » tell me that she doesn’t ‹ believe in evolution › I was at a loss of how to respond. To
me, that sounded like someone telling me that she didn’t believe in gravity. It seemed both irrational and wrong.
Experiences like this are common; we think that one’s actual belief... | true | html = """
<p><span>When I first had a « student » tell me that she doesn’t ‹ believe in evolution › I was at a loss of how to respond. To
me, that sounded like someone telling me that she didn’t believe in gravity. It seemed both irrational and wrong.
Experiences like this are common; we think that one’s actual belief... |
[
{
"context": "\n\nspotifyApi = new SpotifyWebApi ->\n clientId : '0f39154551684e12b45ba72e18d830b6',\n clientSecret : '57cb935d95f14c1ab427ff62eb37f",
"end": 236,
"score": 0.9981421232223511,
"start": 204,
"tag": "KEY",
"value": "0f39154551684e12b45ba72e18d830b6"
},
{
"context": "9... | lib/spotify.coffee | jac32/AtomicSpotify | 0 | SpotifyWebApi = require 'spotify-web-api-node'
control = require './control'
SpotifyView = require './spotify-view'
{CompositeDisposable} = require 'atom'
spotifyApi = new SpotifyWebApi ->
clientId : '0f39154551684e12b45ba72e18d830b6',
clientSecret : '57cb935d95f14c1ab427ff62eb37f148',
redirectUri : 'NA'
module... | 85320 | SpotifyWebApi = require 'spotify-web-api-node'
control = require './control'
SpotifyView = require './spotify-view'
{CompositeDisposable} = require 'atom'
spotifyApi = new SpotifyWebApi ->
clientId : '<KEY>',
clientSecret : '<KEY>',
redirectUri : 'NA'
module.exports = Spotify =
subscriptions: null
myPackage... | true | SpotifyWebApi = require 'spotify-web-api-node'
control = require './control'
SpotifyView = require './spotify-view'
{CompositeDisposable} = require 'atom'
spotifyApi = new SpotifyWebApi ->
clientId : 'PI:KEY:<KEY>END_PI',
clientSecret : 'PI:KEY:<KEY>END_PI',
redirectUri : 'NA'
module.exports = Spotify =
subsc... |
[
{
"context": " {for step, i in @props.steps\n step._key ?= Math.random()\n <MediaCard key={step._key} class",
"end": 3580,
"score": 0.6857658624649048,
"start": 3576,
"tag": "KEY",
"value": "Math"
},
{
"context": "step, i in @props.steps\n step._key ?= Math.rando... | app/lib/tutorial.cjsx | alexbfree/Panoptes-Front-End | 0 | React = require 'react'
Dialog = require 'modal-form/dialog'
StepThrough = require '../components/step-through'
MediaCard = require '../components/media-card'
{Markdown} = (require 'markdownz').default
apiClient = require 'panoptes-client/lib/api-client'
completedThisSession = {}
window?.tutorialsCompletedThisSession ... | 48846 | React = require 'react'
Dialog = require 'modal-form/dialog'
StepThrough = require '../components/step-through'
MediaCard = require '../components/media-card'
{Markdown} = (require 'markdownz').default
apiClient = require 'panoptes-client/lib/api-client'
completedThisSession = {}
window?.tutorialsCompletedThisSession ... | true | React = require 'react'
Dialog = require 'modal-form/dialog'
StepThrough = require '../components/step-through'
MediaCard = require '../components/media-card'
{Markdown} = (require 'markdownz').default
apiClient = require 'panoptes-client/lib/api-client'
completedThisSession = {}
window?.tutorialsCompletedThisSession ... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998423457145691,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/membrane/events.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 203970 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "\n # use redis stash\n key = \"duration-#{session}\"\n @redis.incrby key, Math.roun",
"end": 6576,
"score": 0.8546648025512695,
"start": 6565,
"tag": "KEY",
"value": "duration-#{"
},
{
"context": " redis stash\n key = \"durati... | src/streammachine/analytics/index.coffee | firebrandv2/FirebrandNetwork.ga | 342 | _ = require "underscore"
URL = require "url"
winston = require "winston"
tz = require "timezone"
nconf = require "nconf"
elasticsearch = require "@elastic/elasticsearch"
BatchedQueue = require "../util/batched_queue"
IdxWriter = require "./idx_writer"
ESTemplates = require "./es_templates... | 156538 | _ = require "underscore"
URL = require "url"
winston = require "winston"
tz = require "timezone"
nconf = require "nconf"
elasticsearch = require "@elastic/elasticsearch"
BatchedQueue = require "../util/batched_queue"
IdxWriter = require "./idx_writer"
ESTemplates = require "./es_templates... | true | _ = require "underscore"
URL = require "url"
winston = require "winston"
tz = require "timezone"
nconf = require "nconf"
elasticsearch = require "@elastic/elasticsearch"
BatchedQueue = require "../util/batched_queue"
IdxWriter = require "./idx_writer"
ESTemplates = require "./es_templates... |
[
{
"context": "# @author mrdoob / http://mrdoob.com/\r\n# @author alteredq / http:/",
"end": 16,
"score": 0.9996324181556702,
"start": 10,
"tag": "USERNAME",
"value": "mrdoob"
},
{
"context": "# @author mrdoob / http://mrdoob.com/\r\n# @author alteredq / http://alteredqualia.com/\r\n#... | source/javascripts/new_src/loaders/json.coffee | andrew-aladev/three.js | 0 | # @author mrdoob / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/loader
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/face_3
#= require new_src/core/face_4
#= require new_src/core/uv
... | 110009 | # @author mrdoob / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author <EMAIL>
#= require new_src/loaders/loader
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/face_3
#= require new_src/core/face_4
#= require new_src/core/uv
class JSONLoade... | true | # @author mrdoob / http://mrdoob.com/
# @author alteredq / http://alteredqualia.com/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/loader
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/face_3
#= require new_src/core/face_4
#= require new_src/core/uv
... |
[
{
"context": " hobbyList.add new Hobby(id: 0, name: 'abc', @facade), new Hobby(id: 100, name: 'xyz', @faca",
"end": 6858,
"score": 0.8912148475646973,
"start": 6855,
"tag": "NAME",
"value": "abc"
},
{
"context": "facade)\n\n hobbyList.add {id: 0, name: 'abc'}, {... | spec/lib/base-list.coffee | CureApp/base-domain | 37 |
Facade = require '../base-domain'
{ GeneralFactory, BaseList, Entity, ValueObject,
BaseSyncRepository, BaseAsyncRepository } = Facade
{ MemoryResource } = require '../others'
describe 'BaseList', ->
beforeEach ->
@facade = require('../create-facade').create()
class Hobby extends Entity
... | 61514 |
Facade = require '../base-domain'
{ GeneralFactory, BaseList, Entity, ValueObject,
BaseSyncRepository, BaseAsyncRepository } = Facade
{ MemoryResource } = require '../others'
describe 'BaseList', ->
beforeEach ->
@facade = require('../create-facade').create()
class Hobby extends Entity
... | true |
Facade = require '../base-domain'
{ GeneralFactory, BaseList, Entity, ValueObject,
BaseSyncRepository, BaseAsyncRepository } = Facade
{ MemoryResource } = require '../others'
describe 'BaseList', ->
beforeEach ->
@facade = require('../create-facade').create()
class Hobby extends Entity
... |
[
{
"context": "#\n# * Copyright (c) 2003-2005 Tom Wu\n# * All Rights Reserved.\n# *\n# * Permission is he",
"end": 37,
"score": 0.9997537732124329,
"start": 31,
"tag": "NAME",
"value": "Tom Wu"
},
{
"context": "ed\n\n# public\n\n# \"constants\"\n\n# Copyright (c) 2005 Tom Wu\n# All ... | deps/v8/benchmarks/crypto.coffee | lxe/io.coffee | 0 | #
# * Copyright (c) 2003-2005 Tom Wu
# * All Rights Reserved.
# *
# * 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 us... | 38357 | #
# * Copyright (c) 2003-2005 <NAME>
# * All Rights Reserved.
# *
# * 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 us... | true | #
# * Copyright (c) 2003-2005 PI:NAME:<NAME>END_PI
# * All Rights Reserved.
# *
# * 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 th... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n\nLicensed under the A",
"end": 39,
"score": 0.9998880624771118,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com... | src/Action/Scope/Decorator/PropertyReferenceArgumentRecycle.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
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 o... | 68049 | ###
© Copyright 2013-2014 <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 writing,... | true | ###
© Copyright 2013-2014 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 applicable... |
[
{
"context": "n/env node\n\n###\n forecast-cli\n https://github.com/joergd/forecast-cli\n\n Copyright (c) 2013-2015 Joerg Diek",
"end": 65,
"score": 0.9996091723442078,
"start": 59,
"tag": "USERNAME",
"value": "joergd"
},
{
"context": ".com/joergd/forecast-cli\n\n Copyright (c) 2013-... | src/lib/forecast-cli.coffee | chauncey-garrett/bin-forecast-cli | 0 | #!/usr/bin/env node
###
forecast-cli
https://github.com/joergd/forecast-cli
Copyright (c) 2013-2015 Joerg Diekmann
Licensed under the MIT license.
###
program = require 'commander'
prompt = require 'prompt'
defaults = require './defaults'
forecast = require './forecast'
program.version(require('../package').ver... | 8850 | #!/usr/bin/env node
###
forecast-cli
https://github.com/joergd/forecast-cli
Copyright (c) 2013-2015 <NAME>
Licensed under the MIT license.
###
program = require 'commander'
prompt = require 'prompt'
defaults = require './defaults'
forecast = require './forecast'
program.version(require('../package').version)
... | true | #!/usr/bin/env node
###
forecast-cli
https://github.com/joergd/forecast-cli
Copyright (c) 2013-2015 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
program = require 'commander'
prompt = require 'prompt'
defaults = require './defaults'
forecast = require './forecast'
program.version(require('../package... |
[
{
"context": " user: authData.username\n pass: authData.password\n return\n\n {\n getPageById: (baseUrl, auth, ",
"end": 395,
"score": 0.9479831457138062,
"start": 387,
"tag": "PASSWORD",
"value": "password"
}
] | lib/job-dependencies/experimentalConfluence/dependency.coffee | andreineculau/atlasboard | 0 | # This dependency is experimental and not suitable for general consumption. The API available here is liable to change
# without notice.
module.exports = (job, io, config) ->
addAuthConfig = (auth, opts) ->
authData = job.config.globalAuth[auth]
if authData and authData.username and authData.password
... | 159503 | # This dependency is experimental and not suitable for general consumption. The API available here is liable to change
# without notice.
module.exports = (job, io, config) ->
addAuthConfig = (auth, opts) ->
authData = job.config.globalAuth[auth]
if authData and authData.username and authData.password
... | true | # This dependency is experimental and not suitable for general consumption. The API available here is liable to change
# without notice.
module.exports = (job, io, config) ->
addAuthConfig = (auth, opts) ->
authData = job.config.globalAuth[auth]
if authData and authData.username and authData.password
... |
[
{
"context": "er()\n\n allModels = [\n # {\n # key: 'coloana-infinitului'\n # position: new THREE.Vector3(2, -10, 0)",
"end": 138,
"score": 0.9989427924156189,
"start": 119,
"tag": "KEY",
"value": "coloana-infinitului"
},
{
"context": "r3(-0.1, 0, -0.3)\n #... | example/3d/project-multiplayer-menu/js/game/models/LandingModel.coffee | mess110/coffee-engine | 1 | class LandingModel extends BaseModel
constructor: (index)->
super()
allModels = [
# {
# key: 'coloana-infinitului'
# position: new THREE.Vector3(2, -10, 0)
# rotation: new THREE.Vector3(-0.1, 0, -0.3)
# }
{
key: 'putinei'
position: new THREE.Vector3(1... | 52156 | class LandingModel extends BaseModel
constructor: (index)->
super()
allModels = [
# {
# key: '<KEY>'
# position: new THREE.Vector3(2, -10, 0)
# rotation: new THREE.Vector3(-0.1, 0, -0.3)
# }
{
key: '<KEY>'
position: new THREE.Vector3(1.2, -1, 6)
... | true | class LandingModel extends BaseModel
constructor: (index)->
super()
allModels = [
# {
# key: 'PI:KEY:<KEY>END_PI'
# position: new THREE.Vector3(2, -10, 0)
# rotation: new THREE.Vector3(-0.1, 0, -0.3)
# }
{
key: 'PI:KEY:<KEY>END_PI'
position: new THREE... |
[
{
"context": "# A safe setInterval Alternative\n# Written by Luke Morton and Richard Willis, MIT licensed.\n#\n# Usage:\n# ",
"end": 57,
"score": 0.9997897148132324,
"start": 46,
"tag": "NAME",
"value": "Luke Morton"
},
{
"context": "tInterval Alternative\n# Written by Luke Morton ... | src/interlude.coffee | drpheltright/interlude | 1 | # A safe setInterval Alternative
# Written by Luke Morton and Richard Willis, MIT licensed.
#
# Usage:
# // A JavaScript example
# var interval = new Interlude(500, function () {
# console.log('bob');
# });
# interval.stop();
#
# # A CoffeeScript example
# new Interlude 500, ->
# # @ or t... | 162297 | # A safe setInterval Alternative
# Written by <NAME> and <NAME>, MIT licensed.
#
# Usage:
# // A JavaScript example
# var interval = new Interlude(500, function () {
# console.log('bob');
# });
# interval.stop();
#
# # A CoffeeScript example
# new Interlude 500, ->
# # @ or this represent... | true | # A safe setInterval Alternative
# Written by PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI, MIT licensed.
#
# Usage:
# // A JavaScript example
# var interval = new Interlude(500, function () {
# console.log('bob');
# });
# interval.stop();
#
# # A CoffeeScript example
# new Interlude 500, ->
... |
[
{
"context": "= [{id: 0, name: \"San Francisco\"}, {id: 1, name: \"Lyon\"}, {id: 2, name: \"Barcelona\"}]\n regexp = new",
"end": 175,
"score": 0.5834287405014038,
"start": 173,
"tag": "NAME",
"value": "Ly"
},
{
"context": "ch, callback) ->\n collection = [{id: 0, name: \"SoMa\... | examples/typeaheads/cityService.coffee | vedantchoubey098/react-form-builder | 44 | filter = require("lodash/filter")
module.exports = cityService =
loadCitiesByName: (search, callback) ->
collection = [{id: 0, name: "San Francisco"}, {id: 1, name: "Lyon"}, {id: 2, name: "Barcelona"}]
regexp = new RegExp(search[0]+'+', 'i') if search[0] != ''
callback.success filter collection, (item) -... | 216983 | filter = require("lodash/filter")
module.exports = cityService =
loadCitiesByName: (search, callback) ->
collection = [{id: 0, name: "San Francisco"}, {id: 1, name: "<NAME>on"}, {id: 2, name: "Barcelona"}]
regexp = new RegExp(search[0]+'+', 'i') if search[0] != ''
callback.success filter collection, (ite... | true | filter = require("lodash/filter")
module.exports = cityService =
loadCitiesByName: (search, callback) ->
collection = [{id: 0, name: "San Francisco"}, {id: 1, name: "PI:NAME:<NAME>END_PIon"}, {id: 2, name: "Barcelona"}]
regexp = new RegExp(search[0]+'+', 'i') if search[0] != ''
callback.success filter co... |
[
{
"context": " [\n\t\t_id: '53b54577f5adc6a9932b1aec'\n\t\tusername: 'admin'\n\t\temail: 'admin@admin.com'\n\t\tpassword: '202cb962",
"end": 662,
"score": 0.9987016320228577,
"start": 657,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "77f5adc6a9932b1aec'\n\t\tusername: 'admin'... | meta/migrate.coffee | winnlab/Optimeal | 0 | mongoose = require 'mongoose'
module.exports = [
modelName: 'permission'
data: [
_id: 'denied'
name: 'access_denied'
,
_id: 'dashboard'
name: 'dashboard'
,
_id: 'users'
name: 'users'
,
_id: 'clients'
name: 'clients'
,
_id: 'cache'
name: 'cache'
,
_id: 'roles'
name: 'roles'
,
_id: 'per... | 217433 | mongoose = require 'mongoose'
module.exports = [
modelName: 'permission'
data: [
_id: 'denied'
name: 'access_denied'
,
_id: 'dashboard'
name: 'dashboard'
,
_id: 'users'
name: 'users'
,
_id: 'clients'
name: 'clients'
,
_id: 'cache'
name: 'cache'
,
_id: 'roles'
name: 'roles'
,
_id: 'per... | true | mongoose = require 'mongoose'
module.exports = [
modelName: 'permission'
data: [
_id: 'denied'
name: 'access_denied'
,
_id: 'dashboard'
name: 'dashboard'
,
_id: 'users'
name: 'users'
,
_id: 'clients'
name: 'clients'
,
_id: 'cache'
name: 'cache'
,
_id: 'roles'
name: 'roles'
,
_id: 'per... |
[
{
"context": "params: {id: 'foobar'} , query: { outcome_token: '123123', option: 'selected+option' }\n routes.user_o",
"end": 1146,
"score": 0.9434285163879395,
"start": 1140,
"tag": "PASSWORD",
"value": "123123"
}
] | apps/inquiry/test/routes.coffee | l2succes/force | 0 | sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
routes = require '../routes'
describe 'inquiry routes', ->
beforeEach ->
@req = params: 'foobar'
@res = render: sinon.stub(), locals: sd: {}
@next = sinon.stub()
sinon.stub Backbone, 'sync'
afterEach ->
... | 68847 | sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
routes = require '../routes'
describe 'inquiry routes', ->
beforeEach ->
@req = params: 'foobar'
@res = render: sinon.stub(), locals: sd: {}
@next = sinon.stub()
sinon.stub Backbone, 'sync'
afterEach ->
... | true | sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
routes = require '../routes'
describe 'inquiry routes', ->
beforeEach ->
@req = params: 'foobar'
@res = render: sinon.stub(), locals: sd: {}
@next = sinon.stub()
sinon.stub Backbone, 'sync'
afterEach ->
... |
[
{
"context": " @fileoverview Tests for jsx-pascal-case\n# @author Jake Marsh\n###\n'use strict'\n\n# -----------------------------",
"end": 67,
"score": 0.9997727274894714,
"start": 57,
"tag": "NAME",
"value": "Jake Marsh"
}
] | src/tests/rules/jsx-pascal-case.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for jsx-pascal-case
# @author Jake Marsh
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/jsx-pascal... | 100173 | ###*
# @fileoverview Tests for jsx-pascal-case
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/jsx-pascal-cas... | true | ###*
# @fileoverview Tests for jsx-pascal-case
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/... |
[
{
"context": "bjects sent and received with XMPP:\n# addresses: \"{profileId}@chat.grindr.com\"\n# password: one-time token (see authentication",
"end": 112,
"score": 0.9977695345878601,
"start": 84,
"tag": "EMAIL",
"value": "\"{profileId}@chat.grindr.com"
},
{
"context": "esses:... | fuckr/services/chat.coffee | grr69/originatr | 0 | #Grindr™ chat messages are JSON objects sent and received with XMPP:
# addresses: "{profileId}@chat.grindr.com"
# password: one-time token (see authentication)
#Grindr™ chat uses HTTP to:
# - get messages sent while you were offline (/undeliveredChatMessages)
# - confirm receiption (/confirmChatMessagesDelivere... | 5081 | #Grindr™ chat messages are JSON objects sent and received with XMPP:
# addresses: <EMAIL>"
# password: <PASSWORD> (see authentication)
#Grindr™ chat uses HTTP to:
# - get messages sent while you were offline (/undeliveredChatMessages)
# - confirm receiption (/confirmChatMessagesDelivered)
# - notify Grindr™ y... | true | #Grindr™ chat messages are JSON objects sent and received with XMPP:
# addresses: PI:EMAIL:<EMAIL>END_PI"
# password: PI:PASSWORD:<PASSWORD>END_PI (see authentication)
#Grindr™ chat uses HTTP to:
# - get messages sent while you were offline (/undeliveredChatMessages)
# - confirm receiption (/confirmChatMessages... |
[
{
"context": "### Copyright (c) 2015 Magnus Leo. All rights reserved. ###\n\nmodule.exports = envir",
"end": 33,
"score": 0.9998666644096375,
"start": 23,
"tag": "NAME",
"value": "Magnus Leo"
}
] | src/modules/environment.coffee | magnusleo/Leo-Engine | 1 | ### Copyright (c) 2015 Magnus Leo. All rights reserved. ###
module.exports = environment =
gravity: 60 # Tiles per second^2
| 221569 | ### Copyright (c) 2015 <NAME>. All rights reserved. ###
module.exports = environment =
gravity: 60 # Tiles per second^2
| true | ### Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved. ###
module.exports = environment =
gravity: 60 # Tiles per second^2
|
[
{
"context": "esents the costs to move between hexes\n#\n# @author Cédric ZUGER\n#\n\nclass @MovementGraph\n\n # Build the movement g",
"end": 80,
"score": 0.9998307228088379,
"start": 68,
"tag": "NAME",
"value": "Cédric ZUGER"
}
] | app/assets/javascripts/local_libs/movement_graph.coffee | czuger/coffhex-dev | 1 | # This class represents the costs to move between hexes
#
# @author Cédric ZUGER
#
class @MovementGraph
# Build the movement graph
constructor: ( loaded_data ) ->
@movement_graph = loaded_data.json_movement_graph
# Build the key for the movement graph
# from and to are AxialHexes
can_move: ( from, to... | 220800 | # This class represents the costs to move between hexes
#
# @author <NAME>
#
class @MovementGraph
# Build the movement graph
constructor: ( loaded_data ) ->
@movement_graph = loaded_data.json_movement_graph
# Build the key for the movement graph
# from and to are AxialHexes
can_move: ( from, to ) ->
... | true | # This class represents the costs to move between hexes
#
# @author PI:NAME:<NAME>END_PI
#
class @MovementGraph
# Build the movement graph
constructor: ( loaded_data ) ->
@movement_graph = loaded_data.json_movement_graph
# Build the key for the movement graph
# from and to are AxialHexes
can_move: ( ... |
[
{
"context": "12\n expect(response.data.first_name).toBe 'maeby'\n done()\n\n\n it 'should call error callbac",
"end": 756,
"score": 0.9991765022277832,
"start": 751,
"tag": "NAME",
"value": "maeby"
},
{
"context": "l : 'http://reqr.es/api/users'\n data: name: 'mo... | src/tests/ajax/test_ajax.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.require 'spark.ajax'
describe 'spark.ajax', ->
it 'should return default options', ->
return yes unless goog.DEBUG
defaults = spark.ajax.getOptions_()
expect(defaults.type).toBe 'GET'
expect(defaults.url).toBe ''
expect(defaults.data).toBeNull()
exp... | 24185 | goog = goog or goog = require: ->
goog.require 'spark.ajax'
describe 'spark.ajax', ->
it 'should return default options', ->
return yes unless goog.DEBUG
defaults = spark.ajax.getOptions_()
expect(defaults.type).toBe 'GET'
expect(defaults.url).toBe ''
expect(defaults.data).toBeNull()
exp... | true | goog = goog or goog = require: ->
goog.require 'spark.ajax'
describe 'spark.ajax', ->
it 'should return default options', ->
return yes unless goog.DEBUG
defaults = spark.ajax.getOptions_()
expect(defaults.type).toBe 'GET'
expect(defaults.url).toBe ''
expect(defaults.data).toBeNull()
exp... |
[
{
"context": "nfig\n\n admin.setFieldValue\n 'email': \"admin@publish.org\"\n 'username': \"admin\"\n 'password': ",
"end": 855,
"score": 0.9999243021011353,
"start": 838,
"tag": "EMAIL",
"value": "admin@publish.org"
},
{
"context": "'email': \"admin@publish... | components/backend/modules/user/server.coffee | dni/sondling | 0 | Setting = require('./../../lib/model/Schema')("settings")
express = require 'express'
auth = require "../../utilities/auth"
utils = require "../../utilities/utils"
passport = require 'passport'
module.exports.setup = (app, config)->
User = require('../../lib/model/Schema')(config.dbTable)
# login
app.get '/logi... | 128663 | Setting = require('./../../lib/model/Schema')("settings")
express = require 'express'
auth = require "../../utilities/auth"
utils = require "../../utilities/utils"
passport = require 'passport'
module.exports.setup = (app, config)->
User = require('../../lib/model/Schema')(config.dbTable)
# login
app.get '/logi... | true | Setting = require('./../../lib/model/Schema')("settings")
express = require 'express'
auth = require "../../utilities/auth"
utils = require "../../utilities/utils"
passport = require 'passport'
module.exports.setup = (app, config)->
User = require('../../lib/model/Schema')(config.dbTable)
# login
app.get '/logi... |
[
{
"context": "nLogins', ->\n describe 'when there is an author bob(012345), and replier jack(054321)', ->\n befo",
"end": 88,
"score": 0.8135949969291687,
"start": 85,
"tag": "NAME",
"value": "bob"
},
{
"context": " 'when there is an author bob(012345), and replier jack(05432... | spec/javascripts/app_spec.coffee | genewoo/ruby-china | 1 | describe 'App', ->
describe 'scanLogins', ->
describe 'when there is an author bob(012345), and replier jack(054321)', ->
beforeEach ->
@htmlContainer.append """
<div id="topic-show">
<div class="leader">
<a data-author="true" data-name="012345">bob</a>
... | 217675 | describe 'App', ->
describe 'scanLogins', ->
describe 'when there is an author <NAME>(012345), and replier <NAME>(054321)', ->
beforeEach ->
@htmlContainer.append """
<div id="topic-show">
<div class="leader">
<a data-author="true" data-name="012345">bob</a>
... | true | describe 'App', ->
describe 'scanLogins', ->
describe 'when there is an author PI:NAME:<NAME>END_PI(012345), and replier PI:NAME:<NAME>END_PI(054321)', ->
beforeEach ->
@htmlContainer.append """
<div id="topic-show">
<div class="leader">
<a data-author="true" data... |
[
{
"context": "rocess.coffee\n# processes crystal spec\n#\n# @author Chris Tate <chris@autocode.run>\n# @copyright 2015 Autocode\n#",
"end": 66,
"score": 0.9998694062232971,
"start": 56,
"tag": "NAME",
"value": "Chris Tate"
},
{
"context": "\n# processes crystal spec\n#\n# @author Chr... | src/autocode/process.coffee | crystal/autocode-js | 92 | #
# process.coffee
# processes crystal spec
#
# @author Chris Tate <chris@autocode.run>
# @copyright 2015 Autocode
# @license MIT
#
# load deps
crystal = {
format: require './format'
}
debug = require('debug')('build')
fs = require 'fs'
merge = require 'merge'
pluralize = require 'pluralize'
# val... | 35214 | #
# process.coffee
# processes crystal spec
#
# @author <NAME> <<EMAIL>>
# @copyright 2015 Autocode
# @license MIT
#
# load deps
crystal = {
format: require './format'
}
debug = require('debug')('build')
fs = require 'fs'
merge = require 'merge'
pluralize = require 'pluralize'
# valid detail types... | true | #
# process.coffee
# processes crystal spec
#
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @copyright 2015 Autocode
# @license MIT
#
# load deps
crystal = {
format: require './format'
}
debug = require('debug')('build')
fs = require 'fs'
merge = require 'merge'
pluralize = require 'plu... |
[
{
"context": "ollers/getter'\ntrack_sc = \"https://soundcloud.com/chrome-sparks/goddess-1\"\ntrack_yt = \"https://www.youtube.com/wa",
"end": 119,
"score": 0.9903866052627563,
"start": 106,
"tag": "USERNAME",
"value": "chrome-sparks"
},
{
"context": ") ->\n (res.title).should.... | test/getter.test.coffee | chriscx/Disko | 0 | should = require 'should'
Getter = require '../app/controllers/getter'
track_sc = "https://soundcloud.com/chrome-sparks/goddess-1"
track_yt = "https://www.youtube.com/watch?v=H7HmzwI67ec"
describe 'Getter', ->
it 'gets Soundcloud track info', (done) ->
Getter.dispatch track_sc, (res) ->
(res.title).shoul... | 159169 | should = require 'should'
Getter = require '../app/controllers/getter'
track_sc = "https://soundcloud.com/chrome-sparks/goddess-1"
track_yt = "https://www.youtube.com/watch?v=H7HmzwI67ec"
describe 'Getter', ->
it 'gets Soundcloud track info', (done) ->
Getter.dispatch track_sc, (res) ->
(res.title).shoul... | true | should = require 'should'
Getter = require '../app/controllers/getter'
track_sc = "https://soundcloud.com/chrome-sparks/goddess-1"
track_yt = "https://www.youtube.com/watch?v=H7HmzwI67ec"
describe 'Getter', ->
it 'gets Soundcloud track info', (done) ->
Getter.dispatch track_sc, (res) ->
(res.title).shoul... |
[
{
"context": "ective()\n @scope.cocktailRecipe =\n name: 'Margarita (Cadillac)'\n description: 'A classic marg wi",
"end": 148,
"score": 0.9934225678443909,
"start": 139,
"tag": "NAME",
"value": "Margarita"
},
{
"context": " @scope.cocktailRecipe =\n name: 'Margari... | spec/javascripts/directives/recipeCard_spec.coffee | baberthal/cocktails | 0 | #= require spec_helper
describe 'recipeCard directive', ->
beforeEach ->
@setupDirective()
@scope.cocktailRecipe =
name: 'Margarita (Cadillac)'
description: 'A classic marg with Grand Marnier'
it 'replaces the element with the appropriate content', ->
element = @compile("<recipe-card></rec... | 2207 | #= require spec_helper
describe 'recipeCard directive', ->
beforeEach ->
@setupDirective()
@scope.cocktailRecipe =
name: '<NAME> (<NAME>)'
description: 'A classic marg with Grand Marnier'
it 'replaces the element with the appropriate content', ->
element = @compile("<recipe-card></recipe-c... | true | #= require spec_helper
describe 'recipeCard directive', ->
beforeEach ->
@setupDirective()
@scope.cocktailRecipe =
name: 'PI:NAME:<NAME>END_PI (PI:NAME:<NAME>END_PI)'
description: 'A classic marg with Grand Marnier'
it 'replaces the element with the appropriate content', ->
element = @comp... |
[
{
"context": "ssert.isTrue(\n gitSetEmailStub.calledWith('deploy@nrt.io'),\n \"Expected the git email to be set to d",
"end": 1042,
"score": 0.9998578429222107,
"start": 1029,
"tag": "EMAIL",
"value": "deploy@nrt.io"
},
{
"context": "io'),\n \"Expected the git em... | server/test/units/deploy.coffee | unepwcmc/NRT | 0 | assert = require('chai').assert
helpers = require '../helpers'
sinon = require 'sinon'
Promise = require 'bluebird'
CommandRunner = require('../../lib/command_runner')
Git = require('../../lib/git')
GitHubDeploy = require('../../lib/git_hub_deploy')
Deploy = require('../../lib/deploy')
suite('Deploy')
test('.updateF... | 119399 | assert = require('chai').assert
helpers = require '../helpers'
sinon = require 'sinon'
Promise = require 'bluebird'
CommandRunner = require('../../lib/command_runner')
Git = require('../../lib/git')
GitHubDeploy = require('../../lib/git_hub_deploy')
Deploy = require('../../lib/deploy')
suite('Deploy')
test('.updateF... | true | assert = require('chai').assert
helpers = require '../helpers'
sinon = require 'sinon'
Promise = require 'bluebird'
CommandRunner = require('../../lib/command_runner')
Git = require('../../lib/git')
GitHubDeploy = require('../../lib/git_hub_deploy')
Deploy = require('../../lib/deploy')
suite('Deploy')
test('.updateF... |
[
{
"context": "ame}.sock\"\n env: 'development'\n cookie_secret: 'super secret cookie key'\n\n# get latest git commit hash and branch if in d",
"end": 217,
"score": 0.9973466992378235,
"start": 194,
"tag": "KEY",
"value": "super secret cookie key"
}
] | app/config/app.sample.coffee | cmckni3-boneyard/basic-cms | 1 | pkg = require '../../package.json'
conf =
appName: pkg.name
appUser: pkg.name
version: pkg.version
port: 3000
# socket: "/tmp/#{pkg.name}.sock"
env: 'development'
cookie_secret: 'super secret cookie key'
# get latest git commit hash and branch if in dev environment
if conf.env is 'development'
exec = ... | 73092 | pkg = require '../../package.json'
conf =
appName: pkg.name
appUser: pkg.name
version: pkg.version
port: 3000
# socket: "/tmp/#{pkg.name}.sock"
env: 'development'
cookie_secret: '<KEY>'
# get latest git commit hash and branch if in dev environment
if conf.env is 'development'
exec = require('child_pro... | true | pkg = require '../../package.json'
conf =
appName: pkg.name
appUser: pkg.name
version: pkg.version
port: 3000
# socket: "/tmp/#{pkg.name}.sock"
env: 'development'
cookie_secret: 'PI:KEY:<KEY>END_PI'
# get latest git commit hash and branch if in dev environment
if conf.env is 'development'
exec = requi... |
[
{
"context": "s)\n ```\n neo\n .createNode({\n name: 'Kieve'\n })\n ```\n ###\n createNode: createNod",
"end": 410,
"score": 0.9973462820053101,
"start": 405,
"tag": "NAME",
"value": "Kieve"
},
{
"context": " ```\n neo.createUniqueNode('people', 'name', ... | src/node.coffee | kievechua/js-neo4j | 2 | utils = require './utils'
module.exports =
# ###Create node
###
Without properties [Details](http://docs.neo4j.org/chunked/milestone/rest-api-nodes.html#rest-api-create-node)
```
neo
.createNode()
```
With properties [Details](http://docs.neo4j.org/chunked/milestone/rest-api-nodes.html#... | 168126 | utils = require './utils'
module.exports =
# ###Create node
###
Without properties [Details](http://docs.neo4j.org/chunked/milestone/rest-api-nodes.html#rest-api-create-node)
```
neo
.createNode()
```
With properties [Details](http://docs.neo4j.org/chunked/milestone/rest-api-nodes.html#... | true | utils = require './utils'
module.exports =
# ###Create node
###
Without properties [Details](http://docs.neo4j.org/chunked/milestone/rest-api-nodes.html#rest-api-create-node)
```
neo
.createNode()
```
With properties [Details](http://docs.neo4j.org/chunked/milestone/rest-api-nodes.html#... |
[
{
"context": " filePath: mp3\n host: \"127.0.0.1\"\n port: master_info.source_p",
"end": 1349,
"score": 0.9997367858886719,
"start": 1340,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "aster_info.source_port\n ... | test/handoffs/slave.coffee | firebrandv2/FirebrandNetwork.ga | 342 | # Test handing off live listeners from one slave to another, as we would
# during a graceful restart. Test that the listener connection stays
# alive through the restart and keeps receiving data.
MasterMode = $src "modes/master"
SlaveMode = $src "modes/slave"
StreamListener = $src "util/stream_listener"
I... | 224467 | # Test handing off live listeners from one slave to another, as we would
# during a graceful restart. Test that the listener connection stays
# alive through the restart and keeps receiving data.
MasterMode = $src "modes/master"
SlaveMode = $src "modes/slave"
StreamListener = $src "util/stream_listener"
I... | true | # Test handing off live listeners from one slave to another, as we would
# during a graceful restart. Test that the listener connection stays
# alive through the restart and keeps receiving data.
MasterMode = $src "modes/master"
SlaveMode = $src "modes/slave"
StreamListener = $src "util/stream_listener"
I... |
[
{
"context": "#\n# Project's main unit\n#\n# Copyright (C) 2013 Nikolay Nemshilov\n#\nclass Table extends Element\n\n constructor: (op",
"end": 64,
"score": 0.9998843669891357,
"start": 47,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | E008/table/src/table.coffee | lovely-io/lovely.io-show | 1 | #
# Project's main unit
#
# Copyright (C) 2013 Nikolay Nemshilov
#
class Table extends Element
constructor: (options)->
if options and options.nodeType is 1
element = options
options = undefined
else
element = 'table'
super element, options
header: ->
@find('thead tr')
foote... | 136832 | #
# Project's main unit
#
# Copyright (C) 2013 <NAME>
#
class Table extends Element
constructor: (options)->
if options and options.nodeType is 1
element = options
options = undefined
else
element = 'table'
super element, options
header: ->
@find('thead tr')
footer: ->
@... | true | #
# Project's main unit
#
# Copyright (C) 2013 PI:NAME:<NAME>END_PI
#
class Table extends Element
constructor: (options)->
if options and options.nodeType is 1
element = options
options = undefined
else
element = 'table'
super element, options
header: ->
@find('thead tr')
fo... |
[
{
"context": " \"customs\",\n \"cv\",\n \"cw\",\n \"cx\",\n \"cy\",\n \"cyclone\",\n \"cz\",\n \"dagger\",\n \"dag",
"end": 7094,
"score": 0.5010324716567993,
"start": 7092,
"tag": "NAME",
"value": "cy"
},
{
"context": " \"cx\",\n \"cy\",\n \"cyclo... | spirit/core/static/spirit/scripts/src/emoji_list.coffee | Ke-xueting/Spirit | 974 | ###
Emoji list
###
stModules.emojiList = [
"+1",
"+1_tone1",
"+1_tone2",
"+1_tone3",
"+1_tone4",
"+1_tone5",
"-1",
"-1_tone1",
"-1_tone2",
"-1_tone3",
"-1_tone4",
"-1_tone5",
"100",
"1234",
"8ball",
"a",
"ab",
"abc",
"abcd",
"ac",
"a... | 205283 | ###
Emoji list
###
stModules.emojiList = [
"+1",
"+1_tone1",
"+1_tone2",
"+1_tone3",
"+1_tone4",
"+1_tone5",
"-1",
"-1_tone1",
"-1_tone2",
"-1_tone3",
"-1_tone4",
"-1_tone5",
"100",
"1234",
"8ball",
"a",
"ab",
"abc",
"abcd",
"ac",
"a... | true | ###
Emoji list
###
stModules.emojiList = [
"+1",
"+1_tone1",
"+1_tone2",
"+1_tone3",
"+1_tone4",
"+1_tone5",
"-1",
"-1_tone1",
"-1_tone2",
"-1_tone3",
"-1_tone4",
"-1_tone5",
"100",
"1234",
"8ball",
"a",
"ab",
"abc",
"abcd",
"ac",
"a... |
[
{
"context": " ( done ) ->\n AgentModel.create(\n email: 'test+persona+graph+connection+routes@joukou.com'\n name: 'test/persona/graph/connection/route",
"end": 1179,
"score": 0.9997261762619019,
"start": 1132,
"tag": "EMAIL",
"value": "test+persona+graph+connection+routes@jouko... | test/persona/graph/connection/routes.coffee | joukou/joukou-api | 0 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 84535 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | true | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
[
{
"context": " client = client_id: 'uuid', client_secret: 'h4sh'\n verifier = () ->\n strategy = new OAut",
"end": 1034,
"score": 0.9986848831176758,
"start": 1030,
"tag": "KEY",
"value": "h4sh"
},
{
"context": " .reply(200, { uid: 1234, name: 'Dude' }... | test/unit/strategies/oauth2/userInfo.coffee | LorianeE/connect | 331 | # Test dependencies
_ = require 'lodash'
nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
util = require 'util'
# Assertions
chai.use sinonChai
chai.should()
# Code under test
OAuth2Strategy = require '../../.... | 137003 | # Test dependencies
_ = require 'lodash'
nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
util = require 'util'
# Assertions
chai.use sinonChai
chai.should()
# Code under test
OAuth2Strategy = require '../../.... | true | # Test dependencies
_ = require 'lodash'
nock = require 'nock'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
util = require 'util'
# Assertions
chai.use sinonChai
chai.should()
# Code under test
OAuth2Strategy = require '../../.... |
[
{
"context": "@executablePath, params, options, {uniqueKey: \"aiml-linter:#{textEditor.getPath()}\"})\n .then (output) =>\n",
"end": 2365,
"score": 0.6792492866516113,
"start": 2357,
"tag": "KEY",
"value": "l-linter"
},
{
"context": "ec(@executablePath, params, options, {uniqueKey... | lib/linterV2-provider.coffee | docomo-dialog/xaiml-editor | 0 | CompositeDisposable = null
Util = null
Helpers = null
Path = null
SchemaLoader = null
XRegExp = null
module.exports =
provider:
name: "AIML Linter"
grammarScopes: ['text.aiml']
scope: 'file'
lintsOnChange: false
subscriptions: null
executablePath: ''
internalPath: "resources/xaiml1.0.0.xsd"
... | 166387 | CompositeDisposable = null
Util = null
Helpers = null
Path = null
SchemaLoader = null
XRegExp = null
module.exports =
provider:
name: "AIML Linter"
grammarScopes: ['text.aiml']
scope: 'file'
lintsOnChange: false
subscriptions: null
executablePath: ''
internalPath: "resources/xaiml1.0.0.xsd"
... | true | CompositeDisposable = null
Util = null
Helpers = null
Path = null
SchemaLoader = null
XRegExp = null
module.exports =
provider:
name: "AIML Linter"
grammarScopes: ['text.aiml']
scope: 'file'
lintsOnChange: false
subscriptions: null
executablePath: ''
internalPath: "resources/xaiml1.0.0.xsd"
... |
[
{
"context": " provId = values.pop()\n params[@key] = (\"G#{v}-#{provId}\" for v in values)\n\n class CwicGranuleIdLi",
"end": 2780,
"score": 0.7979442477226257,
"start": 2772,
"tag": "KEY",
"value": "G#{v}-#{"
},
{
"context": "values.pop()\n params[@key] = (\"G#{v}-... | app/assets/javascripts/util/url.js.coffee | johnmelodyme/earthdata-search | 1 | #= require util/xhr
this.edsc.util.url = do(window
document
History
extend = jQuery.extend
param = jQuery.param
deparam = @edsc.util.deparam
murmurhash3 = @edsc.util.murmurhas... | 86901 | #= require util/xhr
this.edsc.util.url = do(window
document
History
extend = jQuery.extend
param = jQuery.param
deparam = @edsc.util.deparam
murmurhash3 = @edsc.util.murmurhas... | true | #= require util/xhr
this.edsc.util.url = do(window
document
History
extend = jQuery.extend
param = jQuery.param
deparam = @edsc.util.deparam
murmurhash3 = @edsc.util.murmurhas... |
[
{
"context": "__/_/_/|_|\\\\___/\n\n By Chris Reuter\n\n Age 12\n\n\n\n ",
"end": 1403,
"score": 0.9988706707954407,
"start": 1391,
"tag": "NAME",
"value": "Chris Reuter"
},
{
"context": "__/_/_/|_|\\\\___/\n\n ... | screens.coffee | suetanvil/exobike | 1 |
class FixedScreens
constructor: (pre) ->
NUMLINES = 21
@show = (doc, noIndent = false) =>
lines = doc.split("\n")
lines = lines[0..NUMLINES-1] if lines.length > NUMLINES
lines.push "" while lines.length < NUMLINES
lines = lines.map( (l) -> " " + l) unless noIndent
p... | 109721 |
class FixedScreens
constructor: (pre) ->
NUMLINES = 21
@show = (doc, noIndent = false) =>
lines = doc.split("\n")
lines = lines[0..NUMLINES-1] if lines.length > NUMLINES
lines.push "" while lines.length < NUMLINES
lines = lines.map( (l) -> " " + l) unless noIndent
p... | true |
class FixedScreens
constructor: (pre) ->
NUMLINES = 21
@show = (doc, noIndent = false) =>
lines = doc.split("\n")
lines = lines[0..NUMLINES-1] if lines.length > NUMLINES
lines.push "" while lines.length < NUMLINES
lines = lines.map( (l) -> " " + l) unless noIndent
p... |
[
{
"context": "ne) ->\n expect(xpubInstance._xpub58).toBe('xpub6DCi5iJ57ZPd5qPzvTm5hUt6X23TJdh9H4NjNsNbt7t7UuTMJfawQWsdWRFhfLwkiMkB1rQ4ZJWLB9YBnzR7kbs9N8b2PsKZgKUHQm1X4or')\n done()\n\n it \"should get the first ",
"end": 885,
"score": 0.9997238516807556,
"start": 774,
"tag": "... | app/spec/wallet/extended_public_key_spec.coffee | romanornr/ledger-wallet-crw | 173 | describe "Extended public key", ->
xpubInstance = null
dongleInst = null
init = (pin, seed, pairingKey, callback) ->
chrome.storage.local.clear()
dongleInst = new ledger.dongle.MockDongle pin, seed, pairingKey
ledger.app.dongle = dongleInst
dongleInst.unlockWithPinCode '0000', callback
des... | 37086 | describe "Extended public key", ->
xpubInstance = null
dongleInst = null
init = (pin, seed, pairingKey, callback) ->
chrome.storage.local.clear()
dongleInst = new ledger.dongle.MockDongle pin, seed, pairingKey
ledger.app.dongle = dongleInst
dongleInst.unlockWithPinCode '0000', callback
des... | true | describe "Extended public key", ->
xpubInstance = null
dongleInst = null
init = (pin, seed, pairingKey, callback) ->
chrome.storage.local.clear()
dongleInst = new ledger.dongle.MockDongle pin, seed, pairingKey
ledger.app.dongle = dongleInst
dongleInst.unlockWithPinCode '0000', callback
des... |
[
{
"context": " \"http://test.com/test.xml\"\n \"authors\": \"Danny Swaby\"\n )\n feed.on \"invalid\", (model, err",
"end": 1173,
"score": 0.999814510345459,
"start": 1162,
"tag": "NAME",
"value": "Danny Swaby"
}
] | test/coffee/feed.coffee | dswaby/swabcast-webapp | 0 | define ["app",
"./../../app/assets/bower_components/chai/chai",
"entities/feed"
], (Swabcast, chai) ->
#feeds = require("app","entities/feed")
expect = chai.expect;
describe "Feed Model", ->
describe "Creation", ->
feed = new Swabcast.Entities.Feed()
it "expect \"/feed\" to have default valu... | 212221 | define ["app",
"./../../app/assets/bower_components/chai/chai",
"entities/feed"
], (Swabcast, chai) ->
#feeds = require("app","entities/feed")
expect = chai.expect;
describe "Feed Model", ->
describe "Creation", ->
feed = new Swabcast.Entities.Feed()
it "expect \"/feed\" to have default valu... | true | define ["app",
"./../../app/assets/bower_components/chai/chai",
"entities/feed"
], (Swabcast, chai) ->
#feeds = require("app","entities/feed")
expect = chai.expect;
describe "Feed Model", ->
describe "Creation", ->
feed = new Swabcast.Entities.Feed()
it "expect \"/feed\" to have default valu... |
[
{
"context": "###################################\n#\n# Created by Markus on 26/10/2016.\n#\n################################",
"end": 77,
"score": 0.9987019896507263,
"start": 71,
"tag": "NAME",
"value": "Markus"
}
] | server/3_database/field.coffee | agottschalk10/worklearn | 0 | #######################################################
#
# Created by Markus on 26/10/2016.
#
#######################################################
#######################################################
@modify_field = (collection, id, field, value) ->
if not collection
throw new Meteor.Error "Collection undefi... | 89284 | #######################################################
#
# Created by <NAME> on 26/10/2016.
#
#######################################################
#######################################################
@modify_field = (collection, id, field, value) ->
if not collection
throw new Meteor.Error "Collection undefi... | true | #######################################################
#
# Created by PI:NAME:<NAME>END_PI on 26/10/2016.
#
#######################################################
#######################################################
@modify_field = (collection, id, field, value) ->
if not collection
throw new Meteor.Error "Col... |
[
{
"context": "place(/\\n/g, \"<br>\")\n\n\t\tmailer.sendMail\n\t\t\tfrom: \"ops@pdf.yt\"\n\t\t\tto: \"admin@cryto.net\"\n\t\t\tsubject: \"Automatic ",
"end": 886,
"score": 0.9999282956123352,
"start": 876,
"tag": "EMAIL",
"value": "ops@pdf.yt"
},
{
"context": "\n\n\t\tmailer.sendMail... | error-reporter.coffee | joepie91/pdfy2 | 11 | chokidar = require "chokidar"
nodemailer = require "nodemailer"
path = require "path"
fs = require "fs"
watcher = chokidar.watch "./errors", depth: 0, ignoreInitial: true
mailer = nodemailer.createTransport()
processFile = (filePath) ->
fs.readFile filePath, (err, data) ->
try
parsedData = JSON.parse(data)
ca... | 212154 | chokidar = require "chokidar"
nodemailer = require "nodemailer"
path = require "path"
fs = require "fs"
watcher = chokidar.watch "./errors", depth: 0, ignoreInitial: true
mailer = nodemailer.createTransport()
processFile = (filePath) ->
fs.readFile filePath, (err, data) ->
try
parsedData = JSON.parse(data)
ca... | true | chokidar = require "chokidar"
nodemailer = require "nodemailer"
path = require "path"
fs = require "fs"
watcher = chokidar.watch "./errors", depth: 0, ignoreInitial: true
mailer = nodemailer.createTransport()
processFile = (filePath) ->
fs.readFile filePath, (err, data) ->
try
parsedData = JSON.parse(data)
ca... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998874664306641,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/kanban/main.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 29871 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "ype\" : \"code\",\n \"href\" : \"https://github.com/versionone/V1ClarityPPM\",\n \"title\" : \"Source Code\"\n ",
"end": 1814,
"score": 0.9991382360458374,
"start": 1804,
"tag": "USERNAME",
"value": "versionone"
},
{
"context": "ocumentation\",\n \"hre... | src/server/app/testData.coffee | versionone/VersionOne.AppCatalog.Web | 2 | data =
fullyValidEntry: ->
entry = {
id : 'someIdHere',
titleSection: @titleSectionComplete(),
descriptionSection: @descriptionSectionComplete(),
linksSection: @linksSectionComplete(),
updatesSection: @updatesSectionComplete(),
mediaSection: @mediaSectionComplete()
}
re... | 80723 | data =
fullyValidEntry: ->
entry = {
id : 'someIdHere',
titleSection: @titleSectionComplete(),
descriptionSection: @descriptionSectionComplete(),
linksSection: @linksSectionComplete(),
updatesSection: @updatesSectionComplete(),
mediaSection: @mediaSectionComplete()
}
re... | true | data =
fullyValidEntry: ->
entry = {
id : 'someIdHere',
titleSection: @titleSectionComplete(),
descriptionSection: @descriptionSectionComplete(),
linksSection: @linksSectionComplete(),
updatesSection: @updatesSectionComplete(),
mediaSection: @mediaSectionComplete()
}
re... |
[
{
"context": "on' it must contain:\n#\n# {\n# \"user\": \"USERNAME\",\n# \"password\":\"PASSWORD\",\n# \"hos",
"end": 182,
"score": 0.9995090961456299,
"start": 174,
"tag": "USERNAME",
"value": "USERNAME"
},
{
"context": " \"user\": \"USERNAME\",\n#... | src/jira.coffee | tebriel/jira-cli | 48 | # #Jira Command Line Client#
#
# This client depends on you having a json file in your home directory
# named '.jiraclirc.json' it must contain:
#
# {
# "user": "USERNAME",
# "password":"PASSWORD",
# "host":"www.jira.com",
# "port":80,
# "project": 10100
# }
#
# If not pr... | 37605 | # #Jira Command Line Client#
#
# This client depends on you having a json file in your home directory
# named '.jiraclirc.json' it must contain:
#
# {
# "user": "USERNAME",
# "password":"<PASSWORD>",
# "host":"www.jira.com",
# "port":80,
# "project": 10100
# }
#
# If not ... | true | # #Jira Command Line Client#
#
# This client depends on you having a json file in your home directory
# named '.jiraclirc.json' it must contain:
#
# {
# "user": "USERNAME",
# "password":"PI:PASSWORD:<PASSWORD>END_PI",
# "host":"www.jira.com",
# "port":80,
# "project": 10100
#... |
[
{
"context": "els.User extends Brainstem.Model\n brainstemKey: \"users\"\n paramRoot: 'user'\n urlRoot: \"/api/users\"\n\ncla",
"end": 68,
"score": 0.7059851884841919,
"start": 63,
"tag": "KEY",
"value": "users"
}
] | spec/helpers/models/user.coffee | CodingZeal/brainstem-js | 0 | class App.Models.User extends Brainstem.Model
brainstemKey: "users"
paramRoot: 'user'
urlRoot: "/api/users"
class App.Collections.Users extends Brainstem.Collection
model: App.Models.User
url: "/api/users"
| 74982 | class App.Models.User extends Brainstem.Model
brainstemKey: "<KEY>"
paramRoot: 'user'
urlRoot: "/api/users"
class App.Collections.Users extends Brainstem.Collection
model: App.Models.User
url: "/api/users"
| true | class App.Models.User extends Brainstem.Model
brainstemKey: "PI:KEY:<KEY>END_PI"
paramRoot: 'user'
urlRoot: "/api/users"
class App.Collections.Users extends Brainstem.Collection
model: App.Models.User
url: "/api/users"
|
[
{
"context": "# jQuery message box plugin\n# @author Travis Haynes <travis.j.haynes@gmail.com>\n# @homepage https://g",
"end": 51,
"score": 0.9998888969421387,
"start": 38,
"tag": "NAME",
"value": "Travis Haynes"
},
{
"context": "Query message box plugin\n# @author Travis Haynes <tra... | spec/public/coffeescripts/jquery.msgbox.coffee | travishaynes/jquery-msgbox | 0 | # jQuery message box plugin
# @author Travis Haynes <travis.j.haynes@gmail.com>
# @homepage https://github.com/travishaynes/jquery.msgbox
$.msgbox = (title, contents, options) ->
# if contents and options are left undefined, title becomes the jQuery.dialog
# options
if contents == undefined && options == undefin... | 203831 | # jQuery message box plugin
# @author <NAME> <<EMAIL>>
# @homepage https://github.com/travishaynes/jquery.msgbox
$.msgbox = (title, contents, options) ->
# if contents and options are left undefined, title becomes the jQuery.dialog
# options
if contents == undefined && options == undefined
return $("#msgbox"... | true | # jQuery message box plugin
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @homepage https://github.com/travishaynes/jquery.msgbox
$.msgbox = (title, contents, options) ->
# if contents and options are left undefined, title becomes the jQuery.dialog
# options
if contents == undefined && options == und... |
[
{
"context": "==========\n\nkm2 = keymanager = null\npassphrase = \"now is the time for all good men\"\nkeyring = null\np3skb = null\n\n#==================",
"end": 276,
"score": 0.9993175268173218,
"start": 244,
"tag": "PASSWORD",
"value": "now is the time for all good men"
},
{
"co... | test/files/4_gen.iced | AngelKey/Angelkey.nodeclient | 151 |
{TmpKeyRing} = require '../../lib/keyring'
{KeyManager} = require '../../lib/keymanager'
path = require 'path'
{config} = require '../lib/config'
#=======================================================
km2 = keymanager = null
passphrase = "now is the time for all good men"
keyring = null
p3skb = null
#============... | 7324 |
{TmpKeyRing} = require '../../lib/keyring'
{KeyManager} = require '../../lib/keymanager'
path = require 'path'
{config} = require '../lib/config'
#=======================================================
km2 = keymanager = null
passphrase = "<PASSWORD>"
keyring = null
p3skb = null
#==================================... | true |
{TmpKeyRing} = require '../../lib/keyring'
{KeyManager} = require '../../lib/keymanager'
path = require 'path'
{config} = require '../lib/config'
#=======================================================
km2 = keymanager = null
passphrase = "PI:PASSWORD:<PASSWORD>END_PI"
keyring = null
p3skb = null
#================... |
[
{
"context": "should extract the name', ->\n expectedValue = 'John Smith'\n sut = new ContactParser\n result = sut.par",
"end": 1239,
"score": 0.999732255935669,
"start": 1229,
"tag": "NAME",
"value": "John Smith"
},
{
"context": " sut = new ContactParser\n result = sut.... | spec/contact-parser-spec.coffee | thrustlabs/contact-parser | 10 | describe 'Contact Parser', ->
ContactParser = require(__dirname + '/../src/contact-parser.js')
it 'should handle a null, undefined or empty input by returning empty strings and a score of 0', ->
sut = new ContactParser
result = sut.parse(null)
expect(result.score()).toEqual(0)
expect(result.name).... | 51158 | describe 'Contact Parser', ->
ContactParser = require(__dirname + '/../src/contact-parser.js')
it 'should handle a null, undefined or empty input by returning empty strings and a score of 0', ->
sut = new ContactParser
result = sut.parse(null)
expect(result.score()).toEqual(0)
expect(result.name).... | true | describe 'Contact Parser', ->
ContactParser = require(__dirname + '/../src/contact-parser.js')
it 'should handle a null, undefined or empty input by returning empty strings and a score of 0', ->
sut = new ContactParser
result = sut.parse(null)
expect(result.score()).toEqual(0)
expect(result.name).... |
[
{
"context": " line breaks inside function parentheses\n# @author Teddy Katz\n###\n'use strict'\n\n#------------------------------",
"end": 100,
"score": 0.9998084306716919,
"start": 90,
"tag": "NAME",
"value": "Teddy Katz"
}
] | src/rules/function-paren-newline.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview enforce consistent line breaks inside function parentheses
# @author Teddy Katz
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../es... | 143951 | ###*
# @fileoverview enforce consistent line breaks inside function parentheses
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = require '../eslint... | true | ###*
# @fileoverview enforce consistent line breaks inside function parentheses
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = requ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999147653579712,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/beatmapset-page-hash.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @BeatmapsetPageHash
@parse: (hash) ->
[mode, id] = hash[1..].split '/'
playmode: if mode != '' then mode
beatmapId: if id? t... | 153530 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @BeatmapsetPageHash
@parse: (hash) ->
[mode, id] = hash[1..].split '/'
playmode: if mode != '' then mode
beatmapId: if id? then par... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @BeatmapsetPageHash
@parse: (hash) ->
[mode, id] = hash[1..].split '/'
playmode: if mode != '' then mode
beatmapId: ... |
[
{
"context": "IM'\n # Cookie 加密密钥,请在部署时重新生成\n AUTH_COOKIE_KEY: 'qqqsssssssssssssssss'\n # Cookie 加密密钥,请在部署时重新生成\n AUTH_COOKIE_MAX_AGE:",
"end": 137,
"score": 0.9984978437423706,
"start": 117,
"tag": "KEY",
"value": "qqqsssssssssssssssss"
},
{
"context": "->'\n # N3D 密钥,用来加密所有的 I... | src/conf.coffee | lly5401/dhcseltalkserver | 1 | module.exports =
# 认证 Cookie 名称,根据业务自行修改
AUTH_COOKIE_NAME: 'webIM'
# Cookie 加密密钥,请在部署时重新生成
AUTH_COOKIE_KEY: 'qqqsssssssssssssssss'
# Cookie 加密密钥,请在部署时重新生成
AUTH_COOKIE_MAX_AGE: '70000000'
# 融云颁发的 App Key,请访问融云开发者后台:https://developer.rongcloud.cn
RONGCLOUD_APP_KEY: '6tnym1br65nv7'
# 融云颁发的 App Secret,请访问... | 8097 | module.exports =
# 认证 Cookie 名称,根据业务自行修改
AUTH_COOKIE_NAME: 'webIM'
# Cookie 加密密钥,请在部署时重新生成
AUTH_COOKIE_KEY: '<KEY>'
# Cookie 加密密钥,请在部署时重新生成
AUTH_COOKIE_MAX_AGE: '70000000'
# 融云颁发的 App Key,请访问融云开发者后台:https://developer.rongcloud.cn
RONGCLOUD_APP_KEY: '6tnym1br65nv7'
# 融云颁发的 App Secret,请访问融云开发者后台:https:/... | true | module.exports =
# 认证 Cookie 名称,根据业务自行修改
AUTH_COOKIE_NAME: 'webIM'
# Cookie 加密密钥,请在部署时重新生成
AUTH_COOKIE_KEY: 'PI:KEY:<KEY>END_PI'
# Cookie 加密密钥,请在部署时重新生成
AUTH_COOKIE_MAX_AGE: '70000000'
# 融云颁发的 App Key,请访问融云开发者后台:https://developer.rongcloud.cn
RONGCLOUD_APP_KEY: '6tnym1br65nv7'
# 融云颁发的 App Secret,请访问融云... |
[
{
"context": "wner, @githubRepo,\n @authorName = 'GithubDev', @authorEmail = 'example@example.net',\n ",
"end": 288,
"score": 0.9995995163917542,
"start": 279,
"tag": "USERNAME",
"value": "GithubDev"
},
{
"context": " @authorName = 'GithubDev', @authorEma... | src/main.coffee | olivierlemasle/github-dev | 1 | git = require 'nodegit'
pomParser = require 'pom-parser'
githubApi = require 'github'
class GithubDev
constructor: (@gitUrl, @baseBranch, @fetchOptions, @pushOptions, @localPath,
@githubAuth, @githubRepoOwner, @githubRepo,
@authorName = 'GithubDev', @authorEmail = 'example@examp... | 104277 | git = require 'nodegit'
pomParser = require 'pom-parser'
githubApi = require 'github'
class GithubDev
constructor: (@gitUrl, @baseBranch, @fetchOptions, @pushOptions, @localPath,
@githubAuth, @githubRepoOwner, @githubRepo,
@authorName = 'GithubDev', @authorEmail = '<EMAIL>',
... | true | git = require 'nodegit'
pomParser = require 'pom-parser'
githubApi = require 'github'
class GithubDev
constructor: (@gitUrl, @baseBranch, @fetchOptions, @pushOptions, @localPath,
@githubAuth, @githubRepoOwner, @githubRepo,
@authorName = 'GithubDev', @authorEmail = 'PI:EMAIL:<EMA... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998874068260193,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/DependencyInjection/ServiceArgument.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
CONFIG = use('/app/config/config')
# ServiceArgument
#
# @author Jessym Reziga <jessym... | 136871 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
CONFIG = use('/app/config/config')
# ServiceArgument
#
# @author <NAME> <<EMAIL>>
class ServiceArgument
... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
CONFIG = use('/app/config/config')
# ServiceArgument
#
# @author PI:NAME:<NAM... |
[
{
"context": "nit\n principal: 'admin'\n password: 'adm1n_p4ssw0rd'\n realm: 'KRB.LOCAL'\n , (err, ccname)",
"end": 244,
"score": 0.9994093179702759,
"start": 230,
"tag": "PASSWORD",
"value": "adm1n_p4ssw0rd"
},
{
"context": "nit\n principal: 'admin'\... | test/kinit.coffee | pdkovacs/forked-node-krb5 | 28 | krb5 = require '../lib/'
describe 'kinit', ->
describe 'function with callback', ->
it 'returns default credential cache path (password provided)', (done) ->
krb5.kinit
principal: 'admin'
password: 'adm1n_p4ssw0rd'
realm: 'KRB.LOCAL'
, (err, ccname) ->
(err is undefi... | 119201 | krb5 = require '../lib/'
describe 'kinit', ->
describe 'function with callback', ->
it 'returns default credential cache path (password provided)', (done) ->
krb5.kinit
principal: 'admin'
password: '<PASSWORD>'
realm: 'KRB.LOCAL'
, (err, ccname) ->
(err is undefined)... | true | krb5 = require '../lib/'
describe 'kinit', ->
describe 'function with callback', ->
it 'returns default credential cache path (password provided)', (done) ->
krb5.kinit
principal: 'admin'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
realm: 'KRB.LOCAL'
, (err, ccname) ->
... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http",
"end": 63,
"score": 0.5141833424568176,
"start": 62,
"tag": "NAME",
"value": "H"
}
] | src/dou.coffee | heartyoh/dou | 1 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./advice'
'./lifecycle'
'./property'
'./serialize'
'./event'
'./utils'
'./co... | 110050 | # ==========================================
# Copyright 2014 <NAME>atio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./advice'
'./lifecycle'
'./property'
'./serialize'
'./event'
'./utils'
... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PIatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./advice'
'./lifecycle'
'./property'
'./serialize'
'./event'
... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999202489852905,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/controllers/run_experiment_ctrl.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 173072 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "t(2)\n\n config = getConfig()\n config.password = 'bad-password'\n\n connection = new Connection(config)\n\n connec",
"end": 1328,
"score": 0.9993850588798523,
"start": 1316,
"tag": "PASSWORD",
"value": "bad-password"
}
] | test/integration/connection-test.coffee | chrisinajar/tedious | 1 | Connection = require('../../lib/connection')
Request = require('../../lib/request')
fs = require('fs')
getConfig = ->
config = JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json', 'utf8')).config
instanceName = JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json... | 120765 | Connection = require('../../lib/connection')
Request = require('../../lib/request')
fs = require('fs')
getConfig = ->
config = JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json', 'utf8')).config
instanceName = JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json... | true | Connection = require('../../lib/connection')
Request = require('../../lib/request')
fs = require('fs')
getConfig = ->
config = JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json', 'utf8')).config
instanceName = JSON.parse(fs.readFileSync(process.env.HOME + '/.tedious/test-connection.json... |
[
{
"context": " doc =\n email: user1\n password: '12345678'\n profile:\n first_name: faker.nam",
"end": 1923,
"score": 0.9993353486061096,
"start": 1915,
"tag": "PASSWORD",
"value": "12345678"
},
{
"context": "doc =\n email: user2\n p... | app_tests/client/providers.app-tests.coffee | Phaze1D/SA-Units | 0 | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
ProviderModule = require '../../imports/api/collections/pr... | 179131 | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
ProviderModule = require '../../imports/api/collections/pr... | true | faker = require 'faker'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ _ } = require 'meteor/underscore'
ProviderModule = require '../../imports/api/collections/pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.