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": " = (success) ->\n m = sip.parse [\n 'INVITE sip:bob@biloxi.com SIP/2.0',\n 'Via: SIP/2.0/UDP pc33.atlanta.com;",
"end": 296,
"score": 0.9999111890792847,
"start": 282,
"tag": "EMAIL",
"value": "bob@biloxi.com"
},
{
"context": "9hG4bK776asdhds',\n 'Max-Forwards... | test/parser.coffee | Docoyo/sip.js | 0 | assert = require('assert')
sip = require('../sip')
fs = require('fs')
net = require('net')
# check correct parsing of most of specifically parsed headers
# ie contact is parsed to array, to parsed to single valued headers etc
test1 = (success) ->
m = sip.parse [
'INVITE sip:bob@biloxi.com SIP/2.0',
'Via: SIP... | 92523 | assert = require('assert')
sip = require('../sip')
fs = require('fs')
net = require('net')
# check correct parsing of most of specifically parsed headers
# ie contact is parsed to array, to parsed to single valued headers etc
test1 = (success) ->
m = sip.parse [
'INVITE sip:<EMAIL> SIP/2.0',
'Via: SIP/2.0/UD... | true | assert = require('assert')
sip = require('../sip')
fs = require('fs')
net = require('net')
# check correct parsing of most of specifically parsed headers
# ie contact is parsed to array, to parsed to single valued headers etc
test1 = (success) ->
m = sip.parse [
'INVITE sip:PI:EMAIL:<EMAIL>END_PI SIP/2.0',
'... |
[
{
"context": "###\n Chrome YouTube Resizer\n (c) 2015 Daniel Davison & Contributors\n\n Chrome YouTube Resizer is a chr",
"end": 54,
"score": 0.9998568296432495,
"start": 40,
"tag": "NAME",
"value": "Daniel Davison"
}
] | src/chrome-youtube-resizer.coffee | ddavison/chrome-youtube-resizer | 3 | ###
Chrome YouTube Resizer
(c) 2015 Daniel Davison & Contributors
Chrome YouTube Resizer is a chrome extension that allows you to resize a YouTube video (embedded or not) to any
dimensions for your viewing pleasure.
###
class Resizer
@btnResize = document.createElement ('div')
@contro... | 64166 | ###
Chrome YouTube Resizer
(c) 2015 <NAME> & Contributors
Chrome YouTube Resizer is a chrome extension that allows you to resize a YouTube video (embedded or not) to any
dimensions for your viewing pleasure.
###
class Resizer
@btnResize = document.createElement ('div')
@controlParent ... | true | ###
Chrome YouTube Resizer
(c) 2015 PI:NAME:<NAME>END_PI & Contributors
Chrome YouTube Resizer is a chrome extension that allows you to resize a YouTube video (embedded or not) to any
dimensions for your viewing pleasure.
###
class Resizer
@btnResize = document.createElement ('div')
@... |
[
{
"context": "###\n * cena_auth\n * https://github.com/1egoman/cena_app\n *\n * Copyright (c) 2015 Ryan Gaus\n * Li",
"end": 46,
"score": 0.9983983635902405,
"start": 39,
"tag": "USERNAME",
"value": "1egoman"
},
{
"context": "thub.com/1egoman/cena_app\n *\n * Copyright (c) 2015 Ryan ... | src/frontend/controllers/list.coffee | 1egoman/cena_app | 0 | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 Ryan Gaus
* Licensed under the MIT license.
###
'use strict';
# list controller
@app.controller 'ListController', ($scope, $routeParams, List, FoodStuff, Tag, Shop, $rootScope, $location) ->
root = $scope
root.isData = false
# get... | 3571 | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 <NAME>
* Licensed under the MIT license.
###
'use strict';
# list controller
@app.controller 'ListController', ($scope, $routeParams, List, FoodStuff, Tag, Shop, $rootScope, $location) ->
root = $scope
root.isData = false
# get al... | true | ###
* cena_auth
* https://github.com/1egoman/cena_app
*
* Copyright (c) 2015 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
'use strict';
# list controller
@app.controller 'ListController', ($scope, $routeParams, List, FoodStuff, Tag, Shop, $rootScope, $location) ->
root = $scope
root.isData = fal... |
[
{
"context": "implements exclusive ItwayIO plugins.\n#\n# @Author nilsenj\n# @Email ni_cole@i.ua\n# @version 0.1\n###\n\n### -",
"end": 219,
"score": 0.9996194839477539,
"start": 212,
"tag": "USERNAME",
"value": "nilsenj"
},
{
"context": "e ItwayIO plugins.\n#\n# @Author nilsenj\... | resources/assets/coffee/app.coffee | nilsenj/itway | 1 | ###! ItwayIO app.js
# ================
# Main JS application file for ItwayIO This file
# should be included in all pages. It controls some layout
# options and implements exclusive ItwayIO plugins.
#
# @Author nilsenj
# @Email ni_cole@i.ua
# @version 0.1
###
### ----------------------------------
# - Initialize th... | 37808 | ###! ItwayIO app.js
# ================
# Main JS application file for ItwayIO This file
# should be included in all pages. It controls some layout
# options and implements exclusive ItwayIO plugins.
#
# @Author nilsenj
# @Email <EMAIL>
# @version 0.1
###
### ----------------------------------
# - Initialize the Itw... | true | ###! ItwayIO app.js
# ================
# Main JS application file for ItwayIO This file
# should be included in all pages. It controls some layout
# options and implements exclusive ItwayIO plugins.
#
# @Author nilsenj
# @Email PI:EMAIL:<EMAIL>END_PI
# @version 0.1
###
### ----------------------------------
# - Ini... |
[
{
"context": "key: 'line-break-backslash'\n\npatterns: [\n match: '(?<=\\\\S)\\\\p{Blank}+(\\\\\\\\)",
"end": 26,
"score": 0.9876984357833862,
"start": 6,
"tag": "KEY",
"value": "line-break-backslash"
}
] | grammars/repositories/partials/line-break-backslash-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'line-break-backslash'
patterns: [
match: '(?<=\\S)\\p{Blank}+(\\\\)$'
captures:
1: name: 'variable.line-break.asciidoc'
]
| 16746 | key: '<KEY>'
patterns: [
match: '(?<=\\S)\\p{Blank}+(\\\\)$'
captures:
1: name: 'variable.line-break.asciidoc'
]
| true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
match: '(?<=\\S)\\p{Blank}+(\\\\)$'
captures:
1: name: 'variable.line-break.asciidoc'
]
|
[
{
"context": "\n# The help manuals command\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\n\n# returns the list of available commands\ncomma",
"end": 69,
"score": 0.9998846054077148,
"start": 52,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/commands/help.coffee | lovely-io/lovely.io-stl | 2 | #
# The help manuals command
#
# Copyright (C) 2011 Nikolay Nemshilov
#
# returns the list of available commands
commands_list = ->
require('fs').readdirSync(__dirname).map (file) ->
file.split('.')[0]
# returns the commands list in a batches of given length
commands_list_in_batches = (length)->
separator = '... | 103551 | #
# The help manuals command
#
# Copyright (C) 2011 <NAME>
#
# returns the list of available commands
commands_list = ->
require('fs').readdirSync(__dirname).map (file) ->
file.split('.')[0]
# returns the commands list in a batches of given length
commands_list_in_batches = (length)->
separator = ', '
batch... | true | #
# The help manuals command
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
# returns the list of available commands
commands_list = ->
require('fs').readdirSync(__dirname).map (file) ->
file.split('.')[0]
# returns the commands list in a batches of given length
commands_list_in_batches = (length)->
separator ... |
[
{
"context": "oal} instance represents a Kaffee goal.\n\n @author Fabian M. <mail.fabianm@gmail.com>\n###\nclass Goal\n\t###\n\t ",
"end": 156,
"score": 0.9998438954353333,
"start": 148,
"tag": "NAME",
"value": "Fabian M"
},
{
"context": "e represents a Kaffee goal.\n\n @author Fa... | kaffee/src/main/kaffee/plugin/goal.coffee | fabianm/kaffee | 1 | EventManager = require '../event/manager'
Result = require '../execution/result'
###
A {@link Goal} instance represents a Kaffee goal.
@author Fabian M. <mail.fabianm@gmail.com>
###
class Goal
###
Constructs a new {@link Goal}.
@since 0.2.1
@param plugin The {@link Plugin} of this {@link Goal}.
@para... | 168966 | EventManager = require '../event/manager'
Result = require '../execution/result'
###
A {@link Goal} instance represents a Kaffee goal.
@author <NAME>. <<EMAIL>>
###
class Goal
###
Constructs a new {@link Goal}.
@since 0.2.1
@param plugin The {@link Plugin} of this {@link Goal}.
@param name The name o... | true | EventManager = require '../event/manager'
Result = require '../execution/result'
###
A {@link Goal} instance represents a Kaffee goal.
@author PI:NAME:<NAME>END_PI. <PI:EMAIL:<EMAIL>END_PI>
###
class Goal
###
Constructs a new {@link Goal}.
@since 0.2.1
@param plugin The {@link Plugin} of this {@link Goa... |
[
{
"context": "er for Zen Photon Garden.\n#\n# Copyright (c) 2013 Micah Elizabeth Scott <micah@scanlime.org>\n#\n# Permission is hereby g",
"end": 198,
"score": 0.9998781681060791,
"start": 177,
"tag": "NAME",
"value": "Micah Elizabeth Scott"
},
{
"context": ".\n#\n# Copyright (... | example /hqz/queue-status.coffee | amane312/photon_generator | 0 | #!/usr/bin/env coffee
#
# Quick script to get an overview of the queue state.
# This file is part of HQZ, the batch renderer for Zen Photon Garden.
#
# Copyright (c) 2013 Micah Elizabeth Scott <micah@scanlime.org>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this softw... | 175752 | #!/usr/bin/env coffee
#
# Quick script to get an overview of the queue state.
# This file is part of HQZ, the batch renderer for Zen Photon Garden.
#
# Copyright (c) 2013 <NAME> <<EMAIL>>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documen... | true | #!/usr/bin/env coffee
#
# Quick script to get an overview of the queue state.
# This file is part of HQZ, the batch renderer for Zen Photon Garden.
#
# Copyright (c) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this so... |
[
{
"context": "aspberryData for Übersicht\n# Created April 2020 by Johannes Hubig\n\n# THEME OPTIONS: dark or light\t(default is dark)",
"end": 142,
"score": 0.9998529553413391,
"start": 128,
"tag": "NAME",
"value": "Johannes Hubig"
}
] | raspberryData.widget/index.coffee | jhubig/uebersicht-widget-raspberryData | 2 | #-----------------------------------------------------------------------#
# raspberryData for Übersicht
# Created April 2020 by Johannes Hubig
# THEME OPTIONS: dark or light (default is dark)
theme = 'dark'
# Position of the widget on your screen
pos_top = '180px'
pos_left = '330px'
#-----------------------------... | 193596 | #-----------------------------------------------------------------------#
# raspberryData for Übersicht
# Created April 2020 by <NAME>
# THEME OPTIONS: dark or light (default is dark)
theme = 'dark'
# Position of the widget on your screen
pos_top = '180px'
pos_left = '330px'
#-------------------------------------... | true | #-----------------------------------------------------------------------#
# raspberryData for Übersicht
# Created April 2020 by PI:NAME:<NAME>END_PI
# THEME OPTIONS: dark or light (default is dark)
theme = 'dark'
# Position of the widget on your screen
pos_top = '180px'
pos_left = '330px'
#-----------------------... |
[
{
"context": "nal notes required for the script>\n#\n# Author:\n# yoshida@ebisol.co.jp\n\nmodule.exports = (robot) ->\n\n\n robot.hear /ebic",
"end": 283,
"score": 0.9999326467514038,
"start": 263,
"tag": "EMAIL",
"value": "yoshida@ebisol.co.jp"
}
] | src/ebichan.coffee | msmyoshida/ebichan | 0 | # Description
# main brain of ebichan
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# yoshida@ebisol.co.jp
module.exports = (robot) ->
rob... | 197161 | # Description
# main brain of ebichan
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# <EMAIL>
module.exports = (robot) ->
robot.hear /ebic... | true | # Description
# main brain of ebichan
#
# Configuration:
# LIST_OF_ENV_VARS_TO_SET
#
# Commands:
# hubot hello - <what the respond trigger does>
# orly - <what the hear trigger does>
#
# Notes:
# <optional notes required for the script>
#
# Author:
# PI:EMAIL:<EMAIL>END_PI
module.exports = (robot) ->
r... |
[
{
"context": " it 'should validate strings', ->\n { name: 'Akahige' }.should.respect { name: String }\n\n itShouldN",
"end": 430,
"score": 0.9997746348381042,
"start": 423,
"tag": "NAME",
"value": "Akahige"
},
{
"context": "Not 'validate non-Date values', ->\n { name: /... | test/constructors.test.coffee | sabiwara/hikaku.js | 4 |
should = null
respect = require '..'
describe 'Constructor comparison', ->
before ->
delete Object::should
chai = require 'chai'
chai.use respect.chaiPlugin()
should = chai.should()
describe 'for String constructor', ->
it 'should validate the String constructor (equality case)', ->
... | 158229 |
should = null
respect = require '..'
describe 'Constructor comparison', ->
before ->
delete Object::should
chai = require 'chai'
chai.use respect.chaiPlugin()
should = chai.should()
describe 'for String constructor', ->
it 'should validate the String constructor (equality case)', ->
... | true |
should = null
respect = require '..'
describe 'Constructor comparison', ->
before ->
delete Object::should
chai = require 'chai'
chai.use respect.chaiPlugin()
should = chai.should()
describe 'for String constructor', ->
it 'should validate the String constructor (equality case)', ->
... |
[
{
"context": "#'\n value:\n city: \"Moscow\"\n street: \"Lenina\"\n building: \"15\"\n display: (value) ->\n ",
"end": 240,
"score": 0.9344165325164795,
"start": 234,
"tag": "NAME",
"value": "Lenina"
}
] | public/assets/js/index.coffee | aanoaa/xeditable-waybill | 1 | $ ->
$('#waybill').editable
mode: 'inline'
source: ['Fedex', 'DHL']
$('#address').editable
mode: 'inline'
url: '/post'
title: 'Enter city, street and building #'
value:
city: "Moscow"
street: "Lenina"
building: "15"
display: (value) ->
return $(@).empty() unless ... | 218004 | $ ->
$('#waybill').editable
mode: 'inline'
source: ['Fedex', 'DHL']
$('#address').editable
mode: 'inline'
url: '/post'
title: 'Enter city, street and building #'
value:
city: "Moscow"
street: "<NAME>"
building: "15"
display: (value) ->
return $(@).empty() unless ... | true | $ ->
$('#waybill').editable
mode: 'inline'
source: ['Fedex', 'DHL']
$('#address').editable
mode: 'inline'
url: '/post'
title: 'Enter city, street and building #'
value:
city: "Moscow"
street: "PI:NAME:<NAME>END_PI"
building: "15"
display: (value) ->
return $(@).e... |
[
{
"context": ".headers\n\n secret = process.env.MASTER_SECRET ||\"gFNNkdQ5WrysBcujHKMJY8Ewy8XNsAcY\"\n\n if req.headers.token? and req.headers.token i",
"end": 207,
"score": 0.9347760677337646,
"start": 175,
"tag": "KEY",
"value": "gFNNkdQ5WrysBcujHKMJY8Ewy8XNsAcY"
}
] | lab1-REST/api/policies/hasMasterToken.coffee | stepanic/fer-rznu | 0 | # Login for REST API
module.exports = (req, res, next) ->
sails.log.verbose "Policy hasMasterToken"
sails.log.verbose req.headers
secret = process.env.MASTER_SECRET ||"gFNNkdQ5WrysBcujHKMJY8Ewy8XNsAcY"
if req.headers.token? and req.headers.token is secret
return next()
else
return res.forbidden()
... | 12763 | # Login for REST API
module.exports = (req, res, next) ->
sails.log.verbose "Policy hasMasterToken"
sails.log.verbose req.headers
secret = process.env.MASTER_SECRET ||"<KEY>"
if req.headers.token? and req.headers.token is secret
return next()
else
return res.forbidden()
| true | # Login for REST API
module.exports = (req, res, next) ->
sails.log.verbose "Policy hasMasterToken"
sails.log.verbose req.headers
secret = process.env.MASTER_SECRET ||"PI:KEY:<KEY>END_PI"
if req.headers.token? and req.headers.token is secret
return next()
else
return res.forbidden()
|
[
{
"context": "verview Tests for no-global-assign rule.\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 76,
"score": 0.9998131394386292,
"start": 64,
"tag": "NAME",
"value": "Ilya Volodin"
},
{
"context": "donly are moved from no-undef: https://... | src/tests/rules/no-global-assign.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-global-assign rule.
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-global-assig... | 20615 | ###*
# @fileoverview Tests for no-global-assign rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-global-assign'
{Ru... | true | ###*
# @fileoverview Tests for no-global-assign rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-glob... |
[
{
"context": "asNew.should.eql true\n user.name.should.eql '微博用户'\n user.openId.should.eql '1234567890'\n ",
"end": 1010,
"score": 0.7025432586669922,
"start": 1008,
"tag": "NAME",
"value": "微博"
},
{
"context": "New.should.eql true\n user.name.should.eql '微博用户'\n ... | talk-account/test/apis/unions/weibo.coffee | ikingye/talk-os | 3,084 | should = require 'should'
request = require 'supertest'
jwt = require 'jsonwebtoken'
app = require '../../../server/server'
util = require '../../util'
describe 'Union#Weibo', ->
before util.prepare
it 'should redirect to weibo account page when visit redirect url', (done) ->
request(app).get '/union/weibo'
... | 46506 | should = require 'should'
request = require 'supertest'
jwt = require 'jsonwebtoken'
app = require '../../../server/server'
util = require '../../util'
describe 'Union#Weibo', ->
before util.prepare
it 'should redirect to weibo account page when visit redirect url', (done) ->
request(app).get '/union/weibo'
... | true | should = require 'should'
request = require 'supertest'
jwt = require 'jsonwebtoken'
app = require '../../../server/server'
util = require '../../util'
describe 'Union#Weibo', ->
before util.prepare
it 'should redirect to weibo account page when visit redirect url', (done) ->
request(app).get '/union/weibo'
... |
[
{
"context": "0\", \"testdatabase\", 1000000);\n ###\n name = 'localdb'\n version = '1.0'\n description = 'Web SQL D",
"end": 600,
"score": 0.5828585624694824,
"start": 593,
"tag": "USERNAME",
"value": "localdb"
},
{
"context": "ue')\n @cpm = new Cpm(\"memo_num\")\n ... | www/js/controllers.coffee | maruono/matome2 | 0 | #ここにライブラリとして記述する
#start.rbに入れました
class Click_coffee
constructor: (@object) ->
alert @object
alert "start.rbで実行してるんやで"
story1: ->
$(@object).click =>
alert @object
alert 123
###
aa = new TestCtrl ("#btn12")
aa.story1()
###
# rakefileでやりました
######TestCtrlの中身######
# ここからTestCtrlの中身ですね
cla... | 203549 | #ここにライブラリとして記述する
#start.rbに入れました
class Click_coffee
constructor: (@object) ->
alert @object
alert "start.rbで実行してるんやで"
story1: ->
$(@object).click =>
alert @object
alert 123
###
aa = new TestCtrl ("#btn12")
aa.story1()
###
# rakefileでやりました
######TestCtrlの中身######
# ここからTestCtrlの中身ですね
cla... | true | #ここにライブラリとして記述する
#start.rbに入れました
class Click_coffee
constructor: (@object) ->
alert @object
alert "start.rbで実行してるんやで"
story1: ->
$(@object).click =>
alert @object
alert 123
###
aa = new TestCtrl ("#btn12")
aa.story1()
###
# rakefileでやりました
######TestCtrlの中身######
# ここからTestCtrlの中身ですね
cla... |
[
{
"context": "dex.js\")\n\nconsole.log offin\n\ndata =\n firstName: \"Joe\"\n lastName: \"Dirt\"\n\n\n \noffin.docx \n template: ",
"end": 75,
"score": 0.999732494354248,
"start": 72,
"tag": "NAME",
"value": "Joe"
},
{
"context": "log offin\n\ndata =\n firstName: \"Joe\"\n last... | tests/test.coffee | braintapper/offin | 1 | offin = require("../index.js")
console.log offin
data =
firstName: "Joe"
lastName: "Dirt"
offin.docx
template: "./templates/template.docx"
output: "./output/output-#{Date.create().format("{HH}{mm}{ss}")}.docx"
data: data
offin.pptx
template: "./templates/template.pptx"
output: "./output/output-... | 52096 | offin = require("../index.js")
console.log offin
data =
firstName: "<NAME>"
lastName: "<NAME>"
offin.docx
template: "./templates/template.docx"
output: "./output/output-#{Date.create().format("{HH}{mm}{ss}")}.docx"
data: data
offin.pptx
template: "./templates/template.pptx"
output: "./output/ou... | true | offin = require("../index.js")
console.log offin
data =
firstName: "PI:NAME:<NAME>END_PI"
lastName: "PI:NAME:<NAME>END_PI"
offin.docx
template: "./templates/template.docx"
output: "./output/output-#{Date.create().format("{HH}{mm}{ss}")}.docx"
data: data
offin.pptx
template: "./templates/template.... |
[
{
"context": "'\nkeytar = require 'keytar'\n\nconfigAccountsKey = \"nylas.accounts\"\nconfigVersionKey = \"nylas.accountsVersion\"\nconfi",
"end": 268,
"score": 0.9856626987457275,
"start": 254,
"tag": "KEY",
"value": "nylas.accounts"
},
{
"context": "ccountsKey = \"nylas.accounts\"\... | app/src/flux/stores/account-store.coffee | immershy/nodemail | 0 | _ = require 'underscore'
NylasStore = require 'nylas-store'
Actions = require '../actions'
Account = require '../models/account'
Utils = require '../models/utils'
DatabaseStore = require './database-store'
keytar = require 'keytar'
configAccountsKey = "nylas.accounts"
configVersionKey = "nylas.accountsVersion"
configT... | 128484 | _ = require 'underscore'
NylasStore = require 'nylas-store'
Actions = require '../actions'
Account = require '../models/account'
Utils = require '../models/utils'
DatabaseStore = require './database-store'
keytar = require 'keytar'
configAccountsKey = "<KEY>"
configVersionKey = "<KEY>"
configTokensKey = "<KEY>"
keytar... | true | _ = require 'underscore'
NylasStore = require 'nylas-store'
Actions = require '../actions'
Account = require '../models/account'
Utils = require '../models/utils'
DatabaseStore = require './database-store'
keytar = require 'keytar'
configAccountsKey = "PI:KEY:<KEY>END_PI"
configVersionKey = "PI:KEY:<KEY>END_PI"
config... |
[
{
"context": ":\n#\n# Configuration:\n#\n# Commands:\n#\n# Author:\n# Thomas Howe - ghostofbasho@gmail.com\n#\n\n\nRequest = require(\"r",
"end": 147,
"score": 0.9998750686645508,
"start": 136,
"tag": "NAME",
"value": "Thomas Howe"
},
{
"context": "ation:\n#\n# Commands:\n#\n# Auth... | src/scripts/notify.coffee | green-bot/hubot-session | 1 | # Description:
# Handles notifcations after a session is complete.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# Thomas Howe - ghostofbasho@gmail.com
#
Request = require("request")
Mailer = require("nodemailer")
Events = require('events')
Util = require('util')
connectionString = process.env.M... | 182235 | # Description:
# Handles notifcations after a session is complete.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# <NAME> - <EMAIL>
#
Request = require("request")
Mailer = require("nodemailer")
Events = require('events')
Util = require('util')
connectionString = process.env.MONGO_URL or 'localho... | true | # Description:
# Handles notifcations after a session is complete.
#
# Dependencies:
#
# Configuration:
#
# Commands:
#
# Author:
# PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
#
Request = require("request")
Mailer = require("nodemailer")
Events = require('events')
Util = require('util')
connectionString = proc... |
[
{
"context": "ope: nerfed\n token: `undefined`\n password: `undefined`\n username: `undefined`\n email: `undefined`",
"end": 277,
"score": 0.9994280338287354,
"start": 268,
"tag": "PASSWORD",
"value": "undefined"
},
{
"context": "defined`\n password: `undefined`\n u... | deps/npm/lib/config/get-credentials-by-uri.coffee | lxe/io.coffee | 0 | getCredentialsByURI = (uri) ->
assert uri and typeof uri is "string", "registry URL is required"
nerfed = toNerfDart(uri)
defnerf = toNerfDart(@get("registry"))
# hidden class micro-optimization
c =
scope: nerfed
token: `undefined`
password: `undefined`
username: `undefined`
email: `und... | 71391 | getCredentialsByURI = (uri) ->
assert uri and typeof uri is "string", "registry URL is required"
nerfed = toNerfDart(uri)
defnerf = toNerfDart(@get("registry"))
# hidden class micro-optimization
c =
scope: nerfed
token: `undefined`
password: `<PASSWORD>`
username: `undefined`
email: `un... | true | getCredentialsByURI = (uri) ->
assert uri and typeof uri is "string", "registry URL is required"
nerfed = toNerfDart(uri)
defnerf = toNerfDart(@get("registry"))
# hidden class micro-optimization
c =
scope: nerfed
token: `undefined`
password: `PI:PASSWORD:<PASSWORD>END_PI`
username: `undefin... |
[
{
"context": " lt.beforeEach.givenModel('Person', {name: 'Tom', bio: ''}, 'person')\n it 'should clean no",
"end": 350,
"score": 0.9997983574867249,
"start": 347,
"tag": "NAME",
"value": "Tom"
},
{
"context": " lt.beforeEach.givenModel('Person', {name: 'Tom', bio: ... | test/test-update.coffee | gerasev-kirill/loopback-ds-clean-html-field-mixin | 2 | loopback = require('loopback')
lt = require('loopback-testing')
chai = require('chai')
expect = chai.expect
# Create a new loopback app.
app = require('./fixtures/simple-app/server/server.js')
describe 'update object::', ->
lt.beforeEach.withApp app
describe 'clean html', ()->
lt.beforeEach.gi... | 135661 | loopback = require('loopback')
lt = require('loopback-testing')
chai = require('chai')
expect = chai.expect
# Create a new loopback app.
app = require('./fixtures/simple-app/server/server.js')
describe 'update object::', ->
lt.beforeEach.withApp app
describe 'clean html', ()->
lt.beforeEach.gi... | true | loopback = require('loopback')
lt = require('loopback-testing')
chai = require('chai')
expect = chai.expect
# Create a new loopback app.
app = require('./fixtures/simple-app/server/server.js')
describe 'update object::', ->
lt.beforeEach.withApp app
describe 'clean html', ()->
lt.beforeEach.gi... |
[
{
"context": "00\n\nurl = 'https://docs.google.com/spreadsheets/d/16y6-IWK996t0ILL5YUKvHgXEISiMWNAP7HwhV4869no/pubhtml'\ntabletop = Tabletop.init( { key: url, cal",
"end": 514,
"score": 0.9387481808662415,
"start": 469,
"tag": "KEY",
"value": "16y6-IWK996t0ILL5YUKvHgXEISiMWNAP7HwhV4869no/"
... | main.coffee | iostreamer-X/gfsa | 2 | Tabletop = require 'tabletop'
exec = require('child_process').exec
showInfo = (data)->
advices = (adv.Advice for adv in data.original.elements)
random = ()->
Math.floor((Math.random() * advices.length))
show = ()->
text = advices[random()]
shellop = (error, stdout, stderr) ->
exec 'notify-send '... | 37075 | Tabletop = require 'tabletop'
exec = require('child_process').exec
showInfo = (data)->
advices = (adv.Advice for adv in data.original.elements)
random = ()->
Math.floor((Math.random() * advices.length))
show = ()->
text = advices[random()]
shellop = (error, stdout, stderr) ->
exec 'notify-send '... | true | Tabletop = require 'tabletop'
exec = require('child_process').exec
showInfo = (data)->
advices = (adv.Advice for adv in data.original.elements)
random = ()->
Math.floor((Math.random() * advices.length))
show = ()->
text = advices[random()]
shellop = (error, stdout, stderr) ->
exec 'notify-send '... |
[
{
"context": " title: name\n\n entity =\n name: name\n tileSrc: src\n\n # Notify IDE of e",
"end": 2943,
"score": 0.9980595707893372,
"start": 2939,
"tag": "NAME",
"value": "name"
}
] | app/coffeescripts/jquery.tile_editor.coffee | mdiebolt/pixie.strd6.com | 1 | $.fn.tileEditor = (options) ->
options = $.extend(
layers: [
"Background"
"Entities"
]
eachEntity: $.noop
editEntity: $.noop
loadEntity: $.noop
removeEntity: $.noop
tilesWide: 20
tilesTall: 15
tileWidth: 32
tileHeight: 32
, options)
tileEditor = $(this.get(0)).... | 153481 | $.fn.tileEditor = (options) ->
options = $.extend(
layers: [
"Background"
"Entities"
]
eachEntity: $.noop
editEntity: $.noop
loadEntity: $.noop
removeEntity: $.noop
tilesWide: 20
tilesTall: 15
tileWidth: 32
tileHeight: 32
, options)
tileEditor = $(this.get(0)).... | true | $.fn.tileEditor = (options) ->
options = $.extend(
layers: [
"Background"
"Entities"
]
eachEntity: $.noop
editEntity: $.noop
loadEntity: $.noop
removeEntity: $.noop
tilesWide: 20
tilesTall: 15
tileWidth: 32
tileHeight: 32
, options)
tileEditor = $(this.get(0)).... |
[
{
"context": ": \"navHome\", ->\n span class: \"firstName\", 'Clark'\n span class: \"lastName\", \"Sell\"\n\n butt",
"end": 205,
"score": 0.9997592568397522,
"start": 200,
"tag": "NAME",
"value": "Clark"
},
{
"context": "stName\", 'Clark'\n span class: \"lastN... | src/partials/nav.html.coffee | csell5/MyBlog | 0 | nav class: "nav", ->
div class: "navbar navbar-default navbar-static-top navbar-left", ->
a class: "navbar-brand", href: "/", ->
div class: "navHome", ->
span class: "firstName", 'Clark'
span class: "lastName", "Sell"
button
type: "button"
class: "navbar-toggle"
data:
... | 110243 | nav class: "nav", ->
div class: "navbar navbar-default navbar-static-top navbar-left", ->
a class: "navbar-brand", href: "/", ->
div class: "navHome", ->
span class: "firstName", '<NAME>'
span class: "lastName", "<NAME>"
button
type: "button"
class: "navbar-toggle"
dat... | true | nav class: "nav", ->
div class: "navbar navbar-default navbar-static-top navbar-left", ->
a class: "navbar-brand", href: "/", ->
div class: "navHome", ->
span class: "firstName", 'PI:NAME:<NAME>END_PI'
span class: "lastName", "PI:NAME:<NAME>END_PI"
button
type: "button"
clas... |
[
{
"context": "yDoctype\n key = metadoctype.key.toLowerCase()\n value = metadoctype.value\n ",
"end": 1940,
"score": 0.9797247052192688,
"start": 1927,
"tag": "KEY",
"value": "toLowerCase()"
},
{
"context": "metadoctype.value\n ... | server/controllers/index.coffee | frankrousseau/cozy-databrowser | 0 | #instanciate DataBrowser classes (DataSystem, SearchEngine)
dataSystem = require '../lib/dataSystem'
searchEngine = require('../lib/searchEngine')(dataSystem)
#add NPM helpers
async = require 'async'
module.exports.initvalues = (req, res, next) ->
async.parallel [
(cb) -> dataSystem.getLocale cb
], (... | 172202 | #instanciate DataBrowser classes (DataSystem, SearchEngine)
dataSystem = require '../lib/dataSystem'
searchEngine = require('../lib/searchEngine')(dataSystem)
#add NPM helpers
async = require 'async'
module.exports.initvalues = (req, res, next) ->
async.parallel [
(cb) -> dataSystem.getLocale cb
], (... | true | #instanciate DataBrowser classes (DataSystem, SearchEngine)
dataSystem = require '../lib/dataSystem'
searchEngine = require('../lib/searchEngine')(dataSystem)
#add NPM helpers
async = require 'async'
module.exports.initvalues = (req, res, next) ->
async.parallel [
(cb) -> dataSystem.getLocale cb
], (... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9551239013671875,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": "tControl\n\t\t\tuser_control: tru... | demo/src/demos/InputDemo.coffee | programmfabrik/coffeescript-ui | 10 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.InputDemo extends Demo
display: ->
data =
plain_input: "12.02.2010"
select_input... | 220303 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.InputDemo extends Demo
display: ->
data =
plain_input: "12.02.2010"
select_input... | true | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class Demo.InputDemo extends Demo
display: ->
data =
plain_input: "12.02.2010"
select_input... |
[
{
"context": "issing parentheses around multilines JSX\n# @author Yannick Croissant\n###\n'use strict'\n\n# -----------------------------",
"end": 98,
"score": 0.9997978806495667,
"start": 81,
"tag": "NAME",
"value": "Yannick Croissant"
}
] | src/tests/rules/jsx-wrap-multilines.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent missing parentheses around multilines JSX
# @author Yannick Croissant
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rul... | 174560 | ###*
# @fileoverview Prevent missing parentheses around multilines JSX
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/jsx-wrap... | true | ###*
# @fileoverview Prevent missing parentheses around multilines JSX
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../... |
[
{
"context": "ebSocketServer port: 8888\n\nmdata = [\n {movie: 'Интерстеллар', status: 'success'},\n {movie: '300 спартанцев",
"end": 156,
"score": 0.7900110483169556,
"start": 144,
"tag": "NAME",
"value": "Интерстеллар"
},
{
"context": "00 спартанцев', status: 'success'},\n ... | test/socket.coffee | nim579/dashboard | 0 | WebSocketServer = require('ws').Server
_ = require 'underscore'
fs = require 'fs'
wss = new WebSocketServer port: 8888
mdata = [
{movie: 'Интерстеллар', status: 'success'},
{movie: '300 спартанцев', status: 'success'},
{movie: 'Мстители', status: 'success'},
{movie: 'Гравитайия', status: 'success'},
... | 208524 | WebSocketServer = require('ws').Server
_ = require 'underscore'
fs = require 'fs'
wss = new WebSocketServer port: 8888
mdata = [
{movie: '<NAME>', status: 'success'},
{movie: '300 спартанцев', status: 'success'},
{movie: 'М<NAME>', status: 'success'},
{movie: 'Гравитайия', status: 'success'},
{mov... | true | WebSocketServer = require('ws').Server
_ = require 'underscore'
fs = require 'fs'
wss = new WebSocketServer port: 8888
mdata = [
{movie: 'PI:NAME:<NAME>END_PI', status: 'success'},
{movie: '300 спартанцев', status: 'success'},
{movie: 'МPI:NAME:<NAME>END_PI', status: 'success'},
{movie: 'Гравитайия', ... |
[
{
"context": "nesu'\n disableLogging: true\n username: 'billy'\n password: 'goat'\n port: 0xd00d\n ",
"end": 485,
"score": 0.9995321035385132,
"start": 480,
"tag": "USERNAME",
"value": "billy"
},
{
"context": "ng: true\n username: 'billy'\n password... | test/integration/get-verification-spec.coffee | octoblu/meshblu-verifier-pingdom | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
moment = require 'moment'
request = require 'request'
Server = require '../../src/server.coffee'
describe 'Get Verification', ->
beforeEach (done) ->
@elasticsearch = search: sinon.st... | 204541 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
moment = require 'moment'
request = require 'request'
Server = require '../../src/server.coffee'
describe 'Get Verification', ->
beforeEach (done) ->
@elasticsearch = search: sinon.st... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
_ = require 'lodash'
moment = require 'moment'
request = require 'request'
Server = require '../../src/server.coffee'
describe 'Get Verification', ->
beforeEach (done) ->
@elasticsearch = search: sinon.st... |
[
{
"context": ".toBeUndefined()\r\n Accounts.createUser email: \"you@example.com\", password: \"bob\", ->\r\n Houston._call 'make_",
"end": 282,
"score": 0.9999171495437622,
"start": 267,
"tag": "EMAIL",
"value": "you@example.com"
},
{
"context": "s.createUser email: \"you@exa... | packages/houston/test/test_app/tests/jasmine/client/integration/CustomTemplate.coffee | reillyisawesome/Nectar | 3 | eventually = (condition, cb) ->
poll = setInterval(->
if condition()
clearInterval poll
cb()
, 200)
setup = (run_actual_test) ->
Meteor.call "test/clear_users", (err) ->
expect(err).toBeUndefined()
Accounts.createUser email: "you@example.com", password: "bob", ->
Houston.... | 139593 | eventually = (condition, cb) ->
poll = setInterval(->
if condition()
clearInterval poll
cb()
, 200)
setup = (run_actual_test) ->
Meteor.call "test/clear_users", (err) ->
expect(err).toBeUndefined()
Accounts.createUser email: "<EMAIL>", password: "<PASSWORD>", ->
Houston._... | true | eventually = (condition, cb) ->
poll = setInterval(->
if condition()
clearInterval poll
cb()
, 200)
setup = (run_actual_test) ->
Meteor.call "test/clear_users", (err) ->
expect(err).toBeUndefined()
Accounts.createUser email: "PI:EMAIL:<EMAIL>END_PI", password: "PI:PASSWORD:<PASS... |
[
{
"context": "##############################################\n#\n# Markus 1/23/2017\n#\n#####################################",
"end": 75,
"score": 0.9983783960342407,
"start": 69,
"tag": "NAME",
"value": "Markus"
}
] | server/methods/recommendation.coffee | MooqitaSFH/worklearn | 0 | ################################################################
#
# Markus 1/23/2017
#
################################################################
###############################################
Meteor.methods
add_recommendation: (challenge_id, recipient_id) ->
user = Meteor.user()
if not user
throw new ... | 120620 | ################################################################
#
# <NAME> 1/23/2017
#
################################################################
###############################################
Meteor.methods
add_recommendation: (challenge_id, recipient_id) ->
user = Meteor.user()
if not user
throw new ... | true | ################################################################
#
# PI:NAME:<NAME>END_PI 1/23/2017
#
################################################################
###############################################
Meteor.methods
add_recommendation: (challenge_id, recipient_id) ->
user = Meteor.user()
if not user... |
[
{
"context": "eBufferSource()\n source.buffer = @buffers[@bufIndex]\n source.connect @destination\n sour",
"end": 6575,
"score": 0.6319980621337891,
"start": 6567,
"tag": "USERNAME",
"value": "bufIndex"
},
{
"context": "ET_VARIABLE\n return \"rgb\" if valu... | jspm_packages/github/matthewbauer/x-retro@master/player.coffee | Cyril-Xd/gpemu | 0 | requestAnimationFrame = require('window').requestAnimationFrame
cancelAnimationFrame = require('window').cancelAnimationFrame
# Player:
# @gl: WebGLContext
# @audio: AudioContext
# @input: custom class, see Input for implementation
# @core: retro.Core
# @game: ArrayBuffer of game data or path (optional)
# @save:... | 61649 | requestAnimationFrame = require('window').requestAnimationFrame
cancelAnimationFrame = require('window').cancelAnimationFrame
# Player:
# @gl: WebGLContext
# @audio: AudioContext
# @input: custom class, see Input for implementation
# @core: retro.Core
# @game: ArrayBuffer of game data or path (optional)
# @save:... | true | requestAnimationFrame = require('window').requestAnimationFrame
cancelAnimationFrame = require('window').cancelAnimationFrame
# Player:
# @gl: WebGLContext
# @audio: AudioContext
# @input: custom class, see Input for implementation
# @core: retro.Core
# @game: ArrayBuffer of game data or path (optional)
# @save:... |
[
{
"context": "4PgqxNQuHOSR99RWuwVeMmdTAmSM45U/Export', _key: 'DOI'\n\n\n\n\nP.report.articles = _index: true, _prefix: f",
"end": 3137,
"score": 0.7708093523979187,
"start": 3136,
"tag": "KEY",
"value": "I"
},
{
"context": "ing after ' + took + ' minutes'\n @mail\n to: ['mark@oa.... | worker/src/report.coffee | oaworks/api | 0 |
P.report = () -> return 'OA.Works report'
P.report.orgs = _sheet: '1d_RxBLU2yNzfSNomPbWQQr3CS0f7BhMqp6r069E8LR4/dev' , _format: (recs=[]) ->
ready = []
bs = 0
await @report.orgs.supplements '' # need to add a delete by query functionality to remove only those for certain org? but then what about overlap?
for ... | 182545 |
P.report = () -> return 'OA.Works report'
P.report.orgs = _sheet: '1d_RxBLU2yNzfSNomPbWQQr3CS0f7BhMqp6r069E8LR4/dev' , _format: (recs=[]) ->
ready = []
bs = 0
await @report.orgs.supplements '' # need to add a delete by query functionality to remove only those for certain org? but then what about overlap?
for ... | true |
P.report = () -> return 'OA.Works report'
P.report.orgs = _sheet: '1d_RxBLU2yNzfSNomPbWQQr3CS0f7BhMqp6r069E8LR4/dev' , _format: (recs=[]) ->
ready = []
bs = 0
await @report.orgs.supplements '' # need to add a delete by query functionality to remove only those for certain org? but then what about overlap?
for ... |
[
{
"context": "setItems} are of the type\n # `{\"id\": 3, \"name\": \"Atom\"}` then you would return `\"name\"` from this metho",
"end": 4133,
"score": 0.9992856383323669,
"start": 4129,
"tag": "NAME",
"value": "Atom"
}
] | node_modules/atom-message-panel/node_modules/atom-space-pen-views/src/select-list-view.coffee | qbek/atom-shell-commands | 72 | {$, View} = require 'space-pen'
TextEditorView = require './text-editor-view'
fuzzyFilter = null # defer until used
atom.themes.requireStylesheet(require.resolve('../stylesheets/select-list.less'))
module.exports =
class SelectListView extends View
@content: ->
@div class: 'select-list', =>
@subview 'fil... | 50878 | {$, View} = require 'space-pen'
TextEditorView = require './text-editor-view'
fuzzyFilter = null # defer until used
atom.themes.requireStylesheet(require.resolve('../stylesheets/select-list.less'))
module.exports =
class SelectListView extends View
@content: ->
@div class: 'select-list', =>
@subview 'fil... | true | {$, View} = require 'space-pen'
TextEditorView = require './text-editor-view'
fuzzyFilter = null # defer until used
atom.themes.requireStylesheet(require.resolve('../stylesheets/select-list.less'))
module.exports =
class SelectListView extends View
@content: ->
@div class: 'select-list', =>
@subview 'fil... |
[
{
"context": "]\n\n if os.platform() is \"darwin\"\n name = \"Cypress\"\n template.unshift({\n label: name\n ",
"end": 3199,
"score": 0.5698410272598267,
"start": 3192,
"tag": "NAME",
"value": "Cypress"
}
] | packages/server/lib/gui/menu.coffee | ShaneDesmondONeill/cypress | 3 | _ = require("lodash")
os = require("os")
Menu = require("electron").Menu
shell = require("electron").shell
appData = require("../util/app_data")
open = require("../util/open")
onLogOutClicked = ->
module.exports = {
set: (options = {}) ->
_.defaults(options, {
withDevTools: false
})
#... | 182461 | _ = require("lodash")
os = require("os")
Menu = require("electron").Menu
shell = require("electron").shell
appData = require("../util/app_data")
open = require("../util/open")
onLogOutClicked = ->
module.exports = {
set: (options = {}) ->
_.defaults(options, {
withDevTools: false
})
#... | true | _ = require("lodash")
os = require("os")
Menu = require("electron").Menu
shell = require("electron").shell
appData = require("../util/app_data")
open = require("../util/open")
onLogOutClicked = ->
module.exports = {
set: (options = {}) ->
_.defaults(options, {
withDevTools: false
})
#... |
[
{
"context": "(Darwin)\nComment: GPGTools - https://gpgtools.org\n\nhQEMA5gKPw0B/gTfAQf/WIbMs2bzQERC7GmFm9PSchULgwJNrgGMJXPJFzO/PnYG\nEdKOpKZtnC99INbn23B5f8fIAxvtf2dvDsBDAhwiiU+9yIhZdTLuKsTjFi7ZJhoN\nFweXPO9qTGtRcekVYB9jeM29nsxifDeKTw+aZ00GhaMDd67pnGBhkBmrDVflFuFE\nWd7IF6WJZC+B4MxbQ1v+rzpNQLZBJxd9m6WRuWZc+hcpu3... | test/files/2_pgp.iced | AngelKey/Angelkey.messengercore | 2 |
main = require '../../lib/main'
msg = """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
hQEMA5gKPw0B/gTfAQf/WIbMs2bzQERC7GmFm9PSchULgwJNrgGMJXPJFzO/PnYG
EdKOpKZtnC99INbn23B5f8fIAxvtf2dvDsBDAhwiiU+9yIhZdTLuKsTjFi7ZJhoN
FweXPO9qTGtRcekVYB9jeM29nsxifDeKTw+a... | 101005 |
main = require '../../lib/main'
msg = """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
<KEY>Ql<KEY>
-----END PGP MESSAGE-----
"""
exports.test_pgp = (T,cb) ->
obj = null
setter = (o) -> obj = o
chk = main.pgp.checker(setter)
err = chk msg
T.n... | true |
main = require '../../lib/main'
msg = """
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
PI:KEY:<KEY>END_PIQlPI:KEY:<KEY>END_PI
-----END PGP MESSAGE-----
"""
exports.test_pgp = (T,cb) ->
obj = null
setter = (o) -> obj = o
chk = main.pgp.checker(set... |
[
{
"context": "->\n videoStream = new VideoStream\n name: 'wowza',\n streamUrl: 'rtsp://184.72.239.149/vod/mp4",
"end": 203,
"score": 0.9977247714996338,
"start": 198,
"tag": "USERNAME",
"value": "wowza"
},
{
"context": "eam\n name: 'wowza',\n streamUrl: 'rtsp:/... | test/tests.coffee | ktcrain/node-rtsp-stream | 0 | assert = require 'assert'
describe 'node-rstp-stream', ->
VideoStream = require '../'
it 'should not throw an error when instantiated', (done) ->
videoStream = new VideoStream
name: 'wowza',
streamUrl: 'rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov'
wsPort: 9999
width: 240
h... | 222335 | assert = require 'assert'
describe 'node-rstp-stream', ->
VideoStream = require '../'
it 'should not throw an error when instantiated', (done) ->
videoStream = new VideoStream
name: 'wowza',
streamUrl: 'rtsp://192.168.3.11/vod/mp4:BigBuckBunny_115k.mov'
wsPort: 9999
width: 240
hei... | true | assert = require 'assert'
describe 'node-rstp-stream', ->
VideoStream = require '../'
it 'should not throw an error when instantiated', (done) ->
videoStream = new VideoStream
name: 'wowza',
streamUrl: 'rtsp://PI:IP_ADDRESS:192.168.3.11END_PI/vod/mp4:BigBuckBunny_115k.mov'
wsPort: 9999
... |
[
{
"context": "{\n username:userObject.email,\n password:userObject.password\n },\n (model) -> window.location.reload()\n ",
"end": 1625,
"score": 0.9990000128746033,
"start": 1606,
"tag": "PASSWORD",
"value": "userObject.password"
}
] | app/lib/auth.coffee | oaugereau/codecombat | 0 | {backboneFailure, genericFailure, parseServerError} = require 'lib/errors'
User = require 'models/User'
storage = require 'lib/storage'
BEEN_HERE_BEFORE_KEY = 'beenHereBefore'
init = ->
module.exports.me = window.me = new User(window.userObject) # inserted into main.html
module.exports.me.onLoaded()
trackFirstAr... | 62185 | {backboneFailure, genericFailure, parseServerError} = require 'lib/errors'
User = require 'models/User'
storage = require 'lib/storage'
BEEN_HERE_BEFORE_KEY = 'beenHereBefore'
init = ->
module.exports.me = window.me = new User(window.userObject) # inserted into main.html
module.exports.me.onLoaded()
trackFirstAr... | true | {backboneFailure, genericFailure, parseServerError} = require 'lib/errors'
User = require 'models/User'
storage = require 'lib/storage'
BEEN_HERE_BEFORE_KEY = 'beenHereBefore'
init = ->
module.exports.me = window.me = new User(window.userObject) # inserted into main.html
module.exports.me.onLoaded()
trackFirstAr... |
[
{
"context": "\n###\nTest CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)\n###\n\nfs = requi",
"end": 37,
"score": 0.999847412109375,
"start": 26,
"tag": "NAME",
"value": "David Worms"
},
{
"context": "\n###\nTest CSV - Copyright David Worms <open@adaltas.com> (BSD Lice... | servers/nodejs/node_modules/restify/node_modules/csv/test/event.coffee | HyperNexus/crashdumper | 186 |
###
Test CSV - Copyright David Worms <open@adaltas.com> (BSD Licensed)
###
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'event', ->
describe 'record', ->
it 'should call error event if exception is thrown', (next) ->
c... | 3452 |
###
Test CSV - Copyright <NAME> <<EMAIL>> (BSD Licensed)
###
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'event', ->
describe 'record', ->
it 'should call error event if exception is thrown', (next) ->
count = 0
... | true |
###
Test CSV - Copyright PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> (BSD Licensed)
###
fs = require 'fs'
should = require 'should'
csv = if process.env.CSV_COV then require '../lib-cov' else require '../src'
describe 'event', ->
describe 'record', ->
it 'should call error event if exception is thrown', (n... |
[
{
"context": "k.svg'\n\n# please dont use this, thnx.\nPUBLIC_ = ['aa183017db17617630dab01be33595701e4ffdbc']\n\nd3 = require './d3'\nDIM = 40\nfecha = require '",
"end": 649,
"score": 0.9843804240226746,
"start": 609,
"tag": "KEY",
"value": "aa183017db17617630dab01be33595701e4ffdbc"
},
... | source/preact-repo-card.coffee | arxii/preact-git-card | 0 | require './preact-repo-card.less'
{h,Component} = require 'preact'
Slide = require 'preact-slide'
I_CHART = require './i_chart.svg'
I_MENU = require './i_menu.svg'
I_GITHUB = require './i_github.svg'
I_SPLIT = require './i_split.svg'
I_EYE = require './i_eye.svg'
I_STAR = require './i_star.svg'
I_LABEL = require './i_... | 449 | require './preact-repo-card.less'
{h,Component} = require 'preact'
Slide = require 'preact-slide'
I_CHART = require './i_chart.svg'
I_MENU = require './i_menu.svg'
I_GITHUB = require './i_github.svg'
I_SPLIT = require './i_split.svg'
I_EYE = require './i_eye.svg'
I_STAR = require './i_star.svg'
I_LABEL = require './i_... | true | require './preact-repo-card.less'
{h,Component} = require 'preact'
Slide = require 'preact-slide'
I_CHART = require './i_chart.svg'
I_MENU = require './i_menu.svg'
I_GITHUB = require './i_github.svg'
I_SPLIT = require './i_split.svg'
I_EYE = require './i_eye.svg'
I_STAR = require './i_star.svg'
I_LABEL = require './i_... |
[
{
"context": "###\nCopyright (c) 2015 Daniel Fields\n\nPermission is hereby granted, free of charge, to",
"end": 36,
"score": 0.999821126461029,
"start": 23,
"tag": "NAME",
"value": "Daniel Fields"
},
{
"context": "S IN THE SOFTWARE.\n###\n\n\n###\nThis code is based on Alexander Ols... | src/encoder.coffee | dsfields/hailstone | 2 | ###
Copyright (c) 2015 Daniel Fields
Permission is hereby granted, free of charge, to
any person obtaining a copy of this software and
associated documentation files (the "Software"),
to deal in the Software without restriction,
including without limitation the rights to use,
copy, modify, merge, publish, distribute,
... | 116692 | ###
Copyright (c) 2015 <NAME>
Permission is hereby granted, free of charge, to
any person obtaining a copy of this software and
associated documentation files (the "Software"),
to deal in the Software without restriction,
including without limitation the rights to use,
copy, modify, merge, publish, distribute,
sublice... | true | ###
Copyright (c) 2015 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to
any person obtaining a copy of this software and
associated documentation files (the "Software"),
to deal in the Software without restriction,
including without limitation the rights to use,
copy, modify, merge, publish, distr... |
[
{
"context": " # Action and Assert\n @room.user.say('Bob Blue', 'hubot list gho commands', userParams).then =>\n",
"end": 7003,
"score": 0.9989972114562988,
"start": 6995,
"tag": "NAME",
"value": "Bob Blue"
},
{
"context": "expect(@room.messages).to.eql [\n ... | test/hubot-github_cards.test.coffee | jayongg/TeamsHubot | 1 | # Description:
# Testing hubot command for building a Microsoft Teams List Card containing
# all of the commands in the hubot-github library. The card contains buttons
# used to initiate execution of each of the commands when used with the
# botframework-adapter
Helper = require('hubot-test-helper')
chai = re... | 106359 | # Description:
# Testing hubot command for building a Microsoft Teams List Card containing
# all of the commands in the hubot-github library. The card contains buttons
# used to initiate execution of each of the commands when used with the
# botframework-adapter
Helper = require('hubot-test-helper')
chai = re... | true | # Description:
# Testing hubot command for building a Microsoft Teams List Card containing
# all of the commands in the hubot-github library. The card contains buttons
# used to initiate execution of each of the commands when used with the
# botframework-adapter
Helper = require('hubot-test-helper')
chai = re... |
[
{
"context": "es, next) ->\n\n\tuser_id = req.user.d.id\n\tpassword = req.body.password\n\n\tLogger.module(\"API\").debug \"#{user_id} requesti",
"end": 7050,
"score": 0.9991277456283569,
"start": 7033,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | server/routes/api/me/inventory.coffee | open-duelyst/duelyst | 5 | express = require 'express'
util = require 'util'
knex = require '../../../lib/data_access/knex'
InventoryModule = require '../../../lib/data_access/inventory'
GauntletModule = require '../../../lib/data_access/gauntlet'
RiftModule = require '../../../lib/data_access/rift'
Logger = require '../../../../app/common/logge... | 215514 | express = require 'express'
util = require 'util'
knex = require '../../../lib/data_access/knex'
InventoryModule = require '../../../lib/data_access/inventory'
GauntletModule = require '../../../lib/data_access/gauntlet'
RiftModule = require '../../../lib/data_access/rift'
Logger = require '../../../../app/common/logge... | true | express = require 'express'
util = require 'util'
knex = require '../../../lib/data_access/knex'
InventoryModule = require '../../../lib/data_access/inventory'
GauntletModule = require '../../../lib/data_access/gauntlet'
RiftModule = require '../../../lib/data_access/rift'
Logger = require '../../../../app/common/logge... |
[
{
"context": "server code lives here\n#\n# Copyright (C) 2012-2013 Nikolay Nemshilov\n#\n\nfs = require('fs')\nchai = require('c",
"end": 81,
"score": 0.9998874068260193,
"start": 64,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/test/server.coffee | lovely-io/lovely.io-stl | 2 | #
# The test server code lives here
#
# Copyright (C) 2012-2013 Nikolay Nemshilov
#
fs = require('fs')
chai = require('chai')
zombie = require('zombie')
server = require('express')()
lovelyrc = require('../lovelyrc')
cache = {}
port = 6789
# making the development server
base = lovelyrc.base ... | 1839 | #
# The test server code lives here
#
# Copyright (C) 2012-2013 <NAME>
#
fs = require('fs')
chai = require('chai')
zombie = require('zombie')
server = require('express')()
lovelyrc = require('../lovelyrc')
cache = {}
port = 6789
# making the development server
base = lovelyrc.base + "/package... | true | #
# The test server code lives here
#
# Copyright (C) 2012-2013 PI:NAME:<NAME>END_PI
#
fs = require('fs')
chai = require('chai')
zombie = require('zombie')
server = require('express')()
lovelyrc = require('../lovelyrc')
cache = {}
port = 6789
# making the development server
base = lovelyrc.ba... |
[
{
"context": "le: 'Rogue One'\n year: 2016\n director: 'Gareth Edwards'\n dbInterface.insert db, doc, (error) ->\n ",
"end": 748,
"score": 0.9998701810836792,
"start": 734,
"tag": "NAME",
"value": "Gareth Edwards"
},
{
"context": "ector', (done) ->\n dbInterface.b... | test.coffee | sashaegorov/learning-mongo-m101x | 0 | require 'coffee-script/register'
assert = require('assert')
connect = require('./connect')
dbInterface = require('./interface')
fs = require('fs')
movies = require('./movies')
# This test suite is meant to be run through gulp (use the `npm run watch`)
# script. It will provide you useful feedback while filling out t... | 2320 | require 'coffee-script/register'
assert = require('assert')
connect = require('./connect')
dbInterface = require('./interface')
fs = require('fs')
movies = require('./movies')
# This test suite is meant to be run through gulp (use the `npm run watch`)
# script. It will provide you useful feedback while filling out t... | true | require 'coffee-script/register'
assert = require('assert')
connect = require('./connect')
dbInterface = require('./interface')
fs = require('fs')
movies = require('./movies')
# This test suite is meant to be run through gulp (use the `npm run watch`)
# script. It will provide you useful feedback while filling out t... |
[
{
"context": "params =\n appID: '4138123'\n appSecret: '9c7G6T5bZkVE097J3AMI'\n dlPath: global.window.localStorage.getItem 'dl",
"end": 62,
"score": 0.999643087387085,
"start": 42,
"tag": "KEY",
"value": "9c7G6T5bZkVE097J3AMI"
}
] | src/lib/syncstray.coffee | MaxSvargal/syncstray | 4 | params =
appID: '4138123'
appSecret: '9c7G6T5bZkVE097J3AMI'
dlPath: global.window.localStorage.getItem 'dlPath'
dlThreads: global.window.localStorage.getItem 'dlThreads' or 4
token: null
watch: true
gui = global.window.nwDispatcher.requireNwGui()
win = gui.Window.get()
win.showDevTools()
Webi = require '.... | 108915 | params =
appID: '4138123'
appSecret: '<KEY>'
dlPath: global.window.localStorage.getItem 'dlPath'
dlThreads: global.window.localStorage.getItem 'dlThreads' or 4
token: null
watch: true
gui = global.window.nwDispatcher.requireNwGui()
win = gui.Window.get()
win.showDevTools()
Webi = require './syncstray/webi... | true | params =
appID: '4138123'
appSecret: 'PI:KEY:<KEY>END_PI'
dlPath: global.window.localStorage.getItem 'dlPath'
dlThreads: global.window.localStorage.getItem 'dlThreads' or 4
token: null
watch: true
gui = global.window.nwDispatcher.requireNwGui()
win = gui.Window.get()
win.showDevTools()
Webi = require './s... |
[
{
"context": " update: -> updateCalled = true\n name: \"Foo\"\n\n currentActions = actions.getActions({elemen",
"end": 1288,
"score": 0.9973927736282349,
"start": 1285,
"tag": "NAME",
"value": "Foo"
}
] | ModelCatalogueCorePluginTestApp/test/js/modelcatalogue/util/ui/actions.spec.coffee | passionfruit18/ModelCataloguePlugin | 0 | describe "mc.util.ui.actions", ->
testRole = 'TEST_ROLE'
beforeEach module 'mc.util.ui.actions'
beforeEach module 'mc.util.security'
beforeEach module (actionsProvider) ->
actionsProvider.registerActionInRole 'edit-catalogue-element', testRole, ['security', '$scope', (security, $scope)->
{
po... | 53271 | describe "mc.util.ui.actions", ->
testRole = 'TEST_ROLE'
beforeEach module 'mc.util.ui.actions'
beforeEach module 'mc.util.security'
beforeEach module (actionsProvider) ->
actionsProvider.registerActionInRole 'edit-catalogue-element', testRole, ['security', '$scope', (security, $scope)->
{
po... | true | describe "mc.util.ui.actions", ->
testRole = 'TEST_ROLE'
beforeEach module 'mc.util.ui.actions'
beforeEach module 'mc.util.security'
beforeEach module (actionsProvider) ->
actionsProvider.registerActionInRole 'edit-catalogue-element', testRole, ['security', '$scope', (security, $scope)->
{
po... |
[
{
"context": " @sut = new MeshbluXMPP uuid: 'uuid', token: 'token', hostname: 'localhost', port: 5222\n @sut.co",
"end": 582,
"score": 0.802138090133667,
"start": 577,
"tag": "KEY",
"value": "token"
}
] | test/whoami-spec.coffee | octoblu/node-meshblu-xmpp | 1 | _ = require 'lodash'
ltx = require 'ltx'
xmpp = require 'node-xmpp-server'
MeshbluXMPP = require '../'
describe 'WhoAmI', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'connection', (@client) =>
@client.on 'authe... | 13808 | _ = require 'lodash'
ltx = require 'ltx'
xmpp = require 'node-xmpp-server'
MeshbluXMPP = require '../'
describe 'WhoAmI', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'connection', (@client) =>
@client.on 'authe... | true | _ = require 'lodash'
ltx = require 'ltx'
xmpp = require 'node-xmpp-server'
MeshbluXMPP = require '../'
describe 'WhoAmI', ->
beforeEach (done) ->
@server = new xmpp.C2S.TCPServer
port: 5222
domain: 'localhost'
@server.on 'connection', (@client) =>
@client.on 'authe... |
[
{
"context": "n `angular.module(\"\")`\n ANGULAR_APP_NAME: \"songaday\"\n\n # Base path to this project's direc",
"end": 797,
"score": 0.506125271320343,
"start": 793,
"tag": "USERNAME",
"value": "song"
},
{
"context": "n user's network.\n # If not, fallback to... | gulp/config.coffee | wallpond/song-a-day-ionic | 0 | gulp = require("gulp")
gutil = require("gulp-util")
extend = require("extend")
exec = require("sync-exec")
os = require("os")
module.exports = new class GulpConfig
constructor: ->
@_GLOBALS_DEFAULTS = {
defaults: {
BUNDLE_VERSION: "1.0.0"
# Change to "1" if you want to use Crosswalk on And... | 156267 | gulp = require("gulp")
gutil = require("gulp-util")
extend = require("extend")
exec = require("sync-exec")
os = require("os")
module.exports = new class GulpConfig
constructor: ->
@_GLOBALS_DEFAULTS = {
defaults: {
BUNDLE_VERSION: "1.0.0"
# Change to "1" if you want to use Crosswalk on And... | true | gulp = require("gulp")
gutil = require("gulp-util")
extend = require("extend")
exec = require("sync-exec")
os = require("os")
module.exports = new class GulpConfig
constructor: ->
@_GLOBALS_DEFAULTS = {
defaults: {
BUNDLE_VERSION: "1.0.0"
# Change to "1" if you want to use Crosswalk on And... |
[
{
"context": "内容不包含中文字符\n\t\t2. FTL渲染由于是调用JAR包执行,因此效率稍低些\n\n\t@author: ijse\n###\n\nftlEngine = require(\"../libs/modules/freemar",
"end": 99,
"score": 0.9997347593307495,
"start": 95,
"tag": "USERNAME",
"value": "ijse"
},
{
"context": "tle: \"Test Suit1: 简单变量处理\"\n\t\t\tperson: {\n\... | test/testFreemarkerModule.coffee | dYb/VED | 0 | ###
测试FTL模板引擎功能
说明:
1. 为避免字符编码问题,对返回的断言内容不包含中文字符
2. FTL渲染由于是调用JAR包执行,因此效率稍低些
@author: ijse
###
ftlEngine = require("../libs/modules/freemarker/index.coffee").init()
assert = require "assert"
path = require "path"
# Test views folder
thisPath = __dirname + "/res"
viewPath = path.join(thisPath, "ftls")
spawn... | 10216 | ###
测试FTL模板引擎功能
说明:
1. 为避免字符编码问题,对返回的断言内容不包含中文字符
2. FTL渲染由于是调用JAR包执行,因此效率稍低些
@author: ijse
###
ftlEngine = require("../libs/modules/freemarker/index.coffee").init()
assert = require "assert"
path = require "path"
# Test views folder
thisPath = __dirname + "/res"
viewPath = path.join(thisPath, "ftls")
spawn... | true | ###
测试FTL模板引擎功能
说明:
1. 为避免字符编码问题,对返回的断言内容不包含中文字符
2. FTL渲染由于是调用JAR包执行,因此效率稍低些
@author: ijse
###
ftlEngine = require("../libs/modules/freemarker/index.coffee").init()
assert = require "assert"
path = require "path"
# Test views folder
thisPath = __dirname + "/res"
viewPath = path.join(thisPath, "ftls")
spawn... |
[
{
"context": "key: 'horizontal-rule'\n\npatterns: [\n\n # Matches an AsciiDoc or Markdow",
"end": 21,
"score": 0.9967384338378906,
"start": 6,
"tag": "KEY",
"value": "horizontal-rule"
}
] | grammars/repositories/partials/horizontal-rule-grammar.cson | andrewcarver/atom-language-asciidoc | 45 | key: 'horizontal-rule'
patterns: [
# Matches an AsciiDoc or Markdown horizontal rule or AsciiDoc page break.
#
# Examples
#
# ''' or ' ' ' (horizontal rule)
# --- or - - - (horizontal rule)
# *** or * * * (horizontal rule)
# <<< (page break)
#
name: 'constant.other.symbol.horizontal-rule.a... | 27096 | key: '<KEY>'
patterns: [
# Matches an AsciiDoc or Markdown horizontal rule or AsciiDoc page break.
#
# Examples
#
# ''' or ' ' ' (horizontal rule)
# --- or - - - (horizontal rule)
# *** or * * * (horizontal rule)
# <<< (page break)
#
name: 'constant.other.symbol.horizontal-rule.asciidoc'
... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# Matches an AsciiDoc or Markdown horizontal rule or AsciiDoc page break.
#
# Examples
#
# ''' or ' ' ' (horizontal rule)
# --- or - - - (horizontal rule)
# *** or * * * (horizontal rule)
# <<< (page break)
#
name: 'constant.other.symbol.horizontal-rul... |
[
{
"context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 25,
"score": 0.9821947813034058,
"start": 19,
"tag": "NAME",
"value": "Balena"
}
] | lib/2fa.coffee | josecoelho/balena-sdk | 1 | ###
Copyright 2016 Balena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | 151086 | ###
Copyright 2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
[
{
"context": "module.exports = ->\n\t[\n\t\tpl: \n\t\t\tname: 'Prymas',\n\t\t\tdesc: 'Rozstrzygasz remisy w Senacie i Sejmi",
"end": 46,
"score": 0.9997922778129578,
"start": 40,
"tag": "NAME",
"value": "Prymas"
},
{
"context": "cie Konfliktów i w Interregnum.'\n\t\ten: \n\t\t\tname:... | translations.coffee | fragphace/magnates-translation-en | 0 | module.exports = ->
[
pl:
name: 'Prymas',
desc: 'Rozstrzygasz remisy w Senacie i Sejmie, w trakcie Konfliktów i w Interregnum.'
en:
name: 'Primate'
desc: 'You break ties in Senat and Sejm, during Conflicts and Interregnum.'
,
pl:
name: 'Podskarbi',
desc: 'Zagraj w Interregnum. Zamień dowoln... | 186448 | module.exports = ->
[
pl:
name: '<NAME>',
desc: 'Rozstrzygasz remisy w Senacie i Sejmie, w trakcie Konfliktów i w Interregnum.'
en:
name: '<NAME>'
desc: 'You break ties in Senat and Sejm, during Conflicts and Interregnum.'
,
pl:
name: '<NAME>',
desc: 'Zagraj w Interregnum. Zamień dowolny Dw... | true | module.exports = ->
[
pl:
name: 'PI:NAME:<NAME>END_PI',
desc: 'Rozstrzygasz remisy w Senacie i Sejmie, w trakcie Konfliktów i w Interregnum.'
en:
name: 'PI:NAME:<NAME>END_PI'
desc: 'You break ties in Senat and Sejm, during Conflicts and Interregnum.'
,
pl:
name: 'PI:NAME:<NAME>END_PI',
desc... |
[
{
"context": "n = new SessionResource()\n session.username = username\n session.password = password\n session\n ",
"end": 1571,
"score": 0.8995669484138489,
"start": 1563,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ssion.username = username\n session.... | frontend/scripts/auth-service.coffee | rao1219/Vedio | 0 | angular.module 'vsvs'
.constant 'AUTH_EVENTS',
loginSuccess: 'auth-login-success'
loginFailed: 'auth-login-failed'
logoutSuccess: 'auth-logout-failed'
sessionTimeout: 'auth-session-timeout'
notAuthenticated: 'auth-not-authenticated'
notAuthorized: 'auth-not-authorized'
.constant 'USER_ROLES',
# TODO yuti... | 202657 | angular.module 'vsvs'
.constant 'AUTH_EVENTS',
loginSuccess: 'auth-login-success'
loginFailed: 'auth-login-failed'
logoutSuccess: 'auth-logout-failed'
sessionTimeout: 'auth-session-timeout'
notAuthenticated: 'auth-not-authenticated'
notAuthorized: 'auth-not-authorized'
.constant 'USER_ROLES',
# TODO yuti... | true | angular.module 'vsvs'
.constant 'AUTH_EVENTS',
loginSuccess: 'auth-login-success'
loginFailed: 'auth-login-failed'
logoutSuccess: 'auth-logout-failed'
sessionTimeout: 'auth-session-timeout'
notAuthenticated: 'auth-not-authenticated'
notAuthorized: 'auth-not-authorized'
.constant 'USER_ROLES',
# TODO yuti... |
[
{
"context": "->\n # .item\n # img.text-avatar(data-name=\"Forbes\").fl_l\n # a.name.fl_l(href=\"http://forbes.ru",
"end": 6630,
"score": 0.9977282285690308,
"start": 6624,
"tag": "NAME",
"value": "Forbes"
},
{
"context": "ame.fl_l(href=\"http://forbes.ru\", target=\"_bl... | spynotify/public/js/index.coffee | wearen1/sandbox | 0 | $.fn.invertColor = (duration=0)->
return unless @css 'backgroundColor'
color = new RGBColor @css 'backgroundColor'
unless duration
@css('color', 'rgb(' + (255 - color.r) + ',' + (255 - color.g) + ',' + (255 - color.b) + ')') if color.ok
else
@animate
color: 'rgb(' + (255 - color.r) + ',' + (255 - ... | 123361 | $.fn.invertColor = (duration=0)->
return unless @css 'backgroundColor'
color = new RGBColor @css 'backgroundColor'
unless duration
@css('color', 'rgb(' + (255 - color.r) + ',' + (255 - color.g) + ',' + (255 - color.b) + ')') if color.ok
else
@animate
color: 'rgb(' + (255 - color.r) + ',' + (255 - ... | true | $.fn.invertColor = (duration=0)->
return unless @css 'backgroundColor'
color = new RGBColor @css 'backgroundColor'
unless duration
@css('color', 'rgb(' + (255 - color.r) + ',' + (255 - color.g) + ',' + (255 - color.b) + ')') if color.ok
else
@animate
color: 'rgb(' + (255 - color.r) + ',' + (255 - ... |
[
{
"context": "o curves with the horizontal and vertical slices\n# Karl W Broman\n\niheatmap = (data, chartOpts) ->\n\n # chartOpts",
"end": 105,
"score": 0.9997397661209106,
"start": 92,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/charts/iheatmap.coffee | FourchettesDeInterActive/qtlcharts | 0 | # iheatmap: Interactive heatmap, linked to curves with the horizontal and vertical slices
# Karl W Broman
iheatmap = (data, chartOpts) ->
# chartOpts start
htop = chartOpts?.htop ? 500 # height of top charts in pixels
hbot = chartOpts?.hbot ? 500 # height of bottom chart in pixels
wleft = chartOpts?.w... | 64893 | # iheatmap: Interactive heatmap, linked to curves with the horizontal and vertical slices
# <NAME>
iheatmap = (data, chartOpts) ->
# chartOpts start
htop = chartOpts?.htop ? 500 # height of top charts in pixels
hbot = chartOpts?.hbot ? 500 # height of bottom chart in pixels
wleft = chartOpts?.wleft ? ... | true | # iheatmap: Interactive heatmap, linked to curves with the horizontal and vertical slices
# PI:NAME:<NAME>END_PI
iheatmap = (data, chartOpts) ->
# chartOpts start
htop = chartOpts?.htop ? 500 # height of top charts in pixels
hbot = chartOpts?.hbot ? 500 # height of bottom chart in pixels
wleft = chart... |
[
{
"context": "###\n * grunt-tankipas\n * https://github.com/Leny/grunt-tankipas\n *\n * Copyright (c) 2014 Leny\n * L",
"end": 48,
"score": 0.9993644952774048,
"start": 44,
"tag": "USERNAME",
"value": "Leny"
},
{
"context": "b.com/Leny/grunt-tankipas\n *\n * Copyright (c) 2014 Leny\n... | Gruntfile.coffee | leny/grunt-tankipas | 0 | ###
* grunt-tankipas
* https://github.com/Leny/grunt-tankipas
*
* Copyright (c) 2014 Leny
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
options:
... | 162509 | ###
* grunt-tankipas
* https://github.com/Leny/grunt-tankipas
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
options:
... | true | ###
* grunt-tankipas
* https://github.com/Leny/grunt-tankipas
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
... |
[
{
"context": "eran\"\n\t@type:\"ModifierPantheran\"\n\n\t@modifierName:\"Scion's Watch\"\n\t@description: \"Costs 0 if you've cast all three",
"end": 464,
"score": 0.9585045576095581,
"start": 451,
"tag": "NAME",
"value": "Scion's Watch"
}
] | app/sdk/modifiers/modifierPantheran.coffee | willroberts/duelyst | 5 | Modifier = require './modifier'
ModifierManaCostChange = require './modifierManaCostChange'
PlayCardFromHandAction = require 'app/sdk/actions/playCardFromHandAction'
PlaySignatureCardAction = require 'app/sdk/actions/playSignatureCardAction'
CardType = require 'app/sdk/cards/cardType'
Cards = require 'app/sdk/cards/car... | 85628 | Modifier = require './modifier'
ModifierManaCostChange = require './modifierManaCostChange'
PlayCardFromHandAction = require 'app/sdk/actions/playCardFromHandAction'
PlaySignatureCardAction = require 'app/sdk/actions/playSignatureCardAction'
CardType = require 'app/sdk/cards/cardType'
Cards = require 'app/sdk/cards/car... | true | Modifier = require './modifier'
ModifierManaCostChange = require './modifierManaCostChange'
PlayCardFromHandAction = require 'app/sdk/actions/playCardFromHandAction'
PlaySignatureCardAction = require 'app/sdk/actions/playSignatureCardAction'
CardType = require 'app/sdk/cards/cardType'
Cards = require 'app/sdk/cards/car... |
[
{
"context": "redis: null\n namespace: 'amico'\n followingKey: 'following'\n followersKey: 'followers'\n blockedKey: 'block",
"end": 154,
"score": 0.9774959683418274,
"start": 145,
"tag": "KEY",
"value": "following"
},
{
"context": "ico'\n followingKey: 'following'\n followersK... | src/index.coffee | agoragames/node-amico | 1 | Hash = require 'hashish'
getEpoch = ->
date = new Date()
return date.getTime()
Amico =
redis: null
namespace: 'amico'
followingKey: 'following'
followersKey: 'followers'
blockedKey: 'blocked'
reciprocatedKey: 'reciprocated'
scopeKey: 'default'
pageSize: 25
configure: (config) ->
config.apply... | 18596 | Hash = require 'hashish'
getEpoch = ->
date = new Date()
return date.getTime()
Amico =
redis: null
namespace: 'amico'
followingKey: '<KEY>'
followersKey: '<KEY>'
blockedKey: '<KEY>'
reciprocatedKey: '<KEY>'
scopeKey: '<KEY>'
pageSize: 25
configure: (config) ->
config.apply(@)
follow: (fro... | true | Hash = require 'hashish'
getEpoch = ->
date = new Date()
return date.getTime()
Amico =
redis: null
namespace: 'amico'
followingKey: 'PI:KEY:<KEY>END_PI'
followersKey: 'PI:KEY:<KEY>END_PI'
blockedKey: 'PI:KEY:<KEY>END_PI'
reciprocatedKey: 'PI:KEY:<KEY>END_PI'
scopeKey: 'PI:KEY:<KEY>END_PI'
pageSize... |
[
{
"context": "ffee'\nassert = require 'assert'\n\nserviceKey = '12345678901234567890123456789012' # specify key\n\nthrow new Error 'Specify serviceK",
"end": 122,
"score": 0.9997271299362183,
"start": 90,
"tag": "KEY",
"value": "12345678901234567890123456789012"
}
] | test/test-PagerDuty.coffee | BiTaksi/node-pagerduty | 12 | PagerDuty = require '../src/PagerDuty.coffee'
assert = require 'assert'
serviceKey = '12345678901234567890123456789012' # specify key
throw new Error 'Specify serviceKey!' unless serviceKey?
pager = new PagerDuty
serviceKey: serviceKey
# create incident
pager.create
description: 'testError'
details: {foo: ... | 61471 | PagerDuty = require '../src/PagerDuty.coffee'
assert = require 'assert'
serviceKey = '<KEY>' # specify key
throw new Error 'Specify serviceKey!' unless serviceKey?
pager = new PagerDuty
serviceKey: serviceKey
# create incident
pager.create
description: 'testError'
details: {foo: 'bar'}
callback: (err, re... | true | PagerDuty = require '../src/PagerDuty.coffee'
assert = require 'assert'
serviceKey = 'PI:KEY:<KEY>END_PI' # specify key
throw new Error 'Specify serviceKey!' unless serviceKey?
pager = new PagerDuty
serviceKey: serviceKey
# create incident
pager.create
description: 'testError'
details: {foo: 'bar'}
callb... |
[
{
"context": "->\n App_Name = \"Midi-Lights\"\n\n log = (describer, obj) ->\n ob",
"end": 23,
"score": 0.5112837553024292,
"start": 19,
"tag": "NAME",
"value": "Midi"
}
] | unsorted/Scripts/Spot-Light/coffee/Main.coffee | MiladNazeri/hifi-scripts | 0 | ->
App_Name = "Midi-Lights"
log = (describer, obj) ->
obj = obj || ''
print describer
print JSON.stingify obj
HIFI_MIDI_CONTROLS_CHANNEL = "Hifi-Midi-Controls-Channel"
setUp = ->
tablet = Tablet.getTablet "com.highfidelity.interface.tablet.system"
return if not... | 20386 | ->
App_Name = "<NAME>-Lights"
log = (describer, obj) ->
obj = obj || ''
print describer
print JSON.stingify obj
HIFI_MIDI_CONTROLS_CHANNEL = "Hifi-Midi-Controls-Channel"
setUp = ->
tablet = Tablet.getTablet "com.highfidelity.interface.tablet.system"
return if n... | true | ->
App_Name = "PI:NAME:<NAME>END_PI-Lights"
log = (describer, obj) ->
obj = obj || ''
print describer
print JSON.stingify obj
HIFI_MIDI_CONTROLS_CHANNEL = "Hifi-Midi-Controls-Channel"
setUp = ->
tablet = Tablet.getTablet "com.highfidelity.interface.tablet.system"
... |
[
{
"context": " exist', 1, ->\n product1 = new @Product(name: \"testA\", cost: 20)\n product2 = new @Product(name: \"te",
"end": 6258,
"score": 0.9972455501556396,
"start": 6253,
"tag": "NAME",
"value": "testA"
},
{
"context": "tA\", cost: 20)\n product2 = new @Product(name: ... | tests/batman/storage_adapter/storage_adapter_helper.coffee | nickjs/batman.js | 3 | # This at some point should be exported so it can be run on custom storage adapters.
sharedStorageTestSuite = (hooks = {}) ->
asyncTestWithHooks = (name, count, f) ->
QUnit.asyncTest name, count, ->
hooks[name].call(@) if hooks[name]?
f.call(@)
test 'instantiating: should use the `storageKey` on th... | 108511 | # This at some point should be exported so it can be run on custom storage adapters.
sharedStorageTestSuite = (hooks = {}) ->
asyncTestWithHooks = (name, count, f) ->
QUnit.asyncTest name, count, ->
hooks[name].call(@) if hooks[name]?
f.call(@)
test 'instantiating: should use the `storageKey` on th... | true | # This at some point should be exported so it can be run on custom storage adapters.
sharedStorageTestSuite = (hooks = {}) ->
asyncTestWithHooks = (name, count, f) ->
QUnit.asyncTest name, count, ->
hooks[name].call(@) if hooks[name]?
f.call(@)
test 'instantiating: should use the `storageKey` on th... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999122619628906,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/hits.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 @Hits
@generate: ({score, playmode}) ->
elements = if playmode == 'mania'
['count_geki', 'count_300', 'count_katu', 'count_100... | 87839 | # 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 @Hits
@generate: ({score, playmode}) ->
elements = if playmode == 'mania'
['count_geki', 'count_300', 'count_katu', 'count_100', 'cou... | 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 @Hits
@generate: ({score, playmode}) ->
elements = if playmode == 'mania'
['count_geki', 'count_300', 'count_katu', 'c... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.999887228012085,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/di... | src/Coffixi/display/DisplayObjectContainer.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/display/DisplayObjectContainer', [
'./DisplayObject'
], (
DisplayObject
) ->
###*
A DisplayObjectContainer represents a collection of display objects.
It is the base class of all display objects that act as a container for other ob... | 103300 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/display/DisplayObjectContainer', [
'./DisplayObject'
], (
DisplayObject
) ->
###*
A DisplayObjectContainer represents a collection of display objects.
It is the base class of all display objects that act as a container for other object... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/display/DisplayObjectContainer', [
'./DisplayObject'
], (
DisplayObject
) ->
###*
A DisplayObjectContainer represents a collection of display objects.
It is the base class of all display objects that act as a container fo... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9753246903419495,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/persist/utils.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
Base64url = require 'base64url'
Crypto = require 'crypto'
Imm = require 'immutable'
Joi = require 'joi'
# warm up the ... | 208898 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
Base64url = require 'base64url'
Crypto = require 'crypto'
Imm = require 'immutable'
Joi = require 'joi'
# warm up the ... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
Base64url = require 'base64url'
Crypto = require 'crypto'
Imm = require 'immutable'
Joi = require 'joi'
... |
[
{
"context": "************\n# JSButton - Button Object\n# Coded by Hajime Oh-yake 2013.03.25\n#*************************************",
"end": 95,
"score": 0.9998927712440491,
"start": 81,
"tag": "NAME",
"value": "Hajime Oh-yake"
},
{
"context": "\n filter: @filter\n ... | JSKit/04_JSButton.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSButton - Button Object
# Coded by Hajime Oh-yake 2013.03.25
#*****************************************
class JSButton extends JSControl
constructor:(frame = JSRectMake(4, 4, 64, 24))->
super(frame)
@_borderColor = JSColor("clearColor")
@_bgColor = JSColor("c... | 72634 | #*****************************************
# JSButton - Button Object
# Coded by <NAME> 2013.03.25
#*****************************************
class JSButton extends JSControl
constructor:(frame = JSRectMake(4, 4, 64, 24))->
super(frame)
@_borderColor = JSColor("clearColor")
@_bgColor = JSColor("clearColo... | true | #*****************************************
# JSButton - Button Object
# Coded by PI:NAME:<NAME>END_PI 2013.03.25
#*****************************************
class JSButton extends JSControl
constructor:(frame = JSRectMake(4, 4, 64, 24))->
super(frame)
@_borderColor = JSColor("clearColor")
@_bgColor = JSCo... |
[
{
"context": ".hanzo.io'\n\n url = updateQuery base, token: '123456'\n url.should.eq base + '?token=123456'\n\n ",
"end": 231,
"score": 0.9614794850349426,
"start": 225,
"tag": "PASSWORD",
"value": "123456"
},
{
"context": "oken: '123456'\n url.should.eq base + '?to... | test/utils.coffee | hanzo-io/hanzo.js | 147 | {updateQuery} = (require '../').utils
describe 'utils', ->
describe '#updateQuery', ->
it 'should update query parameters for a given url', ->
base = 'https://api.hanzo.io'
url = updateQuery base, token: '123456'
url.should.eq base + '?token=123456'
url = updateQuery url, foo: 'bar'
... | 63630 | {updateQuery} = (require '../').utils
describe 'utils', ->
describe '#updateQuery', ->
it 'should update query parameters for a given url', ->
base = 'https://api.hanzo.io'
url = updateQuery base, token: '<PASSWORD>'
url.should.eq base + '?token=<PASSWORD>'
url = updateQuery url, foo: '... | true | {updateQuery} = (require '../').utils
describe 'utils', ->
describe '#updateQuery', ->
it 'should update query parameters for a given url', ->
base = 'https://api.hanzo.io'
url = updateQuery base, token: 'PI:PASSWORD:<PASSWORD>END_PI'
url.should.eq base + '?token=PI:PASSWORD:<PASSWORD>END_PI'
... |
[
{
"context": " @emit 'ready', uuid: 'some-device', token: 'some-token'\n\n onConnection = (socket) =>\n socket.on ",
"end": 546,
"score": 0.8114954829216003,
"start": 536,
"tag": "KEY",
"value": "some-token"
}
] | test/verifier-spec.coffee | octoblu/meshblu-verifier-socket.io | 0 | {afterEach, beforeEach, context, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
Verifier = require '../src/verifier'
MockMeshbluSocketIO = require './mock-meshblu-socket-io'
describe 'Verifier', ->
beforeEach (done) ->
@nonce = Date.now()
@registerHandler = sinon.stub()
@whoami... | 42442 | {afterEach, beforeEach, context, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
Verifier = require '../src/verifier'
MockMeshbluSocketIO = require './mock-meshblu-socket-io'
describe 'Verifier', ->
beforeEach (done) ->
@nonce = Date.now()
@registerHandler = sinon.stub()
@whoami... | true | {afterEach, beforeEach, context, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
Verifier = require '../src/verifier'
MockMeshbluSocketIO = require './mock-meshblu-socket-io'
describe 'Verifier', ->
beforeEach (done) ->
@nonce = Date.now()
@registerHandler = sinon.stub()
@whoami... |
[
{
"context": "###\nexperiment.coffee\nFred Callaway\n\nDemonstrates the jsych-mdp plugin\n\n###\n\n\n# coffe",
"end": 35,
"score": 0.9998801350593567,
"start": 22,
"tag": "NAME",
"value": "Fred Callaway"
}
] | static/js/experiment.coffee | fredcallaway/jspsych-mdp | 0 | ###
experiment.coffee
Fred Callaway
Demonstrates the jsych-mdp plugin
###
# coffeelint: disable=max_line_length, indentation
psiturk = new PsiTurk uniqueId, adServerLoc, mode
add_trial_data = jsPsych.data.addDataToLastTrial
# $.getScript('/static/lib/jstat-min.js')
# jstat = this.jStat
md_to_html = do ->
conve... | 121144 | ###
experiment.coffee
<NAME>
Demonstrates the jsych-mdp plugin
###
# coffeelint: disable=max_line_length, indentation
psiturk = new PsiTurk uniqueId, adServerLoc, mode
add_trial_data = jsPsych.data.addDataToLastTrial
# $.getScript('/static/lib/jstat-min.js')
# jstat = this.jStat
md_to_html = do ->
converter = ... | true | ###
experiment.coffee
PI:NAME:<NAME>END_PI
Demonstrates the jsych-mdp plugin
###
# coffeelint: disable=max_line_length, indentation
psiturk = new PsiTurk uniqueId, adServerLoc, mode
add_trial_data = jsPsych.data.addDataToLastTrial
# $.getScript('/static/lib/jstat-min.js')
# jstat = this.jStat
md_to_html = do ->
... |
[
{
"context": "label>\n\t\t\t\t<input type=\"text\" id=\"login_un\" name=\"username\" />\n\t\t\t</div>\n\t\t\t<div data-role=\"fieldcontain\">\n\t",
"end": 955,
"score": 0.9300987720489502,
"start": 947,
"tag": "USERNAME",
"value": "username"
},
{
"context": " for=\"login_pw\">Passwor... | src/login_window.coffee | stevenyvr987/evergreen-mobile-opac | 0 | # We define a jQuery plugin to show an interactive form for inputting user
# credentials. The plugin will respond to submit and cancel events from the
# user.
#
# The plugin will also subscribe to 'session.required'. Behind the scenes, if
# another plugin makes a service request that requires the user to be logged
# ... | 162564 | # We define a jQuery plugin to show an interactive form for inputting user
# credentials. The plugin will respond to submit and cancel events from the
# user.
#
# The plugin will also subscribe to 'session.required'. Behind the scenes, if
# another plugin makes a service request that requires the user to be logged
# ... | true | # We define a jQuery plugin to show an interactive form for inputting user
# credentials. The plugin will respond to submit and cancel events from the
# user.
#
# The plugin will also subscribe to 'session.required'. Behind the scenes, if
# another plugin makes a service request that requires the user to be logged
# ... |
[
{
"context": "s', (err, res) ->\n res.should.equal 'email: testuser@email.com, name: Test User, misc: Something'\n .getText",
"end": 610,
"score": 0.9999153017997742,
"start": 592,
"tag": "EMAIL",
"value": "testuser@email.com"
},
{
"context": "res.should.equal 'email: tes... | test/test.coffee | hanzoai/form.js | 2 | assert = require 'assert'
should = require('chai').should()
{getBrowser} = require './util'
describe "Inform (#{process.env.BROWSER})", ->
@timeout 120000
browser = getBrowser()
testPage = "http://localhost:#{process.env.PORT ? 3333}/test.html"
it 'should detect the correct script/form', (done)->
browse... | 99717 | assert = require 'assert'
should = require('chai').should()
{getBrowser} = require './util'
describe "Inform (#{process.env.BROWSER})", ->
@timeout 120000
browser = getBrowser()
testPage = "http://localhost:#{process.env.PORT ? 3333}/test.html"
it 'should detect the correct script/form', (done)->
browse... | true | assert = require 'assert'
should = require('chai').should()
{getBrowser} = require './util'
describe "Inform (#{process.env.BROWSER})", ->
@timeout 120000
browser = getBrowser()
testPage = "http://localhost:#{process.env.PORT ? 3333}/test.html"
it 'should detect the correct script/form', (done)->
browse... |
[
{
"context": "is file is part of the ChinesePuzzle package.\n\n(c) Mathieu Ledru\n\nFor the full copyright and license information, ",
"end": 70,
"score": 0.9998517036437988,
"start": 57,
"tag": "NAME",
"value": "Mathieu Ledru"
}
] | Common/Bin/Data/coffee/Menu/MenuGridContainer.coffee | matyo91/ChinesePuzzle | 1 | ###
This file is part of the ChinesePuzzle package.
(c) Mathieu Ledru
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.MenuGridContainer = cpz.MenuBox.extend(
_container: null
_switchControl: null
_switchControlSelector: null
_sw... | 111236 | ###
This file is part of the ChinesePuzzle package.
(c) <NAME>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.MenuGridContainer = cpz.MenuBox.extend(
_container: null
_switchControl: null
_switchControlSelector: null
_switchCon... | true | ###
This file is part of the ChinesePuzzle package.
(c) PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.MenuGridContainer = cpz.MenuBox.extend(
_container: null
_switchControl: null
_switchControlSelector: nul... |
[
{
"context": "\"use strict\"\n\n#\n#* ProjectName: Tabu\n#* Name: Pascal Raszyk\n#* Email: posixpascal@googlemail.com\n#* Username:",
"end": 59,
"score": 0.9998860359191895,
"start": 46,
"tag": "NAME",
"value": "Pascal Raszyk"
},
{
"context": "ProjectName: Tabu\n#* Name: Pascal Raszy... | src/coffee/Tabu.coffee | posixpascal/tabu | 0 | "use strict"
#
#* ProjectName: Tabu
#* Name: Pascal Raszyk
#* Email: posixpascal@googlemail.com
#* Username: posixpascal
#* Site: https://blog.pascalraszyk.de
#* Github: https://github.com/posixpascal/tabu
#* Twitter: @pascalraszyk
#
class Tabu
constructor: (name) ->
false && document.body.classList.remove('nos... | 161614 | "use strict"
#
#* ProjectName: Tabu
#* Name: <NAME>
#* Email: <EMAIL>
#* Username: posixpascal
#* Site: https://blog.pascalraszyk.de
#* Github: https://github.com/posixpascal/tabu
#* Twitter: @pascalraszyk
#
class Tabu
constructor: (name) ->
false && document.body.classList.remove('noscript')
window.Tabu = Ta... | true | "use strict"
#
#* ProjectName: Tabu
#* Name: PI:NAME:<NAME>END_PI
#* Email: PI:EMAIL:<EMAIL>END_PI
#* Username: posixpascal
#* Site: https://blog.pascalraszyk.de
#* Github: https://github.com/posixpascal/tabu
#* Twitter: @pascalraszyk
#
class Tabu
constructor: (name) ->
false && document.body.classList.remove('... |
[
{
"context": " against its own\n[source file](https://github.com/jashkenas/docco/blob/master/docco.litcoffee).\n\n1. Install D",
"end": 510,
"score": 0.9992543458938599,
"start": 501,
"tag": "USERNAME",
"value": "jashkenas"
},
{
"context": "figurable).\n\nThe [Docco source](http://gi... | zzz/docco/docco.coffee | axiom6/aug | 0 |
###
Docco
=====
**Docco** is a quick-and-dirty documentation generator, written in
[Literate CoffeeScript](http://coffeescript.org/#literate).
It produces an HTML document that displays your comments intermingled with your
code. All prose is passed through
[Markdown](http://daringfireball.net/projects/markdown/syntax... | 196257 |
###
Docco
=====
**Docco** is a quick-and-dirty documentation generator, written in
[Literate CoffeeScript](http://coffeescript.org/#literate).
It produces an HTML document that displays your comments intermingled with your
code. All prose is passed through
[Markdown](http://daringfireball.net/projects/markdown/syntax... | true |
###
Docco
=====
**Docco** is a quick-and-dirty documentation generator, written in
[Literate CoffeeScript](http://coffeescript.org/#literate).
It produces an HTML document that displays your comments intermingled with your
code. All prose is passed through
[Markdown](http://daringfireball.net/projects/markdown/syntax... |
[
{
"context": "t = {\n # users\n user1: {id: 101, name: \"Tom McTest\", partner: null},\n\n # labels\n tea: {id:",
"end": 920,
"score": 0.9931290149688721,
"start": 910,
"tag": "NAME",
"value": "Tom McTest"
},
{
"context": "ields.assignee = test.who\n $scope.fie... | karma/test-modals.coffee | lucianomc/casepro | 0 | # Unit tests for our Angular modal controllers (controllers listed A-Z)
describe('modals:', () ->
$controller = null
$rootScope = null
$q = null
FaqService = null
LabelService = null
MessageService = null
UserService = null
$scope = null
modalInstance = null
test = null
beforeEach(() ->
mod... | 200831 | # Unit tests for our Angular modal controllers (controllers listed A-Z)
describe('modals:', () ->
$controller = null
$rootScope = null
$q = null
FaqService = null
LabelService = null
MessageService = null
UserService = null
$scope = null
modalInstance = null
test = null
beforeEach(() ->
mod... | true | # Unit tests for our Angular modal controllers (controllers listed A-Z)
describe('modals:', () ->
$controller = null
$rootScope = null
$q = null
FaqService = null
LabelService = null
MessageService = null
UserService = null
$scope = null
modalInstance = null
test = null
beforeEach(() ->
mod... |
[
{
"context": "rent = Element\n size: cs: 1\n name: \"gp\"\n RectangleElement inFlow: false, color: \"",
"end": 9369,
"score": 0.9074796438217163,
"start": 9367,
"tag": "NAME",
"value": "gp"
},
{
"context": " \"#ff7\"\n parent = Element\n name: \"p... | test/tests/Art.Engine/Core/Layout/Functional/Padding.coffee | Imikimi-LLC/art.engine | 4 | Foundation = require 'art-foundation'
Atomic = require 'art-atomic'
Canvas = require 'art-canvas'
Engine = require 'art-engine'
StateEpochTestHelper = require '../../StateEpochTestHelper'
{inspect, log, isArray} = Foundation
{point, matrix, rect, perimeter} = Atomic
{stateEpochTest, drawAndTestElement} = StateEpochTes... | 27195 | Foundation = require 'art-foundation'
Atomic = require 'art-atomic'
Canvas = require 'art-canvas'
Engine = require 'art-engine'
StateEpochTestHelper = require '../../StateEpochTestHelper'
{inspect, log, isArray} = Foundation
{point, matrix, rect, perimeter} = Atomic
{stateEpochTest, drawAndTestElement} = StateEpochTes... | true | Foundation = require 'art-foundation'
Atomic = require 'art-atomic'
Canvas = require 'art-canvas'
Engine = require 'art-engine'
StateEpochTestHelper = require '../../StateEpochTestHelper'
{inspect, log, isArray} = Foundation
{point, matrix, rect, perimeter} = Atomic
{stateEpochTest, drawAndTestElement} = StateEpochTes... |
[
{
"context": "of type feedback slots for\n# the script.\n#\n# TODO(mvstanton): For now, the inclusion of the Array() call at t",
"end": 2510,
"score": 0.9994379878044128,
"start": 2501,
"tag": "USERNAME",
"value": "mvstanton"
},
{
"context": "ssertEquals 18, ChooseNumber()\nassertEqu... | deps/v8/test/mjsunit/debug-liveedit-newsource.coffee | lxe/io.coffee | 0 | # Copyright 2010 the V8 project authors. 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 conditi... | 207454 | # Copyright 2010 the V8 project authors. 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 conditi... | true | # Copyright 2010 the V8 project authors. 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 conditi... |
[
{
"context": " process.env.HUBOT_TEAMS_INITIAL_ADMINS = 'an-1_20@em.ail,authorized_user@email.la'\n process.env",
"end": 345,
"score": 0.9999106526374817,
"start": 331,
"tag": "EMAIL",
"value": "an-1_20@em.ail"
},
{
"context": ".env.HUBOT_TEAMS_INITIAL_ADMINS = 'an-... | test/adapter.test.coffee | stephanepiel/BotFramework-Hubot | 60 | chai = require 'chai'
expect = chai.expect
{ TextMessage, Message, Robot, User } = require 'hubot'
BotFrameworkAdapter = require '../src/adapter'
MockRobot = require './mock-robot'
describe 'Main Adapter', ->
describe 'Test Authorization Setup', ->
beforeEach ->
process.env.HUBOT_TEAMS_INITIAL... | 87 | chai = require 'chai'
expect = chai.expect
{ TextMessage, Message, Robot, User } = require 'hubot'
BotFrameworkAdapter = require '../src/adapter'
MockRobot = require './mock-robot'
describe 'Main Adapter', ->
describe 'Test Authorization Setup', ->
beforeEach ->
process.env.HUBOT_TEAMS_INITIAL... | true | chai = require 'chai'
expect = chai.expect
{ TextMessage, Message, Robot, User } = require 'hubot'
BotFrameworkAdapter = require '../src/adapter'
MockRobot = require './mock-robot'
describe 'Main Adapter', ->
describe 'Test Authorization Setup', ->
beforeEach ->
process.env.HUBOT_TEAMS_INITIAL... |
[
{
"context": " $http.post 'login', {login: login, password: password}\n .then (data) =>\n @setInterval()",
"end": 928,
"score": 0.9987894296646118,
"start": 920,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ttp.post 'loginRf', {login: @user.login, pass... | app/scripts/services/UserService.coffee | dreimert/foyer | 2 | angular = require 'angular'
angular.module "ardoise.services"
.factory "UserService", ($http, $q, LieuService) ->
new class UserService
constructor: ->
@init()
init: ->
@reset
@promise = $http.get('logged').then (data) =>
@setInterval()
@user = data.data
@name = dat... | 12690 | angular = require 'angular'
angular.module "ardoise.services"
.factory "UserService", ($http, $q, LieuService) ->
new class UserService
constructor: ->
@init()
init: ->
@reset
@promise = $http.get('logged').then (data) =>
@setInterval()
@user = data.data
@name = dat... | true | angular = require 'angular'
angular.module "ardoise.services"
.factory "UserService", ($http, $q, LieuService) ->
new class UserService
constructor: ->
@init()
init: ->
@reset
@promise = $http.get('logged').then (data) =>
@setInterval()
@user = data.data
@name = dat... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994123578071594,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-repl-options.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... | 6535 | # 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": " menu at random place\n#\n# Notes:\n#\n#\n# Author:\n# Olli Tapaninen <ollitapa@gmail.com>\n#\n\n# Copyright 2015 Olli Tap",
"end": 282,
"score": 0.9998856782913208,
"start": 268,
"tag": "NAME",
"value": "Olli Tapaninen"
},
{
"context": "lace\n#\n# Notes:\n#\n#\n# Aut... | src/hubot-lunch-at-amica.coffee | ollitapa/hubot-lunch-at-amica | 0 | # Description
# Tells you the lunch menu at Amica-restaurants in Finland
#
# Configuration:
#
# Commands:
# hubot lunch|lounasta|ruokaa| <place> - Tells you the menu of today at place
# ruokaa(a*)- Tells you the menu at random place
#
# Notes:
#
#
# Author:
# Olli Tapaninen <ollitapa@gmail.com>
#
# Copyright 2... | 222691 | # Description
# Tells you the lunch menu at Amica-restaurants in Finland
#
# Configuration:
#
# Commands:
# hubot lunch|lounasta|ruokaa| <place> - Tells you the menu of today at place
# ruokaa(a*)- Tells you the menu at random place
#
# Notes:
#
#
# Author:
# <NAME> <<EMAIL>>
#
# Copyright 2015 <NAME>
#
# Lice... | true | # Description
# Tells you the lunch menu at Amica-restaurants in Finland
#
# Configuration:
#
# Commands:
# hubot lunch|lounasta|ruokaa| <place> - Tells you the menu of today at place
# ruokaa(a*)- Tells you the menu at random place
#
# Notes:
#
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# C... |
[
{
"context": " beforeEach ->\n @login.resolve(@user)\n\n it \"goes to previous view\", ->\n ",
"end": 2806,
"score": 0.9825935363769531,
"start": 2801,
"tag": "USERNAME",
"value": "@user"
},
{
"context": "ould ($a) ->\n expect($a).to.c... | packages/desktop-gui/cypress/integration/login_spec.coffee | Everworks/cypress | 3 | describe "Login", ->
beforeEach ->
cy.fixture("user").as("user")
cy.visitIndex().then (win) ->
{ start, @ipc } = win.App
cy.stub(@ipc, "onMenuClicked")
cy.stub(@ipc, "onFocusTests")
cy.stub(@ipc, "getOptions").resolves({})
cy.stub(@ipc, "getCurrentUser").resolves(null)
cy... | 16574 | describe "Login", ->
beforeEach ->
cy.fixture("user").as("user")
cy.visitIndex().then (win) ->
{ start, @ipc } = win.App
cy.stub(@ipc, "onMenuClicked")
cy.stub(@ipc, "onFocusTests")
cy.stub(@ipc, "getOptions").resolves({})
cy.stub(@ipc, "getCurrentUser").resolves(null)
cy... | true | describe "Login", ->
beforeEach ->
cy.fixture("user").as("user")
cy.visitIndex().then (win) ->
{ start, @ipc } = win.App
cy.stub(@ipc, "onMenuClicked")
cy.stub(@ipc, "onFocusTests")
cy.stub(@ipc, "getOptions").resolves({})
cy.stub(@ipc, "getCurrentUser").resolves(null)
cy... |
[
{
"context": "'comment': 'Kevin Syntax: version 0.8'\n'fileTypes': [\n 'kev'\n]\n'fi",
"end": 17,
"score": 0.6084797978401184,
"start": 12,
"tag": "NAME",
"value": "Kevin"
},
{
"context": "\n'firstLineMatch': '\\\\A#!.*?\\\\bkevin\\\\b'\n'name': 'Kevin'\n'patterns': [\n {\n 'cap... | grammars/kevin.cson | BrandonDyer64/language-kevin | 0 | 'comment': 'Kevin Syntax: version 0.8'
'fileTypes': [
'kev'
]
'firstLineMatch': '\\A#!.*?\\bkevin\\b'
'name': 'Kevin'
'patterns': [
{
'captures':
'1':
'name': 'keyword.control.kevin'
'2':
'name': 'support.storage.type.kevin'
'3':
'name': 'entity.name.function.kevin'
... | 101424 | 'comment': '<NAME> Syntax: version 0.8'
'fileTypes': [
'kev'
]
'firstLineMatch': '\\A#!.*?\\bkevin\\b'
'name': '<NAME>'
'patterns': [
{
'captures':
'1':
'name': 'keyword.control.kevin'
'2':
'name': 'support.storage.type.kevin'
'3':
'name': 'entity.name.function.kevin'
... | true | 'comment': 'PI:NAME:<NAME>END_PI Syntax: version 0.8'
'fileTypes': [
'kev'
]
'firstLineMatch': '\\A#!.*?\\bkevin\\b'
'name': 'PI:NAME:<NAME>END_PI'
'patterns': [
{
'captures':
'1':
'name': 'keyword.control.kevin'
'2':
'name': 'support.storage.type.kevin'
'3':
'name': 'e... |
[
{
"context": " myTree = LocationTree.from([{\n admin1Name: \"Maritime\"\n countryName: \"Togolese Republic\"\n fea",
"end": 257,
"score": 0.9997472763061523,
"start": 249,
"tag": "NAME",
"value": "Maritime"
},
{
"context": "tureCode: \"PPLC\"\n id: \"2365267\"\n ... | imports/incident-resolution/test/LocationTree.test.coffee | ecohealthalliance/eidr-connect | 1 | import { chai } from 'meteor/practicalmeteor:chai'
import incidents from './incidents.coffee'
{ LocationTree } = require('../index')
describe 'LocationTree', ->
it 'deduplicates locations', ->
myTree = LocationTree.from([{
admin1Name: "Maritime"
countryName: "Togolese Republic"
featureClass: "P... | 75618 | import { chai } from 'meteor/practicalmeteor:chai'
import incidents from './incidents.coffee'
{ LocationTree } = require('../index')
describe 'LocationTree', ->
it 'deduplicates locations', ->
myTree = LocationTree.from([{
admin1Name: "<NAME>"
countryName: "Togolese Republic"
featureClass: "P"
... | true | import { chai } from 'meteor/practicalmeteor:chai'
import incidents from './incidents.coffee'
{ LocationTree } = require('../index')
describe 'LocationTree', ->
it 'deduplicates locations', ->
myTree = LocationTree.from([{
admin1Name: "PI:NAME:<NAME>END_PI"
countryName: "Togolese Republic"
feat... |
[
{
"context": "errors.new_password = @errorMessages.new_password_min\n else if attrs.new_password and attrs.new_pass",
"end": 751,
"score": 0.6063045263290405,
"start": 748,
"tag": "PASSWORD",
"value": "min"
},
{
"context": "attrs.new_password and attrs.new_password is attrs.curren... | src/mobile/apps/user/models/password_edit.coffee | zephraph/force | 377 | _ = require 'underscore'
_.str = require 'underscore.string'
CurrentUser = require '../../../models/current_user'
#
# PasswordEdit
#
# Inherits from CurrentUser to provide the unique API url for changing a password
# and specific password related client validation.
#
module.exports = class PasswordEdit extends Current... | 92526 | _ = require 'underscore'
_.str = require 'underscore.string'
CurrentUser = require '../../../models/current_user'
#
# PasswordEdit
#
# Inherits from CurrentUser to provide the unique API url for changing a password
# and specific password related client validation.
#
module.exports = class PasswordEdit extends Current... | true | _ = require 'underscore'
_.str = require 'underscore.string'
CurrentUser = require '../../../models/current_user'
#
# PasswordEdit
#
# Inherits from CurrentUser to provide the unique API url for changing a password
# and specific password related client validation.
#
module.exports = class PasswordEdit extends Current... |
[
{
"context": "ode\n\t\t\t\twhen \"rational\"\n\t\t\t\t\t@numerator = parseInt(@numerator)\n\t\t\t\t\t@denominator = parseInt(@denominat",
"end": 1799,
"score": 0.40399378538131714,
"start": 1799,
"tag": "NAME",
"value": ""
},
{
"context": "abel of replacements\n\t\t\t\tcopy.label = r... | algebra/Coffeequate-master/src/terminals.coffee | geometor/three-golden-sections | 2 | define ["parse", "nodes", "prettyRender", "constants"], (parse, nodes, prettyRender, constants) ->
# Terminals for the equation tree.
# Base class for terminals.
class Terminal extends nodes.BasicNode
# Deep-copy this node.
#
# @throw [Error] Not implemented.
copy: ->
throw new Error("Not implemented."... | 171408 | define ["parse", "nodes", "prettyRender", "constants"], (parse, nodes, prettyRender, constants) ->
# Terminals for the equation tree.
# Base class for terminals.
class Terminal extends nodes.BasicNode
# Deep-copy this node.
#
# @throw [Error] Not implemented.
copy: ->
throw new Error("Not implemented."... | true | define ["parse", "nodes", "prettyRender", "constants"], (parse, nodes, prettyRender, constants) ->
# Terminals for the equation tree.
# Base class for terminals.
class Terminal extends nodes.BasicNode
# Deep-copy this node.
#
# @throw [Error] Not implemented.
copy: ->
throw new Error("Not implemented."... |
[
{
"context": "',\n user: process.env.NEO4J_USER||'neo4j',\n password: process.env.NEO4J_PAS",
"end": 418,
"score": 0.8588006496429443,
"start": 413,
"tag": "USERNAME",
"value": "neo4j"
},
{
"context": " password: process.env.NEO4J_PASSWORD||'ne... | test/spec/e2e.coffee | Satratech/koa-neo4j | 11 | bdd = (require './bdd').default
KoaNeo4jApp = (require '../../src').default
{httpGet, httpPost} = require '../../src/util'
logWrapper = require('log4js-wrapper-advanced')
describe 'End-to-end tests', ->
bdd.givenOnce 'a KoaNeo4jApp with connection configuration', ->
@app = new KoaNeo4jApp
neo... | 84638 | bdd = (require './bdd').default
KoaNeo4jApp = (require '../../src').default
{httpGet, httpPost} = require '../../src/util'
logWrapper = require('log4js-wrapper-advanced')
describe 'End-to-end tests', ->
bdd.givenOnce 'a KoaNeo4jApp with connection configuration', ->
@app = new KoaNeo4jApp
neo... | true | bdd = (require './bdd').default
KoaNeo4jApp = (require '../../src').default
{httpGet, httpPost} = require '../../src/util'
logWrapper = require('log4js-wrapper-advanced')
describe 'End-to-end tests', ->
bdd.givenOnce 'a KoaNeo4jApp with connection configuration', ->
@app = new KoaNeo4jApp
neo... |
[
{
"context": ">\n unless key\n key = type.singularName() + '_id'\n @needsCompletionCheck(key)\n @_super(key, ",
"end": 2062,
"score": 0.6528784036636353,
"start": 2058,
"tag": "KEY",
"value": "'_id"
},
{
"context": " meta) ->\n unless key\n key = type.singularNa... | assets/scripts/lib/travis/model.coffee | rwjblue/travis-web | 0 | get = Ember.get
set = Ember.set
Array.prototype.diff = (a) ->
this.filter (i) -> !(a.indexOf(i) > -1)
@Travis.Model = Ember.Model.extend
id: Ember.attr('number')
init: ->
@_super.apply this, arguments
this
merge: (hash) ->
data = @get('_data')
Ember.merge(data, hash)
@notifyPropertyChan... | 145884 | get = Ember.get
set = Ember.set
Array.prototype.diff = (a) ->
this.filter (i) -> !(a.indexOf(i) > -1)
@Travis.Model = Ember.Model.extend
id: Ember.attr('number')
init: ->
@_super.apply this, arguments
this
merge: (hash) ->
data = @get('_data')
Ember.merge(data, hash)
@notifyPropertyChan... | true | get = Ember.get
set = Ember.set
Array.prototype.diff = (a) ->
this.filter (i) -> !(a.indexOf(i) > -1)
@Travis.Model = Ember.Model.extend
id: Ember.attr('number')
init: ->
@_super.apply this, arguments
this
merge: (hash) ->
data = @get('_data')
Ember.merge(data, hash)
@notifyPropertyChan... |
[
{
"context": "yright (c) 2011\n# Publication date: 06/17/2011\n#\t\tPierre Corsini (pcorsini@polytech.unice.fr)\n#\t\tNicolas Dupont (n",
"end": 212,
"score": 0.9998776316642761,
"start": 198,
"tag": "NAME",
"value": "Pierre Corsini"
},
{
"context": "# Publication date: 06/17/2011\n#... | src/Finger.coffee | Ndpnt/CoffeeTouch.js | 1 | # Finger Object which contains an Id, a gesture and all important parameters about the finger
# Params:
# fingerId
# gestureName
# params
#
# Copyright (c) 2011
# Publication date: 06/17/2011
# Pierre Corsini (pcorsini@polytech.unice.fr)
# Nicolas Dupont (npg.dupont@gmail.com)
# Nicolas Fernandez (fernande@polyte... | 206224 | # Finger Object which contains an Id, a gesture and all important parameters about the finger
# Params:
# fingerId
# gestureName
# params
#
# Copyright (c) 2011
# Publication date: 06/17/2011
# <NAME> (<EMAIL>)
# <NAME> (<EMAIL>)
# <NAME> (<EMAIL>)
# <NAME> (<EMAIL>)
# And supervised by <NAME> (<EMAIL>)
#
# Per... | true | # Finger Object which contains an Id, a gesture and all important parameters about the finger
# Params:
# fingerId
# gestureName
# params
#
# Copyright (c) 2011
# Publication date: 06/17/2011
# PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# PI:NAME:<NAME>END_PI (PI... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999114871025085,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/header-info.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 { FlagCountry } from 'flag-country'
import * as React from 'react'
import { a, div, h1, span } from 'react-dom-factories'
import { UserAva... | 52003 | # 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 { FlagCountry } from 'flag-country'
import * as React from 'react'
import { a, div, h1, span } from 'react-dom-factories'
import { UserAvatar } f... | 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 { FlagCountry } from 'flag-country'
import * as React from 'react'
import { a, div, h1, span } from 'react-dom-factories'
import {... |
[
{
"context": "r:true ###\n\n###!\n* FitVids 1.1\n*\n* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://da",
"end": 101,
"score": 0.9998973608016968,
"start": 89,
"tag": "NAME",
"value": "Chris Coyier"
},
{
"context": "right 2013, Chris Coyier - http://css-t... | source/assets/js/jquery.fitvids.coffee | haqqle/ghost_starter_theme | 0 | ###global jQuery ###
###jshint browser:true ###
###!
* FitVids 1.1
*
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.o... | 197698 | ###global jQuery ###
###jshint browser:true ###
###!
* FitVids 1.1
*
* Copyright 2013, <NAME> - http://css-tricks.com + <NAME> - http://daverupert.com
* Credit to <NAME> - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
*
###
(($)... | true | ###global jQuery ###
###jshint browser:true ###
###!
* FitVids 1.1
*
* Copyright 2013, PI:NAME:<NAME>END_PI - http://css-tricks.com + PI:NAME:<NAME>END_PI - http://daverupert.com
* Credit to PI:NAME:<NAME>END_PI - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL licen... |
[
{
"context": "s, or append to it --STI\n # classifications[@state.classificationIndex].annotation = d #[k] = v for k, v of d\n\n @se",
"end": 5237,
"score": 0.6902616620063782,
"start": 5212,
"tag": "EMAIL",
"value": "state.classificationIndex"
},
{
"context": " else\n ... | app/assets/javascripts/components/mark/index.cjsx | jakekara/ensemble-at-yale | 5 | React = require 'react'
{Navigation} = require 'react-router'
SubjectSetViewer = require '../subject-set-viewer'
coreTools = require 'components/core-tools'
FetchSubjectSetsMixin = require 'lib/fetch-subject-sets-mixin'
BaseWorkflowMethods = require 'lib/workflow-... | 46452 | React = require 'react'
{Navigation} = require 'react-router'
SubjectSetViewer = require '../subject-set-viewer'
coreTools = require 'components/core-tools'
FetchSubjectSetsMixin = require 'lib/fetch-subject-sets-mixin'
BaseWorkflowMethods = require 'lib/workflow-... | true | React = require 'react'
{Navigation} = require 'react-router'
SubjectSetViewer = require '../subject-set-viewer'
coreTools = require 'components/core-tools'
FetchSubjectSetsMixin = require 'lib/fetch-subject-sets-mixin'
BaseWorkflowMethods = require 'lib/workflow-... |
[
{
"context": "+ user._id\n\n\tto = user.emails[0].address\n\tfrom = \"no-reply@mooqita.org\"\n\n\tMeteor.defer () ->\n\t\tlog_event \"Sending mail\",",
"end": 811,
"score": 0.9990518689155579,
"start": 791,
"tag": "EMAIL",
"value": "no-reply@mooqita.org"
}
] | server/logic/mail.coffee | agottschalk10/worklearn | 0 | ###############################################
@send_message_mail = (user, subject, body) ->
msg = "@send_message_mail trying to send mail message"
log_event msg, event_mail, event_info
# handle notifications
p_filter =
owner_id: user._id
profile = Profiles.findOne p_filter
if not profile
send_mail user, s... | 199320 | ###############################################
@send_message_mail = (user, subject, body) ->
msg = "@send_message_mail trying to send mail message"
log_event msg, event_mail, event_info
# handle notifications
p_filter =
owner_id: user._id
profile = Profiles.findOne p_filter
if not profile
send_mail user, s... | true | ###############################################
@send_message_mail = (user, subject, body) ->
msg = "@send_message_mail trying to send mail message"
log_event msg, event_mail, event_info
# handle notifications
p_filter =
owner_id: user._id
profile = Profiles.findOne p_filter
if not profile
send_mail user, s... |
[
{
"context": "ule_atoms would be a map).\n key = \"atom-#{str}\"\n # if it's not, we create a consta",
"end": 69590,
"score": 0.9967967867851257,
"start": 69578,
"tag": "KEY",
"value": "atom-#{str}\""
}
] | lib/compiler.coffee | carlosalberto/echo-js | 0 | esprima = require 'esprima'
escodegen = require 'escodegen'
debug = require 'debug'
path = require 'path'
fs = require 'fs'
{ Map } = require 'map'
{ ArrayExpression,
ArrayPattern,
ArrowFunctionExpression,
AssignmentExpression,
BinaryExpression,
BlockStatement,
BreakStatement,
CallExpression,
CatchCla... | 28516 | esprima = require 'esprima'
escodegen = require 'escodegen'
debug = require 'debug'
path = require 'path'
fs = require 'fs'
{ Map } = require 'map'
{ ArrayExpression,
ArrayPattern,
ArrowFunctionExpression,
AssignmentExpression,
BinaryExpression,
BlockStatement,
BreakStatement,
CallExpression,
CatchCla... | true | esprima = require 'esprima'
escodegen = require 'escodegen'
debug = require 'debug'
path = require 'path'
fs = require 'fs'
{ Map } = require 'map'
{ ArrayExpression,
ArrayPattern,
ArrowFunctionExpression,
AssignmentExpression,
BinaryExpression,
BlockStatement,
BreakStatement,
CallExpression,
CatchCla... |
[
{
"context": "# 変数の宣言\nname = \"John\"\nage = 24\nconsole.log \"私は、#{name}と申します。\"\nconsole.",
"end": 20,
"score": 0.9995632171630859,
"start": 16,
"tag": "NAME",
"value": "John"
}
] | ch04/04-coffee/str.coffee | gogosub77/node-webscraping | 0 | # 変数の宣言
name = "John"
age = 24
console.log "私は、#{name}と申します。"
console.log "今年で、#{age}才になります。"
| 224636 | # 変数の宣言
name = "<NAME>"
age = 24
console.log "私は、#{name}と申します。"
console.log "今年で、#{age}才になります。"
| true | # 変数の宣言
name = "PI:NAME:<NAME>END_PI"
age = 24
console.log "私は、#{name}と申します。"
console.log "今年で、#{age}才になります。"
|
[
{
"context": ".findElement(@By.input 'cred.username').sendKeys('faker@bob.com')\n @browser.findElement(@By.input 'cred.passwo",
"end": 1991,
"score": 0.9999061822891235,
"start": 1978,
"tag": "EMAIL",
"value": "faker@bob.com"
},
{
"context": ".findElement(@By.input 'cred.password'... | test/e2e/step_definitions/steps.coffee | valueflowquality/gi-security-update | 0 | dbhelper = require '../../lib/dbhelper'
module.exports = ->
@Given /^I (?:am on|navigate to|visit) the (.*) page$/, (page, callback) ->
path = '/'
if page isnt 'home'
path += page
@browser.get('http://test.gi-security.com:3000' + path).then ->
callback()
@When /^facebook (is|is not) an ap... | 100686 | dbhelper = require '../../lib/dbhelper'
module.exports = ->
@Given /^I (?:am on|navigate to|visit) the (.*) page$/, (page, callback) ->
path = '/'
if page isnt 'home'
path += page
@browser.get('http://test.gi-security.com:3000' + path).then ->
callback()
@When /^facebook (is|is not) an ap... | true | dbhelper = require '../../lib/dbhelper'
module.exports = ->
@Given /^I (?:am on|navigate to|visit) the (.*) page$/, (page, callback) ->
path = '/'
if page isnt 'home'
path += page
@browser.get('http://test.gi-security.com:3000' + path).then ->
callback()
@When /^facebook (is|is not) an ap... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999094009399414,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/beatmapset-page/header.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 { BeatmapPicker } from './beatmap-picker'
import { Stats } from './stats'
import { BeatmapsetMapping } from 'beatmapset-mapping'
import { ... | 181134 | # 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 { BeatmapPicker } from './beatmap-picker'
import { Stats } from './stats'
import { BeatmapsetMapping } from 'beatmapset-mapping'
import { BigButt... | 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 { BeatmapPicker } from './beatmap-picker'
import { Stats } from './stats'
import { BeatmapsetMapping } from 'beatmapset-mapping'
i... |
[
{
"context": "rBibTeX.startup = ->\n AddonManager.getAddonByID('better-bibtex@iris-advies.com', (extension) ->\n return unless extension\n ",
"end": 719,
"score": 0.9621832370758057,
"start": 690,
"tag": "EMAIL",
"value": "better-bibtex@iris-advies.com"
},
{
"context": "# [ 0 ... | chrome/content/zotero-better-bibtex/zotero-better-bibtex.coffee | edwinksl/zotero-better-bibtex | 0 | Components.utils.import('resource://gre/modules/Services.jsm')
Components.utils.import('resource://gre/modules/AddonManager.jsm')
Components.utils.import('resource://zotero/config.js') unless ZOTERO_CONFIG?
Zotero.BetterBibTeX = {
serializer: Components.classes['@mozilla.org/xmlextras/xmlserializer;1'].createInstan... | 90503 | Components.utils.import('resource://gre/modules/Services.jsm')
Components.utils.import('resource://gre/modules/AddonManager.jsm')
Components.utils.import('resource://zotero/config.js') unless ZOTERO_CONFIG?
Zotero.BetterBibTeX = {
serializer: Components.classes['@mozilla.org/xmlextras/xmlserializer;1'].createInstan... | true | Components.utils.import('resource://gre/modules/Services.jsm')
Components.utils.import('resource://gre/modules/AddonManager.jsm')
Components.utils.import('resource://zotero/config.js') unless ZOTERO_CONFIG?
Zotero.BetterBibTeX = {
serializer: Components.classes['@mozilla.org/xmlextras/xmlserializer;1'].createInstan... |
[
{
"context": "Application\", ->\n before ->\n window.ApiKey = 'dummy'\n LDR.StateClass = ->\n this.startListener",
"end": 129,
"score": 0.9905346035957336,
"start": 124,
"tag": "KEY",
"value": "dummy"
}
] | spec/javascripts/ldr_spec.js.coffee | id774/fastladder | 101 | #= require application
#= require lib/ldr
#= require sinon
describe "LDR.Application", ->
before ->
window.ApiKey = 'dummy'
LDR.StateClass = ->
this.startListener = ->
LDR.StateClass::startListener = ->
LDR.Config = ->
describe "getInstance", ->
it "return same instance", ->
app1 =... | 182339 | #= require application
#= require lib/ldr
#= require sinon
describe "LDR.Application", ->
before ->
window.ApiKey = '<KEY>'
LDR.StateClass = ->
this.startListener = ->
LDR.StateClass::startListener = ->
LDR.Config = ->
describe "getInstance", ->
it "return same instance", ->
app1 =... | true | #= require application
#= require lib/ldr
#= require sinon
describe "LDR.Application", ->
before ->
window.ApiKey = 'PI:KEY:<KEY>END_PI'
LDR.StateClass = ->
this.startListener = ->
LDR.StateClass::startListener = ->
LDR.Config = ->
describe "getInstance", ->
it "return same instance", ->... |
[
{
"context": "ename\", {\n\t\t\t\t\t_csrf: window.csrfToken,\n\t\t\t\t\tname: name\n\t\t\t\t}\n\t\t\t\t.success () ->\n\t\t\t\t\t$scope.state.inflig",
"end": 3308,
"score": 0.985619068145752,
"start": 3304,
"tag": "NAME",
"value": "name"
}
] | public/coffee/main/project-list/tag-controllers.coffee | bowlofstew/web-sharelatex | 0 | define [
"base"
], (App) ->
App.controller "TagListController", ($scope, $modal) ->
$scope.filterProjects = (filter = "all") ->
$scope._clearTags()
$scope.setFilter(filter)
$scope._clearTags = () ->
for tag in $scope.tags
tag.selected = false
$scope.selectTag = (tag) ->
$scope._clearTags()... | 64816 | define [
"base"
], (App) ->
App.controller "TagListController", ($scope, $modal) ->
$scope.filterProjects = (filter = "all") ->
$scope._clearTags()
$scope.setFilter(filter)
$scope._clearTags = () ->
for tag in $scope.tags
tag.selected = false
$scope.selectTag = (tag) ->
$scope._clearTags()... | true | define [
"base"
], (App) ->
App.controller "TagListController", ($scope, $modal) ->
$scope.filterProjects = (filter = "all") ->
$scope._clearTags()
$scope.setFilter(filter)
$scope._clearTags = () ->
for tag in $scope.tags
tag.selected = false
$scope.selectTag = (tag) ->
$scope._clearTags()... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.