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": "st = []\n b_0 = start_pos\n node = @proxy2\n node.value_array.clear()\n \n ",
"end": 13532,
"score": 0.9191334843635559,
"start": 13525,
"tag": "USERNAME",
"value": "@proxy2"
},
{
"context": "st = []\n b_0 = start_pos\n ... | src/token_connector_gen_for_coverage.coffee | hu2prod/gram3 | 0 | # WARNING!!! AUTOGENERATED with gen_tc.coffee
module = @
{
Tokenizer
Token_parser
} = require './tokenizer'
# ###################################################################################################
# tokenizer
# #########################################################################################... | 180979 | # WARNING!!! AUTOGENERATED with gen_tc.coffee
module = @
{
Tokenizer
Token_parser
} = require './tokenizer'
# ###################################################################################################
# tokenizer
# #########################################################################################... | true | # WARNING!!! AUTOGENERATED with gen_tc.coffee
module = @
{
Tokenizer
Token_parser
} = require './tokenizer'
# ###################################################################################################
# tokenizer
# #########################################################################################... |
[
{
"context": "# This is modied from https://github.com/mko/emailreplyparser, which is a\n# JS port of GitHub'",
"end": 44,
"score": 0.9996121525764465,
"start": 41,
"tag": "USERNAME",
"value": "mko"
},
{
"context": "'\n expect(reply.fragments[1].to_s()).toEqual '-Abhishek Kona'\n\... | packages/client-app/spec/services/quoted-plain-text-transformer-spec.coffee | cnheider/nylas-mail | 24,369 | # This is modied from https://github.com/mko/emailreplyparser, which is a
# JS port of GitHub's Ruby https://github.com/github/email_reply_parser
fs = require('fs')
path = require 'path'
_ = require('underscore')
QuotedPlainTextParser = require('../../src/services/quoted-plain-text-transformer')
getParsedEmail = (nam... | 176196 | # This is modied from https://github.com/mko/emailreplyparser, which is a
# JS port of GitHub's Ruby https://github.com/github/email_reply_parser
fs = require('fs')
path = require 'path'
_ = require('underscore')
QuotedPlainTextParser = require('../../src/services/quoted-plain-text-transformer')
getParsedEmail = (nam... | true | # This is modied from https://github.com/mko/emailreplyparser, which is a
# JS port of GitHub's Ruby https://github.com/github/email_reply_parser
fs = require('fs')
path = require 'path'
_ = require('underscore')
QuotedPlainTextParser = require('../../src/services/quoted-plain-text-transformer')
getParsedEmail = (nam... |
[
{
"context": "esponse'\n\n mocks.authenticator.token = -> '4444-token'\n\n mocks.response = {\n \"kind\": \"s",
"end": 660,
"score": 0.8345129489898682,
"start": 650,
"tag": "PASSWORD",
"value": "4444-token"
},
{
"context": " {\"name\": \"1\", \"metadata\... | spec/json_gcs_spec.coffee | clalimarmo/json-gcs | 0 | define (require) ->
JsonGCS = require('json-gcs')
describe 'JsonGCS.Storage', ->
mocks = {}
instance = null
beforeEach ->
mocks.http = {}
mocks.authenticator = {
token: -> 'stub'
}
mocks.http = {}
instance = JsonGCS.Storage(
http: mocks.http
authe... | 225439 | define (require) ->
JsonGCS = require('json-gcs')
describe 'JsonGCS.Storage', ->
mocks = {}
instance = null
beforeEach ->
mocks.http = {}
mocks.authenticator = {
token: -> 'stub'
}
mocks.http = {}
instance = JsonGCS.Storage(
http: mocks.http
authe... | true | define (require) ->
JsonGCS = require('json-gcs')
describe 'JsonGCS.Storage', ->
mocks = {}
instance = null
beforeEach ->
mocks.http = {}
mocks.authenticator = {
token: -> 'stub'
}
mocks.http = {}
instance = JsonGCS.Storage(
http: mocks.http
authe... |
[
{
"context": "nd.callThrough()\n\n roomId = 1\n email = 'test@example.com'\n config =\n pathParams:\n id:",
"end": 1430,
"score": 0.9998881220817566,
"start": 1414,
"tag": "EMAIL",
"value": "test@example.com"
}
] | talk-web/test/spec/actions/room.spec.coffee | ikingye/talk-os | 3,084 | xdescribe 'Actions: room', ->
beforeEach ->
@action = require 'actions/room'
@api = require 'network/api'
describe 'Method: fetch', ->
it 'should call api', ->
userStore = require 'store/user'
spyOn(userStore, 'get').and.returnValue {}
spyOn(@api.rooms.readone, 'get').and.callThrough... | 190168 | xdescribe 'Actions: room', ->
beforeEach ->
@action = require 'actions/room'
@api = require 'network/api'
describe 'Method: fetch', ->
it 'should call api', ->
userStore = require 'store/user'
spyOn(userStore, 'get').and.returnValue {}
spyOn(@api.rooms.readone, 'get').and.callThrough... | true | xdescribe 'Actions: room', ->
beforeEach ->
@action = require 'actions/room'
@api = require 'network/api'
describe 'Method: fetch', ->
it 'should call api', ->
userStore = require 'store/user'
spyOn(userStore, 'get').and.returnValue {}
spyOn(@api.rooms.readone, 'get').and.callThrough... |
[
{
"context": "iando Token...'\n\t\t@sendMessage = false\n\t\ttoken = '1234'\n\t\t@socket.send token, @config.nextMachinePort, @",
"end": 1652,
"score": 0.9884161949157715,
"start": 1648,
"tag": "PASSWORD",
"value": "1234"
}
] | src/Network.coffee | thiagorochapucrs/redes | 0 | dgram = require 'dgram'
timer = require 'timers'
Message = require './Message'
class Network
constructor: ->
@socket = dgram.createSocket 'udp4'
@sendMessage = false
setConfig: (@config) ->
console.log 'Configuração....'
console.log 'Nome: ', @config.myName
console.log 'Máquina a direta: ', @config.next... | 74714 | dgram = require 'dgram'
timer = require 'timers'
Message = require './Message'
class Network
constructor: ->
@socket = dgram.createSocket 'udp4'
@sendMessage = false
setConfig: (@config) ->
console.log 'Configuração....'
console.log 'Nome: ', @config.myName
console.log 'Máquina a direta: ', @config.next... | true | dgram = require 'dgram'
timer = require 'timers'
Message = require './Message'
class Network
constructor: ->
@socket = dgram.createSocket 'udp4'
@sendMessage = false
setConfig: (@config) ->
console.log 'Configuração....'
console.log 'Nome: ', @config.myName
console.log 'Máquina a direta: ', @config.next... |
[
{
"context": "praat-md'\n 'praam'\n 'prtmd'\n 'prt.md'\n]\nname: 'Praat (Markdown)'\n\nundefined: 'foldingStartMarker'\n'^\\\\",
"end": 131,
"score": 0.7558736205101013,
"start": 126,
"tag": "NAME",
"value": "Praat"
}
] | grammars/praat (markdown).cson | synconlanger/language-praat | 4 | scopeName: 'source.praat.markdown'
fileTypes: [
'praatmd'
'praat.md'
'praat-md'
'praam'
'prtmd'
'prt.md'
]
name: 'Praat (Markdown)'
undefined: 'foldingStartMarker'
'^\\s*(editor|for|if|form|procedure|proc|repeat|while)(?=\\s)': 'foldingStopMarker'
patterns: [
{
'begin': '^\\s*([`~]{3,})\\s*(?i:(praat... | 70870 | scopeName: 'source.praat.markdown'
fileTypes: [
'praatmd'
'praat.md'
'praat-md'
'praam'
'prtmd'
'prt.md'
]
name: '<NAME> (Markdown)'
undefined: 'foldingStartMarker'
'^\\s*(editor|for|if|form|procedure|proc|repeat|while)(?=\\s)': 'foldingStopMarker'
patterns: [
{
'begin': '^\\s*([`~]{3,})\\s*(?i:(praa... | true | scopeName: 'source.praat.markdown'
fileTypes: [
'praatmd'
'praat.md'
'praat-md'
'praam'
'prtmd'
'prt.md'
]
name: 'PI:NAME:<NAME>END_PI (Markdown)'
undefined: 'foldingStartMarker'
'^\\s*(editor|for|if|form|procedure|proc|repeat|while)(?=\\s)': 'foldingStopMarker'
patterns: [
{
'begin': '^\\s*([`~]{3,}... |
[
{
"context": "ch ->\n Team.save([\n {_id: '1', name: 'foo1', local: false}\n {_id: '2', name: 'foo2', ",
"end": 205,
"score": 0.7156978845596313,
"start": 201,
"tag": "NAME",
"value": "foo1"
},
{
"context": ": 'foo1', local: false}\n {_id: '2', name: 'foo2',... | application/api/test/commands/sync/sync-teams-test.coffee | CHU-BURA/clone-app-kobito-oss | 215 | # require '../../../src/commands/sync/sync-teams'
describe "src/commands/sync/sync-teams", ->
stubDatabases()
context '#dropTeam', ->
beforeEach ->
Team.save([
{_id: '1', name: 'foo1', local: false}
{_id: '2', name: 'foo2', local: false}
])
.then ->
Item.save [
... | 71051 | # require '../../../src/commands/sync/sync-teams'
describe "src/commands/sync/sync-teams", ->
stubDatabases()
context '#dropTeam', ->
beforeEach ->
Team.save([
{_id: '1', name: '<NAME>', local: false}
{_id: '2', name: '<NAME>', local: false}
])
.then ->
Item.save [
... | true | # require '../../../src/commands/sync/sync-teams'
describe "src/commands/sync/sync-teams", ->
stubDatabases()
context '#dropTeam', ->
beforeEach ->
Team.save([
{_id: '1', name: 'PI:NAME:<NAME>END_PI', local: false}
{_id: '2', name: 'PI:NAME:<NAME>END_PI', local: false}
])
.the... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9989349842071533,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-chmod.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... | 24280 | # 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": "imple element\"\n person:\n name: \"John\"\n '@age': 35\n '?pi': 'mypi'",
"end": 145,
"score": 0.9998406171798706,
"start": 141,
"tag": "NAME",
"value": "John"
},
{
"context": "()\n .ele('person')\n .ele('name', 'J... | test/basic/objectconsistency.coffee | MarkCSmith/xmlbuilder-js | 784 | suite 'Creating XML:', ->
test 'Object builder consistency', ->
obj =
ele: "simple element"
person:
name: "John"
'@age': 35
'?pi': 'mypi'
'#comment': 'Good guy'
'#cdata': 'well formed!'
unescaped:
'#raw': '&<>&'
... | 86819 | suite 'Creating XML:', ->
test 'Object builder consistency', ->
obj =
ele: "simple element"
person:
name: "<NAME>"
'@age': 35
'?pi': 'mypi'
'#comment': 'Good guy'
'#cdata': 'well formed!'
unescaped:
'#raw': '&<>&... | true | suite 'Creating XML:', ->
test 'Object builder consistency', ->
obj =
ele: "simple element"
person:
name: "PI:NAME:<NAME>END_PI"
'@age': 35
'?pi': 'mypi'
'#comment': 'Good guy'
'#cdata': 'well formed!'
unescaped:
... |
[
{
"context": "cess.env.WORKFLOWY_USERNAME) and (form.password is process.env.WORKFLOWY_PASSWORD)\n cb null, respon",
"end": 3579,
"score": 0.9542727470397949,
"start": 3572,
"tag": "PASSWORD",
"value": "process"
}
] | lib/proxy.coffee | mvgrimes/workflowy | 1 | Workflowy = require '../'
_ = require 'lodash'
utils = require './utils'
###
# request proxy that emulates a workflowy server by intercepting requests
###
module.exports = (workflowy) ->
meta = {}
dateJoinedTimestampInSeconds = 1405704621
clientId = Date.now()
mostRecentTransaction = "793489242"
ownerId = 8... | 35456 | Workflowy = require '../'
_ = require 'lodash'
utils = require './utils'
###
# request proxy that emulates a workflowy server by intercepting requests
###
module.exports = (workflowy) ->
meta = {}
dateJoinedTimestampInSeconds = 1405704621
clientId = Date.now()
mostRecentTransaction = "793489242"
ownerId = 8... | true | Workflowy = require '../'
_ = require 'lodash'
utils = require './utils'
###
# request proxy that emulates a workflowy server by intercepting requests
###
module.exports = (workflowy) ->
meta = {}
dateJoinedTimestampInSeconds = 1405704621
clientId = Date.now()
mostRecentTransaction = "793489242"
ownerId = 8... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission ",
"end": 18,
"score": 0.8860386610031128,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-umask.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... | 39663 | # 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": "ed\n# HUBOT_OCTOPUS_KEY: required\n#\n# Author:\n# JD Courtoy\n\n\n_ = require('lodash')\nq = require('q')\nutil = r",
"end": 492,
"score": 0.9997508525848389,
"start": 482,
"tag": "NAME",
"value": "JD Courtoy"
}
] | scripts/octobot.coffee | nc2/bb-bot | 0 | # Description:
# Hubot interface to octopus deploy
#
# Commands:
# hubot promote <project> from <env1> to <env2> - Hubot promotes <project> on <env1> to <env2>
# hubot deploy <project> version <version> to <env> - Hubot deploys the specified version of <project> to <env>
# hubot deploy status - Hubot prints a d... | 10295 | # Description:
# Hubot interface to octopus deploy
#
# Commands:
# hubot promote <project> from <env1> to <env2> - Hubot promotes <project> on <env1> to <env2>
# hubot deploy <project> version <version> to <env> - Hubot deploys the specified version of <project> to <env>
# hubot deploy status - Hubot prints a d... | true | # Description:
# Hubot interface to octopus deploy
#
# Commands:
# hubot promote <project> from <env1> to <env2> - Hubot promotes <project> on <env1> to <env2>
# hubot deploy <project> version <version> to <env> - Hubot deploys the specified version of <project> to <env>
# hubot deploy status - Hubot prints a d... |
[
{
"context": ".hasClass('clause-input')\n\n\n @generateKey: ->\n '_' + new Date().getTime()\n\n\n initTree: ->\n json = @statusField.val() ||",
"end": 312,
"score": 0.9830969572067261,
"start": 286,
"tag": "KEY",
"value": "'_' + new Date().getTime()"
}
] | app/assets/javascripts/query_builder/query_tree.coffee | BI/enterprise-search-os | 0 | window.QueryTree = class QueryTree
constructor: ->
@statusField = $('#advanced_search_status')
@container = $('#advanced-search-tree')
@initTree()
Menu.initMenus()
@activeInput: ->
$(document.activeElement).hasClass('clause-input')
@generateKey: ->
'_' + new Date().getTime()
ini... | 60784 | window.QueryTree = class QueryTree
constructor: ->
@statusField = $('#advanced_search_status')
@container = $('#advanced-search-tree')
@initTree()
Menu.initMenus()
@activeInput: ->
$(document.activeElement).hasClass('clause-input')
@generateKey: ->
<KEY>
initTree: ->
json = ... | true | window.QueryTree = class QueryTree
constructor: ->
@statusField = $('#advanced_search_status')
@container = $('#advanced-search-tree')
@initTree()
Menu.initMenus()
@activeInput: ->
$(document.activeElement).hasClass('clause-input')
@generateKey: ->
PI:KEY:<KEY>END_PI
initTree: -... |
[
{
"context": "fig.nick, \n channels: config.channels\n password: config.password\n userName: config.username\n realName: config.re",
"end": 435,
"score": 0.9990126490592957,
"start": 420,
"tag": "PASSWORD",
"value": "config.password"
},
{
"context": "-plugins\", (channel, who, ar... | src/plum.coffee | epochwolf/pious-plum | 0 | # Setup event trap
process.stdin.resume()
process.on 'SIGINT', -> bot.disconnect("Ctrl+C from console.", process.exit)
console.log "Stating bot"
util = require 'util'
irc = require "irc"
config = require '../config'
package_info = require '../package'
UrlDetector = require './url_detector'
PluginManager = require './... | 36375 | # Setup event trap
process.stdin.resume()
process.on 'SIGINT', -> bot.disconnect("Ctrl+C from console.", process.exit)
console.log "Stating bot"
util = require 'util'
irc = require "irc"
config = require '../config'
package_info = require '../package'
UrlDetector = require './url_detector'
PluginManager = require './... | true | # Setup event trap
process.stdin.resume()
process.on 'SIGINT', -> bot.disconnect("Ctrl+C from console.", process.exit)
console.log "Stating bot"
util = require 'util'
irc = require "irc"
config = require '../config'
package_info = require '../package'
UrlDetector = require './url_detector'
PluginManager = require './... |
[
{
"context": "p://reqr.es/api/users/12'\n data : name: 'fatih'\n dataType : 'json' # optional if the JSON r",
"end": 1230,
"score": 0.999634861946106,
"start": 1225,
"tag": "NAME",
"value": "fatih"
}
] | src/lib/ajax/ajax.coffee | dashersw/spark | 1 | goog.provide 'spark.ajax'
goog.require 'goog.net.XhrIo'
goog.require 'goog.Uri'
###*
Ajax request manager of Spark Framework. API is almost the same with jQuery's
`$.ajax`. This means in most cases, changing `$.ajax` to `spark.ajax.request`
would work.
Your `options` object may contain `type`, `url`, `data`... | 117070 | goog.provide 'spark.ajax'
goog.require 'goog.net.XhrIo'
goog.require 'goog.Uri'
###*
Ajax request manager of Spark Framework. API is almost the same with jQuery's
`$.ajax`. This means in most cases, changing `$.ajax` to `spark.ajax.request`
would work.
Your `options` object may contain `type`, `url`, `data`... | true | goog.provide 'spark.ajax'
goog.require 'goog.net.XhrIo'
goog.require 'goog.Uri'
###*
Ajax request manager of Spark Framework. API is almost the same with jQuery's
`$.ajax`. This means in most cases, changing `$.ajax` to `spark.ajax.request`
would work.
Your `options` object may contain `type`, `url`, `data`... |
[
{
"context": "\n# @fileoverview Tests for dot-location.\n# @author Greg Cochard\n###\n\n'use strict'\n\n#-----------------------------",
"end": 67,
"score": 0.9998646378517151,
"start": 55,
"tag": "NAME",
"value": "Greg Cochard"
}
] | src/tests/rules/dot-location.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for dot-location.
# @author Greg Cochard
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/dot-location'
{RuleTester} = ... | 47997 | ###*
# @fileoverview Tests for dot-location.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/dot-location'
{RuleTester} = requir... | true | ###*
# @fileoverview Tests for dot-location.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/dot-location'
{RuleTe... |
[
{
"context": ", \"alert\")\n stripeToken = {\n id: \"tokenid\"\n }\n\n scope.showStripeForm()\n\n ",
"end": 813,
"score": 0.9017353057861328,
"start": 806,
"tag": "KEY",
"value": "tokenid"
}
] | spec/javascripts/controllers/account_controller_spec.coffee | griffero/hound | 1 | #= require spec_helper
describe "accountController", ->
[scope, http, window, stripeCheckout] = []
beforeEach(inject ($rootScope, $httpBackend, $controller, CreditCard) ->
scope = $rootScope.$new()
http = $httpBackend
window = {
alert: ->
}
stripeCheckout = {
open: ->
}
$co... | 57739 | #= require spec_helper
describe "accountController", ->
[scope, http, window, stripeCheckout] = []
beforeEach(inject ($rootScope, $httpBackend, $controller, CreditCard) ->
scope = $rootScope.$new()
http = $httpBackend
window = {
alert: ->
}
stripeCheckout = {
open: ->
}
$co... | true | #= require spec_helper
describe "accountController", ->
[scope, http, window, stripeCheckout] = []
beforeEach(inject ($rootScope, $httpBackend, $controller, CreditCard) ->
scope = $rootScope.$new()
http = $httpBackend
window = {
alert: ->
}
stripeCheckout = {
open: ->
}
$co... |
[
{
"context": "###\nGulp task ng-min\n@create 2014-12-15\n@author KoutarouYabe <idolm@ster.pw>\n###\n\nmodule.exports = (gulp, plug",
"end": 60,
"score": 0.9998891353607178,
"start": 48,
"tag": "NAME",
"value": "KoutarouYabe"
},
{
"context": "k ng-min\n@create 2014-12-15\n@author Kout... | tasks/config/ngmin.coffee | moorvin/Sea-Fight | 1 | ###
Gulp task ng-min
@create 2014-12-15
@author KoutarouYabe <idolm@ster.pw>
###
module.exports = (gulp, plugins)->
gulp.task "ngmin", ->
gulp.src "www/js/**/*"
.pipe plugins.ngmin()
.pipe gulp.dest "www/js/front.min.js"
| 209561 | ###
Gulp task ng-min
@create 2014-12-15
@author <NAME> <<EMAIL>>
###
module.exports = (gulp, plugins)->
gulp.task "ngmin", ->
gulp.src "www/js/**/*"
.pipe plugins.ngmin()
.pipe gulp.dest "www/js/front.min.js"
| true | ###
Gulp task ng-min
@create 2014-12-15
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
module.exports = (gulp, plugins)->
gulp.task "ngmin", ->
gulp.src "www/js/**/*"
.pipe plugins.ngmin()
.pipe gulp.dest "www/js/front.min.js"
|
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999100565910339,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/user-page-editor.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { BBCodeEditor } from 'bbcode-editor'
import * as React from 'react'
el = React.createElement
export class UserPageEditor extends React.P... | 158146 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { BBCodeEditor } from 'bbcode-editor'
import * as React from 'react'
el = React.createElement
export class UserPageEditor extends React.PureComp... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { BBCodeEditor } from 'bbcode-editor'
import * as React from 'react'
el = React.createElement
export class UserPageEditor extends... |
[
{
"context": " ->\n beforeEach ->\n formPage.setName \"New product\"\n formPage.setPrice \"9.99\"\n formPag",
"end": 4953,
"score": 0.9417944550514221,
"start": 4942,
"tag": "NAME",
"value": "New product"
},
{
"context": " ->\n beforeEach ->\n fo... | client/test/integration/products_scenario.coffee | lucassus/angular-coffee-seed | 2 | expect = require("./helpers/expect")
utils = require("./helpers/utils")
AlertView = require("./helpers/page_objects/alert_view")
IndexPage = require("./helpers/page_objects/products/index_page")
FormPage = require("./helpers/page_objects/products/form_page")
ShowPage = require("./helpers/page_objects/products/show_pag... | 96874 | expect = require("./helpers/expect")
utils = require("./helpers/utils")
AlertView = require("./helpers/page_objects/alert_view")
IndexPage = require("./helpers/page_objects/products/index_page")
FormPage = require("./helpers/page_objects/products/form_page")
ShowPage = require("./helpers/page_objects/products/show_pag... | true | expect = require("./helpers/expect")
utils = require("./helpers/utils")
AlertView = require("./helpers/page_objects/alert_view")
IndexPage = require("./helpers/page_objects/products/index_page")
FormPage = require("./helpers/page_objects/products/form_page")
ShowPage = require("./helpers/page_objects/products/show_pag... |
[
{
"context": " constructor: (@game) ->\n super(@game, true, 'SOPHMORE SLUMPER', 4, 3, 'SOPHMORE')\n\n # set basic statis\n #",
"end": 243,
"score": 0.714325487613678,
"start": 228,
"tag": "NAME",
"value": "OPHMORE SLUMPER"
}
] | src/js/debaters/sophmore-slumper.coffee | Huntrr/Battle-Resolution | 0 | $ = require 'lib/jquery.js'
Debater = require './../debater.coffee'
# Basic debater class. Controls an actor in the game
module.exports = class SophmoreSlumper extends Debater
constructor: (@game) ->
super(@game, true, 'SOPHMORE SLUMPER', 4, 3, 'SOPHMORE')
# set basic statis
# ALREADY SET (constructed)
... | 77800 | $ = require 'lib/jquery.js'
Debater = require './../debater.coffee'
# Basic debater class. Controls an actor in the game
module.exports = class SophmoreSlumper extends Debater
constructor: (@game) ->
super(@game, true, 'S<NAME>', 4, 3, 'SOPHMORE')
# set basic statis
# ALREADY SET (constructed)
# @ca... | true | $ = require 'lib/jquery.js'
Debater = require './../debater.coffee'
# Basic debater class. Controls an actor in the game
module.exports = class SophmoreSlumper extends Debater
constructor: (@game) ->
super(@game, true, 'SPI:NAME:<NAME>END_PI', 4, 3, 'SOPHMORE')
# set basic statis
# ALREADY SET (construc... |
[
{
"context": "#\n# Fuzzy Time widget for Übersicht\n# Geoff Oliver\n# github.com/plan8studios/fuzzytime\n#\n\n#\n# Adjust",
"end": 51,
"score": 0.9998397827148438,
"start": 39,
"tag": "NAME",
"value": "Geoff Oliver"
},
{
"context": " widget for Übersicht\n# Geoff Oliver\n# github.co... | index.coffee | plan8studios/fuzzytime | 0 | #
# Fuzzy Time widget for Übersicht
# Geoff Oliver
# github.com/plan8studios/fuzzytime
#
#
# Adjust the styles as you like
#
style =
# Define the maximum width of the widget.
width: "45%"
# Define the position, where to display the time.
# Set properties you don't need to "auto"
position:
top: "1%"
... | 109806 | #
# Fuzzy Time widget for Übersicht
# <NAME>
# github.com/plan8studios/fuzzytime
#
#
# Adjust the styles as you like
#
style =
# Define the maximum width of the widget.
width: "45%"
# Define the position, where to display the time.
# Set properties you don't need to "auto"
position:
top: "1%"
bo... | true | #
# Fuzzy Time widget for Übersicht
# PI:NAME:<NAME>END_PI
# github.com/plan8studios/fuzzytime
#
#
# Adjust the styles as you like
#
style =
# Define the maximum width of the widget.
width: "45%"
# Define the position, where to display the time.
# Set properties you don't need to "auto"
position:
top: ... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.535278856754303,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/codemirror/cypher.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 11174 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": "==\n\nexports.generate_p521 = (T,cb) ->\n userid = \"test3@test.cc\"\n F = C.key_flags\n primary = {\n flags : F.ce",
"end": 241,
"score": 0.9999182820320129,
"start": 228,
"tag": "EMAIL",
"value": "test3@test.cc"
}
] | test/files/ecc3.iced | samkenxstream/kbpgp | 464 |
top = require '../..'
{KeyManager,ecc} = top
C = top.const.openpgp
#===========================================
armored = km = null
#===========================================
exports.generate_p521 = (T,cb) ->
userid = "test3@test.cc"
F = C.key_flags
primary = {
flags : F.certify_keys
nbits : 521
... | 52626 |
top = require '../..'
{KeyManager,ecc} = top
C = top.const.openpgp
#===========================================
armored = km = null
#===========================================
exports.generate_p521 = (T,cb) ->
userid = "<EMAIL>"
F = C.key_flags
primary = {
flags : F.certify_keys
nbits : 521
algo... | true |
top = require '../..'
{KeyManager,ecc} = top
C = top.const.openpgp
#===========================================
armored = km = null
#===========================================
exports.generate_p521 = (T,cb) ->
userid = "PI:EMAIL:<EMAIL>END_PI"
F = C.key_flags
primary = {
flags : F.certify_keys
nbits... |
[
{
"context": "ge\n#\n# Commands:\n#\n# Dependencies:\n#\n# Author:\n#\t\tRyan Lawyer\n#\n###############################################",
"end": 358,
"score": 0.9997372031211853,
"start": 347,
"tag": "NAME",
"value": "Ryan Lawyer"
},
{
"context": " #\n#\n# Commands:\n#\n# Dependenci... | tfs.coffee | NiteDesign/Hubot-update-VSTS-discussion | 0 | ################################################################
# TFS story links
#
# Description:
# Script that will return a link to TFS when someone mentions a story or bug #
# it will then inject the message into the corresponding VSTS discussion
# providing a Slack URL to the Slack message
#
# Commands:
#
# De... | 208169 | ################################################################
# TFS story links
#
# Description:
# Script that will return a link to TFS when someone mentions a story or bug #
# it will then inject the message into the corresponding VSTS discussion
# providing a Slack URL to the Slack message
#
# Commands:
#
# De... | true | ################################################################
# TFS story links
#
# Description:
# Script that will return a link to TFS when someone mentions a story or bug #
# it will then inject the message into the corresponding VSTS discussion
# providing a Slack URL to the Slack message
#
# Commands:
#
# De... |
[
{
"context": "allback) ->\n current++\n key.should.eql \"id_#{current}\"\n value.should.eql current\n set",
"end": 1696,
"score": 0.9764032363891602,
"start": 1691,
"tag": "KEY",
"value": "id_#{"
},
{
"context": "allback) ->\n current++\n key.should.eql ... | test/mode.concurrent.coffee | adaltas/node-each | 9 |
each = require '../src'
describe 'concurrent', ->
it 'array # multiple elements # async callbacks', (next) ->
current = 0
end_called = false
each [ {id: 1}, {id: 2}, {id: 3}, {id: 4}, {id: 5}, {id: 6}, {id: 7}, {id: 8}, {id: 9} ]
.parallel( 4 )
.call (element, index, callback) ->
index.... | 106369 |
each = require '../src'
describe 'concurrent', ->
it 'array # multiple elements # async callbacks', (next) ->
current = 0
end_called = false
each [ {id: 1}, {id: 2}, {id: 3}, {id: 4}, {id: 5}, {id: 6}, {id: 7}, {id: 8}, {id: 9} ]
.parallel( 4 )
.call (element, index, callback) ->
index.... | true |
each = require '../src'
describe 'concurrent', ->
it 'array # multiple elements # async callbacks', (next) ->
current = 0
end_called = false
each [ {id: 1}, {id: 2}, {id: 3}, {id: 4}, {id: 5}, {id: 6}, {id: 7}, {id: 8}, {id: 9} ]
.parallel( 4 )
.call (element, index, callback) ->
index.... |
[
{
"context": "erIO fm, log.child(component:\"master\"), password:\"testing\"\n done()\n\n it \"accepts a server",
"end": 1192,
"score": 0.9994401931762695,
"start": 1185,
"tag": "PASSWORD",
"value": "testing"
},
{
"context": "lave\"), master:\"ws://localhost:#{m_por... | test/master_slave_io.coffee | firebrandv2/FirebrandNetwork.ga | 342 | MasterIO = $src "master/master_io"
SlaveIO = $src "slave/slave_io"
Logger = $src "logger"
_ = require "underscore"
http = require "http"
debug = require("debug")("sm:tests:master_slave_io")
log = new Logger stdout:false
class FakeMaster extends require("events").EventEmitter
constructor: ->... | 125279 | MasterIO = $src "master/master_io"
SlaveIO = $src "slave/slave_io"
Logger = $src "logger"
_ = require "underscore"
http = require "http"
debug = require("debug")("sm:tests:master_slave_io")
log = new Logger stdout:false
class FakeMaster extends require("events").EventEmitter
constructor: ->... | true | MasterIO = $src "master/master_io"
SlaveIO = $src "slave/slave_io"
Logger = $src "logger"
_ = require "underscore"
http = require "http"
debug = require("debug")("sm:tests:master_slave_io")
log = new Logger stdout:false
class FakeMaster extends require("events").EventEmitter
constructor: ->... |
[
{
"context": " # My API\n Lorem Ipsum\n\n ## Group First\n Dolor Sit Amet\n\n ### Message [/message{id}]\n '''\n\n prot",
"end": 242,
"score": 0.9662890434265137,
"start": 228,
"tag": "NAME",
"value": "Dolor Sit Amet"
}
] | node_modules/protagonist/test/parser-ast-test.coffee | bootstraponline/swagger_poc | 0 | protagonist = require '../build/Release/protagonist'
{assert} = require 'chai'
describe 'Blueprint AST', ->
ast = null
before (done) ->
source = '''
FORMAT: 1A
# My API
Lorem Ipsum
## Group First
Dolor Sit Amet
### Message [/message{id}]
'''
protagonist.parse source, type: ... | 103221 | protagonist = require '../build/Release/protagonist'
{assert} = require 'chai'
describe 'Blueprint AST', ->
ast = null
before (done) ->
source = '''
FORMAT: 1A
# My API
Lorem Ipsum
## Group First
<NAME>
### Message [/message{id}]
'''
protagonist.parse source, type: 'ast', (... | true | protagonist = require '../build/Release/protagonist'
{assert} = require 'chai'
describe 'Blueprint AST', ->
ast = null
before (done) ->
source = '''
FORMAT: 1A
# My API
Lorem Ipsum
## Group First
PI:NAME:<NAME>END_PI
### Message [/message{id}]
'''
protagonist.parse source, ... |
[
{
"context": "###\n# @author Jinzulen\n# @license Apache 2.0\n# @copyright Copyright 2020",
"end": 22,
"score": 0.9998722076416016,
"start": 14,
"tag": "NAME",
"value": "Jinzulen"
},
{
"context": "\n# @license Apache 2.0\n# @copyright Copyright 2020 Khalil G. <https://github.com/Jinz... | src/Methods/Emotes/Random.coffee | DiaxManPl/DEmojiJS | 24 | ###
# @author Jinzulen
# @license Apache 2.0
# @copyright Copyright 2020 Khalil G. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabRandom
constructor: (Input, Callback) ->
return new Promise (Resolve, Reject) ->
API.contactAPI "https://emoji.gg/a... | 221132 | ###
# @author <NAME>
# @license Apache 2.0
# @copyright Copyright 2020 <NAME>. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabRandom
constructor: (Input, Callback) ->
return new Promise (Resolve, Reject) ->
API.contactAPI "https://emoji.gg/api/"... | true | ###
# @author PI:NAME:<NAME>END_PI
# @license Apache 2.0
# @copyright Copyright 2020 PI:NAME:<NAME>END_PI. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabRandom
constructor: (Input, Callback) ->
return new Promise (Resolve, Reject) ->
API.contac... |
[
{
"context": "###\n\n js-calc.coffee\n\n Copyright (c) 2014-2016, Daniel Ellermann\n\n Permission is hereby granted, free of charge, ",
"end": 66,
"score": 0.9997936487197876,
"start": 50,
"tag": "NAME",
"value": "Daniel Ellermann"
},
{
"context": "presents the client-side calcula... | coffee/js-calc.coffee | dellermann/js-calc | 0 | ###
js-calc.coffee
Copyright (c) 2014-2016, Daniel Ellermann
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... | 141851 | ###
js-calc.coffee
Copyright (c) 2014-2016, <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, ... | true | ###
js-calc.coffee
Copyright (c) 2014-2016, PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, ... |
[
{
"context": "###\nCopyright 2016-2017 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 30,
"score": 0.9869590997695923,
"start": 24,
"tag": "NAME",
"value": "Balena"
},
{
"context": "ake this a feature of capitano https://github.com/balena-io/capitano/issues/48\ng... | lib/app.coffee | edmooney/balena-cli | 0 | ###
Copyright 2016-2017 Balena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | 76745 | ###
Copyright 2016-2017 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dis... | true | ###
Copyright 2016-2017 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing... |
[
{
"context": "n = window.location.origin\n record.name = name\n record.version = version\n record.db ",
"end": 5193,
"score": 0.9413862228393555,
"start": 5189,
"tag": "NAME",
"value": "name"
},
{
"context": "ad.domain = record.domain\n payload.name = na... | weinre.web/modules/weinre/target/WiDatabaseImpl.coffee | monaca/incubator-cordova-weinre | 311 |
#---------------------------------------------------------------------------------
# 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 ... | 35701 |
#---------------------------------------------------------------------------------
# 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 ... | true |
#---------------------------------------------------------------------------------
# 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 ... |
[
{
"context": " title: \"Pelican Brief\"\n author: { first: \"John\", last: \"Grisham\" }\n\n it 'should work', ->\n e",
"end": 631,
"score": 0.9998654723167419,
"start": 627,
"tag": "NAME",
"value": "John"
},
{
"context": "ican Brief\"\n author: { first: \"John\", las... | test/ractive_relations_test.coffee | rstacruz/ento | 11 | require './setup'
Ractive = require('ractive')
Book = null
Author = null
book = null
view = null
describe 'Ractive: relations', ->
before ->
Ractive.adaptors.ento = Ento.ractiveAdaptor
beforeEach 'build the class', ->
Book = Ento()
Author = Ento()
Author
.use(Ento.relations)
.attr('f... | 98767 | require './setup'
Ractive = require('ractive')
Book = null
Author = null
book = null
view = null
describe 'Ractive: relations', ->
before ->
Ractive.adaptors.ento = Ento.ractiveAdaptor
beforeEach 'build the class', ->
Book = Ento()
Author = Ento()
Author
.use(Ento.relations)
.attr('f... | true | require './setup'
Ractive = require('ractive')
Book = null
Author = null
book = null
view = null
describe 'Ractive: relations', ->
before ->
Ractive.adaptors.ento = Ento.ractiveAdaptor
beforeEach 'build the class', ->
Book = Ento()
Author = Ento()
Author
.use(Ento.relations)
.attr('f... |
[
{
"context": "e = strings.join \"\\n\"\n\n # FIXME\n user = user.user\n \n begin = 0\n lines = 0\n loop\n #",
"end": 820,
"score": 0.7739406228065491,
"start": 816,
"tag": "USERNAME",
"value": "user"
},
{
"context": "e, to, callback) ->\n data =\n api_p... | src/voipms.coffee | urlisse/hubot-voipms | 0 | {Robot, Adapter, TextMessage} = require("hubot")
HTTP = require "http"
QS = require "querystring"
class VoipMS extends Adapter
constructor: (robot) ->
@did = process.env.HUBOT_VOIPMS_DID
@user = process.env.HUBOT_VOIPMS_USER
@pass = process.env.HUBOT_VOIPMS_PASS
@path ... | 148690 | {Robot, Adapter, TextMessage} = require("hubot")
HTTP = require "http"
QS = require "querystring"
class VoipMS extends Adapter
constructor: (robot) ->
@did = process.env.HUBOT_VOIPMS_DID
@user = process.env.HUBOT_VOIPMS_USER
@pass = process.env.HUBOT_VOIPMS_PASS
@path ... | true | {Robot, Adapter, TextMessage} = require("hubot")
HTTP = require "http"
QS = require "querystring"
class VoipMS extends Adapter
constructor: (robot) ->
@did = process.env.HUBOT_VOIPMS_DID
@user = process.env.HUBOT_VOIPMS_USER
@pass = process.env.HUBOT_VOIPMS_PASS
@path ... |
[
{
"context": "email) ->\n doc =\n email: email\n password: '12345678'\n profile:\n first_name: faker.name.firstN",
"end": 13226,
"score": 0.9993793368339539,
"start": 13218,
"tag": "PASSWORD",
"value": "12345678"
},
{
"context": "one, email) ->\n Meteor.loginWithPassw... | app_tests/client/events.app-tests.coffee | Phaze1D/SA-Units | 0 | faker = require 'faker'
Big = require 'big.js'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ Random } = require 'meteor/random'
{ _ } = require 'meteor/underscore'... | 191395 | faker = require 'faker'
Big = require 'big.js'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ Random } = require 'meteor/random'
{ _ } = require 'meteor/underscore'... | true | faker = require 'faker'
Big = require 'big.js'
{ chai, assert, expect } = require 'meteor/practicalmeteor:chai'
{ Meteor } = require 'meteor/meteor'
{ Accounts } = require 'meteor/accounts-base'
{ resetDatabase } = require 'meteor/xolvio:cleaner'
{ Random } = require 'meteor/random'
{ _ } = require 'meteor/underscore'... |
[
{
"context": "ken\"\n input: [\n token: \"test token one\"\n starts: 40\n ends:",
"end": 2457,
"score": 0.9018101096153259,
"start": 2443,
"tag": "KEY",
"value": "test token one"
},
{
"context": "\n input: [\n ... | src/coffee/expression/parse/lambda.spec.coffee | jameswilddev/influx7 | 1 | describe "expression", -> describe "parse", -> describe "lambda", ->
rewire = require "rewire"
describe "imports", ->
expressionParseLambda = rewire "./lambda"
it "isIdentifier", -> (expect expressionParseLambda.__get__ "isIdentifier").toBe require "./../../isIdentifier"
it "expressionPa... | 109438 | describe "expression", -> describe "parse", -> describe "lambda", ->
rewire = require "rewire"
describe "imports", ->
expressionParseLambda = rewire "./lambda"
it "isIdentifier", -> (expect expressionParseLambda.__get__ "isIdentifier").toBe require "./../../isIdentifier"
it "expressionPa... | true | describe "expression", -> describe "parse", -> describe "lambda", ->
rewire = require "rewire"
describe "imports", ->
expressionParseLambda = rewire "./lambda"
it "isIdentifier", -> (expect expressionParseLambda.__get__ "isIdentifier").toBe require "./../../isIdentifier"
it "expressionPa... |
[
{
"context": "\n# Document level key hooks\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\n$(document).on 'enter', (event)->\n dialog = Mo",
"end": 69,
"score": 0.9998840093612671,
"start": 52,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/dialog/src/document.coffee | lovely-io/lovely.io-stl | 2 | #
# Document level key hooks
#
# Copyright (C) 2012 Nikolay Nemshilov
#
$(document).on 'enter', (event)->
dialog = Modal.current
if dialog isnt null && dialog instanceof Dialog && !(event.target instanceof Input)
dialog.emit('ok') | 37024 | #
# Document level key hooks
#
# Copyright (C) 2012 <NAME>
#
$(document).on 'enter', (event)->
dialog = Modal.current
if dialog isnt null && dialog instanceof Dialog && !(event.target instanceof Input)
dialog.emit('ok') | true | #
# Document level key hooks
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
$(document).on 'enter', (event)->
dialog = Modal.current
if dialog isnt null && dialog instanceof Dialog && !(event.target instanceof Input)
dialog.emit('ok') |
[
{
"context": "ts.team2Wins}</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td>Góly</td>\n\t\t\t\t\t\t<td>{stats.team1Goals}</td>\n\t\t\t\t\t\t<td>",
"end": 2740,
"score": 0.9968063831329346,
"start": 2736,
"tag": "NAME",
"value": "Góly"
},
{
"context": "s.team2Goals}</td>\n\t\t\... | src/js/stats.cjsx | BS-Harou/hockey-frontend | 0 | React = require 'react'
PureRenderMixin = require 'react-addons-pure-render-mixin'
css = require '../css/stats.styl'
module.exports = React.createClass
mixins: [PureRenderMixin]
displayName: 'Stats'
getChart: (chartEl) ->
team1 = @getTeam(@props.pair.team1) or {}
team2 = @getTeam(@props.pair.team2) or {}
... | 11944 | React = require 'react'
PureRenderMixin = require 'react-addons-pure-render-mixin'
css = require '../css/stats.styl'
module.exports = React.createClass
mixins: [PureRenderMixin]
displayName: 'Stats'
getChart: (chartEl) ->
team1 = @getTeam(@props.pair.team1) or {}
team2 = @getTeam(@props.pair.team2) or {}
... | true | React = require 'react'
PureRenderMixin = require 'react-addons-pure-render-mixin'
css = require '../css/stats.styl'
module.exports = React.createClass
mixins: [PureRenderMixin]
displayName: 'Stats'
getChart: (chartEl) ->
team1 = @getTeam(@props.pair.team1) or {}
team2 = @getTeam(@props.pair.team2) or {}
... |
[
{
"context": "\n\n postData = {\n name: \"jason\"\n username: \"jason\"\n password: \"jason\"\n avatar_uri: 'http://ww",
"end": 185,
"score": 0.9996106624603271,
"start": 180,
"tag": "USERNAME",
"value": "jason"
},
{
"context": "ame: \"jason\"\n username: \"jason\"\n ... | test/user.test.coffee | leftjs/simple_uphall_api | 0 | request = require('supertest')
app = require '../libs/app'
should = require 'should'
_ = require 'lodash'
describe("用户相关", () ->
postData = {
name: "jason"
username: "jason"
password: "jason"
avatar_uri: 'http://ww3.sinaimg.cn/mw690/71ae9b51gw1f34ggm06a9j20cs0cs74t.jpg'
}
userId = ""
it("用户注... | 13337 | request = require('supertest')
app = require '../libs/app'
should = require 'should'
_ = require 'lodash'
describe("用户相关", () ->
postData = {
name: "jason"
username: "jason"
password: "<PASSWORD>"
avatar_uri: 'http://ww3.sinaimg.cn/mw690/71ae9b51gw1f34ggm06a9j20cs0cs74t.jpg'
}
userId = ""
it... | true | request = require('supertest')
app = require '../libs/app'
should = require 'should'
_ = require 'lodash'
describe("用户相关", () ->
postData = {
name: "jason"
username: "jason"
password: "PI:PASSWORD:<PASSWORD>END_PI"
avatar_uri: 'http://ww3.sinaimg.cn/mw690/71ae9b51gw1f34ggm06a9j20cs0cs74t.jpg'
}
... |
[
{
"context": "quire './string-util'\n\ndata = []\ndata.push name: 'Bartles', desc: 'old'\ndata.push name: 'James', desc: 'rea",
"end": 66,
"score": 0.9996717572212219,
"start": 59,
"tag": "NAME",
"value": "Bartles"
},
{
"context": "ush name: 'Bartles', desc: 'old'\ndata.push name: 'J... | apps/client-cli/test.coffee | stormagnet/CORVID | 1 | util = require './string-util'
data = []
data.push name: 'Bartles', desc: 'old'
data.push name: 'James', desc: 'really old'
console.log data
console.log cols = util.scanData data
console.log util.tableHeaders cols, Object.getOwnPropertyNames cols
writeLines = (lines) ->
lines.push ""
process.stdout.write lines.... | 208079 | util = require './string-util'
data = []
data.push name: '<NAME>', desc: 'old'
data.push name: '<NAME>', desc: 'really old'
console.log data
console.log cols = util.scanData data
console.log util.tableHeaders cols, Object.getOwnPropertyNames cols
writeLines = (lines) ->
lines.push ""
process.stdout.write lines.... | true | util = require './string-util'
data = []
data.push name: 'PI:NAME:<NAME>END_PI', desc: 'old'
data.push name: 'PI:NAME:<NAME>END_PI', desc: 'really old'
console.log data
console.log cols = util.scanData data
console.log util.tableHeaders cols, Object.getOwnPropertyNames cols
writeLines = (lines) ->
lines.push ""
... |
[
{
"context": "l.createConnection ({\n\thost: 'localhost',\n\tuser: 'scott',\n\tpassword: 'tiger123'\n\t})\n\nconnection.query ('U",
"end": 512,
"score": 0.9990476369857788,
"start": 507,
"tag": "USERNAME",
"value": "scott"
},
{
"context": "{\n\thost: 'localhost',\n\tuser: 'scott',\n\... | maria/coffee/delete/maria_delete.coffee | ekzemplaro/data_base_language | 3 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# maria_delete.coffee
#
# Apr/07/2017
#
# ---------------------------------------------------------------
mysql = require('mysql')
sql_manipulate= require ('/var/www/data_base/common/node_common/sql_manipulate')
# ----------------... | 190803 | #! /usr/bin/coffee
# ---------------------------------------------------------------
# maria_delete.coffee
#
# Apr/07/2017
#
# ---------------------------------------------------------------
mysql = require('mysql')
sql_manipulate= require ('/var/www/data_base/common/node_common/sql_manipulate')
# ----------------... | true | #! /usr/bin/coffee
# ---------------------------------------------------------------
# maria_delete.coffee
#
# Apr/07/2017
#
# ---------------------------------------------------------------
mysql = require('mysql')
sql_manipulate= require ('/var/www/data_base/common/node_common/sql_manipulate')
# ----------------... |
[
{
"context": ">\n @user.should.have.property 'name', 'boy'\n @req.app.should.equal app\n ",
"end": 5285,
"score": 0.9131913185119629,
"start": 5282,
"tag": "NAME",
"value": "boy"
},
{
"context": " loadUser: ->\n @next null, name: 'boy'\n... | test/Controller.coffee | luin/Suki | 0 | assert = require 'assert'
utils = require '../src/utils'
Controller = require '../src/Controller'
describe 'Controller', ->
describe '.supportActions', ->
it 'should be a object', ->
Controller.supportActions.should.be.type 'object'
it 'should share between instances', ->
class A extends Contr... | 222889 | assert = require 'assert'
utils = require '../src/utils'
Controller = require '../src/Controller'
describe 'Controller', ->
describe '.supportActions', ->
it 'should be a object', ->
Controller.supportActions.should.be.type 'object'
it 'should share between instances', ->
class A extends Contr... | true | assert = require 'assert'
utils = require '../src/utils'
Controller = require '../src/Controller'
describe 'Controller', ->
describe '.supportActions', ->
it 'should be a object', ->
Controller.supportActions.should.be.type 'object'
it 'should share between instances', ->
class A extends Contr... |
[
{
"context": " MONGODB_DB\n#\n# Commands:\n# None\n#\n# Author:\n# ajacksified\n\n\nmongodb = require \"mongodb\"\nServer = mongodb.Se",
"end": 392,
"score": 0.9996670484542847,
"start": 381,
"tag": "USERNAME",
"value": "ajacksified"
},
{
"context": "bot) ->\n user = process.env... | src/scripts/mongo-brain.coffee | Reelhouse/hubot-scripts | 2 | # Description:
# Enhances hubot-brain with MongoDB. Useful for Heroku accounts that want
# better persistance. Falls back to memory brain if Mongo connection fails
# for local testing.
#
# Dependencies:
# "mongodb": ">= 1.2.0"
#
# Configuration:
# MONGODB_USERNAME
# MONGODB_PASSWORD
# MONGODB_HOST
# MONGOD... | 64182 | # Description:
# Enhances hubot-brain with MongoDB. Useful for Heroku accounts that want
# better persistance. Falls back to memory brain if Mongo connection fails
# for local testing.
#
# Dependencies:
# "mongodb": ">= 1.2.0"
#
# Configuration:
# MONGODB_USERNAME
# MONGODB_PASSWORD
# MONGODB_HOST
# MONGOD... | true | # Description:
# Enhances hubot-brain with MongoDB. Useful for Heroku accounts that want
# better persistance. Falls back to memory brain if Mongo connection fails
# for local testing.
#
# Dependencies:
# "mongodb": ">= 1.2.0"
#
# Configuration:
# MONGODB_USERNAME
# MONGODB_PASSWORD
# MONGODB_HOST
# MONGOD... |
[
{
"context": "olean\n\n user = Meteor.users.findOne({ username: username })\n unless user?._id == @userId\n throw ne",
"end": 334,
"score": 0.7458593249320984,
"start": 326,
"tag": "USERNAME",
"value": "username"
},
{
"context": " elfoslav = Meteor.users.findOne({ user... | server/methods.coffee | Elfoslav/codermania | 56 | Meteor.methods
saveUserLesson: (username, lesson) ->
check username, String
check lesson,
id: String
type: String #javascript|html|css|programming-challenge
title: String
slug: String
number: Number
code: String
success: Boolean
user = Meteor.users.findOne({ user... | 160659 | Meteor.methods
saveUserLesson: (username, lesson) ->
check username, String
check lesson,
id: String
type: String #javascript|html|css|programming-challenge
title: String
slug: String
number: Number
code: String
success: Boolean
user = Meteor.users.findOne({ user... | true | Meteor.methods
saveUserLesson: (username, lesson) ->
check username, String
check lesson,
id: String
type: String #javascript|html|css|programming-challenge
title: String
slug: String
number: Number
code: String
success: Boolean
user = Meteor.users.findOne({ user... |
[
{
"context": "xt: 'XXX', '$key': '^line' }\n T.eq row, { key: '^line', realm: 'input', vnr: [ 123 ], dest: 'main', tex",
"end": 4313,
"score": 0.5499156713485718,
"start": 4309,
"tag": "KEY",
"value": "line"
},
{
"context": "y': '^line', '$stamped': true }\n T.eq row, { key: '^line... | src/tests/basic.test.coffee | loveencounterflow/datamill | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'DATAMILL/TESTS/BASIC'
log = CND.get_logger 'plain', badge
info... | 219058 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'DATAMILL/TESTS/BASIC'
log = CND.get_logger 'plain', badge
info... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'DATAMILL/TESTS/BASIC'
log = CND.get_logger 'plain', badge
info... |
[
{
"context": "-27, 40 ] }}\n @subject.interface.scopeKeys = ['coords']\n expect(@subject.modelKeyComparison).toThrow",
"end": 945,
"score": 0.9299187660217285,
"start": 939,
"tag": "KEY",
"value": "coords"
}
] | SafetyNet_Mobile/www/lib/angular-google-maps-master/spec/coffee/directives/api/utils/model-key.spec.coffee | donh/pheonix | 0 | describe 'ModelKey Tests', ->
beforeEach ->
angular.mock.module('uiGmapgoogle-maps.directives.api.utils')
inject [ '$rootScope', 'uiGmapModelKey', ($rootScope, ModelKey) =>
@scope = $rootScope.$new()
@subject = new ModelKey(@scope)
]
it 'should eval model handle correctly', ->
model = {... | 55614 | describe 'ModelKey Tests', ->
beforeEach ->
angular.mock.module('uiGmapgoogle-maps.directives.api.utils')
inject [ '$rootScope', 'uiGmapModelKey', ($rootScope, ModelKey) =>
@scope = $rootScope.$new()
@subject = new ModelKey(@scope)
]
it 'should eval model handle correctly', ->
model = {... | true | describe 'ModelKey Tests', ->
beforeEach ->
angular.mock.module('uiGmapgoogle-maps.directives.api.utils')
inject [ '$rootScope', 'uiGmapModelKey', ($rootScope, ModelKey) =>
@scope = $rootScope.$new()
@subject = new ModelKey(@scope)
]
it 'should eval model handle correctly', ->
model = {... |
[
{
"context": " email: smartnoraConfig.email\n password: smartnoraConfig.password\n group: smartnoraConfig.group\n vali",
"end": 983,
"score": 0.9992947578430176,
"start": 959,
"tag": "PASSWORD",
"value": "smartnoraConfig.password"
}
] | adapters/switch.coffee | bertreb/pimatic-smartnora | 0 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
rxjs = require("rxjs")
operators = require("rxjs/operators")
connection = require("../node_modules/node-red-contrib-smartnora/build/firebase/connection.js")
#connection = require("../firebas... | 5075 | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
rxjs = require("rxjs")
operators = require("rxjs/operators")
connection = require("../node_modules/node-red-contrib-smartnora/build/firebase/connection.js")
#connection = require("../firebas... | true | module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
events = require 'events'
rxjs = require("rxjs")
operators = require("rxjs/operators")
connection = require("../node_modules/node-red-contrib-smartnora/build/firebase/connection.js")
#connection = require("../firebas... |
[
{
"context": "o the ~/.lovelyrc file\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\n\nlocation = \"#{process.env.HOME}/.lovelyrc\";\nop",
"end": 125,
"score": 0.9998947381973267,
"start": 108,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/lovelyrc.coffee | lovely-io/lovely.io-stl | 2 | #
# A nice proxy to ready/write configurations
# from/into the ~/.lovelyrc file
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
location = "#{process.env.HOME}/.lovelyrc";
options = {}; # a local copy fo the options
params =
user: 'your lovely.io username'
name: 'your full name (for code generators)'
base... | 54854 | #
# A nice proxy to ready/write configurations
# from/into the ~/.lovelyrc file
#
# Copyright (C) 2011-2012 <NAME>
#
location = "#{process.env.HOME}/.lovelyrc";
options = {}; # a local copy fo the options
params =
user: 'your lovely.io username'
name: 'your full name (for code generators)'
base: 'local ... | true | #
# A nice proxy to ready/write configurations
# from/into the ~/.lovelyrc file
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
location = "#{process.env.HOME}/.lovelyrc";
options = {}; # a local copy fo the options
params =
user: 'your lovely.io username'
name: 'your full name (for code generators)'
b... |
[
{
"context": " paparazzo = new Paparazzo\n host: '85.105.120.239'\n paparazzo.options.port.should.equal 80\n ",
"end": 328,
"score": 0.9997172355651855,
"start": 314,
"tag": "IP_ADDRESS",
"value": "85.105.120.239"
},
{
"context": " paparazzo = new Paparazzo\... | test/paparazzoTest.coffee | rodowi/Paparazzo.js | 92 | # To run:
# $ mocha --compilers coffee:coffee-script -R spec
chai = require 'chai'
chai.should()
expect = chai.expect
Paparazzo = require '../src/paparazzo'
paparazzo = null
describe 'Paparazzo constructor', ->
it 'should assign port 80 by default', ->
paparazzo = new Paparazzo
host: '85.105... | 216606 | # To run:
# $ mocha --compilers coffee:coffee-script -R spec
chai = require 'chai'
chai.should()
expect = chai.expect
Paparazzo = require '../src/paparazzo'
paparazzo = null
describe 'Paparazzo constructor', ->
it 'should assign port 80 by default', ->
paparazzo = new Paparazzo
host: '192.16... | true | # To run:
# $ mocha --compilers coffee:coffee-script -R spec
chai = require 'chai'
chai.should()
expect = chai.expect
Paparazzo = require '../src/paparazzo'
paparazzo = null
describe 'Paparazzo constructor', ->
it 'should assign port 80 by default', ->
paparazzo = new Paparazzo
host: 'PI:IP_... |
[
{
"context": ">\n # UserID UserName\n # 123 apitest\n # 325 mamamia\n\n # COLUM",
"end": 289,
"score": 0.643174409866333,
"start": 287,
"tag": "NAME",
"value": "ap"
},
{
"context": " # UserID UserName\n # 123 apitest\n ... | lib/slickgrid/transpose.coffee | rikard2/pg-hoff | 0 | SlickFormatting = require './formatting'
module.exports = class TransposeSlickData
columns: []
rows: []
constructor: (columns, rows) ->
@columns = columns
@rows = rows
@transpose()
transpose: =>
# UserID UserName
# 123 apitest
# 325 mamam... | 65269 | SlickFormatting = require './formatting'
module.exports = class TransposeSlickData
columns: []
rows: []
constructor: (columns, rows) ->
@columns = columns
@rows = rows
@transpose()
transpose: =>
# UserID UserName
# 123 <NAME>itest
# 325 <... | true | SlickFormatting = require './formatting'
module.exports = class TransposeSlickData
columns: []
rows: []
constructor: (columns, rows) ->
@columns = columns
@rows = rows
@transpose()
transpose: =>
# UserID UserName
# 123 PI:NAME:<NAME>END_PIitest
... |
[
{
"context": "r i in [0...length]\n result.join(', ')\n\nkeys = ['set index memory usage']\nshas = query(\"SELECT DISTINCT (CONCAT(sha, ' ',",
"end": 177,
"score": 0.8633906841278076,
"start": 155,
"tag": "PASSWORD",
"value": "set index memory usage"
}
] | tests/prof/reports/Set Sort and Set Index/__Set Index Memory Usage.coffee | davidcornu/batman | 3 | header "Set Index Memory Usage"
qs = (length) ->
x = ['?']
result = []
result = result.concat x for i in [0...length]
result.join(', ')
keys = ['set index memory usage']
shas = query("SELECT DISTINCT (CONCAT(sha, ' ', human)) AS 'readable_sha', sha FROM Reports WHERE Reports.key IN (#{qs(keys.length)})", keys... | 200208 | header "Set Index Memory Usage"
qs = (length) ->
x = ['?']
result = []
result = result.concat x for i in [0...length]
result.join(', ')
keys = ['<PASSWORD>']
shas = query("SELECT DISTINCT (CONCAT(sha, ' ', human)) AS 'readable_sha', sha FROM Reports WHERE Reports.key IN (#{qs(keys.length)})", keys...)
param ... | true | header "Set Index Memory Usage"
qs = (length) ->
x = ['?']
result = []
result = result.concat x for i in [0...length]
result.join(', ')
keys = ['PI:PASSWORD:<PASSWORD>END_PI']
shas = query("SELECT DISTINCT (CONCAT(sha, ' ', human)) AS 'readable_sha', sha FROM Reports WHERE Reports.key IN (#{qs(keys.length)})"... |
[
{
"context": "Id: 'a990d54217bb2c28fdf0'\n\n\tgithubClientSecret: '63b75f335fcb58166d53efd16cc0997d280d1710'",
"end": 211,
"score": 0.9996265769004822,
"start": 171,
"tag": "KEY",
"value": "63b75f335fcb58166d53efd16cc0997d280d1710"
}
] | resources/assets/coffee/config.coffee | jurerick/reposearch | 0 | config = angular.module 'config', []
config.factory 'social', ()->
githubApi : 'https://api.github.com'
githubClientId: 'a990d54217bb2c28fdf0'
githubClientSecret: '63b75f335fcb58166d53efd16cc0997d280d1710' | 140756 | config = angular.module 'config', []
config.factory 'social', ()->
githubApi : 'https://api.github.com'
githubClientId: 'a990d54217bb2c28fdf0'
githubClientSecret: '<KEY>' | true | config = angular.module 'config', []
config.factory 'social', ()->
githubApi : 'https://api.github.com'
githubClientId: 'a990d54217bb2c28fdf0'
githubClientSecret: 'PI:KEY:<KEY>END_PI' |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998537302017212,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/characterselect.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a character to the editable
((jQuery) ->
jQuery.widget 'IKS.hallocharacterselect',
dropdownform: null
dropdownsubform: nu... | 65292 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a character to the editable
((jQuery) ->
jQuery.widget 'IKS.hallocharacterselect',
dropdownform: null
dropdownsubform: null
... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a character to the editable
((jQuery) ->
jQuery.widget 'IKS.hallocharacterselect',
dropdownform: null
dropdownsubf... |
[
{
"context": " the column\n # So typing in \"a\" will find \"albert\" but not \"frank\", both have a's; default is false",
"end": 6340,
"score": 0.9997888207435608,
"start": 6334,
"tag": "NAME",
"value": "albert"
},
{
"context": " # So typing in \"a\" will find \"albert\" bu... | app/views/employers_view.coffee | oaugereau/codecombat | 0 | View = require 'views/kinds/RootView'
template = require 'templates/employers'
app = require 'application'
User = require 'models/User'
{me} = require 'lib/auth'
CocoCollection = require 'collections/CocoCollection'
EmployerSignupView = require 'views/modal/employer_signup_modal'
class CandidatesCollection extends Coc... | 148006 | View = require 'views/kinds/RootView'
template = require 'templates/employers'
app = require 'application'
User = require 'models/User'
{me} = require 'lib/auth'
CocoCollection = require 'collections/CocoCollection'
EmployerSignupView = require 'views/modal/employer_signup_modal'
class CandidatesCollection extends Coc... | true | View = require 'views/kinds/RootView'
template = require 'templates/employers'
app = require 'application'
User = require 'models/User'
{me} = require 'lib/auth'
CocoCollection = require 'collections/CocoCollection'
EmployerSignupView = require 'views/modal/employer_signup_modal'
class CandidatesCollection extends Coc... |
[
{
"context": "ng larger than females.\n '''\n\n scientificName: 'Canis adustus'\n mainImage: 'assets/fieldguide-content/mammals/",
"end": 604,
"score": 0.9998193979263306,
"start": 591,
"tag": "NAME",
"value": "Canis adustus"
}
] | app/lib/field-guide-content/jackal.coffee | zooniverse/wildcam-gorongosa-facebook | 7 | module.exports =
label: 'Side-striped Jackal'
description: '''
The side-striped jackal is easily distinguishable from its other jackal relatives. It has a slightly drabber light gray to tan coloration with a white tip on their otherwise black tail. The side-striped jackal is medium-sized and tends to have a whi... | 113470 | module.exports =
label: 'Side-striped Jackal'
description: '''
The side-striped jackal is easily distinguishable from its other jackal relatives. It has a slightly drabber light gray to tan coloration with a white tip on their otherwise black tail. The side-striped jackal is medium-sized and tends to have a whi... | true | module.exports =
label: 'Side-striped Jackal'
description: '''
The side-striped jackal is easily distinguishable from its other jackal relatives. It has a slightly drabber light gray to tan coloration with a white tip on their otherwise black tail. The side-striped jackal is medium-sized and tends to have a whi... |
[
{
"context": "mails to the person who submitted the patch, or to Nick, George, or Scott.\n watchers = (w for w in wat",
"end": 1681,
"score": 0.9986200332641602,
"start": 1677,
"tag": "NAME",
"value": "Nick"
},
{
"context": "to the person who submitted the patch, or to Nick, Georg... | server/handlers/patch_handler.coffee | IngJuanRuiz/codecombat | 0 | Patch = require './../models/Patch'
User = require '../models/User'
Handler = require '../commons/Handler'
schema = require '../../app/schemas/models/patch'
{handlers} = require '../commons/mapping'
mongoose = require 'mongoose'
log = require 'winston'
sendgrid = require '../sendgrid'
slack = require '../slack'
config ... | 194216 | Patch = require './../models/Patch'
User = require '../models/User'
Handler = require '../commons/Handler'
schema = require '../../app/schemas/models/patch'
{handlers} = require '../commons/mapping'
mongoose = require 'mongoose'
log = require 'winston'
sendgrid = require '../sendgrid'
slack = require '../slack'
config ... | true | Patch = require './../models/Patch'
User = require '../models/User'
Handler = require '../commons/Handler'
schema = require '../../app/schemas/models/patch'
{handlers} = require '../commons/mapping'
mongoose = require 'mongoose'
log = require 'winston'
sendgrid = require '../sendgrid'
slack = require '../slack'
config ... |
[
{
"context": "ListFollows: \"Word\"\n \"circle-ci\":\n apiToken: \"7fd7b8b85029ffcf56bfdb37ec2b3838fc143ac4\"\n iconColor: true\n react: {}\n tabs:\n tabS",
"end": 907,
"score": 0.9900699853897095,
"start": 867,
"tag": "KEY",
"value": "7fd7b8b85029ffcf56bfdb37ec2b3838fc143ac4"
... | atom.symlink/config.cson | JonCrawford/dotfiles | 0 | "*":
editor:
fontFamily: "Menlo"
showIndentGuide: true
invisibles: {}
softWrapAtPreferredLineLength: true
core:
ignoredNames: [
".bundle"
".git"
"log"
"repositories"
"tmp"
"vendor"
]
disabledPackages: [
"exception-reporting"
"metrics"
... | 64716 | "*":
editor:
fontFamily: "Menlo"
showIndentGuide: true
invisibles: {}
softWrapAtPreferredLineLength: true
core:
ignoredNames: [
".bundle"
".git"
"log"
"repositories"
"tmp"
"vendor"
]
disabledPackages: [
"exception-reporting"
"metrics"
... | true | "*":
editor:
fontFamily: "Menlo"
showIndentGuide: true
invisibles: {}
softWrapAtPreferredLineLength: true
core:
ignoredNames: [
".bundle"
".git"
"log"
"repositories"
"tmp"
"vendor"
]
disabledPackages: [
"exception-reporting"
"metrics"
... |
[
{
"context": " properties:\n username:\n description: \"The Meross username\"\n type: \"string\"\n required: true\n pa",
"end": 121,
"score": 0.9709919691085815,
"start": 106,
"tag": "USERNAME",
"value": "Meross username"
},
{
"context": "quired: true\n passwo... | pimatic-meross-config-schema.coffee | bertreb/pimatic-meross | 0 | module.exports = {
title: "Meross"
type: "object"
properties:
username:
description: "The Meross username"
type: "string"
required: true
password:
description: "The Meross password"
type: "string"
required: true
debug:
description: "Debug mode. Writes debug me... | 87030 | module.exports = {
title: "Meross"
type: "object"
properties:
username:
description: "The Meross username"
type: "string"
required: true
password:
description: "The <PASSWORD>"
type: "string"
required: true
debug:
description: "Debug mode. Writes debug message... | true | module.exports = {
title: "Meross"
type: "object"
properties:
username:
description: "The Meross username"
type: "string"
required: true
password:
description: "The PI:PASSWORD:<PASSWORD>END_PI"
type: "string"
required: true
debug:
description: "Debug mode. Wr... |
[
{
"context": "hat>\n <template><![CDATA[My name is Jonny.]]><unknowntag>88888</unknowntag></template>\n ",
"end": 406,
"score": 0.9997032880783081,
"start": 401,
"tag": "NAME",
"value": "Jonny"
},
{
"context": " category.template.text.should.equal 'My name is Jonn... | lib/aiml/test/parser-tests.coffee | applesstt/snail | 0 | should = require('chai').should()
parse = require('./../index').parse
parseFiles = require('./../index').parseFiles
parseDir = require('./../index').parseDir
xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<aiml version=\"1.0\">
<category>
<pattern>what is your name</pattern... | 69094 | should = require('chai').should()
parse = require('./../index').parse
parseFiles = require('./../index').parseFiles
parseDir = require('./../index').parseDir
xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<aiml version=\"1.0\">
<category>
<pattern>what is your name</pattern... | true | should = require('chai').should()
parse = require('./../index').parse
parseFiles = require('./../index').parseFiles
parseDir = require('./../index').parseDir
xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<aiml version=\"1.0\">
<category>
<pattern>what is your name</pattern... |
[
{
"context": "loudinary.config(cloud_name: \"test\", api_secret: \"1234\")\n\n it \"should generate image\", ->\n expect(cl",
"end": 208,
"score": 0.9949548840522766,
"start": 204,
"tag": "KEY",
"value": "1234"
}
] | keystone/node_modules/cloudinary/test/imagespec.coffee | kinfen/sitecore-product | 0 | expect = require('expect.js')
cloudinary = require('../cloudinary')
describe 'image helper', ->
beforeEach ->
cloudinary.config(true) # Reset
cloudinary.config(cloud_name: "test", api_secret: "1234")
it "should generate image", ->
expect(cloudinary.image("hello", format: "png")).to.eql("<img src='http... | 93051 | expect = require('expect.js')
cloudinary = require('../cloudinary')
describe 'image helper', ->
beforeEach ->
cloudinary.config(true) # Reset
cloudinary.config(cloud_name: "test", api_secret: "<KEY>")
it "should generate image", ->
expect(cloudinary.image("hello", format: "png")).to.eql("<img src='htt... | true | expect = require('expect.js')
cloudinary = require('../cloudinary')
describe 'image helper', ->
beforeEach ->
cloudinary.config(true) # Reset
cloudinary.config(cloud_name: "test", api_secret: "PI:KEY:<KEY>END_PI")
it "should generate image", ->
expect(cloudinary.image("hello", format: "png")).to.eql("... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998903274536133,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\n#= require new... | source/javascripts/new_src/loaders/collada/polylist.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/collada/polygons
class Polylist extends THREE.Collada.Polygons
constructor: ->
super()
@vcount = []
namespace "THREE.Collada", (exports) ->
exports.Polylist = Polylist | 15731 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
#= require new_src/loaders/collada/polygons
class Polylist extends THREE.Collada.Polygons
constructor: ->
super()
@vcount = []
namespace "THREE.Collada", (exports) ->
exports.Polylist = Polylist | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/collada/polygons
class Polylist extends THREE.Collada.Polygons
constructor: ->
super()
@vcount = []
namespace "THREE.Collada", (exports) ->
exports.Polylist ... |
[
{
"context": "t\n\ngithub.authenticate\n type: 'basic'\n username: credentials.username\n password: credentials.password\n\ncounts =\n give",
"end": 418,
"score": 0.9992546439170837,
"start": 398,
"tag": "USERNAME",
"value": "credentials.username"
},
{
"context": "asic'\n userna... | index.coffee | rkstedman/lgtm-counter | 0 | async = require 'async'
GitHubApi = require 'github'
credentials = require './credentials'
log = (o) ->
console.log require('util').inspect(o, 0, 10, 1)
github = new GitHubApi
version: '3.0.0'
# debug: true
protocol: 'https'
timeout: 5000
# headers:
# 'user-agent': 'My-Cool-GitHub-App' // GitHub is ha... | 139260 | async = require 'async'
GitHubApi = require 'github'
credentials = require './credentials'
log = (o) ->
console.log require('util').inspect(o, 0, 10, 1)
github = new GitHubApi
version: '3.0.0'
# debug: true
protocol: 'https'
timeout: 5000
# headers:
# 'user-agent': 'My-Cool-GitHub-App' // GitHub is ha... | true | async = require 'async'
GitHubApi = require 'github'
credentials = require './credentials'
log = (o) ->
console.log require('util').inspect(o, 0, 10, 1)
github = new GitHubApi
version: '3.0.0'
# debug: true
protocol: 'https'
timeout: 5000
# headers:
# 'user-agent': 'My-Cool-GitHub-App' // GitHub is ha... |
[
{
"context": " _get: (key, options, callback) ->\n key = @_key(key, options)\n @_dataset.get key, (erro",
"end": 933,
"score": 0.611394464969635,
"start": 931,
"tag": "KEY",
"value": "@_"
},
{
"context": "# datastore does not allow `0` as ID\n key = '_' + key.t... | src/index.coffee | hden/datastoredown | 1 | 'use strict'
abstract = require 'abstract-leveldown'
gcloud = require 'gcloud'
entity = require 'gcloud/lib/datastore/entity'
class Datastore extends abstract.AbstractLevelDOWN
constructor: (location) ->
return new Datastore(location) unless @ instanceof Datastore
super
[@projectId, @k... | 174411 | 'use strict'
abstract = require 'abstract-leveldown'
gcloud = require 'gcloud'
entity = require 'gcloud/lib/datastore/entity'
class Datastore extends abstract.AbstractLevelDOWN
constructor: (location) ->
return new Datastore(location) unless @ instanceof Datastore
super
[@projectId, @k... | true | 'use strict'
abstract = require 'abstract-leveldown'
gcloud = require 'gcloud'
entity = require 'gcloud/lib/datastore/entity'
class Datastore extends abstract.AbstractLevelDOWN
constructor: (location) ->
return new Datastore(location) unless @ instanceof Datastore
super
[@projectId, @k... |
[
{
"context": "bc123', 'evan'\n\n\t@test.assertEquals km.person, 'evan', 'Person is set correctly'\n\t@test.assertEquals k",
"end": 455,
"score": 0.8599280714988708,
"start": 453,
"tag": "NAME",
"value": "an"
},
{
"context": "is set correctly'\n\t@test.assertEquals km.apiKey, 'abc123'... | test/casperjs/kissmetrics.coffee | evansolomon/kissmetrics-js | 1 | # The page doesn't actually matter
casper.start 'http://localhost:9000/index.html'
casper.then ->
# Injections are relative to the project root
casper.page.injectJs 'min/kissmetrics.min.js'
# Existance
casper.then ->
KM = @evaluate ->
!! window.KissmetricsClient
@test.assertTruthy KM, 'KissmetricsClient exis... | 41442 | # The page doesn't actually matter
casper.start 'http://localhost:9000/index.html'
casper.then ->
# Injections are relative to the project root
casper.page.injectJs 'min/kissmetrics.min.js'
# Existance
casper.then ->
KM = @evaluate ->
!! window.KissmetricsClient
@test.assertTruthy KM, 'KissmetricsClient exis... | true | # The page doesn't actually matter
casper.start 'http://localhost:9000/index.html'
casper.then ->
# Injections are relative to the project root
casper.page.injectJs 'min/kissmetrics.min.js'
# Existance
casper.then ->
KM = @evaluate ->
!! window.KissmetricsClient
@test.assertTruthy KM, 'KissmetricsClient exis... |
[
{
"context": " api.post('/user')\n .send(username: 'test1', password: 'test')\n .end (err, res)->",
"end": 1258,
"score": 0.9993023872375488,
"start": 1253,
"tag": "USERNAME",
"value": "test1"
},
{
"context": ")\n .send(username: 'test1', password: ... | test/server/message.coffee | ethanmick/fastchat-server | 7 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
supertest = require('supertest')
api = supertest('http://localhost:6190')
async = require('async')
mongoose = require('mongoose')
User = require('../../lib/model/user')
Group = require('../../lib/model/group')
Message = require('../../lib/model/messa... | 74124 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
supertest = require('supertest')
api = supertest('http://localhost:6190')
async = require('async')
mongoose = require('mongoose')
User = require('../../lib/model/user')
Group = require('../../lib/model/group')
Message = require('../../lib/model/messa... | true | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
supertest = require('supertest')
api = supertest('http://localhost:6190')
async = require('async')
mongoose = require('mongoose')
User = require('../../lib/model/user')
Group = require('../../lib/model/group')
Message = require('../../lib/model/messa... |
[
{
"context": "rsion: 1.1.2\n Last Change: 03/21/17\n Author: Ryan Fitzgerald\n Repo: https://github.com/RyanFitzgerald/devpo",
"end": 120,
"score": 0.999899685382843,
"start": 105,
"tag": "NAME",
"value": "Ryan Fitzgerald"
},
{
"context": "hor: Ryan Fitzgerald\n Repo: htt... | assets/js/main.coffee | ipepe/2018-homepage | 1 | ---
---
###!
Title: Dev Portfolio Template
Version: 1.1.2
Last Change: 03/21/17
Author: Ryan Fitzgerald
Repo: https://github.com/RyanFitzgerald/devportfolio-template
Issues: https://github.com/RyanFitzgerald/devportfolio-template/issues
Description: This file contains all the scripts assoc... | 116845 | ---
---
###!
Title: Dev Portfolio Template
Version: 1.1.2
Last Change: 03/21/17
Author: <NAME>
Repo: https://github.com/RyanFitzgerald/devportfolio-template
Issues: https://github.com/RyanFitzgerald/devportfolio-template/issues
Description: This file contains all the scripts associated wit... | true | ---
---
###!
Title: Dev Portfolio Template
Version: 1.1.2
Last Change: 03/21/17
Author: PI:NAME:<NAME>END_PI
Repo: https://github.com/RyanFitzgerald/devportfolio-template
Issues: https://github.com/RyanFitzgerald/devportfolio-template/issues
Description: This file contains all the scripts ... |
[
{
"context": "rror: @handle_error(error_callback)\n\n set_domain: (@domain) ->\n $('.domain').text(@domain)\n\n set_gateway",
"end": 3952,
"score": 0.7268709540367126,
"start": 3944,
"tag": "USERNAME",
"value": "(@domain"
},
{
"context": " set_domain: (@domain) ->\n $('.doma... | micro/app/assets/coffee/mcf.js.coffee | cloudfoundry-attic/micro | 2 | #= require_self
#= require logger
#= require mcf_date
#= require util
#= require progress_bar
#= require services_table
#= require services_table_row
#= require disabled_service_row
#= require enabled_service_row
#= require util
#= require initialize
# Main Micro Cloud Foundry class.
window.Mcf = class Mcf
construc... | 187382 | #= require_self
#= require logger
#= require mcf_date
#= require util
#= require progress_bar
#= require services_table
#= require services_table_row
#= require disabled_service_row
#= require enabled_service_row
#= require util
#= require initialize
# Main Micro Cloud Foundry class.
window.Mcf = class Mcf
construc... | true | #= require_self
#= require logger
#= require mcf_date
#= require util
#= require progress_bar
#= require services_table
#= require services_table_row
#= require disabled_service_row
#= require enabled_service_row
#= require util
#= require initialize
# Main Micro Cloud Foundry class.
window.Mcf = class Mcf
construc... |
[
{
"context": "ema\nunlockableAchievements =\n signup:\n name: 'Signed Up'\n description: 'Signed up to the most awesome ",
"end": 580,
"score": 0.5912927389144897,
"start": 571,
"tag": "NAME",
"value": "Signed Up"
}
] | scripts/setupAchievements.coffee | JurianLock/codecombat | 1 | database = require '../server/commons/database'
mongoose = require 'mongoose'
log = require 'winston'
async = require 'async'
### SET UP ###
do (setupLodash = this) ->
GLOBAL._ = require 'lodash'
_.str = require 'underscore.string'
_.mixin _.str.exports()
database.connect()
## Util
## Types
contributor = (ob... | 57757 | database = require '../server/commons/database'
mongoose = require 'mongoose'
log = require 'winston'
async = require 'async'
### SET UP ###
do (setupLodash = this) ->
GLOBAL._ = require 'lodash'
_.str = require 'underscore.string'
_.mixin _.str.exports()
database.connect()
## Util
## Types
contributor = (ob... | true | database = require '../server/commons/database'
mongoose = require 'mongoose'
log = require 'winston'
async = require 'async'
### SET UP ###
do (setupLodash = this) ->
GLOBAL._ = require 'lodash'
_.str = require 'underscore.string'
_.mixin _.str.exports()
database.connect()
## Util
## Types
contributor = (ob... |
[
{
"context": "moby_dick: \"Call me Ishmael. Some years ago --\nnever mind how long precisely ",
"end": 27,
"score": 0.9993230104446411,
"start": 20,
"tag": "NAME",
"value": "Ishmael"
}
] | documentation/coffee/strings.coffee | rpl/coffee-script | 1 | moby_dick: "Call me Ishmael. Some years ago --
never mind how long precisely -- having little
or no money in my purse, and nothing particular
to interest me on shore, I thought I would sail
about a little and see the watery part of the
world..."
| 62698 | moby_dick: "Call me <NAME>. Some years ago --
never mind how long precisely -- having little
or no money in my purse, and nothing particular
to interest me on shore, I thought I would sail
about a little and see the watery part of the
world..."
| true | moby_dick: "Call me PI:NAME:<NAME>END_PI. Some years ago --
never mind how long precisely -- having little
or no money in my purse, and nothing particular
to interest me on shore, I thought I would sail
about a little and see the watery part of the
world..."
|
[
{
"context": "person_name':\n 'dm4.contacts.first_name': 'firstname'\n 'dm4.contacts.last_name': 'lastname'\n ",
"end": 349,
"score": 0.9992825388908386,
"start": 340,
"tag": "NAME",
"value": "firstname"
},
{
"context": "': 'firstname'\n 'dm4.contacts.last_name... | spec/person.crudle.spec.coffee | dgf/dm4client | 1 | # stateful CRUD integration test
{aCheck, aFail} = require './check'
dm4c = require('../src/dm4client').create()
personTypeUri = 'dm4.contacts.person'
describe 'person crudle and web resource association', ->
#
person =
type_uri: personTypeUri
composite:
'dm4.contacts.person_name':
'dm4.con... | 222631 | # stateful CRUD integration test
{aCheck, aFail} = require './check'
dm4c = require('../src/dm4client').create()
personTypeUri = 'dm4.contacts.person'
describe 'person crudle and web resource association', ->
#
person =
type_uri: personTypeUri
composite:
'dm4.contacts.person_name':
'dm4.con... | true | # stateful CRUD integration test
{aCheck, aFail} = require './check'
dm4c = require('../src/dm4client').create()
personTypeUri = 'dm4.contacts.person'
describe 'person crudle and web resource association', ->
#
person =
type_uri: personTypeUri
composite:
'dm4.contacts.person_name':
'dm4.con... |
[
{
"context": "###\n\nslizor\nhttps://github.com/charlesholbrow/slizor\n\nCopyright (c) 2013 Charles Holbrow\nLicens",
"end": 45,
"score": 0.9995706677436829,
"start": 31,
"tag": "USERNAME",
"value": "charlesholbrow"
},
{
"context": "thub.com/charlesholbrow/slizor\n\nCopyright (c) 201... | src/lib/slizor.coffee | CharlesHolbrow/slizor | 1 | ###
slizor
https://github.com/charlesholbrow/slizor
Copyright (c) 2013 Charles Holbrow
Licensed under the MIT license.
###
midi = require('midi')
help = require('midi-help')
noteOn = help.noteOn
noteOff = help.noteOff
cc = help.cc
pitchBend = help.pitchBend
output = new midi.output
console.log 'Ope... | 94707 | ###
slizor
https://github.com/charlesholbrow/slizor
Copyright (c) 2013 <NAME>
Licensed under the MIT license.
###
midi = require('midi')
help = require('midi-help')
noteOn = help.noteOn
noteOff = help.noteOff
cc = help.cc
pitchBend = help.pitchBend
output = new midi.output
console.log 'Opening midi... | true | ###
slizor
https://github.com/charlesholbrow/slizor
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
midi = require('midi')
help = require('midi-help')
noteOn = help.noteOn
noteOff = help.noteOff
cc = help.cc
pitchBend = help.pitchBend
output = new midi.output
console.log... |
[
{
"context": "e './config'\n{UserSet,Thread} = require './data'\n{donnie,chris,max} = require '../test/data/users.iced'\n{A",
"end": 172,
"score": 0.9636001586914062,
"start": 166,
"tag": "USERNAME",
"value": "donnie"
},
{
"context": "nfig'\n{UserSet,Thread} = require './data'\n{donn... | src/thread.iced | AngelKey/Angelkey.messengerclient | 0 |
{SessionClient} = require './session'
{make_esc} = require 'iced-error'
{Base} = require './base'
{Config} = require './config'
{UserSet,Thread} = require './data'
{donnie,chris,max} = require '../test/data/users.iced'
{AuthenticateClient} = require './authenticate'
log = require 'iced-logger'
idg = require('keybase-m... | 110438 |
{SessionClient} = require './session'
{make_esc} = require 'iced-error'
{Base} = require './base'
{Config} = require './config'
{UserSet,Thread} = require './data'
{donnie,<NAME>is,max} = require '../test/data/users.iced'
{AuthenticateClient} = require './authenticate'
log = require 'iced-logger'
idg = require('keybas... | true |
{SessionClient} = require './session'
{make_esc} = require 'iced-error'
{Base} = require './base'
{Config} = require './config'
{UserSet,Thread} = require './data'
{donnie,PI:NAME:<NAME>END_PIis,max} = require '../test/data/users.iced'
{AuthenticateClient} = require './authenticate'
log = require 'iced-logger'
idg = r... |
[
{
"context": "###\n# mailer.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# This module co",
"end": 42,
"score": 0.9997155666351318,
"start": 31,
"tag": "NAME",
"value": "Dan Nichols"
}
] | lib/mailer.coffee | dlnichols/h_media | 0 | ###
# mailer.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# This module configures express-mailer/nodemailer for general use
###
'use strict'
# External libs
_ = require 'lodash'
mailer = require 'nodemailer'
debug = require('debug') 'hMedia:mailer'
###
# Mailer extension
###
debug 'Configurin... | 149813 | ###
# mailer.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# This module configures express-mailer/nodemailer for general use
###
'use strict'
# External libs
_ = require 'lodash'
mailer = require 'nodemailer'
debug = require('debug') 'hMedia:mailer'
###
# Mailer extension
###
debug 'Configuring mai... | true | ###
# mailer.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# This module configures express-mailer/nodemailer for general use
###
'use strict'
# External libs
_ = require 'lodash'
mailer = require 'nodemailer'
debug = require('debug') 'hMedia:mailer'
###
# Mailer extension
###
debug 'C... |
[
{
"context": "# Copyright (c) 2015 Jesse Grosjean. All rights reserved.\n\nfoldingTextService = requi",
"end": 35,
"score": 0.9997390508651733,
"start": 21,
"tag": "NAME",
"value": "Jesse Grosjean"
}
] | atom/packages/foldingtext-for-atom/lib/extensions/location-status-bar-item.coffee | prookie/dotfiles-1 | 0 | # Copyright (c) 2015 Jesse Grosjean. All rights reserved.
foldingTextService = require '../foldingtext-service'
{Disposable, CompositeDisposable} = require 'atom'
exports.consumeStatusBarService = (statusBar) ->
hoistElement = document.createElement 'a'
hoistElement.className = 'ft-location-status-bar-item icon-l... | 160089 | # Copyright (c) 2015 <NAME>. All rights reserved.
foldingTextService = require '../foldingtext-service'
{Disposable, CompositeDisposable} = require 'atom'
exports.consumeStatusBarService = (statusBar) ->
hoistElement = document.createElement 'a'
hoistElement.className = 'ft-location-status-bar-item icon-location ... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved.
foldingTextService = require '../foldingtext-service'
{Disposable, CompositeDisposable} = require 'atom'
exports.consumeStatusBarService = (statusBar) ->
hoistElement = document.createElement 'a'
hoistElement.className = 'ft-location-status-bar-item ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9989745020866394,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/debugger/test-debugger-repl-break-in-module.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... | 140840 | # 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": "7a4ed85-acc5-4495-b3d7-2d93439c04fa', ipAddress: '192.168.1.1'}\n @oldUpdateDevice.yields null, @device\n ",
"end": 1247,
"score": 0.999729335308075,
"start": 1236,
"tag": "IP_ADDRESS",
"value": "192.168.1.1"
},
{
"context": " @fromDevice.uuid\n ]\n ... | test/lib/claimDevice-spec.coffee | CESARBR/knot-cloud-source | 4 | describe 'claimDevice', ->
beforeEach ->
@oldUpdateDevice = sinon.stub()
@canConfigure = sinon.stub()
@getDeviceWithToken = sinon.stub()
@canConfigure.yields null, true
@dependencies = {oldUpdateDevice: @oldUpdateDevice, canConfigure: @canConfigure, getDeviceWithToken: @getDeviceWithToken}
... | 194487 | describe 'claimDevice', ->
beforeEach ->
@oldUpdateDevice = sinon.stub()
@canConfigure = sinon.stub()
@getDeviceWithToken = sinon.stub()
@canConfigure.yields null, true
@dependencies = {oldUpdateDevice: @oldUpdateDevice, canConfigure: @canConfigure, getDeviceWithToken: @getDeviceWithToken}
... | true | describe 'claimDevice', ->
beforeEach ->
@oldUpdateDevice = sinon.stub()
@canConfigure = sinon.stub()
@getDeviceWithToken = sinon.stub()
@canConfigure.yields null, true
@dependencies = {oldUpdateDevice: @oldUpdateDevice, canConfigure: @canConfigure, getDeviceWithToken: @getDeviceWithToken}
... |
[
{
"context": "ashion\", ->\n expect( toRows [\n name: \"Karl\"\n tags: [\n \"foo\"\n \"bar\"\n",
"end": 188,
"score": 0.9993601441383362,
"start": 184,
"tag": "NAME",
"value": "Karl"
},
{
"context": "\n \"baz\"\n ]\n ,\n ... | spec/experimental-export-spec.coffee | lxfrdl/irma | 1 | xdescribe "Experimental Export", ->
toRows = (a)->a
describe "simple case", ->
it "'flattens' nested arrays in a 'vertical' fashion", ->
expect( toRows [
name: "Karl"
tags: [
"foo"
"bar"
"baz"
]
,
name: "Otto"
tags: [
"... | 82259 | xdescribe "Experimental Export", ->
toRows = (a)->a
describe "simple case", ->
it "'flattens' nested arrays in a 'vertical' fashion", ->
expect( toRows [
name: "<NAME>"
tags: [
"foo"
"bar"
"baz"
]
,
name: "<NAME>"
tags: [
... | true | xdescribe "Experimental Export", ->
toRows = (a)->a
describe "simple case", ->
it "'flattens' nested arrays in a 'vertical' fashion", ->
expect( toRows [
name: "PI:NAME:<NAME>END_PI"
tags: [
"foo"
"bar"
"baz"
]
,
name: "PI:NAME:<NAME>END... |
[
{
"context": "describe 'third party data store', ->\n\tuser_id = \"123nd3ijdks\"\n\n\tbeforeEach ->\n\t\t@stubGet = sinon.stu",
"end": 382,
"score": 0.45234134793281555,
"start": 381,
"tag": "USERNAME",
"value": "1"
},
{
"context": "escribe 'third party data store', ->\n\tuser_id = \... | test/UnitTests/coffee/Dropbox/DropboxHandlerTests.coffee | ukasiu/web-sharelatex | 0 | SandboxedModule = require('sandboxed-module')
assert = require('assert')
require('chai').should()
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Dropbox/DropboxHandler.js'
thirdPartyDataStoreApiUrl = "http://third-party-json-store.herokuapp.com"
siteUrl = "www.sharel... | 65110 | SandboxedModule = require('sandboxed-module')
assert = require('assert')
require('chai').should()
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Dropbox/DropboxHandler.js'
thirdPartyDataStoreApiUrl = "http://third-party-json-store.herokuapp.com"
siteUrl = "www.sharel... | true | SandboxedModule = require('sandboxed-module')
assert = require('assert')
require('chai').should()
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Dropbox/DropboxHandler.js'
thirdPartyDataStoreApiUrl = "http://third-party-json-store.herokuapp.com"
siteUrl = "www.sharel... |
[
{
"context": " attachment = @props.attachment\n MsgFile key: attachment.get('_id'), attachment: attachment, onClick: @props.onFile",
"end": 1937,
"score": 0.9600435495376587,
"start": 1918,
"tag": "KEY",
"value": "attachment.get('_id"
}
] | talk-web/client/app/msg-result.coffee | ikingye/talk-os | 3,084 | React = require 'react'
recorder = require 'actions-recorder'
Immutable = require 'immutable'
PureRenderMixin = require 'react-addons-pure-render-mixin'
query = require '../query'
lang = require '../locales/lang'
mixinMessageHandler = require '../mixin/message-handler'
routerHandlers = require '../handlers/router'
C... | 144998 | React = require 'react'
recorder = require 'actions-recorder'
Immutable = require 'immutable'
PureRenderMixin = require 'react-addons-pure-render-mixin'
query = require '../query'
lang = require '../locales/lang'
mixinMessageHandler = require '../mixin/message-handler'
routerHandlers = require '../handlers/router'
C... | true | React = require 'react'
recorder = require 'actions-recorder'
Immutable = require 'immutable'
PureRenderMixin = require 'react-addons-pure-render-mixin'
query = require '../query'
lang = require '../locales/lang'
mixinMessageHandler = require '../mixin/message-handler'
routerHandlers = require '../handlers/router'
C... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990043640136719,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-request-methods.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... | 173885 | # 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": "s passed to constructor', ->\n options = name: 'Fatih', age: 27\n object = new spark.core.Object opt",
"end": 248,
"score": 0.9994642734527588,
"start": 243,
"tag": "NAME",
"value": "Fatih"
},
{
"context": "oBe options\n expect(object.options.name).toBe 'Fatih... | src/tests/core/test_object.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.require 'spark.core.Object'
goog.require 'goog.events'
goog.require 'goog.events.EventTarget'
describe 'spark.core.Object', ->
it 'should set options passed to constructor', ->
options = name: 'Fatih', age: 27
object = new spark.core.Object options
expect(objec... | 132151 | goog = goog or goog = require: ->
goog.require 'spark.core.Object'
goog.require 'goog.events'
goog.require 'goog.events.EventTarget'
describe 'spark.core.Object', ->
it 'should set options passed to constructor', ->
options = name: '<NAME>', age: 27
object = new spark.core.Object options
expect(obje... | true | goog = goog or goog = require: ->
goog.require 'spark.core.Object'
goog.require 'goog.events'
goog.require 'goog.events.EventTarget'
describe 'spark.core.Object', ->
it 'should set options passed to constructor', ->
options = name: 'PI:NAME:<NAME>END_PI', age: 27
object = new spark.core.Object options
... |
[
{
"context": "#####################\n# Title: HomeView\n# Author: kevin@wintr.us @ WINTR\n#########################################",
"end": 101,
"score": 0.9999097585678101,
"start": 87,
"tag": "EMAIL",
"value": "kevin@wintr.us"
},
{
"context": "####\n# Title: HomeView\n# Author: ... | source/javascripts/views/LoginView.coffee | WikiEducationFoundation/WikiEduWizard | 1 | #########################################################
# Title: HomeView
# Author: kevin@wintr.us @ WINTR
#########################################################
# APP
application = require( '../app' )
# SUPER VIEW CLASS
View = require('../views/supers/View')
#TEMPLATES
LoginTemplate = require('../templates/Lo... | 16430 | #########################################################
# Title: HomeView
# Author: <EMAIL> @ WINTR
#########################################################
# APP
application = require( '../app' )
# SUPER VIEW CLASS
View = require('../views/supers/View')
#TEMPLATES
LoginTemplate = require('../templates/LoginTemp... | true | #########################################################
# Title: HomeView
# Author: PI:EMAIL:<EMAIL>END_PI @ WINTR
#########################################################
# APP
application = require( '../app' )
# SUPER VIEW CLASS
View = require('../views/supers/View')
#TEMPLATES
LoginTemplate = require('../temp... |
[
{
"context": "an't be blank\"]\n \n user.set \"firstName\", \"Joe\"\n \n assert.deepEqual user.validate(), tru",
"end": 582,
"score": 0.9996521472930908,
"start": 579,
"tag": "NAME",
"value": "Joe"
},
{
"context": " \n record.set 'string_formatEmail', 'ex... | test/cases/model/validationTest.coffee | vjsingh/tower | 1 | require '../../config'
scope = null
criteria = null
user = null
record = null
describeWith = (store) ->
describe "Tower.Model.Validation (Tower.Store.#{store.constructor.name})", ->
beforeEach (done) ->
App.User.store(store)
App.Validatable.store(store)
user = new App.User(id: ... | 117359 | require '../../config'
scope = null
criteria = null
user = null
record = null
describeWith = (store) ->
describe "Tower.Model.Validation (Tower.Store.#{store.constructor.name})", ->
beforeEach (done) ->
App.User.store(store)
App.Validatable.store(store)
user = new App.User(id: ... | true | require '../../config'
scope = null
criteria = null
user = null
record = null
describeWith = (store) ->
describe "Tower.Model.Validation (Tower.Store.#{store.constructor.name})", ->
beforeEach (done) ->
App.User.store(store)
App.Validatable.store(store)
user = new App.User(id: ... |
[
{
"context": "f req?.user?.isAdmin()\n\n username = req.body.usernameLower\n emailLower = req.body.emailLower\n if e",
"end": 1425,
"score": 0.9559244513511658,
"start": 1412,
"tag": "USERNAME",
"value": "usernameLower"
},
{
"context": "operty:'email'}])\n\n user.... | server/routes/auth.coffee | JeremyGeros/codecombat | 1 | authentication = require('passport')
LocalStrategy = require('passport-local').Strategy
User = require('../users/User')
UserHandler = require('../users/user_handler')
LevelSession = require '../levels/sessions/LevelSession'
config = require '../../server_config'
errors = require '../commons/errors'
mail = require '../c... | 38576 | authentication = require('passport')
LocalStrategy = require('passport-local').Strategy
User = require('../users/User')
UserHandler = require('../users/user_handler')
LevelSession = require '../levels/sessions/LevelSession'
config = require '../../server_config'
errors = require '../commons/errors'
mail = require '../c... | true | authentication = require('passport')
LocalStrategy = require('passport-local').Strategy
User = require('../users/User')
UserHandler = require('../users/user_handler')
LevelSession = require '../levels/sessions/LevelSession'
config = require '../../server_config'
errors = require '../commons/errors'
mail = require '../c... |
[
{
"context": "d.equal true\n @client.rtm._token.should.equal 'xoxb-faketoken'\n\n it 'Should initialize with a web connection',",
"end": 316,
"score": 0.8813592791557312,
"start": 302,
"tag": "KEY",
"value": "xoxb-faketoken"
},
{
"context": "d.equal true\n @client.web._token.s... | test/client.coffee | osamunmun/meshi | 1 | {RtmClient, WebClient, MemoryDataStore} = require '@slack/client'
SlackFormatter = require '../src/formatter'
should = require 'should'
describe 'Init', ->
it 'Should initialize with a rtm connection', ->
(@client.rtm instanceof RtmClient).should.equal true
@client.rtm._token.should.equal 'xoxb-faketoken'
... | 33511 | {RtmClient, WebClient, MemoryDataStore} = require '@slack/client'
SlackFormatter = require '../src/formatter'
should = require 'should'
describe 'Init', ->
it 'Should initialize with a rtm connection', ->
(@client.rtm instanceof RtmClient).should.equal true
@client.rtm._token.should.equal '<KEY>'
it 'Shou... | true | {RtmClient, WebClient, MemoryDataStore} = require '@slack/client'
SlackFormatter = require '../src/formatter'
should = require 'should'
describe 'Init', ->
it 'Should initialize with a rtm connection', ->
(@client.rtm instanceof RtmClient).should.equal true
@client.rtm._token.should.equal 'PI:KEY:<KEY>END_PI... |
[
{
"context": " : 'hi'\n\nclass Parent extends Grandparent\n hi : 'ralph'\n\nclass Child extends Parent\n hi : 'UP'\n\nclass D",
"end": 78,
"score": 0.6089775562286377,
"start": 73,
"tag": "NAME",
"value": "ralph"
}
] | studio/node_modules/type-of-is/test/BarfClasses.coffee | liammews/Briefrr | 3 | class Grandparent
hi : 'hi'
class Parent extends Grandparent
hi : 'ralph'
class Child extends Parent
hi : 'UP'
class Derp
hi : 'no'
module.exports = {
Grandparent : Grandparent
Parent : Parent
Child : Child
Derp : Derp
}
| 150889 | class Grandparent
hi : 'hi'
class Parent extends Grandparent
hi : '<NAME>'
class Child extends Parent
hi : 'UP'
class Derp
hi : 'no'
module.exports = {
Grandparent : Grandparent
Parent : Parent
Child : Child
Derp : Derp
}
| true | class Grandparent
hi : 'hi'
class Parent extends Grandparent
hi : 'PI:NAME:<NAME>END_PI'
class Child extends Parent
hi : 'UP'
class Derp
hi : 'no'
module.exports = {
Grandparent : Grandparent
Parent : Parent
Child : Child
Derp : Derp
}
|
[
{
"context": "schema.pre 'save', (next) ->\n\t\t@activation_token = uuid.v1() unless @activation_token\n\t\tnext()\n\t\n\tschema.",
"end": 250,
"score": 0.5300732254981995,
"start": 246,
"tag": "KEY",
"value": "uuid"
}
] | src/index.coffee | nicholaswyoung/mongoose-confirmable | 0 | module.exports = (schema, options) ->
uuid = require('node-uuid')
schema.add
active:
type: Boolean
default: false
activated_at:
type: Date
activation_token:
type: String
schema.pre 'save', (next) ->
@activation_token = uuid.v1() unless @activation_token
next()
schema.methods.activate = (... | 141477 | module.exports = (schema, options) ->
uuid = require('node-uuid')
schema.add
active:
type: Boolean
default: false
activated_at:
type: Date
activation_token:
type: String
schema.pre 'save', (next) ->
@activation_token = <KEY>.v1() unless @activation_token
next()
schema.methods.activate = ... | true | module.exports = (schema, options) ->
uuid = require('node-uuid')
schema.add
active:
type: Boolean
default: false
activated_at:
type: Date
activation_token:
type: String
schema.pre 'save', (next) ->
@activation_token = PI:KEY:<KEY>END_PI.v1() unless @activation_token
next()
schema.method... |
[
{
"context": "'/api/v1/books/1').respond(200, { id: 1, TITOLO: \"Moby Dick\", AUTORE: 2, ETICHETTE: [2, 5] } )\n $httpBac",
"end": 1460,
"score": 0.9996843338012695,
"start": 1451,
"tag": "NAME",
"value": "Moby Dick"
},
{
"context": "'/api/v1/authors/2').respond(200, { id: 2, NO... | test/remap-spec.coffee | panta/angular-rest-orm | 21 | describe "field mapping functionality:", ->
$rootScope = undefined
$httpBackend = undefined
$q = undefined
Resource = undefined
Book = undefined
Author = undefined
Tag = undefined
beforeEach module("restOrm")
beforeEach inject(($injector) ->
$rootScope = $injector.get("$rootScope")
$httpBack... | 46114 | describe "field mapping functionality:", ->
$rootScope = undefined
$httpBackend = undefined
$q = undefined
Resource = undefined
Book = undefined
Author = undefined
Tag = undefined
beforeEach module("restOrm")
beforeEach inject(($injector) ->
$rootScope = $injector.get("$rootScope")
$httpBack... | true | describe "field mapping functionality:", ->
$rootScope = undefined
$httpBackend = undefined
$q = undefined
Resource = undefined
Book = undefined
Author = undefined
Tag = undefined
beforeEach module("restOrm")
beforeEach inject(($injector) ->
$rootScope = $injector.get("$rootScope")
$httpBack... |
[
{
"context": "|are you) (insult|insulting) me\n#\n# \n# Author:\n# buckmeisterq@gmail.com\n\ninsultUrl = 'http://www.pangloss.com/seidel/Shak",
"end": 230,
"score": 0.9999253749847412,
"start": 208,
"tag": "EMAIL",
"value": "buckmeisterq@gmail.com"
}
] | src/insults.coffee | dx-pbuckley/hubot-shakespearean-insults | 1 | # Description
# Insults you in a Shakespearean fashion
#
#
# Made possible by http://www.pangloss.com/seidel/Shaker/
#
#
# Commands:
# hubot (do|don't|are you) (insult|insulting) me
#
#
# Author:
# buckmeisterq@gmail.com
insultUrl = 'http://www.pangloss.com/seidel/Shaker/'
module.exports = (robot) ->
rob... | 206413 | # Description
# Insults you in a Shakespearean fashion
#
#
# Made possible by http://www.pangloss.com/seidel/Shaker/
#
#
# Commands:
# hubot (do|don't|are you) (insult|insulting) me
#
#
# Author:
# <EMAIL>
insultUrl = 'http://www.pangloss.com/seidel/Shaker/'
module.exports = (robot) ->
robotInsultRegex =... | true | # Description
# Insults you in a Shakespearean fashion
#
#
# Made possible by http://www.pangloss.com/seidel/Shaker/
#
#
# Commands:
# hubot (do|don't|are you) (insult|insulting) me
#
#
# Author:
# PI:EMAIL:<EMAIL>END_PI
insultUrl = 'http://www.pangloss.com/seidel/Shaker/'
module.exports = (robot) ->
rob... |
[
{
"context": "', ->\n irc.giveup()\n irc.doCommand 'NICK', 'ournick'\n irc.doCommand 'JOIN', '#bash'\n wait",
"end": 1211,
"score": 0.5015541315078735,
"start": 1210,
"tag": "USERNAME",
"value": "o"
},
{
"context": "n connects', ->\n\n joinChannel = (chan, nick='ourn... | test/irc_test.coffee | nornagon/ircv | 20 | describe 'An IRC client backend', ->
SERVER_WINDOW = window.chat.SERVER_WINDOW
CURRENT_WINDOW = window.chat.CURRENT_WINDOW
irc = socket = chat = undefined
waitsForArrayBufferConversion = () ->
waitsFor (-> not window.irc.util.isConvertingArrayBuffers()),
'wait for array buffer conversion', 500
res... | 65777 | describe 'An IRC client backend', ->
SERVER_WINDOW = window.chat.SERVER_WINDOW
CURRENT_WINDOW = window.chat.CURRENT_WINDOW
irc = socket = chat = undefined
waitsForArrayBufferConversion = () ->
waitsFor (-> not window.irc.util.isConvertingArrayBuffers()),
'wait for array buffer conversion', 500
res... | true | describe 'An IRC client backend', ->
SERVER_WINDOW = window.chat.SERVER_WINDOW
CURRENT_WINDOW = window.chat.CURRENT_WINDOW
irc = socket = chat = undefined
waitsForArrayBufferConversion = () ->
waitsFor (-> not window.irc.util.isConvertingArrayBuffers()),
'wait for array buffer conversion', 500
res... |
[
{
"context": " \"git_pull_url\": \"https://gist.github.com/5a4e4b8542b32cd7e7a2.git\",\n \"git_push_ur",
"end": 579,
"score": 0.8841023445129395,
"start": 578,
"tag": "USERNAME",
"value": "5"
},
{
"context": " \"git_pull_url\": \"https://gist.github.com/5a4e... | test/mock/api.github.com/gist.coffee | JumpeiArashi/blog.arashike.com | 0 | 'use strict'
angular.module 'arashike-blog'
.run [
'$httpBackend'
'apiEndpoint'
(
$httpBackend
) ->
$httpBackend.whenGET(/https:\/\/api\.github\.com\/gists\/\d+/)
.respond(
200,
{
"url": "https://api.github.com/gists/5a4e4b8542b32cd7e7a2",
... | 43779 | 'use strict'
angular.module 'arashike-blog'
.run [
'$httpBackend'
'apiEndpoint'
(
$httpBackend
) ->
$httpBackend.whenGET(/https:\/\/api\.github\.com\/gists\/\d+/)
.respond(
200,
{
"url": "https://api.github.com/gists/5a4e4b8542b32cd7e7a2",
... | true | 'use strict'
angular.module 'arashike-blog'
.run [
'$httpBackend'
'apiEndpoint'
(
$httpBackend
) ->
$httpBackend.whenGET(/https:\/\/api\.github\.com\/gists\/\d+/)
.respond(
200,
{
"url": "https://api.github.com/gists/5a4e4b8542b32cd7e7a2",
... |
[
{
"context": "01234567890123456789000b'\n\n invalidOauthAppId:'0123456789012345678900aa'\n\n invalidOauthApp:\n description: \"This is a ",
"end": 134,
"score": 0.757381796836853,
"start": 112,
"tag": "KEY",
"value": "23456789012345678900aa"
},
{
"context": ": ['user','test']\n\... | test/support/fixtures.coffee | codedoctor/hapi-routes-oauth-management | 1 |
module.exports =
clientId: 'someclientid'
_tenantId: '01234567890123456789000b'
invalidOauthAppId:'0123456789012345678900aa'
invalidOauthApp:
description: "This is a dummy"
isInternal: false
oauthApp1:
name: "app1"
description: "This is a app 1"
websiteUrl: 'http://somesite.com'
... | 80143 |
module.exports =
clientId: 'someclientid'
_tenantId: '01234567890123456789000b'
invalidOauthAppId:'01<KEY>'
invalidOauthApp:
description: "This is a dummy"
isInternal: false
oauthApp1:
name: "app1"
description: "This is a app 1"
websiteUrl: 'http://somesite.com'
imageUrl: null
... | true |
module.exports =
clientId: 'someclientid'
_tenantId: '01234567890123456789000b'
invalidOauthAppId:'01PI:KEY:<KEY>END_PI'
invalidOauthApp:
description: "This is a dummy"
isInternal: false
oauthApp1:
name: "app1"
description: "This is a app 1"
websiteUrl: 'http://somesite.com'
ima... |
[
{
"context": "llback) ->\n server = xip.createServer \"xip.io\", \"1.2.3.4\"\n server.bind 0\n {port} = server.address()\n ca",
"end": 128,
"score": 0.9992772936820984,
"start": 121,
"tag": "IP_ADDRESS",
"value": "1.2.3.4"
},
{
"context": "(port, type, hostname, callback) ->\n e... | test/test_xip.coffee | fixate/xipd | 1 | xip = require ".."
{exec} = require "child_process"
createServer = (callback) ->
server = xip.createServer "xip.io", "1.2.3.4"
server.bind 0
{port} = server.address()
callback port, (done) ->
server.close()
done()
dig = (port, type, hostname, callback) ->
exec "dig @0.0.0.0 -p #{port} #{type} #{host... | 192322 | xip = require ".."
{exec} = require "child_process"
createServer = (callback) ->
server = xip.createServer "xip.io", "192.168.127.12"
server.bind 0
{port} = server.address()
callback port, (done) ->
server.close()
done()
dig = (port, type, hostname, callback) ->
exec "dig @0.0.0.0 -p #{port} #{type}... | true | xip = require ".."
{exec} = require "child_process"
createServer = (callback) ->
server = xip.createServer "xip.io", "PI:IP_ADDRESS:192.168.127.12END_PI"
server.bind 0
{port} = server.address()
callback port, (done) ->
server.close()
done()
dig = (port, type, hostname, callback) ->
exec "dig @0.0.0.... |
[
{
"context": "ct\", ->\r\n names = stooges: [\r\n name: \"moe\"\r\n ,\r\n name: \"larry\"\r\n ]\r\n ",
"end": 303,
"score": 0.9985862970352173,
"start": 300,
"tag": "NAME",
"value": "moe"
},
{
"context": ": [\r\n name: \"moe\"\r\n ,\r\n ... | source/spec/blending/shared/lodashMerge-specs.coffee | anodynos/uBerscore | 1 | # clone to check mutability
{ project, global, bundle, obj, arrInt, arrInt2, arrStr } = _.clone data, true
module.exports = (deepExtendMergeBlend)->
describe 'lodash.merge specs', ->
it "should merge `source` into the destination object", ->
names = stooges: [
name: "moe"
,
... | 50249 | # clone to check mutability
{ project, global, bundle, obj, arrInt, arrInt2, arrStr } = _.clone data, true
module.exports = (deepExtendMergeBlend)->
describe 'lodash.merge specs', ->
it "should merge `source` into the destination object", ->
names = stooges: [
name: "<NAME>"
,
... | true | # clone to check mutability
{ project, global, bundle, obj, arrInt, arrInt2, arrStr } = _.clone data, true
module.exports = (deepExtendMergeBlend)->
describe 'lodash.merge specs', ->
it "should merge `source` into the destination object", ->
names = stooges: [
name: "PI:NAME:<NAME>END_PI... |
[
{
"context": "# Copyright (c) 2012-2013 Christian Höltje\n#\n# Permission is hereby granted, free of charge,",
"end": 42,
"score": 0.9998760223388672,
"start": 26,
"tag": "NAME",
"value": "Christian Höltje"
}
] | coffeescripts/app.coffee | docwhat/40days | 0 | # Copyright (c) 2012-2013 Christian Höltje
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publis... | 212553 | # Copyright (c) 2012-2013 <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distrib... | true | # Copyright (c) 2012-2013 PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, pu... |
[
{
"context": "# BlogRoute of BanaJs\n# author: dreampuf(soddyque@gmail.com)\n\nutils = require \"util\"\nPath ",
"end": 40,
"score": 0.999648928642273,
"start": 32,
"tag": "USERNAME",
"value": "dreampuf"
},
{
"context": "# BlogRoute of BanaJs\n# author: dreampuf(soddyque@gmail.com)\n... | route/blog_route.coffee | dreampuf/banajs | 3 | # BlogRoute of BanaJs
# author: dreampuf(soddyque@gmail.com)
utils = require "util"
Path = require "path"
md = require("node-markdown").Markdown
config = require "../config"
model = require "../model"
Content = model.Content
helper = require "../helper"
class BlogError extends Error
constructor: (@message="Error", ... | 190740 | # BlogRoute of BanaJs
# author: dreampuf(<EMAIL>)
utils = require "util"
Path = require "path"
md = require("node-markdown").Markdown
config = require "../config"
model = require "../model"
Content = model.Content
helper = require "../helper"
class BlogError extends Error
constructor: (@message="Error", @statuscode... | true | # BlogRoute of BanaJs
# author: dreampuf(PI:EMAIL:<EMAIL>END_PI)
utils = require "util"
Path = require "path"
md = require("node-markdown").Markdown
config = require "../config"
model = require "../model"
Content = model.Content
helper = require "../helper"
class BlogError extends Error
constructor: (@message="Erro... |
[
{
"context": "=======\n # Custom Key Input by Hyakka Studio\n # By Geoffrey Chueng <kahogeoff@gmail.com> [Hyakka Studio]\n # HRM_Cust",
"end": 143,
"score": 0.9998820424079895,
"start": 128,
"tag": "NAME",
"value": "Geoffrey Chueng"
},
{
"context": "Key Input by Hyakka Studio\n # By ... | src/HRM_CustomKeyInput.coffee | HyakkaStudio/RPG-Maker-MV-Plugins | 2 | ###
# =============================================================================
# Custom Key Input by Hyakka Studio
# By Geoffrey Chueng <kahogeoff@gmail.com> [Hyakka Studio]
# HRM_CustomKeyInput.js
# Version: 0.1
# Released under MIT
# Keep this section when you are using this plugin without any editing
# ... | 177541 | ###
# =============================================================================
# Custom Key Input by Hyakka Studio
# By <NAME> <<EMAIL>> [Hyakka Studio]
# HRM_CustomKeyInput.js
# Version: 0.1
# Released under MIT
# Keep this section when you are using this plugin without any editing
# =====================... | true | ###
# =============================================================================
# Custom Key Input by Hyakka Studio
# By PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> [Hyakka Studio]
# HRM_CustomKeyInput.js
# Version: 0.1
# Released under MIT
# Keep this section when you are using this plugin without any edi... |
[
{
"context": " title: \"Crime and Punishment\"\n author: \"Dostoyevsky\"\n @scope.fields = [\"title\", \"author\"]\n @com",
"end": 434,
"score": 0.9995834231376648,
"start": 423,
"tag": "NAME",
"value": "Dostoyevsky"
}
] | angular-schema-form-master/spec/schema_form_fields_spec.js.coffee | nmerr/ELP | 0 | describe "schemaFormFields directive", ->
beforeEach ->
module("schemaForm")
beforeEach inject( ($compile, $rootScope) ->
@scope = $rootScope.$new()
@scope.schema =
type: "object"
properties:
title:
title: "Title"
type: "string"
author:
title: "... | 31491 | describe "schemaFormFields directive", ->
beforeEach ->
module("schemaForm")
beforeEach inject( ($compile, $rootScope) ->
@scope = $rootScope.$new()
@scope.schema =
type: "object"
properties:
title:
title: "Title"
type: "string"
author:
title: "... | true | describe "schemaFormFields directive", ->
beforeEach ->
module("schemaForm")
beforeEach inject( ($compile, $rootScope) ->
@scope = $rootScope.$new()
@scope.schema =
type: "object"
properties:
title:
title: "Title"
type: "string"
author:
title: "... |
[
{
"context": "ro = col.gen 'gram_macro'\n # macro.hash.token = 'rvalue'\n # macro.hash.aux_mx = 'priority=-9000'\n ",
"end": 2227,
"score": 0.5806364417076111,
"start": 2226,
"tag": "KEY",
"value": "r"
},
{
"context": "o = col.gen 'gram_macro'\n # macro.hash.token = 'rvalue'\n #... | gen_lang.coffee | hu2prod/elayer | 0 | #!/usr/bin/env iced
### !pragma coverage-skip-block ###
require 'fy'
fs = require 'fs'
mod = require('meta_block_gen')()
col = new mod.Block_blueprint_collection
{exec} = require 'child_process'
require('meta_block_gen/file_gen')(col)
# require('lang_gen/lib/tok')(col)
# require('lang_gen/lib/gram')(col)
require('la... | 68609 | #!/usr/bin/env iced
### !pragma coverage-skip-block ###
require 'fy'
fs = require 'fs'
mod = require('meta_block_gen')()
col = new mod.Block_blueprint_collection
{exec} = require 'child_process'
require('meta_block_gen/file_gen')(col)
# require('lang_gen/lib/tok')(col)
# require('lang_gen/lib/gram')(col)
require('la... | true | #!/usr/bin/env iced
### !pragma coverage-skip-block ###
require 'fy'
fs = require 'fs'
mod = require('meta_block_gen')()
col = new mod.Block_blueprint_collection
{exec} = require 'child_process'
require('meta_block_gen/file_gen')(col)
# require('lang_gen/lib/tok')(col)
# require('lang_gen/lib/gram')(col)
require('la... |
[
{
"context": "\nemp = require '../exports/emp'\n\nbash_path_key = 'emp-channel-wizard.path'\n\nrel_erl_dir = '../../erl_util/atom_pl_parse_jso",
"end": 166,
"score": 0.9995630979537964,
"start": 143,
"tag": "KEY",
"value": "emp-channel-wizard.path"
}
] | lib/emp_app/conf_parser.coffee | jcrom/emp-debugger | 2 | path = require 'path'
fs = require 'fs'
c_process = require 'child_process'
os = require 'os'
emp = require '../exports/emp'
bash_path_key = 'emp-channel-wizard.path'
rel_erl_dir = '../../erl_util/atom_pl_parse_json.erl'
rel_erl_path = '../../erl_util/'
# rel_ebin_dir = '../../erl_util/'
emp = require '../exports/emp... | 129618 | path = require 'path'
fs = require 'fs'
c_process = require 'child_process'
os = require 'os'
emp = require '../exports/emp'
bash_path_key = '<KEY>'
rel_erl_dir = '../../erl_util/atom_pl_parse_json.erl'
rel_erl_path = '../../erl_util/'
# rel_ebin_dir = '../../erl_util/'
emp = require '../exports/emp'
os_platform = em... | true | path = require 'path'
fs = require 'fs'
c_process = require 'child_process'
os = require 'os'
emp = require '../exports/emp'
bash_path_key = 'PI:KEY:<KEY>END_PI'
rel_erl_dir = '../../erl_util/atom_pl_parse_json.erl'
rel_erl_path = '../../erl_util/'
# rel_ebin_dir = '../../erl_util/'
emp = require '../exports/emp'
os_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.