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": "isposition\", \"attachment; filename=\"2018 resumé of Robert de Forest.#{extension}\" \"\"\".trim()\n\n res.send rendered",
"end": 937,
"score": 0.9347739219665527,
"start": 921,
"tag": "NAME",
"value": "Robert de Forest"
}
] | routes/resume.coffee | rdeforest/resume | 0 | fs = require 'fs'
path = require 'path'
express = require 'express'
YAML = require 'js-yaml'
router = express.Router()
pug = require 'pug'
htmlDocx = require 'html-docx-js'
pdf = require 'html-pdf'
cs = require 'coffeescript'
moment = require 'moment'
date = (t) -> moment(t).f... | 215476 | fs = require 'fs'
path = require 'path'
express = require 'express'
YAML = require 'js-yaml'
router = express.Router()
pug = require 'pug'
htmlDocx = require 'html-docx-js'
pdf = require 'html-pdf'
cs = require 'coffeescript'
moment = require 'moment'
date = (t) -> moment(t).f... | true | fs = require 'fs'
path = require 'path'
express = require 'express'
YAML = require 'js-yaml'
router = express.Router()
pug = require 'pug'
htmlDocx = require 'html-docx-js'
pdf = require 'html-pdf'
cs = require 'coffeescript'
moment = require 'moment'
date = (t) -> moment(t).f... |
[
{
"context": "ientSignature\"\n}\n\nconfigmodule.masterSecretKey = \"003464606f47e65cf514c2c8f1f007d432a46fbeba616781bbff52def803e6e8\"\nconfigmodule.masterPublicKey = \"7102da6282ec3169",
"end": 552,
"score": 0.9997515678405762,
"start": 488,
"tag": "KEY",
"value": "003464606f47e65cf514c2c8... | source/configmodule/configmodule.coffee | JhonnyJason/data-manager-service-sources | 0 | configmodule = {name: "configmodule"}
############################################################
log = (arg) ->
if allModules.debugmodule.modulesToDebug["configmodule"]? then console.log "[configmodule]: " + arg
return
############################################################
configmodule.specialAuth = ... | 50424 | configmodule = {name: "configmodule"}
############################################################
log = (arg) ->
if allModules.debugmodule.modulesToDebug["configmodule"]? then console.log "[configmodule]: " + arg
return
############################################################
configmodule.specialAuth = ... | true | configmodule = {name: "configmodule"}
############################################################
log = (arg) ->
if allModules.debugmodule.modulesToDebug["configmodule"]? then console.log "[configmodule]: " + arg
return
############################################################
configmodule.specialAuth = ... |
[
{
"context": "true\n @state.stepKey().should.equal 'existing_2'\n @state.set current_level: 1, reonboarding:",
"end": 642,
"score": 0.615909993648529,
"start": 641,
"tag": "KEY",
"value": "2"
},
{
"context": "ng: false\n @state.stepKey().should.equal 'new_1'\n @st... | src/desktop/apps/personalize/test/client/state.coffee | streamich/force | 1 | _ = require 'underscore'
CurrentUser = require '../../../../models/current_user'
PersonalizeState = require '../../client/state'
describe 'state', ->
beforeEach ->
@user = new CurrentUser
@state = new PersonalizeState user: @user
it 'has a default current_step', ->
@state.get('current_step').should.eq... | 89495 | _ = require 'underscore'
CurrentUser = require '../../../../models/current_user'
PersonalizeState = require '../../client/state'
describe 'state', ->
beforeEach ->
@user = new CurrentUser
@state = new PersonalizeState user: @user
it 'has a default current_step', ->
@state.get('current_step').should.eq... | true | _ = require 'underscore'
CurrentUser = require '../../../../models/current_user'
PersonalizeState = require '../../client/state'
describe 'state', ->
beforeEach ->
@user = new CurrentUser
@state = new PersonalizeState user: @user
it 'has a default current_step', ->
@state.get('current_step').should.eq... |
[
{
"context": "efined\n @_autostart = undefined\n @password = undefined\n @serverDevice = undefined\n chrome.storage.",
"end": 341,
"score": 0.9715813994407654,
"start": 332,
"tag": "PASSWORD",
"value": "undefined"
},
{
"context": "s, servers: @_servers, channels: @_channe... | src/chat/storage.coffee | nornagon/ircv | 20 | exports = window.chat ?= {}
##
# Manages storage.
##
class Storage
@STATE_ITEMS = ['nick', 'servers', 'channels']
@INITIAL_ITEMS = ['password', 'server_device', 'autostart']
constructor: ->
@_log = getLogger this
@_channels = []
@_servers = []
@_nick = undefined
@_autostart = undefined
... | 133871 | exports = window.chat ?= {}
##
# Manages storage.
##
class Storage
@STATE_ITEMS = ['nick', 'servers', 'channels']
@INITIAL_ITEMS = ['password', 'server_device', 'autostart']
constructor: ->
@_log = getLogger this
@_channels = []
@_servers = []
@_nick = undefined
@_autostart = undefined
... | true | exports = window.chat ?= {}
##
# Manages storage.
##
class Storage
@STATE_ITEMS = ['nick', 'servers', 'channels']
@INITIAL_ITEMS = ['password', 'server_device', 'autostart']
constructor: ->
@_log = getLogger this
@_channels = []
@_servers = []
@_nick = undefined
@_autostart = undefined
... |
[
{
"context": "ot caught in too much rain on the way back.”\n\n**\n\nGabe sat on a cold concrete bench at a cold, round, co",
"end": 2499,
"score": 0.96146559715271,
"start": 2495,
"tag": "NAME",
"value": "Gabe"
},
{
"context": "ast the sky is doing what they’re all thinking.”\n\nGabe... | stories/blue-light-special.coffee | STRd6/zine | 12 | module.exports = """
Blue Light Special
“You know, I really want some cookies.” Elo said. She sat on a cushion on top of a tarp spread on the ground in front of their small campfire and whittled a piece of wood, periodically tossing the shavings into the fire. The warm glow bathed her deft fingers, tired face, and hon... | 208742 | module.exports = """
Blue Light Special
“You know, I really want some cookies.” Elo said. She sat on a cushion on top of a tarp spread on the ground in front of their small campfire and whittled a piece of wood, periodically tossing the shavings into the fire. The warm glow bathed her deft fingers, tired face, and hon... | true | module.exports = """
Blue Light Special
“You know, I really want some cookies.” Elo said. She sat on a cushion on top of a tarp spread on the ground in front of their small campfire and whittled a piece of wood, periodically tossing the shavings into the fire. The warm glow bathed her deft fingers, tired face, and hon... |
[
{
"context": "word:\n label: 'Password'\n description:",
"end": 106195,
"score": 0.8320892453193665,
"start": 106187,
"tag": "PASSWORD",
"value": "Password"
},
{
"context": " desc... | cyclotron-site/app/scripts/common/services/services.commonConfigService.coffee | smartcommunitylab/cyclotron | 1 | ###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (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.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law... | 125022 | ###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (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.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law... | true | ###
# Copyright (c) 2013-2015 the original author or authors.
#
# Licensed under the MIT License (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.opensource.org/licenses/mit-license.php
#
# Unless required by applicable law... |
[
{
"context": "\n\ninit = ->\n localCheckKeys = [0..3].map (i) -> \"localCheck#{i}\"\n sessionCheckKeys = [0..3].map (i) -> \"sessio",
"end": 143,
"score": 0.8209242224693298,
"start": 131,
"tag": "KEY",
"value": "localCheck#{"
},
{
"context": "heck#{i}\"\n sessionCheckKeys = [0..3... | src/sample.coffee | rmehlinger/bobtail-storage | 1 | {rx, rxStorage} = window
{bind} = rx
{local, session} = rxStorage
R = rx.rxt.tags
init = ->
localCheckKeys = [0..3].map (i) -> "localCheck#{i}"
sessionCheckKeys = [0..3].map (i) -> "sessionCheck#{i}"
$('body').append R.div [
R.h1 "Local Checks"
R.div localCheckKeys.map (key) ->
R.div [
R.l... | 39565 | {rx, rxStorage} = window
{bind} = rx
{local, session} = rxStorage
R = rx.rxt.tags
init = ->
localCheckKeys = [0..3].map (i) -> "<KEY>i}"
sessionCheckKeys = [0..3].map (i) -> "<KEY>i}"
$('body').append R.div [
R.h1 "Local Checks"
R.div localCheckKeys.map (key) ->
R.div [
R.label [
... | true | {rx, rxStorage} = window
{bind} = rx
{local, session} = rxStorage
R = rx.rxt.tags
init = ->
localCheckKeys = [0..3].map (i) -> "PI:KEY:<KEY>END_PIi}"
sessionCheckKeys = [0..3].map (i) -> "PI:KEY:<KEY>END_PIi}"
$('body').append R.div [
R.h1 "Local Checks"
R.div localCheckKeys.map (key) ->
R.div [
... |
[
{
"context": "#\n# grunt-xml-validator\n# https://github.com/panzic/grunt-xml-validator\n#\n# Copyright (c) 2014 Carlo ",
"end": 51,
"score": 0.9995267987251282,
"start": 45,
"tag": "USERNAME",
"value": "panzic"
},
{
"context": "/panzic/grunt-xml-validator\n#\n# Copyright (c) 2014 Ca... | tasks/xml_validator.coffee | gruntjs-updater/grunt-xml-validator | 0 | #
# grunt-xml-validator
# https://github.com/panzic/grunt-xml-validator
#
# Copyright (c) 2014 Carlo 'kj'
# Licensed under the MIT license.
#
module.exports = (grunt) ->
grunt.registerMultiTask('xml_validator', 'Grunt plugin to validate XML files', () ->
DOMParser = require('xmldom').DOMParser
valid = 0
fail... | 40054 | #
# grunt-xml-validator
# https://github.com/panzic/grunt-xml-validator
#
# Copyright (c) 2014 <NAME> 'kj'
# Licensed under the MIT license.
#
module.exports = (grunt) ->
grunt.registerMultiTask('xml_validator', 'Grunt plugin to validate XML files', () ->
DOMParser = require('xmldom').DOMParser
valid = 0
fai... | true | #
# grunt-xml-validator
# https://github.com/panzic/grunt-xml-validator
#
# Copyright (c) 2014 PI:NAME:<NAME>END_PI 'kj'
# Licensed under the MIT license.
#
module.exports = (grunt) ->
grunt.registerMultiTask('xml_validator', 'Grunt plugin to validate XML files', () ->
DOMParser = require('xmldom').DOMParser
v... |
[
{
"context": "s\",\"Prov\",\"Eccl\",\"Song\",\"Isa\",\"Jer\",\"Lam\",\"Ezek\",\"Dan\",\"Hos\",\"Joel\",\"Amos\",\"Obad\",\"Jonah\",\"Mic\",\"Nah\",\"",
"end": 505,
"score": 0.7875741124153137,
"start": 502,
"tag": "NAME",
"value": "Dan"
},
{
"context": "ov\",\"Eccl\",\"Song\",\"Isa\"... | lib/bible-tools/lib/Bible-Passage-Reference-Parser/src/is/spec.coffee | saiba-mais/bible-lessons | 149 | bcv_parser = require("../../js/is_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | 7515 | bcv_parser = require("../../js/is_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... | true | bcv_parser = require("../../js/is_bcv_parser.js").bcv_parser
describe "Parsing", ->
p = {}
beforeEach ->
p = new bcv_parser
p.options.osis_compaction_strategy = "b"
p.options.sequence_combination_strategy = "combine"
it "should round-trip OSIS references", ->
p.set_options osis_compaction_strategy: "bc"
... |
[
{
"context": "oGLib\n# Module | Stat Methods\n# Author | Sherif Emabrak\n# Description | The hull method returns the conve",
"end": 163,
"score": 0.9998723268508911,
"start": 149,
"tag": "NAME",
"value": "Sherif Emabrak"
}
] | src/lib/statistics/link/hull.coffee | Sherif-Embarak/gp-test | 0 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | Sherif Emabrak
# Description | The hull method returns the convex hull of a set of
# points, which is the set of edges connecting the outermost
# ... | 16162 | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | <NAME>
# Description | The hull method returns the convex hull of a set of
# points, which is the set of edges connecting the outermost
# nodes... | true | # ------------------------------------------------------------------------------
# Project | GoGLib
# Module | Stat Methods
# Author | PI:NAME:<NAME>END_PI
# Description | The hull method returns the convex hull of a set of
# points, which is the set of edges connecting the outermost
# ... |
[
{
"context": "#\n# Cookie notice CoffeeScript file.\n#\n# @author Matthew Casey\n#\n# (c) University of Surrey 2019\n#\n\n#\n# Initiali",
"end": 62,
"score": 0.9998668432235718,
"start": 49,
"tag": "NAME",
"value": "Matthew Casey"
}
] | app/assets/javascripts/cookie_notice.coffee | saschneider/VMVLedger | 0 | #
# Cookie notice CoffeeScript file.
#
# @author Matthew Casey
#
# (c) University of Surrey 2019
#
#
# Initialise whenever the page is loaded.
#
$ ->
$(document).on 'click', '[data-dismiss-cookie-notice]', (event) ->
VMV.dismissCookieNotice(@)
event.preventDefault()
#
# Dismisses the cookie notice and sets ... | 124885 | #
# Cookie notice CoffeeScript file.
#
# @author <NAME>
#
# (c) University of Surrey 2019
#
#
# Initialise whenever the page is loaded.
#
$ ->
$(document).on 'click', '[data-dismiss-cookie-notice]', (event) ->
VMV.dismissCookieNotice(@)
event.preventDefault()
#
# Dismisses the cookie notice and sets a cooki... | true | #
# Cookie notice CoffeeScript file.
#
# @author PI:NAME:<NAME>END_PI
#
# (c) University of Surrey 2019
#
#
# Initialise whenever the page is loaded.
#
$ ->
$(document).on 'click', '[data-dismiss-cookie-notice]', (event) ->
VMV.dismissCookieNotice(@)
event.preventDefault()
#
# Dismisses the cookie notice an... |
[
{
"context": " username: sftpUsername\n password: sftpPassword\n sftpTarget: argv.sftpTarget\n\n th",
"end": 5567,
"score": 0.9631576538085938,
"start": 5555,
"tag": "PASSWORD",
"value": "sftpPassword"
},
{
"context": " new Sftp\n host: host\n... | src/coffee/run.coffee | alfinonet/commercetools-customer-export | 0 | path = require 'path'
_ = require 'underscore'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
tmp = Promise.promisifyAll require('tmp')
{ExtendedLogger, ProjectCredentialsConfig, Sftp} = require 'sphere-node-utils'
package_json = require '../package.json'
CustomerExport = require './customerexport... | 68903 | path = require 'path'
_ = require 'underscore'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
tmp = Promise.promisifyAll require('tmp')
{ExtendedLogger, ProjectCredentialsConfig, Sftp} = require 'sphere-node-utils'
package_json = require '../package.json'
CustomerExport = require './customerexport... | true | path = require 'path'
_ = require 'underscore'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
tmp = Promise.promisifyAll require('tmp')
{ExtendedLogger, ProjectCredentialsConfig, Sftp} = require 'sphere-node-utils'
package_json = require '../package.json'
CustomerExport = require './customerexport... |
[
{
"context": "// Defaults to \"account_admin\"\n cacheKey: 'myapp.admin.session'\n })\n\n admin.ready.then(function () {\n ",
"end": 372,
"score": 0.678455650806427,
"start": 353,
"tag": "KEY",
"value": "myapp.admin.session"
},
{
"context": ")'\n 'descriptionMoreU... | snippets/admin-snippets.cson | distalx/hoodie-api-atom | 0 | '.source.js':
'admin constructor':
'prefix': 'new AccountAdmin'
'body': """
var admin = new AccountAdmin({
// required. Path or full URL to root location of the account JSON API
url: '/api',
// name of localStorage key where to persist the session state.
// Defaults to "a... | 91246 | '.source.js':
'admin constructor':
'prefix': 'new AccountAdmin'
'body': """
var admin = new AccountAdmin({
// required. Path or full URL to root location of the account JSON API
url: '/api',
// name of localStorage key where to persist the session state.
// Defaults to "a... | true | '.source.js':
'admin constructor':
'prefix': 'new AccountAdmin'
'body': """
var admin = new AccountAdmin({
// required. Path or full URL to root location of the account JSON API
url: '/api',
// name of localStorage key where to persist the session state.
// Defaults to "a... |
[
{
"context": "ic: (browser)->\n browser.fill \"Name\", \"ArmBiter\"\n \"should set text field\": (browser)->\n ",
"end": 5607,
"score": 0.9996221661567688,
"start": 5599,
"tag": "NAME",
"value": "ArmBiter"
},
{
"context": "qual browser.querySelector(\"#field-name\... | nodejs/marketplace/submodules/zombie/spec/forms_spec.coffee | flarebyte/wonderful-bazar | 1 | { Vows, assert, brains, Browser } = require("./helpers")
File = require("fs")
Crypto = require("crypto")
Vows.describe("Forms").addBatch(
"standard":
topic: ->
brains.get "/forms/form", (req, res)->
res.send """
<html>
<body>
<form action="/forms/submit" method="post... | 93643 | { Vows, assert, brains, Browser } = require("./helpers")
File = require("fs")
Crypto = require("crypto")
Vows.describe("Forms").addBatch(
"standard":
topic: ->
brains.get "/forms/form", (req, res)->
res.send """
<html>
<body>
<form action="/forms/submit" method="post... | true | { Vows, assert, brains, Browser } = require("./helpers")
File = require("fs")
Crypto = require("crypto")
Vows.describe("Forms").addBatch(
"standard":
topic: ->
brains.get "/forms/form", (req, res)->
res.send """
<html>
<body>
<form action="/forms/submit" method="post... |
[
{
"context": "es:\n# https://haveibeenpwned.com/\n#\n# Author:\n# Jordan Neufeld <myjc.niv@gmail.com> https://github.com/neufeldte",
"end": 216,
"score": 0.9998758435249329,
"start": 202,
"tag": "NAME",
"value": "Jordan Neufeld"
},
{
"context": "veibeenpwned.com/\n#\n# Author:\n# ... | scripts/pwned.coffee | neufeldtech/hubot-pwned | 0 | # Description:
# Find out if an email address has been pwned
#
# Configuration:
#
# Commands:
# has <email> been pwned?
# is <email> pwned?
#
# Notes:
# https://haveibeenpwned.com/
#
# Author:
# Jordan Neufeld <myjc.niv@gmail.com> https://github.com/neufeldtech
#
module.exports = (robot) ->
robot.hear /(?:has... | 9707 | # Description:
# Find out if an email address has been pwned
#
# Configuration:
#
# Commands:
# has <email> been pwned?
# is <email> pwned?
#
# Notes:
# https://haveibeenpwned.com/
#
# Author:
# <NAME> <<EMAIL>> https://github.com/neufeldtech
#
module.exports = (robot) ->
robot.hear /(?:has|is) (\S+@\w+\.\w+)... | true | # Description:
# Find out if an email address has been pwned
#
# Configuration:
#
# Commands:
# has <email> been pwned?
# is <email> pwned?
#
# Notes:
# https://haveibeenpwned.com/
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> https://github.com/neufeldtech
#
module.exports = (robot) ->
robot.he... |
[
{
"context": "ne:\n https://docs.google.com/spreadsheet/ccc?key=0AgpC5gsTSm_4dDRVOEprRkVuSFZUWTlvclJ6UFRvdFE#gid=0\n###\n\n_ = require 'underscore'\nBackbone = re",
"end": 313,
"score": 0.9994955658912659,
"start": 269,
"tag": "KEY",
"value": "0AgpC5gsTSm_4dDRVOEprRkVuSFZUWTlvclJ6UFRvdFE"
... | kobo-docker/.vols/static/kpi/xlform/src/model.configs.coffee | OpenOPx/kobotoolbox | 0 | ###
defaultSurveyDetails
--------------------
These values will be populated in the form builder and the user
will have the option to turn them on or off.
Details pulled from ODK documents / google docs. Notably this one:
https://docs.google.com/spreadsheet/ccc?key=0AgpC5gsTSm_4dDRVOEprRkVuSFZUWTlvclJ6UFRvdFE#gid=0
... | 155465 | ###
defaultSurveyDetails
--------------------
These values will be populated in the form builder and the user
will have the option to turn them on or off.
Details pulled from ODK documents / google docs. Notably this one:
https://docs.google.com/spreadsheet/ccc?key=<KEY>#gid=0
###
_ = require 'underscore'
Backbone ... | true | ###
defaultSurveyDetails
--------------------
These values will be populated in the form builder and the user
will have the option to turn them on or off.
Details pulled from ODK documents / google docs. Notably this one:
https://docs.google.com/spreadsheet/ccc?key=PI:KEY:<KEY>END_PI#gid=0
###
_ = require 'undersco... |
[
{
"context": " unit-tests\n\n echo '#---> BUILDING GO WORKERS (@farslan) <---#'\n $KONFIG_PROJECTROOT/go/build.sh\n\n ",
"end": 595,
"score": 0.9997137188911438,
"start": 586,
"tag": "USERNAME",
"value": "(@farslan"
},
{
"context": "/go/build.sh\n\n echo '#---> BUILDI... | config/generateRunFile.coffee | ezgikaysi/koding | 1 | traverse = require 'traverse'
log = console.log
fs = require 'fs'
os = require 'os'
path = require 'path'
{ isAllowed } = require '../deployment/grouptoenvmapping'
generateDev = (KONFIG, options) ->
options.requirementComm... | 123601 | traverse = require 'traverse'
log = console.log
fs = require 'fs'
os = require 'os'
path = require 'path'
{ isAllowed } = require '../deployment/grouptoenvmapping'
generateDev = (KONFIG, options) ->
options.requirementComm... | true | traverse = require 'traverse'
log = console.log
fs = require 'fs'
os = require 'os'
path = require 'path'
{ isAllowed } = require '../deployment/grouptoenvmapping'
generateDev = (KONFIG, options) ->
options.requirementComm... |
[
{
"context": " <div className='user'>John Smith</div>\n </div>\n ",
"end": 376,
"score": 0.999610424041748,
"start": 366,
"tag": "NAME",
"value": "John Smith"
},
{
"context": " <div className='use... | public/scripts/example/ActivityExample.cjsx | SolinkCorp/velocity-dashboard | 0 | React = require 'react'
chartColors = require('./ChartStyles').colors
module.exports =
Content: ->
<div>
<div className='widgetBody activity-feed'>
<ul>
<li>
<div>
<div className='time'>8 min ago</div>
... | 107021 | React = require 'react'
chartColors = require('./ChartStyles').colors
module.exports =
Content: ->
<div>
<div className='widgetBody activity-feed'>
<ul>
<li>
<div>
<div className='time'>8 min ago</div>
... | true | React = require 'react'
chartColors = require('./ChartStyles').colors
module.exports =
Content: ->
<div>
<div className='widgetBody activity-feed'>
<ul>
<li>
<div>
<div className='time'>8 min ago</div>
... |
[
{
"context": ":'\n \n create: (user_id, callback) ->\n key = crypto.randomBytes(16).toString('hex')\n \n @client.setex @prefix + key, 60, user_",
"end": 279,
"score": 0.9434216022491455,
"start": 243,
"tag": "KEY",
"value": "crypto.randomBytes(16).toString('hex"
}
] | lib/ticket_stores/redis.coffee | mattinsler/keyless | 1 | crypto = require 'crypto'
redis_builder = require 'redis-builder'
class RedisTicketStore
constructor: (opts = {}) ->
@client = redis_builder(opts)
@prefix = opts.prefix ? 'keyless-t:'
create: (user_id, callback) ->
key = crypto.randomBytes(16).toString('hex')
@client.setex @prefix + key, ... | 9962 | crypto = require 'crypto'
redis_builder = require 'redis-builder'
class RedisTicketStore
constructor: (opts = {}) ->
@client = redis_builder(opts)
@prefix = opts.prefix ? 'keyless-t:'
create: (user_id, callback) ->
key = <KEY>')
@client.setex @prefix + key, 60, user_id, (err) ->
ret... | true | crypto = require 'crypto'
redis_builder = require 'redis-builder'
class RedisTicketStore
constructor: (opts = {}) ->
@client = redis_builder(opts)
@prefix = opts.prefix ? 'keyless-t:'
create: (user_id, callback) ->
key = PI:KEY:<KEY>END_PI')
@client.setex @prefix + key, 60, user_id, (err)... |
[
{
"context": "param + \" \" + this.name)\n \"name\": \"bob\"\n }\n stream = Bacon.fromNodeC",
"end": 2670,
"score": 0.9229888319969177,
"start": 2667,
"tag": "NAME",
"value": "bob"
},
{
"context": "fromNodeCallback(src, \"go\", \"hello\")\n [\"... | spec/specs/callback.coffee | ArtFacts/bacon.js | 0 | { expectStreamTimings, series, semiunstable } = require("../SpecHelper")
require("../../src/callback")
require("../../src/constant")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectStreamEvents,
series,
semiunstable,
error
} = require("../SpecHelper")
testLiftedCallback = (src... | 145619 | { expectStreamTimings, series, semiunstable } = require("../SpecHelper")
require("../../src/callback")
require("../../src/constant")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectStreamEvents,
series,
semiunstable,
error
} = require("../SpecHelper")
testLiftedCallback = (src... | true | { expectStreamTimings, series, semiunstable } = require("../SpecHelper")
require("../../src/callback")
require("../../src/constant")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectStreamEvents,
series,
semiunstable,
error
} = require("../SpecHelper")
testLiftedCallback = (src... |
[
{
"context": "###\nVexTab Tests\nCopyright Mohit Cheppudira 2010 <mohit@muthanna.com>\n###\n\nimport Vex from 'v",
"end": 43,
"score": 0.9998795390129089,
"start": 27,
"tag": "NAME",
"value": "Mohit Cheppudira"
},
{
"context": "###\nVexTab Tests\nCopyright Mohit Cheppudira 2010 <mohi... | tests/tests.coffee | ronyeh/vextab | 382 | ###
VexTab Tests
Copyright Mohit Cheppudira 2010 <mohit@muthanna.com>
###
import Vex from 'vexflow';
import Artist from '../src/artist.coffee';
import VexTab from '../src/vextab.coffee';
qunit = QUnit
test = qunit.test
console.log(test)
Artist.DEBUG = false;
VexTab.DEBUG = false;
class VexTabTests
@Start: ->
... | 184793 | ###
VexTab Tests
Copyright <NAME> 2010 <<EMAIL>>
###
import Vex from 'vexflow';
import Artist from '../src/artist.coffee';
import VexTab from '../src/vextab.coffee';
qunit = QUnit
test = qunit.test
console.log(test)
Artist.DEBUG = false;
VexTab.DEBUG = false;
class VexTabTests
@Start: ->
qunit.module "VexTab... | true | ###
VexTab Tests
Copyright PI:NAME:<NAME>END_PI 2010 <PI:EMAIL:<EMAIL>END_PI>
###
import Vex from 'vexflow';
import Artist from '../src/artist.coffee';
import VexTab from '../src/vextab.coffee';
qunit = QUnit
test = qunit.test
console.log(test)
Artist.DEBUG = false;
VexTab.DEBUG = false;
class VexTabTests
@Start... |
[
{
"context": "dapted from the no-trailing-spaces rule.\n# @author Greg Cochard\n###\n'use strict'\n\n{countBy} = require 'lodash'\n\n#",
"end": 134,
"score": 0.9997483491897583,
"start": 122,
"tag": "NAME",
"value": "Greg Cochard"
}
] | src/rules/no-multiple-empty-lines.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Disallows multiple blank lines.
# implementation adapted from the no-trailing-spaces rule.
# @author Greg Cochard
###
'use strict'
{countBy} = require 'lodash'
#------------------------------------------------------------------------------
# Rule Definition
#--------------------------------------... | 182222 | ###*
# @fileoverview Disallows multiple blank lines.
# implementation adapted from the no-trailing-spaces rule.
# @author <NAME>
###
'use strict'
{countBy} = require 'lodash'
#------------------------------------------------------------------------------
# Rule Definition
#--------------------------------------------... | true | ###*
# @fileoverview Disallows multiple blank lines.
# implementation adapted from the no-trailing-spaces rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
{countBy} = require 'lodash'
#------------------------------------------------------------------------------
# Rule Definition
#------------------------------... |
[
{
"context": "\n#\n# Commands:\n# hubot beat time\n#\n# Author:\n# Kevin L <kevin@stealsyour.pw>\n\ndateutil = require(\"dateut",
"end": 184,
"score": 0.9995102882385254,
"start": 177,
"tag": "NAME",
"value": "Kevin L"
},
{
"context": "nds:\n# hubot beat time\n#\n# Author:\n# ... | src/beat-time.coffee | thatarchguy/hubot-beat-time | 1 | # Description:
# Allows Hubot to tell the current time in .beats!
#
# Dependencies:
# dateutil
#
# Configuration:
# None
#
# Commands:
# hubot beat time
#
# Author:
# Kevin L <kevin@stealsyour.pw>
dateutil = require("dateutil")
dateutil._formats['B'] = (d) ->
mo = 0
Math.round((d.getUTCHours() * 3600 + ... | 199695 | # Description:
# Allows Hubot to tell the current time in .beats!
#
# Dependencies:
# dateutil
#
# Configuration:
# None
#
# Commands:
# hubot beat time
#
# Author:
# <NAME> <<EMAIL>>
dateutil = require("dateutil")
dateutil._formats['B'] = (d) ->
mo = 0
Math.round((d.getUTCHours() * 3600 + (d.getUTCMinu... | true | # Description:
# Allows Hubot to tell the current time in .beats!
#
# Dependencies:
# dateutil
#
# Configuration:
# None
#
# Commands:
# hubot beat time
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
dateutil = require("dateutil")
dateutil._formats['B'] = (d) ->
mo = 0
Math.round((d.getUTCH... |
[
{
"context": "tro: 98}, {k: 'yo', more: 43}]\n [{k: 'yo', v: 'alice'}, {k: 'bob', v: 'katie'}, {k: 'a', qoux: 34}]\n])",
"end": 2778,
"score": 0.9474909901618958,
"start": 2773,
"tag": "NAME",
"value": "alice"
},
{
"context": ": 43}]\n [{k: 'yo', v: 'alice'}, {k: 'bob', v: 'kat... | src/util.coffee | caffed/pagedraw | 3,213 | _ = require 'underscore'
_l = require 'lodash'
config = require './config'
nodeUtil = require 'util'
md5 = require 'blueimp-md5'
exports.capitalize_first_char = (str) -> "#{str.slice(0,1).toUpperCase()}#{str.slice(1)}"
exports.lowercase_first_char = (str) -> "#{str.slice(0,1).toLowerCase()}#{str.slice(1)}"
exports.p... | 15770 | _ = require 'underscore'
_l = require 'lodash'
config = require './config'
nodeUtil = require 'util'
md5 = require 'blueimp-md5'
exports.capitalize_first_char = (str) -> "#{str.slice(0,1).toUpperCase()}#{str.slice(1)}"
exports.lowercase_first_char = (str) -> "#{str.slice(0,1).toLowerCase()}#{str.slice(1)}"
exports.p... | true | _ = require 'underscore'
_l = require 'lodash'
config = require './config'
nodeUtil = require 'util'
md5 = require 'blueimp-md5'
exports.capitalize_first_char = (str) -> "#{str.slice(0,1).toUpperCase()}#{str.slice(1)}"
exports.lowercase_first_char = (str) -> "#{str.slice(0,1).toLowerCase()}#{str.slice(1)}"
exports.p... |
[
{
"context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 25,
"score": 0.9941018223762512,
"start": 19,
"tag": "NAME",
"value": "Balena"
},
{
"context": "twork.getFiles\n# \twifiSsid: 'foobar'\n# \twifiKey: 'hello'\n###\nexports.getFiles = ... | lib/network.coffee | balena-io-modules/resin-device-config | 2 | ###
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... | 117250 | ###
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": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998756051063538,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
},
{
"context": " email: \"invalid email address\"\n password:... | src/app/i18n/i18n.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# 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 l... | 30945 | # Copyright (c) 2015 naymspace software (<NAME>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # Copyright (c) 2015 naymspace software (PI:NAME:<NAME>END_PI)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": " Meteor.users.findOne('emails.address': 'admin@fbriders.ch')._id\n autoform:\n options: ->\n _.m",
"end": 1044,
"score": 0.9998884201049805,
"start": 1027,
"tag": "EMAIL",
"value": "admin@fbriders.ch"
}
] | collections/events.coffee | meip/vmt | 0 | @Events = new Meteor.Collection('events');
Schemas.Events = new SimpleSchema
title:
type: String
location:
type: String
description:
type: String
autoform:
rows: 5
gameCode:
type: Number
regEx: /[0-9]{1,3}/
organizerCode:
type: Number
regEx: /[0-9]{1,3}/
startDate... | 196397 | @Events = new Meteor.Collection('events');
Schemas.Events = new SimpleSchema
title:
type: String
location:
type: String
description:
type: String
autoform:
rows: 5
gameCode:
type: Number
regEx: /[0-9]{1,3}/
organizerCode:
type: Number
regEx: /[0-9]{1,3}/
startDate... | true | @Events = new Meteor.Collection('events');
Schemas.Events = new SimpleSchema
title:
type: String
location:
type: String
description:
type: String
autoform:
rows: 5
gameCode:
type: Number
regEx: /[0-9]{1,3}/
organizerCode:
type: Number
regEx: /[0-9]{1,3}/
startDate... |
[
{
"context": "#\n# Date main file\n#\n# Copyright (C) 2011 Nikolay Nemshilov\n#\n\n# hook up dependencies\ncore = require('co",
"end": 59,
"score": 0.9998806715011597,
"start": 42,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | stl/date/main.coffee | lovely-io/lovely.io-stl | 2 | #
# Date main file
#
# Copyright (C) 2011 Nikolay Nemshilov
#
# hook up dependencies
core = require('core')
L = core.L
ext = core.ext
trim = core.trim
zerofy = (value)->
(if value < 10 then '0' else '') + value
re_escape = (string)->
string.replace(/([.*+?\^=!:${}()|\[\]\/\\])/g, '\\$1')... | 141755 | #
# Date main file
#
# Copyright (C) 2011 <NAME>
#
# hook up dependencies
core = require('core')
L = core.L
ext = core.ext
trim = core.trim
zerofy = (value)->
(if value < 10 then '0' else '') + value
re_escape = (string)->
string.replace(/([.*+?\^=!:${}()|\[\]\/\\])/g, '\\$1')
# glueing... | true | #
# Date main file
#
# Copyright (C) 2011 PI:NAME:<NAME>END_PI
#
# hook up dependencies
core = require('core')
L = core.L
ext = core.ext
trim = core.trim
zerofy = (value)->
(if value < 10 then '0' else '') + value
re_escape = (string)->
string.replace(/([.*+?\^=!:${}()|\[\]\/\\])/g, '\\$... |
[
{
"context": " immediate assistance? Please [contact us](mailto:specialist@artsy.net)\n '\n pages:\n 'Bidding': 'how-auctions-",
"end": 280,
"score": 0.9999290108680725,
"start": 260,
"tag": "EMAIL",
"value": "specialist@artsy.net"
}
] | src/mobile/components/multi_page/config.coffee | kanaabe/force | 1 | module.exports =
'auction-faqs':
title: 'Auction FAQs'
description: '
How can we help you? Below are a few general categories to help you find the answers you’re looking for.\n\n
Need more immediate assistance? Please [contact us](mailto:specialist@artsy.net)
'
pages:
'Bidding': 'how... | 148069 | module.exports =
'auction-faqs':
title: 'Auction FAQs'
description: '
How can we help you? Below are a few general categories to help you find the answers you’re looking for.\n\n
Need more immediate assistance? Please [contact us](mailto:<EMAIL>)
'
pages:
'Bidding': 'how-auctions-wor... | true | module.exports =
'auction-faqs':
title: 'Auction FAQs'
description: '
How can we help you? Below are a few general categories to help you find the answers you’re looking for.\n\n
Need more immediate assistance? Please [contact us](mailto:PI:EMAIL:<EMAIL>END_PI)
'
pages:
'Bidding': 'h... |
[
{
"context": "done) ->\n \n App.User.insert firstName: \"Lance\", (error, record) =>\n user = record\n ",
"end": 209,
"score": 0.9997400045394897,
"start": 204,
"tag": "NAME",
"value": "Lance"
},
{
"context": "user = record\n App.User.insert firstName: \"... | test/cases/view/shared/handlebarsHelperTest.coffee | jivagoalves/tower | 1 | describe "Tower.ViewEmberHelper", ->
view = null
user = null
beforeEach ->
view = Tower.View.create()
describe 'each', ->
beforeEach (done) ->
App.User.insert firstName: "Lance", (error, record) =>
user = record
App.User.insert firstName: "Dane", done
test 'hEac... | 178938 | describe "Tower.ViewEmberHelper", ->
view = null
user = null
beforeEach ->
view = Tower.View.create()
describe 'each', ->
beforeEach (done) ->
App.User.insert firstName: "<NAME>", (error, record) =>
user = record
App.User.insert firstName: "<NAME>", done
test 'h... | true | describe "Tower.ViewEmberHelper", ->
view = null
user = null
beforeEach ->
view = Tower.View.create()
describe 'each', ->
beforeEach (done) ->
App.User.insert firstName: "PI:NAME:<NAME>END_PI", (error, record) =>
user = record
App.User.insert firstName: "PI:NAME:<NAME>EN... |
[
{
"context": "\"0\", team: [attacker]}\n {id: \"1\", name: \"1\", team: [defender]}\n ]\n battle = ne",
"end": 4732,
"score": 0.5456040501594543,
"start": 4731,
"tag": "NAME",
"value": "1"
},
{
"context": "eServer\n name: 'pokebattle-api'\n version: '0.0.... | api/index.coffee | sarenji/pokebattle-sim | 5 | restify = require('restify')
generations = require('../server/generations')
learnsets = require('../shared/learnsets')
{makeBiasedRng} = require("../shared/bias_rng")
GenerationJSON = generations.GenerationJSON
getName = (name) ->
require('./name_map.json')[name]
slugify = (str) ->
str.toLowerCase().replace(/[^a-... | 138510 | restify = require('restify')
generations = require('../server/generations')
learnsets = require('../shared/learnsets')
{makeBiasedRng} = require("../shared/bias_rng")
GenerationJSON = generations.GenerationJSON
getName = (name) ->
require('./name_map.json')[name]
slugify = (str) ->
str.toLowerCase().replace(/[^a-... | true | restify = require('restify')
generations = require('../server/generations')
learnsets = require('../shared/learnsets')
{makeBiasedRng} = require("../shared/bias_rng")
GenerationJSON = generations.GenerationJSON
getName = (name) ->
require('./name_map.json')[name]
slugify = (str) ->
str.toLowerCase().replace(/[^a-... |
[
{
"context": " process.env.HUBOT_HIPCHAT_JID\n password: process.env.HUBOT_HIPCHAT_PASSWORD\n token: process.env.HUBO",
"end": 1457,
"score": 0.7733325362205505,
"start": 1440,
"tag": "PASSWORD",
"value": "process.env.HUBOT"
},
{
"context": "nect =>\n console.lo... | src/hipchat.coffee | idealprojectgroup/hubot-hipchat | 0 | Robot = require('hubot').Robot
Adapter = require('hubot').Adapter
TextMessage = require('hubot').TextMessage
HTTPS = require 'https'
Wobot = require('wobot').Bot
class HipChat extends Adapter
send: (envelope, strings...) ->
user = null
room = null
target_jid = null
# as of hubot 2.4.2, the first p... | 138591 | Robot = require('hubot').Robot
Adapter = require('hubot').Adapter
TextMessage = require('hubot').TextMessage
HTTPS = require 'https'
Wobot = require('wobot').Bot
class HipChat extends Adapter
send: (envelope, strings...) ->
user = null
room = null
target_jid = null
# as of hubot 2.4.2, the first p... | true | Robot = require('hubot').Robot
Adapter = require('hubot').Adapter
TextMessage = require('hubot').TextMessage
HTTPS = require 'https'
Wobot = require('wobot').Bot
class HipChat extends Adapter
send: (envelope, strings...) ->
user = null
room = null
target_jid = null
# as of hubot 2.4.2, the first p... |
[
{
"context": "checked', true)\n # else if el.attr('name') == 'Body Carve'\n # otherEl = $(\"[name='Capture']\")\n # ",
"end": 1964,
"score": 0.9997100830078125,
"start": 1954,
"tag": "NAME",
"value": "Body Carve"
}
] | app/assets/javascripts/drops_calculator/dropsView.js.coffee | dwinings/drop-hunter | 2 | class desire.DropsView
constructor: (@el) ->
Handlebars.registerHelper 'ifValue', (conditional, options) ->
if options.hash.value == conditional
options.fn(@)
else
options.inverse(@)
Handlebars.registerHelper 'formatDropQuantity', (qty) ->
return '' if qty <= 1 || qty == nul... | 88339 | class desire.DropsView
constructor: (@el) ->
Handlebars.registerHelper 'ifValue', (conditional, options) ->
if options.hash.value == conditional
options.fn(@)
else
options.inverse(@)
Handlebars.registerHelper 'formatDropQuantity', (qty) ->
return '' if qty <= 1 || qty == nul... | true | class desire.DropsView
constructor: (@el) ->
Handlebars.registerHelper 'ifValue', (conditional, options) ->
if options.hash.value == conditional
options.fn(@)
else
options.inverse(@)
Handlebars.registerHelper 'formatDropQuantity', (qty) ->
return '' if qty <= 1 || qty == nul... |
[
{
"context": "gnatedCronHandler req, res\n res.send('Great work, Captain Cron! I can take it from here.')\n res.end()\n # TODO:",
"end": 1580,
"score": 0.9979657530784607,
"start": 1568,
"tag": "NAME",
"value": "Captain Cron"
},
{
"context": "l\n to:\n email: if DE... | server/routes/mail.coffee | IngJuanRuiz/codecombat | 0 | mailChimp = require '../lib/mail-chimp'
User = require '../models/User'
errors = require '../commons/errors'
config = require '../../server_config'
LevelSession = require '../models/LevelSession'
Level = require '../models/Level'
log = require 'winston'
sendgrid = require '../sendgrid'
wrap = require 'co-express'
unsub... | 115615 | mailChimp = require '../lib/mail-chimp'
User = require '../models/User'
errors = require '../commons/errors'
config = require '../../server_config'
LevelSession = require '../models/LevelSession'
Level = require '../models/Level'
log = require 'winston'
sendgrid = require '../sendgrid'
wrap = require 'co-express'
unsub... | true | mailChimp = require '../lib/mail-chimp'
User = require '../models/User'
errors = require '../commons/errors'
config = require '../../server_config'
LevelSession = require '../models/LevelSession'
Level = require '../models/Level'
log = require 'winston'
sendgrid = require '../sendgrid'
wrap = require 'co-express'
unsub... |
[
{
"context": "->\n ops = options()\n ops.body =\n firstName: 'Test'\n lastName: 'User'\n email: uuid.v1() + 'sup",
"end": 867,
"score": 0.9995096921920776,
"start": 863,
"tag": "NAME",
"value": "Test"
},
{
"context": " ops.body =\n firstName: 'Test'\n lastName: 'Use... | test/routes/user_test_helper.coffee | t3mpus/tempus-api | 3 | async = require 'async'
should = require 'should'
_ = require 'underscore'
uuid = require 'uuid'
request = require 'request'
User = require "#{__dirname}/../../models/user"
options = require "#{__dirname}/../options"
base = require "#{__dirname}/../base"
exports.addUsers = (done) ->
done()
exports.isEqual = (users)... | 59925 | async = require 'async'
should = require 'should'
_ = require 'underscore'
uuid = require 'uuid'
request = require 'request'
User = require "#{__dirname}/../../models/user"
options = require "#{__dirname}/../options"
base = require "#{__dirname}/../base"
exports.addUsers = (done) ->
done()
exports.isEqual = (users)... | true | async = require 'async'
should = require 'should'
_ = require 'underscore'
uuid = require 'uuid'
request = require 'request'
User = require "#{__dirname}/../../models/user"
options = require "#{__dirname}/../options"
base = require "#{__dirname}/../base"
exports.addUsers = (done) ->
done()
exports.isEqual = (users)... |
[
{
"context": "###\n# \n# countUp.js\n# by @inorganik\n# v 1.1.2\n#\n# Example:\n# numAnim = new countUp \"S",
"end": 35,
"score": 0.9996851682662964,
"start": 25,
"tag": "USERNAME",
"value": "@inorganik"
},
{
"context": "wsers without native support\n # by Opera engineer Erik Möller... | public/assets/vendors/countUp/countUp.coffee | aaslannn/bakkal | 1 | ###
#
# countUp.js
# by @inorganik
# v 1.1.2
#
# Example:
# numAnim = new countUp "SomeElementYouWantToAnimate", 99.99, 2, 1.5
# numAnim.start()
#
###
# target = id of Html element where counting occurs
# @startVal = the value you want to start at
# @endVal = the value you want to arrive at
# decimals = number of dec... | 211832 | ###
#
# countUp.js
# by @inorganik
# v 1.1.2
#
# Example:
# numAnim = new countUp "SomeElementYouWantToAnimate", 99.99, 2, 1.5
# numAnim.start()
#
###
# target = id of Html element where counting occurs
# @startVal = the value you want to start at
# @endVal = the value you want to arrive at
# decimals = number of dec... | true | ###
#
# countUp.js
# by @inorganik
# v 1.1.2
#
# Example:
# numAnim = new countUp "SomeElementYouWantToAnimate", 99.99, 2, 1.5
# numAnim.start()
#
###
# target = id of Html element where counting occurs
# @startVal = the value you want to start at
# @endVal = the value you want to arrive at
# decimals = number of dec... |
[
{
"context": "###*\n* Represent a standard graphic\n*\n* @author David Jegat <david.jegat@gmail.com>\n###\nclass BaseGraphic ext",
"end": 59,
"score": 0.9998903274536133,
"start": 48,
"tag": "NAME",
"value": "David Jegat"
},
{
"context": "esent a standard graphic\n*\n* @author David ... | src/Graphic/BaseGraphic.coffee | Djeg/MicroRacing | 1 | ###*
* Represent a standard graphic
*
* @author David Jegat <david.jegat@gmail.com>
###
class BaseGraphic extends BaseCollector
###*
* @consructor
* @param {string} name
###
constructor: () ->
@name = @constructor.name.replace('Graphic', '')
@game = null
###*
* Set up the game
*
* @param {Gam... | 4246 | ###*
* Represent a standard graphic
*
* @author <NAME> <<EMAIL>>
###
class BaseGraphic extends BaseCollector
###*
* @consructor
* @param {string} name
###
constructor: () ->
@name = @constructor.name.replace('Graphic', '')
@game = null
###*
* Set up the game
*
* @param {Game} game
* @throws... | true | ###*
* Represent a standard graphic
*
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
class BaseGraphic extends BaseCollector
###*
* @consructor
* @param {string} name
###
constructor: () ->
@name = @constructor.name.replace('Graphic', '')
@game = null
###*
* Set up the game
*
* @... |
[
{
"context": "\"\nform.add \"email\", \"email\"\nform.add \"password\", \"password\"\nform.add \"password_confirmation\", \"password\"\n\nCo",
"end": 131,
"score": 0.9983741641044617,
"start": 123,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "d\", \"password\"\nform.add \"... | src/react/components/public/users/edit.coffee | tomprats/tomify-js | 0 | form = new Form
form.add "first_name", "text"
form.add "last_name", "text"
form.add "email", "email"
form.add "password", "password"
form.add "password_confirmation", "password"
Component.create "Public.Users.Edit",
componentWillInitialize: ->
@model = Model.find "Public.User"
@store = Store.findOrCreate "Pu... | 170097 | form = new Form
form.add "first_name", "text"
form.add "last_name", "text"
form.add "email", "email"
form.add "password", "<PASSWORD>"
form.add "password_confirmation", "<PASSWORD>"
Component.create "Public.Users.Edit",
componentWillInitialize: ->
@model = Model.find "Public.User"
@store = Store.findOrCreate... | true | form = new Form
form.add "first_name", "text"
form.add "last_name", "text"
form.add "email", "email"
form.add "password", "PI:PASSWORD:<PASSWORD>END_PI"
form.add "password_confirmation", "PI:PASSWORD:<PASSWORD>END_PI"
Component.create "Public.Users.Edit",
componentWillInitialize: ->
@model = Model.find "Public.U... |
[
{
"context": "s_rate: 0\r\n avg_ack_egress_rate: 0\r\n name: '/api.eyJJRCI6IjBmYmM2OGEwNjE2YjdmOTFjMzliIiwiQ3JlYXRlT24iOjE0NjIzNTk3MjQyNjUsIkhvc3ROYW1lIjoiYWxpLXBjIn0'\r\n vhost: '/'\r\n durable: true\r\n auto_del",
"end": 2180,
"score": 0.9996877908706665,
"start": 2075,
"tag":... | test/helper.coffee | HoS0/hosqueues | 0 | Promise = require('bluebird')
getQueueResponse =
[
{
memory: 14200
messages: 0
messages_details: rate: 0
messages_ready: 0
messages_ready_details: rate: 0
messages_unacknowledged: 0
messages_unacknowledged_details: rate: 0
idle_since: '2016-05-04 13:02:05'
consumer_ut... | 53639 | Promise = require('bluebird')
getQueueResponse =
[
{
memory: 14200
messages: 0
messages_details: rate: 0
messages_ready: 0
messages_ready_details: rate: 0
messages_unacknowledged: 0
messages_unacknowledged_details: rate: 0
idle_since: '2016-05-04 13:02:05'
consumer_ut... | true | Promise = require('bluebird')
getQueueResponse =
[
{
memory: 14200
messages: 0
messages_details: rate: 0
messages_ready: 0
messages_ready_details: rate: 0
messages_unacknowledged: 0
messages_unacknowledged_details: rate: 0
idle_since: '2016-05-04 13:02:05'
consumer_ut... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999210238456726,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/directives/ampli-slider.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 6737 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": "lback) ->\n\n if isMine account\n owner = 'you'\n auxVerb =\n have : 'have'\n be",
"end": 2778,
"score": 0.6975342631340027,
"start": 2775,
"tag": "NAME",
"value": "you"
}
] | client/members/lib/index.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
KDListViewController = kd.ListViewController
KDView = kd.View
MemberActivityListController = require './memberactivitylistcontroller'
ContentDisplayScrollableView = require './contentdisplays/contentdisplayscrollableview'
GroupMembersPageListItemView = require './groupmemberspagelistitemview'
ProfileV... | 223894 | kd = require 'kd'
KDListViewController = kd.ListViewController
KDView = kd.View
MemberActivityListController = require './memberactivitylistcontroller'
ContentDisplayScrollableView = require './contentdisplays/contentdisplayscrollableview'
GroupMembersPageListItemView = require './groupmemberspagelistitemview'
ProfileV... | true | kd = require 'kd'
KDListViewController = kd.ListViewController
KDView = kd.View
MemberActivityListController = require './memberactivitylistcontroller'
ContentDisplayScrollableView = require './contentdisplays/contentdisplayscrollableview'
GroupMembersPageListItemView = require './groupmemberspagelistitemview'
ProfileV... |
[
{
"context": "jector](http://neocotic.com/injector)\n#\n# (c) 2014 Alasdair Mercer\n#\n# Freely distributable under the MIT license\n\n#",
"end": 71,
"score": 0.9998733401298523,
"start": 56,
"tag": "NAME",
"value": "Alasdair Mercer"
}
] | src/coffee/utils.coffee | SlinkySalmon633/injector-chrome | 33 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 Alasdair Mercer
#
# Freely distributable under the MIT license
# Utilities
# ---------
# Extend `_` with our utility functions.
_.mixin {
# Transform the given string into title case.
capitalize: (str) ->
return str unless str
str.replace /\w+/g, (... | 180075 | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 <NAME>
#
# Freely distributable under the MIT license
# Utilities
# ---------
# Extend `_` with our utility functions.
_.mixin {
# Transform the given string into title case.
capitalize: (str) ->
return str unless str
str.replace /\w+/g, (word) ->
... | true | # [Injector](http://neocotic.com/injector)
#
# (c) 2014 PI:NAME:<NAME>END_PI
#
# Freely distributable under the MIT license
# Utilities
# ---------
# Extend `_` with our utility functions.
_.mixin {
# Transform the given string into title case.
capitalize: (str) ->
return str unless str
str.replace /\w+... |
[
{
"context": "#\t> File Name: article.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: T",
"end": 44,
"score": 0.9971282482147217,
"start": 42,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "File Name: article.coffee\n#\t> Author: LY\n#\t> Mail: ly.frank... | server/routes/article.coffee | Booker-Z/MIAC-website | 0 | # > File Name: article.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Thursday, November 27, 2014 PM07:09:34 CST
express = require 'express'
mongoose = require 'mongoose'
async = require 'async'
router = express.Router()
ArticleModel = require '../db/models/article.coffee'
{ requireLogin } = req... | 113324 | # > File Name: article.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Thursday, November 27, 2014 PM07:09:34 CST
express = require 'express'
mongoose = require 'mongoose'
async = require 'async'
router = express.Router()
ArticleModel = require '../db/models/article.coffee'
{ requireLogin } = require './help... | true | # > File Name: article.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Thursday, November 27, 2014 PM07:09:34 CST
express = require 'express'
mongoose = require 'mongoose'
async = require 'async'
router = express.Router()
ArticleModel = require '../db/models/article.coffee'
{ requireLogin } = ... |
[
{
"context": " (done) ->\n @timeout 10000\n temp.mkdir 'murphy', (err, tempPath) ->\n files = []\n o",
"end": 1394,
"score": 0.8876899480819702,
"start": 1388,
"tag": "NAME",
"value": "murphy"
}
] | spec/ExtractImages.coffee | noflo/noflo-tika | 1 | noflo = require 'noflo'
chai = require 'chai' unless chai
path = require 'path'
Extract = require '../components/ExtractImages.coffee'
temp = require 'temp'
fs = require 'fs'
describe 'ExtractImages component', ->
c = null
ins = null
dir = null
out = null
nothing = null
beforeEach ->
c = Extract.getCom... | 92439 | noflo = require 'noflo'
chai = require 'chai' unless chai
path = require 'path'
Extract = require '../components/ExtractImages.coffee'
temp = require 'temp'
fs = require 'fs'
describe 'ExtractImages component', ->
c = null
ins = null
dir = null
out = null
nothing = null
beforeEach ->
c = Extract.getCom... | true | noflo = require 'noflo'
chai = require 'chai' unless chai
path = require 'path'
Extract = require '../components/ExtractImages.coffee'
temp = require 'temp'
fs = require 'fs'
describe 'ExtractImages component', ->
c = null
ins = null
dir = null
out = null
nothing = null
beforeEach ->
c = Extract.getCom... |
[
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Cof",
"end": 23,
"score": 0.9998787045478821,
"start": 13,
"tag": "NAME",
"value": "Mat Groves"
},
{
"context": "###*\n@author Mat Groves http://matgroves.com/ @Doormat23\n###\n\ndefine 'Coffixi/t... | src/Coffixi/textures/Texture.coffee | namuol/Coffixi | 1 | ###*
@author Mat Groves http://matgroves.com/ @Doormat23
###
define 'Coffixi/textures/Texture', [
'Coffixi/utils/Module'
'Coffixi/utils/HasSignals'
'./BaseTexture'
'Coffixi/core/Rectangle'
'Coffixi/core/Point'
], (
Module
HasSignals
BaseTexture
Rectangle
Point
) ->
###*
A texture stores the in... | 117302 | ###*
@author <NAME> http://matgroves.com/ @Doormat23
###
define 'Coffixi/textures/Texture', [
'Coffixi/utils/Module'
'Coffixi/utils/HasSignals'
'./BaseTexture'
'Coffixi/core/Rectangle'
'Coffixi/core/Point'
], (
Module
HasSignals
BaseTexture
Rectangle
Point
) ->
###*
A texture stores the inform... | true | ###*
@author PI:NAME:<NAME>END_PI http://matgroves.com/ @Doormat23
###
define 'Coffixi/textures/Texture', [
'Coffixi/utils/Module'
'Coffixi/utils/HasSignals'
'./BaseTexture'
'Coffixi/core/Rectangle'
'Coffixi/core/Point'
], (
Module
HasSignals
BaseTexture
Rectangle
Point
) ->
###*
A texture sto... |
[
{
"context": "es a `knoxClient`)\n * {@link https://github.com/LearnBoost/knox}\n ###\n constructor: (opts = {}) ->\n {ke",
"end": 692,
"score": 0.9989902973175049,
"start": 682,
"tag": "USERNAME",
"value": "LearnBoost"
},
{
"context": "eaders, headers_resource\n aws_co... | src/coffee/services/s3client.coffee | sphereio/node-s3-utils | 4 | debug = require('debug')('s3utils-s3client')
{EventEmitter} = require('events')
_ = require 'underscore'
path = require 'path'
knox = require 'knox'
Lynx = require 'lynx'
Promise = require 'bluebird'
easyimage = require 'easyimage'
Compress = require '../compress'
{CustomError} = require '../errors'
fs = Promise.promis... | 10462 | debug = require('debug')('s3utils-s3client')
{EventEmitter} = require('events')
_ = require 'underscore'
path = require 'path'
knox = require 'knox'
Lynx = require 'lynx'
Promise = require 'bluebird'
easyimage = require 'easyimage'
Compress = require '../compress'
{CustomError} = require '../errors'
fs = Promise.promis... | true | debug = require('debug')('s3utils-s3client')
{EventEmitter} = require('events')
_ = require 'underscore'
path = require 'path'
knox = require 'knox'
Lynx = require 'lynx'
Promise = require 'bluebird'
easyimage = require 'easyimage'
Compress = require '../compress'
{CustomError} = require '../errors'
fs = Promise.promis... |
[
{
"context": ",\n\t\trecord: taskRecord\n\t\t#cls: 'story'\n\t\t#title: 'Hello',\n\t\t#html: taskRecord.data.Name,\n\t\t#height: 50,\n\t",
"end": 180,
"score": 0.9268162250518799,
"start": 175,
"tag": "NAME",
"value": "Hello"
},
{
"context": "lex: 1,\n\t\titems: [{\n\t\t\txtype: 'pan... | src/app.coffee | RallyHackathon/Task-Board-Redux | 0 | ###global Ext, Rally###
"use strict"
require('./RowCardBoard')
createCard = (taskRecord) ->
{
xtype: 'rallyartifactcard',
record: taskRecord
#cls: 'story'
#title: 'Hello',
#html: taskRecord.data.Name,
#height: 50,
#draggable: true
}
createRow = (story, taskRecords) ->
items = []
cols = []
ret = {... | 140770 | ###global Ext, Rally###
"use strict"
require('./RowCardBoard')
createCard = (taskRecord) ->
{
xtype: 'rallyartifactcard',
record: taskRecord
#cls: 'story'
#title: '<NAME>',
#html: taskRecord.data.Name,
#height: 50,
#draggable: true
}
createRow = (story, taskRecords) ->
items = []
cols = []
ret = ... | true | ###global Ext, Rally###
"use strict"
require('./RowCardBoard')
createCard = (taskRecord) ->
{
xtype: 'rallyartifactcard',
record: taskRecord
#cls: 'story'
#title: 'PI:NAME:<NAME>END_PI',
#html: taskRecord.data.Name,
#height: 50,
#draggable: true
}
createRow = (story, taskRecords) ->
items = []
cols... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.7075113654136658,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/databrowser/visualization/RelationshipStyler.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 214736 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": "result.find_citation = API.service.oab.find url: 'Nusch, C., & Percivale, B. (2016). El Bicentenario argentino",
"end": 462,
"score": 0.9911146759986877,
"start": 454,
"tag": "NAME",
"value": "Nusch, C"
},
{
"context": "citation = API.service.oab.find url: 'Nusch, C., &... | noddy/service/oabutton/test.coffee | jibe-b/website | 0 |
import Future from 'fibers/future'
API.add 'service/oab/test',
get:
roleRequired: if API.settings.dev then undefined else 'root'
action: () -> return API.service.oab.test(this.queryParams.verbose)
API.service.oab.test = (verbose) ->
result = {passed:[],failed:[]}
oab_request.remove url: 'https://jche... | 120159 |
import Future from 'fibers/future'
API.add 'service/oab/test',
get:
roleRequired: if API.settings.dev then undefined else 'root'
action: () -> return API.service.oab.test(this.queryParams.verbose)
API.service.oab.test = (verbose) ->
result = {passed:[],failed:[]}
oab_request.remove url: 'https://jche... | true |
import Future from 'fibers/future'
API.add 'service/oab/test',
get:
roleRequired: if API.settings.dev then undefined else 'root'
action: () -> return API.service.oab.test(this.queryParams.verbose)
API.service.oab.test = (verbose) ->
result = {passed:[],failed:[]}
oab_request.remove url: 'https://jche... |
[
{
"context": "> x.toFixed precision\n\n### see https://github.com/nwjs/nw.js/wiki/Window ###\nsplash_info = [ './splash.h",
"end": 2126,
"score": 0.9993883967399597,
"start": 2122,
"tag": "USERNAME",
"value": "nwjs"
},
{
"context": "nsertion_y_px}px\n\ne.g.\n\n mkts://(file:///Use... | mingkwai.app/Contents/Resources/app.nw/src/browser.coffee | loveencounterflow/mingkwai-app | 0 |
############################################################################################################
njs_path = require 'path'
njs_fs = require 'fs'
#...........................................................................................................
CND ... | 160905 |
############################################################################################################
njs_path = require 'path'
njs_fs = require 'fs'
#...........................................................................................................
CND ... | true |
############################################################################################################
njs_path = require 'path'
njs_fs = require 'fs'
#...........................................................................................................
CND ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999150037765503,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
},
{
"context": " an explicit data type.\n# ref: https://github.com/jquery/jque... | resources/assets/coffee/jquery-prefilter.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.
# Prefilter to disable parsing of cross-domain scripts loaded via jQuery.
# jQuery's autodection means responses with text/javascript get eval'ed... | 107942 | # 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.
# Prefilter to disable parsing of cross-domain scripts loaded via jQuery.
# jQuery's autodection means responses with text/javascript get eval'ed if
# 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.
# Prefilter to disable parsing of cross-domain scripts loaded via jQuery.
# jQuery's autodection means responses with text/javascript get... |
[
{
"context": "# @example \n# ```coffeescript\n# key = new Buffer \"pitying web andiron impacts bought\"\n# data = new Buffer \"this is my secret data\"\n# e",
"end": 10880,
"score": 0.8500510454177856,
"start": 10846,
"tag": "KEY",
"value": "pitying web andiron impacts bought"
}
] | node_modules/triplesec/src/enc.iced | gallizoltan/warpwallet | 157 |
{WordArray} = require './wordarray'
salsa20 = require './salsa20'
{AES} = require './aes'
{TwoFish} = require './twofish'
ctr = require './ctr'
{XOR,Concat} = require './combine'
{SHA512} = require './sha512'
{PBKDF2} = require './pbkdf2'
{Scrypt} = require './scrypt'
util... | 77022 |
{WordArray} = require './wordarray'
salsa20 = require './salsa20'
{AES} = require './aes'
{TwoFish} = require './twofish'
ctr = require './ctr'
{XOR,Concat} = require './combine'
{SHA512} = require './sha512'
{PBKDF2} = require './pbkdf2'
{Scrypt} = require './scrypt'
util... | true |
{WordArray} = require './wordarray'
salsa20 = require './salsa20'
{AES} = require './aes'
{TwoFish} = require './twofish'
ctr = require './ctr'
{XOR,Concat} = require './combine'
{SHA512} = require './sha512'
{PBKDF2} = require './pbkdf2'
{Scrypt} = require './scrypt'
util... |
[
{
"context": "lement, 'buyerName')\n name.value = 'Mr. Foo'\n ReactTestUtils.Simulate.change(name)",
"end": 1711,
"score": 0.7099100351333618,
"start": 1708,
"tag": "NAME",
"value": "Foo"
},
{
"context": "element, 'buyerEmail')\n email.value = 'foo@ba... | clients/widgets/product/test/jstest_order_any.coffee | jacob22/accounting | 0 | /*
Copyright 2019 Open End AB
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
dis... | 12130 | /*
Copyright 2019 Open End AB
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
dis... | true | /*
Copyright 2019 Open End AB
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
dis... |
[
{
"context": " = 'mailto:set-default-no'\n\nNOTIF_SETTINGS_KEY = 'nylas.mailto.prompted-about-default'\n\nmodule.exports =\n activate: (@state) ->\n @s",
"end": 197,
"score": 0.924466073513031,
"start": 162,
"tag": "KEY",
"value": "nylas.mailto.prompted-about-default"
}
] | app/internal_packages/notification-mailto/lib/main.coffee | immershy/nodemail | 0 | {Actions, LaunchServices} = require 'nylas-exports'
NOTIF_ACTION_YES = 'mailto:set-default-yes'
NOTIF_ACTION_NO = 'mailto:set-default-no'
NOTIF_SETTINGS_KEY = 'nylas.mailto.prompted-about-default'
module.exports =
activate: (@state) ->
@services = new LaunchServices()
# We can't do anything unless they're... | 131610 | {Actions, LaunchServices} = require 'nylas-exports'
NOTIF_ACTION_YES = 'mailto:set-default-yes'
NOTIF_ACTION_NO = 'mailto:set-default-no'
NOTIF_SETTINGS_KEY = '<KEY>'
module.exports =
activate: (@state) ->
@services = new LaunchServices()
# We can't do anything unless they're on Mac OS X
return unless... | true | {Actions, LaunchServices} = require 'nylas-exports'
NOTIF_ACTION_YES = 'mailto:set-default-yes'
NOTIF_ACTION_NO = 'mailto:set-default-no'
NOTIF_SETTINGS_KEY = 'PI:KEY:<KEY>END_PI'
module.exports =
activate: (@state) ->
@services = new LaunchServices()
# We can't do anything unless they're on Mac OS X
... |
[
{
"context": "er, password ] = u.auth.split ':'\n o.username = user\n o.password = password\n o.hostname = u.host #",
"end": 351,
"score": 0.9890334606170654,
"start": 347,
"tag": "USERNAME",
"value": "user"
},
{
"context": "h.split ':'\n o.username = user\n o.password =... | src/rabbitmq.coffee | jonnor/gov | 15 | # guv - Scaling governor of cloud workers
# (c) 2015 The Grid
# guv may be freely distributed under the MIT license
AMQPStats = require 'amqp-stats'
debug = require('debug')('guv:rabbitmq')
url = require 'url'
amqpOptions = (str) ->
o = {}
u = url.parse str
if u.auth
[ user, password ] = u.auth.... | 163108 | # guv - Scaling governor of cloud workers
# (c) 2015 The Grid
# guv may be freely distributed under the MIT license
AMQPStats = require 'amqp-stats'
debug = require('debug')('guv:rabbitmq')
url = require 'url'
amqpOptions = (str) ->
o = {}
u = url.parse str
if u.auth
[ user, password ] = u.auth.... | true | # guv - Scaling governor of cloud workers
# (c) 2015 The Grid
# guv may be freely distributed under the MIT license
AMQPStats = require 'amqp-stats'
debug = require('debug')('guv:rabbitmq')
url = require 'url'
amqpOptions = (str) ->
o = {}
u = url.parse str
if u.auth
[ user, password ] = u.auth.... |
[
{
"context": "\napp.use session cookie: {secure: true}, secret: 'afa24e6f-6c8a-4748-a7ae-6c7a4f7ad6d9', name: 'twitter-proxy'\napp.use passport.initiali",
"end": 1184,
"score": 0.9906437993049622,
"start": 1148,
"tag": "KEY",
"value": "afa24e6f-6c8a-4748-a7ae-6c7a4f7ad6d9"
}
] | server.coffee | octoblu/twitter-proxy | 0 | _ = require 'lodash'
url = require 'url'
cors = require 'cors'
morgan = require 'morgan'
express = require 'express'
passport = require 'passport'
session = require 'cookie-session'
bodyParser = require 'body-parser'
errorHandler = require 'errorhandler'
MeshbluAuth = require 'express-meshblu-auth'
MeshbluAuthExpress =... | 62394 | _ = require 'lodash'
url = require 'url'
cors = require 'cors'
morgan = require 'morgan'
express = require 'express'
passport = require 'passport'
session = require 'cookie-session'
bodyParser = require 'body-parser'
errorHandler = require 'errorhandler'
MeshbluAuth = require 'express-meshblu-auth'
MeshbluAuthExpress =... | true | _ = require 'lodash'
url = require 'url'
cors = require 'cors'
morgan = require 'morgan'
express = require 'express'
passport = require 'passport'
session = require 'cookie-session'
bodyParser = require 'body-parser'
errorHandler = require 'errorhandler'
MeshbluAuth = require 'express-meshblu-auth'
MeshbluAuthExpress =... |
[
{
"context": "nfig util', ->\n watchHandler = null\n keyPath = 'emacs-mode:foo'\n\n getConfig = -> atom.config.get keyPath\n setC",
"end": 119,
"score": 0.9921064376831055,
"start": 105,
"tag": "KEY",
"value": "emacs-mode:foo"
}
] | packages/emacs-mode/spec/config-util-spec.coffee | jakepearson/atom | 1 | configUtil = require '../lib/config-util'
describe 'config util', ->
watchHandler = null
keyPath = 'emacs-mode:foo'
getConfig = -> atom.config.get keyPath
setConfig = (value) -> atom.config.set keyPath, value
beforeEach ->
setConfig null
watchHandler = jasmine.createSpy 'watchHandler'
it 'should... | 19647 | configUtil = require '../lib/config-util'
describe 'config util', ->
watchHandler = null
keyPath = '<KEY>'
getConfig = -> atom.config.get keyPath
setConfig = (value) -> atom.config.set keyPath, value
beforeEach ->
setConfig null
watchHandler = jasmine.createSpy 'watchHandler'
it 'should write de... | true | configUtil = require '../lib/config-util'
describe 'config util', ->
watchHandler = null
keyPath = 'PI:KEY:<KEY>END_PI'
getConfig = -> atom.config.get keyPath
setConfig = (value) -> atom.config.set keyPath, value
beforeEach ->
setConfig null
watchHandler = jasmine.createSpy 'watchHandler'
it 'sh... |
[
{
"context": " code: \"such-test-coupon\"\n name: \"Such Test Coupon\"\n type: \"flat\"\n startDate: new Date()\n",
"end": 143,
"score": 0.9806158542633057,
"start": 127,
"tag": "NAME",
"value": "Such Test Coupon"
}
] | test/server/coupon.coffee | hanzo-io/hanzo.js | 147 | moment = require 'moment-timezone'
describe 'Api.coupon', ->
testCoupon =
code: "such-test-coupon"
name: "Such Test Coupon"
type: "flat"
startDate: new Date()
endDate: moment(new Date()).add(1, 'month')
once: true
enabled: true
amount: 500
describe '.list... | 50516 | moment = require 'moment-timezone'
describe 'Api.coupon', ->
testCoupon =
code: "such-test-coupon"
name: "<NAME>"
type: "flat"
startDate: new Date()
endDate: moment(new Date()).add(1, 'month')
once: true
enabled: true
amount: 500
describe '.list', ->
... | true | moment = require 'moment-timezone'
describe 'Api.coupon', ->
testCoupon =
code: "such-test-coupon"
name: "PI:NAME:<NAME>END_PI"
type: "flat"
startDate: new Date()
endDate: moment(new Date()).add(1, 'month')
once: true
enabled: true
amount: 500
describe '.... |
[
{
"context": "scription: Analytics for programmers.\nMaintainer: WakaTime <support@wakatime.com>\nLicense: BSD, see LICE",
"end": 74,
"score": 0.9889010787010193,
"start": 66,
"tag": "USERNAME",
"value": "WakaTime"
},
{
"context": "Analytics for programmers.\nMaintainer: WakaTi... | atom.symlink/packages/wakatime/lib/wakatime.coffee | sanata-/dotenv | 0 | ###
WakaTime
Description: Analytics for programmers.
Maintainer: WakaTime <support@wakatime.com>
License: BSD, see LICENSE for more details.
Website: https://wakatime.com/
###
# package-global attributes
packageVersion = null
unloadHandler = null
lastHeartbeat = 0
lastFile = ''
apiKey = null
# lazy-load pack... | 80735 | ###
WakaTime
Description: Analytics for programmers.
Maintainer: WakaTime <<EMAIL>>
License: BSD, see LICENSE for more details.
Website: https://wakatime.com/
###
# package-global attributes
packageVersion = null
unloadHandler = null
lastHeartbeat = 0
lastFile = ''
apiKey = null
# lazy-load packages during a... | true | ###
WakaTime
Description: Analytics for programmers.
Maintainer: WakaTime <PI:EMAIL:<EMAIL>END_PI>
License: BSD, see LICENSE for more details.
Website: https://wakatime.com/
###
# package-global attributes
packageVersion = null
unloadHandler = null
lastHeartbeat = 0
lastFile = ''
apiKey = null
# lazy-load pa... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.999912440776825,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/beatmap-playcount.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 * as React from 'react'
import { a, div, h2, h3, img, p, small, span } from 'react-dom-factories'
el = React.createElement
bn = 'beatmap-... | 226126 | # 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 * as React from 'react'
import { a, div, h2, h3, img, p, small, span } from 'react-dom-factories'
el = React.createElement
bn = 'beatmap-playcou... | 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 * as React from 'react'
import { a, div, h2, h3, img, p, small, span } from 'react-dom-factories'
el = React.createElement
bn = '... |
[
{
"context": "y!='timestamp' && key!='Botname')\n\t\t\t\t\t\t\tif(key=='Total_memeory')\n\t\t\t\t\t\t\t\tstr += '|' + 'Total_memory' + '|' + (pa",
"end": 1404,
"score": 0.9068878889083862,
"start": 1391,
"tag": "KEY",
"value": "Total_memeory"
}
] | scripts/master/scripts-mattermost/analytics.coffee | akash1233/OnBot_Demo | 4 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | 29685 | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... | true | #-------------------------------------------------------------------------------
# Copyright 2018 Cognizant Technology Solutions
#
# 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:... |
[
{
"context": "do ->\n teamArray = [\"chelsea\", \"realMadrid\", \"milan\"]\n teamArray.forEach ( teamName ) ->\n pageI",
"end": 50,
"score": 0.5211700201034546,
"start": 47,
"tag": "NAME",
"value": "mil"
},
{
"context": "Hash.currSlide\n when 0 then console.log \"fabreg... | coffee/swipeDetect.coffee | kaidez/build-css-tute | 0 | do ->
teamArray = ["chelsea", "realMadrid", "milan"]
teamArray.forEach ( teamName ) ->
pageID = "#" + teamName
$( pageID ).on "cycle-after", ( event, optionHash, incomingSlideEl ) ->
console.log optionHash.currSlide
switch optionHash.currSlide
when 0 then console.log "fabregas"
... | 118337 | do ->
teamArray = ["chelsea", "realMadrid", "<NAME>an"]
teamArray.forEach ( teamName ) ->
pageID = "#" + teamName
$( pageID ).on "cycle-after", ( event, optionHash, incomingSlideEl ) ->
console.log optionHash.currSlide
switch optionHash.currSlide
when 0 then console.log "<NAME>"
... | true | do ->
teamArray = ["chelsea", "realMadrid", "PI:NAME:<NAME>END_PIan"]
teamArray.forEach ( teamName ) ->
pageID = "#" + teamName
$( pageID ).on "cycle-after", ( event, optionHash, incomingSlideEl ) ->
console.log optionHash.currSlide
switch optionHash.currSlide
when 0 then console.l... |
[
{
"context": "18nTest: \"Some text..\"\n i18nHeadName: \"Maksim Kostromin\"\n i18nHeadIt: \"IT\"\n i18nHea",
"end": 411,
"score": 0.999882698059082,
"start": 395,
"tag": "NAME",
"value": "Maksim Kostromin"
},
{
"context": "t: \"Какой-то текст...\"\n ... | src/main/www/src/scripts/i18n/config.coffee | daggerok/blog | 0 | angular
.module 'i18nConfig', ['pascalprecht.translate']
.config [
'$translateProvider'
($translateProvider) ->
$translateProvider
.preferredLanguage 'ru'
# escape html
.useSanitizeValueStrategy 'escape'
# english internationalization:
.transla... | 169790 | angular
.module 'i18nConfig', ['pascalprecht.translate']
.config [
'$translateProvider'
($translateProvider) ->
$translateProvider
.preferredLanguage 'ru'
# escape html
.useSanitizeValueStrategy 'escape'
# english internationalization:
.transla... | true | angular
.module 'i18nConfig', ['pascalprecht.translate']
.config [
'$translateProvider'
($translateProvider) ->
$translateProvider
.preferredLanguage 'ru'
# escape html
.useSanitizeValueStrategy 'escape'
# english internationalization:
.transla... |
[
{
"context": "r Your Application's JavaScript\n\n Copyright 2012, Joschka Kintscher\n Released under the MIT License\n\n https://githu",
"end": 99,
"score": 0.9997861385345459,
"start": 82,
"tag": "NAME",
"value": "Joschka Kintscher"
},
{
"context": "eased under the MIT License\n\... | harvey.coffee | harvesthq/harvey | 58 | ###
Harvey, A Second Face for Your Application's JavaScript
Copyright 2012, Joschka Kintscher
Released under the MIT License
https://github.com/harvesthq/harvey/
###
class this.Harvey
# Hash of all currently attached media queries and their corresponding states
@states : {}
###
Creates a new St... | 213630 | ###
Harvey, A Second Face for Your Application's JavaScript
Copyright 2012, <NAME>
Released under the MIT License
https://github.com/harvesthq/harvey/
###
class this.Harvey
# Hash of all currently attached media queries and their corresponding states
@states : {}
###
Creates a new State object ... | true | ###
Harvey, A Second Face for Your Application's JavaScript
Copyright 2012, PI:NAME:<NAME>END_PI
Released under the MIT License
https://github.com/harvesthq/harvey/
###
class this.Harvey
# Hash of all currently attached media queries and their corresponding states
@states : {}
###
Creates a new... |
[
{
"context": "ault: \"\"\n password:\n description: \"The August Connect Password\"\n type: \"string\"\n ",
"end": 332,
"score": 0.6013975739479065,
"start": 326,
"tag": "PASSWORD",
"value": "August"
},
{
"context": "password:\n description: \"The Aug... | device-config-schema.coffee | hongkongkiwi/pimatic-august-connect | 0 | module.exports = {
title: "pimatic-august-connect device config schemas"
MqttSwitch: {
title: "AugustConnectDevice config options"
type: "object"
properties:
username:
description: "The August Connect Username"
type: "string"
default: ""
password:
description:... | 27670 | module.exports = {
title: "pimatic-august-connect device config schemas"
MqttSwitch: {
title: "AugustConnectDevice config options"
type: "object"
properties:
username:
description: "The August Connect Username"
type: "string"
default: ""
password:
description:... | true | module.exports = {
title: "pimatic-august-connect device config schemas"
MqttSwitch: {
title: "AugustConnectDevice config options"
type: "object"
properties:
username:
description: "The August Connect Username"
type: "string"
default: ""
password:
description:... |
[
{
"context": "erId\": \"ygBckhuWfRTFBmFgy\",\n \"addedByUserName\": \"Nathan\",\n \"addedDate\": new Date(\"2017-08-18T13:29:59.89",
"end": 596,
"score": 0.9766944050788879,
"start": 590,
"tag": "USERNAME",
"value": "Nathan"
},
{
"context": "\n \"population\": 684451,\n \... | server/methods.test.coffee | ecohealthalliance/eidr-connect | 1 | import { chai } from 'meteor/practicalmeteor:chai'
import Articles from '/imports/collections/articles'
import Incidents from '/imports/collections/incidentReports'
import { autogenerateDocumentIncidents, getArticleEnhancements } from '/server/methods'
testArticle = {
"_id": "KGLJ9Xg9ivgvJyiAc",
"content": "There ... | 175243 | import { chai } from 'meteor/practicalmeteor:chai'
import Articles from '/imports/collections/articles'
import Incidents from '/imports/collections/incidentReports'
import { autogenerateDocumentIncidents, getArticleEnhancements } from '/server/methods'
testArticle = {
"_id": "KGLJ9Xg9ivgvJyiAc",
"content": "There ... | true | import { chai } from 'meteor/practicalmeteor:chai'
import Articles from '/imports/collections/articles'
import Incidents from '/imports/collections/incidentReports'
import { autogenerateDocumentIncidents, getArticleEnhancements } from '/server/methods'
testArticle = {
"_id": "KGLJ9Xg9ivgvJyiAc",
"content": "There ... |
[
{
"context": "ricate('featured_partners_profiles',\n id: 'gagosian'\n owner: new Partner(fabricate('partner',\n",
"end": 633,
"score": 0.9995068907737732,
"start": 625,
"tag": "USERNAME",
"value": "gagosian"
},
{
"context": "ricate('featured_partners_profiles',\n ... | src/mobile/apps/partners/test/template.coffee | kanaabe/force | 1 | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
cheerio = require 'cheerio'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Partner = require '../../../models/partner'
Profiles = require '../../../collections/profiles'
render = (templateName) ->
filename = ... | 101779 | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
cheerio = require 'cheerio'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Partner = require '../../../models/partner'
Profiles = require '../../../collections/profiles'
render = (templateName) ->
filename = ... | true | _ = require 'underscore'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
cheerio = require 'cheerio'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Partner = require '../../../models/partner'
Profiles = require '../../../collections/profiles'
render = (templateName) ->
filename = ... |
[
{
"context": " = () ->\n new lib.Observable\n firstName: 'Shaun'\n lastName: 'Farrell'\n email: 'sfarrell",
"end": 125,
"score": 0.999657392501831,
"start": 120,
"tag": "NAME",
"value": "Shaun"
},
{
"context": "ervable\n firstName: 'Shaun'\n lastName: 'Far... | src/test/observable.spec.coffee | Soundscape/sublime-core | 1 | lib = require '../'
describe 'Observable test suite', () ->
create = () ->
new lib.Observable
firstName: 'Shaun'
lastName: 'Farrell'
email: 'sfarrell.development@gmail.com'
it 'should construct an instance', () ->
instance = create()
expect(instance).not.toBeNull()
it 'should emi... | 44457 | lib = require '../'
describe 'Observable test suite', () ->
create = () ->
new lib.Observable
firstName: '<NAME>'
lastName: '<NAME>'
email: '<EMAIL>'
it 'should construct an instance', () ->
instance = create()
expect(instance).not.toBeNull()
it 'should emit change events', (done... | true | lib = require '../'
describe 'Observable test suite', () ->
create = () ->
new lib.Observable
firstName: 'PI:NAME:<NAME>END_PI'
lastName: 'PI:NAME:<NAME>END_PI'
email: 'PI:EMAIL:<EMAIL>END_PI'
it 'should construct an instance', () ->
instance = create()
expect(instance).not.toBeNull... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992227554321289,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": " socket.send buf, 0, buf.length, common.PORT, \"127.0.0.1\", afterSend\n return\n a... | test/simple/test-cluster-dgram-1.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... | 22455 | # 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": "ual('password').set((password) ->\n @_password = password\n @salt = @makeSalt()\n @hashedPassword = @ha",
"end": 929,
"score": 0.9966938495635986,
"start": 921,
"tag": "PASSWORD",
"value": "password"
}
] | src/server/models/user.coffee | yournal/YournalProject | 1 | exports.UserSchema = ($mongoose, crypto) ->
validate = (value) ->
return (@provider and @provider isnt 'local') or value.length
UserSchema = new $mongoose.Schema(
firstName:
type: String,
required: true
validate: [validate, 'First name cannot be blank.']
lastName:
type: String,
... | 69398 | exports.UserSchema = ($mongoose, crypto) ->
validate = (value) ->
return (@provider and @provider isnt 'local') or value.length
UserSchema = new $mongoose.Schema(
firstName:
type: String,
required: true
validate: [validate, 'First name cannot be blank.']
lastName:
type: String,
... | true | exports.UserSchema = ($mongoose, crypto) ->
validate = (value) ->
return (@provider and @provider isnt 'local') or value.length
UserSchema = new $mongoose.Schema(
firstName:
type: String,
required: true
validate: [validate, 'First name cannot be blank.']
lastName:
type: String,
... |
[
{
"context": " $('.venice-overlay__subscribe-form input').val('email@email.com')\n $('.venice-overlay__subscribe-form button')",
"end": 8036,
"score": 0.9997875094413757,
"start": 8021,
"tag": "EMAIL",
"value": "email@email.com"
}
] | src/desktop/apps/editorial_features/test/components/venice_2017/index.coffee | kanaabe/force | 0 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Article = require '../../../../../models/article'
Curation = require '../../../../../models/curation.coffee'
{ resolve } = require 'path'
markdown = require '../../../../../components/util/markdown.coffee'
describe 'Ve... | 126366 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Article = require '../../../../../models/article'
Curation = require '../../../../../models/curation.coffee'
{ resolve } = require 'path'
markdown = require '../../../../../components/util/markdown.coffee'
describe 'Ve... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
Article = require '../../../../../models/article'
Curation = require '../../../../../models/curation.coffee'
{ resolve } = require 'path'
markdown = require '../../../../../components/util/markdown.coffee'
describe 'Ve... |
[
{
"context": "ileoverview Tests for no-overwrite rule.\n# @author Julian Rosse\n###\n\n'use strict'\n\n#-----------------------------",
"end": 72,
"score": 0.9998520016670227,
"start": 60,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/tests/rules/no-overwrite.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-overwrite rule.
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-overwrite'
{RuleTeste... | 118623 | ###*
# @fileoverview Tests for no-overwrite rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-overwrite'
{RuleTester} = r... | true | ###*
# @fileoverview Tests for no-overwrite rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/no-overwrite'
{R... |
[
{
"context": " @package\t\tBlogs\n * @category\tmodules\n * @author\t\tNazar Mokrynskyi <nazar@mokrynskyi.com>\n * @copyright\tCopyright (c",
"end": 73,
"score": 0.9998857975006104,
"start": 57,
"tag": "NAME",
"value": "Nazar Mokrynskyi"
},
{
"context": "* @category\tmodules\n * @aut... | components/modules/Blogs/includes/js/general.coffee | nazar-pc/cherrytea.org-old | 1 | ###*
* @package Blogs
* @category modules
* @author Nazar Mokrynskyi <nazar@mokrynskyi.com>
* @copyright Copyright (c) 2011-2014, Nazar Mokrynskyi
* @license MIT License, see license.txt
###
$ ->
if cs.module != 'Blogs'
return
title = $('.cs-blogs-new-post-title')
if title.length
window.onbeforeunload = ... | 98950 | ###*
* @package Blogs
* @category modules
* @author <NAME> <<EMAIL>>
* @copyright Copyright (c) 2011-2014, <NAME>
* @license MIT License, see license.txt
###
$ ->
if cs.module != 'Blogs'
return
title = $('.cs-blogs-new-post-title')
if title.length
window.onbeforeunload = ->
true
content = $('.cs-blog... | true | ###*
* @package Blogs
* @category modules
* @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
* @copyright Copyright (c) 2011-2014, PI:NAME:<NAME>END_PI
* @license MIT License, see license.txt
###
$ ->
if cs.module != 'Blogs'
return
title = $('.cs-blogs-new-post-title')
if title.length
window.onbefor... |
[
{
"context": ") ->\n if key instanceof Translation\n key[@options.language()] || key['EN']\n else\n value = @translati",
"end": 3903,
"score": 0.8844428062438965,
"start": 3887,
"tag": "EMAIL",
"value": "options.language"
}
] | plugins/starpeace-client/language/translation-manager.coffee | starpeace-project/starpeace-client-website | 1 |
import _ from 'lodash'
import Vue from 'vue'
import FactoryDefinition from '~/plugins/starpeace-client/building/simulation/factory/factory-definition.coffee'
import StorageDefinition from '~/plugins/starpeace-client/building/simulation/storage/storage-definition.coffee'
import Translation from '~/plugins/starpeace-c... | 183811 |
import _ from 'lodash'
import Vue from 'vue'
import FactoryDefinition from '~/plugins/starpeace-client/building/simulation/factory/factory-definition.coffee'
import StorageDefinition from '~/plugins/starpeace-client/building/simulation/storage/storage-definition.coffee'
import Translation from '~/plugins/starpeace-c... | true |
import _ from 'lodash'
import Vue from 'vue'
import FactoryDefinition from '~/plugins/starpeace-client/building/simulation/factory/factory-definition.coffee'
import StorageDefinition from '~/plugins/starpeace-client/building/simulation/storage/storage-definition.coffee'
import Translation from '~/plugins/starpeace-c... |
[
{
"context": "f not @options[key]?\n\t\t\t\treturn console.error \"Maxmertkit Affix. You're trying to set unpropriate option – ",
"end": 1695,
"score": 0.5714216828346252,
"start": 1688,
"tag": "NAME",
"value": "mertkit"
}
] | coffee/affix.coffee | maxmert/maxmertkit | 69 | "use strict"
_name = "affix"
_instances = []
_id = 0
_lastScrollY = 0
_ticking = no
_resizingTick = no
MaxmertkitHelpers = window['MaxmertkitHelpers']
class Affix extends MaxmertkitHelpers
_name: _name
_instances: _instances
started: no
# =============== Public methods
constructor: ( @el, @options ) ->
_... | 118653 | "use strict"
_name = "affix"
_instances = []
_id = 0
_lastScrollY = 0
_ticking = no
_resizingTick = no
MaxmertkitHelpers = window['MaxmertkitHelpers']
class Affix extends MaxmertkitHelpers
_name: _name
_instances: _instances
started: no
# =============== Public methods
constructor: ( @el, @options ) ->
_... | true | "use strict"
_name = "affix"
_instances = []
_id = 0
_lastScrollY = 0
_ticking = no
_resizingTick = no
MaxmertkitHelpers = window['MaxmertkitHelpers']
class Affix extends MaxmertkitHelpers
_name: _name
_instances: _instances
started: no
# =============== Public methods
constructor: ( @el, @options ) ->
_... |
[
{
"context": "\n roles:\n type: [String]\n # TODO(aramk) Custom asynch validation doesn't work.\n # h",
"end": 669,
"score": 0.8684074878692627,
"start": 668,
"tag": "USERNAME",
"value": "k"
},
{
"context": "lidation doesn't work.\n # https://github.com/aldeed/... | src/userForm.coffee | urbanetic/meteor-accounts-ui | 2 | formName = 'userForm'
TemplateClass = Template[formName]
collectionName = 'users'
Meteor.startup ->
getRoles = (callback) ->
Meteor.subscribe 'roles', ->
# Don't show "user" role as an option which is added to all users.
roles = Meteor.roles.find({name: {$not: 'user'}}).map (role) -> role.name
... | 210463 | formName = 'userForm'
TemplateClass = Template[formName]
collectionName = 'users'
Meteor.startup ->
getRoles = (callback) ->
Meteor.subscribe 'roles', ->
# Don't show "user" role as an option which is added to all users.
roles = Meteor.roles.find({name: {$not: 'user'}}).map (role) -> role.name
... | true | formName = 'userForm'
TemplateClass = Template[formName]
collectionName = 'users'
Meteor.startup ->
getRoles = (callback) ->
Meteor.subscribe 'roles', ->
# Don't show "user" role as an option which is added to all users.
roles = Meteor.roles.find({name: {$not: 'user'}}).map (role) -> role.name
... |
[
{
"context": "io.com\n\nCopyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>\n\nLicensed under the Apache License, Version 2.0 ",
"end": 194,
"score": 0.9999232292175293,
"start": 178,
"tag": "EMAIL",
"value": "info@chaibio.com"
}
] | frontend/javascripts/app/services/auth.js.coffee | MakerButt/chaipcr | 1 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <info@chaibio.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the Lic... | 22232 | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <<EMAIL>>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You... | true | ###
Chai PCR - Software platform for Open qPCR and Chai's Real-Time PCR instruments.
For more information visit http://www.chaibio.com
Copyright 2016 Chai Biotechnologies Inc. <PI:EMAIL:<EMAIL>END_PI>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... |
[
{
"context": " method : 'flickr.photos.search'\n api_key : 'f19913083f594fe98f448414cbd25b84'\n sort : 'date-posted-desc'\n tags : 'la",
"end": 880,
"score": 0.9997479915618896,
"start": 848,
"tag": "KEY",
"value": "f19913083f594fe98f448414cbd25b84"
}
] | app/assets/javascripts/background.coffee | adwd/twitterlike | 0 | # JSONから50個の画像のうち一つをランダムで選び、画像、タイトル、リンクを表示する
getFlickrPhotos = (data) ->
dataStat = data.stat
if(dataStat == 'ok')
index = Math.floor( Math.random() * 50 )
item = data.photos.photo[index]
itemLink = "https://www.flickr.com/photos/#{item.owner}/#{item.id}"
itemTitle = item.title
itemTitle = "no ... | 27367 | # JSONから50個の画像のうち一つをランダムで選び、画像、タイトル、リンクを表示する
getFlickrPhotos = (data) ->
dataStat = data.stat
if(dataStat == 'ok')
index = Math.floor( Math.random() * 50 )
item = data.photos.photo[index]
itemLink = "https://www.flickr.com/photos/#{item.owner}/#{item.id}"
itemTitle = item.title
itemTitle = "no ... | true | # JSONから50個の画像のうち一つをランダムで選び、画像、タイトル、リンクを表示する
getFlickrPhotos = (data) ->
dataStat = data.stat
if(dataStat == 'ok')
index = Math.floor( Math.random() * 50 )
item = data.photos.photo[index]
itemLink = "https://www.flickr.com/photos/#{item.owner}/#{item.id}"
itemTitle = item.title
itemTitle = "no ... |
[
{
"context": "# Bhav Vriksha\nd3 = require 'd3'\n$ = require 'jquery'\npace = req",
"end": 14,
"score": 0.9998226165771484,
"start": 2,
"tag": "NAME",
"value": "Bhav Vriksha"
}
] | bhavriksha/app.coffee | prashnts/bhavriksha | 0 | # Bhav Vriksha
d3 = require 'd3'
$ = require 'jquery'
pace = require 'pace-progress'
_compact = require 'lodash/compact'
App =
init: ->
pace.start()
@init_canvas()
@get_sentence()
$('#new').on 'click', => @annotate_sentence()
annotate_sentence: ->
if @stahp is yes then return
emotion = $('... | 224339 | # <NAME>
d3 = require 'd3'
$ = require 'jquery'
pace = require 'pace-progress'
_compact = require 'lodash/compact'
App =
init: ->
pace.start()
@init_canvas()
@get_sentence()
$('#new').on 'click', => @annotate_sentence()
annotate_sentence: ->
if @stahp is yes then return
emotion = $('input[... | true | # PI:NAME:<NAME>END_PI
d3 = require 'd3'
$ = require 'jquery'
pace = require 'pace-progress'
_compact = require 'lodash/compact'
App =
init: ->
pace.start()
@init_canvas()
@get_sentence()
$('#new').on 'click', => @annotate_sentence()
annotate_sentence: ->
if @stahp is yes then return
emoti... |
[
{
"context": " <div className=\"footer-text_22\">{\"©2018 Pagedraw\"}</div>\n </div>\n </",
"end": 4842,
"score": 0.9257957339286804,
"start": 4834,
"tag": "NAME",
"value": "Pagedraw"
}
] | src/pagedraw/footer.cjsx | caffed/pagedraw | 3,213 | # Generated by https://pagedraw.io/pages/1470
React = require 'react'
createReactClass = require 'create-react-class'
module.exports = Footer = createReactClass {
displayName: 'Footer'
render: ->
<div className="footer-footer-0">
<style dangerouslySetInnerHTML={__html: """
@imp... | 37875 | # Generated by https://pagedraw.io/pages/1470
React = require 'react'
createReactClass = require 'create-react-class'
module.exports = Footer = createReactClass {
displayName: 'Footer'
render: ->
<div className="footer-footer-0">
<style dangerouslySetInnerHTML={__html: """
@imp... | true | # Generated by https://pagedraw.io/pages/1470
React = require 'react'
createReactClass = require 'create-react-class'
module.exports = Footer = createReactClass {
displayName: 'Footer'
render: ->
<div className="footer-footer-0">
<style dangerouslySetInnerHTML={__html: """
@imp... |
[
{
"context": "\n@module joukou-api/authz\n@requires lodash\n@author Isaac Johnston <isaac.johnston@joukou.com>\n###\n\n###\n@apiDefinePe",
"end": 657,
"score": 0.9998738169670105,
"start": 643,
"tag": "NAME",
"value": "Isaac Johnston"
},
{
"context": "pi/authz\n@requires lodash\n@aut... | src/authz/index.coffee | joukou/joukou-api | 0 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | 19702 | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | true | "use strict"
###*
Copyright 2014 Joukou Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... |
[
{
"context": "# Description:\n# Gives wisdom from Jaden Smith\n#\n# Dependencies:\n# \"twit\": \"1.1.6\"\n# \"unders",
"end": 48,
"score": 0.701304018497467,
"start": 37,
"tag": "NAME",
"value": "Jaden Smith"
},
{
"context": "one\n#\n# Commands:\n# hubot jaden me - Wisdom fro... | src/jaden.coffee | pcarn/hubot-jaden | 0 | # Description:
# Gives wisdom from Jaden Smith
#
# Dependencies:
# "twit": "1.1.6"
# "underscore": "1.4.4"
#
# Configuration:
# None
#
# Commands:
# hubot jaden me - Wisdom from Jaden Smith
#
# Author:
# pcarn <https://github.com/pcarn>
_ = require "underscore"
Twit = require "twit"
config =
consumer_key... | 186415 | # Description:
# Gives wisdom from <NAME>
#
# Dependencies:
# "twit": "1.1.6"
# "underscore": "1.4.4"
#
# Configuration:
# None
#
# Commands:
# hubot jaden me - Wisdom from <NAME>
#
# Author:
# pcarn <https://github.com/pcarn>
_ = require "underscore"
Twit = require "twit"
config =
consumer_key: process.... | true | # Description:
# Gives wisdom from PI:NAME:<NAME>END_PI
#
# Dependencies:
# "twit": "1.1.6"
# "underscore": "1.4.4"
#
# Configuration:
# None
#
# Commands:
# hubot jaden me - Wisdom from PI:NAME:<NAME>END_PI
#
# Author:
# pcarn <https://github.com/pcarn>
_ = require "underscore"
Twit = require "twit"
confi... |
[
{
"context": "rs on tap from Encinitas Ale House\n#\n# Author:\n# @chrishepner\n\ncheerio = require(\"cheerio\")\n\nHUBOT_ALEHOUSE_URL",
"end": 232,
"score": 0.9996433854103088,
"start": 220,
"tag": "USERNAME",
"value": "@chrishepner"
},
{
"context": "EHOUSE_URL = \"https://docs.go... | src/encinitas-ale-house.coffee | chrishepner/hubot-encinitas-ale-house | 0 | # Description:
# Hubot script to fetch beers on tap from the Encinitas Ale House
#
# Dependencies:
# 'cheerio': '^1.2'
#
# Commands:
# hubot beer me - displays beers on tap from Encinitas Ale House
#
# Author:
# @chrishepner
cheerio = require("cheerio")
HUBOT_ALEHOUSE_URL = "https://docs.google.com/document/d... | 214675 | # Description:
# Hubot script to fetch beers on tap from the Encinitas Ale House
#
# Dependencies:
# 'cheerio': '^1.2'
#
# Commands:
# hubot beer me - displays beers on tap from Encinitas Ale House
#
# Author:
# @chrishepner
cheerio = require("cheerio")
HUBOT_ALEHOUSE_URL = "https://docs.google.com/document/d... | true | # Description:
# Hubot script to fetch beers on tap from the Encinitas Ale House
#
# Dependencies:
# 'cheerio': '^1.2'
#
# Commands:
# hubot beer me - displays beers on tap from Encinitas Ale House
#
# Author:
# @chrishepner
cheerio = require("cheerio")
HUBOT_ALEHOUSE_URL = "https://docs.google.com/document/d... |
[
{
"context": "ser =\n\t\t\t_id: @user_id = \"a_simple_id\"\n\t\t\temail: \"user@example.com\"\n\t\t\tfeatures: {}\n\t\t\tbetaProgram: false\n\t\t@req =\n\t",
"end": 409,
"score": 0.9999147653579712,
"start": 393,
"tag": "EMAIL",
"value": "user@example.com"
},
{
"context": " false\n\t... | test/unit/coffee/BetaProgram/BetaProgramControllerTests.coffee | davidmehren/web-sharelatex | 1 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/BetaProgram/BetaProgramController"
expect = require("chai").expect
describe "BetaProgramController", ... | 218 | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/BetaProgram/BetaProgramController"
expect = require("chai").expect
describe "BetaProgramController", ... | true | should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/BetaProgram/BetaProgramController"
expect = require("chai").expect
describe "BetaProgramController", ... |
[
{
"context": "###!\n LegoMushroom @legomushroom http://legomushroom.com\n MIT Licen",
"end": 19,
"score": 0.9968811273574829,
"start": 7,
"tag": "NAME",
"value": "LegoMushroom"
},
{
"context": "###!\n LegoMushroom @legomushroom http://legomushroom.com\n MIT License 2014\n###\n\n#... | js/vendor/resize.coffee | LukasDrgon/mojs | 24 | ###!
LegoMushroom @legomushroom http://legomushroom.com
MIT License 2014
###
### istanbul ignore next ###
do ->
# IIF for istanbul to ignore the whole resize event polyfill
# it was covered in its own repo https://github.com/legomushroom/resize
class Main
constructor:(@o={})->
return if window.isAn... | 165566 | ###!
<NAME> @legomushroom http://legomushroom.com
MIT License 2014
###
### istanbul ignore next ###
do ->
# IIF for istanbul to ignore the whole resize event polyfill
# it was covered in its own repo https://github.com/legomushroom/resize
class Main
constructor:(@o={})->
return if window.isAnyResiz... | true | ###!
PI:NAME:<NAME>END_PI @legomushroom http://legomushroom.com
MIT License 2014
###
### istanbul ignore next ###
do ->
# IIF for istanbul to ignore the whole resize event polyfill
# it was covered in its own repo https://github.com/legomushroom/resize
class Main
constructor:(@o={})->
return if win... |
[
{
"context": "se strict\"\n\n#\n#* ProjectName: yourLibrary\n#* Name: Christopher EnyTC\n#* Email: chrisenytc@gmail.com\n#* Username: chris",
"end": 70,
"score": 0.9998993873596191,
"start": 53,
"tag": "NAME",
"value": "Christopher EnyTC"
},
{
"context": ": yourLibrary\n#* Name: Chri... | app/templates/src/coffee/yourLibrary.coffee | chrisenytc/generator-library | 2 | "use strict"
#
#* ProjectName: yourLibrary
#* Name: Christopher EnyTC
#* Email: chrisenytc@gmail.com
#* Username: chrisenytc
#* Site: http://chris.enytc.com
#* Github: https://github.com/chrisenytc/generator-library
#* Twitter: @chrisenytc
#
window.yourLibrary = (() ->
#Private Functions
#
# *
# * Funct... | 112319 | "use strict"
#
#* ProjectName: yourLibrary
#* Name: <NAME>
#* Email: <EMAIL>
#* Username: chrisenytc
#* Site: http://chris.enytc.com
#* Github: https://github.com/chrisenytc/generator-library
#* Twitter: @chrisenytc
#
window.yourLibrary = (() ->
#Private Functions
#
# *
# * Function to return a version ... | true | "use strict"
#
#* ProjectName: yourLibrary
#* Name: PI:NAME:<NAME>END_PI
#* Email: PI:EMAIL:<EMAIL>END_PI
#* Username: chrisenytc
#* Site: http://chris.enytc.com
#* Github: https://github.com/chrisenytc/generator-library
#* Twitter: @chrisenytc
#
window.yourLibrary = (() ->
#Private Functions
#
# *
# * ... |
[
{
"context": "cument.querySelector(\"#login-info img\").src = \"/#{@app.user.nick}.png?v=#{Date.now()}\"\n document.querySelecto",
"end": 10595,
"score": 0.982893705368042,
"start": 10581,
"tag": "EMAIL",
"value": "@app.user.nick"
},
{
"context": "ctor(\"#usersettings-profile-im... | static/js/user/usersettings.coffee | HomineLudens/microstudio | 511 | class @UserSettings
constructor:(@app)->
document.getElementById("resend-validation-email").addEventListener "click",()=>@resendValidationEMail()
#document.getElementById("change-password").addEventListener "click",()=>@changePassword()
document.getElementById("subscribe-newsletter").addEventListener "cha... | 36314 | class @UserSettings
constructor:(@app)->
document.getElementById("resend-validation-email").addEventListener "click",()=>@resendValidationEMail()
#document.getElementById("change-password").addEventListener "click",()=>@changePassword()
document.getElementById("subscribe-newsletter").addEventListener "cha... | true | class @UserSettings
constructor:(@app)->
document.getElementById("resend-validation-email").addEventListener "click",()=>@resendValidationEMail()
#document.getElementById("change-password").addEventListener "click",()=>@changePassword()
document.getElementById("subscribe-newsletter").addEventListener "cha... |
[
{
"context": "isbn: '0553560735'\n title: 'Red Mars'\n author: 'Kim Stanley Robinson'\n description: 'For centuries, the barren, desol",
"end": 89,
"score": 0.9993829727172852,
"start": 69,
"tag": "NAME",
"value": "Kim Stanley Robinson"
}
] | data/books.coffee | rachel-carvalho/next-sample | 0 | export default [
isbn: '0553560735'
title: 'Red Mars'
author: 'Kim Stanley Robinson'
description: 'For centuries, the barren, desolate landscape of the red planet has beckoned to humankind. Now a group of one hundred colonists begins a mission whose ultimate goal is to transform Mars into a more Earthlike plane... | 110730 | export default [
isbn: '0553560735'
title: 'Red Mars'
author: '<NAME>'
description: 'For centuries, the barren, desolate landscape of the red planet has beckoned to humankind. Now a group of one hundred colonists begins a mission whose ultimate goal is to transform Mars into a more Earthlike planet. They will p... | true | export default [
isbn: '0553560735'
title: 'Red Mars'
author: 'PI:NAME:<NAME>END_PI'
description: 'For centuries, the barren, desolate landscape of the red planet has beckoned to humankind. Now a group of one hundred colonists begins a mission whose ultimate goal is to transform Mars into a more Earthlike plane... |
[
{
"context": "{services[\"cloud_foundry_api-uaa-client-secret\"].b64}\"\n site: \"https://#{services[\"cloud_foundry_",
"end": 345,
"score": 0.6418544054031372,
"start": 343,
"tag": "KEY",
"value": "64"
}
] | routes/uaaAdminOauth.coffee | MonsantoCo/cf-users | 14 | Promise = require 'promise'
services = require "./serviceBindings"
uao = {}
uao.initOauth2 = ()->
new Promise (resolve,reject) ->
# Set the client credentials and the OAuth2 server
credentials =
clientID: "#{services["cloud_foundry_api-uaa-client-id"].b64}"
clientSecret: "#{services["cloud_foundry_ap... | 80881 | Promise = require 'promise'
services = require "./serviceBindings"
uao = {}
uao.initOauth2 = ()->
new Promise (resolve,reject) ->
# Set the client credentials and the OAuth2 server
credentials =
clientID: "#{services["cloud_foundry_api-uaa-client-id"].b64}"
clientSecret: "#{services["cloud_foundry_ap... | true | Promise = require 'promise'
services = require "./serviceBindings"
uao = {}
uao.initOauth2 = ()->
new Promise (resolve,reject) ->
# Set the client credentials and the OAuth2 server
credentials =
clientID: "#{services["cloud_foundry_api-uaa-client-id"].b64}"
clientSecret: "#{services["cloud_foundry_ap... |
[
{
"context": " user = robot.brain.userForId '1',\n name: 'sammy'\n room: '#stamp'\n adapter = robot.ada",
"end": 561,
"score": 0.9510841369628906,
"start": 556,
"tag": "NAME",
"value": "sammy"
}
] | test/stamp_spec.coffee | osamunmun/Hubot | 0 | # Hubot classes
Robot = require("hubot/src/robot")
TextMessage = require("hubot/src/message").TextMessage
# Load assertion methods to this scope
chai = require 'chai'
expect = chai.expect
describe 'stamp', ->
robot = null
user = null
adapter = null
process.env.HUBOT_STAMPS = "{\"doki\": \"dokidoki\", \"po... | 165994 | # Hubot classes
Robot = require("hubot/src/robot")
TextMessage = require("hubot/src/message").TextMessage
# Load assertion methods to this scope
chai = require 'chai'
expect = chai.expect
describe 'stamp', ->
robot = null
user = null
adapter = null
process.env.HUBOT_STAMPS = "{\"doki\": \"dokidoki\", \"po... | true | # Hubot classes
Robot = require("hubot/src/robot")
TextMessage = require("hubot/src/message").TextMessage
# Load assertion methods to this scope
chai = require 'chai'
expect = chai.expect
describe 'stamp', ->
robot = null
user = null
adapter = null
process.env.HUBOT_STAMPS = "{\"doki\": \"dokidoki\", \"po... |
[
{
"context": "kbone-Forms validators 1.0.1\n\n Copyright (c) 2016 Tomasz Jakub Rup\n\n https://github.com/tomi77/backbone-forms-valid",
"end": 76,
"score": 0.9998704791069031,
"start": 60,
"tag": "NAME",
"value": "Tomasz Jakub Rup"
},
{
"context": "t (c) 2016 Tomasz Jakub Rup\n\n ... | src/bbf-validators.coffee | tomi77/backbone-forms-validators | 0 | ###
Backbone-Forms validators 1.0.1
Copyright (c) 2016 Tomasz Jakub Rup
https://github.com/tomi77/backbone-forms-validators
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['underscore', 'backbone... | 140303 | ###
Backbone-Forms validators 1.0.1
Copyright (c) 2016 <NAME>
https://github.com/tomi77/backbone-forms-validators
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['underscore', 'backbone-forms'], ... | true | ###
Backbone-Forms validators 1.0.1
Copyright (c) 2016 PI:NAME:<NAME>END_PI
https://github.com/tomi77/backbone-forms-validators
Released under the MIT license
###
((root, factory) ->
### istanbul ignore next ###
switch
when typeof define is 'function' and define.amd
define ['underscore', 'back... |
[
{
"context": "Config:\n uuid: 'some-uuid'\n token: 'some-token'\n hostname: 'localhost'\n protocol: ",
"end": 440,
"score": 0.6018934845924377,
"start": 430,
"tag": "PASSWORD",
"value": "some-token"
}
] | test/simple-meshblu-message-as-spec.coffee | octoblu/simple-meshblu-message-as | 0 | {describe,beforeEach,afterEach,it,expect} = global
enableDestroy = require 'server-destroy'
shmock = require '@octoblu/shmock'
SimpleMeshbluMessageAs = require '../'
describe 'SimpleMeshbluMessageAs', ->
beforeEach ->
@meshblu = shmock()
enableDestroy(@meshblu)
@meshbluPort = @meshblu.address(... | 4272 | {describe,beforeEach,afterEach,it,expect} = global
enableDestroy = require 'server-destroy'
shmock = require '@octoblu/shmock'
SimpleMeshbluMessageAs = require '../'
describe 'SimpleMeshbluMessageAs', ->
beforeEach ->
@meshblu = shmock()
enableDestroy(@meshblu)
@meshbluPort = @meshblu.address(... | true | {describe,beforeEach,afterEach,it,expect} = global
enableDestroy = require 'server-destroy'
shmock = require '@octoblu/shmock'
SimpleMeshbluMessageAs = require '../'
describe 'SimpleMeshbluMessageAs', ->
beforeEach ->
@meshblu = shmock()
enableDestroy(@meshblu)
@meshbluPort = @meshblu.address(... |
[
{
"context": "get \"local_couchdb_admin_username\"\n password: Coconut.config.get \"local_couchdb_admin_password\"\n success: ->\n",
"end": 7871,
"score": 0.9882168173789978,
"start": 7853,
"tag": "PASSWORD",
"value": "Coconut.config.get"
}
] | _attachments/models/Sync.coffee | ICTatRTI/coconut-cloud | 2 | class Sync extends Backbone.Model
initialize: ->
@set
_id: "SyncLog"
url: "/sync"
target: -> Coconut.config.cloud_url()
last_send: =>
return @get("last_send_result")
was_last_send_successful: =>
return false if @get("last_send_error") is true
# even if last_send_error was false need ... | 31124 | class Sync extends Backbone.Model
initialize: ->
@set
_id: "SyncLog"
url: "/sync"
target: -> Coconut.config.cloud_url()
last_send: =>
return @get("last_send_result")
was_last_send_successful: =>
return false if @get("last_send_error") is true
# even if last_send_error was false need ... | true | class Sync extends Backbone.Model
initialize: ->
@set
_id: "SyncLog"
url: "/sync"
target: -> Coconut.config.cloud_url()
last_send: =>
return @get("last_send_result")
was_last_send_successful: =>
return false if @get("last_send_error") is true
# even if last_send_error was false need ... |
[
{
"context": "\n links = [{bucket: \"users\", tag: \"owner\", key: \"anton\"}, {bucket: \"users\", tag: \"modifier\", key: \"andre",
"end": 144,
"score": 0.7361683249473572,
"start": 139,
"tag": "USERNAME",
"value": "anton"
},
{
"context": "anton\"}, {bucket: \"users\", tag: \"modif... | test/utils.coffee | circuithub/riak-entity | 1 | should = require "should"
utils = require "../lib/utils"
describe "utils#getLink()", ->
links = [{bucket: "users", tag: "owner", key: "anton"}, {bucket: "users", tag: "modifier", key: "andrew"}]
it "should find link for correct parameter", ->
should.equal utils.getLink(links, "modifier"), "andrew"
should.... | 15522 | should = require "should"
utils = require "../lib/utils"
describe "utils#getLink()", ->
links = [{bucket: "users", tag: "owner", key: "anton"}, {bucket: "users", tag: "modifier", key: "<NAME>"}]
it "should find link for correct parameter", ->
should.equal utils.getLink(links, "modifier"), "<NAME>"
should.... | true | should = require "should"
utils = require "../lib/utils"
describe "utils#getLink()", ->
links = [{bucket: "users", tag: "owner", key: "anton"}, {bucket: "users", tag: "modifier", key: "PI:NAME:<NAME>END_PI"}]
it "should find link for correct parameter", ->
should.equal utils.getLink(links, "modifier"), "PI:NA... |
[
{
"context": "e, [x,y,z], [sp.sw,sp.sh],study['hsv'], 1.0, @fontPrac, 0x000000 )\n pracGroup.add( studyCube.",
"end": 6607,
"score": 0.9428519010543823,
"start": 6603,
"tag": "USERNAME",
"value": "Prac"
},
{
"context": "lsHeight,sp.colsDepth],practice['hsv'], 0.6, @fontPra... | src/vizu/cube/CubeTh.coffee | axiom6/aug | 0 |
import {vis} from '../../../lib/pub/draw/Vis.js'
import Access from '../../../lib/pub/util/Access.js'
import Build from '../../../lib/pub/util/Build.js'
import Cube3D from './Cube3D.js'
import Rect from './Rect.js'
import * as THREE from 'three'
import { OrbitControls } from '... | 171736 |
import {vis} from '../../../lib/pub/draw/Vis.js'
import Access from '../../../lib/pub/util/Access.js'
import Build from '../../../lib/pub/util/Build.js'
import Cube3D from './Cube3D.js'
import Rect from './Rect.js'
import * as THREE from 'three'
import { OrbitControls } from '... | true |
import {vis} from '../../../lib/pub/draw/Vis.js'
import Access from '../../../lib/pub/util/Access.js'
import Build from '../../../lib/pub/util/Build.js'
import Cube3D from './Cube3D.js'
import Rect from './Rect.js'
import * as THREE from 'three'
import { OrbitControls } from '... |
[
{
"context": "laden\"\n \"guests\" : \"Gäste\"\n \"cancel Invitation\" : \"Einla",
"end": 7048,
"score": 0.8091983795166016,
"start": 7043,
"tag": "NAME",
"value": "Gäste"
},
{
"context": "name:\"\n \"sync password\" ... | client/app/locales/de.coffee | aenario/cozy-agenda | 0 | module.exports =
"default calendar name" : "Mein Kalendar"
"Add" : "Hinzufügen"
"event" : "Ereignis"
"create event" : "Ereignis erstellen"
"edit event" : "Ereignis bearbeiten"
"edit"... | 185942 | module.exports =
"default calendar name" : "Mein Kalendar"
"Add" : "Hinzufügen"
"event" : "Ereignis"
"create event" : "Ereignis erstellen"
"edit event" : "Ereignis bearbeiten"
"edit"... | true | module.exports =
"default calendar name" : "Mein Kalendar"
"Add" : "Hinzufügen"
"event" : "Ereignis"
"create event" : "Ereignis erstellen"
"edit event" : "Ereignis bearbeiten"
"edit"... |
[
{
"context": "cify this easily and deeply enough via params, but Joe wanted affiliation data out of unpaywall \n ",
"end": 34057,
"score": 0.9782816171646118,
"start": 34054,
"tag": "NAME",
"value": "Joe"
}
] | server/convert.coffee | leviathanindustries/noddy | 2 |
import request from 'request'
import { Converter } from 'csvtojson'
import json2csv from 'json2csv'
import textract from 'textract' # note this requires installs on the server for most conversions
import mammoth from 'mammoth'
import xlsx from 'xlsx'
import xml2js from 'xml2js'
import PDFParser from 'pdf2json'
import ... | 223499 |
import request from 'request'
import { Converter } from 'csvtojson'
import json2csv from 'json2csv'
import textract from 'textract' # note this requires installs on the server for most conversions
import mammoth from 'mammoth'
import xlsx from 'xlsx'
import xml2js from 'xml2js'
import PDFParser from 'pdf2json'
import ... | true |
import request from 'request'
import { Converter } from 'csvtojson'
import json2csv from 'json2csv'
import textract from 'textract' # note this requires installs on the server for most conversions
import mammoth from 'mammoth'
import xlsx from 'xlsx'
import xml2js from 'xml2js'
import PDFParser from 'pdf2json'
import ... |
[
{
"context": "USERNAME: Gmail username\n# HUBOT_GMAIL_PASSWORD: Gmail password\n# OMNI_MAIL_DROP_ADDRESS: Private OmniSyncServe",
"end": 230,
"score": 0.9972230792045593,
"start": 216,
"tag": "PASSWORD",
"value": "Gmail password"
},
{
"context": "item in OmniFocus with text 'Todo... | scripts/omnifocus.coffee | lazerwalker/lazerwalker-hubot-scripts | 5 | # Description:
# Adds a task to the OmniFocus inbox
#
# Dependencies:
# Nodemailer
#
# Configuration:
# (currently assumes you're using Gmail)
# HUBOT_GMAIL_USERNAME: Gmail username
# HUBOT_GMAIL_PASSWORD: Gmail password
# OMNI_MAIL_DROP_ADDRESS: Private OmniSyncServer address (see http://www.omnigroup.com/... | 59043 | # Description:
# Adds a task to the OmniFocus inbox
#
# Dependencies:
# Nodemailer
#
# Configuration:
# (currently assumes you're using Gmail)
# HUBOT_GMAIL_USERNAME: Gmail username
# HUBOT_GMAIL_PASSWORD: <PASSWORD>
# OMNI_MAIL_DROP_ADDRESS: Private OmniSyncServer address (see http://www.omnigroup.com/supp... | true | # Description:
# Adds a task to the OmniFocus inbox
#
# Dependencies:
# Nodemailer
#
# Configuration:
# (currently assumes you're using Gmail)
# HUBOT_GMAIL_USERNAME: Gmail username
# HUBOT_GMAIL_PASSWORD: PI:PASSWORD:<PASSWORD>END_PI
# OMNI_MAIL_DROP_ADDRESS: Private OmniSyncServer address (see http://www.... |
[
{
"context": " = sinon.spy()\n arg1 = \"A\"\n arg2 = \"B\"\n notArg = \"C\"\n\n describe \"calledWith\",",
"end": 176,
"score": 0.6609664559364319,
"start": 175,
"tag": "NAME",
"value": "B"
}
] | vendor/sinon-chai/test/callArguments.coffee | asmblah/modular | 1 | describe "Call arguments", ->
spy = null
arg1 = null
arg2 = null
notArg = null
beforeEach ->
spy = sinon.spy()
arg1 = "A"
arg2 = "B"
notArg = "C"
describe "calledWith", ->
it "should throw an assertion error when the spy is not called", ->
ex... | 212643 | describe "Call arguments", ->
spy = null
arg1 = null
arg2 = null
notArg = null
beforeEach ->
spy = sinon.spy()
arg1 = "A"
arg2 = "<NAME>"
notArg = "C"
describe "calledWith", ->
it "should throw an assertion error when the spy is not called", ->
... | true | describe "Call arguments", ->
spy = null
arg1 = null
arg2 = null
notArg = null
beforeEach ->
spy = sinon.spy()
arg1 = "A"
arg2 = "PI:NAME:<NAME>END_PI"
notArg = "C"
describe "calledWith", ->
it "should throw an assertion error when the spy is not called"... |
[
{
"context": "Tests for newline-per-chained-call rule.\n# @author Rajendra Patil\n###\n\n'use strict'\n\n#-----------------------------",
"end": 86,
"score": 0.9998533129692078,
"start": 72,
"tag": "NAME",
"value": "Rajendra Patil"
}
] | src/tests/rules/newline-per-chained-call.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for newline-per-chained-call rule.
# @author Rajendra Patil
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/newline-pe... | 118000 | ###*
# @fileoverview Tests for newline-per-chained-call rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/newline-per-chaine... | true | ###*
# @fileoverview Tests for newline-per-chained-call rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/newl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.