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": "_cards.ships\n\n pilot_translations =\n \"Wedge Antilles\":\n text: \"\"\"Во время атаки, уменьшите ",
"end": 5847,
"score": 0.8435624837875366,
"start": 5833,
"tag": "NAME",
"value": "Wedge Antilles"
},
{
"context": "(значение не может быть меньш... | cards-ru.coffee | michigun/xwing | 0 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.de = 'Russian'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.Russian =
action:
"Barrel Roll": "Бочка"
"Boost": "Ускорение"
"Evade": "Уклонение"
... | 154186 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.de = 'Russian'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.Russian =
action:
"Barrel Roll": "Бочка"
"Boost": "Ускорение"
"Evade": "Уклонение"
... | true | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.de = 'Russian'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.Russian =
action:
"Barrel Roll": "Бочка"
"Boost": "Ускорение"
"Evade": "Уклонение"
... |
[
{
"context": "tials =\n url: 'http://demo.gitlab.com'\n token: 'bad-token'\n\ngitlab = new Gitlab\n url: credentials.url\n",
"end": 175,
"score": 0.9701518416404724,
"start": 166,
"tag": "PASSWORD",
"value": "bad-token"
}
] | examples/bad-token.coffee | lengyuedaidai/node-gitlab | 143 | #!/usr/bin/env coffee
# clear terminal
process.stdout.write '\u001B[2J\u001B[0;0f'
Gitlab = require('..')
credentials =
url: 'http://demo.gitlab.com'
token: 'bad-token'
gitlab = new Gitlab
url: credentials.url
token: credentials.token
gitlab.projects.all (err, resp, result) ->
console.log "having:... | 139376 | #!/usr/bin/env coffee
# clear terminal
process.stdout.write '\u001B[2J\u001B[0;0f'
Gitlab = require('..')
credentials =
url: 'http://demo.gitlab.com'
token: '<PASSWORD>'
gitlab = new Gitlab
url: credentials.url
token: credentials.token
gitlab.projects.all (err, resp, result) ->
console.log "having... | true | #!/usr/bin/env coffee
# clear terminal
process.stdout.write '\u001B[2J\u001B[0;0f'
Gitlab = require('..')
credentials =
url: 'http://demo.gitlab.com'
token: 'PI:PASSWORD:<PASSWORD>END_PI'
gitlab = new Gitlab
url: credentials.url
token: credentials.token
gitlab.projects.all (err, resp, result) ->
c... |
[
{
"context": "oid', 'disc'] then 'ellipse' else 'rect'\n key = \"#{shapeName}-shadow\"\n SHADOW_SIZE = 10\n unless key in @layer.sp",
"end": 4652,
"score": 0.713764488697052,
"start": 4632,
"tag": "KEY",
"value": "\"#{shapeName}-shadow"
},
{
"context": "oid', 'disc'] then 'e... | app/lib/surface/Mark.coffee | JurianLock/codecombat | 2 | CocoClass = require 'core/CocoClass'
Camera = require './Camera'
ThangType = require 'models/ThangType'
markThangTypes = {}
module.exports = class Mark extends CocoClass
subscriptions: {}
alpha: 1
constructor: (options) ->
super()
options ?= {}
@name = options.name
@lank = options.lank
@came... | 54513 | CocoClass = require 'core/CocoClass'
Camera = require './Camera'
ThangType = require 'models/ThangType'
markThangTypes = {}
module.exports = class Mark extends CocoClass
subscriptions: {}
alpha: 1
constructor: (options) ->
super()
options ?= {}
@name = options.name
@lank = options.lank
@came... | true | CocoClass = require 'core/CocoClass'
Camera = require './Camera'
ThangType = require 'models/ThangType'
markThangTypes = {}
module.exports = class Mark extends CocoClass
subscriptions: {}
alpha: 1
constructor: (options) ->
super()
options ?= {}
@name = options.name
@lank = options.lank
@came... |
[
{
"context": "xtends LayerInfo\n @shouldParse: (key) -> key is 'FMsk'\n\n constructor: (layer, length) ->\n super(lay",
"end": 133,
"score": 0.7310943007469177,
"start": 129,
"tag": "KEY",
"value": "FMsk"
}
] | src/psd/layer_info/filter_mask.coffee | taofei-pro/psd.js | 0 | LayerInfo = require '../layer_info.coffee'
module.exports = class FilterMask extends LayerInfo
@shouldParse: (key) -> key is 'FMsk'
constructor: (layer, length) ->
super(layer, length)
parse: ->
@color = @file.readSpaceColor()
@opacity = @file.readShort()
| 64334 | LayerInfo = require '../layer_info.coffee'
module.exports = class FilterMask extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
constructor: (layer, length) ->
super(layer, length)
parse: ->
@color = @file.readSpaceColor()
@opacity = @file.readShort()
| true | LayerInfo = require '../layer_info.coffee'
module.exports = class FilterMask extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
constructor: (layer, length) ->
super(layer, length)
parse: ->
@color = @file.readSpaceColor()
@opacity = @file.readShort()
|
[
{
"context": "view Enforce autoFocus prop is not used.\n# @author Ethan Cohen <@evcohen>\n###\n\n# -------------------------------",
"end": 102,
"score": 0.9998877048492432,
"start": 91,
"tag": "NAME",
"value": "Ethan Cohen"
},
{
"context": "utoFocus prop is not used.\n# @author Etha... | src/tests/rules/no-autofocus.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce autoFocus prop is not used.
# @author Ethan Cohen <@evcohen>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{Ru... | 160564 | ### eslint-env jest ###
###*
# @fileoverview Enforce autoFocus prop is not used.
# @author <NAME> <@evcohen>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{RuleTes... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce autoFocus prop is not used.
# @author PI:NAME:<NAME>END_PI <@evcohen>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require '... |
[
{
"context": "\n and: \"og\"\n back: \"tilbake\"\n changePassword: \"Bytt passord\"\n choosePassword: \"Velg passord\"\n clickAgree: \"",
"end": 140,
"score": 0.9973692893981934,
"start": 128,
"tag": "PASSWORD",
"value": "Bytt passord"
},
{
"context": "changePassword: \"Bytt pas... | t9n/no_NB.coffee | tnedich/meteor-accounts-t9n | 0 | #Language: Norwegian bokmål
#Translators: Kjetilge
no_NB =
add: "legg til"
and: "og"
back: "tilbake"
changePassword: "Bytt passord"
choosePassword: "Velg passord"
clickAgree: "Ved å klikke meld på godtar du vår"
configure: "Konfigurer"
createAccount: "Oprett konto"
currentPassword: "Nåværende passor... | 98307 | #Language: Norwegian bokmål
#Translators: Kjetilge
no_NB =
add: "legg til"
and: "og"
back: "tilbake"
changePassword: "<PASSWORD>"
choosePassword: "<PASSWORD>"
clickAgree: "Ved å klikke meld på godtar du vår"
configure: "Konfigurer"
createAccount: "Oprett konto"
currentPassword: "<PASSWORD>"
dontHa... | true | #Language: Norwegian bokmål
#Translators: Kjetilge
no_NB =
add: "legg til"
and: "og"
back: "tilbake"
changePassword: "PI:PASSWORD:<PASSWORD>END_PI"
choosePassword: "PI:PASSWORD:<PASSWORD>END_PI"
clickAgree: "Ved å klikke meld på godtar du vår"
configure: "Konfigurer"
createAccount: "Oprett konto"
cu... |
[
{
"context": "iew Prevent missing React when using JSX\n# @author Glen Mailer\n###\n'use strict'\n\nvariableUtil = require 'eslint-",
"end": 79,
"score": 0.9997812509536743,
"start": 68,
"tag": "NAME",
"value": "Glen Mailer"
}
] | src/rules/react-in-jsx-scope.coffee | helixbass/eslint-plugin-known-imports | 4 | ###*
# @fileoverview Prevent missing React when using JSX
# @author Glen Mailer
###
'use strict'
variableUtil = require 'eslint-plugin-react/lib/util/variable'
pragmaUtil = require 'eslint-plugin-react/lib/util/pragma'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ----------------------------------------... | 123218 | ###*
# @fileoverview Prevent missing React when using JSX
# @author <NAME>
###
'use strict'
variableUtil = require 'eslint-plugin-react/lib/util/variable'
pragmaUtil = require 'eslint-plugin-react/lib/util/pragma'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ---------------------------------------------... | true | ###*
# @fileoverview Prevent missing React when using JSX
# @author PI:NAME:<NAME>END_PI
###
'use strict'
variableUtil = require 'eslint-plugin-react/lib/util/variable'
pragmaUtil = require 'eslint-plugin-react/lib/util/pragma'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# -------------------------------... |
[
{
"context": "e '#clone()', ->\n a =\n 'name': 'Jim'\n 'age': 18\n 'score': \n ",
"end": 5069,
"score": 0.9995874762535095,
"start": 5066,
"tag": "NAME",
"value": "Jim"
},
{
"context": "e(a)\n\n b.should.have.property('name', 'Jim... | test/MObjectUtilSpec.coffee | zhongxingdou/mayjs | 0 | describe 'MObjectUtil', ->
util = require('../may.js').MObjectUtil
describe '#isPrivate()', ->
it 'should assert a name whether it can be a private method name', ->
isPrivate = util.isPrivate.bind util
isPrivate('__fn').should.be.true
isPrivate('__').should.be.true
... | 183394 | describe 'MObjectUtil', ->
util = require('../may.js').MObjectUtil
describe '#isPrivate()', ->
it 'should assert a name whether it can be a private method name', ->
isPrivate = util.isPrivate.bind util
isPrivate('__fn').should.be.true
isPrivate('__').should.be.true
... | true | describe 'MObjectUtil', ->
util = require('../may.js').MObjectUtil
describe '#isPrivate()', ->
it 'should assert a name whether it can be a private method name', ->
isPrivate = util.isPrivate.bind util
isPrivate('__fn').should.be.true
isPrivate('__').should.be.true
... |
[
{
"context": "Administrator({name: name, email: email, password: password})\n administrator.save((error) ->\n\n if err",
"end": 1000,
"score": 0.9983704686164856,
"start": 992,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "tor.email = email\n administrator.pa... | server/controllers/management/administrators.coffee | gertu/gertu | 1 | mongoose = require 'mongoose'
Administrator = mongoose.model 'Administrator'
exports.list = (req, res) ->
Administrator.find({}).exec( (err, administrators) ->
if err
res.status(500).send('Database error')
else
res.render 'pages/management/administrators/list', {administrators: administrators... | 221101 | mongoose = require 'mongoose'
Administrator = mongoose.model 'Administrator'
exports.list = (req, res) ->
Administrator.find({}).exec( (err, administrators) ->
if err
res.status(500).send('Database error')
else
res.render 'pages/management/administrators/list', {administrators: administrators... | true | mongoose = require 'mongoose'
Administrator = mongoose.model 'Administrator'
exports.list = (req, res) ->
Administrator.find({}).exec( (err, administrators) ->
if err
res.status(500).send('Database error')
else
res.render 'pages/management/administrators/list', {administrators: administrators... |
[
{
"context": "'spark'\n @loginPromise = spark.login { username:@email, password:@password }\n @loginPromise.done (e) ",
"end": 4819,
"score": 0.6753714084625244,
"start": 4813,
"tag": "USERNAME",
"value": "@email"
},
{
"context": "nPromise = spark.login { username:@email, passw... | lib/views/login-view.coffee | lukehoban/spark-dev | 1 | {View, TextEditorView} = require 'atom'
$ = null
_s = null
Subscriber = null
spark = null
SettingsHelper = null
validator = null
module.exports =
class LoginView extends View
@content: ->
@div id: 'spark-dev-login-view', class: 'overlay from-top', =>
@div class: 'block', =>
@span 'Log in to Spark ... | 104084 | {View, TextEditorView} = require 'atom'
$ = null
_s = null
Subscriber = null
spark = null
SettingsHelper = null
validator = null
module.exports =
class LoginView extends View
@content: ->
@div id: 'spark-dev-login-view', class: 'overlay from-top', =>
@div class: 'block', =>
@span 'Log in to Spark ... | true | {View, TextEditorView} = require 'atom'
$ = null
_s = null
Subscriber = null
spark = null
SettingsHelper = null
validator = null
module.exports =
class LoginView extends View
@content: ->
@div id: 'spark-dev-login-view', class: 'overlay from-top', =>
@div class: 'block', =>
@span 'Log in to Spark ... |
[
{
"context": "hListView\":\n \"core:confirm\": \"Umieść w poczekalni\"\n \"github:resolve-file-as-ours\": \"Rozwiąż konf",
"end": 8026,
"score": 0.6036476492881775,
"start": 8024,
"tag": "NAME",
"value": "ni"
}
] | def/pl/context.cson | Vegebutcher/atom-i18n | 0 | Context:
"atom-workspace":
"application:inspect": "Zbadaj element"
"atom-text-editor":
"color-picker:open": "Próbnik koloru"
"minimap:toggle": "Przełącz minimapę"
# added for atom/bookmarks
"bookmarks:toggle-bookmark": "Przełącz zakładkę"
"atom-text-editor, .overlayer":
"core:undo": "Cofni... | 591 | Context:
"atom-workspace":
"application:inspect": "Zbadaj element"
"atom-text-editor":
"color-picker:open": "Próbnik koloru"
"minimap:toggle": "Przełącz minimapę"
# added for atom/bookmarks
"bookmarks:toggle-bookmark": "Przełącz zakładkę"
"atom-text-editor, .overlayer":
"core:undo": "Cofni... | true | Context:
"atom-workspace":
"application:inspect": "Zbadaj element"
"atom-text-editor":
"color-picker:open": "Próbnik koloru"
"minimap:toggle": "Przełącz minimapę"
# added for atom/bookmarks
"bookmarks:toggle-bookmark": "Przełącz zakładkę"
"atom-text-editor, .overlayer":
"core:undo": "Cofni... |
[
{
"context": ": $('#user_name').val()\n password: $('#password').val()\n }\n success: (r)->\n ",
"end": 1207,
"score": 0.8768926858901978,
"start": 1199,
"tag": "PASSWORD",
"value": "password"
}
] | static/coffee/www/reg.coffee | tonghuashuai/51xuehuahua | 0 | sec = 59
intval = null
getCaptcha =->
$.ajax({
url: '/j/captcha'
method: 'POST'
success: (r)->
$('#captcha').attr('src', "data:image/gif;base64,#{r.img}")
$('#key').val(r.key)
})
getSmsCode =->
$._ajax({
url: '/j/sms_code'
method: 'POST'
... | 148208 | sec = 59
intval = null
getCaptcha =->
$.ajax({
url: '/j/captcha'
method: 'POST'
success: (r)->
$('#captcha').attr('src', "data:image/gif;base64,#{r.img}")
$('#key').val(r.key)
})
getSmsCode =->
$._ajax({
url: '/j/sms_code'
method: 'POST'
... | true | sec = 59
intval = null
getCaptcha =->
$.ajax({
url: '/j/captcha'
method: 'POST'
success: (r)->
$('#captcha').attr('src', "data:image/gif;base64,#{r.img}")
$('#key').val(r.key)
})
getSmsCode =->
$._ajax({
url: '/j/sms_code'
method: 'POST'
... |
[
{
"context": "lection([\n new Backbone.Model({id: 2, name: \"Luccas Marks\", role_name: \"user\"})\n ])\n\n @myRegion = new",
"end": 429,
"score": 0.9997995495796204,
"start": 417,
"tag": "NAME",
"value": "Luccas Marks"
}
] | spec/javascripts/core/apps/admin/user-view.spec.coffee | houzelio/houzel | 2 | import UserView from 'javascripts/core/apps/admin/user-view'
import { AppChan } from 'javascripts/core/channels'
describe("Admin User View", () ->
MyRegion = Marionette.Region.extend({
el: '#setting-region'
})
beforeAll ->
$('#main-region').empty()
beforeEach ->
setFixtures(__html__['setting-regi... | 202593 | import UserView from 'javascripts/core/apps/admin/user-view'
import { AppChan } from 'javascripts/core/channels'
describe("Admin User View", () ->
MyRegion = Marionette.Region.extend({
el: '#setting-region'
})
beforeAll ->
$('#main-region').empty()
beforeEach ->
setFixtures(__html__['setting-regi... | true | import UserView from 'javascripts/core/apps/admin/user-view'
import { AppChan } from 'javascripts/core/channels'
describe("Admin User View", () ->
MyRegion = Marionette.Region.extend({
el: '#setting-region'
})
beforeAll ->
$('#main-region').empty()
beforeEach ->
setFixtures(__html__['setting-regi... |
[
{
"context": "ideoScraper\n collection: 'video'\n key: 'videoId'\n .use authors()\n .use newPage\n outp",
"end": 5981,
"score": 0.8041571974754333,
"start": 5976,
"tag": "KEY",
"value": "video"
}
] | .metalsmith/metal.coffee | priyadarshan/kdlearn | 40 | #
# # Metal
#
# Our metalsmith build code.
#
path = require 'path'
highlightjs = require 'highlight.js'
marked = require 'marked'
metalsmith = require 'metalsmith'
collections = require 'metalsmith-collections'
drafts = require 'metalsmith-drafts'
excerpts = require 'metalsmith-excerpts'
ign... | 27218 | #
# # Metal
#
# Our metalsmith build code.
#
path = require 'path'
highlightjs = require 'highlight.js'
marked = require 'marked'
metalsmith = require 'metalsmith'
collections = require 'metalsmith-collections'
drafts = require 'metalsmith-drafts'
excerpts = require 'metalsmith-excerpts'
ign... | true | #
# # Metal
#
# Our metalsmith build code.
#
path = require 'path'
highlightjs = require 'highlight.js'
marked = require 'marked'
metalsmith = require 'metalsmith'
collections = require 'metalsmith-collections'
drafts = require 'metalsmith-drafts'
excerpts = require 'metalsmith-excerpts'
ign... |
[
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.",
"end": 17,
"score": 0.9274728298187256,
"start": 16,
"tag": "EMAIL",
"value": "j"
},
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.\n#\n# Per",
"end": 25,
... | static/js/app/core/render.coffee | yadutaf/Weathermap-archive | 1 | ###
# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... | 217819 | ###
# Copyright <EMAIL>tlebi.fr <<EMAIL>> and other contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy... | true | ###
# Copyright PI:EMAIL:<EMAIL>END_PItlebi.fr <PI:EMAIL:<EMAIL>END_PI> and other contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limi... |
[
{
"context": " subsequent requests:\n @auth.password = password\n\n # Void method:\n cb null\n\n",
"end": 4272,
"score": 0.8786374926567078,
"start": 4264,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "for now.\n # https:/... | Lambda Functions/searchlocales/node_modules/neo4j/lib-new/GraphDatabase.coffee | RussellPhipps/PilgrimAdminTools | 0 | $ = require 'underscore'
assert = require 'assert'
Constraint = require './Constraint'
{Error} = require './errors'
Index = require './Index'
lib = require '../package.json'
Node = require './Node'
Relationship = require './Relationship'
Request = require 'request'
Transaction = require './Transaction'
URL = require 'u... | 134898 | $ = require 'underscore'
assert = require 'assert'
Constraint = require './Constraint'
{Error} = require './errors'
Index = require './Index'
lib = require '../package.json'
Node = require './Node'
Relationship = require './Relationship'
Request = require 'request'
Transaction = require './Transaction'
URL = require 'u... | true | $ = require 'underscore'
assert = require 'assert'
Constraint = require './Constraint'
{Error} = require './errors'
Index = require './Index'
lib = require '../package.json'
Node = require './Node'
Relationship = require './Relationship'
Request = require 'request'
Transaction = require './Transaction'
URL = require 'u... |
[
{
"context": "/DuplicateError\n@extends restify/RestError\n@author Isaac Johnston <isaac.johnston@joukou.com>\n###\n\n{ RestError } = ",
"end": 666,
"score": 0.9998784065246582,
"start": 652,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": "extends restify/RestError\n@author... | src/error/DuplicateError.coffee | joukou/joukou-api | 0 | "use strict"
###*
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,... | 168276 | "use strict"
###*
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,... | true | "use strict"
###*
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,... |
[
{
"context": "preserve\nBrauhaus.js BeerXML Plugin\nCopyright 2013 Daniel G. Taylor <danielgtaylor@gmail.com>\nhttps://github.com/home",
"end": 72,
"score": 0.9998127222061157,
"start": 56,
"tag": "NAME",
"value": "Daniel G. Taylor"
},
{
"context": "s BeerXML Plugin\nCopyright 2013 D... | src/globals.coffee | pedesen/brauhaus-beerxml | 0 | ###
@preserve
Brauhaus.js BeerXML Plugin
Copyright 2013 Daniel G. Taylor <danielgtaylor@gmail.com>
https://github.com/homebrewing/brauhausjs-beerxml
###
# Import Brauhaus if it hasn't already been defined
Brauhaus = @Brauhaus ? require 'brauhaus'
# Import DOM parser if needed to process BeerXML input
# Works in Node.... | 109106 | ###
@preserve
Brauhaus.js BeerXML Plugin
Copyright 2013 <NAME> <<EMAIL>>
https://github.com/homebrewing/brauhausjs-beerxml
###
# Import Brauhaus if it hasn't already been defined
Brauhaus = @Brauhaus ? require 'brauhaus'
# Import DOM parser if needed to process BeerXML input
# Works in Node.js, Chrome, Firefox, IE9+,... | true | ###
@preserve
Brauhaus.js BeerXML Plugin
Copyright 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
https://github.com/homebrewing/brauhausjs-beerxml
###
# Import Brauhaus if it hasn't already been defined
Brauhaus = @Brauhaus ? require 'brauhaus'
# Import DOM parser if needed to process BeerXML input
# Works in No... |
[
{
"context": "fore saving', ->\n user = new User\n name: 'Brian'\n resume: \"Line one\\r\\n\\r\\r\\r\\nLine two\"\n ",
"end": 666,
"score": 0.9994869232177734,
"start": 661,
"tag": "NAME",
"value": "Brian"
},
{
"context": "fter saving', ->\n user = new User\n n... | spec/callbacks.spec.coffee | brianewing/footrest | 1 | footrest = require('../lib/index')
Model = require('../lib/model').Model
class User extends Model
@type 'User'
@database = footrest.database('footrest')
@attr 'name', 'password', 'email', 'resume'
@beforeSave 'cleanResume'
@afterSave 'reverseName'
cleanResume: ->
@resume = @resume.replace /\r\n?/g, "... | 194949 | footrest = require('../lib/index')
Model = require('../lib/model').Model
class User extends Model
@type 'User'
@database = footrest.database('footrest')
@attr 'name', 'password', 'email', 'resume'
@beforeSave 'cleanResume'
@afterSave 'reverseName'
cleanResume: ->
@resume = @resume.replace /\r\n?/g, "... | true | footrest = require('../lib/index')
Model = require('../lib/model').Model
class User extends Model
@type 'User'
@database = footrest.database('footrest')
@attr 'name', 'password', 'email', 'resume'
@beforeSave 'cleanResume'
@afterSave 'reverseName'
cleanResume: ->
@resume = @resume.replace /\r\n?/g, "... |
[
{
"context": " beforeEach ->\n _data = [\n {name: \"Jim\"}\n {name: \"Some Dude\"}\n ]\n\n $htt",
"end": 1225,
"score": 0.9994045495986938,
"start": 1222,
"tag": "NAME",
"value": "Jim"
},
{
"context": " _data = [\n {name: \"Jim\"}\n {nam... | test/unit/extras_spec.coffee | killercup/angular-epicmodel | 0 | describe "Extras", ->
angular.module 'Stuff', ['EpicModel']
beforeEach module('Stuff')
beforeEach addHelpers()
Collection = $httpBackend = null
beforeEach inject (_$httpBackend_, _Collection_) ->
Collection = _Collection_
$httpBackend = _$httpBackend_
describe 'as functions', ->
it 'should be ... | 170779 | describe "Extras", ->
angular.module 'Stuff', ['EpicModel']
beforeEach module('Stuff')
beforeEach addHelpers()
Collection = $httpBackend = null
beforeEach inject (_$httpBackend_, _Collection_) ->
Collection = _Collection_
$httpBackend = _$httpBackend_
describe 'as functions', ->
it 'should be ... | true | describe "Extras", ->
angular.module 'Stuff', ['EpicModel']
beforeEach module('Stuff')
beforeEach addHelpers()
Collection = $httpBackend = null
beforeEach inject (_$httpBackend_, _Collection_) ->
Collection = _Collection_
$httpBackend = _$httpBackend_
describe 'as functions', ->
it 'should be ... |
[
{
"context": " (done)->\n process.env.HUBOT_FORECAST_KEY = '234f931fed3c5c7b54c846c9100f8b50'\n process.env.HUBOT_LATITUDE = '42.351170'\n ",
"end": 1274,
"score": 0.9997336268424988,
"start": 1242,
"tag": "KEY",
"value": "234f931fed3c5c7b54c846c9100f8b50"
},
{
"context": "... | test/forecast-test.coffee | jeffbyrnes/hubot-forecast | 3 | path = require 'path'
fs = require 'fs'
Robot = require 'hubot/src/robot'
TextMessage = require('hubot/src/message').TextMessage
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
{ expect } = chai
loadFixture = (name)->
JSON.parse fs.readFileSync "spec/fixtures/#{name}.json"
describe 'fore... | 16738 | path = require 'path'
fs = require 'fs'
Robot = require 'hubot/src/robot'
TextMessage = require('hubot/src/message').TextMessage
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
{ expect } = chai
loadFixture = (name)->
JSON.parse fs.readFileSync "spec/fixtures/#{name}.json"
describe 'fore... | true | path = require 'path'
fs = require 'fs'
Robot = require 'hubot/src/robot'
TextMessage = require('hubot/src/message').TextMessage
chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
{ expect } = chai
loadFixture = (name)->
JSON.parse fs.readFileSync "spec/fixtures/#{name}.json"
describe 'fore... |
[
{
"context": "ys.lua\"]\n\ntemplates =\n init:\n keys: (id) -> [\"b_#{id}_settings\", \"b_#{id}_running\", \"b_#{id}_executing\"]\n lib",
"end": 319,
"score": 0.9829738140106201,
"start": 303,
"tag": "KEY",
"value": "b_#{id}_settings"
},
{
"context": "\n init:\n keys: (id)... | node_modules/bottleneck/src/Scripts.coffee | martinch-kth/probot-app | 0 | lua = require "./lua.json"
libraries =
get_time: lua["get_time.lua"]
refresh_capacity: lua["refresh_capacity.lua"]
conditions_check: lua["conditions_check.lua"]
refresh_expiration: lua["refresh_expiration.lua"]
validate_keys: lua["validate_keys.lua"]
templates =
init:
keys: (id) -> ["b_#{id}_settings"... | 7345 | lua = require "./lua.json"
libraries =
get_time: lua["get_time.lua"]
refresh_capacity: lua["refresh_capacity.lua"]
conditions_check: lua["conditions_check.lua"]
refresh_expiration: lua["refresh_expiration.lua"]
validate_keys: lua["validate_keys.lua"]
templates =
init:
keys: (id) -> ["<KEY>", "b<KEY>_#... | true | lua = require "./lua.json"
libraries =
get_time: lua["get_time.lua"]
refresh_capacity: lua["refresh_capacity.lua"]
conditions_check: lua["conditions_check.lua"]
refresh_expiration: lua["refresh_expiration.lua"]
validate_keys: lua["validate_keys.lua"]
templates =
init:
keys: (id) -> ["PI:KEY:<KEY>END_P... |
[
{
"context": "w err\n\nusers = [\n {\n 'id': 1\n \"fullName\": \"Ogburn, Aaron\",\n \"sso\": 'rhn-support-aogburn'\n #\"sso\": [\n ",
"end": 1624,
"score": 0.9998683929443359,
"start": 1611,
"tag": "NAME",
"value": "Ogburn, Aaron"
},
{
"context": "2, }},\n ]\n }\n {\... | test/com/redhat/ascension/scoring/scoringTest.coffee | pbathia/ascension | 0 | chai = require 'chai'
expect = chai.expect
should = chai.should()
fs = require 'fs'
yaml = require 'js-yaml'
path = require('path')
assert = require 'assert'
should = require 'should'
moment = require 'moment'
logger = require('tracer').colorConsole()
mongoose... | 126469 | chai = require 'chai'
expect = chai.expect
should = chai.should()
fs = require 'fs'
yaml = require 'js-yaml'
path = require('path')
assert = require 'assert'
should = require 'should'
moment = require 'moment'
logger = require('tracer').colorConsole()
mongoose... | true | chai = require 'chai'
expect = chai.expect
should = chai.should()
fs = require 'fs'
yaml = require 'js-yaml'
path = require('path')
assert = require 'assert'
should = require 'should'
moment = require 'moment'
logger = require('tracer').colorConsole()
mongoose... |
[
{
"context": "n\": \"true\"\n # \"results\": [\n # {\"otrkey\": \"20_jahre_feste\", \"key2\": \"value2\"}\n # {\"otrkey\": \"30_jahre_",
"end": 25243,
"score": 0.9977566599845886,
"start": 25229,
"tag": "KEY",
"value": "20_jahre_feste"
},
{
"context": ": [\n # {\"ot... | test/fixtures/gavel2html-pointers.coffee | apiaryio/gavel2html | 1 | h = {}
gavel2htmlOutputOptions =
wrapWith: '<wrapStart>##data<wrapEnd>',
startTag: '<startTag>',
endTag: '</endTag>',
missingStartTag: '<missingStartTag>',
addedStartTag: "<addedStartTag>",
changedStartTag: '<changedStartTag>',
comments: true,
commentStartTag: '<commentStartTag>',
commentEndTag: '</c... | 180444 | h = {}
gavel2htmlOutputOptions =
wrapWith: '<wrapStart>##data<wrapEnd>',
startTag: '<startTag>',
endTag: '</endTag>',
missingStartTag: '<missingStartTag>',
addedStartTag: "<addedStartTag>",
changedStartTag: '<changedStartTag>',
comments: true,
commentStartTag: '<commentStartTag>',
commentEndTag: '</c... | true | h = {}
gavel2htmlOutputOptions =
wrapWith: '<wrapStart>##data<wrapEnd>',
startTag: '<startTag>',
endTag: '</endTag>',
missingStartTag: '<missingStartTag>',
addedStartTag: "<addedStartTag>",
changedStartTag: '<changedStartTag>',
comments: true,
commentStartTag: '<commentStartTag>',
commentEndTag: '</c... |
[
{
"context": "rocess.env['MONGOHQ_URL'] || 'mongodb://localhost/lnug'\n\nSchema = mongoose.Schema\nObjectId = Schema.Obje",
"end": 224,
"score": 0.8224402666091919,
"start": 220,
"tag": "USERNAME",
"value": "lnug"
},
{
"context": "body.password == (process.env['JOB_PASSWORD'] || 'pas... | server.coffee | basicallydan/website | 0 | express = require 'express'
sizlate = require 'sizlate'
mongoose = require 'mongoose'
moment = require 'moment'
md = require("node-markdown").Markdown
mongoose.connect process.env['MONGOHQ_URL'] || 'mongodb://localhost/lnug'
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
app = express()
app.set('view engine', ... | 219572 | express = require 'express'
sizlate = require 'sizlate'
mongoose = require 'mongoose'
moment = require 'moment'
md = require("node-markdown").Markdown
mongoose.connect process.env['MONGOHQ_URL'] || 'mongodb://localhost/lnug'
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
app = express()
app.set('view engine', ... | true | express = require 'express'
sizlate = require 'sizlate'
mongoose = require 'mongoose'
moment = require 'moment'
md = require("node-markdown").Markdown
mongoose.connect process.env['MONGOHQ_URL'] || 'mongodb://localhost/lnug'
Schema = mongoose.Schema
ObjectId = Schema.ObjectId
app = express()
app.set('view engine', ... |
[
{
"context": "emp}, ${3:3nd3} and chain A;\n run ${3:/Users/blaine-mooers/Scripts/PyMOLScripts/msms_pymol.py};\n calc_m",
"end": 11084,
"score": 0.9968249797821045,
"start": 11071,
"tag": "USERNAME",
"value": "blaine-mooers"
},
{
"context": "\".pse\");\n end python;\n ... | atompymolsnips/pymolsnippets.cson | marevebro/pymolsnips | 0 | '.source.pymol':
'Ambient occlussion.':
'prefix': 'ao'
'body': '''
set_color oxygen, [1.0,0.4,0.4];
set_color nitrogen, [0.5,0.5,1.0];
remove solvent;
as spheres;
util.cbaw;
bg white;
set light_count,10;
set spec_count,1;
set shininess, 10;
set specu... | 203236 | '.source.pymol':
'Ambient occlussion.':
'prefix': 'ao'
'body': '''
set_color oxygen, [1.0,0.4,0.4];
set_color nitrogen, [0.5,0.5,1.0];
remove solvent;
as spheres;
util.cbaw;
bg white;
set light_count,10;
set spec_count,1;
set shininess, 10;
set specu... | true | '.source.pymol':
'Ambient occlussion.':
'prefix': 'ao'
'body': '''
set_color oxygen, [1.0,0.4,0.4];
set_color nitrogen, [0.5,0.5,1.0];
remove solvent;
as spheres;
util.cbaw;
bg white;
set light_count,10;
set spec_count,1;
set shininess, 10;
set specu... |
[
{
"context": "ateRes = (msg) ->\n args: ['#test', msg]\n user: 'Test'\n prefix: '!test@test.com'\n\ndescribe 'Domo basic",
"end": 137,
"score": 0.9990560412406921,
"start": 133,
"tag": "USERNAME",
"value": "Test"
},
{
"context": " args: ['#test', msg]\n user: 'Test'\n prefix: '... | test/basic-routes.coffee | rikukissa/domo | 4 | _ = require 'underscore'
assert = require 'assert'
Domo = require '../'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!test@test.com'
describe 'Domo basic routes', ->
it 'should print information about domo when !domo is called', (done) ->
domo = new Domo()
domo.use domo.basi... | 178846 | _ = require 'underscore'
assert = require 'assert'
Domo = require '../'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!<EMAIL>'
describe 'Domo basic routes', ->
it 'should print information about domo when !domo is called', (done) ->
domo = new Domo()
domo.use domo.basicRoute... | true | _ = require 'underscore'
assert = require 'assert'
Domo = require '../'
createRes = (msg) ->
args: ['#test', msg]
user: 'Test'
prefix: '!PI:EMAIL:<EMAIL>END_PI'
describe 'Domo basic routes', ->
it 'should print information about domo when !domo is called', (done) ->
domo = new Domo()
domo.use ... |
[
{
"context": "ue\n# from v_variables\n# where key = 'v7')\n# select * from v1, json_each( v1.value );\"",
"end": 4160,
"score": 0.8732911944389343,
"start": 4159,
"tag": "KEY",
"value": "7"
}
] | dev/icql-dba-vars/src/main.tests.coffee | loveencounterflow/hengist | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'ICQL-DBA-TAGS/TESTS'
debug = CND.get_logger 'debug', badge
warn ... | 21990 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'ICQL-DBA-TAGS/TESTS'
debug = CND.get_logger 'debug', badge
warn ... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'ICQL-DBA-TAGS/TESTS'
debug = CND.get_logger 'debug', badge
warn ... |
[
{
"context": "############\n#\n#\tMooqita publications\n# Created by Markus on 26/10/2016.\n#\n################################",
"end": 100,
"score": 0.9993622303009033,
"start": 94,
"tag": "NAME",
"value": "Markus"
}
] | server/publications/solution.coffee | agottschalk10/worklearn | 0 | #######################################################
#
# Mooqita publications
# Created by Markus on 26/10/2016.
#
#######################################################
#######################################################
# item header
#######################################################
##################... | 19883 | #######################################################
#
# Mooqita publications
# Created by <NAME> on 26/10/2016.
#
#######################################################
#######################################################
# item header
#######################################################
##################... | true | #######################################################
#
# Mooqita publications
# Created by PI:NAME:<NAME>END_PI on 26/10/2016.
#
#######################################################
#######################################################
# item header
#######################################################
####... |
[
{
"context": " pony\"\n DerpyHooves = {}\n\n result =\n ```\n Dear Princess Celestia, \n\n I said \"Hello from FiMscript\"!\n\n Did you kn",
"end": 181,
"score": 0.998494029045105,
"start": 164,
"tag": "NAME",
"value": "Princess Celestia"
},
{
"context": " Then I got somepony.... | test/friendscript.coffee | btown-side-projects/friendscript | 0 |
# Basic example, then a test suite.
do ->
console.log "Hello from CoffeeScript"
Derpy = "a perfectly normal pony"
DerpyHooves = {}
result =
```
Dear Princess Celestia,
I said "Hello from FiMscript"!
Did you know that Derpy was "wall-eyed"?
I learned that Derpy Hooves's vision was "MUFFINS".
I... | 132705 |
# Basic example, then a test suite.
do ->
console.log "Hello from CoffeeScript"
Derpy = "a perfectly normal pony"
DerpyHooves = {}
result =
```
Dear <NAME>,
I said "Hello from FiMscript"!
Did you know that Derpy was "wall-eyed"?
I learned that Derpy Hooves's vision was "MUFFINS".
I learned to... | true |
# Basic example, then a test suite.
do ->
console.log "Hello from CoffeeScript"
Derpy = "a perfectly normal pony"
DerpyHooves = {}
result =
```
Dear PI:NAME:<NAME>END_PI,
I said "Hello from FiMscript"!
Did you know that Derpy was "wall-eyed"?
I learned that Derpy Hooves's vision was "MUFFINS".
... |
[
{
"context": " for user in identity.users\n if user.id == @self.id\n @robot.logger.debug \"SlackBot#authen",
"end": 6151,
"score": 0.8835420608520508,
"start": 6146,
"tag": "USERNAME",
"value": "@self"
},
{
"context": "e comparing to the message text.\n @robot.nam... | src/bot.coffee | shanedewael/hubot-slack | 0 | {Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, CatchAllMessage} = require.main.require "hubot"
{SlackTextMessage, ReactionMessage, PresenceMessage} = require "./message"
SlackClient = require "./client"
... | 3465 | {Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, CatchAllMessage} = require.main.require "hubot"
{SlackTextMessage, ReactionMessage, PresenceMessage} = require "./message"
SlackClient = require "./client"
... | true | {Adapter, TextMessage, EnterMessage, LeaveMessage, TopicMessage, CatchAllMessage} = require.main.require "hubot"
{SlackTextMessage, ReactionMessage, PresenceMessage} = require "./message"
SlackClient = require "./client"
... |
[
{
"context": "get for displaying the current time and date\n\n\n Robin 'codeFareith' von den Bergen\n robinvonberg@gmx",
"end": 173,
"score": 0.9998326301574707,
"start": 168,
"tag": "NAME",
"value": "Robin"
},
{
"context": "displaying the current time and date\n\n\n Robin '... | fancy-datetime.widget/index.coffee | codeFareith/FancyDateTime | 2 | ###
----------------------------------------------------------------
Fancy DateTime - v1.0.0
Uebersicht-widget for displaying the current time and date
Robin 'codeFareith' von den Bergen
robinvonberg@gmx.de
https://github.com/codefareith
---------------------------------------------------------... | 62858 | ###
----------------------------------------------------------------
Fancy DateTime - v1.0.0
Uebersicht-widget for displaying the current time and date
<NAME> 'codeFareith' <NAME>
<EMAIL>
https://github.com/codefareith
----------------------------------------------------------------
###
# Widg... | true | ###
----------------------------------------------------------------
Fancy DateTime - v1.0.0
Uebersicht-widget for displaying the current time and date
PI:NAME:<NAME>END_PI 'codeFareith' PI:NAME:<NAME>END_PI
PI:EMAIL:<EMAIL>END_PI
https://github.com/codefareith
---------------------------------... |
[
{
"context": "\n\n\n#\n# * jquery.closestchild 0.1.1\n# *\n# * Author: Andrey Mikhaylov aka lolmaus\n# * Email: lolmaus@gmail.com\n# *\n#\n\n$",
"end": 3078,
"score": 0.9998400211334229,
"start": 3062,
"tag": "NAME",
"value": "Andrey Mikhaylov"
},
{
"context": "stchild 0.1.1\n# *\n# ... | lib/assets/javascripts/nested_form_fields.js.coffee | Publidata/nested_form_fields | 0 | window.nested_form_fields or= {}
nested_form_fields.bind_nested_forms_links = () ->
$('body').off("click", '.add_nested_fields_link')
$('body').on 'click', '.add_nested_fields_link', (event, additional_data) ->
$link = $(this)
object_class = $link.data('object-class')
association_path = $link.data('ass... | 36361 | window.nested_form_fields or= {}
nested_form_fields.bind_nested_forms_links = () ->
$('body').off("click", '.add_nested_fields_link')
$('body').on 'click', '.add_nested_fields_link', (event, additional_data) ->
$link = $(this)
object_class = $link.data('object-class')
association_path = $link.data('ass... | true | window.nested_form_fields or= {}
nested_form_fields.bind_nested_forms_links = () ->
$('body').off("click", '.add_nested_fields_link')
$('body').on 'click', '.add_nested_fields_link', (event, additional_data) ->
$link = $(this)
object_class = $link.data('object-class')
association_path = $link.data('ass... |
[
{
"context": "are reporting here\\n' +\n 'https://github.com/Glavin001/atom-beautify/issues/\\n\\n' +\n 'Please follow",
"end": 14310,
"score": 0.9997069239616394,
"start": 14301,
"tag": "USERNAME",
"value": "Glavin001"
},
{
"context": "uidelines found at\\n' +\n 'http... | atom/packages/atom-beautify/src/beautify.coffee | JoshAddington/dotfiles | 0 | # global atom
"use strict"
pkg = require('../package.json')
# Dependencies
plugin = module.exports
{CompositeDisposable} = require 'event-kit'
_ = require("lodash")
Beautifiers = require("./beautifiers")
beautifier = new Beautifiers()
defaultLanguageOptions = beautifier.options
logger = require('./logger')(__filename)... | 136650 | # global atom
"use strict"
pkg = require('../package.json')
# Dependencies
plugin = module.exports
{CompositeDisposable} = require 'event-kit'
_ = require("lodash")
Beautifiers = require("./beautifiers")
beautifier = new Beautifiers()
defaultLanguageOptions = beautifier.options
logger = require('./logger')(__filename)... | true | # global atom
"use strict"
pkg = require('../package.json')
# Dependencies
plugin = module.exports
{CompositeDisposable} = require 'event-kit'
_ = require("lodash")
Beautifiers = require("./beautifiers")
beautifier = new Beautifiers()
defaultLanguageOptions = beautifier.options
logger = require('./logger')(__filename)... |
[
{
"context": "is.UserProvisioning\n token:\n access: 'fake access token'\n @up.retry_options = {minTimeout",
"end": 3691,
"score": 0.6413123607635498,
"start": 3687,
"tag": "KEY",
"value": "fake"
},
{
"context": "user'\n id: '1234567890'\n primaryEmail: 'geor... | test/google.coffee | Clever/node-google-admin-sdk | 11 | assert = require 'assert'
async = require 'async'
_ = require 'underscore'
google_apis = require "#{__dirname}/../"
nock = require 'nock'
util = require 'util'
# There are 3 large test suites in this file:
# describe 'UserProvisioning'
# describe 'OrgUnitProvisioning'
# describe 'GroupProvisioning'
before ->
... | 160753 | assert = require 'assert'
async = require 'async'
_ = require 'underscore'
google_apis = require "#{__dirname}/../"
nock = require 'nock'
util = require 'util'
# There are 3 large test suites in this file:
# describe 'UserProvisioning'
# describe 'OrgUnitProvisioning'
# describe 'GroupProvisioning'
before ->
... | true | assert = require 'assert'
async = require 'async'
_ = require 'underscore'
google_apis = require "#{__dirname}/../"
nock = require 'nock'
util = require 'util'
# There are 3 large test suites in this file:
# describe 'UserProvisioning'
# describe 'OrgUnitProvisioning'
# describe 'GroupProvisioning'
before ->
... |
[
{
"context": "i.nal.usda.gov/ndb/nutrients/?format=json&api_key=DEMO_KEY&nutrients=205&nutrients=204&nutrients=208&nut",
"end": 413,
"score": 0.5719553232192993,
"start": 409,
"tag": "KEY",
"value": "DEMO"
}
] | app/assets/javascripts/recipes.coffee | Leodip95/Recipely | 0 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
autocomplete = ->
bank_code = undefined
$("#ingredient").autocomplete
source: (request, response) -... | 219407 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
autocomplete = ->
bank_code = undefined
$("#ingredient").autocomplete
source: (request, response) -... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
autocomplete = ->
bank_code = undefined
$("#ingredient").autocomplete
source: (request, response) -... |
[
{
"context": "umes = [\n {\n id: 1\n lastName: \"Roberts\"\n firstName: \"Dread\"\n state: \"NY\"\n ",
"end": 290,
"score": 0.9997889399528503,
"start": 283,
"tag": "NAME",
"value": "Roberts"
},
{
"context": "1\n lastName: \"Roberts\"\n ... | ember/tests/integration/resumes-test.coffee | kjayma/rezoome | 0 | `import Ember from 'ember'`
`import startApp from '../helpers/start-app'`
`import Pretender from 'pretender'`
App = undefined
server = undefined
describe 'Integration - Resumes Page', ->
beforeEach ->
App = startApp()
resumes = [
{
id: 1
lastName: "Roberts"
firstName: "Dread"
... | 32677 | `import Ember from 'ember'`
`import startApp from '../helpers/start-app'`
`import Pretender from 'pretender'`
App = undefined
server = undefined
describe 'Integration - Resumes Page', ->
beforeEach ->
App = startApp()
resumes = [
{
id: 1
lastName: "<NAME>"
firstName: "<NAME>"
... | true | `import Ember from 'ember'`
`import startApp from '../helpers/start-app'`
`import Pretender from 'pretender'`
App = undefined
server = undefined
describe 'Integration - Resumes Page', ->
beforeEach ->
App = startApp()
resumes = [
{
id: 1
lastName: "PI:NAME:<NAME>END_PI"
firstNa... |
[
{
"context": "b://localhost/basic-bot\"\nexports.sessionSecret = \"i am robot! a robot!\"\n\nexports.isPI = false\n\nchild = exec \"uname -m\", (",
"end": 249,
"score": 0.9873479008674622,
"start": 230,
"tag": "PASSWORD",
"value": "i am robot! a robot"
}
] | config.coffee | hcwiley/basic-bot | 1 |
exec = require("child_process").exec
exports.loggerFormat = "dev"
exports.useErrorHandler = true
exports.enableEmailLogin = true
exports.mongodb = process.env.MONGO_DB || "mongodb://localhost/basic-bot"
exports.sessionSecret = "i am robot! a robot!"
exports.isPI = false
child = exec "uname -m", (error, stdout, stde... | 2649 |
exec = require("child_process").exec
exports.loggerFormat = "dev"
exports.useErrorHandler = true
exports.enableEmailLogin = true
exports.mongodb = process.env.MONGO_DB || "mongodb://localhost/basic-bot"
exports.sessionSecret = "<PASSWORD>!"
exports.isPI = false
child = exec "uname -m", (error, stdout, stderr) ->
... | true |
exec = require("child_process").exec
exports.loggerFormat = "dev"
exports.useErrorHandler = true
exports.enableEmailLogin = true
exports.mongodb = process.env.MONGO_DB || "mongodb://localhost/basic-bot"
exports.sessionSecret = "PI:PASSWORD:<PASSWORD>END_PI!"
exports.isPI = false
child = exec "uname -m", (error, std... |
[
{
"context": "@encryption.encrypt({ uuid, token })\n key = new ObjectId().toString()\n @keys.insert { key, encryptedSec",
"end": 317,
"score": 0.7413864135742188,
"start": 309,
"tag": "KEY",
"value": "ObjectId"
},
{
"context": "encrypt({ uuid, token })\n key = new ObjectId()... | src/services/meshblu-otp-service.coffee | octoblu/meshblu-otp-service | 0 | Encryption = require './encryption'
{ObjectId} = require 'mongojs'
class MeshbluOtpService
constructor: ({ privateKey, @keys }) ->
@encryption = new Encryption { privateKey }
generate: ({ uuid, token, metadata }, callback) =>
encryptedSecret = @encryption.encrypt({ uuid, token })
key = new ObjectId().... | 199515 | Encryption = require './encryption'
{ObjectId} = require 'mongojs'
class MeshbluOtpService
constructor: ({ privateKey, @keys }) ->
@encryption = new Encryption { privateKey }
generate: ({ uuid, token, metadata }, callback) =>
encryptedSecret = @encryption.encrypt({ uuid, token })
key = new <KEY>().<KE... | true | Encryption = require './encryption'
{ObjectId} = require 'mongojs'
class MeshbluOtpService
constructor: ({ privateKey, @keys }) ->
@encryption = new Encryption { privateKey }
generate: ({ uuid, token, metadata }, callback) =>
encryptedSecret = @encryption.encrypt({ uuid, token })
key = new PI:KEY:<KEY... |
[
{
"context": "ect getModel #{stringify model_id.name}\"\n\n key: model_id.name\n isChecked: _isChecked\n predict: predict\n ",
"end": 1318,
"score": 0.9534705281257629,
"start": 1305,
"tag": "KEY",
"value": "model_id.name"
}
] | src/ext/components/grid-output.coffee | Tapad/h2o-flow | 0 | H2O.GridOutput = (_, _go, _grid) ->
_modelViews = signal []
_hasModels = _grid.model_ids.length > 0
_errorViews = signal []
_hasErrors = _grid.failure_details.length > 0
_checkAllModels = signal no
_checkedModelCount = signal 0
_canCompareModels = lift _checkedModelCount, (count) -> count > 1
_hasSelect... | 137897 | H2O.GridOutput = (_, _go, _grid) ->
_modelViews = signal []
_hasModels = _grid.model_ids.length > 0
_errorViews = signal []
_hasErrors = _grid.failure_details.length > 0
_checkAllModels = signal no
_checkedModelCount = signal 0
_canCompareModels = lift _checkedModelCount, (count) -> count > 1
_hasSelect... | true | H2O.GridOutput = (_, _go, _grid) ->
_modelViews = signal []
_hasModels = _grid.model_ids.length > 0
_errorViews = signal []
_hasErrors = _grid.failure_details.length > 0
_checkAllModels = signal no
_checkedModelCount = signal 0
_canCompareModels = lift _checkedModelCount, (count) -> count > 1
_hasSelect... |
[
{
"context": "dMail\n from: 'Spynotify <notify@spynotify.com>'\n to: '@gm",
"end": 4643,
"score": 0.9926804304122925,
"start": 4637,
"tag": "EMAIL",
"value": "notify"
},
{
"context": " from: 'Spynotify <notify@sp... | spynotify/lib/elements_watcher.coffee | wearen1/sandbox | 0 | _ = require 'lodash'
fs = require 'fs'
# Spooky = require 'spooky'
request = require 'request'
Promise = require 'bluebird'
log = require './log'
promise_while = require './promise_while'
db = require dir 'db'
jade = Promise.promisifyAll require 'j... | 130752 | _ = require 'lodash'
fs = require 'fs'
# Spooky = require 'spooky'
request = require 'request'
Promise = require 'bluebird'
log = require './log'
promise_while = require './promise_while'
db = require dir 'db'
jade = Promise.promisifyAll require 'j... | true | _ = require 'lodash'
fs = require 'fs'
# Spooky = require 'spooky'
request = require 'request'
Promise = require 'bluebird'
log = require './log'
promise_while = require './promise_while'
db = require dir 'db'
jade = Promise.promisifyAll require 'j... |
[
{
"context": "overview Tests for no-class-assign rule.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 77,
"score": 0.9998576641082764,
"start": 63,
"tag": "NAME",
"value": "Toru Nagashima"
},
{
"context": " ,\n messageId: 'class'\n ... | src/tests/rules/no-class-assign.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-class-assign rule.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-class-assign'
{R... | 201546 | ###*
# @fileoverview Tests for no-class-assign rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-class-assign'
{RuleTeste... | true | ###*
# @fileoverview Tests for no-class-assign rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-class-assi... |
[
{
"context": "\r\n models.user.create {\r\n email: 'tom'\r\n password: '123'\r\n show_name:",
"end": 252,
"score": 0.747060239315033,
"start": 249,
"tag": "USERNAME",
"value": "tom"
},
{
"context": "e {\r\n email: 'tom'\r\n password... | db.coffee | Lifeng-Liang/NodeBlog | 0 | orm = require('orm')
config = require('./config')
module.exports = (app) ->
init_db = (models) ->
models.user.count (err, count) ->
if err
throw err
if count <= 0
models.user.create {
email: 'tom'
password: '123'
show_name: 'Tom'
... | 71303 | orm = require('orm')
config = require('./config')
module.exports = (app) ->
init_db = (models) ->
models.user.count (err, count) ->
if err
throw err
if count <= 0
models.user.create {
email: 'tom'
password: '<PASSWORD>'
show_name: '<NAME>'
... | true | orm = require('orm')
config = require('./config')
module.exports = (app) ->
init_db = (models) ->
models.user.count (err, count) ->
if err
throw err
if count <= 0
models.user.create {
email: 'tom'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
sho... |
[
{
"context": "age\": 21,\n# \"eyeColor\": \"green\",\n# \"name\": \"Antonia Sutton\",\n# \"gender\": \"female\",\n# \"email\": \"antonia",
"end": 515,
"score": 0.9998596906661987,
"start": 501,
"tag": "NAME",
"value": "Antonia Sutton"
},
{
"context": " Sutton\",\n# \"g... | test/init-data.coffee | tungv/mongo-authorize | 1 | #config = require 'config'
#
#mongoose = require 'mongoose'
#try
# mongoose.connection.close()
# mongoose.connect config.mongo.connection
#catch ex
# console.error ex
#
#
#mongoose.models = {}
#
#itemSchema = mongoose.Schema {
# age: Number,
# eyeColor: String,
# name: String,
# gender: String,
# email: String,... | 112206 | #config = require 'config'
#
#mongoose = require 'mongoose'
#try
# mongoose.connection.close()
# mongoose.connect config.mongo.connection
#catch ex
# console.error ex
#
#
#mongoose.models = {}
#
#itemSchema = mongoose.Schema {
# age: Number,
# eyeColor: String,
# name: String,
# gender: String,
# email: String,... | true | #config = require 'config'
#
#mongoose = require 'mongoose'
#try
# mongoose.connection.close()
# mongoose.connect config.mongo.connection
#catch ex
# console.error ex
#
#
#mongoose.models = {}
#
#itemSchema = mongoose.Schema {
# age: Number,
# eyeColor: String,
# name: String,
# gender: String,
# email: String,... |
[
{
"context": "quire('./../lib/gisty')\n\ngist = new Gisty login: 'login', password: 'password'\n\ngist.starred (error, gist",
"end": 122,
"score": 0.992490828037262,
"start": 117,
"tag": "USERNAME",
"value": "login"
},
{
"context": "ty')\n\ngist = new Gisty login: 'login', password: ... | examples/plain-auth.coffee | meritt/node-gisty | 6 | ###
Retrieve starred gist with plain authenticate
###
Gisty = require('./../lib/gisty')
gist = new Gisty login: 'login', password: 'password'
gist.starred (error, gists) ->
throw new Error error if error
console.log gists | 146260 | ###
Retrieve starred gist with plain authenticate
###
Gisty = require('./../lib/gisty')
gist = new Gisty login: 'login', password: '<PASSWORD>'
gist.starred (error, gists) ->
throw new Error error if error
console.log gists | true | ###
Retrieve starred gist with plain authenticate
###
Gisty = require('./../lib/gisty')
gist = new Gisty login: 'login', password: 'PI:PASSWORD:<PASSWORD>END_PI'
gist.starred (error, gists) ->
throw new Error error if error
console.log gists |
[
{
"context": "//www.example.com/'\n\n\nCUSTOMERS =\n 1:\n user: 'Alfred'\n gender: 'male'\n age: 24\n 2:\n user: 'G",
"end": 289,
"score": 0.9997753500938416,
"start": 283,
"tag": "NAME",
"value": "Alfred"
},
{
"context": "d'\n gender: 'male'\n age: 24\n 2:\n ... | node_modules/gitlab/node_modules/slumber/tests/test.coffee | rudolfoborges/gitlab_dashboard | 1 | #!/usr/bin/env coffee
querystring = require 'querystring'
url = require 'url'
assert = require 'assert'
express = require 'express'
connect = require 'connect'
freeport = require 'freeport'
slumber = require '..'
base_url = 'http://www.example.com/'
CUSTOMERS =
1:
user: 'Alfred'
gender: 'male'
age: 2... | 67986 | #!/usr/bin/env coffee
querystring = require 'querystring'
url = require 'url'
assert = require 'assert'
express = require 'express'
connect = require 'connect'
freeport = require 'freeport'
slumber = require '..'
base_url = 'http://www.example.com/'
CUSTOMERS =
1:
user: '<NAME>'
gender: 'male'
age: 2... | true | #!/usr/bin/env coffee
querystring = require 'querystring'
url = require 'url'
assert = require 'assert'
express = require 'express'
connect = require 'connect'
freeport = require 'freeport'
slumber = require '..'
base_url = 'http://www.example.com/'
CUSTOMERS =
1:
user: 'PI:NAME:<NAME>END_PI'
gender: 'ma... |
[
{
"context": "onize\" module\n#\n# Nodize CMS\n# https://github.com/hypee/nodize\n#\n# Copyright 2012-2013, Hypee\n# http://hy",
"end": 71,
"score": 0.9994471669197083,
"start": 66,
"tag": "USERNAME",
"value": "hypee"
},
{
"context": "//github.com/hypee/nodize\n#\n# Copyright 2012-20... | modules/ionize/module_ionize.coffee | nodize/nodizecms | 32 | # Nodize core "ionize" module
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2012-2013, Hypee
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
_moduleName = "ionize"
#**********************************
#* LOADING VIEWS, HELPERS, CONTR... | 126484 | # Nodize core "ionize" module
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2012-2013, <NAME>
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
_moduleName = "ionize"
#**********************************
#* LOADING VIEWS, HELPERS, CONT... | true | # Nodize core "ionize" module
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2012-2013, PI:NAME:<NAME>END_PI
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
_moduleName = "ionize"
#**********************************
#* LOADING VIEWS,... |
[
{
"context": "ken\"\n input: [\n token: \"test token one\"\n starts: 32\n ends:",
"end": 2001,
"score": 0.7201690673828125,
"start": 1987,
"tag": "KEY",
"value": "test token one"
},
{
"context": "\n input: [\n ... | src/coffee/expression/parse/call.spec.coffee | jameswilddev/influx7 | 1 | describe "expression", -> describe "parse", -> describe "call", ->
rewire = require "rewire"
describe "imports", ->
expressionParseCall = rewire "./call"
it "expressionParse", -> (expect expressionParseCall.__get__ "expressionParse").toBe require "./../parse"
it "expressionParseArgumentL... | 141431 | describe "expression", -> describe "parse", -> describe "call", ->
rewire = require "rewire"
describe "imports", ->
expressionParseCall = rewire "./call"
it "expressionParse", -> (expect expressionParseCall.__get__ "expressionParse").toBe require "./../parse"
it "expressionParseArgumentL... | true | describe "expression", -> describe "parse", -> describe "call", ->
rewire = require "rewire"
describe "imports", ->
expressionParseCall = rewire "./call"
it "expressionParse", -> (expect expressionParseCall.__get__ "expressionParse").toBe require "./../parse"
it "expressionParseArgumentL... |
[
{
"context": "{\n name: \"UNO\"\n serviceKeys: [\n \"uno\"\n \"uno-mobile\"\n \"global-m2m\"\n ",
"end": 1186,
"score": 0.7619909644126892,
"start": 1183,
"tag": "KEY",
"value": "uno"
},
{
"context": "\"UNO\"\n serviceKeys: [\n \"uno\"\... | ClientApp/app/scripts/services/services/service_category_constant.coffee | nttcom/apigw-sample-app | 1 | ###
Copyright 2015 NTT Communications Corportation, https://developer.ntt.com/
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to... | 892 | ###
Copyright 2015 NTT Communications Corportation, https://developer.ntt.com/
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to... | true | ###
Copyright 2015 NTT Communications Corportation, https://developer.ntt.com/
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to... |
[
{
"context": "tInfo.firstName + ' ' + accountInfo.lastName + '\\'S SHOWS'\n\t\t\t$scope.loadMore()\n]",
"end": 1173,
"score": 0.9204910397529602,
"start": 1166,
"tag": "NAME",
"value": "S SHOWS"
}
] | src/controllers/AccountDetailController.coffee | waltzcode/showroom-shopify | 0 | angular.module 'showroomControllers'
.controller 'AccountDetailController', [
'$scope', '$rootScope', 'showService', 'userService', '$log', '$routeParams', 'videoService'
($scope, $rootScope, showService, userService, $log, $routeParams, videoService) ->
# display setting
$rootScope.removeHeader = false
$rootSc... | 188174 | angular.module 'showroomControllers'
.controller 'AccountDetailController', [
'$scope', '$rootScope', 'showService', 'userService', '$log', '$routeParams', 'videoService'
($scope, $rootScope, showService, userService, $log, $routeParams, videoService) ->
# display setting
$rootScope.removeHeader = false
$rootSc... | true | angular.module 'showroomControllers'
.controller 'AccountDetailController', [
'$scope', '$rootScope', 'showService', 'userService', '$log', '$routeParams', 'videoService'
($scope, $rootScope, showService, userService, $log, $routeParams, videoService) ->
# display setting
$rootScope.removeHeader = false
$rootSc... |
[
{
"context": "\n #\n # options = \n # user_text: 'Hello world'\n #\n # *OR*\n #\n # options =\n # ",
"end": 277,
"score": 0.9191247820854187,
"start": 266,
"tag": "NAME",
"value": "Hello world"
}
] | src/node-wit.coffee | jsgoecke/node-wit | 1 | class Wit
constructor: (access_token, uri) ->
@fs = require 'fs'
@request = require 'request'
@access_token = access_token
@uri = uri || 'https://api.wit.ai'
##
# Analyze text or audio messages
#
# options =
# user_text: 'Hello world'
#
# *OR*
#
# options =
#... | 224759 | class Wit
constructor: (access_token, uri) ->
@fs = require 'fs'
@request = require 'request'
@access_token = access_token
@uri = uri || 'https://api.wit.ai'
##
# Analyze text or audio messages
#
# options =
# user_text: '<NAME>'
#
# *OR*
#
# options =
# ... | true | class Wit
constructor: (access_token, uri) ->
@fs = require 'fs'
@request = require 'request'
@access_token = access_token
@uri = uri || 'https://api.wit.ai'
##
# Analyze text or audio messages
#
# options =
# user_text: 'PI:NAME:<NAME>END_PI'
#
# *OR*
#
# opti... |
[
{
"context": ".inDir DEST\n .withOptions\n realname: 'Alex Gorbatchev'\n githubUrl: 'https://github.com/alexgorba",
"end": 378,
"score": 0.9998796582221985,
"start": 363,
"tag": "NAME",
"value": "Alex Gorbatchev"
},
{
"context": "orbatchev'\n githubUrl: 'htt... | test/app.spec.coffee | octoblu/generator-nanocyte-component | 0 | path = require 'path'
fs = require 'fs'
{exec} = require 'child_process'
helpers = require('yeoman-generator').test
GENERATOR_NAME = 'app'
DEST = path.join __dirname, '..', 'temp', "generator-#{GENERATOR_NAME}"
describe 'app', ->
before (done) ->
helpers
.run path.join __dirname, '..', 'app'
.inDir ... | 58133 | path = require 'path'
fs = require 'fs'
{exec} = require 'child_process'
helpers = require('yeoman-generator').test
GENERATOR_NAME = 'app'
DEST = path.join __dirname, '..', 'temp', "generator-#{GENERATOR_NAME}"
describe 'app', ->
before (done) ->
helpers
.run path.join __dirname, '..', 'app'
.inDir ... | true | path = require 'path'
fs = require 'fs'
{exec} = require 'child_process'
helpers = require('yeoman-generator').test
GENERATOR_NAME = 'app'
DEST = path.join __dirname, '..', 'temp', "generator-#{GENERATOR_NAME}"
describe 'app', ->
before (done) ->
helpers
.run path.join __dirname, '..', 'app'
.inDir ... |
[
{
"context": " BIND_CONFLICT: \"绑定账号已存在\"\n PASSWORD_TOO_SIMPLE: \"密码过于简单\"\n LOGIN_VERIFY_FAILED: '登录失败,邮箱,手机号或密码错误'\n ACCO",
"end": 449,
"score": 0.9321833848953247,
"start": 443,
"tag": "PASSWORD",
"value": "密码过于简单"
}
] | talk-account/server/initializers/locales/zh.coffee | ikingye/talk-os | 3,084 | module.exports =
NOT_FOUND: 'Not Found'
OBJECT_MISSING: (msg = '') -> "对象不存在 #{msg}"
PARAMS_INVALID: (msg = '') -> "错误的参数 #{msg}"
PARAMS_MISSING: (msg = '') -> "缺少参数 #{msg}"
RATE_LIMIT_EXCEEDED: "请求过于频繁"
REQUEST_FAILED: '请求失败'
VERIFY_FAILED: '验证失败'
ACCESS_FAILED: '无权限访问'
RESEND_TOO_OFTEN: '发送过于频繁'
... | 102346 | module.exports =
NOT_FOUND: 'Not Found'
OBJECT_MISSING: (msg = '') -> "对象不存在 #{msg}"
PARAMS_INVALID: (msg = '') -> "错误的参数 #{msg}"
PARAMS_MISSING: (msg = '') -> "缺少参数 #{msg}"
RATE_LIMIT_EXCEEDED: "请求过于频繁"
REQUEST_FAILED: '请求失败'
VERIFY_FAILED: '验证失败'
ACCESS_FAILED: '无权限访问'
RESEND_TOO_OFTEN: '发送过于频繁'
... | true | module.exports =
NOT_FOUND: 'Not Found'
OBJECT_MISSING: (msg = '') -> "对象不存在 #{msg}"
PARAMS_INVALID: (msg = '') -> "错误的参数 #{msg}"
PARAMS_MISSING: (msg = '') -> "缺少参数 #{msg}"
RATE_LIMIT_EXCEEDED: "请求过于频繁"
REQUEST_FAILED: '请求失败'
VERIFY_FAILED: '验证失败'
ACCESS_FAILED: '无权限访问'
RESEND_TOO_OFTEN: '发送过于频繁'
... |
[
{
"context": " jid: config.thing\n password: config.password\n host: config.host\n port: c",
"end": 772,
"score": 0.999139130115509,
"start": 757,
"tag": "PASSWORD",
"value": "config.password"
},
{
"context": " jid: config.owner\n ... | test/003-remove.coffee | TNO-IoT/testing-xep-0347 | 0 | # Tests if the server component complies to
# https://xmpp.org/extensions/xep-0347.html
#
# This set test the removal function
#
ltx = require('node-xmpp-core').ltx
Client = require 'node-xmpp-client'
bunyan = require 'bunyan'
shortId = require 'shortid'
assert = require 'assert'
chai = require 'chai'
Q = require 'q'
... | 48047 | # Tests if the server component complies to
# https://xmpp.org/extensions/xep-0347.html
#
# This set test the removal function
#
ltx = require('node-xmpp-core').ltx
Client = require 'node-xmpp-client'
bunyan = require 'bunyan'
shortId = require 'shortid'
assert = require 'assert'
chai = require 'chai'
Q = require 'q'
... | true | # Tests if the server component complies to
# https://xmpp.org/extensions/xep-0347.html
#
# This set test the removal function
#
ltx = require('node-xmpp-core').ltx
Client = require 'node-xmpp-client'
bunyan = require 'bunyan'
shortId = require 'shortid'
assert = require 'assert'
chai = require 'chai'
Q = require 'q'
... |
[
{
"context": " p -> \"Password:\"\n input name:\"pwd\", type:\"password\"\n\n input type:\"submit\", value:\"提交\"\n\ncoffeescript",
"end": 182,
"score": 0.9694508910179138,
"start": 174,
"tag": "PASSWORD",
"value": "password"
}
] | views/admin/login.coffee | dreampuf/banajs | 3 | form id:"login", method:"post", ->
ul ->
li ->
p -> "Email:"
input name:"email", type:"text"
li ->
p -> "Password:"
input name:"pwd", type:"password"
input type:"submit", value:"提交"
coffeescript ->
$(document.body).keydown (e)->
if e.keyCode == 13
$("#login").submit()
... | 180365 | form id:"login", method:"post", ->
ul ->
li ->
p -> "Email:"
input name:"email", type:"text"
li ->
p -> "Password:"
input name:"pwd", type:"<PASSWORD>"
input type:"submit", value:"提交"
coffeescript ->
$(document.body).keydown (e)->
if e.keyCode == 13
$("#login").submit()... | true | form id:"login", method:"post", ->
ul ->
li ->
p -> "Email:"
input name:"email", type:"text"
li ->
p -> "Password:"
input name:"pwd", type:"PI:PASSWORD:<PASSWORD>END_PI"
input type:"submit", value:"提交"
coffeescript ->
$(document.body).keydown (e)->
if e.keyCode == 13
$(... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.999318540096283,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/pummel/test-dh-regr.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... | 164363 | # 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": "ntDoc.remove(cb)\n\t\t\telse\n\t\t\t\tlogger.verbose \"event #{@name} not exists\"\n\n\t\n\n\n\nexports.Event = Event",
"end": 1491,
"score": 0.6654323935508728,
"start": 1491,
"tag": "NAME",
"value": ""
},
{
"context": "c.remove(cb)\n\t\t\telse\n\t\t\t\tlogger.verbose ... | lib/mongo/event.coffee | SemonCat/pushd | 0 | Subscriber = require('./subscriber').Subscriber
mongooseEvent = require("./schema").Event
logger = require 'winston'
class Event
OPTION_IGNORE_MESSAGE: 1
name_format: /^[a-zA-Z0-9@:._-]{1,100}$/
constructor: (@redis, @name) ->
getOrSaveDocByName: (eventName,cb) ->
mongooseEvent.findOne {name: eventName},... | 64210 | Subscriber = require('./subscriber').Subscriber
mongooseEvent = require("./schema").Event
logger = require 'winston'
class Event
OPTION_IGNORE_MESSAGE: 1
name_format: /^[a-zA-Z0-9@:._-]{1,100}$/
constructor: (@redis, @name) ->
getOrSaveDocByName: (eventName,cb) ->
mongooseEvent.findOne {name: eventName},... | true | Subscriber = require('./subscriber').Subscriber
mongooseEvent = require("./schema").Event
logger = require 'winston'
class Event
OPTION_IGNORE_MESSAGE: 1
name_format: /^[a-zA-Z0-9@:._-]{1,100}$/
constructor: (@redis, @name) ->
getOrSaveDocByName: (eventName,cb) ->
mongooseEvent.findOne {name: eventName},... |
[
{
"context": "###\nsectionCtrl.coffee\nCopyright (C) 2014 ender xu <xuender@gmail.com>\n\nDistributed under terms of t",
"end": 50,
"score": 0.9997050762176514,
"start": 42,
"tag": "NAME",
"value": "ender xu"
},
{
"context": "#\nsectionCtrl.coffee\nCopyright (C) 2014 ender xu <xuende... | src/note/sectionCtrl.coffee | xuender/mindfulness | 0 | ###
sectionCtrl.coffee
Copyright (C) 2014 ender xu <xuender@gmail.com>
Distributed under terms of the MIT license.
###
SectionCtrl = ($scope, $modalInstance, $log, section, del, books)->
# 章节编辑
$scope.s = section
$scope.old = del
$scope.books = books
$scope.del = ->
$modalInstance.close($scope.s.id)
$s... | 75099 | ###
sectionCtrl.coffee
Copyright (C) 2014 <NAME> <<EMAIL>>
Distributed under terms of the MIT license.
###
SectionCtrl = ($scope, $modalInstance, $log, section, del, books)->
# 章节编辑
$scope.s = section
$scope.old = del
$scope.books = books
$scope.del = ->
$modalInstance.close($scope.s.id)
$scope.ok = ->... | true | ###
sectionCtrl.coffee
Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Distributed under terms of the MIT license.
###
SectionCtrl = ($scope, $modalInstance, $log, section, del, books)->
# 章节编辑
$scope.s = section
$scope.old = del
$scope.books = books
$scope.del = ->
$modalInstance.close(... |
[
{
"context": "TpjcmVhdGUAMjAxMS0wOC0yMFQxNDo1NjoxMi0wNzowMIGIK7sAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTEtMDgtMjBUMTQ6NTY6MTItM",
"end": 617,
"score": 0.5220840573310852,
"start": 613,
"tag": "KEY",
"value": "AAAA"
},
{
"context": "hdGUAMjAxMS0wOC0yMFQxNDo1NjoxMi0wNzowMIGIK7sAAAAldEVYdGRhdGU6... | test/sprite.coffee | distri/sprite | 0 | Sprite = require "../main"
describe "Sprite", ->
it "should construct sprites", ->
img = new Image
assert Sprite(img)
it "should construct from data urls", (done) ->
assert Sprite.load(
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAEgAAABIAE... | 165988 | Sprite = require "../main"
describe "Sprite", ->
it "should construct sprites", ->
img = new Image
assert Sprite(img)
it "should construct from data urls", (done) ->
assert Sprite.load(
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAEgAAABIAE... | true | Sprite = require "../main"
describe "Sprite", ->
it "should construct sprites", ->
img = new Image
assert Sprite(img)
it "should construct from data urls", (done) ->
assert Sprite.load(
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAAAEgAAABIAE... |
[
{
"context": "!'\n return\n\n if _.isEqual(result, email: 'foo@bar.com', password: 'test123')\n auth.signIn()\n ",
"end": 747,
"score": 0.9998542070388794,
"start": 736,
"tag": "EMAIL",
"value": "foo@bar.com"
},
{
"context": ".isEqual(result, email: 'foo@bar.com', p... | src/coffee/signin_form.coffee | iamrajhans/ReactDemo | 1 | React = require('react/addons')
nod = require('nod-validation')
_ = require('lodash')
Navigation = require('react-router').Navigation
checks = require('./checks')
flash = require('./flash')
InputField = require('./input_field')
auth = require('./auth')
SigninForm = React.createClass
displayName: 'SigninForm'
mixi... | 219085 | React = require('react/addons')
nod = require('nod-validation')
_ = require('lodash')
Navigation = require('react-router').Navigation
checks = require('./checks')
flash = require('./flash')
InputField = require('./input_field')
auth = require('./auth')
SigninForm = React.createClass
displayName: 'SigninForm'
mixi... | true | React = require('react/addons')
nod = require('nod-validation')
_ = require('lodash')
Navigation = require('react-router').Navigation
checks = require('./checks')
flash = require('./flash')
InputField = require('./input_field')
auth = require('./auth')
SigninForm = React.createClass
displayName: 'SigninForm'
mixi... |
[
{
"context": "###\n\nThe Color Buttons for WolfCage.\n\n@author Destin Moulton\n@git https://github.com/destinmoulton/wolfcage\n@l",
"end": 60,
"score": 0.9998853802680969,
"start": 46,
"tag": "NAME",
"value": "Destin Moulton"
},
{
"context": ".\n\n@author Destin Moulton\n@git https:... | src/ColorButtons.coffee | destinmoulton/cagen | 0 | ###
The Color Buttons for WolfCage.
@author Destin Moulton
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
###
DOM = require("./DOM.coffee")
ColorsModal = require("./modals/ColorsModal.coffee")
Templates = require("./Templates.coffee")
cl... | 123920 | ###
The Color Buttons for WolfCage.
@author <NAME>
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
###
DOM = require("./DOM.coffee")
ColorsModal = require("./modals/ColorsModal.coffee")
Templates = require("./Templates.coffee")
class Colo... | true | ###
The Color Buttons for WolfCage.
@author PI:NAME:<NAME>END_PI
@git https://github.com/destinmoulton/wolfcage
@license MIT
Component of the Wolfram Cellular Automata Generator (WolfCage)
###
DOM = require("./DOM.coffee")
ColorsModal = require("./modals/ColorsModal.coffee")
Templates = require("./Templates.coffee... |
[
{
"context": "omCharCode(8203))\n .replace(client.token, \"mfa.VkO_2G4Qv3T--NO--lWetW_tjND--TOKEN--QFTm6YGtzq9PH--4U--tG0\");\n",
"end": 1005,
"score": 0.988820493221283,
"start": 943,
"tag": "KEY",
"value": "mfa.VkO_2G4Qv3T--NO--lWetW_tjND--TOKEN--QFTm6YGtzq9PH--4U--tG0"
}
] | modules/eval.coffee | TheOnlyArtz/CoffeeBot | 1 | CoffeeScript = require('coffeescript')
{ exec } = (require 'child_process')
Discord = require('discord.js')
exports.run = (client, message, args) ->
codes = args
final = CoffeeScript.compile(codes, { bare: 'on' }).replace('.then(e', ',').replace('})))', '}))')
try
theEval = eval(final)
message.channel.sen... | 64526 | CoffeeScript = require('coffeescript')
{ exec } = (require 'child_process')
Discord = require('discord.js')
exports.run = (client, message, args) ->
codes = args
final = CoffeeScript.compile(codes, { bare: 'on' }).replace('.then(e', ',').replace('})))', '}))')
try
theEval = eval(final)
message.channel.sen... | true | CoffeeScript = require('coffeescript')
{ exec } = (require 'child_process')
Discord = require('discord.js')
exports.run = (client, message, args) ->
codes = args
final = CoffeeScript.compile(codes, { bare: 'on' }).replace('.then(e', ',').replace('})))', '}))')
try
theEval = eval(final)
message.channel.sen... |
[
{
"context": "## Copyright (c) 2011, Chris Umbel\n##\n## Permission is hereby granted, free of charg",
"end": 34,
"score": 0.9998129606246948,
"start": 23,
"tag": "NAME",
"value": "Chris Umbel"
}
] | src/data_file.coffee | khanali21/wordnet | 3 | ## Copyright (c) 2011, Chris Umbel
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, publish, ... | 41044 | ## Copyright (c) 2011, <NAME>
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, publish, distr... | true | ## Copyright (c) 2011, PI:NAME:<NAME>END_PI
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, ... |
[
{
"context": ">\n Report any abuse to <a href='mailto:abuse@koding.com'>abuse@koding.com</a>.\n </li>\n ",
"end": 1863,
"score": 0.9999282956123352,
"start": 1847,
"tag": "EMAIL",
"value": "abuse@koding.com"
},
{
"context": "rt any abuse to <a href='mailt... | client/activity/lib/views/activityguidewidget.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
ActivityBaseWidget = require './activitybasewidget'
CustomLinkView = require 'app/customlinkview'
module.exports = class ActivityGuideWidget extends ActivityBaseWidget
constructor: (options = {}, data) ->
options.cssClass = kd.utils.curry 'posting-guide-widget', options.cssClass
supe... | 193935 | kd = require 'kd'
ActivityBaseWidget = require './activitybasewidget'
CustomLinkView = require 'app/customlinkview'
module.exports = class ActivityGuideWidget extends ActivityBaseWidget
constructor: (options = {}, data) ->
options.cssClass = kd.utils.curry 'posting-guide-widget', options.cssClass
supe... | true | kd = require 'kd'
ActivityBaseWidget = require './activitybasewidget'
CustomLinkView = require 'app/customlinkview'
module.exports = class ActivityGuideWidget extends ActivityBaseWidget
constructor: (options = {}, data) ->
options.cssClass = kd.utils.curry 'posting-guide-widget', options.cssClass
supe... |
[
{
"context": "nction to support testing.\n#\n# _Copyright (c) 2011 Olaf Delgado-Friedrichs_\n\n# ----\n\n# Returns the inner code of a 'one-line",
"end": 83,
"score": 0.9998167753219604,
"start": 60,
"tag": "NAME",
"value": "Olaf Delgado-Friedrichs"
}
] | lib/testing.coffee | odf/pazy.js | 0 | # Some function to support testing.
#
# _Copyright (c) 2011 Olaf Delgado-Friedrichs_
# ----
# Returns the inner code of a 'one-line' function as a string.
codeToString = (code) ->
code.toString().replace(/^function\s*\(\)\s*{\s*return\s*/, '')
.replace(/;*\s*}\s*$/, '')
# Returns the name of the constructor f... | 44697 | # Some function to support testing.
#
# _Copyright (c) 2011 <NAME>_
# ----
# Returns the inner code of a 'one-line' function as a string.
codeToString = (code) ->
code.toString().replace(/^function\s*\(\)\s*{\s*return\s*/, '')
.replace(/;*\s*}\s*$/, '')
# Returns the name of the constructor for an object or t... | true | # Some function to support testing.
#
# _Copyright (c) 2011 PI:NAME:<NAME>END_PI_
# ----
# Returns the inner code of a 'one-line' function as a string.
codeToString = (code) ->
code.toString().replace(/^function\s*\(\)\s*{\s*return\s*/, '')
.replace(/;*\s*}\s*$/, '')
# Returns the name of the constructor for ... |
[
{
"context": "\tauth:\n\t\t\t\t\tuser: settings.apis.v1.user\n\t\t\t\t\tpass: settings.apis.v1.pass\n\t\t\t\t\tsendImmediately: true\n\t\t\t\tjson: true,\n\t\t\t\tti",
"end": 2065,
"score": 0.9990359544754028,
"start": 2044,
"tag": "PASSWORD",
"value": "settings.apis.v1.pass"
}
] | app/coffee/Features/Subscription/V1SubscriptionManager.coffee | davidmehren/web-sharelatex | 0 | UserGetter = require "../User/UserGetter"
request = require "request"
settings = require "settings-sharelatex"
logger = require "logger-sharelatex"
{ V1ConnectionError } = require "../Errors/Errors"
module.exports = V1SubscriptionManager =
# Returned planCode = 'v1_pro' | 'v1_pro_plus' | 'v1_student' | 'v1_free' | nu... | 6042 | UserGetter = require "../User/UserGetter"
request = require "request"
settings = require "settings-sharelatex"
logger = require "logger-sharelatex"
{ V1ConnectionError } = require "../Errors/Errors"
module.exports = V1SubscriptionManager =
# Returned planCode = 'v1_pro' | 'v1_pro_plus' | 'v1_student' | 'v1_free' | nu... | true | UserGetter = require "../User/UserGetter"
request = require "request"
settings = require "settings-sharelatex"
logger = require "logger-sharelatex"
{ V1ConnectionError } = require "../Errors/Errors"
module.exports = V1SubscriptionManager =
# Returned planCode = 'v1_pro' | 'v1_pro_plus' | 'v1_student' | 'v1_free' | nu... |
[
{
"context": "ing', ->\n\n # Adapted from https://raw.github.com/millermedeiros/js-signals/\n\n # SignalBinding ------------------",
"end": 96,
"score": 0.9966356158256531,
"start": 82,
"tag": "USERNAME",
"value": "millermedeiros"
},
{
"context": "inding and Robert Penner's Slot cl... | src/Coffixi/utils/SignalBinding.coffee | namuol/Coffixi | 1 | define 'Coffixi/utils/SignalBinding', ->
# Adapted from https://raw.github.com/millermedeiros/js-signals/
# SignalBinding -------------------------------------------------
#================================================================
###*
Object that represents a binding between a Signal and a listener... | 52197 | define 'Coffixi/utils/SignalBinding', ->
# Adapted from https://raw.github.com/millermedeiros/js-signals/
# SignalBinding -------------------------------------------------
#================================================================
###*
Object that represents a binding between a Signal and a listener... | true | define 'Coffixi/utils/SignalBinding', ->
# Adapted from https://raw.github.com/millermedeiros/js-signals/
# SignalBinding -------------------------------------------------
#================================================================
###*
Object that represents a binding between a Signal and a listener... |
[
{
"context": "# @project nanoScrollerJS\n# @url http://jamesflorentino.github.com/nanoScrollerJS/\n# @author James Flore",
"end": 57,
"score": 0.9828483462333679,
"start": 42,
"tag": "USERNAME",
"value": "jamesflorentino"
},
{
"context": "esflorentino.github.com/nanoScrollerJS/\n#... | coffeescripts/jquery.nanoscroller.coffee | prasadsambari/nanoScrollerJS | 1 | # @project nanoScrollerJS
# @url http://jamesflorentino.github.com/nanoScrollerJS/
# @author James Florentino
# @contributor Krister Kari
(($, window, document) ->
"use strict"
# Default settings
defaults =
###*
a classname for the pane element.
@property paneClass
@type String
... | 52879 | # @project nanoScrollerJS
# @url http://jamesflorentino.github.com/nanoScrollerJS/
# @author <NAME>
# @contributor <NAME>
(($, window, document) ->
"use strict"
# Default settings
defaults =
###*
a classname for the pane element.
@property paneClass
@type String
@default 'pane'
... | true | # @project nanoScrollerJS
# @url http://jamesflorentino.github.com/nanoScrollerJS/
# @author PI:NAME:<NAME>END_PI
# @contributor PI:NAME:<NAME>END_PI
(($, window, document) ->
"use strict"
# Default settings
defaults =
###*
a classname for the pane element.
@property paneClass
@type S... |
[
{
"context": "'}\n scope.services = [github]\n scope.key = 'github'\n\n ctrl()\n expect(scope.service).toBeDefine",
"end": 1008,
"score": 0.9856590628623962,
"start": 1002,
"tag": "KEY",
"value": "github"
}
] | test/unit/controllers/home_controller.coffee | rrampage/monitor | 114 | describe 'HomeCtrl', ->
beforeEach module('slug.home')
[scope, ctrl] = []
beforeEach inject ($rootScope, $controller) ->
scope = $rootScope.$new()
ctrl = $controller 'HomeCtrl', $scope: scope, services: []
it 'assigns demo apis', inject () ->
expect(scope.demos).toBeDefined()
expect(scope.dem... | 203121 | describe 'HomeCtrl', ->
beforeEach module('slug.home')
[scope, ctrl] = []
beforeEach inject ($rootScope, $controller) ->
scope = $rootScope.$new()
ctrl = $controller 'HomeCtrl', $scope: scope, services: []
it 'assigns demo apis', inject () ->
expect(scope.demos).toBeDefined()
expect(scope.dem... | true | describe 'HomeCtrl', ->
beforeEach module('slug.home')
[scope, ctrl] = []
beforeEach inject ($rootScope, $controller) ->
scope = $rootScope.$new()
ctrl = $controller 'HomeCtrl', $scope: scope, services: []
it 'assigns demo apis', inject () ->
expect(scope.demos).toBeDefined()
expect(scope.dem... |
[
{
"context": "erms of the MIT license.\nCopyright 2012 - 2016 (c) Markus Kohlhase <mail@markus-kohlhase.de>\n###\n\nJID = require(\"nod",
"end": 109,
"score": 0.9998982548713684,
"start": 94,
"tag": "NAME",
"value": "Markus Kohlhase"
},
{
"context": "cense.\nCopyright 2012 - 2016 (c)... | src/JOAPObjects.coffee | flosse/node-xmpp-joap | 0 | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2016 (c) Markus Kohlhase <mail@markus-kohlhase.de>
###
JID = require("node-xmpp-core").JID
getDefaultOpts = ->
attributes: {}
methods: {}
required: []
protected: []
creator: ... | 106071 | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2016 (c) <NAME> <<EMAIL>>
###
JID = require("node-xmpp-core").JID
getDefaultOpts = ->
attributes: {}
methods: {}
required: []
protected: []
creator: ->
timestamp:... | true | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2016 (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
JID = require("node-xmpp-core").JID
getDefaultOpts = ->
attributes: {}
methods: {}
required: []
protected: []
creator:... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Marvin Frachet <marvin@konsserto.com>\n *\n * For the full copyrig",
"end": 75,
"score": 0.9998899698257446,
"start": 61,
"tag": "NAME",
"value": "Marvin Frachet"
},
{
"context": " the Konsserto package.\n *\n * (c) M... | node_modules/konsserto/lib/src/Konsserto/Component/Stopwatch/Event.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Marvin Frachet <marvin@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
###
# Event class in Stopwatch service #
This is the Event class documentation linked ... | 184125 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
###
# Event class in Stopwatch service #
This is the Event class documentation linked to the Stopwatch serv... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
###
# Event class in Stopwatch service #
This is the Event class documentation... |
[
{
"context": "lassniki:\n\t\tclientID: 1101943552\n\t\tclientPublic: 'CBAEFPKCEBABABABA'\n\t\tclientSecret: '55C1FD7EA97F4FBDB571E7A8'\n\t\tcal",
"end": 190,
"score": 0.9127596616744995,
"start": 173,
"tag": "KEY",
"value": "CBAEFPKCEBABABABA"
},
{
"context": "lientPublic: 'CBAEFPKCE... | meta/socialConfig.coffee | winnlab/Optimeal | 0 | module.exports =
facebook:
clientID: 512705898864753
clientSecret: ''
callbackURL: ''
vk:
apiId: 4547249
odnoklassniki:
clientID: 1101943552
clientPublic: 'CBAEFPKCEBABABABA'
clientSecret: '55C1FD7EA97F4FBDB571E7A8'
callbackURL: '/logged/ok'
baseUrl: 'http://promo.365rozvag.com.ua/'
| 165578 | module.exports =
facebook:
clientID: 512705898864753
clientSecret: ''
callbackURL: ''
vk:
apiId: 4547249
odnoklassniki:
clientID: 1101943552
clientPublic: '<KEY>'
clientSecret: '<KEY>'
callbackURL: '/logged/ok'
baseUrl: 'http://promo.365rozvag.com.ua/'
| true | module.exports =
facebook:
clientID: 512705898864753
clientSecret: ''
callbackURL: ''
vk:
apiId: 4547249
odnoklassniki:
clientID: 1101943552
clientPublic: 'PI:KEY:<KEY>END_PI'
clientSecret: 'PI:KEY:<KEY>END_PI'
callbackURL: '/logged/ok'
baseUrl: 'http://promo.365rozvag.com.ua/'
|
[
{
"context": "on 1.0\n\npan events for Touchy.\n\n(c) 2015 Copyright Stardotstar.\nproject located at https://github.com/stardotsta",
"end": 89,
"score": 0.9198061227798462,
"start": 78,
"tag": "NAME",
"value": "Stardotstar"
},
{
"context": "tardotstar.\nproject located at https://gi... | touchy_panner.coffee | stardotstar/Touchy | 0 | ###
touchy_panner.js, version 1.0
pan events for Touchy.
(c) 2015 Copyright Stardotstar.
project located at https://github.com/stardotstar/Touchy.js.
Licenced under the Apache license (see LICENSE file)
###
((window) ->
# helper methods
extend = (object, properties) ->
for key, val of properties
object[key]... | 114079 | ###
touchy_panner.js, version 1.0
pan events for Touchy.
(c) 2015 Copyright <NAME>.
project located at https://github.com/stardotstar/Touchy.js.
Licenced under the Apache license (see LICENSE file)
###
((window) ->
# helper methods
extend = (object, properties) ->
for key, val of properties
object[key] = va... | true | ###
touchy_panner.js, version 1.0
pan events for Touchy.
(c) 2015 Copyright PI:NAME:<NAME>END_PI.
project located at https://github.com/stardotstar/Touchy.js.
Licenced under the Apache license (see LICENSE file)
###
((window) ->
# helper methods
extend = (object, properties) ->
for key, val of properties
ob... |
[
{
"context": "vice.whereOperator('or')\n # .where('name(en = \"Red\")')\n # .where('name(de = \"Rot\")')\n # .fetch",
"end": 4005,
"score": 0.8113642930984497,
"start": 4002,
"tag": "NAME",
"value": "Red"
},
{
"context": "here('name(en = \"Red\")')\n # .where('name(de = \... | src/coffee/services/base.coffee | commercetools/sphere-node-sdk | 13 | debug = require('debug')('sphere-client')
_ = require 'underscore'
_.mixin require('underscore-mixins')
Promise = require 'bluebird'
Utils = require '../utils'
{HttpError, GraphQLError, SphereHttpError} = require '../errors'
# Private: RegExp to parse time period for last function.
REGEX_LAST = /^(\d+)([s|m|h|d|w])$/
... | 120954 | debug = require('debug')('sphere-client')
_ = require 'underscore'
_.mixin require('underscore-mixins')
Promise = require 'bluebird'
Utils = require '../utils'
{HttpError, GraphQLError, SphereHttpError} = require '../errors'
# Private: RegExp to parse time period for last function.
REGEX_LAST = /^(\d+)([s|m|h|d|w])$/
... | true | debug = require('debug')('sphere-client')
_ = require 'underscore'
_.mixin require('underscore-mixins')
Promise = require 'bluebird'
Utils = require '../utils'
{HttpError, GraphQLError, SphereHttpError} = require '../errors'
# Private: RegExp to parse time period for last function.
REGEX_LAST = /^(\d+)([s|m|h|d|w])$/
... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998893737792969,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/tasks/detail.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 16578 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "ull: false\n password:\n type: DataTypes.STRING\n allowNull: false\n occupation:\n ",
"end": 947,
"score": 0.5981417894363403,
"start": 941,
"tag": "PASSWORD",
"value": "STRING"
}
] | GOTHAM/Backend/src/Database/Models/Identity.coffee | perara/gotham | 0 |
module.exports = (sequelize, DataTypes) ->
return sequelize.define 'Identity', {
id:
type: DataTypes.INTEGER
allowNull: false
primaryKey: true
autoIncrement: true
fk_user:
type: DataTypes.INTEGER
allowNull: false
references: 'user'
reference... | 56123 |
module.exports = (sequelize, DataTypes) ->
return sequelize.define 'Identity', {
id:
type: DataTypes.INTEGER
allowNull: false
primaryKey: true
autoIncrement: true
fk_user:
type: DataTypes.INTEGER
allowNull: false
references: 'user'
reference... | true |
module.exports = (sequelize, DataTypes) ->
return sequelize.define 'Identity', {
id:
type: DataTypes.INTEGER
allowNull: false
primaryKey: true
autoIncrement: true
fk_user:
type: DataTypes.INTEGER
allowNull: false
references: 'user'
reference... |
[
{
"context": "ck utilized in the application framework.\r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n@abstract\r\n###\r\nclass Call",
"end": 162,
"score": 0.9997761249542236,
"start": 150,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/specification/Callbacks.coffee | qrefdev/qref | 0 | ###
Specification class for the purpose of documenting the signatures and parameters of the callback utilized in the application framework.
@author Nathan Klick
@copyright QRef 2012
@abstract
###
class Callbacks
###
Standard callback used in the DB Manager utility classes for deeply populating a single object... | 117241 | ###
Specification class for the purpose of documenting the signatures and parameters of the callback utilized in the application framework.
@author <NAME>
@copyright QRef 2012
@abstract
###
class Callbacks
###
Standard callback used in the DB Manager utility classes for deeply populating a single object.
@p... | true | ###
Specification class for the purpose of documenting the signatures and parameters of the callback utilized in the application framework.
@author PI:NAME:<NAME>END_PI
@copyright QRef 2012
@abstract
###
class Callbacks
###
Standard callback used in the DB Manager utility classes for deeply populating a singl... |
[
{
"context": "doctorLogin(user.login)\n vm.doctorPassword(user.password)\n ko.mapping.fromJS(defaultDoctor, {}, vm.",
"end": 2753,
"score": 0.8185861706733704,
"start": 2740,
"tag": "PASSWORD",
"value": "user.password"
},
{
"context": "Login\"\n \"Логин\"\n ]\n ... | app/assets/javascripts/admin.coffee | behruz-b/medical | 8 | $ ->
my.initAjax()
Glob = window.Glob || {}
apiUrl =
addDoctor: '/doc/add-doctor'
getRole: '/admin/get-roles'
defaultDoctor =
firstName: ''
lastName: ''
email: ''
phone: ''
login: ''
role: ''
companyCode: ''
vm = ko.mapping.fromJS
doctor: defaultDoctor
customerI... | 172476 | $ ->
my.initAjax()
Glob = window.Glob || {}
apiUrl =
addDoctor: '/doc/add-doctor'
getRole: '/admin/get-roles'
defaultDoctor =
firstName: ''
lastName: ''
email: ''
phone: ''
login: ''
role: ''
companyCode: ''
vm = ko.mapping.fromJS
doctor: defaultDoctor
customerI... | true | $ ->
my.initAjax()
Glob = window.Glob || {}
apiUrl =
addDoctor: '/doc/add-doctor'
getRole: '/admin/get-roles'
defaultDoctor =
firstName: ''
lastName: ''
email: ''
phone: ''
login: ''
role: ''
companyCode: ''
vm = ko.mapping.fromJS
doctor: defaultDoctor
customerI... |
[
{
"context": " \"~/.emmet\"\n \"exception-reporting\":\n userId: \"3bb7ed5d-7c63-c5d7-ee9a-d8992962cfb3\"\n welcome:\n showOnStartup: false\n",
"end": 329,
"score": 0.8505613803863525,
"start": 293,
"tag": "PASSWORD",
"value": "3bb7ed5d-7c63-c5d7-ee9a-d8992962cfb3"
}
] | atom/config.cson | keithajackson/dotfiles-bash | 0 | "*":
"auto-run":
commands: [
"auto-update:update-now"
]
"auto-update-packages":
intervalMinutes: 15
core:
themes: [
"one-dark-ui"
"monokai"
]
editor:
invisibles: {}
emmet:
extensionsPath: "~/.emmet"
"exception-reporting":
userId: "3bb7ed5d-7c63-c5d7-ee9a-d89... | 57 | "*":
"auto-run":
commands: [
"auto-update:update-now"
]
"auto-update-packages":
intervalMinutes: 15
core:
themes: [
"one-dark-ui"
"monokai"
]
editor:
invisibles: {}
emmet:
extensionsPath: "~/.emmet"
"exception-reporting":
userId: "<PASSWORD>"
welcome:
... | true | "*":
"auto-run":
commands: [
"auto-update:update-now"
]
"auto-update-packages":
intervalMinutes: 15
core:
themes: [
"one-dark-ui"
"monokai"
]
editor:
invisibles: {}
emmet:
extensionsPath: "~/.emmet"
"exception-reporting":
userId: "PI:PASSWORD:<PASSWORD>END_P... |
[
{
"context": "###*\n * # 显示表单验证错误信息\n * @author vfasky <vfasky@gmail.com>\n###\n'use strict'\n\n{Component} ",
"end": 38,
"score": 0.9996921420097351,
"start": 32,
"tag": "USERNAME",
"value": "vfasky"
},
{
"context": "###*\n * # 显示表单验证错误信息\n * @author vfasky <vfasky@gmail.com>\n###\n... | src/coffee/validator.coffee | vfasky/mcore-weui | 0 | ###*
* # 显示表单验证错误信息
* @author vfasky <vfasky@gmail.com>
###
'use strict'
{Component} = require 'mcore'
Dialog = require './dialog'
class Validator extends Component
getTarget: -> @errData.$el.data('proxyEl') or @errData.$el
showError: (@errData)->
$el = @getTarget().off('focus.weui_validator').foc... | 9805 | ###*
* # 显示表单验证错误信息
* @author vfasky <<EMAIL>>
###
'use strict'
{Component} = require 'mcore'
Dialog = require './dialog'
class Validator extends Component
getTarget: -> @errData.$el.data('proxyEl') or @errData.$el
showError: (@errData)->
$el = @getTarget().off('focus.weui_validator').focus()
... | true | ###*
* # 显示表单验证错误信息
* @author vfasky <PI:EMAIL:<EMAIL>END_PI>
###
'use strict'
{Component} = require 'mcore'
Dialog = require './dialog'
class Validator extends Component
getTarget: -> @errData.$el.data('proxyEl') or @errData.$el
showError: (@errData)->
$el = @getTarget().off('focus.weui_validator... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9976469874382019,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "R DEALINGS IN THE SOFTWARE.\n\n# https://github.com/joyent/node/issues/4948\ncommon = require(... | test/simple/test-regress-GH-4948.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... | 91708 | # 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": "llection = new Collection()\n\n constructor: (name: @name, client: client, sid: @sid, image: @image) ->",
"end": 264,
"score": 0.8599991202354431,
"start": 264,
"tag": "NAME",
"value": ""
},
{
"context": "ection = new Collection()\n\n constructor: (name: @name, client... | bidder.coffee | kartikmenda/livebids | 0 |
EE = if EventEmitter? then EventEmitter else require('events').EventEmitter
Collection = require('./collection').Collection
Auction = require('./auction').Auction
class Bidder extends EE
@last_used_id = 0
@collection = new Collection()
constructor: (name: @name, client: client, sid: @sid, image: @image) ->
... | 166697 |
EE = if EventEmitter? then EventEmitter else require('events').EventEmitter
Collection = require('./collection').Collection
Auction = require('./auction').Auction
class Bidder extends EE
@last_used_id = 0
@collection = new Collection()
constructor: (name:<NAME> @name, client: client, sid: @sid, image: @image) ... | true |
EE = if EventEmitter? then EventEmitter else require('events').EventEmitter
Collection = require('./collection').Collection
Auction = require('./auction').Auction
class Bidder extends EE
@last_used_id = 0
@collection = new Collection()
constructor: (name:PI:NAME:<NAME>END_PI @name, client: client, sid: @sid, i... |
[
{
"context": "] = Meteor.userId()\n uobj['X-Auth-Token'] = Accounts._storedLoginToken()\n url = Meteor.absoluteUrl() + 'api/workf",
"end": 628,
"score": 0.6867185831069946,
"start": 602,
"tag": "PASSWORD",
"value": "Accounts._storedLoginToken"
}
] | packages/steedos-creator/client/views/initiate_approval.coffee | zonglu233/fuel-car | 0 | Template.initiate_approval.helpers
flows: () ->
return _.where Creator.object_workflows, { object_name: this.object_name }
Template.initiate_approval.events
'click .weui_cell' : (e, t) ->
workflowUrl = window.location.protocol + '//' + window.location.host + '/'
flowId = e.currentTarget... | 88251 | Template.initiate_approval.helpers
flows: () ->
return _.where Creator.object_workflows, { object_name: this.object_name }
Template.initiate_approval.events
'click .weui_cell' : (e, t) ->
workflowUrl = window.location.protocol + '//' + window.location.host + '/'
flowId = e.currentTarget... | true | Template.initiate_approval.helpers
flows: () ->
return _.where Creator.object_workflows, { object_name: this.object_name }
Template.initiate_approval.events
'click .weui_cell' : (e, t) ->
workflowUrl = window.location.protocol + '//' + window.location.host + '/'
flowId = e.currentTarget... |
[
{
"context": "before ->\n @skip() if __globalTest.offline\n\n [Alice, Bob] = [null, null]\n it 'create mailboxes', ->\n",
"end": 518,
"score": 0.5226253271102905,
"start": 513,
"tag": "NAME",
"value": "Alice"
},
{
"context": "ull]\n it 'create mailboxes', ->\n MailBox.new('A... | tests/specs/06b.relay.coffee | vault12/glow | 14 | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
Utils = require 'utils'
describe 'Relay Bulk Ops', -... | 129222 | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
Utils = require 'utils'
describe 'Relay Bulk Ops', -... | true | # Copyright (c) 2015 Vault12, Inc.
# MIT License https://opensource.org/licenses/MIT
__CRYPTO_DEBUG = true # Expose #theglow objects as window globals
expect = require('chai').expect
MailBox = require 'mailbox'
Nacl = require 'nacl'
Relay = require 'relay'
Utils = require 'utils'
describe 'Relay Bulk Ops', -... |
[
{
"context": "ftRating}\"\n\t\tredisKey = keyPrefix()\n\t\tuserRunKey = userId + \":\" + ticketId\n\t\tmulti = @redis.multi() # start",
"end": 1704,
"score": 0.9449189901351929,
"start": 1698,
"tag": "KEY",
"value": "userId"
},
{
"context": "tId}\"\n\n\t\tredisRiftKey = keyPrefix()\n... | server/redis/r-riftmanager.coffee | willroberts/duelyst | 5 | Promise = require 'bluebird'
moment = require 'moment'
Logger = require '../../app/common/logger.coffee'
config = require '../../config/config.js'
env = config.get("env")
ttl = config.get("redis.ttl")
generatePushID = require '../../app/common/generate_push_id'
zlib = Promise.promisifyAll(require 'zlib')
# Helper retu... | 52940 | Promise = require 'bluebird'
moment = require 'moment'
Logger = require '../../app/common/logger.coffee'
config = require '../../config/config.js'
env = config.get("env")
ttl = config.get("redis.ttl")
generatePushID = require '../../app/common/generate_push_id'
zlib = Promise.promisifyAll(require 'zlib')
# Helper retu... | true | Promise = require 'bluebird'
moment = require 'moment'
Logger = require '../../app/common/logger.coffee'
config = require '../../config/config.js'
env = config.get("env")
ttl = config.get("redis.ttl")
generatePushID = require '../../app/common/generate_push_id'
zlib = Promise.promisifyAll(require 'zlib')
# Helper retu... |
[
{
"context": "Id: \"123\"\n\n model.update \"abc\", json, \"bob\"\n expect(mockCrudModel.findById.called",
"end": 6606,
"score": 0.6409777402877808,
"start": 6603,
"tag": "NAME",
"value": "bob"
},
{
"context": "Id: \"123\"\n\n model.update \"abc\", js... | test/server/models/timePatterns.coffee | valueflowquality/gi-util-update | 0 | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
mocks = require '../mocks'
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../server'
module.exports = () ->
describe 'TimePatterns', ->
modelFactory = require dir + '/models/timePatterns'
model = nu... | 212533 | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
mocks = require '../mocks'
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../server'
module.exports = () ->
describe 'TimePatterns', ->
modelFactory = require dir + '/models/timePatterns'
model = nu... | true | path = require 'path'
sinon = require 'sinon'
expect = require('chai').expect
mocks = require '../mocks'
proxyquire = require 'proxyquire'
dir = path.normalize __dirname + '../../../../server'
module.exports = () ->
describe 'TimePatterns', ->
modelFactory = require dir + '/models/timePatterns'
model = nu... |
[
{
"context": "er.name == process.env.REMOTE_USER && user.pass == process.env.REMOTE_PASS\n next()\n else\n unauthorize",
"end": 436,
"score": 0.6047549247741699,
"start": 429,
"tag": "PASSWORD",
"value": "process"
}
] | lib/authentication.coffee | okize/snapdash | 0 | # applies basic authorization; checks against REMOTE_USER && REMOTE_PASSWORD
basicAuth = require 'basic-auth'
module.exports = (req, res, next) ->
unauthorized = (res) ->
res.set 'WWW-Authenticate', 'Basic realm=Authorization Required'
res.status(401).end()
user = basicAuth(req)
if not user or not user.... | 206161 | # applies basic authorization; checks against REMOTE_USER && REMOTE_PASSWORD
basicAuth = require 'basic-auth'
module.exports = (req, res, next) ->
unauthorized = (res) ->
res.set 'WWW-Authenticate', 'Basic realm=Authorization Required'
res.status(401).end()
user = basicAuth(req)
if not user or not user.... | true | # applies basic authorization; checks against REMOTE_USER && REMOTE_PASSWORD
basicAuth = require 'basic-auth'
module.exports = (req, res, next) ->
unauthorized = (res) ->
res.set 'WWW-Authenticate', 'Basic realm=Authorization Required'
res.status(401).end()
user = basicAuth(req)
if not user or not user.... |
[
{
"context": " pass) ->\n socket.emit \"login\",\n username: user\n password: pass\n\n\n # transition to onoardin",
"end": 866,
"score": 0.9972046613693237,
"start": 862,
"tag": "USERNAME",
"value": "user"
},
{
"context": "emit \"login\",\n username: user\n pa... | mobile/www/js/controllers/auth.coffee | 1egoman/bag-node | 0 | angular.module 'bag.controllers.login', []
.controller 'authCtrl', (
$scope
$http
$state
socket
$ionicLoading
$cordovaDialogs
) ->
socket.on "login:callback", (data) ->
if data.err
$cordovaDialogs.alert \
"Those login credentials don't match what we have on file. Give it another try?", ... | 199223 | angular.module 'bag.controllers.login', []
.controller 'authCtrl', (
$scope
$http
$state
socket
$ionicLoading
$cordovaDialogs
) ->
socket.on "login:callback", (data) ->
if data.err
$cordovaDialogs.alert \
"Those login credentials don't match what we have on file. Give it another try?", ... | true | angular.module 'bag.controllers.login', []
.controller 'authCtrl', (
$scope
$http
$state
socket
$ionicLoading
$cordovaDialogs
) ->
socket.on "login:callback", (data) ->
if data.err
$cordovaDialogs.alert \
"Those login credentials don't match what we have on file. Give it another try?", ... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998383522033691,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/gl/fbo.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 822 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "iew._id\n#\t\t\t\tif listview.is_default\n#\t\t\t\t\t_key = \"all\"\n\t\t\t\tlist_views[_key] = _list_view\n\t\t\t\tlist_views",
"end": 1531,
"score": 0.6419870853424072,
"start": 1528,
"tag": "KEY",
"value": "all"
}
] | creator/packages/steedos-creator/client/subscribe.coffee | yicone/steedos-platform | 42 | Creator.subs["Creator"] = new SubsManager()
Creator.subs["CreatorListViews"] = new SubsManager()
Creator.subs["TabularSetting"] = new SubsManager()
Creator.subs["CreatorRecord"] = new SubsManager()
Creator.subs["CreatorActionRecord"] = new SubsManager()
Creator.subs["objectRecentViewed"] = new SubsManager()
Steedos.sub... | 62230 | Creator.subs["Creator"] = new SubsManager()
Creator.subs["CreatorListViews"] = new SubsManager()
Creator.subs["TabularSetting"] = new SubsManager()
Creator.subs["CreatorRecord"] = new SubsManager()
Creator.subs["CreatorActionRecord"] = new SubsManager()
Creator.subs["objectRecentViewed"] = new SubsManager()
Steedos.sub... | true | Creator.subs["Creator"] = new SubsManager()
Creator.subs["CreatorListViews"] = new SubsManager()
Creator.subs["TabularSetting"] = new SubsManager()
Creator.subs["CreatorRecord"] = new SubsManager()
Creator.subs["CreatorActionRecord"] = new SubsManager()
Creator.subs["objectRecentViewed"] = new SubsManager()
Steedos.sub... |
[
{
"context": "-----------------------------\n# Copyright (c) 2012 Patrick Mueller\n#\n# Licensed under the Apache License, Version 2.",
"end": 117,
"score": 0.9998291730880737,
"start": 102,
"tag": "NAME",
"value": "Patrick Mueller"
}
] | lib/offl-site/Processor.coffee | pmuellr/offl-site | 1 | #-------------------------------------------------------------------------------
# Copyright (c) 2012 Patrick Mueller
#
# 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... | 186168 | #-------------------------------------------------------------------------------
# Copyright (c) 2012 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/lice... | true | #-------------------------------------------------------------------------------
# Copyright (c) 2012 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.a... |
[
{
"context": " ITS OWN PACKAGE. PLEASE USE\n# https://github.com/lorenzhs/hubot-tell INSTEAD!\n#\n# Description:\n# Tell Hub",
"end": 84,
"score": 0.998997688293457,
"start": 76,
"tag": "USERNAME",
"value": "lorenzhs"
},
{
"context": "oo\" also matches \"Foo\" and \"foooo\"\n#\n# A... | src/scripts/tell.coffee | Snagajob/hubot-scripts | 9 | # THIS SCRIPT HAS MOVED TO ITS OWN PACKAGE. PLEASE USE
# https://github.com/lorenzhs/hubot-tell INSTEAD!
#
# Description:
# Tell Hubot to send a user a message when present in the room
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot tell <username> <some message> - tell <username> <some... | 1503 | # THIS SCRIPT HAS MOVED TO ITS OWN PACKAGE. PLEASE USE
# https://github.com/lorenzhs/hubot-tell INSTEAD!
#
# Description:
# Tell Hubot to send a user a message when present in the room
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot tell <username> <some message> - tell <username> <some... | true | # THIS SCRIPT HAS MOVED TO ITS OWN PACKAGE. PLEASE USE
# https://github.com/lorenzhs/hubot-tell INSTEAD!
#
# Description:
# Tell Hubot to send a user a message when present in the room
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot tell <username> <some message> - tell <username> <some... |
[
{
"context": "ssage', => done()\n @sut.send 'message', 'Minerva Walters'\n\n it 'should call socket.send', ->\n ",
"end": 1717,
"score": 0.9993731379508972,
"start": 1702,
"tag": "NAME",
"value": "Minerva Walters"
}
] | test/src/reconnect-socket-spec.coffee | octoblu/npm | 3 | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
ReconnectSocket = require '../../src/reconnect-socket'
AsymmetricSocket = require '../asymmetric-socket'
describe 'ReconnectSocket', ->
describe '->constructor', ->
describe 'when srvOptions... | 20999 | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
ReconnectSocket = require '../../src/reconnect-socket'
AsymmetricSocket = require '../asymmetric-socket'
describe 'ReconnectSocket', ->
describe '->constructor', ->
describe 'when srvOptions... | true | {beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
ReconnectSocket = require '../../src/reconnect-socket'
AsymmetricSocket = require '../asymmetric-socket'
describe 'ReconnectSocket', ->
describe '->constructor', ->
describe 'when srvOptions... |
[
{
"context": "with hold I\\n\\n\n... elided paragraph last ...\\n\\n\nFrost Robert -----------------------'\n\nreverseString = (s) ->\n",
"end": 233,
"score": 0.9994321465492249,
"start": 221,
"tag": "NAME",
"value": "Frost Robert"
}
] | Task/Reverse-words-in-a-string/CoffeeScript/reverse-words-in-a-string.coffee | LaudateCorpus1/RosettaCodeData | 1 | strReversed = '---------- Ice and Fire ------------\n\n
fire, in end will world the say Some\n
ice. in say Some\n
desire of tasted I\'ve what From\n
fire. favor who those with hold I\n\n
... elided paragraph last ...\n\n
Frost Robert -----------------------'
reverseString = (s) ->
s.split('\n').map((l) -> l.split(/\... | 126480 | strReversed = '---------- Ice and Fire ------------\n\n
fire, in end will world the say Some\n
ice. in say Some\n
desire of tasted I\'ve what From\n
fire. favor who those with hold I\n\n
... elided paragraph last ...\n\n
<NAME> -----------------------'
reverseString = (s) ->
s.split('\n').map((l) -> l.split(/\s/).re... | true | strReversed = '---------- Ice and Fire ------------\n\n
fire, in end will world the say Some\n
ice. in say Some\n
desire of tasted I\'ve what From\n
fire. favor who those with hold I\n\n
... elided paragraph last ...\n\n
PI:NAME:<NAME>END_PI -----------------------'
reverseString = (s) ->
s.split('\n').map((l) -> l.... |
[
{
"context": " doesn't have the same set of params.\n# \n# @author Jeremy Trufier <jeremy@trufier.com> (https://github.com/Tronix11",
"end": 1617,
"score": 0.9999035596847534,
"start": 1603,
"tag": "NAME",
"value": "Jeremy Trufier"
},
{
"context": " same set of params.\n# \n# @author... | app/lib/smart-navigate.coffee | Tronix117/kingdomtools | 1 | # Chaplin Smart Navigation
#
# Chaplin.mediator.smartNavigate params, options
#
# Add a smartNavigate method to Chaplin.mediator, it will automaticaly select
# the best route using only route params in first argument.
#
# Keep automaticaly current route params, except if they are explicitely set to
# null or if `res... | 51707 | # Chaplin Smart Navigation
#
# Chaplin.mediator.smartNavigate params, options
#
# Add a smartNavigate method to Chaplin.mediator, it will automaticaly select
# the best route using only route params in first argument.
#
# Keep automaticaly current route params, except if they are explicitely set to
# null or if `res... | true | # Chaplin Smart Navigation
#
# Chaplin.mediator.smartNavigate params, options
#
# Add a smartNavigate method to Chaplin.mediator, it will automaticaly select
# the best route using only route params in first argument.
#
# Keep automaticaly current route params, except if they are explicitely set to
# null or if `res... |
[
{
"context": "ngth: 'wrong length'\n is: 4\n\n m.name('foob')\n v.length(m, 'name', options).then(() ->\n ",
"end": 395,
"score": 0.8493344783782959,
"start": 391,
"tag": "USERNAME",
"value": "foob"
},
{
"context": ") ->\n options =\n is: 4\n\n m.nam... | samplenode/samplenode/node_modules/nodejs-model/test/validators/test-length.coffee | thakurarun/Basic-nodejs-express-app | 19 | v = require '../../lib/validators/length'
model = require '../../lib/index'
m = null
describe 'Length validator tests', ->
beforeEach (done) ->
M = model("M").attr('name')
m = M.create()
done()
describe 'Is tests', ->
it 'When is: 4 and value length is 4', (done) ->
options =
messag... | 170380 | v = require '../../lib/validators/length'
model = require '../../lib/index'
m = null
describe 'Length validator tests', ->
beforeEach (done) ->
M = model("M").attr('name')
m = M.create()
done()
describe 'Is tests', ->
it 'When is: 4 and value length is 4', (done) ->
options =
messag... | true | v = require '../../lib/validators/length'
model = require '../../lib/index'
m = null
describe 'Length validator tests', ->
beforeEach (done) ->
M = model("M").attr('name')
m = M.create()
done()
describe 'Is tests', ->
it 'When is: 4 and value length is 4', (done) ->
options =
messag... |
[
{
"context": "gular: [\n { key: \"options.ipAddress\" }\n { key: \"options.apiUsername\" }\n]\n",
"end": 71,
"score": 0.7954440116882324,
"start": 52,
"tag": "KEY",
"value": "options.apiUsername"
}
] | configs/advanced/form.cson | octoblu/meshblu-connector-hue | 0 | angular: [
{ key: "options.ipAddress" }
{ key: "options.apiUsername" }
]
| 77552 | angular: [
{ key: "options.ipAddress" }
{ key: "<KEY>" }
]
| true | angular: [
{ key: "options.ipAddress" }
{ key: "PI:KEY:<KEY>END_PI" }
]
|
[
{
"context": " can be white or black.\n '''\n\n scientificName: 'Connochaetes taurinus'\n mainImage: 'assets/fieldguide-content/mammals/",
"end": 531,
"score": 0.9871063232421875,
"start": 510,
"tag": "NAME",
"value": "Connochaetes taurinus"
}
] | app/lib/field-guide-content/wildebeest.coffee | zooniverse/wildcam-gorongosa-facebook | 7 | module.exports =
description: '''
The wildebeest is an unusual-looking antelope with high shoulders and a large, boxlike head with curving horns. The front end of the body is heavily built, while the hindquarters are slender with skinny legs. They have a blue-gray or brown coat that is lighter above and darker be... | 194613 | module.exports =
description: '''
The wildebeest is an unusual-looking antelope with high shoulders and a large, boxlike head with curving horns. The front end of the body is heavily built, while the hindquarters are slender with skinny legs. They have a blue-gray or brown coat that is lighter above and darker be... | true | module.exports =
description: '''
The wildebeest is an unusual-looking antelope with high shoulders and a large, boxlike head with curving horns. The front end of the body is heavily built, while the hindquarters are slender with skinny legs. They have a blue-gray or brown coat that is lighter above and darker be... |
[
{
"context": "ool, i in @props.task.tools\n# tool._key ?= Math.random()\n# toolMarks = (mark for mark in @props.",
"end": 2097,
"score": 0.9524478912353516,
"start": 2086,
"tag": "KEY",
"value": "Math.random"
},
{
"context": "i in toolMarks\n# mark._ke... | app/assets/javascripts/components/core-tools/transcribe.cjsx | ogugugugugua/PRED-Crowdsourcing-2020 | 88 | React = require 'react'
GenericTask = require './generic'
# Markdown = require '../../components/markdown'
NOOP = Function.prototype
icons =
point: <svg viewBox="0 0 100 100">
<circle className="shape" r="30" cx="50" cy="50" />
<line className="shape" x1="50" y1="5" x2="50" y2="40" />
<line className="s... | 46601 | React = require 'react'
GenericTask = require './generic'
# Markdown = require '../../components/markdown'
NOOP = Function.prototype
icons =
point: <svg viewBox="0 0 100 100">
<circle className="shape" r="30" cx="50" cy="50" />
<line className="shape" x1="50" y1="5" x2="50" y2="40" />
<line className="s... | true | React = require 'react'
GenericTask = require './generic'
# Markdown = require '../../components/markdown'
NOOP = Function.prototype
icons =
point: <svg viewBox="0 0 100 100">
<circle className="shape" r="30" cx="50" cy="50" />
<line className="shape" x1="50" y1="5" x2="50" y2="40" />
<line className="s... |
[
{
"context": "#Language: Portuguese\n#Translators: alanmeira\n\npt =\n\n#>add: \"add\"\n and: \"e\"\n#>back: \"back\"\n#>c",
"end": 45,
"score": 0.9992709159851074,
"start": 36,
"tag": "USERNAME",
"value": "alanmeira"
},
{
"context": " createAccount: \"Criar Conta\"\n#>currentPasswo... | t9n/pt.coffee | timbrandin/meteor-accounts-t9n | 0 | #Language: Portuguese
#Translators: alanmeira
pt =
#>add: "add"
and: "e"
#>back: "back"
#>changePassword: "Change Password"
#>choosePassword: "Choose a Password"
clickAgree: "Ao clicar em Entrar, você aceita nosso"
configure: "Configurar"
createAccount: "Criar Conta"
#>currentPassword: "Current Password"
do... | 90760 | #Language: Portuguese
#Translators: alanmeira
pt =
#>add: "add"
and: "e"
#>back: "back"
#>changePassword: "Change Password"
#>choosePassword: "Choose a Password"
clickAgree: "Ao clicar em Entrar, você aceita nosso"
configure: "Configurar"
createAccount: "Criar Conta"
#>currentPassword: "<PASSWORD>"
dontHave... | true | #Language: Portuguese
#Translators: alanmeira
pt =
#>add: "add"
and: "e"
#>back: "back"
#>changePassword: "Change Password"
#>choosePassword: "Choose a Password"
clickAgree: "Ao clicar em Entrar, você aceita nosso"
configure: "Configurar"
createAccount: "Criar Conta"
#>currentPassword: "PI:PASSWORD:<PASSWORD>... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.