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": " 'Icecast Analytics'\n author: 'Manfred Touron'\n description: 'Icecast Analytics'\n ",
"end": 143,
"score": 0.9998927712440491,
"start": 129,
"tag": "NAME",
"value": "Manfred Touron"
}
] | config.coffee | creativeprogramming/tapas-icecast-analytics | 1 | exports.tapas =
port: 9512
debug: false
locals:
site_name: 'Icecast Analytics'
author: 'Manfred Touron'
description: 'Icecast Analytics'
use:
bootstrap:
fluid: true
responsive: false
exports.icecast_servers =
se... | 211926 | exports.tapas =
port: 9512
debug: false
locals:
site_name: 'Icecast Analytics'
author: '<NAME>'
description: 'Icecast Analytics'
use:
bootstrap:
fluid: true
responsive: false
exports.icecast_servers =
servers: r... | true | exports.tapas =
port: 9512
debug: false
locals:
site_name: 'Icecast Analytics'
author: 'PI:NAME:<NAME>END_PI'
description: 'Icecast Analytics'
use:
bootstrap:
fluid: true
responsive: false
exports.icecast_servers =
... |
[
{
"context": " email: validUser.email\n password: 'secret123'\n })\n\n $httpBackend.flush()\n\n test '",
"end": 327,
"score": 0.9993812441825867,
"start": 318,
"tag": "PASSWORD",
"value": "secret123"
},
{
"context": "s =\n email: validUser.email\n ... | test/test/unit/ng-token-auth/email-sign-in.coffee | Neil-Ni/ng-token-auth | 1,216 | suite 'email user sign in', ->
dfd = null
suite 'successful sign in', ->
setup ->
$httpBackend
.expectPOST('/api/auth/sign_in')
.respond(201, {
success: true
data: validUser
})
dfd = $auth.submitLogin({
email: validUser.email
password: 'se... | 24786 | suite 'email user sign in', ->
dfd = null
suite 'successful sign in', ->
setup ->
$httpBackend
.expectPOST('/api/auth/sign_in')
.respond(201, {
success: true
data: validUser
})
dfd = $auth.submitLogin({
email: validUser.email
password: '<P... | true | suite 'email user sign in', ->
dfd = null
suite 'successful sign in', ->
setup ->
$httpBackend
.expectPOST('/api/auth/sign_in')
.respond(201, {
success: true
data: validUser
})
dfd = $auth.submitLogin({
email: validUser.email
password: 'PI... |
[
{
"context": "div id='map'></div>\")\n L.mapbox.accessToken = \"pk.eyJ1IjoiYXJtaW5hdm4iLCJhIjoiSTFteE9EOCJ9.iDzgmNaITa0-q-H_jw1lJw\"\n @_m = L.mapbox.map(\"map\", \"arminavn.ib1f592g",
"end": 9302,
"score": 0.9997417330741882,
"start": 9236,
"tag": "KEY",
"value": "pk.eyJ1IjoiYXJtaW5hd... | src/main.coffee | arminakvn/paratext | 1 | ### paratext main ###
# Base function.
paratext = L.ParaText = L.Class.extend(
includes: L.Mixin.Events
options:
field_category: ''
initialize: (@text, options) ->
@properties=
id: 0
members: []
_margin:
t: 20
l: 30
b: 30
r: 30
re... | 46573 | ### paratext main ###
# Base function.
paratext = L.ParaText = L.Class.extend(
includes: L.Mixin.Events
options:
field_category: ''
initialize: (@text, options) ->
@properties=
id: 0
members: []
_margin:
t: 20
l: 30
b: 30
r: 30
re... | true | ### paratext main ###
# Base function.
paratext = L.ParaText = L.Class.extend(
includes: L.Mixin.Events
options:
field_category: ''
initialize: (@text, options) ->
@properties=
id: 0
members: []
_margin:
t: 20
l: 30
b: 30
r: 30
re... |
[
{
"context": "eIndex({ question: 1 }, { unique: true })\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n@abstract\r\n###\r\nclass Reco",
"end": 364,
"score": 0.9998523592948914,
"start": 352,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/schema/RecoveryQuestionSchema.coffee | qrefdev/qref | 0 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a common password recovery question available for use by the users.
@example MongoDB Collection
db.user.recovery.questions
@example MongoDB Indexes
db.user.recovery.questions.ensureIndex({ question: ... | 82307 | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a common password recovery question available for use by the users.
@example MongoDB Collection
db.user.recovery.questions
@example MongoDB Indexes
db.user.recovery.questions.ensureIndex({ question: ... | true | mongoose = require('mongoose')
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
###
Schema representing a common password recovery question available for use by the users.
@example MongoDB Collection
db.user.recovery.questions
@example MongoDB Indexes
db.user.recovery.questions.ensureIndex({ question: ... |
[
{
"context": "nter (Publish/Subscribe) pattern realization\n# By MaxSvargal <maxsvargal@gmail.com>\n# http://github.co",
"end": 96,
"score": 0.5687634348869324,
"start": 93,
"tag": "USERNAME",
"value": "Max"
},
{
"context": " (Publish/Subscribe) pattern realization\n# By MaxSvarga... | src/lib/syncstray/observer.coffee | MaxSvargal/syncstray | 4 | 'use strict'
######
# CoffeeScript Presenter (Publish/Subscribe) pattern realization
# By MaxSvargal <maxsvargal@gmail.com>
# http://github.com/maxsvargal
# License: MIT
######
module.exports = class Observer
constructor: ->
@topics = {}
@subUid = -1
return
publish: (topic, args) ->
return fa... | 62044 | 'use strict'
######
# CoffeeScript Presenter (Publish/Subscribe) pattern realization
# By Max<NAME> <<EMAIL>>
# http://github.com/maxsvargal
# License: MIT
######
module.exports = class Observer
constructor: ->
@topics = {}
@subUid = -1
return
publish: (topic, args) ->
return false if not @to... | true | 'use strict'
######
# CoffeeScript Presenter (Publish/Subscribe) pattern realization
# By MaxPI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# http://github.com/maxsvargal
# License: MIT
######
module.exports = class Observer
constructor: ->
@topics = {}
@subUid = -1
return
publish: (topic, args) -... |
[
{
"context": "?:\\[(?:\\d*|[a-zA-Z0-9_]+)\\])*$/,\n key : /[a-zA-Z0-9_]+|(?=\\[\\])/g,\n push : /^$/,\n fixed : /^\\d+$/,\n ",
"end": 187,
"score": 0.9868639707565308,
"start": 164,
"tag": "KEY",
"value": "a-zA-Z0-9_]+|(?=\\[\\])/g"
}
] | vendor/assets/javascripts/joker/support/serializeObject.coffee | zaeznet/joker-rails | 0 | $.fn.serializeObject = ->
json = {}
push_counters = {}
patterns =
validate : /^[a-zA-Z][a-zA-Z0-9_]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/,
key : /[a-zA-Z0-9_]+|(?=\[\])/g,
push : /^$/,
fixed : /^\d+$/,
named : /^[a-zA-Z0-9_]+$/
@build = (base, key, value) ->
base[key] = ... | 61113 | $.fn.serializeObject = ->
json = {}
push_counters = {}
patterns =
validate : /^[a-zA-Z][a-zA-Z0-9_]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/,
key : /[<KEY>,
push : /^$/,
fixed : /^\d+$/,
named : /^[a-zA-Z0-9_]+$/
@build = (base, key, value) ->
base[key] = value
base
... | true | $.fn.serializeObject = ->
json = {}
push_counters = {}
patterns =
validate : /^[a-zA-Z][a-zA-Z0-9_]*(?:\[(?:\d*|[a-zA-Z0-9_]+)\])*$/,
key : /[PI:KEY:<KEY>END_PI,
push : /^$/,
fixed : /^\d+$/,
named : /^[a-zA-Z0-9_]+$/
@build = (base, key, value) ->
base[key] = value... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998899698257446,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/admin/lightboxes.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 216931 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "n>\"\n callbacks: DEFAULT_CALLBACKS\n search_key: \"name\"\n suffix: undefined\n hide_without_suffix: no\n ",
"end": 1092,
"score": 0.5359938144683838,
"start": 1088,
"tag": "KEY",
"value": "name"
}
] | src/api.coffee | spmjs/At.js | 1 | Api =
# load a flag's data
#
# @params at[String] the flag
# @params data [Array] data to storage.
load: (at, data) -> c.model.load data if c = this.controller(at)
setIframe: (iframe, standalone) -> this.setIframe(iframe, standalone); null;
run: -> this.dispatch()
destroy: ->
this.shutdown()
@$i... | 42259 | Api =
# load a flag's data
#
# @params at[String] the flag
# @params data [Array] data to storage.
load: (at, data) -> c.model.load data if c = this.controller(at)
setIframe: (iframe, standalone) -> this.setIframe(iframe, standalone); null;
run: -> this.dispatch()
destroy: ->
this.shutdown()
@$i... | true | Api =
# load a flag's data
#
# @params at[String] the flag
# @params data [Array] data to storage.
load: (at, data) -> c.model.load data if c = this.controller(at)
setIframe: (iframe, standalone) -> this.setIframe(iframe, standalone); null;
run: -> this.dispatch()
destroy: ->
this.shutdown()
@$i... |
[
{
"context": "urrent sort mode from localstorage\n key = \"tree-view:sort:\" + @selectedPath\n value = localStorage.getIte",
"end": 35871,
"score": 0.9099175333976746,
"start": 35862,
"tag": "KEY",
"value": "view:sort"
},
{
"context": "et current sort mode from localstorage\n ... | lib/tree-view.coffee | autonome/tree-view-sortable | 0 | path = require 'path'
{shell} = require 'electron'
_ = require 'underscore-plus'
{BufferedProcess, CompositeDisposable, Emitter} = require 'atom'
{repoForPath, getStyleObject, getFullExtension, updateEditorsForPath} = require "./helpers"
fs = require 'fs-plus'
AddDialog = require './add-dialog'
MoveDialog = require '... | 207010 | path = require 'path'
{shell} = require 'electron'
_ = require 'underscore-plus'
{BufferedProcess, CompositeDisposable, Emitter} = require 'atom'
{repoForPath, getStyleObject, getFullExtension, updateEditorsForPath} = require "./helpers"
fs = require 'fs-plus'
AddDialog = require './add-dialog'
MoveDialog = require '... | true | path = require 'path'
{shell} = require 'electron'
_ = require 'underscore-plus'
{BufferedProcess, CompositeDisposable, Emitter} = require 'atom'
{repoForPath, getStyleObject, getFullExtension, updateEditorsForPath} = require "./helpers"
fs = require 'fs-plus'
AddDialog = require './add-dialog'
MoveDialog = require '... |
[
{
"context": " c.token, \"user\"\n @del nerfed + \":_password\", \"user\"\n @del nerfed + \":username\", \"user\"\n @del n",
"end": 292,
"score": 0.8907739520072937,
"start": 288,
"tag": "PASSWORD",
"value": "user"
},
{
"context": "password\", \"user\"\n @del nerfed + \":... | deps/npm/lib/config/set-credentials-by-uri.coffee | lxe/io.coffee | 0 | setCredentialsByURI = (uri, c) ->
assert uri and typeof uri is "string", "registry URL is required"
assert c and typeof c is "object", "credentials are required"
nerfed = toNerfDart(uri)
if c.token
@set nerfed + ":_authToken", c.token, "user"
@del nerfed + ":_password", "user"
@del nerfed + ":userna... | 197468 | setCredentialsByURI = (uri, c) ->
assert uri and typeof uri is "string", "registry URL is required"
assert c and typeof c is "object", "credentials are required"
nerfed = toNerfDart(uri)
if c.token
@set nerfed + ":_authToken", c.token, "user"
@del nerfed + ":_password", "<PASSWORD>"
@del nerfed + ":... | true | setCredentialsByURI = (uri, c) ->
assert uri and typeof uri is "string", "registry URL is required"
assert c and typeof c is "object", "credentials are required"
nerfed = toNerfDart(uri)
if c.token
@set nerfed + ":_authToken", c.token, "user"
@del nerfed + ":_password", "PI:PASSWORD:<PASSWORD>END_PI"
... |
[
{
"context": ") ->\n\n unless cont\n return ''\n\n for key in ['router-link', 'thumb']\n do (key) ->\n\n unless cont.inc",
"end": 83,
"score": 0.9637125134468079,
"start": 72,
"tag": "KEY",
"value": "router-link"
},
{
"context": "cont\n return ''\n\n for key in ['rou... | source/compile/injectComponentGlobal.coffee | phonowell/v-toolkit | 1 | module.exports = (cont) ->
unless cont
return ''
for key in ['router-link', 'thumb']
do (key) ->
unless cont.includes key
return
cont = [
"//- inject = '#{key} global/#{key}'"
cont
].join '\n'
cont # return | 219322 | module.exports = (cont) ->
unless cont
return ''
for key in ['<KEY>', '<KEY>']
do (key) ->
unless cont.includes key
return
cont = [
"//- inject = '#{key} global/#{key}'"
cont
].join '\n'
cont # return | true | module.exports = (cont) ->
unless cont
return ''
for key in ['PI:KEY:<KEY>END_PI', 'PI:KEY:<KEY>END_PI']
do (key) ->
unless cont.includes key
return
cont = [
"//- inject = '#{key} global/#{key}'"
cont
].join '\n'
cont # return |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.999844491481781,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail... | library/nucleus/zombie.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 14880 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998502731323242,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/widgets/button.coffee | codemix/hallo | 1 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.hallobutton',
button: null
isChecked: false
options:
uuid: ''
label: null
icon: null
editable... | 88045 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.hallobutton',
button: null
isChecked: false
options:
uuid: ''
label: null
icon: null
editable: null
... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.hallobutton',
button: null
isChecked: false
options:
uuid: ''
label: null
icon: null
e... |
[
{
"context": " -> \n secretNickname\n\nme = new Person \"Baptiste\", \"Vannesson\", \"Bada\" \n\nconsole.log me.firstName,",
"end": 347,
"score": 0.999862015247345,
"start": 339,
"tag": "NAME",
"value": "Baptiste"
},
{
"context": " secretNickname\n\nme = new Person \"B... | misc/Module/CoffeeScript/index.coffee | irynaO/JavaScript-Design-Patterns | 293 | 'use strict'
Person = do ->
# Private member
secretNickname = ""
class Person
constructor: (@firstName, @lastName, nickname) ->
secretNickname = nickname
sayHello: ->
"Hello, #{@firstName} #{@lastName}!"
getSecretNickname: ->
secretNickname... | 215217 | 'use strict'
Person = do ->
# Private member
secretNickname = ""
class Person
constructor: (@firstName, @lastName, nickname) ->
secretNickname = nickname
sayHello: ->
"Hello, #{@firstName} #{@lastName}!"
getSecretNickname: ->
secretNickname... | true | 'use strict'
Person = do ->
# Private member
secretNickname = ""
class Person
constructor: (@firstName, @lastName, nickname) ->
secretNickname = nickname
sayHello: ->
"Hello, #{@firstName} #{@lastName}!"
getSecretNickname: ->
secretNickname... |
[
{
"context": " process.env.URELEASE_USER_ID\nurelease_password = process.env.URELEASE_PASSWORD\nbotname = process.HUBOT_NAME ||",
"end": 1669,
"score": 0.8345430493354797,
"start": 1658,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "LEASE_USER_ID\nurelease_password = p... | scripts/urelease/scripts-mattermost/urelease.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | 214834 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... |
[
{
"context": "esisng higher precedence subexpressions.\n# @author Michael Ficarra\n###\n\n###\n'use strict'\n\n#-------------------------",
"end": 105,
"score": 0.9997724294662476,
"start": 90,
"tag": "NAME",
"value": "Michael Ficarra"
},
{
"context": " {returnAssign: no}]\n ,\n ... | src/tests/rules/no-extra-parens.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallow parenthesesisng higher precedence subexpressions.
# @author Michael Ficarra
###
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require ... | 94255 | ###*
# @fileoverview Disallow parenthesesisng higher precedence subexpressions.
# @author <NAME>
###
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/l... | true | ###*
# @fileoverview Disallow parenthesesisng higher precedence subexpressions.
# @author PI:NAME:<NAME>END_PI
###
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = req... |
[
{
"context": "nfo =\n\ttitle: \"Facebook Feed Video Pop\"\n\tauthor: \"Tony\"\n\ttwitter: \"TonyJing\"\n\tdescription: \"\"\n\n\n# Setup\n",
"end": 169,
"score": 0.7062830924987793,
"start": 165,
"tag": "NAME",
"value": "Tony"
},
{
"context": "cebook Feed Video Pop\"\n\tauthor: \"Ton... | 56fbVideo.framer/app.coffee | gremjua-forks/100daysofframer | 26 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: "Facebook Feed Video Pop"
author: "Tony"
twitter: "TonyJing"
description: ""
# Setup
# Import file "fb-video"
sketch = Framer.Importer.load("imported/fb-video@1x")
Utils.globalLayers(ske... | 88779 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: "Facebook Feed Video Pop"
author: "<NAME>"
twitter: "TonyJing"
description: ""
# Setup
# Import file "fb-video"
sketch = Framer.Importer.load("imported/fb-video@1x")
Utils.globalLayers(s... | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: "Facebook Feed Video Pop"
author: "PI:NAME:<NAME>END_PI"
twitter: "TonyJing"
description: ""
# Setup
# Import file "fb-video"
sketch = Framer.Importer.load("imported/fb-video@1x")
Utils.... |
[
{
"context": "class EventEmitter\n 'use strict'\n\n idKey = 'ಠ_ಠ'\n \n @listeners = {}\n @targets = {}\n \n @off =",
"end": 49,
"score": 0.9962638020515442,
"start": 46,
"tag": "KEY",
"value": "ಠ_ಠ"
}
] | index.coffee | koding/microemitter | 0 | class EventEmitter
'use strict'
idKey = 'ಠ_ಠ'
@listeners = {}
@targets = {}
@off =(listenerId)->
###
Note: @off, but no symmetrical "@on". This is by design.
One shouldn't add event listeners directly. These static
collections are maintained so that the listeners may be
garb... | 23355 | class EventEmitter
'use strict'
idKey = '<KEY>'
@listeners = {}
@targets = {}
@off =(listenerId)->
###
Note: @off, but no symmetrical "@on". This is by design.
One shouldn't add event listeners directly. These static
collections are maintained so that the listeners may be
ga... | true | class EventEmitter
'use strict'
idKey = 'PI:KEY:<KEY>END_PI'
@listeners = {}
@targets = {}
@off =(listenerId)->
###
Note: @off, but no symmetrical "@on". This is by design.
One shouldn't add event listeners directly. These static
collections are maintained so that the listeners ma... |
[
{
"context": "pretty' URL.\n#\n# ### Examples\n# parameterize(\"Donald E. Knuth\") # => \"donald-e-knuth\"\n# parameteriz",
"end": 5452,
"score": 0.9998088479042053,
"start": 5437,
"tag": "NAME",
"value": "Donald E. Knuth"
},
{
"context": " # => \"donald-e-knut... | src/inflect/methods.coffee | goodeggs/inflect | 0 | inflections = require('../inflect').inflections
# By default, <tt>camelize</tt> converts strings to UpperCamelCase. If the argument to <tt>camelize</tt>
# is set to <tt>false</tt> then <tt>camelize</tt> produces lowerCamelCase.
#
# ### Examples
# "active_record".camelize() # => "ActiveRecord"
# "a... | 77999 | inflections = require('../inflect').inflections
# By default, <tt>camelize</tt> converts strings to UpperCamelCase. If the argument to <tt>camelize</tt>
# is set to <tt>false</tt> then <tt>camelize</tt> produces lowerCamelCase.
#
# ### Examples
# "active_record".camelize() # => "ActiveRecord"
# "a... | true | inflections = require('../inflect').inflections
# By default, <tt>camelize</tt> converts strings to UpperCamelCase. If the argument to <tt>camelize</tt>
# is set to <tt>false</tt> then <tt>camelize</tt> produces lowerCamelCase.
#
# ### Examples
# "active_record".camelize() # => "ActiveRecord"
# "a... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.999843180179596,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail... | library/assembly/layout.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 203020 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": " },\n {\n name: 'bar'\n value: 'foo'\n ran",
"end": 17854,
"score": 0.5144006013870239,
"start": 17851,
"tag": "NAME",
"value": "bar"
}
] | packages/pigments/spec/variables-collection-spec.coffee | reactjsguru/atom-settings | 651 | VariablesCollection = require '../lib/variables-collection'
describe 'VariablesCollection', ->
[collection, changeSpy] = []
createVar = (name, value, range, path, line) ->
{name, value, range, path, line}
describe 'with an empty collection', ->
beforeEach ->
collection = new VariablesCollection
... | 198693 | VariablesCollection = require '../lib/variables-collection'
describe 'VariablesCollection', ->
[collection, changeSpy] = []
createVar = (name, value, range, path, line) ->
{name, value, range, path, line}
describe 'with an empty collection', ->
beforeEach ->
collection = new VariablesCollection
... | true | VariablesCollection = require '../lib/variables-collection'
describe 'VariablesCollection', ->
[collection, changeSpy] = []
createVar = (name, value, range, path, line) ->
{name, value, range, path, line}
describe 'with an empty collection', ->
beforeEach ->
collection = new VariablesCollection
... |
[
{
"context": "###\n * grunt-statistiks\n * https://github.com/leny/grunt-statistiks\n *\n * Copyright (c) 2014 Leny\n *",
"end": 50,
"score": 0.9993966817855835,
"start": 46,
"tag": "USERNAME",
"value": "leny"
},
{
"context": "com/leny/grunt-statistiks\n *\n * Copyright (c) 2014 Leny... | Gruntfile.coffee | leny/grunt-statistiks | 0 | ###
* grunt-statistiks
* https://github.com/leny/grunt-statistiks
*
* Copyright (c) 2014 Leny
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
options... | 151131 | ###
* grunt-statistiks
* https://github.com/leny/grunt-statistiks
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
optio... | true | ###
* grunt-statistiks
* https://github.com/leny/grunt-statistiks
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
... |
[
{
"context": ".f = f = (to, text) ->\n mailOptions =\n from: 'no-reply@yutian.li'\n to: to\n subject: \"[#{os.hostname()}] #{os",
"end": 377,
"score": 0.999872624874115,
"start": 359,
"tag": "EMAIL",
"value": "no-reply@yutian.li"
}
] | utils/send-mail.coffee | hotpxl/nebuchadnezzar | 2 | #!/usr/bin/env coffee
os = require 'os'
nodemailer = require 'nodemailer'
smtpTransport = require 'nodemailer-smtp-transport'
Q = require 'q'
auth = require './send-mail-auth'
transporter = nodemailer.createTransport smtpTransport
port: 465
host: 'smtp.exmail.qq.com'
secure: true
auth: auth
exports.f = f = (t... | 8844 | #!/usr/bin/env coffee
os = require 'os'
nodemailer = require 'nodemailer'
smtpTransport = require 'nodemailer-smtp-transport'
Q = require 'q'
auth = require './send-mail-auth'
transporter = nodemailer.createTransport smtpTransport
port: 465
host: 'smtp.exmail.qq.com'
secure: true
auth: auth
exports.f = f = (t... | true | #!/usr/bin/env coffee
os = require 'os'
nodemailer = require 'nodemailer'
smtpTransport = require 'nodemailer-smtp-transport'
Q = require 'q'
auth = require './send-mail-auth'
transporter = nodemailer.createTransport smtpTransport
port: 465
host: 'smtp.exmail.qq.com'
secure: true
auth: auth
exports.f = f = (t... |
[
{
"context": "ttp://blog.zooniverse.org/) or by following [@zooteach](https://twitter.com/ZooTeach) on Twitter. You ca",
"end": 1756,
"score": 0.9213392734527588,
"start": 1748,
"tag": "USERNAME",
"value": "zooteach"
},
{
"context": " by following [@zooteach](https://twitter.... | app/pages/about/education-page.cjsx | alexbfree/Panoptes-Front-End | 0 | counterpart = require 'counterpart'
React = require 'react'
{Markdown} = (require 'markdownz').default
counterpart.registerTranslations 'en',
educationPage:
content: '''
## Education in the Zooniverse
As a volunteer on these websites, both you and your students can become citizen scientists and citi... | 90780 | counterpart = require 'counterpart'
React = require 'react'
{Markdown} = (require 'markdownz').default
counterpart.registerTranslations 'en',
educationPage:
content: '''
## Education in the Zooniverse
As a volunteer on these websites, both you and your students can become citizen scientists and citi... | true | counterpart = require 'counterpart'
React = require 'react'
{Markdown} = (require 'markdownz').default
counterpart.registerTranslations 'en',
educationPage:
content: '''
## Education in the Zooniverse
As a volunteer on these websites, both you and your students can become citizen scientists and citi... |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author supereggbert ",
"end": 12,
"score": 0.8622624278068542,
"start": 10,
"tag": "USERNAME",
"value": "mr"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author supereggbert / ",
"end": 14,
"score": 0.632... | source/javascripts/new_src/core/matrix_4.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author supereggbert / http://www.paulbrunt.co.uk/
# @author philogb / http://blog.thejit.org/
# @author jordi_ros / http://plattsoft.com
# @author D1plo1d / http://github.com/D1plo1d
# @author alteredq / http://alteredqualia.com/
# @author mikael emtinger / http://gomo.se/
# @a... | 190725 | # @author mr.<NAME>oob / http://mrdoob.com/
# @author supereggbert / http://www.paulbrunt.co.uk/
# @author philogb / http://blog.thejit.org/
# @author jordi_ros / http://plattsoft.com
# @author D1plo1d / http://github.com/D1plo1d
# @author alteredq / http://alteredqualia.com/
# @author <NAME> / http://gomo.se/
# @autho... | true | # @author mr.PI:NAME:<NAME>END_PIoob / http://mrdoob.com/
# @author supereggbert / http://www.paulbrunt.co.uk/
# @author philogb / http://blog.thejit.org/
# @author jordi_ros / http://plattsoft.com
# @author D1plo1d / http://github.com/D1plo1d
# @author alteredq / http://alteredqualia.com/
# @author PI:NAME:<NAME>END_P... |
[
{
"context": "ould.eql [\n '<a href=\"https://coding.net/u/sailxjx/p/test-webhook/git/commit/5e321dae429679a4b9ad9e0",
"end": 890,
"score": 0.9524429440498352,
"start": 883,
"tag": "USERNAME",
"value": "sailxjx"
},
{
"context": "wbb\\'<br>'\n '<a href=\"https://coding.n... | test/services/coding.coffee | jianliaoim/talk-services | 40 | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$coding = loader.load 'coding'
payloads = requireDir './coding_assets'
testWebhook = (event, payload) ->
# Overwrite the sendMessage function of coding
req.body = payload
req.headers = 'x-c... | 105434 | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$coding = loader.load 'coding'
payloads = requireDir './coding_assets'
testWebhook = (event, payload) ->
# Overwrite the sendMessage function of coding
req.body = payload
req.headers = 'x-c... | true | should = require 'should'
requireDir = require 'require-dir'
loader = require '../../src/loader'
{req} = require '../util'
$coding = loader.load 'coding'
payloads = requireDir './coding_assets'
testWebhook = (event, payload) ->
# Overwrite the sendMessage function of coding
req.body = payload
req.headers = 'x-c... |
[
{
"context": " channel\n blocks: blocks.models\n author: author\n followers: true\n\n\n",
"end": 1872,
"score": 0.4933716952800751,
"start": 1866,
"tag": "NAME",
"value": "author"
}
] | apps/channel/routes.coffee | broskoski/ervell | 2 | #
# Routes file that exports route handlers for ease of testing.
#
Channel = require "../../models/channel"
ChannelBlocks = require "../../collections/channel_blocks"
Blocks = require "../../collections/blocks"
User = require "../../models/user"
sd = require("sharify").data
_ = require 'underscore'
@channel = (req, r... | 101505 | #
# Routes file that exports route handlers for ease of testing.
#
Channel = require "../../models/channel"
ChannelBlocks = require "../../collections/channel_blocks"
Blocks = require "../../collections/blocks"
User = require "../../models/user"
sd = require("sharify").data
_ = require 'underscore'
@channel = (req, r... | true | #
# Routes file that exports route handlers for ease of testing.
#
Channel = require "../../models/channel"
ChannelBlocks = require "../../collections/channel_blocks"
Blocks = require "../../collections/blocks"
User = require "../../models/user"
sd = require("sharify").data
_ = require 'underscore'
@channel = (req, r... |
[
{
"context": "IME\n# PHABRICATOR_FEED_EVERYTHING\n#\n# Author:\n# mose\n\nquerystring = require 'querystring'\nmoment = req",
"end": 321,
"score": 0.9993315935134888,
"start": 317,
"tag": "USERNAME",
"value": "mose"
},
{
"context": "= { }\n for p, v of body.result\n na... | lib/phabricator.coffee | f0ff886f/hubot-phabs | 22 | # Description:
# requests Phabricator Conduit api
#
# Dependencies:
#
# Configuration:
# PHABRICATOR_URL
# PHABRICATOR_VERSION
# PHABRICATOR_API_KEY
# PHABRICATOR_BOT_PHID
# PHABRICATOR_TRUSTED_USERS
# PHABRICATOR_ENABLED_ITEMS
# PHABRICATOR_LAST_TASK_LIFETIME
# PHABRICATOR_FEED_EVERYTHING
#
# Author:
# mos... | 117922 | # Description:
# requests Phabricator Conduit api
#
# Dependencies:
#
# Configuration:
# PHABRICATOR_URL
# PHABRICATOR_VERSION
# PHABRICATOR_API_KEY
# PHABRICATOR_BOT_PHID
# PHABRICATOR_TRUSTED_USERS
# PHABRICATOR_ENABLED_ITEMS
# PHABRICATOR_LAST_TASK_LIFETIME
# PHABRICATOR_FEED_EVERYTHING
#
# Author:
# mos... | true | # Description:
# requests Phabricator Conduit api
#
# Dependencies:
#
# Configuration:
# PHABRICATOR_URL
# PHABRICATOR_VERSION
# PHABRICATOR_API_KEY
# PHABRICATOR_BOT_PHID
# PHABRICATOR_TRUSTED_USERS
# PHABRICATOR_ENABLED_ITEMS
# PHABRICATOR_LAST_TASK_LIFETIME
# PHABRICATOR_FEED_EVERYTHING
#
# Author:
# mos... |
[
{
"context": "# Pimatic RFXCom plugin\n# Tim van de Vathorst\n# https://github.com/Timvdv/pimatic-rfxcom\n\nmodul",
"end": 45,
"score": 0.9998908638954163,
"start": 26,
"tag": "NAME",
"value": "Tim van de Vathorst"
},
{
"context": "plugin\n# Tim van de Vathorst\n# https://github.com/... | august-connect.coffee | hongkongkiwi/pimatic-august-connect | 0 | # Pimatic RFXCom plugin
# Tim van de Vathorst
# https://github.com/Timvdv/pimatic-rfxcom
module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
#Create a class that extends the Plugin class
# and implements the following functions
class AugustConnectPlugin extends env.plu... | 97483 | # Pimatic RFXCom plugin
# <NAME>
# https://github.com/Timvdv/pimatic-rfxcom
module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
#Create a class that extends the Plugin class
# and implements the following functions
class AugustConnectPlugin extends env.plugins.Plugin
... | true | # Pimatic RFXCom plugin
# PI:NAME:<NAME>END_PI
# https://github.com/Timvdv/pimatic-rfxcom
module.exports = (env) ->
Promise = env.require 'bluebird'
assert = env.require 'cassert'
#Create a class that extends the Plugin class
# and implements the following functions
class AugustConnectPlugin extends env.pl... |
[
{
"context": "r(sk), cb)\n await sk.unlock_p3skb { passphrase: 'okokok', no_check_keys: true, time_travel: true }, T.esc",
"end": 539,
"score": 0.9991814494132996,
"start": 533,
"tag": "PASSWORD",
"value": "okokok"
},
{
"context": "ed one userid\"\n T.equal userids[0].get_email(), ... | test/files/p3skb_r.iced | samkenxstream/kbpgp | 464 | # Regression tests for p3skb bundles
{KeyManager} = require '../..'
exports.import_and_unlock_expired = (T, cb) ->
await KeyManager.import_from_p3skb { raw: expired_key_bundle }, defer err, sk
T.assert err?
T.equal err.message, "no valid primary key self-signature or key(s) have expired"
cb()
exports.import... | 178197 | # Regression tests for p3skb bundles
{KeyManager} = require '../..'
exports.import_and_unlock_expired = (T, cb) ->
await KeyManager.import_from_p3skb { raw: expired_key_bundle }, defer err, sk
T.assert err?
T.equal err.message, "no valid primary key self-signature or key(s) have expired"
cb()
exports.import... | true | # Regression tests for p3skb bundles
{KeyManager} = require '../..'
exports.import_and_unlock_expired = (T, cb) ->
await KeyManager.import_from_p3skb { raw: expired_key_bundle }, defer err, sk
T.assert err?
T.equal err.message, "no valid primary key self-signature or key(s) have expired"
cb()
exports.import... |
[
{
"context": "###\n @author Gilles Gerlinger\n Copyright 2015. All rights reserved.\n###\n\nmodul",
"end": 30,
"score": 0.9998660087585449,
"start": 14,
"tag": "NAME",
"value": "Gilles Gerlinger"
}
] | src/promise.coffee | gigerlin/easyRPC | 1 | ###
@author Gilles Gerlinger
Copyright 2015. All rights reserved.
###
module.exports = class Promise
status: 0 # 0: pending, 1: resolved, 2: rejected
constructor: (ready) ->
# console.log 'using own Promise'
@_chain = []
ready(
=> @resolve arguments... # set resolve
=> @reject argument... | 179007 | ###
@author <NAME>
Copyright 2015. All rights reserved.
###
module.exports = class Promise
status: 0 # 0: pending, 1: resolved, 2: rejected
constructor: (ready) ->
# console.log 'using own Promise'
@_chain = []
ready(
=> @resolve arguments... # set resolve
=> @reject arguments... # set... | true | ###
@author PI:NAME:<NAME>END_PI
Copyright 2015. All rights reserved.
###
module.exports = class Promise
status: 0 # 0: pending, 1: resolved, 2: rejected
constructor: (ready) ->
# console.log 'using own Promise'
@_chain = []
ready(
=> @resolve arguments... # set resolve
=> @reject argu... |
[
{
"context": "s\n\n if conditions.mobile\n conditions.key or= \"mobile_#{conditions.mobile}\"\n conditions.name or= condit",
"end": 1227,
"score": 0.7836418151855469,
"start": 1218,
"tag": "KEY",
"value": "mobile_#{"
},
{
"context": " else if conditions.email\n conditions.k... | talk-api2x/server/schemas/invitation.coffee | ikingye/talk-os | 3,084 | ###*
* 邀请列表
* 索引
* db.invitations.ensureIndex({team: 1}, {background: true})
* db.invitations.ensureIndex({room: 1}, {background: true})
* db.invitations.ensureIndex({key: 1, team: 1, room: 1}, {unique: true, background: true})
###
Err = require 'err1st'
_ = require 'lodash'
{Schema} = require 'mongoose'
module.e... | 146532 | ###*
* 邀请列表
* 索引
* db.invitations.ensureIndex({team: 1}, {background: true})
* db.invitations.ensureIndex({room: 1}, {background: true})
* db.invitations.ensureIndex({key: 1, team: 1, room: 1}, {unique: true, background: true})
###
Err = require 'err1st'
_ = require 'lodash'
{Schema} = require 'mongoose'
module.e... | true | ###*
* 邀请列表
* 索引
* db.invitations.ensureIndex({team: 1}, {background: true})
* db.invitations.ensureIndex({room: 1}, {background: true})
* db.invitations.ensureIndex({key: 1, team: 1, room: 1}, {unique: true, background: true})
###
Err = require 'err1st'
_ = require 'lodash'
{Schema} = require 'mongoose'
module.e... |
[
{
"context": "# Copyright 2012 Joshua Carver \n# \n# Licensed under the Apache License, Versio",
"end": 30,
"score": 0.9998712539672852,
"start": 17,
"tag": "NAME",
"value": "Joshua Carver"
}
] | src/coffeescript/charts/index_chart.coffee | jcarver989/raphy-charts | 5 | # Copyright 2012 Joshua Carver
#
# 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... | 137926 | # Copyright 2012 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | true | # Copyright 2012 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... |
[
{
"context": " initializeSubscription: ->\n routingKey = \"changes.project.#{@scope.projectId}.tasks\"\n @events.subscribe",
"end": 12855,
"score": 0.8440874814987183,
"start": 12837,
"tag": "KEY",
"value": "changes.project.#{"
},
{
"context": " routingKey = \"changes.... | app/coffee/modules/taskboard/main.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | 86401 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... |
[
{
"context": "e'\n isSearchable: 'false'\n 'label.de': 'Marke'\n 'label.en': 'Brand'\n enumKey: 'HUG'\n ",
"end": 4558,
"score": 0.6588650345802307,
"start": 4553,
"tag": "NAME",
"value": "Marke"
},
{
"context": "': 'Brand'\n enumKey: 'HUG'\n enumLabel: ... | src/spec/unit/product-type-generator.spec.coffee | celeste-horgan/sphere-product-type-json-generator | 3 | ProductTypeGenerator = require '../../lib/product-type-generator'
{expect} = require 'chai'
sinon = require 'sinon'
describe 'ProductTypeGenerator', ->
beforeEach ->
@generator = new ProductTypeGenerator
expect(@generator).to.be.an 'object'
it 'should return languages for localized property header', ->
... | 186324 | ProductTypeGenerator = require '../../lib/product-type-generator'
{expect} = require 'chai'
sinon = require 'sinon'
describe 'ProductTypeGenerator', ->
beforeEach ->
@generator = new ProductTypeGenerator
expect(@generator).to.be.an 'object'
it 'should return languages for localized property header', ->
... | true | ProductTypeGenerator = require '../../lib/product-type-generator'
{expect} = require 'chai'
sinon = require 'sinon'
describe 'ProductTypeGenerator', ->
beforeEach ->
@generator = new ProductTypeGenerator
expect(@generator).to.be.an 'object'
it 'should return languages for localized property header', ->
... |
[
{
"context": "rary\" : {\n \"identifier\" : {\n \"id\" : \"TestSnippet\",\n \"version\" : \"1\"\n },\n ",
"end": 539,
"score": 0.733892560005188,
"start": 535,
"tag": "NAME",
"value": "Test"
},
{
"context": "rary\" : {\n \"identifier\" : {\n ... | Src/coffeescript/cql-execution/test/elm/clinical/data.coffee | esteban-aliverti/clinical_quality_language | 0 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ValueSetDef
library TestSnippet version '1'
using QUICK
valueset "Known" = '2.16.840.1.113883.3.464.1003.101.... | 52605 | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ValueSetDef
library TestSnippet version '1'
using QUICK
valueset "Known" = '2.16.840.1.113883.3.464.1003.101.... | true | ###
WARNING: This is a GENERATED file. Do not manually edit!
To generate this file:
- Edit data.coffee to add a CQL Snippet
- From java dir: ./gradlew :cql-to-elm:generateTestData
###
### ValueSetDef
library TestSnippet version '1'
using QUICK
valueset "Known" = '2.16.840.1.113883.3.464.1003.101.... |
[
{
"context": "# Copyright (C) 2014 Ingvar Stepanyan <me@rreverser.com>\n#\n# Redistribution and use in ",
"end": 37,
"score": 0.9998744130134583,
"start": 21,
"tag": "NAME",
"value": "Ingvar Stepanyan"
},
{
"context": "# Copyright (C) 2014 Ingvar Stepanyan <me@rreverser.com>\n#\n# Re... | test/replace.coffee | svenanders/estraverse-compat | 2 | # Copyright (C) 2014 Ingvar Stepanyan <me@rreverser.com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and t... | 115874 | # Copyright (C) 2014 <NAME> <<EMAIL>>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following discla... | true | # Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of condit... |
[
{
"context": " exception: node$ null\n destinationKey: job.dest.name\n display: -> activateAndDisplayItem",
"end": 2398,
"score": 0.626179575920105,
"start": 2398,
"tag": "KEY",
"value": ""
},
{
"context": "ception: node$ null\n destinationKey: job.dest.name\n d... | h2o-web/src/main/steam/scripts/job-list-view.coffee | My-Technical-Architect/h2o-3 | 1 | _statusColors =
failed: '#d9534f'
done: '#ccc' #'#5cb85c'
running: '#f0ad4e'
getStatusColor = (status) ->
# CREATED Job was created
# RUNNING Job is running
# CANCELLED Job was cancelled by user
# FAILED Job crashed, error message/exception is available
# DONE Job was successfully finished
... | 20775 | _statusColors =
failed: '#d9534f'
done: '#ccc' #'#5cb85c'
running: '#f0ad4e'
getStatusColor = (status) ->
# CREATED Job was created
# RUNNING Job is running
# CANCELLED Job was cancelled by user
# FAILED Job crashed, error message/exception is available
# DONE Job was successfully finished
... | true | _statusColors =
failed: '#d9534f'
done: '#ccc' #'#5cb85c'
running: '#f0ad4e'
getStatusColor = (status) ->
# CREATED Job was created
# RUNNING Job is running
# CANCELLED Job was cancelled by user
# FAILED Job crashed, error message/exception is available
# DONE Job was successfully finished
... |
[
{
"context": "###\n* Copyright (c) 2011 Hans Gill. All rights reserved. Copyrights licensed under t",
"end": 34,
"score": 0.9997804164886475,
"start": 25,
"tag": "NAME",
"value": "Hans Gill"
}
] | src/coffee/shared/sysutils.coffee | hansgill/express-coffee-sequelize-boilerplate | 2 | ###
* Copyright (c) 2011 Hans Gill. All rights reserved. Copyrights licensed under the MIT License.
* See LICENSE file included with this code project for license terms.
###
sys = require 'sys'
conf = require "./conf"
class DateHelper
currentYearAndWeek : () ->
@getYearAndWeek()
helper = module.exports =... | 78042 | ###
* Copyright (c) 2011 <NAME>. All rights reserved. Copyrights licensed under the MIT License.
* See LICENSE file included with this code project for license terms.
###
sys = require 'sys'
conf = require "./conf"
class DateHelper
currentYearAndWeek : () ->
@getYearAndWeek()
helper = module.exports =
... | true | ###
* Copyright (c) 2011 PI:NAME:<NAME>END_PI. All rights reserved. Copyrights licensed under the MIT License.
* See LICENSE file included with this code project for license terms.
###
sys = require 'sys'
conf = require "./conf"
class DateHelper
currentYearAndWeek : () ->
@getYearAndWeek()
helper = modul... |
[
{
"context": "nnect: -> Database.connection\n\n @key: (id) -> \"user:#{id}:friends\"\n\n @sanitize_argument: (arg) ->\n",
"end": 157,
"score": 0.5865469574928284,
"start": 153,
"tag": "KEY",
"value": "user"
},
{
"context": " Database.connection\n\n @key: (id) -> \"user:#{id}... | src/friendship.coffee | iaintshine/social_coffee | 1 | Database = require './db'
logger = require 'winston'
class Friendship
# -- Helpers --
@connect: -> Database.connection
@key: (id) -> "user:#{id}:friends"
@sanitize_argument: (arg) ->
return new TypeError "function argument must not be null" unless arg?
return new TypeError "funct... | 18887 | Database = require './db'
logger = require 'winston'
class Friendship
# -- Helpers --
@connect: -> Database.connection
@key: (id) -> "<KEY>:#{id<KEY>}:friends"
@sanitize_argument: (arg) ->
return new TypeError "function argument must not be null" unless arg?
return new TypeError ... | true | Database = require './db'
logger = require 'winston'
class Friendship
# -- Helpers --
@connect: -> Database.connection
@key: (id) -> "PI:KEY:<KEY>END_PI:#{idPI:KEY:<KEY>END_PI}:friends"
@sanitize_argument: (arg) ->
return new TypeError "function argument must not be null" unless arg?
... |
[
{
"context": "bject props to\nuserPropsToSave =\n 'first_name': 'firstName'\n 'last_name': 'lastName'\n 'gender': 'gender'\n ",
"end": 216,
"score": 0.9996466636657715,
"start": 207,
"tag": "NAME",
"value": "firstName"
},
{
"context": "ave =\n 'first_name': 'firstName'\n 'last_n... | app/core/social-handlers/FacebookHandler.coffee | teplyja1/codecombat | 0 | CocoClass = require 'core/CocoClass'
{me} = require 'core/auth'
{backboneFailure} = require 'core/errors'
storage = require 'core/storage'
# facebook user object props to
userPropsToSave =
'first_name': 'firstName'
'last_name': 'lastName'
'gender': 'gender'
'email': 'email'
'id': 'facebookID'
module.export... | 25861 | CocoClass = require 'core/CocoClass'
{me} = require 'core/auth'
{backboneFailure} = require 'core/errors'
storage = require 'core/storage'
# facebook user object props to
userPropsToSave =
'first_name': '<NAME>'
'last_name': '<NAME>'
'gender': 'gender'
'email': 'email'
'id': 'facebookID'
module.exports = F... | true | CocoClass = require 'core/CocoClass'
{me} = require 'core/auth'
{backboneFailure} = require 'core/errors'
storage = require 'core/storage'
# facebook user object props to
userPropsToSave =
'first_name': 'PI:NAME:<NAME>END_PI'
'last_name': 'PI:NAME:<NAME>END_PI'
'gender': 'gender'
'email': 'email'
'id': 'face... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\ndefine 'Coff",
"end": 23,
"score": 0.9998796582221985,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\ndefine 'Coffixi/rend... | src/Coffixi/renderers/webgl/WebGLRenderer.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/WebGLRenderer', [
'./GLESRenderer'
'./WebGLBatch'
], (
GLESRenderer
WebGLBatch
) ->
# LOU TODO: Update docs for this
###*
the WebGLRenderer is draws the stage and all its content onto a webGL enabled canvas. T... | 82128 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/WebGLRenderer', [
'./GLESRenderer'
'./WebGLBatch'
], (
GLESRenderer
WebGLBatch
) ->
# LOU TODO: Update docs for this
###*
the WebGLRenderer is draws the stage and all its content onto a webGL enabled canvas. This ... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/WebGLRenderer', [
'./GLESRenderer'
'./WebGLBatch'
], (
GLESRenderer
WebGLBatch
) ->
# LOU TODO: Update docs for this
###*
the WebGLRenderer is draws the stage and all its content onto a webGL enabled... |
[
{
"context": " page = impamp.pads.getPage $pad\n key = impamp.pads.getKey $pad\n\n impamp.storage.done (storage) ->",
"end": 1759,
"score": 0.5301142334938049,
"start": 1756,
"tag": "KEY",
"value": "pad"
}
] | source/javascripts/Pads/drop.coffee | EdinburghUniversityTheatreCompany/ImpAmp | 1 | impamp.locked = localStorage["locked"] || false
if typeof impamp.locked == "string"
impamp.locked = JSON.parse impamp.locked
$ ->
# prevent browser from opening the file if we missed a pad.
$(window).on "dragover", (e) ->
e.preventDefault()
return false
$(window).on "drop", (e) ->
e.stopPropagatio... | 208741 | impamp.locked = localStorage["locked"] || false
if typeof impamp.locked == "string"
impamp.locked = JSON.parse impamp.locked
$ ->
# prevent browser from opening the file if we missed a pad.
$(window).on "dragover", (e) ->
e.preventDefault()
return false
$(window).on "drop", (e) ->
e.stopPropagatio... | true | impamp.locked = localStorage["locked"] || false
if typeof impamp.locked == "string"
impamp.locked = JSON.parse impamp.locked
$ ->
# prevent browser from opening the file if we missed a pad.
$(window).on "dragover", (e) ->
e.preventDefault()
return false
$(window).on "drop", (e) ->
e.stopPropagatio... |
[
{
"context": "ver.listen (parseInt(process.env.PORT) or 8080), \"0.0.0.0\"\n\n receive_sms: (body, from) ->\n return if bo",
"end": 1119,
"score": 0.8322475552558899,
"start": 1112,
"tag": "IP_ADDRESS",
"value": "0.0.0.0"
},
{
"context": "end_sms: (message, to, callback) ->\n ... | src/hubot/twilio.coffee | assimovt/hubot | 1 | Robot = require '../robot'
HTTP = require 'http'
QS = require 'querystring'
class Twilio extends Robot
constructor: ->
@sid = process.env.HUBOT_SMS_SID
@token = process.env.HUBOT_SMS_TOKEN
@from = process.env.HUBOT_SMS_FROM
super()
send: (user, strings...) ->
message = strings.join "\n"... | 59000 | Robot = require '../robot'
HTTP = require 'http'
QS = require 'querystring'
class Twilio extends Robot
constructor: ->
@sid = process.env.HUBOT_SMS_SID
@token = process.env.HUBOT_SMS_TOKEN
@from = process.env.HUBOT_SMS_FROM
super()
send: (user, strings...) ->
message = strings.join "\n"... | true | Robot = require '../robot'
HTTP = require 'http'
QS = require 'querystring'
class Twilio extends Robot
constructor: ->
@sid = process.env.HUBOT_SMS_SID
@token = process.env.HUBOT_SMS_TOKEN
@from = process.env.HUBOT_SMS_FROM
super()
send: (user, strings...) ->
message = strings.join "\n"... |
[
{
"context": "\tПо всем вопросам пишите на адрес <a href=\"mailto:agershun@gmail.com\">agershun@gmail.com</a>\n\t'''\n\n\tdefaultGuide = add",
"end": 1142,
"score": 0.9999237656593323,
"start": 1124,
"tag": "EMAIL",
"value": "agershun@gmail.com"
},
{
"context": "шите на адрес <a href... | main.coffee | agershun/minday | 0 | ################################################
# MINDAY 0.008BI
# main.coffee
# Главная часть программы
################################################
$desk = null
$description = null
$guide = null
$step = null
$menu = null
defaultDescription = null
defaultGuide = null
defaultStep = null
defaultMenu = null
sear... | 18453 | ################################################
# MINDAY 0.008BI
# main.coffee
# Главная часть программы
################################################
$desk = null
$description = null
$guide = null
$step = null
$menu = null
defaultDescription = null
defaultGuide = null
defaultStep = null
defaultMenu = null
sear... | true | ################################################
# MINDAY 0.008BI
# main.coffee
# Главная часть программы
################################################
$desk = null
$description = null
$guide = null
$step = null
$menu = null
defaultDescription = null
defaultGuide = null
defaultStep = null
defaultMenu = null
sear... |
[
{
"context": "found, newfound\n\n API.mail.send\n to: 'alert@cottagelabs.com'\n subject: 'Illiad comparison complete'\n ",
"end": 1769,
"score": 0.999931275844574,
"start": 1748,
"tag": "EMAIL",
"value": "alert@cottagelabs.com"
}
] | noddy/service/oabutton/scripts/illiad_comparison.coffee | jibe-b/website | 0 |
import fs from 'fs'
API.add 'service/oab/scripts/illiad_comparison',
get:
roleRequired: 'root'
action: () ->
titles = oab_availability.search 'from:illiad AND NOT url:http* AND NOT url:pmid* AND NOT url:pmc*', {newest:true, size:1000}, undefined, false
console.log titles.hits.total
tried... | 138633 |
import fs from 'fs'
API.add 'service/oab/scripts/illiad_comparison',
get:
roleRequired: 'root'
action: () ->
titles = oab_availability.search 'from:illiad AND NOT url:http* AND NOT url:pmid* AND NOT url:pmc*', {newest:true, size:1000}, undefined, false
console.log titles.hits.total
tried... | true |
import fs from 'fs'
API.add 'service/oab/scripts/illiad_comparison',
get:
roleRequired: 'root'
action: () ->
titles = oab_availability.search 'from:illiad AND NOT url:http* AND NOT url:pmid* AND NOT url:pmc*', {newest:true, size:1000}, undefined, false
console.log titles.hits.total
tried... |
[
{
"context": "dos_keyvalues.findOne({user:Steedos.userId(),key:\"bg_body\"})\n\t\tif accountBgBody\n\t\t\treturn accountBgBody.val",
"end": 3232,
"score": 0.7282049655914307,
"start": 3225,
"tag": "KEY",
"value": "bg_body"
},
{
"context": "ck\n\t\t\t\t\tpath = \"api/app/sso/#{app_id}... | creator/packages/steedos-base/lib/core.coffee | baozhoutao/steedos-platform | 0 | Steedos =
settings: {}
db: db
subs: {}
isPhoneEnabled: ->
return !!Meteor.settings?.public?.phone
numberToString: (number, scale, notThousands)->
if typeof number == "number"
number = number.toString()
if !number
return '';
if number != "NaN"
if scale || scale == 0
number = Number(number).to... | 18462 | Steedos =
settings: {}
db: db
subs: {}
isPhoneEnabled: ->
return !!Meteor.settings?.public?.phone
numberToString: (number, scale, notThousands)->
if typeof number == "number"
number = number.toString()
if !number
return '';
if number != "NaN"
if scale || scale == 0
number = Number(number).to... | true | Steedos =
settings: {}
db: db
subs: {}
isPhoneEnabled: ->
return !!Meteor.settings?.public?.phone
numberToString: (number, scale, notThousands)->
if typeof number == "number"
number = number.toString()
if !number
return '';
if number != "NaN"
if scale || scale == 0
number = Number(number).to... |
[
{
"context": "ample Options:\n #\n # {\n # from: \"Fred Foo ✔ <foo@blurdybloop.com>\", // sender address\n ",
"end": 348,
"score": 0.9998735785484314,
"start": 340,
"tag": "NAME",
"value": "Fred Foo"
},
{
"context": "s:\n #\n # {\n # from: \"Fred... | plugins/email/orm.coffee | BoLaMN/node-client | 0 | 'use strict'
module.exports = ->
@factory 'EmailORM', (env, fs, path, Connector, debug, assert) ->
{ join, resolve } = path
template = require resolve(__dirname + '/email'), 'utf8'
class Mailer
###*
# Send an email with the given `options`.
#
# Example Options:
#
#... | 206485 | 'use strict'
module.exports = ->
@factory 'EmailORM', (env, fs, path, Connector, debug, assert) ->
{ join, resolve } = path
template = require resolve(__dirname + '/email'), 'utf8'
class Mailer
###*
# Send an email with the given `options`.
#
# Example Options:
#
#... | true | 'use strict'
module.exports = ->
@factory 'EmailORM', (env, fs, path, Connector, debug, assert) ->
{ join, resolve } = path
template = require resolve(__dirname + '/email'), 'utf8'
class Mailer
###*
# Send an email with the given `options`.
#
# Example Options:
#
#... |
[
{
"context": " </div>\n \"\"\"\n\n person =\n firstname: 'Jasmine'\n lastname: 'Taylor'\n email: 'jasm",
"end": 304,
"score": 0.9996837377548218,
"start": 297,
"tag": "NAME",
"value": "Jasmine"
},
{
"context": "mine'\n lastname: 'Taylor'\n email... | spec/directivesSpec.coffee | Tol1/transparency | 405 | describe "Transparency", ->
it "should execute directive function and assign return value to the matching element attribute", ->
template = $ """
<div class="person">
<span class="name"></span><span class="email"></span>
</div>
"""
person =
firstname: 'Jasmine'
lastname... | 193089 | describe "Transparency", ->
it "should execute directive function and assign return value to the matching element attribute", ->
template = $ """
<div class="person">
<span class="name"></span><span class="email"></span>
</div>
"""
person =
firstname: '<NAME>'
lastname:... | true | describe "Transparency", ->
it "should execute directive function and assign return value to the matching element attribute", ->
template = $ """
<div class="person">
<span class="name"></span><span class="email"></span>
</div>
"""
person =
firstname: 'PI:NAME:<NAME>END_PI'
... |
[
{
"context": " on the\n # server.\n provider.encryptionKey = crypto.randomBytes(24)\n provider.encryptionIv = crypt",
"end": 2781,
"score": 0.6375524401664734,
"start": 2775,
"tag": "KEY",
"value": "crypto"
}
] | app/internal_packages/onboarding/lib/account-choose-page.cjsx | immershy/nodemail | 0 | React = require 'react'
_ = require 'underscore'
{RetinaImg} = require 'nylas-component-kit'
{EdgehillAPI, Utils, Actions} = require 'nylas-exports'
OnboardingActions = require './onboarding-actions'
Providers = require './account-types'
url = require 'url'
class AccountChoosePage extends React.Component
@displayNa... | 35735 | React = require 'react'
_ = require 'underscore'
{RetinaImg} = require 'nylas-component-kit'
{EdgehillAPI, Utils, Actions} = require 'nylas-exports'
OnboardingActions = require './onboarding-actions'
Providers = require './account-types'
url = require 'url'
class AccountChoosePage extends React.Component
@displayNa... | true | React = require 'react'
_ = require 'underscore'
{RetinaImg} = require 'nylas-component-kit'
{EdgehillAPI, Utils, Actions} = require 'nylas-exports'
OnboardingActions = require './onboarding-actions'
Providers = require './account-types'
url = require 'url'
class AccountChoosePage extends React.Component
@displayNa... |
[
{
"context": "').keys\n\nasp = new ASP {}\nbundle = null\nuserid = 'maxtaco@keybase.io'\nmaster_passphrase = new Buffer 'so long and than",
"end": 358,
"score": 0.9998936653137207,
"start": 340,
"tag": "EMAIL",
"value": "maxtaco@keybase.io"
},
{
"context": "xtaco@keybase.io'\nmaster_... | test/files/keymanager.iced | johnnyRose/kbpgp | 1 | {kb,KeyManager} = require '../../'
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
example_keys = (require '../data/keys.iced').keys
asp = new ASP {}
bund... | 3584 | {kb,KeyManager} = require '../../'
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
example_keys = (require '../data/keys.iced').keys
asp = new ASP {}
bund... | true | {kb,KeyManager} = require '../../'
{bufferify,ASP} = require '../../lib/util'
{make_esc} = require 'iced-error'
util = require 'util'
{box} = require '../../lib/keybase/encode'
{Encryptor} = require 'triplesec'
{base91} = require '../../lib/basex'
example_keys = (require '../data/keys.iced').keys
asp = new ASP {}
bund... |
[
{
"context": "mac.update username\n\tpassword = hmac.digest 'base64'\n\n\tres.send\n\t\tusername: username\n\t\tpassword: pass",
"end": 994,
"score": 0.565395712852478,
"start": 993,
"tag": "PASSWORD",
"value": "4"
},
{
"context": "word = hmac.digest 'base64'\n\n\tres.send\n\t\tusern... | web.iced | hjr265/brdgd | 1 | _ = require 'underscore'
crypto = require 'crypto'
express = require 'express'
http = require 'http'
moment = require 'moment'
url = require 'url'
peer = require 'peer'
app = express()
server = http.createServer(app)
app.set 'port', process.env.PORT or 5000
app.set 'views', "#{__dirname}/views"
app.set 'view engine'... | 113560 | _ = require 'underscore'
crypto = require 'crypto'
express = require 'express'
http = require 'http'
moment = require 'moment'
url = require 'url'
peer = require 'peer'
app = express()
server = http.createServer(app)
app.set 'port', process.env.PORT or 5000
app.set 'views', "#{__dirname}/views"
app.set 'view engine'... | true | _ = require 'underscore'
crypto = require 'crypto'
express = require 'express'
http = require 'http'
moment = require 'moment'
url = require 'url'
peer = require 'peer'
app = express()
server = http.createServer(app)
app.set 'port', process.env.PORT or 5000
app.set 'views', "#{__dirname}/views"
app.set 'view engine'... |
[
{
"context": "ce(\"FacebookService\"\n->\n\tfacebookAppId = 505787579524800\n\tfbAsyncInit = ->\n\t\tFB.init(\n\t\t\tappId: faceb",
"end": 79,
"score": 0.5211963653564453,
"start": 78,
"tag": "KEY",
"value": "5"
},
{
"context": "e.name\n\t\t\t{description} = artPiece\n\t\t\tcaption ?... | webapp/components/site/site-service.coffee | jazeee/sbentleyart.com | 0 | angular.module("site").service("FacebookService"
->
facebookAppId = 505787579524800
fbAsyncInit = ->
FB.init(
appId: facebookAppId
status: false
cookie: true
xfbml: true
version: 'v2.0'
)
fbAsyncInit.facebookLoadedPromise.resolve()
fbAsyncInit.facebookLoadedPromise = $.Deferred()
window.fbAsyn... | 218960 | angular.module("site").service("FacebookService"
->
facebookAppId = 505787579<KEY>24800
fbAsyncInit = ->
FB.init(
appId: facebookAppId
status: false
cookie: true
xfbml: true
version: 'v2.0'
)
fbAsyncInit.facebookLoadedPromise.resolve()
fbAsyncInit.facebookLoadedPromise = $.Deferred()
window.fb... | true | angular.module("site").service("FacebookService"
->
facebookAppId = 505787579PI:KEY:<KEY>END_PI24800
fbAsyncInit = ->
FB.init(
appId: facebookAppId
status: false
cookie: true
xfbml: true
version: 'v2.0'
)
fbAsyncInit.facebookLoadedPromise.resolve()
fbAsyncInit.facebookLoadedPromise = $.Deferred(... |
[
{
"context": "ssociated with you'\n top10_common_password: 'This is a top-10 common password'\n top100_common_passw",
"end": 1230,
"score": 0.914654016494751,
"start": 1221,
"tag": "PASSWORD",
"value": "This is a"
},
{
"context": " you'\n top10_common_password: 'This i... | src/feedback_l10n.coffee | lpavlicek/zxcvbn-czech | 3 | feedback_l10n =
en:
use_a_few_words: 'Use a few words, avoid common phrases'
no_need_for_mixed_chars: 'No need for symbols, digits, or uppercase letters'
uncommon_words_are_better: 'Add another word or two. Uncommon words are better.'
straight_rows_of_keys_are_easy: 'Straight rows of keys a... | 120217 | feedback_l10n =
en:
use_a_few_words: 'Use a few words, avoid common phrases'
no_need_for_mixed_chars: 'No need for symbols, digits, or uppercase letters'
uncommon_words_are_better: 'Add another word or two. Uncommon words are better.'
straight_rows_of_keys_are_easy: 'Straight rows of keys a... | true | feedback_l10n =
en:
use_a_few_words: 'Use a few words, avoid common phrases'
no_need_for_mixed_chars: 'No need for symbols, digits, or uppercase letters'
uncommon_words_are_better: 'Add another word or two. Uncommon words are better.'
straight_rows_of_keys_are_easy: 'Straight rows of keys a... |
[
{
"context": "ations or [])\n\n datum.handler =\n name: name\n title: title\n filter: ({type, path",
"end": 11238,
"score": 0.5687008500099182,
"start": 11234,
"tag": "NAME",
"value": "name"
},
{
"context": "03')\"\n category: \"Issues\"\n }, {\n name... | system/applications.coffee | STRd6/zine | 12 | MyBriefcase = require "../apps/my-briefcase"
Explorer = require "../apps/explorer"
PkgFS = require "../lib/pkg-fs"
AppDrop = require "../lib/app-drop"
IFrameApp = require "../lib/iframe-app"
{
baseDirectory
endsWith
execute
htmlForPackage
} = require "../util"
{Modal, Observable} = require "ui"
lastAppId = 1... | 70318 | MyBriefcase = require "../apps/my-briefcase"
Explorer = require "../apps/explorer"
PkgFS = require "../lib/pkg-fs"
AppDrop = require "../lib/app-drop"
IFrameApp = require "../lib/iframe-app"
{
baseDirectory
endsWith
execute
htmlForPackage
} = require "../util"
{Modal, Observable} = require "ui"
lastAppId = 1... | true | MyBriefcase = require "../apps/my-briefcase"
Explorer = require "../apps/explorer"
PkgFS = require "../lib/pkg-fs"
AppDrop = require "../lib/app-drop"
IFrameApp = require "../lib/iframe-app"
{
baseDirectory
endsWith
execute
htmlForPackage
} = require "../util"
{Modal, Observable} = require "ui"
lastAppId = 1... |
[
{
"context": "-markdown-js/\n# Git Repository: http://github.com/bih/jquery.markdown.js\n\n# We must have jQuery install",
"end": 280,
"score": 0.9988422989845276,
"start": 277,
"tag": "USERNAME",
"value": "bih"
},
{
"context": "rCodeAt() in [32, 160]\n\t\t\t \t\n\t\t\t# \t# Accordi... | js/jquery.markdown.coffee | bih/jquery.markdown.js | 13 | # jquery.markdown.js
# This jQuery plugin provides a built-in WYSIWYG Markdown editor that's simple, fast, and powerful.
#
# Released under the MIT License
# Author website: http://bilaw.al/
# Blog post: http://bilaw.al/jquery-markdown-js/
# Git Repository: http://github.com/bih/jquery.markdown.js
# We must have jQue... | 129234 | # jquery.markdown.js
# This jQuery plugin provides a built-in WYSIWYG Markdown editor that's simple, fast, and powerful.
#
# Released under the MIT License
# Author website: http://bilaw.al/
# Blog post: http://bilaw.al/jquery-markdown-js/
# Git Repository: http://github.com/bih/jquery.markdown.js
# We must have jQue... | true | # jquery.markdown.js
# This jQuery plugin provides a built-in WYSIWYG Markdown editor that's simple, fast, and powerful.
#
# Released under the MIT License
# Author website: http://bilaw.al/
# Blog post: http://bilaw.al/jquery-markdown-js/
# Git Repository: http://github.com/bih/jquery.markdown.js
# We must have jQue... |
[
{
"context": "# author Alex Bardas\n# data type for creating a Tree structure\n\ndefine",
"end": 20,
"score": 0.9998458623886108,
"start": 9,
"tag": "NAME",
"value": "Alex Bardas"
}
] | tools/naflex/NUCMD/htmlib/help/onto/owl-viz-master/js/tree.coffee | Multiscale-Genomics/VRE | 5 | # author Alex Bardas
# data type for creating a Tree structure
define [], ->
# Tree Node
class Node
constructor: (params) ->
@children = []
@parent = {}
@name = if params? then params.name else ''
# Tree's root, carries all the information needed
# to rend... | 129321 | # author <NAME>
# data type for creating a Tree structure
define [], ->
# Tree Node
class Node
constructor: (params) ->
@children = []
@parent = {}
@name = if params? then params.name else ''
# Tree's root, carries all the information needed
# to render a ... | true | # author PI:NAME:<NAME>END_PI
# data type for creating a Tree structure
define [], ->
# Tree Node
class Node
constructor: (params) ->
@children = []
@parent = {}
@name = if params? then params.name else ''
# Tree's root, carries all the information needed
... |
[
{
"context": "ext.center()\n\t\t\n\t\t# Show v neck text and image\n\t\t# Harry's note: layer matters\n\t\tCreateDragImage(vneckInde",
"end": 7946,
"score": 0.9974949359893799,
"start": 7941,
"tag": "NAME",
"value": "Harry"
}
] | app.coffee | harryhow/Guided-Search-Prototype | 0 | # Import file "iOS_page"
sketch = Framer.Importer.load("imported/iOS_page@1x", scale: 1)
# make it easier to call layer object
Utils.globalLayers(sketch)
selectedIndex = -1
# Set up pages
page = new PageComponent
size: Screen.size
scrollHorizontal: false
scrollVertical: false
# Add pages vertically
page.addPage(... | 209988 | # Import file "iOS_page"
sketch = Framer.Importer.load("imported/iOS_page@1x", scale: 1)
# make it easier to call layer object
Utils.globalLayers(sketch)
selectedIndex = -1
# Set up pages
page = new PageComponent
size: Screen.size
scrollHorizontal: false
scrollVertical: false
# Add pages vertically
page.addPage(... | true | # Import file "iOS_page"
sketch = Framer.Importer.load("imported/iOS_page@1x", scale: 1)
# make it easier to call layer object
Utils.globalLayers(sketch)
selectedIndex = -1
# Set up pages
page = new PageComponent
size: Screen.size
scrollHorizontal: false
scrollVertical: false
# Add pages vertically
page.addPage(... |
[
{
"context": "# Author: Josh Bass\n\nReact = require(\"react\");\n\nCreateUserView = requ",
"end": 19,
"score": 0.9998777508735657,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
},
{
"context": "roma/login\", {username: @state.username, password: @state.password}, (response) =>\n ... | src/client/components/login/LoginView.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
React = require("react");
CreateUserView = require("./CreateUserView.coffee");
require("./res/styles/login.scss")
module.exports = React.createClass
getInitialState: ->
{username: "", password: "", login_alert: "", show_create_user: false};
componentDidMount: ->
render: ->
<div... | 165144 | # Author: <NAME>
React = require("react");
CreateUserView = require("./CreateUserView.coffee");
require("./res/styles/login.scss")
module.exports = React.createClass
getInitialState: ->
{username: "", password: "", login_alert: "", show_create_user: false};
componentDidMount: ->
render: ->
<div cl... | true | # Author: PI:NAME:<NAME>END_PI
React = require("react");
CreateUserView = require("./CreateUserView.coffee");
require("./res/styles/login.scss")
module.exports = React.createClass
getInitialState: ->
{username: "", password: "", login_alert: "", show_create_user: false};
componentDidMount: ->
render: -... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9948426485061646,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/generateSummariesDialog.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Prototyped Griffin feature that generates a string/list of today's shift summaries
Async = require 'async'
Imm = req... | 209667 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Prototyped Griffin feature that generates a string/list of today's shift summaries
Async = require 'async'
Imm = req... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Prototyped Griffin feature that generates a string/list of today's shift summaries
Async = require 'as... |
[
{
"context": "ire 'lodash'\nBintray = require '../'\n\nusername = 'username'\napikey = 'apikey'\norganization = 'organization'\n",
"end": 92,
"score": 0.9994630813598633,
"start": 84,
"tag": "USERNAME",
"value": "username"
},
{
"context": " = require '../'\n\nusername = 'username'\na... | test/searchesSpec.coffee | h2non/node-bintray | 4 | assert = require 'assert'
_ = require 'lodash'
Bintray = require '../'
username = 'username'
apikey = 'apikey'
organization = 'organization'
repository = 'repo'
apiBaseUrl = 'http://localhost:8882'
client = new Bintray { username: username, apikey: apikey, organization: organization, repository: repository, baseUrl:... | 221009 | assert = require 'assert'
_ = require 'lodash'
Bintray = require '../'
username = 'username'
apikey = '<KEY>'
organization = 'organization'
repository = 'repo'
apiBaseUrl = 'http://localhost:8882'
client = new Bintray { username: username, apikey: apikey, organization: organization, repository: repository, baseUrl: ... | true | assert = require 'assert'
_ = require 'lodash'
Bintray = require '../'
username = 'username'
apikey = 'PI:KEY:<KEY>END_PI'
organization = 'organization'
repository = 'repo'
apiBaseUrl = 'http://localhost:8882'
client = new Bintray { username: username, apikey: apikey, organization: organization, repository: reposito... |
[
{
"context": "blic?client_id=79cbac24f101f20ebe89&client_secret=bf5e196e52ce682e0e6b66371911941c00ba15dc',\n headers: 'User-Agent': 'request'\n },",
"end": 838,
"score": 0.998981237411499,
"start": 798,
"tag": "KEY",
"value": "bf5e196e52ce682e0e6b66371911941c00ba15dc"
}
] | lib/func-seekr.coffee | Jaumellado/func-seekr | 0 | FuncSeekrView = require './func-seekr-view'
request = require 'request'
{CompositeDisposable} = require 'atom'
module.exports = FuncSeekr =
FuncSeekrView: null
WebBrowserView: null
modalPanel: null
subscriptions: null
thisExtension: null
newPage: "chrome://newtab"
activate: (state) ->
@subscriptions... | 147127 | FuncSeekrView = require './func-seekr-view'
request = require 'request'
{CompositeDisposable} = require 'atom'
module.exports = FuncSeekr =
FuncSeekrView: null
WebBrowserView: null
modalPanel: null
subscriptions: null
thisExtension: null
newPage: "chrome://newtab"
activate: (state) ->
@subscriptions... | true | FuncSeekrView = require './func-seekr-view'
request = require 'request'
{CompositeDisposable} = require 'atom'
module.exports = FuncSeekr =
FuncSeekrView: null
WebBrowserView: null
modalPanel: null
subscriptions: null
thisExtension: null
newPage: "chrome://newtab"
activate: (state) ->
@subscriptions... |
[
{
"context": "###\nCopyright (c) Ramesh Nair (hiddentao.com)\n\nPermission is hereby granted, fr",
"end": 29,
"score": 0.9998794794082642,
"start": 18,
"tag": "NAME",
"value": "Ramesh Nair"
},
{
"context": "###\nCopyright (c) Ramesh Nair (hiddentao.com)\n\nPermission is hereby grante... | src/postgres.coffee | sqren/squel | 0 | ###
Copyright (c) Ramesh Nair (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, dis... | 5552 | ###
Copyright (c) <NAME> (<EMAIL>)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, su... | true | ###
Copyright (c) PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, m... |
[
{
"context": "RL: your OneDevOps-OnBots server url\n\nCommands:\n @botname get details for <mongodb_objectId_of_the_bot> -> ",
"end": 969,
"score": 0.8708360195159912,
"start": 962,
"tag": "USERNAME",
"value": "botname"
},
{
"context": "g with json template required to redeploy it\n ... | scripts/master/scripts-hipchat/editbot.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | 25053 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... |
[
{
"context": " beforeEach ->\n client = new Client email: 'foo@example.com', token: 'bob'\n \n describe '::send', ->\n ",
"end": 213,
"score": 0.9999209642410278,
"start": 198,
"tag": "EMAIL",
"value": "foo@example.com"
},
{
"context": "nt = new Client email: 'foo@examp... | test/client.coffee | crito/librato-node | 0 | require './support/test_helper'
Client = require '../lib/client'
describe 'Client', ->
{client} = {}
describe 'with email and token', ->
beforeEach ->
client = new Client email: 'foo@example.com', token: 'bob'
describe '::send', ->
it 'sends data to Librato', (done) ->
client... | 64215 | require './support/test_helper'
Client = require '../lib/client'
describe 'Client', ->
{client} = {}
describe 'with email and token', ->
beforeEach ->
client = new Client email: '<EMAIL>', token: '<PASSWORD>'
describe '::send', ->
it 'sends data to Librato', (done) ->
client.... | true | require './support/test_helper'
Client = require '../lib/client'
describe 'Client', ->
{client} = {}
describe 'with email and token', ->
beforeEach ->
client = new Client email: 'PI:EMAIL:<EMAIL>END_PI', token: 'PI:PASSWORD:<PASSWORD>END_PI'
describe '::send', ->
it 'sends data to Li... |
[
{
"context": "# Copyright 2016 Felix Henninger\n#\n# Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9998313188552856,
"start": 17,
"tag": "NAME",
"value": "Felix Henninger"
}
] | grasp.coffee | FelixHenninger/socialgolfers.js | 5 | # Copyright 2016 Felix Henninger
#
# 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 writin... | 216803 | # Copyright 2016 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, softwa... | true | # Copyright 2016 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in w... |
[
{
"context": "thors = authors.slice(0, n)\n authors.push('EtAl') if etal\n\n authors = authors.join('')\n ",
"end": 7104,
"score": 0.9727178812026978,
"start": 7100,
"tag": "NAME",
"value": "EtAl"
}
] | chrome/content/zotero-better-bibtex/BetterBibTeXPatternFormatter.coffee | edwinksl/zotero-better-bibtex | 0 | class BetterBibTeXPatternFormatter
constructor: (@patterns, @fold) ->
Zotero.BetterBibTeX.debug('formatter:', @patterns, @fold)
re:
unsafechars: Zotero.Utilities.XRegExp("[^-\\p{L}0-9_!$*+./;?\\[\\]]")
alphanum: Zotero.Utilities.XRegExp("[^\\p{L}\\p{N}]")
punct: Zotero.Utilities.XRegExp('\\p{Pc}|\\... | 85390 | class BetterBibTeXPatternFormatter
constructor: (@patterns, @fold) ->
Zotero.BetterBibTeX.debug('formatter:', @patterns, @fold)
re:
unsafechars: Zotero.Utilities.XRegExp("[^-\\p{L}0-9_!$*+./;?\\[\\]]")
alphanum: Zotero.Utilities.XRegExp("[^\\p{L}\\p{N}]")
punct: Zotero.Utilities.XRegExp('\\p{Pc}|\\... | true | class BetterBibTeXPatternFormatter
constructor: (@patterns, @fold) ->
Zotero.BetterBibTeX.debug('formatter:', @patterns, @fold)
re:
unsafechars: Zotero.Utilities.XRegExp("[^-\\p{L}0-9_!$*+./;?\\[\\]]")
alphanum: Zotero.Utilities.XRegExp("[^\\p{L}\\p{N}]")
punct: Zotero.Utilities.XRegExp('\\p{Pc}|\\... |
[
{
"context": ").submit( (event) ->\n ws = new WebSocket(\"ws://162.243.130.247:3001/ws\")\n ws.onopen = (event) ->\n sendin",
"end": 5662,
"score": 0.9979420900344849,
"start": 5647,
"tag": "IP_ADDRESS",
"value": "162.243.130.247"
}
] | client/main.coffee | sarum90/hanabi | 1 |
extend = require("node.extend")
addcard = (container, game, card_num) ->
card = new Card()
if card_num >= 0
card = game.cards[card_num]
if not card_num?
card_num = ""
color = card.color
number = card.number
if not card.known
number = '?'
color = 'undefined'
container.append("<li num='#{c... | 141038 |
extend = require("node.extend")
addcard = (container, game, card_num) ->
card = new Card()
if card_num >= 0
card = game.cards[card_num]
if not card_num?
card_num = ""
color = card.color
number = card.number
if not card.known
number = '?'
color = 'undefined'
container.append("<li num='#{c... | true |
extend = require("node.extend")
addcard = (container, game, card_num) ->
card = new Card()
if card_num >= 0
card = game.cards[card_num]
if not card_num?
card_num = ""
color = card.color
number = card.number
if not card.known
number = '?'
color = 'undefined'
container.append("<li num='#{c... |
[
{
"context": "a'\n dd_id = _.keys(dd)[0]\n if key == dd_id\n addPlotWrap(info_dict, dd)\n de",
"end": 3584,
"score": 0.8154609203338623,
"start": 3579,
"tag": "KEY",
"value": "dd_id"
}
] | bokehjs/src/coffee/server/embed_core.coffee | minrk/bokeh | 2 | define [
"common/base",
"common/load_models",
"server/serverutils"
], (base, load_models, serverutils) ->
utility = serverutils.utility
addPlotWrap = (settings, dd) ->
addPlot(settings.bokeh_modelid, settings.bokeh_modeltype,
settings.element, dd);
addPlot = (modelid, modeltype, element, data)... | 206098 | define [
"common/base",
"common/load_models",
"server/serverutils"
], (base, load_models, serverutils) ->
utility = serverutils.utility
addPlotWrap = (settings, dd) ->
addPlot(settings.bokeh_modelid, settings.bokeh_modeltype,
settings.element, dd);
addPlot = (modelid, modeltype, element, data)... | true | define [
"common/base",
"common/load_models",
"server/serverutils"
], (base, load_models, serverutils) ->
utility = serverutils.utility
addPlotWrap = (settings, dd) ->
addPlot(settings.bokeh_modelid, settings.bokeh_modeltype,
settings.element, dd);
addPlot = (modelid, modeltype, element, data)... |
[
{
"context": "gs like `id`, `class`, etc.\n#\n# Copyright (C) 2012 Nikolay Nemshilov\n#\nOptions =\n\n #\n # Sets the options and cleans ",
"end": 276,
"score": 0.9998924732208252,
"start": 259,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | ui/core/src/options.coffee | lovely-io/lovely.io-stl | 2 | #
# Standard UI options processing module
#
# The point is in auto-matic mergin of the
# set of default options, options from the element's
# `data-something` attributes and element's standard
# options, things like `id`, `class`, etc.
#
# Copyright (C) 2012 Nikolay Nemshilov
#
Options =
#
# Sets the options and c... | 168274 | #
# Standard UI options processing module
#
# The point is in auto-matic mergin of the
# set of default options, options from the element's
# `data-something` attributes and element's standard
# options, things like `id`, `class`, etc.
#
# Copyright (C) 2012 <NAME>
#
Options =
#
# Sets the options and cleans them ... | true | #
# Standard UI options processing module
#
# The point is in auto-matic mergin of the
# set of default options, options from the element's
# `data-something` attributes and element's standard
# options, things like `id`, `class`, etc.
#
# Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
Options =
#
# Sets the options an... |
[
{
"context": "rd).then( (hashComponents) ->\n\n user.password = hashComponents.hash\n user.salt = hashComponents.salt\n next()\n\n ",
"end": 966,
"score": 0.9960325956344604,
"start": 947,
"tag": "PASSWORD",
"value": "hashComponents.hash"
},
{
"context": "OGIN_USER_ERROR log... | server/models/user.coffee | unepwcmc/NRT | 0 | mongoose = require('mongoose')
fs = require('fs')
Q = require('q')
crypto = require('crypto')
_ = require('underscore')
ldap = require('ldapjs')
userSchema = mongoose.Schema(
name: String
email: {type: String, unique: true}
password: String
salt: String
distinguishedName: String
)
generateHash = (password, ... | 91754 | mongoose = require('mongoose')
fs = require('fs')
Q = require('q')
crypto = require('crypto')
_ = require('underscore')
ldap = require('ldapjs')
userSchema = mongoose.Schema(
name: String
email: {type: String, unique: true}
password: String
salt: String
distinguishedName: String
)
generateHash = (password, ... | true | mongoose = require('mongoose')
fs = require('fs')
Q = require('q')
crypto = require('crypto')
_ = require('underscore')
ldap = require('ldapjs')
userSchema = mongoose.Schema(
name: String
email: {type: String, unique: true}
password: String
salt: String
distinguishedName: String
)
generateHash = (password, ... |
[
{
"context": "\n\n adminOptions =\n id: 'admin-1234'\n email: 'i-am-admin@example.com'\n",
"end": 3934,
"score": 0.9993298649787903,
"start": 3924,
"tag": "USERNAME",
"value": "admin-1234"
},
{
"context": " id: 'admin-1234'\n ... | spec/main.coffee | CureApp/loopback-with-admin | 13 |
{ normalize } = require 'path'
fs = require 'fs-extra'
Main = require '../src/main'
LoopbackServer = require '../src/lib/loopback-server'
modelDefinitions = {}
configDir = normalize __dirname + '/lib/music-live-configs'
describe 'Main', ->
describe 'env', ->
it 'is "development" by default', ->
... | 225036 |
{ normalize } = require 'path'
fs = require 'fs-extra'
Main = require '../src/main'
LoopbackServer = require '../src/lib/loopback-server'
modelDefinitions = {}
configDir = normalize __dirname + '/lib/music-live-configs'
describe 'Main', ->
describe 'env', ->
it 'is "development" by default', ->
... | true |
{ normalize } = require 'path'
fs = require 'fs-extra'
Main = require '../src/main'
LoopbackServer = require '../src/lib/loopback-server'
modelDefinitions = {}
configDir = normalize __dirname + '/lib/music-live-configs'
describe 'Main', ->
describe 'env', ->
it 'is "development" by default', ->
... |
[
{
"context": "alize_mapbox = (map) ->\n L.mapbox.accessToken = 'pk.eyJ1IjoiY29udGVudHRvb2xzIiwiYSI6ImRjNzE0OTlkYjk2NGJkZWEwMTZmY2QwMTJlYjdjMGI1In0.qKp5IAUQySQHQoT8JBd3ew'\n maxZoom = isIE() && 12 || 14\n\n map = L.mapbox",
"end": 861,
"score": 0.9997064471244812,
"start": 756,
"tag": "KEY",
... | app/assets/javascripts/mapbox.coffee | ryanrolds/SpeedUpYourCity | 7 | jQuery.loadScript = (url, callback) ->
jQuery.ajax
url: url
dataType: 'script'
success: callback
async: true
isIE = ->
ua = window.navigator.userAgent
msie = ua.indexOf('MSIE ')
if msie > 0
# IE 10 or older => return version number
return parseInt(ua.substring(msie + 5, ua.indexOf('.', ... | 20683 | jQuery.loadScript = (url, callback) ->
jQuery.ajax
url: url
dataType: 'script'
success: callback
async: true
isIE = ->
ua = window.navigator.userAgent
msie = ua.indexOf('MSIE ')
if msie > 0
# IE 10 or older => return version number
return parseInt(ua.substring(msie + 5, ua.indexOf('.', ... | true | jQuery.loadScript = (url, callback) ->
jQuery.ajax
url: url
dataType: 'script'
success: callback
async: true
isIE = ->
ua = window.navigator.userAgent
msie = ua.indexOf('MSIE ')
if msie > 0
# IE 10 or older => return version number
return parseInt(ua.substring(msie + 5, ua.indexOf('.', ... |
[
{
"context": "ow-Based Programming for JavaScript\n# (c) 2014 Jon Nordby\n# (c) 2013 TheGrid (Rituwall Inc.)\n# (c) ",
"end": 77,
"score": 0.999554455280304,
"start": 67,
"tag": "NAME",
"value": "Jon Nordby"
},
{
"context": ") 2013 TheGrid (Rituwall Inc.)\n# (c) 2011-... | src/lib/Journal.coffee | ensonic/noflo | 1 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2014 Jon Nordby
# (c) 2013 TheGrid (Rituwall Inc.)
# (c) 2011-2012 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
#
{EventEmitter} = require 'events'
clone = require('./Utils').clone
entryToPrettyString = (entry)... | 1180 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2014 <NAME>
# (c) 2013 TheGrid (Rituwall Inc.)
# (c) 2011-2012 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
#
{EventEmitter} = require 'events'
clone = require('./Utils').clone
entryToPrettyString = (entry) ->
a = e... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2014 PI:NAME:<NAME>END_PI
# (c) 2013 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
#
{EventEmitter} = require 'events'
clone = require('./Utils').clone... |
[
{
"context": "###\n * grunt-deploy-keys\n * https://github.com/cray0000/grunt-deploy-keys\n *\n * Copyright (c) 2014 Pavel ",
"end": 55,
"score": 0.9986616969108582,
"start": 47,
"tag": "USERNAME",
"value": "cray0000"
},
{
"context": "ray0000/grunt-deploy-keys\n *\n * Copyright (c) 2... | Gruntfile.coffee | cray0000/grunt-deploy-keys | 1 | ###
* grunt-deploy-keys
* https://github.com/cray0000/grunt-deploy-keys
*
* Copyright (c) 2014 Pavel Zhukov
* Licensed under the MIT license.
###
module.exports = (grunt) ->
grunt.initConfig
jshint:
all: [
'Gruntfile.js'
'tasks/*.js'
'<%= nodeunit.tests %>'
]
option... | 85853 | ###
* grunt-deploy-keys
* https://github.com/cray0000/grunt-deploy-keys
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
module.exports = (grunt) ->
grunt.initConfig
jshint:
all: [
'Gruntfile.js'
'tasks/*.js'
'<%= nodeunit.tests %>'
]
options:
... | true | ###
* grunt-deploy-keys
* https://github.com/cray0000/grunt-deploy-keys
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
module.exports = (grunt) ->
grunt.initConfig
jshint:
all: [
'Gruntfile.js'
'tasks/*.js'
'<%= nodeunit.tests %>'
]
... |
[
{
"context": "ce 'class-clear-test', '/animals/:name', {name: '@name'}\n\n describe 'with a populated cache', ->\n be",
"end": 353,
"score": 0.8431923389434814,
"start": 349,
"tag": "USERNAME",
"value": "name"
},
{
"context": "er-bunny', source: 'Energizer' }\n { name: 'fr... | test/class_clear_cache.test.coffee | goodeggs/angular-cached-resource | 152 | describe 'CachedResource.$clearCache()', ->
{CachedResource, $cachedResource, $httpBackend, rabbits, combos} = {}
beforeEach ->
inject ($injector) ->
$cachedResource = $injector.get '$cachedResource'
$httpBackend = $injector.get '$httpBackend'
CachedResource = $cachedResource 'class-clear-test'... | 8853 | describe 'CachedResource.$clearCache()', ->
{CachedResource, $cachedResource, $httpBackend, rabbits, combos} = {}
beforeEach ->
inject ($injector) ->
$cachedResource = $injector.get '$cachedResource'
$httpBackend = $injector.get '$httpBackend'
CachedResource = $cachedResource 'class-clear-test'... | true | describe 'CachedResource.$clearCache()', ->
{CachedResource, $cachedResource, $httpBackend, rabbits, combos} = {}
beforeEach ->
inject ($injector) ->
$cachedResource = $injector.get '$cachedResource'
$httpBackend = $injector.get '$httpBackend'
CachedResource = $cachedResource 'class-clear-test'... |
[
{
"context": "sponse.data\n tid = data.tid\n fakeEmail = \"#{tid}@coco.team\"\n\n User.findOne(emailLower: fakeEmail).exec ",
"end": 756,
"score": 0.8094622492790222,
"start": 739,
"tag": "EMAIL",
"value": "\"#{tid}@coco.team"
}
] | server/lib/picoctf.coffee | xavismeh/codecombat | 0 | config = require '../../server_config'
request = require 'request'
User = require '../users/User'
http = require 'http'
authstr = new Buffer("#{config.picoCTF_auth.username}:#{config.picoCTF_auth.password}").toString 'base64'
papi = (url, req, cb) ->
request
url: "#{config.picoCTF_api_url}#{url}"
header... | 141215 | config = require '../../server_config'
request = require 'request'
User = require '../users/User'
http = require 'http'
authstr = new Buffer("#{config.picoCTF_auth.username}:#{config.picoCTF_auth.password}").toString 'base64'
papi = (url, req, cb) ->
request
url: "#{config.picoCTF_api_url}#{url}"
header... | true | config = require '../../server_config'
request = require 'request'
User = require '../users/User'
http = require 'http'
authstr = new Buffer("#{config.picoCTF_auth.username}:#{config.picoCTF_auth.password}").toString 'base64'
papi = (url, req, cb) ->
request
url: "#{config.picoCTF_api_url}#{url}"
header... |
[
{
"context": "# Copyright (C) 2017 Alexandre Pielucha & Marie Perin\n#\n# Permission to use, copy, modify",
"end": 39,
"score": 0.9998580813407898,
"start": 21,
"tag": "NAME",
"value": "Alexandre Pielucha"
},
{
"context": "# Copyright (C) 2017 Alexandre Pielucha & Marie Perin\n#\n# P... | src/models/metrics.coffee | Riemannn/AST_Final_Project | 0 | # Copyright (C) 2017 Alexandre Pielucha & Marie Perin
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... | 219719 | # Copyright (C) 2017 <NAME> & <NAME>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL... | true | # Copyright (C) 2017 PI:NAME:<NAME>END_PI & PI:NAME:<NAME>END_PI
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" ... |
[
{
"context": "# MIT License:\n#\n# Copyright (c) 2010-2012, Joe Walnes\n#\n# Permission is hereby granted, free of charge,",
"end": 54,
"score": 0.9998540878295898,
"start": 44,
"tag": "NAME",
"value": "Joe Walnes"
},
{
"context": "/joewalnes/reconnecting-websocket/\nContributors:\n-... | src/client/reconnecting_websocket.coffee | conversation/ShareJS | 1 | # MIT License:
#
# Copyright (c) 2010-2012, Joe Walnes
#
# 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, m... | 121649 | # MIT License:
#
# Copyright (c) 2010-2012, <NAME>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge... | true | # MIT License:
#
# Copyright (c) 2010-2012, PI:NAME:<NAME>END_PI
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy,... |
[
{
"context": "key: 'hugo-function'\npatterns: [\n {\n match: '({{(?:<|%|-)) *([/|\\",
"end": 19,
"score": 0.9976189732551575,
"start": 6,
"tag": "KEY",
"value": "hugo-function"
}
] | grammars/repositories/inlines/hugo-function.cson | jeremyf/language-markdown | 0 | key: 'hugo-function'
patterns: [
{
match: '({{(?:<|%|-)) *([/|\\w]*)(.+?)((?:>|%|-)}})'
captures:
1: { name: 'code.hugo.begin' }
2: { name: 'code.hugo.function' }
3: { patterns: [
{ include: '#hugo-param' }
{ include: '#links' }
{ include: '#code' }
... | 124423 | key: '<KEY>'
patterns: [
{
match: '({{(?:<|%|-)) *([/|\\w]*)(.+?)((?:>|%|-)}})'
captures:
1: { name: 'code.hugo.begin' }
2: { name: 'code.hugo.function' }
3: { patterns: [
{ include: '#hugo-param' }
{ include: '#links' }
{ include: '#code' }
... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
{
match: '({{(?:<|%|-)) *([/|\\w]*)(.+?)((?:>|%|-)}})'
captures:
1: { name: 'code.hugo.begin' }
2: { name: 'code.hugo.function' }
3: { patterns: [
{ include: '#hugo-param' }
{ include: '#links' }
{ include: '#code' ... |
[
{
"context": "-sign@0.3.0':\n repository: 'https://github.com/mikeal/aws-sign'\n license: 'MIT'\n source: 'index.j",
"end": 79,
"score": 0.9983395338058472,
"start": 73,
"tag": "USERNAME",
"value": "mikeal"
},
{
"context": "*!\n * knox - auth\n * Copyright(c) 201... | build/tasks/license-overrides.coffee | batista/atom | 7 | module.exports =
'aws-sign@0.3.0':
repository: 'https://github.com/mikeal/aws-sign'
license: 'MIT'
source: 'index.js'
sourceText: """
/*!
* knox - auth
* Copyright(c) 2010 LearnBoost <dev@learnboost.com>
* MIT Licensed
*/
<content omitted>
"""
'bufferjs@2.... | 43033 | module.exports =
'aws-sign@0.3.0':
repository: 'https://github.com/mikeal/aws-sign'
license: 'MIT'
source: 'index.js'
sourceText: """
/*!
* knox - auth
* Copyright(c) 2010 LearnBoost <<EMAIL>>
* MIT Licensed
*/
<content omitted>
"""
'bufferjs@2.0.0':
r... | true | module.exports =
'aws-sign@0.3.0':
repository: 'https://github.com/mikeal/aws-sign'
license: 'MIT'
source: 'index.js'
sourceText: """
/*!
* knox - auth
* Copyright(c) 2010 LearnBoost <PI:EMAIL:<EMAIL>END_PI>
* MIT Licensed
*/
<content omitted>
"""
'bufferj... |
[
{
"context": "onderBra for asses'\n version: '1.0'\n authors: ['blzkz', 'Pirado_IV', 'Tunnecino @ ignitae.com']\n",
"end": 1035,
"score": 0.9996475577354431,
"start": 1030,
"tag": "USERNAME",
"value": "blzkz"
},
{
"context": "for asses'\n version: '1.0'\n authors: ['blzkz', 'Pira... | plugins/yoga.coffee | Arrogance/nerdobot | 1 | request = require 'request'
URL = 'http://www.reddit.com/r/yogapants/.json?'
module.exports = ->
@addCommand 'yoga',
description: 'Yoga pants are like WonderBra for asses',
help: 'Search is done in yogapants'
(from, message, channel) =>
if not channel?
@notice from, 'Yoga pants only works ... | 124059 | request = require 'request'
URL = 'http://www.reddit.com/r/yogapants/.json?'
module.exports = ->
@addCommand 'yoga',
description: 'Yoga pants are like WonderBra for asses',
help: 'Search is done in yogapants'
(from, message, channel) =>
if not channel?
@notice from, 'Yoga pants only works ... | true | request = require 'request'
URL = 'http://www.reddit.com/r/yogapants/.json?'
module.exports = ->
@addCommand 'yoga',
description: 'Yoga pants are like WonderBra for asses',
help: 'Search is done in yogapants'
(from, message, channel) =>
if not channel?
@notice from, 'Yoga pants only works ... |
[
{
"context": "key: 'general-block-macro'\n\npatterns: [\n\n # Matches the general ",
"end": 13,
"score": 0.9619296193122864,
"start": 13,
"tag": "KEY",
"value": ""
},
{
"context": "key: 'general-block-macro'\n\npatterns: [\n\n # Matches the general block ",
"end": 19,
"score"... | grammars/repositories/inlines/general-block-macro-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'general-block-macro'
patterns: [
# Matches the general block macro pattern.
#
# Examples
#
# gist::123456[]
#
name: 'markup.macro.block.general.asciidoc'
match: '^(\\p{Word}+)(::)(\\S*?)(\\[)((?:\\\\\\]|[^\\]])*?)(\\])$'
captures:
1: name: 'entity.name.function.asciidoc'
2: name: 'punctuation.sep... | 36087 | key: 'general<KEY>-block<KEY>-macro'
patterns: [
# Matches the general block macro pattern.
#
# Examples
#
# gist::123456[]
#
name: 'markup.macro.block.general.asciidoc'
match: '^(\\p{Word}+)(::)(\\S*?)(\\[)((?:\\\\\\]|[^\\]])*?)(\\])$'
captures:
1: name: 'entity.name.function.asciidoc'
2: name: 'punct... | true | key: 'generalPI:KEY:<KEY>END_PI-blockPI:KEY:<KEY>END_PI-macro'
patterns: [
# Matches the general block macro pattern.
#
# Examples
#
# gist::123456[]
#
name: 'markup.macro.block.general.asciidoc'
match: '^(\\p{Word}+)(::)(\\S*?)(\\[)((?:\\\\\\]|[^\\]])*?)(\\])$'
captures:
1: name: 'entity.name.function.a... |
[
{
"context": "ping=false] {Boolean}\n @example\n obj = {name:\"Drimba\", age:22, skills:{language:\"coffeescript\", editor",
"end": 399,
"score": 0.9998153448104858,
"start": 393,
"tag": "NAME",
"value": "Drimba"
},
{
"context": " ObjectUtil.find obj, {age:22} #returns {name:\... | www/src/theoricus/utils/object_util.coffee | theoricus/theoricus | 2 | ###*
utils module
@module utils
###
###*
ObjectUtil class.
@class ObjectUtil
###
module.exports = class ObjectUtil
###*
Check if source object has given `search` properties.
@method find
@static
@param src {Object} Source object.
@param search {Object} Object to be found within the source obje... | 164511 | ###*
utils module
@module utils
###
###*
ObjectUtil class.
@class ObjectUtil
###
module.exports = class ObjectUtil
###*
Check if source object has given `search` properties.
@method find
@static
@param src {Object} Source object.
@param search {Object} Object to be found within the source obje... | true | ###*
utils module
@module utils
###
###*
ObjectUtil class.
@class ObjectUtil
###
module.exports = class ObjectUtil
###*
Check if source object has given `search` properties.
@method find
@static
@param src {Object} Source object.
@param search {Object} Object to be found within the source obje... |
[
{
"context": "onal_callbacks: ->\n if @get('key') == 'settings_enable_merit_order'\n App.update_merit_order_checkbox()\n\nclass @",
"end": 2864,
"score": 0.857434093952179,
"start": 2846,
"tag": "KEY",
"value": "enable_merit_order"
}
] | app/assets/javascripts/lib/models/input_element.coffee | sfp-kemp/etmodel | 0 | class @InputElement extends Backbone.Model
initialize: ->
@dirty = false
@on_screen = false
@ui_options =
element: $("#input_element_#{@get('key')}")
@bind('change:user_value', @markDirty)
@bind('change:user_value', @logUpdate)
@bind('change:user_value', @update_collection)
@bind('ch... | 41957 | class @InputElement extends Backbone.Model
initialize: ->
@dirty = false
@on_screen = false
@ui_options =
element: $("#input_element_#{@get('key')}")
@bind('change:user_value', @markDirty)
@bind('change:user_value', @logUpdate)
@bind('change:user_value', @update_collection)
@bind('ch... | true | class @InputElement extends Backbone.Model
initialize: ->
@dirty = false
@on_screen = false
@ui_options =
element: $("#input_element_#{@get('key')}")
@bind('change:user_value', @markDirty)
@bind('change:user_value', @logUpdate)
@bind('change:user_value', @update_collection)
@bind('ch... |
[
{
"context": "sNodeId = transactionId ? nodeId\n flowNodeKey = \"#{sendTo}:#{redisNodeId}\"\n\n @client.hincrby \"ping:count:#{bucket}\", 'tot",
"end": 525,
"score": 0.9972457885742188,
"start": 499,
"tag": "KEY",
"value": "\"#{sendTo}:#{redisNodeId}\""
}
] | src/pong-job-processor.coffee | octoblu/nanocyte-interval-service | 0 | _ = require 'lodash'
async = require 'async'
debug = require('debug')('nanocyte-interval-service:pong-job-processor')
class PongJobProcessor
constructor: (options) ->
{@client} = options
processJob: (job, ignore, callback) =>
debug 'processing pong job', job.id, 'data', JSON.stringify j... | 48330 | _ = require 'lodash'
async = require 'async'
debug = require('debug')('nanocyte-interval-service:pong-job-processor')
class PongJobProcessor
constructor: (options) ->
{@client} = options
processJob: (job, ignore, callback) =>
debug 'processing pong job', job.id, 'data', JSON.stringify j... | true | _ = require 'lodash'
async = require 'async'
debug = require('debug')('nanocyte-interval-service:pong-job-processor')
class PongJobProcessor
constructor: (options) ->
{@client} = options
processJob: (job, ignore, callback) =>
debug 'processing pong job', job.id, 'data', JSON.stringify j... |
[
{
"context": "z sa uskutoční dňa 2.6.2015 (utorok) v Dubnici nad Váhom v Doors pube (Školská 340).\n <br>\n ",
"end": 228,
"score": 0.5453847646713257,
"start": 227,
"tag": "NAME",
"value": "V"
}
] | client/views/pages/courses/SKCourses/basicProgramming.coffee | Elfoslav/codermania | 56 | Template.basicProgramming.helpers
courses: ->
date = new Date(2015, 5, 2)
today = new Date()
if date > today
return [
description: """
Kurz sa uskutoční dňa 2.6.2015 (utorok) v Dubnici nad Váhom v Doors pube (Školská 340).
<br>
Prihlásiť sa môžeš na <a href='htt... | 38340 | Template.basicProgramming.helpers
courses: ->
date = new Date(2015, 5, 2)
today = new Date()
if date > today
return [
description: """
Kurz sa uskutoční dňa 2.6.2015 (utorok) v Dubnici nad <NAME>áhom v Doors pube (Školská 340).
<br>
Prihlásiť sa môžeš na <a href... | true | Template.basicProgramming.helpers
courses: ->
date = new Date(2015, 5, 2)
today = new Date()
if date > today
return [
description: """
Kurz sa uskutoční dňa 2.6.2015 (utorok) v Dubnici nad PI:NAME:<NAME>END_PIáhom v Doors pube (Školská 340).
<br>
Prihlásiť sa mô... |
[
{
"context": "ile: 'twitter'\n url: 'http://www.twitter.com/thelucre'\n animateFrom:\n scale: 5\n rx: ",
"end": 3521,
"score": 0.9996027946472168,
"start": 3513,
"tag": "USERNAME",
"value": "thelucre"
},
{
"context": " 'instagram'\n url: 'http://www.insta... | coffee/3d/marquee.coffee | thelucre/lucre-site | 0 | # Dependencies
$ = require 'jquery'
_ = require 'lodash'
THREE = require 'threejs'
Letter = require './letter.coffee'
The = require './the.coffee'
Polyfield = require './polyfield.coffee'
TWEEN = require 'tweenjs'
THREEx = require 'domevents'
Icon = require './icon.coffee'
class Marquee
constructor: () ->
@stat... | 117839 | # Dependencies
$ = require 'jquery'
_ = require 'lodash'
THREE = require 'threejs'
Letter = require './letter.coffee'
The = require './the.coffee'
Polyfield = require './polyfield.coffee'
TWEEN = require 'tweenjs'
THREEx = require 'domevents'
Icon = require './icon.coffee'
class Marquee
constructor: () ->
@stat... | true | # Dependencies
$ = require 'jquery'
_ = require 'lodash'
THREE = require 'threejs'
Letter = require './letter.coffee'
The = require './the.coffee'
Polyfield = require './polyfield.coffee'
TWEEN = require 'tweenjs'
THREEx = require 'domevents'
Icon = require './icon.coffee'
class Marquee
constructor: () ->
@stat... |
[
{
"context": "\n email: undefined\n phone: undefined\n password: undefined\n\nexports.store = Immutable.fromJS\n router: route",
"end": 194,
"score": 0.9952066540718079,
"start": 185,
"tag": "PASSWORD",
"value": "undefined"
}
] | talk-account/client/schema.coffee | ikingye/talk-os | 3,084 |
Immutable = require 'immutable'
routerField = Immutable.fromJS
name: '404'
data: {}
query: {}
accountField = Immutable.fromJS
email: undefined
phone: undefined
password: undefined
exports.store = Immutable.fromJS
router: routerField
serverError: null
client:
account: ''
password: ''
is... | 72459 |
Immutable = require 'immutable'
routerField = Immutable.fromJS
name: '404'
data: {}
query: {}
accountField = Immutable.fromJS
email: undefined
phone: undefined
password: <PASSWORD>
exports.store = Immutable.fromJS
router: routerField
serverError: null
client:
account: ''
password: ''
i... | true |
Immutable = require 'immutable'
routerField = Immutable.fromJS
name: '404'
data: {}
query: {}
accountField = Immutable.fromJS
email: undefined
phone: undefined
password: PI:PASSWORD:<PASSWORD>END_PI
exports.store = Immutable.fromJS
router: routerField
serverError: null
client:
account: ''
... |
[
{
"context": "# \n# timeformater.js Copyright(c) 2014 Wu Yuntao\n# https://github.com/WuYuntaoTheGreat/timeformatt",
"end": 48,
"score": 0.9998577237129211,
"start": 39,
"tag": "NAME",
"value": "Wu Yuntao"
},
{
"context": " Copyright(c) 2014 Wu Yuntao\n# https://github.com/WuYuntaoTh... | test/test.coffee | WuYuntaoTheGreat/timeformatter | 0 | #
# timeformater.js Copyright(c) 2014 Wu Yuntao
# https://github.com/WuYuntaoTheGreat/timeformatter
# Released under the MIT License.
# vim: set ai et ts=4 sw=4 cc=80 nu:
#
assert = require "assert"
pad2 = (n) ->
(if n < 10 then '0' else '') + n
describe "The test of timeformatter.js", ->
describe "# Ommit... | 51691 | #
# timeformater.js Copyright(c) 2014 <NAME>
# https://github.com/WuYuntaoTheGreat/timeformatter
# Released under the MIT License.
# vim: set ai et ts=4 sw=4 cc=80 nu:
#
assert = require "assert"
pad2 = (n) ->
(if n < 10 then '0' else '') + n
describe "The test of timeformatter.js", ->
describe "# Ommit Da... | true | #
# timeformater.js Copyright(c) 2014 PI:NAME:<NAME>END_PI
# https://github.com/WuYuntaoTheGreat/timeformatter
# Released under the MIT License.
# vim: set ai et ts=4 sw=4 cc=80 nu:
#
assert = require "assert"
pad2 = (n) ->
(if n < 10 then '0' else '') + n
describe "The test of timeformatter.js", ->
descri... |
[
{
"context": "#################\n# Copyright (C) 2014-2017 by Vaughn Iverson\n# fileCollection is free software released un",
"end": 124,
"score": 0.9998210072517395,
"start": 110,
"tag": "NAME",
"value": "Vaughn Iverson"
},
{
"context": "ee this link for a workaround: https:... | src/gridFS_server.coffee | thumptech/meteor-file-collection | 0 | ############################################################################
# Copyright (C) 2014-2017 by Vaughn Iverson
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################... | 157558 | ############################################################################
# Copyright (C) 2014-2017 by <NAME>
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
############################################################################
if Met... | true | ############################################################################
# Copyright (C) 2014-2017 by PI:NAME:<NAME>END_PI
# fileCollection is free software released under the MIT/X11 license.
# See included LICENSE file for details.
######################################################################... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.999914824962616,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/modding-profile/detail.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 { DetailBar } from './detail-bar'
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React.createElement
bn = '... | 199628 | # 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 { DetailBar } from './detail-bar'
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React.createElement
bn = 'profile... | 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 { DetailBar } from './detail-bar'
import * as React from 'react'
import { div } from 'react-dom-factories'
el = React.createElemen... |
[
{
"context": "loudinary.config\n cloud_name: 'frms'\n api_key: '591385594686221'\n api_secret: 'Me9NoX6leslFqnZdDWqZmbqbxRo'\n\nmod",
"end": 101,
"score": 0.9862912893295288,
"start": 86,
"tag": "KEY",
"value": "591385594686221"
},
{
"context": "frms'\n api_key: '591385594686221'... | src/cloudinary.coffee | damaera/framesia-code | 1 | cloudinary = require 'cloudinary'
cloudinary.config
cloud_name: 'frms'
api_key: '591385594686221'
api_secret: 'Me9NoX6leslFqnZdDWqZmbqbxRo'
module.exports =
upload: cloudinary.uploader.upload
image: cloudinary.image | 99168 | cloudinary = require 'cloudinary'
cloudinary.config
cloud_name: 'frms'
api_key: '<KEY>'
api_secret: '<KEY>'
module.exports =
upload: cloudinary.uploader.upload
image: cloudinary.image | true | cloudinary = require 'cloudinary'
cloudinary.config
cloud_name: 'frms'
api_key: 'PI:KEY:<KEY>END_PI'
api_secret: 'PI:KEY:<KEY>END_PI'
module.exports =
upload: cloudinary.uploader.upload
image: cloudinary.image |
[
{
"context": "#TODO(jpillora): see 'dataums'\nApp.controller 'Spotlight', ($roo",
"end": 14,
"score": 0.9995288848876953,
"start": 6,
"tag": "USERNAME",
"value": "jpillora"
},
{
"context": "t = $scope\n scope.shown = false\n key.bind 'Super-\\\\', ->\n scope.shown = not scope.sh... | src/scripts/controllers/spotlight.coffee | jpillora/js-play | 11 | #TODO(jpillora): see 'dataums'
App.controller 'Spotlight', ($rootScope, $scope, key) ->
scope = $rootScope.spotlight = $scope
scope.shown = false
key.bind 'Super-\\', ->
scope.shown = not scope.shown
scope.$apply()
| 27089 | #TODO(jpillora): see 'dataums'
App.controller 'Spotlight', ($rootScope, $scope, key) ->
scope = $rootScope.spotlight = $scope
scope.shown = false
key.bind 'Super<KEY>-\\', ->
scope.shown = not scope.shown
scope.$apply()
| true | #TODO(jpillora): see 'dataums'
App.controller 'Spotlight', ($rootScope, $scope, key) ->
scope = $rootScope.spotlight = $scope
scope.shown = false
key.bind 'SuperPI:KEY:<KEY>END_PI-\\', ->
scope.shown = not scope.shown
scope.$apply()
|
[
{
"context": "anceof uglify.AST_Dot && node.expression.name == \"Batman\" && node.property = \"developer\"\n return true",
"end": 341,
"score": 0.967633068561554,
"start": 335,
"tag": "NAME",
"value": "Batman"
},
{
"context": "anceof uglify.AST_Sub && node.expression.name == \"B... | src/tools/remove_development_transform.coffee | davidcornu/batman | 0 | uglify = require 'uglify-js'
emptyNode = (node) ->
newNode = new uglify.AST_EmptyStatement
newNode.start = node.start
newNode.end = node.end
newNode
isDeveloperNamespace = (nodeOrString) ->
if nodeOrString instanceof uglify.AST_Node
node = nodeOrString
if node instanceof uglify.AST_Dot && node.expre... | 139839 | uglify = require 'uglify-js'
emptyNode = (node) ->
newNode = new uglify.AST_EmptyStatement
newNode.start = node.start
newNode.end = node.end
newNode
isDeveloperNamespace = (nodeOrString) ->
if nodeOrString instanceof uglify.AST_Node
node = nodeOrString
if node instanceof uglify.AST_Dot && node.expre... | true | uglify = require 'uglify-js'
emptyNode = (node) ->
newNode = new uglify.AST_EmptyStatement
newNode.start = node.start
newNode.end = node.end
newNode
isDeveloperNamespace = (nodeOrString) ->
if nodeOrString instanceof uglify.AST_Node
node = nodeOrString
if node instanceof uglify.AST_Dot && node.expre... |
[
{
"context": "\n # excludes reserved space >= 224.0.0.0\n # excludes network & broacast",
"end": 26867,
"score": 0.9983105063438416,
"start": 26858,
"tag": "IP_ADDRESS",
"value": "224.0.0.0"
}
] | app/coffee/app.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | 3648 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... |
[
{
"context": "### (C) 2014 Narazaka : Licensed under The MIT License - http://narazak",
"end": 21,
"score": 0.9998506903648376,
"start": 13,
"tag": "NAME",
"value": "Narazaka"
}
] | src/lib/germ.coffee | Narazaka/germ | 1 | ### (C) 2014 Narazaka : Licensed under The MIT License - http://narazaka.net/license/MIT?2014 ###
### This software is using Apache License software "request" ###
fs = require 'fs'
path = require 'path'
url = require 'url'
request = require 'request'
jsyaml = require 'js-yaml'
JSZip = require 'jszip'
jconv = require '... | 200161 | ### (C) 2014 <NAME> : Licensed under The MIT License - http://narazaka.net/license/MIT?2014 ###
### This software is using Apache License software "request" ###
fs = require 'fs'
path = require 'path'
url = require 'url'
request = require 'request'
jsyaml = require 'js-yaml'
JSZip = require 'jszip'
jconv = require 'jc... | true | ### (C) 2014 PI:NAME:<NAME>END_PI : Licensed under The MIT License - http://narazaka.net/license/MIT?2014 ###
### This software is using Apache License software "request" ###
fs = require 'fs'
path = require 'path'
url = require 'url'
request = require 'request'
jsyaml = require 'js-yaml'
JSZip = require 'jszip'
jconv... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992702007293701,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream-pipe-after-end.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 50800 | # 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": "d(\"maps\", \"3\", {callback: init, other_params:\"key=AIzaSyDIGWmhdUPAIEyt8hlIAgBtTUIsOMhrjCc\"});\n\ninit = () ->\n if (google.loader.ClientLocat",
"end": 2736,
"score": 0.9996992945671082,
"start": 2697,
"tag": "KEY",
"value": "AIzaSyDIGWmhdUPAIEyt8hlIAgBtTUIsOMhrjCc"
}
] | app/assets/javascripts/map.js.coffee | cooperative-humans/localorbit | 16 | class Map
constructor: (container_id, center, map_id) ->
@markets = []
@map = new L.Map container_id,
center: center
zoom: 15
attributionControl: false
@bounds = new L.LatLngBounds([center])
@map.addLayer(new L.tileLayer("https://{s}.tiles.mapbox.com/v3/#{map_id}/{z}/{x}/{y}.png"))
... | 152507 | class Map
constructor: (container_id, center, map_id) ->
@markets = []
@map = new L.Map container_id,
center: center
zoom: 15
attributionControl: false
@bounds = new L.LatLngBounds([center])
@map.addLayer(new L.tileLayer("https://{s}.tiles.mapbox.com/v3/#{map_id}/{z}/{x}/{y}.png"))
... | true | class Map
constructor: (container_id, center, map_id) ->
@markets = []
@map = new L.Map container_id,
center: center
zoom: 15
attributionControl: false
@bounds = new L.LatLngBounds([center])
@map.addLayer(new L.tileLayer("https://{s}.tiles.mapbox.com/v3/#{map_id}/{z}/{x}/{y}.png"))
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992570281028748,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "uld still run.\n #\n # https://github.com/joyent/node/issues/2631\n domain = fi... | lib/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... | 183773 | # 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.