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": "ata = JSON.stringify\n username: userName\n @.userEndpointRequest(data)\n\n ",
"end": 1064,
"score": 0.9986321330070496,
"start": 1056,
"tag": "USERNAME",
"value": "userName"
},
{
"context": "ssName={userNameControlClass} id=\"userNa... | client/app/coffee/components/quiz/initUser.coffee | designeng/dictionary | 0 | define [
"underscore"
"jquery"
"react"
"reactRouter"
"components/ajax/ajaxRequest"
], (_, $, React, Router, AjaxRequest) ->
Route = Router.Route
Link = Router.Link
UserForm = React.createClass
contextTypes:
router: React.PropTypes.func
componentDidMount: -... | 145141 | define [
"underscore"
"jquery"
"react"
"reactRouter"
"components/ajax/ajaxRequest"
], (_, $, React, Router, AjaxRequest) ->
Route = Router.Route
Link = Router.Link
UserForm = React.createClass
contextTypes:
router: React.PropTypes.func
componentDidMount: -... | true | define [
"underscore"
"jquery"
"react"
"reactRouter"
"components/ajax/ajaxRequest"
], (_, $, React, Router, AjaxRequest) ->
Route = Router.Route
Link = Router.Link
UserForm = React.createClass
contextTypes:
router: React.PropTypes.func
componentDidMount: -... |
[
{
"context": "overview Tests for no-unescaped-entities\n# @author Patrick Hayes\n###\n'use strict'\n\n# -----------------------------",
"end": 76,
"score": 0.9998119473457336,
"start": 63,
"tag": "NAME",
"value": "Patrick Hayes"
}
] | src/tests/rules/no-unescaped-entities.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-unescaped-entities
# @author Patrick Hayes
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no-unescaped-entiti... | 194343 | ###*
# @fileoverview Tests for no-unescaped-entities
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no-unescaped-entities'
{Ru... | true | ###*
# @fileoverview Tests for no-unescaped-entities
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no-unescaped... |
[
{
"context": " @favorite_song)\n\n model = new Contact({name: 'Ringo', number: '555-555-5556', favorite_song: 'Yellow ",
"end": 1494,
"score": 0.9997191429138184,
"start": 1489,
"tag": "NAME",
"value": "Ringo"
},
{
"context": "\n\n # get\n assert.equal(view_model._name(), 'R... | test/spec/plugins/formatting.tests.coffee | kmalakoff/knockback | 160 | assert = assert or require?('chai').assert
describe 'formatted-observable @quick @formatting', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.... | 3563 | assert = assert or require?('chai').assert
describe 'formatted-observable @quick @formatting', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.... | true | assert = assert or require?('chai').assert
describe 'formatted-observable @quick @formatting', ->
kb = window?.kb; try kb or= require?('knockback') catch; try kb or= require?('../../../knockback')
{_, ko} = kb
it 'TEST DEPENDENCY MISSING', (done) ->
assert.ok(!!ko, 'ko')
assert.ok(!!_, '_')
assert.... |
[
{
"context": "-#{account}-conjur.example.com'\n }\n username = 'the-username'\n token = {\n data: username\n }\n \n describe",
"end": 344,
"score": 0.9995629191398621,
"start": 332,
"tag": "USERNAME",
"value": "the-username"
},
{
"context": "cribe '#authenticate', ->\n ex... | test/user_test.coffee | conjurinc/api-node | 2 | assert = require('assert')
gently = new (require('gently'))
userAPI = require('../lib/conjur/user')
describe 'User', ->
account = 'the-account'
endpoints = {
authn: (account)->
'http://authn-#{account}-conjur.example.com'
directory: (account)->
'http://core-#{account}-conjur.example.com'
}
... | 21138 | assert = require('assert')
gently = new (require('gently'))
userAPI = require('../lib/conjur/user')
describe 'User', ->
account = 'the-account'
endpoints = {
authn: (account)->
'http://authn-#{account}-conjur.example.com'
directory: (account)->
'http://core-#{account}-conjur.example.com'
}
... | true | assert = require('assert')
gently = new (require('gently'))
userAPI = require('../lib/conjur/user')
describe 'User', ->
account = 'the-account'
endpoints = {
authn: (account)->
'http://authn-#{account}-conjur.example.com'
directory: (account)->
'http://core-#{account}-conjur.example.com'
}
... |
[
{
"context": "view Tests for no-unneeded-ternary rule.\n# @author Gyandeep Singh\n###\n\n'use strict'\n\n#-----------------------------",
"end": 81,
"score": 0.9998480677604675,
"start": 67,
"tag": "NAME",
"value": "Gyandeep Singh"
}
] | src/tests/rules/no-unneeded-ternary.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-unneeded-ternary rule.
# @author Gyandeep Singh
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-unneeded-ter... | 216684 | ###*
# @fileoverview Tests for no-unneeded-ternary rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-unneeded-ternary'
{R... | true | ###*
# @fileoverview Tests for no-unneeded-ternary rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-unneed... |
[
{
"context": "names before storing', ->\n store.push(name: 'Apple')\n expect(store.choices()[0].name).to.eq('ap",
"end": 931,
"score": 0.6571537256240845,
"start": 926,
"tag": "NAME",
"value": "Apple"
},
{
"context": "tical order', ->\n store\n .push(name: 'plum... | test/store_test.coffee | chalkchisel/velge | 0 | describe 'Velge.Store', ->
store = null
describe '#normalize', ->
beforeEach ->
store = new Velge.Store()
it 'defaults to downcasing input', ->
expect(store.normalize('Apple')).to.eq('apple')
it 'strips leading and trailing whitespace', ->
expect(store.normalize(' apple ')).to.eq('a... | 23488 | describe 'Velge.Store', ->
store = null
describe '#normalize', ->
beforeEach ->
store = new Velge.Store()
it 'defaults to downcasing input', ->
expect(store.normalize('Apple')).to.eq('apple')
it 'strips leading and trailing whitespace', ->
expect(store.normalize(' apple ')).to.eq('a... | true | describe 'Velge.Store', ->
store = null
describe '#normalize', ->
beforeEach ->
store = new Velge.Store()
it 'defaults to downcasing input', ->
expect(store.normalize('Apple')).to.eq('apple')
it 'strips leading and trailing whitespace', ->
expect(store.normalize(' apple ')).to.eq('a... |
[
{
"context": "$ ->\n input =\n user : $('#textboxUsername')\n pass : $('#textboxPassword')\n pass2: $('",
"end": 45,
"score": 0.7856966853141785,
"start": 30,
"tag": "USERNAME",
"value": "textboxUsername"
},
{
"context": "nput =\n user : $('#textboxUsername')\n pass :... | app/assets/js/register.coffee | lesmo/BlackSam | 1 | $ ->
input =
user : $('#textboxUsername')
pass : $('#textboxPassword')
pass2: $('#textboxPasswordRepeat')
hash : $('#hiddenUserhash')
error =
user : $('#errorUsernameLength')
pass : $('#errorPasswordLength')
pass2: $('#errorPasswordMatch')
# As we have Javascript, there's no need for... | 161010 | $ ->
input =
user : $('#textboxUsername')
pass : <PASSWORD>')
pass2: $('#textbox<PASSWORD>')
hash : $('#hiddenUserhash')
error =
user : $('#errorUsernameLength')
pass : $('#errorPassword<PASSWORD>')
pass2: $('#errorPasswordMatch')
# As we have Javascript, there's no need for HTML5 at... | true | $ ->
input =
user : $('#textboxUsername')
pass : PI:PASSWORD:<PASSWORD>END_PI')
pass2: $('#textboxPI:PASSWORD:<PASSWORD>END_PI')
hash : $('#hiddenUserhash')
error =
user : $('#errorUsernameLength')
pass : $('#errorPasswordPI:PASSWORD:<PASSWORD>END_PI')
pass2: $('#errorPasswordMatch')
... |
[
{
"context": "services\"\n\napp.service \"Base64\", ->\n keyStr = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\"\n encode: ( input ) ->\n output = \"\"\n ",
"end": 175,
"score": 0.9997192025184631,
"start": 109,
"tag": "KEY",
"value": "ABCDEFGHIJKLMNOPQ... | app/components/utils/base64-service.coffee | vidatio/web-app | 0 | # Base64
# ======
"use strict"
app = angular.module "app.services"
app.service "Base64", ->
keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
encode: ( input ) ->
output = ""
chr1 = undefined
chr2 = undefined
chr3 = ""
enc1 = undefined
... | 70960 | # Base64
# ======
"use strict"
app = angular.module "app.services"
app.service "Base64", ->
keyStr = "<KEY>
encode: ( input ) ->
output = ""
chr1 = undefined
chr2 = undefined
chr3 = ""
enc1 = undefined
enc2 = undefined
enc3 = undefined
enc4 = ""... | true | # Base64
# ======
"use strict"
app = angular.module "app.services"
app.service "Base64", ->
keyStr = "PI:KEY:<KEY>END_PI
encode: ( input ) ->
output = ""
chr1 = undefined
chr2 = undefined
chr3 = ""
enc1 = undefined
enc2 = undefined
enc3 = undefined
... |
[
{
"context": "\n# store = new Store()\n#\n# store.set(\"name\", \"Aron\")\n# store.get(\"name\") #=> Aron\n# store.remove",
"end": 352,
"score": 0.9825661182403564,
"start": 348,
"tag": "NAME",
"value": "Aron"
},
{
"context": "\n #\n # Examples\n #\n # store.set(\"api-k... | src/offline/store.coffee | aron/annotator.offline.js | 31 | # Helper methods for working with localStorage. Adds support for storing
# objects as serialized JSON, setting expiry times on stored keys and catching
# exceptions.
#
# Caught execeptions can be listened for by subscribing to the "error" event
# which will recieve the error object.
#
# Examples
#
# store = new Store... | 90658 | # Helper methods for working with localStorage. Adds support for storing
# objects as serialized JSON, setting expiry times on stored keys and catching
# exceptions.
#
# Caught execeptions can be listened for by subscribing to the "error" event
# which will recieve the error object.
#
# Examples
#
# store = new Store... | true | # Helper methods for working with localStorage. Adds support for storing
# objects as serialized JSON, setting expiry times on stored keys and catching
# exceptions.
#
# Caught execeptions can be listened for by subscribing to the "error" event
# which will recieve the error object.
#
# Examples
#
# store = new Store... |
[
{
"context": "= require 'path'\n\nmodule.exports =\n name: 'P.O.R.T.A.L'\n debug: true\n apiPrefix: '/v1'\n plugins:\n ",
"end": 62,
"score": 0.5890060663223267,
"start": 57,
"tag": "NAME",
"value": "T.A.L"
}
] | server/config/default.coffee | stevelacy/portal | 0 | {join} = require 'path'
module.exports =
name: 'P.O.R.T.A.L'
debug: true
apiPrefix: '/v1'
plugins:
path: join __dirname, '../../plugins'
namespace: 'plugins'
| 166923 | {join} = require 'path'
module.exports =
name: 'P.O.R.<NAME>'
debug: true
apiPrefix: '/v1'
plugins:
path: join __dirname, '../../plugins'
namespace: 'plugins'
| true | {join} = require 'path'
module.exports =
name: 'P.O.R.PI:NAME:<NAME>END_PI'
debug: true
apiPrefix: '/v1'
plugins:
path: join __dirname, '../../plugins'
namespace: 'plugins'
|
[
{
"context": "bject settings\n connObj.should.eql 'http://127.0.0.1:8529'\n done()\n\n it 'should create an ",
"end": 1662,
"score": 0.8183928728103638,
"start": 1653,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " database: 'rightDatabase'\n ... | test/core.test.coffee | wavepointcode/loopback-connector-arangodb | 0 | # This test written in mocha+should.js
should = require('./init');
arangojs = require 'arangojs'
qb = require 'aqb'
chance = require('chance').Chance()
arangodb = require '..'
DataSource = require('loopback-datasource-juggler').DataSource
GeoPoint = require('loopback-datasource-juggler').GeoPoint
ArangoDBConnector = a... | 153801 | # This test written in mocha+should.js
should = require('./init');
arangojs = require 'arangojs'
qb = require 'aqb'
chance = require('chance').Chance()
arangodb = require '..'
DataSource = require('loopback-datasource-juggler').DataSource
GeoPoint = require('loopback-datasource-juggler').GeoPoint
ArangoDBConnector = a... | true | # This test written in mocha+should.js
should = require('./init');
arangojs = require 'arangojs'
qb = require 'aqb'
chance = require('chance').Chance()
arangodb = require '..'
DataSource = require('loopback-datasource-juggler').DataSource
GeoPoint = require('loopback-datasource-juggler').GeoPoint
ArangoDBConnector = a... |
[
{
"context": "###\n# YCatalyst\n# Copyright(c) 2011 Jae Kwon (jae@ycatalyst.com)\n# MIT Licensed\n###\n\nmongo = r",
"end": 44,
"score": 0.9998345375061035,
"start": 36,
"tag": "NAME",
"value": "Jae Kwon"
},
{
"context": "###\n# YCatalyst\n# Copyright(c) 2011 Jae Kwon (jae@ycatalyst.... | logic/records.coffee | jaekwon/YCatalyst | 3 | ###
# YCatalyst
# Copyright(c) 2011 Jae Kwon (jae@ycatalyst.com)
# MIT Licensed
###
mongo = require '../mongo'
utils = require '../utils'
rec = require '../static/record'
exports.get_records = (root_id, level, fn) ->
now = new Date()
mongo.records.findOne _id: root_id, (err, root) ->
all = {}
if not root?... | 212392 | ###
# YCatalyst
# Copyright(c) 2011 <NAME> (<EMAIL>)
# MIT Licensed
###
mongo = require '../mongo'
utils = require '../utils'
rec = require '../static/record'
exports.get_records = (root_id, level, fn) ->
now = new Date()
mongo.records.findOne _id: root_id, (err, root) ->
all = {}
if not root?
fn(er... | true | ###
# YCatalyst
# Copyright(c) 2011 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# MIT Licensed
###
mongo = require '../mongo'
utils = require '../utils'
rec = require '../static/record'
exports.get_records = (root_id, level, fn) ->
now = new Date()
mongo.records.findOne _id: root_id, (err, root) ->
all = {}... |
[
{
"context": "{\n title: 'Bad Saarow'\n mobileLink: 'Menü'\n back_text: 'zurück'\n ",
"end": 24,
"score": 0.9938292503356934,
"start": 14,
"tag": "NAME",
"value": "Bad Saarow"
}
] | src/pages/navigation.coffee | bad-saarow/website | 0 | {
title: 'Bad Saarow'
mobileLink: 'Menü'
back_text: 'zurück'
menu: [
{'Gemeinde':
[
{'Aktuelles'}
{'Gemeinde entdecken'}
{'Freiwillige Feuerfehr'}
{'Kommunalpolitik'}
]
}
{'Stadtentwicklung':
... | 46288 | {
title: '<NAME>'
mobileLink: 'Menü'
back_text: 'zurück'
menu: [
{'Gemeinde':
[
{'Aktuelles'}
{'Gemeinde entdecken'}
{'Freiwillige Feuerfehr'}
{'Kommunalpolitik'}
]
}
{'Stadtentwicklung':
... | true | {
title: 'PI:NAME:<NAME>END_PI'
mobileLink: 'Menü'
back_text: 'zurück'
menu: [
{'Gemeinde':
[
{'Aktuelles'}
{'Gemeinde entdecken'}
{'Freiwillige Feuerfehr'}
{'Kommunalpolitik'}
]
}
{'Stadtentw... |
[
{
"context": "nimation)\n\n toData :()->\n obj = \n name : @name\n pass : @pass\n skills: @skills.toD",
"end": 5545,
"score": 0.7642853856086731,
"start": 5545,
"tag": "NAME",
"value": ""
},
{
"context": ":()->\n obj = \n name : @name\n pass : @pas... | src/char.coffee | mizchi-sandbox/ws-netgame | 1 | # manual backup
Skill = require('./skills')
{Weapons} = require('./equip')
{random,sqrt,min,max,sin,cos} = Math
{Sprite} = require('./sprites')
{ObjectId} = require('./ObjectId')
{randint} = require('./Util')
{SkillBox} = require './skills'
Skills = require './skills'
{ItemBox} = require './ItemBox'
seq = ['one','two',... | 223724 | # manual backup
Skill = require('./skills')
{Weapons} = require('./equip')
{random,sqrt,min,max,sin,cos} = Math
{Sprite} = require('./sprites')
{ObjectId} = require('./ObjectId')
{randint} = require('./Util')
{SkillBox} = require './skills'
Skills = require './skills'
{ItemBox} = require './ItemBox'
seq = ['one','two',... | true | # manual backup
Skill = require('./skills')
{Weapons} = require('./equip')
{random,sqrt,min,max,sin,cos} = Math
{Sprite} = require('./sprites')
{ObjectId} = require('./ObjectId')
{randint} = require('./Util')
{SkillBox} = require './skills'
Skills = require './skills'
{ItemBox} = require './ItemBox'
seq = ['one','two',... |
[
{
"context": "ategory views\n#\n# Nodize CMS\n# https://github.com/nodize/nodizecms\n#\n# Copyright 2012, Hypee\n# http://hype",
"end": 59,
"score": 0.9994057416915894,
"start": 53,
"tag": "USERNAME",
"value": "nodize"
},
{
"context": "://github.com/nodize/nodizecms\n#\n# Copyright 2... | modules/backend/inline_views/view_category.coffee | nodize/nodizecms | 32 | # Category views
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, Hypee
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
#
# Return categories in select, used on deletion
# TODO: see if it's useful, probably can be removed
#
... | 187053 | # Category views
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, <NAME>
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
#
# Return categories in select, used on deletion
# TODO: see if it's useful, probably can be removed
#... | true | # Category views
#
# Nodize CMS
# https://github.com/nodize/nodizecms
#
# Copyright 2012, PI:NAME:<NAME>END_PI
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
@include = ->
#
# Return categories in select, used on deletion
# TODO: see if it's useful, probably can ... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9862642288208008,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": "\t# this reaches the panels direc... | src/elements/Pane/SimplePane.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
###
# Pane with Header and Footer
class CUI.SimplePane extends CUI.Pane
# @param [Object] options for ... | 24920 | ###
* 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
###
# Pane with Header and Footer
class CUI.SimplePane extends CUI.Pane
# @param [Object] options for ... | 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
###
# Pane with Header and Footer
class CUI.SimplePane extends CUI.Pane
# @param [Object] options for ... |
[
{
"context": "edirectUrl?\n # username = this.readCookie('username')\n # password = this.readCookie('password'",
"end": 477,
"score": 0.9521163702011108,
"start": 469,
"tag": "USERNAME",
"value": "username"
},
{
"context": "rname, password) ->\n user =\n use... | client/src/login/login-view.coffee | Studyokee/studyokee-youtube | 0 | define [
'backbone',
'handlebars',
'purl',
'templates'
], (Backbone, Handlebars, Purl) ->
LoginView = Backbone.View.extend(
className: "container"
initialize: () ->
render: () ->
this.$el.html(Handlebars.templates['login'](this.model.toJSON()))
# if this is a redirect, try loggi... | 164100 | define [
'backbone',
'handlebars',
'purl',
'templates'
], (Backbone, Handlebars, Purl) ->
LoginView = Backbone.View.extend(
className: "container"
initialize: () ->
render: () ->
this.$el.html(Handlebars.templates['login'](this.model.toJSON()))
# if this is a redirect, try loggi... | true | define [
'backbone',
'handlebars',
'purl',
'templates'
], (Backbone, Handlebars, Purl) ->
LoginView = Backbone.View.extend(
className: "container"
initialize: () ->
render: () ->
this.$el.html(Handlebars.templates['login'](this.model.toJSON()))
# if this is a redirect, try loggi... |
[
{
"context": "kflows-for-dev-only').create\n display_name: 'Test workflow'\n tasks:\n cool:\n ty",
"end": 6662,
"score": 0.5608497858047485,
"start": 6658,
"tag": "NAME",
"value": "Test"
}
] | app/components/workflow-tasks-editor.cjsx | mbiesiad/Panoptes-Front-End | 72 | React = require 'react'
createReactClass = require 'create-react-class'
ChangeListener = require './change-listener'
handleInputChange = require('../lib/handle-input-change').default
AnswerEditor = createReactClass
displayName: 'AnswerEditor'
render: ->
<div className="answer">
<div className="controls"... | 123130 | React = require 'react'
createReactClass = require 'create-react-class'
ChangeListener = require './change-listener'
handleInputChange = require('../lib/handle-input-change').default
AnswerEditor = createReactClass
displayName: 'AnswerEditor'
render: ->
<div className="answer">
<div className="controls"... | true | React = require 'react'
createReactClass = require 'create-react-class'
ChangeListener = require './change-listener'
handleInputChange = require('../lib/handle-input-change').default
AnswerEditor = createReactClass
displayName: 'AnswerEditor'
render: ->
<div className="answer">
<div className="controls"... |
[
{
"context": "STORAGE_KEY = 'hypothesis.privacy'\n\n###*\n# @ngdoc service\n# @name Permissions\n#\n# ",
"end": 33,
"score": 0.9861322045326233,
"start": 15,
"tag": "KEY",
"value": "hypothesis.privacy"
}
] | h/static/scripts/permissions.coffee | noscripter/h | 0 | STORAGE_KEY = 'hypothesis.privacy'
###*
# @ngdoc service
# @name Permissions
#
# @description
# This service can set default permissions to annotations properly and
# offers some utility functions regarding those.
###
module.exports = ['session', 'localStorage', (session, localStorage) ->
ALL_PERMISSIONS = {}
GRO... | 7025 | STORAGE_KEY = '<KEY>'
###*
# @ngdoc service
# @name Permissions
#
# @description
# This service can set default permissions to annotations properly and
# offers some utility functions regarding those.
###
module.exports = ['session', 'localStorage', (session, localStorage) ->
ALL_PERMISSIONS = {}
GROUP_WORLD = 'g... | true | STORAGE_KEY = 'PI:KEY:<KEY>END_PI'
###*
# @ngdoc service
# @name Permissions
#
# @description
# This service can set default permissions to annotations properly and
# offers some utility functions regarding those.
###
module.exports = ['session', 'localStorage', (session, localStorage) ->
ALL_PERMISSIONS = {}
GRO... |
[
{
"context": "reate-member'\n scope.profile.password = '888888'\n #创建成员成功后1.关闭弹窗 2.更新本地数据. 3.添加该成员到这个项目中",
"end": 1743,
"score": 0.9993040561676025,
"start": 1737,
"tag": "PASSWORD",
"value": "888888"
}
] | src/js/member/member-directives.coffee | Kiteam/kiteam-angular | 0 | define [
'../ng-module'
'../utils'
'./views/member-all.html'
'../../package/jquery.autocomplete/jquery.autocomplete'
'imports?jQuery=jquery!../vendor/jquery.modal'
], (_module, _utils, _template, _autocomplete) ->
_module.directiveModule
.directive('memberSetting', ['$rootScope', 'API', ($rootScope, API)-... | 139546 | define [
'../ng-module'
'../utils'
'./views/member-all.html'
'../../package/jquery.autocomplete/jquery.autocomplete'
'imports?jQuery=jquery!../vendor/jquery.modal'
], (_module, _utils, _template, _autocomplete) ->
_module.directiveModule
.directive('memberSetting', ['$rootScope', 'API', ($rootScope, API)-... | true | define [
'../ng-module'
'../utils'
'./views/member-all.html'
'../../package/jquery.autocomplete/jquery.autocomplete'
'imports?jQuery=jquery!../vendor/jquery.modal'
], (_module, _utils, _template, _autocomplete) ->
_module.directiveModule
.directive('memberSetting', ['$rootScope', 'API', ($rootScope, API)-... |
[
{
"context": "artist: fabricate 'artist', { id: 'bitty', name: 'Bitty Z' }\n bittyArtwork2 = fabricate 'artwork', pub",
"end": 1412,
"score": 0.9655153155326843,
"start": 1405,
"tag": "NAME",
"value": "Bitty Z"
},
{
"context": "artist: fabricate 'artist', { id: 'bitty', name: 'B... | apps/notifications/test/client/index.coffee | xtina-starr/microgravity | 1 | _ = require 'underscore'
Q = require 'bluebird-q'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Notifications = require '../../../../collections/notifications.coffee'
Artworks = require '../../../../collections/artworks.coffee'
Artist = require '../../... | 208184 | _ = require 'underscore'
Q = require 'bluebird-q'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Notifications = require '../../../../collections/notifications.coffee'
Artworks = require '../../../../collections/artworks.coffee'
Artist = require '../../... | true | _ = require 'underscore'
Q = require 'bluebird-q'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Notifications = require '../../../../collections/notifications.coffee'
Artworks = require '../../../../collections/artworks.coffee'
Artist = require '../../... |
[
{
"context": "s\n\nexportObj.fightersCommon = ->\n\t[\n\t\t{\n\t\t\tname: \"Severin Steelheart\"\n\t\t\twarband: \"Steelheart's Champions\"\n\t\t\tcaptain:",
"end": 94,
"score": 0.9998542666435242,
"start": 76,
"tag": "NAME",
"value": "Severin Steelheart"
},
{
"context": "%\" }\n\t\t... | src/data/fighters.coffee | Steveh15/underworlds-deck-builder | 0 |
exportObj = exports ? this
exportObj.fightersCommon = ->
[
{
name: "Severin Steelheart"
warband: "Steelheart's Champions"
captain: true
movement: 3
defence: { value: 1, char: "%SHIELD%" }
wounds: 4
attacks: [
{
name: "Sigmarite Broadsword"
range: 1
value: 2
char: "%HAMM... | 116855 |
exportObj = exports ? this
exportObj.fightersCommon = ->
[
{
name: "<NAME>"
warband: "Steelheart's Champions"
captain: true
movement: 3
defence: { value: 1, char: "%SHIELD%" }
wounds: 4
attacks: [
{
name: "<NAME>word"
range: 1
value: 2
char: "%HAMMER%"
dmg: 3
}... | true |
exportObj = exports ? this
exportObj.fightersCommon = ->
[
{
name: "PI:NAME:<NAME>END_PI"
warband: "Steelheart's Champions"
captain: true
movement: 3
defence: { value: 1, char: "%SHIELD%" }
wounds: 4
attacks: [
{
name: "PI:NAME:<NAME>END_PIword"
range: 1
value: 2
char: ... |
[
{
"context": " service = new HttpMicroService\n name: \"testApi\"\n host: \"localhost\"\n port: 3000\n\n ",
"end": 553,
"score": 0.5953220129013062,
"start": 546,
"tag": "USERNAME",
"value": "testApi"
},
{
"context": " port: 3000\n\n service.name.should... | spec/HttpMicroService.spec.coffee | veacks/microservices-restfull | 0 | # Assertion and mock frameworks
chai = require "chai"
should = chai.should()
sinon = require "sinon"
sinonChai = require "sinon-chai"
chai.use sinonChai
nock = require "nock"
http = require "http"
https = require "https"
HttpMicroService = require "../build/HttpMicroService"
describe "HttpMicroService", ->
descr... | 991 | # Assertion and mock frameworks
chai = require "chai"
should = chai.should()
sinon = require "sinon"
sinonChai = require "sinon-chai"
chai.use sinonChai
nock = require "nock"
http = require "http"
https = require "https"
HttpMicroService = require "../build/HttpMicroService"
describe "HttpMicroService", ->
descr... | true | # Assertion and mock frameworks
chai = require "chai"
should = chai.should()
sinon = require "sinon"
sinonChai = require "sinon-chai"
chai.use sinonChai
nock = require "nock"
http = require "http"
https = require "https"
HttpMicroService = require "../build/HttpMicroService"
describe "HttpMicroService", ->
descr... |
[
{
"context": "aScript event loop.\n#\n# :copyright: (c) 2013 by Zaur Nasibov.\n# :license: MIT, see LICENSE for more details",
"end": 233,
"score": 0.9998879432678223,
"start": 221,
"tag": "NAME",
"value": "Zaur Nasibov"
}
] | kaylee/client/klajax.coffee | BasicWolf/archived-kaylee | 2 | ###
# klajax.coffee
# ~~~~~~~~~~~~~
#
# This file is a part of Kaylee client-side module.
# It contains a small AJAX library used in a browser's
# main JavaScript event loop.
#
# :copyright: (c) 2013 by Zaur Nasibov.
# :license: MIT, see LICENSE for more details.
###
kl.ajax = (url, method, data, ... | 21225 | ###
# klajax.coffee
# ~~~~~~~~~~~~~
#
# This file is a part of Kaylee client-side module.
# It contains a small AJAX library used in a browser's
# main JavaScript event loop.
#
# :copyright: (c) 2013 by <NAME>.
# :license: MIT, see LICENSE for more details.
###
kl.ajax = (url, method, data, succes... | true | ###
# klajax.coffee
# ~~~~~~~~~~~~~
#
# This file is a part of Kaylee client-side module.
# It contains a small AJAX library used in a browser's
# main JavaScript event loop.
#
# :copyright: (c) 2013 by PI:NAME:<NAME>END_PI.
# :license: MIT, see LICENSE for more details.
###
kl.ajax = (url, method... |
[
{
"context": "host', port: 0xd00d, uuid: 'some-device', token: 'some-token'\n @sut = new Verifier {meshbluConfig}\n\n c",
"end": 695,
"score": 0.7984499335289001,
"start": 685,
"tag": "PASSWORD",
"value": "some-token"
}
] | test/verifier-spec.coffee | octoblu/meshblu-verifier-mqtt | 0 | shmock = require 'shmock'
Verifier = require '../src/verifier'
MockMeshbluMQTT = require './mock-meshblu-mqtt'
xdescribe 'Verifier', ->
beforeEach (done) ->
@whoamiHandler = sinon.stub()
onPublished = (packet, publish) =>
{topic, payload} = packet
if topic == 'whoami'
@whoamiHandler pay... | 141863 | shmock = require 'shmock'
Verifier = require '../src/verifier'
MockMeshbluMQTT = require './mock-meshblu-mqtt'
xdescribe 'Verifier', ->
beforeEach (done) ->
@whoamiHandler = sinon.stub()
onPublished = (packet, publish) =>
{topic, payload} = packet
if topic == 'whoami'
@whoamiHandler pay... | true | shmock = require 'shmock'
Verifier = require '../src/verifier'
MockMeshbluMQTT = require './mock-meshblu-mqtt'
xdescribe 'Verifier', ->
beforeEach (done) ->
@whoamiHandler = sinon.stub()
onPublished = (packet, publish) =>
{topic, payload} = packet
if topic == 'whoami'
@whoamiHandler pay... |
[
{
"context": "#\n# Copyright (c) 2015 JD Powell <waveclaw@waveclaw.net>\n#\n# All modifications and",
"end": 32,
"score": 0.9965730905532837,
"start": 23,
"tag": "NAME",
"value": "JD Powell"
},
{
"context": "#\n# Copyright (c) 2015 JD Powell <waveclaw@waveclaw.net>\n#\n# All modifica... | snippets/rpm-spec.cson | waveclaw/language-rpm-spec | 3 | #
# Copyright (c) 2015 JD Powell <waveclaw@waveclaw.net>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the ... | 32096 | #
# Copyright (c) 2015 <NAME> <<EMAIL>>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package ... | true | #
# Copyright (c) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license... |
[
{
"context": "ents\n\n\t### \n\t Query would be something like ?name=craig&last=condon\n\t###\n\n\tquery: (value) -> @_param 'que",
"end": 1906,
"score": 0.6675245761871338,
"start": 1901,
"tag": "NAME",
"value": "craig"
}
] | src/request.coffee | crcn-archive/beanpoll.js | 1 | Reader = require "./io/reader"
Writer = require "./io/writer"
outcome = require "outcome"
exports.Reader = class RequestReader extends Reader
###
constructor
###
constructor: (@writer, @from, @path, @query, @sanitized = {}, @headers = {}, @filter = {}, @callback = null) ->
super writer
exports.Wr... | 120542 | Reader = require "./io/reader"
Writer = require "./io/writer"
outcome = require "outcome"
exports.Reader = class RequestReader extends Reader
###
constructor
###
constructor: (@writer, @from, @path, @query, @sanitized = {}, @headers = {}, @filter = {}, @callback = null) ->
super writer
exports.Wr... | true | Reader = require "./io/reader"
Writer = require "./io/writer"
outcome = require "outcome"
exports.Reader = class RequestReader extends Reader
###
constructor
###
constructor: (@writer, @from, @path, @query, @sanitized = {}, @headers = {}, @filter = {}, @callback = null) ->
super writer
exports.Wr... |
[
{
"context": "gain. If you're still having issues, contact us at support@nylas.com.\"\n @_resize()\n\n _onNetworkError: (err) =>\n ",
"end": 13000,
"score": 0.9999259114265442,
"start": 12983,
"tag": "EMAIL",
"value": "support@nylas.com"
}
] | app/internal_packages/onboarding/lib/account-settings-page.cjsx | immershy/nodemail | 0 | React = require 'react'
ReactDOM = require 'react-dom'
_ = require 'underscore'
{ipcRenderer, dialog, remote} = require 'electron'
{RetinaImg} = require 'nylas-component-kit'
{RegExpUtils, EdgehillAPI, NylasAPI, APIError, Actions, AccountStore} = require 'nylas-exports'
OnboardingActions = require './onboarding-action... | 129405 | React = require 'react'
ReactDOM = require 'react-dom'
_ = require 'underscore'
{ipcRenderer, dialog, remote} = require 'electron'
{RetinaImg} = require 'nylas-component-kit'
{RegExpUtils, EdgehillAPI, NylasAPI, APIError, Actions, AccountStore} = require 'nylas-exports'
OnboardingActions = require './onboarding-action... | true | React = require 'react'
ReactDOM = require 'react-dom'
_ = require 'underscore'
{ipcRenderer, dialog, remote} = require 'electron'
{RetinaImg} = require 'nylas-component-kit'
{RegExpUtils, EdgehillAPI, NylasAPI, APIError, Actions, AccountStore} = require 'nylas-exports'
OnboardingActions = require './onboarding-action... |
[
{
"context": "\n type: 'bulldozer'\n name: 'willy'\n response = [machine]\n res.sta",
"end": 1344,
"score": 0.9968496561050415,
"start": 1339,
"tag": "NAME",
"value": "willy"
},
{
"context": "\n type: 'bulldozer'\n name: '... | test/integration/cli/cli-test.coffee | jasonrayles-nbcuni/dredd-public | 0 | {assert} = require('chai')
{exec} = require('child_process')
express = require 'express'
clone = require 'clone'
bodyParser = require 'body-parser'
fs = require 'fs'
syncExec = require 'sync-exec'
net = require 'net'
{DREDD_BIN, isProcessRunning} = require './helpers'
PORT = 8887
CMD_PREFIX = ''
stderr = ''
stdout ... | 59469 | {assert} = require('chai')
{exec} = require('child_process')
express = require 'express'
clone = require 'clone'
bodyParser = require 'body-parser'
fs = require 'fs'
syncExec = require 'sync-exec'
net = require 'net'
{DREDD_BIN, isProcessRunning} = require './helpers'
PORT = 8887
CMD_PREFIX = ''
stderr = ''
stdout ... | true | {assert} = require('chai')
{exec} = require('child_process')
express = require 'express'
clone = require 'clone'
bodyParser = require 'body-parser'
fs = require 'fs'
syncExec = require 'sync-exec'
net = require 'net'
{DREDD_BIN, isProcessRunning} = require './helpers'
PORT = 8887
CMD_PREFIX = ''
stderr = ''
stdout ... |
[
{
"context": ".5)\n\n token = if @options.toc then 'nav' else 'ncx'\n attr = if @options.toc then 'properties' els",
"end": 3201,
"score": 0.7218964695930481,
"start": 3198,
"tag": "KEY",
"value": "ncx"
}
] | src/coffee/main.coffee | msimmer/gfa-reader | 0 | class Reader
proxy = null
pagect = null
memStore =
html:{}
body:{}
constructor: (@options = {})->
# Kick off our progress bar
#
$('.wrapper').css('visibility', 'hidden')
NProgress.configure
showSpinner: false
minimum: 0.1
speed: 250
NProgress.start()
NPr... | 188645 | class Reader
proxy = null
pagect = null
memStore =
html:{}
body:{}
constructor: (@options = {})->
# Kick off our progress bar
#
$('.wrapper').css('visibility', 'hidden')
NProgress.configure
showSpinner: false
minimum: 0.1
speed: 250
NProgress.start()
NPr... | true | class Reader
proxy = null
pagect = null
memStore =
html:{}
body:{}
constructor: (@options = {})->
# Kick off our progress bar
#
$('.wrapper').css('visibility', 'hidden')
NProgress.configure
showSpinner: false
minimum: 0.1
speed: 250
NProgress.start()
NPr... |
[
{
"context": "], []]\r\n[genIvl, genIvlId, me] = [5, null, \"John\"]\r\n[lists, otId, maxAsn] = [{head: {}, top",
"end": 688,
"score": 0.9998461008071899,
"start": 684,
"tag": "NAME",
"value": "John"
},
{
"context": "SA\"}\r\n ]\r\n detail =\r\n WS: [ \"Create:\\nMe... | src/demo.coffee | koolb/devops-ce-demo | 0 | # vim:expandtab:ts=2:
# @(#) $Id: demo.coffee 543 2014-11-05 00:41:31Z knoppix $
$ = jQuery
# Handle requests from background.html
console.log "Loading $Id: demo.coffee 543 2014-11-05 00:41:31Z knoppix $"
console.log "Initializing %0", this
handleRequest = (request, sender, sendResponse) ->
console.log "got r... | 89716 | # vim:expandtab:ts=2:
# @(#) $Id: demo.coffee 543 2014-11-05 00:41:31Z knoppix $
$ = jQuery
# Handle requests from background.html
console.log "Loading $Id: demo.coffee 543 2014-11-05 00:41:31Z knoppix $"
console.log "Initializing %0", this
handleRequest = (request, sender, sendResponse) ->
console.log "got r... | true | # vim:expandtab:ts=2:
# @(#) $Id: demo.coffee 543 2014-11-05 00:41:31Z knoppix $
$ = jQuery
# Handle requests from background.html
console.log "Loading $Id: demo.coffee 543 2014-11-05 00:41:31Z knoppix $"
console.log "Initializing %0", this
handleRequest = (request, sender, sendResponse) ->
console.log "got r... |
[
{
"context": "author: \"Wittgenstein\"\nquote: \"A picture is a fact. -- $author\"",
"end": 21,
"score": 0.999853253364563,
"start": 9,
"tag": "NAME",
"value": "Wittgenstein"
}
] | lib/coffee/lib/coffee-script/documentation/coffee/interpolation.coffee | InfinitelLoop/website-3 | 2 | author: "Wittgenstein"
quote: "A picture is a fact. -- $author" | 82044 | author: "<NAME>"
quote: "A picture is a fact. -- $author" | true | author: "PI:NAME:<NAME>END_PI"
quote: "A picture is a fact. -- $author" |
[
{
"context": " host: \"http://demo.gitlab.com\"\n token: \"Wvjy2Krpb7y8xi93owUz\"\n password: \"123456\"\n login: \"test@test.com\"",
"end": 173,
"score": 0.9523305296897888,
"start": 153,
"tag": "PASSWORD",
"value": "Wvjy2Krpb7y8xi93owUz"
},
{
"context": "\"\n token: ... | hubots/hubot-gitsy/src/gitlab/tests/test.coffee | RocketChat/Rocket.Chat.Ops | 143 | assert = require 'assert'
# Setup
Gitlab = require('..')
credentials = # From http://demo.gitlab.com/
host: "http://demo.gitlab.com"
token: "Wvjy2Krpb7y8xi93owUz"
password: "123456"
login: "test@test.com"
gitlab = new Gitlab
token: credentials.token
url: credentials.host
# Working variabl... | 166485 | assert = require 'assert'
# Setup
Gitlab = require('..')
credentials = # From http://demo.gitlab.com/
host: "http://demo.gitlab.com"
token: "<PASSWORD>"
password: "<PASSWORD>"
login: "<EMAIL>"
gitlab = new Gitlab
token: credentials.token
url: credentials.host
# Working variables
projectId... | true | assert = require 'assert'
# Setup
Gitlab = require('..')
credentials = # From http://demo.gitlab.com/
host: "http://demo.gitlab.com"
token: "PI:PASSWORD:<PASSWORD>END_PI"
password: "PI:PASSWORD:<PASSWORD>END_PI"
login: "PI:EMAIL:<EMAIL>END_PI"
gitlab = new Gitlab
token: credentials.token
url: ... |
[
{
"context": "\n new app.models.Entry\n doc: @\n name: @name\n path: 'index'\n\n findEntryByPathAndHash",
"end": 918,
"score": 0.966381847858429,
"start": 918,
"tag": "NAME",
"value": ""
},
{
"context": " new app.models.Entry\n doc: @\n name: @name\n ... | resources/assets/coffee/models/doc.coffee | stevenay/Laradoc | 2 | class app.models.Doc extends app.Model
# Attributes: name, slug, type, version, index_path, db_path, db_size, mtime, links
constructor: ->
super
@reset @
@text = @name.toLowerCase()
reset: (data) ->
@resetEntries data.entries
@resetTypes data.types
return
resetEntries: (entries) ->
... | 117923 | class app.models.Doc extends app.Model
# Attributes: name, slug, type, version, index_path, db_path, db_size, mtime, links
constructor: ->
super
@reset @
@text = @name.toLowerCase()
reset: (data) ->
@resetEntries data.entries
@resetTypes data.types
return
resetEntries: (entries) ->
... | true | class app.models.Doc extends app.Model
# Attributes: name, slug, type, version, index_path, db_path, db_size, mtime, links
constructor: ->
super
@reset @
@text = @name.toLowerCase()
reset: (data) ->
@resetEntries data.entries
@resetTypes data.types
return
resetEntries: (entries) ->
... |
[
{
"context": "###!\nCopyright (c) 2002-2017 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 44,
"score": 0.6880049109458923,
"start": 30,
"tag": "NAME",
"value": "Neo Technology"
}
] | src/components/D3Visualization/lib/visualization/components/queryPlan.coffee | yezonggang/zcfx-admin-master | 24 | ###!
Copyright (c) 2002-2017 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 ... | 225791 | ###!
Copyright (c) 2002-2017 "<NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the L... | true | ###!
Copyright (c) 2002-2017 "PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either vers... |
[
{
"context": "eScript 的解析器是从这个语法文件, 用 [Jison](http://github.com/zaach/jison) 生成的.\n# Jison 是个自底而上的解析器生成工具, 和 [Bison](htt",
"end": 62,
"score": 0.9994620084762573,
"start": 57,
"tag": "USERNAME",
"value": "zaach"
},
{
"context": "n\\s*([\\s\\S]*);\\s*\\}/\n\n# 我们方便 Jison 语法生成的 DSL 要感谢... | src/grammar.coffee | sqlwwx/coffeescript-zh | 0 | # CoffeeScript 的解析器是从这个语法文件, 用 [Jison](http://github.com/zaach/jison) 生成的.
# Jison 是个自底而上的解析器生成工具, 和 [Bison](http://www.gnu.org/software/bison) 的风格相似, 不过是用 JavaScript 实现的.
# 它可以辨认 [LALR(1), LR(0), SLR(1) 和 LR(1)](http://en.wikipedia.org/wiki/LR_grammar) 语法.
# 为了创建 Jison 解析器, 我们把匹配模式列在左边, 把对应动作列在右边 (通常是创建语法树的节点).
# 执行的时... | 48560 | # CoffeeScript 的解析器是从这个语法文件, 用 [Jison](http://github.com/zaach/jison) 生成的.
# Jison 是个自底而上的解析器生成工具, 和 [Bison](http://www.gnu.org/software/bison) 的风格相似, 不过是用 JavaScript 实现的.
# 它可以辨认 [LALR(1), LR(0), SLR(1) 和 LR(1)](http://en.wikipedia.org/wiki/LR_grammar) 语法.
# 为了创建 Jison 解析器, 我们把匹配模式列在左边, 把对应动作列在右边 (通常是创建语法树的节点).
# 执行的时... | true | # CoffeeScript 的解析器是从这个语法文件, 用 [Jison](http://github.com/zaach/jison) 生成的.
# Jison 是个自底而上的解析器生成工具, 和 [Bison](http://www.gnu.org/software/bison) 的风格相似, 不过是用 JavaScript 实现的.
# 它可以辨认 [LALR(1), LR(0), SLR(1) 和 LR(1)](http://en.wikipedia.org/wiki/LR_grammar) 语法.
# 为了创建 Jison 解析器, 我们把匹配模式列在左边, 把对应动作列在右边 (通常是创建语法树的节点).
# 执行的时... |
[
{
"context": "ONENTS.LFO] = 'LFO'\n\n @COLORS: []\n @COLORS[@COMPONENTS.NSG] = 0x00D8C7\n @COLORS[@COMPONENTS.OSC] = 0x4A0",
"end": 1653,
"score": 0.5575951933860779,
"start": 1640,
"tag": "EMAIL",
"value": "COMPONENTS.NS"
}
] | source/app/coffee/AppData.coffee | andrevenancio/mod-synth.io | 30 | class AppData
# cookies
@SHOW_TOUR: undefined
@SHOW_KEYBOARD_PANNEL: undefined
@SHOW_MENU_PANNEL: undefined
@SHOW_LABELS: undefined
# TOUR_MODE (necessary to avoid defaulting to Default patch in PatchesPannel)
@TOUR_MODE: false
# pixi
@PIXI:
renderer: null
stage: n... | 198721 | class AppData
# cookies
@SHOW_TOUR: undefined
@SHOW_KEYBOARD_PANNEL: undefined
@SHOW_MENU_PANNEL: undefined
@SHOW_LABELS: undefined
# TOUR_MODE (necessary to avoid defaulting to Default patch in PatchesPannel)
@TOUR_MODE: false
# pixi
@PIXI:
renderer: null
stage: n... | true | class AppData
# cookies
@SHOW_TOUR: undefined
@SHOW_KEYBOARD_PANNEL: undefined
@SHOW_MENU_PANNEL: undefined
@SHOW_LABELS: undefined
# TOUR_MODE (necessary to avoid defaulting to Default patch in PatchesPannel)
@TOUR_MODE: false
# pixi
@PIXI:
renderer: null
stage: n... |
[
{
"context": "s!\n# Entry for the GitHub Game Off 2013\n# Author : Paul Joannon for H-Bomb\n# <paul.joannon@gmail.com>\n##\n#####\n\nS",
"end": 85,
"score": 0.9998471140861511,
"start": 73,
"tag": "NAME",
"value": "Paul Joannon"
},
{
"context": "me Off 2013\n# Author : Paul Joannon f... | assets/js/coffee/maingame.coffee | MySweetWhomp/demcreepers | 1 | #####
##
# Dem Creepers!
# Entry for the GitHub Game Off 2013
# Author : Paul Joannon for H-Bomb
# <paul.joannon@gmail.com>
##
#####
Score = 0
KillCount = 0
Waves = 1
Packs =
Count : 2
Value : 15
Bonus = [100, 500]
class Wave
constructor : ->
@HIT = new jaws.Audio audio : 'audio/HIT.ogg', volume... | 102414 | #####
##
# Dem Creepers!
# Entry for the GitHub Game Off 2013
# Author : <NAME> for H-Bomb
# <<EMAIL>>
##
#####
Score = 0
KillCount = 0
Waves = 1
Packs =
Count : 2
Value : 15
Bonus = [100, 500]
class Wave
constructor : ->
@HIT = new jaws.Audio audio : 'audio/HIT.ogg', volume : window.DemCreepers... | true | #####
##
# Dem Creepers!
# Entry for the GitHub Game Off 2013
# Author : PI:NAME:<NAME>END_PI for H-Bomb
# <PI:EMAIL:<EMAIL>END_PI>
##
#####
Score = 0
KillCount = 0
Waves = 1
Packs =
Count : 2
Value : 15
Bonus = [100, 500]
class Wave
constructor : ->
@HIT = new jaws.Audio audio : 'audio/HIT.ogg'... |
[
{
"context": "n 1 hour to check my email.\\\"\\n\" +\n \"\\\"Rachel, can you remind me to check my email next week?\\\"",
"end": 2896,
"score": 0.934705913066864,
"start": 2890,
"tag": "NAME",
"value": "Rachel"
},
{
"context": " \"\\\"Remind me tomorrow noon to have lu... | src/server/services/messagers.coffee | FindBoat/rachel-bot | 0 | moment = require 'moment'
ChatContext = require './chat-context'
Feedback = require './feedbacks'
Reminder = require './reminders'
User = require './users'
bot = require './bots'
generalParser = require './general-parsers'
locationParser = require './location-parsers'
reminderParser = require './reminder-parsers'
tzEx... | 188512 | moment = require 'moment'
ChatContext = require './chat-context'
Feedback = require './feedbacks'
Reminder = require './reminders'
User = require './users'
bot = require './bots'
generalParser = require './general-parsers'
locationParser = require './location-parsers'
reminderParser = require './reminder-parsers'
tzEx... | true | moment = require 'moment'
ChatContext = require './chat-context'
Feedback = require './feedbacks'
Reminder = require './reminders'
User = require './users'
bot = require './bots'
generalParser = require './general-parsers'
locationParser = require './location-parsers'
reminderParser = require './reminder-parsers'
tzEx... |
[
{
"context": ")\n ```\n neo\n .createLabel(1, ['person', 'programmer'])\n ```\n ###\n createLabel: createLabe",
"end": 1134,
"score": 0.6129687428474426,
"start": 1127,
"tag": "NAME",
"value": "program"
},
{
"context": "s-on-a-node)\n ```\n neo\n .updateLab... | src/label.coffee | kievechua/js-neo4j | 2 | utils = require './utils'
_ = require 'lodash'
module.exports =
# ###Listing labels for a node
###
[Details](http://docs.neo4j.org/chunked/milestone/rest-api-node-labels.html#rest-api-listing-labels-for-a-node)
```
neo.readLabel(1)
```
###
# ###List all labels
###
[Details](http... | 50323 | utils = require './utils'
_ = require 'lodash'
module.exports =
# ###Listing labels for a node
###
[Details](http://docs.neo4j.org/chunked/milestone/rest-api-node-labels.html#rest-api-listing-labels-for-a-node)
```
neo.readLabel(1)
```
###
# ###List all labels
###
[Details](http... | true | utils = require './utils'
_ = require 'lodash'
module.exports =
# ###Listing labels for a node
###
[Details](http://docs.neo4j.org/chunked/milestone/rest-api-node-labels.html#rest-api-listing-labels-for-a-node)
```
neo.readLabel(1)
```
###
# ###List all labels
###
[Details](http... |
[
{
"context": "le migrations\n#\n# Nodize CMS\n# https://github.com/hypee/nodize\n#\n# Copyright 2012, Hypee\n# http://hypee.c",
"end": 113,
"score": 0.9995768070220947,
"start": 108,
"tag": "USERNAME",
"value": "hypee"
},
{
"context": "ttps://github.com/hypee/nodize\n#\n# Copyright 2... | modules/ionize/libs/nodize_db.coffee | nodize/nodizecms | 32 | # Nodize database management library
#
# Also used to handle migrations
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2012, Hypee
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
sequelize = null
config = null
init = ->
if not sequelize
conso... | 44854 | # Nodize database management library
#
# Also used to handle migrations
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2012, <NAME>
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
sequelize = null
config = null
init = ->
if not sequelize
cons... | true | # Nodize database management library
#
# Also used to handle migrations
#
# Nodize CMS
# https://github.com/hypee/nodize
#
# Copyright 2012, PI:NAME:<NAME>END_PI
# http://hypee.com
#
# Licensed under the MIT license:
# http://www.opensource.org/licenses/MIT
#
sequelize = null
config = null
init = ->
if not sequel... |
[
{
"context": "plicit default role property on element.\n# @author Ethan Cohen <@evcohen>\n###\n\n# -------------------------------",
"end": 161,
"score": 0.9998894333839417,
"start": 150,
"tag": "NAME",
"value": "Ethan Cohen"
},
{
"context": " role property on element.\n# @author Eth... | src/tests/rules/no-redundant-roles.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce explicit role property is not the
# same as implicit default role property on element.
# @author Ethan Cohen <@evcohen>
###
# -----------------------------------------------------------------------------
# Requirements
# ---------------------------------------------... | 212330 | ### eslint-env jest ###
###*
# @fileoverview Enforce explicit role property is not the
# same as implicit default role property on element.
# @author <NAME> <@evcohen>
###
# -----------------------------------------------------------------------------
# Requirements
# --------------------------------------------------... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce explicit role property is not the
# same as implicit default role property on element.
# @author PI:NAME:<NAME>END_PI <@evcohen>
###
# -----------------------------------------------------------------------------
# Requirements
# ------------------------------------... |
[
{
"context": "ess:\n type: 'string'\n default: '192.168.1.1'\n rokuUserId:\n type: 'string'\n ",
"end": 531,
"score": 0.9997105002403259,
"start": 520,
"tag": "IP_ADDRESS",
"value": "192.168.1.1"
},
{
"context": "rId:\n type: 'string'\n ... | lib/roku-deploy.coffee | briandunnington/roku-deploy | 0 | RokuDeployView = require './roku-deploy-view'
{CompositeDisposable} = require 'atom'
fs = require 'fs'
Archiver = require 'archiver'
request = require 'request'
module.exports = RokuDeploy =
rokuDeployView: null
modalPanel: null
subscriptions: null
rokuAddress: null
rokuPassword: null
rokuUserId: null
ex... | 295 | RokuDeployView = require './roku-deploy-view'
{CompositeDisposable} = require 'atom'
fs = require 'fs'
Archiver = require 'archiver'
request = require 'request'
module.exports = RokuDeploy =
rokuDeployView: null
modalPanel: null
subscriptions: null
rokuAddress: null
rokuPassword: null
rokuUserId: null
ex... | true | RokuDeployView = require './roku-deploy-view'
{CompositeDisposable} = require 'atom'
fs = require 'fs'
Archiver = require 'archiver'
request = require 'request'
module.exports = RokuDeploy =
rokuDeployView: null
modalPanel: null
subscriptions: null
rokuAddress: null
rokuPassword: null
rokuUserId: null
ex... |
[
{
"context": "###\n backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n Lice",
"end": 58,
"score": 0.9993396401405334,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/node/model_type_id.coffee | michaelBenin/backbone-orm | 1 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
crypto = require 'crypto'
# @private
module.exports = class M... | 125081 | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
crypto = require 'crypto'
# @private
module.exports = class Mod... | true | ###
backbone-orm.js 0.5.12
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
###
_ = require 'underscore'
crypto = require 'crypto'
# @private
module.expor... |
[
{
"context": "erwriteExisting\n\n\t\t\t\t\tattributes: [\n\t\t\t\t\t\t{ key: \"name\", type: \"string\", required: true }\n\t\t\t\t\t\t{ key: \"",
"end": 308,
"score": 0.8066259026527405,
"start": 304,
"tag": "NAME",
"value": "name"
},
{
"context": "erwriteExisting\n\n\t\t\t\t\tattri... | config.coffee | mpneuried/simple-dynamo | 1 | CONFIG =
"_BASIC":
server:
port: 3000
host: null
aws:
accessKeyId: "-"
secretAccessKey: "-"
dynamo:
region: "eu-west-1"
tables:
"User":
name: "users"
hashKey: "_id"
overwriteExistingHash: false
# overwriteExisting
attributes: [
{ key: "name", type: "st... | 30045 | CONFIG =
"_BASIC":
server:
port: 3000
host: null
aws:
accessKeyId: "-"
secretAccessKey: "-"
dynamo:
region: "eu-west-1"
tables:
"User":
name: "users"
hashKey: "_id"
overwriteExistingHash: false
# overwriteExisting
attributes: [
{ key: "<NAME>", type: "... | true | CONFIG =
"_BASIC":
server:
port: 3000
host: null
aws:
accessKeyId: "-"
secretAccessKey: "-"
dynamo:
region: "eu-west-1"
tables:
"User":
name: "users"
hashKey: "_id"
overwriteExistingHash: false
# overwriteExisting
attributes: [
{ key: "PI:NAME:<NAME>EN... |
[
{
"context": "homepage-srvr\n web page for bace\n\n copyright mark hahn 2013\n MIT license\n https://github.com/mark-",
"end": 82,
"score": 0.9998342990875244,
"start": 73,
"tag": "NAME",
"value": "mark hahn"
},
{
"context": " hahn 2013\n MIT license\n https://githu... | src/server/homepage-srvr.coffee | mark-hahn/bace | 1 | ###
file: src/server/homepage-srvr
web page for bace
copyright mark hahn 2013
MIT license
https://github.com/mark-hahn/bace/
###
tea = require 'teacup'
{render, doctype,html,head,meta,title,style,body,
div,link,script,h4,img,table,tr,td,text,iframe} = tea
exports.render = ->
render ->
doctype 5
... | 50496 | ###
file: src/server/homepage-srvr
web page for bace
copyright <NAME> 2013
MIT license
https://github.com/mark-hahn/bace/
###
tea = require 'teacup'
{render, doctype,html,head,meta,title,style,body,
div,link,script,h4,img,table,tr,td,text,iframe} = tea
exports.render = ->
render ->
doctype 5
h... | true | ###
file: src/server/homepage-srvr
web page for bace
copyright PI:NAME:<NAME>END_PI 2013
MIT license
https://github.com/mark-hahn/bace/
###
tea = require 'teacup'
{render, doctype,html,head,meta,title,style,body,
div,link,script,h4,img,table,tr,td,text,iframe} = tea
exports.render = ->
render ->
... |
[
{
"context": "de fogos de artifício;\"\n comboDJ:\n name: \"Combo DevilJail\"\n price: 15\n color: \"#b362b0\"\n tex",
"end": 3525,
"score": 0.999792218208313,
"start": 3510,
"tag": "NAME",
"value": "Combo DevilJail"
}
] | devilservers-xmas-store-project/script.coffee | FelixLuciano/arquivo | 0 | $ ->
$("*[animated]").each ( index, callback ) ->
$this = $ this
$.each callback.attributes, ( index, callback ) ->
$val = callback.value.split " "
if callback.name == "animated"
$this
.addClass("animated " + $val[0] )
.css("animation-delay", $val[1] + "s" )
... | 71950 | $ ->
$("*[animated]").each ( index, callback ) ->
$this = $ this
$.each callback.attributes, ( index, callback ) ->
$val = callback.value.split " "
if callback.name == "animated"
$this
.addClass("animated " + $val[0] )
.css("animation-delay", $val[1] + "s" )
... | true | $ ->
$("*[animated]").each ( index, callback ) ->
$this = $ this
$.each callback.attributes, ( index, callback ) ->
$val = callback.value.split " "
if callback.name == "animated"
$this
.addClass("animated " + $val[0] )
.css("animation-delay", $val[1] + "s" )
... |
[
{
"context": "ken: 1234\n default: true\n key: 'value'\n imageUrl: 'http://www.some.other.image",
"end": 331,
"score": 0.7051968574523926,
"start": 326,
"tag": "KEY",
"value": "value"
}
] | spec/unit/braintree/unknown_payment_method_spec.coffee | StreamCo/braintree_node | 0 | require('../../spec_helper')
{UnknownPaymentMethod} = require('../../../lib/braintree/unknown_payment_method')
describe "UnknownPaymentMethod", ->
describe "imageUrl", ->
it "returns the correct image url", ->
response =
unknownPaymentMethod:
token: 1234
default: true
... | 44474 | require('../../spec_helper')
{UnknownPaymentMethod} = require('../../../lib/braintree/unknown_payment_method')
describe "UnknownPaymentMethod", ->
describe "imageUrl", ->
it "returns the correct image url", ->
response =
unknownPaymentMethod:
token: 1234
default: true
... | true | require('../../spec_helper')
{UnknownPaymentMethod} = require('../../../lib/braintree/unknown_payment_method')
describe "UnknownPaymentMethod", ->
describe "imageUrl", ->
it "returns the correct image url", ->
response =
unknownPaymentMethod:
token: 1234
default: true
... |
[
{
"context": "bel>\n <label>Password <input type=\"password\" name=\"password\"></label>\n <button",
"end": 640,
"score": 0.9918874502182007,
"start": 632,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " <label>Password <input type=\"passwor... | spec/script_spec.coffee | ghuntley/zombie | 1 | { Vows, assert, brains, Browser } = require("./helpers")
Vows.describe("Scripts").addBatch
"basic":
topic: ->
brains.get "/script/living", (req, res)->
res.send """
<html>
<head>
<script src="/jquery.js"></script>
<script src="/sammy.js"></script>
... | 157446 | { Vows, assert, brains, Browser } = require("./helpers")
Vows.describe("Scripts").addBatch
"basic":
topic: ->
brains.get "/script/living", (req, res)->
res.send """
<html>
<head>
<script src="/jquery.js"></script>
<script src="/sammy.js"></script>
... | true | { Vows, assert, brains, Browser } = require("./helpers")
Vows.describe("Scripts").addBatch
"basic":
topic: ->
brains.get "/script/living", (req, res)->
res.send """
<html>
<head>
<script src="/jquery.js"></script>
<script src="/sammy.js"></script>
... |
[
{
"context": "if error\n resource.updateAttributes @params[@resourceName], (error) =>\n @respondWithStatus !!!error ",
"end": 22314,
"score": 0.5221518278121948,
"start": 22302,
"tag": "USERNAME",
"value": "resourceName"
},
{
"context": "rn callback.call @, error, null if... | dist/tower.coffee | ludicast/tower | 1 |
window.global ||= window
module = global.module || {}
global.Tower = Tower = {}
Tower.version = "0.3.0"
Tower.logger = console
require './support'
require './application'
require './client/application'
require './store'
require './client/store'
require './model'
require './view'... | 42996 |
window.global ||= window
module = global.module || {}
global.Tower = Tower = {}
Tower.version = "0.3.0"
Tower.logger = console
require './support'
require './application'
require './client/application'
require './store'
require './client/store'
require './model'
require './view'... | true |
window.global ||= window
module = global.module || {}
global.Tower = Tower = {}
Tower.version = "0.3.0"
Tower.logger = console
require './support'
require './application'
require './client/application'
require './store'
require './client/store'
require './model'
require './view'... |
[
{
"context": "ope', ($scope) ->\n $scope.persons = [\n name: 'green'\n age: 25\n createTime: '2012-10-10T06:11:32",
"end": 349,
"score": 0.9994710087776184,
"start": 344,
"tag": "NAME",
"value": "green"
},
{
"context": ": 13183284234\n money: 12.347878\n ,\n name: 'w... | src/filter/app.coffee | boiawang/angular-tutorial | 1 | angular.module 'app.filter', []
.filter 'orderAge', [() ->
return (persons) ->
return persons.sort (left, right) ->
a = left.age
b = right.age
if a isnt b
if a > b
return 1
if a < b
return -1
]
.controller 'FilterController', ['$scope', ($scope) ->
$scope... | 223610 | angular.module 'app.filter', []
.filter 'orderAge', [() ->
return (persons) ->
return persons.sort (left, right) ->
a = left.age
b = right.age
if a isnt b
if a > b
return 1
if a < b
return -1
]
.controller 'FilterController', ['$scope', ($scope) ->
$scope... | true | angular.module 'app.filter', []
.filter 'orderAge', [() ->
return (persons) ->
return persons.sort (left, right) ->
a = left.age
b = right.age
if a isnt b
if a > b
return 1
if a < b
return -1
]
.controller 'FilterController', ['$scope', ($scope) ->
$scope... |
[
{
"context": "##############################################\n#\n# Markus 1/23/2017\n#\n#####################################",
"end": 75,
"score": 0.9987528324127197,
"start": 69,
"tag": "NAME",
"value": "Markus"
}
] | server/methods/logging.coffee | agottschalk10/worklearn | 0 | ################################################################
#
# Markus 1/23/2017
#
################################################################
################################################################
Meteor.methods
log_navigation: (old_url, new_url) ->
user = get_profile_name_by_user_id this.userI... | 66891 | ################################################################
#
# <NAME> 1/23/2017
#
################################################################
################################################################
Meteor.methods
log_navigation: (old_url, new_url) ->
user = get_profile_name_by_user_id this.userI... | true | ################################################################
#
# PI:NAME:<NAME>END_PI 1/23/2017
#
################################################################
################################################################
Meteor.methods
log_navigation: (old_url, new_url) ->
user = get_profile_name_by_user... |
[
{
"context": ": 'nikita/admin@DOMAIN.COM'\n kadmin_password: 'test'\n ldap:\n url: 'ldap://openldap.domain'\n bi",
"end": 1095,
"score": 0.9995602965354919,
"start": 1091,
"tag": "PASSWORD",
"value": "test"
},
{
"context": "'\n binddn: 'cn=manager,cn=config'\n passwd:... | packages/core/test.sample.coffee | chibanemourad/node-nikita | 0 |
module.exports =
scratch: '/tmp/nikita-test-core'
tags:
api: true
api_if_os: false # disable_conditions_if_os
conditions_if_os: false
cron: false # disable_cron
db: false # disable_db
docker: false # disable_docker
docker_volume: false
krb5_addprinc: false
krb5_delprinc: false
... | 34305 |
module.exports =
scratch: '/tmp/nikita-test-core'
tags:
api: true
api_if_os: false # disable_conditions_if_os
conditions_if_os: false
cron: false # disable_cron
db: false # disable_db
docker: false # disable_docker
docker_volume: false
krb5_addprinc: false
krb5_delprinc: false
... | true |
module.exports =
scratch: '/tmp/nikita-test-core'
tags:
api: true
api_if_os: false # disable_conditions_if_os
conditions_if_os: false
cron: false # disable_cron
db: false # disable_db
docker: false # disable_docker
docker_volume: false
krb5_addprinc: false
krb5_delprinc: false
... |
[
{
"context": "ame: 'Cookinseln'},\r\n {value: 'CR', name: 'Costa Rica'},\r\n {value: 'CI', name: 'Cote d\\'Ivoire'}",
"end": 3358,
"score": 0.7162541151046753,
"start": 3348,
"tag": "NAME",
"value": "Costa Rica"
},
{
"context": "me: 'Costa Rica'},\r\n {value: 'CI... | coffeescripts/donate.coffee | MaziarBarzi/DTTextField | 0 | window.donateController = ['$scope', '$stateParams', '$translate', '$state', '$http',
($scope, $stateParams, $translate, $state, $http) ->
#Payment Intervals
$scope.paymentIntervals = [
{id: 1, name: 'DONATE_INTERVAL_ONCE'},
{id: 2, name: 'DONATE_INTERVAL_MONTHLY'},
{id: 3, name: 'DO... | 205776 | window.donateController = ['$scope', '$stateParams', '$translate', '$state', '$http',
($scope, $stateParams, $translate, $state, $http) ->
#Payment Intervals
$scope.paymentIntervals = [
{id: 1, name: 'DONATE_INTERVAL_ONCE'},
{id: 2, name: 'DONATE_INTERVAL_MONTHLY'},
{id: 3, name: 'DO... | true | window.donateController = ['$scope', '$stateParams', '$translate', '$state', '$http',
($scope, $stateParams, $translate, $state, $http) ->
#Payment Intervals
$scope.paymentIntervals = [
{id: 1, name: 'DONATE_INTERVAL_ONCE'},
{id: 2, name: 'DONATE_INTERVAL_MONTHLY'},
{id: 3, name: 'DO... |
[
{
"context": "thenReturn(\"yay\")\n Then -> @testDouble(key: \"testytest\") == \"yay\"\n Then -> @testDouble(key: 42) == ",
"end": 1824,
"score": 0.8478986620903015,
"start": 1815,
"tag": "KEY",
"value": "testytest"
}
] | node_modules/testdouble/test/src/when-test.coffee | fillipegb/toksaude-prototipo | 0 | describe 'when', ->
Given -> @testDouble = td.function()
describe 'no-arg stubbing', ->
context 'foo', ->
Given -> td.when(@testDouble()).thenReturn("foo")
Then -> @testDouble() == "foo"
context 'bar', ->
Given -> td.when(@testDouble()).thenReturn("bar")
Then -> @testDouble() == "ba... | 210559 | describe 'when', ->
Given -> @testDouble = td.function()
describe 'no-arg stubbing', ->
context 'foo', ->
Given -> td.when(@testDouble()).thenReturn("foo")
Then -> @testDouble() == "foo"
context 'bar', ->
Given -> td.when(@testDouble()).thenReturn("bar")
Then -> @testDouble() == "ba... | true | describe 'when', ->
Given -> @testDouble = td.function()
describe 'no-arg stubbing', ->
context 'foo', ->
Given -> td.when(@testDouble()).thenReturn("foo")
Then -> @testDouble() == "foo"
context 'bar', ->
Given -> td.when(@testDouble()).thenReturn("bar")
Then -> @testDouble() == "ba... |
[
{
"context": "hungry for fruit\"\n Cookie.set(\"password\",\"hungry for fruit\")\n\n region = Tamarind.knownDatabas",
"end": 2481,
"score": 0.6482526063919067,
"start": 2478,
"tag": "PASSWORD",
"value": "gry"
},
{
"context": "nd.dynamoDBClient = null\n username = Cookie.ge... | Tamarind.coffee | Coconut-Data/tamarind | 0 | Backbone = require 'backbone'
global.$ = require 'jquery'
Backbone.$ = $
global.Cookie = require 'js-cookie'
global.moment = require 'moment'
global._ = require 'underscore'
global.PouchDB = require('pouchdb-core')
PouchDB
.plugin(require 'pouchdb-adapter-http')
.plugin(require 'pouchdb-adapter-idb')
.plugin(re... | 195098 | Backbone = require 'backbone'
global.$ = require 'jquery'
Backbone.$ = $
global.Cookie = require 'js-cookie'
global.moment = require 'moment'
global._ = require 'underscore'
global.PouchDB = require('pouchdb-core')
PouchDB
.plugin(require 'pouchdb-adapter-http')
.plugin(require 'pouchdb-adapter-idb')
.plugin(re... | true | Backbone = require 'backbone'
global.$ = require 'jquery'
Backbone.$ = $
global.Cookie = require 'js-cookie'
global.moment = require 'moment'
global._ = require 'underscore'
global.PouchDB = require('pouchdb-core')
PouchDB
.plugin(require 'pouchdb-adapter-http')
.plugin(require 'pouchdb-adapter-idb')
.plugin(re... |
[
{
"context": "AndValidate(\n { type: 'email', value: 'tom@creative-workflow.berlin' }\n )\n\n it 'fails with invalid in",
"end": 611,
"score": 0.9999253749847412,
"start": 583,
"tag": "EMAIL",
"value": "tom@creative-workflow.berlin"
},
{
"context": "ateElem... | spec/rules_builtin.spec.coffee | creative-workflow/jquery.input.validator | 0 | describe 'jquery.input.validator', ->
$ = jQuery
helper = jasmine.helper
validator = $('body').iValidator()
generateAndValidate = (element) ->
validator.validateOne(
helper.generateElement(element)
)
describe "validateOne", ->
describe "rules", ->
describe "email", ->
... | 35106 | describe 'jquery.input.validator', ->
$ = jQuery
helper = jasmine.helper
validator = $('body').iValidator()
generateAndValidate = (element) ->
validator.validateOne(
helper.generateElement(element)
)
describe "validateOne", ->
describe "rules", ->
describe "email", ->
... | true | describe 'jquery.input.validator', ->
$ = jQuery
helper = jasmine.helper
validator = $('body').iValidator()
generateAndValidate = (element) ->
validator.validateOne(
helper.generateElement(element)
)
describe "validateOne", ->
describe "rules", ->
describe "email", ->
... |
[
{
"context": "= i18nService.get 'homeAbout'\n\n WARNING_KEY = 'warningSeen'\n warningSeen = () -> \n window.localStora",
"end": 581,
"score": 0.9941695928573608,
"start": 570,
"tag": "KEY",
"value": "warningSeen"
}
] | source/js/controllers/home_controller.coffee | jusso-dev/jila-mobile | 6 | class Controller
constructor: ($scope, $rootScope, i18nService) ->
$rootScope.$emit 'navigationConfig',
labelForTitle: i18nService.get 'homeTitle'
backAction: null
$scope.labelForDictionary = i18nService.get 'homeDictionary'
$scope.labelForCategories = i18nService.get 'homeCategories'
$s... | 73415 | class Controller
constructor: ($scope, $rootScope, i18nService) ->
$rootScope.$emit 'navigationConfig',
labelForTitle: i18nService.get 'homeTitle'
backAction: null
$scope.labelForDictionary = i18nService.get 'homeDictionary'
$scope.labelForCategories = i18nService.get 'homeCategories'
$s... | true | class Controller
constructor: ($scope, $rootScope, i18nService) ->
$rootScope.$emit 'navigationConfig',
labelForTitle: i18nService.get 'homeTitle'
backAction: null
$scope.labelForDictionary = i18nService.get 'homeDictionary'
$scope.labelForCategories = i18nService.get 'homeCategories'
$s... |
[
{
"context": "s']?.replace '{{title}}', title\n\n @name = name\n @title = title || name\n @state",
"end": 4086,
"score": 0.4641013741493225,
"start": 4082,
"tag": "NAME",
"value": "name"
}
] | app/ngapp/docflow/ui/actions.coffee | delightsoft/DSCommon | 1 | module = angular.module 'docflow.ui.actions', ['docflow.config']
module.constant 'docflowActionInProgressShowAfterDelayTime', 2000
module.constant 'docflowActionDoneHideDelayTime', 3000
module.directive 'docflowActionsContainer',
['$docflowActions', '$compile', '$animate',
(($docflowActions, $compile, $animate) -... | 62237 | module = angular.module 'docflow.ui.actions', ['docflow.config']
module.constant 'docflowActionInProgressShowAfterDelayTime', 2000
module.constant 'docflowActionDoneHideDelayTime', 3000
module.directive 'docflowActionsContainer',
['$docflowActions', '$compile', '$animate',
(($docflowActions, $compile, $animate) -... | true | module = angular.module 'docflow.ui.actions', ['docflow.config']
module.constant 'docflowActionInProgressShowAfterDelayTime', 2000
module.constant 'docflowActionDoneHideDelayTime', 3000
module.directive 'docflowActionsContainer',
['$docflowActions', '$compile', '$animate',
(($docflowActions, $compile, $animate) -... |
[
{
"context": "e connection\n request.get(\"/auth/temp?username=bot&password=bot\")\n .end (err, res) ->\n if er",
"end": 1584,
"score": 0.872797966003418,
"start": 1581,
"tag": "USERNAME",
"value": "bot"
},
{
"context": " request.get(\"/auth/temp?username=bot&password=b... | lobby/test/int/sockets/user-socket-int-test.coffee | towerstorm/game | 11 | app = require('../../../lib/app.coffee')
request = require("supertest")(app)
assert = require 'assert'
helpers = require '../helpers'
_ = require 'lodash'
socketIO = require('socket.io').listen(14001)
socketIO.set('log level', 1);
GlobalSocket = require('../../../sockets/global-socket.coffee')
globalSocket = new Global... | 172897 | app = require('../../../lib/app.coffee')
request = require("supertest")(app)
assert = require 'assert'
helpers = require '../helpers'
_ = require 'lodash'
socketIO = require('socket.io').listen(14001)
socketIO.set('log level', 1);
GlobalSocket = require('../../../sockets/global-socket.coffee')
globalSocket = new Global... | true | app = require('../../../lib/app.coffee')
request = require("supertest")(app)
assert = require 'assert'
helpers = require '../helpers'
_ = require 'lodash'
socketIO = require('socket.io').listen(14001)
socketIO.set('log level', 1);
GlobalSocket = require('../../../sockets/global-socket.coffee')
globalSocket = new Global... |
[
{
"context": "t is \"jira|github\")\n#\n# Commands:\n# \n# Author:\n# stuartf\n\nmodule.exports = (robot) ->\n cache = []\n\n # In",
"end": 515,
"score": 0.9996033310890198,
"start": 508,
"tag": "USERNAME",
"value": "stuartf"
},
{
"context": "= process.env.HUBOT_JIRA_USERNAME\n ... | src/scripts/jira-issues.coffee | fourkitchens/hubot-scripts | 1 | # Description:
# Looks up jira issues when they're mentioned in chat
#
# Will ignore users set in HUBOT_JIRA_IGNORE_USERS (by default, JIRA and GitHub).
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_JIRA_URL (format: "https://jira-domain.com:9090")
# HUBOT_JIRA_IGNORECASE (optional; default is "true")
#... | 154057 | # Description:
# Looks up jira issues when they're mentioned in chat
#
# Will ignore users set in HUBOT_JIRA_IGNORE_USERS (by default, JIRA and GitHub).
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_JIRA_URL (format: "https://jira-domain.com:9090")
# HUBOT_JIRA_IGNORECASE (optional; default is "true")
#... | true | # Description:
# Looks up jira issues when they're mentioned in chat
#
# Will ignore users set in HUBOT_JIRA_IGNORE_USERS (by default, JIRA and GitHub).
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_JIRA_URL (format: "https://jira-domain.com:9090")
# HUBOT_JIRA_IGNORECASE (optional; default is "true")
#... |
[
{
"context": " autoUpdatedAt: false\n\n mailgun:\n user: 'postmaster@sandbox9ed13e55b9bb4706ad96ab32dafb424b.mailgun.org'\n password: '029c4266ce20c2724188c094a111f123'",
"end": 402,
"score": 0.9997643828392029,
"start": 340,
"tag": "EMAIL",
"value": "postmaster@sandbox9ed13e55b9... | config/env/development.coffee | webzepter/cleveroad_test_task | 2 | mongoAdapter = require 'sails-mongo'
module.exports =
db:
adapters:
mongo: mongoAdapter
connections:
default:
adapter: 'mongo'
url: 'mongodb://localhost:27017/node-tt'
defaults:
migrate: 'alter'
autoPK: true
autoCreatedAt: false
autoUpdatedAt: false
... | 81514 | mongoAdapter = require 'sails-mongo'
module.exports =
db:
adapters:
mongo: mongoAdapter
connections:
default:
adapter: 'mongo'
url: 'mongodb://localhost:27017/node-tt'
defaults:
migrate: 'alter'
autoPK: true
autoCreatedAt: false
autoUpdatedAt: false
... | true | mongoAdapter = require 'sails-mongo'
module.exports =
db:
adapters:
mongo: mongoAdapter
connections:
default:
adapter: 'mongo'
url: 'mongodb://localhost:27017/node-tt'
defaults:
migrate: 'alter'
autoPK: true
autoCreatedAt: false
autoUpdatedAt: false
... |
[
{
"context": "\n view = null\n\n successForm = {\n firstName: 'A'\n lastName: 'B'\n email: 'C@D.com'\n phone",
"end": 174,
"score": 0.9997541308403015,
"start": 173,
"tag": "NAME",
"value": "A"
},
{
"context": "successForm = {\n firstName: 'A'\n lastName: 'B'\n ... | test/app/views/teachers/RequestQuoteView.spec.coffee | toivomattila/codecombat | 5 | RequestQuoteView = require 'views/teachers/RequestQuoteView'
forms = require 'core/forms'
describe 'RequestQuoteView', ->
view = null
successForm = {
firstName: 'A'
lastName: 'B'
email: 'C@D.com'
phoneNumber: '555-555-5555'
role: 'Teacher'
organization: 'School'
district: 'District'
... | 122013 | RequestQuoteView = require 'views/teachers/RequestQuoteView'
forms = require 'core/forms'
describe 'RequestQuoteView', ->
view = null
successForm = {
firstName: '<NAME>'
lastName: '<NAME>'
email: '<EMAIL>'
phoneNumber: '555-555-5555'
role: 'Teacher'
organization: 'School'
district: 'D... | true | RequestQuoteView = require 'views/teachers/RequestQuoteView'
forms = require 'core/forms'
describe 'RequestQuoteView', ->
view = null
successForm = {
firstName: 'PI:NAME:<NAME>END_PI'
lastName: 'PI:NAME:<NAME>END_PI'
email: 'PI:EMAIL:<EMAIL>END_PI'
phoneNumber: '555-555-5555'
role: 'Teacher'
... |
[
{
"context": "#\n# Copyright (c) 2020 Alexander Sporn. All rights reserved.\n#\n\nconfig = require './conf",
"end": 38,
"score": 0.9998772144317627,
"start": 23,
"tag": "NAME",
"value": "Alexander Sporn"
}
] | index.coffee | alexsporn/enocean-mqtt | 0 | #
# Copyright (c) 2020 Alexander Sporn. All rights reserved.
#
config = require './config.json'
mqtt = require 'mqtt'
Enocean = require './Enocean'
enocean = new Enocean(port: config.port)
client = mqtt.connect(config.mqtt, username: config.mqtt_username, password: config.mqtt_password, keepalive: 3600)
enocean.on '... | 126399 | #
# Copyright (c) 2020 <NAME>. All rights reserved.
#
config = require './config.json'
mqtt = require 'mqtt'
Enocean = require './Enocean'
enocean = new Enocean(port: config.port)
client = mqtt.connect(config.mqtt, username: config.mqtt_username, password: config.mqtt_password, keepalive: 3600)
enocean.on 'pressed',... | true | #
# Copyright (c) 2020 PI:NAME:<NAME>END_PI. All rights reserved.
#
config = require './config.json'
mqtt = require 'mqtt'
Enocean = require './Enocean'
enocean = new Enocean(port: config.port)
client = mqtt.connect(config.mqtt, username: config.mqtt_username, password: config.mqtt_password, keepalive: 3600)
enocean... |
[
{
"context": "Add data\n rows = [\n [5,'Bob',new Date()], # row by array\n [6, ",
"end": 2785,
"score": 0.9998759031295776,
"start": 2782,
"tag": "NAME",
"value": "Bob"
},
{
"context": ",new Date()], # row by array\n [6, 'Barbar... | server/excel/excel.coffee | kmcroft13/box-format-user-report | 0 | Excel = require( 'exceljs' )
# GREEN: FF92D050
# ORANGE: FFF8CBAD
# YELLOW: FFFFE699
# BLUE: FFB4C6E7
Meteor.methods(
createReport: (customerName) ->
check(customerName, Match.Any)
csvWb = new Excel.Workbook()
atlasReportData = new Array()
csvWb.csv.readFile("../../../../../server/excel/uploadedRepo... | 142461 | Excel = require( 'exceljs' )
# GREEN: FF92D050
# ORANGE: FFF8CBAD
# YELLOW: FFFFE699
# BLUE: FFB4C6E7
Meteor.methods(
createReport: (customerName) ->
check(customerName, Match.Any)
csvWb = new Excel.Workbook()
atlasReportData = new Array()
csvWb.csv.readFile("../../../../../server/excel/uploadedRepo... | true | Excel = require( 'exceljs' )
# GREEN: FF92D050
# ORANGE: FFF8CBAD
# YELLOW: FFFFE699
# BLUE: FFB4C6E7
Meteor.methods(
createReport: (customerName) ->
check(customerName, Match.Any)
csvWb = new Excel.Workbook()
atlasReportData = new Array()
csvWb.csv.readFile("../../../../../server/excel/uploadedRepo... |
[
{
"context": "\"localhost\"\n port: port\n username: 'foo@biz.biz'\n password: 'bar'\n\n describe 'authentic",
"end": 2125,
"score": 0.999921977519989,
"start": 2114,
"tag": "EMAIL",
"value": "foo@biz.biz"
},
{
"context": " username: 'foo@biz.biz'\n ... | test/services/exchange-service-spec.coffee | octoblu/bourse | 0 | {afterEach, beforeEach, context, describe, it} = global
{expect} = require 'chai'
_ = require 'lodash'
fs = require 'fs'
path = require 'path'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
base64 = require '../helpers/base64'
Exchange = require '../../src/services/exchange-service'
slurpFile = (... | 36956 | {afterEach, beforeEach, context, describe, it} = global
{expect} = require 'chai'
_ = require 'lodash'
fs = require 'fs'
path = require 'path'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
base64 = require '../helpers/base64'
Exchange = require '../../src/services/exchange-service'
slurpFile = (... | true | {afterEach, beforeEach, context, describe, it} = global
{expect} = require 'chai'
_ = require 'lodash'
fs = require 'fs'
path = require 'path'
shmock = require 'shmock'
enableDestroy = require 'server-destroy'
base64 = require '../helpers/base64'
Exchange = require '../../src/services/exchange-service'
slurpFile = (... |
[
{
"context": "Quo Module\n\n@namespace Quo\n@class Element\n\n@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi\n###\n\"use strict\"\n\n\n",
"end": 84,
"score": 0.9998387098312378,
"start": 63,
"tag": "NAME",
"value": "Javier Jimenez Villar"
},
{
"context": "uo\n@class Elem... | source/quo.element.coffee | lguzzon/QuoJS | 558 | ###
ELEMENT Quo Module
@namespace Quo
@class Element
@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
###
Get/Set attribute to a given instance element
@method attr
@param {string} Name of attribute
@param {string} [OPTIONAL] Value of attribute
###
$$.fn... | 160270 | ###
ELEMENT Quo Module
@namespace Quo
@class Element
@author <NAME> <<EMAIL>> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
###
Get/Set attribute to a given instance element
@method attr
@param {string} Name of attribute
@param {string} [OPTIONAL] Value of attribute
###
$$.fn.attr = (name, value) -... | true | ###
ELEMENT Quo Module
@namespace Quo
@class Element
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> || @soyjavi
###
"use strict"
do ($$ = Quo) ->
###
Get/Set attribute to a given instance element
@method attr
@param {string} Name of attribute
@param {string} [OPTIONAL] Value of attribute
###
... |
[
{
"context": "ut name=\"authenticity_token\" type=\"hidden\" value=\"r/4R6o85mAPcpp6nFjya/v9VjI/0314YxgVxkYM2vPk=\">--></div>\n\t\t\t\t\t<input name=\"file\" type=\"file\">\n ",
"end": 4113,
"score": 0.8348143696784973,
"start": 4068,
"tag": "KEY",
"value": "r/4R6o85mAPcpp6nFjya/v9VjI/0314Y... | app/assets/javascripts/swell_media/plugins/jquery.assetup.js.coffee | gkparishphilp/swell_media | 0 | #= require ./jquery.fileupload
#= require ./jquery.iframe-transport
assetup_counter = 0;
jQuery.assetdirect = (args) ->
args = {} if args == undefined
#window.console and console.log 'assetdirect', args
if args['progressBar']
$(args['progressBar']).removeClass('_'+per+'-per') for per in [0,5,10,15,20,25,30,35,... | 100605 | #= require ./jquery.fileupload
#= require ./jquery.iframe-transport
assetup_counter = 0;
jQuery.assetdirect = (args) ->
args = {} if args == undefined
#window.console and console.log 'assetdirect', args
if args['progressBar']
$(args['progressBar']).removeClass('_'+per+'-per') for per in [0,5,10,15,20,25,30,35,... | true | #= require ./jquery.fileupload
#= require ./jquery.iframe-transport
assetup_counter = 0;
jQuery.assetdirect = (args) ->
args = {} if args == undefined
#window.console and console.log 'assetdirect', args
if args['progressBar']
$(args['progressBar']).removeClass('_'+per+'-per') for per in [0,5,10,15,20,25,30,35,... |
[
{
"context": "re 'swig'\n\nleancloud = {\n \"applicationName\" : \"ywen_blog\",\n \"applicationId\": \"your id\",\n \"applicatio",
"end": 130,
"score": 0.8800698518753052,
"start": 121,
"tag": "USERNAME",
"value": "ywen_blog"
},
{
"context": "icationId\": \"your id\",\n \... | source/coffee/cloud/app.coffee | yaliyingwy/ywen-blog | 0 | 'use strict'
express = require 'express'
app = express()
swig = require 'swig'
leancloud = {
"applicationName" : "ywen_blog",
"applicationId": "your id",
"applicationKey": "your key",
"global": {
"avVersion": "0.3.1"
}
}
app.engine 'html', swig.renderFile
app.set 'views', 'cloud/views'
a... | 113245 | 'use strict'
express = require 'express'
app = express()
swig = require 'swig'
leancloud = {
"applicationName" : "ywen_blog",
"applicationId": "your id",
"applicationKey": "your <KEY>",
"global": {
"avVersion": "0.3.1"
}
}
app.engine 'html', swig.renderFile
app.set 'views', 'cloud/views'... | true | 'use strict'
express = require 'express'
app = express()
swig = require 'swig'
leancloud = {
"applicationName" : "ywen_blog",
"applicationId": "your id",
"applicationKey": "your PI:KEY:<KEY>END_PI",
"global": {
"avVersion": "0.3.1"
}
}
app.engine 'html', swig.renderFile
app.set 'views', ... |
[
{
"context": "###\n * DownloadStats\n * http://github.com/ingorichter/BracketsExtensionTweetBot\n *\n * Copyright (c) 201",
"end": 53,
"score": 0.9996300935745239,
"start": 42,
"tag": "USERNAME",
"value": "ingorichter"
},
{
"context": "BracketsExtensionTweetBot\n *\n * Copyright (c) ... | src/DownloadStats.coffee | ingorichter/BracketsExtensionTweetBot | 0 | ###
* DownloadStats
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 Ingo Richter
* Licensed under the MIT license.
###
'use strict'
path = require 'path'
_ = require 'lodash'
Promise = require 'bluebird'
fs = Promise.promisifyAll require 'fs'
p = fs.readFileAsync p... | 102095 | ###
* DownloadStats
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
'use strict'
path = require 'path'
_ = require 'lodash'
Promise = require 'bluebird'
fs = Promise.promisifyAll require 'fs'
p = fs.readFileAsync path.re... | true | ###
* DownloadStats
* http://github.com/ingorichter/BracketsExtensionTweetBot
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
'use strict'
path = require 'path'
_ = require 'lodash'
Promise = require 'bluebird'
fs = Promise.promisifyAll require 'fs'
p = fs.readFil... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9675344228744507,
"start": 16,
"tag": "NAME",
"value": "Konode"
},
{
"context": "\t\t\t\t})\n\t\t\t\t\tTableHeaderColumn({\n\t\t\t\t\t\tdataField: 'lastName'\n\t\t\t\t\t\td... | src/clientSelectionPage.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
_ = require 'underscore'
Imm = require 'immutable'
Async = require 'async'
Config = require './config'
Term = require ... | 197459 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
_ = require 'underscore'
Imm = require 'immutable'
Async = require 'async'
Config = require './config'
Term = require ... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
_ = require 'underscore'
Imm = require 'immutable'
Async = require 'async'
Config = require './config'
T... |
[
{
"context": "configOverwrite:\n # See https://github.com/jitsi/jitsi-meet/blob/master/config.js\n prejoinP",
"end": 1758,
"score": 0.9996046423912048,
"start": 1753,
"tag": "USERNAME",
"value": "jitsi"
},
{
"context": "ct: room.title\n defaultRemoteDisplayName: ... | client/TabJitsi.coffee | notaplanet/comingle | 37 | import React, {useEffect, useRef, useState} from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import useScript from 'react-script-hook'
import {Alert, Button, Card} from 'react-bootstrap'
import {Loading} from './Loading'
import {useName} from './Name'
import {getDark} from './Settings'
import {Tabs} fr... | 7366 | import React, {useEffect, useRef, useState} from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import useScript from 'react-script-hook'
import {Alert, Button, Card} from 'react-bootstrap'
import {Loading} from './Loading'
import {useName} from './Name'
import {getDark} from './Settings'
import {Tabs} fr... | true | import React, {useEffect, useRef, useState} from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import useScript from 'react-script-hook'
import {Alert, Button, Card} from 'react-bootstrap'
import {Loading} from './Loading'
import {useName} from './Name'
import {getDark} from './Settings'
import {Tabs} fr... |
[
{
"context": "##########################\n# Minday 0.009 Lykia\n# timer.coffee\n# Кнопка для таймера\n#############",
"end": 48,
"score": 0.8745150566101074,
"start": 43,
"tag": "NAME",
"value": "Lykia"
}
] | timer.coffee | agershun/minday | 0 | ##########################
# Minday 0.009 Lykia
# timer.coffee
# Кнопка для таймера
###########################
timer = {}
$$tick = null
$$bell = null
setTimer = ->
timer.state = off
$("#timer").click clickTimer
$$tick = document.getElementById("tick-audio")
$$bell = document.getElementById("bell-audio")
change... | 115630 | ##########################
# Minday 0.009 <NAME>
# timer.coffee
# Кнопка для таймера
###########################
timer = {}
$$tick = null
$$bell = null
setTimer = ->
timer.state = off
$("#timer").click clickTimer
$$tick = document.getElementById("tick-audio")
$$bell = document.getElementById("bell-audio")
chang... | true | ##########################
# Minday 0.009 PI:NAME:<NAME>END_PI
# timer.coffee
# Кнопка для таймера
###########################
timer = {}
$$tick = null
$$bell = null
setTimer = ->
timer.state = off
$("#timer").click clickTimer
$$tick = document.getElementById("tick-audio")
$$bell = document.getElementById("bell-... |
[
{
"context": "8d32ce4cb04/mist/subscribe/websocket?X-AUTH-TOKEN=eP524w9IpvfXQ8lRCcFBqLmdrMayUKOhHt3EAsuWojZiVJS7nz\",\n tags: [\"log\"],\n logging: ",
"end": 298,
"score": 0.9452414512634277,
"start": 248,
"tag": "KEY",
"value": "eP524w9IpvfXQ8lRCcFBqLmdrMayUKOhHt3EAsuWo... | stage/stage.coffee | nanobox-io/nanobox-dash-ui-logs | 1 | window.init = () ->
# scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]
#
options = {
liveConfig: {
url: "wss://proxy.nanobox.io/1c43fbab-8d75-4a38-b191-98d32ce4cb04/mist/subscribe/websocket?X-AUTH-TOKEN=eP524w9IpvfXQ8lRCcFBqLmdrMayUKOhHt3EAsuWojZiVJS7nz",
tags: ... | 98467 | window.init = () ->
# scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]
#
options = {
liveConfig: {
url: "wss://proxy.nanobox.io/1c43fbab-8d75-4a38-b191-98d32ce4cb04/mist/subscribe/websocket?X-AUTH-TOKEN=<KEY>",
tags: ["log"],
logging: {enabled: true,... | true | window.init = () ->
# scheme:[//[user:password@]host[:port]][/]path[?query][#fragment]
#
options = {
liveConfig: {
url: "wss://proxy.nanobox.io/1c43fbab-8d75-4a38-b191-98d32ce4cb04/mist/subscribe/websocket?X-AUTH-TOKEN=PI:KEY:<KEY>END_PI",
tags: ["log"],
logging: {e... |
[
{
"context": "rityE1__u1\"\n \n mx_hash_stub.hash_key = \"pre_op\"\n mx_hash_stub.hash_key_idx = 1\n mx_has",
"end": 3664,
"score": 0.9575136303901672,
"start": 3658,
"tag": "KEY",
"value": "pre_op"
},
{
"context": "rityE1__u2\"\n \n mx_hash_stub.hash_ke... | src/strict_gen_for_coverage.coffee | hu2prod/gram3 | 0 | # WARNING!!! AUTOGENERATED with gen_strict.coffee
module = @
{
Tokenizer
Token_parser
} = require './tokenizer'
tokenizer = new Tokenizer
tokenizer.parser_list.push (new Token_parser 'dollar_id', /^\$[_a-z0-9]+/i)
tokenizer.parser_list.push (new Token_parser 'hash_id', /^\#[_a-z0-9]+/i)
tokenizer.parser_list.push (... | 176931 | # WARNING!!! AUTOGENERATED with gen_strict.coffee
module = @
{
Tokenizer
Token_parser
} = require './tokenizer'
tokenizer = new Tokenizer
tokenizer.parser_list.push (new Token_parser 'dollar_id', /^\$[_a-z0-9]+/i)
tokenizer.parser_list.push (new Token_parser 'hash_id', /^\#[_a-z0-9]+/i)
tokenizer.parser_list.push (... | true | # WARNING!!! AUTOGENERATED with gen_strict.coffee
module = @
{
Tokenizer
Token_parser
} = require './tokenizer'
tokenizer = new Tokenizer
tokenizer.parser_list.push (new Token_parser 'dollar_id', /^\$[_a-z0-9]+/i)
tokenizer.parser_list.push (new Token_parser 'hash_id', /^\#[_a-z0-9]+/i)
tokenizer.parser_list.push (... |
[
{
"context": "\timporterPhone: '(495) 9210326'\n\t\timporterEmail: 'np@newproducts.ru'\n\n\t\texportDepartment: 'EXPORT DEPARTMENT'\n\t\texpor",
"end": 693,
"score": 0.9999299645423889,
"start": 676,
"tag": "EMAIL",
"value": "np@newproducts.ru"
},
{
"context": "rtDepartment: 'EXPORT ... | locale/en.coffee | winnlab/Polpharma | 0 | module.exports =
checkAge: 'ARE YOU OVER 18 YEARS OLD?'
yes: 'Yes'
no: 'No'
healthWarn: 'Excessive consumption of alcohol harm your health'
consume: 'consume <span class="clearfix"></span> reasonable'
allCocktails: 'All cocktails'
bottle: 'Bottle'
can: 'Can'
menu: 'Menu'
close: 'Close'
contacts:
contacts: ... | 54149 | module.exports =
checkAge: 'ARE YOU OVER 18 YEARS OLD?'
yes: 'Yes'
no: 'No'
healthWarn: 'Excessive consumption of alcohol harm your health'
consume: 'consume <span class="clearfix"></span> reasonable'
allCocktails: 'All cocktails'
bottle: 'Bottle'
can: 'Can'
menu: 'Menu'
close: 'Close'
contacts:
contacts: ... | true | module.exports =
checkAge: 'ARE YOU OVER 18 YEARS OLD?'
yes: 'Yes'
no: 'No'
healthWarn: 'Excessive consumption of alcohol harm your health'
consume: 'consume <span class="clearfix"></span> reasonable'
allCocktails: 'All cocktails'
bottle: 'Bottle'
can: 'Can'
menu: 'Menu'
close: 'Close'
contacts:
contacts: ... |
[
{
"context": "#\r\n# Author: Corey Auger\r\n# corey@nxtwv.com\r\n#\r\n\r\nplayWSComet = window.ang",
"end": 24,
"score": 0.9998841285705566,
"start": 13,
"tag": "NAME",
"value": "Corey Auger"
},
{
"context": "#\r\n# Author: Corey Auger\r\n# corey@nxtwv.com\r\n#\r\n\r\nplayWSComet = w... | app/assets/javascripts/app.coffee | coreyauger/play-websocket-comet | 1 | #
# Author: Corey Auger
# corey@nxtwv.com
#
playWSComet = window.angular.module('playWSComet', ['ngRoute','ngSanitize','ui.bootstrap','playWSCometControllers']);
playWSComet.config(($locationProvider,$routeProvider) ->
# $locationProvider.html5Mode(true);
$routeProvider.when('/home',
templateUrl: '/... | 161228 | #
# Author: <NAME>
# <EMAIL>
#
playWSComet = window.angular.module('playWSComet', ['ngRoute','ngSanitize','ui.bootstrap','playWSCometControllers']);
playWSComet.config(($locationProvider,$routeProvider) ->
# $locationProvider.html5Mode(true);
$routeProvider.when('/home',
templateUrl: '/assets/partia... | true | #
# Author: PI:NAME:<NAME>END_PI
# PI:EMAIL:<EMAIL>END_PI
#
playWSComet = window.angular.module('playWSComet', ['ngRoute','ngSanitize','ui.bootstrap','playWSCometControllers']);
playWSComet.config(($locationProvider,$routeProvider) ->
# $locationProvider.html5Mode(true);
$routeProvider.when('/home',
... |
[
{
"context": " sortable_id: \"getty-museum\"\n name: \"J. Paul Getty Museum\"\n default_profile_id: \"getty\"\n icon:\n",
"end": 500,
"score": 0.9998804330825806,
"start": 480,
"tag": "NAME",
"value": "J. Paul Getty Museum"
},
{
"context": "ault_profile_id: \... | src/desktop/test/models/profile.test.coffee | jo-rs/force | 0 | _ = require 'underscore'
{ fabricate } = require '@artsy/antigravity'
sd = require('sharify').data
should = require 'should'
Backbone = require 'backbone'
Profile = require '../../models/profile'
sinon = require 'sinon'
describe 'Profile', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@profile = new Profile(... | 10543 | _ = require 'underscore'
{ fabricate } = require '@artsy/antigravity'
sd = require('sharify').data
should = require 'should'
Backbone = require 'backbone'
Profile = require '../../models/profile'
sinon = require 'sinon'
describe 'Profile', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@profile = new Profile(... | true | _ = require 'underscore'
{ fabricate } = require '@artsy/antigravity'
sd = require('sharify').data
should = require 'should'
Backbone = require 'backbone'
Profile = require '../../models/profile'
sinon = require 'sinon'
describe 'Profile', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@profile = new Profile(... |
[
{
"context": "amming for microcontrollers\n# * Copyright (c) 2013 Jon Nordby <jononor@gmail.com>\n# * MicroFlo may be freely di",
"end": 90,
"score": 0.9998161196708679,
"start": 80,
"tag": "NAME",
"value": "Jon Nordby"
},
{
"context": "crocontrollers\n# * Copyright (c) 2013 Jon Nord... | lib/componentlib.coffee | microflo/microflo | 136 | # MicroFlo - Flow-Based Programming for microcontrollers
# * Copyright (c) 2013 Jon Nordby <jononor@gmail.com>
# * MicroFlo may be freely distributed under the MIT license
#
util = require "./util"
path = require "path"
fs = require "fs"
bluebird = require 'bluebird'
findHighestId = (components) ->
highest = 0
... | 175201 | # MicroFlo - Flow-Based Programming for microcontrollers
# * Copyright (c) 2013 <NAME> <<EMAIL>>
# * MicroFlo may be freely distributed under the MIT license
#
util = require "./util"
path = require "path"
fs = require "fs"
bluebird = require 'bluebird'
findHighestId = (components) ->
highest = 0
Object.keys(co... | true | # MicroFlo - Flow-Based Programming for microcontrollers
# * Copyright (c) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# * MicroFlo may be freely distributed under the MIT license
#
util = require "./util"
path = require "path"
fs = require "fs"
bluebird = require 'bluebird'
findHighestId = (components) ->
... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7560182809829712,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/cs/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/cs_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 225005 | bcv_parser = require("../../js/cs_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/cs_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "onfig.port\n\t\t\tusername\t: config.user\n\t\t\tpassword\t: config.pass\n\t\t\tprivateKey\t: config.privateKey\n\t\t\tpublicKey\t: ",
"end": 910,
"score": 0.9984483122825623,
"start": 899,
"tag": "PASSWORD",
"value": "config.pass"
}
] | src/scheme/sftp.coffee | smartmediaas/dploy | 290 | ssh2 = require "ssh2"
Signal = require "signals"
fs = require "fs"
module.exports = class SFTP
sftp : null
connection : null
connected : null
failed : null
closed : null
closing : null
constructor: ->
@connected = new Signal()
@failed = new Signal()
@closed = new Signal()
@closing = false
... | 9984 | ssh2 = require "ssh2"
Signal = require "signals"
fs = require "fs"
module.exports = class SFTP
sftp : null
connection : null
connected : null
failed : null
closed : null
closing : null
constructor: ->
@connected = new Signal()
@failed = new Signal()
@closed = new Signal()
@closing = false
... | true | ssh2 = require "ssh2"
Signal = require "signals"
fs = require "fs"
module.exports = class SFTP
sftp : null
connection : null
connected : null
failed : null
closed : null
closing : null
constructor: ->
@connected = new Signal()
@failed = new Signal()
@closed = new Signal()
@closing = false
... |
[
{
"context": "e bus <text> - responds with image\n#\n# Author:\n# Nick Peelman <nick@peelman.us>\n\nmodule.exports = (robot) ->\n ",
"end": 159,
"score": 0.9998360872268677,
"start": 147,
"tag": "NAME",
"value": "Nick Peelman"
},
{
"context": "responds with image\n#\n# Author:\n# ... | src/underthebus.coffee | peelman/hubot-underthebus | 0 | # Description
# Sometimes you need to quickly redirect blame
#
# Commands:
# <text> under the bus <text> - responds with image
#
# Author:
# Nick Peelman <nick@peelman.us>
module.exports = (robot) ->
robot.hear /.*(under the bus).*/i, (msg) ->
msg.send('http://i.imgur.com/1tph6Wf.jpg')
| 101389 | # Description
# Sometimes you need to quickly redirect blame
#
# Commands:
# <text> under the bus <text> - responds with image
#
# Author:
# <NAME> <<EMAIL>>
module.exports = (robot) ->
robot.hear /.*(under the bus).*/i, (msg) ->
msg.send('http://i.imgur.com/1tph6Wf.jpg')
| true | # Description
# Sometimes you need to quickly redirect blame
#
# Commands:
# <text> under the bus <text> - responds with image
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
module.exports = (robot) ->
robot.hear /.*(under the bus).*/i, (msg) ->
msg.send('http://i.imgur.com/1tph6Wf.jpg')
|
[
{
"context": "\n key =\n if wasTriggeredOnChange\n 'inProgressFly'\n else\n 'inProgress'\n if typeof va",
"end": 2988,
"score": 0.9663727879524231,
"start": 2975,
"tag": "KEY",
"value": "inProgressFly"
},
{
"context": "hange\n 'inProgressFly'\n ... | atom/packages/linter/lib/editor-linter.coffee | ericeslinger/dotfiles | 3 | {CompositeDisposable, Emitter, Range} = require 'atom'
Helpers = require './helpers'
class EditorLinter
constructor: (@linter, @editor) ->
@status = true
@messages = new Map
@inProgress = false
@inProgressFly = false
if @editor is atom.workspace.getActiveTextEditor()
@linter.views.updateLi... | 175745 | {CompositeDisposable, Emitter, Range} = require 'atom'
Helpers = require './helpers'
class EditorLinter
constructor: (@linter, @editor) ->
@status = true
@messages = new Map
@inProgress = false
@inProgressFly = false
if @editor is atom.workspace.getActiveTextEditor()
@linter.views.updateLi... | true | {CompositeDisposable, Emitter, Range} = require 'atom'
Helpers = require './helpers'
class EditorLinter
constructor: (@linter, @editor) ->
@status = true
@messages = new Map
@inProgress = false
@inProgressFly = false
if @editor is atom.workspace.getActiveTextEditor()
@linter.views.updateLi... |
[
{
"context": "ld not cause a syntax error.\n=>\n\n\nobj: {\n name: \"Fred\"\n\n bound: =>\n (==> print(this.name is \"Fred\")",
"end": 191,
"score": 0.9998264312744141,
"start": 187,
"tag": "NAME",
"value": "Fred"
},
{
"context": " \"Fred\"\n\n bound: =>\n (==> print(this.na... | test/fixtures/execution/test_functions.coffee | tlrobinson/coffee-script | 1 | x: 1
y: {}
y.x: => 3
print(x is 1)
print(typeof(y.x) is 'function')
print(y.x() is 3)
print(y.x.name is 'x')
# The empty function should not cause a syntax error.
=>
obj: {
name: "Fred"
bound: =>
(==> print(this.name is "Fred"))()
unbound: =>
(=> print(!this.name?))()
}
obj.unbound()
obj.bound()
... | 3079 | x: 1
y: {}
y.x: => 3
print(x is 1)
print(typeof(y.x) is 'function')
print(y.x() is 3)
print(y.x.name is 'x')
# The empty function should not cause a syntax error.
=>
obj: {
name: "<NAME>"
bound: =>
(==> print(this.name is "<NAME>"))()
unbound: =>
(=> print(!this.name?))()
}
obj.unbound()
obj.bound... | true | x: 1
y: {}
y.x: => 3
print(x is 1)
print(typeof(y.x) is 'function')
print(y.x() is 3)
print(y.x.name is 'x')
# The empty function should not cause a syntax error.
=>
obj: {
name: "PI:NAME:<NAME>END_PI"
bound: =>
(==> print(this.name is "PI:NAME:<NAME>END_PI"))()
unbound: =>
(=> print(!this.name?))(... |
[
{
"context": "ema = new Schema DBENGINE, database: '', username: DBUSER, password: DBPASS\nschema.log = (q) -> console.log",
"end": 320,
"score": 0.8037506937980652,
"start": 314,
"tag": "USERNAME",
"value": "DBUSER"
},
{
"context": "BENGINE, database: '', username: DBUSER, password:... | node_modules/resources/persistence/vendor/jugglingdb/test/migration_test.coffee | manecz/storytail | 0 | juggling = require('../index')
Schema = juggling.Schema
Text = Schema.Text
DBNAME = process.env.DBNAME || 'myapp_test'
DBUSER = process.env.DBUSER || 'root'
DBPASS = ''
DBENGINE = process.env.DBENGINE || 'mysql'
require('./spec_helper').init module.exports
schema = new Schema DBENGINE, database: '', username: DBUSER... | 131400 | juggling = require('../index')
Schema = juggling.Schema
Text = Schema.Text
DBNAME = process.env.DBNAME || 'myapp_test'
DBUSER = process.env.DBUSER || 'root'
DBPASS = ''
DBENGINE = process.env.DBENGINE || 'mysql'
require('./spec_helper').init module.exports
schema = new Schema DBENGINE, database: '', username: DBUSER... | true | juggling = require('../index')
Schema = juggling.Schema
Text = Schema.Text
DBNAME = process.env.DBNAME || 'myapp_test'
DBUSER = process.env.DBUSER || 'root'
DBPASS = ''
DBENGINE = process.env.DBENGINE || 'mysql'
require('./spec_helper').init module.exports
schema = new Schema DBENGINE, database: '', username: DBUSER... |
[
{
"context": "low weebs?\n ) and (\n msg.author?.id is \"456207047482933251\"\n # sadbot#3862\n ) and",
"end": 221,
"score": 0.893251359462738,
"start": 220,
"tag": "USERNAME",
"value": "4"
},
{
"context": "ow weebs?\n ) and (\n msg.author?.id is \"45620... | src/specials/who-up.coffee | MindfulMinun/discord-haruka | 2 | #! ========================================
#! who up
handler = (msg, Haruka) ->
tests = (
msg.guild?.id is "443094449233592325"
# how do you do, fellow weebs?
) and (
msg.author?.id is "456207047482933251"
# sadbot#3862
) and (
msg.content.startsWith 'who up'
... | 125840 | #! ========================================
#! who up
handler = (msg, Haruka) ->
tests = (
msg.guild?.id is "443094449233592325"
# how do you do, fellow weebs?
) and (
msg.author?.id is "4<PASSWORD>"
# sadbot#3862
) and (
msg.content.startsWith 'who up'
# "wh... | true | #! ========================================
#! who up
handler = (msg, Haruka) ->
tests = (
msg.guild?.id is "443094449233592325"
# how do you do, fellow weebs?
) and (
msg.author?.id is "4PI:PASSWORD:<PASSWORD>END_PI"
# sadbot#3862
) and (
msg.content.startsWith 'who... |
[
{
"context": " exec = Npm.require('child_process').exec\n\n pwd = process.env.PWD\n mongo_path = Meteor.settings.private?.mongo_pat",
"end": 127,
"score": 0.8762305378913879,
"start": 112,
"tag": "PASSWORD",
"value": "process.env.PWD"
},
{
"context": "go_host = Meteor.settings.priv... | packages/_tests/fixtures.coffee | ecohealthalliance/eidr-connect | 1 | if Meteor.isAppTest
#import { exec } from 'child_process'
exec = Npm.require('child_process').exec
pwd = process.env.PWD
mongo_path = Meteor.settings.private?.mongo_path || "#{pwd}/node_modules/mongodb-prebuilt/binjs"
mongo_host = Meteor.settings.private?.mongo_host || '127.0.0.1'
mongo_port = Meteor.setti... | 222602 | if Meteor.isAppTest
#import { exec } from 'child_process'
exec = Npm.require('child_process').exec
pwd = <PASSWORD>
mongo_path = Meteor.settings.private?.mongo_path || "#{pwd}/node_modules/mongodb-prebuilt/binjs"
mongo_host = Meteor.settings.private?.mongo_host || '127.0.0.1'
mongo_port = Meteor.settings.p... | true | if Meteor.isAppTest
#import { exec } from 'child_process'
exec = Npm.require('child_process').exec
pwd = PI:PASSWORD:<PASSWORD>END_PI
mongo_path = Meteor.settings.private?.mongo_path || "#{pwd}/node_modules/mongodb-prebuilt/binjs"
mongo_host = Meteor.settings.private?.mongo_host || '127.0.0.1'
mongo_port =... |
[
{
"context": "seio.com').child('riders');\n#ref.push({\n# nick: 'Jake',\n# capacity: 0\n#})\n#\n#ref.on('child_added', fun",
"end": 423,
"score": 0.9967777729034424,
"start": 419,
"tag": "NAME",
"value": "Jake"
}
] | client/js/lib/app.coffee | jaketrent/takemycar | 0 | App = Ember.Application.create()
App.Store = FP.Store.extend
firebaseRoot: window.env.firebaseRoot
App.Router.map ->
@route 'welcome', { path: '/' }
@route 'match', { path: '/match' }
@route 'drive', { path: '/drive' }
Ember.TEMPLATES = {}
Ember.TextField.reopen
attributeBindings: ['autofocus']
#ref = n... | 175885 | App = Ember.Application.create()
App.Store = FP.Store.extend
firebaseRoot: window.env.firebaseRoot
App.Router.map ->
@route 'welcome', { path: '/' }
@route 'match', { path: '/match' }
@route 'drive', { path: '/drive' }
Ember.TEMPLATES = {}
Ember.TextField.reopen
attributeBindings: ['autofocus']
#ref = n... | true | App = Ember.Application.create()
App.Store = FP.Store.extend
firebaseRoot: window.env.firebaseRoot
App.Router.map ->
@route 'welcome', { path: '/' }
@route 'match', { path: '/match' }
@route 'drive', { path: '/drive' }
Ember.TEMPLATES = {}
Ember.TextField.reopen
attributeBindings: ['autofocus']
#ref = n... |
[
{
"context": "med.load._async = true\nP.src.pubmed.load._auth = 'root'\n\n\nP.src.pubmed.changes = () ->\n return @src.pub",
"end": 11022,
"score": 0.9324471354484558,
"start": 11018,
"tag": "USERNAME",
"value": "root"
},
{
"context": "anges._async = true\nP.src.pubmed.changes._auth... | server/src/src/pubmed.coffee | oaworks/paradigm | 1 |
# https://www.nlm.nih.gov/databases/download/pubmed_medline.html
# https://www.nlm.nih.gov/bsd/licensee/2021_stats/2021_LO.html
# in case the medline data does not include all PMCs or PMIDs, there is a converter API
# and/or PMC sources that could be used to map things (with just over 6 million PMC IDs in the pubmed ... | 30367 |
# https://www.nlm.nih.gov/databases/download/pubmed_medline.html
# https://www.nlm.nih.gov/bsd/licensee/2021_stats/2021_LO.html
# in case the medline data does not include all PMCs or PMIDs, there is a converter API
# and/or PMC sources that could be used to map things (with just over 6 million PMC IDs in the pubmed ... | true |
# https://www.nlm.nih.gov/databases/download/pubmed_medline.html
# https://www.nlm.nih.gov/bsd/licensee/2021_stats/2021_LO.html
# in case the medline data does not include all PMCs or PMIDs, there is a converter API
# and/or PMC sources that could be used to map things (with just over 6 million PMC IDs in the pubmed ... |
[
{
"context": "ndow.mockedCards = [\n {\n \"id\": 1\n \"name\": \"Cellar\"\n \"cost_in_text\": \"2\"\n \"cost_in_coins\": 2\n ",
"end": 121,
"score": 0.9992427825927734,
"start": 115,
"tag": "NAME",
"value": "Cellar"
},
{
"context": "esOneCard\"\n ]\n }\n {\n \"id... | spec/javascripts/spec_helper.coffee | jonkerz/kingscourt | 2 | #= require application
#= require angular-mocks/angular-mocks
window.mockedCards = [
{
"id": 1
"name": "Cellar"
"cost_in_text": "2"
"cost_in_coins": 2
"text": "+1 Action<br />Discard any number of cards.<br />+1 Card per card discarded."
"card_attributes": [
"isAction"
"givesActio... | 43745 | #= require application
#= require angular-mocks/angular-mocks
window.mockedCards = [
{
"id": 1
"name": "<NAME>"
"cost_in_text": "2"
"cost_in_coins": 2
"text": "+1 Action<br />Discard any number of cards.<br />+1 Card per card discarded."
"card_attributes": [
"isAction"
"givesActio... | true | #= require application
#= require angular-mocks/angular-mocks
window.mockedCards = [
{
"id": 1
"name": "PI:NAME:<NAME>END_PI"
"cost_in_text": "2"
"cost_in_coins": 2
"text": "+1 Action<br />Discard any number of cards.<br />+1 Card per card discarded."
"card_attributes": [
"isAction"
... |
[
{
"context": " Markdown Editor\n# Last Revised: April 23, 2015 by Ben Gotow\n#\n# Markdown editor is a simple React component t",
"end": 61,
"score": 0.9996638894081116,
"start": 52,
"tag": "NAME",
"value": "Ben Gotow"
}
] | packages/client-app/internal_packages/composer-markdown/lib/main.cjsx | cnheider/nylas-mail | 24,369 | # Markdown Editor
# Last Revised: April 23, 2015 by Ben Gotow
#
# Markdown editor is a simple React component that allows you to type your
# emails in markdown and see the live preview of your email in html
#
{ExtensionRegistry, ComponentRegistry} = require 'nylas-exports'
MarkdownEditor = require './markdown-editor'
M... | 126739 | # Markdown Editor
# Last Revised: April 23, 2015 by <NAME>
#
# Markdown editor is a simple React component that allows you to type your
# emails in markdown and see the live preview of your email in html
#
{ExtensionRegistry, ComponentRegistry} = require 'nylas-exports'
MarkdownEditor = require './markdown-editor'
Mark... | true | # Markdown Editor
# Last Revised: April 23, 2015 by PI:NAME:<NAME>END_PI
#
# Markdown editor is a simple React component that allows you to type your
# emails in markdown and see the live preview of your email in html
#
{ExtensionRegistry, ComponentRegistry} = require 'nylas-exports'
MarkdownEditor = require './markdow... |
[
{
"context": "tsearch(\n appId: 'AJCEDEJVN8'\n apiKey: 'a79a1de365422bb69ce8b0b1af128e43'\n indexName: 'spree_products_' + rails_env\n ",
"end": 514,
"score": 0.9997512698173523,
"start": 482,
"tag": "KEY",
"value": "a79a1de365422bb69ce8b0b1af128e43"
}
] | app/assets/javascripts/spree/frontend/spree_algolia_products.coffee | ThomasBush/spree_algolia_products | 1 | $(document).on 'ready page:load', ->
if $('#product-index-main').length > 0
rails_env = $('#product-index-main').data('rails-env')
current_industry = $('#product-index-main').data('current-industry')
search_parameters = {}
if current_industry.length > 0
search_parameters = {
facets: [... | 70864 | $(document).on 'ready page:load', ->
if $('#product-index-main').length > 0
rails_env = $('#product-index-main').data('rails-env')
current_industry = $('#product-index-main').data('current-industry')
search_parameters = {}
if current_industry.length > 0
search_parameters = {
facets: [... | true | $(document).on 'ready page:load', ->
if $('#product-index-main').length > 0
rails_env = $('#product-index-main').data('rails-env')
current_industry = $('#product-index-main').data('current-industry')
search_parameters = {}
if current_industry.length > 0
search_parameters = {
facets: [... |
[
{
"context": "File: (funcOpts={}) ->\n\t\tfuncOpts.mainKeyName ?= \"指标名称\"\n\t\tjson = JSONUtils.getJSON(funcOpts)\n\t\tindicator",
"end": 1509,
"score": 0.9183341860771179,
"start": 1505,
"tag": "KEY",
"value": "指标名称"
},
{
"context": " k, obj of mannual\n\t\t\t\tkey = @fixedKey k.re... | analyze/indicatorDef.coffee | Tostig0916/hqcoffee | 2 | {JSONUtils} = require './jsonUtils'
#fs = require 'fs'
#path = require 'path'
#pptxgen = require 'pptxgenjs'
#xlsx = require 'json-as-xlsx'
class IndicatorDefCategory
constructor: (funcOpts={}) ->
{@name} = funcOpts
@subs = []
addInfo: (funcOpts={}) ->
{subName} = funcOpts
@subs.push(subName) unless s... | 77582 | {JSONUtils} = require './jsonUtils'
#fs = require 'fs'
#path = require 'path'
#pptxgen = require 'pptxgenjs'
#xlsx = require 'json-as-xlsx'
class IndicatorDefCategory
constructor: (funcOpts={}) ->
{@name} = funcOpts
@subs = []
addInfo: (funcOpts={}) ->
{subName} = funcOpts
@subs.push(subName) unless s... | true | {JSONUtils} = require './jsonUtils'
#fs = require 'fs'
#path = require 'path'
#pptxgen = require 'pptxgenjs'
#xlsx = require 'json-as-xlsx'
class IndicatorDefCategory
constructor: (funcOpts={}) ->
{@name} = funcOpts
@subs = []
addInfo: (funcOpts={}) ->
{subName} = funcOpts
@subs.push(subName) unless s... |
[
{
"context": "d to parentWidget\n setting = {}\n setting.key = \"organizations\"\n setting.isInitialized = false\n\n # initializat",
"end": 1010,
"score": 0.9922223687171936,
"start": 997,
"tag": "KEY",
"value": "organizations"
}
] | src/components/widgets-settings/organizations/organizations.directive.coffee | maestrano/impac-angular | 7 | module = angular.module('impac.components.widgets-settings.organizations',[])
module.controller('SettingOrganizationsCtrl', ($scope, $log, ImpacDashboardsSvc, ImpacMainSvc, ImpacWidgetsSvc) ->
w = $scope.parentWidget
w.selectedOrganizations = {}
$scope.mode ||= 'multiple'
$scope.multiOrgMode = -> $scope.mode... | 81727 | module = angular.module('impac.components.widgets-settings.organizations',[])
module.controller('SettingOrganizationsCtrl', ($scope, $log, ImpacDashboardsSvc, ImpacMainSvc, ImpacWidgetsSvc) ->
w = $scope.parentWidget
w.selectedOrganizations = {}
$scope.mode ||= 'multiple'
$scope.multiOrgMode = -> $scope.mode... | true | module = angular.module('impac.components.widgets-settings.organizations',[])
module.controller('SettingOrganizationsCtrl', ($scope, $log, ImpacDashboardsSvc, ImpacMainSvc, ImpacWidgetsSvc) ->
w = $scope.parentWidget
w.selectedOrganizations = {}
$scope.mode ||= 'multiple'
$scope.multiOrgMode = -> $scope.mode... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998577237129211,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/table.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a table to the editable
((jQuery) ->
jQuery.widget 'IKS.hallotable',
dropdownform: null
tmpid: 0
selected_row: null
... | 99389 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a table to the editable
((jQuery) ->
jQuery.widget 'IKS.hallotable',
dropdownform: null
tmpid: 0
selected_row: null
sele... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a table to the editable
((jQuery) ->
jQuery.widget 'IKS.hallotable',
dropdownform: null
tmpid: 0
selected_row:... |
[
{
"context": "o.copy buf, ++i\n i += algo.length\n\n # password : string(20)\n buf[i] = 0xb4\n pass = scramble opts.passwo",
"end": 491,
"score": 0.9574483036994934,
"start": 485,
"tag": "PASSWORD",
"value": "string"
},
{
"context": "f, ++i\n i += algo.length\n\n # password : s... | src/commands/auth.coffee | aleclarson/duran | 0 | msgpack = require "msgpack-lite"
crypto = require "crypto"
ip = require "../iproto"
algo = msgpack.encode "chap-sha1"
module.exports = (opts) ->
user = msgpack.encode opts.user
buf = @alloc 44 + user.length
# map with 2 pairs
buf[i = 14] = 0x82
# username : string
buf[++i] = ip.USERNAME
user.copy buf,... | 208609 | msgpack = require "msgpack-lite"
crypto = require "crypto"
ip = require "../iproto"
algo = msgpack.encode "chap-sha1"
module.exports = (opts) ->
user = msgpack.encode opts.user
buf = @alloc 44 + user.length
# map with 2 pairs
buf[i = 14] = 0x82
# username : string
buf[++i] = ip.USERNAME
user.copy buf,... | true | msgpack = require "msgpack-lite"
crypto = require "crypto"
ip = require "../iproto"
algo = msgpack.encode "chap-sha1"
module.exports = (opts) ->
user = msgpack.encode opts.user
buf = @alloc 44 + user.length
# map with 2 pairs
buf[i = 14] = 0x82
# username : string
buf[++i] = ip.USERNAME
user.copy buf,... |
[
{
"context": "# Author: Thinh Pham\n# Email: nhim175@gmail.com\n\nScorpion = require '.",
"end": 20,
"score": 0.9998495578765869,
"start": 10,
"tag": "NAME",
"value": "Thinh Pham"
},
{
"context": "# Author: Thinh Pham\n# Email: nhim175@gmail.com\n\nScorpion = require './scorpion.coff... | src/lib/fast_scorpion.coffee | nhim175/scorpionsmasher | 0 | # Author: Thinh Pham
# Email: nhim175@gmail.com
Scorpion = require './scorpion.coffee'
class FastScorpion extends Scorpion
runFrames: Phaser.Animation.generateFrameNames('x', 1, 5, '.png', 0)
dieFrames: ['x6.png']
speed: 5
module.exports = FastScorpion | 98928 | # Author: <NAME>
# Email: <EMAIL>
Scorpion = require './scorpion.coffee'
class FastScorpion extends Scorpion
runFrames: Phaser.Animation.generateFrameNames('x', 1, 5, '.png', 0)
dieFrames: ['x6.png']
speed: 5
module.exports = FastScorpion | true | # Author: PI:NAME:<NAME>END_PI
# Email: PI:EMAIL:<EMAIL>END_PI
Scorpion = require './scorpion.coffee'
class FastScorpion extends Scorpion
runFrames: Phaser.Animation.generateFrameNames('x', 1, 5, '.png', 0)
dieFrames: ['x6.png']
speed: 5
module.exports = FastScorpion |
[
{
"context": "\n new Element\n key: parentName = \"myParent\"\n e = new Element\n size: 50\n ",
"end": 11034,
"score": 0.9994440674781799,
"start": 11026,
"tag": "USERNAME",
"value": "myParent"
},
{
"context": "ew Element\n size: 50\n ... | test/tests/Art.Engine/ZAnimation/PersistantAnimator.coffee | Imikimi-LLC/art.engine | 4 | {log, isPlainObject, currentSecond} = require 'art-foundation'
{point} = require 'art-atomic'
{Element, RectangleElement, PersistantAnimator} = require 'art-engine'
module.exports = suite:
"legal values": ->
test "animators: 'opacity'", ->
e = new Element animators: 'opacity'
e.onNextReady ->
... | 12793 | {log, isPlainObject, currentSecond} = require 'art-foundation'
{point} = require 'art-atomic'
{Element, RectangleElement, PersistantAnimator} = require 'art-engine'
module.exports = suite:
"legal values": ->
test "animators: 'opacity'", ->
e = new Element animators: 'opacity'
e.onNextReady ->
... | true | {log, isPlainObject, currentSecond} = require 'art-foundation'
{point} = require 'art-atomic'
{Element, RectangleElement, PersistantAnimator} = require 'art-engine'
module.exports = suite:
"legal values": ->
test "animators: 'opacity'", ->
e = new Element animators: 'opacity'
e.onNextReady ->
... |
[
{
"context": "rn fn()\n firebase.initializeApp\n apiKey: \"AIzaSyAXxUJr9p5lMcN8_XXsn-ugsKUTQvXKoRc\",\n authDomain: \"js-play-cd3d8.firebaseapp.co",
"end": 202,
"score": 0.9997667074203491,
"start": 163,
"tag": "KEY",
"value": "AIzaSyAXxUJr9p5lMcN8_XXsn-ugsKUTQvXKoRc"
}
] | src/scripts/services/database.coffee | jpillora/js-play | 11 | App.factory 'database', () ->
#init and auth
db = null
user = null
prepare = (fn) ->
if db
return fn()
firebase.initializeApp
apiKey: "AIzaSyAXxUJr9p5lMcN8_XXsn-ugsKUTQvXKoRc",
authDomain: "js-play-cd3d8.firebaseapp.com",
databaseURL: "https://js-play-cd3d8.firebaseio.com",
... | 16235 | App.factory 'database', () ->
#init and auth
db = null
user = null
prepare = (fn) ->
if db
return fn()
firebase.initializeApp
apiKey: "<KEY>",
authDomain: "js-play-cd3d8.firebaseapp.com",
databaseURL: "https://js-play-cd3d8.firebaseio.com",
storageBucket: ""
db = window... | true | App.factory 'database', () ->
#init and auth
db = null
user = null
prepare = (fn) ->
if db
return fn()
firebase.initializeApp
apiKey: "PI:KEY:<KEY>END_PI",
authDomain: "js-play-cd3d8.firebaseapp.com",
databaseURL: "https://js-play-cd3d8.firebaseio.com",
storageBucket: ""
... |
[
{
"context": "lating framework in ~400 bytes gzipped\n\n @author Jason Mooberry <jasonmoo@me.com> (ported by David Rekow <david a",
"end": 256,
"score": 0.9998924136161804,
"start": 242,
"tag": "NAME",
"value": "Jason Mooberry"
},
{
"context": "in ~400 bytes gzipped\n\n @author J... | t.coffee | davidrekow/t.coffee | 2 | ###
_ __ __
| |_ __ ___ / _|/ _|___ ___
| _|_/ _/ _ \ _| _/ -_) -_)
\__(_)__\___/_| |_| \___\___|
t.coffee - CoffeeScript port of t.js,
a micro-templating framework in ~400 bytes gzipped
@author Jason Mooberry <jasonmoo@me.com> (ported by David Rekow <david at davidrekow.c... | 207068 | ###
_ __ __
| |_ __ ___ / _|/ _|___ ___
| _|_/ _/ _ \ _| _/ -_) -_)
\__(_)__\___/_| |_| \___\___|
t.coffee - CoffeeScript port of t.js,
a micro-templating framework in ~400 bytes gzipped
@author <NAME> <<EMAIL>> (ported by <NAME> <david at davidrekow.com>)
@license MIT
... | true | ###
_ __ __
| |_ __ ___ / _|/ _|___ ___
| _|_/ _/ _ \ _| _/ -_) -_)
\__(_)__\___/_| |_| \___\___|
t.coffee - CoffeeScript port of t.js,
a micro-templating framework in ~400 bytes gzipped
@author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (ported by PI:NAME:<NAME>END_PI ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.