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": "options), written)\n\nif not module.parent\n key = 'aaaa/bbbb'\n # e = new CacheEntry(key, 'aaaaaaabbbb', {expi",
"end": 4220,
"score": 0.9989151954650879,
"start": 4211,
"tag": "KEY",
"value": "aaaa/bbbb"
},
{
"context": "\n key = 'aaaa/bbbb'\n # e = new CacheEntry... | server/cache.coffee | ShiningRay/static-caching-proxy | 1 | _ = require 'underscore'
pathUtil = require 'path'
mkdirp = require('mkdirp')
fs = require 'fs'
w = require 'when'
callbacks = require 'when/callbacks'
nodefn = require 'when/node/function'
moment = require('moment')
{EventEmitter} = require 'even... | 184732 | _ = require 'underscore'
pathUtil = require 'path'
mkdirp = require('mkdirp')
fs = require 'fs'
w = require 'when'
callbacks = require 'when/callbacks'
nodefn = require 'when/node/function'
moment = require('moment')
{EventEmitter} = require 'even... | true | _ = require 'underscore'
pathUtil = require 'path'
mkdirp = require('mkdirp')
fs = require 'fs'
w = require 'when'
callbacks = require 'when/callbacks'
nodefn = require 'when/node/function'
moment = require('moment')
{EventEmitter} = require 'even... |
[
{
"context": "bcrypt = require 'bcrypt'\npepper = \"d2372efb19bc4001daad9033159cf4c84049a9dd509e8c12cb7c16a81e8bfe281f36a9994008c8b2229c052b23f52e0db2d52e226f6c3202767fd918a82b3564\"\nsalt = bcrypt.genSaltSync( 10 )\nencrypted_passwo",
"end": 164,
"score": 0.8536579012870789,
"start": 36,
"tag":... | db/seeds/development/user.coffee | scottbarstow/sample-node-web | 0 | bcrypt = require 'bcrypt'
pepper = "d2372efb19bc4001daad9033159cf4c84049a9dd509e8c12cb7c16a81e8bfe281f36a9994008c8b2229c052b23f52e0db2d52e226f6c3202767fd918a82b3564"
salt = bcrypt.genSaltSync( 10 )
encrypted_password = bcrypt.hashSync('111111' + pepper, salt)
User.seed ->
email: 'admin@yourco.com'
is_admin: tr... | 164080 | bcrypt = require 'bcrypt'
pepper = "<KEY>"
salt = bcrypt.genSaltSync( 10 )
encrypted_password = bcrypt.hashSync('<PASSWORD>' + pepper, salt)
User.seed ->
email: '<EMAIL>'
is_admin: true
encrypted_password: <PASSWORD>
confirmed_at: Date.now()
id: 1
User.seed ->
email: '<EMAIL>'
is_admin: fa... | true | bcrypt = require 'bcrypt'
pepper = "PI:KEY:<KEY>END_PI"
salt = bcrypt.genSaltSync( 10 )
encrypted_password = bcrypt.hashSync('PI:PASSWORD:<PASSWORD>END_PI' + pepper, salt)
User.seed ->
email: 'PI:EMAIL:<EMAIL>END_PI'
is_admin: true
encrypted_password: PI:PASSWORD:<PASSWORD>END_PI
confirmed_at: Date.now... |
[
{
"context": "virtual_host, \"reflector\"},\n\\n {username, \"guest\"},\n\\n {password, \"guest\"}\n\\n ]}, \n\\n ",
"end": 1225,
"score": 0.9991515874862671,
"start": 1220,
"tag": "USERNAME",
"value": "guest"
},
{
"context": " {username, \"guest\"},\n\\n ... | node_modules/core/node_modules/amqp-dl/test2src/federation.coffee | vugutsa/Instagram-app | 1,108 | usage_text =
'
Test federated multi-hop message receipt.
\n
\n* Probably you want to do this on a fresh rabbitmq install...
\n
\nTo enable this test:
\n1. Create a virtual host named "reflector" and provide access
\n2. Bring down the rabbit
\n3. Enable the federation plugin
\n4. Include this federation configuration as... | 119916 | usage_text =
'
Test federated multi-hop message receipt.
\n
\n* Probably you want to do this on a fresh rabbitmq install...
\n
\nTo enable this test:
\n1. Create a virtual host named "reflector" and provide access
\n2. Bring down the rabbit
\n3. Enable the federation plugin
\n4. Include this federation configuration as... | true | usage_text =
'
Test federated multi-hop message receipt.
\n
\n* Probably you want to do this on a fresh rabbitmq install...
\n
\nTo enable this test:
\n1. Create a virtual host named "reflector" and provide access
\n2. Bring down the rabbit
\n3. Enable the federation plugin
\n4. Include this federation configuration as... |
[
{
"context": "b.io/)\n- [CoffeeScript source](https://github.com/baconjs/bacon.js/blob/master/src/Bacon.coffee)\n- [Generat",
"end": 779,
"score": 0.9960950016975403,
"start": 772,
"tag": "USERNAME",
"value": "baconjs"
},
{
"context": "ffee)\n- [Generated javascript](https://github.c... | readme.coffee | dkiyatkin/bacon.js | 1 | doc = new (require "./readme/doc.coffee")
doc.section "Bacon.js"
doc.logo()
doc.text """
A small functional reactive programming lib for JavaScript.
Turns your event spaghetti into clean and declarative feng shui bacon, by switching
from imperative to functional. It's like replacing nested for-loops with functional p... | 24029 | doc = new (require "./readme/doc.coffee")
doc.section "Bacon.js"
doc.logo()
doc.text """
A small functional reactive programming lib for JavaScript.
Turns your event spaghetti into clean and declarative feng shui bacon, by switching
from imperative to functional. It's like replacing nested for-loops with functional p... | true | doc = new (require "./readme/doc.coffee")
doc.section "Bacon.js"
doc.logo()
doc.text """
A small functional reactive programming lib for JavaScript.
Turns your event spaghetti into clean and declarative feng shui bacon, by switching
from imperative to functional. It's like replacing nested for-loops with functional p... |
[
{
"context": "ig = {}\n\nconfig.database =\n test:\n username: \"testing\"\n password: \"testing\"\n host: \"#{process.env",
"end": 61,
"score": 0.9980480074882507,
"start": 54,
"tag": "USERNAME",
"value": "testing"
},
{
"context": " =\n test:\n username: \"testing\"\n ... | test/app/config/server/config.coffee | komola/salad | 2 | config = {}
config.database =
test:
username: "testing"
password: "testing"
host: "#{process.env.DB_HOST || 'postgres'}"
database: "salad-testing"
port: 5432
logging: false
pool:
maxConnections: 5
maxIdleTime: 30
config.mailer =
test:
transport: "debug"
user: ""
... | 65199 | config = {}
config.database =
test:
username: "testing"
password: "<PASSWORD>"
host: "#{process.env.DB_HOST || 'postgres'}"
database: "salad-testing"
port: 5432
logging: false
pool:
maxConnections: 5
maxIdleTime: 30
config.mailer =
test:
transport: "debug"
user: ""
... | true | config = {}
config.database =
test:
username: "testing"
password: "PI:PASSWORD:<PASSWORD>END_PI"
host: "#{process.env.DB_HOST || 'postgres'}"
database: "salad-testing"
port: 5432
logging: false
pool:
maxConnections: 5
maxIdleTime: 30
config.mailer =
test:
transport: "de... |
[
{
"context": " ]\n\n mySheet.addRow \n id: 1\n name: \"johndoe\"\n dob: \"date\"\n\n mySheet.addRow \n id:",
"end": 709,
"score": 0.9997947216033936,
"start": 702,
"tag": "NAME",
"value": "johndoe"
},
{
"context": "te\"\n\n mySheet.addRow \n id: 2\n... | src/lib/xlsx.coffee | assignittous/knodeo_workshop | 0 |
Excel = require('exceljs')
logger = require('aitutils').aitutils.logger
config = require("../lib/configuration").Configuration
exports.Xlsx =
objectToXlsx: (object, filename)->
options =
filename: filename
useStyles: true
useSharedStrings: true
workbook = new Excel.stream.xlsx.W... | 177558 |
Excel = require('exceljs')
logger = require('aitutils').aitutils.logger
config = require("../lib/configuration").Configuration
exports.Xlsx =
objectToXlsx: (object, filename)->
options =
filename: filename
useStyles: true
useSharedStrings: true
workbook = new Excel.stream.xlsx.W... | true |
Excel = require('exceljs')
logger = require('aitutils').aitutils.logger
config = require("../lib/configuration").Configuration
exports.Xlsx =
objectToXlsx: (object, filename)->
options =
filename: filename
useStyles: true
useSharedStrings: true
workbook = new Excel.stream.xlsx.W... |
[
{
"context": "key: 'link-title'\npatterns: [\n {\n name: 'title.link.md'\n ma",
"end": 16,
"score": 0.9381506443023682,
"start": 6,
"tag": "KEY",
"value": "link-title"
}
] | grammars/repositories/inlines/link-title.cson | doc22940/language-markdown | 138 | key: 'link-title'
patterns: [
{
name: 'title.link.md'
match: '^([\'|"])(.*)(\\1)$'
captures:
1: name: 'punctuation.md'
3: name: 'punctuation.md'
}
{
name: 'title.link.md'
match: '^(\\()(.*)(\\))$'
captures:
1: name: 'punctuation.md'
3: name: 'punctuation.md'
}
]
| 40485 | key: '<KEY>'
patterns: [
{
name: 'title.link.md'
match: '^([\'|"])(.*)(\\1)$'
captures:
1: name: 'punctuation.md'
3: name: 'punctuation.md'
}
{
name: 'title.link.md'
match: '^(\\()(.*)(\\))$'
captures:
1: name: 'punctuation.md'
3: name: 'punctuation.md'
}
]
| true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
{
name: 'title.link.md'
match: '^([\'|"])(.*)(\\1)$'
captures:
1: name: 'punctuation.md'
3: name: 'punctuation.md'
}
{
name: 'title.link.md'
match: '^(\\()(.*)(\\))$'
captures:
1: name: 'punctuation.md'
3: name: 'punctuation.md'... |
[
{
"context": "###\nCopyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(",
"end": 36,
"score": 0.9998418688774109,
"start": 24,
"tag": "NAME",
"value": "Bill Burdick"
},
{
"context": ", Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure\n\n(lic... | leisure/build/src/leisureRepl.coffee | zot/Leisure | 58 | ###
Copyright (C) 2013, Bill Burdick, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyo... | 58233 | ###
Copyright (C) 2013, <NAME>, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to ... | true | ###
Copyright (C) 2013, PI:NAME:<NAME>END_PI, Tiny Concepts: https://github.com/zot/Leisure
(licensed with ZLIB license)
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted... |
[
{
"context": " socket: null\n connecting: false\n name: 'Posva'\n password: 'posva'\n players: []\n matche",
"end": 224,
"score": 0.87704998254776,
"start": 222,
"tag": "NAME",
"value": "va"
},
{
"context": "onnecting: false\n name: 'Posva'\n password: 'posva'\n ... | client/main.coffee | posva/dominion | 2 | Vue = require 'vue'
io = require 'socket.io-client'
_ = require 'lodash'
status = new Vue
el: '#status'
directives:
disabled: (v) -> @el.disabled = !!v
data:
socket: null
connecting: false
name: 'Posva'
password: 'posva'
players: []
matches: []
myGame: null
methods:
connect:... | 204176 | Vue = require 'vue'
io = require 'socket.io-client'
_ = require 'lodash'
status = new Vue
el: '#status'
directives:
disabled: (v) -> @el.disabled = !!v
data:
socket: null
connecting: false
name: 'Pos<NAME>'
password: '<PASSWORD>'
players: []
matches: []
myGame: null
methods:
... | true | Vue = require 'vue'
io = require 'socket.io-client'
_ = require 'lodash'
status = new Vue
el: '#status'
directives:
disabled: (v) -> @el.disabled = !!v
data:
socket: null
connecting: false
name: 'PosPI:NAME:<NAME>END_PI'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
players: []
matches: []... |
[
{
"context": "/responses array for list of gifs.\n#\n# Author:\n# Etienne Marais <etienne.marais@olx.com>\n\nresponses = require './",
"end": 369,
"score": 0.9998696446418762,
"start": 355,
"tag": "NAME",
"value": "Etienne Marais"
},
{
"context": "for list of gifs.\n#\n# Author:\n#... | huehuehue.coffee | etiennemarais/hubot-huehuehue | 0 | # Description:
# A hubot addon to listen for various types of lolz. Will reply with a
# huehuehue meme gif from the defined list.
#
# Dependencies:
# "coffee-script": "^1.9.0"
#
# Configuration:
# None
#
# Commands:
# No special commands needed, it will listen for huehue
#
# Notes
# See data/responses array... | 159886 | # Description:
# A hubot addon to listen for various types of lolz. Will reply with a
# huehuehue meme gif from the defined list.
#
# Dependencies:
# "coffee-script": "^1.9.0"
#
# Configuration:
# None
#
# Commands:
# No special commands needed, it will listen for huehue
#
# Notes
# See data/responses array... | true | # Description:
# A hubot addon to listen for various types of lolz. Will reply with a
# huehuehue meme gif from the defined list.
#
# Dependencies:
# "coffee-script": "^1.9.0"
#
# Configuration:
# None
#
# Commands:
# No special commands needed, it will listen for huehue
#
# Notes
# See data/responses array... |
[
{
"context": "###\n# ExifExodus\n# 0.0.2\n# Dan Motzenbecker\n# http://oxism.com\n###\n\n\nreportErr = (msg, imgSet",
"end": 43,
"score": 0.9998184442520142,
"start": 27,
"tag": "NAME",
"value": "Dan Motzenbecker"
}
] | exifexodus.coffee | VasilissaOrg/ExifExodus | 14 | ###
# ExifExodus
# 0.0.2
# Dan Motzenbecker
# http://oxism.com
###
reportErr = (msg, imgSet) ->
if imgSet
if confirm "ExifExodus: #{ msg } Click OK to open your EXIF-free images in new tabs."
open URL.createObjectURL(blob), '_blank' for blob in imgSet
null
else
alert 'ExifExodus: ' + msg
for... | 210730 | ###
# ExifExodus
# 0.0.2
# <NAME>
# http://oxism.com
###
reportErr = (msg, imgSet) ->
if imgSet
if confirm "ExifExodus: #{ msg } Click OK to open your EXIF-free images in new tabs."
open URL.createObjectURL(blob), '_blank' for blob in imgSet
null
else
alert 'ExifExodus: ' + msg
for cons in [... | true | ###
# ExifExodus
# 0.0.2
# PI:NAME:<NAME>END_PI
# http://oxism.com
###
reportErr = (msg, imgSet) ->
if imgSet
if confirm "ExifExodus: #{ msg } Click OK to open your EXIF-free images in new tabs."
open URL.createObjectURL(blob), '_blank' for blob in imgSet
null
else
alert 'ExifExodus: ' + msg
... |
[
{
"context": "ert \"Galloping...\"\n super 45\n\nsam = new Snake \"Sammy the Python\"\ntom = new Horse \"Tommy the Palomino\"\n\nsam.move()",
"end": 939,
"score": 0.9958322048187256,
"start": 923,
"tag": "NAME",
"value": "Sammy the Python"
},
{
"context": "m = new Snake \"Sammy th... | elpa/coffee-mode-0.4.1/examples/basic.coffee | jakobgt/dot-emacs | 0 | # These examples are taken from
# http://jashkenas.github.com/coffee-script/
song = ["do", "re", "mi", "fa", "so"]
ages = {
max: 10
ida: 9
tim: 11
}
matrix = [
1, 0, 1
0, 0, 1
1, 1, 0
]
eldest = if 24 > 21 then "Liz" else "Ike"
six = (one = 1) + (two = 2) + (three = 3)
My.mood = greatly_improved if tr... | 186234 | # These examples are taken from
# http://jashkenas.github.com/coffee-script/
song = ["do", "re", "mi", "fa", "so"]
ages = {
max: 10
ida: 9
tim: 11
}
matrix = [
1, 0, 1
0, 0, 1
1, 1, 0
]
eldest = if 24 > 21 then "Liz" else "Ike"
six = (one = 1) + (two = 2) + (three = 3)
My.mood = greatly_improved if tr... | true | # These examples are taken from
# http://jashkenas.github.com/coffee-script/
song = ["do", "re", "mi", "fa", "so"]
ages = {
max: 10
ida: 9
tim: 11
}
matrix = [
1, 0, 1
0, 0, 1
1, 1, 0
]
eldest = if 24 > 21 then "Liz" else "Ike"
six = (one = 1) + (two = 2) + (three = 3)
My.mood = greatly_improved if tr... |
[
{
"context": "# Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>\n'use strict'\n\n###\n Parf",
"end": 34,
"score": 0.9998707175254822,
"start": 22,
"tag": "NAME",
"value": "David M. Lee"
},
{
"context": "# Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>\n'use stri... | src/index.coffee | building5/parfaitjs | 1 | # Copyright (c) 2014. David M. Lee, II <leedm777@yahoo.com>
'use strict'
###
Parfait.js loader.
###
configure = require './configure'
confmerge = require './confmerge'
module.exports = { configure, confmerge }
| 188797 | # Copyright (c) 2014. <NAME>, II <<EMAIL>>
'use strict'
###
Parfait.js loader.
###
configure = require './configure'
confmerge = require './confmerge'
module.exports = { configure, confmerge }
| true | # Copyright (c) 2014. PI:NAME:<NAME>END_PI, II <PI:EMAIL:<EMAIL>END_PI>
'use strict'
###
Parfait.js loader.
###
configure = require './configure'
confmerge = require './confmerge'
module.exports = { configure, confmerge }
|
[
{
"context": " # ```coffeescript\n # wrapped.set 'child:name', 'Billy'\n # wrapped.get 'child'\n # ```\n #\n # Returns:",
"end": 740,
"score": 0.9996178150177002,
"start": 735,
"tag": "NAME",
"value": "Billy"
},
{
"context": "hild'\n # ```\n #\n # Returns: `{ id: 200, name: '... | src/config.coffee | cha0s/truss | 0 | # # Configuration system.
#
# *Handle getting, setting, and checking configuration state.*
module.exports = new class Config
# This class allows us to wrap and subsequently get, set, and check the
# existence of values in a configuration tree. The configuration tree may be
# traversed with colons, e.g. `parent:c... | 168812 | # # Configuration system.
#
# *Handle getting, setting, and checking configuration state.*
module.exports = new class Config
# This class allows us to wrap and subsequently get, set, and check the
# existence of values in a configuration tree. The configuration tree may be
# traversed with colons, e.g. `parent:c... | true | # # Configuration system.
#
# *Handle getting, setting, and checking configuration state.*
module.exports = new class Config
# This class allows us to wrap and subsequently get, set, and check the
# existence of values in a configuration tree. The configuration tree may be
# traversed with colons, e.g. `parent:c... |
[
{
"context": "slack.com')\nprogram.option('-o, --token <value>','https://hooks.slack.com/services/something/something/token')\nprogram.option('-c, --channel <value>','general",
"end": 377,
"score": 0.9951908588409424,
"start": 319,
"tag": "KEY",
"value": "https://hooks.slack.com/services/som... | lib/slackMocha.coffee | ICGGroup/icg-slack-mocha | 0 | Mocha = require('mocha')
fs = require('fs')
path = require('path')
slackReporter = require('mocha-slack-reporter')
program = require('commander')
mocha = new Mocha
pkg = require('../package.json')
program.version(pkg.version)
program.option('-e, --team <value>','team.slack.com')
program.option('-o, --token <value>','h... | 144020 | Mocha = require('mocha')
fs = require('fs')
path = require('path')
slackReporter = require('mocha-slack-reporter')
program = require('commander')
mocha = new Mocha
pkg = require('../package.json')
program.version(pkg.version)
program.option('-e, --team <value>','team.slack.com')
program.option('-o, --token <value>','<... | true | Mocha = require('mocha')
fs = require('fs')
path = require('path')
slackReporter = require('mocha-slack-reporter')
program = require('commander')
mocha = new Mocha
pkg = require('../package.json')
program.version(pkg.version)
program.option('-e, --team <value>','team.slack.com')
program.option('-o, --token <value>','P... |
[
{
"context": "###*\n# @author David Bouman\n# @module App\n###\n\n'use strict'\n\n\n###*\n",
"end": 37,
"score": 0.9998688697814941,
"start": 25,
"tag": "NAME",
"value": "David Bouman"
},
{
"context": "to get\n# [`browserify-shim`](https://github.com/thlorenz/br... | generators/demo/templates/vendor/jquery-for-cdns-shim.coffee | marviq/generator-bat | 3 | ###*
# @author David Bouman
# @module App
###
'use strict'
###*
# This shim exist solely for the purpose of exposing the bundled `jquery` on the global scope as `jQuery`.
#
# This way, any CDN loaded code that expect it there, will be able to find it.
#
# The shim has no code of itself and ... | 192678 | ###*
# @author <NAME>
# @module App
###
'use strict'
###*
# This shim exist solely for the purpose of exposing the bundled `jquery` on the global scope as `jQuery`.
#
# This way, any CDN loaded code that expect it there, will be able to find it.
#
# The shim has no code of itself and export... | true | ###*
# @author PI:NAME:<NAME>END_PI
# @module App
###
'use strict'
###*
# This shim exist solely for the purpose of exposing the bundled `jquery` on the global scope as `jQuery`.
#
# This way, any CDN loaded code that expect it there, will be able to find it.
#
# The shim has no code of its... |
[
{
"context": "###\n# grunt/compass.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Define our com",
"end": 49,
"score": 0.9996523857116699,
"start": 38,
"tag": "NAME",
"value": "Dan Nichols"
}
] | grunt/compass.coffee | dlnichols/h_media | 0 | ###
# grunt/compass.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Define our compass configuration block for grunt
###
'use strict'
module.exports =
# Compiles Sass to CSS
options:
sassDir: 'app/styles/'
imagesDir: 'app/images/'
javascriptsDir: ... | 153332 | ###
# grunt/compass.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Define our compass configuration block for grunt
###
'use strict'
module.exports =
# Compiles Sass to CSS
options:
sassDir: 'app/styles/'
imagesDir: 'app/images/'
javascriptsDir: 'app/... | true | ###
# grunt/compass.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Define our compass configuration block for grunt
###
'use strict'
module.exports =
# Compiles Sass to CSS
options:
sassDir: 'app/styles/'
imagesDir: 'app/images/'
javascriptsDir: ... |
[
{
"context": " array for list of trigger phrases\n#\n# Author:\n# PJ Cabrera <pj.cabrera@gmail.com> (https://github.com/pjcabr",
"end": 405,
"score": 0.9999071359634399,
"start": 395,
"tag": "NAME",
"value": "PJ Cabrera"
},
{
"context": "st of trigger phrases\n#\n# Author:\n# PJ ... | scripts/jargonmemes.coffee | pjcabrera/pjc-hubot | 0 | # Description:
# Jargon Memes is summoned when configurable jargon is used
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_MEMES_JARGON comma-separated list of additional "tiggers"
# HUBOT_OMMITED_MEMES_JARGON comma-separated list of "tiggers" to not trigger
#
# Commands:
# jargon - summons business cat
#... | 183926 | # Description:
# Jargon Memes is summoned when configurable jargon is used
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_MEMES_JARGON comma-separated list of additional "tiggers"
# HUBOT_OMMITED_MEMES_JARGON comma-separated list of "tiggers" to not trigger
#
# Commands:
# jargon - summons business cat
#... | true | # Description:
# Jargon Memes is summoned when configurable jargon is used
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_MEMES_JARGON comma-separated list of additional "tiggers"
# HUBOT_OMMITED_MEMES_JARGON comma-separated list of "tiggers" to not trigger
#
# Commands:
# jargon - summons business cat
#... |
[
{
"context": "ta =\n title: 'resumable jobs'\n to: 'tj@learnboost.com'\n total_jobs = 3\n for i in [0...total_j",
"end": 1167,
"score": 0.9999241828918457,
"start": 1150,
"tag": "EMAIL",
"value": "tj@learnboost.com"
}
] | test/shutdown.coffee | finalclass/kue | 7,601 | should = require 'should'
kue = require '../'
describe 'Kue', ->
before (done) ->
jobs = kue.createQueue()
jobs.client.flushdb done
after (done) ->
jobs = kue.createQueue()
jobs.client.flushdb done
describe 'Shutdown', ->
it 'should return singleton from createQueue', (done) ->
job... | 96365 | should = require 'should'
kue = require '../'
describe 'Kue', ->
before (done) ->
jobs = kue.createQueue()
jobs.client.flushdb done
after (done) ->
jobs = kue.createQueue()
jobs.client.flushdb done
describe 'Shutdown', ->
it 'should return singleton from createQueue', (done) ->
job... | true | should = require 'should'
kue = require '../'
describe 'Kue', ->
before (done) ->
jobs = kue.createQueue()
jobs.client.flushdb done
after (done) ->
jobs = kue.createQueue()
jobs.client.flushdb done
describe 'Shutdown', ->
it 'should return singleton from createQueue', (done) ->
job... |
[
{
"context": " Avengers = {}\n \n Avengers.cast = [{\n name: \"Steve\",\n character: \"Johnny\"\n }, {\n name: \"Donut",
"end": 913,
"score": 0.9967504739761353,
"start": 908,
"tag": "NAME",
"value": "Steve"
},
{
"context": "s.cast = [{\n name: \"Steve\",\n characte... | examples/deadLinks/ui/app/scripts/app.coffee | daniel-trinh/sprawler | 1 | 'use strict'
webcrawlerApp = angular.module("webcrawlerApp", [])
.config ($routeProvider) ->
$routeProvider
.when '/',
templateUrl: 'views/webcrawler.html'
controller: 'WebcrawlerCtrl'
uiApp = angular.module('uiApp', [
'ngCookies',
'ngResource',
'ngSanitize',
'ngRoute'
])
... | 171556 | 'use strict'
webcrawlerApp = angular.module("webcrawlerApp", [])
.config ($routeProvider) ->
$routeProvider
.when '/',
templateUrl: 'views/webcrawler.html'
controller: 'WebcrawlerCtrl'
uiApp = angular.module('uiApp', [
'ngCookies',
'ngResource',
'ngSanitize',
'ngRoute'
])
... | true | 'use strict'
webcrawlerApp = angular.module("webcrawlerApp", [])
.config ($routeProvider) ->
$routeProvider
.when '/',
templateUrl: 'views/webcrawler.html'
controller: 'WebcrawlerCtrl'
uiApp = angular.module('uiApp', [
'ngCookies',
'ngResource',
'ngSanitize',
'ngRoute'
])
... |
[
{
"context": "rces consistent naming for boolean props\n# @author Ev Haus\n###\n'use strict'\n\n{has} = require 'lodash'\nCompon",
"end": 83,
"score": 0.999815046787262,
"start": 76,
"tag": "NAME",
"value": "Ev Haus"
}
] | src/rules/boolean-prop-naming.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Enforces consistent naming for boolean props
# @author Ev Haus
###
'use strict'
{has} = require 'lodash'
Components = require '../util/react/Components'
# Components = require 'eslint-plugin-react/lib/util/Components'
propsUtil = require 'eslint-plugin-react/lib/util/props'
docsUrl = require 'esli... | 136862 | ###*
# @fileoverview Enforces consistent naming for boolean props
# @author <NAME>
###
'use strict'
{has} = require 'lodash'
Components = require '../util/react/Components'
# Components = require 'eslint-plugin-react/lib/util/Components'
propsUtil = require 'eslint-plugin-react/lib/util/props'
docsUrl = require 'eslin... | true | ###*
# @fileoverview Enforces consistent naming for boolean props
# @author PI:NAME:<NAME>END_PI
###
'use strict'
{has} = require 'lodash'
Components = require '../util/react/Components'
# Components = require 'eslint-plugin-react/lib/util/Components'
propsUtil = require 'eslint-plugin-react/lib/util/props'
docsUrl = ... |
[
{
"context": "the auth function.\n#\n# Docs:\n# https://github.com/josephg/ShareJS/wiki/Document-Metadata\n# https://github.c",
"end": 181,
"score": 0.9997304081916809,
"start": 174,
"tag": "USERNAME",
"value": "josephg"
},
{
"context": "areJS/wiki/Document-Metadata\n# https://github... | node_modules/share/test/useragent.coffee | abraarsyed/workshare | 4 | # Tests for the user agent. The user agent is responsible for maintaining
# the client-specific metadata and calling out to the auth function.
#
# Docs:
# https://github.com/josephg/ShareJS/wiki/Document-Metadata
# https://github.com/josephg/ShareJS/wiki/User-access-control
#
# The auth function should look like this:
... | 56180 | # Tests for the user agent. The user agent is responsible for maintaining
# the client-specific metadata and calling out to the auth function.
#
# Docs:
# https://github.com/josephg/ShareJS/wiki/Document-Metadata
# https://github.com/josephg/ShareJS/wiki/User-access-control
#
# The auth function should look like this:
... | true | # Tests for the user agent. The user agent is responsible for maintaining
# the client-specific metadata and calling out to the auth function.
#
# Docs:
# https://github.com/josephg/ShareJS/wiki/Document-Metadata
# https://github.com/josephg/ShareJS/wiki/User-access-control
#
# The auth function should look like this:
... |
[
{
"context": "()\n expire = date + 345600000\n token = tungsten.encode\n exp: expire\n id: user._",
"end": 484,
"score": 0.41597989201545715,
"start": 481,
"tag": "KEY",
"value": "ung"
},
{
"context": " expire = date + 345600000\n token = tungsten.en... | server/http/auth/validateUser.coffee | stevelacy/portal | 0 | mongoose = require 'mongoose'
tungsten = require 'tungsten'
config = require '../../config'
db = require '../../db'
User = db.models.User
module.exports = (email, password, cb) ->
User.findOne email: email, (err, user) ->
return cb err if err?
return cb null, null unless user?
user.comparePassword pass... | 73606 | mongoose = require 'mongoose'
tungsten = require 'tungsten'
config = require '../../config'
db = require '../../db'
User = db.models.User
module.exports = (email, password, cb) ->
User.findOne email: email, (err, user) ->
return cb err if err?
return cb null, null unless user?
user.comparePassword pass... | true | mongoose = require 'mongoose'
tungsten = require 'tungsten'
config = require '../../config'
db = require '../../db'
User = db.models.User
module.exports = (email, password, cb) ->
User.findOne email: email, (err, user) ->
return cb err if err?
return cb null, null unless user?
user.comparePassword pass... |
[
{
"context": "hernet]\n\t\t\t\t\t\tType = ethernet\n\t\t\t\t\t\tNameservers = 8.8.8.8,8.8.4.4\n\t\t\t\t\t'''\n\n\t\tdescribe 'given a wifi ssid b",
"end": 910,
"score": 0.9996935725212097,
"start": 903,
"tag": "IP_ADDRESS",
"value": "8.8.8.8"
},
{
"context": "\t\t\t\t\t\tType = ether... | tests/network.spec.coffee | balena-io/resin-network-conf | 2 | _ = require('lodash')
chai = require('chai')
expect = chai.expect
network = require('../lib/network')
describe 'Network:', ->
describe '.getFiles()', ->
it 'should throw an error if options is not an object', ->
expect ->
network.getFiles(123)
.to.throw('Invalid options: 123')
it 'should return an ob... | 25241 | _ = require('lodash')
chai = require('chai')
expect = chai.expect
network = require('../lib/network')
describe 'Network:', ->
describe '.getFiles()', ->
it 'should throw an error if options is not an object', ->
expect ->
network.getFiles(123)
.to.throw('Invalid options: 123')
it 'should return an ob... | true | _ = require('lodash')
chai = require('chai')
expect = chai.expect
network = require('../lib/network')
describe 'Network:', ->
describe '.getFiles()', ->
it 'should throw an error if options is not an object', ->
expect ->
network.getFiles(123)
.to.throw('Invalid options: 123')
it 'should return an ob... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.7281540036201477,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/ComponentRegistry.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
], (
dou
) ->
"use strict"
class ComponentRegistry
constructor : ->
@comp... | 4343 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
], (
dou
) ->
"use strict"
class ComponentRegistry
constructor : ->
@com... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
], (
dou
) ->
"use strict"
class ComponentRegistry
constructor : ->
... |
[
{
"context": " fakeRemoteContext.command 'myCommand', myKey: 'myValue'\n return\n\n\n describe '#fakeRemoteContext.co",
"end": 4813,
"score": 0.8381444811820984,
"start": 4808,
"tag": "KEY",
"value": "Value"
},
{
"context": "teContext.$onCommand 'myCommand',\n myKey: 'my... | src/remote_factory.spec.coffee | efacilitation/eventric-testing | 0 | describe 'remote factory', ->
remoteFactory = require './remote_factory'
exampleProjection = null
fakeRemoteContext = null
domainEvents =
ExampleCreated: (params) ->
@assignedCreated = params.emittedCreated
ExampleModified: (params) ->
@assignedModified = params.emittedModified
before... | 78483 | describe 'remote factory', ->
remoteFactory = require './remote_factory'
exampleProjection = null
fakeRemoteContext = null
domainEvents =
ExampleCreated: (params) ->
@assignedCreated = params.emittedCreated
ExampleModified: (params) ->
@assignedModified = params.emittedModified
before... | true | describe 'remote factory', ->
remoteFactory = require './remote_factory'
exampleProjection = null
fakeRemoteContext = null
domainEvents =
ExampleCreated: (params) ->
@assignedCreated = params.emittedCreated
ExampleModified: (params) ->
@assignedModified = params.emittedModified
before... |
[
{
"context": "ependsOn: ['first', 'last']\n @object.last = 'Pan'\n expect(=> @object.first = \"Peter\").to.emit",
"end": 480,
"score": 0.9895281195640564,
"start": 477,
"tag": "NAME",
"value": "Pan"
},
{
"context": "ect.last = 'Pan'\n expect(=> @object.first = \"Peter\... | test/property/depends_on.spec.coffee | jnicklas/serenade.js | 1 | require './../spec_helper'
Serenade = require('../../lib/serenade')
{defineProperty, defineAttribute} = Serenade
describe 'Serenade.defineProperty', ->
beforeEach ->
@object = {}
describe 'dependsOn', ->
it 'binds to dependencies', ->
defineAttribute @object, 'first'
defineAttribute @object, ... | 9697 | require './../spec_helper'
Serenade = require('../../lib/serenade')
{defineProperty, defineAttribute} = Serenade
describe 'Serenade.defineProperty', ->
beforeEach ->
@object = {}
describe 'dependsOn', ->
it 'binds to dependencies', ->
defineAttribute @object, 'first'
defineAttribute @object, ... | true | require './../spec_helper'
Serenade = require('../../lib/serenade')
{defineProperty, defineAttribute} = Serenade
describe 'Serenade.defineProperty', ->
beforeEach ->
@object = {}
describe 'dependsOn', ->
it 'binds to dependencies', ->
defineAttribute @object, 'first'
defineAttribute @object, ... |
[
{
"context": "class Bob\n hey: (message) -> switch\n when message",
"end": 9,
"score": 0.6493664979934692,
"start": 6,
"tag": "NAME",
"value": "Bob"
}
] | exercises/practice/bob/example.coffee | angelikatyborska/coffeescript | 8 | class Bob
hey: (message) -> switch
when message.trim() == "" then "Fine. Be that way!"
when message.match(/[a-zA-Z]/) and message == message.toUpperCase() then "Whoa, chill out!"
when message[message.length - 1] == "?" then "Sure."
else "Whatever."
module.exports = Bob
| 44293 | class <NAME>
hey: (message) -> switch
when message.trim() == "" then "Fine. Be that way!"
when message.match(/[a-zA-Z]/) and message == message.toUpperCase() then "Whoa, chill out!"
when message[message.length - 1] == "?" then "Sure."
else "Whatever."
module.exports = Bob
| true | class PI:NAME:<NAME>END_PI
hey: (message) -> switch
when message.trim() == "" then "Fine. Be that way!"
when message.match(/[a-zA-Z]/) and message == message.toUpperCase() then "Whoa, chill out!"
when message[message.length - 1] == "?" then "Sure."
else "Whatever."
module.exports = B... |
[
{
"context": "###\n@authors\nNicolas Laplante - https://plus.google.com/108189012221374960701\nN",
"end": 29,
"score": 0.9998922348022461,
"start": 13,
"tag": "NAME",
"value": "Nicolas Laplante"
},
{
"context": "e - https://plus.google.com/108189012221374960701\nNicholas McCready - h... | public/bower_components/angular-google-maps/src/coffee/directives/map.coffee | arslannaseem/notasoft | 1 | ###
@authors
Nicolas Laplante - https://plus.google.com/108189012221374960701
Nicholas McCready - https://twitter.com/nmccready
Nick Baugh - https://github.com/niftylettuce
###
#jshint indent:4
#globals directives,google
angular.module("uiGmapgoogle-maps")
.directive "uiGmapGoogleMap", ["uiGmapMap", (Map) ->
new Ma... | 114362 | ###
@authors
<NAME> - https://plus.google.com/108189012221374960701
<NAME> - https://twitter.com/nmccready
<NAME> - https://github.com/niftylettuce
###
#jshint indent:4
#globals directives,google
angular.module("uiGmapgoogle-maps")
.directive "uiGmapGoogleMap", ["uiGmapMap", (Map) ->
new Map()
]
| true | ###
@authors
PI:NAME:<NAME>END_PI - https://plus.google.com/108189012221374960701
PI:NAME:<NAME>END_PI - https://twitter.com/nmccready
PI:NAME:<NAME>END_PI - https://github.com/niftylettuce
###
#jshint indent:4
#globals directives,google
angular.module("uiGmapgoogle-maps")
.directive "uiGmapGoogleMap", ["uiGmapMap", ... |
[
{
"context": " escalation policies to follow.\n#\n#\n# Author:\n# Chris Downie <cdownie@gmail.com>\n#\n\n# Configuration\npagerDutyA",
"end": 1206,
"score": 0.9998477101325989,
"start": 1194,
"tag": "NAME",
"value": "Chris Downie"
},
{
"context": "licies to follow.\n#\n#\n# Author... | src/at-oncall.coffee | usermindinc/hubot-at-oncall | 3 | # Description
# Bring attention to the current PagerDuty on-call whenever @oncall is mentioned.
#
# Dependencies:
# "githubot": "2.16.x"
# "hubot-slack-api": "2.2.x" (Optional)
#
# Configuration:
# HUBOT_PAGERDUTY_API_KEY
# HUBOT_PAGERDUTY_ESCALATION_POLICIES (Optional)
# HUBOT_SLACK_TOKEN (Optional)
#
# Co... | 23903 | # Description
# Bring attention to the current PagerDuty on-call whenever @oncall is mentioned.
#
# Dependencies:
# "githubot": "2.16.x"
# "hubot-slack-api": "2.2.x" (Optional)
#
# Configuration:
# HUBOT_PAGERDUTY_API_KEY
# HUBOT_PAGERDUTY_ESCALATION_POLICIES (Optional)
# HUBOT_SLACK_TOKEN (Optional)
#
# Co... | true | # Description
# Bring attention to the current PagerDuty on-call whenever @oncall is mentioned.
#
# Dependencies:
# "githubot": "2.16.x"
# "hubot-slack-api": "2.2.x" (Optional)
#
# Configuration:
# HUBOT_PAGERDUTY_API_KEY
# HUBOT_PAGERDUTY_ESCALATION_POLICIES (Optional)
# HUBOT_SLACK_TOKEN (Optional)
#
# Co... |
[
{
"context": "h{${0:}\"\n \"OS Hostname Variable\":\n \"prefix\": \"ohn\"\n \"body\": \"}oH{${0:}\"\n \"OS Platform Variable\"",
"end": 1484,
"score": 0.905418336391449,
"start": 1481,
"tag": "NAME",
"value": "ohn"
}
] | snippets/template-insert.cson | NorabX/template-insert | 2 | ".source.atoemp":
"Local Variable":
"prefix": "l"
"body": "}${1:number}{${0:}"
"Global Variable":
"prefix": "g"
"body": "}${1:number}g{${0:}"
"Path Variable":
"prefix": "fp"
"body": "}!${1:path}!{${0:}"
"Custom Variable":
"prefix": "c"
"body": "}=${1:name}{${0:}"
"Hash Code Var... | 169205 | ".source.atoemp":
"Local Variable":
"prefix": "l"
"body": "}${1:number}{${0:}"
"Global Variable":
"prefix": "g"
"body": "}${1:number}g{${0:}"
"Path Variable":
"prefix": "fp"
"body": "}!${1:path}!{${0:}"
"Custom Variable":
"prefix": "c"
"body": "}=${1:name}{${0:}"
"Hash Code Var... | true | ".source.atoemp":
"Local Variable":
"prefix": "l"
"body": "}${1:number}{${0:}"
"Global Variable":
"prefix": "g"
"body": "}${1:number}g{${0:}"
"Path Variable":
"prefix": "fp"
"body": "}!${1:path}!{${0:}"
"Custom Variable":
"prefix": "c"
"body": "}=${1:name}{${0:}"
"Hash Code Var... |
[
{
"context": "param {Object} [options.preferred.repository] key: firstName, value: repository name used in facade.createPref",
"end": 1540,
"score": 0.7495927214622498,
"start": 1531,
"tag": "KEY",
"value": "firstName"
},
{
"context": " @param {Object} [options.preferred.factory] ke... | src/lib/facade.coffee | CureApp/base-domain | 37 | 'use strict'
Util = require '../util'
GeneralFactory = require './general-factory'
MasterDataResource = require '../master-data-resource'
ModelProps = require './model-props'
BaseModel = require './base-model'
BaseModule = require './base-module'
CoreModule = require './core-module'
###*
Facade class of DDD pattern... | 150088 | 'use strict'
Util = require '../util'
GeneralFactory = require './general-factory'
MasterDataResource = require '../master-data-resource'
ModelProps = require './model-props'
BaseModel = require './base-model'
BaseModule = require './base-module'
CoreModule = require './core-module'
###*
Facade class of DDD pattern... | true | 'use strict'
Util = require '../util'
GeneralFactory = require './general-factory'
MasterDataResource = require '../master-data-resource'
ModelProps = require './model-props'
BaseModel = require './base-model'
BaseModule = require './base-module'
CoreModule = require './core-module'
###*
Facade class of DDD pattern... |
[
{
"context": "###\n\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n© Copyright 2006 Goog",
"end": 40,
"score": 0.9998714327812195,
"start": 27,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.... | src/Action/Processor.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
© Copyright 2006 Google Inc. <http://www.google.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/lice... | 75138 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
© Copyright 2006 Google Inc. <http://www.google.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unle... | true | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
© Copyright 2006 Google Inc. <http://www.google.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.or... |
[
{
"context": "akeToken = () ->\n rawToken = {\n consumerKey: \"key\"\n issuedAt: new Date().toISO8601String()\n t",
"end": 1298,
"score": 0.9717687964439392,
"start": 1295,
"tag": "KEY",
"value": "key"
},
{
"context": "ate().toISO8601String()\n ttl: 300\n userId: \"te... | inception-html-editor/src/main/js/annotatorjs/test/spec/plugin/auth_spec.coffee | CPHI-TVHS/inception | 377 | Date::toISO8601String = DateToISO8601String
B64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
base64Encode = (data) ->
if btoa?
# Gecko and Webkit provide native code for this
btoa(data)
else
# Adapted from MIT/BSD licensed code at http://phpjs.org/functions/base64_encode
#... | 105832 | Date::toISO8601String = DateToISO8601String
B64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
base64Encode = (data) ->
if btoa?
# Gecko and Webkit provide native code for this
btoa(data)
else
# Adapted from MIT/BSD licensed code at http://phpjs.org/functions/base64_encode
#... | true | Date::toISO8601String = DateToISO8601String
B64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
base64Encode = (data) ->
if btoa?
# Gecko and Webkit provide native code for this
btoa(data)
else
# Adapted from MIT/BSD licensed code at http://phpjs.org/functions/base64_encode
#... |
[
{
"context": "ent', (done) ->\n App.User.create firstName: 'Lance', =>\n App.User.exists (error, exists) ->\n ",
"end": 528,
"score": 0.9996063709259033,
"start": 523,
"tag": "NAME",
"value": "Lance"
},
{
"context": "ent', (done) ->\n App.User.create firstName: 'Lanc... | test/cases/model/shared/cursorStateTest.coffee | jivagoalves/tower | 1 |
describe "Tower.ModelCursor states", ->
describe "exists", ->
test 'default', ->
cursor = App.User.scoped().cursor
assert.equal true, cursor.isEmpty
test 'if no records are present', (done) ->
App.User.exists (error, exists) ->
assert.equal false, exists
# thinking about p... | 38793 |
describe "Tower.ModelCursor states", ->
describe "exists", ->
test 'default', ->
cursor = App.User.scoped().cursor
assert.equal true, cursor.isEmpty
test 'if no records are present', (done) ->
App.User.exists (error, exists) ->
assert.equal false, exists
# thinking about p... | true |
describe "Tower.ModelCursor states", ->
describe "exists", ->
test 'default', ->
cursor = App.User.scoped().cursor
assert.equal true, cursor.isEmpty
test 'if no records are present', (done) ->
App.User.exists (error, exists) ->
assert.equal false, exists
# thinking about p... |
[
{
"context": "a object', ->\n params = {\n key1: 'value1',\n key2: 'value2'\n }\n form",
"end": 5759,
"score": 0.9627315998077393,
"start": 5753,
"tag": "KEY",
"value": "value1"
},
{
"context": "ms = {\n key1: 'value1',\n key2:... | spec_app/spec/javascripts/up/classes/params_spec.coffee | Dr4K4n/unpoly | 3 | u = up.util
$ = jQuery
describe 'up.Params', ->
encodeBrackets = (str) ->
str = str.replace(/\[/g, '%5B')
str = str.replace(/\]/g, '%5D')
str
beforeEach ->
jasmine.addMatchers
toEqualAfterEncodingBrackets: (util, customEqualityTesters) ->
compare: (actual, expected) ->
pas... | 124516 | u = up.util
$ = jQuery
describe 'up.Params', ->
encodeBrackets = (str) ->
str = str.replace(/\[/g, '%5B')
str = str.replace(/\]/g, '%5D')
str
beforeEach ->
jasmine.addMatchers
toEqualAfterEncodingBrackets: (util, customEqualityTesters) ->
compare: (actual, expected) ->
pas... | true | u = up.util
$ = jQuery
describe 'up.Params', ->
encodeBrackets = (str) ->
str = str.replace(/\[/g, '%5B')
str = str.replace(/\]/g, '%5D')
str
beforeEach ->
jasmine.addMatchers
toEqualAfterEncodingBrackets: (util, customEqualityTesters) ->
compare: (actual, expected) ->
pas... |
[
{
"context": "th/local',\n email: user.email\n password: user.password\n\n .success (data) ->\n $cookieStore.put 't",
"end": 473,
"score": 0.9984208941459656,
"start": 460,
"tag": "PASSWORD",
"value": "user.password"
},
{
"context": " id: currentUser._id\n ,... | client/components/auth/auth.service.coffee | cheadle/angular-quiz | 1 | 'use strict'
angular.module 'quizApp'
.factory 'Auth', ($location, $rootScope, $http, User, $cookieStore, $q) ->
currentUser = if $cookieStore.get 'token' then User.get() else {}
###
Authenticate user and save token
@param {Object} user - login info
@param {Function} callback - optional
@return {... | 136780 | 'use strict'
angular.module 'quizApp'
.factory 'Auth', ($location, $rootScope, $http, User, $cookieStore, $q) ->
currentUser = if $cookieStore.get 'token' then User.get() else {}
###
Authenticate user and save token
@param {Object} user - login info
@param {Function} callback - optional
@return {... | true | 'use strict'
angular.module 'quizApp'
.factory 'Auth', ($location, $rootScope, $http, User, $cookieStore, $q) ->
currentUser = if $cookieStore.get 'token' then User.get() else {}
###
Authenticate user and save token
@param {Object} user - login info
@param {Function} callback - optional
@return {... |
[
{
"context": "-BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v2\n\nmQINBFN4tvkBEADOwEdKVdwyvcOeaUy7bW6euvet0F5HBksYI",
"end": 72,
"score": 0.7282059192657471,
"start": 72,
"tag": "KEY",
"value": ""
},
{
"context": "BEGIN PGP PUBLIC KEY BLOCK-----\nVersion: GnuPG v2\n\nmQINBFN4tvkBE... | js/setup.coffee | mvonmaltitz/gpg-mail-form | 0 | armored_key = '''
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQINBFN4tvkBEADOwEdKVdwyvcOeaUy7bW6euvet0F5HBksYIpFmxkOeydWNmwXs
rIbolgy+3fyKUDfQWD5bWrnQH3GZNDRJ1PRytFb2PRKci4uG/6REK+RY2rcJZ8lW
cfoZHf5+l738Wx5b00h1AHH+k5si3Qm5GVc2iJEkHOk/+ir8iVcmnKjMMaHuRilG
Y0sFmKMzTvSvNJnXQwNrCDGVpdgi/odR2vffRqb+Xci59DKjaKh... | 123302 | armored_key = '''
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2<KEY>
<KEY>
-----END PGP PUBLIC KEY BLOCK-----'''
ready = ->
encryptor = new GPGFormEncryptor(armored_key)
encryptor.setup()
$(document).ready(ready)
$(document).on('page:load',ready)
| true | armored_key = '''
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2PI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PI
-----END PGP PUBLIC KEY BLOCK-----'''
ready = ->
encryptor = new GPGFormEncryptor(armored_key)
encryptor.setup()
$(document).ready(ready)
$(document).on('page:load',ready)
|
[
{
"context": "ircles.create( persona )\n ])\n\ncreate = ( name = \"Default Persona\", agents = [] ) ->\n deferred = Q.defer()\n Perso",
"end": 857,
"score": 0.7977825999259949,
"start": 842,
"tag": "NAME",
"value": "Default Persona"
}
] | src/authn/creators/persona.coffee | joukou/joukou-api | 0 | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | 102051 | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... | true | ###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
dist... |
[
{
"context": "###\n knockback-observable.js\n (c) 2012 Kevin Malakoff.\n Knockback.Observable is freely distributable u",
"end": 55,
"score": 0.9997549653053284,
"start": 41,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": " for full license details:\n https://github.c... | src/core/observable.coffee | npmcomponent/kmalakoff-knockback | 1 | ###
knockback-observable.js
(c) 2012 Kevin Malakoff.
Knockback.Observable is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# Base class for observing model attributes.
#
# @example How to create a ko.Co... | 64303 | ###
knockback-observable.js
(c) 2012 <NAME>.
Knockback.Observable is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# Base class for observing model attributes.
#
# @example How to create a ko.Collection... | true | ###
knockback-observable.js
(c) 2012 PI:NAME:<NAME>END_PI.
Knockback.Observable is freely distributable under the MIT license.
See the following for full license details:
https://github.com/kmalakoff/knockback/blob/master/LICENSE
###
# Base class for observing model attributes.
#
# @example How to create a... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.9998877644538879,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/r... | src/Coffixi/renderers/webgl/GLESShaders.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/GLESShaders', ->
GLESShaders = {}
# the default super fast shader!
GLESShaders.shaderFragmentSrc = [
"#ifdef GL_ES",
"precision mediump float;",
"#endif",
"varying vec2 vTextureCoord;",
"varying floa... | 169477 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/GLESShaders', ->
GLESShaders = {}
# the default super fast shader!
GLESShaders.shaderFragmentSrc = [
"#ifdef GL_ES",
"precision mediump float;",
"#endif",
"varying vec2 vTextureCoord;",
"varying float vC... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/renderers/webgl/GLESShaders', ->
GLESShaders = {}
# the default super fast shader!
GLESShaders.shaderFragmentSrc = [
"#ifdef GL_ES",
"precision mediump float;",
"#endif",
"varying vec2 vTextureCoord;",
"va... |
[
{
"context": "n dir, file\n\n # common data\n @projectKey = 'PROJ'\n @issueKey = 'PROJ-123'\n @backlog = new Ba",
"end": 509,
"score": 0.998950719833374,
"start": 505,
"tag": "KEY",
"value": "PROJ"
},
{
"context": "on data\n @projectKey = 'PROJ'\n @issueKey = 'PROJ-... | test/clients/backlog-test.coffee | faithcreates/hubot-fgb | 1 | assert = require 'power-assert'
sinon = require 'sinon'
request = require 'request'
{Backlog} = require '../../src/clients/backlog'
describe 'Backlog', ->
beforeEach ->
@sinon = sinon.sandbox.create()
# load samplesd
@samples = {}
fs = require 'fs'
path = require 'path'
dir = './test/samples... | 190728 | assert = require 'power-assert'
sinon = require 'sinon'
request = require 'request'
{Backlog} = require '../../src/clients/backlog'
describe 'Backlog', ->
beforeEach ->
@sinon = sinon.sandbox.create()
# load samplesd
@samples = {}
fs = require 'fs'
path = require 'path'
dir = './test/samples... | true | assert = require 'power-assert'
sinon = require 'sinon'
request = require 'request'
{Backlog} = require '../../src/clients/backlog'
describe 'Backlog', ->
beforeEach ->
@sinon = sinon.sandbox.create()
# load samplesd
@samples = {}
fs = require 'fs'
path = require 'path'
dir = './test/samples... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9989916682243347,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-file-write-stream.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... | 225899 | # 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": "google.com'), -1\n\t\t\tdone()\n\n\tit 'should work with 50.116.8.109', (done) ->\n\t\twhois.lookup '50.116.8.109', (err, ",
"end": 337,
"score": 0.9997726082801819,
"start": 325,
"tag": "IP_ADDRESS",
"value": "50.116.8.109"
},
{
"context": "ork with 50.116.8.109', (don... | test.coffee | enixdark/node-whois-custom | 0 | _ = require 'underscore'
assert = require 'assert'
whois = require './index'
describe '#lookup()', ->
it 'should work with google.com', (done) ->
whois.lookup 'google.com', (err, data) ->
assert.ifError err
assert.notEqual data.toLowerCase().indexOf('domain name: google.com'), -1
done()
it 'should work ... | 204860 | _ = require 'underscore'
assert = require 'assert'
whois = require './index'
describe '#lookup()', ->
it 'should work with google.com', (done) ->
whois.lookup 'google.com', (err, data) ->
assert.ifError err
assert.notEqual data.toLowerCase().indexOf('domain name: google.com'), -1
done()
it 'should work ... | true | _ = require 'underscore'
assert = require 'assert'
whois = require './index'
describe '#lookup()', ->
it 'should work with google.com', (done) ->
whois.lookup 'google.com', (err, data) ->
assert.ifError err
assert.notEqual data.toLowerCase().indexOf('domain name: google.com'), -1
done()
it 'should work ... |
[
{
"context": "# @author alteredq / http://alteredqualia.com/\n# @author aladjev.and",
"end": 18,
"score": 0.987427830696106,
"start": 10,
"tag": "USERNAME",
"value": "alteredq"
},
{
"context": "hor alteredq / http://alteredqualia.com/\n# @author aladjev.andrew@gmail.com\n\n#= require... | source/javascripts/new_src/loaders/scene.coffee | andrew-aladev/three.js | 0 | # @author alteredq / http://alteredqualia.com/
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/loader
#= require new_src/loaders/binary
#= require new_src/loaders/json
#= require new_src/core/color
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/object_3d
#= requ... | 89672 | # @author alteredq / http://alteredqualia.com/
# @author <EMAIL>
#= require new_src/loaders/loader
#= require new_src/loaders/binary
#= require new_src/loaders/json
#= require new_src/core/color
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/object_3d
#= require new_src/camer... | true | # @author alteredq / http://alteredqualia.com/
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/loader
#= require new_src/loaders/binary
#= require new_src/loaders/json
#= require new_src/core/color
#= require new_src/core/geometry
#= require new_src/core/vector_3
#= require new_src/core/object_3d
#= requir... |
[
{
"context": " first: Observable(\"Mr.\")\n last: Observable(\"Doberman\")\n\n element = template(model)\n\n assert.equa",
"end": 322,
"score": 0.9998323917388916,
"start": 314,
"tag": "NAME",
"value": "Doberman"
},
{
"context": "qual element.querySelector(\"h2\").textCont... | test/computed.coffee | STRd6/jadelet | 18 | describe "Computed", ->
template = makeTemplate """
div
h2= @name
input(value=@first)
input(value=@last)
"""
it "should compute automatically with the correct scope", ->
model =
name: ->
@first() + " " + @last()
first: Observable("Mr.")
last: Observable("Doberm... | 19850 | describe "Computed", ->
template = makeTemplate """
div
h2= @name
input(value=@first)
input(value=@last)
"""
it "should compute automatically with the correct scope", ->
model =
name: ->
@first() + " " + @last()
first: Observable("Mr.")
last: Observable("<NAME>... | true | describe "Computed", ->
template = makeTemplate """
div
h2= @name
input(value=@first)
input(value=@last)
"""
it "should compute automatically with the correct scope", ->
model =
name: ->
@first() + " " + @last()
first: Observable("Mr.")
last: Observable("PI:NAM... |
[
{
"context": ">\n @head ->\n @meta charset: \"utf-8\"\n @title \"Wallapatta\"\n @meta name: \"viewport\", content: \"width",
"end": 106,
"score": 0.8298158645629883,
"start": 102,
"tag": "NAME",
"value": "Wall"
}
] | electron/html/index.coffee | chethiya/wallapatta | 86 | Weya = (require 'weya').Weya
template = ->
@html ->
@head ->
@meta charset: "utf-8"
@title "Wallapatta"
@meta name: "viewport", content: "width=device-width, initial-scale=1.0"
@meta name: "apple-mobile-web-app-capable", content:"yes"
@link href: "lib/Font-Awesome/css/font-awesome.css", rel: "stylesh... | 87068 | Weya = (require 'weya').Weya
template = ->
@html ->
@head ->
@meta charset: "utf-8"
@title "<NAME>apatta"
@meta name: "viewport", content: "width=device-width, initial-scale=1.0"
@meta name: "apple-mobile-web-app-capable", content:"yes"
@link href: "lib/Font-Awesome/css/font-awesome.css", rel: "style... | true | Weya = (require 'weya').Weya
template = ->
@html ->
@head ->
@meta charset: "utf-8"
@title "PI:NAME:<NAME>END_PIapatta"
@meta name: "viewport", content: "width=device-width, initial-scale=1.0"
@meta name: "apple-mobile-web-app-capable", content:"yes"
@link href: "lib/Font-Awesome/css/font-awesome.css... |
[
{
"context": "ync.resolves({\n author: {\n name: \"brian\"\n }\n })\n\n git._getAuthor(@repo).",
"end": 1962,
"score": 0.6670446395874023,
"start": 1957,
"tag": "USERNAME",
"value": "brian"
},
{
"context": "r(@repo).then (ret) ->\n expect(ret).... | packages/server/test/unit/git_spec.coffee | smartmanru/cypress | 0 | require("../spec_helper")
Promise = require("bluebird")
git = require("#{root}/lib/util/git")
describe "lib/util/git", ->
context ".init", ->
it "returns factory with functions", ->
fns = ["getBranch", "getMessage", "getEmail", "getAuthor", "getSha", "getRemoteOrigin"]
obj = git.init(process.cw... | 140251 | require("../spec_helper")
Promise = require("bluebird")
git = require("#{root}/lib/util/git")
describe "lib/util/git", ->
context ".init", ->
it "returns factory with functions", ->
fns = ["getBranch", "getMessage", "getEmail", "getAuthor", "getSha", "getRemoteOrigin"]
obj = git.init(process.cw... | true | require("../spec_helper")
Promise = require("bluebird")
git = require("#{root}/lib/util/git")
describe "lib/util/git", ->
context ".init", ->
it "returns factory with functions", ->
fns = ["getBranch", "getMessage", "getEmail", "getAuthor", "getSha", "getRemoteOrigin"]
obj = git.init(process.cw... |
[
{
"context": "###\ngrunt-styledocco\nhttps://github.com/weareinteractive/grunt-styledocco\n\nCopyright (c) 2013 We Are Inter",
"end": 56,
"score": 0.9996447563171387,
"start": 40,
"tag": "USERNAME",
"value": "weareinteractive"
},
{
"context": "reinteractive/grunt-styledocco\n\nCopyri... | node_modules/grunt-styledocco/tasks/styledocco.coffee | WarRocha/Linx-teste-war | 1 | ###
grunt-styledocco
https://github.com/weareinteractive/grunt-styledocco
Copyright (c) 2013 We Are Interactive
Licensed under the MIT license.
###
module.exports = (grunt) ->
"use strict"
# Please see the grunt documentation for more information regarding task and
# helper creation: https://github.com/cowboy/g... | 152311 | ###
grunt-styledocco
https://github.com/weareinteractive/grunt-styledocco
Copyright (c) 2013 <NAME>
Licensed under the MIT license.
###
module.exports = (grunt) ->
"use strict"
# Please see the grunt documentation for more information regarding task and
# helper creation: https://github.com/cowboy/grunt/blob/ma... | true | ###
grunt-styledocco
https://github.com/weareinteractive/grunt-styledocco
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
module.exports = (grunt) ->
"use strict"
# Please see the grunt documentation for more information regarding task and
# helper creation: https://github.com/cowboy... |
[
{
"context": "tion for Backbone.Marionette\n#\n# Copyright (C)2012 Derick Bailey, Muted Solutions, LLC\n# Distributed Under MIT Lic",
"end": 108,
"score": 0.9997854232788086,
"start": 95,
"tag": "NAME",
"value": "Derick Bailey"
},
{
"context": "nd Full License Available at:\n# http:/... | client/contacts/routing.coffee | zhangcheng/bbclonemail-meteor | 1 | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 Derick Bailey, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.marionette
... | 680 | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 <NAME>, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.marionette
# Conta... | true | # Backbone.BBCloneMail
# A reference application for Backbone.Marionette
#
# Copyright (C)2012 PI:NAME:<NAME>END_PI, Muted Solutions, LLC
# Distributed Under MIT License
#
# Documentation and Full License Available at:
# http://github.com/derickbailey/backbone.bbclonemail
# http://github.com/derickbailey/backbone.mario... |
[
{
"context": "tle \"b\" bongo'\n.save()\n\nnew Account\n username : \"devrim\"\n password : \"1234\"\n.save()\n",
"end": 288,
"score": 0.9996668100357056,
"start": 282,
"tag": "USERNAME",
"value": "devrim"
},
{
"context": "\n\nnew Account\n username : \"devrim\"\n password : \"12... | node_modules_koding/bongo/examples/remote_example/server.coffee | ezgikaysi/koding | 1 | Bongo = require '../../lib'
{Shared} = require './models'
{Account} = require '../bongoTests/bongoModels'
Bongo
.setClient('localhost:27017/test')
.listen 5000
new Shared
title : 'test from "server" process'
body : 'little "b" bongo'
.save()
new Account
username : "devrim"
password : "1234"
.save()
| 223583 | Bongo = require '../../lib'
{Shared} = require './models'
{Account} = require '../bongoTests/bongoModels'
Bongo
.setClient('localhost:27017/test')
.listen 5000
new Shared
title : 'test from "server" process'
body : 'little "b" bongo'
.save()
new Account
username : "devrim"
password : "<PASSWORD>"
.sav... | true | Bongo = require '../../lib'
{Shared} = require './models'
{Account} = require '../bongoTests/bongoModels'
Bongo
.setClient('localhost:27017/test')
.listen 5000
new Shared
title : 'test from "server" process'
body : 'little "b" bongo'
.save()
new Account
username : "devrim"
password : "PI:PASSWORD:<PAS... |
[
{
"context": "').text(title)\n\n title: _.noop\n\n @globalTitle: 'Scott Erickson'\n\n onLeaveMessage: _.noop\n\nmodule.exports = Root",
"end": 288,
"score": 0.9988334774971008,
"start": 274,
"tag": "NAME",
"value": "Scott Erickson"
}
] | app/core/RootView.coffee | sderickson/home | 1 | View = require 'core/View'
_ = require 'underscore'
class RootView extends View
onInsert: ->
super(arguments...)
title = _.result(@, 'title') or _.result(RootView, 'globalTitle') or @constructor.name
$('title').text(title)
title: _.noop
@globalTitle: 'Scott Erickson'
onLeaveMessage: _.noop
mod... | 136761 | View = require 'core/View'
_ = require 'underscore'
class RootView extends View
onInsert: ->
super(arguments...)
title = _.result(@, 'title') or _.result(RootView, 'globalTitle') or @constructor.name
$('title').text(title)
title: _.noop
@globalTitle: '<NAME>'
onLeaveMessage: _.noop
module.expo... | true | View = require 'core/View'
_ = require 'underscore'
class RootView extends View
onInsert: ->
super(arguments...)
title = _.result(@, 'title') or _.result(RootView, 'globalTitle') or @constructor.name
$('title').text(title)
title: _.noop
@globalTitle: 'PI:NAME:<NAME>END_PI'
onLeaveMessage: _.noo... |
[
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed under the Apach",
"end": 35,
"score": 0.9998165965080261,
"start": 24,
"tag": "NAME",
"value": "Dan Elliott"
},
{
"context": "# Copyright 2010-2019 Dan Elliott, Russell Valentine\n#\n# Licensed ... | clients/www/src/coffee/isadore_graphs/ImageAnimator.coffee | bluthen/isadore_server | 0 | # Copyright 2010-2019 Dan Elliott, Russell Valentine
#
# 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 appl... | 164820 | # Copyright 2010-2019 <NAME>, <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 ag... | true | # Copyright 2010-2019 PI:NAME:<NAME>END_PI, 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 requ... |
[
{
"context": "ez5.Barcode\n\t\t\t\t\tcontinue\n\n\t\t\t\t_key = key.split(\":barcode\")[0]\n\t\t\t\tvalue.render(_data[_key])\n\t\tfindBarcodes(dat",
"end": 438,
"score": 0.7108364105224609,
"start": 427,
"tag": "KEY",
"value": "barcode\")[0"
}
] | src/webfrontend/BarcodeEditorPlugin.coffee | programmfabrik/easydb-barcode-display | 0 | class ez5.BarcodeEditorPlugin extends ez5.EditorPlugin
checkForm: (opts) ->
data = opts.resultObject.getData()[opts.resultObject.objecttype()]
findBarcodes = (_data) ->
for key, value of _data
if CUI.util.isArray(value) # Nested values.
for _value in value
findBarcodes(_value)
continue
... | 171836 | class ez5.BarcodeEditorPlugin extends ez5.EditorPlugin
checkForm: (opts) ->
data = opts.resultObject.getData()[opts.resultObject.objecttype()]
findBarcodes = (_data) ->
for key, value of _data
if CUI.util.isArray(value) # Nested values.
for _value in value
findBarcodes(_value)
continue
... | true | class ez5.BarcodeEditorPlugin extends ez5.EditorPlugin
checkForm: (opts) ->
data = opts.resultObject.getData()[opts.resultObject.objecttype()]
findBarcodes = (_data) ->
for key, value of _data
if CUI.util.isArray(value) # Nested values.
for _value in value
findBarcodes(_value)
continue
... |
[
{
"context": "\n\n loadMessages: (messages,last,get) ->\n key = last\n for v in messages\n serial = v.thought.se",
"end": 1413,
"score": 0.9574187397956848,
"start": 1409,
"tag": "KEY",
"value": "last"
},
{
"context": "ages\n serial = v.thought.serial\n v.key = ... | urb/zod/pub/talk/src/js/stores/MessageStore.coffee | frodwith/urbit | 5 | moment = require 'moment-timezone'
EventEmitter = require('events').EventEmitter
MessageDispatcher = require '../dispatcher/Dispatcher.coffee'
_messages = {}
_fetching = false
_last = null
_station = null
_listening = []
_typing = false
MessageStore = _.merge new EventEmitter,{
removeChangeListener: (cb) -> @rem... | 12592 | moment = require 'moment-timezone'
EventEmitter = require('events').EventEmitter
MessageDispatcher = require '../dispatcher/Dispatcher.coffee'
_messages = {}
_fetching = false
_last = null
_station = null
_listening = []
_typing = false
MessageStore = _.merge new EventEmitter,{
removeChangeListener: (cb) -> @rem... | true | moment = require 'moment-timezone'
EventEmitter = require('events').EventEmitter
MessageDispatcher = require '../dispatcher/Dispatcher.coffee'
_messages = {}
_fetching = false
_last = null
_station = null
_listening = []
_typing = false
MessageStore = _.merge new EventEmitter,{
removeChangeListener: (cb) -> @rem... |
[
{
"context": "ail: email\n\t\t\t\tinviterName: inviterName\n\t\t\t\ttoken: crypto.randomBytes(32).toString(\"hex\")\n\t\t\t\tsentAt: new Date()\n\t\t\t}\n\t",
"end": 3735,
"score": 0.9562358856201172,
"start": 3717,
"tag": "KEY",
"value": "crypto.randomBytes"
},
{
"context": "erName:... | app/coffee/Features/Subscription/TeamInvitesHandler.coffee | shyoshyo/web-sharelatex | 1 | logger = require("logger-sharelatex")
crypto = require("crypto")
async = require("async")
settings = require("settings-sharelatex")
ObjectId = require("mongojs").ObjectId
TeamInvite = require("../../models/TeamInvite").TeamInvite
Subscription = require("../../models/Subscription").Subscription
UserGetter = require("... | 35258 | logger = require("logger-sharelatex")
crypto = require("crypto")
async = require("async")
settings = require("settings-sharelatex")
ObjectId = require("mongojs").ObjectId
TeamInvite = require("../../models/TeamInvite").TeamInvite
Subscription = require("../../models/Subscription").Subscription
UserGetter = require("... | true | logger = require("logger-sharelatex")
crypto = require("crypto")
async = require("async")
settings = require("settings-sharelatex")
ObjectId = require("mongojs").ObjectId
TeamInvite = require("../../models/TeamInvite").TeamInvite
Subscription = require("../../models/Subscription").Subscription
UserGetter = require("... |
[
{
"context": " body :\n password : 'somePassword'\n passwordConfirm : 'anotherPassword'\n\n ",
"end": 2125,
"score": 0.9993839859962463,
"start": 2113,
"tag": "PASSWORD",
"value": "somePassword"
},
{
"context": " : 'somePassword'\n pa... | servers/lib/server/handlers/register.test.coffee | ezgikaysi/koding | 1 | koding = require './../bongo'
{ async
expect
request
querystring
generateRandomString } = require '../../../testhelper'
{ testCsrfToken } = require '../../../testhelper/handler'
{ generateRegisterRequestParams } = require '../../../testhelper/handler/registerh... | 161166 | koding = require './../bongo'
{ async
expect
request
querystring
generateRandomString } = require '../../../testhelper'
{ testCsrfToken } = require '../../../testhelper/handler'
{ generateRegisterRequestParams } = require '../../../testhelper/handler/registerh... | true | koding = require './../bongo'
{ async
expect
request
querystring
generateRandomString } = require '../../../testhelper'
{ testCsrfToken } = require '../../../testhelper/handler'
{ generateRegisterRequestParams } = require '../../../testhelper/handler/registerh... |
[
{
"context": "Parameters\n# Stock parameters of the app\n# @author David Ronai / Makiopolis.com / @Makio64 \n# \n\nclass Parameters",
"end": 67,
"score": 0.9998708963394165,
"start": 56,
"tag": "NAME",
"value": "David Ronai"
},
{
"context": "tock parameters of the app\n# @author Davi... | src/coffee/core/Parameters.coffee | Makio64/Kyari | 0 | #
# Parameters
# Stock parameters of the app
# @author David Ronai / Makiopolis.com / @Makio64
#
class Parameters
@gui = null
@initGUI:()->
@gui = new datGUI()
# your parameters here, for example :
# @gui.add(Parameters,'intensity', 0, 1).steps(0.01).listen().name('Intensity').onChange(@onChange)
return... | 69946 | #
# Parameters
# Stock parameters of the app
# @author <NAME> / <EMAIL> / @Makio64
#
class Parameters
@gui = null
@initGUI:()->
@gui = new datGUI()
# your parameters here, for example :
# @gui.add(Parameters,'intensity', 0, 1).steps(0.01).listen().name('Intensity').onChange(@onChange)
return
| true | #
# Parameters
# Stock parameters of the app
# @author PI:NAME:<NAME>END_PI / PI:EMAIL:<EMAIL>END_PI / @Makio64
#
class Parameters
@gui = null
@initGUI:()->
@gui = new datGUI()
# your parameters here, for example :
# @gui.add(Parameters,'intensity', 0, 1).steps(0.01).listen().name('Intensity').onChange(@o... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990885257720947,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-stream2-transform.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... | 125541 | # 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": "ty key\n\t\t\t\telse\n\t\t\t\t\tif security\n\t\t\t\t\t\tget_key = \"get#{key.substring(0, 1).toUpperCase()}#{key.substring(1)}\"\n\t\t\t\t\t\tunless @.hasOwnProperty get_key\n\t\t\t\t\t\t\t(->\n",
"end": 772,
"score": 0.9137483835220337,
"start": 713,
"tag": "KEY",
"value": "g... | coffee/Proxy.coffee | so-hentai/encaps-proxy | 0 | ###
# 动态代理
# 通过传入目标对象实例化代理类
# 外部通过该代理间接访问目标对象
# 我们可以通过该代理来规范外部的访问、提供安全的调用、丰富目标对象的行为
# 通常我们需要通过继承该类来制定不同类型的对象的代理,否则外部访问与直接访问目标对象无异
# 鉴于javaScript弱类型的特征,建议在子类中做类型限制,使代理模块化
###
class Proxy
constructor: (@target, security)->
@instance @target, security if @target
###
# 实例化代理过程
# 通过遍历目标对象以及递归原型链,对目标对象的行为进行封装
# 默认地,只对... | 17601 | ###
# 动态代理
# 通过传入目标对象实例化代理类
# 外部通过该代理间接访问目标对象
# 我们可以通过该代理来规范外部的访问、提供安全的调用、丰富目标对象的行为
# 通常我们需要通过继承该类来制定不同类型的对象的代理,否则外部访问与直接访问目标对象无异
# 鉴于javaScript弱类型的特征,建议在子类中做类型限制,使代理模块化
###
class Proxy
constructor: (@target, security)->
@instance @target, security if @target
###
# 实例化代理过程
# 通过遍历目标对象以及递归原型链,对目标对象的行为进行封装
# 默认地,只对... | true | ###
# 动态代理
# 通过传入目标对象实例化代理类
# 外部通过该代理间接访问目标对象
# 我们可以通过该代理来规范外部的访问、提供安全的调用、丰富目标对象的行为
# 通常我们需要通过继承该类来制定不同类型的对象的代理,否则外部访问与直接访问目标对象无异
# 鉴于javaScript弱类型的特征,建议在子类中做类型限制,使代理模块化
###
class Proxy
constructor: (@target, security)->
@instance @target, security if @target
###
# 实例化代理过程
# 通过遍历目标对象以及递归原型链,对目标对象的行为进行封装
# 默认地,只对... |
[
{
"context": "ero',\n \"link_text\": \"Bid Now\",\n \"credit_line\": \"Bjarne Melgaard, The times never will be there again, 2012; Court",
"end": 678,
"score": 0.9998822212219238,
"start": 663,
"tag": "NAME",
"value": "Bjarne Melgaard"
},
{
"context": "ured_link']\n\n routes... | desktop/apps/home/test/routes.coffee | dblock/force | 0 | sinon = require 'sinon'
Backbone = require 'backbone'
{ extend } = require 'underscore'
{ fabricate } = require 'antigravity'
rewire = require 'rewire'
routes = rewire '../routes'
heroUnit =
"title_image_url": "https://d32dm0rphc51dk.cloudfront.net/o8z4tRzTn3ObRWxvLg3L0g/untouched-png.png",
"retina_title_image_url... | 162002 | sinon = require 'sinon'
Backbone = require 'backbone'
{ extend } = require 'underscore'
{ fabricate } = require 'antigravity'
rewire = require 'rewire'
routes = rewire '../routes'
heroUnit =
"title_image_url": "https://d32dm0rphc51dk.cloudfront.net/o8z4tRzTn3ObRWxvLg3L0g/untouched-png.png",
"retina_title_image_url... | true | sinon = require 'sinon'
Backbone = require 'backbone'
{ extend } = require 'underscore'
{ fabricate } = require 'antigravity'
rewire = require 'rewire'
routes = rewire '../routes'
heroUnit =
"title_image_url": "https://d32dm0rphc51dk.cloudfront.net/o8z4tRzTn3ObRWxvLg3L0g/untouched-png.png",
"retina_title_image_url... |
[
{
"context": ".growl 'Notebook deleted.'\n\n self =\n name: _name\n date: _date\n fromNow: _fromNow\n ",
"end": 998,
"score": 0.9734324812889099,
"start": 997,
"tag": "NAME",
"value": "_"
},
{
"context": "rowl 'Notebook deleted.'\n\n self =\n name: _name\n... | src/core/components/browser.coffee | Tapad/h2o-flow | 0 | Flow.Browser = (_) ->
_docs = signals []
_sortedDocs = lift _docs, (docs) ->
sortBy docs, (doc) -> -doc.date().getTime()
_hasDocs = lift _docs, (docs) -> docs.length > 0
createNotebookView = (notebook) ->
_name = notebook.name
_date = signal new Date notebook.timestamp_millis
_fromNow = lift ... | 2555 | Flow.Browser = (_) ->
_docs = signals []
_sortedDocs = lift _docs, (docs) ->
sortBy docs, (doc) -> -doc.date().getTime()
_hasDocs = lift _docs, (docs) -> docs.length > 0
createNotebookView = (notebook) ->
_name = notebook.name
_date = signal new Date notebook.timestamp_millis
_fromNow = lift ... | true | Flow.Browser = (_) ->
_docs = signals []
_sortedDocs = lift _docs, (docs) ->
sortBy docs, (doc) -> -doc.date().getTime()
_hasDocs = lift _docs, (docs) -> docs.length > 0
createNotebookView = (notebook) ->
_name = notebook.name
_date = signal new Date notebook.timestamp_millis
_fromNow = lift ... |
[
{
"context": "egards this transaction.\n |I am Mr. Nicolas Usando From Abidjan-Cote D' Ivoire ,\n |Th",
"end": 558,
"score": 0.928512454032898,
"start": 544,
"tag": "NAME",
"value": "Nicolas Usando"
},
{
"context": "ined on you as regards this transactio... | app/assets/test/javascripts/api/string.test.coffee | TheBizzle/ClowCards | 0 | require.config({
baseUrl: '/assets/javascripts'
})
define(['api/prototypes'], ([]) ->
module("String Tests")
test("stripMargin", ->
# Default delim
deepEqual("hello, derp!".stripMargin(), "hello, derp!")
deepEqual("hello|derp!".stripMargin(), "hello|derp!")
deepEqual("""hello
... | 139799 | require.config({
baseUrl: '/assets/javascripts'
})
define(['api/prototypes'], ([]) ->
module("String Tests")
test("stripMargin", ->
# Default delim
deepEqual("hello, derp!".stripMargin(), "hello, derp!")
deepEqual("hello|derp!".stripMargin(), "hello|derp!")
deepEqual("""hello
... | true | require.config({
baseUrl: '/assets/javascripts'
})
define(['api/prototypes'], ([]) ->
module("String Tests")
test("stripMargin", ->
# Default delim
deepEqual("hello, derp!".stripMargin(), "hello, derp!")
deepEqual("hello|derp!".stripMargin(), "hello|derp!")
deepEqual("""hello
... |
[
{
"context": "e, body) ->\n expect(body.reporter).to.eql 'noris@gmail.com'\n expect(Date.parse(body.createdAt)).not.t",
"end": 821,
"score": 0.9998550415039062,
"start": 806,
"tag": "EMAIL",
"value": "noris@gmail.com"
}
] | api/test/models/feedback.test.coffee | MollardMichael/scrumble | 27 | _ = require 'lodash'
expect = require('chai').expect
sinon = require 'sinon'
request = require 'request'
logger = require '../../src/logger'
fixtures = require '../utils/fixtures'
app = require '../../src/server'
describe 'api/Feedback endpoint', ->
server = null
before (done) ->
server = app.listen(done)
... | 144854 | _ = require 'lodash'
expect = require('chai').expect
sinon = require 'sinon'
request = require 'request'
logger = require '../../src/logger'
fixtures = require '../utils/fixtures'
app = require '../../src/server'
describe 'api/Feedback endpoint', ->
server = null
before (done) ->
server = app.listen(done)
... | true | _ = require 'lodash'
expect = require('chai').expect
sinon = require 'sinon'
request = require 'request'
logger = require '../../src/logger'
fixtures = require '../utils/fixtures'
app = require '../../src/server'
describe 'api/Feedback endpoint', ->
server = null
before (done) ->
server = app.listen(done)
... |
[
{
"context": "e.exports =\n key: 'power-session-key'\n secret: '035bcfaa8208b4978589975e5bea6647'\n cookie:\n domain: '.localhost'\n",
"end": 87,
"score": 0.9997590184211731,
"start": 55,
"tag": "KEY",
"value": "035bcfaa8208b4978589975e5bea6647"
}
] | app/config/server/session.coffee | MagicPower2/Power | 0 | module.exports =
key: 'power-session-key'
secret: '035bcfaa8208b4978589975e5bea6647'
cookie:
domain: '.localhost'
| 85222 | module.exports =
key: 'power-session-key'
secret: '<KEY>'
cookie:
domain: '.localhost'
| true | module.exports =
key: 'power-session-key'
secret: 'PI:KEY:<KEY>END_PI'
cookie:
domain: '.localhost'
|
[
{
"context": "stead of createClass for React Component\n# @author Dan Hamilton\n###\n'use strict'\n\n# -----------------------------",
"end": 103,
"score": 0.9997086524963379,
"start": 91,
"tag": "NAME",
"value": "Dan Hamilton"
}
] | src/tests/rules/prefer-es6-class.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prefer es6 class instead of createClass for React Component
# @author Dan Hamilton
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'esli... | 124791 | ###*
# @fileoverview Prefer es6 class instead of createClass for React Component
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require 'eslint-plu... | true | ###*
# @fileoverview Prefer es6 class instead of createClass for React Component
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = requi... |
[
{
"context": " <minutes> for specified services\n#\n# Authors:\n# Jesse Newland, Josh Nicols, Jacob Bednarz, Chris Lundquist, Chr",
"end": 2810,
"score": 0.9998413920402527,
"start": 2797,
"tag": "NAME",
"value": "Jesse Newland"
},
{
"context": "specified services\n#\n# Authors:\n#... | src/scripts/pagerduty.coffee | optimizely/hubot-pager-me | 0 | # Description:
# Interact with PagerDuty services, schedules, and incidents with Hubot.
#
# Commands:
# hubot pager me as <email> - remember your pager email is <email>
# hubot pager forget me - forget your pager email
# hubot Am I on call - return if I'm currently on call or not
# hubot who's on call - retur... | 180104 | # Description:
# Interact with PagerDuty services, schedules, and incidents with Hubot.
#
# Commands:
# hubot pager me as <email> - remember your pager email is <email>
# hubot pager forget me - forget your pager email
# hubot Am I on call - return if I'm currently on call or not
# hubot who's on call - retur... | true | # Description:
# Interact with PagerDuty services, schedules, and incidents with Hubot.
#
# Commands:
# hubot pager me as <email> - remember your pager email is <email>
# hubot pager forget me - forget your pager email
# hubot Am I on call - return if I'm currently on call or not
# hubot who's on call - retur... |
[
{
"context": "ry - pixelir_core.coffee\n#\n# 2016.11.17 Created by PROJECT PROMINENCE\n#\n#***********************************",
"end": 316,
"score": 0.6894786953926086,
"start": 309,
"tag": "NAME",
"value": "PROJECT"
},
{
"context": "elir_core.coffee\n#\n# 2016.11.17 Created by PROJ... | pixelir_core.coffee | digitarhythm/PixelirJS | 0 | #****************************************************************************
#****************************************************************************
#****************************************************************************
#
# PixelirJS core library - pixelir_core.coffee
#
# 2016.11.17 Created by PROJECT PRO... | 58065 | #****************************************************************************
#****************************************************************************
#****************************************************************************
#
# PixelirJS core library - pixelir_core.coffee
#
# 2016.11.17 Created by <NAME> <NAM... | true | #****************************************************************************
#****************************************************************************
#****************************************************************************
#
# PixelirJS core library - pixelir_core.coffee
#
# 2016.11.17 Created by PI:NAME:<NA... |
[
{
"context": "reated ->\n\t@record = new ReactiveVar\n\t\tusername: 'rocket.cat'\n\n\nTemplate.integrationsIncoming.helpers\n\n\thasPer",
"end": 93,
"score": 0.9993670582771301,
"start": 83,
"tag": "USERNAME",
"value": "rocket.cat"
},
{
"context": "._id}/#{data.token}\")\n\t\t\t\tdat... | packages/rocketchat-integrations/client/views/integrationsIncoming.coffee | Cosecha/rocket-chat-stable | 2 | Template.integrationsIncoming.onCreated ->
@record = new ReactiveVar
username: 'rocket.cat'
Template.integrationsIncoming.helpers
hasPermission: ->
return RocketChat.authz.hasAtLeastOnePermission(['manage-integrations', 'manage-own-integrations'])
data: ->
params = Template.instance().data.params?()
if ... | 103825 | Template.integrationsIncoming.onCreated ->
@record = new ReactiveVar
username: 'rocket.cat'
Template.integrationsIncoming.helpers
hasPermission: ->
return RocketChat.authz.hasAtLeastOnePermission(['manage-integrations', 'manage-own-integrations'])
data: ->
params = Template.instance().data.params?()
if ... | true | Template.integrationsIncoming.onCreated ->
@record = new ReactiveVar
username: 'rocket.cat'
Template.integrationsIncoming.helpers
hasPermission: ->
return RocketChat.authz.hasAtLeastOnePermission(['manage-integrations', 'manage-own-integrations'])
data: ->
params = Template.instance().data.params?()
if ... |
[
{
"context": "###\n QuoJS 2.1.3\n (c) 2011, 2012 Javi Jiménez Villar (@soyjavi)\n http://quojs.tapquo.com\n###\n\n(($$) -",
"end": 54,
"score": 0.9998677372932434,
"start": 35,
"tag": "NAME",
"value": "Javi Jiménez Villar"
},
{
"context": " QuoJS 2.1.3\n (c) 2011, 2012 Javi Jimé... | src/QuoJS/src/quo.ajax.coffee | biojazzard/kirbout | 2 | ###
QuoJS 2.1.3
(c) 2011, 2012 Javi Jiménez Villar (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
DEFAULT =
TYPE: "GET"
MIME: "json"
MIME_TYPES =
script: "text/javascript, application/javascript"
json: "application/json"
xml: "application/xml, text/xml"
... | 114727 | ###
QuoJS 2.1.3
(c) 2011, 2012 <NAME> (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
DEFAULT =
TYPE: "GET"
MIME: "json"
MIME_TYPES =
script: "text/javascript, application/javascript"
json: "application/json"
xml: "application/xml, text/xml"
html: "text/h... | true | ###
QuoJS 2.1.3
(c) 2011, 2012 PI:NAME:<NAME>END_PI (@soyjavi)
http://quojs.tapquo.com
###
(($$) ->
DEFAULT =
TYPE: "GET"
MIME: "json"
MIME_TYPES =
script: "text/javascript, application/javascript"
json: "application/json"
xml: "application/xml, text/xml"
... |
[
{
"context": "tistics = new kb.Statistics() # turn on stats\n\n john = new Person({\n id: 'person-1-1'\n name:",
"end": 2172,
"score": 0.6171784996986389,
"start": 2168,
"tag": "NAME",
"value": "john"
},
{
"context": " new Person({\n id: 'person-1-1'\n name: 'J... | test/spec/ecosystem/backbone-relational.memory-management.tests.coffee | kmalakoff/knockback | 160 | root = if window? then window else global
assert = assert or require?('chai').assert
describe 'Knockback.js with Backbone-Relational.js @backbone-relational', ->
# after -> delete root.Person
# import Underscore (or Lo-Dash with precedence), Backbone, Knockout, and Knockback
kb = window?.kb; try kb or= require... | 43144 | root = if window? then window else global
assert = assert or require?('chai').assert
describe 'Knockback.js with Backbone-Relational.js @backbone-relational', ->
# after -> delete root.Person
# import Underscore (or Lo-Dash with precedence), Backbone, Knockout, and Knockback
kb = window?.kb; try kb or= require... | true | root = if window? then window else global
assert = assert or require?('chai').assert
describe 'Knockback.js with Backbone-Relational.js @backbone-relational', ->
# after -> delete root.Person
# import Underscore (or Lo-Dash with precedence), Backbone, Knockout, and Knockback
kb = window?.kb; try kb or= require... |
[
{
"context": "irror'\n\n## The following code is copyright 2014 by William Stein\n## [https://github.com/sagemath/cloud/blob/0233cd",
"end": 91,
"score": 0.9998170733451843,
"start": 78,
"tag": "NAME",
"value": "William Stein"
},
{
"context": "ight 2014 by William Stein\n## [https://... | client/codemirror/latex-fold.coffee | noajshu/coauthor | 0 | CodeMirror = require 'codemirror'
## The following code is copyright 2014 by William Stein
## [https://github.com/sagemath/cloud/blob/0233cdd61f9f81190fa5673daaac38c7fc37e821/page/misc_page.coffee#L439]
## and licensed under the BSD license
## [https://groups.google.com/forum/#!topic/codemirror/tTeNuMy58VI]
get_latex... | 10639 | CodeMirror = require 'codemirror'
## The following code is copyright 2014 by <NAME>
## [https://github.com/sagemath/cloud/blob/0233cdd61f9f81190fa5673daaac38c7fc37e821/page/misc_page.coffee#L439]
## and licensed under the BSD license
## [https://groups.google.com/forum/#!topic/codemirror/tTeNuMy58VI]
get_latex_enviro... | true | CodeMirror = require 'codemirror'
## The following code is copyright 2014 by PI:NAME:<NAME>END_PI
## [https://github.com/sagemath/cloud/blob/0233cdd61f9f81190fa5673daaac38c7fc37e821/page/misc_page.coffee#L439]
## and licensed under the BSD license
## [https://groups.google.com/forum/#!topic/codemirror/tTeNuMy58VI]
ge... |
[
{
"context": "port}\"\n secret: \"my-super-secret\"\n id: \"2ef763ff-1f28-49b8-b58f-5c6a5c23af2d\"\n user: \"3f3a8187-0931-4611-8963-239c0dff193",
"end": 698,
"score": 0.9930986166000366,
"start": 662,
"tag": "PASSWORD",
"value": "2ef763ff-1f28-49b8-b58f-5c6a5c23af2d"
},
{... | spec/RemoteRuntimes.coffee | noflo/noflo-runtime | 7 | noflo = require 'noflo'
unless noflo.isBrowser()
chai = require 'chai' unless chai
rt = require '../index'
utils = require './utils/utils'
else
rt = require 'noflo-runtime'
RemoteSubGraph = rt.RemoteSubGraph
connection = rt.connection
# TODO: test whole connect/begin/endBracket/disconnect
describe 'Remote r... | 59682 | noflo = require 'noflo'
unless noflo.isBrowser()
chai = require 'chai' unless chai
rt = require '../index'
utils = require './utils/utils'
else
rt = require 'noflo-runtime'
RemoteSubGraph = rt.RemoteSubGraph
connection = rt.connection
# TODO: test whole connect/begin/endBracket/disconnect
describe 'Remote r... | true | noflo = require 'noflo'
unless noflo.isBrowser()
chai = require 'chai' unless chai
rt = require '../index'
utils = require './utils/utils'
else
rt = require 'noflo-runtime'
RemoteSubGraph = rt.RemoteSubGraph
connection = rt.connection
# TODO: test whole connect/begin/endBracket/disconnect
describe 'Remote r... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991419315338135,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "gth not taken into account in base64Write\n\n# TODO(trevnorris): currently works like Array.pr... | lib/buffer.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... | 19818 | # 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": "amqpOptions || {}\n @_responseRoutingKey = \"search_responses_#{process.pid}_#{Date.now()}\"\n @_queriesRoutingKey = amqpOptions.queries",
"end": 2695,
"score": 0.9505316615104675,
"start": 2649,
"tag": "KEY",
"value": "search_responses_#{process.pid}_#{Date.now()... | src/server/search/transport.coffee | LaPingvino/rizzoma | 88 | _ = require('underscore')
async = require('async')
mysql = require('mysql')
Conf = require('../conf').Conf
SearchTemporaryNotAvailableError = require('./exceptions').SearchTemporaryNotAvailableError
SearchTimeoutError = require('./exceptions').SearchTimeoutError
SearchQueryError = require('./exceptions').SearchQueryErr... | 225461 | _ = require('underscore')
async = require('async')
mysql = require('mysql')
Conf = require('../conf').Conf
SearchTemporaryNotAvailableError = require('./exceptions').SearchTemporaryNotAvailableError
SearchTimeoutError = require('./exceptions').SearchTimeoutError
SearchQueryError = require('./exceptions').SearchQueryErr... | true | _ = require('underscore')
async = require('async')
mysql = require('mysql')
Conf = require('../conf').Conf
SearchTemporaryNotAvailableError = require('./exceptions').SearchTemporaryNotAvailableError
SearchTimeoutError = require('./exceptions').SearchTimeoutError
SearchQueryError = require('./exceptions').SearchQueryErr... |
[
{
"context": " created_at: @createdAt.getTime()\n name: @name\n uuid: @uuid\n platform: @platform\n ",
"end": 633,
"score": 0.9187930822372437,
"start": 633,
"tag": "NAME",
"value": ""
}
] | app/src/m2fa/paired_secure_screen.coffee | romanornr/ledger-wallet-crw | 173 |
ledger.m2fa ?= {}
VERSION = 1
class ledger.m2fa.PairedSecureScreen
id: null # Pairing id
createdAt: null # Pairing creation date
name: null # Pairing name
uuid: null # Phone UUID
platform: null # Phone platform
version: VERSION
constructor: (base) ->
@_deserialize(base) if base?
_deserialize: (... | 157829 |
ledger.m2fa ?= {}
VERSION = 1
class ledger.m2fa.PairedSecureScreen
id: null # Pairing id
createdAt: null # Pairing creation date
name: null # Pairing name
uuid: null # Phone UUID
platform: null # Phone platform
version: VERSION
constructor: (base) ->
@_deserialize(base) if base?
_deserialize: (... | true |
ledger.m2fa ?= {}
VERSION = 1
class ledger.m2fa.PairedSecureScreen
id: null # Pairing id
createdAt: null # Pairing creation date
name: null # Pairing name
uuid: null # Phone UUID
platform: null # Phone platform
version: VERSION
constructor: (base) ->
@_deserialize(base) if base?
_deserialize: (... |
[
{
"context": "ogin: $(\"#inputLogin\").val()\n password: $(\"#inputPass\").val()\n bank: $(\"#inputBank\").val()\n\n ",
"end": 835,
"score": 0.921594500541687,
"start": 816,
"tag": "PASSWORD",
"value": "$(\"#inputPass\").val"
}
] | client/app/views/new_bank.coffee | einSelbst/cozy-pfm | 0 | BaseView = require '../lib/base_view'
BankAccessModel = require '../models/bank_access'
module.exports = class NewBankView extends BaseView
template: require('./templates/new_bank')
el: 'div#add-bank-window'
events:
'click #btn-add-bank-save' : "saveBank"
initialize: ->
@$el.on 'hid... | 54415 | BaseView = require '../lib/base_view'
BankAccessModel = require '../models/bank_access'
module.exports = class NewBankView extends BaseView
template: require('./templates/new_bank')
el: 'div#add-bank-window'
events:
'click #btn-add-bank-save' : "saveBank"
initialize: ->
@$el.on 'hid... | true | BaseView = require '../lib/base_view'
BankAccessModel = require '../models/bank_access'
module.exports = class NewBankView extends BaseView
template: require('./templates/new_bank')
el: 'div#add-bank-window'
events:
'click #btn-add-bank-save' : "saveBank"
initialize: ->
@$el.on 'hid... |
[
{
"context": "eset_password_token\n req.session.set_password = req.query.set_password\n req.session.reset_password_",
"end": 476,
"score": 0.7904149293899536,
"start": 473,
"tag": "PASSWORD",
"value": "req"
},
{
"context": "res.render 'reset_password', reset_password_token: req... | src/desktop/apps/auth/routes.coffee | kanaabe/force | 0 | request = require 'superagent'
CurrentUser = require '../../models/current_user.coffee'
{ API_URL, ARTSY_ID, ARTSY_SECRET, APP_URL } = require '../../config'
{ parse } = require 'url'
qs = require 'querystring'
sanitizeRedirect = require '@artsy/passport/sanitize-redirect'
sd = require('sharify').data
@resetPassword =... | 126699 | request = require 'superagent'
CurrentUser = require '../../models/current_user.coffee'
{ API_URL, ARTSY_ID, ARTSY_SECRET, APP_URL } = require '../../config'
{ parse } = require 'url'
qs = require 'querystring'
sanitizeRedirect = require '@artsy/passport/sanitize-redirect'
sd = require('sharify').data
@resetPassword =... | true | request = require 'superagent'
CurrentUser = require '../../models/current_user.coffee'
{ API_URL, ARTSY_ID, ARTSY_SECRET, APP_URL } = require '../../config'
{ parse } = require 'url'
qs = require 'querystring'
sanitizeRedirect = require '@artsy/passport/sanitize-redirect'
sd = require('sharify').data
@resetPassword =... |
[
{
"context": " enforcement of no inline comments rule.\n# @author Greg Cochard\n###\n'use strict'\n\n#------------------------------",
"end": 88,
"score": 0.9997739791870117,
"start": 76,
"tag": "NAME",
"value": "Greg Cochard"
}
] | src/tests/rules/no-inline-comments.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Test enforcement of no inline comments rule.
# @author Greg Cochard
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-i... | 21408 | ###*
# @fileoverview Test enforcement of no inline comments rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-inline-... | true | ###*
# @fileoverview Test enforcement of no inline comments rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/ru... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2012 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.999838650226593,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/image/suggestions.coffee | GerHobbelt/hallo | 682 | # Hallo - a rich text editing jQuery UI widget
# (c) 2012 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.halloimagesuggestions',
loaded: false
options:
entity: null
vie: null
dbPediaUrl: null
getSuggest... | 182541 | # Hallo - a rich text editing jQuery UI widget
# (c) 2012 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.halloimagesuggestions',
loaded: false
options:
entity: null
vie: null
dbPediaUrl: null
getSuggestions: n... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2012 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget 'IKS.halloimagesuggestions',
loaded: false
options:
entity: null
vie: null
dbPediaUrl: null
get... |
[
{
"context": " answers.push(<AnswerItem jp={@props.jp} key={\"Al_#{idx}\"} inputs={inputs} eps={@props.inputs.eps} />)\n ",
"end": 2638,
"score": 0.99482661485672,
"start": 2629,
"tag": "KEY",
"value": "Al_#{idx}"
}
] | app/pages/lab/workflow-viewer/answers.cjsx | alexbfree/Panoptes-Front-End | 0 | React = require 'react'
icons = require '../../../classifier/tasks/drawing/icons'
{Markdown} = (require 'markdownz').default
# Styling for ansers within a list
# AnswerItem takes in `input`, `eps`, and `jp` as props
# `jp` is the jsPlumb instance for the visualizer
# `eps` = {add: add endput callback, remove: remove e... | 60738 | React = require 'react'
icons = require '../../../classifier/tasks/drawing/icons'
{Markdown} = (require 'markdownz').default
# Styling for ansers within a list
# AnswerItem takes in `input`, `eps`, and `jp` as props
# `jp` is the jsPlumb instance for the visualizer
# `eps` = {add: add endput callback, remove: remove e... | true | React = require 'react'
icons = require '../../../classifier/tasks/drawing/icons'
{Markdown} = (require 'markdownz').default
# Styling for ansers within a list
# AnswerItem takes in `input`, `eps`, and `jp` as props
# `jp` is the jsPlumb instance for the visualizer
# `eps` = {add: add endput callback, remove: remove e... |
[
{
"context": "###\nBSD 3-Clause License\n\nCopyright (c) 2018, Thomas Pointhuber\nAll rights reserved.\n\n@see: https://github.com/po",
"end": 63,
"score": 0.9998820424079895,
"start": 46,
"tag": "NAME",
"value": "Thomas Pointhuber"
},
{
"context": "er\nAll rights reserved.\n\n@see: ... | kicad-viewer.coffee | pointhi/kicad-viewer.js | 4 | ###
BSD 3-Clause License
Copyright (c) 2018, Thomas Pointhuber
All rights reserved.
@see: https://github.com/pointhi/kicad-viewer.js/blob/master/LICENSE
###
mod_edit_colors = {
"Fg": "rgb(255, 255, 255)"
"Pads": "rgb(0, 132, 0)"
"Bg": "rgb(0, 0, 0)"
"F.Cu": "rgb(132, 0, 0)"
"In1... | 39960 | ###
BSD 3-Clause License
Copyright (c) 2018, <NAME>
All rights reserved.
@see: https://github.com/pointhi/kicad-viewer.js/blob/master/LICENSE
###
mod_edit_colors = {
"Fg": "rgb(255, 255, 255)"
"Pads": "rgb(0, 132, 0)"
"Bg": "rgb(0, 0, 0)"
"F.Cu": "rgb(132, 0, 0)"
"In1.Cu": "... | true | ###
BSD 3-Clause License
Copyright (c) 2018, PI:NAME:<NAME>END_PI
All rights reserved.
@see: https://github.com/pointhi/kicad-viewer.js/blob/master/LICENSE
###
mod_edit_colors = {
"Fg": "rgb(255, 255, 255)"
"Pads": "rgb(0, 132, 0)"
"Bg": "rgb(0, 0, 0)"
"F.Cu": "rgb(132, 0, 0)"
"... |
[
{
"context": "name').val(),\n 'cam_password=' + $('#camera-password').val()]\n\n loader = Ladda.create(this)\n loa",
"end": 2047,
"score": 0.9282090067863464,
"start": 2032,
"tag": "PASSWORD",
"value": "camera-password"
},
{
"context": "\").val() is ''\n data.ca... | data/coffeescript/6d58c3bc30de1f03f4cbe7bf1720c8a9_testsnapshot.js.coffee | maxim5/code-inspector | 5 | # TODO: refactor this file
validate_hostname = (str) ->
ValidIpAddressRegex = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/
ValidHostnameRegex = /^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$... | 158010 | # TODO: refactor this file
validate_hostname = (str) ->
ValidIpAddressRegex = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/
ValidHostnameRegex = /^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$... | true | # TODO: refactor this file
validate_hostname = (str) ->
ValidIpAddressRegex = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/
ValidHostnameRegex = /^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\-]*[A-Za-z0-9])$... |
[
{
"context": "ve a unique uniqueKey\n singleton.uniqueKey = \"S:#{PrivateClass.__tag}\"\n\n # all deserialize()s of",
"end": 14166,
"score": 0.5227360129356384,
"start": 14165,
"tag": "KEY",
"value": "#"
}
] | src/model.coffee | mehrdad-shokri/pagedraw | 3,213 | _ = require 'underscore'
_l = require 'lodash'
{zip_sets_by, assert} = require './util'
Function::property = (prop, desc) ->
Object.defineProperty @prototype, prop, desc
Function::const_property = (prop, val) ->
Object.defineProperty @prototype, prop, {get: (-> val), set: (->)}
## Models code
registeredModels =... | 145694 | _ = require 'underscore'
_l = require 'lodash'
{zip_sets_by, assert} = require './util'
Function::property = (prop, desc) ->
Object.defineProperty @prototype, prop, desc
Function::const_property = (prop, val) ->
Object.defineProperty @prototype, prop, {get: (-> val), set: (->)}
## Models code
registeredModels =... | true | _ = require 'underscore'
_l = require 'lodash'
{zip_sets_by, assert} = require './util'
Function::property = (prop, desc) ->
Object.defineProperty @prototype, prop, desc
Function::const_property = (prop, val) ->
Object.defineProperty @prototype, prop, {get: (-> val), set: (->)}
## Models code
registeredModels =... |
[
{
"context": "le('gapi')\n .value 'GoogleApp',\n apiKey: '1234'\n clientId: 'abcd'\n\n\n beforeEach module 'ga",
"end": 249,
"score": 0.99853515625,
"start": 245,
"tag": "KEY",
"value": "1234"
},
{
"context": "GoogleApp',\n apiKey: '1234'\n clientId: 'abcd'\n\... | public/libs/ngGAPI/test/spec/CalendarSpec.coffee | Evezown/evezown_production | 94 | describe 'GAPI', ->
{
GAPI,Calendar,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '1234'
clientId: 'abcd'
beforeEach module 'gapi'
beforeEach in... | 169273 | describe 'GAPI', ->
{
GAPI,Calendar,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: '<KEY>'
clientId: '<KEY>'
beforeEach module 'gapi'
beforeEach ... | true | describe 'GAPI', ->
{
GAPI,Calendar,
$httpBackend,baseUrl,
getHeaders,postHeaders,putHeaders,deleteHeaders,patchHeaders,noContentHeaders
authorization
} = {}
angular.module('gapi')
.value 'GoogleApp',
apiKey: 'PI:KEY:<KEY>END_PI'
clientId: 'PI:KEY:<KEY>END_PI'
beforeEach mod... |
[
{
"context": "is file is part of the ChinesePuzzle package.\n\n(c) Mathieu Ledru\n\nFor the full copyright and license information, ",
"end": 70,
"score": 0.9998610019683838,
"start": 57,
"tag": "NAME",
"value": "Mathieu Ledru"
}
] | Common/Bin/Data/coffee/Menu/Menu.coffee | matyo91/ChinesePuzzle | 1 | ###
This file is part of the ChinesePuzzle package.
(c) Mathieu Ledru
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.Menu = cc.Layer.extend(
_touchListener: null,
_nav: []
_gs: null
_ml: null
ctor: ->
@_super()
onEx... | 136061 | ###
This file is part of the ChinesePuzzle package.
(c) <NAME>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.Menu = cc.Layer.extend(
_touchListener: null,
_nav: []
_gs: null
_ml: null
ctor: ->
@_super()
onExit: ->
... | true | ###
This file is part of the ChinesePuzzle package.
(c) PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.Menu = cc.Layer.extend(
_touchListener: null,
_nav: []
_gs: null
_ml: null
ctor: ->
@_super()
... |
[
{
"context": " TileGrinder - grinds for you threw a MBTile\n by Michael Strassburger <codepoet@cpan.org>\n\n A handy library in case yo",
"end": 75,
"score": 0.9998753666877747,
"start": 55,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": "for you threw a MBTile\n ... | src/TileGrinder.coffee | rastapasta/tilegrinder | 64 | ###
TileGrinder - grinds for you threw a MBTile
by Michael Strassburger <codepoet@cpan.org>
A handy library in case you ever want to apply a processor to all vector tiles
in an MBTiles without having to worry about how to pull, decode, alter, encode
and store them again.
###
MBTiles = require '@mapbox/mbtil... | 14084 | ###
TileGrinder - grinds for you threw a MBTile
by <NAME> <<EMAIL>>
A handy library in case you ever want to apply a processor to all vector tiles
in an MBTiles without having to worry about how to pull, decode, alter, encode
and store them again.
###
MBTiles = require '@mapbox/mbtiles'
Protobuf = require '... | true | ###
TileGrinder - grinds for you threw a MBTile
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
A handy library in case you ever want to apply a processor to all vector tiles
in an MBTiles without having to worry about how to pull, decode, alter, encode
and store them again.
###
MBTiles = require '@mapbox/... |
[
{
"context": "dx\": 3}\n ]\n },\n {\n \"id\": \"caller_name\",\n \"name\": \"Caller Name\",\n \"descrip",
"end": 2515,
"score": 0.9846768379211426,
"start": 2504,
"tag": "USERNAME",
"value": "caller_name"
},
{
"context": " {\n \"id\": \"c... | app/scripts/api.coffee | gkovacs87/web-whitepages.test-source | 0 | 'use strict'
(->
###
# @name ApiConfig
# @desc It stores information about the different Whitepages PRO API calls
###
ApiConfig = {
"phone_solutions": [
{
"id": "phone_reputation",
"name": "Phone Reputation",
"description": "The Phone Reputation response provides details on ... | 204021 | 'use strict'
(->
###
# @name ApiConfig
# @desc It stores information about the different Whitepages PRO API calls
###
ApiConfig = {
"phone_solutions": [
{
"id": "phone_reputation",
"name": "Phone Reputation",
"description": "The Phone Reputation response provides details on ... | true | 'use strict'
(->
###
# @name ApiConfig
# @desc It stores information about the different Whitepages PRO API calls
###
ApiConfig = {
"phone_solutions": [
{
"id": "phone_reputation",
"name": "Phone Reputation",
"description": "The Phone Reputation response provides details on ... |
[
{
"context": " hubot vodka me - Grab me a vodka\n#\n# Author:\n# John Sullivan\n\nvodkas = [\n \"https://www.thespruceeats.com/th",
"end": 158,
"score": 0.9998852610588074,
"start": 145,
"tag": "NAME",
"value": "John Sullivan"
}
] | scripts/vodkame.coffee | jsullivan3/pinkybot | 1 | # Description:
# None
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot vodka me - Grab me a vodka
#
# Author:
# John Sullivan
vodkas = [
"https://www.thespruceeats.com/thmb/VdVFs-62QBYWppoUwTdtK8rtw-0=/3849x2524/filters:no_upscale():max_bytes(150000):strip_icc()/vodka-martini-recip... | 184344 | # Description:
# None
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot vodka me - Grab me a vodka
#
# Author:
# <NAME>
vodkas = [
"https://www.thespruceeats.com/thmb/VdVFs-62QBYWppoUwTdtK8rtw-0=/3849x2524/filters:no_upscale():max_bytes(150000):strip_icc()/vodka-martini-recipe-76098... | true | # Description:
# None
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot vodka me - Grab me a vodka
#
# Author:
# PI:NAME:<NAME>END_PI
vodkas = [
"https://www.thespruceeats.com/thmb/VdVFs-62QBYWppoUwTdtK8rtw-0=/3849x2524/filters:no_upscale():max_bytes(150000):strip_icc()/vodka-martin... |
[
{
"context": "# @author Ryan Page <ryanpager@gmail.com>\n# @see https://github",
"end": 22,
"score": 0.9998591542243958,
"start": 13,
"tag": "NAME",
"value": "Ryan Page"
},
{
"context": "# @author Ryan Page <ryanpager@gmail.com>\n# @see https://github.com/ryanpager/... | src/socket.coffee | venugopal-annamaneni/ls-angularjs-socket-cluster | 0 | # @author Ryan Page <ryanpager@gmail.com>
# @see https://github.com/ryanpager/angularjs-socket-cluster
###
>> Class Declaration
###
class Socket
$inject: []
constructor: ->
# @type {boolean}
# @description
# This variable determines whether or not debugging will be thrown through
# the console f... | 169546 | # @author <NAME> <<EMAIL>>
# @see https://github.com/ryanpager/angularjs-socket-cluster
###
>> Class Declaration
###
class Socket
$inject: []
constructor: ->
# @type {boolean}
# @description
# This variable determines whether or not debugging will be thrown through
# the console for every socket... | true | # @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @see https://github.com/ryanpager/angularjs-socket-cluster
###
>> Class Declaration
###
class Socket
$inject: []
constructor: ->
# @type {boolean}
# @description
# This variable determines whether or not debugging will be thrown through
# ... |
[
{
"context": "=>\n @datastore.deposit\n account: 'Peter'\n currency: 'USD'\n amount: 50\n ",
"end": 710,
"score": 0.9967517852783203,
"start": 705,
"tag": "NAME",
"value": "Peter"
},
{
"context": "'50'\n currency = 'USD'\n account_name = 'P... | test/datastore/datastore.coffee | PartTimeLegend/buttercoin-engine | 8 | test.uses "Datastore.DataStore",
"Datastore.BalanceSheet",
"Datastore.SuperMarket",
"Datastore.Amount",
"Datastore.Account",
"Datastore.Order"
# WARNING: DataStore is inherently SYNCHRNOUS and NON-REENTRANT
# No callbacks in here!
describe 'DataStore', ->
setup_mock... | 1018 | test.uses "Datastore.DataStore",
"Datastore.BalanceSheet",
"Datastore.SuperMarket",
"Datastore.Amount",
"Datastore.Account",
"Datastore.Order"
# WARNING: DataStore is inherently SYNCHRNOUS and NON-REENTRANT
# No callbacks in here!
describe 'DataStore', ->
setup_mock... | true | test.uses "Datastore.DataStore",
"Datastore.BalanceSheet",
"Datastore.SuperMarket",
"Datastore.Amount",
"Datastore.Account",
"Datastore.Order"
# WARNING: DataStore is inherently SYNCHRNOUS and NON-REENTRANT
# No callbacks in here!
describe 'DataStore', ->
setup_mock... |
[
{
"context": "s =\n pairedAt: new Date()\n token: Random.secret()\n\n for field in ['name', 'title', 'view', 'sc",
"end": 489,
"score": 0.632779598236084,
"start": 483,
"tag": "KEY",
"value": "secret"
}
] | client/control/displays/swap.coffee | scopely/withboard | 32 | Template.DisplaySwap.helpers
newDisplay: ->
Displays.findOne
_id: @code
availDisplays: ->
Displays.find
_id: $not: @code
online: $exists: false
token: $exists: true
,
sort:
name: 1
Template.DisplaySwap.events
'submit form': (evt) ->
evt.preventDefault()
... | 172871 | Template.DisplaySwap.helpers
newDisplay: ->
Displays.findOne
_id: @code
availDisplays: ->
Displays.find
_id: $not: @code
online: $exists: false
token: $exists: true
,
sort:
name: 1
Template.DisplaySwap.events
'submit form': (evt) ->
evt.preventDefault()
... | true | Template.DisplaySwap.helpers
newDisplay: ->
Displays.findOne
_id: @code
availDisplays: ->
Displays.find
_id: $not: @code
online: $exists: false
token: $exists: true
,
sort:
name: 1
Template.DisplaySwap.events
'submit form': (evt) ->
evt.preventDefault()
... |
[
{
"context": "n for any information about string\n#\n# Author:\n# Scott J Roberts - @sroberts\n\nSHODAN_API_KEY = process.env.SHODAN_",
"end": 318,
"score": 0.9983543157577515,
"start": 303,
"tag": "NAME",
"value": "Scott J Roberts"
},
{
"context": "ion about string\n#\n# Author:\n... | src/scripts/shodan.coffee | 3ch01c/hubot-vtr-scripts | 47 | # Description:
# Search Shodan based on https://developers.shodan.io/shodan-rest.html
#
# Dependencies:
# None
#
# Configuration:
# SHODAN_API_KEY - Sign up at http://www.shodanhq.com/api_doc
#
# Commands:
# hubot shodan <string> - Search Shodan for any information about string
#
# Author:
# Scott J Roberts -... | 189156 | # Description:
# Search Shodan based on https://developers.shodan.io/shodan-rest.html
#
# Dependencies:
# None
#
# Configuration:
# SHODAN_API_KEY - Sign up at http://www.shodanhq.com/api_doc
#
# Commands:
# hubot shodan <string> - Search Shodan for any information about string
#
# Author:
# <NAME> - @srobert... | true | # Description:
# Search Shodan based on https://developers.shodan.io/shodan-rest.html
#
# Dependencies:
# None
#
# Configuration:
# SHODAN_API_KEY - Sign up at http://www.shodanhq.com/api_doc
#
# Commands:
# hubot shodan <string> - Search Shodan for any information about string
#
# Author:
# PI:NAME:<NAME>END... |
[
{
"context": "ervableObject\n users: [\n { name: 'John' }\n ]\n\n\n it 'should append contents of ",
"end": 2544,
"score": 0.9998304843902588,
"start": 2540,
"tag": "NAME",
"value": "John"
}
] | spec/view/component_spec.coffee | creasty-sandbox/leaf | 0 |
describe 'Leaf.Component', ->
it 'should be defined', ->
expect(Leaf.Component).toBeDefined()
describe '::regulateName(name)', ->
it 'should return empty string if `name` is falsy', ->
expect(Leaf.Component.regulateName()).toBe ''
it 'should dash-nize camelCase string', ->
expect(Leaf.... | 10465 |
describe 'Leaf.Component', ->
it 'should be defined', ->
expect(Leaf.Component).toBeDefined()
describe '::regulateName(name)', ->
it 'should return empty string if `name` is falsy', ->
expect(Leaf.Component.regulateName()).toBe ''
it 'should dash-nize camelCase string', ->
expect(Leaf.... | true |
describe 'Leaf.Component', ->
it 'should be defined', ->
expect(Leaf.Component).toBeDefined()
describe '::regulateName(name)', ->
it 'should return empty string if `name` is falsy', ->
expect(Leaf.Component.regulateName()).toBe ''
it 'should dash-nize camelCase string', ->
expect(Leaf.... |
[
{
"context": "Mocha-cakes Reference ========\nhttps://github.com/quangv/mocha-cakes\nhttps://github.com/visionmedia/should",
"end": 156,
"score": 0.9996609687805176,
"start": 150,
"tag": "USERNAME",
"value": "quangv"
},
{
"context": "/github.com/quangv/mocha-cakes\nhttps://github.com... | src/test/mdash_spec.coffee | semencov/mdash-node | 2 | 'use strict'
require 'mocha-cakes'
mdash = require '../lib/mdash.js'
###
======== A Handy Little Mocha-cakes Reference ========
https://github.com/quangv/mocha-cakes
https://github.com/visionmedia/should.js
https://github.com/visionmedia/mocha
Mocha-cakes:
Feature, Scenario: maps to describe
Given, When, Then: ... | 96576 | 'use strict'
require 'mocha-cakes'
mdash = require '../lib/mdash.js'
###
======== A Handy Little Mocha-cakes Reference ========
https://github.com/quangv/mocha-cakes
https://github.com/visionmedia/should.js
https://github.com/visionmedia/mocha
Mocha-cakes:
Feature, Scenario: maps to describe
Given, When, Then: ... | true | 'use strict'
require 'mocha-cakes'
mdash = require '../lib/mdash.js'
###
======== A Handy Little Mocha-cakes Reference ========
https://github.com/quangv/mocha-cakes
https://github.com/visionmedia/should.js
https://github.com/visionmedia/mocha
Mocha-cakes:
Feature, Scenario: maps to describe
Given, When, Then: ... |
[
{
"context": " if err\n user.set\n name: 'Runner ' + userCount.get()\n team: 'neutral'",
"end": 2050,
"score": 0.9961394667625427,
"start": 2044,
"tag": "NAME",
"value": "Runner"
}
] | lib/index.coffee | hackdash/ctf | 1 | app = module.exports = require('derby').createApp 'ctf', __filename
app.loadViews __dirname
app.loadStyles __dirname
app.component require('d-connection-alert')
app.component require('d-before-unload')
TEAMS = ['red', 'green']
ROLES = TEAMS.concat 'admin', 'neutral'
ONE_DAY = 1000 * 60 * 60 * 24
app.on 'model', (mode... | 143253 | app = module.exports = require('derby').createApp 'ctf', __filename
app.loadViews __dirname
app.loadStyles __dirname
app.component require('d-connection-alert')
app.component require('d-before-unload')
TEAMS = ['red', 'green']
ROLES = TEAMS.concat 'admin', 'neutral'
ONE_DAY = 1000 * 60 * 60 * 24
app.on 'model', (mode... | true | app = module.exports = require('derby').createApp 'ctf', __filename
app.loadViews __dirname
app.loadStyles __dirname
app.component require('d-connection-alert')
app.component require('d-before-unload')
TEAMS = ['red', 'green']
ROLES = TEAMS.concat 'admin', 'neutral'
ONE_DAY = 1000 * 60 * 60 * 24
app.on 'model', (mode... |
[
{
"context": "# @author Tim Knip / http://www.floorplanner.com/ / tim at floorplan",
"end": 18,
"score": 0.9998893737792969,
"start": 10,
"tag": "NAME",
"value": "Tim Knip"
},
{
"context": "orplanner.com/ / tim at floorplanner.com\n# @author aladjev.andrew@gmail.com\n\n#= require new... | source/javascripts/new_src/loaders/collada/mesh.coffee | andrew-aladev/three.js | 0 | # @author Tim Knip / http://www.floorplanner.com/ / tim at floorplanner.com
# @author aladjev.andrew@gmail.com
#= require new_src/loaders/collada/vertices
#= require new_src/loaders/collada/triangles
#= require new_src/loaders/collada/polygons
#= require new_src/loaders/collada/polylist
#= require new_src/core/geometr... | 194675 | # @author <NAME> / http://www.floorplanner.com/ / tim at floorplanner.com
# @author <EMAIL>
#= require new_src/loaders/collada/vertices
#= require new_src/loaders/collada/triangles
#= require new_src/loaders/collada/polygons
#= require new_src/loaders/collada/polylist
#= require new_src/core/geometry
#= require new_sr... | true | # @author PI:NAME:<NAME>END_PI / http://www.floorplanner.com/ / tim at floorplanner.com
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/loaders/collada/vertices
#= require new_src/loaders/collada/triangles
#= require new_src/loaders/collada/polygons
#= require new_src/loaders/collada/polylist
#= require new_src/co... |
[
{
"context": "###\n From Vibrant.js by Jari Zwarts\n Ported to node.js by AKFish\n\n Color algorithm ",
"end": 36,
"score": 0.9998922348022461,
"start": 25,
"tag": "NAME",
"value": "Jari Zwarts"
},
{
"context": "m Vibrant.js by Jari Zwarts\n Ported to node.js by AKFish\n\n Color... | src/vibrant.coffee | Kronuz/node-vibrant | 0 | ###
From Vibrant.js by Jari Zwarts
Ported to node.js by AKFish
Color algorithm class that finds variations on colors in an image.
Credits
--------
Lokesh Dhakar (http://www.lokeshdhakar.com) - Created ColorThief
Google - Palette support library in Android
###
Swatch = require('./swatch')
util = require(... | 20353 | ###
From Vibrant.js by <NAME>
Ported to node.js by AKFish
Color algorithm class that finds variations on colors in an image.
Credits
--------
<NAME> (http://www.lokeshdhakar.com) - Created ColorThief
Google - Palette support library in Android
###
Swatch = require('./swatch')
util = require('./util')
De... | true | ###
From Vibrant.js by PI:NAME:<NAME>END_PI
Ported to node.js by AKFish
Color algorithm class that finds variations on colors in an image.
Credits
--------
PI:NAME:<NAME>END_PI (http://www.lokeshdhakar.com) - Created ColorThief
Google - Palette support library in Android
###
Swatch = require('./swatch')... |
[
{
"context": "e CoffeeScript-Object-Notation https://github.com/bevry/cson )\n\n#########################################",
"end": 155,
"score": 0.9987514019012451,
"start": 150,
"tag": "USERNAME",
"value": "bevry"
},
{
"context": "\"epub\"\n \"epub3\"\n]\n\nauthor:\n name: \"R... | package.cson | marufbhu/readium-js | 1 |
# NPM package file, see https://docs.npmjs.com/files/package.json
# Oh, this is CSON, not JSON ( see CoffeeScript-Object-Notation https://github.com/bevry/cson )
#####################################################################
#####################################################################
# Master source... | 175426 |
# NPM package file, see https://docs.npmjs.com/files/package.json
# Oh, this is CSON, not JSON ( see CoffeeScript-Object-Notation https://github.com/bevry/cson )
#####################################################################
#####################################################################
# Master source... | true |
# NPM package file, see https://docs.npmjs.com/files/package.json
# Oh, this is CSON, not JSON ( see CoffeeScript-Object-Notation https://github.com/bevry/cson )
#####################################################################
#####################################################################
# Master source... |
[
{
"context": " <tr>\n <th>Name</th>\n <th>Twin</th>\n <th>Details</th>\n </tr>\n",
"end": 2391,
"score": 0.7750016450881958,
"start": 2390,
"tag": "NAME",
"value": "T"
}
] | app/classifier/tasks/survey/editor-help.cjsx | camallen/Panoptes-Front-End | 0 | module.exports =
choices: <div className="content-container">
<p>User-identifiable <strong>choices</strong>, with these headers:</p>
<table className="standard-table">
<tbody>
<tr>
<th>Name</th>
<th>Description</th>
<th>Images</th>
</tr>
<tr classNa... | 55076 | module.exports =
choices: <div className="content-container">
<p>User-identifiable <strong>choices</strong>, with these headers:</p>
<table className="standard-table">
<tbody>
<tr>
<th>Name</th>
<th>Description</th>
<th>Images</th>
</tr>
<tr classNa... | true | module.exports =
choices: <div className="content-container">
<p>User-identifiable <strong>choices</strong>, with these headers:</p>
<table className="standard-table">
<tbody>
<tr>
<th>Name</th>
<th>Description</th>
<th>Images</th>
</tr>
<tr classNa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.