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": " @sut = new MeshbluXMPP uuid: 'uuid', token: 'token', hostname: 'localhost', port: 5222\n @sut.co",
"end": 627,
"score": 0.8627166748046875,
"start": 622,
"tag": "KEY",
"value": "token"
}
] | test/message-spec.coffee | octoblu/node-meshblu-xmpp | 1 | _ = require 'lodash'
ltx = require 'ltx'
xmpp = require 'node-xmpp-server'
xml2js = require('xml2js').parseString
MeshbluXMPP = require '../'
describe 'Message', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'conn... | 115761 | _ = require 'lodash'
ltx = require 'ltx'
xmpp = require 'node-xmpp-server'
xml2js = require('xml2js').parseString
MeshbluXMPP = require '../'
describe 'Message', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'conn... | true | _ = require 'lodash'
ltx = require 'ltx'
xmpp = require 'node-xmpp-server'
xml2js = require('xml2js').parseString
MeshbluXMPP = require '../'
describe 'Message', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'conn... |
[
{
"context": "y-cache', backend: 'memcached'\n\nvalues =\n key1: 'Value 1'\n key2: 'Value 2'\n key3: 'Value 3'\n\ncache.set '",
"end": 98,
"score": 0.9608394503593445,
"start": 91,
"tag": "KEY",
"value": "Value 1"
},
{
"context": " 'memcached'\n\nvalues =\n key1: 'Value 1'\n key... | examples/memcached.coffee | Kofia5/node-cached | 0 |
cached = require '..'
cache = cached 'my-cache', backend: 'memcached'
values =
key1: 'Value 1'
key2: 'Value 2'
key3: 'Value 3'
cache.set 'key1', values.key1, ->
console.log 'key1: Set callback style'
cache.set('key2', values.key2, { expire: 1 })
.then ->
console.log 'key2: Set promise style, expires afte... | 147972 |
cached = require '..'
cache = cached 'my-cache', backend: 'memcached'
values =
key1: '<KEY>'
key2: '<KEY>'
key3: '<KEY>'
cache.set 'key1', values.key1, ->
console.log 'key1: Set callback style'
cache.set('key2', values.key2, { expire: 1 })
.then ->
console.log 'key2: Set promise style, expires after 1 se... | true |
cached = require '..'
cache = cached 'my-cache', backend: 'memcached'
values =
key1: 'PI:KEY:<KEY>END_PI'
key2: 'PI:KEY:<KEY>END_PI'
key3: 'PI:KEY:<KEY>END_PI'
cache.set 'key1', values.key1, ->
console.log 'key1: Set callback style'
cache.set('key2', values.key2, { expire: 1 })
.then ->
console.log 'key2... |
[
{
"context": "'''\r\nCreated: 2014-9-17\r\nAuthor: niR@github (https://github.com/hentaiPanda)\r\nVersion:",
"end": 36,
"score": 0.6758166551589966,
"start": 33,
"tag": "USERNAME",
"value": "niR"
},
{
"context": "'''\r\nCreated: 2014-9-17\r\nAuthor: niR@github (https://github.com/hen... | levenshtein.coffee | hentaiPanda/Levenshtein | 5 | '''
Created: 2014-9-17
Author: niR@github (https://github.com/hentaiPanda)
Version: 0.0.1
License: MIT
This is a straightforward implementation of Levenshitein
Distance and Damerau-Levenshtein Distance.
The code is based on the examples on the Wikipedia
You can get more infomation from
http://en.wikipedi... | 200476 | '''
Created: 2014-9-17
Author: niR<EMAIL> (https://github.com/hentaiPanda)
Version: 0.0.1
License: MIT
This is a straightforward implementation of Levenshitein
Distance and Damerau-Levenshtein Distance.
The code is based on the examples on the Wikipedia
You can get more infomation from
http://en.wikipedi... | true | '''
Created: 2014-9-17
Author: niRPI:EMAIL:<EMAIL>END_PI (https://github.com/hentaiPanda)
Version: 0.0.1
License: MIT
This is a straightforward implementation of Levenshitein
Distance and Damerau-Levenshtein Distance.
The code is based on the examples on the Wikipedia
You can get more infomation from
htt... |
[
{
"context": "ratch}/authorized_keys\"\n keys: [\n 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCgccoXaSKaovgSkExo0",
"end": 450,
"score": 0.8004706501960754,
"start": 447,
"tag": "KEY",
"value": "rsa"
},
{
"context": "h}/authorized_keys\"\n keys: [\n 'ssh-rsa AAAAB... | packages/filetypes/test/ssh_authorized_keys.coffee | chibanemourad/node-nikita | 1 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file.types.ssh_authorized_keys', ->
they 'overwrite file', ({ssh}) ->
nikita
ssh: ssh
.file
target: "#{scratch}/authorized_keys"
conte... | 21489 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file.types.ssh_authorized_keys', ->
they 'overwrite file', ({ssh}) ->
nikita
ssh: ssh
.file
target: "#{scratch}/authorized_keys"
conte... | true |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file.types.ssh_authorized_keys', ->
they 'overwrite file', ({ssh}) ->
nikita
ssh: ssh
.file
target: "#{scratch}/authorized_keys"
conte... |
[
{
"context": "lling: true\n \"exception-reporting\":\n userId: \"46ee98a6-e0de-4874-bc1e-dd381de91e7d\"\n fonts:\n fontFamily: \"FiraCode\"\n \"linter-ui",
"end": 369,
"score": 0.8738492131233215,
"start": 333,
"tag": "PASSWORD",
"value": "46ee98a6-e0de-4874-bc1e-dd381de91e7d"
}
] | .atom/config.cson | tetuya01465/dotfiles | 0 | "*":
autosave:
enabled: true
core:
closeDeletedFileTabs: true
disabledPackages: [
"spell-check"
]
telemetryConsent: "no"
editor:
fontSize: 19
preferredLineLength: 1000
showIndentGuide: true
showInvisibles: true
zoomFontWhenCtrlScrolling: true
"exception-reporting":
... | 105401 | "*":
autosave:
enabled: true
core:
closeDeletedFileTabs: true
disabledPackages: [
"spell-check"
]
telemetryConsent: "no"
editor:
fontSize: 19
preferredLineLength: 1000
showIndentGuide: true
showInvisibles: true
zoomFontWhenCtrlScrolling: true
"exception-reporting":
... | true | "*":
autosave:
enabled: true
core:
closeDeletedFileTabs: true
disabledPackages: [
"spell-check"
]
telemetryConsent: "no"
editor:
fontSize: 19
preferredLineLength: 1000
showIndentGuide: true
showInvisibles: true
zoomFontWhenCtrlScrolling: true
"exception-reporting":
... |
[
{
"context": "ticate'\n .set 'Authorization', \"Basic #{@userAuth}\"\n .reply 200, uuid: 'user-uuid', to",
"end": 1191,
"score": 0.6107525825500488,
"start": 1187,
"tag": "USERNAME",
"value": "user"
},
{
"context": "-id\"\n user:\n userId... | test/integration/list-spec.coffee | octoblu/alexa-service | 3 | {describe,beforeEach,afterEach,expect,it} = global
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
uuid = require 'uuid'
Server = require '../../src/server'
describe 'List Triggers', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
e... | 196645 | {describe,beforeEach,afterEach,expect,it} = global
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
uuid = require 'uuid'
Server = require '../../src/server'
describe 'List Triggers', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
e... | true | {describe,beforeEach,afterEach,expect,it} = global
request = require 'request'
enableDestroy = require 'server-destroy'
shmock = require 'shmock'
uuid = require 'uuid'
Server = require '../../src/server'
describe 'List Triggers', ->
beforeEach (done) ->
@meshblu = shmock 0xd00d
e... |
[
{
"context": "###\n# grunt/less.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Define our les",
"end": 46,
"score": 0.9996565580368042,
"start": 35,
"tag": "NAME",
"value": "Dan Nichols"
}
] | grunt/less.coffee | dlnichols/h_media | 0 | ###
# grunt/less.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Define our less configuration block for grunt
###
'use strict'
module.exports =
# Compile LESS to CSS
build:
files: [
expand: true
cwd: 'app/styles/'
src: [ '*.less' ]
dest: '.tmp/styles/'
ex... | 217828 | ###
# grunt/less.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Define our less configuration block for grunt
###
'use strict'
module.exports =
# Compile LESS to CSS
build:
files: [
expand: true
cwd: 'app/styles/'
src: [ '*.less' ]
dest: '.tmp/styles/'
ext: ... | true | ###
# grunt/less.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Define our less configuration block for grunt
###
'use strict'
module.exports =
# Compile LESS to CSS
build:
files: [
expand: true
cwd: 'app/styles/'
src: [ '*.less' ]
dest: '.tmp/styles/'... |
[
{
"context": "# Tâmia © 2013 Artem Sapegin http://sapegin.me\n# Password field with toggle to",
"end": 28,
"score": 0.9998998641967773,
"start": 15,
"tag": "NAME",
"value": "Artem Sapegin"
}
] | gh-pages/tamia/modules/password/script.coffee | b0n3v/XRB-facebook | 0 | # Tâmia © 2013 Artem Sapegin http://sapegin.me
# Password field with toggle to show characters
'use strict'
$ = jQuery
supported = undefined
class Password extends Component
init: ->
@types =
locked: 'password'
unlocked: 'text'
@fieldElem = @find('field')
@toggleElem = @find('toggle')
# Mousedown i... | 203075 | # Tâmia © 2013 <NAME> http://sapegin.me
# Password field with toggle to show characters
'use strict'
$ = jQuery
supported = undefined
class Password extends Component
init: ->
@types =
locked: 'password'
unlocked: 'text'
@fieldElem = @find('field')
@toggleElem = @find('toggle')
# Mousedown instead ... | true | # Tâmia © 2013 PI:NAME:<NAME>END_PI http://sapegin.me
# Password field with toggle to show characters
'use strict'
$ = jQuery
supported = undefined
class Password extends Component
init: ->
@types =
locked: 'password'
unlocked: 'text'
@fieldElem = @find('field')
@toggleElem = @find('toggle')
# Mous... |
[
{
"context": " = 'http://api.penncoursereview.com/v1/'\nTOKEN = 'public'\n\nget_json = (path, callback, options) ->\n $.get",
"end": 62,
"score": 0.85304194688797,
"start": 56,
"tag": "PASSWORD",
"value": "public"
}
] | coffee/pcr.coffee | gterrono/coursegrapher | 1 | DOMAIN = 'http://api.penncoursereview.com/v1/'
TOKEN = 'public'
get_json = (path, callback, options) ->
$.get "#{DOMAIN}#{path}?token=#{TOKEN}", (data) =>
data = JSON.parse(data).result
callback(data, options)
departments = (callback, options) ->
path = 'depts/'
get_json path, callback, options
dept_re... | 181287 | DOMAIN = 'http://api.penncoursereview.com/v1/'
TOKEN = '<PASSWORD>'
get_json = (path, callback, options) ->
$.get "#{DOMAIN}#{path}?token=#{TOKEN}", (data) =>
data = JSON.parse(data).result
callback(data, options)
departments = (callback, options) ->
path = 'depts/'
get_json path, callback, options
dep... | true | DOMAIN = 'http://api.penncoursereview.com/v1/'
TOKEN = 'PI:PASSWORD:<PASSWORD>END_PI'
get_json = (path, callback, options) ->
$.get "#{DOMAIN}#{path}?token=#{TOKEN}", (data) =>
data = JSON.parse(data).result
callback(data, options)
departments = (callback, options) ->
path = 'depts/'
get_json path, call... |
[
{
"context": " 1, 0)))\n days = Days(startDate, endDate)\n key = \"#{date.getFullYear()}-#{date.getMonth()}\"\n\n month.k",
"end": 949,
"score": 0.549281656742096,
"start": 946,
"tag": "KEY",
"value": "\"#{"
},
{
"context": "ys(startDate, endDate)\n key = \"#{date.getFullYear()}-... | src/components/calendar/month.coffee | brianshaler/kerplunk-location-calendar | 0 | { fragmentShader, vertexShader } = require './shaders'
Days = require './days'
Square = require '../webgl/square'
dayCols = 7
# squareSize = 24
# squareMargin = 5
maxDays = 31
monthNames = [
'January'
'February'
'March'
'April'
'May'
'June'
'July'
'August'
'September'
'October'
'November'
'Dec... | 139978 | { fragmentShader, vertexShader } = require './shaders'
Days = require './days'
Square = require '../webgl/square'
dayCols = 7
# squareSize = 24
# squareMargin = 5
maxDays = 31
monthNames = [
'January'
'February'
'March'
'April'
'May'
'June'
'July'
'August'
'September'
'October'
'November'
'Dec... | true | { fragmentShader, vertexShader } = require './shaders'
Days = require './days'
Square = require '../webgl/square'
dayCols = 7
# squareSize = 24
# squareMargin = 5
maxDays = 31
monthNames = [
'January'
'February'
'March'
'April'
'May'
'June'
'July'
'August'
'September'
'October'
'November'
'Dec... |
[
{
"context": "###\nCopyright 2016 Clemens Nylandsted Klokmose, Aarhus University\n\nLicensed under the Apache Lic",
"end": 46,
"score": 0.9998953342437744,
"start": 19,
"tag": "NAME",
"value": "Clemens Nylandsted Klokmose"
}
] | client_src/ot2dom.coffee | kar288/ddd | 0 | ###
Copyright 2016 Clemens Nylandsted Klokmose, Aarhus University
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | 173221 | ###
Copyright 2016 <NAME>, Aarhus University
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, s... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PI, Aarhus University
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to... |
[
{
"context": "ly,\n subdomain: 'academy'\n auth:\n username: 'JSSolutions'\n password: 'projectx'\n inputToken: 'd88ea45c",
"end": 85,
"score": 0.9994722604751587,
"start": 74,
"tag": "USERNAME",
"value": "JSSolutions"
},
{
"context": " auth:\n username: 'JSSolutions'\n ... | app/server/bootstrap/winston.coffee | JSSolutions-Academy/Team-A | 0 | Winston.add Winston_Loggly,
subdomain: 'academy'
auth:
username: 'JSSolutions'
password: 'projectx'
inputToken: 'd88ea45c-3798-4816-800c-f1cb81644df9'
json: true
handleExceptions: true
Winston.info 'Added winston loggly transport'
| 129702 | Winston.add Winston_Loggly,
subdomain: 'academy'
auth:
username: 'JSSolutions'
password: '<PASSWORD>'
inputToken: '<PASSWORD>'
json: true
handleExceptions: true
Winston.info 'Added winston loggly transport'
| true | Winston.add Winston_Loggly,
subdomain: 'academy'
auth:
username: 'JSSolutions'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
inputToken: 'PI:PASSWORD:<PASSWORD>END_PI'
json: true
handleExceptions: true
Winston.info 'Added winston loggly transport'
|
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9917707443237305,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": "tControl\n\t\t\tuser_control: tru... | demo/src/demos/Playground.coffee | programmfabrik/coffeescript-ui | 10 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.Playground extends Demo
getGroup: ->
""
getName: ->
"Playground"
getButtons: (op... | 44803 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.Playground extends Demo
getGroup: ->
""
getName: ->
"Playground"
getButtons: (op... | true | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.Playground extends Demo
getGroup: ->
""
getName: ->
"Playground"
getButtons: (op... |
[
{
"context": "commands to server'\n version: '0.1'\n authors: ['Álvaro Cuesta']\n",
"end": 347,
"score": 0.999866247177124,
"start": 334,
"tag": "NAME",
"value": "Álvaro Cuesta"
}
] | plugins/raw.coffee | alvaro-cuesta/nerdobot | 2 | module.exports = ->
@addCommand 'raw',
args: '<command>',
description: 'Send a raw command to the IRC server'
(from, command) =>
if command?
@raw command
else
@notice from.nick, "What should I do?"
name: 'Raw'
description: 'Send raw IRC commands to server'
version: '0.1'... | 4528 | module.exports = ->
@addCommand 'raw',
args: '<command>',
description: 'Send a raw command to the IRC server'
(from, command) =>
if command?
@raw command
else
@notice from.nick, "What should I do?"
name: 'Raw'
description: 'Send raw IRC commands to server'
version: '0.1'... | true | module.exports = ->
@addCommand 'raw',
args: '<command>',
description: 'Send a raw command to the IRC server'
(from, command) =>
if command?
@raw command
else
@notice from.nick, "What should I do?"
name: 'Raw'
description: 'Send raw IRC commands to server'
version: '0.1'... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.9998836517333984,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/d... | src/Coffixi/display/DisplayObject.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/display/DisplayObject', [
'Coffixi/core/Point'
'Coffixi/core/Matrix'
'Coffixi/filters/FilterBlock'
'Coffixi/utils/Module'
], (
Point
Matrix
FilterBlock
Module
) ->
###*
The base class for all objects that are rendered on ... | 225875 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/display/DisplayObject', [
'Coffixi/core/Point'
'Coffixi/core/Matrix'
'Coffixi/filters/FilterBlock'
'Coffixi/utils/Module'
], (
Point
Matrix
FilterBlock
Module
) ->
###*
The base class for all objects that are rendered on the ... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/display/DisplayObject', [
'Coffixi/core/Point'
'Coffixi/core/Matrix'
'Coffixi/filters/FilterBlock'
'Coffixi/utils/Module'
], (
Point
Matrix
FilterBlock
Module
) ->
###*
The base class for all objects that are re... |
[
{
"context": "\"title\": \"Artusi's cooking\"\n\n\"api\":\n \"baseUrl\": \"http://diegopi",
"end": 16,
"score": 0.9990209341049194,
"start": 10,
"tag": "NAME",
"value": "Artusi"
}
] | dist/config.cson | robertDpi/mangiabene | 0 | "title": "Artusi's cooking"
"api":
"baseUrl": "http://diegopinna.com/cooking/wp-json"
"timeout": 10000
"maxAttempt": 3
#
# "translation":
# "displayed" : ["en", "fr"]
# "prefered": "en"
# POST PAGES
"post":
"comments":
"enabled": true
"depth": 2
"per_page": 50
"cach... | 1470 | "title": "<NAME>'s cooking"
"api":
"baseUrl": "http://diegopinna.com/cooking/wp-json"
"timeout": 10000
"maxAttempt": 3
#
# "translation":
# "displayed" : ["en", "fr"]
# "prefered": "en"
# POST PAGES
"post":
"comments":
"enabled": true
"depth": 2
"per_page": 50
"cach... | true | "title": "PI:NAME:<NAME>END_PI's cooking"
"api":
"baseUrl": "http://diegopinna.com/cooking/wp-json"
"timeout": 10000
"maxAttempt": 3
#
# "translation":
# "displayed" : ["en", "fr"]
# "prefered": "en"
# POST PAGES
"post":
"comments":
"enabled": true
"depth": 2
"per_page"... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.5976675748825073,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/serialize.coffee | heartyoh/dou | 1 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./property'
], (compose, withProperty) ->
"use strict"
serialize = ->
[
... | 12911 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./property'
], (compose, withProperty) ->
"use strict"
serialize = ->
[
... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'./compose'
'./property'
], (compose, withProperty) ->
"use strict"
serialize = ->
... |
[
{
"context": "hema)\n \n instance = new SimpleModel({name: 'testName', title: 'testTitle'})\n should.exist ins",
"end": 972,
"score": 0.997313380241394,
"start": 968,
"tag": "NAME",
"value": "test"
},
{
"context": ")\n \n instance = new SimpleModel({name: 'testName',... | API/public/node_modules/mongoose-createdmodified/test/test.coffee | kidSk/cmpnSite | 0 | chai = require 'chai'
assert = chai.assert
expect = chai.expect
should = chai.should()
mongoose = require 'mongoose'
index = require '../src/index'
db = mongoose.createConnection('localhost', 'mongoose_createdmodified_tests')
db.on('error', console.error.bind(console, 'connection error:'))
Schema = mongoose.Schema
O... | 112763 | chai = require 'chai'
assert = chai.assert
expect = chai.expect
should = chai.should()
mongoose = require 'mongoose'
index = require '../src/index'
db = mongoose.createConnection('localhost', 'mongoose_createdmodified_tests')
db.on('error', console.error.bind(console, 'connection error:'))
Schema = mongoose.Schema
O... | true | chai = require 'chai'
assert = chai.assert
expect = chai.expect
should = chai.should()
mongoose = require 'mongoose'
index = require '../src/index'
db = mongoose.createConnection('localhost', 'mongoose_createdmodified_tests')
db.on('error', console.error.bind(console, 'connection error:'))
Schema = mongoose.Schema
O... |
[
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.",
"end": 17,
"score": 0.925456702709198,
"start": 16,
"tag": "EMAIL",
"value": "j"
},
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.\n#\n# Per",
"end": 25,
"... | src/lib/parsedir.coffee | yadutaf/Weathermap-archive | 1 | ###
# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... | 24830 | ###
# Copyright <EMAIL>tlebi.fr <<EMAIL>> and other contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy... | true | ###
# Copyright PI:EMAIL:<EMAIL>END_PItlebi.fr <PI:EMAIL:<EMAIL>END_PI> and other contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limi... |
[
{
"context": "k\"\n },\n \"email\": {\n \"$t\": \"okfn.rufus.pollock@gmail.com\"\n }\n }\n ],\n \"openSearch$startIn",
"end": 618,
"score": 0.999884843826294,
"start": 590,
"tag": "EMAIL",
"value": "okfn.rufus.pollock@gmail.com"
},
{
"context"... | tests/spec/lib/utils/gdocs.coffee | openspending/openspendingjs-old | 7 | sample_gdocs_spreadsheet_data = {
"feed": {
"category": [
{
"term": "http://schemas.google.com/spreadsheets/2006#list",
"scheme": "http://schemas.google.com/spreadsheets/2006"
}
],
"updated": {
"$t": "2010-07-12T18:32:16.200Z"
},
"xmlns": "http://www.w3.org/2005/A... | 37489 | sample_gdocs_spreadsheet_data = {
"feed": {
"category": [
{
"term": "http://schemas.google.com/spreadsheets/2006#list",
"scheme": "http://schemas.google.com/spreadsheets/2006"
}
],
"updated": {
"$t": "2010-07-12T18:32:16.200Z"
},
"xmlns": "http://www.w3.org/2005/A... | true | sample_gdocs_spreadsheet_data = {
"feed": {
"category": [
{
"term": "http://schemas.google.com/spreadsheets/2006#list",
"scheme": "http://schemas.google.com/spreadsheets/2006"
}
],
"updated": {
"$t": "2010-07-12T18:32:16.200Z"
},
"xmlns": "http://www.w3.org/2005/A... |
[
{
"context": "edit: 'Image Credits'\n\n bios:\n townsend: 'Phil Townsend is a professor of Forest & Wildlife Ecology a",
"end": 27525,
"score": 0.9998682737350464,
"start": 27512,
"tag": "NAME",
"value": "Phil Townsend"
},
{
"context": "ter understand ecosystems.'\n ... | app/lib/en-us.coffee | aliburchard/gorongosa-clone | 0 | module.exports =
navigation:
home: 'Home'
classify: 'Classify'
science: 'Science'
team: 'Team'
education: 'Education'
profile: 'Profile'
talk: 'Talk'
blog: 'Blog'
home:
heading: 'Welcome to Wildlife Watch'
rightBannerHeader: "What is Wildlife Watch?"
tagline: 'WildlifeWa... | 139651 | module.exports =
navigation:
home: 'Home'
classify: 'Classify'
science: 'Science'
team: 'Team'
education: 'Education'
profile: 'Profile'
talk: 'Talk'
blog: 'Blog'
home:
heading: 'Welcome to Wildlife Watch'
rightBannerHeader: "What is Wildlife Watch?"
tagline: 'WildlifeWa... | true | module.exports =
navigation:
home: 'Home'
classify: 'Classify'
science: 'Science'
team: 'Team'
education: 'Education'
profile: 'Profile'
talk: 'Talk'
blog: 'Blog'
home:
heading: 'Welcome to Wildlife Watch'
rightBannerHeader: "What is Wildlife Watch?"
tagline: 'WildlifeWa... |
[
{
"context": "e.exports = [\n {\n id: 'device_1',\n label: 'Alex\\'s AstroKey',\n status_code: 1,\n keys: [\n {\n ",
"end": 138,
"score": 0.7623370289802551,
"start": 122,
"tag": "NAME",
"value": "Alex\\'s AstroKey"
},
{
"context": " \"key\": \"A\",... | app/coffee/modules/main/data.coffee | aeksco/astrokey_web | 0 |
# Dummy Device Data for UI development
# TODO - pull from WebUSB?
module.exports = [
{
id: 'device_1',
label: 'Alex\'s AstroKey',
status_code: 1,
keys: [
{
id: 'device_1_key_1',
config: {
type: 'macro',
macros: [
{
"row": "r2",
... | 147499 |
# Dummy Device Data for UI development
# TODO - pull from WebUSB?
module.exports = [
{
id: 'device_1',
label: '<NAME>',
status_code: 1,
keys: [
{
id: 'device_1_key_1',
config: {
type: 'macro',
macros: [
{
"row": "r2",
"... | true |
# Dummy Device Data for UI development
# TODO - pull from WebUSB?
module.exports = [
{
id: 'device_1',
label: 'PI:NAME:<NAME>END_PI',
status_code: 1,
keys: [
{
id: 'device_1_key_1',
config: {
type: 'macro',
macros: [
{
"row": "r2",
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission ",
"end": 18,
"score": 0.8858577013015747,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/pummel/test-timers.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 55422 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.9998641014099121,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | shaders/NearMapGeneratorShader.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
frag = """precision highp float;
varying vec3 vPos;
varying vec3 vTangent;
varying vec3 vBinormal;
""" + windowsCompatibilityUglyHacks.randomSeedDefString + """ //uniform vec3 randomSeed;
#define ONE_TEXEL (1.0/4096... | 34088 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
frag = """precision highp float;
varying vec3 vPos;
varying vec3 vTangent;
varying vec3 vBinormal;
""" + windowsCompatibilityUglyHacks.randomSeedDefString + """ //uniform vec3 randomSeed;
#define ONE_TEXEL (1.0/4096.0)
... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
frag = """precision highp float;
varying vec3 vPos;
varying vec3 vTangent;
varying vec3 vBinormal;
""" + windowsCompatibilityUglyHacks.randomSeedDefString + """ //uniform vec3 randomSeed;
#define ONE_TEXEL (... |
[
{
"context": "n a clockAPI'\n clockAPI =\n hostname: '127.0.0.1'\n method: 'GET'\n port: clockPort\n ",
"end": 1359,
"score": 0.9988915324211121,
"start": 1350,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " port: clockPort\n path: '/... | tests/bundles.test.coffee | iti-ict/localstamp | 1 | should = require 'should'
q = require 'q'
http = require 'http'
qs = require 'querystring'
LocalStamp = require '..'
Component = require 'component'
clockPort = null
frontPort = null
volumePort = null
a = null
EXAMPLES='/workspaces/slap/git/example... | 168491 | should = require 'should'
q = require 'q'
http = require 'http'
qs = require 'querystring'
LocalStamp = require '..'
Component = require 'component'
clockPort = null
frontPort = null
volumePort = null
a = null
EXAMPLES='/workspaces/slap/git/example... | true | should = require 'should'
q = require 'q'
http = require 'http'
qs = require 'querystring'
LocalStamp = require '..'
Component = require 'component'
clockPort = null
frontPort = null
volumePort = null
a = null
EXAMPLES='/workspaces/slap/git/example... |
[
{
"context": "s.database = @cfg.database\n params.password = pw\n conn = mysql.createConnection params\n ",
"end": 1428,
"score": 0.9409129619598389,
"start": 1426,
"tag": "PASSWORD",
"value": "pw"
},
{
"context": "\"\n obj = mm.config.secrets or {}\n obj.dbpw = ... | src/dbsetup.iced | AngelKey/Angelkey.nodehttpserver | 1 | mm = require('./mod').mgr
env = require './env'
fs = require 'fs'
mysql = require 'mysql'
read = require 'read'
{make_esc} = require 'iced-error'
{base64u} = require('pgp-utils').util
{prng} = require 'crypto'
path = require 'path'
log = require 'iced-logger'
##---------------------------------------------------------... | 11602 | mm = require('./mod').mgr
env = require './env'
fs = require 'fs'
mysql = require 'mysql'
read = require 'read'
{make_esc} = require 'iced-error'
{base64u} = require('pgp-utils').util
{prng} = require 'crypto'
path = require 'path'
log = require 'iced-logger'
##---------------------------------------------------------... | true | mm = require('./mod').mgr
env = require './env'
fs = require 'fs'
mysql = require 'mysql'
read = require 'read'
{make_esc} = require 'iced-error'
{base64u} = require('pgp-utils').util
{prng} = require 'crypto'
path = require 'path'
log = require 'iced-logger'
##---------------------------------------------------------... |
[
{
"context": " ()->\n Accounts.emailTemplates.from = '来了吗APP <notify@mail.tiegushi.com>'\n Accounts.emailTemplates.siteName = '来了吗APP'",
"end": 201,
"score": 0.9999286532402039,
"start": 177,
"tag": "EMAIL",
"value": "notify@mail.tiegushi.com"
}
] | hotShareWeb/server/reset_password_template.coffee | fay1986/mobile_app_server | 4 | if Meteor.isServer
Accounts.urls.resetPassword = (token)->
return Meteor.absoluteUrl('reset/' + token);
Meteor.startup ()->
Accounts.emailTemplates.from = '来了吗APP <notify@mail.tiegushi.com>'
Accounts.emailTemplates.siteName = '来了吗APP'
#A Function that takes a user object and returns a String for t... | 139634 | if Meteor.isServer
Accounts.urls.resetPassword = (token)->
return Meteor.absoluteUrl('reset/' + token);
Meteor.startup ()->
Accounts.emailTemplates.from = '来了吗APP <<EMAIL>>'
Accounts.emailTemplates.siteName = '来了吗APP'
#A Function that takes a user object and returns a String for the subject line o... | true | if Meteor.isServer
Accounts.urls.resetPassword = (token)->
return Meteor.absoluteUrl('reset/' + token);
Meteor.startup ()->
Accounts.emailTemplates.from = '来了吗APP <PI:EMAIL:<EMAIL>END_PI>'
Accounts.emailTemplates.siteName = '来了吗APP'
#A Function that takes a user object and returns a String for the... |
[
{
"context": "sed on the Raconteur story scaffold, copyright (c) Bruno Dias 2015.\n\nDistributed under the MIT license. See LIC",
"end": 68,
"score": 0.9998660087585449,
"start": 58,
"tag": "NAME",
"value": "Bruno Dias"
},
{
"context": "arth.\n\t\t<br><br>\n\t\t#{ timedWriter(system,... | game/main.coffee | jdormit/branches-raconteur | 0 | ###
Based on the Raconteur story scaffold, copyright (c) Bruno Dias 2015.
Distributed under the MIT license. See LICENSE for information.
###
# Require the libraries we rely on
situation = require('raconteur')
undum = require('undum-commonjs')
oneOf = require('raconteur/lib/oneOf.js')
elements = require('raconteur... | 141847 | ###
Based on the Raconteur story scaffold, copyright (c) <NAME> 2015.
Distributed under the MIT license. See LICENSE for information.
###
# Require the libraries we rely on
situation = require('raconteur')
undum = require('undum-commonjs')
oneOf = require('raconteur/lib/oneOf.js')
elements = require('raconteur/lib... | true | ###
Based on the Raconteur story scaffold, copyright (c) PI:NAME:<NAME>END_PI 2015.
Distributed under the MIT license. See LICENSE for information.
###
# Require the libraries we rely on
situation = require('raconteur')
undum = require('undum-commonjs')
oneOf = require('raconteur/lib/oneOf.js')
elements = require(... |
[
{
"context": "ault\"\n\t\t\"list\":\n\t\t\ttagName: \"div\"\n\t\t\tcontextKey: \"flexContent\"\n\t\t\tcontent:\n\t\t\t\ttagName: \"c-listview\"\n\t\t\t\tcontex",
"end": 17082,
"score": 0.8751342296600342,
"start": 17071,
"tag": "KEY",
"value": "flexContent"
},
{
"context": "\t\t\t\t}... | src/widget/edit/dropdown.coffee | homeant/cola-ui | 90 | dropdownDialogMargin = 0
cola.findDropDown = (target)->
layer = cola.findWidget(target, cola.AbstractLayer, true)
while layer and not layer._dropdown
layer = cola.findWidget(layer, cola.AbstractLayer, true)
return layer?._dropdown
class cola.AbstractDropdown extends cola.AbstractInput
@className: "input drop"
... | 30111 | dropdownDialogMargin = 0
cola.findDropDown = (target)->
layer = cola.findWidget(target, cola.AbstractLayer, true)
while layer and not layer._dropdown
layer = cola.findWidget(layer, cola.AbstractLayer, true)
return layer?._dropdown
class cola.AbstractDropdown extends cola.AbstractInput
@className: "input drop"
... | true | dropdownDialogMargin = 0
cola.findDropDown = (target)->
layer = cola.findWidget(target, cola.AbstractLayer, true)
while layer and not layer._dropdown
layer = cola.findWidget(layer, cola.AbstractLayer, true)
return layer?._dropdown
class cola.AbstractDropdown extends cola.AbstractInput
@className: "input drop"
... |
[
{
"context": "Turn arrays into smooth functions.\n\nCopyright 2012 Spencer Cohen\nLicensed under MIT license (see \"Smooth.js MIT li",
"end": 93,
"score": 0.9998472332954407,
"start": 80,
"tag": "NAME",
"value": "Spencer Cohen"
}
] | Smooth.coffee | xunleif2e/Smooth.js | 243 | ###
Smooth.js version 0.1.7
Turn arrays into smooth functions.
Copyright 2012 Spencer Cohen
Licensed under MIT license (see "Smooth.js MIT license.txt")
###
###Constants (these are accessible by Smooth.WHATEVER in user space)###
Enum =
###Interpolation methods###
METHOD_NEAREST: 'nearest' #Rounds to nearest who... | 88852 | ###
Smooth.js version 0.1.7
Turn arrays into smooth functions.
Copyright 2012 <NAME>
Licensed under MIT license (see "Smooth.js MIT license.txt")
###
###Constants (these are accessible by Smooth.WHATEVER in user space)###
Enum =
###Interpolation methods###
METHOD_NEAREST: 'nearest' #Rounds to nearest whole inde... | true | ###
Smooth.js version 0.1.7
Turn arrays into smooth functions.
Copyright 2012 PI:NAME:<NAME>END_PI
Licensed under MIT license (see "Smooth.js MIT license.txt")
###
###Constants (these are accessible by Smooth.WHATEVER in user space)###
Enum =
###Interpolation methods###
METHOD_NEAREST: 'nearest' #Rounds to near... |
[
{
"context": " username: process.env.EMMI_USERNAME\n password: process.env.EMMI_PASSWORD\n endpoint: process.env.EMMI_ENDPOINT\n exter",
"end": 101,
"score": 0.9992930293083191,
"start": 76,
"tag": "PASSWORD",
"value": "process.env.EMMI_PASSWORD"
}
] | server/EMMIClientSettings.coffee | drobbins/kassebaum | 0 | @EMMIClientSettings =
username: process.env.EMMI_USERNAME
password: process.env.EMMI_PASSWORD
endpoint: process.env.EMMI_ENDPOINT
externalSystem: process.env.EMMI_EXTERNALSYSTEM
if process.env.NODE_ENV is "development"
process.env.MOCK_EMMI = true | 106414 | @EMMIClientSettings =
username: process.env.EMMI_USERNAME
password: <PASSWORD>
endpoint: process.env.EMMI_ENDPOINT
externalSystem: process.env.EMMI_EXTERNALSYSTEM
if process.env.NODE_ENV is "development"
process.env.MOCK_EMMI = true | true | @EMMIClientSettings =
username: process.env.EMMI_USERNAME
password: PI:PASSWORD:<PASSWORD>END_PI
endpoint: process.env.EMMI_ENDPOINT
externalSystem: process.env.EMMI_EXTERNALSYSTEM
if process.env.NODE_ENV is "development"
process.env.MOCK_EMMI = true |
[
{
"context": " disallow uses of await inside of loops.\n# @author Nat Mote (nmote)\n###\n'use strict'\n\n###*\n# Check whether it",
"end": 87,
"score": 0.9998556971549988,
"start": 79,
"tag": "NAME",
"value": "Nat Mote"
},
{
"context": "ses of await inside of loops.\n# @author Nat Mo... | src/rules/no-await-in-loop.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to disallow uses of await inside of loops.
# @author Nat Mote (nmote)
###
'use strict'
###*
# Check whether it should stop traversing ancestors at the given node.
# @param {ASTNode} node A node to check.
# @returns {boolean} `true` if it should stop traversing.
###
isBoundary = (node) ->
t ... | 14301 | ###*
# @fileoverview Rule to disallow uses of await inside of loops.
# @author <NAME> (nmote)
###
'use strict'
###*
# Check whether it should stop traversing ancestors at the given node.
# @param {ASTNode} node A node to check.
# @returns {boolean} `true` if it should stop traversing.
###
isBoundary = (node) ->
t = ... | true | ###*
# @fileoverview Rule to disallow uses of await inside of loops.
# @author PI:NAME:<NAME>END_PI (nmote)
###
'use strict'
###*
# Check whether it should stop traversing ancestors at the given node.
# @param {ASTNode} node A node to check.
# @returns {boolean} `true` if it should stop traversing.
###
isBoundary = (n... |
[
{
"context": "leName + '@' + id\n\n @getById: (id) ->\n key = @generateCacheKey(id)\n if (model = @cache.get(key))?\n Q(mod",
"end": 3656,
"score": 0.6597051620483398,
"start": 3640,
"tag": "KEY",
"value": "generateCacheKey"
}
] | lib/model-base.coffee | xmail-client/node-sqlite-orm | 0 | Mixin = require 'mixto'
_ = require 'underscore'
Q = require 'q'
{Emitter} = require 'event-kit'
ModelAssociation = require './model-association'
module.exports =
class ModelBaseMixin extends Mixin
ModelAssociation.includeInto this
@models = {}
initModel: (params) ->
@_modelEmitter = new Emitter
@isInse... | 171140 | Mixin = require 'mixto'
_ = require 'underscore'
Q = require 'q'
{Emitter} = require 'event-kit'
ModelAssociation = require './model-association'
module.exports =
class ModelBaseMixin extends Mixin
ModelAssociation.includeInto this
@models = {}
initModel: (params) ->
@_modelEmitter = new Emitter
@isInse... | true | Mixin = require 'mixto'
_ = require 'underscore'
Q = require 'q'
{Emitter} = require 'event-kit'
ModelAssociation = require './model-association'
module.exports =
class ModelBaseMixin extends Mixin
ModelAssociation.includeInto this
@models = {}
initModel: (params) ->
@_modelEmitter = new Emitter
@isInse... |
[
{
"context": " typeLogin \"foo\"\n typeEmail \"foo@example.com\"\n\n it \"register button is enabled\", ->",
"end": 2105,
"score": 0.9999116659164429,
"start": 2090,
"tag": "EMAIL",
"value": "foo@example.com"
}
] | www/test/src/register.coffee | berekuk/questhub | 15 | define [
"views/register"
"models/current-user"
], (Register, currentUser) ->
describe "register:", ->
# FIXME - currentUser should be registered=0, it's a complete accident these tests are working!
server = undefined
beforeEach ->
sinon.spy mixpanel, "track"
... | 153760 | define [
"views/register"
"models/current-user"
], (Register, currentUser) ->
describe "register:", ->
# FIXME - currentUser should be registered=0, it's a complete accident these tests are working!
server = undefined
beforeEach ->
sinon.spy mixpanel, "track"
... | true | define [
"views/register"
"models/current-user"
], (Register, currentUser) ->
describe "register:", ->
# FIXME - currentUser should be registered=0, it's a complete accident these tests are working!
server = undefined
beforeEach ->
sinon.spy mixpanel, "track"
... |
[
{
"context": "ew\", values: [\"No\", \"Yes\"]}\n ]\n\n f =\n name: \"Instructor\"\n gid: 12\n type: \"Guild NPC\"\n properties",
"end": 2029,
"score": 0.8585789203643799,
"start": 2019,
"tag": "NAME",
"value": "Instructor"
}
] | src/map/guild-buildings/Academy.coffee | Oipo/IdleLandsOld | 0 |
GuildBuilding = require "../GuildBuilding"
`/**
* The Academy affects the capability of your minor permanent buffs as well as the major buffs you can purchase for a limited time.
*
* @name Academy
* @category Buildings
* @package Guild
* @cost {level-up} 15000 (if level <= 100)
* @property AutoRenew (Yes/No; w... | 171457 |
GuildBuilding = require "../GuildBuilding"
`/**
* The Academy affects the capability of your minor permanent buffs as well as the major buffs you can purchase for a limited time.
*
* @name Academy
* @category Buildings
* @package Guild
* @cost {level-up} 15000 (if level <= 100)
* @property AutoRenew (Yes/No; w... | true |
GuildBuilding = require "../GuildBuilding"
`/**
* The Academy affects the capability of your minor permanent buffs as well as the major buffs you can purchase for a limited time.
*
* @name Academy
* @category Buildings
* @package Guild
* @cost {level-up} 15000 (if level <= 100)
* @property AutoRenew (Yes/No; w... |
[
{
"context": " Joi.string().required().description('The username signed up with')\n password: Joi.string().required().d",
"end": 5694,
"score": 0.5568745732307434,
"start": 5680,
"tag": "USERNAME",
"value": "signed up with"
},
{
"context": " password: Joi.string().requir... | lib/routes/user.coffee | ethanmick/fastchat-server | 7 | 'use strict'
#
# FastChat
# 2015
#
User = require '../model/user'
ObjectId = require('mongoose-q')().Types.ObjectId
multiparty = require 'multiparty'
Boom = require 'boom'
Joi = require 'joi'
# POST /login
# This is an alternative implementation that uses a custom callback to
# acheive the same functionality.
login =... | 171520 | 'use strict'
#
# FastChat
# 2015
#
User = require '../model/user'
ObjectId = require('mongoose-q')().Types.ObjectId
multiparty = require 'multiparty'
Boom = require 'boom'
Joi = require 'joi'
# POST /login
# This is an alternative implementation that uses a custom callback to
# acheive the same functionality.
login =... | true | 'use strict'
#
# FastChat
# 2015
#
User = require '../model/user'
ObjectId = require('mongoose-q')().Types.ObjectId
multiparty = require 'multiparty'
Boom = require 'boom'
Joi = require 'joi'
# POST /login
# This is an alternative implementation that uses a custom callback to
# acheive the same functionality.
login =... |
[
{
"context": "h/callback&hub.lease_seconds=864000&hub.secret=hexweaver\"\n headers: {\n \"Client-ID\": ke",
"end": 4830,
"score": 0.42325544357299805,
"start": 4828,
"tag": "KEY",
"value": "we"
},
{
"context": " json: true\n body: {\n nick: user... | motorbotEventHandler.coffee | motorlatitude/MotorBot | 4 | Table = require 'cli-table'
keys = require '/var/www/motorbot/keys.json'
apiai = require('apiai')
apiai = apiai(keys.apiai) #AI for !talk method
fs = require 'fs'
req = require 'request'
moment = require 'moment'
cheerio = require 'cheerio'
turndown = require 'turndown'
class motorbotEventHandler
constructor: (@app... | 204305 | Table = require 'cli-table'
keys = require '/var/www/motorbot/keys.json'
apiai = require('apiai')
apiai = apiai(keys.apiai) #AI for !talk method
fs = require 'fs'
req = require 'request'
moment = require 'moment'
cheerio = require 'cheerio'
turndown = require 'turndown'
class motorbotEventHandler
constructor: (@app... | true | Table = require 'cli-table'
keys = require '/var/www/motorbot/keys.json'
apiai = require('apiai')
apiai = apiai(keys.apiai) #AI for !talk method
fs = require 'fs'
req = require 'request'
moment = require 'moment'
cheerio = require 'cheerio'
turndown = require 'turndown'
class motorbotEventHandler
constructor: (@app... |
[
{
"context": " width: '300px',\n placeholder: 'Search by Name',\n minimumInputLength: 3,\n ajax:\n ",
"end": 1594,
"score": 0.5614180564880371,
"start": 1590,
"tag": "NAME",
"value": "Name"
}
] | app/assets/javascripts/admin/vocalist_ping.coffee | coronasafe/knowledge | 0 | handleTargetChanges = ->
$('#vocalist_ping_founders').on 'select2:select', () ->
clearSelection($('#vocalist_ping_startups')) if $('#vocalist_ping_startups').val()
clearSelection($('#vocalist_ping_channel')) if $('#vocalist_ping_channel').val()
clearSelection($('#vocalist_ping_levels')) if $('#vocalist_pi... | 180068 | handleTargetChanges = ->
$('#vocalist_ping_founders').on 'select2:select', () ->
clearSelection($('#vocalist_ping_startups')) if $('#vocalist_ping_startups').val()
clearSelection($('#vocalist_ping_channel')) if $('#vocalist_ping_channel').val()
clearSelection($('#vocalist_ping_levels')) if $('#vocalist_pi... | true | handleTargetChanges = ->
$('#vocalist_ping_founders').on 'select2:select', () ->
clearSelection($('#vocalist_ping_startups')) if $('#vocalist_ping_startups').val()
clearSelection($('#vocalist_ping_channel')) if $('#vocalist_ping_channel').val()
clearSelection($('#vocalist_ping_levels')) if $('#vocalist_pi... |
[
{
"context": " newItem = collection.template()\n name = \"Joe Test\"\n email = \"test@test.com\"\n blog = \"",
"end": 2453,
"score": 0.9997832179069519,
"start": 2445,
"tag": "NAME",
"value": "Joe Test"
},
{
"context": "late()\n name = \"Joe Test\"\n ... | test/attributes.coffee | collection-json/collection-json.js | 16 |
should = require "should"
fs = require "fs"
_ = require "underscore"
cj = require ".."
describe "Attributes", ->
describe "[Original](http://amundsen.com/media-types/collection/)", ->
collection = null
data = null
before ->
data = require "./fixtures/original"
beforeEach (done)->
cj... | 222233 |
should = require "should"
fs = require "fs"
_ = require "underscore"
cj = require ".."
describe "Attributes", ->
describe "[Original](http://amundsen.com/media-types/collection/)", ->
collection = null
data = null
before ->
data = require "./fixtures/original"
beforeEach (done)->
cj... | true |
should = require "should"
fs = require "fs"
_ = require "underscore"
cj = require ".."
describe "Attributes", ->
describe "[Original](http://amundsen.com/media-types/collection/)", ->
collection = null
data = null
before ->
data = require "./fixtures/original"
beforeEach (done)->
cj... |
[
{
"context": " when 1\n\n console.log \"Doubler\"\n\n delayF.close()\n ",
"end": 2316,
"score": 0.8464075922966003,
"start": 2309,
"tag": "NAME",
"value": "Doubler"
}
] | website/prototypes/audioprocess/src/App.coffee | GyanaPrasannaa/oz-experiment | 0 | $ ->
window.URL = (window.URL || window.webkitURL)
navigator.getUserMedia = (navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia)
$(document).ready ->
console.log "* App ready"
# Create michrophone
mic = new Mic
... | 126635 | $ ->
window.URL = (window.URL || window.webkitURL)
navigator.getUserMedia = (navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia)
$(document).ready ->
console.log "* App ready"
# Create michrophone
mic = new Mic
... | true | $ ->
window.URL = (window.URL || window.webkitURL)
navigator.getUserMedia = (navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia)
$(document).ready ->
console.log "* App ready"
# Create michrophone
mic = new Mic
... |
[
{
"context": "cement interaction jQuery UI widget\n# (c) 2011 Szaby Gruenwald, IKS Consortium\n# Annotate may be freely dist",
"end": 95,
"score": 0.9998635649681091,
"start": 80,
"tag": "NAME",
"value": "Szaby Gruenwald"
}
] | src/annotate.coffee | IKS/annotate.js | 2 | ### Annotate - a text enhancement interaction jQuery UI widget
# (c) 2011 Szaby Gruenwald, IKS Consortium
# Annotate may be freely distributed under the MIT license
###
# define namespaces
ns =
rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
enhancer: 'http://fise.iks-project.eu/ontology/'
... | 217709 | ### Annotate - a text enhancement interaction jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Annotate may be freely distributed under the MIT license
###
# define namespaces
ns =
rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
enhancer: 'http://fise.iks-project.eu/ontology/'
dcterms:... | true | ### Annotate - a text enhancement interaction jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Annotate may be freely distributed under the MIT license
###
# define namespaces
ns =
rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
enhancer: 'http://fise.iks-project.eu/ontology/... |
[
{
"context": "excessive browser resizing.\n#\n# MIT License\n#\n# by Mig Reyes, Designer at Basecamp\n# http://twitter.com/migrey",
"end": 177,
"score": 0.9999018311500549,
"start": 168,
"tag": "NAME",
"value": "Mig Reyes"
},
{
"context": " Reyes, Designer at Basecamp\n# http://twitt... | jquery.wanker.coffee | migreyes/jquery.wanker | 56 | #
# Wanker 0.1.2
# http://mig.io/makes/wanker
#
# The web was meant to be read, not squished.
# Display a message on excessive browser resizing.
#
# MIT License
#
# by Mig Reyes, Designer at Basecamp
# http://twitter.com/migreyes
#
do (jQuery = $) ->
$.fn.wanker = (options) ->
settings = $.extend
delay: 1... | 77245 | #
# Wanker 0.1.2
# http://mig.io/makes/wanker
#
# The web was meant to be read, not squished.
# Display a message on excessive browser resizing.
#
# MIT License
#
# by <NAME>, Designer at Basecamp
# http://twitter.com/migreyes
#
do (jQuery = $) ->
$.fn.wanker = (options) ->
settings = $.extend
delay: 1000... | true | #
# Wanker 0.1.2
# http://mig.io/makes/wanker
#
# The web was meant to be read, not squished.
# Display a message on excessive browser resizing.
#
# MIT License
#
# by PI:NAME:<NAME>END_PI, Designer at Basecamp
# http://twitter.com/migreyes
#
do (jQuery = $) ->
$.fn.wanker = (options) ->
settings = $.extend
... |
[
{
"context": "aidTheme theme # hack to solve https://github.com/exupero/saveSvgAsPng/issues/128 problem\n # @elemen",
"end": 12829,
"score": 0.9995736479759216,
"start": 12822,
"tag": "USERNAME",
"value": "exupero"
},
{
"context": " doc [printToPDF] function\n # https://githu... | lib/markdown-preview-enhanced-view.coffee | romen/markdown-preview-enhanced | 1 | {Emitter, CompositeDisposable, File, Directory} = require 'atom'
{$, $$$, ScrollView} = require 'atom-space-pen-views'
path = require 'path'
fs = require 'fs'
temp = require('temp').track()
{exec} = require 'child_process'
pdf = require 'html-pdf'
katex = require 'katex'
matter = require('gray-matter')
{allowUnsafeEva... | 214493 | {Emitter, CompositeDisposable, File, Directory} = require 'atom'
{$, $$$, ScrollView} = require 'atom-space-pen-views'
path = require 'path'
fs = require 'fs'
temp = require('temp').track()
{exec} = require 'child_process'
pdf = require 'html-pdf'
katex = require 'katex'
matter = require('gray-matter')
{allowUnsafeEva... | true | {Emitter, CompositeDisposable, File, Directory} = require 'atom'
{$, $$$, ScrollView} = require 'atom-space-pen-views'
path = require 'path'
fs = require 'fs'
temp = require('temp').track()
{exec} = require 'child_process'
pdf = require 'html-pdf'
katex = require 'katex'
matter = require('gray-matter')
{allowUnsafeEva... |
[
{
"context": "esourceful.define 'widget' \n\nWidget.create name: 'FooBar'\n",
"end": 128,
"score": 0.5783683061599731,
"start": 122,
"tag": "NAME",
"value": "FooBar"
}
] | node_modules/ethercalc/node_modules/zappajs/node_modules/coffeecup/examples/flatiron/mvc/src/models/widget.coffee | kurakuradave/Etherboard | 21 | resourceful = require 'resourceful'
# Widget
module.exports = Widget = resourceful.define 'widget'
Widget.create name: 'FooBar'
| 198061 | resourceful = require 'resourceful'
# Widget
module.exports = Widget = resourceful.define 'widget'
Widget.create name: '<NAME>'
| true | resourceful = require 'resourceful'
# Widget
module.exports = Widget = resourceful.define 'widget'
Widget.create name: 'PI:NAME:<NAME>END_PI'
|
[
{
"context": "\n const me = Object.create(person);\n me.name = \"Matthew\"; // \"name\" is a property set on \"me\", but not on",
"end": 1921,
"score": 0.9994121789932251,
"start": 1914,
"tag": "NAME",
"value": "Matthew"
}
] | dev/intertype/src/basics.test.coffee | loveencounterflow/hengist | 0 |
'use strict'
############################################################################################################
# njs_util = require 'util'
njs_path = require 'path'
# njs_fs = require 'fs'
#.................................................................. | 5018 |
'use strict'
############################################################################################################
# njs_util = require 'util'
njs_path = require 'path'
# njs_fs = require 'fs'
#.................................................................. | true |
'use strict'
############################################################################################################
# njs_util = require 'util'
njs_path = require 'path'
# njs_fs = require 'fs'
#.................................................................. |
[
{
"context": "###\n * bag\n * getbag.io\n *\n * Copyright (c) 2015 Ryan Gaus\n * Licensed under the MIT license.\n###\nuuid = req",
"end": 58,
"score": 0.9998330473899841,
"start": 49,
"tag": "NAME",
"value": "Ryan Gaus"
}
] | src/controllers/foodstuff_controller.coffee | 1egoman/bag-node | 0 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
uuid = require "uuid"
Foodstuff = require "../models/foodstuff_model"
# get a foodstuff of all lists
# GET /foodstuff
exports.index = (req, res) ->
query = Foodstuff.find
$or: [
private: false
,
user... | 223153 | ###
* bag
* getbag.io
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
uuid = require "uuid"
Foodstuff = require "../models/foodstuff_model"
# get a foodstuff of all lists
# GET /foodstuff
exports.index = (req, res) ->
query = Foodstuff.find
$or: [
private: false
,
user: r... | true | ###
* bag
* getbag.io
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
uuid = require "uuid"
Foodstuff = require "../models/foodstuff_model"
# get a foodstuff of all lists
# GET /foodstuff
exports.index = (req, res) ->
query = Foodstuff.find
$or: [
private: false
,... |
[
{
"context": " if i == 0\n parties_message += \"#{name}\"\n else\n parties_message += \"",
"end": 1772,
"score": 0.8918324112892151,
"start": 1768,
"tag": "NAME",
"value": "name"
}
] | src/boardgames.coffee | uramonk/bdg_bot | 0 | storage = require('./storage')
module.exports = {
getBoardgames: (robot) ->
boardgames = storage.getBoardgames(robot)
boardgames.sort (a, b) ->
if a.id < b.id
-1
else
1
return boardgames
getBoardgamesByPlayerNum: (robot, player_num) ->
boardgames = storage.getBoardgames... | 10961 | storage = require('./storage')
module.exports = {
getBoardgames: (robot) ->
boardgames = storage.getBoardgames(robot)
boardgames.sort (a, b) ->
if a.id < b.id
-1
else
1
return boardgames
getBoardgamesByPlayerNum: (robot, player_num) ->
boardgames = storage.getBoardgames... | true | storage = require('./storage')
module.exports = {
getBoardgames: (robot) ->
boardgames = storage.getBoardgames(robot)
boardgames.sort (a, b) ->
if a.id < b.id
-1
else
1
return boardgames
getBoardgamesByPlayerNum: (robot, player_num) ->
boardgames = storage.getBoardgames... |
[
{
"context": "'comment': 'based on asp textmate bundle by Rich Barton'\n'fileTypes': [\n 'brs'\n]\n'name': 'BrightScript'\n",
"end": 55,
"score": 0.9998878836631775,
"start": 44,
"tag": "NAME",
"value": "Rich Barton"
}
] | grammars/brightscript.cson | Eldelshell/language-brs | 1 | 'comment': 'based on asp textmate bundle by Rich Barton'
'fileTypes': [
'brs'
]
'name': 'BrightScript'
'patterns': [
{
'captures':
'1':
'name': 'storage.type.function.brs'
'2':
'name': 'entity.name.function.brs'
'3':
'name': 'punctuation.definition.parameters.brs'
... | 36801 | 'comment': 'based on asp textmate bundle by <NAME>'
'fileTypes': [
'brs'
]
'name': 'BrightScript'
'patterns': [
{
'captures':
'1':
'name': 'storage.type.function.brs'
'2':
'name': 'entity.name.function.brs'
'3':
'name': 'punctuation.definition.parameters.brs'
'4':... | true | 'comment': 'based on asp textmate bundle by PI:NAME:<NAME>END_PI'
'fileTypes': [
'brs'
]
'name': 'BrightScript'
'patterns': [
{
'captures':
'1':
'name': 'storage.type.function.brs'
'2':
'name': 'entity.name.function.brs'
'3':
'name': 'punctuation.definition.parameters.b... |
[
{
"context": "valid to and from parameters', ->\n to.is -> \"stenver1010@gmail.com\"\n from.is -> \"stenver1010@gmail.com\"\n\n ",
"end": 456,
"score": 0.9999262094497681,
"start": 435,
"tag": "EMAIL",
"value": "stenver1010@gmail.com"
},
{
"context": "o.is -> \"stenver... | test/email_test.coffee | stenver/node-mailing-service | 0 | require './test_helper'
Email = require './../lib/models/email'
describe 'Email', ->
to = memo().is ->
from = memo().is ->
cc = memo().is ->
subject = memo().is ->
text = memo().is ->
parameters = memo().is -> {to: to(), from: from(), cc: cc(), subject: subject(), text: text()}
email = memo().is -> new ... | 165438 | require './test_helper'
Email = require './../lib/models/email'
describe 'Email', ->
to = memo().is ->
from = memo().is ->
cc = memo().is ->
subject = memo().is ->
text = memo().is ->
parameters = memo().is -> {to: to(), from: from(), cc: cc(), subject: subject(), text: text()}
email = memo().is -> new ... | true | require './test_helper'
Email = require './../lib/models/email'
describe 'Email', ->
to = memo().is ->
from = memo().is ->
cc = memo().is ->
subject = memo().is ->
text = memo().is ->
parameters = memo().is -> {to: to(), from: from(), cc: cc(), subject: subject(), text: text()}
email = memo().is -> new ... |
[
{
"context": " 'hindent:prettify-fundamental'}\n {label: 'Chris Done', command: 'hindent:prettify-chris-done'}\n ",
"end": 2122,
"score": 0.9983229637145996,
"start": 2112,
"tag": "NAME",
"value": "Chris Done"
},
{
"context": ": 'hindent:prettify-chris-done'}\n {l... | atom/hindent.coffee | ocharles/hindent | 301 | {CompositeDisposable} = require 'atom'
{BufferedProcess} = require 'atom'
{dirname} = require 'path'
{statSync} = require 'fs'
prettify = (style, text, workingDirectory, {onComplete, onFailure}) ->
lines = []
proc = new BufferedProcess
command: 'hindent'
args: ['--style', style]
options:
cwd: wor... | 151490 | {CompositeDisposable} = require 'atom'
{BufferedProcess} = require 'atom'
{dirname} = require 'path'
{statSync} = require 'fs'
prettify = (style, text, workingDirectory, {onComplete, onFailure}) ->
lines = []
proc = new BufferedProcess
command: 'hindent'
args: ['--style', style]
options:
cwd: wor... | true | {CompositeDisposable} = require 'atom'
{BufferedProcess} = require 'atom'
{dirname} = require 'path'
{statSync} = require 'fs'
prettify = (style, text, workingDirectory, {onComplete, onFailure}) ->
lines = []
proc = new BufferedProcess
command: 'hindent'
args: ['--style', style]
options:
cwd: wor... |
[
{
"context": "# @fileoverview Tests for no-undef rule.\n# @author Mark Macdonald\n###\n\n'use strict'\n\n#-----------------------------",
"end": 70,
"score": 0.9998291730880737,
"start": 56,
"tag": "NAME",
"value": "Mark Macdonald"
},
{
"context": "tions of readonly are removed: http... | src/tests/rules/no-undef.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-undef rule.
# @author Mark Macdonald
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-undef'
{RuleTester... | 78287 | ###*
# @fileoverview Tests for no-undef rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-undef'
{RuleTester} = requ... | true | ###*
# @fileoverview Tests for no-undef rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-undef'
{Rule... |
[
{
"context": "KNAME_MAX_LENGTH\n # username = req.body.username\n password = req.body.password\n verif",
"end": 5581,
"score": 0.8745445609092712,
"start": 5573,
"tag": "USERNAME",
"value": "username"
},
{
"context": " = req.body.username\n password ... | src/routes/user.coffee | lly5401/dhcseltalkserver | 1 | express = require 'express'
co = require 'co'
_ = require 'underscore'
moment = require 'moment'
rongCloud = require 'rongcloud-sdk'
qiniu = require 'qiniu'
Config = require '../conf'
Session = require '../util/session'
Utility = require('../util/util').Utility
APIResult = require('../ut... | 155425 | express = require 'express'
co = require 'co'
_ = require 'underscore'
moment = require 'moment'
rongCloud = require 'rongcloud-sdk'
qiniu = require 'qiniu'
Config = require '../conf'
Session = require '../util/session'
Utility = require('../util/util').Utility
APIResult = require('../ut... | true | express = require 'express'
co = require 'co'
_ = require 'underscore'
moment = require 'moment'
rongCloud = require 'rongcloud-sdk'
qiniu = require 'qiniu'
Config = require '../conf'
Session = require '../util/session'
Utility = require('../util/util').Utility
APIResult = require('../ut... |
[
{
"context": "calhost'\n username: process.env.USERNAME || 'admin'\n password: process.env.PASSWORD || '9999'\n ",
"end": 342,
"score": 0.9951281547546387,
"start": 337,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "e: process.env.USERNAME || 'admin'\n password:... | test/ptz.coffee | unm4sk1g/onvif | 1 | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
util = require('util')
describe 'PTZ', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: process.... | 199583 | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
util = require('util')
describe 'PTZ', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: process.... | true | synthTest = not process.env.HOSTNAME
assert = require 'assert'
onvif = require('../lib/onvif')
serverMockup = require('./serverMockup') if synthTest
util = require('util')
describe 'PTZ', () ->
cam = null
before (done) ->
options = {
hostname: process.env.HOSTNAME || 'localhost'
username: process.... |
[
{
"context": "dex))\n\n contains: (string, target) ->\n # TODO(david): Make this not do a linear scan\n return this.",
"end": 1208,
"score": 0.8347347378730774,
"start": 1203,
"tag": "NAME",
"value": "david"
},
{
"context": "contains_by_id: (string, target_id) ->\n # TODO(d... | src/public/javascripts/lib/woot.coffee | dwetterau/group-edit | 1 | define ['lib/constants'], (constants) ->
initialize_string: () ->
begin_character =
id:
name: ''
number: 0
visible: false
value: ''
end_character =
id:
name: ''
number: 1
visible: false
value: ''
return [begin_character, end_character]
... | 101577 | define ['lib/constants'], (constants) ->
initialize_string: () ->
begin_character =
id:
name: ''
number: 0
visible: false
value: ''
end_character =
id:
name: ''
number: 1
visible: false
value: ''
return [begin_character, end_character]
... | true | define ['lib/constants'], (constants) ->
initialize_string: () ->
begin_character =
id:
name: ''
number: 0
visible: false
value: ''
end_character =
id:
name: ''
number: 1
visible: false
value: ''
return [begin_character, end_character]
... |
[
{
"context": "k()\n\n setupFollowButton: (model, el) ->\n key = model.id\n @followButtonViews ?= {}\n @followButtonVie",
"end": 2138,
"score": 0.9795193076133728,
"start": 2130,
"tag": "KEY",
"value": "model.id"
}
] | src/desktop/apps/artsy_primer/personalize/client/views/categories.coffee | kanaabe/force | 0 | _ = require 'underscore'
StepView = require './step.coffee'
Items = require '../../../../../collections/items.coffee'
Gene = require '../../../../../models/gene.coffee'
{ setSkipLabel } = require '../mixins/followable.coffee'
{ FollowButton, Following } = require '../../../../../components/follow_button/index.coffee'
t... | 203708 | _ = require 'underscore'
StepView = require './step.coffee'
Items = require '../../../../../collections/items.coffee'
Gene = require '../../../../../models/gene.coffee'
{ setSkipLabel } = require '../mixins/followable.coffee'
{ FollowButton, Following } = require '../../../../../components/follow_button/index.coffee'
t... | true | _ = require 'underscore'
StepView = require './step.coffee'
Items = require '../../../../../collections/items.coffee'
Gene = require '../../../../../models/gene.coffee'
{ setSkipLabel } = require '../mixins/followable.coffee'
{ FollowButton, Following } = require '../../../../../components/follow_button/index.coffee'
t... |
[
{
"context": "\nnikita = require '@nikitajs/core'\n{cmd} = require '../src/query'\n{tags, ssh, ",
"end": 28,
"score": 0.8258736729621887,
"start": 26,
"tag": "USERNAME",
"value": "js"
},
{
"context": "res_user_3'\n .db.user\n username: 'postgres_user_3'\n pas... | packages/db/test/database.coffee | DanielJohnHarty/node-nikita | 1 |
nikita = require '@nikitajs/core'
{cmd} = require '../src/query'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
for engine, _ of db then do (engine) ->
describe "db.database #{engine}", ->
they 'add new database', ({ssh}) ->
nikita
ssh: ssh... | 157504 |
nikita = require '@nikitajs/core'
{cmd} = require '../src/query'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
for engine, _ of db then do (engine) ->
describe "db.database #{engine}", ->
they 'add new database', ({ssh}) ->
nikita
ssh: ssh... | true |
nikita = require '@nikitajs/core'
{cmd} = require '../src/query'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
for engine, _ of db then do (engine) ->
describe "db.database #{engine}", ->
they 'add new database', ({ssh}) ->
nikita
ssh: ssh... |
[
{
"context": "tom = Test.Ajax.Customer.createFromValues({name: 'Tom'})\n Test.Ajax.Customer.registerServerId(Te",
"end": 1504,
"score": 0.7967078685760498,
"start": 1501,
"tag": "NAME",
"value": "Tom"
},
{
"context": "tom = Test.Ajax.Customer.createFromValues({name: 'Tom'})\n ... | src/spec/ajax-spec.coffee | creativeprogramming/mozart | 1 | Test = {}
Test.Ajax = {}
Test.Ajax.getId = ->
Math.round(Math.random()*9999999)
describe 'Mozart.Ajax', ->
beforeEach ->
Test.server = sinon.fakeServer.create()
Test.Ajax.Customer = Mozart.Model.create { modelName: 'Customer' }
Test.Ajax.Customer.attributes { 'name': 'string' }
Test.Ajax.Custome... | 159907 | Test = {}
Test.Ajax = {}
Test.Ajax.getId = ->
Math.round(Math.random()*9999999)
describe 'Mozart.Ajax', ->
beforeEach ->
Test.server = sinon.fakeServer.create()
Test.Ajax.Customer = Mozart.Model.create { modelName: 'Customer' }
Test.Ajax.Customer.attributes { 'name': 'string' }
Test.Ajax.Custome... | true | Test = {}
Test.Ajax = {}
Test.Ajax.getId = ->
Math.round(Math.random()*9999999)
describe 'Mozart.Ajax', ->
beforeEach ->
Test.server = sinon.fakeServer.create()
Test.Ajax.Customer = Mozart.Model.create { modelName: 'Customer' }
Test.Ajax.Customer.attributes { 'name': 'string' }
Test.Ajax.Custome... |
[
{
"context": " [\"do\", \"re\", \"mi\", \"fa\", \"so\"]\n\n singers = {Jagger: \"Rock\", Elvis: \"Roll\"}\n\n bitlist = [\n ",
"end": 782,
"score": 0.5679575800895691,
"start": 776,
"tag": "NAME",
"value": "Jagger"
},
{
"context": "mi\", \"fa\", \"so\"]\n\n singer... | src/examples.coffee | gokmen/coffeepad | 22 |
#
# Examples taken from coffeescript.org
#
module.exports = [
{
title: "Overview"
content: """
# Assignment:
number = 42
opposite = true
# Conditions:
number = -42 if opposite
# Functions:
square = (x) -> x * x
# Arrays:
list = [1, 2, 3, 4, 5]
... | 214254 |
#
# Examples taken from coffeescript.org
#
module.exports = [
{
title: "Overview"
content: """
# Assignment:
number = 42
opposite = true
# Conditions:
number = -42 if opposite
# Functions:
square = (x) -> x * x
# Arrays:
list = [1, 2, 3, 4, 5]
... | true |
#
# Examples taken from coffeescript.org
#
module.exports = [
{
title: "Overview"
content: """
# Assignment:
number = 42
opposite = true
# Conditions:
number = -42 if opposite
# Functions:
square = (x) -> x * x
# Arrays:
list = [1, 2, 3, 4, 5]
... |
[
{
"context": " https://on-premises.com\n#\n# Copyright (c) 2019 Alex Williams, Unscramble <license@unscramble.jp>\n# MIT Licen",
"end": 127,
"score": 0.9997629523277283,
"start": 114,
"tag": "NAME",
"value": "Alex Williams"
},
{
"context": "# Copyright (c) 2019 Alex Williams, ... | src/on-prem-meta.coffee | on-prem/on-prem-meta-node | 1 | # Official On-Prem Meta REST API client and helper library
# https://on-premises.com
#
# Copyright (c) 2019 Alex Williams, Unscramble <license@unscramble.jp>
# MIT Licensed
createHash = require('crypto').createHash
createHmac = require('crypto').createHmac
needle = require 'needle'
formData = require 'fo... | 194483 | # Official On-Prem Meta REST API client and helper library
# https://on-premises.com
#
# Copyright (c) 2019 <NAME>, Unscramble <<EMAIL>>
# MIT Licensed
createHash = require('crypto').createHash
createHmac = require('crypto').createHmac
needle = require 'needle'
formData = require 'form-data'
fs =... | true | # Official On-Prem Meta REST API client and helper library
# https://on-premises.com
#
# Copyright (c) 2019 PI:NAME:<NAME>END_PI, Unscramble <PI:EMAIL:<EMAIL>END_PI>
# MIT Licensed
createHash = require('crypto').createHash
createHmac = require('crypto').createHmac
needle = require 'needle'
formData = req... |
[
{
"context": "ame is updated', ->\n gus = Puppy.create(name: 'gus')\n gus.bind 'update:name', spy\n gus.updateA",
"end": 323,
"score": 0.9986554980278015,
"start": 320,
"tag": "NAME",
"value": "gus"
},
{
"context": "pdate:name', spy\n gus.updateAttribute('name', 'henry')\... | spec/attributeTracking_spec.coffee | ryggrad/Ryggrad | 0 | describe "Model Attribute Tracking", ->
Puppy = undefined
spy = undefined
beforeEach ->
class Puppy extends Ryggrad.Model
@configure("Puppy", "name")
@extend Ryggrad.AttributeTracking
spy = sinon.spy()
it 'fires an update:name event when name is updated', ->
gus = Puppy.create(name: '... | 177955 | describe "Model Attribute Tracking", ->
Puppy = undefined
spy = undefined
beforeEach ->
class Puppy extends Ryggrad.Model
@configure("Puppy", "name")
@extend Ryggrad.AttributeTracking
spy = sinon.spy()
it 'fires an update:name event when name is updated', ->
gus = Puppy.create(name: '... | true | describe "Model Attribute Tracking", ->
Puppy = undefined
spy = undefined
beforeEach ->
class Puppy extends Ryggrad.Model
@configure("Puppy", "name")
@extend Ryggrad.AttributeTracking
spy = sinon.spy()
it 'fires an update:name event when name is updated', ->
gus = Puppy.create(name: '... |
[
{
"context": "ier')\n\tRocketChat.models.OAuthApps.insert\n\t\t_id: 'zapier'\n\t\tname: 'Zapier'\n\t\tactive: false\n\t\tclientId: 'za",
"end": 103,
"score": 0.9989492297172546,
"start": 97,
"tag": "USERNAME",
"value": "zapier"
},
{
"context": ".models.OAuthApps.insert\n\t\t_id: 'zap... | packages/rocketchat-oauth2-server-config/oauth/server/default-services.coffee | Cosecha/rocket-chat-stable | 2 | if not RocketChat.models.OAuthApps.findOne('zapier')
RocketChat.models.OAuthApps.insert
_id: 'zapier'
name: 'Zapier'
active: false
clientId: 'zapier'
clientSecret: 'RTK6TlndaCIolhQhZ7_KHIGOKj41RnlaOq_o-7JKwLr'
redirectUri: 'https://zapier.com/dashboard/auth/oauth/return/AppIDAPI/'
_createdAt: new Date
... | 122310 | if not RocketChat.models.OAuthApps.findOne('zapier')
RocketChat.models.OAuthApps.insert
_id: 'zapier'
name: '<NAME>'
active: false
clientId: 'zapier'
clientSecret: '<KEY>'
redirectUri: 'https://zapier.com/dashboard/auth/oauth/return/AppIDAPI/'
_createdAt: new Date
_createdBy:
_id: 'system'
userna... | true | if not RocketChat.models.OAuthApps.findOne('zapier')
RocketChat.models.OAuthApps.insert
_id: 'zapier'
name: 'PI:NAME:<NAME>END_PI'
active: false
clientId: 'zapier'
clientSecret: 'PI:KEY:<KEY>END_PI'
redirectUri: 'https://zapier.com/dashboard/auth/oauth/return/AppIDAPI/'
_createdAt: new Date
_createdBy:... |
[
{
"context": "d: -> ~~(Math.random() * 1000)\n username: 'testuser'\n email: 'testuser@test.com'\n",
"end": 89,
"score": 0.9996036291122437,
"start": 81,
"tag": "USERNAME",
"value": "testuser"
},
{
"context": "dom() * 1000)\n username: 'testuser'\n email: 'testuser@te... | test/unit/factories/user.coffee | learric/CollegiateRivals | 3 | FactoryGirl.define 'user',
id: -> ~~(Math.random() * 1000)
username: 'testuser'
email: 'testuser@test.com'
| 2565 | FactoryGirl.define 'user',
id: -> ~~(Math.random() * 1000)
username: 'testuser'
email: '<EMAIL>'
| true | FactoryGirl.define 'user',
id: -> ~~(Math.random() * 1000)
username: 'testuser'
email: 'PI:EMAIL:<EMAIL>END_PI'
|
[
{
"context": " for browser in browsers\n key = \"SL-#{browser.browserName.replace \" \", \"_\"}-#{browser.ve",
"end": 1310,
"score": 0.8140568733215332,
"start": 1305,
"tag": "KEY",
"value": "SL-#{"
},
{
"context": " key = \"SL-#{browser.browserName.replace \" \", ... | public/pb-assets/frameworks/fine-uploader-master/lib/browsers.coffee | ubilli/popibay-s3 | 0 | # Browsers, for testing
browsers =
[
browserName: "chrome"
platform: "Linux"
version: "28"
,
browserName: "firefox"
platform: "Linux"
version: "26"
,
browserName: "android"
platform: "Linux"
version: "4.0"
,
browserName: "s... | 63284 | # Browsers, for testing
browsers =
[
browserName: "chrome"
platform: "Linux"
version: "28"
,
browserName: "firefox"
platform: "Linux"
version: "26"
,
browserName: "android"
platform: "Linux"
version: "4.0"
,
browserName: "s... | true | # Browsers, for testing
browsers =
[
browserName: "chrome"
platform: "Linux"
version: "28"
,
browserName: "firefox"
platform: "Linux"
version: "26"
,
browserName: "android"
platform: "Linux"
version: "4.0"
,
browserName: "s... |
[
{
"context": "# LANGUAGE: Coffeescript\n# AUTHOR: Shelby Stanton\n# GITHUB: https://github.com/Minimilk93**/\n\nconso",
"end": 49,
"score": 0.9998952746391296,
"start": 35,
"tag": "NAME",
"value": "Shelby Stanton"
},
{
"context": "THOR: Shelby Stanton\n# GITHUB: https://github.com/Mi... | scripts/HelloWorld.coffee | breezage/Hacktoberfest-1 | 0 | # LANGUAGE: Coffeescript
# AUTHOR: Shelby Stanton
# GITHUB: https://github.com/Minimilk93**/
console.log "Hello, World!"
| 121113 | # LANGUAGE: Coffeescript
# AUTHOR: <NAME>
# GITHUB: https://github.com/Minimilk93**/
console.log "Hello, World!"
| true | # LANGUAGE: Coffeescript
# AUTHOR: PI:NAME:<NAME>END_PI
# GITHUB: https://github.com/Minimilk93**/
console.log "Hello, World!"
|
[
{
"context": "llow usage of specific boolean keywords.\n# @author Julian Rosse\n###\n'use strict'\n\n#------------------------------",
"end": 116,
"score": 0.9998445510864258,
"start": 104,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/tests/rules/boolean-keywords.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview This rule should require or disallow usage of specific boolean keywords.
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = re... | 67440 | ###*
# @fileoverview This rule should require or disallow usage of specific boolean keywords.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require ... | true | ###*
# @fileoverview This rule should require or disallow usage of specific boolean keywords.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
r... |
[
{
"context": "\n\n@namespace Quo.Gestures\n@class Rotation\n\n@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\"use strict\"\n\n\n",
"end": 140,
"score": 0.9998871088027954,
"start": 119,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": "s\n@class Rot... | source/quo.gestures.rotation.coffee | lguzzon/QuoJS | 558 | ###
Quo Rotation Gestures: rotate, rotating, rotateLeft, rotateRight
@namespace Quo.Gestures
@class Rotation
@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
"use strict"
Quo.Gestures.add
name : "rotation"
events : ["rotate", "rotating", "rotateLeft", "rotateRight"]
handler : do (base = Qu... | 70045 | ###
Quo Rotation Gestures: rotate, rotating, rotateLeft, rotateRight
@namespace Quo.Gestures
@class Rotation
@author <NAME> <<EMAIL>> || @soyjavi
###
"use strict"
Quo.Gestures.add
name : "rotation"
events : ["rotate", "rotating", "rotateLeft", "rotateRight"]
handler : do (base = Quo.Gestures) ->
GAP ... | true | ###
Quo Rotation Gestures: rotate, rotating, rotateLeft, rotateRight
@namespace Quo.Gestures
@class Rotation
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
"use strict"
Quo.Gestures.add
name : "rotation"
events : ["rotate", "rotating", "rotateLeft", "rotateRight"]
handler : do (bas... |
[
{
"context": "ssNode = {type: 'device', uuid : \"12345\", token: \"45678\"}\n @scope.stopProcess(@fakeProcessNode)\n ",
"end": 1645,
"score": 0.763421893119812,
"start": 1640,
"tag": "KEY",
"value": "45678"
},
{
"context": " = {type: 'octoblu:flow', uuid : \"12345\", token: \... | test/angular/controllers/process-controller-spec.coffee | octoblu/octoblu-frontend | 5 | describe 'ProcessController', ->
beforeEach ->
class FakeProcessNodeService
constructor: (@q) ->
@processNodesDefer = @q.defer()
@getProcessNodes = sinon.stub().returns @processNodesDefer.promise
@stopProcess = sinon.stub().returns @q.when()
@startProcess = sinon.stub().retur... | 188560 | describe 'ProcessController', ->
beforeEach ->
class FakeProcessNodeService
constructor: (@q) ->
@processNodesDefer = @q.defer()
@getProcessNodes = sinon.stub().returns @processNodesDefer.promise
@stopProcess = sinon.stub().returns @q.when()
@startProcess = sinon.stub().retur... | true | describe 'ProcessController', ->
beforeEach ->
class FakeProcessNodeService
constructor: (@q) ->
@processNodesDefer = @q.defer()
@getProcessNodes = sinon.stub().returns @processNodesDefer.promise
@stopProcess = sinon.stub().returns @q.when()
@startProcess = sinon.stub().retur... |
[
{
"context": "ystem http://glawn.org\n#\n# Copyright (c) 2012,2013 Eamonn O'Brien-Strain All rights\n# reserved. This program and the accom",
"end": 109,
"score": 0.9998981952667236,
"start": 88,
"tag": "NAME",
"value": "Eamonn O'Brien-Strain"
},
{
"context": "ipse.org/legal/epl-v10.... | test-coffee/mainSpec.coffee | eobrain/glan | 0 | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 Eamonn O'Brien-Strain All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www... | 118185 | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 <NAME> All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.eclipse.org/le... | true | ###
# This file is part of the Glan system http://glawn.org
#
# Copyright (c) 2012,2013 PI:NAME:<NAME>END_PI All rights
# reserved. This program and the accompanying materials are made
# available under the terms of the Eclipse Public License v1.0 which
# accompanies this distribution, and is available at
# http://www.... |
[
{
"context": "tModules.like(likeElms, {\n csrfToken: \"foobar\",\n likeText: \"foo like ({count})\",\n ",
"end": 1067,
"score": 0.5742654800415039,
"start": 1061,
"tag": "KEY",
"value": "foobar"
}
] | spirit/core/static/spirit/scripts/test/suites/like-spec.coffee | Ke-xueting/Spirit | 974 | describe "like plugin tests", ->
likeElms = null
likes = null
post = null
responseData = null
beforeEach ->
document.body.innerHTML = """
<div>
<ul>
<li><a class="js-like" href="/foo/create/" data-count="0"><i class="fa fa-heart"></i> like</a></li>
</... | 59260 | describe "like plugin tests", ->
likeElms = null
likes = null
post = null
responseData = null
beforeEach ->
document.body.innerHTML = """
<div>
<ul>
<li><a class="js-like" href="/foo/create/" data-count="0"><i class="fa fa-heart"></i> like</a></li>
</... | true | describe "like plugin tests", ->
likeElms = null
likes = null
post = null
responseData = null
beforeEach ->
document.body.innerHTML = """
<div>
<ul>
<li><a class="js-like" href="/foo/create/" data-count="0"><i class="fa fa-heart"></i> like</a></li>
</... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999162554740906,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/rank-count.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React.createElement
ranks =
XH: 'ssh'
X: 'ss'
SH: 'sh'
S: '... | 37900 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React.createElement
ranks =
XH: 'ssh'
X: 'ss'
SH: 'sh'
S: 's'
A:... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React.createElement
ranks =
XH: 'ssh'
X: 'ss'
SH: 'sh... |
[
{
"context": "e:3},\n\t\t\t\t{label:\"expert\", value:4}]\n\n\t\tkeys = ({\"label\":key, \"level\":value, \"options\":options} for key, value",
"end": 2870,
"score": 0.6508926749229431,
"start": 2860,
"tag": "KEY",
"value": "label\":key"
},
{
"context": "expert\", value:4}]\n\n\t\tke... | client/components/script/tags.coffee | MooqitaSFH/worklearn | 0 | #############################################################
# functions
#############################################################
#############################################################
_get_value = (template_instance) ->
value = get_field_value template_instance.data
if not value
value = template_inst... | 206825 | #############################################################
# functions
#############################################################
#############################################################
_get_value = (template_instance) ->
value = get_field_value template_instance.data
if not value
value = template_inst... | true | #############################################################
# functions
#############################################################
#############################################################
_get_value = (template_instance) ->
value = get_field_value template_instance.data
if not value
value = template_inst... |
[
{
"context": " }\n\n mapsProvider.configure {\n key: 'AIzaSyBQMyvtbd56MQd_wYshtcKvht0rNMbJXEg'\n libraries: 'weather,geometry,visualizati",
"end": 1162,
"score": 0.9997546672821045,
"start": 1123,
"tag": "KEY",
"value": "AIzaSyBQMyvtbd56MQd_wYshtcKvht0rNMbJXEg"
}
] | client/lib/beesnearme.coffee | recursivefaults/beesnearme | 0 | angular.module 'bees-near-me', [
'angular-meteor',
'ngRoute',
'accounts.ui',
'uiGmapgoogle-maps'
]
angular.module('bees-near-me').config ['$routeProvider', 'uiGmapGoogleMapApiProvider', ($routeProvider, mapsProvider) ->
$routeProvider.when '/', {
templateUrl: 'client/landing/landing.html'
... | 205035 | angular.module 'bees-near-me', [
'angular-meteor',
'ngRoute',
'accounts.ui',
'uiGmapgoogle-maps'
]
angular.module('bees-near-me').config ['$routeProvider', 'uiGmapGoogleMapApiProvider', ($routeProvider, mapsProvider) ->
$routeProvider.when '/', {
templateUrl: 'client/landing/landing.html'
... | true | angular.module 'bees-near-me', [
'angular-meteor',
'ngRoute',
'accounts.ui',
'uiGmapgoogle-maps'
]
angular.module('bees-near-me').config ['$routeProvider', 'uiGmapGoogleMapApiProvider', ($routeProvider, mapsProvider) ->
$routeProvider.when '/', {
templateUrl: 'client/landing/landing.html'
... |
[
{
"context": "(event, tmpl) ->\n Curves.insert {\n name: 'New curve'\n chartId: @_id\n }, App.handleError",
"end": 668,
"score": 0.8301689028739929,
"start": 665,
"tag": "NAME",
"value": "New"
}
] | client/templates/chart-editor/curves/curves.coffee | JSSolutions/Dataforce | 2 | Template.Curves.onCreated ->
#stores faded in curves and prevents self collapsing after collection update
@collapsedCurves = new Mongo.Collection null
#it used in curve-type-chooser and in curve editor itself
@curveTypes = [
{caption: 'Line', type: 'line', icon: 'fa-line-chart'}
{caption: 'Column', type:... | 108564 | Template.Curves.onCreated ->
#stores faded in curves and prevents self collapsing after collection update
@collapsedCurves = new Mongo.Collection null
#it used in curve-type-chooser and in curve editor itself
@curveTypes = [
{caption: 'Line', type: 'line', icon: 'fa-line-chart'}
{caption: 'Column', type:... | true | Template.Curves.onCreated ->
#stores faded in curves and prevents self collapsing after collection update
@collapsedCurves = new Mongo.Collection null
#it used in curve-type-chooser and in curve editor itself
@curveTypes = [
{caption: 'Line', type: 'line', icon: 'fa-line-chart'}
{caption: 'Column', type:... |
[
{
"context": "eScript\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 Muyiwa Olurin (Anthony)\n\nPermission is hereby granted, free of ",
"end": 82,
"score": 0.9998787641525269,
"start": 69,
"tag": "NAME",
"value": "Muyiwa Olurin"
},
{
"context": " License (MIT)\n\nCopyright (c) 2015 ... | heatmap.coffee | muyiwaolurin/heatmap-table | 11 | ###*
HeatMap CoffeeScript
The MIT License (MIT)
Copyright (c) 2015 Muyiwa Olurin (Anthony)
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 r... | 76651 | ###*
HeatMap CoffeeScript
The MIT License (MIT)
Copyright (c) 2015 <NAME> (<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... | true | ###*
HeatMap CoffeeScript
The MIT License (MIT)
Copyright (c) 2015 PI:NAME:<NAME>END_PI (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 with... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9986198544502258,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "s = []\n @handle = null\n @errno = 0\n \n # FIXME(bnoordhuis) Polymorphic return type for ... | lib/cluster.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 185112 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "3-2014 TheGrid (Rituwall Inc.)\n# (c) 2011-2012 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 129,
"score": 0.9998405575752258,
"start": 116,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "(Rituwall Inc.)\n# (c) 2011-2012 He... | src/lib/AsyncComponent.coffee | ensonic/noflo | 1 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
#
# Baseclass for components dealing with asynchronous I/O operations. Supports
# throttling.
port = require "./Port"
comp... | 154355 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
#
# Baseclass for components dealing with asynchronous I/O operations. Supports
# throttling.
port = require "./Port"
component =... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2014 TheGrid (Rituwall Inc.)
# (c) 2011-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
#
# Baseclass for components dealing with asynchronous I/O operations. Supports
# throttling.
port = ... |
[
{
"context": " message\n # return\n\n pusher = new Pusher('98d6e8e3a6d1437792da', { encrypted: true })\n cha",
"end": 3206,
"score": 0.48868468403816223,
"start": 3205,
"tag": "USERNAME",
"value": "9"
},
{
"context": "message\n # return\n\n pusher = new Pusher('98d... | app/assets/javascripts/linked_accounts.js.coffee | l85m/trym | 1 | @waitForPlaidToAddUser = (linkedAccountPath) ->
if $('#new_linked_account').is(':visible')
submit_button_text = 'Link Account'
current_form = 'credentials'
else
submit_button_text = 'Continue'
current_form = 'mfa'
submit_button = $('#' + current_form + '-submit-button')
error_container = $('#' +... | 177942 | @waitForPlaidToAddUser = (linkedAccountPath) ->
if $('#new_linked_account').is(':visible')
submit_button_text = 'Link Account'
current_form = 'credentials'
else
submit_button_text = 'Continue'
current_form = 'mfa'
submit_button = $('#' + current_form + '-submit-button')
error_container = $('#' +... | true | @waitForPlaidToAddUser = (linkedAccountPath) ->
if $('#new_linked_account').is(':visible')
submit_button_text = 'Link Account'
current_form = 'credentials'
else
submit_button_text = 'Continue'
current_form = 'mfa'
submit_button = $('#' + current_form + '-submit-button')
error_container = $('#' +... |
[
{
"context": " at the start', =>\n @document.setValue('test123')\n\n deleteRange = new Range(0, 0, 0, 4)\n\n ",
"end": 2532,
"score": 0.4773072600364685,
"start": 2530,
"tag": "PASSWORD",
"value": "23"
},
{
"context": " the middle', =>\n @document.setValue('testing12... | spec/javascripts/adapters/ace_adapter_spec.coffee | ball-hayden/CollaborateAce | 0 | #= require ace/ace
#= require collaborate
describe 'Adapters.TextAreaAdapter', ->
Range = ace.require('ace/range').Range
beforeEach =>
fixture.set('<div id="editor"></div>')
@cable = Cable.createConsumer "ws://localhost:28080"
@collaborate = new Collaborate(@cable, 'DocumentChannel', 'body')
@col... | 29357 | #= require ace/ace
#= require collaborate
describe 'Adapters.TextAreaAdapter', ->
Range = ace.require('ace/range').Range
beforeEach =>
fixture.set('<div id="editor"></div>')
@cable = Cable.createConsumer "ws://localhost:28080"
@collaborate = new Collaborate(@cable, 'DocumentChannel', 'body')
@col... | true | #= require ace/ace
#= require collaborate
describe 'Adapters.TextAreaAdapter', ->
Range = ace.require('ace/range').Range
beforeEach =>
fixture.set('<div id="editor"></div>')
@cable = Cable.createConsumer "ws://localhost:28080"
@collaborate = new Collaborate(@cable, 'DocumentChannel', 'body')
@col... |
[
{
"context": "\t\t\turl: @v1Url=\"http://overleaf.com\"\n\t\t\t\t\t\tuser: \"sharelatex\"\n\t\t\t\t\t\tpass: \"password\"\n\t\t\t\toverleaf:\n\t\t\t\t\thost: ",
"end": 1460,
"score": 0.9218829870223999,
"start": 1450,
"tag": "USERNAME",
"value": "sharelatex"
},
{
"context": "erleaf.c... | test/unit/coffee/Templates/TemplatesControllerTests.coffee | davidmehren/web-sharelatex | 0 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = '../../../../app/js/Features/Templates/TemplatesController'
describe 'TemplatesController', ->
project_id = "213432"
beforeEach ->
@request = si... | 203411 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = '../../../../app/js/Features/Templates/TemplatesController'
describe 'TemplatesController', ->
project_id = "213432"
beforeEach ->
@request = si... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = '../../../../app/js/Features/Templates/TemplatesController'
describe 'TemplatesController', ->
project_id = "213432"
beforeEach ->
@request = si... |
[
{
"context": "le code\n selfValue = {getItems: -> {'name': 'Bob', 'shortName': true}}\n method = aether.creat",
"end": 5448,
"score": 0.9988555908203125,
"start": 5445,
"tag": "NAME",
"value": "Bob"
},
{
"context": "isPython and l._isPython\n return f({'p1': 'Bob'}, ... | test/python_spec.coffee | basicer/aether | 0 | Aether = require '../aether'
describe "Python test suite", ->
describe "Basics", ->
aether = new Aether language: "python"
it "return 1000", ->
code = """
return 1000
"""
aether.transpile(code)
expect(aether.run()).toEqual 1000
it "simple if", ->
code = """
if F... | 110824 | Aether = require '../aether'
describe "Python test suite", ->
describe "Basics", ->
aether = new Aether language: "python"
it "return 1000", ->
code = """
return 1000
"""
aether.transpile(code)
expect(aether.run()).toEqual 1000
it "simple if", ->
code = """
if F... | true | Aether = require '../aether'
describe "Python test suite", ->
describe "Basics", ->
aether = new Aether language: "python"
it "return 1000", ->
code = """
return 1000
"""
aether.transpile(code)
expect(aether.run()).toEqual 1000
it "simple if", ->
code = """
if F... |
[
{
"context": "-> 'com.example.bank'\n creds = m -> username: 'myname123', password: 'smurf32'\n options = m -> {}\n\n de",
"end": 355,
"score": 0.9994099736213684,
"start": 346,
"tag": "USERNAME",
"value": "myname123"
},
{
"context": " creds = m -> username: 'myname123', pas... | spec/wesabe/download/Job_spec.coffee | wesabe/ssu | 28 | Job = require 'download/Job'
# small utility to memoize a function
m = (generator) ->
result = null
-> result ||= generator()
describe 'Job', ->
job = id = fid = creds = options = null
beforeEach ->
job = m -> new Job id(), fid(), creds(), options()
id = m -> null
fid = m -> 'com.example.bank'
... | 7143 | Job = require 'download/Job'
# small utility to memoize a function
m = (generator) ->
result = null
-> result ||= generator()
describe 'Job', ->
job = id = fid = creds = options = null
beforeEach ->
job = m -> new Job id(), fid(), creds(), options()
id = m -> null
fid = m -> 'com.example.bank'
... | true | Job = require 'download/Job'
# small utility to memoize a function
m = (generator) ->
result = null
-> result ||= generator()
describe 'Job', ->
job = id = fid = creds = options = null
beforeEach ->
job = m -> new Job id(), fid(), creds(), options()
id = m -> null
fid = m -> 'com.example.bank'
... |
[
{
"context": "##########\n\n # See:\n # - https://github.com/jrwdunham/old/blob/master/onlinelinguisticdatabase/lib/sche",
"end": 1701,
"score": 0.9996687769889832,
"start": 1692,
"tag": "USERNAME",
"value": "jrwdunham"
},
{
"context": "/schemata.py#L846-L854\n # - https://g... | app/scripts/models/search.coffee | OpenSourceFieldlinguistics/dative | 7 | define [
'./resource'
'./form'
], (ResourceModel, FormModel) ->
# Search Model
# ---------------
#
# A Backbone model for Dative searches.
class SearchModel extends ResourceModel
resourceName: 'search'
# Change some or all of the following four attributes if this search model
# is being us... | 195919 | define [
'./resource'
'./form'
], (ResourceModel, FormModel) ->
# Search Model
# ---------------
#
# A Backbone model for Dative searches.
class SearchModel extends ResourceModel
resourceName: 'search'
# Change some or all of the following four attributes if this search model
# is being us... | true | define [
'./resource'
'./form'
], (ResourceModel, FormModel) ->
# Search Model
# ---------------
#
# A Backbone model for Dative searches.
class SearchModel extends ResourceModel
resourceName: 'search'
# Change some or all of the following four attributes if this search model
# is being us... |
[
{
"context": "ire './views/' + name\n key = className.charAt(0).toLowerCase() + className.slice(1)\n @[key] ?= new @[classNam",
"end": 5677,
"score": 0.6902965903282166,
"start": 5664,
"tag": "KEY",
"value": "toLowerCase()"
}
] | lib/spark-dev.coffee | lukehoban/spark-dev | 1 | fs = null
settings = null
utilities = null
path = null
_s = null
url = null
module.exports =
# Local modules for JIT require
SettingsHelper: null
MenuManager: null
SerialHelper: null
PathWatcher: null
StatusView: null
LoginView: null
SelectCoreView: null
RenameCoreView: null
ClaimCoreView: null
I... | 207269 | fs = null
settings = null
utilities = null
path = null
_s = null
url = null
module.exports =
# Local modules for JIT require
SettingsHelper: null
MenuManager: null
SerialHelper: null
PathWatcher: null
StatusView: null
LoginView: null
SelectCoreView: null
RenameCoreView: null
ClaimCoreView: null
I... | true | fs = null
settings = null
utilities = null
path = null
_s = null
url = null
module.exports =
# Local modules for JIT require
SettingsHelper: null
MenuManager: null
SerialHelper: null
PathWatcher: null
StatusView: null
LoginView: null
SelectCoreView: null
RenameCoreView: null
ClaimCoreView: null
I... |
[
{
"context": "# MaryJane: a mock object library supporting Arrange Act Ass",
"end": 10,
"score": 0.9998558759689331,
"start": 2,
"tag": "NAME",
"value": "MaryJane"
},
{
"context": "p = @_ops[@_ops.length - 1]\n\t\telse\n\t\t\top = @_ops[@_count]\n\t\t@_count++\n\t\top.execute @_mock,... | lib/maryjane.coffee | dhasenan/maryjane | 5 | # MaryJane: a mock object library supporting Arrange Act Assert syntax.
# Standard mock methods
# Create a new mock based on:
# - a prototype of an existing object
# - an existing object
# - a constructor
exports.mock = (type) ->
if !type?
throw new Error 'You must provide a type'
if typeof type == 'function... | 189340 | # <NAME>: a mock object library supporting Arrange Act Assert syntax.
# Standard mock methods
# Create a new mock based on:
# - a prototype of an existing object
# - an existing object
# - a constructor
exports.mock = (type) ->
if !type?
throw new Error 'You must provide a type'
if typeof type == 'function'
... | true | # PI:NAME:<NAME>END_PI: a mock object library supporting Arrange Act Assert syntax.
# Standard mock methods
# Create a new mock based on:
# - a prototype of an existing object
# - an existing object
# - a constructor
exports.mock = (type) ->
if !type?
throw new Error 'You must provide a type'
if typeof type ... |
[
{
"context": "/postLogin\", {\n\t\t\t\tname: v_this.name\n\t\t\t\tpassword: v_this.password\n\t\t\t}, (msg)->\n\t\t\t\tconsole.log msg\n\t\t\t\tv_this.sub_",
"end": 544,
"score": 0.9990624189376831,
"start": 529,
"tag": "PASSWORD",
"value": "v_this.password"
}
] | public/src/pages/login.coffee | Jv-Juven/usedmk | 0 | # Vue = require "../../lib/vue/vue.js"
form = new Vue {
el: "#login"
data: {
name: "",
password: "",
sub_tips: "",# “提交”按钮提示信息
tips_type: -1
}
methods:
submit: ()->
if ( this.name.length < 1 || this.name.length > 20 )
this.sub_tips = "请输入1-20位的用户名"
this.tips_type = 1
return
if ( ... | 106834 | # Vue = require "../../lib/vue/vue.js"
form = new Vue {
el: "#login"
data: {
name: "",
password: "",
sub_tips: "",# “提交”按钮提示信息
tips_type: -1
}
methods:
submit: ()->
if ( this.name.length < 1 || this.name.length > 20 )
this.sub_tips = "请输入1-20位的用户名"
this.tips_type = 1
return
if ( ... | true | # Vue = require "../../lib/vue/vue.js"
form = new Vue {
el: "#login"
data: {
name: "",
password: "",
sub_tips: "",# “提交”按钮提示信息
tips_type: -1
}
methods:
submit: ()->
if ( this.name.length < 1 || this.name.length > 20 )
this.sub_tips = "请输入1-20位的用户名"
this.tips_type = 1
return
if ( ... |
[
{
"context": "ser', ->\n @timeout 500000\n\t\n user = \n name: 'user'\n email: 'user@abc.com'\n files = [\n '/usr/",
"end": 109,
"score": 0.9980341792106628,
"start": 105,
"tag": "USERNAME",
"value": "user"
},
{
"context": "t 500000\n\t\n user = \n name: 'user'\n e... | test/unit/0-model/0-User.coffee | twhtanghk/restfile | 0 | _ = require 'lodash'
path = require 'path'
describe 'User', ->
@timeout 500000
user =
name: 'user'
email: 'user@abc.com'
files = [
'/usr/src/app/LICENSE'
'/usr/src/app/README.md'
'/usr/src/app/Dockerfile'
'/usr/src/app/package.json'
'/usr/src/app/app.js'
]
it "create user #{us... | 6358 | _ = require 'lodash'
path = require 'path'
describe 'User', ->
@timeout 500000
user =
name: 'user'
email: '<EMAIL>'
files = [
'/usr/src/app/LICENSE'
'/usr/src/app/README.md'
'/usr/src/app/Dockerfile'
'/usr/src/app/package.json'
'/usr/src/app/app.js'
]
it "create user #{user.em... | true | _ = require 'lodash'
path = require 'path'
describe 'User', ->
@timeout 500000
user =
name: 'user'
email: 'PI:EMAIL:<EMAIL>END_PI'
files = [
'/usr/src/app/LICENSE'
'/usr/src/app/README.md'
'/usr/src/app/Dockerfile'
'/usr/src/app/package.json'
'/usr/src/app/app.js'
]
it "create... |
[
{
"context": "orm Javascript Library\n\n URL: https://github.com/jondavidjohn/payform\n Author: Jonathan D. Johnson <me@jondavi",
"end": 72,
"score": 0.813970148563385,
"start": 60,
"tag": "USERNAME",
"value": "jondavidjohn"
},
{
"context": " https://github.com/jondavidjohn/payform... | src/payform.coffee | sergiocruz/payform | 0 | ###
Payform Javascript Library
URL: https://github.com/jondavidjohn/payform
Author: Jonathan D. Johnson <me@jondavidjohn.com>
License: MIT
Version: 1.3.0
###
((name, definition) ->
if module?
module.exports = definition()
else if typeof define is 'function' and typeof define.amd is 'object'
defin... | 11452 | ###
Payform Javascript Library
URL: https://github.com/jondavidjohn/payform
Author: <NAME> <<EMAIL>>
License: MIT
Version: 1.3.0
###
((name, definition) ->
if module?
module.exports = definition()
else if typeof define is 'function' and typeof define.amd is 'object'
define(name, definition)
els... | true | ###
Payform Javascript Library
URL: https://github.com/jondavidjohn/payform
Author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
License: MIT
Version: 1.3.0
###
((name, definition) ->
if module?
module.exports = definition()
else if typeof define is 'function' and typeof define.amd is 'object'
d... |
[
{
"context": " visibility_level: 0\n ssh_url_to_repo: 'git@demo.gitlab.com:sandbox/afro.git'\n http_url_to_repo: 'http:/",
"end": 232,
"score": 0.958211362361908,
"start": 213,
"tag": "EMAIL",
"value": "git@demo.gitlab.com"
}
] | tests/mock.coffee | lengyuedaidai/node-gitlab | 143 | class Mock
constructor: ->
@path = ''
@projects = []
project =
id: 13
description: ''
default_branch: 'master'
public: false
visibility_level: 0
ssh_url_to_repo: 'git@demo.gitlab.com:sandbox/afro.git'
http_url_to_repo: 'http://demo.gitlab.com/sandbox/afro.git'
... | 202634 | class Mock
constructor: ->
@path = ''
@projects = []
project =
id: 13
description: ''
default_branch: 'master'
public: false
visibility_level: 0
ssh_url_to_repo: '<EMAIL>:sandbox/afro.git'
http_url_to_repo: 'http://demo.gitlab.com/sandbox/afro.git'
web_url: ... | true | class Mock
constructor: ->
@path = ''
@projects = []
project =
id: 13
description: ''
default_branch: 'master'
public: false
visibility_level: 0
ssh_url_to_repo: 'PI:EMAIL:<EMAIL>END_PI:sandbox/afro.git'
http_url_to_repo: 'http://demo.gitlab.com/sandbox/afro.git'
... |
[
{
"context": " @user.errors = {password: [t('passport.failure.invalid_password_format')]}\n\n rende",
"end": 665,
"score": 0.5454352498054504,
"start": 665,
"tag": "PASSWORD",
"value": ""
},
{
"context": " @user = user\n @user.password = body.User... | app/controllers/registrations_controller.coffee | scottbarstow/sample-node-web | 0 | load 'application'
action 'new', ->
@title = 'Sign Up'
@user = User(email: req.body.email)
render()
action 'welcome', ->
@title = 'Welcome'
render()
action 'create', ->
@title = 'Welcome'
@user = User(email: req.body.email)
@user.password = req.body.password.trim()
if req.body.pa... | 147970 | load 'application'
action 'new', ->
@title = 'Sign Up'
@user = User(email: req.body.email)
render()
action 'welcome', ->
@title = 'Welcome'
render()
action 'create', ->
@title = 'Welcome'
@user = User(email: req.body.email)
@user.password = req.body.password.trim()
if req.body.pa... | true | load 'application'
action 'new', ->
@title = 'Sign Up'
@user = User(email: req.body.email)
render()
action 'welcome', ->
@title = 'Welcome'
render()
action 'create', ->
@title = 'Welcome'
@user = User(email: req.body.email)
@user.password = req.body.password.trim()
if req.body.pa... |
[
{
"context": ".String\n expect(form.get 'username').to.equal 'test'\n\n form.set\n username:\n ' test2",
"end": 1508,
"score": 0.9931105971336365,
"start": 1504,
"tag": "USERNAME",
"value": "test"
},
{
"context": " 'test'\n\n form.set\n username:\n ... | test/form._.spec.coffee | nrako/formal-mongoose | 5 | ### global describe, it, beforeEach ###
chai = require 'chai'
expect = chai.expect
Form = require '../lib/form'
mongoose = require 'mongoose'
Schema = mongoose.Schema
Formal = require 'formal'
FieldTypes = Formal.FieldTypes
moment = require 'moment'
validate = require('mongoose-validator').validate
describe 'Formal-m... | 176678 | ### global describe, it, beforeEach ###
chai = require 'chai'
expect = chai.expect
Form = require '../lib/form'
mongoose = require 'mongoose'
Schema = mongoose.Schema
Formal = require 'formal'
FieldTypes = Formal.FieldTypes
moment = require 'moment'
validate = require('mongoose-validator').validate
describe 'Formal-m... | true | ### global describe, it, beforeEach ###
chai = require 'chai'
expect = chai.expect
Form = require '../lib/form'
mongoose = require 'mongoose'
Schema = mongoose.Schema
Formal = require 'formal'
FieldTypes = Formal.FieldTypes
moment = require 'moment'
validate = require('mongoose-validator').validate
describe 'Formal-m... |
[
{
"context": "#\n# node-sendgird\n# Copyright(c) 2011 Scopely <dev@scopely.com>\n# MIT Licensed\n#\n\nmodule.expor",
"end": 47,
"score": 0.999492347240448,
"start": 40,
"tag": "USERNAME",
"value": "Scopely"
},
{
"context": "#\n# node-sendgird\n# Copyright(c) 2011 Scopely <dev@sc... | coffee/index.coffee | scopely/node-awesm | 1 | #
# node-sendgird
# Copyright(c) 2011 Scopely <dev@scopely.com>
# MIT Licensed
#
module.exports = require('./lib/awesm') | 21236 | #
# node-sendgird
# Copyright(c) 2011 Scopely <<EMAIL>>
# MIT Licensed
#
module.exports = require('./lib/awesm') | true | #
# node-sendgird
# Copyright(c) 2011 Scopely <PI:EMAIL:<EMAIL>END_PI>
# MIT Licensed
#
module.exports = require('./lib/awesm') |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.999444305896759,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-event-emitter-check-listener-leaks.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 41038 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "render\n @_Halvalla =\n birthName: 'Bishop '+nameMine.getName()\n propertyName:prope",
"end": 2472,
"score": 0.9239247441291809,
"start": 2466,
"tag": "NAME",
"value": "Bishop"
},
{
"context": "d!\",@\n\n @_Halvalla =\n birthName... | src/halvalla.coffee | jahbini/halvalla | 2 | ###
# Halvalla -- bindings for element creation and expression via teact and teacup
###
nameMine = require '../lib/name-mine'
###
# The oracle, a globally supplied object to this module has this signature
Examples of oracle -- the default is to do Teacup to HTML
ReactDom = require 'react-dom'
Oracle =
summoner:... | 67208 | ###
# Halvalla -- bindings for element creation and expression via teact and teacup
###
nameMine = require '../lib/name-mine'
###
# The oracle, a globally supplied object to this module has this signature
Examples of oracle -- the default is to do Teacup to HTML
ReactDom = require 'react-dom'
Oracle =
summoner:... | true | ###
# Halvalla -- bindings for element creation and expression via teact and teacup
###
nameMine = require '../lib/name-mine'
###
# The oracle, a globally supplied object to this module has this signature
Examples of oracle -- the default is to do Teacup to HTML
ReactDom = require 'react-dom'
Oracle =
summoner:... |
[
{
"context": "te a model\", ->\n rawListing = {id: 9, name: 'Sunny'}\n results =\n listing: new Listing(ra",
"end": 1680,
"score": 0.9482371807098389,
"start": 1675,
"tag": "NAME",
"value": "Sunny"
},
{
"context": "llection\", ->\n rawListings = [{id: 1, name: '... | test/shared/fetcher.test.coffee | redbadger/rendr | 0 | require('../../shared/globals')
fetcher = require('../../shared/fetcher')
should = require('should')
modelUtils = require('../../shared/modelUtils')
BaseModel = require('../../shared/base/model')
BaseCollection = require('../../shared/base/collection')
listingResponses =
basic:
name: 'Fetching!'
full:
nam... | 113373 | require('../../shared/globals')
fetcher = require('../../shared/fetcher')
should = require('should')
modelUtils = require('../../shared/modelUtils')
BaseModel = require('../../shared/base/model')
BaseCollection = require('../../shared/base/collection')
listingResponses =
basic:
name: 'Fetching!'
full:
nam... | true | require('../../shared/globals')
fetcher = require('../../shared/fetcher')
should = require('should')
modelUtils = require('../../shared/modelUtils')
BaseModel = require('../../shared/base/model')
BaseCollection = require('../../shared/base/collection')
listingResponses =
basic:
name: 'Fetching!'
full:
nam... |
[
{
"context": "\"无损压缩\"\n\n\t# 存储位置\n\tformData.current_location = \"\\\\\\\\192.168.0.151\\\\beta\\\\data\\\\oafile\"\n\t\n\t# 机构人员类型\n\tformData.agent_",
"end": 2405,
"score": 0.9997069835662842,
"start": 2392,
"tag": "IP_ADDRESS",
"value": "192.168.0.151"
},
{
"context": "nstance?.... | packages/steedos-qhd-archive-sync/server/lib/instances_to_archive.coffee | zonglu233/fuel-car | 0 | request = Npm.require('request')
path = Npm.require('path')
fs = Npm.require('fs')
logger = new Logger 'Records_QHD -> InstancesToArchive'
setFileName = (record_id, file_prefix) ->
file_name = "未命名"
collection = Creator.Collections["cms_files"]
count = collection.find({"parent.ids": record_id}).count()
count = co... | 211664 | request = Npm.require('request')
path = Npm.require('path')
fs = Npm.require('fs')
logger = new Logger 'Records_QHD -> InstancesToArchive'
setFileName = (record_id, file_prefix) ->
file_name = "未命名"
collection = Creator.Collections["cms_files"]
count = collection.find({"parent.ids": record_id}).count()
count = co... | true | request = Npm.require('request')
path = Npm.require('path')
fs = Npm.require('fs')
logger = new Logger 'Records_QHD -> InstancesToArchive'
setFileName = (record_id, file_prefix) ->
file_name = "未命名"
collection = Creator.Collections["cms_files"]
count = collection.find({"parent.ids": record_id}).count()
count = co... |
[
{
"context": "vitation: 'common'\n # password_reset: 'common'\n\n\n # thinkspace/markup\n # comment: ",
"end": 3515,
"score": 0.9258584976196289,
"start": 3509,
"tag": "PASSWORD",
"value": "common"
}
] | src/thinkspace/client/thinkspace-model/app/_config/thinkspace/models/_config.coffee | sixthedge/cellar | 6 | export default {
env: {modulePrefix: 'thinkspace-models'}
ns:
# Namespace keys to resolve the full path for a key in the 'type_to_namespace'.
# The keys values can be any value that matches a 'type_to_namespace' key's value
# (or a unique key for using just the namespace).
#
# If want to use a... | 91043 | export default {
env: {modulePrefix: 'thinkspace-models'}
ns:
# Namespace keys to resolve the full path for a key in the 'type_to_namespace'.
# The keys values can be any value that matches a 'type_to_namespace' key's value
# (or a unique key for using just the namespace).
#
# If want to use a... | true | export default {
env: {modulePrefix: 'thinkspace-models'}
ns:
# Namespace keys to resolve the full path for a key in the 'type_to_namespace'.
# The keys values can be any value that matches a 'type_to_namespace' key's value
# (or a unique key for using just the namespace).
#
# If want to use a... |
[
{
"context": " ajaxSpy = spyOn(jQuery, \"ajax\")\n token = \"6ybnjsd83nsdi\"\n search = createSearch(token: token)\n\n ",
"end": 540,
"score": 0.9605185985565186,
"start": 527,
"tag": "PASSWORD",
"value": "6ybnjsd83nsdi"
}
] | spec/dash-autocomplete/search.coffee | samaritanministries/dash-autocomplete.js | 0 | describe "DashAutocomplete.Search", ->
class CollectionView
showResults: (data) ->
showNoResults: ->
showError: (result) ->
searchCriteriaCleared: ->
createSearch = (options) ->
optionsWithDefaults = _.extend({
startSpinner: (->),
stopSpinner: (->),
resultsView: new Collection... | 225028 | describe "DashAutocomplete.Search", ->
class CollectionView
showResults: (data) ->
showNoResults: ->
showError: (result) ->
searchCriteriaCleared: ->
createSearch = (options) ->
optionsWithDefaults = _.extend({
startSpinner: (->),
stopSpinner: (->),
resultsView: new Collection... | true | describe "DashAutocomplete.Search", ->
class CollectionView
showResults: (data) ->
showNoResults: ->
showError: (result) ->
searchCriteriaCleared: ->
createSearch = (options) ->
optionsWithDefaults = _.extend({
startSpinner: (->),
stopSpinner: (->),
resultsView: new Collection... |
[
{
"context": " 'value': 'name'\n\n model.set 'name', 'test'\n\n view = new View model: model\n ",
"end": 403,
"score": 0.6616657972335815,
"start": 399,
"tag": "NAME",
"value": "test"
},
{
"context": "e.prop 'value', ''\n\n view.set('name', 'tes... | test/connect.coffee | redexp/backbone-dom-view | 13 | define ['chai', 'backbone', 'backbone-dom-view'], ({expect}, Backbone, DomView) ->
model = null
beforeEach ->
model = new Backbone.Model()
describe 'connect helper', ->
it 'should bind prop and field', ->
View = DomView.extend
template: '':
... | 52436 | define ['chai', 'backbone', 'backbone-dom-view'], ({expect}, Backbone, DomView) ->
model = null
beforeEach ->
model = new Backbone.Model()
describe 'connect helper', ->
it 'should bind prop and field', ->
View = DomView.extend
template: '':
... | true | define ['chai', 'backbone', 'backbone-dom-view'], ({expect}, Backbone, DomView) ->
model = null
beforeEach ->
model = new Backbone.Model()
describe 'connect helper', ->
it 'should bind prop and field', ->
View = DomView.extend
template: '':
... |
[
{
"context": "ion.js\n# *********************************\n# ** By Etienne Pinchon\n# ** ©2016\n\nclass Transition extends Element\n\n\t_k",
"end": 147,
"score": 0.9998486638069153,
"start": 132,
"tag": "NAME",
"value": "Etienne Pinchon"
}
] | sources/coffee/Transition.coffee | heschel6/Magic_Experiment | 201 | # *********************************
# *********************************
# Transition.js
# *********************************
# ** By Etienne Pinchon
# ** ©2016
class Transition extends Element
_kind : 'Transition'
constructor: (options) ->
if options.duration
options.time = options.duration
# Set the de... | 48985 | # *********************************
# *********************************
# Transition.js
# *********************************
# ** By <NAME>
# ** ©2016
class Transition extends Element
_kind : 'Transition'
constructor: (options) ->
if options.duration
options.time = options.duration
# Set the default pro... | true | # *********************************
# *********************************
# Transition.js
# *********************************
# ** By PI:NAME:<NAME>END_PI
# ** ©2016
class Transition extends Element
_kind : 'Transition'
constructor: (options) ->
if options.duration
options.time = options.duration
# Set t... |
[
{
"context": "rect login example:\n # /login?app=connect&handle=jdoe&password=xxxxxx&retUrl=https%3A%2F%2Fconnect.topc",
"end": 864,
"score": 0.998942494392395,
"start": 860,
"tag": "USERNAME",
"value": "jdoe"
},
{
"context": "mple:\n # /login?app=connect&handle=jdoe&password=xxxxx... | app/app-config.coffee | appirio-tech/accounts-app | 3 |
`import Auth0 from "auth0-js";`
`import { AUTH0_DOMAIN, AUTH0_CLIENT_ID } from "../core/constants.js"`
'use strict'
config = (
$locationProvider
$stateProvider
angularAuth0Provider
) ->
states = {}
$locationProvider.html5Mode true
# customer routes
states['home'] =
url : '/'
title ... | 204867 |
`import Auth0 from "auth0-js";`
`import { AUTH0_DOMAIN, AUTH0_CLIENT_ID } from "../core/constants.js"`
'use strict'
config = (
$locationProvider
$stateProvider
angularAuth0Provider
) ->
states = {}
$locationProvider.html5Mode true
# customer routes
states['home'] =
url : '/'
title ... | true |
`import Auth0 from "auth0-js";`
`import { AUTH0_DOMAIN, AUTH0_CLIENT_ID } from "../core/constants.js"`
'use strict'
config = (
$locationProvider
$stateProvider
angularAuth0Provider
) ->
states = {}
$locationProvider.html5Mode true
# customer routes
states['home'] =
url : '/'
title ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.