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": " @conf.setCredentialsByURI base,\n username: pre.username\n password: pre.password\n email: pre",
"end": 873,
"score": 0.9894747734069824,
"start": 861,
"tag": "USERNAME",
"value": "pre.username"
},
{
"context": ",\n username: pre.username\n ... | deps/npm/node_modules/npm-registry-client/lib/adduser.coffee | lxe/io.coffee | 0 | adduser = (base, username, password, email, cb) ->
# pluck off any other username/password/token. it needs to be the
# same as the user we're becoming now. replace them on error.
# if it worked, then we just created a new user, and all is well.
# but if we're updating a current record, then it'll 409 fi... | 100134 | adduser = (base, username, password, email, cb) ->
# pluck off any other username/password/token. it needs to be the
# same as the user we're becoming now. replace them on error.
# if it worked, then we just created a new user, and all is well.
# but if we're updating a current record, then it'll 409 fi... | true | adduser = (base, username, password, email, cb) ->
# pluck off any other username/password/token. it needs to be the
# same as the user we're becoming now. replace them on error.
# if it worked, then we just created a new user, and all is well.
# but if we're updating a current record, then it'll 409 fi... |
[
{
"context": "a subobject', ->\n context = { author: { name: 'jonas' } }\n\n @render '''\n article\n - in ",
"end": 204,
"score": 0.9991446137428284,
"start": 199,
"tag": "NAME",
"value": "jonas"
},
{
"context": "le children', ->\n context = { author: { name: 'jo... | test/integration/in.spec.coffee | jnicklas/serenade.js | 1 | require './../spec_helper'
Serenade = require("../../lib/serenade")
describe 'In', ->
beforeEach ->
@setupDom()
it 'changes the context to a subobject', ->
context = { author: { name: 'jonas' } }
@render '''
article
- in $author
p[id=name]
''', context
expect(@body).to... | 42993 | require './../spec_helper'
Serenade = require("../../lib/serenade")
describe 'In', ->
beforeEach ->
@setupDom()
it 'changes the context to a subobject', ->
context = { author: { name: '<NAME>' } }
@render '''
article
- in $author
p[id=name]
''', context
expect(@body).t... | true | require './../spec_helper'
Serenade = require("../../lib/serenade")
describe 'In', ->
beforeEach ->
@setupDom()
it 'changes the context to a subobject', ->
context = { author: { name: 'PI:NAME:<NAME>END_PI' } }
@render '''
article
- in $author
p[id=name]
''', context
e... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992174506187439,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-append-file.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 104666 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "s a random quote from the simpsons\n#\n# Author:\n# jjasghar\n# omardelarosa\n#\n\n\n# Quotes Via: http://www.man",
"end": 288,
"score": 0.998824417591095,
"start": 280,
"tag": "USERNAME",
"value": "jjasghar"
},
{
"context": "ote from the simpsons\n#\n# Author:\n# ... | src/thesimpsons.coffee | omardelarosa/hubot-thesimpsons | 18 | # Description
# A Simpsons Quote and Image Generator for Hubots.
#
# Configuration:
# None
#
# Commands:
# hubot simpsons image me - displays a random image from imgur.com/r/TheSimpsons
# hubot simpsons quote me - displays a random quote from the simpsons
#
# Author:
# jjasghar
# omardelarosa
#
# Quotes V... | 220883 | # Description
# A Simpsons Quote and Image Generator for Hubots.
#
# Configuration:
# None
#
# Commands:
# hubot simpsons image me - displays a random image from imgur.com/r/TheSimpsons
# hubot simpsons quote me - displays a random quote from the simpsons
#
# Author:
# jjasghar
# omardelarosa
#
# Quotes V... | true | # Description
# A Simpsons Quote and Image Generator for Hubots.
#
# Configuration:
# None
#
# Commands:
# hubot simpsons image me - displays a random image from imgur.com/r/TheSimpsons
# hubot simpsons quote me - displays a random quote from the simpsons
#
# Author:
# jjasghar
# omardelarosa
#
# Quotes V... |
[
{
"context": "w new ContactModal()\n\n contributors: [\n {id: '547acbb2af18b03c0563fdb3', name: 'David Liu', github: 'trotod'}\n {id: '",
"end": 565,
"score": 0.46455544233322144,
"start": 541,
"tag": "KEY",
"value": "547acbb2af18b03c0563fdb3"
},
{
"context": "rs: [\n {id: ... | app/views/contribute/ArchmageView.coffee | cihatislamdede/codecombat | 4,858 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/archmage'
ContactModal = require 'views/core/ContactModal'
module.exports = class ArchmageView extends ContributeClassView
id: 'archmage-view'
template: template
events:
'click [data-toggle="coco-modal"][data-targ... | 156036 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/archmage'
ContactModal = require 'views/core/ContactModal'
module.exports = class ArchmageView extends ContributeClassView
id: 'archmage-view'
template: template
events:
'click [data-toggle="coco-modal"][data-targ... | true | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/archmage'
ContactModal = require 'views/core/ContactModal'
module.exports = class ArchmageView extends ContributeClassView
id: 'archmage-view'
template: template
events:
'click [data-toggle="coco-modal"][data-targ... |
[
{
"context": "te Port: serverPort\n //Update Username: userName\n //Update Password: password\n ",
"end": 270,
"score": 0.9996236562728882,
"start": 262,
"tag": "USERNAME",
"value": "userName"
},
{
"context": " Username: userName\n //Update Pa... | snippets/updatedatasourceconn.cson | cmtoomey/TableauRESTJS | 1 | '.source.js':
'Update Data Source Connection':
'prefix': 'trudc'
'body': """
//Update Data Source Connection
//Update Server address: connection serverAddress
//Update Port: serverPort
//Update Username: userName
//Update Password: password
... | 43806 | '.source.js':
'Update Data Source Connection':
'prefix': 'trudc'
'body': """
//Update Data Source Connection
//Update Server address: connection serverAddress
//Update Port: serverPort
//Update Username: userName
//Update Password: <PASSWORD>
... | true | '.source.js':
'Update Data Source Connection':
'prefix': 'trudc'
'body': """
//Update Data Source Connection
//Update Server address: connection serverAddress
//Update Port: serverPort
//Update Username: userName
//Update Password: PI:PASSWORD:<PASSW... |
[
{
"context": "ode.\n try\n key = '_storage_test'\n sessionStorage.setItem(key, ",
"end": 4675,
"score": 0.9974186420440674,
"start": 4661,
"tag": "KEY",
"value": "'_storage_test"
}
] | bower_components/jqTree/src/save_state_handler.coffee | mwelsman/js-scheme | 3 | util = require './util'
indexOf = util.indexOf
isInt = util.isInt
class SaveStateHandler
constructor: (tree_widget) ->
@tree_widget = tree_widget
saveState: ->
state = JSON.stringify(@getState())
if @tree_widget.options.onSetStateFromStorage
@tree_widget.options.onSetSta... | 60985 | util = require './util'
indexOf = util.indexOf
isInt = util.isInt
class SaveStateHandler
constructor: (tree_widget) ->
@tree_widget = tree_widget
saveState: ->
state = JSON.stringify(@getState())
if @tree_widget.options.onSetStateFromStorage
@tree_widget.options.onSetSta... | true | util = require './util'
indexOf = util.indexOf
isInt = util.isInt
class SaveStateHandler
constructor: (tree_widget) ->
@tree_widget = tree_widget
saveState: ->
state = JSON.stringify(@getState())
if @tree_widget.options.onSetStateFromStorage
@tree_widget.options.onSetSta... |
[
{
"context": "st-unloading iframes. Most of this is taken from\n# Steven Wittens (@unconed): https://github.com/unconed/fullfronta",
"end": 94,
"score": 0.9989172220230103,
"start": 80,
"tag": "NAME",
"value": "Steven Wittens"
},
{
"context": "rames. Most of this is taken from\n# Ste... | scripts/iframes.coffee | lmjohns3/deck | 0 | # Code for pre-loading and post-unloading iframes. Most of this is taken from
# Steven Wittens (@unconed): https://github.com/unconed/fullfrontal, but I've
# tried to separate out the iframe handling from interactions with mathbox,
# since it's nice to have videos auto-load even if you're not using math.
TRANSITION = ... | 161201 | # Code for pre-loading and post-unloading iframes. Most of this is taken from
# <NAME> (@unconed): https://github.com/unconed/fullfrontal, but I've
# tried to separate out the iframe handling from interactions with mathbox,
# since it's nice to have videos auto-load even if you're not using math.
TRANSITION = 300
$IFR... | true | # Code for pre-loading and post-unloading iframes. Most of this is taken from
# PI:NAME:<NAME>END_PI (@unconed): https://github.com/unconed/fullfrontal, but I've
# tried to separate out the iframe handling from interactions with mathbox,
# since it's nice to have videos auto-load even if you're not using math.
TRANSIT... |
[
{
"context": "penContact: ->\n window.location.href = \"mailto:info@are.na\"\n\n openPremium: (e) ->\n if sd.CURRENT_USER\n ",
"end": 938,
"score": 0.9998113512992859,
"start": 927,
"tag": "EMAIL",
"value": "info@are.na"
},
{
"context": "d.CURRENT_USER\n @handler.open\n ... | apps/about/client/pricing.coffee | broskoski/ervell | 2 | sd = require("sharify").data
Backbone = require 'backbone'
mediator = require '../../../lib/mediator.coffee'
analytics = require '../../../lib/analytics.coffee'
class PricingView extends Backbone.View
price: 4500
events:
'click .premium-tiers__tier--basic .premium-tiers__tier__price' : 'openSignup'
'click... | 108185 | sd = require("sharify").data
Backbone = require 'backbone'
mediator = require '../../../lib/mediator.coffee'
analytics = require '../../../lib/analytics.coffee'
class PricingView extends Backbone.View
price: 4500
events:
'click .premium-tiers__tier--basic .premium-tiers__tier__price' : 'openSignup'
'click... | true | sd = require("sharify").data
Backbone = require 'backbone'
mediator = require '../../../lib/mediator.coffee'
analytics = require '../../../lib/analytics.coffee'
class PricingView extends Backbone.View
price: 4500
events:
'click .premium-tiers__tier--basic .premium-tiers__tier__price' : 'openSignup'
'click... |
[
{
"context": "###\n# @author Argi Karunia <arugikaru@yahoo.co.jp>\n# @link https://gihtu",
"end": 28,
"score": 0.9998661279678345,
"start": 16,
"tag": "NAME",
"value": "Argi Karunia"
},
{
"context": "###\n# @author Argi Karunia <arugikaru@yahoo.co.jp>\n# @link https://gih... | src/session.coffee | tokopedia/nodame | 2 | ###
# @author Argi Karunia <arugikaru@yahoo.co.jp>
# @link https://gihtub.com/tokopedia/Nodame
# @license http://opensource.org/licenses/maintenance
#
# @version 1.2.0
###
# CONFIGS
SESSION = nodame.config('session')
CACHE = nodame.config('cache')
COOKIE = nodame.config('cookie')
MODULES = nodame.config('mo... | 186134 | ###
# @author <NAME> <<EMAIL>>
# @link https://gihtub.com/tokopedia/Nodame
# @license http://opensource.org/licenses/maintenance
#
# @version 1.2.0
###
# CONFIGS
SESSION = nodame.config('session')
CACHE = nodame.config('cache')
COOKIE = nodame.config('cookie')
MODULES = nodame.config('module')
ASSETS = nod... | true | ###
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @link https://gihtub.com/tokopedia/Nodame
# @license http://opensource.org/licenses/maintenance
#
# @version 1.2.0
###
# CONFIGS
SESSION = nodame.config('session')
CACHE = nodame.config('cache')
COOKIE = nodame.config('cookie')
MODULES = nodame.c... |
[
{
"context": " invitation: 'common'\n password_reset: 'common'\n upload: 'common'\n color: ",
"end": 445,
"score": 0.9931247234344482,
"start": 439,
"tag": "PASSWORD",
"value": "common"
}
] | src/thinkspace/client/thinkspace-common/addon/_config.coffee | sixthedge/cellar | 6 | export default {
env: {modulePrefix: 'thinkspace-common'}
ns:
namespaces: {common: 'thinkspace/common'}
type_to_namespace:
user: 'common'
owner: 'common'
space: 'common'
space_type: 'common'
space_user: 'common'
configuration: 'commo... | 133649 | export default {
env: {modulePrefix: 'thinkspace-common'}
ns:
namespaces: {common: 'thinkspace/common'}
type_to_namespace:
user: 'common'
owner: 'common'
space: 'common'
space_type: 'common'
space_user: 'common'
configuration: 'commo... | true | export default {
env: {modulePrefix: 'thinkspace-common'}
ns:
namespaces: {common: 'thinkspace/common'}
type_to_namespace:
user: 'common'
owner: 'common'
space: 'common'
space_type: 'common'
space_user: 'common'
configuration: 'commo... |
[
{
"context": " = (id, password) ->\n options =\n username: id\n password: password\n\n login(options).then",
"end": 2641,
"score": 0.5679617524147034,
"start": 2639,
"tag": "USERNAME",
"value": "id"
},
{
"context": ">\n options =\n username: id\n password... | app/scripts/connect/login.controller.coffee | appirio-tech/accounts-app | 3 | 'use strict'
{ DOMAIN } = require '../../../core/constants.js'
{ getFreshToken, login } = require '../../../core/auth.js'
{ getV3Jwt } = require '../../../core/auth.js'
{ getLoginConnection, isEmail } = require '../../../core/utils.js'
{ generateReturnUrl, redirectTo } = require '../../../core/url.js'
ConnectLog... | 151541 | 'use strict'
{ DOMAIN } = require '../../../core/constants.js'
{ getFreshToken, login } = require '../../../core/auth.js'
{ getV3Jwt } = require '../../../core/auth.js'
{ getLoginConnection, isEmail } = require '../../../core/utils.js'
{ generateReturnUrl, redirectTo } = require '../../../core/url.js'
ConnectLog... | true | 'use strict'
{ DOMAIN } = require '../../../core/constants.js'
{ getFreshToken, login } = require '../../../core/auth.js'
{ getV3Jwt } = require '../../../core/auth.js'
{ getLoginConnection, isEmail } = require '../../../core/utils.js'
{ generateReturnUrl, redirectTo } = require '../../../core/url.js'
ConnectLog... |
[
{
"context": "Parser()\n app.use express.cookieSession secret: \"f51a8xlc3efeb869acbd7c2d962a4100x00a01f\"\n app.use express.static \"#{__dirname}/public\"\n\n",
"end": 357,
"score": 0.9759376645088196,
"start": 318,
"tag": "KEY",
"value": "f51a8xlc3efeb869acbd7c2d962a4100x00a01f"
}
] | clients/web/index.coffee | makeusabrew/freezer | 0 | express = require "express"
swig = require "swig"
app = express()
# app config
swig.init
root: "#{__dirname}/views"
allowErrors: true
cache: false
app.configure ->
app.use express.favicon()
app.use express.bodyParser()
app.use express.cookieParser()
app.use express.cookieSession secret: "f5... | 138700 | express = require "express"
swig = require "swig"
app = express()
# app config
swig.init
root: "#{__dirname}/views"
allowErrors: true
cache: false
app.configure ->
app.use express.favicon()
app.use express.bodyParser()
app.use express.cookieParser()
app.use express.cookieSession secret: "<K... | true | express = require "express"
swig = require "swig"
app = express()
# app config
swig.init
root: "#{__dirname}/views"
allowErrors: true
cache: false
app.configure ->
app.use express.favicon()
app.use express.bodyParser()
app.use express.cookieParser()
app.use express.cookieSession secret: "PI... |
[
{
"context": "# Copyright © 2013 All rights reserved\n# Author: nhim175@gmail.com\n\nconfig = require './config.coffee'\n\nclass Button",
"end": 66,
"score": 0.9999151229858398,
"start": 49,
"tag": "EMAIL",
"value": "nhim175@gmail.com"
}
] | src/lib/button.coffee | nhim175/scorpionsmasher | 0 | # Copyright © 2013 All rights reserved
# Author: nhim175@gmail.com
config = require './config.coffee'
class Button extends Phaser.Button
constructor: (game, x, y, key, callback) ->
super(game, x, y, key, callback)
@clickSound = new Phaser.Sound game, 'click', 1
@onInputUp.add @onInputUpListener
o... | 6625 | # Copyright © 2013 All rights reserved
# Author: <EMAIL>
config = require './config.coffee'
class Button extends Phaser.Button
constructor: (game, x, y, key, callback) ->
super(game, x, y, key, callback)
@clickSound = new Phaser.Sound game, 'click', 1
@onInputUp.add @onInputUpListener
onInputUpLi... | true | # Copyright © 2013 All rights reserved
# Author: PI:EMAIL:<EMAIL>END_PI
config = require './config.coffee'
class Button extends Phaser.Button
constructor: (game, x, y, key, callback) ->
super(game, x, y, key, callback)
@clickSound = new Phaser.Sound game, 'click', 1
@onInputUp.add @onInputUpListener
... |
[
{
"context": "d, at the cost of combat statistics.\n *\n * @name Hasty\n * @prerequisite Play for 2 hours\n * @effect +2",
"end": 165,
"score": 0.9756442904472351,
"start": 160,
"tag": "NAME",
"value": "Hasty"
}
] | src/character/personalities/Hasty.coffee | sadbear-/IdleLands | 3 |
Personality = require "../base/Personality"
`/**
* This personality makes you move faster around the world, at the cost of combat statistics.
*
* @name Hasty
* @prerequisite Play for 2 hours
* @effect +2 haste
* @effect -2 offense
* @effect -2 defense
* @category Personalities
* @package Player
*/`
... | 67945 |
Personality = require "../base/Personality"
`/**
* This personality makes you move faster around the world, at the cost of combat statistics.
*
* @name <NAME>
* @prerequisite Play for 2 hours
* @effect +2 haste
* @effect -2 offense
* @effect -2 defense
* @category Personalities
* @package Player
*/`... | true |
Personality = require "../base/Personality"
`/**
* This personality makes you move faster around the world, at the cost of combat statistics.
*
* @name PI:NAME:<NAME>END_PI
* @prerequisite Play for 2 hours
* @effect +2 haste
* @effect -2 offense
* @effect -2 defense
* @category Personalities
* @pack... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999136924743652,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/forum.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Forum
boot: =>
@refreshCounter()
@refreshLoadMoreLinks()
# Scroll last because other actions may change page's height.
... | 140277 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Forum
boot: =>
@refreshCounter()
@refreshLoadMoreLinks()
# Scroll last because other actions may change page's height.
@initia... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Forum
boot: =>
@refreshCounter()
@refreshLoadMoreLinks()
# Scroll last because other actions may change page's heig... |
[
{
"context": "re 'moment'\nopenSale = fabricate 'sale',\n name: 'Awesome Sale'\n is_auction: true\n auction_state: 'open'\n sta",
"end": 282,
"score": 0.9925919771194458,
"start": 270,
"tag": "NAME",
"value": "Awesome Sale"
},
{
"context": ".sync.args[0][2].success fabricate 'sal... | src/mobile/apps/auction_support/test/routes.coffee | kanaabe/force | 0 | _ = require 'underscore'
routes = require '../routes'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../models/current_user.coffee'
moment = require 'moment'
openSale = fabricate 'sale',
name: 'Awesome Sale'
is_auction: true
auction_state: ... | 207340 | _ = require 'underscore'
routes = require '../routes'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../models/current_user.coffee'
moment = require 'moment'
openSale = fabricate 'sale',
name: '<NAME>'
is_auction: true
auction_state: 'open'... | true | _ = require 'underscore'
routes = require '../routes'
sinon = require 'sinon'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
CurrentUser = require '../../../models/current_user.coffee'
moment = require 'moment'
openSale = fabricate 'sale',
name: 'PI:NAME:<NAME>END_PI'
is_auction: true
auction... |
[
{
"context": "gqueries.find_or_create_by_key('installed_capacity_solar_and_wind')\n\n can_be_shown_as_table: -> false\n\n ",
"end": 199,
"score": 0.5302073955535889,
"start": 193,
"tag": "KEY",
"value": "solar_"
}
] | app/assets/javascripts/d3/import_export_cwe.coffee | Abeer-AlHasan/Abu-Dhabi-Model | 21 | D3.import_export_cwe =
View: class extends D3ChartView
initialize: ->
D3ChartView.prototype.initialize.call(this)
@gquery = gqueries.find_or_create_by_key('installed_capacity_solar_and_wind')
can_be_shown_as_table: -> false
margins :
top: 20
bottom: 50
left: 50
right:... | 103808 | D3.import_export_cwe =
View: class extends D3ChartView
initialize: ->
D3ChartView.prototype.initialize.call(this)
@gquery = gqueries.find_or_create_by_key('installed_capacity_<KEY>and_wind')
can_be_shown_as_table: -> false
margins :
top: 20
bottom: 50
left: 50
right: ... | true | D3.import_export_cwe =
View: class extends D3ChartView
initialize: ->
D3ChartView.prototype.initialize.call(this)
@gquery = gqueries.find_or_create_by_key('installed_capacity_PI:KEY:<KEY>END_PIand_wind')
can_be_shown_as_table: -> false
margins :
top: 20
bottom: 50
left: 50
... |
[
{
"context": "UDY', path: '/case-study/'},\n ]\n\n members:\n yusuke:\n name_ja: '富永 勇亮'\n name_en: 'Yusuke",
"end": 339,
"score": 0.4005526006221771,
"start": 337,
"tag": "NAME",
"value": "us"
},
{
"context": "Y', path: '/case-study/'},\n ]\n\n members:\n yusuke:... | src/data.coffee | dot-by-dot-inc/dotby.jp-2015 | 42 | module.exports =
menu: [
{name: 'TOP', path: '/'},
{name: 'ABOUT', path: '/about/'},
{name: 'MEMBERS', path: '/members/'},
{name: 'WORK', path: '/category/work/'},
{name: 'NEWS', path: '/category/news/'},
{name: 'AWARDS', path: '/awards/'},
{name: 'CASE STUDY', path: '/case-study/'},
]
... | 186261 | module.exports =
menu: [
{name: 'TOP', path: '/'},
{name: 'ABOUT', path: '/about/'},
{name: 'MEMBERS', path: '/members/'},
{name: 'WORK', path: '/category/work/'},
{name: 'NEWS', path: '/category/news/'},
{name: 'AWARDS', path: '/awards/'},
{name: 'CASE STUDY', path: '/case-study/'},
]
... | true | module.exports =
menu: [
{name: 'TOP', path: '/'},
{name: 'ABOUT', path: '/about/'},
{name: 'MEMBERS', path: '/members/'},
{name: 'WORK', path: '/category/work/'},
{name: 'NEWS', path: '/category/news/'},
{name: 'AWARDS', path: '/awards/'},
{name: 'CASE STUDY', path: '/case-study/'},
]
... |
[
{
"context": " enum: [\n {value: 'a', description: 'Alice'},\n {value: 'b', description: 'Bob'}",
"end": 3417,
"score": 0.9997279047966003,
"start": 3412,
"tag": "NAME",
"value": "Alice"
},
{
"context": "Alice'},\n {value: 'b', description: 'Bob... | spec/settings-panel-spec.coffee | Aerijo/settings-view | 316 | SettingsPanel = require '../lib/settings-panel'
_ = require 'underscore-plus'
describe "SettingsPanel", ->
settingsPanel = null
describe "sorted settings", ->
beforeEach ->
config =
type: 'object'
properties:
bar:
title: 'Bar'
description: 'The bar setti... | 82411 | SettingsPanel = require '../lib/settings-panel'
_ = require 'underscore-plus'
describe "SettingsPanel", ->
settingsPanel = null
describe "sorted settings", ->
beforeEach ->
config =
type: 'object'
properties:
bar:
title: 'Bar'
description: 'The bar setti... | true | SettingsPanel = require '../lib/settings-panel'
_ = require 'underscore-plus'
describe "SettingsPanel", ->
settingsPanel = null
describe "sorted settings", ->
beforeEach ->
config =
type: 'object'
properties:
bar:
title: 'Bar'
description: 'The bar setti... |
[
{
"context": "integration for contextmenu plugin (with help from Philip Weir)\nrcmail.addEventListener 'contextmenu_init', (men",
"end": 83,
"score": 0.9998860359191895,
"start": 72,
"tag": "NAME",
"value": "Philip Weir"
}
] | coffeescripts/contextmenu.coffee | helmo/roundcube-thunderbird_labels | 0 | # thunderbird_labels integration for contextmenu plugin (with help from Philip Weir)
rcmail.addEventListener 'contextmenu_init', (menu) ->
# dentify the folder list context menu
#console.log(menu.menu_name);
if menu.menu_name == 'messagelist'
menu.addEventListener 'init', (p) ->
if p.ref.menu_name == 't... | 140081 | # thunderbird_labels integration for contextmenu plugin (with help from <NAME>)
rcmail.addEventListener 'contextmenu_init', (menu) ->
# dentify the folder list context menu
#console.log(menu.menu_name);
if menu.menu_name == 'messagelist'
menu.addEventListener 'init', (p) ->
if p.ref.menu_name == 'tb_lab... | true | # thunderbird_labels integration for contextmenu plugin (with help from PI:NAME:<NAME>END_PI)
rcmail.addEventListener 'contextmenu_init', (menu) ->
# dentify the folder list context menu
#console.log(menu.menu_name);
if menu.menu_name == 'messagelist'
menu.addEventListener 'init', (p) ->
if p.ref.menu_n... |
[
{
"context": " basic templating\", () ->\n obj =\n a: {b: \"Hello\"}\n c: \"World\"\n d: {e: \"I\"}\n f: \"he",
"end": 2294,
"score": 0.639407217502594,
"start": 2289,
"tag": "NAME",
"value": "Hello"
}
] | src/test.coffee | typeduck/amqp-pool | 0 | ###############################################################################
# Tests out our local server
###############################################################################
should = require("should")
pool = require("./index")
AMQP = require("amqplib")
assign = require("lodash.assign")
When = require("w... | 110212 | ###############################################################################
# Tests out our local server
###############################################################################
should = require("should")
pool = require("./index")
AMQP = require("amqplib")
assign = require("lodash.assign")
When = require("w... | true | ###############################################################################
# Tests out our local server
###############################################################################
should = require("should")
pool = require("./index")
AMQP = require("amqplib")
assign = require("lodash.assign")
When = require("w... |
[
{
"context": "hars and rules\n * @source_code https://github.com/chentianwen/password_wizard\n *\n * @copyright 2011, Tianwen Ch",
"end": 149,
"score": 0.9995483160018921,
"start": 138,
"tag": "USERNAME",
"value": "chentianwen"
},
{
"context": "chentianwen/password_wizard\n *\n * @co... | lib/jquery.password_wizard.coffee | tian-im/password_wizard | 1 | ###
* Password Wizard v0.0.1
* @summary generate the password using different set of chars and rules
* @source_code https://github.com/chentianwen/password_wizard
*
* @copyright 2011, Tianwen Chen
* @website https://github.tian.im
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
###... | 41699 | ###
* Password Wizard v0.0.1
* @summary generate the password using different set of chars and rules
* @source_code https://github.com/chentianwen/password_wizard
*
* @copyright 2011, <NAME>
* @website https://github.tian.im
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
###
"use... | true | ###
* Password Wizard v0.0.1
* @summary generate the password using different set of chars and rules
* @source_code https://github.com/chentianwen/password_wizard
*
* @copyright 2011, PI:NAME:<NAME>END_PI
* @website https://github.tian.im
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses... |
[
{
"context": "exp: ///(^|#{bcv_parser::regexps.pre_book})(\n\t\t(?:Joel)\n\t\t\t)(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff",
"end": 16459,
"score": 0.7859866619110107,
"start": 16457,
"tag": "NAME",
"value": "Jo"
},
{
"context": "9\\[\\]/\"'\\*=~\\-\\u2013\\u2014])|$)///gi\... | src/sk/regexps.coffee | phillipb/Bible-Passage-Reference-Parser | 149 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | 144694 | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... | true | bcv_parser::regexps.space = "[\\s\\xa0]"
bcv_parser::regexps.escaped_passage = ///
(?:^ | [^\x1f\x1e\dA-Za-zªµºÀ-ÖØ-öø-ɏḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ] ) # Beginning of string or not in the middle of a word or immediately following another book. Only count a book if it's part of a sequence: `Matt5John3` is OK, but not `1Matt5J... |
[
{
"context": "{}\n\n for stack in app.routeStack\n apiKey = \"#{stack.ctrl}.#{stack.action}\".toLowerCase()\n a",
"end": 428,
"score": 0.9103264212608337,
"start": 425,
"tag": "KEY",
"value": "\"#{"
},
{
"context": "ack in app.routeStack\n apiKey = \"#{stack.ctrl}.#... | talk-api2x/server/controllers/discover.coffee | ikingye/talk-os | 3,084 | app = require '../server'
config = require 'config'
striker = require '../components/striker'
util = require '../util'
limbo = require 'limbo'
{
TeamModel
} = limbo.use 'talk'
module.exports = discoverController = app.controller 'discover', ->
@ratelimit '20', only: 'urlMeta'
@ensure 'url', only: 'urlMeta'
... | 12818 | app = require '../server'
config = require 'config'
striker = require '../components/striker'
util = require '../util'
limbo = require 'limbo'
{
TeamModel
} = limbo.use 'talk'
module.exports = discoverController = app.controller 'discover', ->
@ratelimit '20', only: 'urlMeta'
@ensure 'url', only: 'urlMeta'
... | true | app = require '../server'
config = require 'config'
striker = require '../components/striker'
util = require '../util'
limbo = require 'limbo'
{
TeamModel
} = limbo.use 'talk'
module.exports = discoverController = app.controller 'discover', ->
@ratelimit '20', only: 'urlMeta'
@ensure 'url', only: 'urlMeta'
... |
[
{
"context": "ep.equals(a, b)\n\n a = \"Hello\"\n b = \"Goodbye\"\n assert !deep.equals(a, b)\n\n a = false",
"end": 2733,
"score": 0.6564573645591736,
"start": 2730,
"tag": "NAME",
"value": "bye"
}
] | coffee/test/deep.test.coffee | jeffomatic/deep | 3 | _ = require('underscore')
assert = require('assert')
testHelper = require('./test_helper')
deep = require('../lib/deep')
describe 'deep module', () ->
describe 'isPlainObject()', () ->
it 'object literals are plain objects', (done) ->
assert deep.isPlainObject({})
done()
it 'objects created wi... | 136174 | _ = require('underscore')
assert = require('assert')
testHelper = require('./test_helper')
deep = require('../lib/deep')
describe 'deep module', () ->
describe 'isPlainObject()', () ->
it 'object literals are plain objects', (done) ->
assert deep.isPlainObject({})
done()
it 'objects created wi... | true | _ = require('underscore')
assert = require('assert')
testHelper = require('./test_helper')
deep = require('../lib/deep')
describe 'deep module', () ->
describe 'isPlainObject()', () ->
it 'object literals are plain objects', (done) ->
assert deep.isPlainObject({})
done()
it 'objects created wi... |
[
{
"context": " one:\n constructor:\n name: 'Blaine'\n two:\n constructor:\n ",
"end": 432,
"score": 0.9963313937187195,
"start": 426,
"tag": "NAME",
"value": "Blaine"
},
{
"context": " two:\n constructor:\n name: ... | tests/command_spec.coffee | thisredone/pry.coffee | 1 | expect = require('chai').expect
Command = require('../src/pry/command')
Range = require('../src/pry/range')
describe 'Command', ->
subject = null
beforeEach (complete) ->
subject = new Command
scope: (p) -> p
output:
send: -> true
complete()
describe '#command', ->
beforeEach ... | 84966 | expect = require('chai').expect
Command = require('../src/pry/command')
Range = require('../src/pry/range')
describe 'Command', ->
subject = null
beforeEach (complete) ->
subject = new Command
scope: (p) -> p
output:
send: -> true
complete()
describe '#command', ->
beforeEach ... | true | expect = require('chai').expect
Command = require('../src/pry/command')
Range = require('../src/pry/range')
describe 'Command', ->
subject = null
beforeEach (complete) ->
subject = new Command
scope: (p) -> p
output:
send: -> true
complete()
describe '#command', ->
beforeEach ... |
[
{
"context": "k = proj.task 'abc'\n task.name.should.equal 'abc'\n task.type.should.equal 'default'\n\n it '",
"end": 550,
"score": 0.5456283092498779,
"start": 547,
"tag": "NAME",
"value": "abc"
},
{
"context": "abc', ( task ) ->\n task.name.should.equal 'abc'\n ... | test/project.test.coffee | venkatperi/jsgradle | 0 | assert = require 'assert'
should = require 'should'
Project = require '../lib/project/Project'
proj = undefined
describe 'Project', ->
it 'needs a name', ->
assert.throws -> new Project()
it 'has path', ->
proj = new Project name : 'test'
proj.name.should.equal 'test'
proj.depth.should.equal 0
... | 94383 | assert = require 'assert'
should = require 'should'
Project = require '../lib/project/Project'
proj = undefined
describe 'Project', ->
it 'needs a name', ->
assert.throws -> new Project()
it 'has path', ->
proj = new Project name : 'test'
proj.name.should.equal 'test'
proj.depth.should.equal 0
... | true | assert = require 'assert'
should = require 'should'
Project = require '../lib/project/Project'
proj = undefined
describe 'Project', ->
it 'needs a name', ->
assert.throws -> new Project()
it 'has path', ->
proj = new Project name : 'test'
proj.name.should.equal 'test'
proj.depth.should.equal 0
... |
[
{
"context": "th.role = 'unknown'\n req.session.auth.alias = 'noname'\n res.json {code:0,reason:'',status:'logout su",
"end": 6479,
"score": 0.7261060476303101,
"start": 6473,
"tag": "USERNAME",
"value": "noname"
},
{
"context": "Date\n # always remember:hashise!!\n passw... | coffees/app.coffee | android1and1/tickets | 0 | # firssts of first check if 'redis-server' is running.
{spawn} = require 'child_process'
# this for redis promisify(client.get),the way inpirit from npm-redis.
{promisify} = require 'util'
pgrep = spawn '/usr/bin/pgrep',['redis-server']
pgrep.on 'close',(code)->
if code isnt 0
console.log 'should run redis-server... | 42187 | # firssts of first check if 'redis-server' is running.
{spawn} = require 'child_process'
# this for redis promisify(client.get),the way inpirit from npm-redis.
{promisify} = require 'util'
pgrep = spawn '/usr/bin/pgrep',['redis-server']
pgrep.on 'close',(code)->
if code isnt 0
console.log 'should run redis-server... | true | # firssts of first check if 'redis-server' is running.
{spawn} = require 'child_process'
# this for redis promisify(client.get),the way inpirit from npm-redis.
{promisify} = require 'util'
pgrep = spawn '/usr/bin/pgrep',['redis-server']
pgrep.on 'close',(code)->
if code isnt 0
console.log 'should run redis-server... |
[
{
"context": " return specHelper\n random: (num) ->\n char = \"AzByC0xDwEv9FuGt8HsIrJ7qKpLo6MnNmO5lPkQj4RiShT3gUfVe2WdXcY1bZa\"\n string = \"\"\n for i in [0..num]\n rand",
"end": 1575,
"score": 0.9980047345161438,
"start": 1513,
"tag": "KEY",
"value": "AzByC0xDwEv9FuGt8HsIrJ7... | v1/test/utils/specHelper.coffee | lizechoo/Bromeliad-Database | 0 | request = require 'request'
BASE_URL = 'http://localhost:8888/v1/api/'
token = null
specHelper = null
class SpecHelper
constructor: ->
@request = params: {}
route: (route) ->
parts = route.split("/")
@request.params.route = parts[0]
@request.params.action = parts[1]
return this
send: (send) -... | 8315 | request = require 'request'
BASE_URL = 'http://localhost:8888/v1/api/'
token = null
specHelper = null
class SpecHelper
constructor: ->
@request = params: {}
route: (route) ->
parts = route.split("/")
@request.params.route = parts[0]
@request.params.action = parts[1]
return this
send: (send) -... | true | request = require 'request'
BASE_URL = 'http://localhost:8888/v1/api/'
token = null
specHelper = null
class SpecHelper
constructor: ->
@request = params: {}
route: (route) ->
parts = route.split("/")
@request.params.route = parts[0]
@request.params.action = parts[1]
return this
send: (send) -... |
[
{
"context": ">\n @resource.orders().findBy(token: 'abc123')\n .then window.onSuccess\n ",
"end": 7963,
"score": 0.8118163347244263,
"start": 7957,
"tag": "KEY",
"value": "abc123"
},
{
"context": ".requests.mostRecent())).toContain('filter[token]=ab... | spec/associations/has_many.coffee | daniffig/active-resource.js | 95 | describe 'ActiveResource', ->
beforeEach ->
moxios.install(MyLibrary.interface.axios)
window.onSuccess = jasmine.createSpy('onSuccess')
window.onFailure = jasmine.createSpy('onFailure')
window.onCompletion = jasmine.createSpy('onCompletion')
afterEach ->
moxios.uninstall()
describe '::Assoc... | 121143 | describe 'ActiveResource', ->
beforeEach ->
moxios.install(MyLibrary.interface.axios)
window.onSuccess = jasmine.createSpy('onSuccess')
window.onFailure = jasmine.createSpy('onFailure')
window.onCompletion = jasmine.createSpy('onCompletion')
afterEach ->
moxios.uninstall()
describe '::Assoc... | true | describe 'ActiveResource', ->
beforeEach ->
moxios.install(MyLibrary.interface.axios)
window.onSuccess = jasmine.createSpy('onSuccess')
window.onFailure = jasmine.createSpy('onFailure')
window.onCompletion = jasmine.createSpy('onCompletion')
afterEach ->
moxios.uninstall()
describe '::Assoc... |
[
{
"context": "name = 'World'\nconsole.log \"Hello, #{name}!\"\n",
"end": 13,
"score": 0.9987467527389526,
"start": 8,
"tag": "NAME",
"value": "World"
}
] | node_modules/grunt-cumulocity-ui-tasks/node_modules/connect-static-transform/examples/file.coffee | kkoStudyAcc/tvtest3 | 10 | name = 'World'
console.log "Hello, #{name}!"
| 42353 | name = '<NAME>'
console.log "Hello, #{name}!"
| true | name = 'PI:NAME:<NAME>END_PI'
console.log "Hello, #{name}!"
|
[
{
"context": "rator.should.eql 3\n client.users.getByEmail \"dor@ethylocle.com\", (err, user) ->\n return next err if err\n ",
"end": 630,
"score": 0.9999330639839172,
"start": 613,
"tag": "EMAIL",
"value": "dor@ethylocle.com"
},
{
"context": " next err if err\n ... | lib/model/levelDB/tool/test/import.coffee | dorianb/Web-application---Ethylocl- | 0 | rimraf = require 'rimraf'
should = require 'should'
fs = require 'fs'
importStream = require '../import'
Down = require '../../down'
describe 'Import', ->
beforeEach (next) ->
rimraf "#{__dirname}/../../../../../db/tmp/user", ->
rimraf "#{__dirname}/../../../../../db/tmp/stop", next
it 'Import users fr... | 124496 | rimraf = require 'rimraf'
should = require 'should'
fs = require 'fs'
importStream = require '../import'
Down = require '../../down'
describe 'Import', ->
beforeEach (next) ->
rimraf "#{__dirname}/../../../../../db/tmp/user", ->
rimraf "#{__dirname}/../../../../../db/tmp/stop", next
it 'Import users fr... | true | rimraf = require 'rimraf'
should = require 'should'
fs = require 'fs'
importStream = require '../import'
Down = require '../../down'
describe 'Import', ->
beforeEach (next) ->
rimraf "#{__dirname}/../../../../../db/tmp/user", ->
rimraf "#{__dirname}/../../../../../db/tmp/stop", next
it 'Import users fr... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990230202674866,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | lib/events.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 12297 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": " @descriptionValueStreams.switch()\n password: @passwordValueStreams.switch()\n isPrivate: @isPrivateStreams.switch()\n\n ",
"end": 2288,
"score": 0.7715869545936584,
"start": 2260,
"tag": "PASSWORD",
"value": "@passwordValueStreams.switch"
}
] | src/components/group_settings/index.coffee | FreeRoamApp/free-roam | 14 | z = require 'zorium'
_map = require 'lodash/map'
_defaults = require 'lodash/defaults'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
RxReplaySubject = require('rxjs/ReplaySubject').ReplaySubject
RxObservable = require('rxjs/Observable').Observable
require 'rxjs/add/observable/of'
require 'rxjs/add... | 202946 | z = require 'zorium'
_map = require 'lodash/map'
_defaults = require 'lodash/defaults'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
RxReplaySubject = require('rxjs/ReplaySubject').ReplaySubject
RxObservable = require('rxjs/Observable').Observable
require 'rxjs/add/observable/of'
require 'rxjs/add... | true | z = require 'zorium'
_map = require 'lodash/map'
_defaults = require 'lodash/defaults'
RxBehaviorSubject = require('rxjs/BehaviorSubject').BehaviorSubject
RxReplaySubject = require('rxjs/ReplaySubject').ReplaySubject
RxObservable = require('rxjs/Observable').Observable
require 'rxjs/add/observable/of'
require 'rxjs/add... |
[
{
"context": "Accounts.ui.config\n passwordSignupFields: \"USERNAME_ONLY\"\n\nSession.set \"momentDateFormat\", \"MM/DD/YYYY\"\nSe",
"end": 59,
"score": 0.923882782459259,
"start": 46,
"tag": "PASSWORD",
"value": "USERNAME_ONLY"
}
] | client/helpers/config.coffee | drobbins/kassebaum | 0 | Accounts.ui.config
passwordSignupFields: "USERNAME_ONLY"
Session.set "momentDateFormat", "MM/DD/YYYY"
Session.set "datepickerDateFormat", "mm/dd/yyyy"
Session.set "momentLogDateFormat", "MM/DD/YYYY h:mm:ss a" | 67974 | Accounts.ui.config
passwordSignupFields: "<PASSWORD>"
Session.set "momentDateFormat", "MM/DD/YYYY"
Session.set "datepickerDateFormat", "mm/dd/yyyy"
Session.set "momentLogDateFormat", "MM/DD/YYYY h:mm:ss a" | true | Accounts.ui.config
passwordSignupFields: "PI:PASSWORD:<PASSWORD>END_PI"
Session.set "momentDateFormat", "MM/DD/YYYY"
Session.set "datepickerDateFormat", "mm/dd/yyyy"
Session.set "momentLogDateFormat", "MM/DD/YYYY h:mm:ss a" |
[
{
"context": " (Darwin)\nComment: GPGTools - http://gpgtools.org\n\nhQEMA+bZw3a+syp5AQgAqqimwGjRe/m9d74f2Itu4rAs/BJUjgPprCSn1JTOBurK\nnneix4XLQM9slGNJANiOhjEmGR011+Dhk4PV2SNaJrgXI0RS43O3UAjI4gHUHpKF\nlHit1/UBwK24dTzl8G8LSBoI9g1p3QZTZqszsrsYOZfzpoObE1If0IlYvP6VTURC\nQUsHoOKaWXbVQFaUqW8tYqpCgiBZ3BLQbzdO8Wy20R3qRr... | test/files/decrypt_verify_msg.iced | samkenxstream/kbpgp | 464 | testing_unixtime = Math.floor(new Date(2013, 10, 24)/1000)
{parse} = require '../../lib/openpgp/parser'
armor = require '../../lib/openpgp/armor'
C = require '../../lib/const'
{do_message,Message} = require '../../lib/openpgp/processor'
util = require 'util'
{katch,ASP} = require '../../lib/util'
{KeyManager} = requir... | 203318 | testing_unixtime = Math.floor(new Date(2013, 10, 24)/1000)
{parse} = require '../../lib/openpgp/parser'
armor = require '../../lib/openpgp/armor'
C = require '../../lib/const'
{do_message,Message} = require '../../lib/openpgp/processor'
util = require 'util'
{katch,ASP} = require '../../lib/util'
{KeyManager} = requir... | true | testing_unixtime = Math.floor(new Date(2013, 10, 24)/1000)
{parse} = require '../../lib/openpgp/parser'
armor = require '../../lib/openpgp/armor'
C = require '../../lib/const'
{do_message,Message} = require '../../lib/openpgp/processor'
util = require 'util'
{katch,ASP} = require '../../lib/util'
{KeyManager} = requir... |
[
{
"context": " @setBody \"About\"\n @_setViewProperty \"title\", \"Balázs Pete\"\n @_setViewProperty 'collapse', false, false\n\n",
"end": 150,
"score": 0.9998742341995239,
"start": 139,
"tag": "NAME",
"value": "Balázs Pete"
},
{
"context": " }\n {\n id: \"re... | models/AboutModel.coffee | balazspete/eliendrae.net | 0 |
Model = require './index'
class AboutModel extends Model
_setup: ->
super()
@setBody "About"
@_setViewProperty "title", "Balázs Pete"
@_setViewProperty 'collapse', false, false
@add "education", {
section: "education"
structure: [
{
id: "education_tcd"
... | 170087 |
Model = require './index'
class AboutModel extends Model
_setup: ->
super()
@setBody "About"
@_setViewProperty "title", "<NAME>"
@_setViewProperty 'collapse', false, false
@add "education", {
section: "education"
structure: [
{
id: "education_tcd"
title... | true |
Model = require './index'
class AboutModel extends Model
_setup: ->
super()
@setBody "About"
@_setViewProperty "title", "PI:NAME:<NAME>END_PI"
@_setViewProperty 'collapse', false, false
@add "education", {
section: "education"
structure: [
{
id: "education_tcd"
... |
[
{
"context": "client-side module.\n#\n# :copyright: (c) 2012 by Zaur Nasibov.\n# :license: MIT, see LICENSE for more details",
"end": 144,
"score": 0.9998751282691956,
"start": 132,
"tag": "NAME",
"value": "Zaur Nasibov"
},
{
"context": " ->\n kl._app = {\n ## data\n ... | kaylee/client/kaylee.coffee | BasicWolf/archived-kaylee | 2 | ###
# kaylee.coffee
# ~~~~~~~~~~~~~
#
# This is the base file of Kaylee client-side module.
#
# :copyright: (c) 2012 by Zaur Nasibov.
# :license: MIT, see LICENSE for more details.
###
## Variables and interfaces defined in Kaylee namespace:
# kl.node_id : null
# kl._app :
# name : null # str
# ... | 172788 | ###
# kaylee.coffee
# ~~~~~~~~~~~~~
#
# This is the base file of Kaylee client-side module.
#
# :copyright: (c) 2012 by <NAME>.
# :license: MIT, see LICENSE for more details.
###
## Variables and interfaces defined in Kaylee namespace:
# kl.node_id : null
# kl._app :
# name : null # str
# con... | true | ###
# kaylee.coffee
# ~~~~~~~~~~~~~
#
# This is the base file of Kaylee client-side module.
#
# :copyright: (c) 2012 by PI:NAME:<NAME>END_PI.
# :license: MIT, see LICENSE for more details.
###
## Variables and interfaces defined in Kaylee namespace:
# kl.node_id : null
# kl._app :
# name : null #... |
[
{
"context": "bre\"\n contact: \"Contacto\"\n twitter_follow: \"Seguir\"\n\n forms:\n name: \"Nome\"\n email: \"E-mail\"\n ",
"end": 619,
"score": 0.9994664788246155,
"start": 613,
"tag": "USERNAME",
"value": "Seguir"
},
{
"context": "\"\n wizard_tab: \"Feiticeiro\"\n... | app/locale/pt-PT.coffee | cochee/codecombat | 1 | module.exports = nativeDescription: "Português europeu", englishDescription: "Portuguese (Portugal)", translation:
common:
loading: "A carregar..."
modal:
close: "Fechar"
okay: "Okay"
not_found:
page_not_found: "Página não encontrada"
nav:
# Header
sign_up: "Criar conta"
log_in: "... | 116130 | module.exports = nativeDescription: "Português europeu", englishDescription: "Portuguese (Portugal)", translation:
common:
loading: "A carregar..."
modal:
close: "Fechar"
okay: "Okay"
not_found:
page_not_found: "Página não encontrada"
nav:
# Header
sign_up: "Criar conta"
log_in: "... | true | module.exports = nativeDescription: "Português europeu", englishDescription: "Portuguese (Portugal)", translation:
common:
loading: "A carregar..."
modal:
close: "Fechar"
okay: "Okay"
not_found:
page_not_found: "Página não encontrada"
nav:
# Header
sign_up: "Criar conta"
log_in: "... |
[
{
"context": "#\n# Copyright 2011-2014 Carsten Klein\n#\n# Licensed under the Apache License, Version 2.",
"end": 37,
"score": 0.9998591542243958,
"start": 24,
"tag": "NAME",
"value": "Carsten Klein"
}
] | src/enum.coffee | vibejs/vibejs-enum | 0 | #
# Copyright 2011-2014 Carsten Klein
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in... | 207282 | #
# Copyright 2011-2014 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writin... | true | #
# Copyright 2011-2014 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... |
[
{
"context": "{\n usernameField: 'email',\n passwordField: 'pass'\n}, (email, password, done) ->\n db.get 'SELECT",
"end": 1096,
"score": 0.9993141889572144,
"start": 1092,
"tag": "PASSWORD",
"value": "pass"
}
] | api/main.coffee | soulweaver91/gw2hub | 0 | express = require 'express'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
expressSession = require 'express-session'
http = require 'http'
fs = require 'fs'
passport = require 'passport'
strategy = require('passport-local').Strategy
_ = require 'lodash'
settings = require('../configmanager'... | 47994 | express = require 'express'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
expressSession = require 'express-session'
http = require 'http'
fs = require 'fs'
passport = require 'passport'
strategy = require('passport-local').Strategy
_ = require 'lodash'
settings = require('../configmanager'... | true | express = require 'express'
bodyParser = require 'body-parser'
cookieParser = require 'cookie-parser'
expressSession = require 'express-session'
http = require 'http'
fs = require 'fs'
passport = require 'passport'
strategy = require('passport-local').Strategy
_ = require 'lodash'
settings = require('../configmanager'... |
[
{
"context": "Length: 4\n \"exception-reporting\":\n userId: \"af06818b-2633-4d85-9366-6223a3f85e14\"\n github:\n remoteFetchProtocol: \"ssh\"\n \"hydr",
"end": 728,
"score": 0.6139845848083496,
"start": 694,
"tag": "PASSWORD",
"value": "06818b-2633-4d85-9366-6223a3f85e14"
}
] | atom/config.cson | jjssto/Config | 0 | "*":
Hydrogen:
autoScroll: false
kernelNotifications: true
outputAreaDock: true
showInspectorResultsInAutocomplete: true
wrapOutput: true
core:
disabledPackages: [
"markdown-preview"
"markdown-footnote"
]
telemetryConsent: "no"
themes: [
"atom-dark-ui"
"so... | 99256 | "*":
Hydrogen:
autoScroll: false
kernelNotifications: true
outputAreaDock: true
showInspectorResultsInAutocomplete: true
wrapOutput: true
core:
disabledPackages: [
"markdown-preview"
"markdown-footnote"
]
telemetryConsent: "no"
themes: [
"atom-dark-ui"
"so... | true | "*":
Hydrogen:
autoScroll: false
kernelNotifications: true
outputAreaDock: true
showInspectorResultsInAutocomplete: true
wrapOutput: true
core:
disabledPackages: [
"markdown-preview"
"markdown-footnote"
]
telemetryConsent: "no"
themes: [
"atom-dark-ui"
"so... |
[
{
"context": ",'E','F','F#','G','G#','A','A#','B']\nflatKeys = ['C','F','Bb','Eb','Ab','Db','Gb', 'Cb']\n\nclass Note\n",
"end": 2239,
"score": 0.9285996556282043,
"start": 2238,
"tag": "KEY",
"value": "C"
},
{
"context": ",'F','F#','G','G#','A','A#','B']\nflatKeys = ['C','F','Bb','E... | temper.src.coffee | jeffreypierce/temper | 2 | utils =
type: (obj) ->
if obj == undefined or obj == null
return false
classType = {
'[object Number]': 'number'
'[object String]': 'string'
'[object Array]': 'array',
'[object Object]': 'object'
}
classType[toString.call(obj)]
list: (val, arr) ->
if val and this[v... | 63714 | utils =
type: (obj) ->
if obj == undefined or obj == null
return false
classType = {
'[object Number]': 'number'
'[object String]': 'string'
'[object Array]': 'array',
'[object Object]': 'object'
}
classType[toString.call(obj)]
list: (val, arr) ->
if val and this[v... | true | utils =
type: (obj) ->
if obj == undefined or obj == null
return false
classType = {
'[object Number]': 'number'
'[object String]': 'string'
'[object Array]': 'array',
'[object Object]': 'object'
}
classType[toString.call(obj)]
list: (val, arr) ->
if val and this[v... |
[
{
"context": "w Promise (resolve) -> \n\n ## 変数展開\n\n name = 'Recipe'\n hello = \"Hello #{name}!\"\n logger.debug he",
"end": 306,
"score": 0.8004554510116577,
"start": 300,
"tag": "NAME",
"value": "Recipe"
}
] | node-coffee/src/cookbook/recipe_base.coffee | ykchat/recipe-code | 0 | #!/usr/bin/env coffee
moment = require 'moment-timezone'
path = require 'path'
logging = require './util/logging'
logger = logging.LoggerFactory.getLogger path.basename __filename
title = ->
logger.debug '# Base'
return
cook = -> new Promise (resolve) ->
## 変数展開
name = 'Recipe'
hello = ... | 188680 | #!/usr/bin/env coffee
moment = require 'moment-timezone'
path = require 'path'
logging = require './util/logging'
logger = logging.LoggerFactory.getLogger path.basename __filename
title = ->
logger.debug '# Base'
return
cook = -> new Promise (resolve) ->
## 変数展開
name = '<NAME>'
hello = ... | true | #!/usr/bin/env coffee
moment = require 'moment-timezone'
path = require 'path'
logging = require './util/logging'
logger = logging.LoggerFactory.getLogger path.basename __filename
title = ->
logger.debug '# Base'
return
cook = -> new Promise (resolve) ->
## 変数展開
name = 'PI:NAME:<NAME>END_PI... |
[
{
"context": " category: \"人相关的\"\n example: \"example@qq.com\"\n defaultValue: \"\"\n g",
"end": 948,
"score": 0.9999162554740906,
"start": 934,
"tag": "EMAIL",
"value": "example@qq.com"
},
{
"context": "MENT=1;\n\nINSERT INTO `myTabl... | src/coffee/controller/dataMakerController.coffee | shenshen/dataMaker | 0 | define [], ()->
_ = require("underscore/underscore")
textData = require("../data/textData")
angular.module "dataMaker", ["ngMaterial"]
.controller "AppCtrl", [
"$scope", "$mdDialog", ($scope, $mdDialog)->
tempId = 1
$scope.types =
'array':
name: "数组"
... | 56232 | define [], ()->
_ = require("underscore/underscore")
textData = require("../data/textData")
angular.module "dataMaker", ["ngMaterial"]
.controller "AppCtrl", [
"$scope", "$mdDialog", ($scope, $mdDialog)->
tempId = 1
$scope.types =
'array':
name: "数组"
... | true | define [], ()->
_ = require("underscore/underscore")
textData = require("../data/textData")
angular.module "dataMaker", ["ngMaterial"]
.controller "AppCtrl", [
"$scope", "$mdDialog", ($scope, $mdDialog)->
tempId = 1
$scope.types =
'array':
name: "数组"
... |
[
{
"context": "le guide please refer to\n * https://github.com/MBV-Media/CoffeeScript-Style-Guide\n *\n * @since 1.0.0\n *",
"end": 242,
"score": 0.6905002593994141,
"start": 235,
"tag": "USERNAME",
"value": "V-Media"
},
{
"context": "cript-Style-Guide\n *\n * @since 1.0.0\n * ... | src/js/main.coffee | JeffPlo/skGruendau | 0 | ###*
* Your JS/CoffeeScript goes here
* Components like custom classes are in components/
* Third party libraries are in vendor/ or /bower_components/
*
* For CoffeeScript style guide please refer to
* https://github.com/MBV-Media/CoffeeScript-Style-Guide
*
* @since 1.0.0
* @author R4c00n <marcel.kemp... | 14694 | ###*
* Your JS/CoffeeScript goes here
* Components like custom classes are in components/
* Third party libraries are in vendor/ or /bower_components/
*
* For CoffeeScript style guide please refer to
* https://github.com/MBV-Media/CoffeeScript-Style-Guide
*
* @since 1.0.0
* @author R4c00n <<EMAIL>>
... | true | ###*
* Your JS/CoffeeScript goes here
* Components like custom classes are in components/
* Third party libraries are in vendor/ or /bower_components/
*
* For CoffeeScript style guide please refer to
* https://github.com/MBV-Media/CoffeeScript-Style-Guide
*
* @since 1.0.0
* @author R4c00n <PI:EMAIL:<E... |
[
{
"context": "@Config =\n\tname: 'My App'\n\ttitle: ->\n\t\t\tTAPi18n.__ 'configTitle'\n\tsubt",
"end": 20,
"score": 0.49717894196510315,
"start": 18,
"tag": "NAME",
"value": "My"
},
{
"context": ": 'http://benjaminpeterjones.com'\n\tabout: 'http://benjaminpeterjones.com'\n\tusername... | both/config/_config.coffee | stephenpfaff/ua-suite | 0 | @Config =
name: 'My App'
title: ->
TAPi18n.__ 'configTitle'
subtitle: ->
TAPi18n.__ 'configSubtitle'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + ' - Copyright ' + new Date().getFullYear()
emails:
from: 'noreply@' + Meteor.absoluteUrl()
blog: 'http://benjaminpeterjones.com'
about: 'http://benj... | 194579 | @Config =
name: '<NAME> App'
title: ->
TAPi18n.__ 'configTitle'
subtitle: ->
TAPi18n.__ 'configSubtitle'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + ' - Copyright ' + new Date().getFullYear()
emails:
from: 'noreply@' + Meteor.absoluteUrl()
blog: 'http://benjaminpeterjones.com'
about: 'http://... | true | @Config =
name: 'PI:NAME:<NAME>END_PI App'
title: ->
TAPi18n.__ 'configTitle'
subtitle: ->
TAPi18n.__ 'configSubtitle'
logo: ->
'<b>' + @name + '</b>'
footer: ->
@name + ' - Copyright ' + new Date().getFullYear()
emails:
from: 'noreply@' + Meteor.absoluteUrl()
blog: 'http://benjaminpeterjones.com'
a... |
[
{
"context": " - Show/change current k8s context\n#\n# Author:\n# canthefason\nmodule.exports = (robot) ->\n\n getContext = (res)",
"end": 368,
"score": 0.9996257424354553,
"start": 357,
"tag": "USERNAME",
"value": "canthefason"
},
{
"context": " (res) ->\n user = res.message.u... | src/kubernetes.coffee | sbueringer/hubot-kubernetes | 1 | # Description:
# Hubot Kubernetes REST API helper commands.
#
# Dependencies:
# None
#
# Configuration:
# KUBE_HOST
# KUBE_VERSION
# KUBE_CONTEXT
# KUBE_CA
# KUBE_TOKENS
#
# Commands:
# hubot k8s [po|rc|svc] (labels) - List all k8s resources under given context
# hubot k8s context <name> - Show/change... | 117699 | # Description:
# Hubot Kubernetes REST API helper commands.
#
# Dependencies:
# None
#
# Configuration:
# KUBE_HOST
# KUBE_VERSION
# KUBE_CONTEXT
# KUBE_CA
# KUBE_TOKENS
#
# Commands:
# hubot k8s [po|rc|svc] (labels) - List all k8s resources under given context
# hubot k8s context <name> - Show/change... | true | # Description:
# Hubot Kubernetes REST API helper commands.
#
# Dependencies:
# None
#
# Configuration:
# KUBE_HOST
# KUBE_VERSION
# KUBE_CONTEXT
# KUBE_CA
# KUBE_TOKENS
#
# Commands:
# hubot k8s [po|rc|svc] (labels) - List all k8s resources under given context
# hubot k8s context <name> - Show/change... |
[
{
"context": "/PEM--/grunt-phonegapsplash\n#\n# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)\n# Licensed under",
"end": 120,
"score": 0.9998791217803955,
"start": 98,
"tag": "NAME",
"value": "Pierre-Eric Marchandet"
},
{
"context": "Copyright (c) 2013 Pi... | lib/profiles.coffee | gruntjs-updater/grunt-phonegapsplash | 0 | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 Pierre-Eric Marchandet (PEM-- <pemarchandet@gmail.com>)
# Licensed under the MIT licence.
###
'use strict'
# Path from NodeJS app is used to merge directory and sub drectories.
path = require 'path'
###
# All profiles f... | 93879 | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 <NAME> (PEM-- <<EMAIL>>)
# Licensed under the MIT licence.
###
'use strict'
# Path from NodeJS app is used to merge directory and sub drectories.
path = require 'path'
###
# All profiles for every splashscreens covered ... | true | ###
# grunt-phonegapsplash
# https://github.com/PEM--/grunt-phonegapsplash
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI (PEM-- <PI:EMAIL:<EMAIL>END_PI>)
# Licensed under the MIT licence.
###
'use strict'
# Path from NodeJS app is used to merge directory and sub drectories.
path = require 'path'
###
# All profiles for... |
[
{
"context": "ring it inplace.\n#\n# {% capture heading %}\n# Monkeys!\n# {% endcapture %}\n# ...\n# <h1>{{ head",
"end": 155,
"score": 0.7638830542564392,
"start": 152,
"tag": "NAME",
"value": "Mon"
}
] | src/liquid/tags/capture.coffee | innerfunction/liquid-node | 1 | Liquid = require "../../liquid"
# Capture stores the result of a block into a variable without rendering it inplace.
#
# {% capture heading %}
# Monkeys!
# {% endcapture %}
# ...
# <h1>{{ heading }}</h1>
#
# Capture is useful for saving content for use later in your template, such as
# in a sidebar or foot... | 145408 | Liquid = require "../../liquid"
# Capture stores the result of a block into a variable without rendering it inplace.
#
# {% capture heading %}
# <NAME>keys!
# {% endcapture %}
# ...
# <h1>{{ heading }}</h1>
#
# Capture is useful for saving content for use later in your template, such as
# in a sidebar or f... | true | Liquid = require "../../liquid"
# Capture stores the result of a block into a variable without rendering it inplace.
#
# {% capture heading %}
# PI:NAME:<NAME>END_PIkeys!
# {% endcapture %}
# ...
# <h1>{{ heading }}</h1>
#
# Capture is useful for saving content for use later in your template, such as
# in ... |
[
{
"context": "process.env.DEPLOY_STATE_USERNAME\n password : process.env.DEPLOY_STATE_PASSWORD\n }\n\n panic: (error) =>\n console.error erro",
"end": 348,
"score": 0.8664510846138,
"start": 315,
"tag": "PASSWORD",
"value": "process.env.DEPLOY_STATE_PASSWORD"
}
] | command.coffee | octoblu/deploy-state-service | 1 | _ = require 'lodash'
mongojs = require 'mongojs'
Server = require './src/server'
class Command
constructor: ->
@mongoDbUri = process.env.MONGODB_URI
@serverOptions = {
port : process.env.PORT || 80
username : process.env.DEPLOY_STATE_USERNAME
password : proce... | 74415 | _ = require 'lodash'
mongojs = require 'mongojs'
Server = require './src/server'
class Command
constructor: ->
@mongoDbUri = process.env.MONGODB_URI
@serverOptions = {
port : process.env.PORT || 80
username : process.env.DEPLOY_STATE_USERNAME
password : <PASS... | true | _ = require 'lodash'
mongojs = require 'mongojs'
Server = require './src/server'
class Command
constructor: ->
@mongoDbUri = process.env.MONGODB_URI
@serverOptions = {
port : process.env.PORT || 80
username : process.env.DEPLOY_STATE_USERNAME
password : PI:PA... |
[
{
"context": "'\n exportObj.renameShip 'Scurrg H-6 Bomber', 'Bombardero Scurrg H-6'\n exportObj.renameShip 'M12-L Kimogila Fig",
"end": 13067,
"score": 0.663848340511322,
"start": 13051,
"tag": "NAME",
"value": "ombardero Scurrg"
},
{
"context": "nimo de 0).\"\"\"\n ... | coffeescripts/cards-es.coffee | idavidka/xwing | 100 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.es = 'Español'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations['Español'] =
action:
"Barrel Roll": "Tonel Volado"
"Boost": "Impulso"
"Evade": "Eva... | 151417 | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.es = 'Español'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations['Español'] =
action:
"Barrel Roll": "Tonel Volado"
"Boost": "Impulso"
"Evade": "Eva... | true | exportObj = exports ? this
exportObj.codeToLanguage ?= {}
exportObj.codeToLanguage.es = 'Español'
exportObj.translations ?= {}
# This is here mostly as a template for other languages.
exportObj.translations['Español'] =
action:
"Barrel Roll": "Tonel Volado"
"Boost": "Impulso"
"Evade": "Eva... |
[
{
"context": ")\"\n params =\n email: email\n password: password\n @post \"session\", params, (data) -> fn data if",
"end": 1149,
"score": 0.9991312623023987,
"start": 1141,
"tag": "PASSWORD",
"value": "password"
}
] | src/Models/Users.coffee | lengyuedaidai/node-gitlab | 143 | BaseModel = require '../BaseModel'
class Users extends BaseModel
init: =>
@keys = @load 'UserKeys'
all: (params = {}, fn = null) =>
if 'function' is typeof params
fn = params
params = {}
@debug "Users::all()"
params.page ?= 1
params.per_page ?= 100
data = []
cb = (err, re... | 145979 | BaseModel = require '../BaseModel'
class Users extends BaseModel
init: =>
@keys = @load 'UserKeys'
all: (params = {}, fn = null) =>
if 'function' is typeof params
fn = params
params = {}
@debug "Users::all()"
params.page ?= 1
params.per_page ?= 100
data = []
cb = (err, re... | true | BaseModel = require '../BaseModel'
class Users extends BaseModel
init: =>
@keys = @load 'UserKeys'
all: (params = {}, fn = null) =>
if 'function' is typeof params
fn = params
params = {}
@debug "Users::all()"
params.page ?= 1
params.per_page ?= 100
data = []
cb = (err, re... |
[
{
"context": "er, Mesh, SphereGeometry} from 'three'\n\n# Based on Ian Webster's blog post: http://www.ianww.com/blog/2014/02/17",
"end": 142,
"score": 0.9995133876800537,
"start": 131,
"tag": "NAME",
"value": "Ian Webster"
}
] | src/Background.coffee | skepticalimagination/solaris-js | 4 | import publicize from './helpers/publicizer'
import {ShaderMaterial, TextureLoader, Mesh, SphereGeometry} from 'three'
# Based on Ian Webster's blog post: http://www.ianww.com/blog/2014/02/17/making-a-skydome-in-three-dot-js/
class $Background
constructor: (sceneSize, root) ->
material = new ShaderMaterial
... | 130916 | import publicize from './helpers/publicizer'
import {ShaderMaterial, TextureLoader, Mesh, SphereGeometry} from 'three'
# Based on <NAME>'s blog post: http://www.ianww.com/blog/2014/02/17/making-a-skydome-in-three-dot-js/
class $Background
constructor: (sceneSize, root) ->
material = new ShaderMaterial
unif... | true | import publicize from './helpers/publicizer'
import {ShaderMaterial, TextureLoader, Mesh, SphereGeometry} from 'three'
# Based on PI:NAME:<NAME>END_PI's blog post: http://www.ianww.com/blog/2014/02/17/making-a-skydome-in-three-dot-js/
class $Background
constructor: (sceneSize, root) ->
material = new ShaderMater... |
[
{
"context": "ata - for debugging only\n# $scope.user.name = \"Luke\"\n# $scope.user.password = \"Skywalker\"\n\n\n # lo",
"end": 435,
"score": 0.9943066239356995,
"start": 431,
"tag": "NAME",
"value": "Luke"
},
{
"context": "e.user.name = \"Luke\"\n# $scope.user.password =... | app/assets/javascripts/controllers/loginController.coffee | kronus/angular-ruby-2014-example | 0 | angular.module('cafeTownsend')
.controller 'LoginController'
, ['$log',
'$scope',
'$location',
'SessionService',
'ViewState'
, ($log, $scope, $location, SessionService, ViewState) ->
# init
# ------------------------------------------------------------
init = ->
$scope.user = SessionService.getCu... | 86732 | angular.module('cafeTownsend')
.controller 'LoginController'
, ['$log',
'$scope',
'$location',
'SessionService',
'ViewState'
, ($log, $scope, $location, SessionService, ViewState) ->
# init
# ------------------------------------------------------------
init = ->
$scope.user = SessionService.getCu... | true | angular.module('cafeTownsend')
.controller 'LoginController'
, ['$log',
'$scope',
'$location',
'SessionService',
'ViewState'
, ($log, $scope, $location, SessionService, ViewState) ->
# init
# ------------------------------------------------------------
init = ->
$scope.user = SessionService.getCu... |
[
{
"context": " kind: operations.ADD_DEPOSIT\n account: 'Peter'\n currency: 'USD'\n amount: 200.0\n ",
"end": 818,
"score": 0.9992102980613708,
"start": 813,
"tag": "NAME",
"value": "Peter"
}
] | test/integration/test_trade.coffee | PartTimeLegend/buttercoin-engine | 8 | test.uses "trade_engine",
"Journal",
"pce",
"operations",
"logger"
Q = require("q")
kTestFilename = 'test.log'
describe 'TradeEngine', ->
beforeEach =>
TestHelper.remove_log(kTestFilename)
afterEach =>
TestHelper.remove_log(kTestFilename)
xit 'can perform depos... | 20699 | test.uses "trade_engine",
"Journal",
"pce",
"operations",
"logger"
Q = require("q")
kTestFilename = 'test.log'
describe 'TradeEngine', ->
beforeEach =>
TestHelper.remove_log(kTestFilename)
afterEach =>
TestHelper.remove_log(kTestFilename)
xit 'can perform depos... | true | test.uses "trade_engine",
"Journal",
"pce",
"operations",
"logger"
Q = require("q")
kTestFilename = 'test.log'
describe 'TradeEngine', ->
beforeEach =>
TestHelper.remove_log(kTestFilename)
afterEach =>
TestHelper.remove_log(kTestFilename)
xit 'can perform depos... |
[
{
"context": "!\"\n\n@MyCtrl1 = ($scope, $http) ->\n\t$scope.name = \"World\"\nMyCtrl1.$inject = ['$scope','$http']\n\n\n@MyCtrl2 ",
"end": 306,
"score": 0.8707911968231201,
"start": 301,
"tag": "NAME",
"value": "World"
},
{
"context": "]\n\n\n@MyCtrl2 = ($scope, $http) ->\n\t$scope.... | client/src/js/controllers.coffee | kuetemeier/Node-Express-Angular-Coffee-Bootstrap | 0 | "use strict"
# Controllers
@AppCtrl = ($scope, $http) ->
$http(
method: "GET"
url: "/api/name"
).success((data, status, headers, config) ->
$scope.name = data.name
).error (data, status, headers, config) ->
$scope.name = "Error!"
@MyCtrl1 = ($scope, $http) ->
$scope.name = "World"
MyCtrl1.$inj... | 180021 | "use strict"
# Controllers
@AppCtrl = ($scope, $http) ->
$http(
method: "GET"
url: "/api/name"
).success((data, status, headers, config) ->
$scope.name = data.name
).error (data, status, headers, config) ->
$scope.name = "Error!"
@MyCtrl1 = ($scope, $http) ->
$scope.name = "<NAME>"
MyCtrl1.$in... | true | "use strict"
# Controllers
@AppCtrl = ($scope, $http) ->
$http(
method: "GET"
url: "/api/name"
).success((data, status, headers, config) ->
$scope.name = data.name
).error (data, status, headers, config) ->
$scope.name = "Error!"
@MyCtrl1 = ($scope, $http) ->
$scope.name = "PI:NAME:<NAME>END_P... |
[
{
"context": "operty\nwindow.fn.playSensors =\n \"1002\": { name: 'Миладиновци', group: 13 }\n \"11888f3a-bc5e-4a0c-9f27-702984de",
"end": 153,
"score": 0.9963108897209167,
"start": 142,
"tag": "NAME",
"value": "Миладиновци"
},
{
"context": " \"11888f3a-bc5e-4a0c-9f27-702984decedf\... | www/coffee/play.coffee | atonevski/skp-ons | 0 | #
# play.coffee: play last 24h pm10 measurements
#
window.fn.playMap = null
# add group property
window.fn.playSensors =
"1002": { name: 'Миладиновци', group: 13 }
"11888f3a-bc5e-4a0c-9f27-702984decedf": { name: 'МЗТ', group: 9 }
"01440b05-255d-4764-be87-bdf135f32289": { name: 'Бардовци', group: 10 }
"bb94886... | 175157 | #
# play.coffee: play last 24h pm10 measurements
#
window.fn.playMap = null
# add group property
window.fn.playSensors =
"1002": { name: '<NAME>', group: 13 }
"11888f3a-bc5e-4a0c-9f27-702984decedf": { name: '<NAME>', group: 9 }
"01440b05-255d-4764-be87-bdf135f32289": { name: '<NAME>', group: 10 }
"bb948861-3f... | true | #
# play.coffee: play last 24h pm10 measurements
#
window.fn.playMap = null
# add group property
window.fn.playSensors =
"1002": { name: 'PI:NAME:<NAME>END_PI', group: 13 }
"11888f3a-bc5e-4a0c-9f27-702984decedf": { name: 'PI:NAME:<NAME>END_PI', group: 9 }
"01440b05-255d-4764-be87-bdf135f32289": { name: 'PI:NAME... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9991262555122375,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/disabled/test-fs-largefile.coffee | lxe/io.coffee | 0 | # Copyright Joyent, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | 61637 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": "\n \"hex\": \"#afaf87\",\n \"name\": \"NavajoWhite3\"\n },\n {\n \"hex\": \"#afafaf\",\n \"",
"end": 9791,
"score": 0.5160722732543945,
"start": 9785,
"tag": "USERNAME",
"value": "White3"
},
{
"context": "\n {\n \"hex\": \"#d7... | src/lib/colors.coffee | destinmoulton/cagen | 0 | module.exports = [
{
"hex": "#000000",
"name": "Black"
},
{
"hex": "#800000",
"name": "Maroon"
},
{
"hex": "#008000",
"name": "Green"
},
{
"hex": "#808000",
"name": "Olive"
},
{
"hex": "#000080",
"name": ... | 111175 | module.exports = [
{
"hex": "#000000",
"name": "Black"
},
{
"hex": "#800000",
"name": "Maroon"
},
{
"hex": "#008000",
"name": "Green"
},
{
"hex": "#808000",
"name": "Olive"
},
{
"hex": "#000080",
"name": ... | true | module.exports = [
{
"hex": "#000000",
"name": "Black"
},
{
"hex": "#800000",
"name": "Maroon"
},
{
"hex": "#008000",
"name": "Green"
},
{
"hex": "#808000",
"name": "Olive"
},
{
"hex": "#000080",
"name": ... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998363256454468,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | src/Compiler.coffee | sjorek/goatee-script.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... | 32471 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": "er - v2.3.3 (2014-08-06)\n# https://github.com/jylauril/jquery-runner/\n# (c) 2014 Jyrki Laurila <http",
"end": 75,
"score": 0.9994071125984192,
"start": 67,
"tag": "USERNAME",
"value": "jylauril"
},
{
"context": "/github.com/jylauril/jquery-runner/\n# (c) 2... | build/jquery.runner.coffee | jylauril/jquery-runner | 25 | # jQuery-runner - v2.3.3 (2014-08-06)
# https://github.com/jylauril/jquery-runner/
# (c) 2014 Jyrki Laurila <https://github.com/jylauril>
# ## Helper methods
# Meta object that gets prepopulated with version info, etc.
meta = {
version: "2.3.3"
name: "jQuery-runner"
}
_$ = @jQuery or @Zepto or @$
unl... | 198452 | # jQuery-runner - v2.3.3 (2014-08-06)
# https://github.com/jylauril/jquery-runner/
# (c) 2014 <NAME> <https://github.com/jylauril>
# ## Helper methods
# Meta object that gets prepopulated with version info, etc.
meta = {
version: "2.3.3"
name: "jQuery-runner"
}
_$ = @jQuery or @Zepto or @$
unless _$ ... | true | # jQuery-runner - v2.3.3 (2014-08-06)
# https://github.com/jylauril/jquery-runner/
# (c) 2014 PI:NAME:<NAME>END_PI <https://github.com/jylauril>
# ## Helper methods
# Meta object that gets prepopulated with version info, etc.
meta = {
version: "2.3.3"
name: "jQuery-runner"
}
_$ = @jQuery or @Zepto or ... |
[
{
"context": " @redisHost = process.env.T_KUE_REDIS_HOST or '127.0.0.1'\n @redisPort = +process.env.T_KUE_REDIS_PORT o",
"end": 979,
"score": 0.999772310256958,
"start": 970,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "9\n @redisPass = process.env.T_KUE_REDIS_... | src/tasks/worker.coffee | evanhuang8/teresa | 0 | ###
Task worker
###
co = require 'co'
Queue = require 'bull'
toureiro = require 'toureiro'
db = require '../db'
module.exports = class TaskWorker
# @property [String] Redis host
redisHost: undefined
# @property [Number] Redis port
redisPort: undefined
# @property [String] Redis password
redisPass: undefi... | 147198 | ###
Task worker
###
co = require 'co'
Queue = require 'bull'
toureiro = require 'toureiro'
db = require '../db'
module.exports = class TaskWorker
# @property [String] Redis host
redisHost: undefined
# @property [Number] Redis port
redisPort: undefined
# @property [String] Redis password
redisPass: undefi... | true | ###
Task worker
###
co = require 'co'
Queue = require 'bull'
toureiro = require 'toureiro'
db = require '../db'
module.exports = class TaskWorker
# @property [String] Redis host
redisHost: undefined
# @property [Number] Redis port
redisPort: undefined
# @property [String] Redis password
redisPass: undefi... |
[
{
"context": "ame\", ->\n @artwork.toAltText().should.equal \"Andy Warhol, 'Skull,' 1999, Gagosian Gallery\"\n\n it \"Works ",
"end": 13847,
"score": 0.9998779892921448,
"start": 13836,
"tag": "NAME",
"value": "Andy Warhol"
},
{
"context": "(title: \"title\", forsale: false, ... | src/desktop/test/models/artwork.coffee | kanaabe/force | 0 | _ = require 'underscore'
sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Artwork = require '../../models/artwork'
describe 'Artwork', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@artwork = new Artwork fabricate('artwork'), parse: true
... | 82912 | _ = require 'underscore'
sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Artwork = require '../../models/artwork'
describe 'Artwork', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@artwork = new Artwork fabricate('artwork'), parse: true
... | true | _ = require 'underscore'
sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Artwork = require '../../models/artwork'
describe 'Artwork', ->
beforeEach ->
sinon.stub Backbone, 'sync'
@artwork = new Artwork fabricate('artwork'), parse: true
... |
[
{
"context": "er.Models.AccountGroup(\n id: 10\n name: \"Personal\"\n )\n\n createView = (model = createModel())->\n",
"end": 146,
"score": 0.8795560002326965,
"start": 138,
"tag": "NAME",
"value": "Personal"
}
] | spec/javascripts/dot_ledger/views/account_groups/list_item_spec.js.coffee | malclocke/dotledger | 0 | describe "DotLedger.Views.AccountGroups.ListItem", ->
createModel = ->
new DotLedger.Models.AccountGroup(
id: 10
name: "Personal"
)
createView = (model = createModel())->
new DotLedger.Views.AccountGroups.ListItem(
model: model
)
it "should be defined", ->
expect(DotLedger.... | 30855 | describe "DotLedger.Views.AccountGroups.ListItem", ->
createModel = ->
new DotLedger.Models.AccountGroup(
id: 10
name: "<NAME>"
)
createView = (model = createModel())->
new DotLedger.Views.AccountGroups.ListItem(
model: model
)
it "should be defined", ->
expect(DotLedger.Vi... | true | describe "DotLedger.Views.AccountGroups.ListItem", ->
createModel = ->
new DotLedger.Models.AccountGroup(
id: 10
name: "PI:NAME:<NAME>END_PI"
)
createView = (model = createModel())->
new DotLedger.Views.AccountGroups.ListItem(
model: model
)
it "should be defined", ->
expec... |
[
{
"context": "equest.setRequestHeader('X-Auth-Token', Accounts._storedLoginToken())\n#\t\t\t\t\terror: (jqXHR, textStatus, err",
"end": 2071,
"score": 0.5372979640960693,
"start": 2065,
"tag": "KEY",
"value": "stored"
}
] | packages/steedos-application-package/models/application_package.coffee | zonglu233/fuel-car | 0 | Creator.Objects.application_package =
name: "application_package"
icon: "custom.custom42"
label: "软件包"
fields:
name:
type: "text"
label: "名称"
apps:
type: "lookup"
label: "应用"
type: "lookup"
reference_to: "apps"
multiple: true
optionsFunction: ()->
_options = []
_.forEach Creator.... | 211567 | Creator.Objects.application_package =
name: "application_package"
icon: "custom.custom42"
label: "软件包"
fields:
name:
type: "text"
label: "名称"
apps:
type: "lookup"
label: "应用"
type: "lookup"
reference_to: "apps"
multiple: true
optionsFunction: ()->
_options = []
_.forEach Creator.... | true | Creator.Objects.application_package =
name: "application_package"
icon: "custom.custom42"
label: "软件包"
fields:
name:
type: "text"
label: "名称"
apps:
type: "lookup"
label: "应用"
type: "lookup"
reference_to: "apps"
multiple: true
optionsFunction: ()->
_options = []
_.forEach Creator.... |
[
{
"context": "\nmodule.exports =\n \n password:\n saltSize: 16\n keySize: 4\n iterations: 1500\n ",
"end": 53,
"score": 0.7247660756111145,
"start": 45,
"tag": "PASSWORD",
"value": "saltSize"
},
{
"context": "le.exports =\n \n password:\n saltS... | modules/crypto/config/index.coffee | nero-networks/floyd | 0 |
module.exports =
password:
saltSize: 16
keySize: 4
iterations: 1500
hasher: 'SHA256'
| 124040 |
module.exports =
password:
<PASSWORD>: <PASSWORD>
keySize: 4
iterations: 1500
hasher: 'SHA256'
| true |
module.exports =
password:
PI:PASSWORD:<PASSWORD>END_PI: PI:PASSWORD:<PASSWORD>END_PI
keySize: 4
iterations: 1500
hasher: 'SHA256'
|
[
{
"context": "###\n@authors\nNicolas Laplante - https://plus.google.com/108189012221374960701\nN",
"end": 29,
"score": 0.9998895525932312,
"start": 13,
"tag": "NAME",
"value": "Nicolas Laplante"
},
{
"context": "e - https://plus.google.com/108189012221374960701\nNicholas McCready - h... | public/bower_components/angular-google-maps/src/coffee/directives/windows.coffee | arslannaseem/notasoft | 1 | ###
@authors
Nicolas Laplante - https://plus.google.com/108189012221374960701
Nicholas McCready - https://twitter.com/nmccready
###
###
Map info window directive
This directive is used to create an info window on an existing map.
This directive creates a new scope.
{attribute coords required} object containing lati... | 80823 | ###
@authors
<NAME> - https://plus.google.com/108189012221374960701
<NAME> - https://twitter.com/nmccready
###
###
Map info window directive
This directive is used to create an info window on an existing map.
This directive creates a new scope.
{attribute coords required} object containing latitude and longitude pr... | true | ###
@authors
PI:NAME:<NAME>END_PI - https://plus.google.com/108189012221374960701
PI:NAME:<NAME>END_PI - https://twitter.com/nmccready
###
###
Map info window directive
This directive is used to create an info window on an existing map.
This directive creates a new scope.
{attribute coords required} object containi... |
[
{
"context": "tch\r\n when passwordPrompt then \"password: #{@sshObj.server.password}\"\r\n when passphras",
"end": 8959,
"score": 0.8145740032196045,
"start": 8959,
"tag": "PASSWORD",
"value": ""
},
{
"context": " when passwordPrompt then \"password: #{@sshObj.... | controlRoom_server/server/node_modules/ssh2shell/src/ssh2shell.coffee | benamrou/controlRoom | 0 | #================================
# SSH2Shel
#================================
# Description
# SSH2 wrapper for creating a SSH shell connection and running multiple commands sequentially.
typeIsArray = Array.isArray || ( value ) -> return {}.toString.call( value ) is '[object Array]'
Stream = require('stream');
... | 47816 | #================================
# SSH2Shel
#================================
# Description
# SSH2 wrapper for creating a SSH shell connection and running multiple commands sequentially.
typeIsArray = Array.isArray || ( value ) -> return {}.toString.call( value ) is '[object Array]'
Stream = require('stream');
... | true | #================================
# SSH2Shel
#================================
# Description
# SSH2 wrapper for creating a SSH shell connection and running multiple commands sequentially.
typeIsArray = Array.isArray || ( value ) -> return {}.toString.call( value ) is '[object Array]'
Stream = require('stream');
... |
[
{
"context": "\t\t\tnumber: \"数值\"\n\t\t\t\tcurrency: \"金额\"\n\t\t\t\tpassword: \"密码\"\n\t\t\t\tlookup: \"相关表\"\n\t\t\t\tmaster_detail: \"主表/子表\"\n\t\t\t",
"end": 1893,
"score": 0.9994643330574036,
"start": 1891,
"tag": "PASSWORD",
"value": "密码"
}
] | creator/packages/steedos-object-database/models/object_fields.coffee | steedos/object-server | 10 | _syncToObject = (doc) ->
object_fields = Creator.getCollection("object_fields").find({space: doc.space, object: doc.object}, {
fields: {
created: 0,
modified: 0,
owner: 0,
created_by: 0,
modified_by: 0
}
}).fetch()
fields = {}
table_fields = {}
_.forEach object_fields, (f)->
if /^[a-zA-Z_]\... | 183789 | _syncToObject = (doc) ->
object_fields = Creator.getCollection("object_fields").find({space: doc.space, object: doc.object}, {
fields: {
created: 0,
modified: 0,
owner: 0,
created_by: 0,
modified_by: 0
}
}).fetch()
fields = {}
table_fields = {}
_.forEach object_fields, (f)->
if /^[a-zA-Z_]\... | true | _syncToObject = (doc) ->
object_fields = Creator.getCollection("object_fields").find({space: doc.space, object: doc.object}, {
fields: {
created: 0,
modified: 0,
owner: 0,
created_by: 0,
modified_by: 0
}
}).fetch()
fields = {}
table_fields = {}
_.forEach object_fields, (f)->
if /^[a-zA-Z_]\... |
[
{
"context": "kdevices.json').devices\n\nconfig = \n hostname: '192.168.105.222',\n port: 5222,\n# config2 =\n# hostname: '19",
"end": 431,
"score": 0.9996885061264038,
"start": 416,
"tag": "IP_ADDRESS",
"value": "192.168.105.222"
},
{
"context": "22',\n port: 5222,\n# c... | command-xmpp-msg.coffee | ducxop/meshblu-benchmark | 0 | myMesh = require "./src/MyMeshblu.js"
Meshblu = require 'meshblu-xmpp'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
async = require 'async'
_ = require 'lodash'
commander = require 'commander'
http = require('http')
now = require 'p... | 196878 | myMesh = require "./src/MyMeshblu.js"
Meshblu = require 'meshblu-xmpp'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
async = require 'async'
_ = require 'lodash'
commander = require 'commander'
http = require('http')
now = require 'p... | true | myMesh = require "./src/MyMeshblu.js"
Meshblu = require 'meshblu-xmpp'
Benchmark = require 'simple-benchmark'
Table = require 'cli-table'
async = require 'async'
_ = require 'lodash'
commander = require 'commander'
http = require('http')
now = require 'p... |
[
{
"context": "# Author: Josh Bass\n\nReact = require(\"react\");\nCustomerEdit = require",
"end": 19,
"score": 0.9998644590377808,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
}
] | src/client/components/customers/CustomerTable.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
React = require("react");
CustomerEdit = require("./CustomerEdit.coffee");
Moment = require("moment");
DateUtils = require("utilities/DateUtils.coffee");
module.exports = React.createClass
getInitialState: ->
{expanded_rows: {}, editing_item: undefined, confirming_delete: {}, order_mode: f... | 25026 | # Author: <NAME>
React = require("react");
CustomerEdit = require("./CustomerEdit.coffee");
Moment = require("moment");
DateUtils = require("utilities/DateUtils.coffee");
module.exports = React.createClass
getInitialState: ->
{expanded_rows: {}, editing_item: undefined, confirming_delete: {}, order_mode: fals... | true | # Author: PI:NAME:<NAME>END_PI
React = require("react");
CustomerEdit = require("./CustomerEdit.coffee");
Moment = require("moment");
DateUtils = require("utilities/DateUtils.coffee");
module.exports = React.createClass
getInitialState: ->
{expanded_rows: {}, editing_item: undefined, confirming_delete: {}, or... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999109506607056,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmaps/search-filter.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import core from 'osu-core-singleton'
import * as React from 'react'
import { div, a, span } from 'react-dom-factories'
el = React.createElement
... | 118189 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import core from 'osu-core-singleton'
import * as React from 'react'
import { div, a, span } from 'react-dom-factories'
el = React.createElement
control... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import core from 'osu-core-singleton'
import * as React from 'react'
import { div, a, span } from 'react-dom-factories'
el = React.create... |
[
{
"context": "hr.setRequestHeader('Authorization', ('Token ' + 'fccb3a073f9e7e53e01838d4693d1302e5857cf3'))\n\n Backbone.sync.call(this, method, collec",
"end": 689,
"score": 0.9664257168769836,
"start": 649,
"tag": "PASSWORD",
"value": "fccb3a073f9e7e53e01838d4693d1302e5857cf3"
}
] | coffee/models/base/collection.coffee | zedam/backbone_chaplin_api | 0 | define [
'chaplin'
'config'
'backbone'
'models/base/model'
], (Chaplin, Config, Backbone, Model) ->
class Collection extends Chaplin.Collection
# Mixin a synchronization state machine.
# _(@prototype).extend Chaplin.SyncMachine
# initialize: ->
# super
# @on 'request', @beginSync
... | 91414 | define [
'chaplin'
'config'
'backbone'
'models/base/model'
], (Chaplin, Config, Backbone, Model) ->
class Collection extends Chaplin.Collection
# Mixin a synchronization state machine.
# _(@prototype).extend Chaplin.SyncMachine
# initialize: ->
# super
# @on 'request', @beginSync
... | true | define [
'chaplin'
'config'
'backbone'
'models/base/model'
], (Chaplin, Config, Backbone, Model) ->
class Collection extends Chaplin.Collection
# Mixin a synchronization state machine.
# _(@prototype).extend Chaplin.SyncMachine
# initialize: ->
# super
# @on 'request', @beginSync
... |
[
{
"context": "b) ->\n await KeyManager.generate_ecc { userid : \"tester@test.cc\" }, T.esc(defer(tmp), cb)\n km = tmp\n cb()\n\nexpo",
"end": 483,
"score": 0.9998769760131836,
"start": 469,
"tag": "EMAIL",
"value": "tester@test.cc"
},
{
"context": "----\n\nbcrypt_sig = \"\"\"-----... | test/files/sigeng.iced | samkenxstream/kbpgp | 464 | kbpgp = require '../../'
{armor,KeyManager,kb,util} = kbpgp
{keys} = require('../data/keys.iced')
{make_esc} = require 'iced-error'
{asyncify} = util
{unbox_decode,encode} = kb
hash = kbpgp.hash
km = null
msg = """
The night attendant, a B.U. sophomore,
rouses from the mare's-nest of his drowsy head
propped on The Me... | 90833 | kbpgp = require '../../'
{armor,KeyManager,kb,util} = kbpgp
{keys} = require('../data/keys.iced')
{make_esc} = require 'iced-error'
{asyncify} = util
{unbox_decode,encode} = kb
hash = kbpgp.hash
km = null
msg = """
The night attendant, a B.U. sophomore,
rouses from the mare's-nest of his drowsy head
propped on The Me... | true | kbpgp = require '../../'
{armor,KeyManager,kb,util} = kbpgp
{keys} = require('../data/keys.iced')
{make_esc} = require 'iced-error'
{asyncify} = util
{unbox_decode,encode} = kb
hash = kbpgp.hash
km = null
msg = """
The night attendant, a B.U. sophomore,
rouses from the mare's-nest of his drowsy head
propped on The Me... |
[
{
"context": " conf.user = @_conf.user\n conf.pass = @_conf.pass\n\n @_transport = nodemailer.createTransport",
"end": 825,
"score": 0.9982308745384216,
"start": 814,
"tag": "PASSWORD",
"value": "@_conf.pass"
},
{
"context": " tasks =\n subject: ... | src/server/notification/transport/smtp/index.coffee | LaPingvino/rizzoma | 88 | _ = require('underscore')
nodemailer = require('nodemailer')
util = require('util')
async = require('async')
Conf = require('../../../conf').Conf
NotificationTransport = require('../').NotificationTransport
NOTIFICATOR_TRANSPORT_SMTP = require('../../constants').NOTIFICATOR_TRANSPORT_SMTP
class SmtpTransport extends ... | 14005 | _ = require('underscore')
nodemailer = require('nodemailer')
util = require('util')
async = require('async')
Conf = require('../../../conf').Conf
NotificationTransport = require('../').NotificationTransport
NOTIFICATOR_TRANSPORT_SMTP = require('../../constants').NOTIFICATOR_TRANSPORT_SMTP
class SmtpTransport extends ... | true | _ = require('underscore')
nodemailer = require('nodemailer')
util = require('util')
async = require('async')
Conf = require('../../../conf').Conf
NotificationTransport = require('../').NotificationTransport
NOTIFICATOR_TRANSPORT_SMTP = require('../../constants').NOTIFICATOR_TRANSPORT_SMTP
class SmtpTransport extends ... |
[
{
"context": "\n xml = render('artists')\n models: [{id: 'andy-warhol'}, {id: 'roy-lichtenstein'}]\n sd: APP",
"end": 1001,
"score": 0.6637818813323975,
"start": 997,
"tag": "NAME",
"value": "andy"
},
{
"context": "xml = render('artists')\n models: [{id: 'andy-warho... | desktop/apps/sitemaps/test/templates.coffee | dblock/force | 0 | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
moment = require 'moment'
{ fabricate } = require 'antigravity'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
Artwork = require '../../../models/artwork'
Se... | 140708 | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
moment = require 'moment'
{ fabricate } = require 'antigravity'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
Artwork = require '../../../models/artwork'
Se... | true | _ = require 'underscore'
cheerio = require 'cheerio'
path = require 'path'
jade = require 'jade'
fs = require 'fs'
moment = require 'moment'
{ fabricate } = require 'antigravity'
Article = require '../../../models/article'
Articles = require '../../../collections/articles'
Artwork = require '../../../models/artwork'
Se... |
[
{
"context": "ck for ambiguous div operator in regexes\n# @author Matt DuVall <http://www.mattduvall.com>\n###\n\n'use strict'\n\n#-",
"end": 94,
"score": 0.9998031854629517,
"start": 83,
"tag": "NAME",
"value": "Matt DuVall"
}
] | src/rules/no-div-regex.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to check for ambiguous div operator in regexes
# @author Matt DuVall <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
... | 191204 | ###*
# @fileoverview Rule to check for ambiguous div operator in regexes
# @author <NAME> <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------------------------------------------------------
modu... | true | ###*
# @fileoverview Rule to check for ambiguous div operator in regexes
# @author PI:NAME:<NAME>END_PI <http://www.mattduvall.com>
###
'use strict'
#------------------------------------------------------------------------------
# Rule Definition
#----------------------------------------------------------------------... |
[
{
"context": "ta: (key) ->\n return false unless key\n key = parseName key\n @els.some (el) -> el.dataset and key of e",
"end": 175,
"score": 0.796818196773529,
"start": 166,
"tag": "KEY",
"value": "parseName"
}
] | src/coffee/kernel/data/has-data.coffee | oatw/luda | 183 | import luda from '../base/luda.coffee'
import parseName from './helpers/parse-name.coffee'
luda.include
hasData: (key) ->
return false unless key
key = parseName key
@els.some (el) -> el.dataset and key of el.dataset | 171523 | import luda from '../base/luda.coffee'
import parseName from './helpers/parse-name.coffee'
luda.include
hasData: (key) ->
return false unless key
key = <KEY> key
@els.some (el) -> el.dataset and key of el.dataset | true | import luda from '../base/luda.coffee'
import parseName from './helpers/parse-name.coffee'
luda.include
hasData: (key) ->
return false unless key
key = PI:KEY:<KEY>END_PI key
@els.some (el) -> el.dataset and key of el.dataset |
[
{
"context": " searchAct = { type: \"search\" }\n addr = \"Class@component.example.com/instance\"\n\n readObj = {a:\"foo\", b:2}\n (",
"end": 1769,
"score": 0.9964660406112671,
"start": 1742,
"tag": "EMAIL",
"value": "Class@component.example.com"
}
] | spec/Serializer.spec.coffee | flosse/node-xmpp-joap | 0 | chai = require 'chai'
expect = chai.expect
describe "Serializer", ->
Serializer = require "../src/Serializer"
ltx = require "ltx"
describe "serialize", ->
it "serializes basic data types", ->
(expect Serializer.serialize null ).to.equal ""
(expect Serializer.serialize undefined )... | 9769 | chai = require 'chai'
expect = chai.expect
describe "Serializer", ->
Serializer = require "../src/Serializer"
ltx = require "ltx"
describe "serialize", ->
it "serializes basic data types", ->
(expect Serializer.serialize null ).to.equal ""
(expect Serializer.serialize undefined )... | true | chai = require 'chai'
expect = chai.expect
describe "Serializer", ->
Serializer = require "../src/Serializer"
ltx = require "ltx"
describe "serialize", ->
it "serializes basic data types", ->
(expect Serializer.serialize null ).to.equal ""
(expect Serializer.serialize undefined )... |
[
{
"context": "indow.lastLoad = now()\n window.refreshPassword = 30000\n window.tickerInterval = 200\n\n window.ticker = ",
"end": 284,
"score": 0.9990344047546387,
"start": 279,
"tag": "PASSWORD",
"value": "30000"
}
] | frontend/assets/application.coffee | funkjedi/password | 0 | if window.Storage and window.JSON
window.$storage = (key) ->
set: (value) ->
localStorage.setItem(key, JSON.stringify(value))
get: ->
item = localStorage.getItem(key)
JSON.parse(item) if item
$ ->
window.lastLoad = now()
window.refreshPassword = 30000
window.tickerInterval = 200
wi... | 123869 | if window.Storage and window.JSON
window.$storage = (key) ->
set: (value) ->
localStorage.setItem(key, JSON.stringify(value))
get: ->
item = localStorage.getItem(key)
JSON.parse(item) if item
$ ->
window.lastLoad = now()
window.refreshPassword = <PASSWORD>
window.tickerInterval = 200
... | true | if window.Storage and window.JSON
window.$storage = (key) ->
set: (value) ->
localStorage.setItem(key, JSON.stringify(value))
get: ->
item = localStorage.getItem(key)
JSON.parse(item) if item
$ ->
window.lastLoad = now()
window.refreshPassword = PI:PASSWORD:<PASSWORD>END_PI
window.tic... |
[
{
"context": ".HUBOT_BITLY_USERNAME\n apiKey: process.env.HUBOT_BITLY_API_KEY\n longUrl: msg.match[3]\n ",
"end": 333,
"score": 0.5904248952865601,
"start": 328,
"tag": "KEY",
"value": "HUBOT"
},
{
"context": "_BITLY_USERNAME\n apiKey: process.env.HUBOT_BITLY... | src/scripts/shorten.coffee | mcollina/hubot-scripts | 1 | # Shorten URLs with bit.ly
#
# hubot (bitly|shorten) (me) <url> - Shorten the URL using bit.ly
module.exports = (robot) ->
robot.respond /(bitly|shorten)\s?(me)?\s?(.+)$/, (msg) ->
msg
.http("http://api.bitly.com/v3/shorten")
.query
login: process.env.HUBOT_BITLY_USERNAME
apiKey: proc... | 219482 | # Shorten URLs with bit.ly
#
# hubot (bitly|shorten) (me) <url> - Shorten the URL using bit.ly
module.exports = (robot) ->
robot.respond /(bitly|shorten)\s?(me)?\s?(.+)$/, (msg) ->
msg
.http("http://api.bitly.com/v3/shorten")
.query
login: process.env.HUBOT_BITLY_USERNAME
apiKey: proc... | true | # Shorten URLs with bit.ly
#
# hubot (bitly|shorten) (me) <url> - Shorten the URL using bit.ly
module.exports = (robot) ->
robot.respond /(bitly|shorten)\s?(me)?\s?(.+)$/, (msg) ->
msg
.http("http://api.bitly.com/v3/shorten")
.query
login: process.env.HUBOT_BITLY_USERNAME
apiKey: proc... |
[
{
"context": " for own key, expansion of config\n key = _.sortBy(_.uniq(_.toArray(key))).join('')\n mapping[",
"end": 1289,
"score": 0.5682982206344604,
"start": 1283,
"tag": "KEY",
"value": "sortBy"
},
{
"context": "ig\n key = _.sortBy(_.uniq(_.toArray(key))).jo... | lib/arpeggio.coffee | dtinth/atom-arpeggio | 8 | {CompositeDisposable} = require 'atom'
_ = require 'underscore-plus'
module.exports = Arpeggio =
subscriptions: null
chords: null
matchChords: (historyString) ->
maxChordLength = Math.max((key.length for key of @chords)...)
for i in [Math.min(historyString.length, maxChordLength)..2] by -1
key =... | 44281 | {CompositeDisposable} = require 'atom'
_ = require 'underscore-plus'
module.exports = Arpeggio =
subscriptions: null
chords: null
matchChords: (historyString) ->
maxChordLength = Math.max((key.length for key of @chords)...)
for i in [Math.min(historyString.length, maxChordLength)..2] by -1
key =... | true | {CompositeDisposable} = require 'atom'
_ = require 'underscore-plus'
module.exports = Arpeggio =
subscriptions: null
chords: null
matchChords: (historyString) ->
maxChordLength = Math.max((key.length for key of @chords)...)
for i in [Math.min(historyString.length, maxChordLength)..2] by -1
key =... |
[
{
"context": "gement service\n#\n# Commands:\n# hubot ums login <username> <password> - stores the credentials for the call",
"end": 104,
"score": 0.5905429124832153,
"start": 96,
"tag": "USERNAME",
"value": "username"
},
{
"context": " modules/i, (msg) ->\n# robot.http(\"ht... | scripts/ums-commands.coffee | manzke/sample-hubot | 0 | # Description:
# interact with the user management service
#
# Commands:
# hubot ums login <username> <password> - stores the credentials for the calling user
# hubot ums logout - removes the credentials for the calling user
UMS = require "./ums-bridge"
module.exports = (robot) ->
robot.respond /(ums) login... | 203845 | # Description:
# interact with the user management service
#
# Commands:
# hubot ums login <username> <password> - stores the credentials for the calling user
# hubot ums logout - removes the credentials for the calling user
UMS = require "./ums-bridge"
module.exports = (robot) ->
robot.respond /(ums) login... | true | # Description:
# interact with the user management service
#
# Commands:
# hubot ums login <username> <password> - stores the credentials for the calling user
# hubot ums logout - removes the credentials for the calling user
UMS = require "./ums-bridge"
module.exports = (robot) ->
robot.respond /(ums) login... |
[
{
"context": " # ask_hn\n # front_page\n # author_:USERNAME\n # story_:ID\n \n # author_pg,(story",
"end": 7823,
"score": 0.9992688894271851,
"start": 7815,
"tag": "USERNAME",
"value": "USERNAME"
},
{
"context": "I\"\n \n broughtToYouByURL:\"https:... | coffeescripts/background.coffee | sdailey/kiwi-firefox | 5 |
self = require('sdk/self')
tabs = require("sdk/tabs")
base64 = require("sdk/base64")
firefoxStorage = require("sdk/simple-storage")
Panel = require("sdk/panel").Panel # <-> same thing, but one is clearer # { Panel } = require("sdk/panel")
IconButton = require("sdk/ui/button/action").ActionButton
{ setTimeout, cl... | 163375 |
self = require('sdk/self')
tabs = require("sdk/tabs")
base64 = require("sdk/base64")
firefoxStorage = require("sdk/simple-storage")
Panel = require("sdk/panel").Panel # <-> same thing, but one is clearer # { Panel } = require("sdk/panel")
IconButton = require("sdk/ui/button/action").ActionButton
{ setTimeout, cl... | true |
self = require('sdk/self')
tabs = require("sdk/tabs")
base64 = require("sdk/base64")
firefoxStorage = require("sdk/simple-storage")
Panel = require("sdk/panel").Panel # <-> same thing, but one is clearer # { Panel } = require("sdk/panel")
IconButton = require("sdk/ui/button/action").ActionButton
{ setTimeout, cl... |
[
{
"context": "esult',\n title: 'The Friendship and Flight of Andy Warhol, Philip Pearlstein, and ...',\n htmlTitle: 'T",
"end": 330,
"score": 0.9892533421516418,
"start": 319,
"tag": "NAME",
"value": "Andy Warhol"
},
{
"context": " title: 'The Friendship and Flight of Andy ... | mobile/components/search_results/test/template.coffee | craigspaeth/_force-merge | 1 | fs = require 'fs'
jade = require 'jade'
path = require 'path'
fixtures = require '../../../test/helpers/fixtures'
GooogleSearchResult = require '../../../models/google_search_result'
describe 'result.jade', ->
before ->
@fixture = {
kind: 'customsearch#result',
title: 'The Friendship and Flight of A... | 76914 | fs = require 'fs'
jade = require 'jade'
path = require 'path'
fixtures = require '../../../test/helpers/fixtures'
GooogleSearchResult = require '../../../models/google_search_result'
describe 'result.jade', ->
before ->
@fixture = {
kind: 'customsearch#result',
title: 'The Friendship and Flight of <... | true | fs = require 'fs'
jade = require 'jade'
path = require 'path'
fixtures = require '../../../test/helpers/fixtures'
GooogleSearchResult = require '../../../models/google_search_result'
describe 'result.jade', ->
before ->
@fixture = {
kind: 'customsearch#result',
title: 'The Friendship and Flight of P... |
[
{
"context": "^$]+$\"\n overwrite_wd: true\n }\n {\n key: \"bt\"\n config:\n commands: []\n }\n]\n",
"end": 148,
"score": 0.7459266781806946,
"start": 146,
"tag": "KEY",
"value": "bt"
}
] | .build-tools.cson | exCSS/configurator | 0 | providers: [
{
key: "makefile"
config:
file: "Makefile"
regex: "^[A-Za-z][^$]+$"
overwrite_wd: true
}
{
key: "bt"
config:
commands: []
}
]
| 163849 | providers: [
{
key: "makefile"
config:
file: "Makefile"
regex: "^[A-Za-z][^$]+$"
overwrite_wd: true
}
{
key: "<KEY>"
config:
commands: []
}
]
| true | providers: [
{
key: "makefile"
config:
file: "Makefile"
regex: "^[A-Za-z][^$]+$"
overwrite_wd: true
}
{
key: "PI:KEY:<KEY>END_PI"
config:
commands: []
}
]
|
[
{
"context": "{\n\t\"$schema\": \"https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json\",\n\t\"name\": \"sca",
"end": 59,
"score": 0.9996702671051025,
"start": 49,
"tag": "USERNAME",
"value": "martinring"
},
{
"context": "ing/tmlanguage/master/tmlanguage.jso... | grammars/scarpet.cson | Aras14HD/language-scarpet | 0 | {
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "scarpet",
"patterns": [{
"include": "#expression"
},
{
"include": "#statements"
}
],
"repository": {
"expression": {
"patterns": [{
"include": "#keywords"
},
{
"include": "#str... | 122307 | {
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "<NAME>arpet",
"patterns": [{
"include": "#expression"
},
{
"include": "#statements"
}
],
"repository": {
"expression": {
"patterns": [{
"include": "#keywords"
},
{
"include": "... | true | {
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "PI:NAME:<NAME>END_PIarpet",
"patterns": [{
"include": "#expression"
},
{
"include": "#statements"
}
],
"repository": {
"expression": {
"patterns": [{
"include": "#keywords"
},
{
... |
[
{
"context": "utton \"Lokaal (alt)\", !->\n\t\t\t\tApp.openUrl 'http://192.168.178.11'\n\t\t\tUi.button \"Extern\", !->\n\t\t\t\tApp.openUrl 'http",
"end": 268,
"score": 0.9997238516807556,
"start": 254,
"tag": "IP_ADDRESS",
"value": "192.168.178.11"
},
{
"context": "\t\tUi.button \"... | client.coffee | erwinrietveld/pinohappening | 0 |
exports.render = !->
# your client code here
Ui.card !->
Dom.h2 "Links naar PINO"
Dom.text "Alleen maar liefde."
Dom.div !->
Ui.button "Lokaal", !->
App.openUrl 'http://pino.local'
Ui.button "Lokaal (alt)", !->
App.openUrl 'http://192.168.178.11'
Ui.button "Extern", !->
App.openUrl 'http:/... | 139669 |
exports.render = !->
# your client code here
Ui.card !->
Dom.h2 "Links naar PINO"
Dom.text "Alleen maar liefde."
Dom.div !->
Ui.button "Lokaal", !->
App.openUrl 'http://pino.local'
Ui.button "Lokaal (alt)", !->
App.openUrl 'http://192.168.178.11'
Ui.button "Extern", !->
App.openUrl 'http:/... | true |
exports.render = !->
# your client code here
Ui.card !->
Dom.h2 "Links naar PINO"
Dom.text "Alleen maar liefde."
Dom.div !->
Ui.button "Lokaal", !->
App.openUrl 'http://pino.local'
Ui.button "Lokaal (alt)", !->
App.openUrl 'http://192.168.178.11'
Ui.button "Extern", !->
App.openUrl 'http:/... |
[
{
"context": "odels.user\n .findOne()\n .where username: username\n .exec (err, user) ->\n if err then re",
"end": 305,
"score": 0.891613781452179,
"start": 297,
"tag": "USERNAME",
"value": "username"
},
{
"context": "n callback null, false\n if password ... | src/modules/controllers/auth.controller.coffee | Soundscape/sublime-oauth2 | 0 | passport = require 'passport'
BasicStrategy = require('passport-http').BasicStrategy
BearerStrategy = require('passport-http-bearer').Strategy
module.exports = (ctx) ->
passport.use new BasicStrategy (username, password, callback) ->
ctx.models.user
.findOne()
.where username: username
.exec (e... | 212386 | passport = require 'passport'
BasicStrategy = require('passport-http').BasicStrategy
BearerStrategy = require('passport-http-bearer').Strategy
module.exports = (ctx) ->
passport.use new BasicStrategy (username, password, callback) ->
ctx.models.user
.findOne()
.where username: username
.exec (e... | true | passport = require 'passport'
BasicStrategy = require('passport-http').BasicStrategy
BearerStrategy = require('passport-http-bearer').Strategy
module.exports = (ctx) ->
passport.use new BasicStrategy (username, password, callback) ->
ctx.models.user
.findOne()
.where username: username
.exec (e... |
[
{
"context": " express.basicAuth (user, pass) -> \n password = process.env.PG_BASIC_PASS\n user = process.env.PG_BASIC_USER || 'pguser'\n",
"end": 125,
"score": 0.8150537014007568,
"start": 100,
"tag": "PASSWORD",
"value": "process.env.PG_BASIC_PASS"
},
{
"context": "SIC_PASS\n... | lib/basic_auth.coffee | letsface/postgresql-http-server | 13 | express = require('express')
exports.secureAPI = express.basicAuth (user, pass) ->
password = process.env.PG_BASIC_PASS
user = process.env.PG_BASIC_USER || 'pguser'
if (password == null || password == undefined)
console.log("PG_BASIC_PASS env variable is missing....")
return false;
return... | 92580 | express = require('express')
exports.secureAPI = express.basicAuth (user, pass) ->
password = <PASSWORD>
user = process.env.PG_BASIC_USER || 'pguser'
if (password == null || password == undefined)
console.log("PG_BASIC_PASS env variable is missing....")
return false;
return user == user &... | true | express = require('express')
exports.secureAPI = express.basicAuth (user, pass) ->
password = PI:PASSWORD:<PASSWORD>END_PI
user = process.env.PG_BASIC_USER || 'pguser'
if (password == null || password == undefined)
console.log("PG_BASIC_PASS env variable is missing....")
return false;
ret... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998917579650879,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/Console/Application.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Bundle = use('@Konsserto/Component/Bundle/Bundle')
ConsoleApplication = use('@Konsserto... | 172604 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Bundle = use('@Konsserto/Component/Bundle/Bundle')
ConsoleApplication = use('@Konsserto/Component/Console/C... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
Bundle = use('@Konsserto/Component/Bundle/Bundle')
ConsoleApplication = use('@... |
[
{
"context": "ew Enforce aria role attribute is valid.\n# @author Ethan Cohen\n###\n\n# ------------------------------------------",
"end": 104,
"score": 0.9998776912689209,
"start": 93,
"tag": "NAME",
"value": "Ethan Cohen"
}
] | src/tests/rules/aria-role.coffee | danielbayley/eslint-plugin-coffee | 21 | ### eslint-env jest ###
###*
# @fileoverview Enforce aria role attribute is valid.
# @author Ethan Cohen
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{roles} = re... | 97500 | ### eslint-env jest ###
###*
# @fileoverview Enforce aria role attribute is valid.
# @author <NAME>
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{roles} = require... | true | ### eslint-env jest ###
###*
# @fileoverview Enforce aria role attribute is valid.
# @author PI:NAME:<NAME>END_PI
###
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
path = require 'path'
{ro... |
[
{
"context": "otoall\n ---\n \n Lecture Notes of DL Zero To All, Sung Kim.\n \n Thanks to Sung Kim for the great lecture.\n ",
"end": 343,
"score": 0.9857950806617737,
"start": 335,
"tag": "NAME",
"value": "Sung Kim"
},
{
"context": " Notes of DL Zero To All, Sung Kim.\n \n Th... | _posts/notes/4a8e7c77-d909-4821-87eb-cc6f3fae08fb.cson | rpblic/rpblic.github.io | 0 | createdAt: "2018-09-02T16:45:02.622Z"
updatedAt: "2018-09-26T23:35:32.883Z"
type: "MARKDOWN_NOTE"
folder: "825d5dcb0e1827af7189"
title: ""
content: '''
---
layout: post
title: DeepLearning Zero To All Lecture note
tags: [DL, ZeroToAll, LectureNote]
category: Deeplearningzerotoall
---
Lecture Notes of D... | 24741 | createdAt: "2018-09-02T16:45:02.622Z"
updatedAt: "2018-09-26T23:35:32.883Z"
type: "MARKDOWN_NOTE"
folder: "825d5dcb0e1827af7189"
title: ""
content: '''
---
layout: post
title: DeepLearning Zero To All Lecture note
tags: [DL, ZeroToAll, LectureNote]
category: Deeplearningzerotoall
---
Lecture Notes of D... | true | createdAt: "2018-09-02T16:45:02.622Z"
updatedAt: "2018-09-26T23:35:32.883Z"
type: "MARKDOWN_NOTE"
folder: "825d5dcb0e1827af7189"
title: ""
content: '''
---
layout: post
title: DeepLearning Zero To All Lecture note
tags: [DL, ZeroToAll, LectureNote]
category: Deeplearningzerotoall
---
Lecture Notes of D... |
[
{
"context": "ber.Controller.extend\n username: null\n password: null\n actions:\n login: ->\n user = @get 'user'",
"end": 104,
"score": 0.9665197730064392,
"start": 100,
"tag": "PASSWORD",
"value": "null"
},
{
"context": ">\n user = @get 'user'\n username = @get... | mapping-pilot-ui/app/controllers/login.coffee | tenforce/esco-mapping-pilot | 0 | `import Ember from 'ember'`
LoginController = Ember.Controller.extend
username: null
password: null
actions:
login: ->
user = @get 'user'
username = @get 'username'
password = @get 'password'
user.set 'username', username
user.set 'password', password
base = document.base... | 75830 | `import Ember from 'ember'`
LoginController = Ember.Controller.extend
username: null
password: <PASSWORD>
actions:
login: ->
user = @get 'user'
username = @get 'username'
password = @get '<PASSWORD>'
user.set 'username', username
user.set 'password', <PASSWORD>
base = doc... | true | `import Ember from 'ember'`
LoginController = Ember.Controller.extend
username: null
password: PI:PASSWORD:<PASSWORD>END_PI
actions:
login: ->
user = @get 'user'
username = @get 'username'
password = @get 'PI:PASSWORD:<PASSWORD>END_PI'
user.set 'username', username
user.set 'pas... |
[
{
"context": "r.users.find().count()==0\n\tnew_user={\n\t\tusername:\"james\"\n\t\temail:\"james@kimatech.com\"\n\t\tpassword:\"ima123\"",
"end": 63,
"score": 0.9995595216751099,
"start": 58,
"tag": "USERNAME",
"value": "james"
},
{
"context": "ount()==0\n\tnew_user={\n\t\tusername:\... | server/seeds/userinit.coffee | sawima/kimashare | 0 | if Meteor.users.find().count()==0
new_user={
username:"james"
email:"james@kimatech.com"
password:"ima123"
roles:["internal","useradmin","systemadmin"]
profile:{fullname:"James"}
}
admin_id=Accounts.createUser(new_user)
Roles.addUsersToRoles(admin_id,['internal','useradmin','systemadmin'])
new_user={
... | 101195 | if Meteor.users.find().count()==0
new_user={
username:"james"
email:"<EMAIL>"
password:"<PASSWORD>"
roles:["internal","useradmin","systemadmin"]
profile:{fullname:"<NAME>"}
}
admin_id=Accounts.createUser(new_user)
Roles.addUsersToRoles(admin_id,['internal','useradmin','systemadmin'])
new_user={
userna... | true | if Meteor.users.find().count()==0
new_user={
username:"james"
email:"PI:EMAIL:<EMAIL>END_PI"
password:"PI:PASSWORD:<PASSWORD>END_PI"
roles:["internal","useradmin","systemadmin"]
profile:{fullname:"PI:NAME:<NAME>END_PI"}
}
admin_id=Accounts.createUser(new_user)
Roles.addUsersToRoles(admin_id,['internal','u... |
[
{
"context": "expect($(\"#my-sel option:selected\").text()).toBe(\"Luccas Marks\")\n )\n )\n\n describe(\"::getValue\", () ->\n i",
"end": 799,
"score": 0.9998281002044678,
"start": 787,
"tag": "NAME",
"value": "Luccas Marks"
}
] | spec/javascripts/core/components/select.spec.coffee | houzelio/houzel | 2 | import SelectCmp from 'javascripts/core/components/select'
describe("Select Component", () ->
beforeEach ->
setFixtures(__html__['my-select.html'])
@mySelect = new SelectCmp(el: '#my-sel')
describe("initializing", () ->
it("shows chosen for select element", () ->
expect($('#my-sel').next()).toBe... | 9251 | import SelectCmp from 'javascripts/core/components/select'
describe("Select Component", () ->
beforeEach ->
setFixtures(__html__['my-select.html'])
@mySelect = new SelectCmp(el: '#my-sel')
describe("initializing", () ->
it("shows chosen for select element", () ->
expect($('#my-sel').next()).toBe... | true | import SelectCmp from 'javascripts/core/components/select'
describe("Select Component", () ->
beforeEach ->
setFixtures(__html__['my-select.html'])
@mySelect = new SelectCmp(el: '#my-sel')
describe("initializing", () ->
it("shows chosen for select element", () ->
expect($('#my-sel').next()).toBe... |
[
{
"context": "oGLib\n# Module | Stat Methods\n# Author | Sherif Emabrak\n# Description | The neighbor method returns the e",
"end": 163,
"score": 0.9998761415481567,
"start": 149,
"tag": "NAME",
"value": "Sherif Emabrak"
}
] | src/lib/statistics/link/neighbour.coffee | Sherif-Embarak/gp-test | 0 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | Sherif Emabrak
# Description | The neighbor method returns the edges in a nearest-neighbor graph.
# -----------------------------------------------------------------------... | 133134 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | <NAME>
# Description | The neighbor method returns the edges in a nearest-neighbor graph.
# ------------------------------------------------------------------------------
... | true | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | PI:NAME:<NAME>END_PI
# Description | The neighbor method returns the edges in a nearest-neighbor graph.
# -----------------------------------------------------------------... |
[
{
"context": "d: presenceId\n meeting: meetingId\n name: name\n rooms:\n visible: []\n invisibl",
"end": 3753,
"score": 0.9971221685409546,
"start": 3749,
"tag": "NAME",
"value": "name"
}
] | client/Meeting.coffee | diomidov/comingle | 0 | import React, {useState, useEffect, useReducer, useMemo} from 'react'
import {useParams, useLocation, useHistory} from 'react-router-dom'
import {Tooltip, OverlayTrigger} from 'react-bootstrap'
import {Session} from 'meteor/session'
import {useTracker} from 'meteor/react-meteor-data'
import {FontAwesomeIcon} from '@for... | 91785 | import React, {useState, useEffect, useReducer, useMemo} from 'react'
import {useParams, useLocation, useHistory} from 'react-router-dom'
import {Tooltip, OverlayTrigger} from 'react-bootstrap'
import {Session} from 'meteor/session'
import {useTracker} from 'meteor/react-meteor-data'
import {FontAwesomeIcon} from '@for... | true | import React, {useState, useEffect, useReducer, useMemo} from 'react'
import {useParams, useLocation, useHistory} from 'react-router-dom'
import {Tooltip, OverlayTrigger} from 'react-bootstrap'
import {Session} from 'meteor/session'
import {useTracker} from 'meteor/react-meteor-data'
import {FontAwesomeIcon} from '@for... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.