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": "created', 3, ->\n product = new @Product(name: \"test\")\n\n @adapter.create product, {}, (err, record)",
"end": 2120,
"score": 0.891407310962677,
"start": 2116,
"tag": "NAME",
"value": "test"
},
{
"context": "x.toUpperCase()\n product = new @Product(name: \"te... | tests/batman/storage_adapter/storage_adapter_helper.coffee | nickjs/batman | 1 | # This at some point should be exported so it can be run on custom storage adapters.
sharedStorageTestSuite = (hooks = {}) ->
asyncTestWithHooks = (name, count, f) ->
QUnit.asyncTest name, count, ->
hooks[name].call(@) if hooks[name]?
f.call(@)
test 'instantiating: should use the `storageKey` on th... | 121142 | # This at some point should be exported so it can be run on custom storage adapters.
sharedStorageTestSuite = (hooks = {}) ->
asyncTestWithHooks = (name, count, f) ->
QUnit.asyncTest name, count, ->
hooks[name].call(@) if hooks[name]?
f.call(@)
test 'instantiating: should use the `storageKey` on th... | true | # This at some point should be exported so it can be run on custom storage adapters.
sharedStorageTestSuite = (hooks = {}) ->
asyncTestWithHooks = (name, count, f) ->
QUnit.asyncTest name, count, ->
hooks[name].call(@) if hooks[name]?
f.call(@)
test 'instantiating: should use the `storageKey` on th... |
[
{
"context": "nLeave, onEnter\n inputs: [\n { value: \"Маргарита\", type: \"link\", name: \"type\", price: 350 },\n ",
"end": 647,
"score": 0.9779732823371887,
"start": 638,
"tag": "NAME",
"value": "Маргарита"
},
{
"context": "k\", name: \"type\", price: 350 },\n ... | examples/pizza.js.coffee | ulitiy/WidLib | 1 | widlib=require("widlib-server")
server=widlib.init
# Можно использовать любой шаблонизатор (index_template=Handlebars.compile("...")),
# в функцию передается объект страницы, шаблон сохранится в @app.template
template: index_template
pages:
type:
# шаблоны можно также задавать индивидуально для каждой... | 174876 | widlib=require("widlib-server")
server=widlib.init
# Можно использовать любой шаблонизатор (index_template=Handlebars.compile("...")),
# в функцию передается объект страницы, шаблон сохранится в @app.template
template: index_template
pages:
type:
# шаблоны можно также задавать индивидуально для каждой... | true | widlib=require("widlib-server")
server=widlib.init
# Можно использовать любой шаблонизатор (index_template=Handlebars.compile("...")),
# в функцию передается объект страницы, шаблон сохранится в @app.template
template: index_template
pages:
type:
# шаблоны можно также задавать индивидуально для каждой... |
[
{
"context": "asks \"grunt-contrib-requirejs\"\n\n # This task uses James Burke's excellent r.js AMD builder to take all modules\n",
"end": 93,
"score": 0.9428707957267761,
"start": 82,
"tag": "NAME",
"value": "James Burke"
}
] | public/apps/equifit/build/tasks/requirejs.coffee | mromanoff/equifit | 0 | module.exports = ->
@loadNpmTasks "grunt-contrib-requirejs"
# This task uses James Burke's excellent r.js AMD builder to take all modules
# and concatenate them into a single file.
@config "requirejs",
release:
options:
mainConfigFile: "app/config.js"
# generateSourceMaps: true
... | 222275 | module.exports = ->
@loadNpmTasks "grunt-contrib-requirejs"
# This task uses <NAME>'s excellent r.js AMD builder to take all modules
# and concatenate them into a single file.
@config "requirejs",
release:
options:
mainConfigFile: "app/config.js"
# generateSourceMaps: true
inc... | true | module.exports = ->
@loadNpmTasks "grunt-contrib-requirejs"
# This task uses PI:NAME:<NAME>END_PI's excellent r.js AMD builder to take all modules
# and concatenate them into a single file.
@config "requirejs",
release:
options:
mainConfigFile: "app/config.js"
# generateSourceMaps: tr... |
[
{
"context": ".\n #\n # @example \n # App.Post.where(title: \"First Post\").all()\n #\n # @param [Object] conditions\n wher",
"end": 2926,
"score": 0.7961158156394958,
"start": 2916,
"tag": "NAME",
"value": "First Post"
},
{
"context": "set((page - 1) * limit)\n \n # https... | src/tower/model/criteria.coffee | vjsingh/tower | 1 | # This class has plenty of room for optimization,
# but it's now into a form I'm starting to like.
class Tower.Model.Criteria extends Tower.Class
defaultLimit: 20
@include Tower.Support.Callbacks
constructor: (options = {}) ->
@model = options.model
@store = if @model then @model.sto... | 175138 | # This class has plenty of room for optimization,
# but it's now into a form I'm starting to like.
class Tower.Model.Criteria extends Tower.Class
defaultLimit: 20
@include Tower.Support.Callbacks
constructor: (options = {}) ->
@model = options.model
@store = if @model then @model.sto... | true | # This class has plenty of room for optimization,
# but it's now into a form I'm starting to like.
class Tower.Model.Criteria extends Tower.Class
defaultLimit: 20
@include Tower.Support.Callbacks
constructor: (options = {}) ->
@model = options.model
@store = if @model then @model.sto... |
[
{
"context": "rge objects', ->\n names = character: {name: 'barney'}\n ages = character: { age: 24 }\n ",
"end": 2278,
"score": 0.9996365308761597,
"start": 2272,
"tag": "NAME",
"value": "barney"
},
{
"context": "(merged).to.deep.equal\n character: {name: '... | test/fn-spec.coffee | giladgray/rocket-engine | 1 | chai = require 'chai'
expect = chai.expect
fn = require '../src/fn.coffee'
describe 'fn', ->
describe '.uniqueId()', ->
it 'should generate a string', ->
expect(fn.uniqueId).to.be.a.string
it 'should generate a new id each time', ->
id1 = fn.uniqueId()
id2 = fn.uniqueId()
expect(id1... | 155158 | chai = require 'chai'
expect = chai.expect
fn = require '../src/fn.coffee'
describe 'fn', ->
describe '.uniqueId()', ->
it 'should generate a string', ->
expect(fn.uniqueId).to.be.a.string
it 'should generate a new id each time', ->
id1 = fn.uniqueId()
id2 = fn.uniqueId()
expect(id1... | true | chai = require 'chai'
expect = chai.expect
fn = require '../src/fn.coffee'
describe 'fn', ->
describe '.uniqueId()', ->
it 'should generate a string', ->
expect(fn.uniqueId).to.be.a.string
it 'should generate a new id each time', ->
id1 = fn.uniqueId()
id2 = fn.uniqueId()
expect(id1... |
[
{
"context": " user: @config.SQL_USER\n password: @config.SQL_PASSWORD\n database: @config.SQL_DATABASE_COMMON",
"end": 738,
"score": 0.9203190207481384,
"start": 718,
"tag": "PASSWORD",
"value": "@config.SQL_PASSWORD"
}
] | src/server/databasehandlers/dbh.mysql.coffee | Atanamo/IRC-Gateway | 0 |
## Include libraries
Q = require 'q'
mysql = require 'mysql'
## Include app logger
appLogger = require '../logger'
## Include abstract handler
AbstractDatabaseHandler = require './dbh.abstract'
## Handler for interacting with MySQL databases
##
class MysqlDatabaseHandler extends AbstractDatabaseHandler
log: nu... | 9930 |
## Include libraries
Q = require 'q'
mysql = require 'mysql'
## Include app logger
appLogger = require '../logger'
## Include abstract handler
AbstractDatabaseHandler = require './dbh.abstract'
## Handler for interacting with MySQL databases
##
class MysqlDatabaseHandler extends AbstractDatabaseHandler
log: nu... | true |
## Include libraries
Q = require 'q'
mysql = require 'mysql'
## Include app logger
appLogger = require '../logger'
## Include abstract handler
AbstractDatabaseHandler = require './dbh.abstract'
## Handler for interacting with MySQL databases
##
class MysqlDatabaseHandler extends AbstractDatabaseHandler
log: nu... |
[
{
"context": "d to parentWidget\n setting = {}\n setting.key = \"params-picker\"\n setting.isInitialized = false\n\n setting.initi",
"end": 249,
"score": 0.9514584541320801,
"start": 236,
"tag": "KEY",
"value": "params-picker"
}
] | src/components/widgets-settings/params-picker/params-picker.directive.coffee | agranado2k/impac-angular | 7 | module = angular.module('impac.components.widgets-settings.params-picker',[])
module.controller('SettingParamsPickerCtrl', ($scope) ->
w = $scope.parentWidget
# What will be passed to parentWidget
setting = {}
setting.key = "params-picker"
setting.isInitialized = false
setting.initialize = ->
$scope... | 216007 | module = angular.module('impac.components.widgets-settings.params-picker',[])
module.controller('SettingParamsPickerCtrl', ($scope) ->
w = $scope.parentWidget
# What will be passed to parentWidget
setting = {}
setting.key = "<KEY>"
setting.isInitialized = false
setting.initialize = ->
$scope.sortabl... | true | module = angular.module('impac.components.widgets-settings.params-picker',[])
module.controller('SettingParamsPickerCtrl', ($scope) ->
w = $scope.parentWidget
# What will be passed to parentWidget
setting = {}
setting.key = "PI:KEY:<KEY>END_PI"
setting.isInitialized = false
setting.initialize = ->
$... |
[
{
"context": "itor.structured()\n @editor.setJSON\n name: 'Batman'\n role: 'Vigilante'\n mobile: 'Bat Signal'",
"end": 532,
"score": 0.9996075630187988,
"start": 526,
"tag": "NAME",
"value": "Batman"
},
{
"context": "Vigilante'\n mobile: 'Bat Signal'\n email: '... | js/main.coffee | vpj/models | 4 | Mod.require 'Weya.Base',
'Weya'
'Models.Editor'
(Base, Weya, Editor) ->
class App extends Base
@initialize ->
@elems = {}
@_changed = false
@content = ''
@editor = new Editor model: 'Resume'
@listen 'error', (e) ->
console.error e
render: ->
@editor.render document.body,
he... | 186088 | Mod.require 'Weya.Base',
'Weya'
'Models.Editor'
(Base, Weya, Editor) ->
class App extends Base
@initialize ->
@elems = {}
@_changed = false
@content = ''
@editor = new Editor model: 'Resume'
@listen 'error', (e) ->
console.error e
render: ->
@editor.render document.body,
he... | true | Mod.require 'Weya.Base',
'Weya'
'Models.Editor'
(Base, Weya, Editor) ->
class App extends Base
@initialize ->
@elems = {}
@_changed = false
@content = ''
@editor = new Editor model: 'Resume'
@listen 'error', (e) ->
console.error e
render: ->
@editor.render document.body,
he... |
[
{
"context": "###\n Pokemon Go (c) ManInTheMiddle Radar \"mod\"\n Michael Strassburger <codepoet@cpan.org>\n\n Enriches every PokeStop de",
"end": 70,
"score": 0.9998696446418762,
"start": 50,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": "anInTheMiddle Radar \"mo... | example.ingameRadar.coffee | BuloZB/pokemon-go-mitm-node | 1 | ###
Pokemon Go (c) ManInTheMiddle Radar "mod"
Michael Strassburger <codepoet@cpan.org>
Enriches every PokeStop description with information about
- directions to nearby wild pokemons
- time left if a PokeStop has an active lure
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
changeCase = require 'change... | 52452 | ###
Pokemon Go (c) ManInTheMiddle Radar "mod"
<NAME> <<EMAIL>>
Enriches every PokeStop description with information about
- directions to nearby wild pokemons
- time left if a PokeStop has an active lure
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
changeCase = require 'change-case'
moment = require ... | true | ###
Pokemon Go (c) ManInTheMiddle Radar "mod"
PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Enriches every PokeStop description with information about
- directions to nearby wild pokemons
- time left if a PokeStop has an active lure
###
PokemonGoMITM = require './lib/pokemon-go-mitm'
changeCase = require 'c... |
[
{
"context": " heardAbout: 'magical interwebs'\n firstName: 'First'\n lastName: 'Last'\n}\n\ndescribe 'POST /db/trial",
"end": 500,
"score": 0.9994598627090454,
"start": 495,
"tag": "NAME",
"value": "First"
},
{
"context": " interwebs'\n firstName: 'First'\n lastName: 'L... | spec/server/functional/trial_request.spec.coffee | kbespalyi/codecombat | 0 | require '../common'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
User = require '../../../server/models/User'
TrialRequest = require '../../../server/models/TrialRequest'
Prepaid = require '../../../server/models/Prepaid'
request = require '../request'
delighted = require '../../../serve... | 212507 | require '../common'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
User = require '../../../server/models/User'
TrialRequest = require '../../../server/models/TrialRequest'
Prepaid = require '../../../server/models/Prepaid'
request = require '../request'
delighted = require '../../../serve... | true | require '../common'
utils = require '../utils'
_ = require 'lodash'
Promise = require 'bluebird'
User = require '../../../server/models/User'
TrialRequest = require '../../../server/models/TrialRequest'
Prepaid = require '../../../server/models/Prepaid'
request = require '../request'
delighted = require '../../../serve... |
[
{
"context": "###\nThe MIT License\n\nCopyright (c) 2015 Juan Cruz Viotti. https://jviotti.github.io.\n\nPermission is hereby",
"end": 56,
"score": 0.9998104572296143,
"start": 40,
"tag": "NAME",
"value": "Juan Cruz Viotti"
}
] | lib/log.coffee | jviotti/wary | 1 | ###
The MIT License
Copyright (c) 2015 Juan Cruz Viotti. https://jviotti.github.io.
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... | 88374 | ###
The MIT License
Copyright (c) 2015 <NAME>. https://jviotti.github.io.
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... | true | ###
The MIT License
Copyright (c) 2015 PI:NAME:<NAME>END_PI. https://jviotti.github.io.
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 right... |
[
{
"context": "Utils = ->\n\n# Utils.clientUrl = 'file:///Users/celwell/purple/app/index-debug.html'\n# Utils.clientUrl = ",
"end": 54,
"score": 0.998369038105011,
"start": 47,
"tag": "USERNAME",
"value": "celwell"
},
{
"context": "s/app/index-debug.html'\nUtils.clientUrl = 'http://12... | src/test/test/specs/test_utils.coffee | Purple-Services/app | 2 | Utils = ->
# Utils.clientUrl = 'file:///Users/celwell/purple/app/index-debug.html'
# Utils.clientUrl = 'file:///home/travis/build/Purple-Services/app/index-debug.html'
Utils.clientUrl = 'http://127.0.0.1:8080/index-debug.html'
Utils.getMenu = (divName) ->
browser.pause 500
menus = browser.elements '.menuButton'
... | 205591 | Utils = ->
# Utils.clientUrl = 'file:///Users/celwell/purple/app/index-debug.html'
# Utils.clientUrl = 'file:///home/travis/build/Purple-Services/app/index-debug.html'
Utils.clientUrl = 'http://127.0.0.1:8080/index-debug.html'
Utils.getMenu = (divName) ->
browser.pause 500
menus = browser.elements '.menuButton'
... | true | Utils = ->
# Utils.clientUrl = 'file:///Users/celwell/purple/app/index-debug.html'
# Utils.clientUrl = 'file:///home/travis/build/Purple-Services/app/index-debug.html'
Utils.clientUrl = 'http://127.0.0.1:8080/index-debug.html'
Utils.getMenu = (divName) ->
browser.pause 500
menus = browser.elements '.menuButton'
... |
[
{
"context": "fileoverview Tests for quote-props rule.\n# @author Mathias Bynens <http://mathiasbynens.be/>\n###\n\n'use strict'\n\n#--",
"end": 73,
"score": 0.9998462796211243,
"start": 59,
"tag": "NAME",
"value": "Mathias Bynens"
}
] | src/tests/rules/quote-props.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for quote-props rule.
# @author Mathias Bynens <http://mathiasbynens.be/>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/l... | 130957 | ###*
# @fileoverview Tests for quote-props rule.
# @author <NAME> <http://mathiasbynens.be/>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules... | true | ###*
# @fileoverview Tests for quote-props rule.
# @author PI:NAME:<NAME>END_PI <http://mathiasbynens.be/>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'es... |
[
{
"context": "ooqita admission system subscriptions\n# Created by Markus on 26/10/2017.\n#\n################################",
"end": 142,
"score": 0.9990543127059937,
"start": 136,
"tag": "NAME",
"value": "Markus"
}
] | server/publications/admissions.coffee | MooqitaSFH/worklearn | 0 | ###############################################################################
#
# Mooqita admission system subscriptions
# Created by Markus on 26/10/2017.
#
###############################################################################
###############################################################################... | 86760 | ###############################################################################
#
# Mooqita admission system subscriptions
# Created by <NAME> on 26/10/2017.
#
###############################################################################
###############################################################################... | true | ###############################################################################
#
# Mooqita admission system subscriptions
# Created by PI:NAME:<NAME>END_PI on 26/10/2017.
#
###############################################################################
#################################################################... |
[
{
"context": " ->\n @form = form\n @key = @form.dataset.key.toString()\n @form_id = @form.id\n @value_input = docu",
"end": 101,
"score": 0.5248094201087952,
"start": 93,
"tag": "KEY",
"value": "toString"
}
] | app/packs/src/translation-index.coffee | kue-ipc/ikamail | 0 | class TranslationForm
constructor: (form) ->
@form = form
@key = @form.dataset.key.toString()
@form_id = @form.id
@value_input = document.getElementById("#{@form_id}-value")
@submit_button = document.getElementById("#{@form_id}-submit")
@delete_link = document.getElementById("#{@form_id}-delet... | 80663 | class TranslationForm
constructor: (form) ->
@form = form
@key = @form.dataset.key.<KEY>()
@form_id = @form.id
@value_input = document.getElementById("#{@form_id}-value")
@submit_button = document.getElementById("#{@form_id}-submit")
@delete_link = document.getElementById("#{@form_id}-delete")... | true | class TranslationForm
constructor: (form) ->
@form = form
@key = @form.dataset.key.PI:KEY:<KEY>END_PI()
@form_id = @form.id
@value_input = document.getElementById("#{@form_id}-value")
@submit_button = document.getElementById("#{@form_id}-submit")
@delete_link = document.getElementById("#{@form... |
[
{
"context": "###\nGray theme for Highcharts JS\n@author Torstein Honsi\n###\nHighcharts.theme =\n # colors: [\n # \"#DDDF",
"end": 55,
"score": 0.9998737573623657,
"start": 41,
"tag": "NAME",
"value": "Torstein Honsi"
}
] | app/assets/javascripts/highcharts_theme.js.coffee | hstove/issue_stats | 132 | ###
Gray theme for Highcharts JS
@author Torstein Honsi
###
Highcharts.theme =
# colors: [
# "#DDDF0D"
# "#7798BF"
# "#55BF3B"
# "#DF5353"
# "#aaeeee"
# "#ff0066"
# "#eeaaee"
# "#55BF3B"
# "#DF5353"
# "#7798BF"
# "#aaeeee"
# ]
chart:
backgroundColor: "#FAFAFA"
# ... | 125458 | ###
Gray theme for Highcharts JS
@author <NAME>
###
Highcharts.theme =
# colors: [
# "#DDDF0D"
# "#7798BF"
# "#55BF3B"
# "#DF5353"
# "#aaeeee"
# "#ff0066"
# "#eeaaee"
# "#55BF3B"
# "#DF5353"
# "#7798BF"
# "#aaeeee"
# ]
chart:
backgroundColor: "#FAFAFA"
# linea... | true | ###
Gray theme for Highcharts JS
@author PI:NAME:<NAME>END_PI
###
Highcharts.theme =
# colors: [
# "#DDDF0D"
# "#7798BF"
# "#55BF3B"
# "#DF5353"
# "#aaeeee"
# "#ff0066"
# "#eeaaee"
# "#55BF3B"
# "#DF5353"
# "#7798BF"
# "#aaeeee"
# ]
chart:
backgroundColor: "#FAFAFA"... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993626475334167,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/pummel/test-exec.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... | 38406 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n\nLicensed under the A",
"end": 39,
"score": 0.9998869895935059,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com... | src/Dom/Traversal/ElementChildren.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law o... | 83280 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law or agreed to in writing,... | true | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable... |
[
{
"context": "ee the LICENCE file for details.\n#\n# Copyright (c) Markus Kohlhase, 2011 - 2012\n\n# A Strophe plugin for ( http://xmp",
"end": 141,
"score": 0.9998841881752014,
"start": 126,
"tag": "NAME",
"value": "Markus Kohlhase"
}
] | dist/bower_components/strophejs-plugins/pep/strophe.pep.coffee | A-StadLabs/labs-002 | 34 | # This plugin is distributed under the terms of the MIT licence.
# Please see the LICENCE file for details.
#
# Copyright (c) Markus Kohlhase, 2011 - 2012
# A Strophe plugin for ( http://xmpp.org/extensions/xep-0115.html )
# NOTE: This plugin has following dependencies:
#
# - strophe.caps.js
# - strophe.pubsub.js
St... | 84874 | # This plugin is distributed under the terms of the MIT licence.
# Please see the LICENCE file for details.
#
# Copyright (c) <NAME>, 2011 - 2012
# A Strophe plugin for ( http://xmpp.org/extensions/xep-0115.html )
# NOTE: This plugin has following dependencies:
#
# - strophe.caps.js
# - strophe.pubsub.js
Strophe.add... | true | # This plugin is distributed under the terms of the MIT licence.
# Please see the LICENCE file for details.
#
# Copyright (c) PI:NAME:<NAME>END_PI, 2011 - 2012
# A Strophe plugin for ( http://xmpp.org/extensions/xep-0115.html )
# NOTE: This plugin has following dependencies:
#
# - strophe.caps.js
# - strophe.pubsub.j... |
[
{
"context": "icles in view\n#\n# Nodize CMS\n# https://github.com/nodize/nodizecms\n#\n# Copyright 2012-2013, Hypee\n# http:/",
"end": 94,
"score": 0.9993612766265869,
"start": 88,
"tag": "USERNAME",
"value": "nodize"
},
{
"context": "thub.com/nodize/nodizecms\n#\n# Copyright 2012-2... | modules/ionize/helpers/helper_article.coffee | nodize/nodizecms | 32 | # Article helpers, used to display articles in view
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012-2013, Hypee
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
# Defining helpers, available in templates
# These helpers shoul... | 36651 | # Article helpers, used to display articles in view
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012-2013, <NAME>
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
# Defining helpers, available in templates
# These helpers shou... | true | # Article helpers, used to display articles in view
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012-2013, PI:NAME:<NAME>END_PI
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
# Defining helpers, available in templates
# Thes... |
[
{
"context": "andard info dialog subclass\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\nclass Dialog.Info extends Dialog\n\n constructor",
"end": 78,
"score": 0.999883770942688,
"start": 61,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/dialog/src/info.coffee | lovely-io/lovely.io-stl | 2 | #
# The standard info dialog subclass
#
# Copyright (C) 2012 Nikolay Nemshilov
#
class Dialog.Info extends Dialog
constructor: (options)->
options or= {}
options.title or= 'Info'
options.icon or= 'info-sign'
options.onlyOk = true unless 'onlyOk' in options
super(options)
@addClass '... | 2901 | #
# The standard info dialog subclass
#
# Copyright (C) 2012 <NAME>
#
class Dialog.Info extends Dialog
constructor: (options)->
options or= {}
options.title or= 'Info'
options.icon or= 'info-sign'
options.onlyOk = true unless 'onlyOk' in options
super(options)
@addClass 'lui-dialog-... | true | #
# The standard info dialog subclass
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
class Dialog.Info extends Dialog
constructor: (options)->
options or= {}
options.title or= 'Info'
options.icon or= 'info-sign'
options.onlyOk = true unless 'onlyOk' in options
super(options)
@addClas... |
[
{
"context": ") ->\n try\n # Connect to 127.0.0.1 port 11211\n sess.connect null,\n ",
"end": 539,
"score": 0.999745786190033,
"start": 530,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " id: ID\n data... | test/test.coffee | x62en/PHPSession | 2 | require 'coffee-script/register'
CoffeeScript = require 'coffee-script'
chai = require 'chai'
chaiFiles = require 'chai-files'
path = require 'path'
PHPSession = require path.join(__dirname, '..','phpsession')
chai.use(chaiFiles)
expect = chai.expect
file = chaiFiles.file
dir = cha... | 75256 | require 'coffee-script/register'
CoffeeScript = require 'coffee-script'
chai = require 'chai'
chaiFiles = require 'chai-files'
path = require 'path'
PHPSession = require path.join(__dirname, '..','phpsession')
chai.use(chaiFiles)
expect = chai.expect
file = chaiFiles.file
dir = cha... | true | require 'coffee-script/register'
CoffeeScript = require 'coffee-script'
chai = require 'chai'
chaiFiles = require 'chai-files'
path = require 'path'
PHPSession = require path.join(__dirname, '..','phpsession')
chai.use(chaiFiles)
expect = chai.expect
file = chaiFiles.file
dir = cha... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998841285705566,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/Router/RouteInstance.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Tools = use('@Konsserto/Component/Static/Tools')
# RouteInstance
# @author Jessym Rezi... | 89011 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Tools = use('@Konsserto/Component/Static/Tools')
# RouteInstance
# @author <NAME> <<EMAIL>>
class RouteIns... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Tools = use('@Konsserto/Component/Static/Tools')
# RouteInstance
# @author PI... |
[
{
"context": "GS IN THE SOFTWARE.\n\n# Taken from hubot at commit 71d1c686d9ffdfad54751080c699979fa17190a1 and modified to fit current use.\n\nclass Response\n",
"end": 1166,
"score": 0.9587725400924683,
"start": 1126,
"tag": "PASSWORD",
"value": "71d1c686d9ffdfad54751080c699979fa17190a1"
... | src/response.coffee | kumpelblase2/modlab-chat | 0 | # Copyright (c) 2013 GitHub Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# dis... | 196802 | # Copyright (c) 2013 GitHub Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# dis... | true | # Copyright (c) 2013 GitHub Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# dis... |
[
{
"context": "entok')\ndescribe \"error checking\", ->\n apiKey = '14971292'\n apiSecret = 'ecbe2b25afec7887bd72fe4763b87add8",
"end": 86,
"score": 0.9994992613792419,
"start": 78,
"tag": "KEY",
"value": "14971292"
},
{
"context": "hecking\", ->\n apiKey = '14971292'\n apiSecret ... | app/node_modules/opentok/spec/opentok_spec.coffee | RutgersUniversityVirtualWorlds/vwtalk | 0 | OpenTok = require('../lib/opentok')
describe "error checking", ->
apiKey = '14971292'
apiSecret = 'ecbe2b25afec7887bd72fe4763b87add8ce02658'
opentok = new OpenTok.OpenTokSDK(apiKey, apiSecret)
it "should throw error without valid sessionId", ->
expect( -> opentok.generateToken({sessionId:"1234"}) ).toThrow... | 219514 | OpenTok = require('../lib/opentok')
describe "error checking", ->
apiKey = '<KEY>'
apiSecret = '<KEY>'
opentok = new OpenTok.OpenTokSDK(apiKey, apiSecret)
it "should throw error without valid sessionId", ->
expect( -> opentok.generateToken({sessionId:"1234"}) ).toThrow( new Error("An invalid session ID was... | true | OpenTok = require('../lib/opentok')
describe "error checking", ->
apiKey = 'PI:KEY:<KEY>END_PI'
apiSecret = 'PI:KEY:<KEY>END_PI'
opentok = new OpenTok.OpenTokSDK(apiKey, apiSecret)
it "should throw error without valid sessionId", ->
expect( -> opentok.generateToken({sessionId:"1234"}) ).toThrow( new Error(... |
[
{
"context": "a.should.containDeep [title: \"Biomedical Library - Johnson Pavilion\"]\n done()\n\n it 'should get the list of al",
"end": 1015,
"score": 0.999851405620575,
"start": 999,
"tag": "NAME",
"value": "Johnson Pavilion"
}
] | test/map.coffee | pennlabs/penn-sdk-node | 1 | should = require "should"
api = require "../lib"
Map = api.Map
API_USERNAME = process.env.NEWS_EVENTS_MAP_API_USERNAME || ""
API_PASSWORD = process.env.NEWS_EVENTS_MAP_API_PASSWORD || ""
describe 'Map', ->
before ->
@map = new Map(API_USERNAME, API_PASSWORD)
describe 'search', ->
it 'should have the Rals... | 159318 | should = require "should"
api = require "../lib"
Map = api.Map
API_USERNAME = process.env.NEWS_EVENTS_MAP_API_USERNAME || ""
API_PASSWORD = process.env.NEWS_EVENTS_MAP_API_PASSWORD || ""
describe 'Map', ->
before ->
@map = new Map(API_USERNAME, API_PASSWORD)
describe 'search', ->
it 'should have the Rals... | true | should = require "should"
api = require "../lib"
Map = api.Map
API_USERNAME = process.env.NEWS_EVENTS_MAP_API_USERNAME || ""
API_PASSWORD = process.env.NEWS_EVENTS_MAP_API_PASSWORD || ""
describe 'Map', ->
before ->
@map = new Map(API_USERNAME, API_PASSWORD)
describe 'search', ->
it 'should have the Rals... |
[
{
"context": "s', (done) ->\n App.User.create firstName: \"Lance\", (error, record) =>\n assert.deepEqual r",
"end": 778,
"score": 0.9995517730712891,
"start": 773,
"tag": "NAME",
"value": "Lance"
},
{
"context": ", (done) ->\n App.User.create [{firstName: \"La... | test/cases/model/persistenceTest.coffee | vjsingh/tower | 1 | require '../../config'
user = null
describeWith = (store) ->
describe "Tower.Model.Persistence (Tower.Store.#{store.name})", ->
beforeEach (done) ->
store.clean =>
App.User.store(store)
done()
describe 'new', ->
test '#isNew', ->
user = new App.User
as... | 43288 | require '../../config'
user = null
describeWith = (store) ->
describe "Tower.Model.Persistence (Tower.Store.#{store.name})", ->
beforeEach (done) ->
store.clean =>
App.User.store(store)
done()
describe 'new', ->
test '#isNew', ->
user = new App.User
as... | true | require '../../config'
user = null
describeWith = (store) ->
describe "Tower.Model.Persistence (Tower.Store.#{store.name})", ->
beforeEach (done) ->
store.clean =>
App.User.store(store)
done()
describe 'new', ->
test '#isNew', ->
user = new App.User
as... |
[
{
"context": " {url: netconfig.lobby.url + \"/auth/temp?username=bot&password=bot\", jar: @cookieJar, timeout: botConfi",
"end": 4233,
"score": 0.9247771501541138,
"start": 4230,
"tag": "USERNAME",
"value": "bot"
},
{
"context": "fig.lobby.url + \"/auth/temp?username=bot&password=bot... | botmanager/lib/bot.coffee | towerstorm/game | 11 |
rs = require 'randomstring'
io = require('socket.io-client')
xhr = require('socket.io-client/node_modules/xmlhttprequest');
xhrOriginal = require('xmlhttprequest');
botConfig = require 'config/botmanager'
config = require 'config/general'
netMsg = require 'config/net-messages'
gameMsg = require 'config/game-messages'
... | 113113 |
rs = require 'randomstring'
io = require('socket.io-client')
xhr = require('socket.io-client/node_modules/xmlhttprequest');
xhrOriginal = require('xmlhttprequest');
botConfig = require 'config/botmanager'
config = require 'config/general'
netMsg = require 'config/net-messages'
gameMsg = require 'config/game-messages'
... | true |
rs = require 'randomstring'
io = require('socket.io-client')
xhr = require('socket.io-client/node_modules/xmlhttprequest');
xhrOriginal = require('xmlhttprequest');
botConfig = require 'config/botmanager'
config = require 'config/general'
netMsg = require 'config/net-messages'
gameMsg = require 'config/game-messages'
... |
[
{
"context": "---------------------------------\n# Copyright 2013 I.B.M.\n# \n# Licensed under the Apache License, Version 2",
"end": 1497,
"score": 0.9998795986175537,
"start": 1492,
"tag": "NAME",
"value": "I.B.M"
}
] | samples/time-waster-server.coffee | pmuellr/nodprof | 6 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
express = require "express"
nodprof = require ".."
timeWaster = require "./time-waster"
port = process.env.PORT || 3001
#-------------------------------------------------------------------------------
exports.... | 147553 | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
express = require "express"
nodprof = require ".."
timeWaster = require "./time-waster"
port = process.env.PORT || 3001
#-------------------------------------------------------------------------------
exports.... | true | # Licensed under the Apache License. See footer for details.
fs = require "fs"
path = require "path"
express = require "express"
nodprof = require ".."
timeWaster = require "./time-waster"
port = process.env.PORT || 3001
#-------------------------------------------------------------------------------
exports.... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999129176139832,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/modding-profile/votes.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 { a, div, h1, h2, span } from 'react-dom-factories'
import { UserAvatar } from 'user-avatar'
import UserGro... | 7702 | # 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 { a, div, h1, h2, span } from 'react-dom-factories'
import { UserAvatar } from 'user-avatar'
import UserGroupBadge... | 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 { a, div, h1, h2, span } from 'react-dom-factories'
import { UserAvatar } from 'user-avatar'
import... |
[
{
"context": "[\n \"asana\"\n \"basecamp\"\n \"bitbucket\"\n \"fogbugz\"\n \"freshb",
"end": 10,
"score": 0.7990733981132507,
"start": 5,
"tag": "NAME",
"value": "asana"
},
{
"context": "[\n \"asana\"\n \"basecamp\"\n \"bitbucket\"\n \"fogbugz\"\n \"freshbooks\"\n \"github... | src/bin/services.cson | assignittous/knodeo_workshop | 0 | [
"asana"
"basecamp"
"bitbucket"
"fogbugz"
"freshbooks"
"github"
"google-analytics"
"highrise"
"harvest"
"mailchimp"
"open-exchange-rates"
"trello"
] | 200804 | [
"<NAME>"
"basecamp"
"bitbucket"
"fogbugz"
"freshbooks"
"github"
"google-analytics"
"highrise"
"harvest"
"mailchimp"
"open-exchange-rates"
"trello"
] | true | [
"PI:NAME:<NAME>END_PI"
"basecamp"
"bitbucket"
"fogbugz"
"freshbooks"
"github"
"google-analytics"
"highrise"
"harvest"
"mailchimp"
"open-exchange-rates"
"trello"
] |
[
{
"context": " require 'mongoose'\n\n\nMongoose.connect 'mongodb://127.0.0.1:27017/test'\nserver = new Hapi.createServer 'local",
"end": 153,
"score": 0.999571681022644,
"start": 144,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " describe 'find_one', ->\n\n payload ... | test/functional_tests.coffee | vforgione/hapi-mongoose-resource | 2 |
_ = require 'lodash'
Resource = require '../lib/resource'
Hapi = require 'hapi'
Mongoose = require 'mongoose'
Mongoose.connect 'mongodb://127.0.0.1:27017/test'
server = new Hapi.createServer 'localhost', 3000, {}
FunctionalTestSchema = new Mongoose.Schema { name: String, height: Number, hungry: Boolean }
Functi... | 41818 |
_ = require 'lodash'
Resource = require '../lib/resource'
Hapi = require 'hapi'
Mongoose = require 'mongoose'
Mongoose.connect 'mongodb://127.0.0.1:27017/test'
server = new Hapi.createServer 'localhost', 3000, {}
FunctionalTestSchema = new Mongoose.Schema { name: String, height: Number, hungry: Boolean }
Functi... | true |
_ = require 'lodash'
Resource = require '../lib/resource'
Hapi = require 'hapi'
Mongoose = require 'mongoose'
Mongoose.connect 'mongodb://127.0.0.1:27017/test'
server = new Hapi.createServer 'localhost', 3000, {}
FunctionalTestSchema = new Mongoose.Schema { name: String, height: Number, hungry: Boolean }
Functi... |
[
{
"context": ":\n repoUrl: \"Project Clone URL\"\n fullName: \"Full Name\"\n email: \"Your Email\",\n repoOwner: \"Reposit",
"end": 268,
"score": 0.9878430366516113,
"start": 259,
"tag": "NAME",
"value": "Full Name"
},
{
"context": "\n repoOwner: \"Repository Owner\"\n... | lib/util/configuration-adv-web-editor.coffee | ExentriqLtd/mapr-preview | 0 | {app} = require 'remote'
CSON = require('cson')
path = require 'path'
{File, Directory} = require 'atom'
FILE_PATH = path.join(app.getPath("userData"), "adv-web-editor.cson")
class AWEConfiguration
@labels:
repoUrl: "Project Clone URL"
fullName: "Full Name"
email: "Your Email",
repoOwner: "Repositor... | 37584 | {app} = require 'remote'
CSON = require('cson')
path = require 'path'
{File, Directory} = require 'atom'
FILE_PATH = path.join(app.getPath("userData"), "adv-web-editor.cson")
class AWEConfiguration
@labels:
repoUrl: "Project Clone URL"
fullName: "<NAME>"
email: "Your Email",
repoOwner: "Repository O... | true | {app} = require 'remote'
CSON = require('cson')
path = require 'path'
{File, Directory} = require 'atom'
FILE_PATH = path.join(app.getPath("userData"), "adv-web-editor.cson")
class AWEConfiguration
@labels:
repoUrl: "Project Clone URL"
fullName: "PI:NAME:<NAME>END_PI"
email: "Your Email",
repoOwner:... |
[
{
"context": "\n termsOfUse: \"תנאי שימוש\"\n with: \" עם \"\n by: \" על ידי \"\n andTheAwesome: \"והקהילה המדהימה \"\n atomCommu",
"end": 150,
"score": 0.9914250373840332,
"start": 144,
"tag": "NAME",
"value": "על ידי"
}
] | def/he/about.cson | juggernautjp/atom-i18n-beta | 2 | About:
tabTitle: "אודות"
releaseNotes: "RealA10N תורגם לעברית על ידי"
license: "רישיון"
termsOfUse: "תנאי שימוש"
with: " עם "
by: " על ידי "
andTheAwesome: "והקהילה המדהימה "
atomCommunity: "של אטום"
statusLabel:
defaultUpdateAuto: "Atom will check for updates automatically"
defaultUpdateManua... | 141149 | About:
tabTitle: "אודות"
releaseNotes: "RealA10N תורגם לעברית על ידי"
license: "רישיון"
termsOfUse: "תנאי שימוש"
with: " עם "
by: " <NAME> "
andTheAwesome: "והקהילה המדהימה "
atomCommunity: "של אטום"
statusLabel:
defaultUpdateAuto: "Atom will check for updates automatically"
defaultUpdateManua... | true | About:
tabTitle: "אודות"
releaseNotes: "RealA10N תורגם לעברית על ידי"
license: "רישיון"
termsOfUse: "תנאי שימוש"
with: " עם "
by: " PI:NAME:<NAME>END_PI "
andTheAwesome: "והקהילה המדהימה "
atomCommunity: "של אטום"
statusLabel:
defaultUpdateAuto: "Atom will check for updates automatically"
defa... |
[
{
"context": "\nnikita = require '@nikitajs/core'\n{tags, ssh, scratch, ipa} = require '../tes",
"end": 28,
"score": 0.8509290218353271,
"start": 23,
"tag": "USERNAME",
"value": "itajs"
},
{
"context": "ser_exists'\n attributes:\n givenname: 'Firstname'\n sn: 'Last... | packages/ipa/test/user/exists.coffee | DanielJohnHarty/node-nikita | 1 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch, ipa} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.ipa
describe 'ipa.user.exists', ->
they 'user doesnt exist', ({ssh}) ->
nikita
ssh: ssh
.ipa.user.del connection: ipa,
uid: 'user_exists'
.ipa.use... | 102957 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch, ipa} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.ipa
describe 'ipa.user.exists', ->
they 'user doesnt exist', ({ssh}) ->
nikita
ssh: ssh
.ipa.user.del connection: ipa,
uid: 'user_exists'
.ipa.use... | true |
nikita = require '@nikitajs/core'
{tags, ssh, scratch, ipa} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.ipa
describe 'ipa.user.exists', ->
they 'user doesnt exist', ({ssh}) ->
nikita
ssh: ssh
.ipa.user.del connection: ipa,
uid: 'user_exists'
.ipa.use... |
[
{
"context": "###\n# config/passport.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# This module in",
"end": 51,
"score": 0.9996705651283264,
"start": 40,
"tag": "NAME",
"value": "Dan Nichols"
},
{
"context": "ategy(\n usernameField: 'email'\n passwordField: '... | lib/passport.coffee | dlnichols/h_media | 0 | ###
# config/passport.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# This module intializes passport and creates our LocalStrategy for logging
# users in with an email and password.
###
'use strict'
# External libs
mongoose = require 'mongoose'
passport = require 'passport'
LocalStrat... | 82737 | ###
# config/passport.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# This module intializes passport and creates our LocalStrategy for logging
# users in with an email and password.
###
'use strict'
# External libs
mongoose = require 'mongoose'
passport = require 'passport'
LocalStrategy ... | true | ###
# config/passport.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# This module intializes passport and creates our LocalStrategy for logging
# users in with an email and password.
###
'use strict'
# External libs
mongoose = require 'mongoose'
passport = require 'passport'
L... |
[
{
"context": "nal notes required for the script>\n#\n# Author:\n# jun85664396@gmail.com\n\nRedis = require \"redis\"\nUrl = require \"url\"\n\nm",
"end": 350,
"score": 0.9956551194190979,
"start": 329,
"tag": "EMAIL",
"value": "jun85664396@gmail.com"
}
] | node_modules/hubot-learn/src/learn.coffee | Viper702/riley-reid | 0 | # Description
# teaches the character to the hubot.
#
# Configuration:
# REDIS_URL
#
# Commands:
# hubot learn <keyword> <info> - hobot will remember the infomation.
# hubot say <keyword> - hubot will tell what you saved information in hubot learn
#
# Notes:
# <optional notes required for the script>
#
# Aut... | 90338 | # Description
# teaches the character to the hubot.
#
# Configuration:
# REDIS_URL
#
# Commands:
# hubot learn <keyword> <info> - hobot will remember the infomation.
# hubot say <keyword> - hubot will tell what you saved information in hubot learn
#
# Notes:
# <optional notes required for the script>
#
# Aut... | true | # Description
# teaches the character to the hubot.
#
# Configuration:
# REDIS_URL
#
# Commands:
# hubot learn <keyword> <info> - hobot will remember the infomation.
# hubot say <keyword> - hubot will tell what you saved information in hubot learn
#
# Notes:
# <optional notes required for the script>
#
# Aut... |
[
{
"context": " the SQL server (mostly localhost)\n SQL_HOST: '127.0.0.1'\n\n # Port of the SQL server. Default is the My",
"end": 154,
"score": 0.9997697472572327,
"start": 145,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "rname for connecting to SQL server\n S... | src/server/config.default.coffee | Atanamo/IRC-Gateway | 0 | ##
## CONFIG ##
##
module.exports = {
# Database access config (MySQL)
#
# IP of the SQL server (mostly localhost)
SQL_HOST: '127.0.0.1'
# Port of the SQL server. Default is the MySQL port
SQL_PORT: 3306
# Username for connecting to SQL server
SQL_USER: 'USERNAME'
# Password fo... | 110411 | ##
## CONFIG ##
##
module.exports = {
# Database access config (MySQL)
#
# IP of the SQL server (mostly localhost)
SQL_HOST: '127.0.0.1'
# Port of the SQL server. Default is the MySQL port
SQL_PORT: 3306
# Username for connecting to SQL server
SQL_USER: 'USERNAME'
# Password fo... | true | ##
## CONFIG ##
##
module.exports = {
# Database access config (MySQL)
#
# IP of the SQL server (mostly localhost)
SQL_HOST: '127.0.0.1'
# Port of the SQL server. Default is the MySQL port
SQL_PORT: 3306
# Username for connecting to SQL server
SQL_USER: 'USERNAME'
# Password fo... |
[
{
"context": " fakeServersSimple = [\n {\n host: \"10.148.210.133:8081\"\n tier: \"_default_tier\"\n t",
"end": 439,
"score": 0.9996691942214966,
"start": 425,
"tag": "IP_ADDRESS",
"value": "10.148.210.133"
},
{
"context": " maxSize: 0\n }\n ... | test/unit/factories/hUtils.spec.coffee | Agilicus/druid-console | 24 | hUtilsFactory = require '../../../src/client/factories/hUtils.coffee'
describe '$hUtils', () ->
$hUtils = undefined
beforeEach ->
$hUtils = hUtilsFactory()
it 'should have a defined $hUtils', () ->
expect($hUtils?).toBeTruthy()
describe 'processServers', () ->
it 'should break the list of server... | 146502 | hUtilsFactory = require '../../../src/client/factories/hUtils.coffee'
describe '$hUtils', () ->
$hUtils = undefined
beforeEach ->
$hUtils = hUtilsFactory()
it 'should have a defined $hUtils', () ->
expect($hUtils?).toBeTruthy()
describe 'processServers', () ->
it 'should break the list of server... | true | hUtilsFactory = require '../../../src/client/factories/hUtils.coffee'
describe '$hUtils', () ->
$hUtils = undefined
beforeEach ->
$hUtils = hUtilsFactory()
it 'should have a defined $hUtils', () ->
expect($hUtils?).toBeTruthy()
describe 'processServers', () ->
it 'should break the list of server... |
[
{
"context": "Collection()\n col.add([\n {id : 0, name : 'one'},\n {id : 1, name : 'two'}\n ])\n one = ",
"end": 1141,
"score": 0.90586918592453,
"start": 1138,
"tag": "NAME",
"value": "one"
},
{
"context": " {id : 0, name : 'one'},\n {id : 1, name : 'two'}\... | data/coffeescript/809fcdc8153bbb6bc1c914d840b5f2ab_collection.coffee | maxim5/code-inspector | 5 | $(document).ready ->
module("Backbone.Collection")
window.lastRequest = null
class Backbone.sync
constructor: (others...) ->
window.lastRequest = others
setup = () ->
a = new Backbone.Model({id: 3, label: 'a'})
b = new Backbone.Model({id: 2, label: 'b'})
c = new Backbone.Model({id: 1, ... | 15249 | $(document).ready ->
module("Backbone.Collection")
window.lastRequest = null
class Backbone.sync
constructor: (others...) ->
window.lastRequest = others
setup = () ->
a = new Backbone.Model({id: 3, label: 'a'})
b = new Backbone.Model({id: 2, label: 'b'})
c = new Backbone.Model({id: 1, ... | true | $(document).ready ->
module("Backbone.Collection")
window.lastRequest = null
class Backbone.sync
constructor: (others...) ->
window.lastRequest = others
setup = () ->
a = new Backbone.Model({id: 3, label: 'a'})
b = new Backbone.Model({id: 2, label: 'b'})
c = new Backbone.Model({id: 1, ... |
[
{
"context": "eneral: (table, uin, type, callback)->\n key = \"uin\" + uin\n\n if info = table[key]\n if acc = i",
"end": 5183,
"score": 0.9863776564598083,
"start": 5180,
"tag": "KEY",
"value": "uin"
},
{
"context": "account = result.account\n account_key = \"acc... | src/qqbot.coffee | 13701138894/hubot-demo-qqhubot- | 1,346 | auth = require './qqauth'
api = require './qqapi'
Log = require 'log'
Request = require 'request'
Dispatcher = require './dispatcher'
log = new Log('debug')
jsons = JSON.stringify
MsgType =
Default:'message'
Sess:'sess_message'
Group:'group_message'
Discuss:'discu_message'
###
cookie , auth 登录需要参数
config: ... | 72414 | auth = require './qqauth'
api = require './qqapi'
Log = require 'log'
Request = require 'request'
Dispatcher = require './dispatcher'
log = new Log('debug')
jsons = JSON.stringify
MsgType =
Default:'message'
Sess:'sess_message'
Group:'group_message'
Discuss:'discu_message'
###
cookie , auth 登录需要参数
config: ... | true | auth = require './qqauth'
api = require './qqapi'
Log = require 'log'
Request = require 'request'
Dispatcher = require './dispatcher'
log = new Log('debug')
jsons = JSON.stringify
MsgType =
Default:'message'
Sess:'sess_message'
Group:'group_message'
Discuss:'discu_message'
###
cookie , auth 登录需要参数
config: ... |
[
{
"context": "##\n##\n## Forked from Jeff Mott's CryptoJS\n##\n## https://code.google.com/p/cryp",
"end": 30,
"score": 0.9998742341995239,
"start": 21,
"tag": "NAME",
"value": "Jeff Mott"
}
] | src/md5.iced | CyberFlameGO/triplesec | 274 | ##
##
## Forked from Jeff Mott's CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray} = require './wordarray'
{Hasher} = require './algbase'
#=================================================================
class Global
constructor : ->
@T = ( ((Math.abs(Math.sin(i + 1)) * 0x100000000) | 0) fo... | 198884 | ##
##
## Forked from <NAME>'s CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray} = require './wordarray'
{Hasher} = require './algbase'
#=================================================================
class Global
constructor : ->
@T = ( ((Math.abs(Math.sin(i + 1)) * 0x100000000) | 0) for i... | true | ##
##
## Forked from PI:NAME:<NAME>END_PI's CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray} = require './wordarray'
{Hasher} = require './algbase'
#=================================================================
class Global
constructor : ->
@T = ( ((Math.abs(Math.sin(i + 1)) * 0x1000000... |
[
{
"context": "а, но не интегрирована в систему.\"\n\n\tsyn = add \"сын\"\n\tfam1 = addfact \"Андрей Михайлович\"\n\tfam1[syn.id",
"end": 579,
"score": 0.5393616557121277,
"start": 578,
"tag": "NAME",
"value": "н"
},
{
"context": "на в систему.\"\n\n\tsyn = add \"сын\"\n\tfam1 = addfa... | sample-prolog.coffee | agershun/minday | 0 | ################################################
# MINDAY 0.008BI
# sample-checklist.coffee
# Пример текста
################################################
sample.prolog = ->
#
# Пролог
#
window.prol = adf "Логические выводы и описание знаний",
description: add "В этом разделе будут показан пример использова... | 214774 | ################################################
# MINDAY 0.008BI
# sample-checklist.coffee
# Пример текста
################################################
sample.prolog = ->
#
# Пролог
#
window.prol = adf "Логические выводы и описание знаний",
description: add "В этом разделе будут показан пример использова... | true | ################################################
# MINDAY 0.008BI
# sample-checklist.coffee
# Пример текста
################################################
sample.prolog = ->
#
# Пролог
#
window.prol = adf "Логические выводы и описание знаний",
description: add "В этом разделе будут показан пример использова... |
[
{
"context": "vent usage of unnecessary double quotes.\n# @author Julian Rosse\n###\n\n'use strict'\n\n# ----------------------------",
"end": 87,
"score": 0.9998533725738525,
"start": 75,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/tests/rules/no-unnecessary-double-quotes.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent usage of unnecessary double quotes.
# @author Julian Rosse
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no-unne... | 102554 | ###*
# @fileoverview Prevent usage of unnecessary double quotes.
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no-unnecessar... | true | ###*
# @fileoverview Prevent usage of unnecessary double quotes.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules... |
[
{
"context": "ignature: ''\n secureExpire: ''\n pusherKey: '79ae88bd931ea68464d9'\n cdnBase: 'https://ucarecdn.com'\n urlBase:",
"end": 853,
"score": 0.999724805355072,
"start": 833,
"tag": "KEY",
"value": "79ae88bd931ea68464d9"
}
] | app/assets/javascripts/uploadcare/settings.coffee | nd0ut/uploadcare-widget | 0 | {
expose
utils,
jQuery: $,
version
} = uploadcare
uploadcare.namespace 'settings', (ns) ->
defaults =
# developer hooks
live: true
manualStart: false
locale: null
localePluralize: null
localeTranslations: null
# widget & dialog settings
systemDialog: false
crop: false
... | 55339 | {
expose
utils,
jQuery: $,
version
} = uploadcare
uploadcare.namespace 'settings', (ns) ->
defaults =
# developer hooks
live: true
manualStart: false
locale: null
localePluralize: null
localeTranslations: null
# widget & dialog settings
systemDialog: false
crop: false
... | true | {
expose
utils,
jQuery: $,
version
} = uploadcare
uploadcare.namespace 'settings', (ns) ->
defaults =
# developer hooks
live: true
manualStart: false
locale: null
localePluralize: null
localeTranslations: null
# widget & dialog settings
systemDialog: false
crop: false
... |
[
{
"context": "=\n key: \"test\"\n password: \"abc123\"\n format: \"mp3\"\n\n m = null\n befo",
"end": 211,
"score": 0.9990150928497314,
"start": 205,
"tag": "PASSWORD",
"value": "abc123"
},
{
"context": "onfig\", (done) ->\n update ... | test/api/source_mount.coffee | firebrandv2/FirebrandNetwork.ga | 342 | MasterHelper = require "../helpers/master"
request = require "request"
_ = require "underscore"
describe "API: Source Mounts", ->
mount_config =
key: "test"
password: "abc123"
format: "mp3"
m = null
before (done) ->
MasterHelper.startMaster null, (err,ob... | 167770 | MasterHelper = require "../helpers/master"
request = require "request"
_ = require "underscore"
describe "API: Source Mounts", ->
mount_config =
key: "test"
password: "<PASSWORD>"
format: "mp3"
m = null
before (done) ->
MasterHelper.startMaster null, (er... | true | MasterHelper = require "../helpers/master"
request = require "request"
_ = require "underscore"
describe "API: Source Mounts", ->
mount_config =
key: "test"
password: "PI:PASSWORD:<PASSWORD>END_PI"
format: "mp3"
m = null
before (done) ->
MasterHelper.sta... |
[
{
"context": "# Copyright © 2013 All rights reserved\n# Author: nhim175@gmail.com\n\nModule = require './module.coffee'\nLogger = requ",
"end": 66,
"score": 0.99991375207901,
"start": 49,
"tag": "EMAIL",
"value": "nhim175@gmail.com"
}
] | src/lib/cloud.coffee | nhim175/scorpionsmasher | 0 | # Copyright © 2013 All rights reserved
# Author: nhim175@gmail.com
Module = require './module.coffee'
Logger = require '../mixins/logger.coffee'
class Cloud extends Module
@include Logger
logPrefix: 'Cloud'
flyingTime: 5000
constructor: (game) ->
@game = game
@me = @game.add.sprite -64, 64, 'cloud'... | 33808 | # Copyright © 2013 All rights reserved
# Author: <EMAIL>
Module = require './module.coffee'
Logger = require '../mixins/logger.coffee'
class Cloud extends Module
@include Logger
logPrefix: 'Cloud'
flyingTime: 5000
constructor: (game) ->
@game = game
@me = @game.add.sprite -64, 64, 'cloud'
@me.a... | true | # Copyright © 2013 All rights reserved
# Author: PI:EMAIL:<EMAIL>END_PI
Module = require './module.coffee'
Logger = require '../mixins/logger.coffee'
class Cloud extends Module
@include Logger
logPrefix: 'Cloud'
flyingTime: 5000
constructor: (game) ->
@game = game
@me = @game.add.sprite -64, 64, 'c... |
[
{
"context": "#Language: Spanish\n#Translators: softwarerero\n\nes =\n\n#>add: \"add\"\n and: \"y\"\n#>back: \"back\"\n#>c",
"end": 45,
"score": 0.9918147325515747,
"start": 33,
"tag": "USERNAME",
"value": "softwarerero"
},
{
"context": "createAccount: \"Crear cuenta\"\n#>currentPas... | t9n/es.coffee | timbrandin/meteor-accounts-t9n | 0 | #Language: Spanish
#Translators: softwarerero
es =
#>add: "add"
and: "y"
#>back: "back"
#>changePassword: "Change Password"
#>choosePassword: "Choose a Password"
clickAgree: "Si haces clic en Sucribir estas de acuerdo con la"
configure: "Disposición"
createAccount: "Crear cuenta"
#>currentPassword: "Current P... | 87947 | #Language: Spanish
#Translators: softwarerero
es =
#>add: "add"
and: "y"
#>back: "back"
#>changePassword: "Change Password"
#>choosePassword: "Choose a Password"
clickAgree: "Si haces clic en Sucribir estas de acuerdo con la"
configure: "Disposición"
createAccount: "Crear cuenta"
#>currentPassword: "<PASSWORD... | true | #Language: Spanish
#Translators: softwarerero
es =
#>add: "add"
and: "y"
#>back: "back"
#>changePassword: "Change Password"
#>choosePassword: "Choose a Password"
clickAgree: "Si haces clic en Sucribir estas de acuerdo con la"
configure: "Disposición"
createAccount: "Crear cuenta"
#>currentPassword: "PI:PASSWO... |
[
{
"context": "login : PropTypes.string\n password : PropTypes.string\n imapServer : PropTypes.string\n imapPort ",
"end": 1080,
"score": 0.9423593878746033,
"start": 1064,
"tag": "PASSWORD",
"value": "PropTypes.string"
}
] | client/app/libs/prop_types.coffee | gelnior/cozy-emails | 0 | React = require 'react'
Immutable = require 'immutable'
PropTypes = exports
PropTypes[key] = value for key, value of React.PropTypes
PropTypes.valueLink = (type) ->
PropTypes.shape(
value: type
requestChange: React.PropTypes.func.isRequired
)
PropTypes.immutableMapStringTo = (valueType) -... | 194749 | React = require 'react'
Immutable = require 'immutable'
PropTypes = exports
PropTypes[key] = value for key, value of React.PropTypes
PropTypes.valueLink = (type) ->
PropTypes.shape(
value: type
requestChange: React.PropTypes.func.isRequired
)
PropTypes.immutableMapStringTo = (valueType) -... | true | React = require 'react'
Immutable = require 'immutable'
PropTypes = exports
PropTypes[key] = value for key, value of React.PropTypes
PropTypes.valueLink = (type) ->
PropTypes.shape(
value: type
requestChange: React.PropTypes.func.isRequired
)
PropTypes.immutableMapStringTo = (valueType) -... |
[
{
"context": "Increases agility and dexterity.\n *\n * @name Swiftness\n * @effect +20% AGI\n * @effect +20% DE",
"end": 209,
"score": 0.6754416227340698,
"start": 205,
"tag": "NAME",
"value": "Swif"
},
{
"context": "ases agility and dexterity.\n *\n * @name Swiftne... | src/character/timedEffects/SwiftnessEffect.coffee | jawsome/IdleLands | 3 |
TimedEffect = require "../base/TimedEffect"
class SwiftnessEffect extends TimedEffect
@name = SwiftnessEffect::name = "SwiftnessEffect"
`/**
* Increases agility and dexterity.
*
* @name Swiftness
* @effect +20% AGI
* @effect +20% DEX
* @category OOC Buffs
* @package Player
*/`
ag... | 164788 |
TimedEffect = require "../base/TimedEffect"
class SwiftnessEffect extends TimedEffect
@name = SwiftnessEffect::name = "SwiftnessEffect"
`/**
* Increases agility and dexterity.
*
* @name <NAME>tness
* @effect +20% AGI
* @effect +20% DEX
* @category OOC Buffs
* @package Player
*/`
... | true |
TimedEffect = require "../base/TimedEffect"
class SwiftnessEffect extends TimedEffect
@name = SwiftnessEffect::name = "SwiftnessEffect"
`/**
* Increases agility and dexterity.
*
* @name PI:NAME:<NAME>END_PItness
* @effect +20% AGI
* @effect +20% DEX
* @category OOC Buffs
* @package Pl... |
[
{
"context": "# Copyright 2014, Jason Davies, http://www.jasondavies.com/\n\nprefixMatch = (p) -",
"end": 30,
"score": 0.9998696446418762,
"start": 18,
"tag": "NAME",
"value": "Jason Davies"
},
{
"context": "-#{prefix}-\"\n ''\n\n# Check for vendor prefixes, by Mike Bostock.\nprefix... | d3.geo.raster.coffee | tcoats/d3-geo-raster | 1 | # Copyright 2014, Jason Davies, http://www.jasondavies.com/
prefixMatch = (p) ->
for prefix in p
if "#{prefix}Transform" of document.body.style
return "-#{prefix}-"
''
# Check for vendor prefixes, by Mike Bostock.
prefix = prefixMatch ['webkit', 'ms', 'Moz', 'O']
key = (d) -> d.key.join ', '
pixel = (... | 88553 | # Copyright 2014, <NAME>, http://www.jasondavies.com/
prefixMatch = (p) ->
for prefix in p
if "#{prefix}Transform" of document.body.style
return "-#{prefix}-"
''
# Check for vendor prefixes, by <NAME>.
prefix = prefixMatch ['webkit', 'ms', 'Moz', 'O']
key = (d) -> d.key.join ', '
pixel = (d) -> (d | 0... | true | # Copyright 2014, PI:NAME:<NAME>END_PI, http://www.jasondavies.com/
prefixMatch = (p) ->
for prefix in p
if "#{prefix}Transform" of document.body.style
return "-#{prefix}-"
''
# Check for vendor prefixes, by PI:NAME:<NAME>END_PI.
prefix = prefixMatch ['webkit', 'ms', 'Moz', 'O']
key = (d) -> d.key.join... |
[
{
"context": "onditions, options\n \n # User.create(firstName: \"Lance\")\n # User.where(firstName: \"Lance\").create()\n #",
"end": 287,
"score": 0.9944902062416077,
"start": 282,
"tag": "NAME",
"value": "Lance"
},
{
"context": "te(firstName: \"Lance\")\n # User.where(firstName... | src/tower/model/scope/persistence.coffee | ludicast/tower | 1 | Tower.Model.Scope.Persistence =
ClassMethods:
persistenceMethods: [
"create",
"update",
"destroy"
]
build: (attributes, options) ->
{conditions, options} = @toCreate()
@_build attributes, conditions, options
# User.create(firstName: "Lance")
# User.where(firstName: "Lan... | 86982 | Tower.Model.Scope.Persistence =
ClassMethods:
persistenceMethods: [
"create",
"update",
"destroy"
]
build: (attributes, options) ->
{conditions, options} = @toCreate()
@_build attributes, conditions, options
# User.create(firstName: "<NAME>")
# User.where(firstName: "<N... | true | Tower.Model.Scope.Persistence =
ClassMethods:
persistenceMethods: [
"create",
"update",
"destroy"
]
build: (attributes, options) ->
{conditions, options} = @toCreate()
@_build attributes, conditions, options
# User.create(firstName: "PI:NAME:<NAME>END_PI")
# User.where(... |
[
{
"context": "ng ok',->\n assert.equal v.isEmail(\"foo@example.com\"),null\n assert.equal v.isEmail(\"po",
"end": 13992,
"score": 0.9996401071548462,
"start": 13977,
"tag": "EMAIL",
"value": "foo@example.com"
},
{
"context": "st\"),null\n ... | test/validator.coffee | uhyo/my-validator | 0 | assert=require 'assert'
validator=require '../'
v=validator.funcs
error=validator.error
describe 'Validator',->
describe 'matches',->
it 'matching',->
assert.equal v.matches("foobar",/foo/),null
it 'unmatching',->
p= /^foo$/
assert.deepEqual v.matches("foobar",p... | 77981 | assert=require 'assert'
validator=require '../'
v=validator.funcs
error=validator.error
describe 'Validator',->
describe 'matches',->
it 'matching',->
assert.equal v.matches("foobar",/foo/),null
it 'unmatching',->
p= /^foo$/
assert.deepEqual v.matches("foobar",p... | true | assert=require 'assert'
validator=require '../'
v=validator.funcs
error=validator.error
describe 'Validator',->
describe 'matches',->
it 'matching',->
assert.equal v.matches("foobar",/foo/),null
it 'unmatching',->
p= /^foo$/
assert.deepEqual v.matches("foobar",p... |
[
{
"context": "'events'\nassert = require 'assert'\n\nxfuseToken = '46bb0a820d08bc7b1feeabce44e01beecb440253'\nmfzSite = 'mycompany.labs.memberfuse.com'\n\ntestU",
"end": 200,
"score": 0.9682714343070984,
"start": 160,
"tag": "KEY",
"value": "46bb0a820d08bc7b1feeabce44e01beecb440253"
},
{... | src/test-xfuse.coffee | theprivileges/xfuse-node | 1 | ###
copyright (c) 2012 Avectra, Inc.
###
xfuse = require '../index.js'
vows = require 'vows'
events = require 'events'
assert = require 'assert'
xfuseToken = '46bb0a820d08bc7b1feeabce44e01beecb440253'
mfzSite = 'mycompany.labs.memberfuse.com'
testUser = ''
###
Because DELETE is a soft-delete some tests may fail when... | 90015 | ###
copyright (c) 2012 Avectra, Inc.
###
xfuse = require '../index.js'
vows = require 'vows'
events = require 'events'
assert = require 'assert'
xfuseToken = '<KEY>'
mfzSite = 'mycompany.labs.memberfuse.com'
testUser = ''
###
Because DELETE is a soft-delete some tests may fail when the randUID has been used before
#... | true | ###
copyright (c) 2012 Avectra, Inc.
###
xfuse = require '../index.js'
vows = require 'vows'
events = require 'events'
assert = require 'assert'
xfuseToken = 'PI:KEY:<KEY>END_PI'
mfzSite = 'mycompany.labs.memberfuse.com'
testUser = ''
###
Because DELETE is a soft-delete some tests may fail when the randUID has been ... |
[
{
"context": " with count\", (test) ->\n Recipe.create {name: 'BBQ Ham'}\n Recipe.create {name: 'Meatballs'}\n test.equa",
"end": 257,
"score": 0.687131404876709,
"start": 252,
"tag": "NAME",
"value": "Q Ham"
}
] | tests/server_tests.coffee | benmgreene/minimongoid | 0 | # have to destroy all before running server tests, otherwise collection keeps growing!
Tinytest.add "model find", (test) ->
Recipe.destroyAll()
test.equal Recipe.count(), 0
Tinytest.add "model find with count", (test) ->
Recipe.create {name: 'BBQ Ham'}
Recipe.create {name: 'Meatballs'}
test.equal Recipe.coun... | 17415 | # have to destroy all before running server tests, otherwise collection keeps growing!
Tinytest.add "model find", (test) ->
Recipe.destroyAll()
test.equal Recipe.count(), 0
Tinytest.add "model find with count", (test) ->
Recipe.create {name: 'BB<NAME>'}
Recipe.create {name: 'Meatballs'}
test.equal Recipe.cou... | true | # have to destroy all before running server tests, otherwise collection keeps growing!
Tinytest.add "model find", (test) ->
Recipe.destroyAll()
test.equal Recipe.count(), 0
Tinytest.add "model find with count", (test) ->
Recipe.create {name: 'BBPI:NAME:<NAME>END_PI'}
Recipe.create {name: 'Meatballs'}
test.eq... |
[
{
"context": "rame src=\"https://ghbtns.com/github-btn.html?user=soundscape&type=follow&size=large\" frameBorder=\"0\" scrolling",
"end": 490,
"score": 0.971122145652771,
"start": 480,
"tag": "USERNAME",
"value": "soundscape"
},
{
"context": "ref=\"#intro\" className=\"teal-text text... | src/components/footer.cjsx | Soundscape/sublime-portfolio | 0 | LinkList = require './link.list'
React = require 'react'
module.exports = Footer = React.createClass
render: () ->
<footer className={'page-footer ' + @props.className}>
<div className="container">
<div className="row">
<div className="col s12 m6 l6">
<h5 className="white-text... | 214495 | LinkList = require './link.list'
React = require 'react'
module.exports = Footer = React.createClass
render: () ->
<footer className={'page-footer ' + @props.className}>
<div className="container">
<div className="row">
<div className="col s12 m6 l6">
<h5 className="white-text... | true | LinkList = require './link.list'
React = require 'react'
module.exports = Footer = React.createClass
render: () ->
<footer className={'page-footer ' + @props.className}>
<div className="container">
<div className="row">
<div className="col s12 m6 l6">
<h5 className="white-text... |
[
{
"context": "###\n# Copyright(c) 2015 Juliano Jorge Lazzarotto aka dOob\n# Apache2 Licensed\n###\n\nexpect = require",
"end": 48,
"score": 0.9998757243156433,
"start": 24,
"tag": "NAME",
"value": "Juliano Jorge Lazzarotto"
},
{
"context": "#\n# Copyright(c) 2015 Juliano Jorge Lazzar... | test/Rules.coffee | rodolforios/Rules | 0 | ###
# Copyright(c) 2015 Juliano Jorge Lazzarotto aka dOob
# Apache2 Licensed
###
expect = require 'expect.js'
Rules = require './../src/Rules'
describe 'Rules', ->
describe 'isNumber', ->
it 'should return true if value is a number', ->
expect(Rules.isNumber 1).to.be.ok()
it 'should... | 75076 | ###
# Copyright(c) 2015 <NAME> aka dOob
# Apache2 Licensed
###
expect = require 'expect.js'
Rules = require './../src/Rules'
describe 'Rules', ->
describe 'isNumber', ->
it 'should return true if value is a number', ->
expect(Rules.isNumber 1).to.be.ok()
it 'should return true if va... | true | ###
# Copyright(c) 2015 PI:NAME:<NAME>END_PI aka dOob
# Apache2 Licensed
###
expect = require 'expect.js'
Rules = require './../src/Rules'
describe 'Rules', ->
describe 'isNumber', ->
it 'should return true if value is a number', ->
expect(Rules.isNumber 1).to.be.ok()
it 'should ret... |
[
{
"context": "ost \"/users/login\",\n# user:\n# email: @email\n# password: @password\n# remember_me",
"end": 1109,
"score": 0.874366819858551,
"start": 1104,
"tag": "USERNAME",
"value": "email"
},
{
"context": " user:\n# email: @email\n# pass... | app/assets/javascripts/angular/services/api.coffee | Spokenvote/spokenvote | 21 | # Resources
CurrentUser = ($resource) ->
$resource '/currentuser'
Hub = ($resource) ->
$resource '/hubs/:id',
id: '@id',
{ update: method: 'PUT' }
Vote = ($resource) ->
$resource '/votes/:id',
id: '@id',
{ update: method: 'PUT' }
Proposal = ($resource) ->
$resource '/proposals/:id',
id: '... | 37615 | # Resources
CurrentUser = ($resource) ->
$resource '/currentuser'
Hub = ($resource) ->
$resource '/hubs/:id',
id: '@id',
{ update: method: 'PUT' }
Vote = ($resource) ->
$resource '/votes/:id',
id: '@id',
{ update: method: 'PUT' }
Proposal = ($resource) ->
$resource '/proposals/:id',
id: '... | true | # Resources
CurrentUser = ($resource) ->
$resource '/currentuser'
Hub = ($resource) ->
$resource '/hubs/:id',
id: '@id',
{ update: method: 'PUT' }
Vote = ($resource) ->
$resource '/votes/:id',
id: '@id',
{ update: method: 'PUT' }
Proposal = ($resource) ->
$resource '/proposals/:id',
id: '... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9986727237701416,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-tls-client-resume.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... | 101546 | # 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": "fee/animals.coffee')\n sam = new animals.Snake \"Sammy\"\n tom = new animals.Horse \"Tommy\"\n\n sam.mov",
"end": 230,
"score": 0.9991349577903748,
"start": 225,
"tag": "NAME",
"value": "Sammy"
},
{
"context": "nimals.Snake \"Sammy\"\n tom = new animals.Hors... | spec/jessie/coffee_spec.coffee | futuresimple/jessie | 3 | describe 'Coffee Script support', ->
it 'should pass', ->
'Foo'.should_be 'Foo'
it "should work with external Coffee Script code", ->
animals = require('./../coffee/animals.coffee')
sam = new animals.Snake "Sammy"
tom = new animals.Horse "Tommy"
sam.move().should_be 'Sammy moved 5m.'
tom.... | 204032 | describe 'Coffee Script support', ->
it 'should pass', ->
'Foo'.should_be 'Foo'
it "should work with external Coffee Script code", ->
animals = require('./../coffee/animals.coffee')
sam = new animals.Snake "<NAME>"
tom = new animals.Horse "<NAME>"
sam.move().should_be '<NAME> moved 5m.'
t... | true | describe 'Coffee Script support', ->
it 'should pass', ->
'Foo'.should_be 'Foo'
it "should work with external Coffee Script code", ->
animals = require('./../coffee/animals.coffee')
sam = new animals.Snake "PI:NAME:<NAME>END_PI"
tom = new animals.Horse "PI:NAME:<NAME>END_PI"
sam.move().should... |
[
{
"context": "lookups\", ->\n @Animal::_batman.set 'array_key', [1,2,3]\n @Snake::_batman.set 'array_key', [4,5,6]\n @Bl",
"end": 1305,
"score": 0.6834878325462341,
"start": 1300,
"tag": "KEY",
"value": "1,2,3"
},
{
"context": "key', [1,2,3]\n @Snake::_batman.set 'array_key', [4,... | tests/batman/utilities/_batman_test.coffee | nickjs/batman | 1 |
QUnit.module "_Batman",
setup: ->
class @Animal extends Batman.Object
Batman.initializeObject @::
class @Snake extends @Animal
Batman.initializeObject @::
class @BlackMamba extends @Snake
Batman.initializeObject @::
@mamba = new @BlackMamba()
@snake = new @Snake()
true
... | 49714 |
QUnit.module "_Batman",
setup: ->
class @Animal extends Batman.Object
Batman.initializeObject @::
class @Snake extends @Animal
Batman.initializeObject @::
class @BlackMamba extends @Snake
Batman.initializeObject @::
@mamba = new @BlackMamba()
@snake = new @Snake()
true
... | true |
QUnit.module "_Batman",
setup: ->
class @Animal extends Batman.Object
Batman.initializeObject @::
class @Snake extends @Animal
Batman.initializeObject @::
class @BlackMamba extends @Snake
Batman.initializeObject @::
@mamba = new @BlackMamba()
@snake = new @Snake()
true
... |
[
{
"context": "y\n if currentKey is \"\"\n currentKey = \"data[\" + jsonKey + \"]\"\n else\n currentKey += ",
"end": 2763,
"score": 0.9514528512954712,
"start": 2757,
"tag": "KEY",
"value": "data[\""
},
{
"context": "y is \"\"\n currentKey = \"data[\" + ... | src/index.coffee | ArcusSolutions/node-customer.io | 0 |
https = require('https')
querystring = require('querystring')
DEFAULT_API_ENDPOINT = "app.customer.io/api"
DEFAULT_API_URL_PATTERNS = [
"/v1/customers/{CUSTOMER_ID}"
"/v1/customers/{CUSTOMER_ID}/events"
]
init = (siteId, secretKey) ->
authString = null
client = null
hostname ... | 157386 |
https = require('https')
querystring = require('querystring')
DEFAULT_API_ENDPOINT = "app.customer.io/api"
DEFAULT_API_URL_PATTERNS = [
"/v1/customers/{CUSTOMER_ID}"
"/v1/customers/{CUSTOMER_ID}/events"
]
init = (siteId, secretKey) ->
authString = null
client = null
hostname ... | true |
https = require('https')
querystring = require('querystring')
DEFAULT_API_ENDPOINT = "app.customer.io/api"
DEFAULT_API_URL_PATTERNS = [
"/v1/customers/{CUSTOMER_ID}"
"/v1/customers/{CUSTOMER_ID}/events"
]
init = (siteId, secretKey) ->
authString = null
client = null
hostname ... |
[
{
"context": "me.helpers(\n services: () -> return [\n name: 'Background1'\n shortName: 'background1'\n imgs: [\n a",
"end": 72,
"score": 0.8719573020935059,
"start": 61,
"tag": "NAME",
"value": "Background1"
},
{
"context": " return [\n name: 'Background1'\n sho... | client/templates/home/home.helpers.coffee | MptySquare/single-page-meteor | 0 | Template.home.helpers(
services: () -> return [
name: 'Background1'
shortName: 'background1'
imgs: [
alt: 'bg1'
img: 'background1.jpg'
,
alt: 'bg2'
img: 'background2.jpg'
,
alt: 'bg3'
img: 'background3.jpg'
]
mainImg: 'background1.jpg'
copy: [
... | 215611 | Template.home.helpers(
services: () -> return [
name: '<NAME>'
shortName: '<NAME>1'
imgs: [
alt: 'bg1'
img: 'background1.jpg'
,
alt: 'bg2'
img: 'background2.jpg'
,
alt: 'bg3'
img: 'background3.jpg'
]
mainImg: 'background1.jpg'
copy: [
'Backgr... | true | Template.home.helpers(
services: () -> return [
name: 'PI:NAME:<NAME>END_PI'
shortName: 'PI:NAME:<NAME>END_PI1'
imgs: [
alt: 'bg1'
img: 'background1.jpg'
,
alt: 'bg2'
img: 'background2.jpg'
,
alt: 'bg3'
img: 'background3.jpg'
]
mainImg: 'background1.jp... |
[
{
"context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 25,
"score": 0.8146812319755554,
"start": 19,
"tag": "NAME",
"value": "Balena"
},
{
"context": "xample\n\t# balena.models.device.generateDeviceKey('7cf02a6').then(function(deviceApiK... | lib/models/device.coffee | xmb666/balena-sdk | 1 | ###
Copyright 2016 Balena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | 215510 | ###
Copyright 2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
[
{
"context": "###!\nCopyright (c) 2002-2017 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 44,
"score": 0.5901593565940857,
"start": 34,
"tag": "NAME",
"value": "Technology"
}
] | src/components/D3Visualization/lib/visualization/utils/loopArrow.coffee | yezonggang/zcfx-admin-master | 24 | ###!
Copyright (c) 2002-2017 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 ... | 145439 | ###!
Copyright (c) 2002-2017 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of t... | true | ###!
Copyright (c) 2002-2017 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either ... |
[
{
"context": "s from Last.fm\nlastFMrequest = () ->\n\tusername = 'paul_r_schaefer'\n\tAPI_key = '0f680404e39c821cac34008cc4d803db'\n\tl",
"end": 80,
"score": 0.9996656775474548,
"start": 65,
"tag": "USERNAME",
"value": "paul_r_schaefer"
},
{
"context": "= () ->\n\tusername = 'paul_r... | public/js/lastfm.coffee | pschfr/dashboard | 1 | # Load scrobbles from Last.fm
lastFMrequest = () ->
username = 'paul_r_schaefer'
API_key = '0f680404e39c821cac34008cc4d803db'
lastFM_URL = 'https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=' + username + '&api_key=' + API_key + '&limit=1&format=json'
xhr = new XMLHttpRequest()
music = document.g... | 91690 | # Load scrobbles from Last.fm
lastFMrequest = () ->
username = 'paul_r_schaefer'
API_key = '<KEY>'
lastFM_URL = 'https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=' + username + '&api_key=' + API_key + '&limit=1&format=json'
xhr = new XMLHttpRequest()
music = document.getElementById('music')
tit... | true | # Load scrobbles from Last.fm
lastFMrequest = () ->
username = 'paul_r_schaefer'
API_key = 'PI:KEY:<KEY>END_PI'
lastFM_URL = 'https://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=' + username + '&api_key=' + API_key + '&limit=1&format=json'
xhr = new XMLHttpRequest()
music = document.getElementById(... |
[
{
"context": "# Droplet helper functions.\n#\n# Copyright (c) 2015 Anthony Bau (dab1998@gmail.com).\n# MIT License.\nsax = require",
"end": 62,
"score": 0.9998583793640137,
"start": 51,
"tag": "NAME",
"value": "Anthony Bau"
},
{
"context": "er functions.\n#\n# Copyright (c) 2015 Anth... | src/helper.coffee | cs50/droplet | 1 | # Droplet helper functions.
#
# Copyright (c) 2015 Anthony Bau (dab1998@gmail.com).
# MIT License.
sax = require 'sax'
exports.ANY_DROP = 0
exports.BLOCK_ONLY = 1
exports.MOSTLY_BLOCK = 2
exports.MOSTLY_VALUE = 3
exports.VALUE_ONLY = 4
exports.SVG_STANDARD = 'http://www.w3.org/2000/svg'
exports.ENCOURAGE = 1
exports.... | 128857 | # Droplet helper functions.
#
# Copyright (c) 2015 <NAME> (<EMAIL>).
# MIT License.
sax = require 'sax'
exports.ANY_DROP = 0
exports.BLOCK_ONLY = 1
exports.MOSTLY_BLOCK = 2
exports.MOSTLY_VALUE = 3
exports.VALUE_ONLY = 4
exports.SVG_STANDARD = 'http://www.w3.org/2000/svg'
exports.ENCOURAGE = 1
exports.DISCOURAGE = 0
... | true | # Droplet helper functions.
#
# Copyright (c) 2015 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI).
# MIT License.
sax = require 'sax'
exports.ANY_DROP = 0
exports.BLOCK_ONLY = 1
exports.MOSTLY_BLOCK = 2
exports.MOSTLY_VALUE = 3
exports.VALUE_ONLY = 4
exports.SVG_STANDARD = 'http://www.w3.org/2000/svg'
exports.ENCOURAG... |
[
{
"context": "#Language: European Portuguese\n#Translators: Tiago Silva\n\npt =\n\n add: \"adicionar\"\n and: \"e\"\n back: \"vol",
"end": 56,
"score": 0.9997265934944153,
"start": 45,
"tag": "NAME",
"value": "Tiago Silva"
},
{
"context": "r\"\n and: \"e\"\n back: \"voltar\"\n ... | i18n/pt-PT.coffee | dakarpt/PSocial | 0 | #Language: European Portuguese
#Translators: Tiago Silva
pt =
add: "adicionar"
and: "e"
back: "voltar"
changePassword: "Alterar palavra-passe"
choosePassword: "Escolha uma palavra-passe"
clickAgree: "Ao clicar em Registar, está a aceitar os nossos"
configure: "Configurar"
createAccount: "Criar uma Con... | 121976 | #Language: European Portuguese
#Translators: <NAME>
pt =
add: "adicionar"
and: "e"
back: "voltar"
changePassword: "<PASSWORD>"
choosePassword: "<PASSWORD>"
clickAgree: "Ao clicar em Registar, está a aceitar os nossos"
configure: "Configurar"
createAccount: "Criar uma Conta"
currentPassword: "<PASSWO... | true | #Language: European Portuguese
#Translators: PI:NAME:<NAME>END_PI
pt =
add: "adicionar"
and: "e"
back: "voltar"
changePassword: "PI:PASSWORD:<PASSWORD>END_PI"
choosePassword: "PI:PASSWORD:<PASSWORD>END_PI"
clickAgree: "Ao clicar em Registar, está a aceitar os nossos"
configure: "Configurar"
createAcco... |
[
{
"context": "ように昇級やダッシュなどは()で囲って下さい\"\n point_local_key: \"single_point_local\"\n }\n\n\n class ContestEditTeamPrizeView exten",
"end": 12221,
"score": 0.66363525390625,
"start": 12203,
"tag": "KEY",
"value": "single_point_local"
}
] | views/js/result.coffee | pjmtdw/kagetra | 2 | define (require,exports,module) ->
# Requirng schedule_item in multiple scripts cause minified file larger
# since both scripts contains whole content of schedule_item.js.
# TODO: do not require schedule_item here and load it dynamically.
$ed = require("event_detail")
$co = require("comment")
$rc = require(... | 195403 | define (require,exports,module) ->
# Requirng schedule_item in multiple scripts cause minified file larger
# since both scripts contains whole content of schedule_item.js.
# TODO: do not require schedule_item here and load it dynamically.
$ed = require("event_detail")
$co = require("comment")
$rc = require(... | true | define (require,exports,module) ->
# Requirng schedule_item in multiple scripts cause minified file larger
# since both scripts contains whole content of schedule_item.js.
# TODO: do not require schedule_item here and load it dynamically.
$ed = require("event_detail")
$co = require("comment")
$rc = require(... |
[
{
"context": "40587004000002015703'\n\t\t\tdemo: true\n\t\t,\n\t\t\tname: 'Will Shortz'\n\t\t\tvalues: '039500000000800070000010904100400003",
"end": 5635,
"score": 0.9998703598976135,
"start": 5624,
"tag": "NAME",
"value": "Will Shortz"
},
{
"context": "00010090005000001008'\n\t\t\t... | demo/src/demos/Sudoku/Sudoku.coffee | programmfabrik/coffeescript-ui | 10 | CUI.Template.loadTemplateText(require('./Sudoku.html'));
class Demo.Sudoku extends Demo
getGroup: ->
"Demo"
display: ->
@start()
@tmpl
getSum: (board) ->
sum = 0
for row in [0...9]
for col in [0...9]
sum = sum + (board[row]?[col]?.number or 0)
sum
draw: (board) ->
possibles = @getPossibles(... | 139689 | CUI.Template.loadTemplateText(require('./Sudoku.html'));
class Demo.Sudoku extends Demo
getGroup: ->
"Demo"
display: ->
@start()
@tmpl
getSum: (board) ->
sum = 0
for row in [0...9]
for col in [0...9]
sum = sum + (board[row]?[col]?.number or 0)
sum
draw: (board) ->
possibles = @getPossibles(... | true | CUI.Template.loadTemplateText(require('./Sudoku.html'));
class Demo.Sudoku extends Demo
getGroup: ->
"Demo"
display: ->
@start()
@tmpl
getSum: (board) ->
sum = 0
for row in [0...9]
for col in [0...9]
sum = sum + (board[row]?[col]?.number or 0)
sum
draw: (board) ->
possibles = @getPossibles(... |
[
{
"context": "5dU2qzJEVSuta0.woff2'\n\n\t'opensans_xjAJXh38I15wypJXxuGMBlBW26QxpSj-_ZKm_xT4hWw.woff2':\n\t\turls: [ 'fonts",
"end": 56227,
"score": 0.5845291018486023,
"start": 56225,
"tag": "KEY",
"value": "xu"
},
{
"context": "2Ot9t5h1GRSTIE78Whtoh.woff2'\n\n\t'robotocondensed_b9QB... | src/configs/hash-config.coffee | mubaidr/webbooost | 83 | module.exports =
'jquery':
versions: [
'2.2.2'
'2.2.1'
'2.2.0'
'2.1.4'
'2.1.3'
'2.1.2'
'2.1.1'
'2.1.0'
'2.0.3'
'2.0.2'
'2.0.1'
'2.0.0'
'1.11.3'
'1.11.2'
'1.11.1'
'1.11.0'
'1.10.2'
'1.10.1'
'1.10.0'
'1.9.1'
'1.9.0'
'1.8.3'
'1.8.2'
'1.8.1'
'1.8... | 120081 | module.exports =
'jquery':
versions: [
'2.2.2'
'2.2.1'
'2.2.0'
'2.1.4'
'2.1.3'
'2.1.2'
'2.1.1'
'2.1.0'
'2.0.3'
'2.0.2'
'2.0.1'
'2.0.0'
'1.11.3'
'1.11.2'
'1.11.1'
'1.11.0'
'1.10.2'
'1.10.1'
'1.10.0'
'1.9.1'
'1.9.0'
'1.8.3'
'1.8.2'
'1.8.1'
'1.8... | true | module.exports =
'jquery':
versions: [
'2.2.2'
'2.2.1'
'2.2.0'
'2.1.4'
'2.1.3'
'2.1.2'
'2.1.1'
'2.1.0'
'2.0.3'
'2.0.2'
'2.0.1'
'2.0.0'
'1.11.3'
'1.11.2'
'1.11.1'
'1.11.0'
'1.10.2'
'1.10.1'
'1.10.0'
'1.9.1'
'1.9.0'
'1.8.3'
'1.8.2'
'1.8.1'
'1.8... |
[
{
"context": "User: ''\n mongoPassword: ''\n\n tokenSecret: 'YOU SHALL NOT DECODE' # IMPORTANT: to change !!\n tokenExpirationDel",
"end": 214,
"score": 0.9249303936958313,
"start": 194,
"tag": "PASSWORD",
"value": "YOU SHALL NOT DECODE"
}
] | config.coffee | maxaille/PartyFinance | 1 | module.exports =
port: 3000
HTTPS_port: 3001
mongoUrl: 'localhost'
mongoPort: 27017
mongoDatabase: 'PartyFinance'
mongoUser: ''
mongoPassword: ''
tokenSecret: 'YOU SHALL NOT DECODE' # IMPORTANT: to change !!
tokenExpirationDelay: 60*60*1000 | 3354 | module.exports =
port: 3000
HTTPS_port: 3001
mongoUrl: 'localhost'
mongoPort: 27017
mongoDatabase: 'PartyFinance'
mongoUser: ''
mongoPassword: ''
tokenSecret: '<PASSWORD>' # IMPORTANT: to change !!
tokenExpirationDelay: 60*60*1000 | true | module.exports =
port: 3000
HTTPS_port: 3001
mongoUrl: 'localhost'
mongoPort: 27017
mongoDatabase: 'PartyFinance'
mongoUser: ''
mongoPassword: ''
tokenSecret: 'PI:PASSWORD:<PASSWORD>END_PI' # IMPORTANT: to change !!
tokenExpirationDelay: 60*60*1000 |
[
{
"context": " }\n ]\n PseudonymList: [\n { pseudonym: \"Lazy Dijkstra\", user: \"ABC-DEF\" },\n { pseudonym: \"Lonely Gat",
"end": 1683,
"score": 0.9967669248580933,
"start": 1670,
"tag": "NAME",
"value": "Lazy Dijkstra"
},
{
"context": "y Dijkstra\", user: \"ABC-DEF\"... | src/dummy_db.coffee | Welfenlab/tutor-memory-database | 0 |
moment = require 'moment'
module.exports =
Solutions:
[
{
id: "85ca34c0-61d6-11e5-97cb-685b35b5d746"
group: "af3fb55a-4b6f-11e5-90ba-685b35b5d746"
exercise: "ee256059-9d92-4774-9db2-456378e04586"
pdf: ""
lock: "max"
inProcess: true
lockTimeStamp: mom... | 22073 |
moment = require 'moment'
module.exports =
Solutions:
[
{
id: "85ca34c0-61d6-11e5-97cb-685b35b5d746"
group: "af3fb55a-4b6f-11e5-90ba-685b35b5d746"
exercise: "ee256059-9d92-4774-9db2-456378e04586"
pdf: ""
lock: "max"
inProcess: true
lockTimeStamp: mom... | true |
moment = require 'moment'
module.exports =
Solutions:
[
{
id: "85ca34c0-61d6-11e5-97cb-685b35b5d746"
group: "af3fb55a-4b6f-11e5-90ba-685b35b5d746"
exercise: "ee256059-9d92-4774-9db2-456378e04586"
pdf: ""
lock: "max"
inProcess: true
lockTimeStamp: mom... |
[
{
"context": "module.exports =\n admin: [\n 'admin@abc.com'\n ]\n authClient: [\n 'client_credentials'\n ]",
"end": 46,
"score": 0.9999197125434875,
"start": 33,
"tag": "EMAIL",
"value": "admin@abc.com"
},
{
"context": " secret: 'client_secret'\n user:\n id: 'us... | config/env/production.coffee | twhtanghk/sails_policy | 0 | module.exports =
admin: [
'admin@abc.com'
]
authClient: [
'client_credentials'
]
oauth2:
url:
verify: 'https://abc.com/auth/oauth2/verify/'
token: 'https://abc.com/auth/oauth2/token/'
client:
id: 'client_id'
secret: 'client_secret'
user:
id: 'user_id'
se... | 17445 | module.exports =
admin: [
'<EMAIL>'
]
authClient: [
'client_credentials'
]
oauth2:
url:
verify: 'https://abc.com/auth/oauth2/verify/'
token: 'https://abc.com/auth/oauth2/token/'
client:
id: 'client_id'
secret: 'client_secret'
user:
id: 'user_id'
secret: ... | true | module.exports =
admin: [
'PI:EMAIL:<EMAIL>END_PI'
]
authClient: [
'client_credentials'
]
oauth2:
url:
verify: 'https://abc.com/auth/oauth2/verify/'
token: 'https://abc.com/auth/oauth2/token/'
client:
id: 'client_id'
secret: 'client_secret'
user:
id: 'user_id'... |
[
{
"context": " signUp: \"Register\"\n OR: \"OR\"\n forgotPassword: \"Forgot your password?\"\n submit: \"submit\"\n confirm: \"confirm\"\n email",
"end": 138,
"score": 0.9211233258247375,
"start": 118,
"tag": "PASSWORD",
"value": "Forgot your password"
},
{
"context": "t: \"Don'... | client/t9n/english.coffee | rithnarin/meteor-accounts-entry | 0 | en =
signIn: "Sign In"
signin: "sign in"
signOut: "Sign Out"
signUp: "Register"
OR: "OR"
forgotPassword: "Forgot your password?"
submit: "submit"
confirm: "confirm"
emailAddress: "Email Address"
emailResetLink: "Email Reset Link"
dontHaveAnAccount: "Don't have an account?"
resetYourPassword: "Se... | 87098 | en =
signIn: "Sign In"
signin: "sign in"
signOut: "Sign Out"
signUp: "Register"
OR: "OR"
forgotPassword: "<PASSWORD>?"
submit: "submit"
confirm: "confirm"
emailAddress: "Email Address"
emailResetLink: "Email Reset Link"
dontHaveAnAccount: "Don't have an account?"
resetYourPassword: "<PASSWORD>"
... | true | en =
signIn: "Sign In"
signin: "sign in"
signOut: "Sign Out"
signUp: "Register"
OR: "OR"
forgotPassword: "PI:PASSWORD:<PASSWORD>END_PI?"
submit: "submit"
confirm: "confirm"
emailAddress: "Email Address"
emailResetLink: "Email Reset Link"
dontHaveAnAccount: "Don't have an account?"
resetYourPassw... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999204277992249,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/services/device.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 78092 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "ssionsManager\": @UserSessionsManager\n\n\t\t@email = \"bob@bob.com \"\n\t\t@token = \"my security token that was emailed ",
"end": 1071,
"score": 0.9999125599861145,
"start": 1060,
"tag": "EMAIL",
"value": "bob@bob.com"
},
{
"context": "rity token that was emailed to m... | test/unit/coffee/PasswordReset/PasswordResetControllerTests.coffee | davidmehren/web-sharelatex | 0 | should = require('chai').should()
expect = require("chai").expect
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/PasswordReset/PasswordResetController"
expect = require("chai").expect... | 198040 | should = require('chai').should()
expect = require("chai").expect
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/PasswordReset/PasswordResetController"
expect = require("chai").expect... | true | should = require('chai').should()
expect = require("chai").expect
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/PasswordReset/PasswordResetController"
expect = require("chai").expect... |
[
{
"context": " else\n @.add name: name, url: data.url , track : track , layout: la",
"end": 5642,
"score": 0.9887771010398865,
"start": 5638,
"tag": "NAME",
"value": "name"
},
{
"context": " schedule.by_Track[day][track][time].add name: name,... | src/server/src/Jekyll-Data.coffee | shooking/owasp-summit-2017 | 101 | require 'fluentnode'
yaml = require('js-yaml');
Participants = require './Participants'
Tickets = require './Tickets'
class Jekyll_Data
constructor: ->
@.folder_Root = wallaby?.localProjectDir || __dirname.path_Combine '../../../'
@.folder_Data = @.folder_Root.pa... | 44191 | require 'fluentnode'
yaml = require('js-yaml');
Participants = require './Participants'
Tickets = require './Tickets'
class Jekyll_Data
constructor: ->
@.folder_Root = wallaby?.localProjectDir || __dirname.path_Combine '../../../'
@.folder_Data = @.folder_Root.pa... | true | require 'fluentnode'
yaml = require('js-yaml');
Participants = require './Participants'
Tickets = require './Tickets'
class Jekyll_Data
constructor: ->
@.folder_Root = wallaby?.localProjectDir || __dirname.path_Combine '../../../'
@.folder_Data = @.folder_Root.pa... |
[
{
"context": "nding_transactions$: KefirCollection([], id_key: 'hash')\n contract_logs$: KefirCollection([], id_key:",
"end": 425,
"score": 0.9934505224227905,
"start": 421,
"tag": "KEY",
"value": "hash"
},
{
"context": "\n contract_logs$: KefirCollection([], id_key: 'id_hash')... | static/js/log-insert.coffee | eth-services/eth-log | 0 | React = require 'react'
ReactDOM = require 'react-dom'
moment = require 'moment'
{Txid, ContractMixin, LogItem} = require './common'
KefirCollection = require 'kefir-collection'
fetch$ = require 'kefir-fetch'
somata = require './somata-stream'
Dispatcher =
getContractLogs: (address) ->
fetch$ 'get', "/lo... | 141504 | React = require 'react'
ReactDOM = require 'react-dom'
moment = require 'moment'
{Txid, ContractMixin, LogItem} = require './common'
KefirCollection = require 'kefir-collection'
fetch$ = require 'kefir-fetch'
somata = require './somata-stream'
Dispatcher =
getContractLogs: (address) ->
fetch$ 'get', "/lo... | true | React = require 'react'
ReactDOM = require 'react-dom'
moment = require 'moment'
{Txid, ContractMixin, LogItem} = require './common'
KefirCollection = require 'kefir-collection'
fetch$ = require 'kefir-fetch'
somata = require './somata-stream'
Dispatcher =
getContractLogs: (address) ->
fetch$ 'get', "/lo... |
[
{
"context": "###\n\tCopyright 2013 David Pearson.\n\tBSD License.\n###\n\nassert=require \"assert\"\nvows=",
"end": 33,
"score": 0.9998537302017212,
"start": 20,
"tag": "NAME",
"value": "David Pearson"
}
] | src/tests/gelim.coffee | dpearson/linalgebra | 1 | ###
Copyright 2013 David Pearson.
BSD License.
###
assert=require "assert"
vows=require "vows"
gelim=require "../lib/gelim"
matrix=require "../lib/matrix"
vows
.describe("Gaussian Elimination")
.addBatch
"something":
topic: ->
gelim.gelim [[2, 1, -1, 8], [-3, -1, 2, -11], [-2, 1, 2, -3]]
"We get a t... | 172362 | ###
Copyright 2013 <NAME>.
BSD License.
###
assert=require "assert"
vows=require "vows"
gelim=require "../lib/gelim"
matrix=require "../lib/matrix"
vows
.describe("Gaussian Elimination")
.addBatch
"something":
topic: ->
gelim.gelim [[2, 1, -1, 8], [-3, -1, 2, -11], [-2, 1, 2, -3]]
"We get a two-dime... | true | ###
Copyright 2013 PI:NAME:<NAME>END_PI.
BSD License.
###
assert=require "assert"
vows=require "vows"
gelim=require "../lib/gelim"
matrix=require "../lib/matrix"
vows
.describe("Gaussian Elimination")
.addBatch
"something":
topic: ->
gelim.gelim [[2, 1, -1, 8], [-3, -1, 2, -11], [-2, 1, 2, -3]]
"We ... |
[
{
"context": " storage_change = (key, val) ->\n if key is 'test_browsermsg.child1.close' and val is 'true'\n # IE will popup",
"end": 1675,
"score": 0.6964731216430664,
"start": 1654,
"tag": "KEY",
"value": "test_browsermsg.child"
},
{
"context": "y, val) ->\n if ke... | test/consecutive-messages/test.coffee | awwx/meteor-browser-msg | 1 | if Meteor.isClient
switch window.location.pathname
when '/'
window.name = 'parent'
Session.set('show', 'home')
when '/child1'
window.name = 'child1'
Session.set('show', 'child1')
_when = window.when
Template.route.show_home = -> Session.equals('show', 'home')
Template.route.... | 3125 | if Meteor.isClient
switch window.location.pathname
when '/'
window.name = 'parent'
Session.set('show', 'home')
when '/child1'
window.name = 'child1'
Session.set('show', 'child1')
_when = window.when
Template.route.show_home = -> Session.equals('show', 'home')
Template.route.... | true | if Meteor.isClient
switch window.location.pathname
when '/'
window.name = 'parent'
Session.set('show', 'home')
when '/child1'
window.name = 'child1'
Session.set('show', 'child1')
_when = window.when
Template.route.show_home = -> Session.equals('show', 'home')
Template.route.... |
[
{
"context": "9-_~ %.@'\n t.deepEqual pattern.match('/api/users/someuser@example.com'),\n id: 'someuser@example.com'\n\n pattern = ne",
"end": 4934,
"score": 0.9999169707298279,
"start": 4914,
"tag": "EMAIL",
"value": "someuser@example.com"
},
{
"context": "atch('/api/users/some... | node_modules/url-pattern/test/match-fixtures.coffee | talehm/frontity | 560 | test = require 'tape'
UrlPattern = require '../lib/url-pattern'
test 'match', (t) ->
pattern = new UrlPattern '/foo'
t.deepEqual pattern.match('/foo'), {}
pattern = new UrlPattern '.foo'
t.deepEqual pattern.match('.foo'), {}
pattern = new UrlPattern '/foo'
t.equals pattern.match('/foobar'), null
patte... | 44899 | test = require 'tape'
UrlPattern = require '../lib/url-pattern'
test 'match', (t) ->
pattern = new UrlPattern '/foo'
t.deepEqual pattern.match('/foo'), {}
pattern = new UrlPattern '.foo'
t.deepEqual pattern.match('.foo'), {}
pattern = new UrlPattern '/foo'
t.equals pattern.match('/foobar'), null
patte... | true | test = require 'tape'
UrlPattern = require '../lib/url-pattern'
test 'match', (t) ->
pattern = new UrlPattern '/foo'
t.deepEqual pattern.match('/foo'), {}
pattern = new UrlPattern '.foo'
t.deepEqual pattern.match('.foo'), {}
pattern = new UrlPattern '/foo'
t.equals pattern.match('/foobar'), null
patte... |
[
{
"context": "ncidentResolution.coffee')\n\nlome =\n admin1Name: \"Maritime\"\n countryName: \"Togolese Republic\"\n featureClas",
"end": 414,
"score": 0.9996559619903564,
"start": 406,
"tag": "NAME",
"value": "Maritime"
}
] | imports/incident-resolution/test/resolver.test.coffee | ecohealthalliance/eidr-connect | 1 | import { chai } from 'meteor/practicalmeteor:chai'
import incidents from './incidents'
{
convertAllIncidentsToDifferentials,
differentialIncidentsToSubIntervals,
subIntervalsToLP,
intervalToEndpoints,
removeOutlierIncidents,
createSupplementalIncidents,
extendSubIntervalsWithValues,
convertAllIncidentsT... | 98643 | import { chai } from 'meteor/practicalmeteor:chai'
import incidents from './incidents'
{
convertAllIncidentsToDifferentials,
differentialIncidentsToSubIntervals,
subIntervalsToLP,
intervalToEndpoints,
removeOutlierIncidents,
createSupplementalIncidents,
extendSubIntervalsWithValues,
convertAllIncidentsT... | true | import { chai } from 'meteor/practicalmeteor:chai'
import incidents from './incidents'
{
convertAllIncidentsToDifferentials,
differentialIncidentsToSubIntervals,
subIntervalsToLP,
intervalToEndpoints,
removeOutlierIncidents,
createSupplementalIncidents,
extendSubIntervalsWithValues,
convertAllIncidentsT... |
[
{
"context": "e 'chai'\n\ndescribe 'password test', ->\n\n pass = 'this is a password'\n\n hash = null\n\n it 'can hash password', (done)",
"end": 183,
"score": 0.9987668991088867,
"start": 165,
"tag": "PASSWORD",
"value": "this is a password"
},
{
"context": "r key', (done) ->\n ... | test/password.coffee | yinso/keybox | 1 | Password = require '../src/password'
Crypto = require '../src/crypto'
bcrypt = require 'bcrypt'
{ assert } = require 'chai'
describe 'password test', ->
pass = 'this is a password'
hash = null
it 'can hash password', (done) ->
Password.hash pass, (err, res) ->
if err
done err
else
... | 125975 | Password = require '../src/password'
Crypto = require '../src/crypto'
bcrypt = require 'bcrypt'
{ assert } = require 'chai'
describe 'password test', ->
pass = '<PASSWORD>'
hash = null
it 'can hash password', (done) ->
Password.hash pass, (err, res) ->
if err
done err
else
hash... | true | Password = require '../src/password'
Crypto = require '../src/crypto'
bcrypt = require 'bcrypt'
{ assert } = require 'chai'
describe 'password test', ->
pass = 'PI:PASSWORD:<PASSWORD>END_PI'
hash = null
it 'can hash password', (done) ->
Password.hash pass, (err, res) ->
if err
done err
... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9995819330215454,
"start": 16,
"tag": "NAME",
"value": "Konode"
},
{
"context": " event.which is 66\n\t\t\t\t\t# From https://github.com/nwjs/nw.js/issues/4881\n\t\t\t\t\tc... | src/main.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Here, we kick off the appropriate page rendering code based on what page ID
# is specified in the URL.
#
# Special ca... | 73315 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Here, we kick off the appropriate page rendering code based on what page ID
# is specified in the URL.
#
# Special ca... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Here, we kick off the appropriate page rendering code based on what page ID
# is specified in the URL.
... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9815886616706848,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": "tControl\n\t\t\tuser_control: tru... | demo/src/demos/CUIDemo.coffee | programmfabrik/coffeescript-ui | 10 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.CUIDemo extends Demo
getName: ->
"Form Elements"
getGroup: ->
"Test"
display: ->
... | 204891 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.CUIDemo extends Demo
getName: ->
"Form Elements"
getGroup: ->
"Test"
display: ->
... | true | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.CUIDemo extends Demo
getName: ->
"Form Elements"
getGroup: ->
"Test"
display: ->
... |
[
{
"context": "rovide an account balances', ->\n account_id = 'Fred'\n acct = @mockify new Account()\n balances =",
"end": 658,
"score": 0.9988898038864136,
"start": 654,
"tag": "NAME",
"value": "Fred"
},
{
"context": "orders for a given account', ->\n account_id = 'Fred'\... | test/query_spec.coffee | buttercoin/buttercoin-engine | 8 | test.uses "QueryInterface",
"Datastore.BalanceSheet",
"Datastore.SuperMarket",
"Datastore.Amount",
"Datastore.Account",
"Datastore.Ratio",
"Datastore.Market",
"Datastore.Book"
op = require('../lib/operations')
describe "QueryInterface", ->
setup_... | 68915 | test.uses "QueryInterface",
"Datastore.BalanceSheet",
"Datastore.SuperMarket",
"Datastore.Amount",
"Datastore.Account",
"Datastore.Ratio",
"Datastore.Market",
"Datastore.Book"
op = require('../lib/operations')
describe "QueryInterface", ->
setup_... | true | test.uses "QueryInterface",
"Datastore.BalanceSheet",
"Datastore.SuperMarket",
"Datastore.Amount",
"Datastore.Account",
"Datastore.Ratio",
"Datastore.Market",
"Datastore.Book"
op = require('../lib/operations')
describe "QueryInterface", ->
setup_... |
[
{
"context": " email: email\n firstName: firstName\n lastName: lastName\n order:",
"end": 253,
"score": 0.9991791248321533,
"start": 244,
"tag": "NAME",
"value": "firstName"
},
{
"context": " firstName: firstName\n lastNa... | test/browser/checkout.coffee | hanzo-io/hanzo.js | 147 | describe 'Api.checkout (browser)', ->
describe '.charge', ->
it 'should 1 step charge payments', ->
order = yield browser.evaluate ->
api.checkout.charge
user:
email: email
firstName: firstName
lastName: lastName
order:
ship... | 41343 | describe 'Api.checkout (browser)', ->
describe '.charge', ->
it 'should 1 step charge payments', ->
order = yield browser.evaluate ->
api.checkout.charge
user:
email: email
firstName: <NAME>
lastName: <NAME>
order:
shippingA... | true | describe 'Api.checkout (browser)', ->
describe '.charge', ->
it 'should 1 step charge payments', ->
order = yield browser.evaluate ->
api.checkout.charge
user:
email: email
firstName: PI:NAME:<NAME>END_PI
lastName: PI:NAME:<NAME>END_PI
... |
[
{
"context": "PE_PUBLIC_KEY: $PROCESS_ENV_STRIPE_PUBLIC_KEY or 'pk_fh9X711IWVbkR61YZXexN5WwdpNm5'\n SEARCH_PRICE: 35.00\n CONTACT_EMAIL_ADDRES",
"end": 250,
"score": 0.9630991816520691,
"start": 218,
"tag": "KEY",
"value": "pk_fh9X711IWVbkR61YZXexN5WwdpNm5"
},
{
"context": " S... | app/scripts/ng-modules/main/services/app-config.coffee | willow/price-buddy-ui | 0 | 'use strict'
### Sevices ###
angular.module('app.services')
.constant 'AppConfig',
API_ENDPOINT: $PROCESS_ENV_API_ENDPOINT or 'http://localhost:8000/api'
STRIPE_PUBLIC_KEY: $PROCESS_ENV_STRIPE_PUBLIC_KEY or 'pk_fh9X711IWVbkR61YZXexN5WwdpNm5'
SEARCH_PRICE: 35.00
CONTACT_EMAIL_ADDRESS: 'info@untitler.co... | 93614 | 'use strict'
### Sevices ###
angular.module('app.services')
.constant 'AppConfig',
API_ENDPOINT: $PROCESS_ENV_API_ENDPOINT or 'http://localhost:8000/api'
STRIPE_PUBLIC_KEY: $PROCESS_ENV_STRIPE_PUBLIC_KEY or '<KEY>'
SEARCH_PRICE: 35.00
CONTACT_EMAIL_ADDRESS: '<EMAIL>'
GOOGLE_ANALYTICS_ID: $PROCESS_... | true | 'use strict'
### Sevices ###
angular.module('app.services')
.constant 'AppConfig',
API_ENDPOINT: $PROCESS_ENV_API_ENDPOINT or 'http://localhost:8000/api'
STRIPE_PUBLIC_KEY: $PROCESS_ENV_STRIPE_PUBLIC_KEY or 'PI:KEY:<KEY>END_PI'
SEARCH_PRICE: 35.00
CONTACT_EMAIL_ADDRESS: 'PI:EMAIL:<EMAIL>END_PI'
GO... |
[
{
"context": ": 'Error Message' }, status: 422\n\n@JodyNotification = do ->\n clean: ->\n $('div.toast'",
"end": 219,
"score": 0.7171752452850342,
"start": 214,
"tag": "USERNAME",
"value": "@Jody"
},
{
"context": "l of attrs\n item.removeAttr attr_name\... | app/assets/javascripts/base/JODY.js.coffee | open-cook/ok-2018 | 0 | # render json: { flash: { alert: "Hello World!" } }, status: 422
# render json: { errors: { x: ["hello"], y: ["world"] } }, status: 422
# render json: { error: 'Error Message' }, status: 422
@JodyNotification = do ->
clean: ->
$('div.toast').remove()
show_error: (error) ->
Notificati... | 186821 | # render json: { flash: { alert: "Hello World!" } }, status: 422
# render json: { errors: { x: ["hello"], y: ["world"] } }, status: 422
# render json: { error: 'Error Message' }, status: 422
@JodyNotification = do ->
clean: ->
$('div.toast').remove()
show_error: (error) ->
Notificati... | true | # render json: { flash: { alert: "Hello World!" } }, status: 422
# render json: { errors: { x: ["hello"], y: ["world"] } }, status: 422
# render json: { error: 'Error Message' }, status: 422
@JodyNotification = do ->
clean: ->
$('div.toast').remove()
show_error: (error) ->
Notificati... |
[
{
"context": "\n \n @tom = Mozart.MztObject.create({ name: 'tom', nationality: 'irish'})\n @john = Mozart.MztOb",
"end": 194,
"score": 0.9867590665817261,
"start": 191,
"tag": "NAME",
"value": "tom"
},
{
"context": "h'})\n @john = Mozart.MztObject.create({ name: 'john', n... | src/spec/view-spec.coffee | creativeprogramming/mozart | 1 | SpecTest = {}
describe 'Mozart.View', ->
beforeEach ->
Mozart.root = @
@SpecTest = {}
@ele = $('<div>').appendTo($('body'))
@tom = Mozart.MztObject.create({ name: 'tom', nationality: 'irish'})
@john = Mozart.MztObject.create({ name: 'john', nationality: 'australian'})
SpecTest.simple... | 119883 | SpecTest = {}
describe 'Mozart.View', ->
beforeEach ->
Mozart.root = @
@SpecTest = {}
@ele = $('<div>').appendTo($('body'))
@tom = Mozart.MztObject.create({ name: '<NAME>', nationality: 'irish'})
@john = Mozart.MztObject.create({ name: '<NAME>', nationality: 'australian'})
SpecTest.s... | true | SpecTest = {}
describe 'Mozart.View', ->
beforeEach ->
Mozart.root = @
@SpecTest = {}
@ele = $('<div>').appendTo($('body'))
@tom = Mozart.MztObject.create({ name: 'PI:NAME:<NAME>END_PI', nationality: 'irish'})
@john = Mozart.MztObject.create({ name: 'PI:NAME:<NAME>END_PI', nationality: 'a... |
[
{
"context": "BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v1\n\nmQINBFA0L8IBEADDa8aqIK5wiXXf3+ULB6lJ3EpBdWU0FKtQanwEJwBihWrr8IjM\nEXR5QT5AvfyHkTjueF2xntAGQifp9+tHEnptyieC+RVA+1H4GybSBGIhs9VELRiY\nJ/aj1Q2E85S7rx4oW7MZPm/2XBCL8b4lAerg2xSM9FeUOPpGqAKqgYVYm8RKrU7/\n+B/c6FafRMT3D5sorggaeou5f5r5k5zXQp/VqNUCX6pi4J... | test/files/subkey_expiration.iced | samkenxstream/kbpgp | 464 | {KeyManager} = require '../..'
key = """
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFA0L8IBEADDa8aqIK5wiXXf3+ULB6lJ3EpBdWU0FKtQanwEJwBihWrr8IjM
EXR5QT5AvfyHkTjueF2xntAGQifp9+tHEnptyieC+RVA+1H4GybSBGIhs9VELRiY
J/aj1Q2E85S7rx4oW7MZPm/2XBCL8b4lAerg2xSM9FeUOPpGqAKqgYVYm8RKrU7/
+B/c6FafRMT3D5sorggaeou5f5r... | 33567 | {KeyManager} = require '../..'
key = """
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
<KEY>
-----END PGP PUBLIC KEY BLOCK-----
"""
exports.key_1 = (T,cb) ->
now = 1439515152
await KeyManager.import_from_armored_pgp { armored : key, opts : { now } }, defer err, km, warnings
T.no_error err
w = warnin... | true | {KeyManager} = require '../..'
key = """
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
PI:KEY:<KEY>END_PI
-----END PGP PUBLIC KEY BLOCK-----
"""
exports.key_1 = (T,cb) ->
now = 1439515152
await KeyManager.import_from_armored_pgp { armored : key, opts : { now } }, defer err, km, warnings
T.no_error err... |
[
{
"context": " configuration.repoUsername\n repoPassword = configuration.password\n repoOwner = configuration.repoOw",
"end": 7885,
"score": 0.9152942895889282,
"start": 7872,
"tag": "PASSWORD",
"value": "configuration"
},
{
"context": "repoUsername\n repoPasswor... | lib/advanced-web-editor.coffee | ExentriqLtd/Advanced-Web-Editor | 0 | ConfigurationView = require './advanced-web-editor-view'
BranchView = require './branch-view'
ProgressView = require './util/progress-view'
Wizard = require './view/wizard'
LoadingScreen = require './view/loading-screen'
log = require './util/logger'
{CompositeDisposable} = require 'atom'
q = require 'q'
LifeCycle =... | 67386 | ConfigurationView = require './advanced-web-editor-view'
BranchView = require './branch-view'
ProgressView = require './util/progress-view'
Wizard = require './view/wizard'
LoadingScreen = require './view/loading-screen'
log = require './util/logger'
{CompositeDisposable} = require 'atom'
q = require 'q'
LifeCycle =... | true | ConfigurationView = require './advanced-web-editor-view'
BranchView = require './branch-view'
ProgressView = require './util/progress-view'
Wizard = require './view/wizard'
LoadingScreen = require './view/loading-screen'
log = require './util/logger'
{CompositeDisposable} = require 'atom'
q = require 'q'
LifeCycle =... |
[
{
"context": "an Dictionary and returns example \n#\n# Author:\n# Travis Jeffery (@travisjeffery)\n# Robbie Trencheny (@Robbie)\n\n",
"end": 405,
"score": 0.9998730421066284,
"start": 391,
"tag": "NAME",
"value": "Travis Jeffery"
},
{
"context": "nd returns example \n#\n# Author:... | src/scripts/urban.coffee | ivey/hubot-scripts | 1 | # Description:
# Define terms via Urban Dictionary
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot urban me <term> - Searches Urban Dictionary and returns definition
# hubot urban define me <term> - Searches Urban Dictionary and returns definition
# hubot urban example me <... | 158419 | # Description:
# Define terms via Urban Dictionary
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot urban me <term> - Searches Urban Dictionary and returns definition
# hubot urban define me <term> - Searches Urban Dictionary and returns definition
# hubot urban example me <... | true | # Description:
# Define terms via Urban Dictionary
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot urban me <term> - Searches Urban Dictionary and returns definition
# hubot urban define me <term> - Searches Urban Dictionary and returns definition
# hubot urban example me <... |
[
{
"context": " join_cb = (who, channel) =>\n if who.nick == @nick\n rand = Math.floor Math.random() * greetin",
"end": 88,
"score": 0.9988026022911072,
"start": 83,
"tag": "USERNAME",
"value": "@nick"
},
{
"context": "oining any channel'\n version: '0.1'\n authors: ['Á... | plugins/hi.coffee | Arrogance/nerdobot | 1 | module.exports = (greetings) ->
join_cb = (who, channel) =>
if who.nick == @nick
rand = Math.floor Math.random() * greetings.length
greetings[rand].apply this, [channel]
@events.on 'join', join_cb
unload: =>
@events.removeListener 'join', join_cb
name: 'Hi'
description: 'Greets ran... | 123288 | module.exports = (greetings) ->
join_cb = (who, channel) =>
if who.nick == @nick
rand = Math.floor Math.random() * greetings.length
greetings[rand].apply this, [channel]
@events.on 'join', join_cb
unload: =>
@events.removeListener 'join', join_cb
name: 'Hi'
description: 'Greets ran... | true | module.exports = (greetings) ->
join_cb = (who, channel) =>
if who.nick == @nick
rand = Math.floor Math.random() * greetings.length
greetings[rand].apply this, [channel]
@events.on 'join', join_cb
unload: =>
@events.removeListener 'join', join_cb
name: 'Hi'
description: 'Greets ran... |
[
{
"context": "8n.__ 'Poi Statistics'}</span>\n author: p.author.name\n link: p.author.url\n version: p.version\n descr",
"end": 1610,
"score": 0.6036161184310913,
"start": 1606,
"tag": "NAME",
"value": "name"
}
] | index.cjsx | alvin-777/poi-plugin-poi-stats | 2 | {React, ReactBootstrap, FontAwesome} = window
windowManager = remote.require './lib/window'
path = remote.require 'path-extra'
i18n = new (require 'i18n-2')
locales:['en-US', 'ja-JP', 'zh-CN']
defaultLocale: 'zh-CN'
directory: path.join(__dirname, "i18n")
updateFiles: false
indent: "\t"
extension: '.json'
... | 97233 | {React, ReactBootstrap, FontAwesome} = window
windowManager = remote.require './lib/window'
path = remote.require 'path-extra'
i18n = new (require 'i18n-2')
locales:['en-US', 'ja-JP', 'zh-CN']
defaultLocale: 'zh-CN'
directory: path.join(__dirname, "i18n")
updateFiles: false
indent: "\t"
extension: '.json'
... | true | {React, ReactBootstrap, FontAwesome} = window
windowManager = remote.require './lib/window'
path = remote.require 'path-extra'
i18n = new (require 'i18n-2')
locales:['en-US', 'ja-JP', 'zh-CN']
defaultLocale: 'zh-CN'
directory: path.join(__dirname, "i18n")
updateFiles: false
indent: "\t"
extension: '.json'
... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.8106033802032471,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/lifecycle.coffee | heartyoh/dou | 1 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./property'
], (compose, withProperty) ->
"use strict"
initialize = (attrs) ->
# o... | 89790 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./property'
], (compose, withProperty) ->
"use strict"
initialize = (attrs) ->
# ... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./property'
], (compose, withProperty) ->
"use strict"
initialize = (attrs)... |
[
{
"context": "$ ->\n socket = io.connect 'http://127.0.0.1:1118/'\n socket.on 'news',(data)->\n console.lo",
"end": 44,
"score": 0.9045847654342651,
"start": 35,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "tus':'client is ok.'}\n socket.emit 'mynameis','Tobi Wi... | coffees/mine-firsthello.coffee | android1and1/easti | 0 | $ ->
socket = io.connect 'http://127.0.0.1:1118/'
socket.on 'news',(data)->
console.log 'Received:',data
socket.emit 'my other event',{'client-status':'client is ok.'}
socket.emit 'mynameis','Tobi Willamos',(data)->
window.createModal $('body'),{titleText:data,bodyText:'when received this message ... | 4856 | $ ->
socket = io.connect 'http://127.0.0.1:1118/'
socket.on 'news',(data)->
console.log 'Received:',data
socket.emit 'my other event',{'client-status':'client is ok.'}
socket.emit 'mynameis','<NAME>',(data)->
window.createModal $('body'),{titleText:data,bodyText:'when received this message box mea... | true | $ ->
socket = io.connect 'http://127.0.0.1:1118/'
socket.on 'news',(data)->
console.log 'Received:',data
socket.emit 'my other event',{'client-status':'client is ok.'}
socket.emit 'mynameis','PI:NAME:<NAME>END_PI',(data)->
window.createModal $('body'),{titleText:data,bodyText:'when received this m... |
[
{
"context": "son({})\n\t\t\t})\n\t\telse\n\t\t\t@userId = userData.id\n\t\t\t@username = userData['username']\n\t\t\t@resetToken = uuid.v4()",
"end": 1811,
"score": 0.5843297839164734,
"start": 1803,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\t\t\t@userId = userData.id... | server/routes/forgot.coffee | willroberts/duelyst | 5 | express = require 'express'
router = express.Router()
util = require 'util'
Logger = require '../../app/common/logger.coffee'
Promise = require 'bluebird'
uuid = require 'node-uuid'
moment = require 'moment'
hashHelpers = require '../lib/hash_helpers.coffee'
knex = require '../lib/data_access/knex'
mail = require '../m... | 57741 | express = require 'express'
router = express.Router()
util = require 'util'
Logger = require '../../app/common/logger.coffee'
Promise = require 'bluebird'
uuid = require 'node-uuid'
moment = require 'moment'
hashHelpers = require '../lib/hash_helpers.coffee'
knex = require '../lib/data_access/knex'
mail = require '../m... | true | express = require 'express'
router = express.Router()
util = require 'util'
Logger = require '../../app/common/logger.coffee'
Promise = require 'bluebird'
uuid = require 'node-uuid'
moment = require 'moment'
hashHelpers = require '../lib/hash_helpers.coffee'
knex = require '../lib/data_access/knex'
mail = require '../m... |
[
{
"context": "###\r\n\r\ngas-manager\r\nhttps://github.com/soundTricker/gas-manager\r\n\r\nCopyright (c) 2013 Keisuke Oohashi",
"end": 51,
"score": 0.9973218441009521,
"start": 39,
"tag": "USERNAME",
"value": "soundTricker"
},
{
"context": "com/soundTricker/gas-manager\r\n\r\nCopyrig... | src/lib/commands/logo-command.coffee | unau/gas-minus-minus | 1 | ###
gas-manager
https://github.com/soundTricker/gas-manager
Copyright (c) 2013 Keisuke Oohashi
Licensed under the MIT license.
###
exports.logo = ()->
console.log """
#{"1111".cyan}
... | 60526 | ###
gas-manager
https://github.com/soundTricker/gas-manager
Copyright (c) 2013 <NAME>
Licensed under the MIT license.
###
exports.logo = ()->
console.log """
#{"1111".cyan}
... | true | ###
gas-manager
https://github.com/soundTricker/gas-manager
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
exports.logo = ()->
console.log """
#{"1111".cyan}
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.