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": "key: 'footnote-macro'\n\npatterns: [\n\n # Matches an inline footnote mac",
"end": 20,
"score": 0.9658406376838684,
"start": 6,
"tag": "KEY",
"value": "footnote-macro"
}
] | grammars/repositories/inlines/footnote-macro-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'footnote-macro'
patterns: [
# Matches an inline footnote macro, which is allowed to span multiple lines.
#
# Examples
#
# footnote:[text]
# footnoteref:[id,text]
# footnoteref:[id]
#
name: 'markup.other.footnote.asciidoc'
begin: '(?<!\\\\)(footnote(?:ref)?):\\['
beginCaptures:
1:... | 55930 | key: '<KEY>'
patterns: [
# Matches an inline footnote macro, which is allowed to span multiple lines.
#
# Examples
#
# footnote:[text]
# footnoteref:[id,text]
# footnoteref:[id]
#
name: 'markup.other.footnote.asciidoc'
begin: '(?<!\\\\)(footnote(?:ref)?):\\['
beginCaptures:
1: name: 'e... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches an inline footnote macro, which is allowed to span multiple lines.
#
# Examples
#
# footnote:[text]
# footnoteref:[id,text]
# footnoteref:[id]
#
name: 'markup.other.footnote.asciidoc'
begin: '(?<!\\\\)(footnote(?:ref)?):\\['
beginCaptures:
... |
[
{
"context": "m, options)\n if not @_validateUsernameField(@_usernameField)\n @_removeSubmitBtnActiveState()\n ",
"end": 5770,
"score": 0.9956506490707397,
"start": 5755,
"tag": "USERNAME",
"value": "@_usernameField"
},
{
"context": "de\n when \"e... | src/client/auth/index.coffee | LaPingvino/rizzoma | 88 | isEmailRe = /^[-a-z0-9!#$%&'*+/=?^_`{|}~]+(?:\.[-a-z0-9!#$%&'*+/=?^_`{|}~]+)*@(?:[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])?\.)*(?:aero|arpa|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel|[a-z][a-z])$/i
isEmail = (str) ->
isEmailRe.test(str)
class Panel
###
базовая панель
... | 135097 | isEmailRe = /^[-a-z0-9!#$%&'*+/=?^_`{|}~]+(?:\.[-a-z0-9!#$%&'*+/=?^_`{|}~]+)*@(?:[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])?\.)*(?:aero|arpa|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel|[a-z][a-z])$/i
isEmail = (str) ->
isEmailRe.test(str)
class Panel
###
базовая панель
... | true | isEmailRe = /^[-a-z0-9!#$%&'*+/=?^_`{|}~]+(?:\.[-a-z0-9!#$%&'*+/=?^_`{|}~]+)*@(?:[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])?\.)*(?:aero|arpa|asia|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel|[a-z][a-z])$/i
isEmail = (str) ->
isEmailRe.test(str)
class Panel
###
базовая панель
... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999109506607056,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/comments-show/main.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Comment } from 'comment'
import HeaderV4 from 'header-v4'
import { Observer } from 'mobx-react'
import core from 'osu-core-singleton'
im... | 178994 | # 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 { Comment } from 'comment'
import HeaderV4 from 'header-v4'
import { Observer } from 'mobx-react'
import core from 'osu-core-singleton'
import * ... | 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 { Comment } from 'comment'
import HeaderV4 from 'header-v4'
import { Observer } from 'mobx-react'
import core from 'osu-core-singl... |
[
{
"context": " ip: '1.2.3.4',\n ssh_key: 'overcast.key',\n ssh_port: '22',\n use",
"end": 373,
"score": 0.6860169172286987,
"start": 370,
"tag": "KEY",
"value": "key"
}
] | test/unit/key.spec.coffee | skmezanul/overcast | 238 | fs = require('fs')
cli = require('../../modules/cli')
utils = require('../../modules/utils')
key = require('../../modules/commands/key')
describe 'key', ->
beforeEach ->
spyOn(utils, 'getClusters').andReturn({
default: {
instances: {
vm01: {
name: 'vm01',
... | 58066 | fs = require('fs')
cli = require('../../modules/cli')
utils = require('../../modules/utils')
key = require('../../modules/commands/key')
describe 'key', ->
beforeEach ->
spyOn(utils, 'getClusters').andReturn({
default: {
instances: {
vm01: {
name: 'vm01',
... | true | fs = require('fs')
cli = require('../../modules/cli')
utils = require('../../modules/utils')
key = require('../../modules/commands/key')
describe 'key', ->
beforeEach ->
spyOn(utils, 'getClusters').andReturn({
default: {
instances: {
vm01: {
name: 'vm01',
... |
[
{
"context": "ead_init_payload : () -> {\n i : @i\n keys : { @k_s, @k_m }\n uids : @thread_uids()\n }\n \n #-----",
"end": 4299,
"score": 0.7756650447845459,
"start": 4295,
"tag": "KEY",
"value": "@k_s"
},
{
"context": "_payload : () -> {\n i : @i\n keys : { @k_s, @... | src/data.iced | AngelKey/Angelkey.messengerclient | 0 |
tsec = require 'triplesec'
{prng} = tsec
{buffer_cmp_ule} = tsec.util
{burn,KeyManager} = require 'kbpgp'
{unix_time,athrow} = require('iced-utils').util
{E} = require './err'
{make_esc} = require 'iced-error'
kbmc = require 'keybase-messenger-core'
idg = kbmc.id.generators
{Cipher} = kbmc
#========================... | 55804 |
tsec = require 'triplesec'
{prng} = tsec
{buffer_cmp_ule} = tsec.util
{burn,KeyManager} = require 'kbpgp'
{unix_time,athrow} = require('iced-utils').util
{E} = require './err'
{make_esc} = require 'iced-error'
kbmc = require 'keybase-messenger-core'
idg = kbmc.id.generators
{Cipher} = kbmc
#========================... | true |
tsec = require 'triplesec'
{prng} = tsec
{buffer_cmp_ule} = tsec.util
{burn,KeyManager} = require 'kbpgp'
{unix_time,athrow} = require('iced-utils').util
{E} = require './err'
{make_esc} = require 'iced-error'
kbmc = require 'keybase-messenger-core'
idg = kbmc.id.generators
{Cipher} = kbmc
#========================... |
[
{
"context": "e_name = 'COHORT4'\n\nconfig =\n author:\n name: 'Okemwa Moses'\n url: 'https://mussaimo.github.io'\n email:",
"end": 65,
"score": 0.9998461604118347,
"start": 53,
"tag": "NAME",
"value": "Okemwa Moses"
},
{
"context": " url: 'https://mussaimo.github.io'\n ... | app/config.coffee | mussaimo/my-akili | 0 | site_name = 'COHORT4'
config =
author:
name: 'Okemwa Moses'
url: 'https://mussaimo.github.io'
email: 'okemwamoses@gmail.com'
site:
title: site_name
description: 'Kenya Health Spending Per capita per county'
url: 'http://mussaimo.github.io/akili/'
data: 'https://data.hdx.rwlabs.org/data... | 143221 | site_name = 'COHORT4'
config =
author:
name: '<NAME>'
url: 'https://mussaimo.github.io'
email: '<EMAIL>'
site:
title: site_name
description: 'Kenya Health Spending Per capita per county'
url: 'http://mussaimo.github.io/akili/'
data: 'https://data.hdx.rwlabs.org/dataset/
k... | true | site_name = 'COHORT4'
config =
author:
name: 'PI:NAME:<NAME>END_PI'
url: 'https://mussaimo.github.io'
email: 'PI:EMAIL:<EMAIL>END_PI'
site:
title: site_name
description: 'Kenya Health Spending Per capita per county'
url: 'http://mussaimo.github.io/akili/'
data: 'https://data.hdx.rwlabs... |
[
{
"context": " Tests for prefer-numeric-literals rule.\n# @author Annie Zhang\n###\n\n'use strict'\n\n#-----------------------------",
"end": 82,
"score": 0.9998383522033691,
"start": 71,
"tag": "NAME",
"value": "Annie Zhang"
}
] | src/tests/rules/prefer-numeric-literals.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for prefer-numeric-literals rule.
# @author Annie Zhang
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/prefer-nu... | 157895 | ###*
# @fileoverview Tests for prefer-numeric-literals rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/prefer-numeric... | true | ###*
# @fileoverview Tests for prefer-numeric-literals rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/... |
[
{
"context": ".use cookieParser()\napp.use(session(\n secret: '1234567890QWERTY'\n resave: 'true'\n saveUninitialized: \"true\"",
"end": 837,
"score": 0.9802437424659729,
"start": 821,
"tag": "KEY",
"value": "1234567890QWERTY"
}
] | app.coffee | ycjcl868/StudentInfo | 0 | express = require("express")
path = require("path")
favicon = require("serve-favicon")
logger = require("morgan")
cookieParser = require("cookie-parser")
bodyParser = require("body-parser")
session = require("express-session")
db = require("./config/database")
indexRoute = require("./routes/index")
userRoute = require(... | 34284 | express = require("express")
path = require("path")
favicon = require("serve-favicon")
logger = require("morgan")
cookieParser = require("cookie-parser")
bodyParser = require("body-parser")
session = require("express-session")
db = require("./config/database")
indexRoute = require("./routes/index")
userRoute = require(... | true | express = require("express")
path = require("path")
favicon = require("serve-favicon")
logger = require("morgan")
cookieParser = require("cookie-parser")
bodyParser = require("body-parser")
session = require("express-session")
db = require("./config/database")
indexRoute = require("./routes/index")
userRoute = require(... |
[
{
"context": "se @person\n @person.account = {\n username: @username\n email: @email\n password: @password\n ",
"end": 7738,
"score": 0.9995083212852478,
"start": 7729,
"tag": "USERNAME",
"value": "@username"
},
{
"context": "ame: @username\n email: @email\n ... | lib/components/lancie-create-account/lancie-create-account.coffee | WISVCH/LANcie-legacy | 0 | Polymer 'create-account',
###
Set all variables to null, so the api always get all the data it needs
###
userhash: null
userId: null
emailcode: null
userPayed: false
price_ticket: null
price_transport: null
price_total: null
dates: null
person: {}
###
Initial of elements
###
ready:... | 169685 | Polymer 'create-account',
###
Set all variables to null, so the api always get all the data it needs
###
userhash: null
userId: null
emailcode: null
userPayed: false
price_ticket: null
price_transport: null
price_total: null
dates: null
person: {}
###
Initial of elements
###
ready:... | true | Polymer 'create-account',
###
Set all variables to null, so the api always get all the data it needs
###
userhash: null
userId: null
emailcode: null
userPayed: false
price_ticket: null
price_transport: null
price_total: null
dates: null
person: {}
###
Initial of elements
###
ready:... |
[
{
"context": "###\n * DMD Life\n *\n * @author 蒼時弦也\n * @website http://frost.tw\n###\n\n# Config\nPORT = ",
"end": 34,
"score": 0.9998400807380676,
"start": 30,
"tag": "NAME",
"value": "蒼時弦也"
}
] | server.coffee | elct9620/dmd-life | 0 | ###
* DMD Life
*
* @author 蒼時弦也
* @website http://frost.tw
###
# Config
PORT = process.env.PORT || 3000
DEV_PORT = process.env.DEV_PORT || 8080
ENV = process.env.NODE_ENV || "development"
# Load Library
express = require('express')
http = require('http')
browserSync = require('browser-sync')
GameServer = require... | 47135 | ###
* DMD Life
*
* @author <NAME>
* @website http://frost.tw
###
# Config
PORT = process.env.PORT || 3000
DEV_PORT = process.env.DEV_PORT || 8080
ENV = process.env.NODE_ENV || "development"
# Load Library
express = require('express')
http = require('http')
browserSync = require('browser-sync')
GameServer = requi... | true | ###
* DMD Life
*
* @author PI:NAME:<NAME>END_PI
* @website http://frost.tw
###
# Config
PORT = process.env.PORT || 3000
DEV_PORT = process.env.DEV_PORT || 8080
ENV = process.env.NODE_ENV || "development"
# Load Library
express = require('express')
http = require('http')
browserSync = require('browser-sync')
Game... |
[
{
"context": "##\n knockback.js 1.2.3\n Copyright (c) 2011-2016 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 66,
"score": 0.9998267889022827,
"start": 52,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/validation/validators.coffee | kmalakoff/knockback | 160 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneO... | 166680 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 <NAME>.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###
... | true | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 PI:NAME:<NAME>END_PI.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Bac... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.5793352127075195,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/dashboard/models/JmxBackedModel.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 4832 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": "jQuery Browser Plugin v0.0.6\n# https://github.com/gabceb/jquery-browser-plugin\n#\n# Original jquery-browser",
"end": 61,
"score": 0.999534010887146,
"start": 55,
"tag": "USERNAME",
"value": "gabceb"
},
{
"context": "query.org/license\n#\n# Modifications Copyright 2013... | dist/jquery.browser.js.coffee | lehni/jquery-browser-plugin | 1 | #!
# jQuery Browser Plugin v0.0.6
# https://github.com/gabceb/jquery-browser-plugin
#
# Original jquery-browser code Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
# http://jquery.org/license
#
# Modifications Copyright 2013 Gabriel Cebrian
# https://github.com/gabceb
#
# Released under the MIT lic... | 79860 | #!
# jQuery Browser Plugin v0.0.6
# https://github.com/gabceb/jquery-browser-plugin
#
# Original jquery-browser code Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
# http://jquery.org/license
#
# Modifications Copyright 2013 <NAME>
# https://github.com/gabceb
#
# Released under the MIT license
#
# ... | true | #!
# jQuery Browser Plugin v0.0.6
# https://github.com/gabceb/jquery-browser-plugin
#
# Original jquery-browser code Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
# http://jquery.org/license
#
# Modifications Copyright 2013 PI:NAME:<NAME>END_PI
# https://github.com/gabceb
#
# Released under the MI... |
[
{
"context": "ection\n username: config.username\n password: config.password\n host: config.imap.host\n port: config.imap.",
"end": 599,
"score": 0.9990245699882507,
"start": 584,
"tag": "PASSWORD",
"value": "config.password"
}
] | src/email/read.coffee | Michaellino/Angular | 0 | # This example script opens an IMAP connection to the server and
# seeks unread messages sent by the user himself. It will then
# download those messages, parse them, and write their attachments
# to disk.
# Install node-imap with `npm install imap`
imap = require "imap"
# Install mailparser with `npm install mailpar... | 92839 | # This example script opens an IMAP connection to the server and
# seeks unread messages sent by the user himself. It will then
# download those messages, parse them, and write their attachments
# to disk.
# Install node-imap with `npm install imap`
imap = require "imap"
# Install mailparser with `npm install mailpar... | true | # This example script opens an IMAP connection to the server and
# seeks unread messages sent by the user himself. It will then
# download those messages, parse them, and write their attachments
# to disk.
# Install node-imap with `npm install imap`
imap = require "imap"
# Install mailparser with `npm install mailpar... |
[
{
"context": "class MD5Worker\n constructor: (@_sparkMD5Src) ->\n @keyToDeferred = {}\n @worker = @_makeM",
"end": 45,
"score": 0.6362066268920898,
"start": 34,
"tag": "USERNAME",
"value": "sparkMD5Src"
},
{
"context": "MD5WebWorker()\n\n computeMD5: (slice) ->\n key = @_m... | src/upload/md5_worker.coffee | dnanexus/dx-javascript-toolkit | 11 | class MD5Worker
constructor: (@_sparkMD5Src) ->
@keyToDeferred = {}
@worker = @_makeMD5WebWorker()
computeMD5: (slice) ->
key = @_makeKey()
@keyToDeferred[key] = $.Deferred()
@worker.computeMD5(key, slice, (result) =>
if typeof result == "object" && result.error?
@keyToDeferred[... | 86321 | class MD5Worker
constructor: (@_sparkMD5Src) ->
@keyToDeferred = {}
@worker = @_makeMD5WebWorker()
computeMD5: (slice) ->
key = <KEY>()
@keyToDeferred[key] = $.Deferred()
@worker.computeMD5(key, slice, (result) =>
if typeof result == "object" && result.error?
@keyToDeferred[key]... | true | class MD5Worker
constructor: (@_sparkMD5Src) ->
@keyToDeferred = {}
@worker = @_makeMD5WebWorker()
computeMD5: (slice) ->
key = PI:KEY:<KEY>END_PI()
@keyToDeferred[key] = $.Deferred()
@worker.computeMD5(key, slice, (result) =>
if typeof result == "object" && result.error?
@keyTo... |
[
{
"context": "ller'\n Status = require './status'\n\n # Dear sir, madam, or dolphin,\n # `Status` & `MainController` ",
"end": 2088,
"score": 0.6276400685310364,
"start": 2087,
"tag": "NAME",
"value": "m"
},
{
"context": "er'\n Status = require './status'\n\n # Dear sir, madam, ... | client/app/lib/index.coffee | lionheart1022/koding | 0 | # Make sure none of these modules are calling remote#getInstance before this file. -og
globals = require 'globals'
kookies = require 'kookies'
kd = require 'kd'
socketConnected = require './util/socketConnected'
enableLogs = require './util/enableLogs... | 153646 | # Make sure none of these modules are calling remote#getInstance before this file. -og
globals = require 'globals'
kookies = require 'kookies'
kd = require 'kd'
socketConnected = require './util/socketConnected'
enableLogs = require './util/enableLogs... | true | # Make sure none of these modules are calling remote#getInstance before this file. -og
globals = require 'globals'
kookies = require 'kookies'
kd = require 'kd'
socketConnected = require './util/socketConnected'
enableLogs = require './util/enableLogs... |
[
{
"context": ")=>\n # @timeout 15000\n # o = \n # name:\"A Test\"\n # description: \"Testing Object create",
"end": 3034,
"score": 0.9977930784225464,
"start": 3033,
"tag": "NAME",
"value": "A"
},
{
"context": "=>\n # @timeout 15000\n # o = \n # name:\"A Te... | test/model.coffee | vancarney/rikki-tikki-client | 0 | fs = require 'fs'
(chai = require 'chai').should()
_ = (require 'underscore')._
Backbone = require 'backbone'
Backbone.$ = require 'jQuery'
{RikkiTikki} = require '../index'
jsonData = require './data.json'
server = true
API = RikkiTikki.cr... | 50910 | fs = require 'fs'
(chai = require 'chai').should()
_ = (require 'underscore')._
Backbone = require 'backbone'
Backbone.$ = require 'jQuery'
{RikkiTikki} = require '../index'
jsonData = require './data.json'
server = true
API = RikkiTikki.cr... | true | fs = require 'fs'
(chai = require 'chai').should()
_ = (require 'underscore')._
Backbone = require 'backbone'
Backbone.$ = require 'jQuery'
{RikkiTikki} = require '../index'
jsonData = require './data.json'
server = true
API = RikkiTikki.cr... |
[
{
"context": "###\n chroma.js\n\n Copyright (c) 2011-2013, Gregor Aisch\n All rights reserved.\n\n Redistribution and ",
"end": 60,
"score": 0.9998892545700073,
"start": 48,
"tag": "NAME",
"value": "Gregor Aisch"
},
{
"context": " OF SUCH DAMAGE.\n\n @source: https://g... | node_modules/chroma-js/src/utils.coffee | balamurugan01/foundation6 | 49 | ###
chroma.js
Copyright (c) 2011-2013, Gregor Aisch
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this... | 187814 | ###
chroma.js
Copyright (c) 2011-2013, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
... | true | ###
chroma.js
Copyright (c) 2011-2013, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright noti... |
[
{
"context": "en ->\n\n configKey =\n if options.dev then \"devDependencies\"\n else \"dependencies\"\n\n deps = module.con",
"end": 760,
"score": 0.5295482873916626,
"start": 745,
"tag": "KEY",
"value": "devDependencies"
}
] | src/methods/remove.coffee | aleclarson/lotus-deps | 0 |
# lotus deps remove [moduleName]
# 1. Remove the given dependency from 'package.json'!
# Warn if the dependency does not exist.
Promise = require "Promise"
hasKeys = require "hasKeys"
assert = require "assert"
isType = require "isType"
module.exports = (options) ->
options.name = options._.shift()
assert is... | 82005 |
# lotus deps remove [moduleName]
# 1. Remove the given dependency from 'package.json'!
# Warn if the dependency does not exist.
Promise = require "Promise"
hasKeys = require "hasKeys"
assert = require "assert"
isType = require "isType"
module.exports = (options) ->
options.name = options._.shift()
assert is... | true |
# lotus deps remove [moduleName]
# 1. Remove the given dependency from 'package.json'!
# Warn if the dependency does not exist.
Promise = require "Promise"
hasKeys = require "hasKeys"
assert = require "assert"
isType = require "isType"
module.exports = (options) ->
options.name = options._.shift()
assert is... |
[
{
"context": "reEach ->\n @model1 = new Backbone.Model(name: 'First', selected: false)\n @model2 = new Backbone.Mod",
"end": 110,
"score": 0.999294638633728,
"start": 105,
"tag": "NAME",
"value": "First"
},
{
"context": "d: false)\n @model2 = new Backbone.Model(name: 'Second... | spec/coffeescripts/lib/collections/limited_collection_spec.coffee | franzk/ela.js | 0 | describe 'ELA.Collections.LimitedCollection', ->
beforeEach ->
@model1 = new Backbone.Model(name: 'First', selected: false)
@model2 = new Backbone.Model(name: 'Second', selected: false)
@model3 = new Backbone.Model(name: 'Third', selected: false)
@collection = new ELA.Collections.LimitedCollection(
... | 104528 | describe 'ELA.Collections.LimitedCollection', ->
beforeEach ->
@model1 = new Backbone.Model(name: '<NAME>', selected: false)
@model2 = new Backbone.Model(name: '<NAME>', selected: false)
@model3 = new Backbone.Model(name: '<NAME>', selected: false)
@collection = new ELA.Collections.LimitedCollection(
... | true | describe 'ELA.Collections.LimitedCollection', ->
beforeEach ->
@model1 = new Backbone.Model(name: 'PI:NAME:<NAME>END_PI', selected: false)
@model2 = new Backbone.Model(name: 'PI:NAME:<NAME>END_PI', selected: false)
@model3 = new Backbone.Model(name: 'PI:NAME:<NAME>END_PI', selected: false)
@collection... |
[
{
"context": "->\n\t\thttp.request().put('/TestApp/create/user1?ip=127.0.0.1')\n\t\t.set('Content-Type', 'application/json')\n\t\t.w",
"end": 687,
"score": 0.99973464012146,
"start": 678,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "->\n\t\thttp.request().put('/TestApp/... | test/test.coffee | bewest/rest-sessions | 13 | _ = require "lodash"
should = require "should"
async = require "async"
app = require "../app"
http = require "../test/support/http"
#
describe 'REST-Sessions Test', ->
before (done) ->
http.createServer(app, done)
return
after (done) ->
done()
process.exit(0)
return
token1 = null
token2 = null
user1 ... | 221476 | _ = require "lodash"
should = require "should"
async = require "async"
app = require "../app"
http = require "../test/support/http"
#
describe 'REST-Sessions Test', ->
before (done) ->
http.createServer(app, done)
return
after (done) ->
done()
process.exit(0)
return
token1 = null
token2 = null
user1 ... | true | _ = require "lodash"
should = require "should"
async = require "async"
app = require "../app"
http = require "../test/support/http"
#
describe 'REST-Sessions Test', ->
before (done) ->
http.createServer(app, done)
return
after (done) ->
done()
process.exit(0)
return
token1 = null
token2 = null
user1 ... |
[
{
"context": " item 1'\n orm.models.user.create\n email: \"admin@admin.tld\"\n password: 'adminadmin'\n .then (user) ->",
"end": 7319,
"score": 0.9999118447303772,
"start": 7304,
"tag": "EMAIL",
"value": "admin@admin.tld"
},
{
"context": "e\n email: \"admin@admin... | server/api/orm.coffee | Oziabr/privateer | 7 | _ = require 'lodash'
fs = require 'fs'
path = require 'path'
inflection = require 'inflection'
express = (require 'express')
debug = (require 'debug') 'orm'
Router = require './router'
filetype = require './filetype'
#sync = require './sync'
Sequelize = require 'sequelize'
basename ... | 86270 | _ = require 'lodash'
fs = require 'fs'
path = require 'path'
inflection = require 'inflection'
express = (require 'express')
debug = (require 'debug') 'orm'
Router = require './router'
filetype = require './filetype'
#sync = require './sync'
Sequelize = require 'sequelize'
basename ... | true | _ = require 'lodash'
fs = require 'fs'
path = require 'path'
inflection = require 'inflection'
express = (require 'express')
debug = (require 'debug') 'orm'
Router = require './router'
filetype = require './filetype'
#sync = require './sync'
Sequelize = require 'sequelize'
basename ... |
[
{
"context": "\n margin: '0 4px'\n color: '#f48'\n CompileToggle: s.Size('100%', '32px')\n ",
"end": 1863,
"score": 0.7257171273231506,
"start": 1860,
"tag": "PASSWORD",
"value": "f48"
}
] | src/Static/src/snippet.coffee | winterland1989/jsmServer | 0 | require './topBar'
m = require './jsm/base/mithril'
s = require './jsm/base/mss'
aceMode = require './aceMode'
language = (document.getElementById 'editor').dataset.language
editor = ace.edit 'editor'
editor.setTheme 'ace/theme/tomorrow'
editor.getSession().setMode aceMode[language]
editor.setOptions({ readOnly: true... | 186514 | require './topBar'
m = require './jsm/base/mithril'
s = require './jsm/base/mss'
aceMode = require './aceMode'
language = (document.getElementById 'editor').dataset.language
editor = ace.edit 'editor'
editor.setTheme 'ace/theme/tomorrow'
editor.getSession().setMode aceMode[language]
editor.setOptions({ readOnly: true... | true | require './topBar'
m = require './jsm/base/mithril'
s = require './jsm/base/mss'
aceMode = require './aceMode'
language = (document.getElementById 'editor').dataset.language
editor = ace.edit 'editor'
editor.setTheme 'ace/theme/tomorrow'
editor.getSession().setMode aceMode[language]
editor.setOptions({ readOnly: true... |
[
{
"context": "hics Gems IV\n # Roots3And4.c, solver.c\n # by Jochen Schwarze\n\n tPI = (4.0 * Math.atan(1.0)) * 0.33333333333",
"end": 13859,
"score": 0.9992965459823608,
"start": 13844,
"tag": "NAME",
"value": "Jochen Schwarze"
}
] | engine/animation.coffee | myou-engine/myou | 29 | {clamp, vec2, vec3, vec4, color3, color4, quat} = require 'vmath'
{cubic_bezier} = require './math_utils/math_extra'
# An action is a bunch of animation splines, without specific start, end
# or any other setting
class Action
# Channel format:
# TYPE, NAME, PROPERTY, list of keys for each element
# 'objec... | 29227 | {clamp, vec2, vec3, vec4, color3, color4, quat} = require 'vmath'
{cubic_bezier} = require './math_utils/math_extra'
# An action is a bunch of animation splines, without specific start, end
# or any other setting
class Action
# Channel format:
# TYPE, NAME, PROPERTY, list of keys for each element
# 'objec... | true | {clamp, vec2, vec3, vec4, color3, color4, quat} = require 'vmath'
{cubic_bezier} = require './math_utils/math_extra'
# An action is a bunch of animation splines, without specific start, end
# or any other setting
class Action
# Channel format:
# TYPE, NAME, PROPERTY, list of keys for each element
# 'objec... |
[
{
"context": "### (C) 2015 Narazaka : Licensed under The MIT License - http://narazak",
"end": 21,
"score": 0.9998660087585449,
"start": 13,
"tag": "NAME",
"value": "Narazaka"
}
] | wheelzoom.coffee | Narazaka/wheelzoom.js | 0 | ### (C) 2015 Narazaka : Licensed under The MIT License - http://narazaka.net/license/MIT?2015 ###
px2num = (px) -> px.substr(0, px.length - 2) - 0
num2px = (num) -> num + 'px'
computed_styles = (element) -> (document.defaultView or window).getComputedStyle?(element, null)
page_offset = (element) ->
# from jquery
do... | 155882 | ### (C) 2015 <NAME> : Licensed under The MIT License - http://narazaka.net/license/MIT?2015 ###
px2num = (px) -> px.substr(0, px.length - 2) - 0
num2px = (num) -> num + 'px'
computed_styles = (element) -> (document.defaultView or window).getComputedStyle?(element, null)
page_offset = (element) ->
# from jquery
docE... | true | ### (C) 2015 PI:NAME:<NAME>END_PI : Licensed under The MIT License - http://narazaka.net/license/MIT?2015 ###
px2num = (px) -> px.substr(0, px.length - 2) - 0
num2px = (num) -> num + 'px'
computed_styles = (element) -> (document.defaultView or window).getComputedStyle?(element, null)
page_offset = (element) ->
# from... |
[
{
"context": "@type:\n code: 'Authorization Code'\n token: 'Implicit Grant'\n password: 'Resource Owner Password'\n clie",
"end": 331,
"score": 0.9897210597991943,
"start": 317,
"tag": "PASSWORD",
"value": "Implicit Grant"
},
{
"context": " Code'\n token: 'Implicit Gra... | backend/model/app.coffee | twhtanghk/jsOAuth2 | 0 | _ = require 'lodash'
Model = require './model'
{isURL} = require 'validator'
{URL, URLSearchParams} = require 'url'
class App extends Model
name: 'app'
attributes: [
'name'
'clientId'
'clientSecret'
'authType'
'cbUrl'
'createdBy'
]
@type:
code: 'Authorization Code'
token: 'Imp... | 160066 | _ = require 'lodash'
Model = require './model'
{isURL} = require 'validator'
{URL, URLSearchParams} = require 'url'
class App extends Model
name: 'app'
attributes: [
'name'
'clientId'
'clientSecret'
'authType'
'cbUrl'
'createdBy'
]
@type:
code: 'Authorization Code'
token: '<PA... | true | _ = require 'lodash'
Model = require './model'
{isURL} = require 'validator'
{URL, URLSearchParams} = require 'url'
class App extends Model
name: 'app'
attributes: [
'name'
'clientId'
'clientSecret'
'authType'
'cbUrl'
'createdBy'
]
@type:
code: 'Authorization Code'
token: 'PI:... |
[
{
"context": " ->\n\n user = new User\n _id: 'uuid'\n name: 'name'\n givenName: 'givenName'\n familyName: 'fami",
"end": 340,
"score": 0.9611627459526062,
"start": 336,
"tag": "NAME",
"value": "name"
},
{
"context": "\n _id: 'uuid'\n name: 'name'\n givenName: 'g... | test/unit/oidc/patchUserInfo.coffee | LorianeE/connect | 331 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
User = require '../../../models/User'
patchUserInfo = require('../../../oidc').patchUserInfo
describe 'Update UserInfo', ->
user = new User
_id: 'u... | 24246 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
User = require '../../../models/User'
patchUserInfo = require('../../../oidc').patchUserInfo
describe 'Update UserInfo', ->
user = new User
_id: 'u... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
chai.should()
User = require '../../../models/User'
patchUserInfo = require('../../../oidc').patchUserInfo
describe 'Update UserInfo', ->
user = new User
_id: 'u... |
[
{
"context": " indices or keys to save resources when \n# Author: Robbie Saunders http://eibbors.com/[/p/reavetard]\n# =============",
"end": 219,
"score": 0.9998834729194641,
"start": 204,
"tag": "NAME",
"value": "Robbie Saunders"
},
{
"context": "- 1) then key++\n\t\telse \n\t\t\tk... | src/pins.coffee | eibbors/reavetard | 1 | # Reavetard - Reaver WPS (+Wash) extension scripts
# pins.coffee :: Convenient WPS PIN collection class that can calculate standard
# the pins based on indices or keys to save resources when
# Author: Robbie Saunders http://eibbors.com/[/p/reavetard]
# ================================================================... | 178192 | # Reavetard - Reaver WPS (+Wash) extension scripts
# pins.coffee :: Convenient WPS PIN collection class that can calculate standard
# the pins based on indices or keys to save resources when
# Author: <NAME> http://eibbors.com/[/p/reavetard]
# =========================================================================... | true | # Reavetard - Reaver WPS (+Wash) extension scripts
# pins.coffee :: Convenient WPS PIN collection class that can calculate standard
# the pins based on indices or keys to save resources when
# Author: PI:NAME:<NAME>END_PI http://eibbors.com/[/p/reavetard]
# ===========================================================... |
[
{
"context": "own extends Region\n\n constructor: ->\n\n @name = \"Vocalnus Town\"\n @desc = \"A small shop\"\n\n @shopPercent: -> 1\n ",
"end": 259,
"score": 0.6926661729812622,
"start": 246,
"tag": "NAME",
"value": "Vocalnus Town"
}
] | src/character/regions/VocalnusTown.coffee | jawsome/IdleLands | 3 |
Region = require "../base/Region"
`/**
* This region grants you a small shop.
*
* @name Vocalnus Town
* @effect Small shops
* @category Norkos
* @package World Regions
*/`
class VocalnusTown extends Region
constructor: ->
@name = "Vocalnus Town"
@desc = "A small shop"
@shopPercent: -> 1
@shopMult:... | 163222 |
Region = require "../base/Region"
`/**
* This region grants you a small shop.
*
* @name Vocalnus Town
* @effect Small shops
* @category Norkos
* @package World Regions
*/`
class VocalnusTown extends Region
constructor: ->
@name = "<NAME>"
@desc = "A small shop"
@shopPercent: -> 1
@shopMult: -> 0.9... | true |
Region = require "../base/Region"
`/**
* This region grants you a small shop.
*
* @name Vocalnus Town
* @effect Small shops
* @category Norkos
* @package World Regions
*/`
class VocalnusTown extends Region
constructor: ->
@name = "PI:NAME:<NAME>END_PI"
@desc = "A small shop"
@shopPercent: -> 1
@sh... |
[
{
"context": ":\n project_key: 'test'\n client_secret: 'test'\n client_id: 'test'\n @customerExport = ne",
"end": 311,
"score": 0.9898836016654968,
"start": 307,
"tag": "KEY",
"value": "test"
},
{
"context": " project_key: 'test'\n client_secret: 'test'\... | src/spec/customerexport.spec.coffee | alfinonet/commercetools-customer-export | 0 | _ = require 'underscore'
_.mixin require('underscore-mixins')
Promise = require 'bluebird'
CustomerExport = require '../lib/customerexport'
customersJson = require '../data/customers.json'
describe 'CustomerExport', ->
beforeEach ->
config = config:
project_key: 'test'
client_secret: 'test'
c... | 75278 | _ = require 'underscore'
_.mixin require('underscore-mixins')
Promise = require 'bluebird'
CustomerExport = require '../lib/customerexport'
customersJson = require '../data/customers.json'
describe 'CustomerExport', ->
beforeEach ->
config = config:
project_key: 'test'
client_secret: '<KEY>'
... | true | _ = require 'underscore'
_.mixin require('underscore-mixins')
Promise = require 'bluebird'
CustomerExport = require '../lib/customerexport'
customersJson = require '../data/customers.json'
describe 'CustomerExport', ->
beforeEach ->
config = config:
project_key: 'test'
client_secret: 'PI:KEY:<KEY>E... |
[
{
"context": "nfig\": {\n \"requiredData\": {\n \"user\":[\"username\"],\n \"group\":[\"slug\"]\n },\n \"requi",
"end": 176,
"score": 0.9996877908706665,
"start": 168,
"tag": "USERNAME",
"value": "username"
},
{
"context": "aws:\\n access_key: '${v... | client/mocks/mock.draftStackTemplate.coffee | ezgikaysi/koding | 1 | module.exports = {
"accessLevel":"private",
"originId":"57043a0bd37cef1a22a5c427",
"inUse":false,
"config": {
"requiredData": {
"user":["username"],
"group":["slug"]
},
"requiredProviders":["aws","koding"],
"verified":true
},
"meta":{
"data":{
... | 26260 | module.exports = {
"accessLevel":"private",
"originId":"57043a0bd37cef1a22a5c427",
"inUse":false,
"config": {
"requiredData": {
"user":["username"],
"group":["slug"]
},
"requiredProviders":["aws","koding"],
"verified":true
},
"meta":{
"data":{
... | true | module.exports = {
"accessLevel":"private",
"originId":"57043a0bd37cef1a22a5c427",
"inUse":false,
"config": {
"requiredData": {
"user":["username"],
"group":["slug"]
},
"requiredProviders":["aws","koding"],
"verified":true
},
"meta":{
"data":{
... |
[
{
"context": "ind 1900, '0.0.0.0', ->\n socket.addMembership '239.255.255.250'\n socket.setMulticastTTL 4\n device = upnp.c",
"end": 280,
"score": 0.999768078327179,
"start": 265,
"tag": "IP_ADDRESS",
"value": "239.255.255.250"
}
] | test/ssdp.coffee | Loghorn/node-upnp-device | 20 | assert = require 'assert'
dgram = require 'dgram'
upnp = require '../index'
exports['Send out SSDP notifications'] = (test) ->
socket = dgram.createSocket 'udp4'
# Listen on SSDP broadcast address
socket.bind 1900, '0.0.0.0', ->
socket.addMembership '239.255.255.250'
socket.setMulticastTTL 4
devic... | 35096 | assert = require 'assert'
dgram = require 'dgram'
upnp = require '../index'
exports['Send out SSDP notifications'] = (test) ->
socket = dgram.createSocket 'udp4'
# Listen on SSDP broadcast address
socket.bind 1900, '0.0.0.0', ->
socket.addMembership '172.16.58.3'
socket.setMulticastTTL 4
device = ... | true | assert = require 'assert'
dgram = require 'dgram'
upnp = require '../index'
exports['Send out SSDP notifications'] = (test) ->
socket = dgram.createSocket 'udp4'
# Listen on SSDP broadcast address
socket.bind 1900, '0.0.0.0', ->
socket.addMembership 'PI:IP_ADDRESS:172.16.58.3END_PI'
socket.setMulticas... |
[
{
"context": "= originalPage = null\n\n user = new User(email: \"hats\", password: \"boats\")\n passportStub.login user\n\n ",
"end": 5511,
"score": 0.7262665629386902,
"start": 5508,
"tag": "USERNAME",
"value": "ats"
},
{
"context": "null\n\n user = new User(email: \"hats\", pass... | server/test/integration/indicators.coffee | unepwcmc/NRT | 0 | assert = require('chai').assert
helpers = require '../helpers'
request = require('request')
url = require('url')
_ = require('underscore')
async = require('async')
Q = require('q')
sinon = require('sinon')
passportStub = require 'passport-stub'
Indicator = require('../../models/indicator').model
Page = require('../../... | 82274 | assert = require('chai').assert
helpers = require '../helpers'
request = require('request')
url = require('url')
_ = require('underscore')
async = require('async')
Q = require('q')
sinon = require('sinon')
passportStub = require 'passport-stub'
Indicator = require('../../models/indicator').model
Page = require('../../... | true | assert = require('chai').assert
helpers = require '../helpers'
request = require('request')
url = require('url')
_ = require('underscore')
async = require('async')
Q = require('q')
sinon = require('sinon')
passportStub = require 'passport-stub'
Indicator = require('../../models/indicator').model
Page = require('../../... |
[
{
"context": " redisNodeId = transactionId ? nodeId\n key = \"interval/job/#{sendTo}/#{redisNodeId}\"\n\n @client.srem key, job.id, (error) =>\n r",
"end": 591,
"score": 0.9927603006362915,
"start": 553,
"tag": "KEY",
"value": "interval/job/#{sendTo}/#{redisNodeId}\""
}
] | src/interval-job-processor.coffee | octoblu/nanocyte-interval-service | 0 | _ = require 'lodash'
async = require 'async'
MeshbluHttp = require 'meshblu-http'
debug = require('debug')('nanocyte-interval-service:interval-job-processor')
class IntervalJobProcessor
constructor: (options, dependencies={}) ->
{
@kue
@client
@queue
@registerJobProc... | 146466 | _ = require 'lodash'
async = require 'async'
MeshbluHttp = require 'meshblu-http'
debug = require('debug')('nanocyte-interval-service:interval-job-processor')
class IntervalJobProcessor
constructor: (options, dependencies={}) ->
{
@kue
@client
@queue
@registerJobProc... | true | _ = require 'lodash'
async = require 'async'
MeshbluHttp = require 'meshblu-http'
debug = require('debug')('nanocyte-interval-service:interval-job-processor')
class IntervalJobProcessor
constructor: (options, dependencies={}) ->
{
@kue
@client
@queue
@registerJobProc... |
[
{
"context": "@travisPro.address().port\n TRAVIS_PRO_TOKEN = 'travis-pro-token'\n\n meshbluConfig =\n protocol: 'http'\n ",
"end": 1283,
"score": 0.859224796295166,
"start": 1267,
"tag": "PASSWORD",
"value": "travis-pro-token"
},
{
"context": "'\n baseUrl: @baseUrl... | test/integration/cancellations-spec.coffee | octoblu/deployinate-service | 1 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
url = require 'url'
Server = require '../../src/server'
describe 'POST /cancellations', ->
beforeEach (done) ->
@meshbluS... | 76917 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
url = require 'url'
Server = require '../../src/server'
describe 'POST /cancellations', ->
beforeEach (done) ->
@meshbluS... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
url = require 'url'
Server = require '../../src/server'
describe 'POST /cancellations', ->
beforeEach (done) ->
@meshbluS... |
[
{
"context": "- - - - - - - - - - - - - - - #\n# Copyright © 2015 Denis Luchkin-Zhou #\n# See L",
"end": 277,
"score": 0.9998670816421509,
"start": 259,
"tag": "NAME",
"value": "Denis Luchkin-Zhou"
}
] | gulp/server-launch-old.coffee | jluchiji/tranzit | 0 | # --------------------------------------------------------------------------- #
# wyvernzora.ninja build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 Denis Luchkin-Zhou #
... | 73044 | # --------------------------------------------------------------------------- #
# wyvernzora.ninja build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 <NAME> #
# See LICENS... | true | # --------------------------------------------------------------------------- #
# wyvernzora.ninja build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 PI:NAME:<NAME>END_PI ... |
[
{
"context": "tocol module', ->\n protocolName = 'sp'\n text = 'valar morghulis'\n postData =\n name: 'post test'\n type: 'st",
"end": 263,
"score": 0.9997062087059021,
"start": 248,
"tag": "NAME",
"value": "valar morghulis"
},
{
"context": " text = 'valar morghulis'\n post... | spec/api-protocol-spec.coffee | kndl/electron | 1 | assert = require 'assert'
http = require 'http'
path = require 'path'
qs = require 'querystring'
{remote} = require 'electron'
{protocol} = remote.require 'electron'
describe 'protocol module', ->
protocolName = 'sp'
text = 'valar morghulis'
postData =
name: 'post test'
type: 'string'
... | 165940 | assert = require 'assert'
http = require 'http'
path = require 'path'
qs = require 'querystring'
{remote} = require 'electron'
{protocol} = remote.require 'electron'
describe 'protocol module', ->
protocolName = 'sp'
text = '<NAME>'
postData =
name: '<NAME>'
type: 'string'
afterEach ... | true | assert = require 'assert'
http = require 'http'
path = require 'path'
qs = require 'querystring'
{remote} = require 'electron'
{protocol} = remote.require 'electron'
describe 'protocol module', ->
protocolName = 'sp'
text = 'PI:NAME:<NAME>END_PI'
postData =
name: 'PI:NAME:<NAME>END_PI'
... |
[
{
"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.9998788833618164,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/Debug/Exception.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.
###
#
# Exception is maybe a mistake...
#
# @author Jessym Reziga <jessym@konsserto.com>
#... | 96301 | ###
* 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.
###
#
# Exception is maybe a mistake...
#
# @author <NAME> <<EMAIL>>
#
class Exception extends Error
# Cla... | 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.
###
#
# Exception is maybe a mistake...
#
# @author PI:NAME:<NAME>END_PI <PI:EMAI... |
[
{
"context": "\n\n test_extra_url_vars =\n test_key : 'test_value'\n test_key2 : 'test_value2'\n\n tile_op",
"end": 3780,
"score": 0.9984385967254639,
"start": 3770,
"tag": "KEY",
"value": "test_value"
},
{
"context": " test_key : 'test_value'\n tes... | bokehjs/test/models/tiles/tile_renderer.coffee | DuCorey/bokeh | 6 | {expect} = require "chai"
utils = require "../../utils"
{shuffle} = utils.require "core/util/array"
{TileRenderer} = utils.require "models/tiles/tile_renderer"
{TileSource} = utils.require "models/tiles/tile_source"
{MercatorTileSource} = utils.require "models/tiles/mercator_tile_source"
{TMSTileSource} = utils.requir... | 111801 | {expect} = require "chai"
utils = require "../../utils"
{shuffle} = utils.require "core/util/array"
{TileRenderer} = utils.require "models/tiles/tile_renderer"
{TileSource} = utils.require "models/tiles/tile_source"
{MercatorTileSource} = utils.require "models/tiles/mercator_tile_source"
{TMSTileSource} = utils.requir... | true | {expect} = require "chai"
utils = require "../../utils"
{shuffle} = utils.require "core/util/array"
{TileRenderer} = utils.require "models/tiles/tile_renderer"
{TileSource} = utils.require "models/tiles/tile_source"
{MercatorTileSource} = utils.require "models/tiles/mercator_tile_source"
{TMSTileSource} = utils.requir... |
[
{
"context": ": \"100006151097293\",\n # \"first_name\": \"Cosmic\",\n # \"gender\": \"male\",\n # \"",
"end": 6902,
"score": 0.9996349811553955,
"start": 6896,
"tag": "NAME",
"value": "Cosmic"
},
{
"context": " \"isActive\": true,\n # \... | lib/pegg-parse.coffee | Gratzi/pegg-squishle-parse | 0 | { fail, pretty, debug, log, errorLog } = require '../lib/common'
_ = require 'lodash'
Parse = require('parse/node')
Promise = Parse.Promise
PARSE_APP_ID = process.env.PARSE_APP_ID or fail "cannot have an empty PARSE_APP_ID"
PARSE_MASTER_KEY = process.env.PARSE_MASTER_KEY or fail "cannot have an empty PARSE_MASTER_KEY"... | 185048 | { fail, pretty, debug, log, errorLog } = require '../lib/common'
_ = require 'lodash'
Parse = require('parse/node')
Promise = Parse.Promise
PARSE_APP_ID = process.env.PARSE_APP_ID or fail "cannot have an empty PARSE_APP_ID"
PARSE_MASTER_KEY = process.env.PARSE_MASTER_KEY or fail "cannot have an empty PARSE_MASTER_KEY"... | true | { fail, pretty, debug, log, errorLog } = require '../lib/common'
_ = require 'lodash'
Parse = require('parse/node')
Promise = Parse.Promise
PARSE_APP_ID = process.env.PARSE_APP_ID or fail "cannot have an empty PARSE_APP_ID"
PARSE_MASTER_KEY = process.env.PARSE_MASTER_KEY or fail "cannot have an empty PARSE_MASTER_KEY"... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9963200688362122,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/clientFilePage/planTab/index.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Top-level container for Plan Tab and plan-related utlities in the client file
# It holds a transient state of the pla... | 163842 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Top-level container for Plan Tab and plan-related utlities in the client file
# It holds a transient state of the pla... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Top-level container for Plan Tab and plan-related utlities in the client file
# It holds a transient st... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998475313186646,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/gl/contract.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 3470 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "template: template\n\n contributors: [\n {name: \"Tom Steinbrecher\", avatar: \"tom\"}\n {name: \"Sébastien Moratinos\"",
"end": 277,
"score": 0.9998985528945923,
"start": 261,
"tag": "NAME",
"value": "Tom Steinbrecher"
},
{
"context": "e: \"Tom Steinbrecher\", a... | app/views/contribute/archmage_view.coffee | JeremyGeros/codecombat | 1 | ContributeClassView = require 'views/contribute/contribute_class_view'
template = require 'templates/contribute/archmage'
module.exports = class ArchmageView extends ContributeClassView
id: "archmage-view"
template: template
contributors: [
{name: "Tom Steinbrecher", avatar: "tom"}
{name: "Sébastien Mor... | 36924 | ContributeClassView = require 'views/contribute/contribute_class_view'
template = require 'templates/contribute/archmage'
module.exports = class ArchmageView extends ContributeClassView
id: "archmage-view"
template: template
contributors: [
{name: "<NAME>", avatar: "tom"}
{name: "<NAME>", avatar: "sebas... | true | ContributeClassView = require 'views/contribute/contribute_class_view'
template = require 'templates/contribute/archmage'
module.exports = class ArchmageView extends ContributeClassView
id: "archmage-view"
template: template
contributors: [
{name: "PI:NAME:<NAME>END_PI", avatar: "tom"}
{name: "PI:NAME:<... |
[
{
"context": "\n\t\t\tjson: {\n\t\t\t\tuser_id: v1_user_id,\n\t\t\t\tpassword: password\n\t\t\t}\n\t\t\texpectedStatusCodes: [200]\n\t\t}, (err, res",
"end": 1147,
"score": 0.9989767074584961,
"start": 1139,
"tag": "PASSWORD",
"value": "password"
}
] | app/coffee/Features/V1/V1Handler.coffee | shyoshyo/web-sharelatex | 1 | V1Api = require './V1Api'
Settings = require 'settings-sharelatex'
logger = require 'logger-sharelatex'
module.exports = V1Handler =
authWithV1: (email, password, callback=(err, isValid, v1Profile)->) ->
V1Api.request {
method: 'POST',
url: '/api/v1/sharelatex/login',
json: {email, password},
expected... | 33140 | V1Api = require './V1Api'
Settings = require 'settings-sharelatex'
logger = require 'logger-sharelatex'
module.exports = V1Handler =
authWithV1: (email, password, callback=(err, isValid, v1Profile)->) ->
V1Api.request {
method: 'POST',
url: '/api/v1/sharelatex/login',
json: {email, password},
expected... | true | V1Api = require './V1Api'
Settings = require 'settings-sharelatex'
logger = require 'logger-sharelatex'
module.exports = V1Handler =
authWithV1: (email, password, callback=(err, isValid, v1Profile)->) ->
V1Api.request {
method: 'POST',
url: '/api/v1/sharelatex/login',
json: {email, password},
expected... |
[
{
"context": "aliseNick(a) == normaliseNick(b)\n\n# Many thanks to Dennis for his StackOverflow answer: http://goo.gl/UDanx",
"end": 1743,
"score": 0.9940740466117859,
"start": 1737,
"tag": "NAME",
"value": "Dennis"
}
] | src/irc.coffee | progrium/ircv | 1 | unless exports?
exports = window.irc = {}
parseCommand = (data) ->
str = data.toString('utf8')
parts = ///
^
(?: : ([^\x20]+?) \x20)? # prefix
([^\x20]+?) # command
((?:\x20 [^\x20:] [^\x20]*)+)? # params
(?:\x20:(.*))? # trail
$
///.exec(str... | 80992 | unless exports?
exports = window.irc = {}
parseCommand = (data) ->
str = data.toString('utf8')
parts = ///
^
(?: : ([^\x20]+?) \x20)? # prefix
([^\x20]+?) # command
((?:\x20 [^\x20:] [^\x20]*)+)? # params
(?:\x20:(.*))? # trail
$
///.exec(str... | true | unless exports?
exports = window.irc = {}
parseCommand = (data) ->
str = data.toString('utf8')
parts = ///
^
(?: : ([^\x20]+?) \x20)? # prefix
([^\x20]+?) # command
((?:\x20 [^\x20:] [^\x20]*)+)? # params
(?:\x20:(.*))? # trail
$
///.exec(str... |
[
{
"context": "###\n# test/mocha/routes/user.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Integration te",
"end": 58,
"score": 0.9996687173843384,
"start": 47,
"tag": "NAME",
"value": "Dan Nichols"
},
{
"context": " _id: 'an_invalid_id'\n passw... | test/mocha/routes/user.coffee | dlnichols/h_media | 0 | ###
# test/mocha/routes/user.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Integration tests for our User routes
###
'use strict'
# External libs
_ = require 'lodash'
expect = require('chai').expect
supertest = require 'supertest'
# Internal libs
app = require '../../../server'
reque... | 108994 | ###
# test/mocha/routes/user.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Integration tests for our User routes
###
'use strict'
# External libs
_ = require 'lodash'
expect = require('chai').expect
supertest = require 'supertest'
# Internal libs
app = require '../../../server'
request = ... | true | ###
# test/mocha/routes/user.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Integration tests for our User routes
###
'use strict'
# External libs
_ = require 'lodash'
expect = require('chai').expect
supertest = require 'supertest'
# Internal libs
app = require '../../../serv... |
[
{
"context": "s 'values: 0 1 2 3 4 5 6 7 8 9'\n\nobj = {\n name: 'Joe'\n hi: -> \"Hello #{@name}.\"\n cya: -> \"Hello #{@n",
"end": 1604,
"score": 0.9983388781547546,
"start": 1601,
"tag": "NAME",
"value": "Joe"
},
{
"context": "replace('Hello','Goodbye')\n}\nok obj.hi() is \"Hell... | test/interpolation.coffee | jeremyBanks-archive/coffeescript | 1 | # Interpolation
# -------------
# * String Interpolation
# * Regular Expression Interpolation
#### String Interpolation
# TODO: refactor string interpolation tests
eq 'multiline nested "interpolations" work', """multiline #{
"nested #{
ok true
"\"interpolations\""
}"
} work"""
# Issue #923: Tricky inte... | 166440 | # Interpolation
# -------------
# * String Interpolation
# * Regular Expression Interpolation
#### String Interpolation
# TODO: refactor string interpolation tests
eq 'multiline nested "interpolations" work', """multiline #{
"nested #{
ok true
"\"interpolations\""
}"
} work"""
# Issue #923: Tricky inte... | true | # Interpolation
# -------------
# * String Interpolation
# * Regular Expression Interpolation
#### String Interpolation
# TODO: refactor string interpolation tests
eq 'multiline nested "interpolations" work', """multiline #{
"nested #{
ok true
"\"interpolations\""
}"
} work"""
# Issue #923: Tricky inte... |
[
{
"context": "lidation in a React component definition\n# @author Yannick Croissant\n###\n'use strict'\n\n### eslint-disable coffee/objec",
"end": 113,
"score": 0.9998222589492798,
"start": 96,
"tag": "NAME",
"value": "Yannick Croissant"
},
{
"context": "rs = this.props.users.find(us... | src/tests/rules/prop-types.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent missing props validation in a React component definition
# @author Yannick Croissant
###
'use strict'
### eslint-disable coffee/object-shorthand, coffee/prefer-object-spread ###
# ------------------------------------------------------------------------------
# Requirements
# -------------... | 94180 | ###*
# @fileoverview Prevent missing props validation in a React component definition
# @author <NAME>
###
'use strict'
### eslint-disable coffee/object-shorthand, coffee/prefer-object-spread ###
# ------------------------------------------------------------------------------
# Requirements
# ------------------------... | true | ###*
# @fileoverview Prevent missing props validation in a React component definition
# @author PI:NAME:<NAME>END_PI
###
'use strict'
### eslint-disable coffee/object-shorthand, coffee/prefer-object-spread ###
# ------------------------------------------------------------------------------
# Requirements
# ----------... |
[
{
"context": "nstruction', ->\n context = { people: [{ name: 'jonas' }, { name: 'peter' }] }\n\n @render '''\n u",
"end": 212,
"score": 0.9994858503341675,
"start": 207,
"tag": "NAME",
"value": "jonas"
},
{
"context": " context = { people: [{ name: 'jonas' }, { name: 'pete... | test/integration/collection.spec.coffee | jnicklas/serenade.js | 1 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Collection', ->
beforeEach ->
@setupDom()
it 'compiles a collection instruction', ->
context = { people: [{ name: 'jonas' }, { name: 'peter' }] }
@render '''
ul
- collection $people
li[id=name]
'... | 209614 | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Collection', ->
beforeEach ->
@setupDom()
it 'compiles a collection instruction', ->
context = { people: [{ name: '<NAME>' }, { name: '<NAME>' }] }
@render '''
ul
- collection $people
li[id=name]
... | true | require './../spec_helper'
Serenade = require('../../lib/serenade')
describe 'Collection', ->
beforeEach ->
@setupDom()
it 'compiles a collection instruction', ->
context = { people: [{ name: 'PI:NAME:<NAME>END_PI' }, { name: 'PI:NAME:<NAME>END_PI' }] }
@render '''
ul
- collection $peop... |
[
{
"context": "s\" : {\n \"def\" : [ {\n \"name\" : \"Patient\",\n \"context\" : \"Patient\",\n ",
"end": 1044,
"score": 0.9907224178314209,
"start": 1037,
"tag": "NAME",
"value": "Patient"
},
{
"context": " \"localId\" : \"3\",\n ... | test/elm/arithmetic/data.coffee | luis1van/cql-execution-1 | 0 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.cql to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Add
library TestSnippet version '1'
using QUICK
context Patient
define Ten: 10
define Eleven: 11
define OnePlusT... | 129569 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.cql to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Add
library TestSnippet version '1'
using QUICK
context Patient
define Ten: 10
define Eleven: 11
define OnePlusT... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.cql to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### Add
library TestSnippet version '1'
using QUICK
context Patient
define Ten: 10
define Eleven: 11
define OnePlusT... |
[
{
"context": "kenAccessHandler\", ->\n\n\tbeforeEach ->\n\t\t@token = 'sometokenthing'\n\t\t@projectId = ObjectId()\n\t\t@project =\n\t\t\t_id: @",
"end": 398,
"score": 0.9779714345932007,
"start": 384,
"tag": "PASSWORD",
"value": "sometokenthing"
},
{
"context": "adAndWriteToken', -... | test/unit/coffee/TokenAccess/TokenAccessHandlerTests.coffee | shyoshyo/web-sharelatex | 1 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/TokenAccess/TokenAccessHandler"
expect = require("chai").expect
ObjectId = require("mongojs").ObjectId... | 56675 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/TokenAccess/TokenAccessHandler"
expect = require("chai").expect
ObjectId = require("mongojs").ObjectId... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/TokenAccess/TokenAccessHandler"
expect = require("chai").expect
ObjectId = require("mongojs").ObjectId... |
[
{
"context": "Type: \"json\",\n method: \"GET\",\n username: repo.username,\n password: atom.config.get 'github-plus.pri",
"end": 1091,
"score": 0.9975700378417969,
"start": 1078,
"tag": "USERNAME",
"value": "repo.username"
},
{
"context": "T\",\n username: repo.u... | lib/github.coffee | rododo-meow/atom-github-plus | 2 | $ = require 'jquery'
Issue = require './models/Issue'
module.exports =
getRepository: ->
new Promise (resolve, reject) ->
project = atom.project
path = atom.workspace.getActiveTextEditor()?.getPath()
directory = project.getDirectories().filter((d) -> d.contains(path))[0]
if directory?
... | 184266 | $ = require 'jquery'
Issue = require './models/Issue'
module.exports =
getRepository: ->
new Promise (resolve, reject) ->
project = atom.project
path = atom.workspace.getActiveTextEditor()?.getPath()
directory = project.getDirectories().filter((d) -> d.contains(path))[0]
if directory?
... | true | $ = require 'jquery'
Issue = require './models/Issue'
module.exports =
getRepository: ->
new Promise (resolve, reject) ->
project = atom.project
path = atom.workspace.getActiveTextEditor()?.getPath()
directory = project.getDirectories().filter((d) -> d.contains(path))[0]
if directory?
... |
[
{
"context": "on:\n# None\n#\n# Commands:\n# rekt\n#\n# Author:\n# Fayt\n\ntold= [\n\t\"? Still Not rekt\",\n\"? Rekt\",\n\"? Really",
"end": 121,
"score": 0.9942310452461243,
"start": 117,
"tag": "NAME",
"value": "Fayt"
},
{
"context": "ekt\",\n\"? The Arekters\",\n\"? There Wi... | Hubot/rekt.coffee | FaytLeingod007/JabbR | 3 | # Description:
# None
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# rekt
#
# Author:
# Fayt
told= [
"? Still Not rekt",
"? Rekt",
"? Really Rekt",
"? Tyrannosaurus Rekt",
"? Cash4Rekt.com",
"? Grapes of Rekt",
"? Ship Rekt",
"? Rekt markes the spot",
"? Caught rekt handed",
"? The Rekt S... | 12625 | # Description:
# None
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# rekt
#
# Author:
# <NAME>
told= [
"? Still Not rekt",
"? Rekt",
"? Really Rekt",
"? Tyrannosaurus Rekt",
"? Cash4Rekt.com",
"? Grapes of Rekt",
"? Ship Rekt",
"? Rekt markes the spot",
"? Caught rekt handed",
"? The Rekt... | true | # Description:
# None
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# rekt
#
# Author:
# PI:NAME:<NAME>END_PI
told= [
"? Still Not rekt",
"? Rekt",
"? Really Rekt",
"? Tyrannosaurus Rekt",
"? Cash4Rekt.com",
"? Grapes of Rekt",
"? Ship Rekt",
"? Rekt markes the spot",
"? Caught rekt handed... |
[
{
"context": "vices/it/tokens').reply 201, {uuid: 'it', token: 'ti'}\n @meshblu.put('/v2/devices/it').reply 204\n ",
"end": 832,
"score": 0.4068511724472046,
"start": 830,
"tag": "PASSWORD",
"value": "ti"
},
{
"context": "lowRedirect: false\n auth:\n username: 'bogus'... | test/integration/authentication-sendgrid-spec.coffee | octoblu/endo-sendgrid | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
Endo = require 'endo-core'
_ = require 'lodash'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
url = require 'url'
ENDO_DEFAULTS = require '../endo-defau... | 224882 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
Endo = require 'endo-core'
_ = require 'lodash'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
url = require 'url'
ENDO_DEFAULTS = require '../endo-defau... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
Endo = require 'endo-core'
_ = require 'lodash'
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
url = require 'url'
ENDO_DEFAULTS = require '../endo-defau... |
[
{
"context": "ific org repo and branch to heroku\n#\n# Author:\n# Ollie Jennings <ollie@olliejennings.co.uk>\n\n\ndeploy = require \".",
"end": 763,
"score": 0.9998236894607544,
"start": 749,
"tag": "NAME",
"value": "Ollie Jennings"
},
{
"context": " branch to heroku\n#\n# Author:\... | src/deploy.coffee | boxxenapp/hubot-deploy | 4 | # Description:
# Allow Hubot to deploy GitHub repos+branches to a PaaS
#
# Dependencies:
# "github": "latest"
# "heroku-client": "latest"
# "js-yaml": "latest"
# "lodash": "latest"
#
# Configuration:
# HUBOT_GITHUB_ORG - Github Organization Name (optional)
# HUBOT_GITHUB_KEY - GitHub API Token
# HUBOT_H... | 202220 | # Description:
# Allow Hubot to deploy GitHub repos+branches to a PaaS
#
# Dependencies:
# "github": "latest"
# "heroku-client": "latest"
# "js-yaml": "latest"
# "lodash": "latest"
#
# Configuration:
# HUBOT_GITHUB_ORG - Github Organization Name (optional)
# HUBOT_GITHUB_KEY - GitHub API Token
# HUBOT_H... | true | # Description:
# Allow Hubot to deploy GitHub repos+branches to a PaaS
#
# Dependencies:
# "github": "latest"
# "heroku-client": "latest"
# "js-yaml": "latest"
# "lodash": "latest"
#
# Configuration:
# HUBOT_GITHUB_ORG - Github Organization Name (optional)
# HUBOT_GITHUB_KEY - GitHub API Token
# HUBOT_H... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n© Copyright 2006 Goog",
"end": 39,
"score": 0.9998984336853027,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>... | src/Core/Constants.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
© Copyright 2006 Google Inc. <http://www.google.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licen... | 224670 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
© Copyright 2006 Google Inc. <http://www.google.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unles... | true | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
© Copyright 2006 Google Inc. <http://www.google.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org... |
[
{
"context": "h ->\n user = new App.User(id: 1, firstName: \"Lance\")\n \n test '#formFor()', ->\n template",
"end": 217,
"score": 0.9997167587280273,
"start": 212,
"tag": "NAME",
"value": "Lance"
}
] | test/cases/view/formTest.coffee | hussainmuzzamil/tower | 1 | require '../../config'
view = null
user = null
describe 'Tower.View.Form', ->
beforeEach ->
view = new Tower.View
describe 'form', ->
beforeEach ->
user = new App.User(id: 1, firstName: "Lance")
test '#formFor()', ->
template = ->
formFor()
view.render temp... | 173531 | require '../../config'
view = null
user = null
describe 'Tower.View.Form', ->
beforeEach ->
view = new Tower.View
describe 'form', ->
beforeEach ->
user = new App.User(id: 1, firstName: "<NAME>")
test '#formFor()', ->
template = ->
formFor()
view.render tem... | true | require '../../config'
view = null
user = null
describe 'Tower.View.Form', ->
beforeEach ->
view = new Tower.View
describe 'form', ->
beforeEach ->
user = new App.User(id: 1, firstName: "PI:NAME:<NAME>END_PI")
test '#formFor()', ->
template = ->
formFor()
v... |
[
{
"context": "ame: 'Name Nameyname '+_.uniqueId()\n email: 'user'+_.uniqueId()+'@example.com'\n password: 'pas",
"end": 2300,
"score": 0.8612086772918701,
"start": 2296,
"tag": "EMAIL",
"value": "user"
},
{
"context": "me '+_.uniqueId()\n email: 'user'+_.uniqueId()+'@e... | spec/server/utils.coffee | johanvl/codecombat | 2 | async = require 'async'
utils = require '../../server/lib/utils'
co = require 'co'
Promise = require 'bluebird'
Article = require '../../server/models/Article'
LevelComponent = require '../../server/models/LevelComponent'
LevelSystem = require '../../server/models/LevelSystem'
Poll = require '../../server/models/Poll'
... | 57667 | async = require 'async'
utils = require '../../server/lib/utils'
co = require 'co'
Promise = require 'bluebird'
Article = require '../../server/models/Article'
LevelComponent = require '../../server/models/LevelComponent'
LevelSystem = require '../../server/models/LevelSystem'
Poll = require '../../server/models/Poll'
... | true | async = require 'async'
utils = require '../../server/lib/utils'
co = require 'co'
Promise = require 'bluebird'
Article = require '../../server/models/Article'
LevelComponent = require '../../server/models/LevelComponent'
LevelSystem = require '../../server/models/LevelSystem'
Poll = require '../../server/models/Poll'
... |
[
{
"context": "rs.save {\n _id: ObjectId(user.id)\n name: user.name\n email: user.email\n type: user.type\n ",
"end": 1908,
"score": 0.9247472882270813,
"start": 1899,
"tag": "NAME",
"value": "user.name"
}
] | src/api/apps/users/model.coffee | craigspaeth/positron | 0 | #
# Library of retrieval, persistance, validation, json view, and domain logic
# for the "users" resource.
#
_ = require 'underscore'
async = require 'async'
db = require '../../lib/db'
request = require 'superagent'
async = require 'async'
bcrypt = require 'bcryptjs'
{ ObjectId } = require 'mongojs'
{ ARTSY_URL, SALT... | 131710 | #
# Library of retrieval, persistance, validation, json view, and domain logic
# for the "users" resource.
#
_ = require 'underscore'
async = require 'async'
db = require '../../lib/db'
request = require 'superagent'
async = require 'async'
bcrypt = require 'bcryptjs'
{ ObjectId } = require 'mongojs'
{ ARTSY_URL, SALT... | true | #
# Library of retrieval, persistance, validation, json view, and domain logic
# for the "users" resource.
#
_ = require 'underscore'
async = require 'async'
db = require '../../lib/db'
request = require 'superagent'
async = require 'async'
bcrypt = require 'bcryptjs'
{ ObjectId } = require 'mongojs'
{ ARTSY_URL, SALT... |
[
{
"context": "=\n docType: \"user\"\n email: 'test@cozycloud.cc'\n # password: 'password'\n t",
"end": 402,
"score": 0.999925971031189,
"start": 385,
"tag": "EMAIL",
"value": "test@cozycloud.cc"
},
{
"context": "ail: 'test@cozycloud.cc'\n ... | tests/api.coffee | cozy-labs/cozy-db-pouchdb | 1 | should = require 'should'
CozyAdapter = require('../src/index')
{createDoc, deleteDoc, clearDocType} = require './helpers'
describe "API Functions", ->
userID = null
instanceID = null
before (done) ->
CozyAdapter.configure __dirname, null, done
before clearDocType 'user'
before (done) -... | 57656 | should = require 'should'
CozyAdapter = require('../src/index')
{createDoc, deleteDoc, clearDocType} = require './helpers'
describe "API Functions", ->
userID = null
instanceID = null
before (done) ->
CozyAdapter.configure __dirname, null, done
before clearDocType 'user'
before (done) -... | true | should = require 'should'
CozyAdapter = require('../src/index')
{createDoc, deleteDoc, clearDocType} = require './helpers'
describe "API Functions", ->
userID = null
instanceID = null
before (done) ->
CozyAdapter.configure __dirname, null, done
before clearDocType 'user'
before (done) -... |
[
{
"context": "g\n) ->\n \n # Adapted from https://raw.github.com/millermedeiros/js-signals/\n\n #global SignalBinding:false\n\n # S",
"end": 148,
"score": 0.9991798400878906,
"start": 134,
"tag": "USERNAME",
"value": "millermedeiros"
},
{
"context": "ert Penner's AS3 Signals.\n ... | src/Coffixi/utils/Signal.coffee | namuol/Coffixi | 1 | define 'Coffixi/utils/Signal', [
'Coffixi/utils/SignalBinding'
], (
SignalBinding
) ->
# Adapted from https://raw.github.com/millermedeiros/js-signals/
#global SignalBinding:false
# Signal --------------------------------------------------------
#========================================================... | 59230 | define 'Coffixi/utils/Signal', [
'Coffixi/utils/SignalBinding'
], (
SignalBinding
) ->
# Adapted from https://raw.github.com/millermedeiros/js-signals/
#global SignalBinding:false
# Signal --------------------------------------------------------
#========================================================... | true | define 'Coffixi/utils/Signal', [
'Coffixi/utils/SignalBinding'
], (
SignalBinding
) ->
# Adapted from https://raw.github.com/millermedeiros/js-signals/
#global SignalBinding:false
# Signal --------------------------------------------------------
#========================================================... |
[
{
"context": "# @author Gianluigi Mango\n# Handle API requests\nfs = require 'fs'\nNotify = ",
"end": 25,
"score": 0.9998526573181152,
"start": 10,
"tag": "NAME",
"value": "Gianluigi Mango"
}
] | dev/server/apiHandler.coffee | knickatheart/mean-api | 0 | # @author Gianluigi Mango
# Handle API requests
fs = require 'fs'
Notify = require './api/utils/Notifier'
# Automatically detect GET or POST requests
module.exports = (req, res, post) ->
errorMessage = message: 'No fragment or no parameters have been specified check your query', example: '/api/fragment/method?paramet... | 147010 | # @author <NAME>
# Handle API requests
fs = require 'fs'
Notify = require './api/utils/Notifier'
# Automatically detect GET or POST requests
module.exports = (req, res, post) ->
errorMessage = message: 'No fragment or no parameters have been specified check your query', example: '/api/fragment/method?parameter=value'... | true | # @author PI:NAME:<NAME>END_PI
# Handle API requests
fs = require 'fs'
Notify = require './api/utils/Notifier'
# Automatically detect GET or POST requests
module.exports = (req, res, post) ->
errorMessage = message: 'No fragment or no parameters have been specified check your query', example: '/api/fragment/method?pa... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999109506607056,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/lib/store-checkout.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.
# TODO: migrate to store.ts.
import { StorePaypal } from 'store-paypal'
import { StoreXsolla } from 'store-xsolla'
export class StoreCheckout
... | 216325 | # 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.
# TODO: migrate to store.ts.
import { StorePaypal } from 'store-paypal'
import { StoreXsolla } from 'store-xsolla'
export class StoreCheckout
@CHECK... | 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.
# TODO: migrate to store.ts.
import { StorePaypal } from 'store-paypal'
import { StoreXsolla } from 'store-xsolla'
export class StoreCh... |
[
{
"context": "before ->\n @skip() if __globalTest.offline\n\n [Alice, Bob] = [null, null]\n it 'create mailboxes', ->\n",
"end": 508,
"score": 0.6915937662124634,
"start": 503,
"tag": "NAME",
"value": "Alice"
},
{
"context": "ull]\n it 'create mailboxes', ->\n MailBox.new('A... | tests/specs/06.relay.coffee | vault12/glow | 14 | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
describe 'Relay Ops, low level API', ->
return unles... | 192100 | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
describe 'Relay Ops, low level API', ->
return unles... | true | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
describe 'Relay Ops, low level API', ->
return unles... |
[
{
"context": " @props = cors.parseUrlIntoDomainTldPort(\"http://192.168.5.10\")\n\n it \"does not match\", ->\n @isFalse",
"end": 2454,
"score": 0.9996258616447449,
"start": 2442,
"tag": "IP_ADDRESS",
"value": "192.168.5.10"
},
{
"context": " it \"does not match\", ->\n ... | packages/server/test/unit/cors_spec.coffee | intrepion/cypress | 0 | require("../spec_helper")
cors = require("#{root}lib/util/cors")
describe "lib/util/cors", ->
context ".parseUrlIntoDomainTldPort", ->
beforeEach ->
@isEq = (url, obj) ->
expect(cors.parseUrlIntoDomainTldPort(url)).to.deep.eq(obj)
it "parses https://www.google.com", ->
@isEq("https://ww... | 104793 | require("../spec_helper")
cors = require("#{root}lib/util/cors")
describe "lib/util/cors", ->
context ".parseUrlIntoDomainTldPort", ->
beforeEach ->
@isEq = (url, obj) ->
expect(cors.parseUrlIntoDomainTldPort(url)).to.deep.eq(obj)
it "parses https://www.google.com", ->
@isEq("https://ww... | true | require("../spec_helper")
cors = require("#{root}lib/util/cors")
describe "lib/util/cors", ->
context ".parseUrlIntoDomainTldPort", ->
beforeEach ->
@isEq = (url, obj) ->
expect(cors.parseUrlIntoDomainTldPort(url)).to.deep.eq(obj)
it "parses https://www.google.com", ->
@isEq("https://ww... |
[
{
"context": "###\n# YCatalyst\n# Copyright(c) 2011 Jae Kwon (jae@ycatalyst.com)\n# MIT Licensed\n###\n\nemail = r",
"end": 44,
"score": 0.9998438358306885,
"start": 36,
"tag": "NAME",
"value": "Jae Kwon"
},
{
"context": "###\n# YCatalyst\n# Copyright(c) 2011 Jae Kwon (jae@ycatalyst.... | logic/mailer.coffee | jaekwon/YCatalyst | 3 | ###
# YCatalyst
# Copyright(c) 2011 Jae Kwon (jae@ycatalyst.com)
# MIT Licensed
###
email = require('nodemailer')
base64 = require('../static/base64')
utils = require('../utils')
mongo = require('../mongo')
config = require('../config')
# configure nodemailer
# HACK: quick workaround around https://github.com/andris9... | 73193 | ###
# YCatalyst
# Copyright(c) 2011 <NAME> (<EMAIL>)
# MIT Licensed
###
email = require('nodemailer')
base64 = require('../static/base64')
utils = require('../utils')
mongo = require('../mongo')
config = require('../config')
# configure nodemailer
# HACK: quick workaround around https://github.com/andris9/Nodemailer/... | true | ###
# YCatalyst
# Copyright(c) 2011 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# MIT Licensed
###
email = require('nodemailer')
base64 = require('../static/base64')
utils = require('../utils')
mongo = require('../mongo')
config = require('../config')
# configure nodemailer
# HACK: quick workaround around https://g... |
[
{
"context": "(optional)\n #\n # Return nothing\n addUser: (jid, username, realName, room = null) ->\n options = {\n ",
"end": 2007,
"score": 0.7311877012252808,
"start": 1999,
"tag": "USERNAME",
"value": "username"
},
{
"context": "\n #\n # Return nothing\n addUser: (j... | src/ryver.coffee | RyverApp/hubot-ryver | 23 | {Adapter, EnterMessage, LeaveMessage, TextMessage} = require('hubot')
Ratatoskr = require('ratatoskr')
HTTP = require 'http'
HTTPS = require 'https'
class RyverBot extends Adapter
constructor: (@robot) ->
#all instance vars have corresponding getter and setter funct... | 74421 | {Adapter, EnterMessage, LeaveMessage, TextMessage} = require('hubot')
Ratatoskr = require('ratatoskr')
HTTP = require 'http'
HTTPS = require 'https'
class RyverBot extends Adapter
constructor: (@robot) ->
#all instance vars have corresponding getter and setter funct... | true | {Adapter, EnterMessage, LeaveMessage, TextMessage} = require('hubot')
Ratatoskr = require('ratatoskr')
HTTP = require 'http'
HTTPS = require 'https'
class RyverBot extends Adapter
constructor: (@robot) ->
#all instance vars have corresponding getter and setter funct... |
[
{
"context": "s Vector\n\n # Perlin noise implementation based on Stefan Gustavson's java implementation\n # http://webstaff.itn.liu",
"end": 128,
"score": 0.9992758631706238,
"start": 112,
"tag": "NAME",
"value": "Stefan Gustavson"
},
{
"context": "d on sj26's simplex port: https:... | src/coffee/extend/Noise.coffee | williamngan/pt | 1,005 | # ### Generate Perlin and Simplex2D noise.
class Noise extends Vector
# Perlin noise implementation based on Stefan Gustavson's java implementation
# http://webstaff.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
# http://webstaff.itn.liu.se/~stegu/simplexnoise/SimplexNoise.java
# coffeescript based on sj26's... | 206789 | # ### Generate Perlin and Simplex2D noise.
class Noise extends Vector
# Perlin noise implementation based on <NAME>'s java implementation
# http://webstaff.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
# http://webstaff.itn.liu.se/~stegu/simplexnoise/SimplexNoise.java
# coffeescript based on sj26's simplex p... | true | # ### Generate Perlin and Simplex2D noise.
class Noise extends Vector
# Perlin noise implementation based on PI:NAME:<NAME>END_PI's java implementation
# http://webstaff.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf
# http://webstaff.itn.liu.se/~stegu/simplexnoise/SimplexNoise.java
# coffeescript based on sj... |
[
{
"context": "pital']\n ]\n\nmeli:\n summary: 'girl'\n mnemonic: 'Mary'\n tags: ['people']\n off: [\n ['n', 'woman, fe",
"end": 9285,
"score": 0.9571062326431274,
"start": 9281,
"tag": "NAME",
"value": "Mary"
}
] | dumb-collect.cson | SheepTester/toki-pona | 1 | a:
summary: 'ah!'
tags: ['interjection']
off: [
['interj', 'ah, ha, uh, oh, ooh, aw, well (emotion word)']
]
akesi:
summary: 'beast'
tags: ['animal', 'bad']
off: [
['n', 'non-cute animal, reptile, amphibian']
]
add: [
['n', 'creeping animal, a scaly or slimy animal that creeps on land']
... | 222364 | a:
summary: 'ah!'
tags: ['interjection']
off: [
['interj', 'ah, ha, uh, oh, ooh, aw, well (emotion word)']
]
akesi:
summary: 'beast'
tags: ['animal', 'bad']
off: [
['n', 'non-cute animal, reptile, amphibian']
]
add: [
['n', 'creeping animal, a scaly or slimy animal that creeps on land']
... | true | a:
summary: 'ah!'
tags: ['interjection']
off: [
['interj', 'ah, ha, uh, oh, ooh, aw, well (emotion word)']
]
akesi:
summary: 'beast'
tags: ['animal', 'bad']
off: [
['n', 'non-cute animal, reptile, amphibian']
]
add: [
['n', 'creeping animal, a scaly or slimy animal that creeps on land']
... |
[
{
"context": "rgetNumbers = await entoDb.allDocs\n startkey: \"user\"\n endkey: \"user\\uf000\"\n include_docs: true\n",
"end": 2438,
"score": 0.5742214322090149,
"start": 2434,
"tag": "KEY",
"value": "user"
},
{
"context": " entoDb.allDocs\n startkey: \"user\"\n endke... | _attachments/app/views/QuestionViewHelpers.coffee | Coconut-Data/coconut-mobile | 0 | bases = require 'bases'
underscored = require("underscore.string/underscored")
# These need to be available to the window object for form logic
# # # #
global.SkipTheseWhen = ( argQuestions, result ) ->
questions = []
argQuestions = argQuestions.split(/\s*,\s*/)
for question in argQuestions
questions.push w... | 195428 | bases = require 'bases'
underscored = require("underscore.string/underscored")
# These need to be available to the window object for form logic
# # # #
global.SkipTheseWhen = ( argQuestions, result ) ->
questions = []
argQuestions = argQuestions.split(/\s*,\s*/)
for question in argQuestions
questions.push w... | true | bases = require 'bases'
underscored = require("underscore.string/underscored")
# These need to be available to the window object for form logic
# # # #
global.SkipTheseWhen = ( argQuestions, result ) ->
questions = []
argQuestions = argQuestions.split(/\s*,\s*/)
for question in argQuestions
questions.push w... |
[
{
"context": "each correctly with small strings', ->\n str = 'howdy doody'\n r = new Rope str\n\n strings = []\n r.eac",
"end": 1791,
"score": 0.9436632394790649,
"start": 1780,
"tag": "NAME",
"value": "howdy doody"
}
] | test/test.coffee | overleaf/jumprope | 43 | assert = require 'assert'
Rope = require '../rope'
helpers = require './helpers'
helpers.addHelpers Rope
{randomInt, randomStr} = helpers
#Rope = helpers.Str
check = (r, str) ->
try
r.verify() if r.verify
assert.strictEqual r.toString(), str
assert.strictEqual r.length, str.length
strings = []
... | 149295 | assert = require 'assert'
Rope = require '../rope'
helpers = require './helpers'
helpers.addHelpers Rope
{randomInt, randomStr} = helpers
#Rope = helpers.Str
check = (r, str) ->
try
r.verify() if r.verify
assert.strictEqual r.toString(), str
assert.strictEqual r.length, str.length
strings = []
... | true | assert = require 'assert'
Rope = require '../rope'
helpers = require './helpers'
helpers.addHelpers Rope
{randomInt, randomStr} = helpers
#Rope = helpers.Str
check = (r, str) ->
try
r.verify() if r.verify
assert.strictEqual r.toString(), str
assert.strictEqual r.length, str.length
strings = []
... |
[
{
"context": "s\n#\n# Depends on: ['mbit/api/Request']\n#\n# @author Torstein Thune\n# @copyright 2016 Microbrew.it\nangular.module('Mi",
"end": 135,
"score": 0.9998838305473328,
"start": 121,
"tag": "NAME",
"value": "Torstein Thune"
}
] | app/api/Ingredient.coffee | Microbrewit/microbrewit-recipe-calculator | 0 | # mbit/api/Ingredient
#
# REST ($http) wrapper for ingredient endpoints
#
# Depends on: ['mbit/api/Request']
#
# @author Torstein Thune
# @copyright 2016 Microbrew.it
angular.module('Microbrewit').factory('mbit/api/Ingredient', [
'mbit/api/Request'
(Request) ->
endpoint = 'json'
# @param [Integer] id (optional)... | 179294 | # mbit/api/Ingredient
#
# REST ($http) wrapper for ingredient endpoints
#
# Depends on: ['mbit/api/Request']
#
# @author <NAME>
# @copyright 2016 Microbrew.it
angular.module('Microbrewit').factory('mbit/api/Ingredient', [
'mbit/api/Request'
(Request) ->
endpoint = 'json'
# @param [Integer] id (optional) If you ... | true | # mbit/api/Ingredient
#
# REST ($http) wrapper for ingredient endpoints
#
# Depends on: ['mbit/api/Request']
#
# @author PI:NAME:<NAME>END_PI
# @copyright 2016 Microbrew.it
angular.module('Microbrewit').factory('mbit/api/Ingredient', [
'mbit/api/Request'
(Request) ->
endpoint = 'json'
# @param [Integer] id (opt... |
[
{
"context": "e.addColumn 'value'\n\n table.addRow ['name', 'Jane Doe']\n table.addRow ['age', 30]\n table.addR",
"end": 801,
"score": 0.9997580647468567,
"start": 793,
"tag": "NAME",
"value": "Jane Doe"
},
{
"context": "t(displayTable.getScreenRow(1)).toEqual(['name',... | spec/display-table-spec.coffee | lionel-rigoux/atom-tablr | 186 | require './helpers/spec-helper'
DisplayTable = require '../lib/display-table'
Table = require '../lib/table'
describe 'DisplayTable', ->
[table, displayTable] = []
beforeEach ->
atom.config.set 'tablr.tableEditor.columnWidth', 100
atom.config.set 'tablr.minimuColumnWidth', 10
atom.config.set 'tablr.t... | 80760 | require './helpers/spec-helper'
DisplayTable = require '../lib/display-table'
Table = require '../lib/table'
describe 'DisplayTable', ->
[table, displayTable] = []
beforeEach ->
atom.config.set 'tablr.tableEditor.columnWidth', 100
atom.config.set 'tablr.minimuColumnWidth', 10
atom.config.set 'tablr.t... | true | require './helpers/spec-helper'
DisplayTable = require '../lib/display-table'
Table = require '../lib/table'
describe 'DisplayTable', ->
[table, displayTable] = []
beforeEach ->
atom.config.set 'tablr.tableEditor.columnWidth', 100
atom.config.set 'tablr.minimuColumnWidth', 10
atom.config.set 'tablr.t... |
[
{
"context": " Report\nResult View\nContains test results\n\n@author Roelof Roos (https://github.com/roelofr)\n###\n\nHideableView = ",
"end": 69,
"score": 0.9998738765716553,
"start": 58,
"tag": "NAME",
"value": "Roelof Roos"
},
{
"context": " results\n\n@author Roelof Roos (https:/... | lib/views/result-view.coffee | roelofr/php-report | 0 | ###
PHP Report
Result View
Contains test results
@author Roelof Roos (https://github.com/roelofr)
###
HideableView = require './hideable-view'
TestSuite = require '../models/junit-testsuite'
TestClass = require '../models/junit-testclass'
Test = require '../models/junit-test'
$ = require 'jquery'
module.exports =
... | 191521 | ###
PHP Report
Result View
Contains test results
@author <NAME> (https://github.com/roelofr)
###
HideableView = require './hideable-view'
TestSuite = require '../models/junit-testsuite'
TestClass = require '../models/junit-testclass'
Test = require '../models/junit-test'
$ = require 'jquery'
module.exports =
class... | true | ###
PHP Report
Result View
Contains test results
@author PI:NAME:<NAME>END_PI (https://github.com/roelofr)
###
HideableView = require './hideable-view'
TestSuite = require '../models/junit-testsuite'
TestClass = require '../models/junit-testclass'
Test = require '../models/junit-test'
$ = require 'jquery'
module.e... |
[
{
"context": "\n user = new User {name: req.body.username, pass: req.body.password1}\n user.set 'email', req.body.email if req.body.e",
"end": 600,
"score": 0.9990789890289307,
"start": 582,
"tag": "PASSWORD",
"value": "req.body.password1"
}
] | src/controllers/users.coffee | mileswu/nyaa2 | 0 | User = require('../models/users')
Torrent = require('../models/torrents')
exports.register = (req, res) ->
if req.session.user?
res.redirect '/'
else
res.render 'users/register', {title: 'Register'}
exports.register_post = (req, res) ->
if !req.body.username.match /^[a-z0-9_-]+$/i
req.flash 'error',... | 20698 | User = require('../models/users')
Torrent = require('../models/torrents')
exports.register = (req, res) ->
if req.session.user?
res.redirect '/'
else
res.render 'users/register', {title: 'Register'}
exports.register_post = (req, res) ->
if !req.body.username.match /^[a-z0-9_-]+$/i
req.flash 'error',... | true | User = require('../models/users')
Torrent = require('../models/torrents')
exports.register = (req, res) ->
if req.session.user?
res.redirect '/'
else
res.render 'users/register', {title: 'Register'}
exports.register_post = (req, res) ->
if !req.body.username.match /^[a-z0-9_-]+$/i
req.flash 'error',... |
[
{
"context": " myWindowOptions = content: \"\n <p>ст. метро «Пионерская»,<br />\n аллея Поликарпова,<br />\n ",
"end": 1348,
"score": 0.8954036831855774,
"start": 1342,
"tag": "NAME",
"value": "Пионер"
},
{
"context": ": \"\n <p>ст. метро «Пионерская»,<br />\n ... | static/assets/js/app.coffee | me6iaton/artpray.ru | 0 | $ ->
$("#nav-toggle").sideNav(edge: 'left')
$("#slide-out").click ()->
$('#sidenav-overlay').trigger('click')
#<iframe width="100%" height="450" frameborder="0" style="border:0" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3989.1149054108955!2d30.290150134908632!3d60.00583186830716!2m3!1f0!2f0!3... | 211270 | $ ->
$("#nav-toggle").sideNav(edge: 'left')
$("#slide-out").click ()->
$('#sidenav-overlay').trigger('click')
#<iframe width="100%" height="450" frameborder="0" style="border:0" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3989.1149054108955!2d30.290150134908632!3d60.00583186830716!2m3!1f0!2f0!3... | true | $ ->
$("#nav-toggle").sideNav(edge: 'left')
$("#slide-out").click ()->
$('#sidenav-overlay').trigger('click')
#<iframe width="100%" height="450" frameborder="0" style="border:0" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3989.1149054108955!2d30.290150134908632!3d60.00583186830716!2m3!1f0!2f0!3... |
[
{
"context": "ileoverview Prevent usage of findDOMNode\n# @author Yannick Croissant\n###\n'use strict'\n\n# -----------------------------",
"end": 77,
"score": 0.9998470544815063,
"start": 60,
"tag": "NAME",
"value": "Yannick Croissant"
}
] | src/tests/rules/no-find-dom-node.coffee | helixbass/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent usage of findDOMNode
# @author Yannick Croissant
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/... | 135603 | ###*
# @fileoverview Prevent usage of findDOMNode
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/no-find-dom... | true | ###*
# @fileoverview Prevent usage of findDOMNode
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rul... |
[
{
"context": "ense\": \"MIT\",\n\t\"browsers\": true,\n\t\"author\": \"2018+ Reme Le Hane (reme.lehane@gmail.com) (https://www.remelehane.m",
"end": 227,
"score": 0.9998993873596191,
"start": 215,
"tag": "NAME",
"value": "Reme Le Hane"
},
{
"context": "\"browsers\": true,\n\t\"author... | projectz.cson | RemeJuan/cached-fetch | 4 | {
"title": "Cache Fetch",
"name": "cache-fetch",
"homepage": "https://www.remelehane.me",
"description": "Helper for caching fetch calls in localStorage",
"license": "MIT",
"browsers": true,
"author": "2018+ Reme Le Hane (reme.lehane@gmail.com) (https://www.remelehane.me)",
"repository": {
"type": "git",
"u... | 221397 | {
"title": "Cache Fetch",
"name": "cache-fetch",
"homepage": "https://www.remelehane.me",
"description": "Helper for caching fetch calls in localStorage",
"license": "MIT",
"browsers": true,
"author": "2018+ <NAME> (<EMAIL>) (https://www.remelehane.me)",
"repository": {
"type": "git",
"url": "https://github... | true | {
"title": "Cache Fetch",
"name": "cache-fetch",
"homepage": "https://www.remelehane.me",
"description": "Helper for caching fetch calls in localStorage",
"license": "MIT",
"browsers": true,
"author": "2018+ PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI) (https://www.remelehane.me)",
"repository": {
"type": "g... |
[
{
"context": " name\n getAssociation: (key) ->\n key = key[0].toLowerCase() + key.substr(1)\n return @metadata().associatio",
"end": 2584,
"score": 0.8479807376861572,
"start": 2566,
"tag": "KEY",
"value": "0].toLowerCase() +"
},
{
"context": ": (key) ->\n key = key... | src/server/models/mixins/associations.coffee | komola/salad | 2 | module.exports =
InstanceMethods:
getAssociations: ->
_.clone @eagerlyLoadedAssociations
hasAssociation: (key) ->
@constructor.hasAssociation key
getAssociation: (key) ->
@constructor.getAssociation key
getAssociationType: (key) ->
@constructor.getAssociationType key
se... | 184932 | module.exports =
InstanceMethods:
getAssociations: ->
_.clone @eagerlyLoadedAssociations
hasAssociation: (key) ->
@constructor.hasAssociation key
getAssociation: (key) ->
@constructor.getAssociation key
getAssociationType: (key) ->
@constructor.getAssociationType key
se... | true | module.exports =
InstanceMethods:
getAssociations: ->
_.clone @eagerlyLoadedAssociations
hasAssociation: (key) ->
@constructor.hasAssociation key
getAssociation: (key) ->
@constructor.getAssociation key
getAssociationType: (key) ->
@constructor.getAssociationType key
se... |
[
{
"context": "Abide.extend\n greeting: 'Hello'\n name: 'John'\n\n welcomeMessage: (->\n \"#{@greeting}",
"end": 1102,
"score": 0.9903312921524048,
"start": 1098,
"tag": "NAME",
"value": "John"
},
{
"context": "ass()\n\n @expect(m.welcomeMessage).to.eql 'Hello... | test/properties.test.coffee | lynxaegon/abide | 0 | ###
Test property notifications and dependencies
###
Abide = require('../abide.min')
test = require('./utils').createTest(module)
test['_construct() - constructor'] = ->
spy = @mocker.spy()
MyClass = Abide.extend
_construct: spy
new MyClass(1, 2, 3)
spy.should.have.been.calledOnce
spy.should.have... | 107902 | ###
Test property notifications and dependencies
###
Abide = require('../abide.min')
test = require('./utils').createTest(module)
test['_construct() - constructor'] = ->
spy = @mocker.spy()
MyClass = Abide.extend
_construct: spy
new MyClass(1, 2, 3)
spy.should.have.been.calledOnce
spy.should.have... | true | ###
Test property notifications and dependencies
###
Abide = require('../abide.min')
test = require('./utils').createTest(module)
test['_construct() - constructor'] = ->
spy = @mocker.spy()
MyClass = Abide.extend
_construct: spy
new MyClass(1, 2, 3)
spy.should.have.been.calledOnce
spy.should.have... |
[
{
"context": "1:9999/test/runner.html'\n ]\n username: 'butter'\n key: 'a34e8565-616a-4dc2-9869-7c441d9ad674",
"end": 174,
"score": 0.9995214939117432,
"start": 168,
"tag": "USERNAME",
"value": "butter"
},
{
"context": "tml'\n ]\n username: 'butter'\n ke... | grunt/saucelabs-mocha.coffee | bagel-framework/Butter.js | 4 | # crossbrowser testing
module.exports = (grunt, options) =>
all:
options:
urls: [
'http://127.0.0.1:9999/test/runner.html'
]
username: 'butter'
key: 'a34e8565-616a-4dc2-9869-7c441d9ad674'
browsers: grunt.file.readJSON('test/saucelabs-browsers.json')
build: process.env.T... | 189189 | # crossbrowser testing
module.exports = (grunt, options) =>
all:
options:
urls: [
'http://127.0.0.1:9999/test/runner.html'
]
username: 'butter'
key: '<KEY>'
browsers: grunt.file.readJSON('test/saucelabs-browsers.json')
build: process.env.TRAVIS_JOB_ID
testname: op... | true | # crossbrowser testing
module.exports = (grunt, options) =>
all:
options:
urls: [
'http://127.0.0.1:9999/test/runner.html'
]
username: 'butter'
key: 'PI:KEY:<KEY>END_PI'
browsers: grunt.file.readJSON('test/saucelabs-browsers.json')
build: process.env.TRAVIS_JOB_ID
... |
[
{
"context": "# @Author: Guan Gui <guiguan>\n# @Date: 2016-01-21T00:46:07+11:00\n# ",
"end": 19,
"score": 0.999826192855835,
"start": 11,
"tag": "NAME",
"value": "Guan Gui"
},
{
"context": "# @Author: Guan Gui <guiguan>\n# @Date: 2016-01-21T00:46:07+11:00\n# @Email: ",
"end"... | spec/file-header-view-spec.coffee | Shinrai/file-header | 38 | # @Author: Guan Gui <guiguan>
# @Date: 2016-01-21T00:46:07+11:00
# @Email: root@guiguan.net
# @Last modified by: guiguan
# @Last modified time: 2016-01-21T00:46:11+11:00
FileHeaderView = require '../lib/file-header-view'
describe "FileHeaderView", ->
| 176762 | # @Author: <NAME> <guiguan>
# @Date: 2016-01-21T00:46:07+11:00
# @Email: <EMAIL>
# @Last modified by: guiguan
# @Last modified time: 2016-01-21T00:46:11+11:00
FileHeaderView = require '../lib/file-header-view'
describe "FileHeaderView", ->
| true | # @Author: PI:NAME:<NAME>END_PI <guiguan>
# @Date: 2016-01-21T00:46:07+11:00
# @Email: PI:EMAIL:<EMAIL>END_PI
# @Last modified by: guiguan
# @Last modified time: 2016-01-21T00:46:11+11:00
FileHeaderView = require '../lib/file-header-view'
describe "FileHeaderView", ->
|
[
{
"context": "onHeaders',\n chartApp\n\n headers.withName \"Trever\"\n headers.withVendor \"A Vendor\"\n headers.wi",
"end": 704,
"score": 0.8290020227432251,
"start": 698,
"tag": "NAME",
"value": "Trever"
}
] | test/spec/charts/IntegrationHeadersSpec.coffee | CustomAgile/app-catalog | 31 | Ext = window.Ext4 || window.Ext
describe 'Rally.apps.charts.IntegrationHeaders', ->
it 'doesn\'t pass in nulls', ->
chartApp =
integrationHeaders :
nullValue : null
notNullValue : "notNull"
headers = Ext.create 'Rally.apps.charts.IntegrationHeaders', chartApp
storeConfig = {}
h... | 39895 | Ext = window.Ext4 || window.Ext
describe 'Rally.apps.charts.IntegrationHeaders', ->
it 'doesn\'t pass in nulls', ->
chartApp =
integrationHeaders :
nullValue : null
notNullValue : "notNull"
headers = Ext.create 'Rally.apps.charts.IntegrationHeaders', chartApp
storeConfig = {}
h... | true | Ext = window.Ext4 || window.Ext
describe 'Rally.apps.charts.IntegrationHeaders', ->
it 'doesn\'t pass in nulls', ->
chartApp =
integrationHeaders :
nullValue : null
notNullValue : "notNull"
headers = Ext.create 'Rally.apps.charts.IntegrationHeaders', chartApp
storeConfig = {}
h... |
[
{
"context": "#\n# Commands\n# None - trigger based\n#\n# Author\n#\tArnaud de Theux\n#\n#\n#module.exports = (robot) ->\n# robot.hear /\\",
"end": 121,
"score": 0.9998874068260193,
"start": 106,
"tag": "NAME",
"value": "Arnaud de Theux"
},
{
"context": "(msg) ->\n# msg.send \"h... | scripts/team.coffee | AdeTheux/hubot-slack | 0 | # Description
# Team stuff
#
# Configuration
# Nada
#
# Commands
# None - trigger based
#
# Author
# Arnaud de Theux
#
#
#module.exports = (robot) ->
# robot.hear /\bexpenses\b/i, (msg) ->
# msg.send "http://cdn.arnaud.detheux.org/image/320j3S2C2w2k/200.gif"
#
# robot.hear /\btwss\b/i, (msg) ->
# msg.send ... | 97376 | # Description
# Team stuff
#
# Configuration
# Nada
#
# Commands
# None - trigger based
#
# Author
# <NAME>
#
#
#module.exports = (robot) ->
# robot.hear /\bexpenses\b/i, (msg) ->
# msg.send "http://cdn.arnaud.detheux.org/image/320j3S2C2w2k/200.gif"
#
# robot.hear /\btwss\b/i, (msg) ->
# msg.send "http://c... | true | # Description
# Team stuff
#
# Configuration
# Nada
#
# Commands
# None - trigger based
#
# Author
# PI:NAME:<NAME>END_PI
#
#
#module.exports = (robot) ->
# robot.hear /\bexpenses\b/i, (msg) ->
# msg.send "http://cdn.arnaud.detheux.org/image/320j3S2C2w2k/200.gif"
#
# robot.hear /\btwss\b/i, (msg) ->
# msg.... |
[
{
"context": " user: {\n typeId: 'user',\n id: '13afec11-66cd-4c46-9e6d-d301ba5be33a'\n }\n },\n createdBy: {\n clientId: ",
"end": 456,
"score": 0.9552837610244751,
"start": 420,
"tag": "PASSWORD",
"value": "13afec11-66cd-4c46-9e6d-d301ba5be33a"
},
{
... | src/spec/data/csvRowObjectWithCustomType.coffee | sphereio/sphere-category-sync | 1 | module.exports = {
'name.en': 'categoryName',
key: 'categoryKeys',
externalId: 'categoryExternalId',
'slug.en': 'category-en-slug',
customType: {
id: 'bcb4f88a-bd42-4478-bf20-9a6ad4936e2e',
version: 1,
createdAt: '2019-03-20T19:25:04.550Z',
lastModifiedAt: '2019-03-20T19:25:04.550Z',
lastM... | 213227 | module.exports = {
'name.en': 'categoryName',
key: 'categoryKeys',
externalId: 'categoryExternalId',
'slug.en': 'category-en-slug',
customType: {
id: 'bcb4f88a-bd42-4478-bf20-9a6ad4936e2e',
version: 1,
createdAt: '2019-03-20T19:25:04.550Z',
lastModifiedAt: '2019-03-20T19:25:04.550Z',
lastM... | true | module.exports = {
'name.en': 'categoryName',
key: 'categoryKeys',
externalId: 'categoryExternalId',
'slug.en': 'category-en-slug',
customType: {
id: 'bcb4f88a-bd42-4478-bf20-9a6ad4936e2e',
version: 1,
createdAt: '2019-03-20T19:25:04.550Z',
lastModifiedAt: '2019-03-20T19:25:04.550Z',
lastM... |
[
{
"context": "es\n values = undefined\n\n API.mail.send\n to: 'alert@cottagelabs.com'\n subject: 'MESH headings load completed'\n ",
"end": 858,
"score": 0.9999319911003113,
"start": 837,
"tag": "EMAIL",
"value": "alert@cottagelabs.com"
}
] | server/use/mesh.coffee | leviathanindustries/noddy | 2 |
# https://www.nlm.nih.gov/mesh/meshhome.html
'''
import fs from 'fs'
API.use ?= {}
API.use.mesh = {}
@mesh_heading = new API.collection {index:"mesh",type:"heading"}
API.add 'use/mesh', () -> return mesh_heading.search this
API.add 'use/mesh/search', get: () -> return API.use.mesh.search this.queryParams
API.add... | 163534 |
# https://www.nlm.nih.gov/mesh/meshhome.html
'''
import fs from 'fs'
API.use ?= {}
API.use.mesh = {}
@mesh_heading = new API.collection {index:"mesh",type:"heading"}
API.add 'use/mesh', () -> return mesh_heading.search this
API.add 'use/mesh/search', get: () -> return API.use.mesh.search this.queryParams
API.add... | true |
# https://www.nlm.nih.gov/mesh/meshhome.html
'''
import fs from 'fs'
API.use ?= {}
API.use.mesh = {}
@mesh_heading = new API.collection {index:"mesh",type:"heading"}
API.add 'use/mesh', () -> return mesh_heading.search this
API.add 'use/mesh/search', get: () -> return API.use.mesh.search this.queryParams
API.add... |
[
{
"context": "#\n# * slush-static-site\n# * https://github.com/awkward/slush-static-site\n# *\n# * Copyright (c) 2015, Awk",
"end": 54,
"score": 0.9996981024742126,
"start": 47,
"tag": "USERNAME",
"value": "awkward"
},
{
"context": "ward/slush-static-site\n# *\n# * Copyright (c) 2015... | slushfile.coffee | awkward/slush-static-site | 8 | #
# * slush-static-site
# * https://github.com/awkward/slush-static-site
# *
# * Copyright (c) 2015, Awkward
# * Licensed under the MIT license.
#
"use strict"
gulp = require("gulp")
install = require("gulp-install")
conflict = require("gulp-conflict")
template = require("gulp-template")
rename = require... | 119781 | #
# * slush-static-site
# * https://github.com/awkward/slush-static-site
# *
# * Copyright (c) 2015, <NAME>
# * Licensed under the MIT license.
#
"use strict"
gulp = require("gulp")
install = require("gulp-install")
conflict = require("gulp-conflict")
template = require("gulp-template")
rename = require(... | true | #
# * slush-static-site
# * https://github.com/awkward/slush-static-site
# *
# * Copyright (c) 2015, PI:NAME:<NAME>END_PI
# * Licensed under the MIT license.
#
"use strict"
gulp = require("gulp")
install = require("gulp-install")
conflict = require("gulp-conflict")
template = require("gulp-template")
rename... |
[
{
"context": "##\n##\n## Forked from Jeff Mott's CryptoJS\n##\n## https://code.google.com/p/cryp",
"end": 30,
"score": 0.9998771548271179,
"start": 21,
"tag": "NAME",
"value": "Jeff Mott"
}
] | src/sha256.iced | CyberFlameGO/triplesec | 274 | ##
##
## Forked from Jeff Mott's CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray} = require './wordarray'
{Hasher} = require './algbase'
#================================================================
class Global
constructor : ->
@H = []
@K = []
@W = []
@init()
isPrime : ... | 218017 | ##
##
## Forked from <NAME>'s CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray} = require './wordarray'
{Hasher} = require './algbase'
#================================================================
class Global
constructor : ->
@H = []
@K = []
@W = []
@init()
isPrime : (n)... | true | ##
##
## Forked from PI:NAME:<NAME>END_PI's CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray} = require './wordarray'
{Hasher} = require './algbase'
#================================================================
class Global
constructor : ->
@H = []
@K = []
@W = []
@init()
... |
[
{
"context": " FireFox. See issue:\n # https://github.com/GetmeUK/ContentTools/issues/118\n #\n # Antho",
"end": 7490,
"score": 0.9985855221748352,
"start": 7483,
"tag": "USERNAME",
"value": "GetmeUK"
},
{
"context": "etmeUK/ContentTools/issues/118\n #\n ... | src/scripts/text.coffee | Gera1711/Article | 265 | class ContentEdit.Text extends ContentEdit.Element
# An editable body of text (e.g <address>, <blockquote>, <h1-h6>, <p>).
constructor: (tagName, attributes, content) ->
super(tagName, attributes)
# The content of the text element
if content instanceof HTMLString.String
@c... | 195413 | class ContentEdit.Text extends ContentEdit.Element
# An editable body of text (e.g <address>, <blockquote>, <h1-h6>, <p>).
constructor: (tagName, attributes, content) ->
super(tagName, attributes)
# The content of the text element
if content instanceof HTMLString.String
@c... | true | class ContentEdit.Text extends ContentEdit.Element
# An editable body of text (e.g <address>, <blockquote>, <h1-h6>, <p>).
constructor: (tagName, attributes, content) ->
super(tagName, attributes)
# The content of the text element
if content instanceof HTMLString.String
@c... |
[
{
"context": "kback_default_observable.js 0.18.5\n (c) 2011-2013 Kevin Malakoff.\n Knockback.DefaultObservable is freely distribu",
"end": 75,
"score": 0.9998401403427124,
"start": 61,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": " for full license details:\n https:/... | src/defaults/default-observable.coffee | npmcomponent/kmalakoff-knockback | 1 | ###
knockback_default_observable.js 0.18.5
(c) 2011-2013 Kevin Malakoff.
Knockback.DefaultObservable is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
_publishMethods = kb._publishMethods
# Used to prov... | 117763 | ###
knockback_default_observable.js 0.18.5
(c) 2011-2013 <NAME>.
Knockback.DefaultObservable is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
_publishMethods = kb._publishMethods
# Used to provide a de... | true | ###
knockback_default_observable.js 0.18.5
(c) 2011-2013 PI:NAME:<NAME>END_PI.
Knockback.DefaultObservable is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
_publishMethods = kb._publishMethods
# Used t... |
[
{
"context": "]': [\n {type: 'separator'}\n {\n label: 'Juno',\n submenu: [\n {label: 'Run Block', c",
"end": 117,
"score": 0.9339426755905151,
"start": 113,
"tag": "NAME",
"value": "Juno"
},
{
"context": "y': [\n {type: 'separator'}\n {\n label: 'Ju... | menus/julia-client.cson | FAlobaid/atom-julia-client | 325 | 'context-menu':
'atom-text-editor[data-grammar="source julia"]': [
{type: 'separator'}
{
label: 'Juno',
submenu: [
{label: 'Run Block', command: 'julia-client:run-block'}
{label: 'Select Block', command: 'julia-client:select-block'}
{type: 'separator'}
{label: 'Go t... | 158358 | 'context-menu':
'atom-text-editor[data-grammar="source julia"]': [
{type: 'separator'}
{
label: '<NAME>',
submenu: [
{label: 'Run Block', command: 'julia-client:run-block'}
{label: 'Select Block', command: 'julia-client:select-block'}
{type: 'separator'}
{label: 'Go... | true | 'context-menu':
'atom-text-editor[data-grammar="source julia"]': [
{type: 'separator'}
{
label: 'PI:NAME:<NAME>END_PI',
submenu: [
{label: 'Run Block', command: 'julia-client:run-block'}
{label: 'Select Block', command: 'julia-client:select-block'}
{type: 'separator'}
... |
[
{
"context": "th: $(DB.auth).clone()\n\n db.auth.password = RANDOM_PASSWORD\n\n db.checkPasswordChangeNeeded (err, bool)",
"end": 3186,
"score": 0.9990013837814331,
"start": 3171,
"tag": "PASSWORD",
"value": "RANDOM_PASSWORD"
},
{
"context": ", (_) ->\n expect(DB... | Lambda Functions/searchlocales/node_modules/neo4j/test-new/_auth._coffee | RussellPhipps/PilgrimAdminTools | 0 | #
# Tests for basic auth management, e.g. the ability to change user passwords.
#
# IMPORTANT: Against a fresh Neo4j 2.2 database (which requires both auth and
# an initial password change by default), this test must be the first to run,
# in order for other tests not to fail. Hence the underscore-prefixed filename.
# ... | 71061 | #
# Tests for basic auth management, e.g. the ability to change user passwords.
#
# IMPORTANT: Against a fresh Neo4j 2.2 database (which requires both auth and
# an initial password change by default), this test must be the first to run,
# in order for other tests not to fail. Hence the underscore-prefixed filename.
# ... | true | #
# Tests for basic auth management, e.g. the ability to change user passwords.
#
# IMPORTANT: Against a fresh Neo4j 2.2 database (which requires both auth and
# an initial password change by default), this test must be the first to run,
# in order for other tests not to fail. Hence the underscore-prefixed filename.
# ... |
[
{
"context": "\n\t\t\t\t\tctrl.user = user\n\t\t\t\t\tctrl.confirmPassword = user.password),\n\t\t\t\t(-> ctrl.error = true)\n",
"end": 415,
"score": 0.9902186989784241,
"start": 402,
"tag": "PASSWORD",
"value": "user.password"
}
] | app/profile/passwd/passwd.controller.coffee | dianw/yama-admin | 0 | 'use strict'
class PasswdProfile extends Controller
constructor: ($validation, angularPopupBoxes, RestUserService) ->
ctrl = @
ctrl.user = RestUserService.one('me')
@submit = (user, form) ->
$validation.validate(form).success ->
ctrl.error = false
user.post('password').then ((user) ->
angularPo... | 11697 | 'use strict'
class PasswdProfile extends Controller
constructor: ($validation, angularPopupBoxes, RestUserService) ->
ctrl = @
ctrl.user = RestUserService.one('me')
@submit = (user, form) ->
$validation.validate(form).success ->
ctrl.error = false
user.post('password').then ((user) ->
angularPo... | true | 'use strict'
class PasswdProfile extends Controller
constructor: ($validation, angularPopupBoxes, RestUserService) ->
ctrl = @
ctrl.user = RestUserService.one('me')
@submit = (user, form) ->
$validation.validate(form).success ->
ctrl.error = false
user.post('password').then ((user) ->
angularPo... |
[
{
"context": "ml()).toBeDefined()\n element('#user_email').val('jonrowlands83@gmail.com')\n element('#user_password').val('cyberwell')\n ",
"end": 473,
"score": 0.999923825263977,
"start": 450,
"tag": "EMAIL",
"value": "jonrowlands83@gmail.com"
},
{
"context": "ds83@gmail.com')\n ... | test/spec/javascripts/e2e/controllers/media_controller_spec.coffee | cheshire137/angular-module | 1 | describe "E2E: Testing Controllers", ->
beforeEach ->
browser().navigateTo "/"
it "should be able to log in and out", ->
login()
logout()
# it "should be able to start, broadcast, and stop stream", ->
## login()
## element('#start-local-video').click()
login = ->
browser().navigateTo "#/"
... | 171308 | describe "E2E: Testing Controllers", ->
beforeEach ->
browser().navigateTo "/"
it "should be able to log in and out", ->
login()
logout()
# it "should be able to start, broadcast, and stop stream", ->
## login()
## element('#start-local-video').click()
login = ->
browser().navigateTo "#/"
... | true | describe "E2E: Testing Controllers", ->
beforeEach ->
browser().navigateTo "/"
it "should be able to log in and out", ->
login()
logout()
# it "should be able to start, broadcast, and stop stream", ->
## login()
## element('#start-local-video').click()
login = ->
browser().navigateTo "#/"
... |
[
{
"context": "g as possible: assume all in one group\n # TODO(karth295): how well does this work with multiple groups,\n ",
"end": 2385,
"score": 0.9997007250785828,
"start": 2377,
"tag": "USERNAME",
"value": "karth295"
},
{
"context": "❤️ on \"\n A\n href: \"https://g... | client/tawk.coffee | invisible-college/tawk.space | 15 | streams = {}
agora_initialized = false
window.camera = undefined
window.microphone = undefined
###############################################################################
# Client Bus (all state prefixed with tawk/)
###############################################################################
server = 's... | 35600 | streams = {}
agora_initialized = false
window.camera = undefined
window.microphone = undefined
###############################################################################
# Client Bus (all state prefixed with tawk/)
###############################################################################
server = 's... | true | streams = {}
agora_initialized = false
window.camera = undefined
window.microphone = undefined
###############################################################################
# Client Bus (all state prefixed with tawk/)
###############################################################################
server = 's... |
[
{
"context": "###\nNinja\n\nCopyright © 2013 Kasper K. Isager\n\nPermission is hereby granted, free of charge, to",
"end": 44,
"score": 0.9998893737792969,
"start": 28,
"tag": "NAME",
"value": "Kasper K. Isager"
}
] | src/scripts/coffee/ninja.coffee | kasperisager/vanilla-ninja | 4 | ###
Ninja
Copyright © 2013 Kasper K. Isager
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, dist... | 79061 | ###
Ninja
Copyright © 2013 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, su... | true | ###
Ninja
Copyright © 2013 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, ... |
[
{
"context": "ig =\n secret: process.env.SESSION_SECRET\n key: 'connect.sid'\n cookie:\n proxy: process.env.NODE_ENV == 'pr",
"end": 2018,
"score": 0.9992680549621582,
"start": 2007,
"tag": "KEY",
"value": "connect.sid"
},
{
"context": "loop\n return res.json {} if req.body.us... | app.coffee | mdg-iitr/jinora | 0 | # First task is to setup environment
if process.env.NODE_ENV != 'production'
dotenv = require 'dotenv'
dotenv.load()
express = require('express.io')
session = require('express-session')
fs = require('fs')
path = require('path')
CBuffer = require('CBuffer');
slack = require('slack')
slack_utils = require('./slack_u... | 131756 | # First task is to setup environment
if process.env.NODE_ENV != 'production'
dotenv = require 'dotenv'
dotenv.load()
express = require('express.io')
session = require('express-session')
fs = require('fs')
path = require('path')
CBuffer = require('CBuffer');
slack = require('slack')
slack_utils = require('./slack_u... | true | # First task is to setup environment
if process.env.NODE_ENV != 'production'
dotenv = require 'dotenv'
dotenv.load()
express = require('express.io')
session = require('express-session')
fs = require('fs')
path = require('path')
CBuffer = require('CBuffer');
slack = require('slack')
slack_utils = require('./slack_u... |
[
{
"context": "t\n id: 1\n amount: \"1000.0\"\n name: \"Test Payment\"\n type: \"Spend\"\n category_id: 1\n c",
"end": 169,
"score": 0.9885117411613464,
"start": 157,
"tag": "NAME",
"value": "Test Payment"
}
] | spec/javascripts/dot_ledger/views/payments/list_item_spec.js.coffee | timobleeker/dotledger | 0 | describe "DotLedger.Views.Payments.ListItem", ->
createView = ->
model = new DotLedger.Models.Payment
id: 1
amount: "1000.0"
name: "Test Payment"
type: "Spend"
category_id: 1
category_name: "Cash Withdrawals"
new DotLedger.Views.Payments.ListItem(model: model)
it "shou... | 61705 | describe "DotLedger.Views.Payments.ListItem", ->
createView = ->
model = new DotLedger.Models.Payment
id: 1
amount: "1000.0"
name: "<NAME>"
type: "Spend"
category_id: 1
category_name: "Cash Withdrawals"
new DotLedger.Views.Payments.ListItem(model: model)
it "should be ... | true | describe "DotLedger.Views.Payments.ListItem", ->
createView = ->
model = new DotLedger.Models.Payment
id: 1
amount: "1000.0"
name: "PI:NAME:<NAME>END_PI"
type: "Spend"
category_id: 1
category_name: "Cash Withdrawals"
new DotLedger.Views.Payments.ListItem(model: model)
... |
[
{
"context": "vices.yields devices: []\n @badUuid = 'Erik'\n it 'should yield an error', ->\n ",
"end": 1690,
"score": 0.5962893962860107,
"start": 1687,
"tag": "NAME",
"value": "rik"
}
] | test/models/pin-authenticator-db.coffee | octoblu/meshblu-pin-trusted-device | 0 | PinAuthenticatorDb = require '../../app/models/pin-authenticator-db'
describe 'PinAuthenticatorDb', ->
beforeEach ->
@meshblu = {}
@meshblu.register = sinon.stub()
@sut = new PinAuthenticatorDb @meshblu
describe 'constructor', ->
it 'should instantiate a PinAuthenticatorDb', ->
expect(@sut).... | 219868 | PinAuthenticatorDb = require '../../app/models/pin-authenticator-db'
describe 'PinAuthenticatorDb', ->
beforeEach ->
@meshblu = {}
@meshblu.register = sinon.stub()
@sut = new PinAuthenticatorDb @meshblu
describe 'constructor', ->
it 'should instantiate a PinAuthenticatorDb', ->
expect(@sut).... | true | PinAuthenticatorDb = require '../../app/models/pin-authenticator-db'
describe 'PinAuthenticatorDb', ->
beforeEach ->
@meshblu = {}
@meshblu.register = sinon.stub()
@sut = new PinAuthenticatorDb @meshblu
describe 'constructor', ->
it 'should instantiate a PinAuthenticatorDb', ->
expect(@sut).... |
[
{
"context": "# name: index.js\n#\n# author: 沈维忠 ( Shen Weizhong / Tony Stark )\n#\n# Last Update: 沈",
"end": 32,
"score": 0.9998922944068909,
"start": 29,
"tag": "NAME",
"value": "沈维忠"
},
{
"context": "# name: index.js\n#\n# author: 沈维忠 ( Shen Weizhong / Tony Stark )\n#\n# Last Upda... | dev/is.object.brace.coffee | gitter-badger/is-object-brace | 0 | # name: index.js
#
# author: 沈维忠 ( Shen Weizhong / Tony Stark )
#
# Last Update: 沈维忠 ( Shen Weizhong / Tony Stark )
'use strict'
isFn = require 'amp-is-function'
fn = ->
rslt = if Object::toString.call(arguments[0]) is '[object Object]' then true else false
umd = ->
_this = arguments[0]
if isFn _this
... | 108990 | # name: index.js
#
# author: <NAME> ( <NAME> / <NAME> )
#
# Last Update: <NAME> ( <NAME> / <NAME> )
'use strict'
isFn = require 'amp-is-function'
fn = ->
rslt = if Object::toString.call(arguments[0]) is '[object Object]' then true else false
umd = ->
_this = arguments[0]
if isFn _this
if typeof def... | true | # name: index.js
#
# author: PI:NAME:<NAME>END_PI ( PI:NAME:<NAME>END_PI / PI:NAME:<NAME>END_PI )
#
# Last Update: PI:NAME:<NAME>END_PI ( PI:NAME:<NAME>END_PI / PI:NAME:<NAME>END_PI )
'use strict'
isFn = require 'amp-is-function'
fn = ->
rslt = if Object::toString.call(arguments[0]) is '[object Object]' then... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.