entities listlengths 1 8.61k | max_stars_repo_path stringlengths 7 172 | max_stars_repo_name stringlengths 5 89 | max_stars_count int64 0 82k | content stringlengths 14 1.05M | id stringlengths 2 6 | new_content stringlengths 15 1.05M | modified bool 1
class | references stringlengths 29 1.05M |
|---|---|---|---|---|---|---|---|---|
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9988400936126709,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-keepalive-request.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... | 36482 | # 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": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999117851257324,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmapset-page/main.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 { Header } from './header'
import { Hype } from './hype'
import { Info } from './info'
import { Scoreboard } from './scoreboard'
import { ... | 27916 | # 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 { Header } from './header'
import { Hype } from './hype'
import { Info } from './info'
import { Scoreboard } from './scoreboard'
import { Comment... | 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 { Header } from './header'
import { Hype } from './hype'
import { Info } from './info'
import { Scoreboard } from './scoreboard'
i... |
[
{
"context": " obj\n\n startBuild:(project,target)->\n key = project.id+\"-\"+target\n if not @builds[key]\n @builds[key] = new ",
"end": 925,
"score": 0.9939605593681335,
"start": 904,
"tag": "KEY",
"value": "project.id+\"-\"+target"
},
{
"context": "false\n\n getBui... | server/build/buildmanager.coffee | sksdutra/microstudio | 0 | Builder = require __dirname+"/builder.js"
Build = require __dirname+"/build.js"
class @BuildManager
constructor:(@server)->
@builders = {}
@builds = {}
@jobs = []
registerBuilder:(session,target)->
builder = new Builder @,session,target
if not @builders[target]
@builders[target] = [buil... | 184494 | Builder = require __dirname+"/builder.js"
Build = require __dirname+"/build.js"
class @BuildManager
constructor:(@server)->
@builders = {}
@builds = {}
@jobs = []
registerBuilder:(session,target)->
builder = new Builder @,session,target
if not @builders[target]
@builders[target] = [buil... | true | Builder = require __dirname+"/builder.js"
Build = require __dirname+"/build.js"
class @BuildManager
constructor:(@server)->
@builders = {}
@builds = {}
@jobs = []
registerBuilder:(session,target)->
builder = new Builder @,session,target
if not @builders[target]
@builders[target] = [buil... |
[
{
"context": " key phrase is 'next bank holiday'\n#\n# Author:\n# Dean Wilson <dean.wilson@gmail.com>\n\ncheerio = require('cheer",
"end": 219,
"score": 0.9998555183410645,
"start": 208,
"tag": "NAME",
"value": "Dean Wilson"
},
{
"context": " 'next bank holiday'\n#\n# Author:\n# ... | src/uk-bank-holidays.coffee | deanwilson/hubot-uk-bank-holidays | 0 | # Description
# Returns the next UK Bank Holiday
#
# Commands:
# When's the `next bank holiday` - 'Next bank holiday is 25 March for Good Friday'
# The key phrase is 'next bank holiday'
#
# Author:
# Dean Wilson <dean.wilson@gmail.com>
cheerio = require('cheerio')
module.exports = (robot) ->
robot.hear /nex... | 55649 | # Description
# Returns the next UK Bank Holiday
#
# Commands:
# When's the `next bank holiday` - 'Next bank holiday is 25 March for Good Friday'
# The key phrase is 'next bank holiday'
#
# Author:
# <NAME> <<EMAIL>>
cheerio = require('cheerio')
module.exports = (robot) ->
robot.hear /next bank holiday/i, (... | true | # Description
# Returns the next UK Bank Holiday
#
# Commands:
# When's the `next bank holiday` - 'Next bank holiday is 25 March for Good Friday'
# The key phrase is 'next bank holiday'
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
cheerio = require('cheerio')
module.exports = (robot) ->
robot... |
[
{
"context": "###\n Pokemon Go(c) MITM node proxy\n by Michael Strassburger <codepoet@cpan.org>\n\n This example just dumps al",
"end": 61,
"score": 0.9998764991760254,
"start": 41,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " Go(c) MITM node proxy\n by Michae... | example.logTraffic.coffee | noobcakes4603/tinkering | 393 | ###
Pokemon Go(c) MITM node proxy
by Michael Strassburger <codepoet@cpan.org>
This example just dumps all in-/outgoing messages and responses
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
# Uncomment if you want to filter the regular messages
# ignore = ['GetHatchedEggs', 'DownloadSettings', 'GetInvento... | 157929 | ###
Pokemon Go(c) MITM node proxy
by <NAME> <<EMAIL>>
This example just dumps all in-/outgoing messages and responses
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
# Uncomment if you want to filter the regular messages
# ignore = ['GetHatchedEggs', 'DownloadSettings', 'GetInventory', 'CheckAwardedBadges... | true | ###
Pokemon Go(c) MITM node proxy
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
This example just dumps all in-/outgoing messages and responses
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
# Uncomment if you want to filter the regular messages
# ignore = ['GetHatchedEggs', 'DownloadSettings', 'GetIn... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998912811279297,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\nclass Instance... | source/javascripts/new_src/loaders/collada/instance_material.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
class InstanceMaterial
constructor: ->
@symbol = ""
@target = ""
parse: (element) ->
@symbol = element.getAttribute "symbol"
@target = element.getAttribute("target").replace /^#/, ""
... | 12327 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
class InstanceMaterial
constructor: ->
@symbol = ""
@target = ""
parse: (element) ->
@symbol = element.getAttribute "symbol"
@target = element.getAttribute("target").replace /^#/, ""
this
names... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
class InstanceMaterial
constructor: ->
@symbol = ""
@target = ""
parse: (element) ->
@symbol = element.getAttribute "symbol"
@target = element.getAttribute("target").replace... |
[
{
"context": " with the bottom caption of <text>\n#\n# Author:\n# Juan Pablo Ortiz <pablasso@gmail.com>\n\ninspect = require('util').i",
"end": 293,
"score": 0.999882161617279,
"start": 277,
"tag": "NAME",
"value": "Juan Pablo Ortiz"
},
{
"context": "ption of <text>\n#\n# Author:\n... | src/matt.coffee | pablasso/hubot-matt | 2 | # Description:
# Create a celebration matt meme
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_MEMEGEN_USERNAME
# HUBOT_MEMEGEN_PASSWORD
#
# Commands:
# hubot matt me <text> - Generates the celebration matt meme with the bottom caption of <text>
#
# Author:
# Juan Pablo Ortiz <pablasso@gmail.com>
insp... | 7904 | # Description:
# Create a celebration matt meme
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_MEMEGEN_USERNAME
# HUBOT_MEMEGEN_PASSWORD
#
# Commands:
# hubot matt me <text> - Generates the celebration matt meme with the bottom caption of <text>
#
# Author:
# <NAME> <<EMAIL>>
inspect = require('util')... | true | # Description:
# Create a celebration matt meme
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_MEMEGEN_USERNAME
# HUBOT_MEMEGEN_PASSWORD
#
# Commands:
# hubot matt me <text> - Generates the celebration matt meme with the bottom caption of <text>
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_P... |
[
{
"context": "KOU_CONDUCTOR_ROUTING_KEY\"]\n\n# https://github.com/joukou/joukou-conductor-rabbitmq/blob/develop/src/lib/co",
"end": 787,
"score": 0.9996083974838257,
"start": 781,
"tag": "USERNAME",
"value": "joukou"
},
{
"context": "onductorRoutingKey\n JoukouConductorRoutingKey =... | src/protocols/network/rabbit-client.coffee | joukou/joukou-flow | 0 | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | 55714 | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... | true | ###
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distr... |
[
{
"context": "don't work unless there's a DOM object for them --Jason (7/15/13)\n $cardHolder.children(\".dynamic-ch",
"end": 1225,
"score": 0.6964370608329773,
"start": 1220,
"tag": "NAME",
"value": "Jason"
}
] | app/assets/javascripts/index/onload.coffee | TheBizzle/ClowCards | 0 | f =
->
dependOn("root_main")
dependOn("api_prototypes")
Cards = dependOn("index_cards")
globals = dependOn("index_globals")
$globals = dependOn("index_jglobals")
Element = dependOn("index_element")
Obj = dependOn("adt_obj")
$ = dependOn("api_jquery")
initGlobals... | 142393 | f =
->
dependOn("root_main")
dependOn("api_prototypes")
Cards = dependOn("index_cards")
globals = dependOn("index_globals")
$globals = dependOn("index_jglobals")
Element = dependOn("index_element")
Obj = dependOn("adt_obj")
$ = dependOn("api_jquery")
initGlobals... | true | f =
->
dependOn("root_main")
dependOn("api_prototypes")
Cards = dependOn("index_cards")
globals = dependOn("index_globals")
$globals = dependOn("index_jglobals")
Element = dependOn("index_element")
Obj = dependOn("adt_obj")
$ = dependOn("api_jquery")
initGlobals... |
[
{
"context": "ed', (assert) ->\n shop = @subject(id: 33, name: \"Maruyama Farms\")\n adapter = @container.lookupFactory(\"adapter:r",
"end": 671,
"score": 0.9411724805831909,
"start": 657,
"tag": "NAME",
"value": "Maruyama Farms"
},
{
"context": "e.createRecord \"salsa\",\n id... | tests/unit/adapters/relationship-test.coffee | foxnewsnetwork/autox | 0 | `import Ember from 'ember'`
`import { moduleForModel, test } from 'ember-qunit'`
`import ENV from 'dummy/config/environment'`
moduleForModel 'shop', 'Unit | Adapter | relationship', {
# Specify the other units that are required for this test.
needs: [
'service:session',
'service:autox-session-context',
... | 222025 | `import Ember from 'ember'`
`import { moduleForModel, test } from 'ember-qunit'`
`import ENV from 'dummy/config/environment'`
moduleForModel 'shop', 'Unit | Adapter | relationship', {
# Specify the other units that are required for this test.
needs: [
'service:session',
'service:autox-session-context',
... | true | `import Ember from 'ember'`
`import { moduleForModel, test } from 'ember-qunit'`
`import ENV from 'dummy/config/environment'`
moduleForModel 'shop', 'Unit | Adapter | relationship', {
# Specify the other units that are required for this test.
needs: [
'service:session',
'service:autox-session-context',
... |
[
{
"context": "a standard way to catch keyboard input\n*\n* @author David Jegat <david.jegat@gmail.com>\n###\nclass Input\n\n ###*\n ",
"end": 77,
"score": 0.9998842477798462,
"start": 66,
"tag": "NAME",
"value": "David Jegat"
},
{
"context": " to catch keyboard input\n*\n* @author D... | src/Input.coffee | Djeg/MicroRacing | 1 | ###*
* Defined a standard way to catch keyboard input
*
* @author David Jegat <david.jegat@gmail.com>
###
class Input
###*
* Return the char code of a string
*
* @static
* @param {string} character
* @return {number}
###
@key: (character) ->
if character.length > 1
throw "Character is too lon... | 28934 | ###*
* Defined a standard way to catch keyboard input
*
* @author <NAME> <<EMAIL>>
###
class Input
###*
* Return the char code of a string
*
* @static
* @param {string} character
* @return {number}
###
@key: (character) ->
if character.length > 1
throw "Character is too long. Expecting just o... | true | ###*
* Defined a standard way to catch keyboard input
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
class Input
###*
* Return the char code of a string
*
* @static
* @param {string} character
* @return {number}
###
@key: (character) ->
if character.length > 1
throw "Character ... |
[
{
"context": ")\n xhr.setRequestHeader(\"X-CSRF-Token\", \"abc-123\")\n xhr.send(JSON.stringify({foo: \"bar\"})",
"end": 817,
"score": 0.5946475267410278,
"start": 810,
"tag": "KEY",
"value": "abc-123"
},
{
"context": "t(resp.headers).to.have.property(\"x-csrf-token... | packages/server/test/support/fixtures/projects/e2e/cypress/integration/xhr_spec.coffee | Everworks/cypress | 2 | describe "xhrs", ->
it "can encode + decode headers", ->
getResp = ->
{
"test": "We’ll"
}
cy
.server()
.route(/api/, getResp()).as("getApi")
.visit("/index.html")
.window().then (win) ->
xhr = new win.XMLHttpRequest
xhr.open("GET", "/api/v1/foo/bar?... | 116185 | describe "xhrs", ->
it "can encode + decode headers", ->
getResp = ->
{
"test": "We’ll"
}
cy
.server()
.route(/api/, getResp()).as("getApi")
.visit("/index.html")
.window().then (win) ->
xhr = new win.XMLHttpRequest
xhr.open("GET", "/api/v1/foo/bar?... | true | describe "xhrs", ->
it "can encode + decode headers", ->
getResp = ->
{
"test": "We’ll"
}
cy
.server()
.route(/api/, getResp()).as("getApi")
.visit("/index.html")
.window().then (win) ->
xhr = new win.XMLHttpRequest
xhr.open("GET", "/api/v1/foo/bar?... |
[
{
"context": "sponds with shortened link for bug\n#\n# Author:\n# hhorsman[kariudo@gmail.com]\n\nmodule.exports.domain = domai",
"end": 441,
"score": 0.9986221790313721,
"start": 433,
"tag": "USERNAME",
"value": "hhorsman"
},
{
"context": "h shortened link for bug\n#\n# Author:\n# ... | src/bugzilla-short.coffee | kariudo/hubot-bugzilla-short | 1 | # Description
# A hubot script to return short links to bugzilla bugs when mentioned
#
# Configuration:
# HUBOT_BITLY_TOKEN
# HUBOT_BUGZILLA_URL (i.e. https://bugzilla.example.com)
#
# Commands:
# bug [query] - responds with shortened link for bug
# bug[query] - responds with shortened link for bug
# bz [qu... | 205545 | # Description
# A hubot script to return short links to bugzilla bugs when mentioned
#
# Configuration:
# HUBOT_BITLY_TOKEN
# HUBOT_BUGZILLA_URL (i.e. https://bugzilla.example.com)
#
# Commands:
# bug [query] - responds with shortened link for bug
# bug[query] - responds with shortened link for bug
# bz [qu... | true | # Description
# A hubot script to return short links to bugzilla bugs when mentioned
#
# Configuration:
# HUBOT_BITLY_TOKEN
# HUBOT_BUGZILLA_URL (i.e. https://bugzilla.example.com)
#
# Commands:
# bug [query] - responds with shortened link for bug
# bug[query] - responds with shortened link for bug
# bz [qu... |
[
{
"context": "mails to the person who submitted the patch, or to Nick, George, or Scott.\n watchers = (w for w in wat",
"end": 3904,
"score": 0.9996799230575562,
"start": 3900,
"tag": "NAME",
"value": "Nick"
},
{
"context": "to the person who submitted the patch, or to Nick, Georg... | server/middleware/versions.coffee | differentmatt/codecombat | 0 | utils = require '../lib/utils'
errors = require '../commons/errors'
User = require '../users/User'
sendwithus = require '../sendwithus'
slack = require '../slack'
_ = require 'lodash'
wrap = require 'co-express'
mongoose = require 'mongoose'
database = require '../commons/database'
parse = require '../commons/parse'
m... | 183729 | utils = require '../lib/utils'
errors = require '../commons/errors'
User = require '../users/User'
sendwithus = require '../sendwithus'
slack = require '../slack'
_ = require 'lodash'
wrap = require 'co-express'
mongoose = require 'mongoose'
database = require '../commons/database'
parse = require '../commons/parse'
m... | true | utils = require '../lib/utils'
errors = require '../commons/errors'
User = require '../users/User'
sendwithus = require '../sendwithus'
slack = require '../slack'
_ = require 'lodash'
wrap = require 'co-express'
mongoose = require 'mongoose'
database = require '../commons/database'
parse = require '../commons/parse'
m... |
[
{
"context": "an>\n <input type=\"text\" placeholder=\"${6:john@suhr.com}\">\n </label>\n </div>\n \"\"\"\n\n '",
"end": 1863,
"score": 0.9999293684959412,
"start": 1850,
"tag": "EMAIL",
"value": "john@suhr.com"
}
] | snippets/form.cson | mod-john/ionic-atom-plugin | 21 | ".text.html":
'Plachehoder Label':
'prefix':'ionic-css-form-placeholder'
'body' : """
<div class="list">
<label class="item item-input">
<input type="text" placeholder="${1:First Name}">
</label>
<label class="item item-input">
<input type="text" placeh... | 175019 | ".text.html":
'Plachehoder Label':
'prefix':'ionic-css-form-placeholder'
'body' : """
<div class="list">
<label class="item item-input">
<input type="text" placeholder="${1:First Name}">
</label>
<label class="item item-input">
<input type="text" placeh... | true | ".text.html":
'Plachehoder Label':
'prefix':'ionic-css-form-placeholder'
'body' : """
<div class="list">
<label class="item item-input">
<input type="text" placeholder="${1:First Name}">
</label>
<label class="item item-input">
<input type="text" placeh... |
[
{
"context": "tSize Plugin (http://jfontsize.com)\n * \n * Author: Anders Johnson\n * AndersDJohnson@gmail.com\n * http://github.co",
"end": 124,
"score": 0.9998910427093506,
"start": 110,
"tag": "NAME",
"value": "Anders Johnson"
},
{
"context": "//jfontsize.com)\n * \n * Author: A... | jquery.jfontsize2.coffee | AndersDJohnson/jquery.jfontsize2 | 0 | ###
* jQuery jFontSize2 Plugin
*
* Based on jQuery jFontSize Plugin (http://jfontsize.com)
*
* Author: Anders Johnson
* AndersDJohnson@gmail.com
* http://github.com/AndersDJohnson
*
* License:
* Dual licensed under the MIT and GPL licenses.
*
* Original Author:
* Frederico Soares Vanelli
* freds... | 71882 | ###
* jQuery jFontSize2 Plugin
*
* Based on jQuery jFontSize Plugin (http://jfontsize.com)
*
* Author: <NAME>
* <EMAIL>
* http://github.com/AndersDJohnson
*
* License:
* Dual licensed under the MIT and GPL licenses.
*
* Original Author:
* <NAME>
* <EMAIL>
* http://twitter.com/fredvanelli
* ... | true | ###
* jQuery jFontSize2 Plugin
*
* Based on jQuery jFontSize Plugin (http://jfontsize.com)
*
* Author: PI:NAME:<NAME>END_PI
* PI:EMAIL:<EMAIL>END_PI
* http://github.com/AndersDJohnson
*
* License:
* Dual licensed under the MIT and GPL licenses.
*
* Original Author:
* PI:NAME:<NAME>END_PI
* PI:EM... |
[
{
"context": " Rule to flag non-camelcased identifiers\n# @author Nicholas C. Zakas\n###\n\n'use strict'\n\n#-----------------------------",
"end": 88,
"score": 0.9997963309288025,
"start": 71,
"tag": "NAME",
"value": "Nicholas C. Zakas"
}
] | src/rules/camelcase.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag non-camelcased identifiers
# @author Nicholas C. Zakas
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs... | 90139 | ###*
# @fileoverview Rule to flag non-camelcased identifiers
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
docs:
des... | true | ###*
# @fileoverview Rule to flag non-camelcased identifiers
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
d... |
[
{
"context": "n\n constructor: (@game, @Opponent, @opener = 'For Karl Marx!', @won = '... You know what? You\\'re right. Mayb",
"end": 244,
"score": 0.9914047718048096,
"start": 235,
"tag": "NAME",
"value": "Karl Marx"
}
] | src/js/battle.coffee | Huntrr/Battle-Resolution | 0 | $ = require 'lib/jquery.js'
Async = require 'lib/async.js'
Screen = require './screen.coffee'
# Battle screen. Pits player against an enemy
module.exports = class Battle extends Screen
constructor: (@game, @Opponent, @opener = 'For Karl Marx!', @won = '... You know what? You\'re right. Maybe CAPITALISM is better aft... | 179349 | $ = require 'lib/jquery.js'
Async = require 'lib/async.js'
Screen = require './screen.coffee'
# Battle screen. Pits player against an enemy
module.exports = class Battle extends Screen
constructor: (@game, @Opponent, @opener = 'For <NAME>!', @won = '... You know what? You\'re right. Maybe CAPITALISM is better after ... | true | $ = require 'lib/jquery.js'
Async = require 'lib/async.js'
Screen = require './screen.coffee'
# Battle screen. Pits player against an enemy
module.exports = class Battle extends Screen
constructor: (@game, @Opponent, @opener = 'For PI:NAME:<NAME>END_PI!', @won = '... You know what? You\'re right. Maybe CAPITALISM is... |
[
{
"context": " required: true\n default: ''\n example: 'waldo'\n values: ''\n \n inheriting = \n name:\n ",
"end": 244,
"score": 0.9225969910621643,
"start": 239,
"tag": "NAME",
"value": "waldo"
},
{
"context": " required: true\n default: ''\n example: ... | test/unit/inherit-parameters-test.coffee | HBOCodeLabs/dredd | 438 | {assert} = require 'chai'
inheritParameters = require '../../src/inherit-parameters'
describe 'inheritParameters()', () ->
actual =
name:
description: ''
type: ''
required: true
default: ''
example: 'waldo'
values: ''
inheriting =
name:
description: ''
... | 87747 | {assert} = require 'chai'
inheritParameters = require '../../src/inherit-parameters'
describe 'inheritParameters()', () ->
actual =
name:
description: ''
type: ''
required: true
default: ''
example: '<NAME>'
values: ''
inheriting =
name:
description: ''
... | true | {assert} = require 'chai'
inheritParameters = require '../../src/inherit-parameters'
describe 'inheritParameters()', () ->
actual =
name:
description: ''
type: ''
required: true
default: ''
example: 'PI:NAME:<NAME>END_PI'
values: ''
inheriting =
name:
descrip... |
[
{
"context": " a private method\nconsole.log user._surname # => 'Batman'\nconsole.log user._say() # => 'I'm Batman, but ss",
"end": 406,
"score": 0.9879181981086731,
"start": 400,
"tag": "NAME",
"value": "Batman"
},
{
"context": "me # => 'Batman'\nconsole.log user._say() # => 'I'm Ba... | index.coffee | Kikobeats/coffee_playground | 0 | ####
# Dependencies
####
User = require './lib/User'
####
# Main
####
console.log "-- Static Methods --"
console.log User
User.say() # => I'm a user model, u know ?"
console.log User.VARIABLE # => 3
console.log "\n-- Private Methods --"
user = new User
console.log user
# Note how '_surname' method is not printed wh... | 38588 | ####
# Dependencies
####
User = require './lib/User'
####
# Main
####
console.log "-- Static Methods --"
console.log User
User.say() # => I'm a user model, u know ?"
console.log User.VARIABLE # => 3
console.log "\n-- Private Methods --"
user = new User
console.log user
# Note how '_surname' method is not printed wh... | true | ####
# Dependencies
####
User = require './lib/User'
####
# Main
####
console.log "-- Static Methods --"
console.log User
User.say() # => I'm a user model, u know ?"
console.log User.VARIABLE # => 3
console.log "\n-- Private Methods --"
user = new User
console.log user
# Note how '_surname' method is not printed wh... |
[
{
"context": "d #{count} duplicates\"\n return null\n key = \"#{row.reading}\\x00#{row.candidate}\"\n if seen.has ",
"end": 9745,
"score": 0.8985400795936584,
"start": 9742,
"tag": "KEY",
"value": "\"#{"
},
{
"context": "t} duplicates\"\n return null\n key = \"#{ro... | src/ds-transforms/write-edict2u-as-sql.coffee | loveencounterflow/mingkwai-typewriter-companion | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = '明快打字机/DS-TRANSFORMS/WRITE-CEDICT-PINYIN'
debug = CND.get_logger 'deb... | 113613 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = '明快打字机/DS-TRANSFORMS/WRITE-CEDICT-PINYIN'
debug = CND.get_logger 'deb... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = '明快打字机/DS-TRANSFORMS/WRITE-CEDICT-PINYIN'
debug = CND.get_logger 'deb... |
[
{
"context": " if config.get(\"/webobjects/auth/#{user.name}\") is passmd5\n req.user = user\n next()\n else\n ",
"end": 1908,
"score": 0.7949056625366211,
"start": 1902,
"tag": "PASSWORD",
"value": "passmd"
}
] | src/index.coffee | alinex/node-webobjects | 0 |
# Main controlling class
# =================================================
# Node Modules
# -------------------------------------------------
# include base modules
debug = require('debug') 'webobjects:access'
chalk = require 'chalk'
path = require 'path'
async = require 'async'
fs = require 'fs'
# express
expre... | 31824 |
# Main controlling class
# =================================================
# Node Modules
# -------------------------------------------------
# include base modules
debug = require('debug') 'webobjects:access'
chalk = require 'chalk'
path = require 'path'
async = require 'async'
fs = require 'fs'
# express
expre... | true |
# Main controlling class
# =================================================
# Node Modules
# -------------------------------------------------
# include base modules
debug = require('debug') 'webobjects:access'
chalk = require 'chalk'
path = require 'path'
async = require 'async'
fs = require 'fs'
# express
expre... |
[
{
"context": "testConfig = _.extend(@testConfig, {\n name: @name\n componentTesting: @componentTesting\n ",
"end": 2029,
"score": 0.933251142501831,
"start": 2029,
"tag": "NAME",
"value": ""
},
{
"context": "stConfig = _.extend(@testConfig, {\n name: @name\n ... | src/generators/test/index.coffee | aslong/generator-node-cafe | 0 | 'use strict';
chalk = require('chalk')
execSync = require('exec-sync')
path = require('path')
util = require('util')
yeoman = require('yeoman-generator')
yosay = require('yosay')
_ = require('underscore')
module.exports = NodeCafeGenerator = yeoman.generators.Base.extend(
constructor: () ->
... | 123020 | 'use strict';
chalk = require('chalk')
execSync = require('exec-sync')
path = require('path')
util = require('util')
yeoman = require('yeoman-generator')
yosay = require('yosay')
_ = require('underscore')
module.exports = NodeCafeGenerator = yeoman.generators.Base.extend(
constructor: () ->
... | true | 'use strict';
chalk = require('chalk')
execSync = require('exec-sync')
path = require('path')
util = require('util')
yeoman = require('yeoman-generator')
yosay = require('yosay')
_ = require('underscore')
module.exports = NodeCafeGenerator = yeoman.generators.Base.extend(
constructor: () ->
... |
[
{
"context": "cript types into their corrisponding PDF types.\nBy Devon Govett\n###\n\nclass PDFObject\n pad = (str, length) ->\n ",
"end": 93,
"score": 0.9998047947883606,
"start": 81,
"tag": "NAME",
"value": "Devon Govett"
}
] | lib/object.coffee | twardoch/pdfkit-varfonts | 0 | ###
PDFObject - converts JavaScript types into their corrisponding PDF types.
By Devon Govett
###
class PDFObject
pad = (str, length) ->
(Array(length + 1).join('0') + str).slice(-length)
escapableRe = /[\n\r\t\b\f\(\)\\]/g
escapable =
'\n': '\\n'
'\r': '\\r'
'\t': '\\t'
'\b': '\\b'
'\f'... | 173396 | ###
PDFObject - converts JavaScript types into their corrisponding PDF types.
By <NAME>
###
class PDFObject
pad = (str, length) ->
(Array(length + 1).join('0') + str).slice(-length)
escapableRe = /[\n\r\t\b\f\(\)\\]/g
escapable =
'\n': '\\n'
'\r': '\\r'
'\t': '\\t'
'\b': '\\b'
'\f': '\\f... | true | ###
PDFObject - converts JavaScript types into their corrisponding PDF types.
By PI:NAME:<NAME>END_PI
###
class PDFObject
pad = (str, length) ->
(Array(length + 1).join('0') + str).slice(-length)
escapableRe = /[\n\r\t\b\f\(\)\\]/g
escapable =
'\n': '\\n'
'\r': '\\r'
'\t': '\\t'
'\b': '\\b'
... |
[
{
"context": "oto booth dolore tousled laboris, Banksy Pitchfork Wes Anderson ea blog banh mi delectus mollit *Williamsburg* ac",
"end": 814,
"score": 0.971525251865387,
"start": 802,
"tag": "NAME",
"value": "Wes Anderson"
},
{
"context": "c sapiente delectus heirloom dolore.\n ... | src/coffee/test/spec-telegraph.coffee | brekk/raconteur | 1 | assert = require 'assert'
should = require 'should'
_ = require 'lodash'
cwd = process.cwd()
telegraph = require cwd + '/lib/telegraph'
(($)->
"use strict"
try
testPost = '''{{{
"title":"Very Important Test Work",
"subtitle":"It's not really that important.",
"slug":... | 175653 | assert = require 'assert'
should = require 'should'
_ = require 'lodash'
cwd = process.cwd()
telegraph = require cwd + '/lib/telegraph'
(($)->
"use strict"
try
testPost = '''{{{
"title":"Very Important Test Work",
"subtitle":"It's not really that important.",
"slug":... | true | assert = require 'assert'
should = require 'should'
_ = require 'lodash'
cwd = process.cwd()
telegraph = require cwd + '/lib/telegraph'
(($)->
"use strict"
try
testPost = '''{{{
"title":"Very Important Test Work",
"subtitle":"It's not really that important.",
"slug":... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998897314071655,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/taskboard/lightboxes.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 100207 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": " 12:00:00').toISOString()\n artist_names: ['Banksy']\n address: '401 Broadway'\n venue: ",
"end": 4751,
"score": 0.9994747042655945,
"start": 4745,
"tag": "NAME",
"value": "Banksy"
}
] | src/mobile/test/models/search_result.coffee | kanaabe/force | 0 | fabricate = require('antigravity').fabricate
rewire = require 'rewire'
SearchResult = rewire '../../models/search_result.coffee'
Fair = require '../../models/fair.coffee'
moment = require 'moment'
describe 'SearchResult', ->
describe '#initialize', ->
describe '#location', ->
it 'has a location attribute w... | 55418 | fabricate = require('antigravity').fabricate
rewire = require 'rewire'
SearchResult = rewire '../../models/search_result.coffee'
Fair = require '../../models/fair.coffee'
moment = require 'moment'
describe 'SearchResult', ->
describe '#initialize', ->
describe '#location', ->
it 'has a location attribute w... | true | fabricate = require('antigravity').fabricate
rewire = require 'rewire'
SearchResult = rewire '../../models/search_result.coffee'
Fair = require '../../models/fair.coffee'
moment = require 'moment'
describe 'SearchResult', ->
describe '#initialize', ->
describe '#location', ->
it 'has a location attribute w... |
[
{
"context": "llback?(null, error) if error?\n publicKey = bitcoin.compressPublicKey nodeData.publicKey\n dept",
"end": 1004,
"score": 0.8571283221244812,
"start": 997,
"tag": "KEY",
"value": "bitcoin"
},
{
"context": "llback?(null, error) if error?\n publicKey =... | app/src/wallet/extended_public_key.coffee | romanornr/ledger-wallet-crw | 173 |
@ledger ?= {}
@ledger.wallet ?= {}
GlobalContext = @
class ledger.wallet.ExtendedPublicKey
constructor: (wallet, derivationPath, enableCache = yes) ->
@_enableCache = enableCache
@_derivationPath = derivationPath
if derivationPath[derivationPath.length - 1] isnt '/'
@_derivationPath += '/'
@... | 76450 |
@ledger ?= {}
@ledger.wallet ?= {}
GlobalContext = @
class ledger.wallet.ExtendedPublicKey
constructor: (wallet, derivationPath, enableCache = yes) ->
@_enableCache = enableCache
@_derivationPath = derivationPath
if derivationPath[derivationPath.length - 1] isnt '/'
@_derivationPath += '/'
@... | true |
@ledger ?= {}
@ledger.wallet ?= {}
GlobalContext = @
class ledger.wallet.ExtendedPublicKey
constructor: (wallet, derivationPath, enableCache = yes) ->
@_enableCache = enableCache
@_derivationPath = derivationPath
if derivationPath[derivationPath.length - 1] isnt '/'
@_derivationPath += '/'
@... |
[
{
"context": "ogging: true\n logFn: @logFn\n username: 'username'\n password: 'password'\n\n serverOptions.da",
"end": 390,
"score": 0.9978526830673218,
"start": 382,
"tag": "USERNAME",
"value": "username"
},
{
"context": "logFn\n username: 'username'\n pa... | test/integration/list-deployments-spec.coffee | octoblu/deploy-state-service | 1 | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'List Deployments', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port: undefined,
... | 39303 | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'List Deployments', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port: undefined,
... | true | request = require 'request'
moment = require 'moment'
Database = require '../database'
Server = require '../../src/server'
describe 'List Deployments', ->
beforeEach (done) ->
@db = new Database
@db.drop done
beforeEach (done) ->
@logFn = sinon.spy()
serverOptions =
port: undefined,
... |
[
{
"context": "s', (next) ->\n Users.create [\n username: '1my_username',\n email: '1my@email.com',\n password: '",
"end": 588,
"score": 0.9996449947357178,
"start": 576,
"tag": "USERNAME",
"value": "1my_username"
},
{
"context": "e [\n username: '1my_username',... | test/count.coffee | wdavidw/node-ron | 14 |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get 'users'
Users.identifier 'user_id'
Users.unique 'username'
Users.index 'email'
next()
beforeEach (next) ->
Users.clear next
af... | 53701 |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get 'users'
Users.identifier 'user_id'
Users.unique 'username'
Users.index 'email'
next()
beforeEach (next) ->
Users.clear next
af... | true |
should = require 'should'
try config = require '../conf/test' catch e
ron = require '../lib'
client = Users = null
before (next) ->
client = ron config
Users = client.get 'users'
Users.identifier 'user_id'
Users.unique 'username'
Users.index 'email'
next()
beforeEach (next) ->
Users.clear next
af... |
[
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/1/15 3",
"end": 16,
"score": 0.9994003176689148,
"start": 13,
"tag": "NAME",
"value": "易晓峰"
},
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/1/15 3:05 PM\n# Description: 负责向客户... | src/notification/pusher.coffee | kiteam/kiteam | 0 | # Author: 易晓峰
# E-mail: wvv8oo@gmail.com
# Date: 6/1/15 3:05 PM
# Description: 负责向客户端推送
_ = require 'lodash'
_common = require '../common'
_entity = require '../entity'
#_jpusher = require('notification-center-sdk').mobilPusher
#发起推送信息
exports.push = (device_id, device_type, message, data)->
return con... | 69423 | # Author: <NAME>
# E-mail: <EMAIL>
# Date: 6/1/15 3:05 PM
# Description: 负责向客户端推送
_ = require 'lodash'
_common = require '../common'
_entity = require '../entity'
#_jpusher = require('notification-center-sdk').mobilPusher
#发起推送信息
exports.push = (device_id, device_type, message, data)->
return console.l... | true | # Author: PI:NAME:<NAME>END_PI
# E-mail: PI:EMAIL:<EMAIL>END_PI
# Date: 6/1/15 3:05 PM
# Description: 负责向客户端推送
_ = require 'lodash'
_common = require '../common'
_entity = require '../entity'
#_jpusher = require('notification-center-sdk').mobilPusher
#发起推送信息
exports.push = (device_id, device_type, messag... |
[
{
"context": "ing\n @size = 10\n @name = 'Ball'\n @initial_speed = .6\n @speed = @in",
"end": 321,
"score": 0.8046483397483826,
"start": 317,
"tag": "NAME",
"value": "Ball"
}
] | games/spacepong/src/objects/ball.coffee | dannyko/gpdk | 1 | class $z.Ball extends $z.Circle
@image_url = GameAssetsUrl + "ball.svg"
constructor: (@config = {}) ->
super
@cleanup(false) # turn off default offscreen behavior (removal)
@is_busy = false # to prevent overlapping 'bong' sound effects from firing
@size = 10
@name = 'Bal... | 1805 | class $z.Ball extends $z.Circle
@image_url = GameAssetsUrl + "ball.svg"
constructor: (@config = {}) ->
super
@cleanup(false) # turn off default offscreen behavior (removal)
@is_busy = false # to prevent overlapping 'bong' sound effects from firing
@size = 10
@name = '<NA... | true | class $z.Ball extends $z.Circle
@image_url = GameAssetsUrl + "ball.svg"
constructor: (@config = {}) ->
super
@cleanup(false) # turn off default offscreen behavior (removal)
@is_busy = false # to prevent overlapping 'bong' sound effects from firing
@size = 10
@name = 'PI:... |
[
{
"context": "---------------------------------\n# Copyright 2013 I.B.M.\n# \n# Licensed under the Apache License, Version 2",
"end": 5275,
"score": 0.9901250004768372,
"start": 5270,
"tag": "NAME",
"value": "I.B.M"
}
] | lib-src/coffee/www/controllers.coffee | pmuellr/nodprof | 6 | # Licensed under the Apache License. See footer for details.
_ = require "underscore"
profileView = require "./profileView"
#-------------------------------------------------------------------------------
module.exports = (mod) ->
addControllers mod, {
BodyController
}
return
#---------------... | 52762 | # Licensed under the Apache License. See footer for details.
_ = require "underscore"
profileView = require "./profileView"
#-------------------------------------------------------------------------------
module.exports = (mod) ->
addControllers mod, {
BodyController
}
return
#---------------... | true | # Licensed under the Apache License. See footer for details.
_ = require "underscore"
profileView = require "./profileView"
#-------------------------------------------------------------------------------
module.exports = (mod) ->
addControllers mod, {
BodyController
}
return
#---------------... |
[
{
"context": ">\n clean = (key) ->\n key = key.replace /:/g, 'IDBI'\n key.replace /\\//g, 'IIDI'\n unclean = (key) ",
"end": 158,
"score": 0.9874224066734314,
"start": 154,
"tag": "KEY",
"value": "IDBI"
},
{
"context": " key.replace /:/g, 'IDBI'\n key.replace /\\//g, 'IIDI... | src/local-web.coffee | ndxbxrme/rsdb | 0 | Readable = require('stream').Readable
Writable = require('stream').Writable
module.exports = (config) ->
clean = (key) ->
key = key.replace /:/g, 'IDBI'
key.replace /\//g, 'IIDI'
unclean = (key) ->
key = key.replace /IDBI/g, ':'
key = key.replace /IIDI/g, '/'
#regex = new RegExp '^' + path.join... | 153536 | Readable = require('stream').Readable
Writable = require('stream').Writable
module.exports = (config) ->
clean = (key) ->
key = key.replace /:/g, '<KEY>'
key.replace /\//g, '<KEY>'
unclean = (key) ->
key = key.replace /ID<KEY>/g, ':'
key = key.replace /<KEY>/g, '/'
#regex = new RegExp '^' + pat... | true | Readable = require('stream').Readable
Writable = require('stream').Writable
module.exports = (config) ->
clean = (key) ->
key = key.replace /:/g, 'PI:KEY:<KEY>END_PI'
key.replace /\//g, 'PI:KEY:<KEY>END_PI'
unclean = (key) ->
key = key.replace /IDPI:KEY:<KEY>END_PI/g, ':'
key = key.replace /PI:KEY:... |
[
{
"context": "d = JSON.parse(text)\n b parsed.params.name, 'joe'\n b parsed.query.q, 't'\n b parsed.query",
"end": 4325,
"score": 0.9989891052246094,
"start": 4322,
"tag": "NAME",
"value": "joe"
},
{
"context": "d = JSON.parse(text)\n b parsed.params.name, 'joe'\n... | test/browser_fetch.coffee | Zolmeister/zock | 3 | b = require 'b-assert'
zock = require '../src'
describe 'fetch', ->
it 'should get', ->
fetch = zock
.base('http://baseurl.com')
.get('/test')
.reply(200, {hello: 'world'}).fetch()
fetch 'http://baseurl.com/test'
.then (res) ->
res.text()
.then (text) ->
b text, JSON.s... | 3833 | b = require 'b-assert'
zock = require '../src'
describe 'fetch', ->
it 'should get', ->
fetch = zock
.base('http://baseurl.com')
.get('/test')
.reply(200, {hello: 'world'}).fetch()
fetch 'http://baseurl.com/test'
.then (res) ->
res.text()
.then (text) ->
b text, JSON.s... | true | b = require 'b-assert'
zock = require '../src'
describe 'fetch', ->
it 'should get', ->
fetch = zock
.base('http://baseurl.com')
.get('/test')
.reply(200, {hello: 'world'}).fetch()
fetch 'http://baseurl.com/test'
.then (res) ->
res.text()
.then (text) ->
b text, JSON.s... |
[
{
"context": "oreHideFormWindow'\n\n #maskings:\n # key: 'maskingWindow'\n # stores: ['provinces', 'amphurs', 'distr",
"end": 481,
"score": 0.9435638785362244,
"start": 468,
"tag": "KEY",
"value": "maskingWindow"
}
] | sencha/apps/cloud/coffee/app/Addressing/view/form/Address.coffee | liverbool/c.com | 0 | Ext.define 'Magice.Addressing.view.form.Address',
extend: 'Ext.window.Window'
reference: 'form-address-window'
title: 'Edit Address' #locale
# This connects bound form fields to the associated model validators:
modelValidation: yes
width: 480
minWidth: 400
resizable: yes
autoScr... | 48548 | Ext.define 'Magice.Addressing.view.form.Address',
extend: 'Ext.window.Window'
reference: 'form-address-window'
title: 'Edit Address' #locale
# This connects bound form fields to the associated model validators:
modelValidation: yes
width: 480
minWidth: 400
resizable: yes
autoScr... | true | Ext.define 'Magice.Addressing.view.form.Address',
extend: 'Ext.window.Window'
reference: 'form-address-window'
title: 'Edit Address' #locale
# This connects bound form fields to the associated model validators:
modelValidation: yes
width: 480
minWidth: 400
resizable: yes
autoScr... |
[
{
"context": "0).thenCallIt(backend, undefined,\n {key1: {a: \"b\"}, key2: {c: \"d\"}})\n expect(writeDocument).",
"end": 1574,
"score": 0.5644267797470093,
"start": 1572,
"tag": "KEY",
"value": "a:"
},
{
"context": "henCallIt(backend, undefined,\n {key1: {a: \"b\"},... | spec/unit/nstore_backend.spec.coffee | trankimhieu/cucumber-storra | 1 | # This spec tests the nStore backend by mocking/spying nStore and any
# other dependency.
describe "The nStore backend", ->
fs = null
nStore = null
backend = null
collection = null
writeDocument = null
writeEnd = null
writeResponse = null
genericError = new Error('test error')
errorNoEntity = new Er... | 43626 | # This spec tests the nStore backend by mocking/spying nStore and any
# other dependency.
describe "The nStore backend", ->
fs = null
nStore = null
backend = null
collection = null
writeDocument = null
writeEnd = null
writeResponse = null
genericError = new Error('test error')
errorNoEntity = new Er... | true | # This spec tests the nStore backend by mocking/spying nStore and any
# other dependency.
describe "The nStore backend", ->
fs = null
nStore = null
backend = null
collection = null
writeDocument = null
writeEnd = null
writeResponse = null
genericError = new Error('test error')
errorNoEntity = new Er... |
[
{
"context": " data ||= {}\n userData = {\n id: 1\n email: 'tyrion@example.org'\n login: 'tyrion'\n token: 'abcdef'\n crea",
"end": 861,
"score": 0.999921441078186,
"start": 843,
"tag": "EMAIL",
"value": "tyrion@example.org"
},
{
"context": "id: 1\n email: 'tyrion@... | assets/scripts/spec/spec_helper.coffee | Acidburn0zzz/travis-web | 0 | document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>')
Travis.rootElement = '#ember-testing'
Travis.setupForTesting()
Travis.injectTestHelpers()
oldSetup = Travis.setup
Travis.ready = ->
oldSetup.apply(this, arguments)
# TODO: in the future I would like to create a TestAuth class... | 146906 | document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>')
Travis.rootElement = '#ember-testing'
Travis.setupForTesting()
Travis.injectTestHelpers()
oldSetup = Travis.setup
Travis.ready = ->
oldSetup.apply(this, arguments)
# TODO: in the future I would like to create a TestAuth class... | true | document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>')
Travis.rootElement = '#ember-testing'
Travis.setupForTesting()
Travis.injectTestHelpers()
oldSetup = Travis.setup
Travis.ready = ->
oldSetup.apply(this, arguments)
# TODO: in the future I would like to create a TestAuth class... |
[
{
"context": "Exit, assert) ->\n expr = soda.expr.eq('name', 'bob')\n assert.eql(expr, \"name = 'bob'\")\n\n 'number",
"end": 958,
"score": 0.9911068081855774,
"start": 955,
"tag": "NAME",
"value": "bob"
},
{
"context": "r.eq('name', 'bob')\n assert.eql(expr, \"name = 'bob'... | node_modules/soda-js/test/query_tests.coffee | ri5t3ai/data.medicare.gov-api-tests | 0 |
soda = require('../lib/soda-js')
# fixture generator to allow injecting verifiers as networkers
consumer = (verifier) ->
connection:
networker: ((opts) -> verifier(opts); -> null),
emitterOpts:
wildcard: true,
delimiter: '.',
maxListeners: 15
# convenience func for using the above fixture... | 61493 |
soda = require('../lib/soda-js')
# fixture generator to allow injecting verifiers as networkers
consumer = (verifier) ->
connection:
networker: ((opts) -> verifier(opts); -> null),
emitterOpts:
wildcard: true,
delimiter: '.',
maxListeners: 15
# convenience func for using the above fixture... | true |
soda = require('../lib/soda-js')
# fixture generator to allow injecting verifiers as networkers
consumer = (verifier) ->
connection:
networker: ((opts) -> verifier(opts); -> null),
emitterOpts:
wildcard: true,
delimiter: '.',
maxListeners: 15
# convenience func for using the above fixture... |
[
{
"context": "to a variable named coffee.\n\ncoffee = new Coffee(\"John\", 1)",
"end": 197,
"score": 0.9990888833999634,
"start": 193,
"tag": "NAME",
"value": "John"
}
] | learn-coffee-script/Level 6/06-02 Classes Part II.coffee | roycetech/learn-js | 0 | # For an already existing Coffee class, create a new coffee object passing in your name (string) and any number (as the level), then assign it to a variable named coffee.
coffee = new Coffee("John", 1) | 192521 | # For an already existing Coffee class, create a new coffee object passing in your name (string) and any number (as the level), then assign it to a variable named coffee.
coffee = new Coffee("<NAME>", 1) | true | # For an already existing Coffee class, create a new coffee object passing in your name (string) and any number (as the level), then assign it to a variable named coffee.
coffee = new Coffee("PI:NAME:<NAME>END_PI", 1) |
[
{
"context": "#\n# JsUtils\n# By David Ronai / Makio64 / makiopolis.com\n#\n\nTYPES = {\n\t'undefin",
"end": 28,
"score": 0.9998646378517151,
"start": 17,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "#\n# JsUtils\n# By David Ronai / Makio64 / makiopolis.com\n#\n\nTYPES = {\... | src/coffee/makio/utils/JsUtils.coffee | Makio64/pizzaparty_vj | 1 | #
# JsUtils
# By David Ronai / Makio64 / makiopolis.com
#
TYPES = {
'undefined' : 'undefined',
'number' : 'number',
'boolean' : 'boolean',
'string' : 'string',
'[object Function]': 'function',
'[object RegExp]' : 'regexp',
'[object Array]' : 'array',
'[object Date]' : ... | 223748 | #
# JsUtils
# By <NAME> / Makio64 / m<EMAIL>
#
TYPES = {
'undefined' : 'undefined',
'number' : 'number',
'boolean' : 'boolean',
'string' : 'string',
'[object Function]': 'function',
'[object RegExp]' : 'regexp',
'[object Array]' : 'array',
'[object Date]' : 'date',
'[... | true | #
# JsUtils
# By PI:NAME:<NAME>END_PI / Makio64 / mPI:EMAIL:<EMAIL>END_PI
#
TYPES = {
'undefined' : 'undefined',
'number' : 'number',
'boolean' : 'boolean',
'string' : 'string',
'[object Function]': 'function',
'[object RegExp]' : 'regexp',
'[object Array]' : 'array',
'[o... |
[
{
"context": " shutdown: 'Shutdown'\n resetpwd: 'Reset Password'\n snapshot: 'Snapshot'\n ",
"end": 695,
"score": 0.9943912625312805,
"start": 681,
"tag": "PASSWORD",
"value": "Reset Password"
}
] | sencha/apps/cloud/coffee/app/Cloud/view/server/ViewToolbar.coffee | liverbool/c.com | 0 | Ext.define 'Magice.Cloud.view.server.ViewToolbar',
extend: 'Ext.container.Container'
xtype: 'view-servers-toolbar'
locale:
button:
actions: 'Actions'
create: 'Create'
refresh: 'Refresh'
history: 'History'
snapshots: 'Snapshots'
... | 89456 | Ext.define 'Magice.Cloud.view.server.ViewToolbar',
extend: 'Ext.container.Container'
xtype: 'view-servers-toolbar'
locale:
button:
actions: 'Actions'
create: 'Create'
refresh: 'Refresh'
history: 'History'
snapshots: 'Snapshots'
... | true | Ext.define 'Magice.Cloud.view.server.ViewToolbar',
extend: 'Ext.container.Container'
xtype: 'view-servers-toolbar'
locale:
button:
actions: 'Actions'
create: 'Create'
refresh: 'Refresh'
history: 'History'
snapshots: 'Snapshots'
... |
[
{
"context": "f as the only statmenet in an else block\n# @author Brandon Mills\n###\n'use strict'\n\n#------------------------------",
"end": 103,
"score": 0.9995542764663696,
"start": 90,
"tag": "NAME",
"value": "Brandon Mills"
}
] | src/rules/no-lonely-if.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to disallow if as the only statmenet in an else block
# @author Brandon Mills
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
... | 189299 | ###*
# @fileoverview Rule to disallow if as the only statmenet in an else block
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports =
meta:
... | true | ###*
# @fileoverview Rule to disallow if as the only statmenet in an else block
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.expor... |
[
{
"context": "* @fileOverview 将字体文件复制到debug\\dist 目录\n* \n* @author pjg <iampjg@gmail.com>\n* @link http://pjg.pw\n* @versi",
"end": 59,
"score": 0.9996413588523865,
"start": 56,
"tag": "USERNAME",
"value": "pjg"
},
{
"context": "eOverview 将字体文件复制到debug\\dist 目录\n* \n* @author pjg <i... | node_modules/vbuilder/lib/fontsCtl/index.coffee | duolaimi/v.builder.site | 0 | ###*
* @fileOverview 将字体文件复制到debug\dist 目录
*
* @author pjg <iampjg@gmail.com>
* @link http://pjg.pw
* @version $Id$
###
fs = require 'fs'
path = require 'path'
_ = require 'lodash'
crypto = require 'crypto'
vfs = require 'vinyl-fs'
gutil = require 'gulp-util'
autoprefixer = require 'gulp-autopref... | 60449 | ###*
* @fileOverview 将字体文件复制到debug\dist 目录
*
* @author pjg <<EMAIL>>
* @link http://pjg.pw
* @version $Id$
###
fs = require 'fs'
path = require 'path'
_ = require 'lodash'
crypto = require 'crypto'
vfs = require 'vinyl-fs'
gutil = require 'gulp-util'
autoprefixer = require 'gulp-autoprefixer'
plu... | true | ###*
* @fileOverview 将字体文件复制到debug\dist 目录
*
* @author pjg <PI:EMAIL:<EMAIL>END_PI>
* @link http://pjg.pw
* @version $Id$
###
fs = require 'fs'
path = require 'path'
_ = require 'lodash'
crypto = require 'crypto'
vfs = require 'vinyl-fs'
gutil = require 'gulp-util'
autoprefixer = require 'gulp-au... |
[
{
"context": ", ->\n options =\n title: 'testname'\n wrapper = => calendar = new VCalenda",
"end": 537,
"score": 0.9791406393051147,
"start": 529,
"tag": "NAME",
"value": "testname"
},
{
"context": " ->\n options =\n title... | test/vcalendar.coffee | RubenVerborgh/cozy-ical | 25 | should = require 'should'
{VCalendar} = require '../src/index'
{MissingFieldError} = require '../src/errors'
describe "vCalendar", ->
describe "Validation", ->
it "should throw an error if 'title' property is missing", ->
options =
organization: 'testorg'
wrapper = =... | 70135 | should = require 'should'
{VCalendar} = require '../src/index'
{MissingFieldError} = require '../src/errors'
describe "vCalendar", ->
describe "Validation", ->
it "should throw an error if 'title' property is missing", ->
options =
organization: 'testorg'
wrapper = =... | true | should = require 'should'
{VCalendar} = require '../src/index'
{MissingFieldError} = require '../src/errors'
describe "vCalendar", ->
describe "Validation", ->
it "should throw an error if 'title' property is missing", ->
options =
organization: 'testorg'
wrapper = =... |
[
{
"context": "###\n * grunt-codo\n * https://github.com/Stoney-FD/grunt-codo\n *\n * Copyright (c) 2014 Johannes Stei",
"end": 49,
"score": 0.9994746446609497,
"start": 40,
"tag": "USERNAME",
"value": "Stoney-FD"
},
{
"context": ".com/Stoney-FD/grunt-codo\n *\n * Copyright (c) 2014 J... | src/utils/command.coffee | hildjj/grunt-codo | 0 | ###
* grunt-codo
* https://github.com/Stoney-FD/grunt-codo
*
* Copyright (c) 2014 Johannes Stein
* Licensed under the MIT license.
###
"use strict"
require( "coffee-script" ).register?()
Command = require "codo/lib/command"
Codo = require "codo/lib/codo"
module.exports = class CodoCommand extends Command
... | 207073 | ###
* grunt-codo
* https://github.com/Stoney-FD/grunt-codo
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
"use strict"
require( "coffee-script" ).register?()
Command = require "codo/lib/command"
Codo = require "codo/lib/codo"
module.exports = class CodoCommand extends Command
construc... | true | ###
* grunt-codo
* https://github.com/Stoney-FD/grunt-codo
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
"use strict"
require( "coffee-script" ).register?()
Command = require "codo/lib/command"
Codo = require "codo/lib/codo"
module.exports = class CodoCommand extends Command... |
[
{
"context": "names = [\n \"Anna\", \"Alex\", \"Brian\", \"Jack\"]\nlength = names.length\n",
"end": 17,
"score": 0.9998298287391663,
"start": 13,
"tag": "NAME",
"value": "Anna"
},
{
"context": "names = [\n \"Anna\", \"Alex\", \"Brian\", \"Jack\"]\nlength = names.length\nfor i in",... | code/basics/range-operator.coffee | kjwenger/a-is-like-b | 1 | names = [
"Anna", "Alex", "Brian", "Jack"]
length = names.length
for i in [1...length] by 1
console.log
"Person #{i} is #{names[i - 1]}"
# Person 1 is Anna
# Person 2 is Alex
# Person 3 is Brian
# Person 4 is Jack | 163048 | names = [
"<NAME>", "<NAME>", "<NAME>", "<NAME>"]
length = names.length
for i in [1...length] by 1
console.log
"Person #{i} is #{names[i - 1]}"
# Person 1 is <NAME>
# Person 2 is <NAME>
# Person 3 is <NAME>
# Person 4 is <NAME> | true | names = [
"PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI"]
length = names.length
for i in [1...length] by 1
console.log
"Person #{i} is #{names[i - 1]}"
# Person 1 is PI:NAME:<NAME>END_PI
# Person 2 is PI:NAME:<NAME>END_PI
# Person 3 is PI:NAME:<NAME>END_PI
# Perso... |
[
{
"context": "ttps://github.com/csnover/js-iso8601>\n # © 2011 Colin Snover <http://zetafleet.com>\n # Released under MIT l",
"end": 810,
"score": 0.9998406171798706,
"start": 798,
"tag": "NAME",
"value": "Colin Snover"
}
] | src/sentry/static/sentry/coffee/utils.coffee | rogerhu/sentry | 1 | window.app = app = window.app || {}
app.utils = app.utils || {}
jQuery ->
app.utils.getQueryParams = ->
vars = {}
href = window.location.href;
if href.indexOf('?') == -1
return vars
hashes = href.slice(href.indexOf('?') + 1, (if href.indexOf('#') != -1 then hre... | 44336 | window.app = app = window.app || {}
app.utils = app.utils || {}
jQuery ->
app.utils.getQueryParams = ->
vars = {}
href = window.location.href;
if href.indexOf('?') == -1
return vars
hashes = href.slice(href.indexOf('?') + 1, (if href.indexOf('#') != -1 then hre... | true | window.app = app = window.app || {}
app.utils = app.utils || {}
jQuery ->
app.utils.getQueryParams = ->
vars = {}
href = window.location.href;
if href.indexOf('?') == -1
return vars
hashes = href.slice(href.indexOf('?') + 1, (if href.indexOf('#') != -1 then hre... |
[
{
"context": "rom https://simple-push-demo.appspot.com/\n\t\tkey:\t'AIzaSyBBh4ddPa96rQQNxqiq_qQj7sq1JdsNQUQ'\n",
"end": 192,
"score": 0.9997723698616028,
"start": 153,
"tag": "KEY",
"value": "AIzaSyBBh4ddPa96rQQNxqiq_qQj7sq1JdsNQUQ"
}
] | config/default.coffee | derhuerst/shout-dispatch | 0 | module.exports =
apn:
crt: 'todo'
key: 'todo'
gcm:
# todo: replace by own; shamelessly taken from https://simple-push-demo.appspot.com/
key: 'AIzaSyBBh4ddPa96rQQNxqiq_qQj7sq1JdsNQUQ'
| 93689 | module.exports =
apn:
crt: 'todo'
key: 'todo'
gcm:
# todo: replace by own; shamelessly taken from https://simple-push-demo.appspot.com/
key: '<KEY>'
| true | module.exports =
apn:
crt: 'todo'
key: 'todo'
gcm:
# todo: replace by own; shamelessly taken from https://simple-push-demo.appspot.com/
key: 'PI:KEY:<KEY>END_PI'
|
[
{
"context": "# Copyright © 2013 All rights reserved\n# Author: nhim175@gmail.com\nconfig = require './config.coffee'\n\nModule = requ",
"end": 66,
"score": 0.9999127984046936,
"start": 49,
"tag": "EMAIL",
"value": "nhim175@gmail.com"
}
] | src/lib/axe.coffee | nhim175/scorpionsmasher | 0 | # Copyright © 2013 All rights reserved
# Author: nhim175@gmail.com
config = require './config.coffee'
Module = require './module.coffee'
Logger = require '../mixins/logger.coffee'
class Axe extends Module
@include Logger
logPrefix: 'Axe'
lifeTime: 4000
constructor: (game) ->
@game = game
@me = @gam... | 154484 | # Copyright © 2013 All rights reserved
# Author: <EMAIL>
config = require './config.coffee'
Module = require './module.coffee'
Logger = require '../mixins/logger.coffee'
class Axe extends Module
@include Logger
logPrefix: 'Axe'
lifeTime: 4000
constructor: (game) ->
@game = game
@me = @game.add.spri... | true | # Copyright © 2013 All rights reserved
# Author: PI:EMAIL:<EMAIL>END_PI
config = require './config.coffee'
Module = require './module.coffee'
Logger = require '../mixins/logger.coffee'
class Axe extends Module
@include Logger
logPrefix: 'Axe'
lifeTime: 4000
constructor: (game) ->
@game = game
@me =... |
[
{
"context": "ello\", () ->\n\tglobal.myTest.Hello = true\n\t{name: \"second\", args: [true]}\n\nsaloosTask.task \"my\", (r, a1) ->",
"end": 145,
"score": 0.5391483306884766,
"start": 139,
"tag": "NAME",
"value": "second"
}
] | test/src/index.coffee | baravak/saloos-tasks | 0 | saloosTask = require '../../bin/index.js'
global.myTest = new Object()
saloosTask.task "hello", () ->
global.myTest.Hello = true
{name: "second", args: [true]}
saloosTask.task "my", (r, a1) ->
global.myTest.My = a1
,true
saloosTask.task "iran", (r, a1, a2) ->
global.myTest.Iran = a2
,false, true
require './second... | 208631 | saloosTask = require '../../bin/index.js'
global.myTest = new Object()
saloosTask.task "hello", () ->
global.myTest.Hello = true
{name: "<NAME>", args: [true]}
saloosTask.task "my", (r, a1) ->
global.myTest.My = a1
,true
saloosTask.task "iran", (r, a1, a2) ->
global.myTest.Iran = a2
,false, true
require './second... | true | saloosTask = require '../../bin/index.js'
global.myTest = new Object()
saloosTask.task "hello", () ->
global.myTest.Hello = true
{name: "PI:NAME:<NAME>END_PI", args: [true]}
saloosTask.task "my", (r, a1) ->
global.myTest.My = a1
,true
saloosTask.task "iran", (r, a1, a2) ->
global.myTest.Iran = a2
,false, true
req... |
[
{
"context": "\n\ndnschain\nhttp://dnschain.net\n\nCopyright (c) 2013 Greg Slepak\nLicensed under the BSD 3-Clause license.\n\n###\n\n# ",
"end": 65,
"score": 0.9998674392700195,
"start": 54,
"tag": "NAME",
"value": "Greg Slepak"
}
] | src/lib/dnschain.coffee | wartron/dnschain | 1 | ###
dnschain
http://dnschain.net
Copyright (c) 2013 Greg Slepak
Licensed under the BSD 3-Clause license.
###
# we don't 'use strict' because i really want to be able to use 'eval' to declare variables
###
design:
- configuration:
- local in ~/.dnschain
- global in /etc/dnschain
- support command line... | 143389 | ###
dnschain
http://dnschain.net
Copyright (c) 2013 <NAME>
Licensed under the BSD 3-Clause license.
###
# we don't 'use strict' because i really want to be able to use 'eval' to declare variables
###
design:
- configuration:
- local in ~/.dnschain
- global in /etc/dnschain
- support command line prov... | true | ###
dnschain
http://dnschain.net
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the BSD 3-Clause license.
###
# we don't 'use strict' because i really want to be able to use 'eval' to declare variables
###
design:
- configuration:
- local in ~/.dnschain
- global in /etc/dnschain
- support com... |
[
{
"context": "child) =>\n @createTree row, child\n # TODO(Peter): Hack... only collapse table if it should collap",
"end": 3162,
"score": 0.972412109375,
"start": 3157,
"tag": "NAME",
"value": "Peter"
}
] | app/controllers/treetable.coffee | FellowMD/ember-table | 0 | App.EmberTableFinancialController = Ember.Controller.extend
data: Ember.computed -> App.data.treedata
Number.prototype.toCurrency = ->
return '-' if isNaN(@) or not isFinite(@)
value = Math.abs(@).toFixed(2)
value = value.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,')
(if this < 0 then '-$' else '$') + value
Nu... | 36566 | App.EmberTableFinancialController = Ember.Controller.extend
data: Ember.computed -> App.data.treedata
Number.prototype.toCurrency = ->
return '-' if isNaN(@) or not isFinite(@)
value = Math.abs(@).toFixed(2)
value = value.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,')
(if this < 0 then '-$' else '$') + value
Nu... | true | App.EmberTableFinancialController = Ember.Controller.extend
data: Ember.computed -> App.data.treedata
Number.prototype.toCurrency = ->
return '-' if isNaN(@) or not isFinite(@)
value = Math.abs(@).toFixed(2)
value = value.replace(/(\d)(?=(\d\d\d)+(?!\d))/g, '$1,')
(if this < 0 then '-$' else '$') + value
Nu... |
[
{
"context": "lice'\n done()\n @doc.create(textType, 'Love The Police')\n\n\n describe '#del', ->\n\n beforeEachCreateDo",
"end": 4468,
"score": 0.7983843684196472,
"start": 4453,
"tag": "NAME",
"value": "Love The Police"
}
] | test/server/doc.coffee | Acidburn0zzz/ShareJS | 1 | {expect} = require 'chai'
{Doc} = require '../../lib/client/doc'
ottypes = require 'ottypes'
require '../../lib/types/text-api'
describe 'Doc', ->
textType = ottypes['http://sharejs.org/types/textv1']
numberType = require('../helpers/ot_number')
# TODO Use the real Connection class and stub things out on d... | 205870 | {expect} = require 'chai'
{Doc} = require '../../lib/client/doc'
ottypes = require 'ottypes'
require '../../lib/types/text-api'
describe 'Doc', ->
textType = ottypes['http://sharejs.org/types/textv1']
numberType = require('../helpers/ot_number')
# TODO Use the real Connection class and stub things out on d... | true | {expect} = require 'chai'
{Doc} = require '../../lib/client/doc'
ottypes = require 'ottypes'
require '../../lib/types/text-api'
describe 'Doc', ->
textType = ottypes['http://sharejs.org/types/textv1']
numberType = require('../helpers/ot_number')
# TODO Use the real Connection class and stub things out on d... |
[
{
"context": "{\n \"$schema\": \"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json\",\n \"name\": \"Mo",
"end": 60,
"score": 0.9996297955513,
"start": 50,
"tag": "USERNAME",
"value": "martinring"
},
{
"context": "ng/tmlanguage/master/tmlanguage.json\",\... | grammars/monkeyc.cson | glenjamin/language-monkeyc | 0 | {
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "Monkey C",
"fileTypes": [
"mc"
],
"patterns": [
{
"include": "#statements"
}
],
"repository": {
"statements": {
"patterns": [
{
"include": "#string"
... | 216037 | {
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "<NAME>",
"fileTypes": [
"mc"
],
"patterns": [
{
"include": "#statements"
}
],
"repository": {
"statements": {
"patterns": [
{
"include": "#string"
}... | true | {
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "PI:NAME:<NAME>END_PI",
"fileTypes": [
"mc"
],
"patterns": [
{
"include": "#statements"
}
],
"repository": {
"statements": {
"patterns": [
{
"include": "#str... |
[
{
"context": " = process.env.APP_DB_USER\n connection.password = process.env.APP_DB_PASSWORD\n connection.database = process.env.APP_DB_NAME\n\n",
"end": 397,
"score": 0.9884684085845947,
"start": 370,
"tag": "PASSWORD",
"value": "process.env.APP_DB_PASSWORD"
},
{
"context": "proce... | knexfile.coffee | sarenji/pokebattle-sim | 5 | connection = {}
if process.env.DATABASE_URL
url = require('url').parse(process.env.DATABASE_URL)
connection.host = url.host
connection.database = decodeURI(url.pathname.slice(1))
connection.user = url.auth[0]
connection.password = url.auth[1]
else
connection.host = process.env.APP_DB_HOST
connection.user ... | 194139 | connection = {}
if process.env.DATABASE_URL
url = require('url').parse(process.env.DATABASE_URL)
connection.host = url.host
connection.database = decodeURI(url.pathname.slice(1))
connection.user = url.auth[0]
connection.password = url.auth[1]
else
connection.host = process.env.APP_DB_HOST
connection.user ... | true | connection = {}
if process.env.DATABASE_URL
url = require('url').parse(process.env.DATABASE_URL)
connection.host = url.host
connection.database = decodeURI(url.pathname.slice(1))
connection.user = url.auth[0]
connection.password = url.auth[1]
else
connection.host = process.env.APP_DB_HOST
connection.user ... |
[
{
"context": "###\n chroma.js\n\n Copyright (c) 2011-2013, Gregor Aisch\n All rights reserved.\n\n Redistribution and ",
"end": 60,
"score": 0.9998882412910461,
"start": 48,
"tag": "NAME",
"value": "Gregor Aisch"
},
{
"context": " OF SUCH DAMAGE.\n\n @source: https://g... | node_modules/chroma-js/src/scale.coffee | balamurugan01/foundation6 | 49 | ###
chroma.js
Copyright (c) 2011-2013, Gregor Aisch
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this... | 80409 | ###
chroma.js
Copyright (c) 2011-2013, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
... | true | ###
chroma.js
Copyright (c) 2011-2013, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright noti... |
[
{
"context": " @makeRoomForAnotherEntry()\n storeKey = @normalizeStoreKey(key)\n entry =\n timestamp: @timesta",
"end": 2283,
"score": 0.763742983341217,
"start": 2269,
"tag": "KEY",
"value": "normalizeStore"
},
{
"context": "toreKey, entry)\n\n remove: (key) =>... | lib/assets/javascripts/unpoly/classes/cache.coffee | pfw/unpoly | 0 | u = up.util
###**
@class up.Cache
@internal
###
class up.Cache
###**
@constructor
@param {number|Function(): number} [config.size]
Maximum number of cache entries.
Set to `undefined` to not limit the cache size.
@param {number|Function(): number} [config.expiry]
The number of milliseconds after wh... | 180870 | u = up.util
###**
@class up.Cache
@internal
###
class up.Cache
###**
@constructor
@param {number|Function(): number} [config.size]
Maximum number of cache entries.
Set to `undefined` to not limit the cache size.
@param {number|Function(): number} [config.expiry]
The number of milliseconds after wh... | true | u = up.util
###**
@class up.Cache
@internal
###
class up.Cache
###**
@constructor
@param {number|Function(): number} [config.size]
Maximum number of cache entries.
Set to `undefined` to not limit the cache size.
@param {number|Function(): number} [config.expiry]
The number of milliseconds after wh... |
[
{
"context": "r:\n uri: 'http://phil.rigovanov.ru'\n name: 'Phil Rigovanov'\n lang: 'ru'\n moment: require('moment')\n pkg: ",
"end": 265,
"score": 0.9998787641525269,
"start": 251,
"tag": "NAME",
"value": "Phil Rigovanov"
},
{
"context": " Rigovanov'\n description: 'The ... | config/site.coffee | a1ip/rigovanov.ru | 2 | pkg = require '../package.json'
siteConfig =
avatarUrl: '/assets/img/avatar.png'
buildDate: new Date
integrations:
disqus: 'a1ip'
analytics: 'UA-26406005-6'
gaId: 'UA-26406005-6'
owner:
uri: 'http://phil.rigovanov.ru'
name: 'Phil Rigovanov'
lang: 'ru'
moment: require('moment')
pkg: pkg
... | 141071 | pkg = require '../package.json'
siteConfig =
avatarUrl: '/assets/img/avatar.png'
buildDate: new Date
integrations:
disqus: 'a1ip'
analytics: 'UA-26406005-6'
gaId: 'UA-26406005-6'
owner:
uri: 'http://phil.rigovanov.ru'
name: '<NAME>'
lang: 'ru'
moment: require('moment')
pkg: pkg
site:
... | true | pkg = require '../package.json'
siteConfig =
avatarUrl: '/assets/img/avatar.png'
buildDate: new Date
integrations:
disqus: 'a1ip'
analytics: 'UA-26406005-6'
gaId: 'UA-26406005-6'
owner:
uri: 'http://phil.rigovanov.ru'
name: 'PI:NAME:<NAME>END_PI'
lang: 'ru'
moment: require('moment')
pkg:... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9974012970924377,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/debugger/test-debug-break-on-uncaught.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... | 107094 | # 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": "# @author mr.doob / http://mrdoob.com/\n# @author kile / http://kile",
"end": 17,
"score": 0.9762985706329346,
"start": 10,
"tag": "NAME",
"value": "mr.doob"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author kile / http://kile.stravaganza.org/\n# @autho... | source/javascripts/new_src/core/geometry.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author kile / http://kile.stravaganza.org/
# @author alteredq / http://alteredqualia.com/
# @author mikael emtinger / http://gomo.se/
# @author zz85 / http://www.lab4games.net/zz85/blog
# @author aladjev.andrew@gmail.com
#= require new_src/core/matrix_4
#= require new_src/core... | 192646 | # @author <NAME> / http://mrdoob.com/
# @author kile / http://kile.stravaganza.org/
# @author alteredq / http://alteredqualia.com/
# @author <NAME> / http://gomo.se/
# @author zz85 / http://www.lab4games.net/zz85/blog
# @author <EMAIL>
#= require new_src/core/matrix_4
#= require new_src/core/face_3
#= require new_src/... | true | # @author PI:NAME:<NAME>END_PI / http://mrdoob.com/
# @author kile / http://kile.stravaganza.org/
# @author alteredq / http://alteredqualia.com/
# @author PI:NAME:<NAME>END_PI / http://gomo.se/
# @author zz85 / http://www.lab4games.net/zz85/blog
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/core/matrix_4
#= requ... |
[
{
"context": "suite 'Edgar Allan Poe', ->\n\n test 'The Raven', ->\n CoffeeScript.par",
"end": 22,
"score": 0.9998893737792969,
"start": 7,
"tag": "NAME",
"value": "Edgar Allan Poe"
}
] | test/poe.coffee | btown-side-projects/friendscript | 0 | suite 'Edgar Allan Poe', ->
test 'The Raven', ->
CoffeeScript.parse '''
Once upon a mignight dreary while I pondered, weak and weary,
Over many quaint and curious volume of forgotten lore -
While I nodded, nearly napping, suddenly there came a tapping,
As of some one gently rapping, rappi... | 171135 | suite '<NAME>', ->
test 'The Raven', ->
CoffeeScript.parse '''
Once upon a mignight dreary while I pondered, weak and weary,
Over many quaint and curious volume of forgotten lore -
While I nodded, nearly napping, suddenly there came a tapping,
As of some one gently rapping, rapping at my ... | true | suite 'PI:NAME:<NAME>END_PI', ->
test 'The Raven', ->
CoffeeScript.parse '''
Once upon a mignight dreary while I pondered, weak and weary,
Over many quaint and curious volume of forgotten lore -
While I nodded, nearly napping, suddenly there came a tapping,
As of some one gently rapping, ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992437958717346,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-repl-domain.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... | 180389 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "\n\n accounts_json = '[{\"index\":7,\"id\":0,\"name\":\"TestAccount\",\"public_data\":null,\"owner_key\":\"XTS6jBU4Q3TQ1UJg",
"end": 106,
"score": 0.8765343427658081,
"start": 95,
"tag": "USERNAME",
"value": "TestAccount"
},
{
"context": "me\":\"TestAccount\",\"publi... | programs/web_wallet/spec/controllers/accounts_controller_spec.coffee | larkx/LarkX | 0 | describe "controller: AccountsController", ->
accounts_json = '[{"index":7,"id":0,"name":"TestAccount","public_data":null,"owner_key":"XTS6jBU4Q3TQ1UJgYeMAqERRByNW7Xnq1RjuJAArvnwANnv4z7YPe","active_key_history":[["20140702T234915","XTS6jBU4Q3TQ1UJgYeMAqERRByNW7Xnq1RjuJAArvnwANnv4z7YPe"]],"registration_date":"19700... | 44540 | describe "controller: AccountsController", ->
accounts_json = '[{"index":7,"id":0,"name":"TestAccount","public_data":null,"owner_key":"<KEY>","active_key_history":[["<KEY>","<KEY>"]],"registration_date":"19700101T000000","last_update":"19700101T000000","delegate_info":null,"meta_data":null,"account_address":"XTSMy... | true | describe "controller: AccountsController", ->
accounts_json = '[{"index":7,"id":0,"name":"TestAccount","public_data":null,"owner_key":"PI:KEY:<KEY>END_PI","active_key_history":[["PI:KEY:<KEY>END_PI","PI:KEY:<KEY>END_PI"]],"registration_date":"19700101T000000","last_update":"19700101T000000","delegate_info":null,"m... |
[
{
"context": "id: 'audit'\nname: 'Tenable Audits'\ntype: 'tree-sitter'\nscopeName: 'source.tenableau",
"end": 33,
"score": 0.6562192440032959,
"start": 19,
"tag": "NAME",
"value": "Tenable Audits"
}
] | grammars/tree-sitter-audits.cson | rjcomp/language-tenableaudits | 1 | id: 'audit'
name: 'Tenable Audits'
type: 'tree-sitter'
scopeName: 'source.tenableaudits'
parser: 'sitter-tenableaudits'
fileTypes: ['audit']
scopes:
'program': 'source.tenableaudits'
'meta_displayname': 'string'
'spec_block': 'string'
'spec_block > spec_link': 'entity.name.function'
'check_type': 'string' | 103145 | id: 'audit'
name: '<NAME>'
type: 'tree-sitter'
scopeName: 'source.tenableaudits'
parser: 'sitter-tenableaudits'
fileTypes: ['audit']
scopes:
'program': 'source.tenableaudits'
'meta_displayname': 'string'
'spec_block': 'string'
'spec_block > spec_link': 'entity.name.function'
'check_type': 'string' | true | id: 'audit'
name: 'PI:NAME:<NAME>END_PI'
type: 'tree-sitter'
scopeName: 'source.tenableaudits'
parser: 'sitter-tenableaudits'
fileTypes: ['audit']
scopes:
'program': 'source.tenableaudits'
'meta_displayname': 'string'
'spec_block': 'string'
'spec_block > spec_link': 'entity.name.function'
'check_type': 'str... |
[
{
"context": "###\n\nBasic model of an nest.\n\nhttps://github.com/NicMcPhee/whooping-crane-model\n\nCopyright (c) 2015 Nic McPh",
"end": 58,
"score": 0.9995121359825134,
"start": 49,
"tag": "USERNAME",
"value": "NicMcPhee"
},
{
"context": "NicMcPhee/whooping-crane-model\n\nCopyright... | src/lib/nest.coffee | NicMcPhee/whooping-crane-model | 0 | ###
Basic model of an nest.
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 Nic McPhee
Licensed under the MIT license.
###
'use strict'
Bird = require '../lib/bird'
class Nest
constructor: (@_builders) ->
firstParent = @_builders[0]
secondParent = @_builders[1]
# This implemen... | 28491 | ###
Basic model of an nest.
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 <NAME>
Licensed under the MIT license.
###
'use strict'
Bird = require '../lib/bird'
class Nest
constructor: (@_builders) ->
firstParent = @_builders[0]
secondParent = @_builders[1]
# This implements t... | true | ###
Basic model of an nest.
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
'use strict'
Bird = require '../lib/bird'
class Nest
constructor: (@_builders) ->
firstParent = @_builders[0]
secondParent = @_builders[1]
# Thi... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998337030410767,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/material/depth.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 93435 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "ents...'\n ])\n\n expected = {\n name : 'Some name'\n author : 'Some author'\n levels : [\n ",
"end": 568,
"score": 0.79997718334198,
"start": 559,
"tag": "NAME",
"value": "Some name"
},
{
"context": "rt.equal('Microban', pack.name)\n assert.e... | test/models/levels-test.coffee | cben/node-sokoban | 1 | assert = require 'assert'
_ = require 'lodash'
levels = require '../../lib/models/levels'
describe 'lib/models/levels', ->
it 'parsePack works', ->
result = levels.parsePack([
'; Some name'
'; ...extraneous comments...'
'; Copyright: Some author'
'; ...extraneous comments...'
... | 80504 | assert = require 'assert'
_ = require 'lodash'
levels = require '../../lib/models/levels'
describe 'lib/models/levels', ->
it 'parsePack works', ->
result = levels.parsePack([
'; Some name'
'; ...extraneous comments...'
'; Copyright: Some author'
'; ...extraneous comments...'
... | true | assert = require 'assert'
_ = require 'lodash'
levels = require '../../lib/models/levels'
describe 'lib/models/levels', ->
it 'parsePack works', ->
result = levels.parsePack([
'; Some name'
'; ...extraneous comments...'
'; Copyright: Some author'
'; ...extraneous comments...'
... |
[
{
"context": "ns.foursquare.com'\n prodId:\n company: 'matthewhuie.com'\n product: 'foursquare-checkins'\n method:",
"end": 493,
"score": 0.7089713215827942,
"start": 481,
"tag": "EMAIL",
"value": "thewhuie.com"
}
] | app.coffee | matthewhuie/foursquare-checkins | 1 | compression = require 'compression'
express = require 'express'
moment = require 'moment'
request = require 'request-promise-native'
ical = require 'ical-generator'
_ = require 'underscore'
app = express()
app.use compression()
app.get '/:token/json', (req, res) ->
data = await getCheckins req.params.token
res.js... | 4344 | compression = require 'compression'
express = require 'express'
moment = require 'moment'
request = require 'request-promise-native'
ical = require 'ical-generator'
_ = require 'underscore'
app = express()
app.use compression()
app.get '/:token/json', (req, res) ->
data = await getCheckins req.params.token
res.js... | true | compression = require 'compression'
express = require 'express'
moment = require 'moment'
request = require 'request-promise-native'
ical = require 'ical-generator'
_ = require 'underscore'
app = express()
app.use compression()
app.get '/:token/json', (req, res) ->
data = await getCheckins req.params.token
res.js... |
[
{
"context": " backbone-orm.js 0.7.14\n Copyright (c) 2013-2016 Vidigami\n License: MIT (http://www.opensource.org/license",
"end": 63,
"score": 0.9998685121536255,
"start": 55,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": "ses/mit-license.php)\n Source: https://github.com/... | src/cache/sync.coffee | dk-dev/backbone-orm | 54 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 Vidigami
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
CacheCursor = require './cursor'
Schema = require '../lib/s... | 14090 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 <NAME>
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
CacheCursor = require './cursor'
Schema = require '../lib/sch... | true | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 PI:NAME:<NAME>END_PI
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
CacheCursor = require './cursor'
Schema = requi... |
[
{
"context": "b.put {\n type : C.ids.merkle_root\n key : root.hash\n value : root\n name : {\n type : ",
"end": 3288,
"score": 0.966956615447998,
"start": 3279,
"tag": "KEY",
"value": "root.hash"
},
{
"context": "oot_clone\n\n #------\n\n find_and_verify ... | src/merkle_client.iced | AngelKey/Angelkey.nodeclient | 151 | db = require './db'
req = require './req'
log = require './log'
{E} = require './err'
{make_esc} = require 'iced-error'
{a_json_parse,athrow} = require('iced-utils').util
{createHash} = require 'crypto'
{master_ring} = require './keyring'
keys = require './keys'
{env} = require './env'
C = require('./constants').consta... | 24466 | db = require './db'
req = require './req'
log = require './log'
{E} = require './err'
{make_esc} = require 'iced-error'
{a_json_parse,athrow} = require('iced-utils').util
{createHash} = require 'crypto'
{master_ring} = require './keyring'
keys = require './keys'
{env} = require './env'
C = require('./constants').consta... | true | db = require './db'
req = require './req'
log = require './log'
{E} = require './err'
{make_esc} = require 'iced-error'
{a_json_parse,athrow} = require('iced-utils').util
{createHash} = require 'crypto'
{master_ring} = require './keyring'
keys = require './keys'
{env} = require './env'
C = require('./constants').consta... |
[
{
"context": " '[testpath=login-form-password]', user.password\n .click '[testpath=login-butt",
"end": 1278,
"score": 0.5509821772575378,
"start": 1270,
"tag": "PASSWORD",
"value": "password"
}
] | client/test/lib/load/load.coffee | ezgikaysi/koding | 1 | utils = require '../utils/utils.js'
faker = require 'faker'
testUrl = require('../../../../.config.json').test.url
start = (browser) ->
browser.url(testUrl)
getText = ->
return faker.Lorem.paragraph().replace(/(?:\r\n|\r|\n)/g, '')
register = (browser) ->
user = utils.getUser(yes)
browser
.waitFor... | 166115 | utils = require '../utils/utils.js'
faker = require 'faker'
testUrl = require('../../../../.config.json').test.url
start = (browser) ->
browser.url(testUrl)
getText = ->
return faker.Lorem.paragraph().replace(/(?:\r\n|\r|\n)/g, '')
register = (browser) ->
user = utils.getUser(yes)
browser
.waitFor... | true | utils = require '../utils/utils.js'
faker = require 'faker'
testUrl = require('../../../../.config.json').test.url
start = (browser) ->
browser.url(testUrl)
getText = ->
return faker.Lorem.paragraph().replace(/(?:\r\n|\r|\n)/g, '')
register = (browser) ->
user = utils.getUser(yes)
browser
.waitFor... |
[
{
"context": " @\n\n timeout: s.timeout\n\n if username = s.username\n client.username = username\n\n if password",
"end": 7327,
"score": 0.887509822845459,
"start": 7319,
"tag": "USERNAME",
"value": "username"
},
{
"context": " if username = s.username\n client... | src/tb/lib/ti/ajax/index.coffee | vcu/titanium-backbone | 1 | # Portions copyright 2013 jQuery Foundation and other contributors
# http://jquery.com/
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation th... | 52061 | # Portions copyright 2013 jQuery Foundation and other contributors
# http://jquery.com/
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation th... | true | # Portions copyright 2013 jQuery Foundation and other contributors
# http://jquery.com/
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation th... |
[
{
"context": "e('gapi')\n .value 'GoogleApp', \n apiKey: '1234'\n clientId: 'abcd'\n \n\n beforeEach module",
"end": 248,
"score": 0.9985508322715759,
"start": 244,
"tag": "KEY",
"value": "1234"
},
{
"context": "oogleApp', \n apiKey: '1234'\n clientId: 'abc... | test/spec/DriveSpec.coffee | Ritvik1512/GAPI-Community-Project | 0 | describe 'GAPI', ->
{
GAPI,Drive,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '1234'
clientId: 'abcd'
beforeEach module 'gapi'
beforeEach... | 166811 | describe 'GAPI', ->
{
GAPI,Drive,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '<KEY>'
clientId: '<KEY>'
beforeEach module 'gapi'
beforeEa... | true | describe 'GAPI', ->
{
GAPI,Drive,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: 'PI:KEY:<KEY>END_PI'
clientId: 'PI:KEY:<KEY>END_PI'
beforeEach ... |
[
{
"context": "cPath = 'test/fixtures/encryption/.authrc'\n key = '@_$vp€R~k3y'\n auth = null\n host = null\n\n beforeEach -> \n ",
"end": 167,
"score": 0.9995118975639343,
"start": 155,
"tag": "KEY",
"value": "'@_$vp€R~k3y"
},
{
"context": ">\n process.env['MY_SERVER_USER_P... | test/decryptionSpec.coffee | h2non/node-authrc | 1 | { expect } = require 'chai'
Authrc = require '../lib/authrc'
describe 'Password decryption', ->
authrcPath = 'test/fixtures/encryption/.authrc'
key = '@_$vp€R~k3y'
auth = null
host = null
beforeEach ->
auth = new Authrc authrcPath
describe 'password value and aes256 cipher', ->
beforeEach ->
... | 208540 | { expect } = require 'chai'
Authrc = require '../lib/authrc'
describe 'Password decryption', ->
authrcPath = 'test/fixtures/encryption/.authrc'
key = <KEY>'
auth = null
host = null
beforeEach ->
auth = new Authrc authrcPath
describe 'password value and aes256 cipher', ->
beforeEach ->
ho... | true | { expect } = require 'chai'
Authrc = require '../lib/authrc'
describe 'Password decryption', ->
authrcPath = 'test/fixtures/encryption/.authrc'
key = PI:KEY:<KEY>END_PI'
auth = null
host = null
beforeEach ->
auth = new Authrc authrcPath
describe 'password value and aes256 cipher', ->
beforeEach... |
[
{
"context": ".slugify pathComponents[0]\n spellKey = pathComponents.join '/'\n @thangSpells[thang.id].push spel",
"end": 3468,
"score": 0.5147904753684998,
"start": 3458,
"tag": "KEY",
"value": "Components"
},
{
"context": "thComponents[0]\n spellKey = pathCompo... | app/views/play/level/tome/tome_view.coffee | flauta/codecombat | 0 | # There's one TomeView per Level. It has:
# - a CastButtonView, which has
# - a cast button
# - an autocast settings options button
# - for each spell (programmableMethod):
# - a Spell, which has
# - a list of Thangs that share that Spell, with one aether per Thang per Spell
# - a SpellView, which has
# ... | 164450 | # There's one TomeView per Level. It has:
# - a CastButtonView, which has
# - a cast button
# - an autocast settings options button
# - for each spell (programmableMethod):
# - a Spell, which has
# - a list of Thangs that share that Spell, with one aether per Thang per Spell
# - a SpellView, which has
# ... | true | # There's one TomeView per Level. It has:
# - a CastButtonView, which has
# - a cast button
# - an autocast settings options button
# - for each spell (programmableMethod):
# - a Spell, which has
# - a list of Thangs that share that Spell, with one aether per Thang per Spell
# - a SpellView, which has
# ... |
[
{
"context": "eturn @organization.sync({\n client_email: 'bad@email.com',\n private_key: 'bad key'\n })\n descr",
"end": 443,
"score": 0.9999173879623413,
"start": 430,
"tag": "EMAIL",
"value": "bad@email.com"
},
{
"context": "_email: 'bad@email.com',\n pri... | tests/models/test_organization.coffee | fangamer/ibizan | 0 |
moment = require 'moment'
chai = require 'chai'
expect = chai.expect
assert = chai.assert
Organization = require '../../src/models/organization'
MockSheet = require '../mocks/mock_sheet.js'
describe 'Organization', ->
beforeEach ->
@organization = Organization.get('test')
if not @organization.spreadsheet.s... | 34303 |
moment = require 'moment'
chai = require 'chai'
expect = chai.expect
assert = chai.assert
Organization = require '../../src/models/organization'
MockSheet = require '../mocks/mock_sheet.js'
describe 'Organization', ->
beforeEach ->
@organization = Organization.get('test')
if not @organization.spreadsheet.s... | true |
moment = require 'moment'
chai = require 'chai'
expect = chai.expect
assert = chai.assert
Organization = require '../../src/models/organization'
MockSheet = require '../mocks/mock_sheet.js'
describe 'Organization', ->
beforeEach ->
@organization = Organization.get('test')
if not @organization.spreadsheet.s... |
[
{
"context": "ht = 'average'} = options\ntim = new Person name: 'Tim', age: 4\n",
"end": 466,
"score": 0.9983498454093933,
"start": 463,
"tag": "NAME",
"value": "Tim"
}
] | code/main.coffee | PixxxeL/presentation-easy-client | 0 | console.log var1?
number = -42 if true
string = "Number is #{number}"
dir = if number then -1 else 1
dict =
key1 : "value1"
key2 : "value2"
list1 = ("#{key} is #{val}" for key, val of dict)
list2 = [0..4]
square = (x) -> x * x
squares = (square num for num in list2)
[first, ..., last] = "Word1 word2 word3 w... | 119167 | console.log var1?
number = -42 if true
string = "Number is #{number}"
dir = if number then -1 else 1
dict =
key1 : "value1"
key2 : "value2"
list1 = ("#{key} is #{val}" for key, val of dict)
list2 = [0..4]
square = (x) -> x * x
squares = (square num for num in list2)
[first, ..., last] = "Word1 word2 word3 w... | true | console.log var1?
number = -42 if true
string = "Number is #{number}"
dir = if number then -1 else 1
dict =
key1 : "value1"
key2 : "value2"
list1 = ("#{key} is #{val}" for key, val of dict)
list2 = [0..4]
square = (x) -> x * x
squares = (square num for num in list2)
[first, ..., last] = "Word1 word2 word3 w... |
[
{
"context": "refix': 'mailto'\n 'body': '<a href=\"mailto:${1:joe@example.com}?subject=${2:feedback}\">${3:email me}</a>$0'\n 'M",
"end": 5988,
"score": 0.9998989701271057,
"start": 5973,
"tag": "EMAIL",
"value": "joe@example.com"
},
{
"context": "prefix': 'mailto'\n 'body': ... | snippets/language-dtml.cson | ape1234/atom-language-dtml | 2 | '.text.dtml, .text.dtml .meta.scope.between-tag-pair, .text.dtml .punctuation.tag.begin':
# A
'Anchor':
'prefix': 'a'
'body': '<a href="${1:#}">$2</a>$0'
'Abbreviation':
'prefix': 'abbr'
'body': '<abbr title="$1">$2</abbr>$0'
'Address':
'prefix': 'address'
'body': '<address${1: class="$2... | 125369 | '.text.dtml, .text.dtml .meta.scope.between-tag-pair, .text.dtml .punctuation.tag.begin':
# A
'Anchor':
'prefix': 'a'
'body': '<a href="${1:#}">$2</a>$0'
'Abbreviation':
'prefix': 'abbr'
'body': '<abbr title="$1">$2</abbr>$0'
'Address':
'prefix': 'address'
'body': '<address${1: class="$2... | true | '.text.dtml, .text.dtml .meta.scope.between-tag-pair, .text.dtml .punctuation.tag.begin':
# A
'Anchor':
'prefix': 'a'
'body': '<a href="${1:#}">$2</a>$0'
'Abbreviation':
'prefix': 'abbr'
'body': '<abbr title="$1">$2</abbr>$0'
'Address':
'prefix': 'address'
'body': '<address${1: class="$2... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.999895453453064,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhakim... | src/app/middlewares/authMiddleware.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
jwt = require 'jsonwebtoken'
config = require '../../config'
User = require '../models/user'
module.exports = (req, res, next) ->
# get token from headers
tok... | 100974 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
jwt = require 'jsonwebtoken'
config = require '../../config'
User = require '../models/user'
module.exports = (req, res, next) ->
# get token from headers
token = req.headers.tok... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
jwt = require 'jsonwebtoken'
config = require '../../config'
User = require '../models/user'
module.exports = (req, res, next) ->
# get token from head... |
[
{
"context": "Synesis LLC. All rights reserved.\n * Author Maxim Rodionov <max.rodionov@synesis.ru>, Synesis LLC www.synesi",
"end": 255,
"score": 0.9998709559440613,
"start": 241,
"tag": "NAME",
"value": "Maxim Rodionov"
},
{
"context": "rights reserved.\n * Author Max... | backup/snippets/sns-snippets.cson | rodmax/my-atom | 0 | # Synesis projects related snippets
'.source.js,.source.stylus,source.c,source.cpp':
'Copyright header':
prefix: 'fcr'
body: """
/*
* Copyright (C) 2016 Synesis LLC. All rights reserved.
* Author Maxim Rodionov <max.rodionov@synesis.ru>, Synesis LLC www.synesis.ru.
*... | 129175 | # Synesis projects related snippets
'.source.js,.source.stylus,source.c,source.cpp':
'Copyright header':
prefix: 'fcr'
body: """
/*
* Copyright (C) 2016 Synesis LLC. All rights reserved.
* Author <NAME> <<EMAIL>>, Synesis LLC www.synesis.ru.
*/
/*
* $... | true | # Synesis projects related snippets
'.source.js,.source.stylus,source.c,source.cpp':
'Copyright header':
prefix: 'fcr'
body: """
/*
* Copyright (C) 2016 Synesis LLC. All rights reserved.
* Author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>, Synesis LLC www.synesis.ru.
... |
[
{
"context": "ments - v1.1.1 - 2013-01-21\n#* https://github.com/danheberden/jquery-serializeForm\n#* Copyright (c) 2013 Dan He",
"end": 2039,
"score": 0.9709320068359375,
"start": 2028,
"tag": "USERNAME",
"value": "danheberden"
},
{
"context": "eberden/jquery-serializeForm\n#* Copyr... | app/assets/javascripts/redditor/init.coffee | redde/redditor | 0 | do ($ = jQuery)->
$.redditor =
sliderBlockImagesSortableParams:
scroll: false
dropOnEmpty: false
cursor: "crosshair"
opacity: 0.75
items: "li"
update: ->
self = $(@)
$.ajax
data: self.sortable('serialize') + '&authenticity_token=#{u(form_authenticity_t... | 154849 | do ($ = jQuery)->
$.redditor =
sliderBlockImagesSortableParams:
scroll: false
dropOnEmpty: false
cursor: "crosshair"
opacity: 0.75
items: "li"
update: ->
self = $(@)
$.ajax
data: self.sortable('serialize') + '&authenticity_token=#{u(form_authenticity_t... | true | do ($ = jQuery)->
$.redditor =
sliderBlockImagesSortableParams:
scroll: false
dropOnEmpty: false
cursor: "crosshair"
opacity: 0.75
items: "li"
update: ->
self = $(@)
$.ajax
data: self.sortable('serialize') + '&authenticity_token=#{u(form_authenticity_t... |
[
{
"context": "\nnikita = require '@nikitajs/core/lib'\n{config, images, tags} = require '../te",
"end": 28,
"score": 0.6068583726882935,
"start": 26,
"tag": "USERNAME",
"value": "js"
},
{
"context": " properties:\n 'environment.MY_KEY_1': 'my value 1'\n 'environme... | packages/lxd/test/config/set.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
nikita = require '@nikitajs/core/lib'
{config, images, tags} = require '../test'
they = require('mocha-they')(config)
return unless tags.lxd
describe 'lxc.config.set', ->
they 'Set multiple keys', ({ssh}) ->
nikita
$ssh: ssh
, ->
@lxc.delete
container: 'nikita-config-set-1'
for... | 39916 |
nikita = require '@nikitajs/core/lib'
{config, images, tags} = require '../test'
they = require('mocha-they')(config)
return unless tags.lxd
describe 'lxc.config.set', ->
they 'Set multiple keys', ({ssh}) ->
nikita
$ssh: ssh
, ->
@lxc.delete
container: 'nikita-config-set-1'
for... | true |
nikita = require '@nikitajs/core/lib'
{config, images, tags} = require '../test'
they = require('mocha-they')(config)
return unless tags.lxd
describe 'lxc.config.set', ->
they 'Set multiple keys', ({ssh}) ->
nikita
$ssh: ssh
, ->
@lxc.delete
container: 'nikita-config-set-1'
for... |
[
{
"context": "^*]*(Mode:\\\\s*)?jaz(\\\\s*;.*?)?\\\\s*-\\\\*-'\n'name': 'Jaz (Jasmin)'\n'patterns': [\n {\n 'include': '#commen",
"end": 141,
"score": 0.8755585551261902,
"start": 138,
"tag": "NAME",
"value": "Jaz"
},
{
"context": "Mode:\\\\s*)?jaz(\\\\s*;.*?)?\\\\s*-\\\\*-'\n'na... | grammars/jaz.cson | ildyria/language-jasmin | 0 | 'scopeName': 'source.jaz'
'fileTypes': [
'jaz'
'mil'
]
'firstLineMatch': '(?i)-\\*-[^*]*(Mode:\\s*)?jaz(\\s*;.*?)?\\s*-\\*-'
'name': 'Jaz (Jasmin)'
'patterns': [
{
'include': '#comments'
}
{
'match': '\\b(break|case|continue|default|do|else|for|goto|if|return|switch|while)\\b'
'name': 'keyword.con... | 142730 | 'scopeName': 'source.jaz'
'fileTypes': [
'jaz'
'mil'
]
'firstLineMatch': '(?i)-\\*-[^*]*(Mode:\\s*)?jaz(\\s*;.*?)?\\s*-\\*-'
'name': '<NAME> (<NAME>)'
'patterns': [
{
'include': '#comments'
}
{
'match': '\\b(break|case|continue|default|do|else|for|goto|if|return|switch|while)\\b'
'name': 'keyword.... | true | 'scopeName': 'source.jaz'
'fileTypes': [
'jaz'
'mil'
]
'firstLineMatch': '(?i)-\\*-[^*]*(Mode:\\s*)?jaz(\\s*;.*?)?\\s*-\\*-'
'name': 'PI:NAME:<NAME>END_PI (PI:NAME:<NAME>END_PI)'
'patterns': [
{
'include': '#comments'
}
{
'match': '\\b(break|case|continue|default|do|else|for|goto|if|return|switch|whil... |
[
{
"context": "or prompt(\"Password:\")\n\n Cookie.set(\"username\", username)\n Cookie.set(\"password\", password)\n\n databa",
"end": 561,
"score": 0.8754509687423706,
"start": 553,
"tag": "USERNAME",
"value": "username"
},
{
"context": "t(\"username\", username)\n Cooki... | _attachments/app/Coconut.coffee | Coconut-Data/coconut-cloud | 0 | global.PouchDB = require 'pouchdb-browser'
PouchDB.plugin(require('pouchdb-upsert'))
BackbonePouch = require 'backbone-pouch'
global.Cookie = require 'js-cookie'
moment = require 'moment'
class Coconut
currentlogin: Cookies.get('current_user') || null
reportDates:
startDate: moment().subtract("7","days").for... | 7871 | global.PouchDB = require 'pouchdb-browser'
PouchDB.plugin(require('pouchdb-upsert'))
BackbonePouch = require 'backbone-pouch'
global.Cookie = require 'js-cookie'
moment = require 'moment'
class Coconut
currentlogin: Cookies.get('current_user') || null
reportDates:
startDate: moment().subtract("7","days").for... | true | global.PouchDB = require 'pouchdb-browser'
PouchDB.plugin(require('pouchdb-upsert'))
BackbonePouch = require 'backbone-pouch'
global.Cookie = require 'js-cookie'
moment = require 'moment'
class Coconut
currentlogin: Cookies.get('current_user') || null
reportDates:
startDate: moment().subtract("7","days").for... |
[
{
"context": "m', hbSend, hbRecv, Some(login: 'baz', passcode: 'quux'))\n\nnohbCfg = (ws) ->\n cfg(ws, 0, 0)\n\nsetup = ->",
"end": 600,
"score": 0.998365581035614,
"start": 596,
"tag": "PASSWORD",
"value": "quux"
},
{
"context": "host: 'foo.example.com', login: 'baz', passcode: 'qu... | test/pubsubs-spec.coffee | systeminsights/kefir-contrib-stomp | 0 | R = require 'ramda'
K = require 'kefir'
{head, last, runLog, runLogValues} = require 'kefir-contrib-run'
{Frame} = require 'stompjs'
{Some, None} = require 'fantasy-options'
{Left, Right} = require 'fantasy-eithers'
{pubSubs, Transport, Config, StompError, FrameError} = require '../src/index'
socket = require './test-s... | 78616 | R = require 'ramda'
K = require 'kefir'
{head, last, runLog, runLogValues} = require 'kefir-contrib-run'
{Frame} = require 'stompjs'
{Some, None} = require 'fantasy-options'
{Left, Right} = require 'fantasy-eithers'
{pubSubs, Transport, Config, StompError, FrameError} = require '../src/index'
socket = require './test-s... | true | R = require 'ramda'
K = require 'kefir'
{head, last, runLog, runLogValues} = require 'kefir-contrib-run'
{Frame} = require 'stompjs'
{Some, None} = require 'fantasy-options'
{Left, Right} = require 'fantasy-eithers'
{pubSubs, Transport, Config, StompError, FrameError} = require '../src/index'
socket = require './test-s... |
[
{
"context": " the dom element too\n\t\t\t# See: https://github.com/koenbok/Framer/issues/63\n\t\t\t@_element.setAttribute(\"name\"",
"end": 9835,
"score": 0.9996516704559326,
"start": 9828,
"tag": "USERNAME",
"value": "koenbok"
},
{
"context": "W9v92agghXJdP3KZlCp/J2up+WiUuzMt6zNukz... | framer/Layer.coffee | HydAu/FramerJS | 0 | {_} = require "./Underscore"
Utils = require "./Utils"
{Config} = require "./Config"
{Events} = require "./Events"
{Defaults} = require "./Defaults"
{BaseClass} = require "./BaseClass"
{EventEmitter} = require "./EventEmitter"
{Color} = require "./Color"
{Matrix} = require "./Matrix"
{Animation} = require "./Animatio... | 193881 | {_} = require "./Underscore"
Utils = require "./Utils"
{Config} = require "./Config"
{Events} = require "./Events"
{Defaults} = require "./Defaults"
{BaseClass} = require "./BaseClass"
{EventEmitter} = require "./EventEmitter"
{Color} = require "./Color"
{Matrix} = require "./Matrix"
{Animation} = require "./Animatio... | true | {_} = require "./Underscore"
Utils = require "./Utils"
{Config} = require "./Config"
{Events} = require "./Events"
{Defaults} = require "./Defaults"
{BaseClass} = require "./BaseClass"
{EventEmitter} = require "./EventEmitter"
{Color} = require "./Color"
{Matrix} = require "./Matrix"
{Animation} = require "./Animatio... |
[
{
"context": " civets, and linsangs.\n '''\n\n scientificName: '(Civettictis civetta)'\n mainImage: 'assets/fieldguide-content/mammals",
"end": 589,
"score": 0.9996960163116455,
"start": 570,
"tag": "NAME",
"value": "Civettictis civetta"
}
] | app/lib/field-guide-content/civet.coffee | zooniverse/snapshot-wisconsin | 0 | module.exports =
description: '''
The African civet has a raccoonlike appearance with a black streak across its face and white on the forehead surrounding its muzzle. Its coarse coat is dirty white in color, heavily spotted, and barred with black. They have a prominent erectile crest of black-tipped hair that run... | 225242 | module.exports =
description: '''
The African civet has a raccoonlike appearance with a black streak across its face and white on the forehead surrounding its muzzle. Its coarse coat is dirty white in color, heavily spotted, and barred with black. They have a prominent erectile crest of black-tipped hair that run... | true | module.exports =
description: '''
The African civet has a raccoonlike appearance with a black streak across its face and white on the forehead surrounding its muzzle. Its coarse coat is dirty white in color, heavily spotted, and barred with black. They have a prominent erectile crest of black-tipped hair that run... |
[
{
"context": "ient\n handle user-spcific chores\n\n copyright mark hahn 2013\n MIT license\n https://github.com/mark-",
"end": 89,
"score": 0.9997395873069763,
"start": 80,
"tag": "NAME",
"value": "mark hahn"
},
{
"context": " hahn 2013\n MIT license\n https://githu... | src/client/user-client.coffee | mark-hahn/bace | 1 | ###
file: src/client/user-client
handle user-spcific chores
copyright mark hahn 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
user = (bace.user ?= {})
helpers = (bace.helpers ?= {})
header = (bace.header ?= {})
main = (bace.main ?= {})
settings = (b... | 112824 | ###
file: src/client/user-client
handle user-spcific chores
copyright <NAME> 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
user = (bace.user ?= {})
helpers = (bace.helpers ?= {})
header = (bace.header ?= {})
main = (bace.main ?= {})
settings = (bace... | true | ###
file: src/client/user-client
handle user-spcific chores
copyright PI:NAME:<NAME>END_PI 2013
MIT license
https://github.com/mark-hahn/bace/
###
bace = (window.bace ?= {})
user = (bace.user ?= {})
helpers = (bace.helpers ?= {})
header = (bace.header ?= {})
main = (bace.main ?= {})
se... |
[
{
"context": "# Modified from [Wobot](https://github.com/cjoudrey/wobot).\n#\n# Copyright (C) 2011 by Christian Joudr",
"end": 51,
"score": 0.9985937476158142,
"start": 43,
"tag": "USERNAME",
"value": "cjoudrey"
},
{
"context": "hub.com/cjoudrey/wobot).\n#\n# Copyright (C) 2011 by Ch... | src/connector.coffee | nuts/hubot-hipchat | 1 | # Modified from [Wobot](https://github.com/cjoudrey/wobot).
#
# Copyright (C) 2011 by Christian Joudrey
#
# 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 withou... | 117405 | # Modified from [Wobot](https://github.com/cjoudrey/wobot).
#
# Copyright (C) 2011 by <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 limitatio... | true | # Modified from [Wobot](https://github.com/cjoudrey/wobot).
#
# Copyright (C) 2011 by 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 wit... |
[
{
"context": ".send\n to: invite.email\n from: \"Mykola @ getDataforce <mykola@getdataforce.com>\"\n ",
"end": 341,
"score": 0.9991509318351746,
"start": 335,
"tag": "USERNAME",
"value": "Mykola"
},
{
"context": "ite.email\n from: \"Mykola @ getDatafo... | server/admin/invites/methods.coffee | JSSolutions/Dataforce | 2 | Meteor.methods
sendInviteViaEmail: (invite) ->
check invite, {
#todo put email check here
email: String,
expireDate: Date
}
#check user permission
if Roles.userIsInRole @userId, 'admin'
inviteId = Invites.insert invite
if invite
Email.send
to: invite.email
... | 167988 | Meteor.methods
sendInviteViaEmail: (invite) ->
check invite, {
#todo put email check here
email: String,
expireDate: Date
}
#check user permission
if Roles.userIsInRole @userId, 'admin'
inviteId = Invites.insert invite
if invite
Email.send
to: invite.email
... | true | Meteor.methods
sendInviteViaEmail: (invite) ->
check invite, {
#todo put email check here
email: String,
expireDate: Date
}
#check user permission
if Roles.userIsInRole @userId, 'admin'
inviteId = Invites.insert invite
if invite
Email.send
to: invite.email
... |
[
{
"context": "event.color = '#88bcd6'\n event.title += ' (Matin)'\n set_remaining(remaining + .5)\n els",
"end": 1356,
"score": 0.9832600355148315,
"start": 1351,
"tag": "NAME",
"value": "Matin"
},
{
"context": "bb3d6'\n event.title = event.title.replace('Ma... | coffee/calendar.coffee | Kozea/holiday-oh-nice | 0 | shift = false
gg_cal = 'https://www.google.com/calendar/ical/fr.french' +
'%23holiday%40group.v.calendar.google.com/public/basic.ics'
slot_id = null
slot_label = null
$current_opt = null
local_source =
color: '#3a87ad'
$(document).bind 'keyup keydown', (e) -> shift = e.shiftKey
$(document).ready ->
window._ca... | 209412 | shift = false
gg_cal = 'https://www.google.com/calendar/ical/fr.french' +
'%23holiday%40group.v.calendar.google.com/public/basic.ics'
slot_id = null
slot_label = null
$current_opt = null
local_source =
color: '#3a87ad'
$(document).bind 'keyup keydown', (e) -> shift = e.shiftKey
$(document).ready ->
window._ca... | true | shift = false
gg_cal = 'https://www.google.com/calendar/ical/fr.french' +
'%23holiday%40group.v.calendar.google.com/public/basic.ics'
slot_id = null
slot_label = null
$current_opt = null
local_source =
color: '#3a87ad'
$(document).bind 'keyup keydown', (e) -> shift = e.shiftKey
$(document).ready ->
window._ca... |
[
{
"context": "type: 'orderedMap'\n values: [\n {key: 'name', value: 'Frodo'}\n {key: 'race', value: 'H",
"end": 274,
"score": 0.6443047523498535,
"start": 270,
"tag": "NAME",
"value": "name"
},
{
"context": "ap'\n values: [\n {key: 'name', value: 'Frodo... | ModelCatalogueCorePluginTestApp/test/js/modelcatalogue/core/orderedMapEnhancer.spec.coffee | passionfruit18/ModelCataloguePlugin | 0 | describe "modelcatalogue.core.enhancersConf.orderedMapEnhancer", ->
beforeEach module "modelcatalogue.core.enhancersConf.orderedMapEnhancer"
it "can easy get the values by key", inject (enhance) ->
map =
type: 'orderedMap'
values: [
{key: 'name', value: 'Frodo'}
{key: 'race', value... | 189052 | describe "modelcatalogue.core.enhancersConf.orderedMapEnhancer", ->
beforeEach module "modelcatalogue.core.enhancersConf.orderedMapEnhancer"
it "can easy get the values by key", inject (enhance) ->
map =
type: 'orderedMap'
values: [
{key: '<NAME>', value: '<NAME>'}
{key: 'race', va... | true | describe "modelcatalogue.core.enhancersConf.orderedMapEnhancer", ->
beforeEach module "modelcatalogue.core.enhancersConf.orderedMapEnhancer"
it "can easy get the values by key", inject (enhance) ->
map =
type: 'orderedMap'
values: [
{key: 'PI:NAME:<NAME>END_PI', value: 'PI:NAME:<NAME>END_P... |
[
{
"context": ", (done)->\n ws_Called = false\n email = 'aaa@aaaa.com'\n using pwd_Reset_Controller,->\n @.req = ",
"end": 2178,
"score": 0.9998957514762878,
"start": 2166,
"tag": "EMAIL",
"value": "aaa@aaaa.com"
},
{
"context": "', (done)->\n req =\n params ... | test/controllers/Pwd-Reset-Controller.test.coffee | TeamMentor/TM_Site | 0 | Pwd_Reset_Controller = require('../../src/controllers/Pwd-Reset-Controller')
express = require 'express'
supertest = require 'supertest'
bodyParser = require('body-parser')
config = require '../../src/config'
describe "| controllers | Pwd-Reset-Controller.test |", ->
url_password_sent = '/guest/pwd-se... | 92281 | Pwd_Reset_Controller = require('../../src/controllers/Pwd-Reset-Controller')
express = require 'express'
supertest = require 'supertest'
bodyParser = require('body-parser')
config = require '../../src/config'
describe "| controllers | Pwd-Reset-Controller.test |", ->
url_password_sent = '/guest/pwd-se... | true | Pwd_Reset_Controller = require('../../src/controllers/Pwd-Reset-Controller')
express = require 'express'
supertest = require 'supertest'
bodyParser = require('body-parser')
config = require '../../src/config'
describe "| controllers | Pwd-Reset-Controller.test |", ->
url_password_sent = '/guest/pwd-se... |
[
{
"context": "key: 'bibliography-anchor'\n\npatterns: [\n\n # Matches a bibliography anchor ",
"end": 25,
"score": 0.9962068796157837,
"start": 6,
"tag": "KEY",
"value": "bibliography-anchor"
}
] | grammars/repositories/inlines/bibliography-anchor-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'bibliography-anchor'
patterns: [
# Matches a bibliography anchor anywhere inline.
#
# Examples
#
# [[[bib-ref]]]
#
name: 'bibliography-anchor.asciidoc'
match: '(?<!\\\\)(\\[{3})([\\p{Word}:][\\p{Word}:.-]*?)(\\]{3})'
captures:
1: name: 'support.constant.asciidoc'
2: name: 'markup.bib... | 30117 | key: '<KEY>'
patterns: [
# Matches a bibliography anchor anywhere inline.
#
# Examples
#
# [[[bib-ref]]]
#
name: 'bibliography-anchor.asciidoc'
match: '(?<!\\\\)(\\[{3})([\\p{Word}:][\\p{Word}:.-]*?)(\\]{3})'
captures:
1: name: 'support.constant.asciidoc'
2: name: 'markup.biblioref.asciido... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches a bibliography anchor anywhere inline.
#
# Examples
#
# [[[bib-ref]]]
#
name: 'bibliography-anchor.asciidoc'
match: '(?<!\\\\)(\\[{3})([\\p{Word}:][\\p{Word}:.-]*?)(\\]{3})'
captures:
1: name: 'support.constant.asciidoc'
2: name: 'markup.bibl... |
[
{
"context": "one) ->\n\t\tuser = new User()\n\n\t\tuser.props.name = 'Jérome Dupont'\n\t\tuser.props.email = 'jerome@dupont.com'\n\n\t\tuser",
"end": 786,
"score": 0.9998876452445984,
"start": 773,
"tag": "NAME",
"value": "Jérome Dupont"
},
{
"context": "rops.name = 'Jérome Dupont'\... | tests/spec/data/data-entity-spec.coffee | makevoid/oauthd | 0 |
testConfig = require '../../test-config'
coreModule = require testConfig.project_root + '/src/core'
dataModule = require testConfig.project_root + '/src/data'
describe 'Data - Entity module', () ->
User = undefined
env = {
mode: 'test'
}
beforeEach () ->
env = {
mode: 'test'
}
coreModule(env).initEnv()... | 22161 |
testConfig = require '../../test-config'
coreModule = require testConfig.project_root + '/src/core'
dataModule = require testConfig.project_root + '/src/data'
describe 'Data - Entity module', () ->
User = undefined
env = {
mode: 'test'
}
beforeEach () ->
env = {
mode: 'test'
}
coreModule(env).initEnv()... | true |
testConfig = require '../../test-config'
coreModule = require testConfig.project_root + '/src/core'
dataModule = require testConfig.project_root + '/src/data'
describe 'Data - Entity module', () ->
User = undefined
env = {
mode: 'test'
}
beforeEach () ->
env = {
mode: 'test'
}
coreModule(env).initEnv()... |
[
{
"context": "e.format('%Y-%m-%d').parse \"2011-10-04\"\n label: \"Boston\"\n value: 68\n,\n time: d3.time.format('%Y-%m",
"end": 1091,
"score": 0.7641018629074097,
"start": 1090,
"tag": "NAME",
"value": "B"
},
{
"context": "e.format('%Y-%m-%d').parse \"2011-10-05\"\n label: \"Bo... | app/data/time_series/population.coffee | Tuhaj/ember-charts | 1 | App.data.population = [
time: d3.time.format('%Y-%m-%d').parse "2011-10-01"
label: "San Francisco"
value: 63.4
,
time: d3.time.format('%Y-%m-%d').parse "2011-10-01"
label: "New York"
value: 62.7
,
time: d3.time.format('%Y-%m-%d').parse "2011-10-01"
label: "Boston"
value: 72.2
,
time: d3.time.format(... | 86625 | App.data.population = [
time: d3.time.format('%Y-%m-%d').parse "2011-10-01"
label: "San Francisco"
value: 63.4
,
time: d3.time.format('%Y-%m-%d').parse "2011-10-01"
label: "New York"
value: 62.7
,
time: d3.time.format('%Y-%m-%d').parse "2011-10-01"
label: "Boston"
value: 72.2
,
time: d3.time.format(... | true | App.data.population = [
time: d3.time.format('%Y-%m-%d').parse "2011-10-01"
label: "San Francisco"
value: 63.4
,
time: d3.time.format('%Y-%m-%d').parse "2011-10-01"
label: "New York"
value: 62.7
,
time: d3.time.format('%Y-%m-%d').parse "2011-10-01"
label: "Boston"
value: 72.2
,
time: d3.time.format(... |
[
{
"context": "h-analysis/code-path-analyzer'\n\nPROGRAM_NODE_KEY = '__coffee__'\n\nmonkeypatchMethod = (ESLintCodePathAnalyzer, is",
"end": 100,
"score": 0.9956437945365906,
"start": 89,
"tag": "KEY",
"value": "'__coffee__"
}
] | src/patch-code-path-analysis.coffee | helixbass/eslint-plugin-coffee | 21 | CodePathAnalyzer = require './code-path-analysis/code-path-analyzer'
PROGRAM_NODE_KEY = '__coffee__'
monkeypatchMethod = (ESLintCodePathAnalyzer, isCurrentFileCoffeescript, key) ->
original = ESLintCodePathAnalyzer::[key]
dynamicallyDelegatingMonkeypatch = (...args) ->
if isCurrentFileCoffeescript.current
... | 152301 | CodePathAnalyzer = require './code-path-analysis/code-path-analyzer'
PROGRAM_NODE_KEY = <KEY>'
monkeypatchMethod = (ESLintCodePathAnalyzer, isCurrentFileCoffeescript, key) ->
original = ESLintCodePathAnalyzer::[key]
dynamicallyDelegatingMonkeypatch = (...args) ->
if isCurrentFileCoffeescript.current
# e... | true | CodePathAnalyzer = require './code-path-analysis/code-path-analyzer'
PROGRAM_NODE_KEY = PI:KEY:<KEY>END_PI'
monkeypatchMethod = (ESLintCodePathAnalyzer, isCurrentFileCoffeescript, key) ->
original = ESLintCodePathAnalyzer::[key]
dynamicallyDelegatingMonkeypatch = (...args) ->
if isCurrentFileCoffeescript.curr... |
[
{
"context": "#{baseUrl}/users/login\"\n json: \n username: user\n password: password\n request.post requestOp",
"end": 569,
"score": 0.9763281941413879,
"start": 565,
"tag": "USERNAME",
"value": "user"
},
{
"context": "n\"\n json: \n username: user\n passw... | client/tools/command_db.coffee | bcfuchs/RedWire | 0 | #!/usr/bin/env coffee
# IMPORTS
program = require('commander')
_ = require("underscore")
fs = require("fs.extra")
path = require("path")
util = require("util")
request = require("request")
# CONFIGURATION
# Have request store and send cookies
request = request.defaults
jar: true
# FUNCTIONS
statusIsError = (c... | 209099 | #!/usr/bin/env coffee
# IMPORTS
program = require('commander')
_ = require("underscore")
fs = require("fs.extra")
path = require("path")
util = require("util")
request = require("request")
# CONFIGURATION
# Have request store and send cookies
request = request.defaults
jar: true
# FUNCTIONS
statusIsError = (c... | true | #!/usr/bin/env coffee
# IMPORTS
program = require('commander')
_ = require("underscore")
fs = require("fs.extra")
path = require("path")
util = require("util")
request = require("request")
# CONFIGURATION
# Have request store and send cookies
request = request.defaults
jar: true
# FUNCTIONS
statusIsError = (c... |
[
{
"context": "* http://gruntjs.com/\n# *\n# * Copyright (c) 2012 \"Cowboy\" Ben Alman, contributors\n# * Licensed under the M",
"end": 85,
"score": 0.9993491172790527,
"start": 79,
"tag": "USERNAME",
"value": "Cowboy"
},
{
"context": "//gruntjs.com/\n# *\n# * Copyright (c) 2012 \"Cow... | Gruntfile.coffee | mpneuried/grunt-soy-compile | 3 | #
# * grunt-contrib-concat
# * http://gruntjs.com/
# *
# * Copyright (c) 2012 "Cowboy" Ben Alman, contributors
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
#watch:
# options:
# spawn: false
regarde:
tasks:
files: ["_src/ta... | 146101 | #
# * grunt-contrib-concat
# * http://gruntjs.com/
# *
# * Copyright (c) 2012 "Cowboy" <NAME>, contributors
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
#watch:
# options:
# spawn: false
regarde:
tasks:
files: ["_src/tasks... | true | #
# * grunt-contrib-concat
# * http://gruntjs.com/
# *
# * Copyright (c) 2012 "Cowboy" PI:NAME:<NAME>END_PI, contributors
# * Licensed under the MIT license.
#
"use strict"
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
#watch:
# options:
# spawn: false
regarde:
tasks:
files... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.