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": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998457431793213,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/shipped/access.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 191965 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": ": \"https://www.googleapis.com/customsearch/v1?key=AIzaSyCqorZ3JA6b7OoWdbvJvJbijy2RipHGe-w&cx=012493601492997370571:g3rffka0quq&q=#{tag}\"\n ",
"end": 233,
"score": 0.9997389316558838,
"start": 194,
"tag": "KEY",
"value": "AIzaSyCqorZ3JA6b7OoWdbvJvJbijy2RipHGe-w"
}
] | lib/google-search-client.coffee | Naveen-wiseguy/google-search | 0 | request = require 'request'
module.exports =
class GoogleSearchClient
constructor: ->
request: (tag,callback) ->
options =
uri: "https://www.googleapis.com/customsearch/v1?key=AIzaSyCqorZ3JA6b7OoWdbvJvJbijy2RipHGe-w&cx=012493601492997370571:g3rffka0quq&q=#{tag}"
method: 'GET'
gzip: true
... | 98177 | request = require 'request'
module.exports =
class GoogleSearchClient
constructor: ->
request: (tag,callback) ->
options =
uri: "https://www.googleapis.com/customsearch/v1?key=<KEY>&cx=012493601492997370571:g3rffka0quq&q=#{tag}"
method: 'GET'
gzip: true
headers:
'User-Agent':... | true | request = require 'request'
module.exports =
class GoogleSearchClient
constructor: ->
request: (tag,callback) ->
options =
uri: "https://www.googleapis.com/customsearch/v1?key=PI:KEY:<KEY>END_PI&cx=012493601492997370571:g3rffka0quq&q=#{tag}"
method: 'GET'
gzip: true
headers:
... |
[
{
"context": "###\n# test/factories/user.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Factory for ou",
"end": 55,
"score": 0.9998015761375427,
"start": 44,
"tag": "NAME",
"value": "Dan Nichols"
},
{
"context": "ounter = 1\n\nFactory.define 'user', User,\n na... | test/factories/user.coffee | dlnichols/h_media | 0 | ###
# test/factories/user.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Factory for our User model
###
'use strict'
# Internal libs
Faker = require 'faker'
Factory = require '../lib/factory'
User = require '../../lib/models/user'
emailCounter = 1
Factory.define 'user', User,
name: 'Full nam... | 107934 | ###
# test/factories/user.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Factory for our User model
###
'use strict'
# Internal libs
Faker = require 'faker'
Factory = require '../lib/factory'
User = require '../../lib/models/user'
emailCounter = 1
Factory.define 'user', User,
name: '<NAME>'
ema... | true | ###
# test/factories/user.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Factory for our User model
###
'use strict'
# Internal libs
Faker = require 'faker'
Factory = require '../lib/factory'
User = require '../../lib/models/user'
emailCounter = 1
Factory.define 'user', User,
name: ... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.7356470823287964,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/MVCMixin.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
], (dou) ->
"use strict"
attachView = (model, view, x) ->
return if not view
mod... | 119757 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
], (dou) ->
"use strict"
attachView = (model, view, x) ->
return if not view
mo... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
], (dou) ->
"use strict"
attachView = (model, view, x) ->
return if not vi... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998874068260193,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/HttpKernel/Application.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.
###
cc = use('cli-color')
express = use('express.io')
filesystem = use('fs')
BUNDLES = use... | 10498 | ###
* 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.
###
cc = use('cli-color')
express = use('express.io')
filesystem = use('fs')
BUNDLES = use('/app/bundles')
SEC... | 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.
###
cc = use('cli-color')
express = use('express.io')
filesystem = use('fs')
BUND... |
[
{
"context": "tle: 'Family', children: [\n {id: 10, title: 'Susan' }\n {id: 11, title: 'Luda' }\n\n ]}\n\n {i",
"end": 221,
"score": 0.9980051517486572,
"start": 216,
"tag": "NAME",
"value": "Susan"
},
{
"context": " {id: 10, title: 'Susan' }\n {id: 11, title: 'L... | tests/dummy/app/controllers/elements/treeview.coffee | melis-wallet/ember-leaf-tools | 0 | import Controller from '@ember/controller'
import TreeNode from 'ember-leaf-tools/utils/node'
TreeviewController = Controller.extend(
FIXTURES: [
{id: 1, title: 'Family', children: [
{id: 10, title: 'Susan' }
{id: 11, title: 'Luda' }
]}
{id: 2, title: "Foo", children: [
{id: 21, ti... | 151806 | import Controller from '@ember/controller'
import TreeNode from 'ember-leaf-tools/utils/node'
TreeviewController = Controller.extend(
FIXTURES: [
{id: 1, title: 'Family', children: [
{id: 10, title: '<NAME>' }
{id: 11, title: '<NAME>' }
]}
{id: 2, title: "Foo", children: [
{id: 21,... | true | import Controller from '@ember/controller'
import TreeNode from 'ember-leaf-tools/utils/node'
TreeviewController = Controller.extend(
FIXTURES: [
{id: 1, title: 'Family', children: [
{id: 10, title: 'PI:NAME:<NAME>END_PI' }
{id: 11, title: 'PI:NAME:<NAME>END_PI' }
]}
{id: 2, title: "Foo"... |
[
{
"context": "###!\nCopyright (c) 2002-2017 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 44,
"score": 0.5429632067680359,
"start": 34,
"tag": "NAME",
"value": "Technology"
}
] | src/components/D3Visualization/lib/visualization/components/node.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 ... | 137505 | ###!
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": "gister\"\n password : \"{{ BASE_PATH }}/api/user/password\"\n update : \"{{ BASE_PATH }}/api/us",
"end": 400,
"score": 0.8391287922859192,
"start": 383,
"tag": "PASSWORD",
"value": "api/user/password"
}
] | project/coffee/models/core/APIRouteModel.coffee | alpha-ville/bcn-iot | 0 | class APIRouteModel extends Backbone.DeepModel
defaults :
start : "" # Eg: "{{ BASE_PATH }}/api/start"
locale : "" # Eg: "{{ BASE_PATH }}/api/l10n/{{ code }}"
user :
login : "{{ BASE_PATH }}/api/user/login"
register : "{{ BASE_PATH }... | 181607 | class APIRouteModel extends Backbone.DeepModel
defaults :
start : "" # Eg: "{{ BASE_PATH }}/api/start"
locale : "" # Eg: "{{ BASE_PATH }}/api/l10n/{{ code }}"
user :
login : "{{ BASE_PATH }}/api/user/login"
register : "{{ BASE_PATH }... | true | class APIRouteModel extends Backbone.DeepModel
defaults :
start : "" # Eg: "{{ BASE_PATH }}/api/start"
locale : "" # Eg: "{{ BASE_PATH }}/api/l10n/{{ code }}"
user :
login : "{{ BASE_PATH }}/api/user/login"
register : "{{ BASE_PATH }... |
[
{
"context": "rview Disallow the use of process.exit()\n# @author Nicholas C. Zakas\n###\n'use strict'\n\n#------------------------------",
"end": 83,
"score": 0.9998202323913574,
"start": 66,
"tag": "NAME",
"value": "Nicholas C. Zakas"
}
] | src/tests/rules/no-process-exit.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallow the use of process.exit()
# @author Nicholas C. Zakas
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-proces... | 152580 | ###*
# @fileoverview Disallow the use of process.exit()
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-process-exit'
{Ru... | true | ###*
# @fileoverview Disallow the use of process.exit()
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-pro... |
[
{
"context": "3JdypFdjv'\n kadiraKey=process.env.KARDIRA_KEY ||'25235f4b-7079-4fac-b82d-8cd2d865a6dc'\n\n Kadira.connect(kadiraID,kadiraKey)\n",
"end": 151,
"score": 0.999660849571228,
"start": 115,
"tag": "KEY",
"value": "25235f4b-7079-4fac-b82d-8cd2d865a6dc"
}
] | rocketchat/kadira.coffee | Ritesh1991/mobile_app_server | 0 | if Meteor.isServer
kadiraID=process.env.KARDIRA_ID ||'TJCHp2Ky3JdypFdjv'
kadiraKey=process.env.KARDIRA_KEY ||'25235f4b-7079-4fac-b82d-8cd2d865a6dc'
Kadira.connect(kadiraID,kadiraKey)
| 13158 | if Meteor.isServer
kadiraID=process.env.KARDIRA_ID ||'TJCHp2Ky3JdypFdjv'
kadiraKey=process.env.KARDIRA_KEY ||'<KEY>'
Kadira.connect(kadiraID,kadiraKey)
| true | if Meteor.isServer
kadiraID=process.env.KARDIRA_ID ||'TJCHp2Ky3JdypFdjv'
kadiraKey=process.env.KARDIRA_KEY ||'PI:KEY:<KEY>END_PI'
Kadira.connect(kadiraID,kadiraKey)
|
[
{
"context": "f passwordChanged\n $scope.user.password = $scope.userData.password\n $scope.user.$update().then ->\n $",
"end": 824,
"score": 0.9164137840270996,
"start": 800,
"tag": "PASSWORD",
"value": "$scope.userData.password"
}
] | frontend/src/controllers/private/teacher/user.coffee | greysteil/evaluator | 1 | angular.module 'evaluator'
.controller 'UserController', ($scope, $stateParams, User, GUC_ID_REGEX,
$state) ->
$scope.processing = false
$scope.loading = true
$scope.user = new User {id: $stateParams.id}
$scope.userData = {} # Used for password
$scope.user.reload().then ->
$s... | 113352 | angular.module 'evaluator'
.controller 'UserController', ($scope, $stateParams, User, GUC_ID_REGEX,
$state) ->
$scope.processing = false
$scope.loading = true
$scope.user = new User {id: $stateParams.id}
$scope.userData = {} # Used for password
$scope.user.reload().then ->
$s... | true | angular.module 'evaluator'
.controller 'UserController', ($scope, $stateParams, User, GUC_ID_REGEX,
$state) ->
$scope.processing = false
$scope.loading = true
$scope.user = new User {id: $stateParams.id}
$scope.userData = {} # Used for password
$scope.user.reload().then ->
$s... |
[
{
"context": "s, path}) ->\n if stats.isFile()\n key = upath.relative(self.options.dir, path)\n self.cache[key] =",
"end": 791,
"score": 0.907665491104126,
"start": 777,
"tag": "KEY",
"value": "upath.relative"
}
] | cachecow.coffee | wmhilton/cachecow | 0 | # A simple disk cache system that won't eat the whole hard disk
upath = require 'upath'
fs = require 'fs-extra'
os = require 'os'
class Cache
constructor: (opts) ->
self = this
defaults =
maxsize: 1024*1024*1 # 1MB
dir: upath.join(os.tmpdir(), 'cachecow')
getter: ->
console.log 'You... | 218215 | # A simple disk cache system that won't eat the whole hard disk
upath = require 'upath'
fs = require 'fs-extra'
os = require 'os'
class Cache
constructor: (opts) ->
self = this
defaults =
maxsize: 1024*1024*1 # 1MB
dir: upath.join(os.tmpdir(), 'cachecow')
getter: ->
console.log 'You... | true | # A simple disk cache system that won't eat the whole hard disk
upath = require 'upath'
fs = require 'fs-extra'
os = require 'os'
class Cache
constructor: (opts) ->
self = this
defaults =
maxsize: 1024*1024*1 # 1MB
dir: upath.join(os.tmpdir(), 'cachecow')
getter: ->
console.log 'You... |
[
{
"context": "oken appened when logged in', ->\n token = 'token'\n SearchResult.__set__ 'sd', { ARTSY_XAPP_",
"end": 1852,
"score": 0.8178643584251404,
"start": 1847,
"tag": "KEY",
"value": "token"
},
{
"context": "qual '<span class=\"is-highlighted\">Skull</span> by An... | test/models/search_result.coffee | kanaabe/microgravity | 1 | fabricate = require('antigravity').fabricate
rewire = require 'rewire'
SearchResult = rewire '../../models/search_result.coffee'
Fair = require '../../models/fair.coffee'
describe 'SearchResult', ->
describe '#initialize', ->
describe '#location', ->
it 'has a location attribute when it is an artwork', ->
... | 178937 | fabricate = require('antigravity').fabricate
rewire = require 'rewire'
SearchResult = rewire '../../models/search_result.coffee'
Fair = require '../../models/fair.coffee'
describe 'SearchResult', ->
describe '#initialize', ->
describe '#location', ->
it 'has a location attribute when it is an artwork', ->
... | true | fabricate = require('antigravity').fabricate
rewire = require 'rewire'
SearchResult = rewire '../../models/search_result.coffee'
Fair = require '../../models/fair.coffee'
describe 'SearchResult', ->
describe '#initialize', ->
describe '#location', ->
it 'has a location attribute when it is an artwork', ->
... |
[
{
"context": "##\n# mongoose-trashable\n# https://github.com/yi/mongoose-trashable\n#\n# Copyright (c) 2014 yi\n# Li",
"end": 47,
"score": 0.9978451132774353,
"start": 45,
"tag": "USERNAME",
"value": "yi"
},
{
"context": "b.com/yi/mongoose-trashable\n#\n# Copyright (c) 2014 yi\n# Lic... | src/mongoose-trashable.coffee | yi/mongoose-trashable | 1 | ##
# mongoose-trashable
# https://github.com/yi/mongoose-trashable
#
# Copyright (c) 2014 yi
# Licensed under the MIT license.
##
# default plugin options values
DEFAULT_KEY_NAME = "trashed_at"
dateJSON = (key) ->
json = {}
json[key] = Date
json
# mongoose-times plugin method
module.exports = exports = (schem... | 169095 | ##
# mongoose-trashable
# https://github.com/yi/mongoose-trashable
#
# Copyright (c) 2014 <NAME>i
# Licensed under the MIT license.
##
# default plugin options values
DEFAULT_KEY_NAME = "trashed_at"
dateJSON = (key) ->
json = {}
json[key] = Date
json
# mongoose-times plugin method
module.exports = exports = (... | true | ##
# mongoose-trashable
# https://github.com/yi/mongoose-trashable
#
# Copyright (c) 2014 PI:NAME:<NAME>END_PIi
# Licensed under the MIT license.
##
# default plugin options values
DEFAULT_KEY_NAME = "trashed_at"
dateJSON = (key) ->
json = {}
json[key] = Date
json
# mongoose-times plugin method
module.exports ... |
[
{
"context": "equire 'ann'\n\nserver = 'irc.freenode.net'\nnick = 'annbot' + Math.floor(Math.random() * 1000)\n\nbot = new An",
"end": 63,
"score": 0.9302272796630859,
"start": 57,
"tag": "USERNAME",
"value": "annbot"
},
{
"context": "* 1000)\n\nbot = new Ann server, nick,\n passwor... | test/verifyRegister/notregistered.coffee | fent/ann | 0 | Ann = require 'ann'
server = 'irc.freenode.net'
nick = 'annbot' + Math.floor(Math.random() * 1000)
bot = new Ann server, nick,
password: 'password'
debug: true
bot.ready ->
bot.verifyRegister nick, 'tubes', (err) ->
throw err if err
| 80222 | Ann = require 'ann'
server = 'irc.freenode.net'
nick = 'annbot' + Math.floor(Math.random() * 1000)
bot = new Ann server, nick,
password: '<PASSWORD>'
debug: true
bot.ready ->
bot.verifyRegister nick, 'tubes', (err) ->
throw err if err
| true | Ann = require 'ann'
server = 'irc.freenode.net'
nick = 'annbot' + Math.floor(Math.random() * 1000)
bot = new Ann server, nick,
password: 'PI:PASSWORD:<PASSWORD>END_PI'
debug: true
bot.ready ->
bot.verifyRegister nick, 'tubes', (err) ->
throw err if err
|
[
{
"context": "rvice('genders', [\n '$http'\n ($http) ->\n # ['rory', 'sarah', 'alex'] => {'rory': 'm', 'sarah': 'f',",
"end": 89,
"score": 0.9997209310531616,
"start": 85,
"tag": "NAME",
"value": "rory"
},
{
"context": "enders', [\n '$http'\n ($http) ->\n # ['rory', 'sarah'... | coffee/services.coffee | RoryDH/evenn | 3 | ev = angular.module('evenn')
ev.service('genders', [
'$http'
($http) ->
# ['rory', 'sarah', 'alex'] => {'rory': 'm', 'sarah': 'f', 'alex': 'n'}
getBulk: (names, cb) ->
$http(
method: 'POST'
url: 'http://gender.rory.ie/bulk'
data: { names: names }
).success((data) ->
... | 168345 | ev = angular.module('evenn')
ev.service('genders', [
'$http'
($http) ->
# ['<NAME>', '<NAME>', '<NAME>'] => {'<NAME>': 'm', '<NAME>': 'f', '<NAME>': 'n'}
getBulk: (names, cb) ->
$http(
method: 'POST'
url: 'http://gender.rory.ie/bulk'
data: { names: names }
).success((dat... | true | ev = angular.module('evenn')
ev.service('genders', [
'$http'
($http) ->
# ['PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI', 'PI:NAME:<NAME>END_PI'] => {'PI:NAME:<NAME>END_PI': 'm', 'PI:NAME:<NAME>END_PI': 'f', 'PI:NAME:<NAME>END_PI': 'n'}
getBulk: (names, cb) ->
$http(
method: 'POST'
u... |
[
{
"context": "###\n\ndom-selector\nhttps://github.com/ejoubaud/dom-selector\n\nCopyright (c) 2014 Emmanuel Joubaud",
"end": 45,
"score": 0.9969162940979004,
"start": 37,
"tag": "USERNAME",
"value": "ejoubaud"
},
{
"context": "thub.com/ejoubaud/dom-selector\n\nCopyright (c) 2014 Emman... | src/lib/dom-selector.coffee | sadammashaal/dom-selector | 1 | ###
dom-selector
https://github.com/ejoubaud/dom-selector
Copyright (c) 2014 Emmanuel Joubaud
Licensed under the MIT license.
###
'use strict'
SelectionMode = require('./dom-selector/selection-mode')
domSelector = new SelectionMode()
if typeof window == 'undefined'
exports = domSelector
else
window.domSelect... | 143123 | ###
dom-selector
https://github.com/ejoubaud/dom-selector
Copyright (c) 2014 <NAME>
Licensed under the MIT license.
###
'use strict'
SelectionMode = require('./dom-selector/selection-mode')
domSelector = new SelectionMode()
if typeof window == 'undefined'
exports = domSelector
else
window.domSelector = domSe... | true | ###
dom-selector
https://github.com/ejoubaud/dom-selector
Copyright (c) 2014 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
'use strict'
SelectionMode = require('./dom-selector/selection-mode')
domSelector = new SelectionMode()
if typeof window == 'undefined'
exports = domSelector
else
window.domSe... |
[
{
"context": "\n\ndescribe 'NotificationsBuilder', ->\n\tuser_id = \"123nd3ijdks\"\n\n\tbeforeEach ->\n\t\t@handler =\n\t\t\tcreateNotificati",
"end": 301,
"score": 0.9955168962478638,
"start": 290,
"tag": "USERNAME",
"value": "123nd3ijdks"
},
{
"context": ", user: '', pass: '' } }\n... | test/unit/coffee/Notifications/NotificationsBuilderTests.coffee | shyoshyo/web-sharelatex | 1 | SandboxedModule = require('sandboxed-module')
assert = require('chai').assert
require('chai').should()
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Notifications/NotificationsBuilder.js'
describe 'NotificationsBuilder', ->
user_id = "123nd3ijdks"
beforeEach ->
... | 179482 | SandboxedModule = require('sandboxed-module')
assert = require('chai').assert
require('chai').should()
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Notifications/NotificationsBuilder.js'
describe 'NotificationsBuilder', ->
user_id = "123nd3ijdks"
beforeEach ->
... | true | SandboxedModule = require('sandboxed-module')
assert = require('chai').assert
require('chai').should()
sinon = require('sinon')
modulePath = require('path').join __dirname, '../../../../app/js/Features/Notifications/NotificationsBuilder.js'
describe 'NotificationsBuilder', ->
user_id = "123nd3ijdks"
beforeEach ->
... |
[
{
"context": "prefix': 'mailto'\n 'body': 'a(href=\"mailto:${1:joe@example.com}?subject=${2:feedback}\") ${3:email me}'\n 'Meta':",
"end": 5216,
"score": 0.9980463981628418,
"start": 5201,
"tag": "EMAIL",
"value": "joe@example.com"
}
] | snippets/snippets-jade.cson | rail-rain/snippets-jade | 1 | ".source.jade, .source.pug":
# A
'Anchor':
'prefix': 'a'
'body': 'a(href="${1:#}") $2'
'Abbreviation':
'prefix': 'abbr'
'body': 'abbr(title="$1") $2'
'Address':
'prefix': 'address'
'body': 'address${1:.$2}\n\t$3'
'Area':
'prefix': 'area'
'body': 'area(${1:shape="${2:default}", ... | 45897 | ".source.jade, .source.pug":
# A
'Anchor':
'prefix': 'a'
'body': 'a(href="${1:#}") $2'
'Abbreviation':
'prefix': 'abbr'
'body': 'abbr(title="$1") $2'
'Address':
'prefix': 'address'
'body': 'address${1:.$2}\n\t$3'
'Area':
'prefix': 'area'
'body': 'area(${1:shape="${2:default}", ... | true | ".source.jade, .source.pug":
# A
'Anchor':
'prefix': 'a'
'body': 'a(href="${1:#}") $2'
'Abbreviation':
'prefix': 'abbr'
'body': 'abbr(title="$1") $2'
'Address':
'prefix': 'address'
'body': 'address${1:.$2}\n\t$3'
'Area':
'prefix': 'area'
'body': 'area(${1:shape="${2:default}", ... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9985947608947754,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream-big-push.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... | 154210 | # 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": " — friendly BEM class names generator\\n\n * @author Alexander Burtsev, http://burtsev.me, <%= grunt.template.today(\"yyy",
"end": 233,
"score": 0.999845027923584,
"start": 216,
"tag": "NAME",
"value": "Alexander Burtsev"
}
] | node_modules/bem-cn/Gruntfile.coffee | viktorkh/elastickit_express | 0 | module.exports = (grunt) ->
'use strict'
require('load-grunt-tasks')(grunt)
grunt.initConfig
jsSource: 'src/*.js'
jsDist: 'dist/'
banner: '/**\n
* bem-cn — friendly BEM class names generator\n
* @author Alexander Burtsev, http://burtsev.me, <%= grunt.template.today("yyyy") %>\n
* @license MIT\n
*/\n',
... | 192864 | module.exports = (grunt) ->
'use strict'
require('load-grunt-tasks')(grunt)
grunt.initConfig
jsSource: 'src/*.js'
jsDist: 'dist/'
banner: '/**\n
* bem-cn — friendly BEM class names generator\n
* @author <NAME>, http://burtsev.me, <%= grunt.template.today("yyyy") %>\n
* @license MIT\n
*/\n',
jshint:
... | true | module.exports = (grunt) ->
'use strict'
require('load-grunt-tasks')(grunt)
grunt.initConfig
jsSource: 'src/*.js'
jsDist: 'dist/'
banner: '/**\n
* bem-cn — friendly BEM class names generator\n
* @author PI:NAME:<NAME>END_PI, http://burtsev.me, <%= grunt.template.today("yyyy") %>\n
* @license MIT\n
*/\n',... |
[
{
"context": "----------------------------------------\n# Author: Alexander Kravets <alex@slatestudio.com>,\n# Slate Studio (h",
"end": 107,
"score": 0.9998777508735657,
"start": 90,
"tag": "NAME",
"value": "Alexander Kravets"
},
{
"context": "--------------------\n# Author: ... | app/assets/javascripts/loft/group-actions.coffee | slate-studio/loft | 0 | # -----------------------------------------------------------------------------
# Author: Alexander Kravets <alex@slatestudio.com>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# Loft Group Actions
# ---------------------------------... | 56423 | # -----------------------------------------------------------------------------
# Author: <NAME> <<EMAIL>>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# Loft Group Actions
# ---------------------------------------------------------... | true | # -----------------------------------------------------------------------------
# Author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>,
# Slate Studio (http://www.slatestudio.com)
# -----------------------------------------------------------------------------
# Loft Group Actions
# ----------------------------... |
[
{
"context": "#\n# Author: Peter K. Lee (peter@corenova.com)\n#\n# All rights reserved. Thi",
"end": 24,
"score": 0.9998725652694702,
"start": 12,
"tag": "NAME",
"value": "Peter K. Lee"
},
{
"context": "#\n# Author: Peter K. Lee (peter@corenova.com)\n#\n# All rights reserved. This pr... | src/cord-core.coffee | opencord/composer | 0 | #
# Author: Peter K. Lee (peter@corenova.com)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
require('yang-js').registe... | 24440 | #
# Author: <NAME> (<EMAIL>)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
require('yang-js').register()
module.expor... | true | #
# Author: PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
#
require('yang-... |
[
{
"context": ": \"54173c90844506ae0195a0b4\",\n \"userField\": \"creator\",\n \"description\": \"You completed Gems in the",
"end": 200,
"score": 0.9883481860160828,
"start": 193,
"tag": "USERNAME",
"value": "creator"
},
{
"context": ": \"54173c90844506ae0195a0b4\",\n ... | test/app/views/play/level/modal/CourseVictoryModal.fixtures.coffee | johanvl/codecombat | 2 | module.exports = {
achievements: [
{
"_id": "541a23431ccc8eaae19f3bf6",
"slug": "gems-in-the-deep-completed",
"related": "54173c90844506ae0195a0b4",
"userField": "creator",
"description": "You completed Gems in the Deep.",
"collection": "level.sessions",
"query": {
... | 72259 | module.exports = {
achievements: [
{
"_id": "541a23431ccc8eaae19f3bf6",
"slug": "gems-in-the-deep-completed",
"related": "54173c90844506ae0195a0b4",
"userField": "creator",
"description": "You completed Gems in the Deep.",
"collection": "level.sessions",
"query": {
... | true | module.exports = {
achievements: [
{
"_id": "541a23431ccc8eaae19f3bf6",
"slug": "gems-in-the-deep-completed",
"related": "54173c90844506ae0195a0b4",
"userField": "creator",
"description": "You completed Gems in the Deep.",
"collection": "level.sessions",
"query": {
... |
[
{
"context": "# **Author:** Peter Urbak<br/>\n# **Version:** 2013-01-29\n\nroot = exports ? ",
"end": 25,
"score": 0.9998641014099121,
"start": 14,
"tag": "NAME",
"value": "Peter Urbak"
}
] | client_src/cursorModel.coffee | dragonwasrobot/gesture-recognition | 2 | # **Author:** Peter Urbak<br/>
# **Version:** 2013-01-29
root = exports ? window
# The `CursorModel` encapsulates the state and session of a cursor on the
# multi-touch table.
class App.CursorModel
# ### Constructors
# Constructs a `CursorModel`.
#
# - **sid:** The Session ID of the cursor.
# - **timestampStar... | 18079 | # **Author:** <NAME><br/>
# **Version:** 2013-01-29
root = exports ? window
# The `CursorModel` encapsulates the state and session of a cursor on the
# multi-touch table.
class App.CursorModel
# ### Constructors
# Constructs a `CursorModel`.
#
# - **sid:** The Session ID of the cursor.
# - **timestampStart:** ... | true | # **Author:** PI:NAME:<NAME>END_PI<br/>
# **Version:** 2013-01-29
root = exports ? window
# The `CursorModel` encapsulates the state and session of a cursor on the
# multi-touch table.
class App.CursorModel
# ### Constructors
# Constructs a `CursorModel`.
#
# - **sid:** The Session ID of the cursor.
# - **time... |
[
{
"context": "###\n# Touch Splitter JQuery was created by Cole Lawrence(github:ZombieHippie)\n# This work is licensed unde",
"end": 56,
"score": 0.9997982382774353,
"start": 43,
"tag": "NAME",
"value": "Cole Lawrence"
},
{
"context": "litter JQuery was created by Cole Lawrence(github... | includes/dist/plugins/Touch-Splitter-jQuery/src/jquery.touchsplitter.coffee | billeatman/marloo-cms | 1 | ###
# Touch Splitter JQuery was created by Cole Lawrence(github:ZombieHippie)
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
# Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/.
###
((mod) ->
if typeof exports is "object" and typeof m... | 42004 | ###
# Touch Splitter JQuery was created by <NAME>(github:ZombieHippie)
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
# Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/.
###
((mod) ->
if typeof exports is "object" and typeof module i... | true | ###
# Touch Splitter JQuery was created by PI:NAME:<NAME>END_PI(github:ZombieHippie)
# This work is licensed under the Creative Commons Attribution-ShareAlike 3.0
# Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/.
###
((mod) ->
if typeof exports is "object" and t... |
[
{
"context": "lues= {\n expiry: '16/12'\n name:'Random Name'\n }\n\n # the class to add to the for",
"end": 681,
"score": 0.9961154460906982,
"start": 670,
"tag": "NAME",
"value": "Random Name"
},
{
"context": "\n <form>\n <input pl... | example/card-loader.cjsx | redsift/card-react | 145 | React = require 'react'
ReactDOM = require 'react-dom'
ReactCardFormContainer = require '../lib/card-react-form-container.js'
CardLoader = React.createClass
displayName: "CardLoader"
render: ->
<div>
<ReactCardFormContainer
container="react-card-container"
formInputsNames={
... | 120068 | React = require 'react'
ReactDOM = require 'react-dom'
ReactCardFormContainer = require '../lib/card-react-form-container.js'
CardLoader = React.createClass
displayName: "CardLoader"
render: ->
<div>
<ReactCardFormContainer
container="react-card-container"
formInputsNames={
... | true | React = require 'react'
ReactDOM = require 'react-dom'
ReactCardFormContainer = require '../lib/card-react-form-container.js'
CardLoader = React.createClass
displayName: "CardLoader"
render: ->
<div>
<ReactCardFormContainer
container="react-card-container"
formInputsNames={
... |
[
{
"context": "view.collection.reset [fabricate 'artist', name: 'Andy Foobar']\n @view.fetchAndRender()\n @view.$el.ht",
"end": 1401,
"score": 0.9998352527618408,
"start": 1390,
"tag": "NAME",
"value": "Andy Foobar"
},
{
"context": "ender()\n @view.$el.html().should.con... | src/desktop/components/artist_fillwidth_list/test/view.coffee | kanaabe/force | 1 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
CurrentUser = require '../../../models/current_user'
Artist = require '../../../models/artist'
{ fabricate } = require 'antigravity'
{ resolve } = require 'path'
ArtistFillwidthList = benv.requireWithJadeify resolve(__d... | 165456 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
CurrentUser = require '../../../models/current_user'
Artist = require '../../../models/artist'
{ fabricate } = require 'antigravity'
{ resolve } = require 'path'
ArtistFillwidthList = benv.requireWithJadeify resolve(__d... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
CurrentUser = require '../../../models/current_user'
Artist = require '../../../models/artist'
{ fabricate } = require 'antigravity'
{ resolve } = require 'path'
ArtistFillwidthList = benv.requireWithJadeify resolve(__d... |
[
{
"context": "nt.createDocumentFragment()\n playerData = {\n \"courtois\": {\n \"name\":\"Thibault Courtois\"\n \"posit",
"end": 138,
"score": 0.9894111156463623,
"start": 130,
"tag": "NAME",
"value": "courtois"
},
{
"context": "\n playerData = {\n \"courtois\": {\n... | coffee/players.coffee | kaidez/build-css-tute | 0 | ###
Function for building out player pages
###
setPlayer = do ->
frag = document.createDocumentFragment()
playerData = {
"courtois": {
"name":"Thibault Courtois"
"position": "Goalkeeper"
"number": "1"
},
"fabregas": {
"name":"Cesc Fabregas"
"position": "Attacking Midfielder... | 129017 | ###
Function for building out player pages
###
setPlayer = do ->
frag = document.createDocumentFragment()
playerData = {
"<NAME>": {
"name":"<NAME>"
"position": "Goalkeeper"
"number": "1"
},
"<NAME>": {
"name":"<NAME>"
"position": "Attacking Midfielder"
"number": "4"
... | true | ###
Function for building out player pages
###
setPlayer = do ->
frag = document.createDocumentFragment()
playerData = {
"PI:NAME:<NAME>END_PI": {
"name":"PI:NAME:<NAME>END_PI"
"position": "Goalkeeper"
"number": "1"
},
"PI:NAME:<NAME>END_PI": {
"name":"PI:NAME:<NAME>END_PI"
... |
[
{
"context": " model: Em.Object.create\n name: 'asaf'\n errors: Em.Object.create()\n p",
"end": 1217,
"score": 0.9726914167404175,
"start": 1213,
"tag": "NAME",
"value": "asaf"
}
] | vendor/ember-forms/tests/form_control_help.coffee | aburton207/Refset-Frontend-V2 | 0 | moduleForComponent('form-control-help', 'Form Control Help Component');
test "Form Control Help rendering", ->
component = @subject()
ok(@$().hasClass('help-block'), 'DOM element has default css class')
test "Help extra css class", ->
component = @subject
extraClass: 'foo'
ok(@$().hasClass('fo... | 99073 | moduleForComponent('form-control-help', 'Form Control Help Component');
test "Form Control Help rendering", ->
component = @subject()
ok(@$().hasClass('help-block'), 'DOM element has default css class')
test "Help extra css class", ->
component = @subject
extraClass: 'foo'
ok(@$().hasClass('fo... | true | moduleForComponent('form-control-help', 'Form Control Help Component');
test "Form Control Help rendering", ->
component = @subject()
ok(@$().hasClass('help-block'), 'DOM element has default css class')
test "Help extra css class", ->
component = @subject
extraClass: 'foo'
ok(@$().hasClass('fo... |
[
{
"context": "n.cs\n\ncustom_messages =\n top10_common_password: 'custom#top10_common_password',\n uncommon_words_are_better: 'custom#uncommon_w",
"end": 328,
"score": 0.9993211030960083,
"start": 300,
"tag": "PASSWORD",
"value": "custom#top10_common_password"
}
] | test/test-zxcvbn.coffee | lpavlicek/zxcvbn-czech | 3 | test = require 'tape'
zxcvbn = require '../src/main'
feedback = require '../src/feedback'
feedback_l10n = require '../src/feedback_l10n'
local_dictionary = [ 'OurNiceService', 'OurGoodCompany' ]
messages = feedback_l10n.en
messages_cs = feedback_l10n.cs
custom_messages =
top10_common_password: 'custom#top10_common_... | 218161 | test = require 'tape'
zxcvbn = require '../src/main'
feedback = require '../src/feedback'
feedback_l10n = require '../src/feedback_l10n'
local_dictionary = [ 'OurNiceService', 'OurGoodCompany' ]
messages = feedback_l10n.en
messages_cs = feedback_l10n.cs
custom_messages =
top10_common_password: '<PASSWORD>',
uncom... | true | test = require 'tape'
zxcvbn = require '../src/main'
feedback = require '../src/feedback'
feedback_l10n = require '../src/feedback_l10n'
local_dictionary = [ 'OurNiceService', 'OurGoodCompany' ]
messages = feedback_l10n.en
messages_cs = feedback_l10n.cs
custom_messages =
top10_common_password: 'PI:PASSWORD:<PASSWOR... |
[
{
"context": "y pixel on 2D HTML5 canvas\n# https://github.com/linusyang/jscube\n#\n# Copyright (c) 2013 Linus Yang\n#\n\ncla",
"end": 101,
"score": 0.9994292855262756,
"start": 92,
"tag": "USERNAME",
"value": "linusyang"
},
{
"context": "thub.com/linusyang/jscube\n#\n# Copyrig... | src/context.coffee | linusyang/jscube | 2 | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 Linus Yang
#
class @Context
constructor: (canvas) ->
@ctx_ = canvas.getContext "2d"
@use_path = false
@anti_alias = true
@bg_rgba = new RGBA 1, 1, 1, 1
@setSize ca... | 154442 | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 <NAME>
#
class @Context
constructor: (canvas) ->
@ctx_ = canvas.getContext "2d"
@use_path = false
@anti_alias = true
@bg_rgba = new RGBA 1, 1, 1, 1
@setSize canvas... | true | #
# JSCube
#
# Draw 3D objects pixel by pixel on 2D HTML5 canvas
# https://github.com/linusyang/jscube
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
#
class @Context
constructor: (canvas) ->
@ctx_ = canvas.getContext "2d"
@use_path = false
@anti_alias = true
@bg_rgba = new RGBA 1, 1, 1, 1
@... |
[
{
"context": " might be implemented later.\n passChars = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+-_!?\".split ''\n tempPass = _.times(10, -> ",
"end": 1346,
"score": 0.6643190383911133,
"start": 1284,
"tag": "PASSWORD",
"value": "0123456789ABCDEFGHIJKLM... | api/routes/users.coffee | soulweaver91/gw2hub | 0 | options = require '../tools/optionsroute'
middleware = require '../tools/middleware'
security = require '../tools/security'
httpStatus = require 'http-status-codes'
commonResponses = require '../tools/commonresponses'
privilegeLevels = require '../tools/privilegelevels'
_ = require 'lodash'
module.exports = (app, db)... | 104156 | options = require '../tools/optionsroute'
middleware = require '../tools/middleware'
security = require '../tools/security'
httpStatus = require 'http-status-codes'
commonResponses = require '../tools/commonresponses'
privilegeLevels = require '../tools/privilegelevels'
_ = require 'lodash'
module.exports = (app, db)... | true | options = require '../tools/optionsroute'
middleware = require '../tools/middleware'
security = require '../tools/security'
httpStatus = require 'http-status-codes'
commonResponses = require '../tools/commonresponses'
privilegeLevels = require '../tools/privilegelevels'
_ = require 'lodash'
module.exports = (app, db)... |
[
{
"context": "#\t> File Name: userInfo.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: S",
"end": 45,
"score": 0.9995242357254028,
"start": 43,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "ile Name: userInfo.coffee\n#\t> Author: LY\n#\t> Mail: ly.fran... | server/views/src/coffee/userInfo.coffee | Booker-Z/MIAC-website | 0 | # > File Name: userInfo.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Sunday, December 07, 2014 PM12:21:39 CST
$('.password-update').click ->
password = $(@).siblings('input').val()
$.post '/User/updatePassword', { password: password }, (data)->
alert data.result + '\n' + (data.... | 36980 | # > File Name: userInfo.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Sunday, December 07, 2014 PM12:21:39 CST
$('.password-update').click ->
password = $(@).siblings('input').val()
$.post '/User/updatePassword', { password: password }, (data)->
alert data.result + '\n' + (data.msg if data.... | true | # > File Name: userInfo.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Sunday, December 07, 2014 PM12:21:39 CST
$('.password-update').click ->
password = $(@).siblings('input').val()
$.post '/User/updatePassword', { password: password }, (data)->
alert data.result + '\n' + (da... |
[
{
"context": "r connection interface\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\nlovelyrc = require('./lovelyrc')\n\n#\n# Generic r",
"end": 89,
"score": 0.999890923500061,
"start": 72,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/hosting.coffee | lovely-io/lovely.io-stl | 2 | #
# The hosting server connection interface
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
lovelyrc = require('./lovelyrc')
#
# Generic request method
#
# @param {String} url addres (relative)
# @param {Object} data
# @param {String} request method
# @param {Function} optional callback
#
request = (path, params, meth... | 44409 | #
# The hosting server connection interface
#
# Copyright (C) 2011-2012 <NAME>
#
lovelyrc = require('./lovelyrc')
#
# Generic request method
#
# @param {String} url addres (relative)
# @param {Object} data
# @param {String} request method
# @param {Function} optional callback
#
request = (path, params, method, callbac... | true | #
# The hosting server connection interface
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
lovelyrc = require('./lovelyrc')
#
# Generic request method
#
# @param {String} url addres (relative)
# @param {Object} data
# @param {String} request method
# @param {Function} optional callback
#
request = (path, params, m... |
[
{
"context": "ig.subdomain\n email: config.email\n password: config.password\n\nmodule.exports.debug = config.debugHarvest if co",
"end": 268,
"score": 0.7497987747192383,
"start": 253,
"tag": "PASSWORD",
"value": "config.password"
}
] | src/harvest.coffee | impleri/sow | 18 | # Secondary: Harvest wrapper
'use strict'
file = require "./file"
harvestClass = require "harvest"
logger = require "loggy"
config = file.config()
module.exports = new harvestClass
subdomain: config.subdomain
email: config.email
password: config.password
module.exports.debug = config.debugHarvest if conf... | 81297 | # Secondary: Harvest wrapper
'use strict'
file = require "./file"
harvestClass = require "harvest"
logger = require "loggy"
config = file.config()
module.exports = new harvestClass
subdomain: config.subdomain
email: config.email
password: <PASSWORD>
module.exports.debug = config.debugHarvest if config.de... | true | # Secondary: Harvest wrapper
'use strict'
file = require "./file"
harvestClass = require "harvest"
logger = require "loggy"
config = file.config()
module.exports = new harvestClass
subdomain: config.subdomain
email: config.email
password: PI:PASSWORD:<PASSWORD>END_PI
module.exports.debug = config.debugHa... |
[
{
"context": "###\nCopyright 2016 Clemens Nylandsted Klokmose, Aarhus University\n\nLicensed under the Apache Lic",
"end": 46,
"score": 0.9998934864997864,
"start": 19,
"tag": "NAME",
"value": "Clemens Nylandsted Klokmose"
}
] | client_src/client.coffee | kar288/ddd | 0 | ###
Copyright 2016 Clemens Nylandsted Klokmose, Aarhus University
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 ag... | 211350 | ###
Copyright 2016 <NAME>, Aarhus University
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, s... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PI, Aarhus University
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... |
[
{
"context": "omise.resolve fabricate('artist', \n name: 'Oliver'\n image_urls:\n square: ''\n ",
"end": 610,
"score": 0.9782993793487549,
"start": 604,
"tag": "NAME",
"value": "Oliver"
},
{
"context": "st\n @res.locals.sd.ARTIST.name.should.equal 'O... | src/mobile/apps/artist/test/routes.coffee | kanaabe/force | 0 | { fabricate } = require 'antigravity'
sinon = require 'sinon'
Backbone = require 'backbone'
rewire = require 'rewire'
routes = rewire '../routes'
Q = require 'bluebird-q'
_ = require 'underscore'
describe '#index', ->
beforeEach ->
@req =
params:
id: 'artist-id'
headers:
'user-agent'... | 101571 | { fabricate } = require 'antigravity'
sinon = require 'sinon'
Backbone = require 'backbone'
rewire = require 'rewire'
routes = rewire '../routes'
Q = require 'bluebird-q'
_ = require 'underscore'
describe '#index', ->
beforeEach ->
@req =
params:
id: 'artist-id'
headers:
'user-agent'... | true | { fabricate } = require 'antigravity'
sinon = require 'sinon'
Backbone = require 'backbone'
rewire = require 'rewire'
routes = rewire '../routes'
Q = require 'bluebird-q'
_ = require 'underscore'
describe '#index', ->
beforeEach ->
@req =
params:
id: 'artist-id'
headers:
'user-agent'... |
[
{
"context": "###\n Author: ec.huyinghuan@gmail.com\n Date: 2015.07.06\n Describe:\n Gitlab仓库的delet",
"end": 37,
"score": 0.9999077916145325,
"start": 14,
"tag": "EMAIL",
"value": "ec.huyinghuan@gmail.com"
}
] | src/js/gitlab/gitlab-list-directive.coffee | Kiteam/kiteam-angular | 0 | ###
Author: ec.huyinghuan@gmail.com
Date: 2015.07.06
Describe:
Gitlab仓库的delete, fork, 和 commit的同步
###
define [
'../ng-module'
], (_module)->
templateList = "
<div class='gitlab-list'>
<header>
<h3><i class='icon small list title'></i>Git仓库列表</h3>
</header>
<ul>
<li n... | 153563 | ###
Author: <EMAIL>
Date: 2015.07.06
Describe:
Gitlab仓库的delete, fork, 和 commit的同步
###
define [
'../ng-module'
], (_module)->
templateList = "
<div class='gitlab-list'>
<header>
<h3><i class='icon small list title'></i>Git仓库列表</h3>
</header>
<ul>
<li ng-repeat='item i... | true | ###
Author: PI:EMAIL:<EMAIL>END_PI
Date: 2015.07.06
Describe:
Gitlab仓库的delete, fork, 和 commit的同步
###
define [
'../ng-module'
], (_module)->
templateList = "
<div class='gitlab-list'>
<header>
<h3><i class='icon small list title'></i>Git仓库列表</h3>
</header>
<ul>
<li ng... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9985167384147644,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "gth\n conn = net.createConnection(common.PORT, \"127.0.0.1\", connected)\n return\n tes... | test/simple/test-http-1.0-keep-alive.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... | 71522 | # 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 payment = new stripeTest.Payment stripeKey: '123', form: $form\n\n describe '#retrieveStripeToken',",
"end": 208,
"score": 0.9969215393066406,
"start": 205,
"tag": "KEY",
"value": "123"
},
{
"context": "ind('input[name=\"stripeToken\"]').val()).toEqual '123'\n\n ... | spec/javascripts/stripe_test/payment_spec.js.coffee | mumoc/stripe-whooks | 1 | describe 'stripeTest.Payment', ->
$.fx.off = true
$form = null
payment = null
beforeEach ->
fixture.load 'payment'
$form = $('#test-form')
payment = new stripeTest.Payment stripeKey: '123', form: $form
describe '#retrieveStripeToken', ->
it 'disables the form submit button', ->
spyOn(p... | 37498 | describe 'stripeTest.Payment', ->
$.fx.off = true
$form = null
payment = null
beforeEach ->
fixture.load 'payment'
$form = $('#test-form')
payment = new stripeTest.Payment stripeKey: '<KEY>', form: $form
describe '#retrieveStripeToken', ->
it 'disables the form submit button', ->
spyOn... | true | describe 'stripeTest.Payment', ->
$.fx.off = true
$form = null
payment = null
beforeEach ->
fixture.load 'payment'
$form = $('#test-form')
payment = new stripeTest.Payment stripeKey: 'PI:KEY:<KEY>END_PI', form: $form
describe '#retrieveStripeToken', ->
it 'disables the form submit button', -... |
[
{
"context": "###\nCopyright 2016 Resin.io\n\nLicensed under the Apache License, Version 2.0 (",
"end": 27,
"score": 0.8394848704338074,
"start": 22,
"tag": "NAME",
"value": "in.io"
}
] | lib/widgets/spinner.coffee | balena-io-modules/resin-cli-visuals | 5 | ###
Copyright 2016 Resin.io
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
distri... | 52663 | ###
Copyright 2016 Res<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
distr... | true | ###
Copyright 2016 ResPI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, ... |
[
{
"context": "exports.name = 'Tedious'\n",
"end": 23,
"score": 0.7872892022132874,
"start": 16,
"tag": "NAME",
"value": "Tedious"
}
] | src/library.coffee | calebTomlinson/tedious | 2 | exports.name = 'Tedious'
| 63267 | exports.name = '<NAME>'
| true | exports.name = 'PI:NAME:<NAME>END_PI'
|
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9961227774620056,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/path.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... | 21831 | # 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": "RING]/cryptoKeys/[KEY]\",\n \\tfriendly_name = \"friendly_name\",\n \\tlabels = [(\"key\", \"value\")]\n ",
"end": 5582,
"score": 0.4210326373577118,
"start": 5574,
"tag": "NAME",
"value": "friendly"
},
{
"context": "RING]/cryptoKeys/[KEY]\",\n \\tfr... | snippets/language-sql-bigquery.cson | shinichi-takii/atom-language-sql-bigquery | 2 | '.source.sql-bigquery':
'#standardSQL':
'prefix': 'standard'
'body': '#standardSQL'
'#legacySQL':
'prefix': 'legacy'
'body': '#legacySQL'
'`TABLE-NAME`':
'prefix': 'table'
'body': '`${1:project}.${2:dataset}.${3:table}`'
'[TABLE-NAME]':
'prefix': 'table legacy'
'body': '[${1:pro... | 25737 | '.source.sql-bigquery':
'#standardSQL':
'prefix': 'standard'
'body': '#standardSQL'
'#legacySQL':
'prefix': 'legacy'
'body': '#legacySQL'
'`TABLE-NAME`':
'prefix': 'table'
'body': '`${1:project}.${2:dataset}.${3:table}`'
'[TABLE-NAME]':
'prefix': 'table legacy'
'body': '[${1:pro... | true | '.source.sql-bigquery':
'#standardSQL':
'prefix': 'standard'
'body': '#standardSQL'
'#legacySQL':
'prefix': 'legacy'
'body': '#legacySQL'
'`TABLE-NAME`':
'prefix': 'table'
'body': '`${1:project}.${2:dataset}.${3:table}`'
'[TABLE-NAME]':
'prefix': 'table legacy'
'body': '[${1:pro... |
[
{
"context": "###\n# @author Jinzulen\n# @license Apache 2.0\n# @copyright Copyright 2020",
"end": 22,
"score": 0.9998666048049927,
"start": 14,
"tag": "NAME",
"value": "Jinzulen"
},
{
"context": "\n# @license Apache 2.0\n# @copyright Copyright 2020 Khalil G. <https://github.com/Jinz... | src/Methods/Emotes/Category.coffee | King-BR/DEmojiJS | 1 | ###
# @author Jinzulen
# @license Apache 2.0
# @copyright Copyright 2020 Khalil G. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabCategory
constructor: (Category, Callback) ->
return new Promise (Resolve, Reject) ->
if !Category then Reject "# [... | 174328 | ###
# @author <NAME>
# @license Apache 2.0
# @copyright Copyright 2020 <NAME>. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabCategory
constructor: (Category, Callback) ->
return new Promise (Resolve, Reject) ->
if !Category then Reject "# [DEmo... | true | ###
# @author PI:NAME:<NAME>END_PI
# @license Apache 2.0
# @copyright Copyright 2020 PI:NAME:<NAME>END_PI. <https://github.com/Jinzulen>
###
API = require "../../API/EmojiAPI"
module.exports = class GrabCategory
constructor: (Category, Callback) ->
return new Promise (Resolve, Reject) ->
if !C... |
[
{
"context": "eUser\n email: admin.email\n password: admin.password\n profile:\n name: admin.name\n ",
"end": 546,
"score": 0.999106228351593,
"start": 532,
"tag": "PASSWORD",
"value": "admin.password"
},
{
"context": "d: admin.password\n prof... | app/005_users/users.coffee | PEM--/asv-la-soiree | 1 | if Meteor.isServer
# Check if Meteor is launched with settings.
if Meteor.settings.admins is undefined
err = 'Launch Meteor with settings: meteor --settings settings.json'
appLog.error err
return throw new Meteor.Error 'setup', err
# Check if at least one users has been created.
if Meteor.users.find... | 1889 | if Meteor.isServer
# Check if Meteor is launched with settings.
if Meteor.settings.admins is undefined
err = 'Launch Meteor with settings: meteor --settings settings.json'
appLog.error err
return throw new Meteor.Error 'setup', err
# Check if at least one users has been created.
if Meteor.users.find... | true | if Meteor.isServer
# Check if Meteor is launched with settings.
if Meteor.settings.admins is undefined
err = 'Launch Meteor with settings: meteor --settings settings.json'
appLog.error err
return throw new Meteor.Error 'setup', err
# Check if at least one users has been created.
if Meteor.users.find... |
[
{
"context": "d for pixi.js with every basics you need\n# @author David Ronai / Makiopolis.com / @Makio64\n#\n\nStageRenderer = re",
"end": 72,
"score": 0.9998295307159424,
"start": 61,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "every basics you need\n# @author David Rona... | test/src/coffee/core/Stage2d.coffee | Makio64/christmasxp2015 | 65 | #
# Stage2d for pixi.js with every basics you need
# @author David Ronai / Makiopolis.com / @Makio64
#
StageRenderer = require('core/StageRenderer')
class Stage2d
@stage = null
@renderer = null
@isInit = false
@isActivated = false
@init:(@options = {})->
if(@isInit)
@activate(@options)
return
... | 29866 | #
# Stage2d for pixi.js with every basics you need
# @author <NAME> / Maki<EMAIL>.<EMAIL> / @Makio64
#
StageRenderer = require('core/StageRenderer')
class Stage2d
@stage = null
@renderer = null
@isInit = false
@isActivated = false
@init:(@options = {})->
if(@isInit)
@activate(@options)
return
... | true | #
# Stage2d for pixi.js with every basics you need
# @author PI:NAME:<NAME>END_PI / MakiPI:EMAIL:<EMAIL>END_PI.PI:EMAIL:<EMAIL>END_PI / @Makio64
#
StageRenderer = require('core/StageRenderer')
class Stage2d
@stage = null
@renderer = null
@isInit = false
@isActivated = false
@init:(@options = {})->
if(... |
[
{
"context": "# log2sections.coffee\n# \n# Chris Greenhalgh, The University of Nottingham, 2015\n# \n# Convert ",
"end": 43,
"score": 0.9998799562454224,
"start": 27,
"tag": "NAME",
"value": "Chris Greenhalgh"
}
] | tools/sectionviz/log2sections.coffee | uglybarnacle17/big-meaty-claws | 0 | # log2sections.coffee
#
# Chris Greenhalgh, The University of Nottingham, 2015
#
# Convert doaplayer log to select sections info for visualiation
#
# Usage:
# coffee log2sections.coffee <composition.json> <trackname> <logfile> <outfile.json>
#
# Output json object with
# - selections - array
fs = require "fs"
if ... | 85149 | # log2sections.coffee
#
# <NAME>, The University of Nottingham, 2015
#
# Convert doaplayer log to select sections info for visualiation
#
# Usage:
# coffee log2sections.coffee <composition.json> <trackname> <logfile> <outfile.json>
#
# Output json object with
# - selections - array
fs = require "fs"
if process.ar... | true | # log2sections.coffee
#
# PI:NAME:<NAME>END_PI, The University of Nottingham, 2015
#
# Convert doaplayer log to select sections info for visualiation
#
# Usage:
# coffee log2sections.coffee <composition.json> <trackname> <logfile> <outfile.json>
#
# Output json object with
# - selections - array
fs = require "fs"
... |
[
{
"context": " headline: 'Get updates on new shows and works by Roni Horn.'\n mode: 'inline'\n name: 'artist_ct",
"end": 1501,
"score": 0.9974337816238403,
"start": 1492,
"tag": "NAME",
"value": "Roni Horn"
},
{
"context": " copy: 'Get the latest new shows and wor... | src/desktop/components/cta_bar/test/view.test.coffee | xtina-starr/force | 1 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
CTABarView = benv.requireWithJadeify resolve(__dirname, '../view'), ['template']
describe 'CTABarView', ->
before (done) ->
benv.setup =>
benv.expose $: benv.require('jquery'), ... | 201381 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
CTABarView = benv.requireWithJadeify resolve(__dirname, '../view'), ['template']
describe 'CTABarView', ->
before (done) ->
benv.setup =>
benv.expose $: benv.require('jquery'), ... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
CTABarView = benv.requireWithJadeify resolve(__dirname, '../view'), ['template']
describe 'CTABarView', ->
before (done) ->
benv.setup =>
benv.expose $: benv.require('jquery'), ... |
[
{
"context": ".get('player') is '' or @parent.get('player') is @fbUserName\n @parent.set('player', @fbUserName",
"end": 2843,
"score": 0.8622820377349854,
"start": 2833,
"tag": "USERNAME",
"value": "fbUserName"
},
{
"context": " @fbUserName\n @parent.set... | lib/asteroids/facebook_leaderboard.coffee | darkoverlordofdata/asteroids-cocoonjs | 1 | #+--------------------------------------------------------------------+
#| facebook_leaderboard.coffee
#+--------------------------------------------------------------------+
#| Copyright DarkOverlordOfData (c) 2015
#+--------------------------------------------------------------------+
#|
#| This file is a part of fac... | 72657 | #+--------------------------------------------------------------------+
#| facebook_leaderboard.coffee
#+--------------------------------------------------------------------+
#| Copyright DarkOverlordOfData (c) 2015
#+--------------------------------------------------------------------+
#|
#| This file is a part of fac... | true | #+--------------------------------------------------------------------+
#| facebook_leaderboard.coffee
#+--------------------------------------------------------------------+
#| Copyright DarkOverlordOfData (c) 2015
#+--------------------------------------------------------------------+
#|
#| This file is a part of fac... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999113082885742,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/game-mode-switcher.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, button, div, li, span, ul } from 'react-dom-factories'
el = React.createElement
bn = 'game-mode'
exp... | 136434 | # 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, button, div, li, span, ul } from 'react-dom-factories'
el = React.createElement
bn = 'game-mode'
export cla... | 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, button, div, li, span, ul } from 'react-dom-factories'
el = React.createElement
bn = 'game-mod... |
[
{
"context": "define ['fs', 'pem'], (fs, pem) ->\n keyFile = 'example-server.key'\n certFile = 'example-server.crt'\n\n getCertific",
"end": 66,
"score": 0.9567375183105469,
"start": 48,
"tag": "KEY",
"value": "example-server.key"
}
] | coffees/get-own-certs.coffee | RedBulli/speech_to_text_chat | 1 | define ['fs', 'pem'], (fs, pem) ->
keyFile = 'example-server.key'
certFile = 'example-server.crt'
getCertificates = (callback) ->
fs.readFile keyFile, encoding: 'utf8', (keyErr, key) ->
fs.readFile certFile, encoding: 'utf8', (certErr, cert) ->
if !(keyErr || certErr) && key && cert
c... | 104785 | define ['fs', 'pem'], (fs, pem) ->
keyFile = '<KEY>'
certFile = 'example-server.crt'
getCertificates = (callback) ->
fs.readFile keyFile, encoding: 'utf8', (keyErr, key) ->
fs.readFile certFile, encoding: 'utf8', (certErr, cert) ->
if !(keyErr || certErr) && key && cert
callback(key: ... | true | define ['fs', 'pem'], (fs, pem) ->
keyFile = 'PI:KEY:<KEY>END_PI'
certFile = 'example-server.crt'
getCertificates = (callback) ->
fs.readFile keyFile, encoding: 'utf8', (keyErr, key) ->
fs.readFile certFile, encoding: 'utf8', (certErr, cert) ->
if !(keyErr || certErr) && key && cert
c... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998546838760376,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/halloformat.coffee | GerHobbelt/hallo | 682 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget "IKS.halloformat",
options:
editable: null
uuid: ''
formattings:
bold: true
italic: true
... | 10152 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget "IKS.halloformat",
options:
editable: null
uuid: ''
formattings:
bold: true
italic: true
strikeT... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget "IKS.halloformat",
options:
editable: null
uuid: ''
formattings:
bold: true
italic: true
... |
[
{
"context": "grant_id).data.Person\n# Will return {FamilyName: \"Friston\", GivenName: \"Karl\", Initials: \"KJ\", Title: \"Prof",
"end": 378,
"score": 0.9998137354850769,
"start": 371,
"tag": "NAME",
"value": "Friston"
},
{
"context": "# Will return {FamilyName: \"Friston\", GivenN... | server/use/grist.coffee | leviathanindustries/noddy | 2 |
# Docs: https://europepmc.org/GristAPI
# Fields you can search by: https://europepmc.org/GristAPI#API
# Example, get info by grant ID: http://www.ebi.ac.uk/europepmc/GristAPI/rest/get/query=gid:088130&resultType=core&format=json
# Use case: To get the name of a Principal Investigator, call API.use.grist.grant_id(the... | 120391 |
# Docs: https://europepmc.org/GristAPI
# Fields you can search by: https://europepmc.org/GristAPI#API
# Example, get info by grant ID: http://www.ebi.ac.uk/europepmc/GristAPI/rest/get/query=gid:088130&resultType=core&format=json
# Use case: To get the name of a Principal Investigator, call API.use.grist.grant_id(the... | true |
# Docs: https://europepmc.org/GristAPI
# Fields you can search by: https://europepmc.org/GristAPI#API
# Example, get info by grant ID: http://www.ebi.ac.uk/europepmc/GristAPI/rest/get/query=gid:088130&resultType=core&format=json
# Use case: To get the name of a Principal Investigator, call API.use.grist.grant_id(the... |
[
{
"context": " =>\n to ?= if @locale is 'ja' then '名無し' else 'John Doe'\n if @locale is 'ja' then \"こんにちわ、#{to}さん!\" els",
"end": 180,
"score": 0.999167799949646,
"start": 172,
"tag": "NAME",
"value": "John Doe"
}
] | src/index.coffee | toshiyukihina/hello-node-module | 0 | module.exports = (locale) ->
new Hello(locale)
class Hello
constructor: (locale) ->
@locale = locale
say: (to) =>
to ?= if @locale is 'ja' then '名無し' else 'John Doe'
if @locale is 'ja' then "こんにちわ、#{to}さん!" else "Hello #{to}!"
| 68408 | module.exports = (locale) ->
new Hello(locale)
class Hello
constructor: (locale) ->
@locale = locale
say: (to) =>
to ?= if @locale is 'ja' then '名無し' else '<NAME>'
if @locale is 'ja' then "こんにちわ、#{to}さん!" else "Hello #{to}!"
| true | module.exports = (locale) ->
new Hello(locale)
class Hello
constructor: (locale) ->
@locale = locale
say: (to) =>
to ?= if @locale is 'ja' then '名無し' else 'PI:NAME:<NAME>END_PI'
if @locale is 'ja' then "こんにちわ、#{to}さん!" else "Hello #{to}!"
|
[
{
"context": "require 'superagent'\n\n#登录加密,参考 https://github.com/stkevintan/Cube/blob/master/src/model/Crypto.js\naddPadding =",
"end": 127,
"score": 0.9997376203536987,
"start": 117,
"tag": "USERNAME",
"value": "stkevintan"
},
{
"context": " = crypto.createCipheriv 'AES-128-CBC', s... | netease-cloud-music.coffee | phantomk/auto-sign-in | 0 | crypto = require 'crypto'
bigInt = require 'big-integer'
request = require 'superagent'
#登录加密,参考 https://github.com/stkevintan/Cube/blob/master/src/model/Crypto.js
addPadding = (encText, modulus) ->
ml = modulus.length
i = 0
while (ml > 0 and modulus[i] is '0')
ml--
i++
num = ml - encText.length
pref... | 92187 | crypto = require 'crypto'
bigInt = require 'big-integer'
request = require 'superagent'
#登录加密,参考 https://github.com/stkevintan/Cube/blob/master/src/model/Crypto.js
addPadding = (encText, modulus) ->
ml = modulus.length
i = 0
while (ml > 0 and modulus[i] is '0')
ml--
i++
num = ml - encText.length
pref... | true | crypto = require 'crypto'
bigInt = require 'big-integer'
request = require 'superagent'
#登录加密,参考 https://github.com/stkevintan/Cube/blob/master/src/model/Crypto.js
addPadding = (encText, modulus) ->
ml = modulus.length
i = 0
while (ml > 0 and modulus[i] is '0')
ml--
i++
num = ml - encText.length
pref... |
[
{
"context": "root = window \n\nwindow.hello = \"terve enginesta\"\n\n#jeesus.jeesus()\n#console.log \"Parsing redditen",
"end": 47,
"score": 0.999859094619751,
"start": 32,
"tag": "NAME",
"value": "terve enginesta"
},
{
"context": "l arguments if @console\n\treturn\n\n\nwindow.hello... | data/coffeescript/42d1eb6ae948764933d9c9af53b13e87_redditengine.coffee | maxim5/code-inspector | 5 | root = window
window.hello = "terve enginesta"
#jeesus.jeesus()
#console.log "Parsing redditengine!!!"
window.log = ->
#alert arguments[0]
#console.log Array::slice.call arguments
console.log Array::slice.call arguments if @console
return
window.hello = "terve enginesta2"
class App
start: ->
l... | 203917 | root = window
window.hello = "<NAME>"
#jeesus.jeesus()
#console.log "Parsing redditengine!!!"
window.log = ->
#alert arguments[0]
#console.log Array::slice.call arguments
console.log Array::slice.call arguments if @console
return
window.hello = "<NAME>"
class App
start: ->
log 21
$("di... | true | root = window
window.hello = "PI:NAME:<NAME>END_PI"
#jeesus.jeesus()
#console.log "Parsing redditengine!!!"
window.log = ->
#alert arguments[0]
#console.log Array::slice.call arguments
console.log Array::slice.call arguments if @console
return
window.hello = "PI:NAME:<NAME>END_PI"
class App
start: ->
... |
[
{
"context": "me; // \"语音风暴\"\n private String studentName; // \"老师3\"\n private int userType; // 1030410\n private",
"end": 226,
"score": 0.8071479797363281,
"start": 223,
"tag": "NAME",
"value": "老师3"
},
{
"context": "BACFC30978F53B7\"\n private String username; // \"la... | spec/gen-code/fileds-java-db-spec.coffee | yuanliwei/generate | 0 | Config = require '../../lib/config'
return if Config.runOneSpec
format = require 'string-format'
format.extend(String.prototype)
filedStr = """
private String schoolName; // "语音风暴"
private String studentName; // "老师3"
private int userType; // 1030410
private String studentUuid; // "FE8D6C7064BF2A3B0BA... | 178999 | Config = require '../../lib/config'
return if Config.runOneSpec
format = require 'string-format'
format.extend(String.prototype)
filedStr = """
private String schoolName; // "语音风暴"
private String studentName; // "<NAME>"
private int userType; // 1030410
private String studentUuid; // "FE8D6C7064BF2A3B... | true | Config = require '../../lib/config'
return if Config.runOneSpec
format = require 'string-format'
format.extend(String.prototype)
filedStr = """
private String schoolName; // "语音风暴"
private String studentName; // "PI:NAME:<NAME>END_PI"
private int userType; // 1030410
private String studentUuid; // "FE... |
[
{
"context": "verview Tests for no-extend-native rule.\n# @author David Nelson\n###\n\n'use strict'\n\n#-----------------------------",
"end": 76,
"score": 0.999735414981842,
"start": 64,
"tag": "NAME",
"value": "David Nelson"
},
{
"context": "eptions: ['Object']]\n ,\n # https:/... | src/tests/rules/no-extend-native.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-extend-native rule.
# @author David Nelson
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-extend-nativ... | 11696 | ###*
# @fileoverview Tests for no-extend-native rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-extend-native'
{Ru... | true | ###*
# @fileoverview Tests for no-extend-native rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-exte... |
[
{
"context": " type: 'POST'\n data:\n name: name\n phone: phone\n email: email\n ",
"end": 2290,
"score": 0.9024372100830078,
"start": 2286,
"tag": "NAME",
"value": "name"
},
{
"context": "lert-danger').append $('<strong>').text('Sorry ' + f... | app/assets/javascripts/home.coffee | michaelbrawn/website | 1 | $ ->
'use strict'
# Start of use strict
# Smooth scrolling using jQuery easing
$('a.js-scroll-trigger[href*="#"]:not([href="#"])').click ->
if location.pathname.replace(/^\//, '') == @pathname.replace(/^\//, '') and location.hostname == @hostname
target = $(@hash)
target = if target.length then... | 29869 | $ ->
'use strict'
# Start of use strict
# Smooth scrolling using jQuery easing
$('a.js-scroll-trigger[href*="#"]:not([href="#"])').click ->
if location.pathname.replace(/^\//, '') == @pathname.replace(/^\//, '') and location.hostname == @hostname
target = $(@hash)
target = if target.length then... | true | $ ->
'use strict'
# Start of use strict
# Smooth scrolling using jQuery easing
$('a.js-scroll-trigger[href*="#"]:not([href="#"])').click ->
if location.pathname.replace(/^\//, '') == @pathname.replace(/^\//, '') and location.hostname == @hostname
target = $(@hash)
target = if target.length then... |
[
{
"context": "tps://www.google.com/maps/embed/v1/directions?key=AIzaSyCHMIcsEYQt1RoizBuH--1bWaWFNUcqM2I&origin=[endereco_saida_completo]&destination=[end",
"end": 3145,
"score": 0.999736487865448,
"start": 3106,
"tag": "KEY",
"value": "AIzaSyCHMIcsEYQt1RoizBuH--1bWaWFNUcqM2I"
}
] | web/themes/theme1/js/pesquisar-carona.coffee | FilipeMorelli/trabalhoWebPratico | 1 | class PesquisarCarona
formulario: $("#form-pesquisar-carona")
campoPesquisa: $("#pesquisar")
campoResultado: $(".result-search")
placeSearch: null
autocomplete: null
OferecerCarona: {}
componentForm:
street_number: 'short_name', #numero
route: 'long_name', #endereco
... | 78781 | class PesquisarCarona
formulario: $("#form-pesquisar-carona")
campoPesquisa: $("#pesquisar")
campoResultado: $(".result-search")
placeSearch: null
autocomplete: null
OferecerCarona: {}
componentForm:
street_number: 'short_name', #numero
route: 'long_name', #endereco
... | true | class PesquisarCarona
formulario: $("#form-pesquisar-carona")
campoPesquisa: $("#pesquisar")
campoResultado: $(".result-search")
placeSearch: null
autocomplete: null
OferecerCarona: {}
componentForm:
street_number: 'short_name', #numero
route: 'long_name', #endereco
... |
[
{
"context": "module.exports =\n name: 'Accel Partners',\n data:\n shortname: 'Accl'\n type: 'Private'",
"end": 40,
"score": 0.9942658543586731,
"start": 26,
"tag": "NAME",
"value": "Accel Partners"
},
{
"context": "\n name: 'Accel Partners',\n data:\n shortname: 'Accl'\n ... | test/support/accelPartnersJSON.coffee | penne12/WhoseNews | 3 | module.exports =
name: 'Accel Partners',
data:
shortname: 'Accl'
type: 'Private'
headquarters: 'Palo Alto, California, U.S.'
description: ''
wikipedia: 'https://en.wikipedia.org/wiki/Accel_Partners'
commercial: true
url: 'http://www.accel.com/'
crunchbase: 'https://www.crunchbase.com/organiz... | 194510 | module.exports =
name: '<NAME>',
data:
shortname: '<NAME>'
type: 'Private'
headquarters: 'Palo Alto, California, U.S.'
description: ''
wikipedia: 'https://en.wikipedia.org/wiki/Accel_Partners'
commercial: true
url: 'http://www.accel.com/'
crunchbase: 'https://www.crunchbase.com/organization/... | true | module.exports =
name: 'PI:NAME:<NAME>END_PI',
data:
shortname: 'PI:NAME:<NAME>END_PI'
type: 'Private'
headquarters: 'Palo Alto, California, U.S.'
description: ''
wikipedia: 'https://en.wikipedia.org/wiki/Accel_Partners'
commercial: true
url: 'http://www.accel.com/'
crunchbase: 'https://www.... |
[
{
"context": "store.remove done\n\n beforeEach ->\n @redisKey = uuid.v1()\n @jobManager = new JobManager\n client: ",
"end": 621,
"score": 0.9645653367042542,
"start": 614,
"tag": "KEY",
"value": "uuid.v1"
}
] | test/enqueue-jobs-for-subscriptions-unregister-received-spec.coffee | octoblu/meshblu-core-task-enqueue-jobs-for-subscriptions-unregister-received | 0 | redis = require 'fakeredis'
RedisNS = require '@octoblu/redis-ns'
mongojs = require 'mongojs'
uuid = require 'uuid'
Datastore = require 'meshblu-core-datastore'
JobManager = require 'meshblu-core-job-manager'
{beforeEach, context, describe, it} = global
{expect} = require 'chai'
EnqueueJobsForSubscrip... | 130937 | redis = require 'fakeredis'
RedisNS = require '@octoblu/redis-ns'
mongojs = require 'mongojs'
uuid = require 'uuid'
Datastore = require 'meshblu-core-datastore'
JobManager = require 'meshblu-core-job-manager'
{beforeEach, context, describe, it} = global
{expect} = require 'chai'
EnqueueJobsForSubscrip... | true | redis = require 'fakeredis'
RedisNS = require '@octoblu/redis-ns'
mongojs = require 'mongojs'
uuid = require 'uuid'
Datastore = require 'meshblu-core-datastore'
JobManager = require 'meshblu-core-job-manager'
{beforeEach, context, describe, it} = global
{expect} = require 'chai'
EnqueueJobsForSubscrip... |
[
{
"context": "###\nCopyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(",
"end": 36,
"score": 0.9998455047607422,
"start": 24,
"tag": "NAME",
"value": "Bill Burdick"
},
{
"context": ", Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(lic... | leisure/build/src/testLeisure.coffee | zot/Leisure | 58 | ###
Copyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyo... | 159863 | ###
Copyright (C) 2013, <NAME>, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to ... | true | ###
Copyright (C) 2013, PI:NAME:<NAME>END_PI, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted... |
[
{
"context": " id: result.postCount\n name: name\n text: req.body.comment\n is",
"end": 1927,
"score": 0.9955489635467529,
"start": 1923,
"tag": "NAME",
"value": "name"
},
{
"context": "w Post(\n id: currentPostCount\n name: n... | server/controllers/board_controller.coffee | Nuke928/nchan | 0 | Board = require '../models/board'
Post = require '../models/post'
Thread = require '../models/thread'
escape = require 'escape-html'
markup = require '../lib/markup'
async = require 'async'
boardController = {}
boardController.index = (req, res) ->
Board.find {}, (err, result) ->
params =
boards: result
... | 149713 | Board = require '../models/board'
Post = require '../models/post'
Thread = require '../models/thread'
escape = require 'escape-html'
markup = require '../lib/markup'
async = require 'async'
boardController = {}
boardController.index = (req, res) ->
Board.find {}, (err, result) ->
params =
boards: result
... | true | Board = require '../models/board'
Post = require '../models/post'
Thread = require '../models/thread'
escape = require 'escape-html'
markup = require '../lib/markup'
async = require 'async'
boardController = {}
boardController.index = (req, res) ->
Board.find {}, (err, result) ->
params =
boards: result
... |
[
{
"context": "one)->\n api.post('/user')\n .send(username: 'test1', password: 'test')\n .expect(201)\n .expect(",
"end": 1019,
"score": 0.9996219873428345,
"start": 1014,
"tag": "USERNAME",
"value": "test1"
},
{
"context": "('/user')\n .send(username: 'test1', password... | test/server/user.coffee | ethanmick/fastchat-server | 7 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
supertest = require('supertest')
api = supertest('http://localhost:6190')
mongoose = require('mongoose')
User = require('../../lib/model/user')
token = null
createdUser = null
UNAUTHENTICATED_MESSAGE = 'Unauthorized'
AvatarTests = process.env.AWS_KEY... | 107650 | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
supertest = require('supertest')
api = supertest('http://localhost:6190')
mongoose = require('mongoose')
User = require('../../lib/model/user')
token = null
createdUser = null
UNAUTHENTICATED_MESSAGE = 'Unauthorized'
AvatarTests = process.env.AWS_KEY... | true | 'use strict'
#
# FastChat
# 2015
#
should = require('chai').should()
supertest = require('supertest')
api = supertest('http://localhost:6190')
mongoose = require('mongoose')
User = require('../../lib/model/user')
token = null
createdUser = null
UNAUTHENTICATED_MESSAGE = 'Unauthorized'
AvatarTests = process.env.AWS_KEY... |
[
{
"context": ",\n account: process.env.SMTP_ACCOUNT,\n password: process.env.SMTP_PASSWORD,\n host: process.env.SMTP_HOST || 'localhost',\n ",
"end": 2009,
"score": 0.9993170499801636,
"start": 1984,
"tag": "PASSWORD",
"value": "process.env.SMTP_PASSWORD"
}
] | server/app/server.coffee | chriscx/Fluid | 0 | fs = require 'fs'
cluster = require 'cluster'
numCPUs = require('os').cpus().length
path = require 'path'
express = require 'express'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
methodOverride = require 'method-override'
mongoose = require 'mongoose'
passport = require 'passport'
expressSe... | 15481 | fs = require 'fs'
cluster = require 'cluster'
numCPUs = require('os').cpus().length
path = require 'path'
express = require 'express'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
methodOverride = require 'method-override'
mongoose = require 'mongoose'
passport = require 'passport'
expressSe... | true | fs = require 'fs'
cluster = require 'cluster'
numCPUs = require('os').cpus().length
path = require 'path'
express = require 'express'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
methodOverride = require 'method-override'
mongoose = require 'mongoose'
passport = require 'passport'
expressSe... |
[
{
"context": "# @author Justin Lau <justin@tclau.com>\n# @copyright Copyright (c) 201",
"end": 23,
"score": 0.9998607635498047,
"start": 13,
"tag": "NAME",
"value": "Justin Lau"
},
{
"context": "# @author Justin Lau <justin@tclau.com>\n# @copyright Copyright (c) 2014 Justin Lau... | src/scripts/values/icon-groups-map.coffee | Sontan/ui-iconpicker | 2 | # @author Justin Lau <justin@tclau.com>
# @copyright Copyright (c) 2014 Justin Lau <justin@tclau.com>
# @license The MIT License (MIT)
#
# 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 w... | 79193 | # @author <NAME> <<EMAIL>>
# @copyright Copyright (c) 2014 <NAME> <<EMAIL>>
# @license The MIT License (MIT)
#
# 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, includ... | true | # @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @copyright Copyright (c) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @license The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Softwar... |
[
{
"context": "#\n# * grunt-phonegap\n# * https://github.com/logankoester/grunt-phonegap\n# *\n# * Copyright (c) 2013-2014 Lo",
"end": 56,
"score": 0.9996384978294373,
"start": 44,
"tag": "USERNAME",
"value": "logankoester"
},
{
"context": "ter/grunt-phonegap\n# *\n# * Copyright (c) 2... | Gruntfile.coffee | adriancmiranda/grunt-phonegap | 0 | #
# * grunt-phonegap
# * https://github.com/logankoester/grunt-phonegap
# *
# * Copyright (c) 2013-2014 Logan Koester
# * Licensed under the MIT license.
#
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
# Configuration to be run (and then test... | 107379 | #
# * grunt-phonegap
# * https://github.com/logankoester/grunt-phonegap
# *
# * Copyright (c) 2013-2014 <NAME>
# * Licensed under the MIT license.
#
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
# Configuration to be run (and then tested).
... | true | #
# * grunt-phonegap
# * https://github.com/logankoester/grunt-phonegap
# *
# * Copyright (c) 2013-2014 PI:NAME:<NAME>END_PI
# * Licensed under the MIT license.
#
module.exports = (grunt) ->
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
# Configuration to be run (and th... |
[
{
"context": "ffice Hours\n#\n# Commands:\n# none\n#\n# Author:\n# Ben Ford <ben.ford@puppet.com>\n\nCronJob = require('cron').",
"end": 96,
"score": 0.9998374581336975,
"start": 88,
"tag": "NAME",
"value": "Ben Ford"
},
{
"context": "\n#\n# Commands:\n# none\n#\n# Author:\n# ... | scripts/office-hours.coffee | jstraw/bunsen | 0 | # Description:
# Puppet Community Office Hours
#
# Commands:
# none
#
# Author:
# Ben Ford <ben.ford@puppet.com>
CronJob = require('cron').CronJob
calendarUrl = "https://www.googleapis.com/calendar/v3/calendars/puppet.com_1bv1p3pc433btsejtm5hikhmec@group.calendar.google.com/events"
main_channel = 'puppet'
office... | 157699 | # Description:
# Puppet Community Office Hours
#
# Commands:
# none
#
# Author:
# <NAME> <<EMAIL>>
CronJob = require('cron').CronJob
calendarUrl = "https://www.googleapis.com/calendar/v3/calendars/puppet.com_1bv1p3pc433btsejtm5hikhmec@group.calendar.google.com/events"
main_channel = 'puppet'
office_hours = 'offi... | true | # Description:
# Puppet Community Office Hours
#
# Commands:
# none
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
CronJob = require('cron').CronJob
calendarUrl = "https://www.googleapis.com/calendar/v3/calendars/puppet.com_1bv1p3pc433btsejtm5hikhmec@group.calendar.google.com/events"
main_channel = ... |
[
{
"context": "###\n knockback_event_watcher.js\n (c) 2011-2013 Kevin Malakoff.\n Knockback.Observable is fremitterly distributa",
"end": 63,
"score": 0.9998041391372681,
"start": 49,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": " for full license details:\n https://... | src/core/event-watcher.coffee | npmcomponent/kmalakoff-knockback | 1 | ###
knockback_event_watcher.js
(c) 2011-2013 Kevin Malakoff.
Knockback.Observable is fremitterly distributable under the MIT license.
Semitter the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# Used to provide a central place to aggregate registered Mod... | 202339 | ###
knockback_event_watcher.js
(c) 2011-2013 <NAME>.
Knockback.Observable is fremitterly distributable under the MIT license.
Semitter the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# Used to provide a central place to aggregate registered Model event... | true | ###
knockback_event_watcher.js
(c) 2011-2013 PI:NAME:<NAME>END_PI.
Knockback.Observable is fremitterly distributable under the MIT license.
Semitter the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# Used to provide a central place to aggregate register... |
[
{
"context": "###*\n# Screenshooter\n# https://github.com/orangenpresse/grunt-phantomjs-screenshot\n#\n# Copyright (c) 2014",
"end": 55,
"score": 0.9986435174942017,
"start": 42,
"tag": "USERNAME",
"value": "orangenpresse"
},
{
"context": "/grunt-phantomjs-screenshot\n#\n# Copyright ... | src/Screenshooter.coffee | gruntjs-updater/grunt-phantomjs-screenshot | 6 | ###*
# Screenshooter
# https://github.com/orangenpresse/grunt-phantomjs-screenshot
#
# Copyright (c) 2014 Benedict Burckhart
# Licensed under the MIT license.
#
###
phantom = require('node-phantom-simple')
class Screenshooter
init: (@grunt, @done, @options, callback) ->
@threads = 0
phantom.create @getCreateCall... | 55762 | ###*
# Screenshooter
# https://github.com/orangenpresse/grunt-phantomjs-screenshot
#
# Copyright (c) 2014 <NAME>
# Licensed under the MIT license.
#
###
phantom = require('node-phantom-simple')
class Screenshooter
init: (@grunt, @done, @options, callback) ->
@threads = 0
phantom.create @getCreateCallback(callbac... | true | ###*
# Screenshooter
# https://github.com/orangenpresse/grunt-phantomjs-screenshot
#
# Copyright (c) 2014 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
#
###
phantom = require('node-phantom-simple')
class Screenshooter
init: (@grunt, @done, @options, callback) ->
@threads = 0
phantom.create @getCreateCa... |
[
{
"context": "on)\n\nsessionStore = new SessionRedisStore\n\thost: '127.0.0.1'\n\tdb: 1\n\ncrossOrigin = (req, res, next) ->\n\tif re",
"end": 551,
"score": 0.9997478127479553,
"start": 542,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "teServer app\n\nhttpServer.listen ... | app.coffee | infernoboy/firefly | 1 | express = require 'express'
session = require 'express-session'
logger = require 'express-logger'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
errorHandler = require 'errorhandler'
http = require 'http'
path = require 'path'
{db} = require './db'
app = express()
less = require 'less-middlew... | 163144 | express = require 'express'
session = require 'express-session'
logger = require 'express-logger'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
errorHandler = require 'errorhandler'
http = require 'http'
path = require 'path'
{db} = require './db'
app = express()
less = require 'less-middlew... | true | express = require 'express'
session = require 'express-session'
logger = require 'express-logger'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
errorHandler = require 'errorhandler'
http = require 'http'
path = require 'path'
{db} = require './db'
app = express()
less = require 'less-middlew... |
[
{
"context": "/Grade\"\n\ngradeEntity=new gradeModel(\n student:'53b81f0cfb6310cc12ff820f'\n course:'53b8d654805cf358317ff37b'\n score:",
"end": 171,
"score": 0.9983484148979187,
"start": 147,
"tag": "KEY",
"value": "53b81f0cfb6310cc12ff820f"
}
] | test/gradeTest.coffee | ycjcl868/StudentInfo | 0 | db = require('../config/database');
mongoose = require 'mongoose'
gradeModel = require "../model/Grade"
gradeEntity=new gradeModel(
student:'53b81f0cfb6310cc12ff820f'
course:'53b8d654805cf358317ff37b'
score:90
)
gradeEntity.save((err)->
if err?
console.log(err)
) | 208573 | db = require('../config/database');
mongoose = require 'mongoose'
gradeModel = require "../model/Grade"
gradeEntity=new gradeModel(
student:'<KEY>'
course:'53b8d654805cf358317ff37b'
score:90
)
gradeEntity.save((err)->
if err?
console.log(err)
) | true | db = require('../config/database');
mongoose = require 'mongoose'
gradeModel = require "../model/Grade"
gradeEntity=new gradeModel(
student:'PI:KEY:<KEY>END_PI'
course:'53b8d654805cf358317ff37b'
score:90
)
gradeEntity.save((err)->
if err?
console.log(err)
) |
[
{
"context": " # USAGE EXAMPLES:\n # collection.search '\"John Doe\" superhero', 'name',\n # tags: flds: 'descr",
"end": 5385,
"score": 0.9997900724411011,
"start": 5377,
"tag": "NAME",
"value": "John Doe"
}
] | src/_BaseCollections.coffee | mullerzs/scapula | 0 | define (require) ->
_ = require 'underscore'
Backbone = require 'backbone'
utils = require 'utils'
Base = {}
# ---- Collection -----------------------------------------------------------
class Base.Collection extends Backbone.Collection
constructor: (models, options) ->
super
options ?= {... | 206390 | define (require) ->
_ = require 'underscore'
Backbone = require 'backbone'
utils = require 'utils'
Base = {}
# ---- Collection -----------------------------------------------------------
class Base.Collection extends Backbone.Collection
constructor: (models, options) ->
super
options ?= {... | true | define (require) ->
_ = require 'underscore'
Backbone = require 'backbone'
utils = require 'utils'
Base = {}
# ---- Collection -----------------------------------------------------------
class Base.Collection extends Backbone.Collection
constructor: (models, options) ->
super
options ?= {... |
[
{
"context": "oundImageCredit: \"\"\"\n Background image © Clinton Bauder, <a href=\"http://metridium.com/\">metridium.com</a",
"end": 564,
"score": 0.9998878836631775,
"start": 550,
"tag": "NAME",
"value": "Clinton Bauder"
},
{
"context": "Forests</a> Blog and <a href='htt... | translations/en-us.coffee | zooniverse/floatingforests | 1 | module.exports =
site:
title: 'Floating Forests'
summary: 'Discover Floating Forests'
description: "We are trying to understand how forests of kelp grow and change over time. We need your help to find these forests in pictures from space!"
callToAction: "Get Started"
location: "All Locations"
... | 225944 | module.exports =
site:
title: 'Floating Forests'
summary: 'Discover Floating Forests'
description: "We are trying to understand how forests of kelp grow and change over time. We need your help to find these forests in pictures from space!"
callToAction: "Get Started"
location: "All Locations"
... | true | module.exports =
site:
title: 'Floating Forests'
summary: 'Discover Floating Forests'
description: "We are trying to understand how forests of kelp grow and change over time. We need your help to find these forests in pictures from space!"
callToAction: "Get Started"
location: "All Locations"
... |
[
{
"context": "ize_users', @spySer\n yield @room.user.say 'alice', '@hubot serialize users'\n\n it 'robot.emit(se",
"end": 840,
"score": 0.5734986066818237,
"start": 835,
"tag": "USERNAME",
"value": "alice"
},
{
"context": "e_users', @spySer\n yield @room.user.enter '... | test/scripts/test_serialize_users.coffee | NandanSharma/AIDetails | 0 | helper = new Helper('../scripts/serialize_users.js')
# test ping script
describe 'scripts/serialize_users.js', ->
beforeEach ->
# creating room with 'httpd: false' will auto tear-down
@room = helper.createRoom(httpd: false, name: global.DEFAULT_ROOM)
@robot = @room.robot
_.set @robot, 'brain.data.use... | 164460 | helper = new Helper('../scripts/serialize_users.js')
# test ping script
describe 'scripts/serialize_users.js', ->
beforeEach ->
# creating room with 'httpd: false' will auto tear-down
@room = helper.createRoom(httpd: false, name: global.DEFAULT_ROOM)
@robot = @room.robot
_.set @robot, 'brain.data.use... | true | helper = new Helper('../scripts/serialize_users.js')
# test ping script
describe 'scripts/serialize_users.js', ->
beforeEach ->
# creating room with 'httpd: false' will auto tear-down
@room = helper.createRoom(httpd: false, name: global.DEFAULT_ROOM)
@robot = @room.robot
_.set @robot, 'brain.data.use... |
[
{
"context": "/www.youtube.com/watch?v=NVyBMaALlek\",\nengtitle: \"Stan & Ollie\",\nyear: \"2018\",\nimdb:\"7.4/10\",\nimdbvotes:\"12322\",",
"end": 1612,
"score": 0.8512027859687805,
"start": 1600,
"tag": "NAME",
"value": "Stan & Ollie"
},
{
"context": "om/7866/33178482398_94d4a054c... | Movie2019_20190324.framer/app.coffee | chtudo/chtudo.github.io | 0 | # Show Hints
Framer.Extras.Hints.disable()
# Use desktop cursor
document.body.style.cursor = "auto"
# Disable right-click context menu
if document.addEventListener?
document.addEventListener "contextmenu", (event) ->
event.preventDefault()
Framer.Device.deviceType="fullscreen"
Utils.insertCSS """
@font-face {
f... | 176570 | # Show Hints
Framer.Extras.Hints.disable()
# Use desktop cursor
document.body.style.cursor = "auto"
# Disable right-click context menu
if document.addEventListener?
document.addEventListener "contextmenu", (event) ->
event.preventDefault()
Framer.Device.deviceType="fullscreen"
Utils.insertCSS """
@font-face {
f... | true | # Show Hints
Framer.Extras.Hints.disable()
# Use desktop cursor
document.body.style.cursor = "auto"
# Disable right-click context menu
if document.addEventListener?
document.addEventListener "contextmenu", (event) ->
event.preventDefault()
Framer.Device.deviceType="fullscreen"
Utils.insertCSS """
@font-face {
f... |
[
{
"context": "t: \"projects/:id\"\n projectToken: \"projects/:id/token\"\n projectRuns: \"projects/:id/builds\"\n pr",
"end": 518,
"score": 0.6293444037437439,
"start": 515,
"tag": "KEY",
"value": "id/"
},
{
"context": "rojects/:id/builds\"\n projectRecordKeys: \"project... | packages/server/lib/util/routes.coffee | intrepion/cypress | 1 | _ = require("lodash")
UrlParse = require("url-parse")
konfig = require("../konfig")
api_url = konfig("api_url")
routes = {
api: ""
auth: "auth"
ping: "ping"
signin: "signin"
signout: "signout"
runs: "builds"
instances: "builds/:id/instances"... | 85961 | _ = require("lodash")
UrlParse = require("url-parse")
konfig = require("../konfig")
api_url = konfig("api_url")
routes = {
api: ""
auth: "auth"
ping: "ping"
signin: "signin"
signout: "signout"
runs: "builds"
instances: "builds/:id/instances"... | true | _ = require("lodash")
UrlParse = require("url-parse")
konfig = require("../konfig")
api_url = konfig("api_url")
routes = {
api: ""
auth: "auth"
ping: "ping"
signin: "signin"
signout: "signout"
runs: "builds"
instances: "builds/:id/instances"... |
[
{
"context": "# @fileoverview Test for spaced-comments\n# @author Gyandeep Singh\n###\n'use strict'\n\nrule = require '../../rules/spa",
"end": 70,
"score": 0.9998443722724915,
"start": 56,
"tag": "NAME",
"value": "Gyandeep Singh"
}
] | src/tests/rules/spaced-comment.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Test for spaced-comments
# @author Gyandeep Singh
###
'use strict'
rule = require '../../rules/spaced-comment'
{RuleTester} = require 'eslint'
path = require 'path'
ruleTester = new RuleTester parser: path.join __dirname, '../../..'
validShebangProgram = '#!/path/to/node\na = 3'
# invalidShebangP... | 181434 | ###*
# @fileoverview Test for spaced-comments
# @author <NAME>
###
'use strict'
rule = require '../../rules/spaced-comment'
{RuleTester} = require 'eslint'
path = require 'path'
ruleTester = new RuleTester parser: path.join __dirname, '../../..'
validShebangProgram = '#!/path/to/node\na = 3'
# invalidShebangProgram =... | true | ###*
# @fileoverview Test for spaced-comments
# @author PI:NAME:<NAME>END_PI
###
'use strict'
rule = require '../../rules/spaced-comment'
{RuleTester} = require 'eslint'
path = require 'path'
ruleTester = new RuleTester parser: path.join __dirname, '../../..'
validShebangProgram = '#!/path/to/node\na = 3'
# invalidSh... |
[
{
"context": " up roles and voices ---------------------------\n{Alex,Daniel,Kate,Oliver,Samantha,Serena,MeiJia,Sinji} ",
"end": 164,
"score": 0.9998421669006348,
"start": 160,
"tag": "NAME",
"value": "Alex"
},
{
"context": "oles and voices ---------------------------\n{Alex,Daniel,K... | class.coffee | mengbingchen0214/mac_speaker | 0 | Speaker = require './speaker'
lesson01 = require './lesson01'
Speaker.restart()
# ---------------------- set up roles and voices ---------------------------
{Alex,Daniel,Kate,Oliver,Samantha,Serena,MeiJia,Sinji} = Speaker
teachers = [
Daniel
Kate
Serena
]
students = [
MeiJia
Sinji
Samantha
Alex
Ol... | 20745 | Speaker = require './speaker'
lesson01 = require './lesson01'
Speaker.restart()
# ---------------------- set up roles and voices ---------------------------
{<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>,<NAME>} = Speaker
teachers = [
<NAME>
<NAME>
<NAME>
]
students = [
<NAME>
<NAME>
<NAME>
<NAME... | true | Speaker = require './speaker'
lesson01 = require './lesson01'
Speaker.restart()
# ---------------------- set up roles and voices ---------------------------
{PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PI,PI:NAME:<NAME>END_PI,PI:NAME:<NAME... |
[
{
"context": "etUid()` - is this what you mean?)\n # @author = author\n # TODO: assign an id / author name to the ric",
"end": 1044,
"score": 0.8556562066078186,
"start": 1038,
"tag": "NAME",
"value": "author"
},
{
"context": " if @_bind_later?\n Editor = Editors[@_... | lib/y-richtext.coffee | linagora/y-richtext | 0 | misc = (require "./misc.coffee")
BaseClass = misc.BaseClass
Locker = misc.Locker
Editors = (require "./editors.coffee")
Delta = require('rich-text/lib/delta')
# All dependencies (like Y.Selections) to other types (that have its own
# repository) should be included by the user (in order to reduce the amount of
# down... | 52105 | misc = (require "./misc.coffee")
BaseClass = misc.BaseClass
Locker = misc.Locker
Editors = (require "./editors.coffee")
Delta = require('rich-text/lib/delta')
# All dependencies (like Y.Selections) to other types (that have its own
# repository) should be included by the user (in order to reduce the amount of
# down... | true | misc = (require "./misc.coffee")
BaseClass = misc.BaseClass
Locker = misc.Locker
Editors = (require "./editors.coffee")
Delta = require('rich-text/lib/delta')
# All dependencies (like Y.Selections) to other types (that have its own
# repository) should be included by the user (in order to reduce the amount of
# down... |
[
{
"context": "e\n#\n# Commands:\n# Is it Wednesday\n#\n# Author:\n# Derik Brown\n\nwednesday= [\n 'https://www.youtube.com/watch?",
"end": 195,
"score": 0.9998531937599182,
"start": 184,
"tag": "NAME",
"value": "Derik Brown"
}
] | Hubot/Wednesday.coffee | FaytLeingod007/JabbR | 3 | # Description:
# Provides a random "It is Wednesday" video if it is Wednesday
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# Is it Wednesday
#
# Author:
# Derik Brown
wednesday= [
'https://www.youtube.com/watch?v=9K4-jllrPrE',
'https://www.youtube.com/watch?v=bbat6cvgEJ8',
'htt... | 188687 | # Description:
# Provides a random "It is Wednesday" video if it is Wednesday
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# Is it Wednesday
#
# Author:
# <NAME>
wednesday= [
'https://www.youtube.com/watch?v=9K4-jllrPrE',
'https://www.youtube.com/watch?v=bbat6cvgEJ8',
'https://... | true | # Description:
# Provides a random "It is Wednesday" video if it is Wednesday
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# Is it Wednesday
#
# Author:
# PI:NAME:<NAME>END_PI
wednesday= [
'https://www.youtube.com/watch?v=9K4-jllrPrE',
'https://www.youtube.com/watch?v=bbat6cvgEJ8',... |
[
{
"context": "key: 'list'\n\npatterns: [\n\n # Matches todo lists\n #\n # Exa",
"end": 10,
"score": 0.7828348875045776,
"start": 6,
"tag": "KEY",
"value": "list"
}
] | grammars/repositories/partials/list-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'list'
patterns: [
# Matches todo lists
#
# Examples
#
# - [ ] todo
# - [x] done
# - [*] done
#
match: '^\\s*(-)\\p{Blank}(\\[[\\p{Blank}\\*x]\\])(?=\\p{Blank})'
name: 'markup.todo.asciidoc'
captures:
1: name: 'markup.list.bullet.asciidoc'
2: name: 'markup.todo.box.asciidoc'
,
# M... | 49635 | key: '<KEY>'
patterns: [
# Matches todo lists
#
# Examples
#
# - [ ] todo
# - [x] done
# - [*] done
#
match: '^\\s*(-)\\p{Blank}(\\[[\\p{Blank}\\*x]\\])(?=\\p{Blank})'
name: 'markup.todo.asciidoc'
captures:
1: name: 'markup.list.bullet.asciidoc'
2: name: 'markup.todo.box.asciidoc'
,
# ... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches todo lists
#
# Examples
#
# - [ ] todo
# - [x] done
# - [*] done
#
match: '^\\s*(-)\\p{Blank}(\\[[\\p{Blank}\\*x]\\])(?=\\p{Blank})'
name: 'markup.todo.asciidoc'
captures:
1: name: 'markup.list.bullet.asciidoc'
2: name: 'markup.todo.box.asc... |
[
{
"context": "ut the IP but with full details\r\n#\r\n# Author:\r\n# Scott J Roberts - @sroberts\r\n# Updated by Igor Antunes - @darig",
"end": 426,
"score": 0.9998351335525513,
"start": 411,
"tag": "NAME",
"value": "Scott J Roberts"
},
{
"context": " full details\r\n#\r\n# Autho... | src/shodan.coffee | Darigazz/hubot-simple-sec-candies | 0 | # Description:
# Search Shodan based on https://developers.shodan.io/shodan-rest.html
#
# Dependencies:
# None
#
# Configuration:
# SHODAN_API_KEY - Sign up at http://www.shodanhq.com/api_doc
#
# Commands:
# hubot shodan <IP> - Search Shodan for any information about the IP
# hubot shodan-full <IP>... | 61715 | # Description:
# Search Shodan based on https://developers.shodan.io/shodan-rest.html
#
# Dependencies:
# None
#
# Configuration:
# SHODAN_API_KEY - Sign up at http://www.shodanhq.com/api_doc
#
# Commands:
# hubot shodan <IP> - Search Shodan for any information about the IP
# hubot shodan-full <IP>... | true | # Description:
# Search Shodan based on https://developers.shodan.io/shodan-rest.html
#
# Dependencies:
# None
#
# Configuration:
# SHODAN_API_KEY - Sign up at http://www.shodanhq.com/api_doc
#
# Commands:
# hubot shodan <IP> - Search Shodan for any information about the IP
# hubot shodan-full <IP>... |
[
{
"context": "ls =\n email: $scope.email\n password: $scope.password\n\n LoginService.login(creditials).then ->\n ",
"end": 358,
"score": 0.9034864902496338,
"start": 343,
"tag": "PASSWORD",
"value": "$scope.password"
}
] | client/app/src/login/login_controller.coffee | codyseibert/typr.io | 1 | module.exports = [
'$scope'
'LoginService'
'$http'
'Base64'
'localStorageService'
(
$scope
LoginService
$http
Base64
localStorageService
) ->
reset = ->
$scope.email = ''
$scope.password = ''
reset()
$scope.login = ->
creditials =
email: $scope.e... | 77637 | module.exports = [
'$scope'
'LoginService'
'$http'
'Base64'
'localStorageService'
(
$scope
LoginService
$http
Base64
localStorageService
) ->
reset = ->
$scope.email = ''
$scope.password = ''
reset()
$scope.login = ->
creditials =
email: $scope.e... | true | module.exports = [
'$scope'
'LoginService'
'$http'
'Base64'
'localStorageService'
(
$scope
LoginService
$http
Base64
localStorageService
) ->
reset = ->
$scope.email = ''
$scope.password = ''
reset()
$scope.login = ->
creditials =
email: $scope.e... |
[
{
"context": " (@scope) ->\n super()\n @defaultIdKey = \"id\"\n @idKey = undefined\n\n evalModelHandle: (",
"end": 249,
"score": 0.8196371793746948,
"start": 247,
"tag": "KEY",
"value": "id"
},
{
"context": "ed\n return undefined\n if modelKey == 'self'\... | bower_components/angular-google-maps/src/coffee/directives/api/utils/model-key.coffee | Vater/colaiuta | 0 | angular.module("google-maps.directives.api.utils".ns())
.factory "ModelKey".ns(), ["BaseObject".ns(), "GmapUtil".ns(), (BaseObject, GmapUtil) ->
class ModelKey extends BaseObject
constructor: (@scope) ->
super()
@defaultIdKey = "id"
@idKey = undefined
evalModelHandle: (model, modelKey) ->
... | 18513 | angular.module("google-maps.directives.api.utils".ns())
.factory "ModelKey".ns(), ["BaseObject".ns(), "GmapUtil".ns(), (BaseObject, GmapUtil) ->
class ModelKey extends BaseObject
constructor: (@scope) ->
super()
@defaultIdKey = "<KEY>"
@idKey = undefined
evalModelHandle: (model, modelKey) -... | true | angular.module("google-maps.directives.api.utils".ns())
.factory "ModelKey".ns(), ["BaseObject".ns(), "GmapUtil".ns(), (BaseObject, GmapUtil) ->
class ModelKey extends BaseObject
constructor: (@scope) ->
super()
@defaultIdKey = "PI:KEY:<KEY>END_PI"
@idKey = undefined
evalModelHandle: (model... |
[
{
"context": "TP/HTTPS URI\"\n\n conditions: ->\n authSecret: [@isNonEmptyString]\n clientId: [@isNonEmptyString]\n deflate: [",
"end": 2448,
"score": 0.7747915387153625,
"start": 2432,
"tag": "USERNAME",
"value": "isNonEmptyString"
},
{
"context": " authSecret: [@isNonEmp... | src/config.coffee | upyun-dev/nsqjs | 0 | _ = require 'underscore'
url = require 'url'
class ConnectionConfig
@DEFAULTS =
authSecret: null
clientId: null
deflate: false
deflateLevel: 6
heartbeatInterval: 30
maxInFlight: 1
messageTimeout: null
outputBufferSize: null
outputBufferTimeout: null
requeueDelay: 90
sample... | 116485 | _ = require 'underscore'
url = require 'url'
class ConnectionConfig
@DEFAULTS =
authSecret: null
clientId: null
deflate: false
deflateLevel: 6
heartbeatInterval: 30
maxInFlight: 1
messageTimeout: null
outputBufferSize: null
outputBufferTimeout: null
requeueDelay: 90
sample... | true | _ = require 'underscore'
url = require 'url'
class ConnectionConfig
@DEFAULTS =
authSecret: null
clientId: null
deflate: false
deflateLevel: 6
heartbeatInterval: 30
maxInFlight: 1
messageTimeout: null
outputBufferSize: null
outputBufferTimeout: null
requeueDelay: 90
sample... |
[
{
"context": "one) ->\n user =\n email: \"walt\"\n password: \"jessepinkman\"\n\n helpers.createUser(\n user\n ).then( (theUs",
"end": 702,
"score": 0.9989638924598694,
"start": 690,
"tag": "PASSWORD",
"value": "jessepinkman"
},
{
"context": " username: user.emai... | server/test/integration/sessions.coffee | unepwcmc/NRT | 0 | assert = require('chai').assert
helpers = require '../helpers'
request = require('request')
Q = require('q')
passportStub = require 'passport-stub'
suite('User Sessions')
test('GET /login renders a log in form', (done) ->
Q.nfcall(
request.get, {
url: helpers.appurl("/login")
}
).spread( (res, body)... | 7493 | assert = require('chai').assert
helpers = require '../helpers'
request = require('request')
Q = require('q')
passportStub = require 'passport-stub'
suite('User Sessions')
test('GET /login renders a log in form', (done) ->
Q.nfcall(
request.get, {
url: helpers.appurl("/login")
}
).spread( (res, body)... | true | assert = require('chai').assert
helpers = require '../helpers'
request = require('request')
Q = require('q')
passportStub = require 'passport-stub'
suite('User Sessions')
test('GET /login renders a log in form', (done) ->
Q.nfcall(
request.get, {
url: helpers.appurl("/login")
}
).spread( (res, body)... |
[
{
"context": " w_userno: config.guestAuthId\n w_name: 'NAME'\n w_avatar: '123'\n w_homepage: ",
"end": 402,
"score": 0.971651017665863,
"start": 398,
"tag": "NAME",
"value": "NAME"
},
{
"context": "om: 100\n w_k1: 'k_50'\n w_name: 'tester... | test/guestuser.coffee | underc0de/korex-server | 0 | should = require('chai').should()
test = require './lib/test-kit'
XatUser = test.IXatUser
deploy = test.deployServer
config = require '../config/default'
describe 'guest user', ->
guest = null
check = null
server = null
before () ->
deploy().then (_server) ->
server = _server
guest = new Xat... | 40712 | should = require('chai').should()
test = require './lib/test-kit'
XatUser = test.IXatUser
deploy = test.deployServer
config = require '../config/default'
describe 'guest user', ->
guest = null
check = null
server = null
before () ->
deploy().then (_server) ->
server = _server
guest = new Xat... | true | should = require('chai').should()
test = require './lib/test-kit'
XatUser = test.IXatUser
deploy = test.deployServer
config = require '../config/default'
describe 'guest user', ->
guest = null
check = null
server = null
before () ->
deploy().then (_server) ->
server = _server
guest = new Xat... |
[
{
"context": " comment\", {v: \"cell with comment\", c: { author: 'Joe', lines: [ { t: \"bold text\\n\", b: true }, \"plain ",
"end": 1837,
"score": 0.999395489692688,
"start": 1834,
"tag": "NAME",
"value": "Joe"
},
{
"context": "c: ->\n x = xlsx_stream({ core: { creator: 'Pon... | test/test.coffee | nerds-odd-e/node-xlsx-stream | 1 | xlsx_stream = require "../"
vows = require "vows"
assert = require "assert"
office = require "office"
fs = require "fs"
path = require "path"
tmp = (filename)-> path.resolve(__dirname, '../tmp', filename)
vows.describe('xlsx-stream').addBatch(
"archiver":
topic: ->
zip = require("archiver").create('zip')... | 162001 | xlsx_stream = require "../"
vows = require "vows"
assert = require "assert"
office = require "office"
fs = require "fs"
path = require "path"
tmp = (filename)-> path.resolve(__dirname, '../tmp', filename)
vows.describe('xlsx-stream').addBatch(
"archiver":
topic: ->
zip = require("archiver").create('zip')... | true | xlsx_stream = require "../"
vows = require "vows"
assert = require "assert"
office = require "office"
fs = require "fs"
path = require "path"
tmp = (filename)-> path.resolve(__dirname, '../tmp', filename)
vows.describe('xlsx-stream').addBatch(
"archiver":
topic: ->
zip = require("archiver").create('zip')... |
[
{
"context": " cookie:\n maxAge: 2000\n name: 'Dave'\n store.set '123', cookie, done\n it \"Shou",
"end": 503,
"score": 0.9995763301849365,
"start": 499,
"tag": "NAME",
"value": "Dave"
},
{
"context": "tore.set 'exptest', {cookie: {maxAge: -1}, name: 'Dave'... | test.coffee | davidbanham/connect-level | 1 | assert = require 'assert'
connect = require 'connect'
path = require 'path'
LevelStore = require('./')(connect)
dbPath = path.join __dirname, 'connect-level-test'
describe 'LevelStore', ->
store = ''
before (done) ->
store = new LevelStore {path: dbPath}
store.on 'ready', done
after (done) ->
store.... | 100829 | assert = require 'assert'
connect = require 'connect'
path = require 'path'
LevelStore = require('./')(connect)
dbPath = path.join __dirname, 'connect-level-test'
describe 'LevelStore', ->
store = ''
before (done) ->
store = new LevelStore {path: dbPath}
store.on 'ready', done
after (done) ->
store.... | true | assert = require 'assert'
connect = require 'connect'
path = require 'path'
LevelStore = require('./')(connect)
dbPath = path.join __dirname, 'connect-level-test'
describe 'LevelStore', ->
store = ''
before (done) ->
store = new LevelStore {path: dbPath}
store.on 'ready', done
after (done) ->
store.... |
[
{
"context": ": \"Hello world\"\n de:\n helloWorld: \"Hallo Welt\"\n hello: \"Hallo\"\n \"de-CH\":\n he",
"end": 491,
"score": 0.8904544711112976,
"start": 484,
"tag": "NAME",
"value": "lo Welt"
}
] | plugins/spec/scaleApp.i18n.spec.coffee | flosse/scaleApp | 99 | require?("../../spec/nodeSetup")()
describe "i18n plugin", ->
beforeEach ->
if typeof(require) is "function"
@scaleApp = require "../../dist/scaleApp"
@plugin = require "../../dist/plugins/scaleApp.i18n"
else if window?
@scaleApp = window.scaleApp
@plugin = @scaleApp.plugins... | 161432 | require?("../../spec/nodeSetup")()
describe "i18n plugin", ->
beforeEach ->
if typeof(require) is "function"
@scaleApp = require "../../dist/scaleApp"
@plugin = require "../../dist/plugins/scaleApp.i18n"
else if window?
@scaleApp = window.scaleApp
@plugin = @scaleApp.plugins... | true | require?("../../spec/nodeSetup")()
describe "i18n plugin", ->
beforeEach ->
if typeof(require) is "function"
@scaleApp = require "../../dist/scaleApp"
@plugin = require "../../dist/plugins/scaleApp.i18n"
else if window?
@scaleApp = window.scaleApp
@plugin = @scaleApp.plugins... |
[
{
"context": "rvice: 'Gmail'\n auth:\n user: 'cloud9browser@gmail.com'\n pass: FS.readFileSync('emailpass.txt",
"end": 479,
"score": 0.9999150633811951,
"start": 456,
"tag": "EMAIL",
"value": "cloud9browser@gmail.com"
},
{
"context": " smtp.sen... | examples/doodle/doodleemail.coffee | bladepan/cloudbrowser | 5 | inCloudBrowser = typeof (require) isnt 'undefined'
if not inCloudBrowser
emailController = ($scope) ->
$scope.sendmail = () ->
window.alert "Sending email from client-side JavaScript? You have to be kidding"
else
emailController = ($scope) ->
FS = require('fs')
nodemailer =... | 204001 | inCloudBrowser = typeof (require) isnt 'undefined'
if not inCloudBrowser
emailController = ($scope) ->
$scope.sendmail = () ->
window.alert "Sending email from client-side JavaScript? You have to be kidding"
else
emailController = ($scope) ->
FS = require('fs')
nodemailer =... | true | inCloudBrowser = typeof (require) isnt 'undefined'
if not inCloudBrowser
emailController = ($scope) ->
$scope.sendmail = () ->
window.alert "Sending email from client-side JavaScript? You have to be kidding"
else
emailController = ($scope) ->
FS = require('fs')
nodemailer =... |
[
{
"context": "rray[2] * 1000)\n\t\t@hasToken = (configArray[3] is '1234')\n\n\n\nmodule.exports = Config\n",
"end": 387,
"score": 0.8355429172515869,
"start": 383,
"tag": "PASSWORD",
"value": "1234"
}
] | src/Config.coffee | thiagorochapucrs/redes | 0 | fs = require 'fs'
class Config
constructor: ->
buffer = fs.readFileSync './config.txt'
strConfig = (String) buffer
configArray = strConfig.split '\n'
nextMachineInfo = configArray[0].split ':'
@nextMachineIP = nextMachineInfo[0]
@nextMachinePort = nextMachineInfo[1]
@myName = configArray[1]
@sleepTi... | 193086 | fs = require 'fs'
class Config
constructor: ->
buffer = fs.readFileSync './config.txt'
strConfig = (String) buffer
configArray = strConfig.split '\n'
nextMachineInfo = configArray[0].split ':'
@nextMachineIP = nextMachineInfo[0]
@nextMachinePort = nextMachineInfo[1]
@myName = configArray[1]
@sleepTi... | true | fs = require 'fs'
class Config
constructor: ->
buffer = fs.readFileSync './config.txt'
strConfig = (String) buffer
configArray = strConfig.split '\n'
nextMachineInfo = configArray[0].split ':'
@nextMachineIP = nextMachineInfo[0]
@nextMachinePort = nextMachineInfo[1]
@myName = configArray[1]
@sleepTi... |
[
{
"context": "eyI in _.keys(percentiles)\n if keyI in ['1.0','99.0']\n continue\n nextLimit",
"end": 6892,
"score": 0.9886718392372131,
"start": 6889,
"tag": "KEY",
"value": "1.0"
},
{
"context": " _.keys(percentiles)\n if keyI in ['1.0','99.0']\... | src/glados/static/coffee/models/paginatedCollections/esSchema/FacetingHandler.coffee | BNext-IQT/glados-frontend-chembl-main-interface | 33 | glados.useNameSpace 'glados.models.paginatedCollections.esSchema',
# --------------------------------------------------------------------------------------------------------------------
# Elastic Search Faceting Handler
# --------------------------------------------------------------------------------------------... | 202255 | glados.useNameSpace 'glados.models.paginatedCollections.esSchema',
# --------------------------------------------------------------------------------------------------------------------
# Elastic Search Faceting Handler
# --------------------------------------------------------------------------------------------... | true | glados.useNameSpace 'glados.models.paginatedCollections.esSchema',
# --------------------------------------------------------------------------------------------------------------------
# Elastic Search Faceting Handler
# --------------------------------------------------------------------------------------------... |
[
{
"context": "stgreSQL reserved key words\n# <https://github.com/fhirbase/fhirbase-plv8/issues/77>,\n# <https://github.com/f",
"end": 414,
"score": 0.9993818998336792,
"start": 406,
"tag": "USERNAME",
"value": "fhirbase"
},
{
"context": "e/fhirbase-plv8/issues/77>,\n# <https://github... | test/postgresql_reserved_keywords_spec.coffee | micabe/fhirbase | 0 | conformance = require('../src/fhir/conformance')
crud = require('../src/fhir/crud')
history = require('../src/fhir/history')
pg_meta = require('../src/core/pg_meta')
plv8 = require('../plpl/src/plv8')
schema = require('../src/core/schema')
search = require('../src/fhir/search')
assert = require('assert')
copy = (x)->... | 138376 | conformance = require('../src/fhir/conformance')
crud = require('../src/fhir/crud')
history = require('../src/fhir/history')
pg_meta = require('../src/core/pg_meta')
plv8 = require('../plpl/src/plv8')
schema = require('../src/core/schema')
search = require('../src/fhir/search')
assert = require('assert')
copy = (x)->... | true | conformance = require('../src/fhir/conformance')
crud = require('../src/fhir/crud')
history = require('../src/fhir/history')
pg_meta = require('../src/core/pg_meta')
plv8 = require('../plpl/src/plv8')
schema = require('../src/core/schema')
search = require('../src/fhir/search')
assert = require('assert')
copy = (x)->... |
[
{
"context": "collection_name]\n\nHouston._session = () ->\n key = Houston._houstonize(arguments[0])\n if arguments.length == 1\n retur",
"end": 929,
"score": 0.9263818860054016,
"start": 909,
"tag": "KEY",
"value": "Houston._houstonize("
},
{
"context": "o deploy new files, pus... | client/zma_helpers.coffee | praneybehl/houston | 1 | if Handlebars?
Handlebars.registerHelper('onHoustonPage', ->
window.location.pathname.indexOf('/admin') == 0)
Houston._collections ?= {}
# regardless of what version of meteor we are using,
# get the right LocalCollection
Houston._get_collection = (collection_name) ->
unless Houston._collections[collection_na... | 116797 | if Handlebars?
Handlebars.registerHelper('onHoustonPage', ->
window.location.pathname.indexOf('/admin') == 0)
Houston._collections ?= {}
# regardless of what version of meteor we are using,
# get the right LocalCollection
Houston._get_collection = (collection_name) ->
unless Houston._collections[collection_na... | true | if Handlebars?
Handlebars.registerHelper('onHoustonPage', ->
window.location.pathname.indexOf('/admin') == 0)
Houston._collections ?= {}
# regardless of what version of meteor we are using,
# get the right LocalCollection
Houston._get_collection = (collection_name) ->
unless Houston._collections[collection_na... |
[
{
"context": "# WERCKER_USER = user for wercker\n# WERCKER_PASS = password for wercker\n\nWercker = require('../wercker_api/')\nass",
"end": 119,
"score": 0.9320026636123657,
"start": 107,
"tag": "PASSWORD",
"value": "password for"
},
{
"context": "R = user for wercker\n# WERCKER_PAS... | test/wercker_sdk-test.coffee | mdno/wercker-status | 3 | # To run some test is need define environment variables
# WERCKER_USER = user for wercker
# WERCKER_PASS = password for wercker
Wercker = require('../wercker_api/')
assert = require('assert')
user = process.env.WERCKER_USER
pass = process.env.WERCKER_PASS
if !user or !pass
throw 'WERCKER_USER or WERCKER_PA... | 135524 | # To run some test is need define environment variables
# WERCKER_USER = user for wercker
# WERCKER_PASS = <PASSWORD> <PASSWORD>
Wercker = require('../wercker_api/')
assert = require('assert')
user = process.env.WERCKER_USER
pass = process.env.WERCKER_PASS
if !user or !pass
throw 'WERCKER_USER or WERCKER_P... | true | # To run some test is need define environment variables
# WERCKER_USER = user for wercker
# WERCKER_PASS = PI:PASSWORD:<PASSWORD>END_PI PI:PASSWORD:<PASSWORD>END_PI
Wercker = require('../wercker_api/')
assert = require('assert')
user = process.env.WERCKER_USER
pass = process.env.WERCKER_PASS
if !user or !pass
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.