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": " fields.username =\n name : 'username'\n itemClass : LoginInputView\n ",
"end": 8294,
"score": 0.9965208768844604,
"start": 8286,
"tag": "USERNAME",
"value": "username"
},
{
"context": " inputOptions :\n name ... | client/landing/site.landing/coffee/login/AppView.coffee | lionheart1022/koding | 0 | $ = require 'jquery'
kd = require 'kd'
utils = require './../core/utils'
JView = require './../core/jview'
CustomLinkView = require './../core/customlinkview'
Log... | 86941 | $ = require 'jquery'
kd = require 'kd'
utils = require './../core/utils'
JView = require './../core/jview'
CustomLinkView = require './../core/customlinkview'
Log... | true | $ = require 'jquery'
kd = require 'kd'
utils = require './../core/utils'
JView = require './../core/jview'
CustomLinkView = require './../core/customlinkview'
Log... |
[
{
"context": "in =\n brand: 'Cerbatán POS'\n name: 'Lisa Doe'\n\n $scope.admin =\n layout: 'wide'\n ",
"end": 202,
"score": 0.9998782277107239,
"start": 194,
"tag": "NAME",
"value": "Lisa Doe"
}
] | app/assets/js/app/controllers.coffee | cerbatan/CerbatanPOS | 0 | define ['jquery', './module'],
($, app) ->
AppCtrl = ($scope, $rootScope, $route, $document) ->
$window = $(window)
$scope.main =
brand: 'Cerbatán POS'
name: 'Lisa Doe'
$scope.admin =
layout: 'wide'
menu: 'vertical'
fixedHeader: true
fixedSidebar... | 39992 | define ['jquery', './module'],
($, app) ->
AppCtrl = ($scope, $rootScope, $route, $document) ->
$window = $(window)
$scope.main =
brand: 'Cerbatán POS'
name: '<NAME>'
$scope.admin =
layout: 'wide'
menu: 'vertical'
fixedHeader: true
fixedSidebar: ... | true | define ['jquery', './module'],
($, app) ->
AppCtrl = ($scope, $rootScope, $route, $document) ->
$window = $(window)
$scope.main =
brand: 'Cerbatán POS'
name: 'PI:NAME:<NAME>END_PI'
$scope.admin =
layout: 'wide'
menu: 'vertical'
fixedHeader: true
... |
[
{
"context": "o a hyperlink pasted into slack...\n#\n# Author:\n# John Vernon\n\n#Environment Variables\ncwURL = process.env.HUBOT",
"end": 643,
"score": 0.9998230338096619,
"start": 632,
"tag": "NAME",
"value": "John Vernon"
}
] | src/connectwise-slack.coffee | webteks/hubot-cwslack | 0 | # Description:
# Identifies ConnectWise ticket numbers in chat, verifies they are real, and provides a web link to the ticket
#
# Dependencies:
# Slack Adapter
#
# Configuration:
# HUBOT_CW_URL - The URL of the ConnectWise Server
# HUBOT_CW_COMPANYID - The Company ID of the ConnectWise Instance
# HUBOT_CW_API... | 37345 | # Description:
# Identifies ConnectWise ticket numbers in chat, verifies they are real, and provides a web link to the ticket
#
# Dependencies:
# Slack Adapter
#
# Configuration:
# HUBOT_CW_URL - The URL of the ConnectWise Server
# HUBOT_CW_COMPANYID - The Company ID of the ConnectWise Instance
# HUBOT_CW_API... | true | # Description:
# Identifies ConnectWise ticket numbers in chat, verifies they are real, and provides a web link to the ticket
#
# Dependencies:
# Slack Adapter
#
# Configuration:
# HUBOT_CW_URL - The URL of the ConnectWise Server
# HUBOT_CW_COMPANYID - The Company ID of the ConnectWise Instance
# HUBOT_CW_API... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9716353416442871,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": "t != true\n\t\t\t@append(@_right,... | src/elements/Button/Button.coffee | programmfabrik/coffeescript-ui | 10 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
# Base class for all Buttons. Yeahhhh
#
#TODO document this in class...
# role: ui-role
# disabled: ... | 20163 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
# Base class for all Buttons. Yeahhhh
#
#TODO document this in class...
# role: ui-role
# disabled: ... | true | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
# Base class for all Buttons. Yeahhhh
#
#TODO document this in class...
# role: ui-role
# disabled: ... |
[
{
"context": "les.\n\n# CSS colors courtesy MIT-licensed code from Dave Eddy:\n# github.com/bahamas10/css-color-names/blob/mast",
"end": 142,
"score": 0.9998912215232849,
"start": 133,
"tag": "NAME",
"value": "Dave Eddy"
},
{
"context": "sy MIT-licensed code from Dave Eddy:\n# github... | bokehjs/src/coffee/common/color.coffee | rothnic/bokeh | 1 | # Functionality to handle CSS colors
# Used by webgl to convert colors to rgba tuples.
# CSS colors courtesy MIT-licensed code from Dave Eddy:
# github.com/bahamas10/css-color-names/blob/master/css-color-names.json
_component2hex = (v) ->
h = Number(v).toString(16)
h = if h.length == 1 then '0' + h else h
color2... | 89363 | # Functionality to handle CSS colors
# Used by webgl to convert colors to rgba tuples.
# CSS colors courtesy MIT-licensed code from <NAME>:
# github.com/bahamas10/css-color-names/blob/master/css-color-names.json
_component2hex = (v) ->
h = Number(v).toString(16)
h = if h.length == 1 then '0' + h else h
color2hex... | true | # Functionality to handle CSS colors
# Used by webgl to convert colors to rgba tuples.
# CSS colors courtesy MIT-licensed code from PI:NAME:<NAME>END_PI:
# github.com/bahamas10/css-color-names/blob/master/css-color-names.json
_component2hex = (v) ->
h = Number(v).toString(16)
h = if h.length == 1 then '0' + h els... |
[
{
"context": " = { name: 'user', type: 'belongsTo', humanName: 'User' }\n\n assert.deepEqual expected, generator.buil",
"end": 476,
"score": 0.6637489199638367,
"start": 472,
"tag": "NAME",
"value": "User"
},
{
"context": "', ->\n expected =\n name: 'user'\... | test/cases/generator/server/resourcesTest.coffee | jivagoalves/tower | 1 | generator = null
sourceRoot = null
destinationRoot = null
cakefileDestination = null
describe 'Tower.GeneratorResources', ->
beforeEach ->
Tower.removeDirectorySync("#{process.cwd()}/test/tmp")
generator = new Tower.Generator(silent: true)
test '#generateRandom("hex")', ->
assert.matc... | 84768 | generator = null
sourceRoot = null
destinationRoot = null
cakefileDestination = null
describe 'Tower.GeneratorResources', ->
beforeEach ->
Tower.removeDirectorySync("#{process.cwd()}/test/tmp")
generator = new Tower.Generator(silent: true)
test '#generateRandom("hex")', ->
assert.matc... | true | generator = null
sourceRoot = null
destinationRoot = null
cakefileDestination = null
describe 'Tower.GeneratorResources', ->
beforeEach ->
Tower.removeDirectorySync("#{process.cwd()}/test/tmp")
generator = new Tower.Generator(silent: true)
test '#generateRandom("hex")', ->
assert.matc... |
[
{
"context": "dmin/admin@NODE.DC1.CONSUL'\n kadmin_password: 'admin'\n ssh:\n host: 'localhost'\n username: 'root",
"end": 237,
"score": 0.9996098875999451,
"start": 232,
"tag": "PASSWORD",
"value": "admin"
},
{
"context": "dmin'\n ssh:\n host: 'localhost'\n username... | packages/krb5/env/krb5/test.coffee | chibanemourad/node-nikita | 0 |
module.exports =
tags:
krb5_addprinc: true
krb5_delprinc: true
krb5_ktadd: true
krb5:
realm: 'NODE.DC1.CONSUL'
kadmin_server: 'krb5'
kadmin_principal: 'admin/admin@NODE.DC1.CONSUL'
kadmin_password: 'admin'
ssh:
host: 'localhost'
username: 'root'
| 101655 |
module.exports =
tags:
krb5_addprinc: true
krb5_delprinc: true
krb5_ktadd: true
krb5:
realm: 'NODE.DC1.CONSUL'
kadmin_server: 'krb5'
kadmin_principal: 'admin/admin@NODE.DC1.CONSUL'
kadmin_password: '<PASSWORD>'
ssh:
host: 'localhost'
username: 'root'
| true |
module.exports =
tags:
krb5_addprinc: true
krb5_delprinc: true
krb5_ktadd: true
krb5:
realm: 'NODE.DC1.CONSUL'
kadmin_server: 'krb5'
kadmin_principal: 'admin/admin@NODE.DC1.CONSUL'
kadmin_password: 'PI:PASSWORD:<PASSWORD>END_PI'
ssh:
host: 'localhost'
username: 'root'
|
[
{
"context": "d\n localStorage.setItem \"password\", q.password\n closeWindow win\n #",
"end": 6050,
"score": 0.9990956783294678,
"start": 6040,
"tag": "PASSWORD",
"value": "q.password"
},
{
"context": "hangeProfile\", {\n ... | client/code/app/util.coffee | Yukimir/jinrou | 0 | app=require '/app'
util=require '/util'
exports.showWindow=showWindow=(templatename,tmpl)->
de = document.documentElement
bd = document.body
sclf = bd.scrollLeft || de.scrollLeft
sctp = bd.scrollTop || de.scrollTop
x=Math.max 50,sclf+Math.floor(Math.random()*100-200+document.documentElement.clientWi... | 175315 | app=require '/app'
util=require '/util'
exports.showWindow=showWindow=(templatename,tmpl)->
de = document.documentElement
bd = document.body
sclf = bd.scrollLeft || de.scrollLeft
sctp = bd.scrollTop || de.scrollTop
x=Math.max 50,sclf+Math.floor(Math.random()*100-200+document.documentElement.clientWi... | true | app=require '/app'
util=require '/util'
exports.showWindow=showWindow=(templatename,tmpl)->
de = document.documentElement
bd = document.body
sclf = bd.scrollLeft || de.scrollLeft
sctp = bd.scrollTop || de.scrollTop
x=Math.max 50,sclf+Math.floor(Math.random()*100-200+document.documentElement.clientWi... |
[
{
"context": "* @package\t\tHome\n * @category\tmodules\n * @author\t\tNazar Mokrynskyi <nazar@mokrynskyi.com>\n * @copyright\tCopyright (c",
"end": 71,
"score": 0.9998817443847656,
"start": 55,
"tag": "NAME",
"value": "Nazar Mokrynskyi"
},
{
"context": "* @category\tmodules\n * @aut... | components/modules/Home/includes/js/_map.coffee | nazar-pc/cherrytea.org-old | 1 | ###
* @package Home
* @category modules
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @copyright Copyright (c) 2013-2014, Nazar Mokrynskyi
* @license MIT License, see license.txt
###
$ ->
map_container = $('#map')
if !map_container.length
return
ymaps.ready ->
# Map resizing on initialization and w... | 191936 | ###
* @package Home
* @category modules
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2013-2014, <NAME>
* @license MIT License, see license.txt
###
$ ->
map_container = $('#map')
if !map_container.length
return
ymaps.ready ->
# Map resizing on initialization and window resize
do ->
map_resiz... | true | ###
* @package Home
* @category modules
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright Copyright (c) 2013-2014, PI:NAME:<NAME>END_PI
* @license MIT License, see license.txt
###
$ ->
map_container = $('#map')
if !map_container.length
return
ymaps.ready ->
# Map resizing on initializa... |
[
{
"context": "ity value by 1 (to a minimum of \"0\").\"\"\"\n \"Garven Dreis\":\n text: \"\"\"After spending a focus tok",
"end": 6336,
"score": 0.9969791173934937,
"start": 6324,
"tag": "NAME",
"value": "Garven Dreis"
},
{
"context": " attacker could target you ins... | coffeescripts/cards-en.coffee | michigun/xwing | 0 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.en = 'English'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.English =
action:
"Barrel Roll": "Barrel Roll"
"Boost": "Boost"
"Evade": "Evade"
... | 199346 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.en = 'English'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.English =
action:
"Barrel Roll": "Barrel Roll"
"Boost": "Boost"
"Evade": "Evade"
... | true | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.en = 'English'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations.English =
action:
"Barrel Roll": "Barrel Roll"
"Boost": "Boost"
"Evade": "Evade"
... |
[
{
"context": "### Copyright (c) 2015 Magnus Leo. All rights reserved. ###\n\ncore = require('../mod",
"end": 33,
"score": 0.9998645782470703,
"start": 23,
"tag": "NAME",
"value": "Magnus Leo"
}
] | src/classes/Actor.coffee | magnusleo/Leo-Engine | 1 | ### Copyright (c) 2015 Magnus Leo. All rights reserved. ###
core = require('../modules/core')
Sprite = require('./Sprite')
module.exports =
class Actor
constructor: (properties) -> # Actor::constructor
# Defaults
@posX = 0
@posY = 0
@speedX = 0
@speedY = 0
# User ... | 67003 | ### Copyright (c) 2015 <NAME>. All rights reserved. ###
core = require('../modules/core')
Sprite = require('./Sprite')
module.exports =
class Actor
constructor: (properties) -> # Actor::constructor
# Defaults
@posX = 0
@posY = 0
@speedX = 0
@speedY = 0
# User defi... | true | ### Copyright (c) 2015 PI:NAME:<NAME>END_PI. All rights reserved. ###
core = require('../modules/core')
Sprite = require('./Sprite')
module.exports =
class Actor
constructor: (properties) -> # Actor::constructor
# Defaults
@posX = 0
@posY = 0
@speedX = 0
@speedY = 0
... |
[
{
"context": "\n# grunt-sitemap\n# https://github.com/RayViljoen/grunt-sitemap\n# Copyright (c) 2013 Ray Viljoen\n# ",
"end": 48,
"score": 0.9994235038757324,
"start": 38,
"tag": "USERNAME",
"value": "RayViljoen"
},
{
"context": ".com/RayViljoen/grunt-sitemap\n# Copyright (c) 2013 Ra... | src/sitemap.coffee | inlight-media/grunt-sitemap | 0 |
# grunt-sitemap
# https://github.com/RayViljoen/grunt-sitemap
# Copyright (c) 2013 Ray Viljoen
# Licensed under the MIT license.
module.exports = (grunt) ->
# Node modules
path = require 'path'
fs = require 'fs'
_ = require 'lodash'
# Please see the grunt documentation for more information regarding task and
... | 194526 |
# grunt-sitemap
# https://github.com/RayViljoen/grunt-sitemap
# Copyright (c) 2013 <NAME>
# Licensed under the MIT license.
module.exports = (grunt) ->
# Node modules
path = require 'path'
fs = require 'fs'
_ = require 'lodash'
# Please see the grunt documentation for more information regarding task and
# hel... | true |
# grunt-sitemap
# https://github.com/RayViljoen/grunt-sitemap
# Copyright (c) 2013 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
module.exports = (grunt) ->
# Node modules
path = require 'path'
fs = require 'fs'
_ = require 'lodash'
# Please see the grunt documentation for more information regarding t... |
[
{
"context": "# Copyright (C) 2015, Radmon.\n# Use of this source code is governed by the MIT",
"end": 28,
"score": 0.7916046380996704,
"start": 22,
"tag": "NAME",
"value": "Radmon"
},
{
"context": "out @timer\n\n $.fn.toast = (option) ->\n key = 'tm.toast'\n this.each ->\n ... | coffee/toast.coffee | radonlab/papery-theme | 0 | # Copyright (C) 2015, Radmon.
# Use of this source code is governed by the MIT license that can be
# found in the LICENSE file.
module.exports = ($) ->
'use strict'
target = '.toast'
class Toast
@TOAST_DURATION: 5000
@FADING_DURATION: 3000
constructor: (element) ->
@element = element
@... | 120474 | # Copyright (C) 2015, <NAME>.
# Use of this source code is governed by the MIT license that can be
# found in the LICENSE file.
module.exports = ($) ->
'use strict'
target = '.toast'
class Toast
@TOAST_DURATION: 5000
@FADING_DURATION: 3000
constructor: (element) ->
@element = element
@... | true | # Copyright (C) 2015, PI:NAME:<NAME>END_PI.
# Use of this source code is governed by the MIT license that can be
# found in the LICENSE file.
module.exports = ($) ->
'use strict'
target = '.toast'
class Toast
@TOAST_DURATION: 5000
@FADING_DURATION: 3000
constructor: (element) ->
@element = e... |
[
{
"context": "#@author alteredq / http://alteredqualia.com/\n\nTHREE = require 'thr",
"end": 17,
"score": 0.6310222148895264,
"start": 9,
"tag": "NAME",
"value": "alteredq"
}
] | src/RenderPass.coffee | caranicas/ThreeJS-EffectComposer | 0 | #@author alteredq / http://alteredqualia.com/
THREE = require 'threejs'
class RenderPass
constructor:(scene, camera, overrideMaterial, clearColor, clearAlpha) ->
@scene = scene
@camera = camera
@overrideMaterial = overrideMaterial
@clearColor = clearColor
@clearAlpha = if clearAlpha? then clear... | 25555 | #@author <NAME> / http://alteredqualia.com/
THREE = require 'threejs'
class RenderPass
constructor:(scene, camera, overrideMaterial, clearColor, clearAlpha) ->
@scene = scene
@camera = camera
@overrideMaterial = overrideMaterial
@clearColor = clearColor
@clearAlpha = if clearAlpha? then clearAl... | true | #@author PI:NAME:<NAME>END_PI / http://alteredqualia.com/
THREE = require 'threejs'
class RenderPass
constructor:(scene, camera, overrideMaterial, clearColor, clearAlpha) ->
@scene = scene
@camera = camera
@overrideMaterial = overrideMaterial
@clearColor = clearColor
@clearAlpha = if clearAlpha... |
[
{
"context": "L: 'https://api.mypurecloud.ie'\n deploymentKey: 'caa0323a-7079-4d55-b777-c49db1fe1206'\n orgGuid: '77da0b5f-76dd-40b7-a30c-9f14130bc9e9",
"end": 172,
"score": 0.9997210502624512,
"start": 136,
"tag": "KEY",
"value": "caa0323a-7079-4d55-b777-c49db1fe1206"
}
] | source/javascripts/widgets.js.coffee | mark-siggins-genesys/champagne4you | 0 | window._genesys = widgets: webchat: transport:
type: 'purecloud-v2-sockets'
dataURL: 'https://api.mypurecloud.ie'
deploymentKey: 'caa0323a-7079-4d55-b777-c49db1fe1206'
orgGuid: '77da0b5f-76dd-40b7-a30c-9f14130bc9e9'
interactionData: routing:
targetType: 'QUEUE'
targetAddress: 'SalesHotProspects'
p... | 42029 | window._genesys = widgets: webchat: transport:
type: 'purecloud-v2-sockets'
dataURL: 'https://api.mypurecloud.ie'
deploymentKey: '<KEY>'
orgGuid: '77da0b5f-76dd-40b7-a30c-9f14130bc9e9'
interactionData: routing:
targetType: 'QUEUE'
targetAddress: 'SalesHotProspects'
priority: 2
| true | window._genesys = widgets: webchat: transport:
type: 'purecloud-v2-sockets'
dataURL: 'https://api.mypurecloud.ie'
deploymentKey: 'PI:KEY:<KEY>END_PI'
orgGuid: '77da0b5f-76dd-40b7-a30c-9f14130bc9e9'
interactionData: routing:
targetType: 'QUEUE'
targetAddress: 'SalesHotProspects'
priority: 2
|
[
{
"context": " @example\n # user = App.User.build(firstName: 'Newton')\n # user.get('dirtyAttributes') #=> {firstNam",
"end": 1156,
"score": 0.9994208812713623,
"start": 1150,
"tag": "NAME",
"value": "Newton"
},
{
"context": " # user.get('dirtyAttributes') #=> {firstName: 'Ne... | node_modules/tower/packages/tower-model/shared/dirty.coffee | MagicPower2/Power | 1 | _ = Tower._
# @mixin
Tower.ModelDirty =
# Returns a hash in the format `{attribute1Name: [oldValue, newValue]}`,
# only for the attributes that have different before/after values.
#
# @return [Object]
changes: Ember.computed(->
attributes = @get('attributes')
injectChange = (memo, value, ke... | 82212 | _ = Tower._
# @mixin
Tower.ModelDirty =
# Returns a hash in the format `{attribute1Name: [oldValue, newValue]}`,
# only for the attributes that have different before/after values.
#
# @return [Object]
changes: Ember.computed(->
attributes = @get('attributes')
injectChange = (memo, value, ke... | true | _ = Tower._
# @mixin
Tower.ModelDirty =
# Returns a hash in the format `{attribute1Name: [oldValue, newValue]}`,
# only for the attributes that have different before/after values.
#
# @return [Object]
changes: Ember.computed(->
attributes = @get('attributes')
injectChange = (memo, value, ke... |
[
{
"context": "-08-12\n -\n - AND\n -\n - OR\n -\n name: chethiya\n age:\n comp: gte\n val: 27\n -\n ",
"end": 1045,
"score": 0.9996650218963623,
"start": 1037,
"tag": "NAME",
"value": "chethiya"
},
{
"context": "-\n school: Devi Balika\n\n record... | browser_test.coffee | chethiya/sexprs_logic | 0 | window.test = ->
N = 1000000
cond = o.condition
records = o.records
test = SExprsLogic.compile cond
test2 = SExprsLogic.compileByBind cond
#console.log test.toString()
#console.log cond[3][2] #college regex
#console.log records[2] #college record
console.log "Testing compile"
d = new Date()
res = ''
for i in ... | 65561 | window.test = ->
N = 1000000
cond = o.condition
records = o.records
test = SExprsLogic.compile cond
test2 = SExprsLogic.compileByBind cond
#console.log test.toString()
#console.log cond[3][2] #college regex
#console.log records[2] #college record
console.log "Testing compile"
d = new Date()
res = ''
for i in ... | true | window.test = ->
N = 1000000
cond = o.condition
records = o.records
test = SExprsLogic.compile cond
test2 = SExprsLogic.compileByBind cond
#console.log test.toString()
#console.log cond[3][2] #college regex
#console.log records[2] #college record
console.log "Testing compile"
d = new Date()
res = ''
for i in ... |
[
{
"context": "rection=<top|botton>][&limit=<10>]\n#\n# Author:\n# ajacksified\n\n\n_ = require('underscore')\nclark = require('clar",
"end": 1355,
"score": 0.9996775388717651,
"start": 1344,
"tag": "USERNAME",
"value": "ajacksified"
},
{
"context": " # allow for spaces after the t... | src/plusplus.coffee | jcc333/plusplus-hubot | 0 | # Description:
# Give or take away points. Keeps track and even prints out graphs.
#
# Dependencies:
# "underscore": ">= 1.0.0"
# "clark": "0.0.6"
#
# Configuration:
# HUBOT_PLUSPLUS_KEYWORD: the keyword that will make hubot give the
# score for a name and the reasons. For example you can set this to
# "sco... | 29569 | # Description:
# Give or take away points. Keeps track and even prints out graphs.
#
# Dependencies:
# "underscore": ">= 1.0.0"
# "clark": "0.0.6"
#
# Configuration:
# HUBOT_PLUSPLUS_KEYWORD: the keyword that will make hubot give the
# score for a name and the reasons. For example you can set this to
# "sco... | true | # Description:
# Give or take away points. Keeps track and even prints out graphs.
#
# Dependencies:
# "underscore": ">= 1.0.0"
# "clark": "0.0.6"
#
# Configuration:
# HUBOT_PLUSPLUS_KEYWORD: the keyword that will make hubot give the
# score for a name and the reasons. For example you can set this to
# "sco... |
[
{
"context": "mbers', ->\n expect(@Helper.isEmailAddress \"office.vidatio@vidatio.de\" ).toBeTruthy()\n expect(@Helper.isEmailAdd",
"end": 9904,
"score": 0.9999105930328369,
"start": 9879,
"tag": "EMAIL",
"value": "office.vidatio@vidatio.de"
},
{
"context": "BeTruthy()\... | app/components/helper/helper-test.coffee | vidatio/web-app | 0 | "use strict"
describe "Service Helper", ->
beforeEach ->
@Helper = new window.vidatio.Helper()
it 'should recognize wgs84 degree decimal coordinates correctly', ->
# with leading sign
coordinate = "0"
expect(@Helper.isCoordinateWGS84DegreeDecimal(coordinate)).toBeTruthy()
... | 144112 | "use strict"
describe "Service Helper", ->
beforeEach ->
@Helper = new window.vidatio.Helper()
it 'should recognize wgs84 degree decimal coordinates correctly', ->
# with leading sign
coordinate = "0"
expect(@Helper.isCoordinateWGS84DegreeDecimal(coordinate)).toBeTruthy()
... | true | "use strict"
describe "Service Helper", ->
beforeEach ->
@Helper = new window.vidatio.Helper()
it 'should recognize wgs84 degree decimal coordinates correctly', ->
# with leading sign
coordinate = "0"
expect(@Helper.isCoordinateWGS84DegreeDecimal(coordinate)).toBeTruthy()
... |
[
{
"context": "ar\":\"2015\",\n \"first_name\":\"Muslim\",\n \"last_name\":\"Nurakhunov",
"end": 1419,
"score": 0.99961918592453,
"start": 1413,
"tag": "NAME",
"value": "Muslim"
},
{
"context": "e\":\"Muslim\",\n \"l... | models/shopping_cart/fixture/getpurchasesummary.coffee | signonsridhar/sridhar_hbs | 0 | define(['can_fixture'], (can)->
can.fixture('POST /bss/order?action=getpurchasesummary',(req, res)->
return {
"response":{
"service":"getpurchasesummary",
"response_code":100,
"execution_time":11391,
"timestamp":"2014-04-21T23:48:56... | 2250 | define(['can_fixture'], (can)->
can.fixture('POST /bss/order?action=getpurchasesummary',(req, res)->
return {
"response":{
"service":"getpurchasesummary",
"response_code":100,
"execution_time":11391,
"timestamp":"2014-04-21T23:48:56... | true | define(['can_fixture'], (can)->
can.fixture('POST /bss/order?action=getpurchasesummary',(req, res)->
return {
"response":{
"service":"getpurchasesummary",
"response_code":100,
"execution_time":11391,
"timestamp":"2014-04-21T23:48:56... |
[
{
"context": "{Name: n, Value: v} for n, v of config when n != \"username\"\n attributes\n\n register = (attributes, option",
"end": 696,
"score": 0.9482213258743286,
"start": 688,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ister = (attributes, options={}) ->\n pa... | src/proxies/frictionless.coffee | pandastrike/panda-sky-identity | 0 | # Frictionless is a Panda Sky Cognito mixin preset that automates the generation and entry of a password so the end user only deals with multi-factor authentication to get unguessable keys on their device.
import {merge} from "fairmont-helpers"
import {randomKey} from "key-forge"
frictionless = (liftedAWS, env) ->
c... | 128577 | # Frictionless is a Panda Sky Cognito mixin preset that automates the generation and entry of a password so the end user only deals with multi-factor authentication to get unguessable keys on their device.
import {merge} from "fairmont-helpers"
import {randomKey} from "key-forge"
frictionless = (liftedAWS, env) ->
c... | true | # Frictionless is a Panda Sky Cognito mixin preset that automates the generation and entry of a password so the end user only deals with multi-factor authentication to get unguessable keys on their device.
import {merge} from "fairmont-helpers"
import {randomKey} from "key-forge"
frictionless = (liftedAWS, env) ->
c... |
[
{
"context": "d = require 'should'\n\nboards = [\n {\n \"name\": \"ToDoNow\",\n \"desc\": \"\",\n \"descData\": null,\n \"clos",
"end": 111,
"score": 0.7737023830413818,
"start": 104,
"tag": "NAME",
"value": "ToDoNow"
},
{
"context": "3-08T09:32:52.044Z\",\n \"idTags\... | test/servers/trello.coffee | jianliaoim/talk-services | 40 | express = require 'express'
_ = require 'lodash'
should = require 'should'
boards = [
{
"name": "ToDoNow",
"desc": "",
"descData": null,
"closed": false,
"idOrganization": null,
"pinned": null,
"invitations": null,
"shortLink": "GkR7AsMR",
"powerUps": [
"calendar"
],
... | 3329 | express = require 'express'
_ = require 'lodash'
should = require 'should'
boards = [
{
"name": "<NAME>",
"desc": "",
"descData": null,
"closed": false,
"idOrganization": null,
"pinned": null,
"invitations": null,
"shortLink": "GkR7AsMR",
"powerUps": [
"calendar"
],
... | true | express = require 'express'
_ = require 'lodash'
should = require 'should'
boards = [
{
"name": "PI:NAME:<NAME>END_PI",
"desc": "",
"descData": null,
"closed": false,
"idOrganization": null,
"pinned": null,
"invitations": null,
"shortLink": "GkR7AsMR",
"powerUps": [
"calenda... |
[
{
"context": "#####################################\n# Created by Markus on 23/10/2015.\n##################################",
"end": 73,
"score": 0.9977468848228455,
"start": 67,
"tag": "NAME",
"value": "Markus"
}
] | server/logic/nlp.coffee | MooqitaSFH/worklearn | 0 | #####################################################
# Created by Markus on 23/10/2015.
#####################################################
#####################################################
_task_map =
"profiles_resume": "n_gram"
"organizations_description": "n_gram"
"jobs_description": "n_gram"
"jobs_title... | 49264 | #####################################################
# Created by <NAME> on 23/10/2015.
#####################################################
#####################################################
_task_map =
"profiles_resume": "n_gram"
"organizations_description": "n_gram"
"jobs_description": "n_gram"
"jobs_title... | true | #####################################################
# Created by PI:NAME:<NAME>END_PI on 23/10/2015.
#####################################################
#####################################################
_task_map =
"profiles_resume": "n_gram"
"organizations_description": "n_gram"
"jobs_description": "n_gram... |
[
{
"context": "verview Forbid target='_blank' attribute\n# @author Kevin Miller\n###\n'use strict'\n\n# -----------------------------",
"end": 76,
"score": 0.9987582564353943,
"start": 64,
"tag": "NAME",
"value": "Kevin Miller"
}
] | src/tests/rules/jsx-no-target-blank.coffee | helixbass/eslint-plugin-coffee | 21 | ###*
# @fileoverview Forbid target='_blank' attribute
# @author Kevin Miller
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/jsx-no-target-blank... | 97692 | ###*
# @fileoverview Forbid target='_blank' attribute
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/jsx-no-target-blank'
{Rul... | true | ###*
# @fileoverview Forbid target='_blank' attribute
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/jsx-no-targ... |
[
{
"context": " Xyz: 'xyz'\n Abc: 'abc'\n Name: 'john'\n xml = \"\"\"\n <Data xmlns=\"#{xmlns}\">\n ",
"end": 1970,
"score": 0.9984635710716248,
"start": 1966,
"tag": "NAME",
"value": "john"
},
{
"context": "= \"\"\"\n <Data xmlns=\"#{xmlns}\">\n ... | test/unit/xml/builder.spec.coffee | explodingbarrel/aws-sdk-js | 1 | # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | 22328 | # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | true | # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... |
[
{
"context": "\n\nItemsSlots = () ->\n this.slots = []\n keys = ['z', 'x', 'c', 'v', 'b', 'n'];\n nameItems = ['dagon', 'ethereal', 'eul',\n ",
"end": 1027,
"score": 0.9798027873039246,
"start": 1001,
"tag": "KEY",
"value": "z', 'x', 'c', 'v', 'b', 'n"
}
] | assets/js/src/itemsSlots.coffee | juancjara/dota-game | 0 | Item = (data) ->
data = data or {}
this.name = data.name or ''
this.srcImg = data.srcImg or ''
this.clickNeeded = data.clickNeeded or false
this.secondsCd = data.secondsCd or 0
this.onCooldown = false
this.countdown = null
this.hitTime = data.hitTime or 0
this.duration = data.duration or 0
this.hitD... | 89513 | Item = (data) ->
data = data or {}
this.name = data.name or ''
this.srcImg = data.srcImg or ''
this.clickNeeded = data.clickNeeded or false
this.secondsCd = data.secondsCd or 0
this.onCooldown = false
this.countdown = null
this.hitTime = data.hitTime or 0
this.duration = data.duration or 0
this.hitD... | true | Item = (data) ->
data = data or {}
this.name = data.name or ''
this.srcImg = data.srcImg or ''
this.clickNeeded = data.clickNeeded or false
this.secondsCd = data.secondsCd or 0
this.onCooldown = false
this.countdown = null
this.hitTime = data.hitTime or 0
this.duration = data.duration or 0
this.hitD... |
[
{
"context": "ck on refresh\n # (cf. https://github.com/krispo/angular-nvd3/issues/316).\n # The work-ar",
"end": 14416,
"score": 0.9996182322502136,
"start": 14410,
"tag": "USERNAME",
"value": "krispo"
},
{
"context": " # @param key the modeling parameter key, e.... | app/javascripts/controllers.coffee | ohsu-qin/qiprofile | 0 | define ['angular', 'lodash', 'ngsanitize', 'ngnvd3', 'resources', 'modelingChart', 'breast',
'sliceDisplay', 'collection'],
(ng, _) ->
ctlrs = ng.module(
'qiprofile.controllers',
['ngSanitize', 'nvd3', 'qiprofile.resources', 'qiprofile.modelingchart',
'qiprofile.breast', 'qiprofile.slic... | 60220 | define ['angular', 'lodash', 'ngsanitize', 'ngnvd3', 'resources', 'modelingChart', 'breast',
'sliceDisplay', 'collection'],
(ng, _) ->
ctlrs = ng.module(
'qiprofile.controllers',
['ngSanitize', 'nvd3', 'qiprofile.resources', 'qiprofile.modelingchart',
'qiprofile.breast', 'qiprofile.slic... | true | define ['angular', 'lodash', 'ngsanitize', 'ngnvd3', 'resources', 'modelingChart', 'breast',
'sliceDisplay', 'collection'],
(ng, _) ->
ctlrs = ng.module(
'qiprofile.controllers',
['ngSanitize', 'nvd3', 'qiprofile.resources', 'qiprofile.modelingchart',
'qiprofile.breast', 'qiprofile.slic... |
[
{
"context": "---\n---\n\n# Ben Scott # 2015-10-02 # CoffeeScript Sketch #\n\n'use strict",
"end": 20,
"score": 0.9997660517692566,
"start": 11,
"tag": "NAME",
"value": "Ben Scott"
}
] | js/lack_of_focus.coffee | evan-erdos/evan-erdos.github.io | 1 | ---
---
# Ben Scott # 2015-10-02 # CoffeeScript Sketch #
'use strict' # just like JavaScript
### `P5.js` Main class
This is our instance of the main class in the `P5.js` library.
The argument is the link between the library and this code, and
the special functions we override in the class definition are
callbacks f... | 19957 | ---
---
# <NAME> # 2015-10-02 # CoffeeScript Sketch #
'use strict' # just like JavaScript
### `P5.js` Main class
This is our instance of the main class in the `P5.js` library.
The argument is the link between the library and this code, and
the special functions we override in the class definition are
callbacks for ... | true | ---
---
# PI:NAME:<NAME>END_PI # 2015-10-02 # CoffeeScript Sketch #
'use strict' # just like JavaScript
### `P5.js` Main class
This is our instance of the main class in the `P5.js` library.
The argument is the link between the library and this code, and
the special functions we override in the class definition are
... |
[
{
"context": "key: 'liquid'\npatterns: [\n { include: 'text.html.liquid' }\n]\n",
"end": 12,
"score": 0.5168231725692749,
"start": 6,
"tag": "KEY",
"value": "liquid"
}
] | grammars/repositories/inlines/liquid.cson | doc22940/language-markdown | 138 | key: 'liquid'
patterns: [
{ include: 'text.html.liquid' }
]
| 78305 | key: '<KEY>'
patterns: [
{ include: 'text.html.liquid' }
]
| true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
{ include: 'text.html.liquid' }
]
|
[
{
"context": "oginUsers.some (u) =>\n if u.username is username && u.password is password\n user = JS",
"end": 690,
"score": 0.9859931468963623,
"start": 682,
"tag": "USERNAME",
"value": "username"
},
{
"context": " if u.username is username && u.passwo... | src/mock/mock.coffee | triaregithubaccess/kardea_Admin_panel | 0 | import axios from 'axios';
import MockAdapter from 'axios-mock-adapter';
import { LoginUsers, Users } from './data/user';
_Users = Users;
export_default =
# /**
# * mock bootstrap
# */
bootstrap: ->
mock = new MockAdapter(axios)
# // mock success request
mock.onGet('/success').reply 200,
msg: ... | 187593 | import axios from 'axios';
import MockAdapter from 'axios-mock-adapter';
import { LoginUsers, Users } from './data/user';
_Users = Users;
export_default =
# /**
# * mock bootstrap
# */
bootstrap: ->
mock = new MockAdapter(axios)
# // mock success request
mock.onGet('/success').reply 200,
msg: ... | true | import axios from 'axios';
import MockAdapter from 'axios-mock-adapter';
import { LoginUsers, Users } from './data/user';
_Users = Users;
export_default =
# /**
# * mock bootstrap
# */
bootstrap: ->
mock = new MockAdapter(axios)
# // mock success request
mock.onGet('/success').reply 200,
msg: ... |
[
{
"context": "\n uuid: 'new-uuid'\n token: 'new-token'\n\n callback null, response\n\n setTimeo",
"end": 1873,
"score": 0.6197465658187866,
"start": 1864,
"tag": "PASSWORD",
"value": "new-token"
}
] | test/auto-register-spec.coffee | canfer/meshblu-core-protocol-adapter-socket.io | 0 | _ = require 'lodash'
meshblu = require 'meshblu'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
Server = require '../src/server'
UUID = require 'uuid'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
describe 'Auto Register', ->
beforeEach ->
queueId = UUID.v4()
@name... | 31946 | _ = require 'lodash'
meshblu = require 'meshblu'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
Server = require '../src/server'
UUID = require 'uuid'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
describe 'Auto Register', ->
beforeEach ->
queueId = UUID.v4()
@name... | true | _ = require 'lodash'
meshblu = require 'meshblu'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
Server = require '../src/server'
UUID = require 'uuid'
{ JobManagerResponder } = require 'meshblu-core-job-manager'
describe 'Auto Register', ->
beforeEach ->
queueId = UUID.v4()
@name... |
[
{
"context": "0, put: 0, delete: 0\n }\n {\n ###\n Author: ec.huyinghuan@gmail.com\n Date: 2015.07.06\n Describe: 项目中gitlab的",
"end": 2646,
"score": 0.9999335408210754,
"start": 2623,
"tag": "EMAIL",
"value": "ec.huyinghuan@gmail.com"
}
] | src/config/routers/project.coffee | kiteam/kiteam | 0 | module.exports = [
{
path: 'project/:project_id(\\d+)/member'
biz: 'project'
methods: delete: 'removeMember', put: 'addMember', post: 'addMember', get: 'getMembers'
allowGuest: ['get']
},
# {
# #查看某个项目下的所有commit
# #提交commit,用于git或svn提交commit时,自动获取commit并分析,需要指定project_id
# path: 'project/:proj... | 200504 | module.exports = [
{
path: 'project/:project_id(\\d+)/member'
biz: 'project'
methods: delete: 'removeMember', put: 'addMember', post: 'addMember', get: 'getMembers'
allowGuest: ['get']
},
# {
# #查看某个项目下的所有commit
# #提交commit,用于git或svn提交commit时,自动获取commit并分析,需要指定project_id
# path: 'project/:proj... | true | module.exports = [
{
path: 'project/:project_id(\\d+)/member'
biz: 'project'
methods: delete: 'removeMember', put: 'addMember', post: 'addMember', get: 'getMembers'
allowGuest: ['get']
},
# {
# #查看某个项目下的所有commit
# #提交commit,用于git或svn提交commit时,自动获取commit并分析,需要指定project_id
# path: 'project/:proj... |
[
{
"context": " super(options)\n @outKey = options.outKey or 'account_id'\n\n initialize: (options) ->\n super(options)\n ",
"end": 413,
"score": 0.9852046966552734,
"start": 403,
"tag": "KEY",
"value": "account_id"
}
] | app/scripts/views/steps/accountselector-step.coffee | toggl/pipes-ui | 12 | class pipes.steps.AccountSelectorStep extends pipes.steps.DataPollStep
###
An all-in-one account selector step.
Polls accounts from the given url, displayes them in a list and
stores the selected account's id in @sharedData[@outKey]
###
listTemplate: templates['steps/account-selector.html']
url: null
... | 116749 | class pipes.steps.AccountSelectorStep extends pipes.steps.DataPollStep
###
An all-in-one account selector step.
Polls accounts from the given url, displayes them in a list and
stores the selected account's id in @sharedData[@outKey]
###
listTemplate: templates['steps/account-selector.html']
url: null
... | true | class pipes.steps.AccountSelectorStep extends pipes.steps.DataPollStep
###
An all-in-one account selector step.
Polls accounts from the given url, displayes them in a list and
stores the selected account's id in @sharedData[@outKey]
###
listTemplate: templates['steps/account-selector.html']
url: null
... |
[
{
"context": "subtotal: 999,\n total: 999,\n customer: 'cus_5Fz9MVWP2bDPGV',\n object: 'invoice',\n attempted: true,",
"end": 520,
"score": 0.5040715932846069,
"start": 502,
"tag": "USERNAME",
"value": "cus_5Fz9MVWP2bDPGV"
},
{
"context": "76967,\n status: 'c... | test/server/functional/subscription.spec.coffee | rishiloyola/codecombat | 1 |
config = require '../../../server_config'
require '../common'
# sample data that comes in through the webhook when you subscribe
invoiceChargeSampleEvent = {
id: 'evt_155TBeKaReE7xLUdrKM72O5R',
created: 1417574898,
livemode: false,
type: 'invoice.payment_succeeded',
data: {
object: {
date: 141757... | 67863 |
config = require '../../../server_config'
require '../common'
# sample data that comes in through the webhook when you subscribe
invoiceChargeSampleEvent = {
id: 'evt_155TBeKaReE7xLUdrKM72O5R',
created: 1417574898,
livemode: false,
type: 'invoice.payment_succeeded',
data: {
object: {
date: 141757... | true |
config = require '../../../server_config'
require '../common'
# sample data that comes in through the webhook when you subscribe
invoiceChargeSampleEvent = {
id: 'evt_155TBeKaReE7xLUdrKM72O5R',
created: 1417574898,
livemode: false,
type: 'invoice.payment_succeeded',
data: {
object: {
date: 141757... |
[
{
"context": "oGLib\n# Module | Stat Methods\n# Author | Sherif Emabrak\n# Description | The sequence method links adjacen",
"end": 164,
"score": 0.9998775124549866,
"start": 150,
"tag": "NAME",
"value": "Sherif Emabrak"
}
] | src/lib/statistics/link/sequence.coffee | Sherif-Embarak/gp-test | 0 | # ------------------------------------------------------------------------------
# ,Project | GoGLib
# Module | Stat Methods
# Author | Sherif Emabrak
# Description | The sequence method links adjacent nodes in a sequence
# (1,2,3,..),producing the list of links{(1,2),(2,3),...}
# ----------... | 48784 | # ------------------------------------------------------------------------------
# ,Project | GoGLib
# Module | Stat Methods
# Author | <NAME>
# Description | The sequence method links adjacent nodes in a sequence
# (1,2,3,..),producing the list of links{(1,2),(2,3),...}
# ------------------... | true | # ------------------------------------------------------------------------------
# ,Project | GoGLib
# Module | Stat Methods
# Author | PI:NAME:<NAME>END_PI
# Description | The sequence method links adjacent nodes in a sequence
# (1,2,3,..),producing the list of links{(1,2),(2,3),...}
# ----... |
[
{
"context": "'email', (n, callback) ->\n callback(null, \"test#{n}@example.com\")\n\n Factory.define 'admin', class: Admin, ->\n ",
"end": 258,
"score": 0.9997348189353943,
"start": 238,
"tag": "EMAIL",
"value": "test#{n}@example.com"
},
{
"context": "ser) ->\n user.s... | test/sequences_test.coffee | JackDanger/factory-boy | 2 | require('./test_helper')
class User extends Object
class Admin extends Object
describe 'Factory sequences', ->
beforeEach ->
Factory.define 'user', class: User, ->
@sequence 'email', (n, callback) ->
callback(null, "test#{n}@example.com")
Factory.define 'admin', class: Admin, ->
@sequen... | 52320 | require('./test_helper')
class User extends Object
class Admin extends Object
describe 'Factory sequences', ->
beforeEach ->
Factory.define 'user', class: User, ->
@sequence 'email', (n, callback) ->
callback(null, "<EMAIL>")
Factory.define 'admin', class: Admin, ->
@sequence 'login', (... | true | require('./test_helper')
class User extends Object
class Admin extends Object
describe 'Factory sequences', ->
beforeEach ->
Factory.define 'user', class: User, ->
@sequence 'email', (n, callback) ->
callback(null, "PI:EMAIL:<EMAIL>END_PI")
Factory.define 'admin', class: Admin, ->
@sequ... |
[
{
"context": "\"New Relic Alert - Test Condition\"\n account_id: 1065273\n event_type: \"NOTIFICATION\"\n runbook_url: \"http",
"end": 298,
"score": 0.8352423310279846,
"start": 292,
"tag": "KEY",
"value": "065273"
},
{
"context": "everity: \"INFO\"\n incident_id: 0\n account_na... | test/services/newrelic.coffee | jianliaoim/talk-services | 40 | should = require 'should'
loader = require '../../src/loader'
{req} = require '../util'
$newrelic = loader.load 'newrelic'
payload =
policy_url: "https://alerts.newrelic.com/accounts/1065273/policies/0"
condition_id: 0
condition_name: "New Relic Alert - Test Condition"
account_id: 1065273
event_type: "NOTIFI... | 112793 | should = require 'should'
loader = require '../../src/loader'
{req} = require '../util'
$newrelic = loader.load 'newrelic'
payload =
policy_url: "https://alerts.newrelic.com/accounts/1065273/policies/0"
condition_id: 0
condition_name: "New Relic Alert - Test Condition"
account_id: 1<KEY>
event_type: "NOTIFIC... | true | should = require 'should'
loader = require '../../src/loader'
{req} = require '../util'
$newrelic = loader.load 'newrelic'
payload =
policy_url: "https://alerts.newrelic.com/accounts/1065273/policies/0"
condition_id: 0
condition_name: "New Relic Alert - Test Condition"
account_id: 1PI:KEY:<KEY>END_PI
event_t... |
[
{
"context": "ername: process.env.PSLAN_USERNAME\n password: process.env.PSLAN_PASSWORD\n )\n\n authorizeOptions: ->\n host: @_track",
"end": 561,
"score": 0.9943952560424805,
"start": 535,
"tag": "PASSWORD",
"value": "process.env.PSLAN_PASSWORD"
}
] | lib/hubot-torrent/adapters/pslan/authorize_granter.coffee | dnesteryuk/hubot-torrent | 2 | class AuthorizeGranter
_trackerHost: 'www.pslan.com'
_pathToLogin: '/takelogin.php'
_requiredEnvVars: [
'PSLAN_USERNAME'
'PSLAN_PASSWORD'
]
trackerName: ->
'Pslan'
parseAuthCode: (res) ->
cookie = res.headers['set-cookie']
uid = cookie[2].match(/uid=(\d+)/)[0]
pass = cookie[3].m... | 182854 | class AuthorizeGranter
_trackerHost: 'www.pslan.com'
_pathToLogin: '/takelogin.php'
_requiredEnvVars: [
'PSLAN_USERNAME'
'PSLAN_PASSWORD'
]
trackerName: ->
'Pslan'
parseAuthCode: (res) ->
cookie = res.headers['set-cookie']
uid = cookie[2].match(/uid=(\d+)/)[0]
pass = cookie[3].m... | true | class AuthorizeGranter
_trackerHost: 'www.pslan.com'
_pathToLogin: '/takelogin.php'
_requiredEnvVars: [
'PSLAN_USERNAME'
'PSLAN_PASSWORD'
]
trackerName: ->
'Pslan'
parseAuthCode: (res) ->
cookie = res.headers['set-cookie']
uid = cookie[2].match(/uid=(\d+)/)[0]
pass = cookie[3].m... |
[
{
"context": "the mode files are\n # loaded immediately. (Jyrki Niemi 2017-12-12/18)\n $.when(avail_corpora_dfd).",
"end": 1386,
"score": 0.9032174944877625,
"start": 1375,
"tag": "NAME",
"value": "Jyrki Niemi"
},
{
"context": "us ids in the URL hash\n # parameter \"... | app/scripts/main.coffee | CSCfi/Kielipankki-korp-frontend | 0 |
window.authenticationProxy = new model.AuthenticationProxy()
window.timeProxy = new model.TimeProxy()
creds = $.jStorage.get("creds")
console.log "creds (0)", creds
if creds
authenticationProxy.loginObj = creds
# rewriting old url format to the angular one
if(location.hash.length && location.hash[1] != "?")
l... | 130284 |
window.authenticationProxy = new model.AuthenticationProxy()
window.timeProxy = new model.TimeProxy()
creds = $.jStorage.get("creds")
console.log "creds (0)", creds
if creds
authenticationProxy.loginObj = creds
# rewriting old url format to the angular one
if(location.hash.length && location.hash[1] != "?")
l... | true |
window.authenticationProxy = new model.AuthenticationProxy()
window.timeProxy = new model.TimeProxy()
creds = $.jStorage.get("creds")
console.log "creds (0)", creds
if creds
authenticationProxy.loginObj = creds
# rewriting old url format to the angular one
if(location.hash.length && location.hash[1] != "?")
l... |
[
{
"context": "')\n #md5.update(title||'')\n #req.body.token = md5.digest('hex')\n req.body.token = crypto.createHas",
"end": 2125,
"score": 0.5148947238922119,
"start": 2124,
"tag": "KEY",
"value": "5"
},
{
"context": "\n #md5.update(title||'')\n #req.body.token = md5.digest('he... | src/controllers/ticket.coffee | Tatsuonline/node-ticket-manager | 81 |
mongoose = require('mongoose')
Ticket = mongoose.model('Ticket')
crypto = require 'crypto'
STATUS = require "../enums/ticket_status"
MAX_ATTEMPTS_BEFORE_ABANDON = 16
MAX_TIME_ALLOWED_FOR_PROCESSING = 1000 * 60 * 60
debuglog = require("debug")("ticketman:controller:ticket")
# list tickets
# GET /
# GET /tickets
exp... | 35161 |
mongoose = require('mongoose')
Ticket = mongoose.model('Ticket')
crypto = require 'crypto'
STATUS = require "../enums/ticket_status"
MAX_ATTEMPTS_BEFORE_ABANDON = 16
MAX_TIME_ALLOWED_FOR_PROCESSING = 1000 * 60 * 60
debuglog = require("debug")("ticketman:controller:ticket")
# list tickets
# GET /
# GET /tickets
exp... | true |
mongoose = require('mongoose')
Ticket = mongoose.model('Ticket')
crypto = require 'crypto'
STATUS = require "../enums/ticket_status"
MAX_ATTEMPTS_BEFORE_ABANDON = 16
MAX_TIME_ALLOWED_FOR_PROCESSING = 1000 * 60 * 60
debuglog = require("debug")("ticketman:controller:ticket")
# list tickets
# GET /
# GET /tickets
exp... |
[
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com> \n\nLicensed under the A",
"end": 39,
"score": 0.9998947381973267,
"start": 26,
"tag": "NAME",
"value": "Stephan Jorek"
},
{
"context": "###\n© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com... | src/Action/Projector/ProjectionSheet.coffee | sjorek/goatee.js | 0 | ###
© Copyright 2013-2014 Stephan Jorek <stephan.jorek@gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable law o... | 146238 | ###
© Copyright 2013-2014 <NAME> <<EMAIL>>
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 | ###
© Copyright 2013-2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>
Unless required by applicable... |
[
{
"context": "# Tapster 3 Assembly\n# (c) 2020 Jason R. Huggins\n# It's okay to use CoffeeScript ☕\n\n# No, really, ",
"end": 48,
"score": 0.999778151512146,
"start": 32,
"tag": "NAME",
"value": "Jason R. Huggins"
}
] | public/script/tapster-3.coffee | tapsterbot/construct | 0 | # Tapster 3 Assembly
# (c) 2020 Jason R. Huggins
# It's okay to use CoffeeScript ☕
# No, really, pi is wrong
Math.TAU = Math.PI*2
arm_offset = Math.acos(69.912/70) / Math.TAU * 360
ceiling = 190
servo_height_offset = (-28.5 / 2) - 5
servo_width_offset = 44.6 / 2
end_effector_offset = 7.50
upper_arm_joint_width_offset... | 136097 | # Tapster 3 Assembly
# (c) 2020 <NAME>
# It's okay to use CoffeeScript ☕
# No, really, pi is wrong
Math.TAU = Math.PI*2
arm_offset = Math.acos(69.912/70) / Math.TAU * 360
ceiling = 190
servo_height_offset = (-28.5 / 2) - 5
servo_width_offset = 44.6 / 2
end_effector_offset = 7.50
upper_arm_joint_width_offset = 23.50 /... | true | # Tapster 3 Assembly
# (c) 2020 PI:NAME:<NAME>END_PI
# It's okay to use CoffeeScript ☕
# No, really, pi is wrong
Math.TAU = Math.PI*2
arm_offset = Math.acos(69.912/70) / Math.TAU * 360
ceiling = 190
servo_height_offset = (-28.5 / 2) - 5
servo_width_offset = 44.6 / 2
end_effector_offset = 7.50
upper_arm_joint_width_of... |
[
{
"context": "script.\r\n#\r\n# MIT License\r\n#\r\n# Copyright (c) 2014 Dennis Raymondo van der Sluis\r\n#\r\n# Permission is hereby granted, free of charg",
"end": 164,
"score": 0.9998748898506165,
"start": 135,
"tag": "NAME",
"value": "Dennis Raymondo van der Sluis"
}
] | words.coffee | phazelift/words.js | 1 | #
# words.coffee - A Javascript word-string manipulation library, written in Coffeescript.
#
# MIT License
#
# Copyright (c) 2014 Dennis Raymondo van der Sluis
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),... | 113479 | #
# words.coffee - A Javascript word-string manipulation library, written in Coffeescript.
#
# MIT License
#
# Copyright (c) 2014 <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 Soft... | true | #
# words.coffee - A Javascript word-string manipulation library, written in Coffeescript.
#
# MIT License
#
# Copyright (c) 2014 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
... |
[
{
"context": "should assign the value and wait', ->\n\n key = 'key'\n val = 'test'\n values =\n value: val\n ",
"end": 524,
"score": 0.7823352813720703,
"start": 521,
"tag": "KEY",
"value": "key"
},
{
"context": "e value and wait', ->\n\n key = 'key'\n val = 'test... | test/lib/test-special.coffee | elidoran/endeo-decoder | 0 | assert = require 'assert'
B = require '@endeo/bytes'
node = require '../../lib/complex-nodes/special.coffee'
testNode = require '../helpers/complex-node-test.coffee'
describe 'test special', ->
N = neededNodes =
start: {}
value: {}
int : {}
special : {}
defaults: {}
specialT: {}
it '... | 45072 | assert = require 'assert'
B = require '@endeo/bytes'
node = require '../../lib/complex-nodes/special.coffee'
testNode = require '../helpers/complex-node-test.coffee'
describe 'test special', ->
N = neededNodes =
start: {}
value: {}
int : {}
special : {}
defaults: {}
specialT: {}
it '... | true | assert = require 'assert'
B = require '@endeo/bytes'
node = require '../../lib/complex-nodes/special.coffee'
testNode = require '../helpers/complex-node-test.coffee'
describe 'test special', ->
N = neededNodes =
start: {}
value: {}
int : {}
special : {}
defaults: {}
specialT: {}
it '... |
[
{
"context": "ne you can find.\n#\n# <script>window.exampleKey = 'linear_spline'</script>\n# <script>drawGeometry(exampleKey, {hig",
"end": 221,
"score": 0.8661215901374817,
"start": 208,
"tag": "KEY",
"value": "linear_spline"
}
] | src/geom/linear_spline.coffee | abe33/agt | 1 | {Formattable, Sourcable} = require '../mixins'
{Geometry, Path, Intersections, Spline} = require './mixins'
# Public: The `LinearSpline` is the simplest spline you can find.
#
# <script>window.exampleKey = 'linear_spline'</script>
# <script>drawGeometry(exampleKey, {highlight: true})</script>
#
# ### Included Mixins
#... | 114636 | {Formattable, Sourcable} = require '../mixins'
{Geometry, Path, Intersections, Spline} = require './mixins'
# Public: The `LinearSpline` is the simplest spline you can find.
#
# <script>window.exampleKey = '<KEY>'</script>
# <script>drawGeometry(exampleKey, {highlight: true})</script>
#
# ### Included Mixins
#
# - {ag... | true | {Formattable, Sourcable} = require '../mixins'
{Geometry, Path, Intersections, Spline} = require './mixins'
# Public: The `LinearSpline` is the simplest spline you can find.
#
# <script>window.exampleKey = 'PI:KEY:<KEY>END_PI'</script>
# <script>drawGeometry(exampleKey, {highlight: true})</script>
#
# ### Included Mix... |
[
{
"context": " id: row.id\n key: row.key\n password: row.password\n allowComments: row.allow_comments\n cre",
"end": 1216,
"score": 0.999254047870636,
"start": 1204,
"tag": "PASSWORD",
"value": "row.password"
},
{
"context": " id: row.id\n key: row.key\... | player/src/models/shares.coffee | setpixel/storyboard-fountain | 148 | _ = require('underscore')
util = require('util')
moment = require('moment')
pg = require('../db/pg')
shortId = require('shortid')
class Share
@id: null
constructor: (data) ->
{@key, @password, @allowComments, @createdAt} = data if data?
@key = shortId.generate() unless @key?
module.exports = {
initial... | 45835 | _ = require('underscore')
util = require('util')
moment = require('moment')
pg = require('../db/pg')
shortId = require('shortid')
class Share
@id: null
constructor: (data) ->
{@key, @password, @allowComments, @createdAt} = data if data?
@key = shortId.generate() unless @key?
module.exports = {
initial... | true | _ = require('underscore')
util = require('util')
moment = require('moment')
pg = require('../db/pg')
shortId = require('shortid')
class Share
@id: null
constructor: (data) ->
{@key, @password, @allowComments, @createdAt} = data if data?
@key = shortId.generate() unless @key?
module.exports = {
initial... |
[
{
"context": " person.Nombre\n meta:\n from: \"victtorglez@gmail.com\"\n to: person.Email\n subject",
"end": 2951,
"score": 0.9999163150787354,
"start": 2930,
"tag": "EMAIL",
"value": "victtorglez@gmail.com"
}
] | src/main.coffee | aficiomaquinas/lending-reminders | 0 | require('dotenv').load()
util = require 'util'
blockspring = require 'blockspring'
escape = require 'escape-html'
request = require 'request'
module.exports = class App
constructor: ->
@api = process.env.BLOCKSPRING_API
@gsheet_items_url = process.env.G_SHEET_ITEMS_URL
@gsheet_persons_url = process.env.... | 187503 | require('dotenv').load()
util = require 'util'
blockspring = require 'blockspring'
escape = require 'escape-html'
request = require 'request'
module.exports = class App
constructor: ->
@api = process.env.BLOCKSPRING_API
@gsheet_items_url = process.env.G_SHEET_ITEMS_URL
@gsheet_persons_url = process.env.... | true | require('dotenv').load()
util = require 'util'
blockspring = require 'blockspring'
escape = require 'escape-html'
request = require 'request'
module.exports = class App
constructor: ->
@api = process.env.BLOCKSPRING_API
@gsheet_items_url = process.env.G_SHEET_ITEMS_URL
@gsheet_persons_url = process.env.... |
[
{
"context": " 7)\n\t\t\t\t}\n\t\t\t\tSubscription.create {\n\t\t\t\t\tadmin_id: @user._id,\n\t\t\t\t\tmanager_ids: [@user._id],\n\t\t\t\t\trecurlyS",
"end": 1575,
"score": 0.9941794872283936,
"start": 1570,
"tag": "USERNAME",
"value": "@user"
},
{
"context": "eate {\n\t\t\t\t\tadmin... | test/acceptance/coffee/SubscriptionTests.coffee | shyoshyo/web-sharelatex | 1 | expect = require('chai').expect
async = require("async")
User = require "./helpers/User"
{Subscription} = require "../../../app/js/models/Subscription"
{Institution} = require "../../../app/js/models/Institution"
SubscriptionViewModelBuilder = require "../../../app/js/Features/Subscription/SubscriptionViewModelBuilder"... | 220789 | expect = require('chai').expect
async = require("async")
User = require "./helpers/User"
{Subscription} = require "../../../app/js/models/Subscription"
{Institution} = require "../../../app/js/models/Institution"
SubscriptionViewModelBuilder = require "../../../app/js/Features/Subscription/SubscriptionViewModelBuilder"... | true | expect = require('chai').expect
async = require("async")
User = require "./helpers/User"
{Subscription} = require "../../../app/js/models/Subscription"
{Institution} = require "../../../app/js/models/Institution"
SubscriptionViewModelBuilder = require "../../../app/js/Features/Subscription/SubscriptionViewModelBuilder"... |
[
{
"context": "it \"populates the email field\", ->\n email = 'user@example.com'\n template = render('forgot')(\n email",
"end": 732,
"score": 0.9999027252197266,
"start": 716,
"tag": "EMAIL",
"value": "user@example.com"
}
] | src/desktop/components/auth_modal/test/templates.coffee | kanaabe/force | 1 | jade = require 'jade'
path = require 'path'
fs = require 'fs'
cheerio = require 'cheerio'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
fs.readFileSync(filename),
{ filename: filename }
)
describe "Auth Templates", ->
describe "forgot",... | 26764 | jade = require 'jade'
path = require 'path'
fs = require 'fs'
cheerio = require 'cheerio'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
fs.readFileSync(filename),
{ filename: filename }
)
describe "Auth Templates", ->
describe "forgot",... | true | jade = require 'jade'
path = require 'path'
fs = require 'fs'
cheerio = require 'cheerio'
render = (templateName) ->
filename = path.resolve __dirname, "../templates/#{templateName}.jade"
jade.compile(
fs.readFileSync(filename),
{ filename: filename }
)
describe "Auth Templates", ->
describe "forgot",... |
[
{
"context": "###\n\nConcatenating Json Objects\n\nAuthor: @mugo_gocho <mugo@forfuture.co.ke>\nLicense: MIT\n\n###\n\n\n###\n\nN",
"end": 52,
"score": 0.9997353553771973,
"start": 41,
"tag": "USERNAME",
"value": "@mugo_gocho"
},
{
"context": "\nConcatenating Json Objects\n\nAuthor: @... | src/json-concat.coffee | guyaumetremblay/json-concat | 5 | ###
Concatenating Json Objects
Author: @mugo_gocho <mugo@forfuture.co.ke>
License: MIT
###
###
Notes:
1. A result object is reused in order to avoid creating many arrays
then have to join them together. This makes it faster.
2. Two alternative algorithms can be used to concatenate stringified
JSON object... | 204858 | ###
Concatenating Json Objects
Author: @mugo_gocho <<EMAIL>>
License: MIT
###
###
Notes:
1. A result object is reused in order to avoid creating many arrays
then have to join them together. This makes it faster.
2. Two alternative algorithms can be used to concatenate stringified
JSON objects:
i) Con... | true | ###
Concatenating Json Objects
Author: @mugo_gocho <PI:EMAIL:<EMAIL>END_PI>
License: MIT
###
###
Notes:
1. A result object is reused in order to avoid creating many arrays
then have to join them together. This makes it faster.
2. Two alternative algorithms can be used to concatenate stringified
JSON obje... |
[
{
"context": "ich is either a test case or a test\nsuite\n\n@author Roelof Roos (https://github.com/roelofr)\n###\n\nXmlElement = re",
"end": 117,
"score": 0.999896228313446,
"start": 106,
"tag": "NAME",
"value": "Roelof Roos"
},
{
"context": "st\nsuite\n\n@author Roelof Roos (https:... | lib/models/junit-node.coffee | roelofr/php-report | 0 | ###
JUnit node
Contains values of a JUnit test node, which is either a test case or a test
suite
@author Roelof Roos (https://github.com/roelofr)
###
XmlElement = require 'libxmljs/lib/element'
module.exports =
class JunitNode
node: null
name: null
file: null
time: null
count:
test: nu... | 33378 | ###
JUnit node
Contains values of a JUnit test node, which is either a test case or a test
suite
@author <NAME> (https://github.com/roelofr)
###
XmlElement = require 'libxmljs/lib/element'
module.exports =
class JunitNode
node: null
name: null
file: null
time: null
count:
test: null
... | true | ###
JUnit node
Contains values of a JUnit test node, which is either a test case or a test
suite
@author PI:NAME:<NAME>END_PI (https://github.com/roelofr)
###
XmlElement = require 'libxmljs/lib/element'
module.exports =
class JunitNode
node: null
name: null
file: null
time: null
count:
... |
[
{
"context": "ext: 'ohai4',\n replacementPrefix: 'ohai4'\n }]\n dispose: ->\n\n provider",
"end": 11350,
"score": 0.6030458807945251,
"start": 11349,
"tag": "KEY",
"value": "4"
}
] | spec/provider-manager-spec.coffee | Ceorl/autocomplete-plus-standalone | 1 | ProviderManager = require '../lib/provider-manager'
describe 'Provider Manager', ->
[providerManager, testProvider, registration] = []
beforeEach ->
atom.config.set('autocomplete-plus.enableBuiltinProvider', true)
providerManager = new ProviderManager()
testProvider =
getSuggestions: (options) -... | 149585 | ProviderManager = require '../lib/provider-manager'
describe 'Provider Manager', ->
[providerManager, testProvider, registration] = []
beforeEach ->
atom.config.set('autocomplete-plus.enableBuiltinProvider', true)
providerManager = new ProviderManager()
testProvider =
getSuggestions: (options) -... | true | ProviderManager = require '../lib/provider-manager'
describe 'Provider Manager', ->
[providerManager, testProvider, registration] = []
beforeEach ->
atom.config.set('autocomplete-plus.enableBuiltinProvider', true)
providerManager = new ProviderManager()
testProvider =
getSuggestions: (options) -... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999113082885742,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/lib/play-detail.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Mods } from 'mods'
import { PlayDetailMenu } from 'play-detail-menu'
import { createElement as el, PureComponent } from 'react'
import *... | 123289 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Mods } from 'mods'
import { PlayDetailMenu } from 'play-detail-menu'
import { createElement as el, PureComponent } from 'react'
import * as Rea... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Mods } from 'mods'
import { PlayDetailMenu } from 'play-detail-menu'
import { createElement as el, PureComponent } from 'react'
... |
[
{
"context": "\tappId: app.appId\n\t\t\t\tcommit: app.commit\n\t\t\t\tname: app.name\n\t\t\t\tsource: app.source\n\t\t\t\treleaseId: app.re",
"end": 25868,
"score": 0.794816792011261,
"start": 25865,
"tag": "NAME",
"value": "app"
},
{
"context": "ants.supervisorNetworkInterface)\n\t\... | src/application-manager.coffee | hippolyt/resin-supervisor | 0 | Promise = require 'bluebird'
_ = require 'lodash'
EventEmitter = require 'events'
express = require 'express'
bodyParser = require 'body-parser'
fs = Promise.promisifyAll(require('fs'))
path = require 'path'
constants = require './lib/constants'
Docker = require './lib/docker-utils'
updateLock = require './lib/update... | 73321 | Promise = require 'bluebird'
_ = require 'lodash'
EventEmitter = require 'events'
express = require 'express'
bodyParser = require 'body-parser'
fs = Promise.promisifyAll(require('fs'))
path = require 'path'
constants = require './lib/constants'
Docker = require './lib/docker-utils'
updateLock = require './lib/update... | true | Promise = require 'bluebird'
_ = require 'lodash'
EventEmitter = require 'events'
express = require 'express'
bodyParser = require 'body-parser'
fs = Promise.promisifyAll(require('fs'))
path = require 'path'
constants = require './lib/constants'
Docker = require './lib/docker-utils'
updateLock = require './lib/update... |
[
{
"context": "s part of jss-helpers\n# Copyright (C) 2017-present Dario Giovannetti <dev@dariogiovannetti.net>\n# Licensed under MIT\n#",
"end": 81,
"score": 0.9998612403869629,
"start": 64,
"tag": "NAME",
"value": "Dario Giovannetti"
},
{
"context": "s\n# Copyright (C) 2017-present ... | index.coffee | kynikos/lib.js.jss-helpers | 1 | # This file is part of jss-helpers
# Copyright (C) 2017-present Dario Giovannetti <dev@dariogiovannetti.net>
# Licensed under MIT
# https://github.com/kynikos/jss-helpers/blob/master/LICENSE
react_helpers = require('@kynikos/react-helpers')
styled_jss = require('styled-jss')
styled = styled_jss.default
createFactory... | 175695 | # This file is part of jss-helpers
# Copyright (C) 2017-present <NAME> <<EMAIL>>
# Licensed under MIT
# https://github.com/kynikos/jss-helpers/blob/master/LICENSE
react_helpers = require('@kynikos/react-helpers')
styled_jss = require('styled-jss')
styled = styled_jss.default
createFactory = (type) ->
(style) ->
... | true | # This file is part of jss-helpers
# Copyright (C) 2017-present PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Licensed under MIT
# https://github.com/kynikos/jss-helpers/blob/master/LICENSE
react_helpers = require('@kynikos/react-helpers')
styled_jss = require('styled-jss')
styled = styled_jss.default
createFactor... |
[
{
"context": " ()->\n username = document.getElementById 'username'\n password = document.getElementById 'pass",
"end": 341,
"score": 0.9987812638282776,
"start": 333,
"tag": "USERNAME",
"value": "username"
},
{
"context": "name'\n password = document.getElementB... | src/public/js/signup.coffee | breeswish/swall-server | 2 | sendComment = (postData)->
$.ajax
type: 'POST'
url: '/signup'
data: postData
timeout: 3000
success: test
test = (data)->
alert data
console.log data
$(() ->
$('form').submit ()->
return false
$('#signup').click ()->
username = document.get... | 222752 | sendComment = (postData)->
$.ajax
type: 'POST'
url: '/signup'
data: postData
timeout: 3000
success: test
test = (data)->
alert data
console.log data
$(() ->
$('form').submit ()->
return false
$('#signup').click ()->
username = document.get... | true | sendComment = (postData)->
$.ajax
type: 'POST'
url: '/signup'
data: postData
timeout: 3000
success: test
test = (data)->
alert data
console.log data
$(() ->
$('form').submit ()->
return false
$('#signup').click ()->
username = document.get... |
[
{
"context": "ndle_new_password_submit = ->\n password = $(\"#new-pass\").val();\n token = window.location.hash.slice(1);",
"end": 64,
"score": 0.732501208782196,
"start": 60,
"tag": "PASSWORD",
"value": "pass"
}
] | web/coffee/passreset.coffee | SabunMacTavish/CTF-Platform | 4 | window.handle_new_password_submit = ->
password = $("#new-pass").val();
token = window.location.hash.slice(1);
$.ajax(type: "POST", cache: false, url: "/api/resetpassword", dataType: "json", data: {token: token, newpw: password})
.done (data) ->
if data['status'] == 0 then alert_class = "alert-error" else i... | 179166 | window.handle_new_password_submit = ->
password = $("#new-<PASSWORD>").val();
token = window.location.hash.slice(1);
$.ajax(type: "POST", cache: false, url: "/api/resetpassword", dataType: "json", data: {token: token, newpw: password})
.done (data) ->
if data['status'] == 0 then alert_class = "alert-error" ... | true | window.handle_new_password_submit = ->
password = $("#new-PI:PASSWORD:<PASSWORD>END_PI").val();
token = window.location.hash.slice(1);
$.ajax(type: "POST", cache: false, url: "/api/resetpassword", dataType: "json", data: {token: token, newpw: password})
.done (data) ->
if data['status'] == 0 then alert_clas... |
[
{
"context": "params) ->\n expect(params.name).to.equal 'Shostakovich'\n done()\n\n PubSub.trigger 'event', {",
"end": 285,
"score": 0.9992344975471497,
"start": 273,
"tag": "NAME",
"value": "Shostakovich"
},
{
"context": "\n\n PubSub.trigger 'event', {\n ... | test/PubSub-spec.coffee | laget-se/simple-pubsub | 0 |
PubSub = require '../lib/simple-pubsub'
_ = require 'underscore'
chai = require 'chai'
expect = chai.expect
describe 'PubSub', ->
it 'Should register events for dispatch', (done) ->
PubSub.on 'event', (params) ->
expect(params.name).to.equal 'Shostakovich'
done()
PubSub.tri... | 173119 |
PubSub = require '../lib/simple-pubsub'
_ = require 'underscore'
chai = require 'chai'
expect = chai.expect
describe 'PubSub', ->
it 'Should register events for dispatch', (done) ->
PubSub.on 'event', (params) ->
expect(params.name).to.equal '<NAME>'
done()
PubSub.trigger '... | true |
PubSub = require '../lib/simple-pubsub'
_ = require 'underscore'
chai = require 'chai'
expect = chai.expect
describe 'PubSub', ->
it 'Should register events for dispatch', (done) ->
PubSub.on 'event', (params) ->
expect(params.name).to.equal 'PI:NAME:<NAME>END_PI'
done()
Pu... |
[
{
"context": " source2 =\n realname: ''\n password: '123'\n\n it 'should complain about the non-empty str",
"end": 2406,
"score": 0.9993751049041748,
"start": 2403,
"tag": "PASSWORD",
"value": "123"
}
] | test/pick-test.coffee | notatestuser/pedantic-pick | 0 | require 'coffee-script'
sinon = require 'sinon'
describe 'pick()', ->
pick = require '../pick.coffee'
{ValidationError} = pick
source =
roses: 'red',
violets: 'blue'
describe 'passing expressions that are not strings', ->
it 'should throw us an error upside our head', ->
fn = pick.bind... | 179865 | require 'coffee-script'
sinon = require 'sinon'
describe 'pick()', ->
pick = require '../pick.coffee'
{ValidationError} = pick
source =
roses: 'red',
violets: 'blue'
describe 'passing expressions that are not strings', ->
it 'should throw us an error upside our head', ->
fn = pick.bind... | true | require 'coffee-script'
sinon = require 'sinon'
describe 'pick()', ->
pick = require '../pick.coffee'
{ValidationError} = pick
source =
roses: 'red',
violets: 'blue'
describe 'passing expressions that are not strings', ->
it 'should throw us an error upside our head', ->
fn = pick.bind... |
[
{
"context": "'password'\n .set (password) ->\n @_password = password\n @salt = @makeSalt()\n @hashedPassword =",
"end": 467,
"score": 0.9564011693000793,
"start": 459,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " cannot be blank'\n\n# Username\nUserSchema... | app/models/user.coffee | zerodi/mean-CJS | 1 | ###
Module dependencies
###
mongoose = require 'mongoose'
Schema = mongoose.Schema
crypto = require 'crypto'
###
User Schema
###
UserSchema = new Schema(
name: String
email: String
username:
type: String
unique: true
hashedPassword: String
provide: String
salt: String
facebook: {}
twitter: ... | 71608 | ###
Module dependencies
###
mongoose = require 'mongoose'
Schema = mongoose.Schema
crypto = require 'crypto'
###
User Schema
###
UserSchema = new Schema(
name: String
email: String
username:
type: String
unique: true
hashedPassword: String
provide: String
salt: String
facebook: {}
twitter: ... | true | ###
Module dependencies
###
mongoose = require 'mongoose'
Schema = mongoose.Schema
crypto = require 'crypto'
###
User Schema
###
UserSchema = new Schema(
name: String
email: String
username:
type: String
unique: true
hashedPassword: String
provide: String
salt: String
facebook: {}
twitter: ... |
[
{
"context": "\n \"fold\"\n \"foldable\"\n ]\n author: \"Nicolas Pouillard\"\n license: \"BSD3\"\n bugs:\n url: \"https:",
"end": 600,
"score": 0.9998664855957031,
"start": 583,
"tag": "NAME",
"value": "Nicolas Pouillard"
}
] | package.coffee | crypto-agda/explore | 2 | fs = require 'fs'
find = require 'find'
find.file /^[^.].*\.agda$/, '.', (files) ->
fs.writeFile 'package.json', JSON.stringify
name: "agda-explore"
version: "0.0.1"
description: "Big operators as exploration functions in Agda"
main: "explore.agda"
scripts:
test: "echo \"Error: no test spe... | 184342 | fs = require 'fs'
find = require 'find'
find.file /^[^.].*\.agda$/, '.', (files) ->
fs.writeFile 'package.json', JSON.stringify
name: "agda-explore"
version: "0.0.1"
description: "Big operators as exploration functions in Agda"
main: "explore.agda"
scripts:
test: "echo \"Error: no test spe... | true | fs = require 'fs'
find = require 'find'
find.file /^[^.].*\.agda$/, '.', (files) ->
fs.writeFile 'package.json', JSON.stringify
name: "agda-explore"
version: "0.0.1"
description: "Big operators as exploration functions in Agda"
main: "explore.agda"
scripts:
test: "echo \"Error: no test spe... |
[
{
"context": " -> Object.prototype.toString.call(obj)\n\n\n# thanks john resig: http://ejohn.org/blog/objectgetprototypeof",
"end": 68,
"score": 0.64141845703125,
"start": 64,
"tag": "NAME",
"value": "john"
}
] | src/runtime/util.coffee | breakpad/vm.js | 79 | toStr = (obj) -> Object.prototype.toString.call(obj)
# thanks john resig: http://ejohn.org/blog/objectgetprototypeof/
if typeof Object.getPrototypeOf != 'function'
if typeof ''.__proto__ == 'object'
prototypeOf = (obj) -> obj.__proto__
else
prototypeOf = (obj) -> obj.constructor.prototype
else
prototype... | 55869 | toStr = (obj) -> Object.prototype.toString.call(obj)
# thanks <NAME> resig: http://ejohn.org/blog/objectgetprototypeof/
if typeof Object.getPrototypeOf != 'function'
if typeof ''.__proto__ == 'object'
prototypeOf = (obj) -> obj.__proto__
else
prototypeOf = (obj) -> obj.constructor.prototype
else
prototy... | true | toStr = (obj) -> Object.prototype.toString.call(obj)
# thanks PI:NAME:<NAME>END_PI resig: http://ejohn.org/blog/objectgetprototypeof/
if typeof Object.getPrototypeOf != 'function'
if typeof ''.__proto__ == 'object'
prototypeOf = (obj) -> obj.__proto__
else
prototypeOf = (obj) -> obj.constructor.prototype
... |
[
{
"context": "tring\n\texpect(isValid(UserType, {id: 1234, name: \"Smith\"})).toBe(true)\n\texpect(isValid(UserType, {id: 123",
"end": 1167,
"score": 0.9992313385009766,
"start": 1162,
"tag": "NAME",
"value": "Smith"
},
{
"context": "true)\n\texpect(isValid(UserType, {id: 1234, name:... | tests/isValid/object.coffee | laurentpayot/rflow | 19 | import {VALUES} from '../fixtures'
import {isValid} from '../../dist'
test "return true if both value and type are empty object.", ->
expect(isValid({}, {})).toBe(true)
test "return false if type is empty object but value unempty object.", ->
expect(isValid({}, {a: 1})).toBe(false)
test "return false if value is e... | 56995 | import {VALUES} from '../fixtures'
import {isValid} from '../../dist'
test "return true if both value and type are empty object.", ->
expect(isValid({}, {})).toBe(true)
test "return false if type is empty object but value unempty object.", ->
expect(isValid({}, {a: 1})).toBe(false)
test "return false if value is e... | true | import {VALUES} from '../fixtures'
import {isValid} from '../../dist'
test "return true if both value and type are empty object.", ->
expect(isValid({}, {})).toBe(true)
test "return false if type is empty object but value unempty object.", ->
expect(isValid({}, {a: 1})).toBe(false)
test "return false if value is e... |
[
{
"context": "ride()\n\n app.use express.cookieParser (secret = 'adf19dfe1a4bbdd949326870e3997d799b758b9b')\n app.use express.session secret:secret\n app.u",
"end": 561,
"score": 0.9987295866012573,
"start": 521,
"tag": "KEY",
"value": "adf19dfe1a4bbdd949326870e3997d799b758b9b"
}
] | app.coffee | diasbruno/jumly | 255 | #!/usr/bin/env coffee
express = require "express"
jade = require "jade"
stylus = require "stylus"
nib = require "nib"
fs = require "fs"
http = require 'http'
domain = require 'domain'
views_dir = "#{__dirname}/views"
static_dir = "#{views_dir}/static"
app = express()
app.configure ->
app.set 'port... | 142727 | #!/usr/bin/env coffee
express = require "express"
jade = require "jade"
stylus = require "stylus"
nib = require "nib"
fs = require "fs"
http = require 'http'
domain = require 'domain'
views_dir = "#{__dirname}/views"
static_dir = "#{views_dir}/static"
app = express()
app.configure ->
app.set 'port... | true | #!/usr/bin/env coffee
express = require "express"
jade = require "jade"
stylus = require "stylus"
nib = require "nib"
fs = require "fs"
http = require 'http'
domain = require 'domain'
views_dir = "#{__dirname}/views"
static_dir = "#{views_dir}/static"
app = express()
app.configure ->
app.set 'port... |
[
{
"context": "#######\n###\n matchName Checker\n (C) 2013-2015 あかつきみさき(みくちぃP)\n\n このスクリプトについて\n 選択した一つ目のプロパティか選択した一つ目のレ",
"end": 68,
"score": 0.9996500611305237,
"start": 61,
"tag": "NAME",
"value": "あかつきみさき"
}
] | matchName Checker.coffee | MisakiAkatsuki/matchName-Checker | 2 | ##########
#######
###
matchName Checker
(C) 2013-2015 あかつきみさき(みくちぃP)
このスクリプトについて
選択した一つ目のプロパティか選択した一つ目のレイヤーのmatchNameをプロンプトですぐにコピーできるようにして表示します.
プロパティが選択されていない場合はレイヤーのmatchNameを,プロパティが選択されている場合はプロパティのmatchNameが入力されます.
動作環境
Adobe After Effects CS5.5以上
使用方法
matchNameを取得したいレイヤーかプロパティを選択して実行... | 62763 | ##########
#######
###
matchName Checker
(C) 2013-2015 <NAME>(みくちぃP)
このスクリプトについて
選択した一つ目のプロパティか選択した一つ目のレイヤーのmatchNameをプロンプトですぐにコピーできるようにして表示します.
プロパティが選択されていない場合はレイヤーのmatchNameを,プロパティが選択されている場合はプロパティのmatchNameが入力されます.
動作環境
Adobe After Effects CS5.5以上
使用方法
matchNameを取得したいレイヤーかプロパティを選択して実行し... | true | ##########
#######
###
matchName Checker
(C) 2013-2015 PI:NAME:<NAME>END_PI(みくちぃP)
このスクリプトについて
選択した一つ目のプロパティか選択した一つ目のレイヤーのmatchNameをプロンプトですぐにコピーできるようにして表示します.
プロパティが選択されていない場合はレイヤーのmatchNameを,プロパティが選択されている場合はプロパティのmatchNameが入力されます.
動作環境
Adobe After Effects CS5.5以上
使用方法
matchNameを取得したいレイヤー... |
[
{
"context": " = null\n\n before (done) ->\n authorization = [\"-----BEGIN CERTIFICATE-----\\r\\nMIIDXTCCAkWgAwIBAgIJAJC1HiIAZAiIMA0GCSqGSIb3DfBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVxaWRnaXRzIFB0eSBMdGQwHhcNMTExMjMxMDg1OTQ0WhcNMTAJjyzfN746vaInA1KxYEeI1Rx5KXY8zIdj6a7hhphpj2E04C3Fayua4DRHyZOLmlvQ6tIChY0... | test/models/apns/apns-sender-test.coffee | tq1/push-sender | 0 | require('rootpath')()
assert = require('chai').assert
sinon = require 'sinon'
async = require 'async'
apns = require 'test/stubs/apns/apn-stub'
PushResponse = require('src/models/response')()
ApnsSender = require('src/models/apns/apns-sender') apns, PushResponse, async
describe 'ApnsSender', ->
apnsSender = null
... | 177493 | require('rootpath')()
assert = require('chai').assert
sinon = require 'sinon'
async = require 'async'
apns = require 'test/stubs/apns/apn-stub'
PushResponse = require('src/models/response')()
ApnsSender = require('src/models/apns/apns-sender') apns, PushResponse, async
describe 'ApnsSender', ->
apnsSender = null
... | true | require('rootpath')()
assert = require('chai').assert
sinon = require 'sinon'
async = require 'async'
apns = require 'test/stubs/apns/apn-stub'
PushResponse = require('src/models/response')()
ApnsSender = require('src/models/apns/apns-sender') apns, PushResponse, async
describe 'ApnsSender', ->
apnsSender = null
... |
[
{
"context": "nse: BSD 2-clause License (From http://github.com/dorey/xlform-builder/LICENSE.md)\n\nCopyright (c) 2013, A",
"end": 63,
"score": 0.9313716888427734,
"start": 58,
"tag": "USERNAME",
"value": "dorey"
},
{
"context": "ey/xlform-builder/LICENSE.md)\n\nCopyright (c) 2013, A... | kobo-docker/.vols/static/kpi/xlform/src/_xlform.init.coffee | OpenOPx/kobotoolbox | 0 | ###
License: BSD 2-clause License (From http://github.com/dorey/xlform-builder/LICENSE.md)
Copyright (c) 2013, Alex Dorey
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
* Redistributions of source c... | 146794 | ###
License: BSD 2-clause License (From http://github.com/dorey/xlform-builder/LICENSE.md)
Copyright (c) 2013, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
* Redistributions of source code ... | true | ###
License: BSD 2-clause License (From http://github.com/dorey/xlform-builder/LICENSE.md)
Copyright (c) 2013, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are
permitted provided that the following conditions are met:
* Redistributions o... |
[
{
"context": ".2,130.02,100.0,150.5,246.2,492,176.3'\n text: 'Calul Nazdravan Brrrr'\n strokeStyle: 'black'\n letterPadding: 7\n ",
"end": 346,
"score": 0.9640982151031494,
"start": 325,
"tag": "NAME",
"value": "Calul Nazdravan Brrrr"
}
] | tools/bezier-helper/controller.coffee | mess110/coffee-engine | 1 | app.controller 'BezierController', ($scope) ->
$scope.ui.project.name = 'Bezier Helper'
$scope.setScene(bezierScene)
updateEntries = ->
$scope.entries = $scope.json.curve.split(',')
$scope.wireframe = false
$scope.json =
type: 'bezier'
curve: '20,157.2,130.02,100.0,150.5,246.2,492,176.3'
te... | 153437 | app.controller 'BezierController', ($scope) ->
$scope.ui.project.name = 'Bezier Helper'
$scope.setScene(bezierScene)
updateEntries = ->
$scope.entries = $scope.json.curve.split(',')
$scope.wireframe = false
$scope.json =
type: 'bezier'
curve: '20,157.2,130.02,100.0,150.5,246.2,492,176.3'
te... | true | app.controller 'BezierController', ($scope) ->
$scope.ui.project.name = 'Bezier Helper'
$scope.setScene(bezierScene)
updateEntries = ->
$scope.entries = $scope.json.curve.split(',')
$scope.wireframe = false
$scope.json =
type: 'bezier'
curve: '20,157.2,130.02,100.0,150.5,246.2,492,176.3'
te... |
[
{
"context": "rd) ->\n\t\tinstance = @\n\n\t\tdata = { currentPassword: currentPassword }\n\n\t\tif _.trim $('#password').val()\n\t\t\tdata.newPa",
"end": 1356,
"score": 0.9983607530593872,
"start": 1341,
"tag": "PASSWORD",
"value": "currentPassword"
}
] | packages/rocketchat-ui-account/account/accountProfile.coffee | chatterteeth/rocketchat | 0 | Template.accountProfile.helpers
allowDeleteOwnAccount: ->
return RocketChat.settings.get('Accounts_AllowDeleteOwnAccount')
realname: ->
return Meteor.user().name
username: ->
return Meteor.user().username
email: ->
return Meteor.user().emails?[0]?.address
emailVerified: ->
return Meteor.user().email... | 209291 | Template.accountProfile.helpers
allowDeleteOwnAccount: ->
return RocketChat.settings.get('Accounts_AllowDeleteOwnAccount')
realname: ->
return Meteor.user().name
username: ->
return Meteor.user().username
email: ->
return Meteor.user().emails?[0]?.address
emailVerified: ->
return Meteor.user().email... | true | Template.accountProfile.helpers
allowDeleteOwnAccount: ->
return RocketChat.settings.get('Accounts_AllowDeleteOwnAccount')
realname: ->
return Meteor.user().name
username: ->
return Meteor.user().username
email: ->
return Meteor.user().emails?[0]?.address
emailVerified: ->
return Meteor.user().email... |
[
{
"context": "kdevices.json').devices\n\nconfig = \n hostname: '192.168.105.221',\n port: 5222,\n# config2 =\n# hostname: '19",
"end": 399,
"score": 0.9996994733810425,
"start": 384,
"tag": "IP_ADDRESS",
"value": "192.168.105.221"
},
{
"context": "21',\n port: 5222,\n# c... | command-xmpp-receivers.coffee | ducxop/meshblu-benchmark | 0 | myMesh = require "./src/MyMeshblu.js"
Meshblu = require 'meshblu-xmpp'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
async = require 'async'
_ = require 'lodash'
commander = require 'commander'
now = require 'performance-now'
devices = ... | 140828 | myMesh = require "./src/MyMeshblu.js"
Meshblu = require 'meshblu-xmpp'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
async = require 'async'
_ = require 'lodash'
commander = require 'commander'
now = require 'performance-now'
devices = ... | true | myMesh = require "./src/MyMeshblu.js"
Meshblu = require 'meshblu-xmpp'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
async = require 'async'
_ = require 'lodash'
commander = require 'commander'
now = require 'performance-now'
devices = ... |
[
{
"context": "#\n# Copyright 2014 Carsten Klein\n#\n# Licensed under the Apache License, Version 2.",
"end": 32,
"score": 0.9998628497123718,
"start": 19,
"tag": "NAME",
"value": "Carsten Klein"
}
] | test/sublassof-test.coffee | vibejs/vibejs-subclassof | 0 | #
# Copyright 2014 Carsten Klein
#
# 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 writ... | 225090 | #
# Copyright 2014 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | true | #
# Copyright 2014 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to ... |
[
{
"context": "cribe 'Wongo Embedded', ->\n \n doc = \n name: 'KingMeow'\n child: \n name: 'KitMeow'\n child: \n",
"end": 345,
"score": 0.9775699973106384,
"start": 337,
"tag": "NAME",
"value": "KingMeow"
},
{
"context": " = \n name: 'KingMeow'\n child: \n ... | test/embed.test.coffee | wookets/wongo | 0 | assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockEmbed',
fields:
name: String
child: # object
name: String
child:
name: String
children: [ # array
name: String
children: [
name: String
]
]
describe 'Wongo Embedded', ->
d... | 147091 | assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockEmbed',
fields:
name: String
child: # object
name: String
child:
name: String
children: [ # array
name: String
children: [
name: String
]
]
describe 'Wongo Embedded', ->
d... | true | assert = require 'assert'
wongo = require '../lib/wongo'
wongo.schema 'MockEmbed',
fields:
name: String
child: # object
name: String
child:
name: String
children: [ # array
name: String
children: [
name: String
]
]
describe 'Wongo Embedded', ->
d... |
[
{
"context": "# Storage.coffee\n# Tomasz (Tomek) Zemla\n# tomek@datacratic.com\n\n# Class that ",
"end": 25,
"score": 0.9966333508491516,
"start": 19,
"tag": "NAME",
"value": "Tomasz"
},
{
"context": "# Storage.coffee\n# Tomasz (Tomek) Zemla\n# tomek@datacratic.com\n\n# Class that pr... | src/Storage.coffee | SachithDassanayaka/sachithdassanayaka.github.io | 0 | # Storage.coffee
# Tomasz (Tomek) Zemla
# tomek@datacratic.com
# Class that provides access to application storage. Technically this is server
# based storage accessed asynchronously, but with custom Node based server this
# can be run in the context of the single machine with local storage.
# Storage provides servic... | 16032 | # Storage.coffee
# <NAME> (<NAME>
# <EMAIL>
# Class that provides access to application storage. Technically this is server
# based storage accessed asynchronously, but with custom Node based server this
# can be run in the context of the single machine with local storage.
# Storage provides services to retrieve the ... | true | # Storage.coffee
# PI:NAME:<NAME>END_PI (PI:NAME:<NAME>END_PI
# PI:EMAIL:<EMAIL>END_PI
# Class that provides access to application storage. Technically this is server
# based storage accessed asynchronously, but with custom Node based server this
# can be run in the context of the single machine with local storage.
#... |
[
{
"context": "Id\n\t\tUSER_CONTEXT.user = {\n\t\t\t_id: userId\n\t\t\tname: su.name,\n\t\t\tmobile: su.mobile,\n\t\t\tposition: su.position,\n",
"end": 2210,
"score": 0.9897472262382507,
"start": 2203,
"tag": "NAME",
"value": "su.name"
}
] | packages/steedos-creator/core.coffee | zonglu233/fuel-car | 0 | Creator.Apps = {}
Creator.Reports = {}
Creator.subs = {}
Meteor.startup ->
SimpleSchema.extendOptions({filtersFunction: Match.Optional(Match.OneOf(Function, String))})
SimpleSchema.extendOptions({optionsFunction: Match.Optional(Match.OneOf(Function, String))})
SimpleSchema.extendOptions({createFunction: Match.Opt... | 86847 | Creator.Apps = {}
Creator.Reports = {}
Creator.subs = {}
Meteor.startup ->
SimpleSchema.extendOptions({filtersFunction: Match.Optional(Match.OneOf(Function, String))})
SimpleSchema.extendOptions({optionsFunction: Match.Optional(Match.OneOf(Function, String))})
SimpleSchema.extendOptions({createFunction: Match.Opt... | true | Creator.Apps = {}
Creator.Reports = {}
Creator.subs = {}
Meteor.startup ->
SimpleSchema.extendOptions({filtersFunction: Match.Optional(Match.OneOf(Function, String))})
SimpleSchema.extendOptions({optionsFunction: Match.Optional(Match.OneOf(Function, String))})
SimpleSchema.extendOptions({createFunction: Match.Opt... |
[
{
"context": "te slot\n common.setPilot('#rebel-builder', 1, 'Luke Skywalker')\n common.assertNoUpgradeInSlot(test, '#rebel-",
"end": 1687,
"score": 0.9996417760848999,
"start": 1673,
"tag": "NAME",
"value": "Luke Skywalker"
},
{
"context": "-Wing')\n common.setPilot('#rebel... | tests/test_ship_selector.coffee | CrazyVulcan/xwing | 100 | common = require './common'
common.setup()
casper.test.begin "New ship row created only when all ship rows are assigned", (test) ->
common.waitForStartup('#rebel-builder')
.then ->
test.assertExists("#rebel-builder #{common.selectorForShipIndex(1)}")
test.assertDoesntExist("#rebel-builder #{... | 130157 | common = require './common'
common.setup()
casper.test.begin "New ship row created only when all ship rows are assigned", (test) ->
common.waitForStartup('#rebel-builder')
.then ->
test.assertExists("#rebel-builder #{common.selectorForShipIndex(1)}")
test.assertDoesntExist("#rebel-builder #{... | true | common = require './common'
common.setup()
casper.test.begin "New ship row created only when all ship rows are assigned", (test) ->
common.waitForStartup('#rebel-builder')
.then ->
test.assertExists("#rebel-builder #{common.selectorForShipIndex(1)}")
test.assertDoesntExist("#rebel-builder #{... |
[
{
"context": " mangrove:\n color: '#008b00'\n name: 'Mangrove'\n seagrass:\n color: '#f35f8d'\n name:",
"end": 94,
"score": 0.843570351600647,
"start": 86,
"tag": "NAME",
"value": "Mangrove"
},
{
"context": " saltmarsh:\n color: '#007dff'\n name:... | app/assets/javascripts/modules/map.js.coffee | unepwcmc/BlueForest | 2 | window.Map = class Map
HABITATS =
mangrove:
color: '#008b00'
name: 'Mangrove'
seagrass:
color: '#f35f8d'
name: 'Seagrass'
saltmarsh:
color: '#007dff'
name: 'Saltmarsh'
algal_mat:
color: '#ffe048'
name: 'Algal Mat'
# other:
# color: '#1dcbea'
... | 81857 | window.Map = class Map
HABITATS =
mangrove:
color: '#008b00'
name: '<NAME>'
seagrass:
color: '#f35f8d'
name: 'Seagrass'
saltmarsh:
color: '#007dff'
name: '<NAME>'
algal_mat:
color: '#ffe048'
name: '<NAME>'
# other:
# color: '#1dcbea'
# na... | true | window.Map = class Map
HABITATS =
mangrove:
color: '#008b00'
name: 'PI:NAME:<NAME>END_PI'
seagrass:
color: '#f35f8d'
name: 'Seagrass'
saltmarsh:
color: '#007dff'
name: 'PI:NAME:<NAME>END_PI'
algal_mat:
color: '#ffe048'
name: 'PI:NAME:<NAME>END_PI'
# ... |
[
{
"context": "# -*- coding: utf-8 -*-\n#\n# Copyright 2015 Roy Liu\n#\n# Licensed under the Apache License, Version 2.",
"end": 50,
"score": 0.999635636806488,
"start": 43,
"tag": "NAME",
"value": "Roy Liu"
}
] | app/assets/javascripts/routes/all.coffee | carsomyr/nurf-stats | 0 | # -*- coding: utf-8 -*-
#
# Copyright 2015 Roy Liu
#
# 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 ... | 167698 | # -*- coding: utf-8 -*-
#
# Copyright 2015 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # -*- coding: utf-8 -*-
#
# Copyright 2015 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": "ss exports.Sky extends Entity\n\n\tentity :\n\t\tname: \"Sky\"\n\t\ttype: \"a-sky\"\n\n\tconstructor: (options)->\n\t\tsup",
"end": 104,
"score": 0.6713739633560181,
"start": 101,
"tag": "NAME",
"value": "Sky"
}
] | src/Sky.coffee | etiennepinchon/hologram | 89 | {entityAttribute, Entity} = require "./Entity"
class exports.Sky extends Entity
entity :
name: "Sky"
type: "a-sky"
constructor: (options)->
super
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 5000)
@defi... | 169106 | {entityAttribute, Entity} = require "./Entity"
class exports.Sky extends Entity
entity :
name: "<NAME>"
type: "a-sky"
constructor: (options)->
super
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radius", 5000)
@d... | true | {entityAttribute, Entity} = require "./Entity"
class exports.Sky extends Entity
entity :
name: "PI:NAME:<NAME>END_PI"
type: "a-sky"
constructor: (options)->
super
# ----------------------------------------------------------------------------
# PROPERTIES
@define "radius", entityAttribute("radius", "radi... |
[
{
"context": "9'\n startLabel: 'Start'\n endLabel: 'Ceremony'\n dateFormat: '%A %d/%m'\n shortDate",
"end": 1450,
"score": 0.9920072555541992,
"start": 1442,
"tag": "NAME",
"value": "Ceremony"
}
] | client/src/sprint/directives/burndown/directive.coffee | MollardMichael/scrumble | 27 | angular.module 'Scrumble.sprint'
.directive 'burndown', ->
restrict: 'AE'
scope:
data: '='
templateUrl: 'sprint/directives/burndown/view.html'
controller: ($scope, $timeout, $mdMedia) ->
whRatio = 0.54
computeDimensions = ->
chart = document.getElementsByClassName('chart')?[0]
chart?.pa... | 64130 | angular.module 'Scrumble.sprint'
.directive 'burndown', ->
restrict: 'AE'
scope:
data: '='
templateUrl: 'sprint/directives/burndown/view.html'
controller: ($scope, $timeout, $mdMedia) ->
whRatio = 0.54
computeDimensions = ->
chart = document.getElementsByClassName('chart')?[0]
chart?.pa... | true | angular.module 'Scrumble.sprint'
.directive 'burndown', ->
restrict: 'AE'
scope:
data: '='
templateUrl: 'sprint/directives/burndown/view.html'
controller: ($scope, $timeout, $mdMedia) ->
whRatio = 0.54
computeDimensions = ->
chart = document.getElementsByClassName('chart')?[0]
chart?.pa... |
[
{
"context": "vidual bird (whooping crane).\n\nhttps://github.com/NicMcPhee/whooping-crane-model\n\nCopyright (c) 2015 Nic McPh",
"end": 86,
"score": 0.9991959929466248,
"start": 77,
"tag": "USERNAME",
"value": "NicMcPhee"
},
{
"context": "NicMcPhee/whooping-crane-model\n\nCopyright ... | src/lib/bird.coffee | NicMcPhee/whooping-crane-model | 0 | ###
Basic model of an individual bird (whooping crane).
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 Nic McPhee
Licensed under the MIT license.
###
'use strict'
ModelParameters = require './model_parameters'
Clock = require './clock'
class Bird
@uuidFactory: require('uuid')
@EARLY = ... | 92356 | ###
Basic model of an individual bird (whooping crane).
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 <NAME>
Licensed under the MIT license.
###
'use strict'
ModelParameters = require './model_parameters'
Clock = require './clock'
class Bird
@uuidFactory: require('uuid')
@EARLY = 0
... | true | ###
Basic model of an individual bird (whooping crane).
https://github.com/NicMcPhee/whooping-crane-model
Copyright (c) 2015 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
'use strict'
ModelParameters = require './model_parameters'
Clock = require './clock'
class Bird
@uuidFactory: require('uuid')
... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998916983604431,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/routes/publicRouter.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
{ Router } = require 'express'
router = do Router
authController = require '../app/controllers/authController'
pharmacyController = require '../app/controller... | 95594 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
{ Router } = require 'express'
router = do Router
authController = require '../app/controllers/authController'
pharmacyController = require '../app/controllers/pharmacyController... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
{ Router } = require 'express'
router = do Router
authController = require '../app/controllers/authController'
pharmacyController = require '../app/co... |
[
{
"context": "eanu-shirt' + (randomToken 2)\n name: 'Sad Keanu T-shirt'\n price: 2500\n currency: 'US",
"end": 163,
"score": 0.9915421605110168,
"start": 146,
"tag": "NAME",
"value": "Sad Keanu T-shirt"
}
] | test/server/product.coffee | hanzo-io/hanzo.js | 147 | describe 'Api.product', ->
product = null
before ->
product =
slug: 'sad-keanu-shirt' + (randomToken 2)
name: 'Sad Keanu T-shirt'
price: 2500
currency: 'USD'
headline: 'Oh Keanu'
description: 'Sad Keanu is sad.'
options: [
name: 's... | 215289 | describe 'Api.product', ->
product = null
before ->
product =
slug: 'sad-keanu-shirt' + (randomToken 2)
name: '<NAME>'
price: 2500
currency: 'USD'
headline: 'Oh Keanu'
description: 'Sad Keanu is sad.'
options: [
name: 'size'
... | true | describe 'Api.product', ->
product = null
before ->
product =
slug: 'sad-keanu-shirt' + (randomToken 2)
name: 'PI:NAME:<NAME>END_PI'
price: 2500
currency: 'USD'
headline: 'Oh Keanu'
description: 'Sad Keanu is sad.'
options: [
name: ... |
[
{
"context": "'name': 'test'\n'scopeName': 'source.test'\n'injectionSelector': ",
"end": 13,
"score": 0.7991854548454285,
"start": 9,
"tag": "NAME",
"value": "test"
}
] | spec/fixtures/packages/package-with-injection-selector/grammars/grammar.cson | pyrolabs/atom | 62,188 | 'name': 'test'
'scopeName': 'source.test'
'injectionSelector': 'comment'
'patterns': [{'include': 'source.sql'}]
| 25570 | 'name': '<NAME>'
'scopeName': 'source.test'
'injectionSelector': 'comment'
'patterns': [{'include': 'source.sql'}]
| true | 'name': 'PI:NAME:<NAME>END_PI'
'scopeName': 'source.test'
'injectionSelector': 'comment'
'patterns': [{'include': 'source.sql'}]
|
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affe",
"end": 23,
"score": 0.5424295663833618,
"start": 21,
"tag": "NAME",
"value": "ty"
},
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",... | resources/assets/coffee/react/beatmapset-page.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Main } from './beatmapset-page/main'
reactTurbolinks.registerPersistent 'beatmapset-page', Main, true, (target) ->
beatmapset: osu.pa... | 191757 | # Copyright (c) ppy P<NAME> Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Main } from './beatmapset-page/main'
reactTurbolinks.registerPersistent 'beatmapset-page', Main, true, (target) ->
beatmapset: osu.parse... | true | # Copyright (c) ppy PPI:NAME:<NAME>END_PI Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import { Main } from './beatmapset-page/main'
reactTurbolinks.registerPersistent 'beatmapset-page', Main, true, (targe... |
[
{
"context": " type: ['string', 'array']\n data = name: 'Thor', info: {numbers: ['401-401-1337', ['123-456-7890",
"end": 447,
"score": 0.9993302226066589,
"start": 443,
"tag": "NAME",
"value": "Thor"
}
] | test/scripting.coffee | lgr7/codecombattreema | 66 | do ->
expectOpen = (t) ->
expect(t).toBeDefined()
expect(t.isClosed()).toBeFalsy()
expectClosed = (t) ->
expect(t).toBeDefined()
expect(t.isClosed()).toBeTruthy()
schema =
type: 'object',
properties:
name:
type: 'string'
info:
type: 'object'
properties... | 193880 | do ->
expectOpen = (t) ->
expect(t).toBeDefined()
expect(t.isClosed()).toBeFalsy()
expectClosed = (t) ->
expect(t).toBeDefined()
expect(t.isClosed()).toBeTruthy()
schema =
type: 'object',
properties:
name:
type: 'string'
info:
type: 'object'
properties... | true | do ->
expectOpen = (t) ->
expect(t).toBeDefined()
expect(t.isClosed()).toBeFalsy()
expectClosed = (t) ->
expect(t).toBeDefined()
expect(t.isClosed()).toBeTruthy()
schema =
type: 'object',
properties:
name:
type: 'string'
info:
type: 'object'
properties... |
[
{
"context": "nt\n\n api\n) ->\n\n ###*\n # @author David Bouman\n # @module App\n # @submodule ",
"end": 564,
"score": 0.9998443722724915,
"start": 552,
"tag": "NAME",
"value": "David Bouman"
},
{
"context": " parse: ( data ) ->\n\n ... | generators/app/templates/src/models/build-brief.coffee | marviq/generator-bat | 3 | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
require( 'bluebird' )
require( 'moment' )
require( './../apis/env.coffee' )
)
else if typeof define is 'function' and define.amd
d... | 10652 | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
require( 'bluebird' )
require( 'moment' )
require( './../apis/env.coffee' )
)
else if typeof define is 'function' and define.amd
d... | true | 'use strict'
( ( factory ) ->
if typeof exports is 'object'
module.exports = factory(
require( 'backbone' )
require( 'bluebird' )
require( 'moment' )
require( './../apis/env.coffee' )
)
else if typeof define is 'function' and define.amd
d... |
[
{
"context": "\n type_str = 'boolean'\n name_str = 'michale'\n\n describe 'Boolean', ->\n\n it 's",
"end": 5992,
"score": 0.6691257357597351,
"start": 5985,
"tag": "NAME",
"value": "michale"
},
{
"context": "describe 'alphaNumeric', ->\n\n name_str ... | test/unit_validate_spec.coffee | deployable/deployable-validate | 0 | Validate = require '../lib/validate'
ValidationError = Validate.ValidationError
describe 'Unit::Validate', ->
describe 'Class', ->
describe 'Manage Tests', ->
it 'should get a test', ->
expect( Validate.getTest('testing') ).to.be.ok
it 'should throw on a missing test', ->
f... | 169510 | Validate = require '../lib/validate'
ValidationError = Validate.ValidationError
describe 'Unit::Validate', ->
describe 'Class', ->
describe 'Manage Tests', ->
it 'should get a test', ->
expect( Validate.getTest('testing') ).to.be.ok
it 'should throw on a missing test', ->
f... | true | Validate = require '../lib/validate'
ValidationError = Validate.ValidationError
describe 'Unit::Validate', ->
describe 'Class', ->
describe 'Manage Tests', ->
it 'should get a test', ->
expect( Validate.getTest('testing') ).to.be.ok
it 'should throw on a missing test', ->
f... |
[
{
"context": "rred = Q.defer()\n\n email =\n to: to\n from: 'noreply@carrallychargecoupon.com'\n subject: 'Want a Free Car Charge?'\n text:",
"end": 1063,
"score": 0.9999191164970398,
"start": 1031,
"tag": "EMAIL",
"value": "noreply@carrallychargecoupon.com"
}
] | lib-src/sendgrid-email.coffee | IBM-Cloud/bluemix-car-rally-charge-coupon | 0 | # Licensed under the Apache License. See footer for details.
http = require "http"
Q = require "q"
cfEnv = require "cf-env"
utils = require "./utils"
# optionally override the user defined service name for sendgrid with a user defined env variable
if process.env.SENDGRID_SERVICE_NAME != undefined and process... | 197411 | # Licensed under the Apache License. See footer for details.
http = require "http"
Q = require "q"
cfEnv = require "cf-env"
utils = require "./utils"
# optionally override the user defined service name for sendgrid with a user defined env variable
if process.env.SENDGRID_SERVICE_NAME != undefined and process... | true | # Licensed under the Apache License. See footer for details.
http = require "http"
Q = require "q"
cfEnv = require "cf-env"
utils = require "./utils"
# optionally override the user defined service name for sendgrid with a user defined env variable
if process.env.SENDGRID_SERVICE_NAME != undefined and process... |
[
{
"context": "client', utils.wrap (done) ->\n json = { name: 'name', email: 'e@mail.com' }\n [res, body] = yield r",
"end": 776,
"score": 0.95856112241745,
"start": 772,
"tag": "NAME",
"value": "name"
},
{
"context": "wrap (done) ->\n json = { name: 'name', email: 'e@mail.co... | spec/server/functional/api.spec.coffee | kbespalyi/codecombat | 0 | User = require '../../../server/models/User'
APIClient = require '../../../server/models/APIClient'
OAuthProvider = require '../../../server/models/OAuthProvider'
utils = require '../utils'
nock = require 'nock'
request = require '../request'
mongoose = require 'mongoose'
moment = require 'moment'
Prepaid = require '..... | 51472 | User = require '../../../server/models/User'
APIClient = require '../../../server/models/APIClient'
OAuthProvider = require '../../../server/models/OAuthProvider'
utils = require '../utils'
nock = require 'nock'
request = require '../request'
mongoose = require 'mongoose'
moment = require 'moment'
Prepaid = require '..... | true | User = require '../../../server/models/User'
APIClient = require '../../../server/models/APIClient'
OAuthProvider = require '../../../server/models/OAuthProvider'
utils = require '../utils'
nock = require 'nock'
request = require '../request'
mongoose = require 'mongoose'
moment = require 'moment'
Prepaid = require '..... |
[
{
"context": "# Copyright 2012 Joshua Carver \n# \n# Licensed under the Apache License, Versio",
"end": 30,
"score": 0.9998706579208374,
"start": 17,
"tag": "NAME",
"value": "Joshua Carver"
}
] | src/coffeescript/charts/base_chart.coffee | jcarver989/raphy-charts | 5 | # Copyright 2012 Joshua Carver
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 18838 | # Copyright 2012 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | true | # Copyright 2012 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... |
[
{
"context": "### \n\tPantaRhei.js v 0.2.1\n\t\n\t(c) 2012 Federico Weber\n\tdistributed under the MIT license.\n\tfedericowebe",
"end": 53,
"score": 0.9998787045478821,
"start": 39,
"tag": "NAME",
"value": "Federico Weber"
}
] | src/PantaRhei.coffee | SonoIo/PantaRhei | 3 | ###
PantaRhei.js v 0.2.1
(c) 2012 Federico Weber
distributed under the MIT license.
federicoweber](http://federicoweber.com)
###
# save a reference to the global object
root = this
# Define the top-level namespace
PantaRhei = {}
# require underscore and backbone for testing
if (exports?)
PantaRhei = exports;... | 114730 | ###
PantaRhei.js v 0.2.1
(c) 2012 <NAME>
distributed under the MIT license.
federicoweber](http://federicoweber.com)
###
# save a reference to the global object
root = this
# Define the top-level namespace
PantaRhei = {}
# require underscore and backbone for testing
if (exports?)
PantaRhei = exports;
_ = re... | true | ###
PantaRhei.js v 0.2.1
(c) 2012 PI:NAME:<NAME>END_PI
distributed under the MIT license.
federicoweber](http://federicoweber.com)
###
# save a reference to the global object
root = this
# Define the top-level namespace
PantaRhei = {}
# require underscore and backbone for testing
if (exports?)
PantaRhei = ex... |
[
{
"context": "coplayer - v0.0.0 - 2015-1-19\n# Copyright (c) 2015 Koki Takahashi\n# Licensed under the MIT license.\n###\n\n((window, ",
"end": 90,
"score": 0.9998369216918945,
"start": 76,
"tag": "NAME",
"value": "Koki Takahashi"
}
] | test/test.coffee | hakatashi/HTML5-niconicoplayer | 5 | ###! videojs-HTML5-niconicoplayer - v0.0.0 - 2015-1-19
# Copyright (c) 2015 Koki Takahashi
# Licensed under the MIT license.
###
((window, videojs, Q) ->
'use strict'
realIsHtmlSupported = undefined
player = undefined
Q.module 'videojs-HTML5-niconicoplayer',
setup: ->
# force HTML support so the tests run in... | 218545 | ###! videojs-HTML5-niconicoplayer - v0.0.0 - 2015-1-19
# Copyright (c) 2015 <NAME>
# Licensed under the MIT license.
###
((window, videojs, Q) ->
'use strict'
realIsHtmlSupported = undefined
player = undefined
Q.module 'videojs-HTML5-niconicoplayer',
setup: ->
# force HTML support so the tests run in a reaso... | true | ###! videojs-HTML5-niconicoplayer - v0.0.0 - 2015-1-19
# Copyright (c) 2015 PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
###
((window, videojs, Q) ->
'use strict'
realIsHtmlSupported = undefined
player = undefined
Q.module 'videojs-HTML5-niconicoplayer',
setup: ->
# force HTML support so the tests ... |
[
{
"context": "e './common'\n\ncommon.setup()\n\n\ncasper.test.begin \"Kyle and Jan crew uniqueness\", (test) ->\n common.wa",
"end": 69,
"score": 0.998512864112854,
"start": 65,
"tag": "NAME",
"value": "Kyle"
},
{
"context": "mon'\n\ncommon.setup()\n\n\ncasper.test.begin \"Kyle an... | tests/test_rebel_aces.coffee | strikegun/xwing | 0 | common = require './common'
common.setup()
casper.test.begin "Kyle and Jan crew uniqueness", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'YT-1300'
pilot: 'Chewbacca'
upgrades: [
null
... | 74991 | common = require './common'
common.setup()
casper.test.begin "<NAME> and <NAME> crew uniqueness", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'YT-1300'
pilot: 'Chewbacca'
upgrades: [
null
... | true | common = require './common'
common.setup()
casper.test.begin "PI:NAME:<NAME>END_PI and PI:NAME:<NAME>END_PI crew uniqueness", (test) ->
common.waitForStartup('#rebel-builder')
common.createList('#rebel-builder', [
{
ship: 'YT-1300'
pilot: 'Chewbacca'
upgrades: [
... |
[
{
"context": "is file is part of the ChinesePuzzle package.\n\n(c) Mathieu Ledru\n\nFor the full copyright and license information, ",
"end": 70,
"score": 0.9998471140861511,
"start": 57,
"tag": "NAME",
"value": "Mathieu Ledru"
}
] | Common/Bin/Data/coffee/Cocos2D/Lang.coffee | matyo91/ChinesePuzzle | 1 | ###
This file is part of the ChinesePuzzle package.
(c) Mathieu Ledru
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cc.Lang = cc.Class.extend(
_data: null
_lang: null
ctor: ->
@_data = {}
getLang: ->
@_lang
setLang: (... | 23179 | ###
This file is part of the ChinesePuzzle package.
(c) <NAME>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cc.Lang = cc.Class.extend(
_data: null
_lang: null
ctor: ->
@_data = {}
getLang: ->
@_lang
setLang: (lang) -... | true | ###
This file is part of the ChinesePuzzle package.
(c) PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cc.Lang = cc.Class.extend(
_data: null
_lang: null
ctor: ->
@_data = {}
getLang: ->
@_lang
set... |
[
{
"context": "reate a user\", ->\n\n userObject =\n email: \"test@test.com\"\n password: \"123456\"\n profile:\n ",
"end": 153,
"score": 0.9999265670776367,
"start": 140,
"tag": "EMAIL",
"value": "test@test.com"
},
{
"context": "t =\n email: \"test@test.... | tests/jasmine/server-disabled/integration/user.spec.coffee | redhead-web/meteor-foodcoop | 11 | describe "User", ->
afterEach ->
Meteor.users.remove({})
it "should be able to create a user", ->
userObject =
email: "test@test.com"
password: "123456"
profile:
name: "Test User"
expect ->
Accounts.createUser userObject
.not.toThrow()
it "should automatically ... | 29839 | describe "User", ->
afterEach ->
Meteor.users.remove({})
it "should be able to create a user", ->
userObject =
email: "<EMAIL>"
password: "<PASSWORD>"
profile:
name: "<NAME>"
expect ->
Accounts.createUser userObject
.not.toThrow()
it "should automatically get a... | true | describe "User", ->
afterEach ->
Meteor.users.remove({})
it "should be able to create a user", ->
userObject =
email: "PI:EMAIL:<EMAIL>END_PI"
password: "PI:PASSWORD:<PASSWORD>END_PI"
profile:
name: "PI:NAME:<NAME>END_PI"
expect ->
Accounts.createUser userObject
.... |
[
{
"context": "derit, enim eiusmod high life accusamus terry richardson ad squid. Nihil anim keffiyeh helvetica, craft be",
"end": 834,
"score": 0.5751776695251465,
"start": 828,
"tag": "NAME",
"value": "ardson"
},
{
"context": "he reprehenderit, enim eiusmod high life accusamus terry... | snippets/components-collapse.cson | MdeGOO/atom-bootstrap4 | 53 | '.text.html': # Work only with HTML
# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/collapse/#usage
# Collapse
'Collapse - Bootstrap 4':
'prefix': 'coll'
'body': """
<p>
<a class="btn btn-primary" data-toggle="collapse" href="#${1:collapseExample}" aria-expanded="false" ... | 221146 | '.text.html': # Work only with HTML
# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/collapse/#usage
# Collapse
'Collapse - Bootstrap 4':
'prefix': 'coll'
'body': """
<p>
<a class="btn btn-primary" data-toggle="collapse" href="#${1:collapseExample}" aria-expanded="false" ... | true | '.text.html': # Work only with HTML
# TODO: Add Usage form http://v4-alpha.getbootstrap.com/components/collapse/#usage
# Collapse
'Collapse - Bootstrap 4':
'prefix': 'coll'
'body': """
<p>
<a class="btn btn-primary" data-toggle="collapse" href="#${1:collapseExample}" aria-expanded="false" ... |
[
{
"context": "erty define\n#\n# MIT License\n#\n# Copyright (c) 2015 Dennis Raymondo van der Sluis\n#\n# Permission is hereby granted, free of charge,",
"end": 137,
"score": 0.9998815059661865,
"start": 108,
"tag": "NAME",
"value": "Dennis Raymondo van der Sluis"
}
] | define-prop.coffee | phazelift/define-prop | 0 | #
# define-prop
#
# Easy and type safe custom object property define
#
# MIT License
#
# Copyright (c) 2015 Dennis Raymondo van der Sluis
#
# 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 wit... | 217430 | #
# define-prop
#
# Easy and type safe custom object property define
#
# MIT License
#
# Copyright (c) 2015 <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, inclu... | true | #
# define-prop
#
# Easy and type safe custom object property define
#
# MIT License
#
# Copyright (c) 2015 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 rest... |
[
{
"context": " editor for taskpaper files:\n# https://github.com/Leftium/todo.taskpaper\n#\n# written by John-Kim Murphy\n#\n#",
"end": 153,
"score": 0.9882251024246216,
"start": 146,
"tag": "USERNAME",
"value": "Leftium"
},
{
"context": "//github.com/Leftium/todo.taskpaper\n#\n# wri... | src/coffeeconsole/coffeeconsole.coffee | Leftium/Todo.taskpaper | 25 | # PhosphorJS widget that hosts a CoffeeScript REPL.
#
# Part of Todo.taskpaper, an enhanced text editor for taskpaper files:
# https://github.com/Leftium/todo.taskpaper
#
# written by John-Kim Murphy
#
# Based on:
# - https://github.com/phosphorjs/phosphor-codemirror/blob/master/src/index.ts
# - https://github.com/larr... | 151377 | # PhosphorJS widget that hosts a CoffeeScript REPL.
#
# Part of Todo.taskpaper, an enhanced text editor for taskpaper files:
# https://github.com/Leftium/todo.taskpaper
#
# written by <NAME>
#
# Based on:
# - https://github.com/phosphorjs/phosphor-codemirror/blob/master/src/index.ts
# - https://github.com/larryng/coffe... | true | # PhosphorJS widget that hosts a CoffeeScript REPL.
#
# Part of Todo.taskpaper, an enhanced text editor for taskpaper files:
# https://github.com/Leftium/todo.taskpaper
#
# written by PI:NAME:<NAME>END_PI
#
# Based on:
# - https://github.com/phosphorjs/phosphor-codemirror/blob/master/src/index.ts
# - https://github.com... |
[
{
"context": "plan more than one month in advance. Maybe two' -- Ivan\";\n txt += \"<p>'In research, keep second guessi",
"end": 534,
"score": 0.9996944665908813,
"start": 530,
"tag": "NAME",
"value": "Ivan"
},
{
"context": "<p>'In research, keep second guessing yourself' -- David... | assets/js/example.coffee | rvantonder/site-option-3 | 0 | ---
---
# START
$(document).ready ->
q = 0
$(window).scroll ->
if ($(window).scrollTop() + $(window).height()) is $(document).height()
q += 1
if q == 4
easter_egg()
easter_egg = () ->
txt = "<br><br><br><hr/><br><h1>You found the easter egg :)</h1>";
txt += "<p>This is primarily a collection... | 189534 | ---
---
# START
$(document).ready ->
q = 0
$(window).scroll ->
if ($(window).scrollTop() + $(window).height()) is $(document).height()
q += 1
if q == 4
easter_egg()
easter_egg = () ->
txt = "<br><br><br><hr/><br><h1>You found the easter egg :)</h1>";
txt += "<p>This is primarily a collection... | true | ---
---
# START
$(document).ready ->
q = 0
$(window).scroll ->
if ($(window).scrollTop() + $(window).height()) is $(document).height()
q += 1
if q == 4
easter_egg()
easter_egg = () ->
txt = "<br><br><br><hr/><br><h1>You found the easter egg :)</h1>";
txt += "<p>This is primarily a collection... |
[
{
"context": "type: 'Admin', owner: fabricate 'profile', name: 'Foo Bar'\n\n sinon.stub Backbone, 'sync'\n .onCall 0",
"end": 392,
"score": 0.9983142614364624,
"start": 385,
"tag": "NAME",
"value": "Foo Bar"
},
{
"context": "act-from').text()\n .should.equal 'From:... | src/desktop/components/inquiry_questionnaire/test/views/specialist.coffee | kanaabe/force | 1 | Q = require 'bluebird-q'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
setup = require './setup'
Specialist = benv.requireWithJadeify require.resolve('../../views/specialist'), ['template']
describe 'Specialist', setup ->
beforeEach ->
@represen... | 169417 | Q = require 'bluebird-q'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
setup = require './setup'
Specialist = benv.requireWithJadeify require.resolve('../../views/specialist'), ['template']
describe 'Specialist', setup ->
beforeEach ->
@represen... | true | Q = require 'bluebird-q'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
setup = require './setup'
Specialist = benv.requireWithJadeify require.resolve('../../views/specialist'), ['template']
describe 'Specialist', setup ->
beforeEach ->
@represen... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.