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": "xtends LayerInfo\n @shouldParse: (key) -> key is 'iOpa'\n\n parse: ->\n value = @file.readByte()\n op",
"end": 134,
"score": 0.9306256175041199,
"start": 130,
"tag": "KEY",
"value": "iOpa"
}
] | src/psd/layer_info/fill_opacity.coffee | taofei-pro/psd.js | 0 | LayerInfo = require '../layer_info.coffee'
module.exports = class FillOpacity extends LayerInfo
@shouldParse: (key) -> key is 'iOpa'
parse: ->
value = @file.readByte()
opacity = Math.round value * 100 / 255
unit = 'Percent'
@data.opacity = opacity
@data.unit = unit
| 99583 | LayerInfo = require '../layer_info.coffee'
module.exports = class FillOpacity extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
parse: ->
value = @file.readByte()
opacity = Math.round value * 100 / 255
unit = 'Percent'
@data.opacity = opacity
@data.unit = unit
| true | LayerInfo = require '../layer_info.coffee'
module.exports = class FillOpacity extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
parse: ->
value = @file.readByte()
opacity = Math.round value * 100 / 255
unit = 'Percent'
@data.opacity = opacity
@data.unit = unit
|
[
{
"context": ", product) ->\n ok err\n product.set 'name', 'Chair'\n product.save (err, product) ->\n ok !err",
"end": 8728,
"score": 0.9679021835327148,
"start": 8723,
"tag": "NAME",
"value": "Chair"
}
] | tests/batman/model/instance_manipulation_test.coffee | nickjs/batman.js | 3 | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter} = if typeof require is 'undefined' then window else require '../model_helper'
QUnit.module "Batman.Model instance loading",
setup: ->
class @Product extends Batman.Model
@encode 'name', 'cost'
@adapter = new AsyncTestStorageAdapter(@P... | 214180 | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter} = if typeof require is 'undefined' then window else require '../model_helper'
QUnit.module "Batman.Model instance loading",
setup: ->
class @Product extends Batman.Model
@encode 'name', 'cost'
@adapter = new AsyncTestStorageAdapter(@P... | true | {createStorageAdapter, TestStorageAdapter, AsyncTestStorageAdapter} = if typeof require is 'undefined' then window else require '../model_helper'
QUnit.module "Batman.Model instance loading",
setup: ->
class @Product extends Batman.Model
@encode 'name', 'cost'
@adapter = new AsyncTestStorageAdapter(@P... |
[
{
"context": "###\n# Created by Aitem on 01.11.2015.\n###\n\ndictionary =\n ru: [\"МАМА\", \"",
"end": 22,
"score": 0.9569704532623291,
"start": 17,
"tag": "NAME",
"value": "Aitem"
}
] | src/js/app.coffee | Gesturio/Gesturion | 0 | ###
# Created by Aitem on 01.11.2015.
###
dictionary =
ru: ["МАМА", "ТЕСТ", "ПРИВЕТ", "АВГУСТ", "АВОСЬ", "АЗОТ", "АВЕНЮ", "АНГЕЛ", "ВЕРСТА", "ВЕСЫ", "ВОЛЬЕР", "ВОКАЛ", "ВОКЗАЛ", "ВОЛНА", "ВОР", "ВОПЛЬ", "ВОСЕМЬ", "АВТО", "АМПЕР", "ВЕНЧАТЬ", "ВЕРТУШКА", "ВЗМЫТЬ", "ВЖАТЬСЯ", "КАШЕЛЬ", "КАРУСЕЛЬ", "КАРТОН", "КАПЕРСЫ", ... | 30718 | ###
# Created by <NAME> on 01.11.2015.
###
dictionary =
ru: ["МАМА", "ТЕСТ", "ПРИВЕТ", "АВГУСТ", "АВОСЬ", "АЗОТ", "АВЕНЮ", "АНГЕЛ", "ВЕРСТА", "ВЕСЫ", "ВОЛЬЕР", "ВОКАЛ", "ВОКЗАЛ", "ВОЛНА", "ВОР", "ВОПЛЬ", "ВОСЕМЬ", "АВТО", "АМПЕР", "ВЕНЧАТЬ", "ВЕРТУШКА", "ВЗМЫТЬ", "ВЖАТЬСЯ", "КАШЕЛЬ", "КАРУСЕЛЬ", "КАРТОН", "КАПЕРСЫ",... | true | ###
# Created by PI:NAME:<NAME>END_PI on 01.11.2015.
###
dictionary =
ru: ["МАМА", "ТЕСТ", "ПРИВЕТ", "АВГУСТ", "АВОСЬ", "АЗОТ", "АВЕНЮ", "АНГЕЛ", "ВЕРСТА", "ВЕСЫ", "ВОЛЬЕР", "ВОКАЛ", "ВОКЗАЛ", "ВОЛНА", "ВОР", "ВОПЛЬ", "ВОСЕМЬ", "АВТО", "АМПЕР", "ВЕНЧАТЬ", "ВЕРТУШКА", "ВЗМЫТЬ", "ВЖАТЬСЯ", "КАШЕЛЬ", "КАРУСЕЛЬ", "КАРТО... |
[
{
"context": "'../lib/fields').default\n\nu1 = new Contact(name: \"Christine Spang\", email: \"spang@nylas.com\")\nu2 = new Contact(name",
"end": 647,
"score": 0.9998420476913452,
"start": 632,
"tag": "NAME",
"value": "Christine Spang"
},
{
"context": "u1 = new Contact(name: \"Christ... | packages/client-app/internal_packages/composer/spec/composer-view-spec.cjsx | cnheider/nylas-mail | 24,369 | _ = require "underscore"
React = require "react"
ReactDOM = require 'react-dom'
ReactTestUtils = require('react-addons-test-utils')
{Actions,
Utils,
File,
Contact,
Message,
Account,
DraftStore,
DatabaseStore,
NylasTestUtils,
AccountStore,
FileUploadStore,
ContactStore,
FocusedContentStore,
ComponentRegist... | 188226 | _ = require "underscore"
React = require "react"
ReactDOM = require 'react-dom'
ReactTestUtils = require('react-addons-test-utils')
{Actions,
Utils,
File,
Contact,
Message,
Account,
DraftStore,
DatabaseStore,
NylasTestUtils,
AccountStore,
FileUploadStore,
ContactStore,
FocusedContentStore,
ComponentRegist... | true | _ = require "underscore"
React = require "react"
ReactDOM = require 'react-dom'
ReactTestUtils = require('react-addons-test-utils')
{Actions,
Utils,
File,
Contact,
Message,
Account,
DraftStore,
DatabaseStore,
NylasTestUtils,
AccountStore,
FileUploadStore,
ContactStore,
FocusedContentStore,
ComponentRegist... |
[
{
"context": "w Promise( (resolve, reject) ->\n Git.setEmail('deploy@nrt.io').then( ->\n deploy.updateDeployState('pendin",
"end": 256,
"score": 0.999927282333374,
"start": 243,
"tag": "EMAIL",
"value": "deploy@nrt.io"
}
] | server/lib/deploy.coffee | unepwcmc/NRT | 0 | Promise = require 'bluebird'
Git = require('./git')
GitHubDeploy = require('./git_hub_deploy')
CommandRunner = require('../lib/command_runner')
exports.updateFromTag = (tagName, deploy)->
new Promise( (resolve, reject) ->
Git.setEmail('deploy@nrt.io').then( ->
deploy.updateDeployState('pending', 'Fetching ... | 137153 | Promise = require 'bluebird'
Git = require('./git')
GitHubDeploy = require('./git_hub_deploy')
CommandRunner = require('../lib/command_runner')
exports.updateFromTag = (tagName, deploy)->
new Promise( (resolve, reject) ->
Git.setEmail('<EMAIL>').then( ->
deploy.updateDeployState('pending', 'Fetching tags')... | true | Promise = require 'bluebird'
Git = require('./git')
GitHubDeploy = require('./git_hub_deploy')
CommandRunner = require('../lib/command_runner')
exports.updateFromTag = (tagName, deploy)->
new Promise( (resolve, reject) ->
Git.setEmail('PI:EMAIL:<EMAIL>END_PI').then( ->
deploy.updateDeployState('pending', '... |
[
{
"context": "\n\ncache = \n \n hit: (req, res, next) ->\n key = '__express__' + req.originalUrl or req.url\n cachedBody = mc",
"end": 126,
"score": 0.8596668243408203,
"start": 114,
"tag": "KEY",
"value": "'__express__"
},
{
"context": " (duration) ->\n (req, res, next) -... | lib/src_modules/helpers/xpressCache.coffee | tifroz/macxplore | 0 | mcache = require "memory-cache"
logger = console
cache =
hit: (req, res, next) ->
key = '__express__' + req.originalUrl or req.url
cachedBody = mcache.get(key)
if cachedBody
console.log("ok returning _cached value for #{key}")
res.send cachedBody
return
else
... | 160196 | mcache = require "memory-cache"
logger = console
cache =
hit: (req, res, next) ->
key = <KEY>' + req.originalUrl or req.url
cachedBody = mcache.get(key)
if cachedBody
console.log("ok returning _cached value for #{key}")
res.send cachedBody
return
else
consol... | true | mcache = require "memory-cache"
logger = console
cache =
hit: (req, res, next) ->
key = PI:KEY:<KEY>END_PI' + req.originalUrl or req.url
cachedBody = mcache.get(key)
if cachedBody
console.log("ok returning _cached value for #{key}")
res.send cachedBody
return
else... |
[
{
"context": "Tap\n\n@namespace Quo.Gestures\n@class Basic\n\n@author Ignacio Olalde Ramos <ina@tapquo.com> || @piniphone\n###\n\"use strict\"\n\n",
"end": 114,
"score": 0.9998834133148193,
"start": 94,
"tag": "NAME",
"value": "Ignacio Olalde Ramos"
},
{
"context": "tures\n@class Bas... | source/quo.gestures.basic.coffee | lguzzon/QuoJS | 558 | ###
Quo Basic Gestures: touch, hold, doubleTap
@namespace Quo.Gestures
@class Basic
@author Ignacio Olalde Ramos <ina@tapquo.com> || @piniphone
###
"use strict"
Quo.Gestures.add
name : "basic"
events : ["touch", "hold", "doubleTap"]
handler : do (base = Quo.Gestures) ->
GAP = 15
DELAY =
TAP... | 177334 | ###
Quo Basic Gestures: touch, hold, doubleTap
@namespace Quo.Gestures
@class Basic
@author <NAME> <<EMAIL>> || @piniphone
###
"use strict"
Quo.Gestures.add
name : "basic"
events : ["touch", "hold", "doubleTap"]
handler : do (base = Quo.Gestures) ->
GAP = 15
DELAY =
TAP : 200
DO... | true | ###
Quo Basic Gestures: touch, hold, doubleTap
@namespace Quo.Gestures
@class Basic
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @piniphone
###
"use strict"
Quo.Gestures.add
name : "basic"
events : ["touch", "hold", "doubleTap"]
handler : do (base = Quo.Gestures) ->
GAP = 15
DELAY =
... |
[
{
"context": "server = {}\n configuration =\n server: 'http://127.0.0.1:3000'\n emitter: new EventEmitter()\n options",
"end": 713,
"score": 0.999729573726654,
"start": 704,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " configuration =\n server... | test/unit/transaction-runner-test.coffee | cranieri/dredd-extended | 0 | # coffeelint: disable=max_line_length
{EventEmitter} = require 'events'
{assert} = require 'chai'
clone = require 'clone'
nock = require 'nock'
nock.enableNetConnect()
proxyquire = require 'proxyquire'
sinon = require 'sinon'
express = require 'express'
bodyParser = require 'body-parser'
clone = require 'clone'
html... | 220625 | # coffeelint: disable=max_line_length
{EventEmitter} = require 'events'
{assert} = require 'chai'
clone = require 'clone'
nock = require 'nock'
nock.enableNetConnect()
proxyquire = require 'proxyquire'
sinon = require 'sinon'
express = require 'express'
bodyParser = require 'body-parser'
clone = require 'clone'
html... | true | # coffeelint: disable=max_line_length
{EventEmitter} = require 'events'
{assert} = require 'chai'
clone = require 'clone'
nock = require 'nock'
nock.enableNetConnect()
proxyquire = require 'proxyquire'
sinon = require 'sinon'
express = require 'express'
bodyParser = require 'body-parser'
clone = require 'clone'
html... |
[
{
"context": "ll Frontal JavaScript Conference Twitter Wall by\n# Remy Sharp (http://2009.full-frontal.org/screen/).\n#\n#######",
"end": 192,
"score": 0.9998157620429993,
"start": 182,
"tag": "NAME",
"value": "Remy Sharp"
},
{
"context": " \"href\": \"http://twitt... | src/twitterwall.coffee | devanandb/twitter-wall | 1 | ################################################################################
#
# Twitter wall.
#
# Based on the code for the Full Frontal JavaScript Conference Twitter Wall by
# Remy Sharp (http://2009.full-frontal.org/screen/).
#
################################################################################
roo... | 10897 | ################################################################################
#
# Twitter wall.
#
# Based on the code for the Full Frontal JavaScript Conference Twitter Wall by
# <NAME> (http://2009.full-frontal.org/screen/).
#
################################################################################
root = ... | true | ################################################################################
#
# Twitter wall.
#
# Based on the code for the Full Frontal JavaScript Conference Twitter Wall by
# PI:NAME:<NAME>END_PI (http://2009.full-frontal.org/screen/).
#
###########################################################################... |
[
{
"context": "AUTH_FC_KEY\n#\n# Commands:\n# None\n#\n# Author:\n# bouzuya <m@bouzuya.net>\n#\naws = require 'aws-sdk'\n{Promis",
"end": 234,
"score": 0.9997427463531494,
"start": 227,
"tag": "USERNAME",
"value": "bouzuya"
},
{
"context": "Y\n#\n# Commands:\n# None\n#\n# Author... | src/scripts/auth-fc.coffee | bouzuya/hubot-auth-fc | 0 | # auth-fc
# A Hubot script
#
# Configuration:
# HUBOT_AUTH_FC_ACCESS_KEY_ID
# HUBOT_AUTH_FC_SECRET_ACCESS_KEY
# HUBOT_AUTH_FC_REGION
# HUBOT_AUTH_FC_BUCKET
# HUBOT_AUTH_FC_KEY
#
# Commands:
# None
#
# Author:
# bouzuya <m@bouzuya.net>
#
aws = require 'aws-sdk'
{Promise} = require 'es6-promise'
class My... | 112845 | # auth-fc
# A Hubot script
#
# Configuration:
# HUBOT_AUTH_FC_ACCESS_KEY_ID
# HUBOT_AUTH_FC_SECRET_ACCESS_KEY
# HUBOT_AUTH_FC_REGION
# HUBOT_AUTH_FC_BUCKET
# HUBOT_AUTH_FC_KEY
#
# Commands:
# None
#
# Author:
# bouzuya <<EMAIL>>
#
aws = require 'aws-sdk'
{Promise} = require 'es6-promise'
class MyS3
c... | true | # auth-fc
# A Hubot script
#
# Configuration:
# HUBOT_AUTH_FC_ACCESS_KEY_ID
# HUBOT_AUTH_FC_SECRET_ACCESS_KEY
# HUBOT_AUTH_FC_REGION
# HUBOT_AUTH_FC_BUCKET
# HUBOT_AUTH_FC_KEY
#
# Commands:
# None
#
# Author:
# bouzuya <PI:EMAIL:<EMAIL>END_PI>
#
aws = require 'aws-sdk'
{Promise} = require 'es6-promise'
... |
[
{
"context": "n res.status(400).json(result.errors)\n\n\tpassword = result.value.password\n\temail = result.value.email?.toLowerCase()\n\tusern",
"end": 3937,
"score": 0.9971232414245605,
"start": 3916,
"tag": "PASSWORD",
"value": "result.value.password"
},
{
"context": "n ()->\n\t\t... | server/routes/session.coffee | willroberts/duelyst | 5 | express = require 'express'
router = express.Router()
util = require 'util'
Logger = require '../../app/common/logger'
generatePushId = require '../../app/common/generate_push_id'
_ = require 'underscore'
bcrypt = require 'bcrypt'
crypto = require 'crypto'
jwt = require 'jsonwebtoken'
expressJwt = require 'express-jwt... | 88706 | express = require 'express'
router = express.Router()
util = require 'util'
Logger = require '../../app/common/logger'
generatePushId = require '../../app/common/generate_push_id'
_ = require 'underscore'
bcrypt = require 'bcrypt'
crypto = require 'crypto'
jwt = require 'jsonwebtoken'
expressJwt = require 'express-jwt... | true | express = require 'express'
router = express.Router()
util = require 'util'
Logger = require '../../app/common/logger'
generatePushId = require '../../app/common/generate_push_id'
_ = require 'underscore'
bcrypt = require 'bcrypt'
crypto = require 'crypto'
jwt = require 'jsonwebtoken'
expressJwt = require 'express-jwt... |
[
{
"context": "eries slugs to series names\nseriesMap = {\n \"mario\": \"Super Mario\"\n \"donkeykong\": \"Donkey Kong\"\n ",
"end": 221,
"score": 0.6476062536239624,
"start": 219,
"tag": "NAME",
"value": "io"
},
{
"context": "slugs to series names\nseriesMap = {\n \"mario\":... | src/functions/smash.coffee | MindfulMinun/discord-haruka | 2 | #! ========================================
#! Smash
Discord = require 'discord.js'
r = require "#{__dirname}/../helpers/fetch"
fuzzysort = require 'fuzzysort'
# Map series slugs to series names
seriesMap = {
"mario": "Super Mario"
"donkeykong": "Donkey Kong"
"zelda": "Zelda"
"metroid": "Metroid"
... | 17193 | #! ========================================
#! Smash
Discord = require 'discord.js'
r = require "#{__dirname}/../helpers/fetch"
fuzzysort = require 'fuzzysort'
# Map series slugs to series names
seriesMap = {
"mar<NAME>": "<NAME>"
"donkeykong": "<NAME>"
"zelda": "Zelda"
"metroid": "Metroid"
"yoshi... | true | #! ========================================
#! Smash
Discord = require 'discord.js'
r = require "#{__dirname}/../helpers/fetch"
fuzzysort = require 'fuzzysort'
# Map series slugs to series names
seriesMap = {
"marPI:NAME:<NAME>END_PI": "PI:NAME:<NAME>END_PI"
"donkeykong": "PI:NAME:<NAME>END_PI"
"zelda": "... |
[
{
"context": "###\n# controllers/authentication.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# This module de",
"end": 62,
"score": 0.9997255802154541,
"start": 51,
"tag": "NAME",
"value": "Dan Nichols"
}
] | lib/controllers/authentication.coffee | dlnichols/h_media | 0 | ###
# controllers/authentication.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# This module defines the logIn/logOut actions for authentication, for use in
# our express router.
###
'use strict'
# External libs
passport = require 'passport'
debug = require('debug') 'hMedia:controllers:authenticati... | 179983 | ###
# controllers/authentication.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# This module defines the logIn/logOut actions for authentication, for use in
# our express router.
###
'use strict'
# External libs
passport = require 'passport'
debug = require('debug') 'hMedia:controllers:authentication'
... | true | ###
# controllers/authentication.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# This module defines the logIn/logOut actions for authentication, for use in
# our express router.
###
'use strict'
# External libs
passport = require 'passport'
debug = require('debug') 'hMedia:controllers:aut... |
[
{
"context": ": => @get('label') || @get('gquery')\n key: => \"#{@get 'carrier'}_#{@get 'sector'}\"\n\n View: class e",
"end": 499,
"score": 0.7401307225227356,
"start": 496,
"tag": "KEY",
"value": "\"#{"
},
{
"context": ") || @get('gquery')\n key: => \"#{@get 'carrier'}_#... | app/assets/javascripts/d3/mekko.coffee | Abeer-AlHasan/Abu-Dhabi-Model | 21 | D3.mekko =
# This represents a carrier within a sector, ie a chart rectangle
#
Node: class extends Backbone.Model
initialize: =>
@view = @get 'view'
@sector = @view.sector_list.find((s) => s.get('key') == @get('sector'))
@carrier = @view.carrier_list.find((s) => s.get('key') == @get('carrie... | 131982 | D3.mekko =
# This represents a carrier within a sector, ie a chart rectangle
#
Node: class extends Backbone.Model
initialize: =>
@view = @get 'view'
@sector = @view.sector_list.find((s) => s.get('key') == @get('sector'))
@carrier = @view.carrier_list.find((s) => s.get('key') == @get('carrie... | true | D3.mekko =
# This represents a carrier within a sector, ie a chart rectangle
#
Node: class extends Backbone.Model
initialize: =>
@view = @get 'view'
@sector = @view.sector_list.find((s) => s.get('key') == @get('sector'))
@carrier = @view.carrier_list.find((s) => s.get('key') == @get('carrie... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998567700386047,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/quoteselector.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin handles the selection of a publication, a nugget associated to the publication and a portion of the nugget text
# Currently Unused
((jQuery) ->
jQue... | 164024 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin handles the selection of a publication, a nugget associated to the publication and a portion of the nugget text
# Currently Unused
((jQuery) ->
jQuery.widg... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# This plugin handles the selection of a publication, a nugget associated to the publication and a portion of the nugget text
# Currently Unused
((jQuery) ->... |
[
{
"context": "uote from the end\", ->\n # https://github.com/cypress-io/cypress-monorepo/issues/535\n # NPM does not ",
"end": 877,
"score": 0.9995465278625488,
"start": 867,
"tag": "USERNAME",
"value": "cypress-io"
},
{
"context": "oreEach ->\n @obj = {hosts: {\"*.foo... | packages/server/test/unit/args_spec.coffee | intrepion/cypress | 0 | require("../spec_helper")
path = require("path")
argsUtil = require("#{root}lib/util/args")
describe "lib/util/args", ->
beforeEach ->
@setup = (args...) ->
argsUtil.toObject(args)
context "--smoke-test", ->
it "sets pong to ping", ->
options = @setup("--smoke-test", "--ping=123")
e... | 116300 | require("../spec_helper")
path = require("path")
argsUtil = require("#{root}lib/util/args")
describe "lib/util/args", ->
beforeEach ->
@setup = (args...) ->
argsUtil.toObject(args)
context "--smoke-test", ->
it "sets pong to ping", ->
options = @setup("--smoke-test", "--ping=123")
e... | true | require("../spec_helper")
path = require("path")
argsUtil = require("#{root}lib/util/args")
describe "lib/util/args", ->
beforeEach ->
@setup = (args...) ->
argsUtil.toObject(args)
context "--smoke-test", ->
it "sets pong to ping", ->
options = @setup("--smoke-test", "--ping=123")
e... |
[
{
"context": "describe 'joseph', ->\n it 'should evaluate synchronous functions'",
"end": 16,
"score": 0.9824067950248718,
"start": 10,
"tag": "NAME",
"value": "joseph"
}
] | test/test.coffee | zeekay/nightmare-evaluate-async | 7 | describe 'joseph', ->
it 'should evaluate synchronous functions', ->
res = yield browser.evaluate -> 42
res.should.eq 42
res = yield browser.evaluate (a, b, c) ->
a * b * c
, 1, 2, 3
res.should.eq 6
it 'should support node.js style callbacks', ->
p = browser.evaluate (cb) ->
... | 84217 | describe '<NAME>', ->
it 'should evaluate synchronous functions', ->
res = yield browser.evaluate -> 42
res.should.eq 42
res = yield browser.evaluate (a, b, c) ->
a * b * c
, 1, 2, 3
res.should.eq 6
it 'should support node.js style callbacks', ->
p = browser.evaluate (cb) ->
... | true | describe 'PI:NAME:<NAME>END_PI', ->
it 'should evaluate synchronous functions', ->
res = yield browser.evaluate -> 42
res.should.eq 42
res = yield browser.evaluate (a, b, c) ->
a * b * c
, 1, 2, 3
res.should.eq 6
it 'should support node.js style callbacks', ->
p = browser.evaluate (c... |
[
{
"context": "###*\n# @fileoverview Tests for no-sync.\n# @author Matt DuVall <http://www.mattduvall.com>\n###\n\n'use strict'\n\n#-",
"end": 61,
"score": 0.9998590350151062,
"start": 50,
"tag": "NAME",
"value": "Matt DuVall"
}
] | src/tests/rules/no-sync.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-sync.
# @author Matt DuVall <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no... | 148572 | ###*
# @fileoverview Tests for no-sync.
# @author <NAME> <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-sync... | true | ###*
# @fileoverview Tests for no-sync.
# @author PI:NAME:<NAME>END_PI <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib... |
[
{
"context": " phone_number: 'bb007'\n\tpassword: crypto.encrypt 'bb007', config.pass_crypto_secret\n\nUser.count (err, cou",
"end": 297,
"score": 0.9994279146194458,
"start": 292,
"tag": "PASSWORD",
"value": "bb007"
}
] | fixture.coffee | icarusysuper/imageDistribution | 0 | require 'date-utils'
config = require './config'
path = require 'path'
User = require('./proxy').User
Album = require('./proxy').Album
crypto = require './helper/bbCrypto'
config = require './config'
mongoose = require 'mongoose'
user =
phone_number: 'bb007'
password: crypto.encrypt 'bb007', config.pass_crypto_s... | 208350 | require 'date-utils'
config = require './config'
path = require 'path'
User = require('./proxy').User
Album = require('./proxy').Album
crypto = require './helper/bbCrypto'
config = require './config'
mongoose = require 'mongoose'
user =
phone_number: 'bb007'
password: crypto.encrypt '<PASSWORD>', config.pass_cry... | true | require 'date-utils'
config = require './config'
path = require 'path'
User = require('./proxy').User
Album = require('./proxy').Album
crypto = require './helper/bbCrypto'
config = require './config'
mongoose = require 'mongoose'
user =
phone_number: 'bb007'
password: crypto.encrypt 'PI:PASSWORD:<PASSWORD>END_PI... |
[
{
"context": "###\n Backbone.BindTo\n\n Author: Radoslav Stankov\n Project site: https://github.com/RStankov/backbo",
"end": 47,
"score": 0.9998701214790344,
"start": 31,
"tag": "NAME",
"value": "Radoslav Stankov"
},
{
"context": "adoslav Stankov\n Project site: https://github.com/RS... | lib/generators/backbone_generator/setup_generator/templates/vendor/assets/javascripts/backbone/backbone-bind-to-1.1.0.coffee | chip-miller/rails-backbone-generator | 1 | ###
Backbone.BindTo
Author: Radoslav Stankov
Project site: https://github.com/RStankov/backbone-bind-to
Licensed under the MIT License.
###
root = @
BackboneView = root.Backbone.View
class BindToView extends BackboneView
constructor: ->
super
@bindTo @model, eventName, methodName for eventName, method... | 219174 | ###
Backbone.BindTo
Author: <NAME>
Project site: https://github.com/RStankov/backbone-bind-to
Licensed under the MIT License.
###
root = @
BackboneView = root.Backbone.View
class BindToView extends BackboneView
constructor: ->
super
@bindTo @model, eventName, methodName for eventName, methodName of @b... | true | ###
Backbone.BindTo
Author: PI:NAME:<NAME>END_PI
Project site: https://github.com/RStankov/backbone-bind-to
Licensed under the MIT License.
###
root = @
BackboneView = root.Backbone.View
class BindToView extends BackboneView
constructor: ->
super
@bindTo @model, eventName, methodName for eventName, me... |
[
{
"context": "{base64 getName() ? ''}&mn=#{zoomID}&email=&pwd=#{zoomPwd ? ''}&role=0&lang=en-US&signature=#{signature}&ch",
"end": 1900,
"score": 0.9396725296974182,
"start": 1893,
"tag": "PASSWORD",
"value": "zoomPwd"
}
] | client/TabZoom.coffee | mehtank/comingle | 0 | import React, {useState, useMemo} from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import {Alert, Button, Row, Col} from 'react-bootstrap'
import {allow} from './TabIFrame'
import {getName} from './Name'
import {Tabs, zoomRegExp} from '/lib/tabs'
import {meteorCallPromise} from '/lib/meteorPromise'
##... | 65793 | import React, {useState, useMemo} from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import {Alert, Button, Row, Col} from 'react-bootstrap'
import {allow} from './TabIFrame'
import {getName} from './Name'
import {Tabs, zoomRegExp} from '/lib/tabs'
import {meteorCallPromise} from '/lib/meteorPromise'
##... | true | import React, {useState, useMemo} from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import {Alert, Button, Row, Col} from 'react-bootstrap'
import {allow} from './TabIFrame'
import {getName} from './Name'
import {Tabs, zoomRegExp} from '/lib/tabs'
import {meteorCallPromise} from '/lib/meteorPromise'
##... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9984062314033508,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream2-unpipe-drain.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... | 218456 | # 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": " options, package_name, handler ) ->\n key = \"texlive-package-versions/#{package_name}\"\n method = ( done ) => @_read_texl",
"end": 1785,
"score": 0.997250497341156,
"start": 1758,
"tag": "KEY",
"value": "texlive-package-versions/#{"
}
] | src/texlivepackageinfo.coffee | loveencounterflow/mingkwai-typesetter | 1 |
############################################################################################################
# njs_path = require 'path'
# njs_fs = require 'fs'
#...........................................................................................................
CND ... | 137164 |
############################################################################################################
# njs_path = require 'path'
# njs_fs = require 'fs'
#...........................................................................................................
CND ... | true |
############################################################################################################
# njs_path = require 'path'
# njs_fs = require 'fs'
#...........................................................................................................
CND ... |
[
{
"context": "# JavaScript MD5\n# https://github.com/blueimp/JavaScript-MD5\n#\n# Copyright 2011, Sebastian Tsch",
"end": 45,
"score": 0.9922475814819336,
"start": 38,
"tag": "USERNAME",
"value": "blueimp"
},
{
"context": "hub.com/blueimp/JavaScript-MD5\n#\n# Copyright 2011, Sebastia... | src/index.coffee | zeekay/es-md5 | 1 | # JavaScript MD5
# https://github.com/blueimp/JavaScript-MD5
#
# Copyright 2011, Sebastian Tschan
# https://blueimp.net
#
# Licensed under the MIT license:
# https://opensource.org/licenses/MIT
#
# Based on
# A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
# Digest Algorithm, as defined in RFC 13... | 5016 | # JavaScript MD5
# https://github.com/blueimp/JavaScript-MD5
#
# Copyright 2011, <NAME>
# https://blueimp.net
#
# Licensed under the MIT license:
# https://opensource.org/licenses/MIT
#
# Based on
# A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
# Digest Algorithm, as defined in RFC 1321.
# Vers... | true | # JavaScript MD5
# https://github.com/blueimp/JavaScript-MD5
#
# Copyright 2011, PI:NAME:<NAME>END_PI
# https://blueimp.net
#
# Licensed under the MIT license:
# https://opensource.org/licenses/MIT
#
# Based on
# A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
# Digest Algorithm, as defined in RF... |
[
{
"context": "workaround until PR is merged: https://github.com/felixge/node-measured/pull/12\n allTimerMeters = _.map ",
"end": 4525,
"score": 0.9996311664581299,
"start": 4518,
"tag": "USERNAME",
"value": "felixge"
},
{
"context": "rser()\n statsApp.use express.session({secre... | src/coffee/stats.coffee | sphereio/sphere-message-processing | 0 | Rx = require 'rx'
Q = require 'q'
{_} = require 'underscore'
_s = require 'underscore.string'
express = require 'express'
measured = require 'measured'
{LoggerFactory} = require '../lib/logger'
util = require '../lib/util'
{ErrorStatusCode} = require '../lib/sphere_service'
JSONStream = require 'JSONStream'
class Mete... | 171149 | Rx = require 'rx'
Q = require 'q'
{_} = require 'underscore'
_s = require 'underscore.string'
express = require 'express'
measured = require 'measured'
{LoggerFactory} = require '../lib/logger'
util = require '../lib/util'
{ErrorStatusCode} = require '../lib/sphere_service'
JSONStream = require 'JSONStream'
class Mete... | true | Rx = require 'rx'
Q = require 'q'
{_} = require 'underscore'
_s = require 'underscore.string'
express = require 'express'
measured = require 'measured'
{LoggerFactory} = require '../lib/logger'
util = require '../lib/util'
{ErrorStatusCode} = require '../lib/sphere_service'
JSONStream = require 'JSONStream'
class Mete... |
[
{
"context": "# Helper of BanaJs\n# author: dreampuf(soddyque@gmail.com)\n\nassert = require \"assert\"\ncr",
"end": 37,
"score": 0.9995956420898438,
"start": 29,
"tag": "USERNAME",
"value": "dreampuf"
},
{
"context": "# Helper of BanaJs\n# author: dreampuf(soddyque@gmail.com)\n\nass... | form.coffee | dreampuf/banajs | 3 | # Helper of BanaJs
# author: dreampuf(soddyque@gmail.com)
assert = require "assert"
crypto = require "crypto"
url = require "url"
class Form
constructor:(@title)->
if !(@ instanceof Form)
return new Form(@title)
@fields = {}
@fieldList = []
@
field:(name, title, valid)->
field = new Fiel... | 157249 | # Helper of BanaJs
# author: dreampuf(<EMAIL>)
assert = require "assert"
crypto = require "crypto"
url = require "url"
class Form
constructor:(@title)->
if !(@ instanceof Form)
return new Form(@title)
@fields = {}
@fieldList = []
@
field:(name, title, valid)->
field = new Field name, tit... | true | # Helper of BanaJs
# author: dreampuf(PI:EMAIL:<EMAIL>END_PI)
assert = require "assert"
crypto = require "crypto"
url = require "url"
class Form
constructor:(@title)->
if !(@ instanceof Form)
return new Form(@title)
@fields = {}
@fieldList = []
@
field:(name, title, valid)->
field = new ... |
[
{
"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.9998745918273926,
"start": 55,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": "ses/mit-license.php)\n Source: https://github.com/... | src/cache/memory_store.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'
LRU = require 'lru-cache'
module.exports = class MemoryStor... | 203818 | ###
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'
LRU = require 'lru-cache'
module.exports = class MemoryStore
... | 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'
LRU = require 'lru-cache'
module.exports = clas... |
[
{
"context": "ta to he state', ->\n myScreen.update({name: 'Ford Prefect'})\n expect(myScreen.state).to.have.property(",
"end": 488,
"score": 0.9998186230659485,
"start": 476,
"tag": "NAME",
"value": "Ford Prefect"
},
{
"context": " to the client', ->\n myScreen.update... | test/client.coffee | dane-johnson/mulberry-server | 0 | expect = require 'expect.js'
sinon = require 'sinon'
{Screen, Player} = require '../src/client'
describe 'Screen', ->
myScreen = null
beforeEach ->
mockSocket =
emit: sinon.spy()
on: sinon.spy()
myScreen = new Screen mockSocket
describe '.constructor', ->
it 'creates a new screen with a... | 57131 | expect = require 'expect.js'
sinon = require 'sinon'
{Screen, Player} = require '../src/client'
describe 'Screen', ->
myScreen = null
beforeEach ->
mockSocket =
emit: sinon.spy()
on: sinon.spy()
myScreen = new Screen mockSocket
describe '.constructor', ->
it 'creates a new screen with a... | true | expect = require 'expect.js'
sinon = require 'sinon'
{Screen, Player} = require '../src/client'
describe 'Screen', ->
myScreen = null
beforeEach ->
mockSocket =
emit: sinon.spy()
on: sinon.spy()
myScreen = new Screen mockSocket
describe '.constructor', ->
it 'creates a new screen with a... |
[
{
"context": "ustomLogger = (options) ->\n # @name = 'NewbornsWatcher'\n # @level = options.level or 'error'\n",
"end": 1358,
"score": 0.6310587525367737,
"start": 1343,
"tag": "USERNAME",
"value": "NewbornsWatcher"
},
{
"context": "ion/json'\n # ... | src/Logger.coffee | rodolforios/logger | 0 | winston = require 'winston'
require 'winston-loggly'
moment = require 'moment'
class Logger
instance = null
get: (options) ->
return instance if instance?
transports = []
filepath = options.filepath ? "."
if options?.console?
transports.push new (winston.transpor... | 70322 | winston = require 'winston'
require 'winston-loggly'
moment = require 'moment'
class Logger
instance = null
get: (options) ->
return instance if instance?
transports = []
filepath = options.filepath ? "."
if options?.console?
transports.push new (winston.transpor... | true | winston = require 'winston'
require 'winston-loggly'
moment = require 'moment'
class Logger
instance = null
get: (options) ->
return instance if instance?
transports = []
filepath = options.filepath ? "."
if options?.console?
transports.push new (winston.transpor... |
[
{
"context": " Bash extends Skill\n target: TARGET_DIR8\n key: 'bash'\n name: 'bash'\n mp: 3\n cooldown: 2\n\n run: (di",
"end": 59,
"score": 0.9921629428863525,
"start": 55,
"tag": "KEY",
"value": "bash"
}
] | js/skills/bash.coffee | ktchernov/7drl-lion.github.io | 27 | class Bash extends Skill
target: TARGET_DIR8
key: 'bash'
name: 'bash'
mp: 3
cooldown: 2
run: (dir) ->
[i, j] = @state.get_adjacent_pos @id, dir
target_id = @state.get_by_pos i, j
return unless target_id
[ni, nj] = @state.get_adjacent i, j, dir
if @state.is_blocked ni, nj
@execut... | 30997 | class Bash extends Skill
target: TARGET_DIR8
key: '<KEY>'
name: 'bash'
mp: 3
cooldown: 2
run: (dir) ->
[i, j] = @state.get_adjacent_pos @id, dir
target_id = @state.get_by_pos i, j
return unless target_id
[ni, nj] = @state.get_adjacent i, j, dir
if @state.is_blocked ni, nj
@execu... | true | class Bash extends Skill
target: TARGET_DIR8
key: 'PI:KEY:<KEY>END_PI'
name: 'bash'
mp: 3
cooldown: 2
run: (dir) ->
[i, j] = @state.get_adjacent_pos @id, dir
target_id = @state.get_by_pos i, j
return unless target_id
[ni, nj] = @state.get_adjacent i, j, dir
if @state.is_blocked ni, nj... |
[
{
"context": "ken',\n grant_type: 'password'\n username: username\n password: password\n client_id: clientI",
"end": 5538,
"score": 0.9982996582984924,
"start": 5530,
"tag": "USERNAME",
"value": "username"
},
{
"context": "password'\n username: username\n ... | src/auth.coffee | teamsnap/teamsnap-javascript-sdk | 9 | TeamSnap = require('./teamsnap').TeamSnap
promises = require './promises'
request = require './request'
jsonMime = 'application/json'
collectionJSONMime = 'application/vnd.collection+json'
multipartMime = 'multipart/form-data'
browserStorageName = 'teamsnap.authToken'
# Sets up requests for the JSON auth services
auth... | 126402 | TeamSnap = require('./teamsnap').TeamSnap
promises = require './promises'
request = require './request'
jsonMime = 'application/json'
collectionJSONMime = 'application/vnd.collection+json'
multipartMime = 'multipart/form-data'
browserStorageName = 'teamsnap.authToken'
# Sets up requests for the JSON auth services
auth... | true | TeamSnap = require('./teamsnap').TeamSnap
promises = require './promises'
request = require './request'
jsonMime = 'application/json'
collectionJSONMime = 'application/vnd.collection+json'
multipartMime = 'multipart/form-data'
browserStorageName = 'teamsnap.authToken'
# Sets up requests for the JSON auth services
auth... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.999183714389801,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": " req = http.request(\n method: \"GET\"\n host: \"127.0.0.1\"\n port: common.PORT\n )\... | test/simple/test-http-abort-before-end.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... | 26341 | # 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": " name: 'Card 1',\n ownerName: 'Bart',\n formattedId: 'US123'\n };\n ",
"end": 6857,
"score": 0.9997589588165283,
"start": 6853,
"tag": "NAME",
"value": "Bart"
},
{
"context": " name: 'Card 1',\n ownerName: 'Hom... | bower_components/rui-angular/rui-concat.src.coffee | RallyHackathon/angular-safe-tools | 0 | cardboard = angular.module 'rui.cardboard', [
'rui.templates'
'rui.cardboard.directives.cardboard'
'rui.cardboard.directives.column'
'rui.cardboard.directives.card'
'rui.cardboard.directives.columnscrollable'
'rui.cardboard.directives.columnscrollbars'
'rui.cardboard.filters.wip'
]
module = angular.module... | 20323 | cardboard = angular.module 'rui.cardboard', [
'rui.templates'
'rui.cardboard.directives.cardboard'
'rui.cardboard.directives.column'
'rui.cardboard.directives.card'
'rui.cardboard.directives.columnscrollable'
'rui.cardboard.directives.columnscrollbars'
'rui.cardboard.filters.wip'
]
module = angular.module... | true | cardboard = angular.module 'rui.cardboard', [
'rui.templates'
'rui.cardboard.directives.cardboard'
'rui.cardboard.directives.column'
'rui.cardboard.directives.card'
'rui.cardboard.directives.columnscrollable'
'rui.cardboard.directives.columnscrollbars'
'rui.cardboard.filters.wip'
]
module = angular.module... |
[
{
"context": "s.spaceId()\n\t\t\t\t\trequest.headers['X-Auth-Token'] = Accounts._storedLoginToken()\n\t\t\t\tonLoading: (loadOptions)->\n\t\t\t\t\tc",
"end": 626,
"score": 0.5487020611763,
"start": 610,
"tag": "PASSWORD",
"value": "Accounts._stored"
},
{
"context": "request.headers['... | packages/steedos-creator/client/mobile/related_object_list.coffee | zonglu233/fuel-car | 0 | displayListGrid = (app_id, object_name, related_object_name, record_id, icon, name_field_key)->
url = "/api/odata/v4/#{Steedos.spaceId()}/#{related_object_name}"
filter = Creator.getODataRelatedFilter(object_name, related_object_name, record_id)
console.log filter
self.$("#relatedObjectRecords").dxList({
dataSour... | 149678 | displayListGrid = (app_id, object_name, related_object_name, record_id, icon, name_field_key)->
url = "/api/odata/v4/#{Steedos.spaceId()}/#{related_object_name}"
filter = Creator.getODataRelatedFilter(object_name, related_object_name, record_id)
console.log filter
self.$("#relatedObjectRecords").dxList({
dataSour... | true | displayListGrid = (app_id, object_name, related_object_name, record_id, icon, name_field_key)->
url = "/api/odata/v4/#{Steedos.spaceId()}/#{related_object_name}"
filter = Creator.getODataRelatedFilter(object_name, related_object_name, record_id)
console.log filter
self.$("#relatedObjectRecords").dxList({
dataSour... |
[
{
"context": " hello: 'world'\n )).toEqual [\n key: 'blah.hello'\n val: 'world'\n ,\n key: 'foo.bar.baz",
"end": 272,
"score": 0.998086154460907,
"start": 262,
"tag": "KEY",
"value": "blah.hello"
},
{
"context": "'blah.hello'\n val: 'world'\n ,\n ... | spec/packer.coffee | mantacode/feature-toggle-lib | 0 | describe 'lib/packer', ->
Given -> @subject = require '../lib/packer'
describe '.sort', ->
Then -> expect(@subject.sort(
v: 3
foo:
bar:
baz: 1
quux: 0
blah:
hello: 'world'
)).toEqual [
key: 'blah.hello'
val: 'world'
,
key: 'foo.bar.b... | 213602 | describe 'lib/packer', ->
Given -> @subject = require '../lib/packer'
describe '.sort', ->
Then -> expect(@subject.sort(
v: 3
foo:
bar:
baz: 1
quux: 0
blah:
hello: 'world'
)).toEqual [
key: '<KEY>'
val: 'world'
,
key: '<KEY>'
v... | true | describe 'lib/packer', ->
Given -> @subject = require '../lib/packer'
describe '.sort', ->
Then -> expect(@subject.sort(
v: 3
foo:
bar:
baz: 1
quux: 0
blah:
hello: 'world'
)).toEqual [
key: 'PI:KEY:<KEY>END_PI'
val: 'world'
,
key: 'P... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9989433884620667,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream2-objects.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... | 190209 | # 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": "name: \"Wellesley House\"\naddress: \"Wellesley House, 30 Wellington Road No",
"end": 22,
"score": 0.9998824000358582,
"start": 7,
"tag": "NAME",
"value": "Wellesley House"
},
{
"context": "lington Road North, Stockport. SK4 1LS\"\ncontact: \"Deb Murdock - 0161 968 5520... | app/data/locations/wellesley.cson | dwpdigitaltech/DWPwelcome | 0 | name: "Wellesley House"
address: "Wellesley House, 30 Wellington Road North, Stockport. SK4 1LS"
contact: "Deb Murdock - 0161 968 5520"
directions:
train: [
"The nearest train station is Stockport, which is just over half a mile (a 15 minute walk) from Wellesley House."
"Exit the station from the lower concou... | 23803 | name: "<NAME>"
address: "Wellesley House, 30 Wellington Road North, Stockport. SK4 1LS"
contact: "<NAME> - 0161 968 5520"
directions:
train: [
"The nearest train station is Stockport, which is just over half a mile (a 15 minute walk) from Wellesley House."
"Exit the station from the lower concourse where the ... | true | name: "PI:NAME:<NAME>END_PI"
address: "Wellesley House, 30 Wellington Road North, Stockport. SK4 1LS"
contact: "PI:NAME:<NAME>END_PI - 0161 968 5520"
directions:
train: [
"The nearest train station is Stockport, which is just over half a mile (a 15 minute walk) from Wellesley House."
"Exit the station from th... |
[
{
"context": "ext Completions converted from https://github.com/Southclaw/pawn-sublime-language\n# Converter created by Rena",
"end": 89,
"score": 0.9996075630187988,
"start": 80,
"tag": "USERNAME",
"value": "Southclaw"
},
{
"context": "hclaw/pawn-sublime-language\n# Converter create... | snippets/FCNPC.cson | Wuzi/language-pawn | 4 | # Atom Snippets from Sublime Text Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by Renato "Hii" Garcia.
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'FCNPC_OnCreate':
'prefix': 'FCNPC_OnCreate'
'bo... | 187453 | # Atom Snippets from Sublime Text Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by <NAME> "<NAME>" <NAME>.
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'FCNPC_OnCreate':
'prefix': 'FCNPC_OnCreate'
... | true | # Atom Snippets from Sublime Text Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI" PI:NAME:<NAME>END_PI.
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'FCNPC_OnCr... |
[
{
"context": "Templates, LetterVariables) ->\n $scope.name = 'Design'\n $scope.logos = Logos.query()\n $scope.lett",
"end": 335,
"score": 0.6777471899986267,
"start": 329,
"tag": "NAME",
"value": "Design"
}
] | client/app/scripts/controllers/design.coffee | garry-cairns/correspondence | 2 | 'use strict'
###*
# @ngdoc function
# @name correspondenceApp.controller:AboutCtrl
# @description
# # AboutCtrl
# Controller of the correspondenceApp
###
angular.module 'correspondenceApp'
.controller 'DesignCtrl', ($scope, $location, Logos, Letterheads, Letters, ContentTemplates, LetterVariables) ->
$scope... | 45911 | 'use strict'
###*
# @ngdoc function
# @name correspondenceApp.controller:AboutCtrl
# @description
# # AboutCtrl
# Controller of the correspondenceApp
###
angular.module 'correspondenceApp'
.controller 'DesignCtrl', ($scope, $location, Logos, Letterheads, Letters, ContentTemplates, LetterVariables) ->
$scope... | true | 'use strict'
###*
# @ngdoc function
# @name correspondenceApp.controller:AboutCtrl
# @description
# # AboutCtrl
# Controller of the correspondenceApp
###
angular.module 'correspondenceApp'
.controller 'DesignCtrl', ($scope, $location, Logos, Letterheads, Letters, ContentTemplates, LetterVariables) ->
$scope... |
[
{
"context": "ing={@state.saving}\n key={@state.comments.length}\n onSave={@handleSave}\n placeho",
"end": 838,
"score": 0.6333066821098328,
"start": 832,
"tag": "KEY",
"value": "length"
},
{
"context": "repository, there's a <a href=\"https://github.com/Ky... | src/examples.coffee | KyleAMathews/react-markdown-textarea | 82 | React = require 'react'
MarkdownTextarea = require('./index')
marked = require 'marked'
# Assign react to Window so the Chrome React Dev Tools will work
window.React = React
Spinner = require 'react-spinner'
CommentBox = React.createClass(
getInitialState: ->
comments: ['The first comment!']
saving: false
... | 78699 | React = require 'react'
MarkdownTextarea = require('./index')
marked = require 'marked'
# Assign react to Window so the Chrome React Dev Tools will work
window.React = React
Spinner = require 'react-spinner'
CommentBox = React.createClass(
getInitialState: ->
comments: ['The first comment!']
saving: false
... | true | React = require 'react'
MarkdownTextarea = require('./index')
marked = require 'marked'
# Assign react to Window so the Chrome React Dev Tools will work
window.React = React
Spinner = require 'react-spinner'
CommentBox = React.createClass(
getInitialState: ->
comments: ['The first comment!']
saving: false
... |
[
{
"context": "hism\n# hubot define polymorphism\n#\n# Author:\n# Mateusz Kopij <sagasu>\n\n\nmodule.exports = (robot) ->\n\n robot.r",
"end": 437,
"score": 0.9998612403869629,
"start": 424,
"tag": "NAME",
"value": "Mateusz Kopij"
},
{
"context": "efine polymorphism\n#\n# Author:... | scripts/morphism.coffee | sagasu/doc | 1 | # Description:
# Morphism definitions.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot define homomorphism
# hubot define isomorphism
# hubot define monomorphism
# hubot define endomorphism
# hubot define automorphism
# hubot define catamorphism
# hubot define anamorphism
# ... | 65138 | # Description:
# Morphism definitions.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot define homomorphism
# hubot define isomorphism
# hubot define monomorphism
# hubot define endomorphism
# hubot define automorphism
# hubot define catamorphism
# hubot define anamorphism
# ... | true | # Description:
# Morphism definitions.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot define homomorphism
# hubot define isomorphism
# hubot define monomorphism
# hubot define endomorphism
# hubot define automorphism
# hubot define catamorphism
# hubot define anamorphism
# ... |
[
{
"context": "rm a POST', (done)=>\n # @testCol.create {name:\"Fantastic Rubber Computer\", price:9},\n # success:(m,r,o)=>\n ",
"end": 1545,
"score": 0.6778547167778015,
"start": 1529,
"tag": "NAME",
"value": "Fantastic Rubber"
}
] | test/server/node_modules/api-hero/node_modules/rikki-tikki-client/test/Collections.coffee | vancarney/apihero-module-socket.io | 0 | fs = require 'fs'
(chai = require 'chai').should()
_ = (require 'underscore')._
Backbone = require 'backbone'
Backbone.$ = require 'jQuery'
{RikkiTikki} = require '../index'
jsonData = require './data.json'
server = true
API = RikkiTikki.cr... | 206557 | fs = require 'fs'
(chai = require 'chai').should()
_ = (require 'underscore')._
Backbone = require 'backbone'
Backbone.$ = require 'jQuery'
{RikkiTikki} = require '../index'
jsonData = require './data.json'
server = true
API = RikkiTikki.cr... | true | fs = require 'fs'
(chai = require 'chai').should()
_ = (require 'underscore')._
Backbone = require 'backbone'
Backbone.$ = require 'jQuery'
{RikkiTikki} = require '../index'
jsonData = require './data.json'
server = true
API = RikkiTikki.cr... |
[
{
"context": "context: this, @template\n\n\nstudent = new Student \"Varuna\", 26\nstudent.render()\n\nWeya elem: document.body, ",
"end": 429,
"score": 0.9718987941741943,
"start": 423,
"tag": "NAME",
"value": "Varuna"
}
] | weya/sample/dom.coffee | pavanvidusankha/Archiver | 0 | class Student
constructor: (name, age) ->
@name = name
@age = age
template: ->
@div "#name.col-md-6", ->
@span "Name"
@span @$.name
@div "#age.col-md-6", style: {background: "blue"}, ->
@span "Age"
@span "#{@$.age}"
@input "#ageInput", type: "text", null
render: ->
console.log Weya.markup ... | 17355 | class Student
constructor: (name, age) ->
@name = name
@age = age
template: ->
@div "#name.col-md-6", ->
@span "Name"
@span @$.name
@div "#age.col-md-6", style: {background: "blue"}, ->
@span "Age"
@span "#{@$.age}"
@input "#ageInput", type: "text", null
render: ->
console.log Weya.markup ... | true | class Student
constructor: (name, age) ->
@name = name
@age = age
template: ->
@div "#name.col-md-6", ->
@span "Name"
@span @$.name
@div "#age.col-md-6", style: {background: "blue"}, ->
@span "Age"
@span "#{@$.age}"
@input "#ageInput", type: "text", null
render: ->
console.log Weya.markup ... |
[
{
"context": " jQuery Waypoints - v2.0.4\nCopyright (c) 2011-2014 Caleb Troughton\nDual licensed under the MIT license and GPL licen",
"end": 98,
"score": 0.9998793005943298,
"start": 83,
"tag": "NAME",
"value": "Caleb Troughton"
},
{
"context": "e MIT license and GPL license.\nhttps... | vendor/assets/javascripts/waypoints-infinite.js.coffee | yoavmatchulsky/waypoints-rails | 1 | ###
Infinite Scroll Shortcut for jQuery Waypoints - v2.0.4
Copyright (c) 2011-2014 Caleb Troughton
Dual licensed under the MIT license and GPL license.
https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
###
((root, factory) ->
if typeof define is 'function' and define.amd
define ['jquery'... | 19439 | ###
Infinite Scroll Shortcut for jQuery Waypoints - v2.0.4
Copyright (c) 2011-2014 <NAME>
Dual licensed under the MIT license and GPL license.
https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
###
((root, factory) ->
if typeof define is 'function' and define.amd
define ['jquery', 'waypoi... | true | ###
Infinite Scroll Shortcut for jQuery Waypoints - v2.0.4
Copyright (c) 2011-2014 PI:NAME:<NAME>END_PI
Dual licensed under the MIT license and GPL license.
https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
###
((root, factory) ->
if typeof define is 'function' and define.amd
define ['jq... |
[
{
"context": "###\ndescription: test jssgf.js\nauthor: ICHIKAWA, Yuji\ncopyright: 2014 (C) ICHIKAWA, Yuji (New 3 R",
"end": 47,
"score": 0.9998331069946289,
"start": 39,
"tag": "NAME",
"value": "ICHIKAWA"
},
{
"context": "###\ndescription: test jssgf.js\nauthor: ICHIKAWA, Yuji\ncopyr... | tests/testJssgf.coffee | y-ich/jssgf | 0 | ###
description: test jssgf.js
author: ICHIKAWA, Yuji
copyright: 2014 (C) ICHIKAWA, Yuji (New 3 Rs)
###
assert = require 'assert'
parser = require('./jssgf').parser
describe 'parser', ->
describe 'bug of regular expression in V8', ->
it 'bracket with linebreak', ->
bracket = '[\n]'
... | 167099 | ###
description: test jssgf.js
author: <NAME>, <NAME>
copyright: 2014 (C) ICHIKAWA, Yuji (New 3 Rs)
###
assert = require 'assert'
parser = require('./jssgf').parser
describe 'parser', ->
describe 'bug of regular expression in V8', ->
it 'bracket with linebreak', ->
bracket = '[\n]'
... | true | ###
description: test jssgf.js
author: PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
copyright: 2014 (C) ICHIKAWA, Yuji (New 3 Rs)
###
assert = require 'assert'
parser = require('./jssgf').parser
describe 'parser', ->
describe 'bug of regular expression in V8', ->
it 'bracket with linebreak', ->
... |
[
{
"context": "\nMOUNT =\n key: \"valid\"\n password: \"abc123\"\n format: \"mp3\"\n\nclass FakeMaster\n cons",
"end": 314,
"score": 0.9986468553543091,
"start": 308,
"tag": "PASSWORD",
"value": "abc123"
},
{
"context": " filePath: mp3\n h... | test/source_in.coffee | firebrandv2/FirebrandNetwork.ga | 342 | SourceIn = $src "master/source_in"
SourceMount = $src "master/source_mount"
Logger = $src "logger"
IcecastSource = $src "util/icecast_source"
mp3 = $file "mp3/mp3-44100-128-s.mp3"
net = require "net"
debug = require("debug")("sm:tests:source_in")
MOUNT =
key: "valid"
password: "abc123"
... | 46440 | SourceIn = $src "master/source_in"
SourceMount = $src "master/source_mount"
Logger = $src "logger"
IcecastSource = $src "util/icecast_source"
mp3 = $file "mp3/mp3-44100-128-s.mp3"
net = require "net"
debug = require("debug")("sm:tests:source_in")
MOUNT =
key: "valid"
password: "<PASSWORD>"
... | true | SourceIn = $src "master/source_in"
SourceMount = $src "master/source_mount"
Logger = $src "logger"
IcecastSource = $src "util/icecast_source"
mp3 = $file "mp3/mp3-44100-128-s.mp3"
net = require "net"
debug = require("debug")("sm:tests:source_in")
MOUNT =
key: "valid"
password: "PI:PASSWORD:... |
[
{
"context": " otpService.generate {uuid: 'my-uuid', token: 'my-token', metadata: {something: true}}, (error, result) =",
"end": 1105,
"score": 0.7962695956230164,
"start": 1097,
"tag": "PASSWORD",
"value": "my-token"
},
{
"context": "p.equal {\n uuid: 'my-uuid'\n to... | test/integration/v2-DELETE-password-spec.coffee | octoblu/meshblu-otp-service | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
request = require 'request'
mongojs = require 'mongojs'
Server = require '../../src/server'
Encryption = require '../../src/services/encryption'
MeshbluOtpService = require '../../src/services/meshblu-otp-ser... | 117395 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
request = require 'request'
mongojs = require 'mongojs'
Server = require '../../src/server'
Encryption = require '../../src/services/encryption'
MeshbluOtpService = require '../../src/services/meshblu-otp-ser... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
request = require 'request'
mongojs = require 'mongojs'
Server = require '../../src/server'
Encryption = require '../../src/services/encryption'
MeshbluOtpService = require '../../src/services/meshblu-otp-ser... |
[
{
"context": "tion = mysql.createConnection\n host: host\n user: username\n password: password\n database: dbname\n socketP",
"end": 255,
"score": 0.8580183386802673,
"start": 247,
"tag": "USERNAME",
"value": "username"
},
{
"context": "nnection\n host: host\n user: username\n... | database.coffee | usamaa/coffeescript-node-npm-stylus-jade-express | 0 | mysql = require 'mysql'
# Configuration
process.env.NODE_CONFIG_DIR = __dirname + '/config'
cfg = require 'config'
# Database connection
{host, dbname, username, password} = cfg.database
connection = mysql.createConnection
host: host
user: username
password: password
database: dbname
socketPath: '/Applicat... | 126497 | mysql = require 'mysql'
# Configuration
process.env.NODE_CONFIG_DIR = __dirname + '/config'
cfg = require 'config'
# Database connection
{host, dbname, username, password} = cfg.database
connection = mysql.createConnection
host: host
user: username
password: <PASSWORD>
database: dbname
socketPath: '/Applic... | true | mysql = require 'mysql'
# Configuration
process.env.NODE_CONFIG_DIR = __dirname + '/config'
cfg = require 'config'
# Database connection
{host, dbname, username, password} = cfg.database
connection = mysql.createConnection
host: host
user: username
password: PI:PASSWORD:<PASSWORD>END_PI
database: dbname
so... |
[
{
"context": "TH_GALAXY_HASH = 'galaxy.hash'\nAUTH_GALAXY_JWT = 'galaxy.jwt'\nAUTH_GALAXY_TOKEN = 'galaxy.token'\n\nOPTIONS = [\n",
"end": 677,
"score": 0.6456865072250366,
"start": 667,
"tag": "PASSWORD",
"value": "galaxy.jwt"
},
{
"context": "TH_GALAXY_JWT = 'galaxy.jwt'\nAUTH_GALA... | plugins/starpeace-client/state/options.coffee | starpeace-project/starpeace-client-website | 1 | import _ from 'lodash'
import Vue from 'vue'
import EventListener from '~/plugins/starpeace-client/state/event-listener.coffee'
import Utils from '~/plugins/starpeace-client/utils/utils.coffee'
import Logger from '~/plugins/starpeace-client/logger.coffee'
LANGUAGES = ['DE', 'EN', 'ES', 'FR', 'IT', 'PT']
LANGUAGE_FROM... | 179902 | import _ from 'lodash'
import Vue from 'vue'
import EventListener from '~/plugins/starpeace-client/state/event-listener.coffee'
import Utils from '~/plugins/starpeace-client/utils/utils.coffee'
import Logger from '~/plugins/starpeace-client/logger.coffee'
LANGUAGES = ['DE', 'EN', 'ES', 'FR', 'IT', 'PT']
LANGUAGE_FROM... | true | import _ from 'lodash'
import Vue from 'vue'
import EventListener from '~/plugins/starpeace-client/state/event-listener.coffee'
import Utils from '~/plugins/starpeace-client/utils/utils.coffee'
import Logger from '~/plugins/starpeace-client/logger.coffee'
LANGUAGES = ['DE', 'EN', 'ES', 'FR', 'IT', 'PT']
LANGUAGE_FROM... |
[
{
"context": "is \"The Doctor\"\ndoc_browns_wheels = new DeLorean \"Marty\"\n\ndoctors_wife.go()\ndoc_browns_wheels.go()\n",
"end": 232,
"score": 0.9990577697753906,
"start": 227,
"tag": "NAME",
"value": "Marty"
}
] | test/coffee/helloWorld.coffee | MiguelCastillo/Brackets-InteractiveLinter | 86 | class Tardis extends TimeMachine
go: ->
super "vorp vorp"
class DeLorean extends TimeMachine
go: ->
super "One point twenty-one gigawatts!"
doctors_wife = new Tardis "The Doctor"
doc_browns_wheels = new DeLorean "Marty"
doctors_wife.go()
doc_browns_wheels.go()
| 49520 | class Tardis extends TimeMachine
go: ->
super "vorp vorp"
class DeLorean extends TimeMachine
go: ->
super "One point twenty-one gigawatts!"
doctors_wife = new Tardis "The Doctor"
doc_browns_wheels = new DeLorean "<NAME>"
doctors_wife.go()
doc_browns_wheels.go()
| true | class Tardis extends TimeMachine
go: ->
super "vorp vorp"
class DeLorean extends TimeMachine
go: ->
super "One point twenty-one gigawatts!"
doctors_wife = new Tardis "The Doctor"
doc_browns_wheels = new DeLorean "PI:NAME:<NAME>END_PI"
doctors_wife.go()
doc_browns_wheels.go()
|
[
{
"context": ", callback = (error, result) ->)->\n\t\t\tdata.token = window.user.id\n\t\t\tdata._csrf = window.csrfToken\n\t\t\toptions =\n\t\t\t",
"end": 5519,
"score": 0.626865029335022,
"start": 5505,
"tag": "KEY",
"value": "window.user.id"
}
] | public/coffee/ide/editor/directives/aceEditor/spell-check/SpellCheckManager.coffee | sandstormports/web-sharelatex | 1 | define [
"ide/editor/directives/aceEditor/spell-check/HighlightedWordManager"
"ace/ace"
], (HighlightedWordManager) ->
Range = ace.require("ace/range").Range
class SpellCheckManager
constructor: (@$scope, @editor, @element) ->
$(document.body).append @element.find(".spell-check-menu")
@updatedLines = [... | 17128 | define [
"ide/editor/directives/aceEditor/spell-check/HighlightedWordManager"
"ace/ace"
], (HighlightedWordManager) ->
Range = ace.require("ace/range").Range
class SpellCheckManager
constructor: (@$scope, @editor, @element) ->
$(document.body).append @element.find(".spell-check-menu")
@updatedLines = [... | true | define [
"ide/editor/directives/aceEditor/spell-check/HighlightedWordManager"
"ace/ace"
], (HighlightedWordManager) ->
Range = ace.require("ace/range").Range
class SpellCheckManager
constructor: (@$scope, @editor, @element) ->
$(document.body).append @element.find(".spell-check-menu")
@updatedLines = [... |
[
{
"context": "# jsonpatch.js 0.3.2\n# (c) 2011-2013 Adam Griffiths\n# (c) 2011-2013 Byron Ruth\n# Original code starte",
"end": 51,
"score": 0.9998284578323364,
"start": 37,
"tag": "NAME",
"value": "Adam Griffiths"
},
{
"context": "3.2\n# (c) 2011-2013 Adam Griffiths\n# (c) 2011-2013... | node_modules/json-diff-patch/jsondiff.coffee | pivotaltracker/results-to-patch | 0 | # jsonpatch.js 0.3.2
# (c) 2011-2013 Adam Griffiths
# (c) 2011-2013 Byron Ruth
# Original code started from https://gist.github.com/bruth/4715999
# jsondiff may be freely distributed under the BSD license
((root, factory) ->
if typeof exports isnt 'undefined'
# Node/CommonJS
factory(root, exports)
... | 143 | # jsonpatch.js 0.3.2
# (c) 2011-2013 <NAME>
# (c) 2011-2013 <NAME>
# Original code started from https://gist.github.com/bruth/4715999
# jsondiff may be freely distributed under the BSD license
((root, factory) ->
if typeof exports isnt 'undefined'
# Node/CommonJS
factory(root, exports)
else if ... | true | # jsonpatch.js 0.3.2
# (c) 2011-2013 PI:NAME:<NAME>END_PI
# (c) 2011-2013 PI:NAME:<NAME>END_PI
# Original code started from https://gist.github.com/bruth/4715999
# jsondiff may be freely distributed under the BSD license
((root, factory) ->
if typeof exports isnt 'undefined'
# Node/CommonJS
factory... |
[
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/19/15 ",
"end": 16,
"score": 0.998878002166748,
"start": 13,
"tag": "NAME",
"value": "易晓峰"
},
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/19/15 10:24 AM\n# Description: 微信推"... | src/notification/wechat.coffee | kiteam/kiteam | 0 | # Author: 易晓峰
# E-mail: wvv8oo@gmail.com
# Date: 6/19/15 10:24 AM
# Description: 微信推送的接口
#_wechatSDK = require('notification-center-sdk').weixin
_common = require '../common'
#添加推送任务,这里可以检测用户是否开启推送,如果没有开启
exports.addTask = (sender, receiver, message, extra)->
return console.log("微信通知禁止") if not _common.c... | 131417 | # Author: <NAME>
# E-mail: <EMAIL>
# Date: 6/19/15 10:24 AM
# Description: 微信推送的接口
#_wechatSDK = require('notification-center-sdk').weixin
_common = require '../common'
#添加推送任务,这里可以检测用户是否开启推送,如果没有开启
exports.addTask = (sender, receiver, message, extra)->
return console.log("微信通知禁止") if not _common.config.... | true | # Author: PI:NAME:<NAME>END_PI
# E-mail: PI:EMAIL:<EMAIL>END_PI
# Date: 6/19/15 10:24 AM
# Description: 微信推送的接口
#_wechatSDK = require('notification-center-sdk').weixin
_common = require '../common'
#添加推送任务,这里可以检测用户是否开启推送,如果没有开启
exports.addTask = (sender, receiver, message, extra)->
return console.log("微信... |
[
{
"context": " uuid: 'green-blue'\n token: 'blue-purple'\n toUuid: 'bright-green'\n f",
"end": 733,
"score": 0.9971171021461487,
"start": 722,
"tag": "PASSWORD",
"value": "blue-purple"
},
{
"context": " uuid: 'dim-green'\n ... | test/get-subscriptions-spec.coffee | octoblu/meshblu-core-task-get-subscriptions | 0 | http = require 'http'
GetSubcriptions = require '../src/get-subscriptions'
describe 'GetSubcriptions', ->
beforeEach ->
@subscriptionManager =
subscriberList: sinon.stub()
@sut = new GetSubcriptions
subscriptionManager: @subscriptionManager
describe '->do', ->
describe 'when ca... | 143414 | http = require 'http'
GetSubcriptions = require '../src/get-subscriptions'
describe 'GetSubcriptions', ->
beforeEach ->
@subscriptionManager =
subscriberList: sinon.stub()
@sut = new GetSubcriptions
subscriptionManager: @subscriptionManager
describe '->do', ->
describe 'when ca... | true | http = require 'http'
GetSubcriptions = require '../src/get-subscriptions'
describe 'GetSubcriptions', ->
beforeEach ->
@subscriptionManager =
subscriberList: sinon.stub()
@sut = new GetSubcriptions
subscriptionManager: @subscriptionManager
describe '->do', ->
describe 'when ca... |
[
{
"context": ">>1 #faster than div(x,2)\n b_y = y>>1\n key = \"\"+b_x+\" \"+b_y\n block = block2cells[key] ? (block2cells[key] ",
"end": 9276,
"score": 0.9964396357536316,
"start": 9262,
"tag": "KEY",
"value": "\"\"+b_x+\" \"+b_y"
},
{
"context": "= x >> 1\n b_y = y >> 1\... | scripts-src/cells.coffee | Kosx-Kosx/js-revca | 25 | #//////////////////////////////////////////////////////////////////////////////
# Patterns
#//////////////////////////////////////////////////////////////////////////////
#Import section
{parse_rle, to_rle} = require "./rle"
{Rule, Bits} = require "./rules"
{Maximizer, mod2} = require "./math_util"
{MargolusNeighboreho... | 37910 | #//////////////////////////////////////////////////////////////////////////////
# Patterns
#//////////////////////////////////////////////////////////////////////////////
#Import section
{parse_rle, to_rle} = require "./rle"
{Rule, Bits} = require "./rules"
{Maximizer, mod2} = require "./math_util"
{MargolusNeighboreho... | true | #//////////////////////////////////////////////////////////////////////////////
# Patterns
#//////////////////////////////////////////////////////////////////////////////
#Import section
{parse_rle, to_rle} = require "./rle"
{Rule, Bits} = require "./rules"
{Maximizer, mod2} = require "./math_util"
{MargolusNeighboreho... |
[
{
"context": "RESIDUE\n =======\n\nJules, my friend, used to take her new\ncar to Viretta P",
"end": 115,
"score": 0.999337911605835,
"start": 110,
"tag": "NAME",
"value": "Jules"
},
{
"context": "s and Lyfts came to see the Kurt\nCobain bench. But Jul... | stories/residue.coffee | STRd6/zine | 12 | module.exports = """
\u200b RESIDUE
=======
Jules, my friend, used to take her new
car to Viretta Park. After a workday
filled with tickets and meetings, she
sometimes drove the five miles to this
one-block wide, one-block tall park at
the northeast coas... | 193172 | module.exports = """
\u200b RESIDUE
=======
<NAME>, my friend, used to take her new
car to Viretta Park. After a workday
filled with tickets and meetings, she
sometimes drove the five miles to this
one-block wide, one-block tall park at
the northeast coa... | true | module.exports = """
\u200b RESIDUE
=======
PI:NAME:<NAME>END_PI, my friend, used to take her new
car to Viretta Park. After a workday
filled with tickets and meetings, she
sometimes drove the five miles to this
one-block wide, one-block tall park at
the... |
[
{
"context": "earing', ->\n sampleData1 = [\n key: 'Series 1'\n values: [\n [-1,-1]\n ",
"end": 5148,
"score": 0.9944248199462891,
"start": 5140,
"tag": "KEY",
"value": "Series 1"
}
] | public/admin/assets/plugins/nvd3/test/mocha/utils.coffee | enuenan/enan | 4,529 | describe 'NVD3', ->
describe 'Utils', ->
objects = [
'nv.utils.windowSize'
'nv.utils.windowResize'
'nv.utils.getColor'
'nv.utils.defaultColor'
'nv.utils.customTheme'
'nv.utils.pjax'
'nv.utils.calcApproxTextWidth'
'nv.utils.NaNtoZero'
'nv.utils.renderWatch'
... | 37928 | describe 'NVD3', ->
describe 'Utils', ->
objects = [
'nv.utils.windowSize'
'nv.utils.windowResize'
'nv.utils.getColor'
'nv.utils.defaultColor'
'nv.utils.customTheme'
'nv.utils.pjax'
'nv.utils.calcApproxTextWidth'
'nv.utils.NaNtoZero'
'nv.utils.renderWatch'
... | true | describe 'NVD3', ->
describe 'Utils', ->
objects = [
'nv.utils.windowSize'
'nv.utils.windowResize'
'nv.utils.getColor'
'nv.utils.defaultColor'
'nv.utils.customTheme'
'nv.utils.pjax'
'nv.utils.calcApproxTextWidth'
'nv.utils.NaNtoZero'
'nv.utils.renderWatch'
... |
[
{
"context": "tions =\n\tlayout: false\n\nsessionParams =\n\tsecret: '4159J3v6V4rX6y1O6BN3ASuG2aDN7q'\n\nroutes = () ->\n\t@use user_controller.Router\n\t@u",
"end": 805,
"score": 0.9997660517692566,
"start": 775,
"tag": "KEY",
"value": "4159J3v6V4rX6y1O6BN3ASuG2aDN7q"
}
] | init/application.coffee | winnlab/Polpharma | 0 | http = require 'http'
express = require 'express'
async = require 'async'
passport = require 'passport'
roles = require 'roles'
_ = require 'underscore'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
session = require 'express-session'
methodOverride = require 'method-override'
multer = re... | 13250 | http = require 'http'
express = require 'express'
async = require 'async'
passport = require 'passport'
roles = require 'roles'
_ = require 'underscore'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
session = require 'express-session'
methodOverride = require 'method-override'
multer = re... | true | http = require 'http'
express = require 'express'
async = require 'async'
passport = require 'passport'
roles = require 'roles'
_ = require 'underscore'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
session = require 'express-session'
methodOverride = require 'method-override'
multer = re... |
[
{
"context": "for data storage on nodes\n nodeDataKey : '_qdData'\n\n # default caching size for cache po",
"end": 2372,
"score": 0.8250992894172668,
"start": 2370,
"tag": "KEY",
"value": "qd"
}
] | src/quickdraw.coffee | delta62/quickdraw | 19 | # Quickdraw
# A Hulu Original Library
#
# A MVVM data binding framework designed for speed and efficiency on living room devices.
# This library is optimized for light and quick loads so seamless experiences can be
# created on both low and high powered devices
# All methods that anyone can freely call will be added t... | 93024 | # Quickdraw
# A Hulu Original Library
#
# A MVVM data binding framework designed for speed and efficiency on living room devices.
# This library is optimized for light and quick loads so seamless experiences can be
# created on both low and high powered devices
# All methods that anyone can freely call will be added t... | true | # Quickdraw
# A Hulu Original Library
#
# A MVVM data binding framework designed for speed and efficiency on living room devices.
# This library is optimized for light and quick loads so seamless experiences can be
# created on both low and high powered devices
# All methods that anyone can freely call will be added t... |
[
{
"context": " }}'\n\ngithub_oauth_url = ->\n \"https://github.com/login/oauth/authorize?#{$.param(hocr_reader_github_oaut",
"end": 214,
"score": 0.7718573808670044,
"start": 209,
"tag": "USERNAME",
"value": "login"
},
{
"context": "per to exchange code for token https://github.com/... | js/hocr-reader.coffee | ryanfb/hocr-reader | 4 | ---
---
hocr_reader_github_oauth =
client_id: '{{ site.github_api_key }}'
redirect_uri: '{{ site.url }}/#/auth/'
gatekeeper_uri: '{{ site.gatekeeper_uri }}'
github_oauth_url = ->
"https://github.com/login/oauth/authorize?#{$.param(hocr_reader_github_oauth)}"
check_rate_limit = (callback, callback_params) ->
... | 47803 | ---
---
hocr_reader_github_oauth =
client_id: '{{ site.github_api_key }}'
redirect_uri: '{{ site.url }}/#/auth/'
gatekeeper_uri: '{{ site.gatekeeper_uri }}'
github_oauth_url = ->
"https://github.com/login/oauth/authorize?#{$.param(hocr_reader_github_oauth)}"
check_rate_limit = (callback, callback_params) ->
... | true | ---
---
hocr_reader_github_oauth =
client_id: '{{ site.github_api_key }}'
redirect_uri: '{{ site.url }}/#/auth/'
gatekeeper_uri: '{{ site.gatekeeper_uri }}'
github_oauth_url = ->
"https://github.com/login/oauth/authorize?#{$.param(hocr_reader_github_oauth)}"
check_rate_limit = (callback, callback_params) ->
... |
[
{
"context": " Please contact the Pagedraw team at team@pagedraw.io\n </div>\n </div>",
"end": 10103,
"score": 0.9999263286590576,
"start": 10087,
"tag": "EMAIL",
"value": "team@pagedraw.io"
}
] | src/pagedraw/font-importer.cjsx | hanhaihome/pagedraw | 3 | # Generated by https://pagedraw.io/pages/4922
React = require 'react'
_l = require 'lodash'
render = ->
<div className="fontimporter">
<style dangerouslySetInnerHTML={__html: """
.fontimporter {
display: flex;
flex-grow: 1;
}
... | 204983 | # Generated by https://pagedraw.io/pages/4922
React = require 'react'
_l = require 'lodash'
render = ->
<div className="fontimporter">
<style dangerouslySetInnerHTML={__html: """
.fontimporter {
display: flex;
flex-grow: 1;
}
... | true | # Generated by https://pagedraw.io/pages/4922
React = require 'react'
_l = require 'lodash'
render = ->
<div className="fontimporter">
<style dangerouslySetInnerHTML={__html: """
.fontimporter {
display: flex;
flex-grow: 1;
}
... |
[
{
"context": "e CoffeeScript-Object-Notation https://github.com/bevry/cson )\n\n#########################################",
"end": 155,
"score": 0.9981210827827454,
"start": 150,
"tag": "USERNAME",
"value": "bevry"
},
{
"context": "\"epub\"\n \"epub3\"\n]\n\nauthor:\n name: \"R... | package.cson | AndyHubert/readium-shared-js | 0 |
# NPM package file, see https://docs.npmjs.com/files/package.json
# Oh, this is CSON, not JSON ( see CoffeeScript-Object-Notation https://github.com/bevry/cson )
#####################################################################
#####################################################################
# Master source... | 117409 |
# NPM package file, see https://docs.npmjs.com/files/package.json
# Oh, this is CSON, not JSON ( see CoffeeScript-Object-Notation https://github.com/bevry/cson )
#####################################################################
#####################################################################
# Master source... | true |
# NPM package file, see https://docs.npmjs.com/files/package.json
# Oh, this is CSON, not JSON ( see CoffeeScript-Object-Notation https://github.com/bevry/cson )
#####################################################################
#####################################################################
# Master source... |
[
{
"context": "employees = [\n {name: 'alice', salary: 85000}\n {name: 'bob', salary: 77500}\n ",
"end": 29,
"score": 0.99925297498703,
"start": 24,
"tag": "NAME",
"value": "alice"
},
{
"context": "es = [\n {name: 'alice', salary: 85000}\n {name: 'bob', salary: 77500}\n {name: 'c... | coffeescript/simple_comprehension.coffee | idrougge/ple | 59 | employees = [
{name: 'alice', salary: 85000}
{name: 'bob', salary: 77500}
{name: 'chi', salary: 58200}
{name: 'dinh', salary: 99259}
{name: 'ekaterina', salary: 105882}
{name: 'fahima', salary: 79999}]
assert = require 'assert'
highEarners = (e.name for e in employees when e.salary > 80000)
shortNames = (e... | 55821 | employees = [
{name: '<NAME>', salary: 85000}
{name: '<NAME>', salary: 77500}
{name: '<NAME>', salary: 58200}
{name: '<NAME>', salary: 99259}
{name: '<NAME>', salary: 105882}
{name: '<NAME>', salary: 79999}]
assert = require 'assert'
highEarners = (e.name for e in employees when e.salary > 80000)
shortName... | true | employees = [
{name: 'PI:NAME:<NAME>END_PI', salary: 85000}
{name: 'PI:NAME:<NAME>END_PI', salary: 77500}
{name: 'PI:NAME:<NAME>END_PI', salary: 58200}
{name: 'PI:NAME:<NAME>END_PI', salary: 99259}
{name: 'PI:NAME:<NAME>END_PI', salary: 105882}
{name: 'PI:NAME:<NAME>END_PI', salary: 79999}]
assert = requir... |
[
{
"context": "[\n new Backbone.Model({id: 1, patient_name: \"Elijah Hoppe\", bill_date: \"2019-05-22\", total: 220.50}),\n ",
"end": 342,
"score": 0.9998272061347961,
"start": 330,
"tag": "NAME",
"value": "Elijah Hoppe"
},
{
"context": ",\n new Backbone.Model({id: 2, pa... | spec/javascripts/core/apps/invoice/list-view.spec.coffee | houzelio/houzel | 2 | import ListView from 'javascripts/core/apps/invoice/list-view'
import { AppChan } from 'javascripts/core/channels'
describe("Invoice List View", () ->
MyRegion = Marionette.Region.extend({
el: '#main-region'
})
beforeEach ->
myCollection = new Backbone.Collection([
new Backbone.Model({id: 1, patie... | 197602 | import ListView from 'javascripts/core/apps/invoice/list-view'
import { AppChan } from 'javascripts/core/channels'
describe("Invoice List View", () ->
MyRegion = Marionette.Region.extend({
el: '#main-region'
})
beforeEach ->
myCollection = new Backbone.Collection([
new Backbone.Model({id: 1, patie... | true | import ListView from 'javascripts/core/apps/invoice/list-view'
import { AppChan } from 'javascripts/core/channels'
describe("Invoice List View", () ->
MyRegion = Marionette.Region.extend({
el: '#main-region'
})
beforeEach ->
myCollection = new Backbone.Collection([
new Backbone.Model({id: 1, patie... |
[
{
"context": "'mongodb://localhost/yournal'\n $config.secret = '89fds978fs7bc8x2aem3'\n $config.port = 3000\n $config.views.dir = path",
"end": 258,
"score": 0.9996010065078735,
"start": 238,
"tag": "KEY",
"value": "89fds978fs7bc8x2aem3"
}
] | src/server/chainware.coffee | yournal/YournalProject | 1 | path = require 'path'
exports.config = ($injector, $config, $dir, $env) ->
$config.database.uri = process.env.MONGOLAB_URI or process.env.MONGOHQ_URL or process.env.MONGODB_DATABASE or 'mongodb://localhost/yournal'
$config.secret = '89fds978fs7bc8x2aem3'
$config.port = 3000
$config.views.dir = path.resolve "#{... | 164242 | path = require 'path'
exports.config = ($injector, $config, $dir, $env) ->
$config.database.uri = process.env.MONGOLAB_URI or process.env.MONGOHQ_URL or process.env.MONGODB_DATABASE or 'mongodb://localhost/yournal'
$config.secret = '<KEY>'
$config.port = 3000
$config.views.dir = path.resolve "#{$dir.app}/views... | true | path = require 'path'
exports.config = ($injector, $config, $dir, $env) ->
$config.database.uri = process.env.MONGOLAB_URI or process.env.MONGOHQ_URL or process.env.MONGODB_DATABASE or 'mongodb://localhost/yournal'
$config.secret = 'PI:KEY:<KEY>END_PI'
$config.port = 3000
$config.views.dir = path.resolve "#{$d... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999135732650757,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/_components/icon-expand.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 * as React from 'react'
import { span, i } from 'react-dom-factories'
el = React.createElement
elem = ({position, icon}) ->
span
ke... | 116622 | # 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 * as React from 'react'
import { span, i } from 'react-dom-factories'
el = React.createElement
elem = ({position, icon}) ->
span
key: posi... | 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 * as React from 'react'
import { span, i } from 'react-dom-factories'
el = React.createElement
elem = ({position, icon}) ->
spa... |
[
{
"context": "r can chain limit', (done) ->\n ALBUM_NAME = 'Test1'\n\n runTest = (err) ->\n assert.ok(!err",
"end": 2894,
"score": 0.6042702198028564,
"start": 2889,
"tag": "NAME",
"value": "Test1"
},
{
"context": " limit and offset', (done) ->\n ALBUM_NAME = 'T... | test/generators/flat/cursor.coffee | michaelBenin/backbone-orm | 1 | util = require 'util'
assert = require 'assert'
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require '../../../lib/queue'
ModelCache = require('../../../lib/cache/singletons').ModelCache
QueryCache = require('../../../lib/cache/singletons').QueryCache
Fabricator = require '../../fabricator'
module.e... | 80388 | util = require 'util'
assert = require 'assert'
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require '../../../lib/queue'
ModelCache = require('../../../lib/cache/singletons').ModelCache
QueryCache = require('../../../lib/cache/singletons').QueryCache
Fabricator = require '../../fabricator'
module.e... | true | util = require 'util'
assert = require 'assert'
_ = require 'underscore'
Backbone = require 'backbone'
Queue = require '../../../lib/queue'
ModelCache = require('../../../lib/cache/singletons').ModelCache
QueryCache = require('../../../lib/cache/singletons').QueryCache
Fabricator = require '../../fabricator'
module.e... |
[
{
"context": " world\"\n \"Alexa tell hello world I am Jeff\"\n \"Alexa tell hello world my name is",
"end": 683,
"score": 0.9997353553771973,
"start": 679,
"tag": "NAME",
"value": "Jeff"
},
{
"context": "\"\n \"Alexa tell hello world my name is... | packages/litexa/src/parser/skillManifest.coffee | fboerncke/litexa | 34 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
exports.createDefault = ->
return
... | 34148 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
exports.createDefault = ->
return
... | true | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
exports.createDefault = ->
return
... |
[
{
"context": "nal notes required for the script>\n#\n# Author:\n# Andrew Lucas <andrewl@resin.io>\n\nmodule.exports = (robot) ->\n\n",
"end": 312,
"score": 0.9998616576194763,
"start": 300,
"tag": "NAME",
"value": "Andrew Lucas"
},
{
"context": "red for the script>\n#\n# Author:\n#... | src/ignore-by-prefix.coffee | resin-io-modules/hubot-ignore-by-prefix | 0 | # Description
# A hubot script that selectively ignores indicated messages
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# Andrew Lucas <andrew... | 137893 | # Description
# A hubot script that selectively ignores indicated messages
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# <NAME> <<EMAIL>>
mo... | true | # Description
# A hubot script that selectively ignores indicated messages
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# PI:NAME:<NAME>END_PI... |
[
{
"context": "word', ->\n @view.$('[name=password]').val 'foobarbaz'\n @view.save preventDefault: ->\n Ba",
"end": 1450,
"score": 0.9994899034500122,
"start": 1441,
"tag": "PASSWORD",
"value": "foobarbaz"
},
{
"context": "e.sync.args[0][1].toJSON().password.shoul... | src/mobile/apps/auth/test/client.coffee | streamich/force | 1 | _ = require 'underscore'
Backbone = require 'backbone'
sinon = require 'sinon'
sinon = require 'sinon'
benv = require 'benv'
{ resolve } = require 'path'
describe 'Reset password page client-side code', ->
beforeEach (done) ->
benv.setup =>
benv.expose { $: benv.require 'jquery' }
Backbone.$ = $
... | 210560 | _ = require 'underscore'
Backbone = require 'backbone'
sinon = require 'sinon'
sinon = require 'sinon'
benv = require 'benv'
{ resolve } = require 'path'
describe 'Reset password page client-side code', ->
beforeEach (done) ->
benv.setup =>
benv.expose { $: benv.require 'jquery' }
Backbone.$ = $
... | true | _ = require 'underscore'
Backbone = require 'backbone'
sinon = require 'sinon'
sinon = require 'sinon'
benv = require 'benv'
{ resolve } = require 'path'
describe 'Reset password page client-side code', ->
beforeEach (done) ->
benv.setup =>
benv.expose { $: benv.require 'jquery' }
Backbone.$ = $
... |
[
{
"context": "fied is a comment.\n\n# Person\n# name: \"Alpha\"\n# age: 40\n# children:\n# ",
"end": 2598,
"score": 0.9998023509979248,
"start": 2593,
"tag": "NAME",
"value": "Alpha"
},
{
"context": "en:\n# Person\n# nam... | node_modules/ion/src/compiler/preprocessor.coffee | IanGlass/Budgetty | 14 | common = require './common'
getSpace = (size) ->
result = []
result.push " " for i in [0...size]
result.join ""
exports.isMarkdownCommented = (source) -> /(\n|^)[^\s\n][^\n]*\n(\s*\n)+\s+[^\s\n]/.test source
exports.fixSourceLocation = fixSourceLocation = (location, sourceMapping, source) ->
if not l... | 26818 | common = require './common'
getSpace = (size) ->
result = []
result.push " " for i in [0...size]
result.join ""
exports.isMarkdownCommented = (source) -> /(\n|^)[^\s\n][^\n]*\n(\s*\n)+\s+[^\s\n]/.test source
exports.fixSourceLocation = fixSourceLocation = (location, sourceMapping, source) ->
if not l... | true | common = require './common'
getSpace = (size) ->
result = []
result.push " " for i in [0...size]
result.join ""
exports.isMarkdownCommented = (source) -> /(\n|^)[^\s\n][^\n]*\n(\s*\n)+\s+[^\s\n]/.test source
exports.fixSourceLocation = fixSourceLocation = (location, sourceMapping, source) ->
if not l... |
[
{
"context": "\t\t\"name\": \"github\"\n\t\t\t\"icon\": \"https://github.com/fluidicon.png\",\n\t\t\t\"url\": \"https://www.github.com/\"\n\t\t\t\"coun",
"end": 1615,
"score": 0.6299129724502563,
"start": 1606,
"tag": "USERNAME",
"value": "fluidicon"
},
{
"context": "room\": \"E1.3 H... | main/coffee/model.coffee | Schwenger/AllInOneTab | 0 | class Model
Model.favs = [
{
"name": "amazon"
"icon": "https://topclassactions.com/wp-content/uploads/2015/08/amazon-logo-black-square-e1440610992440.png",
"url": "https://amazon.com/"
"count": 0
}, {
"name": "humblebundle"
"icon": "https://pbs.twimg.com/profile_images/609471525863976960/r3m_pjpj... | 79508 | class Model
Model.favs = [
{
"name": "amazon"
"icon": "https://topclassactions.com/wp-content/uploads/2015/08/amazon-logo-black-square-e1440610992440.png",
"url": "https://amazon.com/"
"count": 0
}, {
"name": "humblebundle"
"icon": "https://pbs.twimg.com/profile_images/609471525863976960/r3m_pjpj... | true | class Model
Model.favs = [
{
"name": "amazon"
"icon": "https://topclassactions.com/wp-content/uploads/2015/08/amazon-logo-black-square-e1440610992440.png",
"url": "https://amazon.com/"
"count": 0
}, {
"name": "humblebundle"
"icon": "https://pbs.twimg.com/profile_images/609471525863976960/r3m_pjpj... |
[
{
"context": "ateFormat = require('dateformat');\n\n# twitter.com/fxn/status/343353320783634432\ntweet_url = /\\/?([^\\/]+",
"end": 86,
"score": 0.9992085695266724,
"start": 83,
"tag": "USERNAME",
"value": "fxn"
},
{
"context": "> \n @__name = \"twitter_watch\"\n @__author = \"... | src/plugins/twitter_watch.coffee | epochwolf/pious-plum | 0 | TwitterApi = require "ntwitter"
dateFormat = require('dateformat');
# twitter.com/fxn/status/343353320783634432
tweet_url = /\/?([^\/]+)\/status\/([^\/?]+)/
class Plugin
constructor: (@bot, @config) ->
@__name = "twitter_watch"
@__author = "epochwolf"
@__version = "v0.0.1"
@__listeners =
"m... | 207284 | TwitterApi = require "ntwitter"
dateFormat = require('dateformat');
# twitter.com/fxn/status/343353320783634432
tweet_url = /\/?([^\/]+)\/status\/([^\/?]+)/
class Plugin
constructor: (@bot, @config) ->
@__name = "twitter_watch"
@__author = "epochwolf"
@__version = "v0.0.1"
@__listeners =
"m... | true | TwitterApi = require "ntwitter"
dateFormat = require('dateformat');
# twitter.com/fxn/status/343353320783634432
tweet_url = /\/?([^\/]+)\/status\/([^\/?]+)/
class Plugin
constructor: (@bot, @config) ->
@__name = "twitter_watch"
@__author = "epochwolf"
@__version = "v0.0.1"
@__listeners =
"m... |
[
{
"context": "Filter\n constructor: ->\n super()\n @name = 'karaoke'\n @display = '[Karaoke]'\n @FFMPEGFilter = '",
"end": 122,
"score": 0.5792785286903381,
"start": 115,
"tag": "NAME",
"value": "karaoke"
}
] | modules/player/filters/karaoke.coffee | ChetAlv/TamagoMusic | 27 | AudioFilter = require './base'
class KaraokeFilter extends AudioFilter
constructor: ->
super()
@name = 'karaoke'
@display = '[Karaoke]'
@FFMPEGFilter = 'stereotools=mlev=0.015625'
module.exports = KaraokeFilter
| 55453 | AudioFilter = require './base'
class KaraokeFilter extends AudioFilter
constructor: ->
super()
@name = '<NAME>'
@display = '[Karaoke]'
@FFMPEGFilter = 'stereotools=mlev=0.015625'
module.exports = KaraokeFilter
| true | AudioFilter = require './base'
class KaraokeFilter extends AudioFilter
constructor: ->
super()
@name = 'PI:NAME:<NAME>END_PI'
@display = '[Karaoke]'
@FFMPEGFilter = 'stereotools=mlev=0.015625'
module.exports = KaraokeFilter
|
[
{
"context": "peof are compared against a valid string\n# @author Ian Christian Myers\n###\n'use strict'\n\n#------------------------------",
"end": 121,
"score": 0.9997988939285278,
"start": 102,
"tag": "NAME",
"value": "Ian Christian Myers"
}
] | src/rules/valid-typeof.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Ensures that the results of typeof are compared against a valid string
# @author Ian Christian Myers
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
m... | 113295 | ###*
# @fileoverview Ensures that the results of typeof are compared against a valid string
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
module.exports... | true | ###*
# @fileoverview Ensures that the results of typeof are compared against a valid string
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
... |
[
{
"context": "- - - - - - - - - - - - - - - #\n# Copyright © 2015 Michael Schloss #\n# Se",
"end": 274,
"score": 0.9996816515922546,
"start": 259,
"tag": "NAME",
"value": "Michael Schloss"
}
] | gulp/server-launch.coffee | jluchiji/tranzit | 0 | # --------------------------------------------------------------------------- #
# tranzit-server build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 Michael Schloss #
... | 172506 | # --------------------------------------------------------------------------- #
# tranzit-server build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 <NAME> #
# See LIC... | true | # --------------------------------------------------------------------------- #
# tranzit-server build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 PI:NAME:<NAME>END_PI ... |
[
{
"context": "# Mappings from keypress: https://github.com/dmauro/Keypress.git\n# Copyright 2013 David Mauro\nmodule.",
"end": 51,
"score": 0.9995975494384766,
"start": 45,
"tag": "USERNAME",
"value": "dmauro"
},
{
"context": "://github.com/dmauro/Keypress.git\n# Copyright 2013 David... | src/kilid/map.coffee | AriaMinaei/kilid | 1 | # Mappings from keypress: https://github.com/dmauro/Keypress.git
# Copyright 2013 David Mauro
module.exports.nameByKeyCode = nameByKeyCode =
0 : "\\" # Firefox reports this keyCode when shift is held
8 : "backspace"
9 : "tab"
12 : "num"
13 : "enter"
16 : "shift"
17 : "ctrl"
18 : "alt"
19 ... | 150637 | # Mappings from keypress: https://github.com/dmauro/Keypress.git
# Copyright 2013 <NAME>
module.exports.nameByKeyCode = nameByKeyCode =
0 : "\\" # Firefox reports this keyCode when shift is held
8 : "backspace"
9 : "tab"
12 : "num"
13 : "enter"
16 : "shift"
17 : "ctrl"
18 : "alt"
19 : "pa... | true | # Mappings from keypress: https://github.com/dmauro/Keypress.git
# Copyright 2013 PI:NAME:<NAME>END_PI
module.exports.nameByKeyCode = nameByKeyCode =
0 : "\\" # Firefox reports this keyCode when shift is held
8 : "backspace"
9 : "tab"
12 : "num"
13 : "enter"
16 : "shift"
17 : "ctrl"
18 : "a... |
[
{
"context": " assert.include err.message, \"composer require ddelnano/dredd-hooks-php --dev\"\n done()\n\n desc",
"end": 9890,
"score": 0.9953054785728455,
"start": 9882,
"tag": "USERNAME",
"value": "ddelnano"
},
{
"context": "eivedData = \"\"\n\n transaction =\... | test/unit/hooks-worker-client-test.coffee | jasonrayles-nbcuni/dredd-public | 0 | proxyquire = require 'proxyquire'
{EventEmitter} = require 'events'
sinon = require 'sinon'
net = require 'net'
{assert} = require 'chai'
clone = require 'clone'
childProcessStub = require 'child_process'
loggerStub = require '../../src/logger'
whichStub = require '../../src/which'
Hooks = require '../../src/hooks'
... | 73742 | proxyquire = require 'proxyquire'
{EventEmitter} = require 'events'
sinon = require 'sinon'
net = require 'net'
{assert} = require 'chai'
clone = require 'clone'
childProcessStub = require 'child_process'
loggerStub = require '../../src/logger'
whichStub = require '../../src/which'
Hooks = require '../../src/hooks'
... | true | proxyquire = require 'proxyquire'
{EventEmitter} = require 'events'
sinon = require 'sinon'
net = require 'net'
{assert} = require 'chai'
clone = require 'clone'
childProcessStub = require 'child_process'
loggerStub = require '../../src/logger'
whichStub = require '../../src/which'
Hooks = require '../../src/hooks'
... |
[
{
"context": "t module for Lovely IO\n#\n# Copyright (C) 2011-2013 Nikolay Nemshilov\n#\n\ninclude 'src/utils'\ninclude 'src/browser'\nincl",
"end": 89,
"score": 0.999886155128479,
"start": 72,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/dom/main.coffee | lovely-io/lovely.io-stl | 2 | #
# The DOM management module for Lovely IO
#
# Copyright (C) 2011-2013 Nikolay Nemshilov
#
include 'src/utils'
include 'src/browser'
include 'src/node_list'
include 'src/wrapper'
include 'src/element'
include 'src/element/events'
include 'src/element/styles'
include 'src/element/commons'
include 'src/element/dimensio... | 81559 | #
# The DOM management module for Lovely IO
#
# Copyright (C) 2011-2013 <NAME>
#
include 'src/utils'
include 'src/browser'
include 'src/node_list'
include 'src/wrapper'
include 'src/element'
include 'src/element/events'
include 'src/element/styles'
include 'src/element/commons'
include 'src/element/dimensions'
include... | true | #
# The DOM management module for Lovely IO
#
# Copyright (C) 2011-2013 PI:NAME:<NAME>END_PI
#
include 'src/utils'
include 'src/browser'
include 'src/node_list'
include 'src/wrapper'
include 'src/element'
include 'src/element/events'
include 'src/element/styles'
include 'src/element/commons'
include 'src/element/dimen... |
[
{
"context": "Client: true\n .then (db) ->\n A.create name: 'A', age: 1\n .bind {}\n .then (@a) ->\n ",
"end": 1739,
"score": 0.9980010390281677,
"start": 1738,
"tag": "NAME",
"value": "A"
},
{
"context": "nd {}\n .then (@a) ->\n B.create name: 'B', age... | 2020年上学期/03.Node/综合案例:博客项目/userSystem/public/lib/userSystem/node_modules/mongoose-sex-page/src/test.coffee | zjp693/Learning-diary | 11 | assert = require 'assert'
Promise = require 'bluebird'
mongoose = require 'mongoose'
deepPopulate = require('mongoose-deep-populate')(mongoose)
P = require '../index'
{ ObjectId } = mongoose.Schema.Types
mongoose.Promise = Promise
ASchema = new mongoose.Schema
name: String
age: Num... | 106661 | assert = require 'assert'
Promise = require 'bluebird'
mongoose = require 'mongoose'
deepPopulate = require('mongoose-deep-populate')(mongoose)
P = require '../index'
{ ObjectId } = mongoose.Schema.Types
mongoose.Promise = Promise
ASchema = new mongoose.Schema
name: String
age: Num... | true | assert = require 'assert'
Promise = require 'bluebird'
mongoose = require 'mongoose'
deepPopulate = require('mongoose-deep-populate')(mongoose)
P = require '../index'
{ ObjectId } = mongoose.Schema.Types
mongoose.Promise = Promise
ASchema = new mongoose.Schema
name: String
age: Num... |
[
{
"context": " for three.js with every basics you need\n# @author David Ronai / Makiopolis.com / @Makio64\n#\nrequire(\"CSS3DRende",
"end": 77,
"score": 0.9998157024383545,
"start": 66,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": " you need\n# @author David Ronai / Makiopol... | src/coffee/makio/core/Stage3dCSS.coffee | Makio64/pizzaparty_vj | 1 | #
# Stage3d CSS for three.js with every basics you need
# @author David Ronai / Makiopolis.com / @Makio64
#
require("CSS3DRenderer.js")
Stage = require('makio/core/Stage')
class Stage3dCSS
@camera = null
@scene = null
@renderer = null
@isInit = false
@init = (options)=>
if(@isInit)
return
w = wind... | 214436 | #
# Stage3d CSS for three.js with every basics you need
# @author <NAME> / Makiopolis.com / @Makio64
#
require("CSS3DRenderer.js")
Stage = require('makio/core/Stage')
class Stage3dCSS
@camera = null
@scene = null
@renderer = null
@isInit = false
@init = (options)=>
if(@isInit)
return
w = window.in... | true | #
# Stage3d CSS for three.js with every basics you need
# @author PI:NAME:<NAME>END_PI / Makiopolis.com / @Makio64
#
require("CSS3DRenderer.js")
Stage = require('makio/core/Stage')
class Stage3dCSS
@camera = null
@scene = null
@renderer = null
@isInit = false
@init = (options)=>
if(@isInit)
return
... |
[
{
"context": "\n text: \"75-90€\"\n ]\n\n # $scope.days [\n # \"Lunes\"\n # \"Martes\"\n # \"Miercoles\"\n # \"Jueves\"\n",
"end": 641,
"score": 0.9944831728935242,
"start": 636,
"tag": "NAME",
"value": "Lunes"
},
{
"context": "-90€\"\n ]\n\n # $scope.days [\n # ... | assets/controllers/deals.coffee | gertu/gertu | 1 | angular.module("mean.deals").controller "DealsController", ["$scope",
"$routeParams", "$location", "Global", "Deals", "DealsCategory", "DealsShop", "AppAlert", "$http","$q", 'GeolocationService', '$modal', ($scope,
$routeParams, $location, Global, Deals, DealsCategory, DealsShop, AppAlert, $http,$q, geolocation, $mod... | 88388 | angular.module("mean.deals").controller "DealsController", ["$scope",
"$routeParams", "$location", "Global", "Deals", "DealsCategory", "DealsShop", "AppAlert", "$http","$q", 'GeolocationService', '$modal', ($scope,
$routeParams, $location, Global, Deals, DealsCategory, DealsShop, AppAlert, $http,$q, geolocation, $mod... | true | angular.module("mean.deals").controller "DealsController", ["$scope",
"$routeParams", "$location", "Global", "Deals", "DealsCategory", "DealsShop", "AppAlert", "$http","$q", 'GeolocationService', '$modal', ($scope,
$routeParams, $location, Global, Deals, DealsCategory, DealsShop, AppAlert, $http,$q, geolocation, $mod... |
[
{
"context": "SOFTWARE.\n\nangular-google-maps\nhttps://github.com/nlaplante/angular-google-maps\n\n@authors\nNicolas Laplante - ",
"end": 1154,
"score": 0.993394672870636,
"start": 1145,
"tag": "USERNAME",
"value": "nlaplante"
},
{
"context": "ithub.com/nlaplante/angular-google-maps... | bower_components/angular-google-maps-init/src/coffee/directives/rectangle.coffee | aditioan/naturapass | 1 | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
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... | 51844 | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
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... | true | ###
!
The MIT License
Copyright (c) 2010-2013 Google, Inc. http://angularjs.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use... |
[
{
"context": " hello: -> \"Hello #{@name}!\"\n\n realObj = name: 'world'\n boxedObj = ns.makeBox realObj\n\n console.log b",
"end": 1041,
"score": 0.7281666994094849,
"start": 1036,
"tag": "NAME",
"value": "world"
}
] | ColdMUD/thoughts/globalMethods.coffee | ProjectCORVID/everything | 0 | class GetHandler
constructor: (@get) ->
class MethodNamespace
@comment: '''
I give the illusion of adding methods to objects without changing their inheritance.
'''
constructor: (@methods = {}, @warnOnConflict) ->
@handler = new GetHandler (target, name, receiver) =>
# This makes 'proxy._.callOn... | 175827 | class GetHandler
constructor: (@get) ->
class MethodNamespace
@comment: '''
I give the illusion of adding methods to objects without changing their inheritance.
'''
constructor: (@methods = {}, @warnOnConflict) ->
@handler = new GetHandler (target, name, receiver) =>
# This makes 'proxy._.callOn... | true | class GetHandler
constructor: (@get) ->
class MethodNamespace
@comment: '''
I give the illusion of adding methods to objects without changing their inheritance.
'''
constructor: (@methods = {}, @warnOnConflict) ->
@handler = new GetHandler (target, name, receiver) =>
# This makes 'proxy._.callOn... |
[
{
"context": "ompose(R.map, R.pick)\n\n data = [\n {name: 'angelos', surname: 'pikoulas', age: 42}\n {name: 'ano",
"end": 1559,
"score": 0.9997121095657349,
"start": 1552,
"tag": "NAME",
"value": "angelos"
},
{
"context": ")\n\n data = [\n {name: 'angelos', surna... | source/spec/decurry-spec.coffee | anodynos/decurry | 2 | R = require 'ramda'
chai = require 'chai'
expect = chai.expect
decurry = require '../code/decurry'
describe '''
Given a manually curried function that expects 4 arguments,
strictly passed one by one, it returns a function that can be called as: ''', ->
add4NumbersCurried =
(a) ->
(b) ->
... | 96169 | R = require 'ramda'
chai = require 'chai'
expect = chai.expect
decurry = require '../code/decurry'
describe '''
Given a manually curried function that expects 4 arguments,
strictly passed one by one, it returns a function that can be called as: ''', ->
add4NumbersCurried =
(a) ->
(b) ->
... | true | R = require 'ramda'
chai = require 'chai'
expect = chai.expect
decurry = require '../code/decurry'
describe '''
Given a manually curried function that expects 4 arguments,
strictly passed one by one, it returns a function that can be called as: ''', ->
add4NumbersCurried =
(a) ->
(b) ->
... |
[
{
"context": "###\n\n Mondrian SVG library\n\n Artur Sapek 2012 - 2013\n\n###\n\n\nclass Monsvg\n\n # MonSvg\n #\n ",
"end": 46,
"score": 0.9998773336410522,
"start": 35,
"tag": "NAME",
"value": "Artur Sapek"
}
] | src/coffee/geometry/monsvg.coffee | agiza/mondrian | 226 | ###
Mondrian SVG library
Artur Sapek 2012 - 2013
###
class Monsvg
# MonSvg
#
# Over-arching class for all vector objects
#
# I/P : data Object of SVG element's attributes
#
# O/P : self
#
# Subclasses:
# Line
# Rect
# Circle
# Polygon
# Path
constructor: (@data = ... | 120558 | ###
Mondrian SVG library
<NAME> 2012 - 2013
###
class Monsvg
# MonSvg
#
# Over-arching class for all vector objects
#
# I/P : data Object of SVG element's attributes
#
# O/P : self
#
# Subclasses:
# Line
# Rect
# Circle
# Polygon
# Path
constructor: (@data = {}) -... | true | ###
Mondrian SVG library
PI:NAME:<NAME>END_PI 2012 - 2013
###
class Monsvg
# MonSvg
#
# Over-arching class for all vector objects
#
# I/P : data Object of SVG element's attributes
#
# O/P : self
#
# Subclasses:
# Line
# Rect
# Circle
# Polygon
# Path
constructor: ... |
[
{
"context": "se strict\"\n\ndescribe 'ExpiringCache', ->\n KEY = \"KEY\"\n UNKEY = \"UNKEY\"\n VALUE = \"VALUE\"\n @expiringC",
"end": 55,
"score": 0.5048134922981262,
"start": 52,
"tag": "KEY",
"value": "KEY"
}
] | src/test/ExpiringCacheSpec.coffee | ciroque/ccr-client-coffee | 0 | "use strict"
describe 'ExpiringCache', ->
KEY = "KEY"
UNKEY = "UNKEY"
VALUE = "VALUE"
@expiringCache = null
beforeEach(() ->
@expiringCache = new ExpiringCache()
@expiringCache.put("DEFAULT", "DEFAULT_VALUE", 1440)
)
# afterEach(() -> console.log(JSON.stringify(@expiringCache.getStats())) if @ex... | 60344 | "use strict"
describe 'ExpiringCache', ->
KEY = "<KEY>"
UNKEY = "UNKEY"
VALUE = "VALUE"
@expiringCache = null
beforeEach(() ->
@expiringCache = new ExpiringCache()
@expiringCache.put("DEFAULT", "DEFAULT_VALUE", 1440)
)
# afterEach(() -> console.log(JSON.stringify(@expiringCache.getStats())) if @... | true | "use strict"
describe 'ExpiringCache', ->
KEY = "PI:KEY:<KEY>END_PI"
UNKEY = "UNKEY"
VALUE = "VALUE"
@expiringCache = null
beforeEach(() ->
@expiringCache = new ExpiringCache()
@expiringCache.put("DEFAULT", "DEFAULT_VALUE", 1440)
)
# afterEach(() -> console.log(JSON.stringify(@expiringCache.getS... |
[
{
"context": "ase.coffee: Base Github class\n#\n# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved\n#\n\n# Requiring modules\n\n# In",
"end": 75,
"score": 0.9998575448989868,
"start": 56,
"tag": "NAME",
"value": "Pavan Kumar Sunkara"
}
] | src/octonode/base.coffee | Palem1988/octonode | 933 | #
# base.coffee: Base Github class
#
# Copyright © 2011 Pavan Kumar Sunkara. All rights reserved
#
# Requiring modules
# Initiate class
class Base
# Add http conditional "etag"
conditional: (etag) ->
@client.conditional(etag)
return @
# Export module
module.exports = Base
| 129448 | #
# base.coffee: Base Github class
#
# Copyright © 2011 <NAME>. All rights reserved
#
# Requiring modules
# Initiate class
class Base
# Add http conditional "etag"
conditional: (etag) ->
@client.conditional(etag)
return @
# Export module
module.exports = Base
| true | #
# base.coffee: Base Github class
#
# Copyright © 2011 PI:NAME:<NAME>END_PI. All rights reserved
#
# Requiring modules
# Initiate class
class Base
# Add http conditional "etag"
conditional: (etag) ->
@client.conditional(etag)
return @
# Export module
module.exports = Base
|
[
{
"context": "url = 'https://hanzo.ai'\n\nname = \"\"\"\n Hanzo RYO\n \"\"\"\n\ndescription = \"\"\"\n Hanzo RYO. RYO is fuel",
"end": 48,
"score": 0.9974343180656433,
"start": 39,
"tag": "NAME",
"value": "Hanzo RYO"
},
{
"context": "com/img/logo.png'\n\n twitter:\n title:... | settings.coffee | hanzoai/ryo.hanzo.ai | 0 | url = 'https://hanzo.ai'
name = """
Hanzo RYO
"""
description = """
Hanzo RYO. RYO is fuel for your business. RYO unlocks access to Hanzo, a
next-generation payments platform. Use RYO to launch blockchain nodes, deploy
secure smart contracts, query data from the blockchain and more.
"""
twitter =
usern... | 132911 | url = 'https://hanzo.ai'
name = """
<NAME>
"""
description = """
Hanzo RYO. RYO is fuel for your business. RYO unlocks access to Hanzo, a
next-generation payments platform. Use RYO to launch blockchain nodes, deploy
secure smart contracts, query data from the blockchain and more.
"""
twitter =
username... | true | url = 'https://hanzo.ai'
name = """
PI:NAME:<NAME>END_PI
"""
description = """
Hanzo RYO. RYO is fuel for your business. RYO unlocks access to Hanzo, a
next-generation payments platform. Use RYO to launch blockchain nodes, deploy
secure smart contracts, query data from the blockchain and more.
"""
twitte... |
[
{
"context": "callback) => App.User.create\n# firstName: 'Admin'\n# lastName: 'User'\n# email: '",
"end": 251,
"score": 0.9968177676200867,
"start": 246,
"tag": "NAME",
"value": "Admin"
},
{
"context": "\n# firstName: 'Admin'\n# lastName: 'Use... | data/seeds.coffee | MagicPower2/Power | 0 | # @example
# async = require('async')
# admin = null
# user = null
#
# async.series [
# (callback) => App.User.destroy(callback)
# (callback) => App.Post.destroy(callback)
# (callback) => App.User.create
# firstName: 'Admin'
# lastName: 'User'
# email: 'admin@localhost.com... | 97343 | # @example
# async = require('async')
# admin = null
# user = null
#
# async.series [
# (callback) => App.User.destroy(callback)
# (callback) => App.Post.destroy(callback)
# (callback) => App.User.create
# firstName: '<NAME>'
# lastName: '<NAME>'
# email: '<EMAIL>'
# ... | true | # @example
# async = require('async')
# admin = null
# user = null
#
# async.series [
# (callback) => App.User.destroy(callback)
# (callback) => App.Post.destroy(callback)
# (callback) => App.User.create
# firstName: 'PI:NAME:<NAME>END_PI'
# lastName: 'PI:NAME:<NAME>END_PI'
# e... |
[
{
"context": "public and mutable', ->\n aPerson = firstname: 'John', lastname: 'Smith'\n\n aPerson.firstname = 'Ala",
"end": 130,
"score": 0.9997842907905579,
"start": 126,
"tag": "NAME",
"value": "John"
},
{
"context": "', ->\n aPerson = firstname: 'John', lastname: 'Smith'... | koans/AboutMutability.coffee | TomaszKolek/CoffeeScript | 0 | describe 'About Mutability', ->
it 'should expect object properties to be public and mutable', ->
aPerson = firstname: 'John', lastname: 'Smith'
aPerson.firstname = 'Alan'
expect(aPerson.firstname).toBe('Alan')
it 'should understand that constructed properties are public and mutable', ->
Person =... | 212793 | describe 'About Mutability', ->
it 'should expect object properties to be public and mutable', ->
aPerson = firstname: '<NAME>', lastname: '<NAME>'
aPerson.firstname = 'Alan'
expect(aPerson.firstname).toBe('Alan')
it 'should understand that constructed properties are public and mutable', ->
Perso... | true | describe 'About Mutability', ->
it 'should expect object properties to be public and mutable', ->
aPerson = firstname: 'PI:NAME:<NAME>END_PI', lastname: 'PI:NAME:<NAME>END_PI'
aPerson.firstname = 'Alan'
expect(aPerson.firstname).toBe('Alan')
it 'should understand that constructed properties are publi... |
[
{
"context": "\n user:\n current_password: current\n password: replacement\n ",
"end": 5607,
"score": 0.9964566826820374,
"start": 5600,
"tag": "PASSWORD",
"value": "current"
},
{
"context": " current_password: current\n p... | app/api/auth.coffee | camallen/Panoptes-Front-End | 0 | {Model, makeHTTPRequest} = require 'json-api-client'
config = require './config'
client = require './client'
# Use this to override the default API-specific headers.
JSON_HEADERS =
'Content-Type': 'application/json'
'Accept': 'application/json'
# We don't want to wait until the token is already expired before ref... | 218145 | {Model, makeHTTPRequest} = require 'json-api-client'
config = require './config'
client = require './client'
# Use this to override the default API-specific headers.
JSON_HEADERS =
'Content-Type': 'application/json'
'Accept': 'application/json'
# We don't want to wait until the token is already expired before ref... | true | {Model, makeHTTPRequest} = require 'json-api-client'
config = require './config'
client = require './client'
# Use this to override the default API-specific headers.
JSON_HEADERS =
'Content-Type': 'application/json'
'Accept': 'application/json'
# We don't want to wait until the token is already expired before ref... |
[
{
"context": "_AID_TOO_EDITOR=\"gvim -f\"\n TEXT_AID_TOO_SECRET=hul8quahJ4eeL1Ib text-aid-too --port 9293\n\n Markdown (experimen",
"end": 1120,
"score": 0.9917001724243164,
"start": 1106,
"tag": "KEY",
"value": "hul8quahJ4eeL1"
},
{
"context": "thod\n # instead. See ht... | server/server.coffee | smblott-github/text-aid-too | 33 | #!/usr/bin/env coffee
# Required modules:
# npm install watchr
# npm install optimist
# npm install ws
# npm install markdown
# npm install html
# npm install coffee-script
# Set the environment variable below, and the server will refuse to serve clients who don't know the secret.
secret = process.env.TEX... | 171595 | #!/usr/bin/env coffee
# Required modules:
# npm install watchr
# npm install optimist
# npm install ws
# npm install markdown
# npm install html
# npm install coffee-script
# Set the environment variable below, and the server will refuse to serve clients who don't know the secret.
secret = process.env.TEX... | true | #!/usr/bin/env coffee
# Required modules:
# npm install watchr
# npm install optimist
# npm install ws
# npm install markdown
# npm install html
# npm install coffee-script
# Set the environment variable below, and the server will refuse to serve clients who don't know the secret.
secret = process.env.TEX... |
[
{
"context": "tions)\n catch e\n logger(\"#{@testId} failed in generating report, #{e} : #{e.stack}\")",
"end": 6022,
"score": 0.5297700762748718,
"start": 6020,
"tag": "USERNAME",
"value": "Id"
},
{
"context": ")\n @emit('complete')\n\n\nlogRecordKeyWord = '... | benchmarks/analysis/logdata_extractor.coffee | bladepan/cloudbrowser | 0 | {EventEmitter} = require('events')
fs = require('fs')
timers = require('timers')
lodash = require('lodash')
async = require('async')
debug = require('debug')
LineByLineReader = require('line-by-line')
fileHelper = require('./file_helper')
ReportWriter = require('./report_writer')
utils = require('../../src/shared/u... | 129515 | {EventEmitter} = require('events')
fs = require('fs')
timers = require('timers')
lodash = require('lodash')
async = require('async')
debug = require('debug')
LineByLineReader = require('line-by-line')
fileHelper = require('./file_helper')
ReportWriter = require('./report_writer')
utils = require('../../src/shared/u... | true | {EventEmitter} = require('events')
fs = require('fs')
timers = require('timers')
lodash = require('lodash')
async = require('async')
debug = require('debug')
LineByLineReader = require('line-by-line')
fileHelper = require('./file_helper')
ReportWriter = require('./report_writer')
utils = require('../../src/shared/u... |
[
{
"context": "g_level\nlog = io.log\nlog.info \"Serving at http://0.0.0.0:#{process.env.npm_package_config_port}/\"\n\napp_ser",
"end": 614,
"score": 0.6817038059234619,
"start": 609,
"tag": "IP_ADDRESS",
"value": "0.0.0"
},
{
"context": "pd_conf_path}\"\n if not root_pass?\n ran... | src/server/server.coffee | joshbedo/groovebasin | 1 | fs = require 'fs'
http = require 'http'
net = require 'net'
socketio = require 'socket.io'
express = require 'express'
Mpd = require 'mpd'
extend = require 'node.extend'
path = require 'path'
arrayToObject = (array) ->
obj = {}
obj[item] = true for item in array
obj
app = express()
app.configure ->
app.use(ex... | 199218 | fs = require 'fs'
http = require 'http'
net = require 'net'
socketio = require 'socket.io'
express = require 'express'
Mpd = require 'mpd'
extend = require 'node.extend'
path = require 'path'
arrayToObject = (array) ->
obj = {}
obj[item] = true for item in array
obj
app = express()
app.configure ->
app.use(ex... | true | fs = require 'fs'
http = require 'http'
net = require 'net'
socketio = require 'socket.io'
express = require 'express'
Mpd = require 'mpd'
extend = require 'node.extend'
path = require 'path'
arrayToObject = (array) ->
obj = {}
obj[item] = true for item in array
obj
app = express()
app.configure ->
app.use(ex... |
[
{
"context": " isAdmin: -> Meteor.user()?.emails[0].address is \"admin@fantanarchist.com\"\n disableDraw: -> Current.find().fetch()[0]?.rem",
"end": 96,
"score": 0.9999261498451233,
"start": 73,
"tag": "EMAIL",
"value": "admin@fantanarchist.com"
}
] | client/draw/draw.coffee | dfucci/fantasybid | 0 | Template.draw.helpers
isAdmin: -> Meteor.user()?.emails[0].address is "admin@fantanarchist.com"
disableDraw: -> Current.find().fetch()[0]?.remaining is 0
Template.draw.events
"change .roles": (e, tpl) ->
e.preventDefault()
role = tpl.$("select[name='role']").val()
if role isnt "X"
Meteor.call '... | 178563 | Template.draw.helpers
isAdmin: -> Meteor.user()?.emails[0].address is "<EMAIL>"
disableDraw: -> Current.find().fetch()[0]?.remaining is 0
Template.draw.events
"change .roles": (e, tpl) ->
e.preventDefault()
role = tpl.$("select[name='role']").val()
if role isnt "X"
Meteor.call 'remainingPlayers... | true | Template.draw.helpers
isAdmin: -> Meteor.user()?.emails[0].address is "PI:EMAIL:<EMAIL>END_PI"
disableDraw: -> Current.find().fetch()[0]?.remaining is 0
Template.draw.events
"change .roles": (e, tpl) ->
e.preventDefault()
role = tpl.$("select[name='role']").val()
if role isnt "X"
Meteor.call 'r... |
[
{
"context": "i: \"https://api.sendhub.com/v1/messages/?username=4805706128&api_key=c067818f26b8d711672621f4dcec667ab86cdc48\"",
"end": 472,
"score": 0.9698641896247864,
"start": 462,
"tag": "USERNAME",
"value": "4805706128"
},
{
"context": "dhub.com/v1/messages/?username=4805706128&... | cmdblu/sms.coffee | octoblu/att-hackathon | 0 | Meshblu = require './src/meshblu'
Device = require './src/device'
{spawn} = require 'child_process'
request = require 'request'
_ = require 'lodash'
device_uuid = process.env.DEVICE_UUID
device_token = process.env.DEVICE_TOKEN
payload_only = process.env.PAYLOAD_ONLY
meshblu_uri = process.env.MESHBLU_URI || 'wss://mes... | 138981 | Meshblu = require './src/meshblu'
Device = require './src/device'
{spawn} = require 'child_process'
request = require 'request'
_ = require 'lodash'
device_uuid = process.env.DEVICE_UUID
device_token = process.env.DEVICE_TOKEN
payload_only = process.env.PAYLOAD_ONLY
meshblu_uri = process.env.MESHBLU_URI || 'wss://mes... | true | Meshblu = require './src/meshblu'
Device = require './src/device'
{spawn} = require 'child_process'
request = require 'request'
_ = require 'lodash'
device_uuid = process.env.DEVICE_UUID
device_token = process.env.DEVICE_TOKEN
payload_only = process.env.PAYLOAD_ONLY
meshblu_uri = process.env.MESHBLU_URI || 'wss://mes... |
[
{
"context": "/package.json\")\n\n# Analytics\nanalyticsWriteKey = \"u3c26xkae8\"\n\n# Get Atom defaults\ntabLength = atom.config.get",
"end": 638,
"score": 0.7996118068695068,
"start": 628,
"tag": "KEY",
"value": "u3c26xkae8"
},
{
"context": "ere is a bug in nopt\n # See https://... | lib/language-options.coffee | aparedes/atom-beautify | 0 | ###
Language Support and default options.
###
"use strict"
# Lazy loaded dependencies
_ = null
extend = null
# Language Beautifiers
beautifyJS = null
beautifyHTML = null
beautifyCSS = null
beautifySQL = null
beautifyPerl = null
beautifyPHP = null
beautifyPython = null
beautifyRuby = null
beautifyLESS = null
beautifyCof... | 3262 | ###
Language Support and default options.
###
"use strict"
# Lazy loaded dependencies
_ = null
extend = null
# Language Beautifiers
beautifyJS = null
beautifyHTML = null
beautifyCSS = null
beautifySQL = null
beautifyPerl = null
beautifyPHP = null
beautifyPython = null
beautifyRuby = null
beautifyLESS = null
beautifyCof... | true | ###
Language Support and default options.
###
"use strict"
# Lazy loaded dependencies
_ = null
extend = null
# Language Beautifiers
beautifyJS = null
beautifyHTML = null
beautifyCSS = null
beautifySQL = null
beautifyPerl = null
beautifyPHP = null
beautifyPython = null
beautifyRuby = null
beautifyLESS = null
beautifyCof... |
[
{
"context": "system architecture\n registry.readFullKey \"HKLM\\\\Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Uninstall\", cb\n (cb) -> # user apps (32- and ",
"end": 2542,
"score": 0.8470777869224548,
"start": 2490,
"tag": "KEY",
"value": "HKLM\\\\Software\\\\Microsof... | app/utils/fs-scanner.coffee | leapmotion/apphome | 1 | async = require("async")
crypto = require("crypto")
exec = require("child_process").exec
fs = require("fs")
os = require("os")
path = require("path")
plist = require("./plist.js")
registry = require("./registry.js")
semver = require("./semver.js")
shell = require("./shell.js")
LeapApp = require('../models/leap-app.js'... | 163694 | async = require("async")
crypto = require("crypto")
exec = require("child_process").exec
fs = require("fs")
os = require("os")
path = require("path")
plist = require("./plist.js")
registry = require("./registry.js")
semver = require("./semver.js")
shell = require("./shell.js")
LeapApp = require('../models/leap-app.js'... | true | async = require("async")
crypto = require("crypto")
exec = require("child_process").exec
fs = require("fs")
os = require("os")
path = require("path")
plist = require("./plist.js")
registry = require("./registry.js")
semver = require("./semver.js")
shell = require("./shell.js")
LeapApp = require('../models/leap-app.js'... |
[
{
"context": "each}}\n# </ul>\n# \n# App.User.create(email: 'example@localhost.com') # list updates automatically\n# \n# ## The State ",
"end": 2941,
"score": 0.9998787045478821,
"start": 2920,
"tag": "EMAIL",
"value": "example@localhost.com"
},
{
"context": ": 20\n isCursor... | node_modules/tower/packages/tower-model/shared/cursor.coffee | MagicPower2/Power | 1 | _ = Tower._
# An array or collection of models.
#
# This behaves mostly like a native JavaScript Array, but it is not.
# This means you can still iterate over the items using a standard
# for loop, i.e. `var record = records[i]`, but you cannot set an item
# using the square brackets `[]` method, i.e. `records[i] = ... | 150310 | _ = Tower._
# An array or collection of models.
#
# This behaves mostly like a native JavaScript Array, but it is not.
# This means you can still iterate over the items using a standard
# for loop, i.e. `var record = records[i]`, but you cannot set an item
# using the square brackets `[]` method, i.e. `records[i] = ... | true | _ = Tower._
# An array or collection of models.
#
# This behaves mostly like a native JavaScript Array, but it is not.
# This means you can still iterate over the items using a standard
# for loop, i.e. `var record = records[i]`, but you cannot set an item
# using the square brackets `[]` method, i.e. `records[i] = ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.