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": "# Author: Josh Bass\n\nmathjs = require(\"mathjs\");\nReact = require(\"rea",
"end": 19,
"score": 0.9998822808265686,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
}
] | src/client/components/customers/CustomerEdit.coffee | jbass86/Aroma | 0 | # Author: Josh Bass
mathjs = require("mathjs");
React = require("react");
DatePicker = require("react-datepicker");
Moment = require("moment");
module.exports = React.createClass
getInitialState: ->
@default_state = {_id: undefined, first_name: "", middle_name: "", last_name: "", address: "", \
email: ""... | 52840 | # Author: <NAME>
mathjs = require("mathjs");
React = require("react");
DatePicker = require("react-datepicker");
Moment = require("moment");
module.exports = React.createClass
getInitialState: ->
@default_state = {_id: undefined, first_name: "", middle_name: "", last_name: "", address: "", \
email: "", p... | true | # Author: PI:NAME:<NAME>END_PI
mathjs = require("mathjs");
React = require("react");
DatePicker = require("react-datepicker");
Moment = require("moment");
module.exports = React.createClass
getInitialState: ->
@default_state = {_id: undefined, first_name: "", middle_name: "", last_name: "", address: "", \
... |
[
{
"context": "#Copyright 2014 - 2015\n#Author: Varuna Jayasiri http://blog.varunajayasiri.com\n\nMod.require ->\n U",
"end": 47,
"score": 0.9998943209648132,
"start": 32,
"tag": "NAME",
"value": "Varuna Jayasiri"
}
] | js/util.coffee | vpj/predict | 0 | #Copyright 2014 - 2015
#Author: Varuna Jayasiri http://blog.varunajayasiri.com
Mod.require ->
Util =
extend: ->
return null if arguments.length is 0
obj = arguments[0]
if (typeof obj) isnt 'object'
throw new Error "Cannot extend #{typeof obj}"
for i in [1...arguments.length]
o = arguments[i]
... | 191241 | #Copyright 2014 - 2015
#Author: <NAME> http://blog.varunajayasiri.com
Mod.require ->
Util =
extend: ->
return null if arguments.length is 0
obj = arguments[0]
if (typeof obj) isnt 'object'
throw new Error "Cannot extend #{typeof obj}"
for i in [1...arguments.length]
o = arguments[i]
if (typ... | true | #Copyright 2014 - 2015
#Author: PI:NAME:<NAME>END_PI http://blog.varunajayasiri.com
Mod.require ->
Util =
extend: ->
return null if arguments.length is 0
obj = arguments[0]
if (typeof obj) isnt 'object'
throw new Error "Cannot extend #{typeof obj}"
for i in [1...arguments.length]
o = arguments[... |
[
{
"context": "3-2016 TheGrid (Rituwall Inc.)\n# (c) 2011-2012 Henri Bergius, Nemein\n# NoFlo may be freely distributed und",
"end": 129,
"score": 0.9998435974121094,
"start": 116,
"tag": "NAME",
"value": "Henri Bergius"
},
{
"context": "(Rituwall Inc.)\n# (c) 2011-2012 He... | src/lib/Component.coffee | aretecode/noflo-built | 1 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2016 TheGrid (Rituwall Inc.)
# (c) 2011-2012 Henri Bergius, Nemein
# NoFlo may be freely distributed under the MIT license
#
# Baseclass for regular NoFlo components.
{EventEmitter} = require 'events'
ports = require './Ports'
IP = require './I... | 143882 | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2016 TheGrid (Rituwall Inc.)
# (c) 2011-2012 <NAME>, <NAME>
# NoFlo may be freely distributed under the MIT license
#
# Baseclass for regular NoFlo components.
{EventEmitter} = require 'events'
ports = require './Ports'
IP = require './IP'
cla... | true | # NoFlo - Flow-Based Programming for JavaScript
# (c) 2013-2016 TheGrid (Rituwall Inc.)
# (c) 2011-2012 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
# NoFlo may be freely distributed under the MIT license
#
# Baseclass for regular NoFlo components.
{EventEmitter} = require 'events'
ports = require './Por... |
[
{
"context": "get me started with Hubot scripts.\n#\n# Author:\n# Chris Coveney <xkickflip@gmail.com>\n\nmodule.exports = (robot) -",
"end": 486,
"score": 0.9998174905776978,
"start": 473,
"tag": "NAME",
"value": "Chris Coveney"
},
{
"context": "ith Hubot scripts.\n#\n# Author:\n# ... | src/cybernetic.coffee | xkickflip/hubot-cybernetic | 0 | # Description
# Allows hubot to identify itself to users when asked who or what it is.
#
# Configuration:
# None
#
# Commands:
# hubot who are you? - hubot identifies itself
# hubot what are you? - hubot identifies itself
# who is hubot? - hubot idenfities itself
# what is hubot? - hubot identifi... | 189900 | # Description
# Allows hubot to identify itself to users when asked who or what it is.
#
# Configuration:
# None
#
# Commands:
# hubot who are you? - hubot identifies itself
# hubot what are you? - hubot identifies itself
# who is hubot? - hubot idenfities itself
# what is hubot? - hubot identifi... | true | # Description
# Allows hubot to identify itself to users when asked who or what it is.
#
# Configuration:
# None
#
# Commands:
# hubot who are you? - hubot identifies itself
# hubot what are you? - hubot identifies itself
# who is hubot? - hubot idenfities itself
# what is hubot? - hubot identifi... |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author philogb / htt",
"end": 12,
"score": 0.9487613439559937,
"start": 10,
"tag": "USERNAME",
"value": "mr"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author philogb / http",
"end": 12,
"score": 0.5536... | source/javascripts/new_src/core/vector_2.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author philogb / http://blog.thejit.org/
# @author egraether / http://egraether.com/
# @author zz85 / http://www.lab4games.net/zz85/blog
# @author aladjev.andrew@gmail.com
class Vector2
constructor: (x, y) ->
@x = x or 0
@y = y or 0
set: (x, y) ->
@x = x
@... | 114579 | # @author mr<NAME>.doob / http://mrdoob.com/
# @author philogb / http://blog.thejit.org/
# @author egraether / http://egraether.com/
# @author zz85 / http://www.lab4games.net/zz85/blog
# @author <EMAIL>
class Vector2
constructor: (x, y) ->
@x = x or 0
@y = y or 0
set: (x, y) ->
@x = x
@y = y
t... | true | # @author mrPI:NAME:<NAME>END_PI.doob / http://mrdoob.com/
# @author philogb / http://blog.thejit.org/
# @author egraether / http://egraether.com/
# @author zz85 / http://www.lab4games.net/zz85/blog
# @author PI:EMAIL:<EMAIL>END_PI
class Vector2
constructor: (x, y) ->
@x = x or 0
@y = y or 0
set: (x, y) -... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999126195907593,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/historical.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 { BeatmapPlaycount } from './beatmap-playcount'
import { ExtraHeader } from './extra-header'
import { PlayDetailList } from 'play-detail-l... | 16769 | # 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 { BeatmapPlaycount } from './beatmap-playcount'
import { ExtraHeader } from './extra-header'
import { PlayDetailList } from 'play-detail-list'
im... | 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 { BeatmapPlaycount } from './beatmap-playcount'
import { ExtraHeader } from './extra-header'
import { PlayDetailList } from 'play-... |
[
{
"context": "\n title: 'history topic#' + i\n author: 'James Johnny'\n timestamp: '2004-9-4 21:20:22'\n readi",
"end": 396,
"score": 0.9998745918273926,
"start": 384,
"tag": "NAME",
"value": "James Johnny"
}
] | redisdb/create4seesee.coffee | android1and1/easti | 0 | RJ = require '../modules/md-readingjournals.js'
nohm = (require 'nohm').Nohm
client = (require 'redis').createClient()
client.on 'connect',->
nohm.setPrefix 'seesee'
nohm.setClient @
# if nessary,purge db 'seesee'
#await nohm.purgeDb()
# really.
rj = nohm.register RJ
for i in [1..4]
ins = new rj
... | 47316 | RJ = require '../modules/md-readingjournals.js'
nohm = (require 'nohm').Nohm
client = (require 'redis').createClient()
client.on 'connect',->
nohm.setPrefix 'seesee'
nohm.setClient @
# if nessary,purge db 'seesee'
#await nohm.purgeDb()
# really.
rj = nohm.register RJ
for i in [1..4]
ins = new rj
... | true | RJ = require '../modules/md-readingjournals.js'
nohm = (require 'nohm').Nohm
client = (require 'redis').createClient()
client.on 'connect',->
nohm.setPrefix 'seesee'
nohm.setClient @
# if nessary,purge db 'seesee'
#await nohm.purgeDb()
# really.
rj = nohm.register RJ
for i in [1..4]
ins = new rj
... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998445510864258,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/nucleus/toolkit.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 181352 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "tch: (uri, options) ->\n token = getAuthTokenCookie()\n if token?\n o",
"end": 5453,
"score": 0.8275678157806396,
"start": 5438,
"tag": "KEY",
"value": "AuthTokenCookie"
}
] | services/apollo.coffee | alin23/nextjs-coffee | 2 | import React from "react"
import { ApolloProvider, getDataFromTree } from "react-apollo"
import fetch from "isomorphic-fetch"
import _ from "lodash"
import getConfig from "next/config"
import Head from "next/head"
import { InMemoryCache } from "apollo-cache-inmemory"
import { ReduxCache } from "apollo-cache-redux"
im... | 99060 | import React from "react"
import { ApolloProvider, getDataFromTree } from "react-apollo"
import fetch from "isomorphic-fetch"
import _ from "lodash"
import getConfig from "next/config"
import Head from "next/head"
import { InMemoryCache } from "apollo-cache-inmemory"
import { ReduxCache } from "apollo-cache-redux"
im... | true | import React from "react"
import { ApolloProvider, getDataFromTree } from "react-apollo"
import fetch from "isomorphic-fetch"
import _ from "lodash"
import getConfig from "next/config"
import Head from "next/head"
import { InMemoryCache } from "apollo-cache-inmemory"
import { ReduxCache } from "apollo-cache-redux"
im... |
[
{
"context": "(value) is false then return result\n\n\t\t\t\tkeys = ['prefix', 'first', 'middle', 'last', 'sufix']\n\n\t\t\t\tremoveUnauthorizedKeys value, keys\n\n\t\t\t\tfu",
"end": 10488,
"score": 0.9594817161560059,
"start": 10446,
"tag": "KEY",
"value": "prefix', 'first', 'middle', 'las... | server/metaUtils.coffee | Konecty/Konecty.Utils | 0 | crypto = Npm.require 'crypto'
metaUtils = {}
metaUtils.validateAndProcessValueFor = (meta, fieldName, value, actionType, model, objectOriginalValues, objectNewValues, idsToUpdate) ->
field = meta.fields[fieldName]
if not field?
return new Meteor.Error 'utils-internal-error', "Field #{fieldName} does not exists o... | 116806 | crypto = Npm.require 'crypto'
metaUtils = {}
metaUtils.validateAndProcessValueFor = (meta, fieldName, value, actionType, model, objectOriginalValues, objectNewValues, idsToUpdate) ->
field = meta.fields[fieldName]
if not field?
return new Meteor.Error 'utils-internal-error', "Field #{fieldName} does not exists o... | true | crypto = Npm.require 'crypto'
metaUtils = {}
metaUtils.validateAndProcessValueFor = (meta, fieldName, value, actionType, model, objectOriginalValues, objectNewValues, idsToUpdate) ->
field = meta.fields[fieldName]
if not field?
return new Meteor.Error 'utils-internal-error', "Field #{fieldName} does not exists o... |
[
{
"context": "mfabrik GmbH\n * MIT Licence\n * https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org\n#",
"end": 166,
"score": 0.9852844476699829,
"start": 152,
"tag": "USERNAME",
"value": "programmfabrik"
},
{
"context": "tRoot()?[key] or null\n\n\tgetSel... | src/elements/ListView/ListViewTreeNode.coffee | programmfabrik/coffeescript-ui | 10 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class CUI.ListViewTreeNode extends CUI.ListViewRow
initOpts: ->
super()
@addOpts
children:
... | 145161 | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class CUI.ListViewTreeNode extends CUI.ListViewRow
initOpts: ->
super()
@addOpts
children:
... | true | ###
* coffeescript-ui - Coffeescript User Interface System (CUI)
* Copyright (c) 2013 - 2016 Programmfabrik GmbH
* MIT Licence
* https://github.com/programmfabrik/coffeescript-ui, http://www.coffeescript-ui.org
###
class CUI.ListViewTreeNode extends CUI.ListViewRow
initOpts: ->
super()
@addOpts
children:
... |
[
{
"context": "rs', (done) ->\n @article.author = {\n id: '123'\n name: 'Artsy Editorial'\n profile_id: ",
"end": 1324,
"score": 0.7815554141998291,
"start": 1321,
"tag": "USERNAME",
"value": "123"
},
{
"context": " @article.author = {\n id: '123'\n name: '... | src/client/apps/edit/test/client.test.coffee | craigspaeth/positron | 76 | benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
rewire = require 'rewire'
fixtures = require '../../../../test/helpers/fixtures'
xdescribe 'init', ->
beforeEach (done) ->
@article = fixtures().articles
benv.setup =>
benv.expose
_: requir... | 158773 | benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
rewire = require 'rewire'
fixtures = require '../../../../test/helpers/fixtures'
xdescribe 'init', ->
beforeEach (done) ->
@article = fixtures().articles
benv.setup =>
benv.expose
_: requir... | true | benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
{ resolve } = require 'path'
rewire = require 'rewire'
fixtures = require '../../../../test/helpers/fixtures'
xdescribe 'init', ->
beforeEach (done) ->
@article = fixtures().articles
benv.setup =>
benv.expose
_: requir... |
[
{
"context": "---\nCharset: UTF-8\nVersion: End-To-End v0.3.1337\n\nwf8AAACMAzE3gKsczTvwAQQAhCwBRYAjxk2Zc1Exf98fiC3rT6ntAsh6FHT1ayee\nZIb+KMybq5ZQruCoCfHkQJ0ANfnObqhXxDjE7bTTKz+f9eqwLOfikdQVxWfUn7Tn\nnTOPhlKHlvn8X7KXbD1MX7C7rKESMFwZ1pM3jkEi+gNvJKYdyxVxqhw3eYvC0pKN\nnn3B/wAAAQwDYuz2Vj187EwBCACbsTZ0MK3KLUUsMlj3vf... | test/files/google_end_to_end.iced | samkenxstream/kbpgp | 464 | {parse} = require '../../lib/openpgp/parser'
armor = require '../../lib/openpgp/armor'
C = require '../../lib/const'
{do_message,Message} = require '../../lib/openpgp/processor'
util = require 'util'
{unix_time,katch,ASP} = require '../../lib/util'
{KeyManager} = require '../../'
{import_key_pgp} = require '../../lib/s... | 113376 | {parse} = require '../../lib/openpgp/parser'
armor = require '../../lib/openpgp/armor'
C = require '../../lib/const'
{do_message,Message} = require '../../lib/openpgp/processor'
util = require 'util'
{unix_time,katch,ASP} = require '../../lib/util'
{KeyManager} = require '../../'
{import_key_pgp} = require '../../lib/s... | true | {parse} = require '../../lib/openpgp/parser'
armor = require '../../lib/openpgp/armor'
C = require '../../lib/const'
{do_message,Message} = require '../../lib/openpgp/processor'
util = require 'util'
{unix_time,katch,ASP} = require '../../lib/util'
{KeyManager} = require '../../'
{import_key_pgp} = require '../../lib/s... |
[
{
"context": "et: (->)\n results: @results\n term: 'skull'\n crop: sinon.stub()\n _s: _s\n ",
"end": 1374,
"score": 0.5008082389831543,
"start": 1369,
"tag": "NAME",
"value": "skull"
}
] | src/desktop/apps/search/test/template.coffee | kanaabe/force | 1 | benv = require 'benv'
_ = require 'underscore'
_s = require 'underscore.string'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Search = require '../../../collections/search'
SearchResult = require '../../../models/search_result'
sinon = ... | 135679 | benv = require 'benv'
_ = require 'underscore'
_s = require 'underscore.string'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Search = require '../../../collections/search'
SearchResult = require '../../../models/search_result'
sinon = ... | true | benv = require 'benv'
_ = require 'underscore'
_s = require 'underscore.string'
jade = require 'jade'
path = require 'path'
fs = require 'fs'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Search = require '../../../collections/search'
SearchResult = require '../../../models/search_result'
sinon = ... |
[
{
"context": "roduct_variation', ->\n key = $(this).attr('data-id')\n $(this).find('input, select').each(->\n ",
"end": 3213,
"score": 0.9772469997406006,
"start": 3211,
"tag": "KEY",
"value": "id"
}
] | app/assets/javascripts/plugins/ecommerce/admin_product.js.coffee | densitylabs/camaleon-ecommerce | 0 | $ ->
form = $('#form-post')
variation_id = 1
product_variations = form.find('#product_variations')
form.find('.content-frame-body > .c-field-group:last').after(product_variations.removeClass('hidden'))
SERVICE_PRODUCT_TYPE = "service_product"
# this variables is defined in _variations.html.erb
product_ty... | 94544 | $ ->
form = $('#form-post')
variation_id = 1
product_variations = form.find('#product_variations')
form.find('.content-frame-body > .c-field-group:last').after(product_variations.removeClass('hidden'))
SERVICE_PRODUCT_TYPE = "service_product"
# this variables is defined in _variations.html.erb
product_ty... | true | $ ->
form = $('#form-post')
variation_id = 1
product_variations = form.find('#product_variations')
form.find('.content-frame-body > .c-field-group:last').after(product_variations.removeClass('hidden'))
SERVICE_PRODUCT_TYPE = "service_product"
# this variables is defined in _variations.html.erb
product_ty... |
[
{
"context": "g_out: \"Logga Ut\"\n play: \"Spela\"\n editor: \"Nivåredigerare\"\n blog: \"Blogg\"\n forum: \"Forum\"\n admin: ",
"end": 370,
"score": 0.605685830116272,
"start": 357,
"tag": "NAME",
"value": "ivåredigerare"
},
{
"context": " home: \"Hem\"\n contrib... | app/locale/sv.coffee | lwatiker/codecombat | 1 | module.exports = nativeDescription: "Svenska", englishDescription: "Swedish", translation:
common:
loading: "Laddar..."
modal:
close: "Stäng"
okay: "Okej"
not_found:
page_not_found: "Sidan kan inte hittas"
nav:
# Header
sign_up: "Skapa Konto"
log_in: "Logga In"
log_out: "Logga... | 197176 | module.exports = nativeDescription: "Svenska", englishDescription: "Swedish", translation:
common:
loading: "Laddar..."
modal:
close: "Stäng"
okay: "Okej"
not_found:
page_not_found: "Sidan kan inte hittas"
nav:
# Header
sign_up: "Skapa Konto"
log_in: "Logga In"
log_out: "Logga... | true | module.exports = nativeDescription: "Svenska", englishDescription: "Swedish", translation:
common:
loading: "Laddar..."
modal:
close: "Stäng"
okay: "Okej"
not_found:
page_not_found: "Sidan kan inte hittas"
nav:
# Header
sign_up: "Skapa Konto"
log_in: "Logga In"
log_out: "Logga... |
[
{
"context": " Classroom(\n {\n _id: \"classroom0\",\n name: \"Teacher Zero's Other Classroom\"\n ownerID: \"teacher0\",\n",
"end": 117,
"score": 0.6132546067237854,
"start": 110,
"tag": "NAME",
"value": "Teacher"
},
{
"context": "e: \"Teacher Zero's Other Classroom\"\n ... | test/app/fixtures/classrooms/empty-classroom.coffee | cihatislamdede/codecombat | 4,858 | Classroom = require 'models/Classroom'
module.exports = new Classroom(
{
_id: "classroom0",
name: "Teacher Zero's Other Classroom"
ownerID: "teacher0",
aceConfig:
language: 'python'
members: []
}
)
| 212911 | Classroom = require 'models/Classroom'
module.exports = new Classroom(
{
_id: "classroom0",
name: "<NAME> Zero's Other Classroom"
ownerID: "teacher0",
aceConfig:
language: 'python'
members: []
}
)
| true | Classroom = require 'models/Classroom'
module.exports = new Classroom(
{
_id: "classroom0",
name: "PI:NAME:<NAME>END_PI Zero's Other Classroom"
ownerID: "teacher0",
aceConfig:
language: 'python'
members: []
}
)
|
[
{
"context": "over.bind 3702, () ->\n discover.addMembership '239.255.255.250'\n\nserver = http\n .createServer listener\n .liste",
"end": 3281,
"score": 0.9996462464332581,
"start": 3266,
"tag": "IP_ADDRESS",
"value": "239.255.255.250"
}
] | test/serverMockup.coffee | jasonItotal/onvif | 1 | http = require 'http'
dgram = require 'dgram'
xml2js = require 'xml2js'
fs = require 'fs'
Buffer = (require 'buffer').Buffer
template = (require 'dot').template
reBody = /<s:Body xmlns:xsi="http:\/\/www.w3.org\/2001\/XMLSchema-instance" xmlns:xsd="http:\/\/www.w3.org\/2001\/XMLSchema">(.*)<\/s:Body>/
reCommand = /<(\S*... | 35341 | http = require 'http'
dgram = require 'dgram'
xml2js = require 'xml2js'
fs = require 'fs'
Buffer = (require 'buffer').Buffer
template = (require 'dot').template
reBody = /<s:Body xmlns:xsi="http:\/\/www.w3.org\/2001\/XMLSchema-instance" xmlns:xsd="http:\/\/www.w3.org\/2001\/XMLSchema">(.*)<\/s:Body>/
reCommand = /<(\S*... | true | http = require 'http'
dgram = require 'dgram'
xml2js = require 'xml2js'
fs = require 'fs'
Buffer = (require 'buffer').Buffer
template = (require 'dot').template
reBody = /<s:Body xmlns:xsi="http:\/\/www.w3.org\/2001\/XMLSchema-instance" xmlns:xsd="http:\/\/www.w3.org\/2001\/XMLSchema">(.*)<\/s:Body>/
reCommand = /<(\S*... |
[
{
"context": "ta =\n title: 'Test Email Job'\n to: 'tj@learnboost.com'\n job = jobs.create('email-to-be-saved', job",
"end": 695,
"score": 0.9999203681945801,
"start": 678,
"tag": "EMAIL",
"value": "tj@learnboost.com"
},
{
"context": "=\n title: 'Test worker... | test/test.coffee | Kinvey/kue | 0 | _ = require 'lodash'
async = require 'async'
should = require 'should'
kue = require '../'
util = require 'util'
describe 'Kue Tests', ->
jobs = null
Job = null
beforeEach ->
jobs = kue.createQueue({promotion:{interval:50}})
Job = kue.Job
afterEach (done) ->
jobs.shutdown 50, done
# before (... | 103121 | _ = require 'lodash'
async = require 'async'
should = require 'should'
kue = require '../'
util = require 'util'
describe 'Kue Tests', ->
jobs = null
Job = null
beforeEach ->
jobs = kue.createQueue({promotion:{interval:50}})
Job = kue.Job
afterEach (done) ->
jobs.shutdown 50, done
# before (... | true | _ = require 'lodash'
async = require 'async'
should = require 'should'
kue = require '../'
util = require 'util'
describe 'Kue Tests', ->
jobs = null
Job = null
beforeEach ->
jobs = kue.createQueue({promotion:{interval:50}})
Job = kue.Job
afterEach (done) ->
jobs.shutdown 50, done
# before (... |
[
{
"context": ".0.0\n@file KeyboardShortcut.js\n@author Welington Sampaio (http://welington.zaez.net/)\n@contact http://",
"end": 149,
"score": 0.9998942613601685,
"start": 132,
"tag": "NAME",
"value": "Welington Sampaio"
},
{
"context": "ut são executados\n ###\n se... | vendor/assets/javascripts/joker/KeyboardShortcut.coffee | zaeznet/joker-rails | 0 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file KeyboardShortcut.js
@author Welington Sampaio (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file i... | 198064 | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file KeyboardShortcut.js
@author <NAME> (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source file is free soft... | true | ###
@summary Joker
@description Framework of RIAs applications
@version 1.0.0
@file KeyboardShortcut.js
@author PI:NAME:<NAME>END_PI (http://welington.zaez.net/)
@contact http://jokerjs.zaez.net/contato
@copyright Copyright 2013 Zaez Solucoes em Tecnologia, all rights reserved.
This source fil... |
[
{
"context": "# Copyright(c) 2015 Christopher Rueber <crueber@gmail.com>\n# MIT Licensed\n\nclass Circuit",
"end": 38,
"score": 0.9998832941055298,
"start": 20,
"tag": "NAME",
"value": "Christopher Rueber"
},
{
"context": "# Copyright(c) 2015 Christopher Rueber <crueber@gmail.com>\n#... | src/circuit-breaker-timeout.coffee | crueber/SimpleCircuitBreaker | 0 | # Copyright(c) 2015 Christopher Rueber <crueber@gmail.com>
# MIT Licensed
class CircuitBreakerTimeout extends Error
name: 'CircuitBreakerTimeout'
message: 'Circuit Breaker Timed Out'
constructor: (@message) ->
module.exports = CircuitBreakerTimeout
| 118057 | # Copyright(c) 2015 <NAME> <<EMAIL>>
# MIT Licensed
class CircuitBreakerTimeout extends Error
name: 'CircuitBreakerTimeout'
message: 'Circuit Breaker Timed Out'
constructor: (@message) ->
module.exports = CircuitBreakerTimeout
| true | # Copyright(c) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MIT Licensed
class CircuitBreakerTimeout extends Error
name: 'CircuitBreakerTimeout'
message: 'Circuit Breaker Timed Out'
constructor: (@message) ->
module.exports = CircuitBreakerTimeout
|
[
{
"context": "verview No color literals used in styles\n# @author Aaron Greenwald\n###\n\n'use strict'\n\n# ----------------------------",
"end": 79,
"score": 0.9997555017471313,
"start": 64,
"tag": "NAME",
"value": "Aaron Greenwald"
}
] | src/tests/rules/no-color-literals.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview No color literals used in styles
# @author Aaron Greenwald
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no-color-litera... | 41511 | ###*
# @fileoverview No color literals used in styles
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no-color-literals'
{Rule... | true | ###*
# @fileoverview No color literals used in styles
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/no-color-l... |
[
{
"context": "eforeEach ->\n process.env.MAILCHIMP_API_KEY = 'foo123bar456baz-us'\n process.env.MAILCHIMP_LIST_ID = '123foo456'\n",
"end": 284,
"score": 0.9996358752250671,
"start": 266,
"tag": "KEY",
"value": "foo123bar456baz-us"
},
{
"context": "ise (resolve, reject) ->\n ... | test/mailchimp_test.coffee | hubot-scripts/hubot-mailchimp | 9 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
fs = require 'fs'
expect = chai.expect
helper = new Helper('../src/mailchimp.coffee')
describe 'mailchimp basic operations', ->
beforeEach ->
process.env.MAILCHIMP_API_KEY = 'foo123bar456baz-us'
process.env.MAILCHIMP_LIST_ID ... | 206206 | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
fs = require 'fs'
expect = chai.expect
helper = new Helper('../src/mailchimp.coffee')
describe 'mailchimp basic operations', ->
beforeEach ->
process.env.MAILCHIMP_API_KEY = '<KEY>'
process.env.MAILCHIMP_LIST_ID = '123foo456'... | true | Helper = require('hubot-test-helper')
chai = require 'chai'
nock = require 'nock'
fs = require 'fs'
expect = chai.expect
helper = new Helper('../src/mailchimp.coffee')
describe 'mailchimp basic operations', ->
beforeEach ->
process.env.MAILCHIMP_API_KEY = 'PI:KEY:<KEY>END_PI'
process.env.MAILCHIMP_LIST_ID ... |
[
{
"context": "Creator.Reports.contact_matrix =\n\tname: \"Contact List\"\n\tobject_name: \"contacts\"\n\treport_type: \"mat",
"end": 48,
"score": 0.9479721784591675,
"start": 41,
"tag": "NAME",
"value": "Contact"
},
{
"context": "Creator.Reports.contact_matrix =\n\tname: \"Contact Li... | packages/steedos-app-crm/reports/contact.coffee | zonglu233/fuel-car | 42 | Creator.Reports.contact_matrix =
name: "Contact List"
object_name: "contacts"
report_type: "matrix"
filter_scope: "space"
filters: []
columns: ["created"]
rows: ["company.name"]
values: [{
label: '关联数量'
field: "name"
operation: "count"
}]
Creator.Reports.contact_summary =
name: "Contact List"
object_n... | 58651 | Creator.Reports.contact_matrix =
name: "<NAME> <NAME>"
object_name: "contacts"
report_type: "matrix"
filter_scope: "space"
filters: []
columns: ["created"]
rows: ["company.name"]
values: [{
label: '关联数量'
field: "name"
operation: "count"
}]
Creator.Reports.contact_summary =
name: "<NAME> <NAME>"
object... | true | Creator.Reports.contact_matrix =
name: "PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI"
object_name: "contacts"
report_type: "matrix"
filter_scope: "space"
filters: []
columns: ["created"]
rows: ["company.name"]
values: [{
label: '关联数量'
field: "name"
operation: "count"
}]
Creator.Reports.contact_summary =
n... |
[
{
"context": "and alerts when conditions are met\n#\n# Author:\n# zack-hable\n#\nschedule = require('node-schedule')\n{WebClient}",
"end": 1675,
"score": 0.9992268681526184,
"start": 1665,
"tag": "USERNAME",
"value": "zack-hable"
},
{
"context": "WebClient} = require \"@slack/clien... | src/active-mq.coffee | zack-hable/hubot-active-mq | 0 | # Description:
# Interact with your Active MQ server
#
# Dependencies:
# node-schedule
#
# Configuration:
# HUBOT_ACTIVE_MQ_URL
# HUBOT_ACTIVE_MQ_AUTH
# HUBOT_ACTIVE_MQ_BROKER
# HUBOT_ACTIVE_MQ_{1-N}_URL
# HUBOT_ACTIVE_MQ_{1-N}_AUTH
# HUBOT_ACTIVE_MQ_{1-N}_BROKER
#
# Auth should be in the "user:passwo... | 35669 | # Description:
# Interact with your Active MQ server
#
# Dependencies:
# node-schedule
#
# Configuration:
# HUBOT_ACTIVE_MQ_URL
# HUBOT_ACTIVE_MQ_AUTH
# HUBOT_ACTIVE_MQ_BROKER
# HUBOT_ACTIVE_MQ_{1-N}_URL
# HUBOT_ACTIVE_MQ_{1-N}_AUTH
# HUBOT_ACTIVE_MQ_{1-N}_BROKER
#
# Auth should be in the "user:passwo... | true | # Description:
# Interact with your Active MQ server
#
# Dependencies:
# node-schedule
#
# Configuration:
# HUBOT_ACTIVE_MQ_URL
# HUBOT_ACTIVE_MQ_AUTH
# HUBOT_ACTIVE_MQ_BROKER
# HUBOT_ACTIVE_MQ_{1-N}_URL
# HUBOT_ACTIVE_MQ_{1-N}_AUTH
# HUBOT_ACTIVE_MQ_{1-N}_BROKER
#
# Auth should be in the "user:passwo... |
[
{
"context": "k) ->\n callback\n data: fullName: 'Chuck Norris'\n\n describe 'getDictionary', ->\n it 'should r",
"end": 416,
"score": 0.9998502731323242,
"start": 404,
"tag": "NAME",
"value": "Chuck Norris"
},
{
"context": "tDict) ->\n expect(builtDict['{m... | client/src/common/services/dynamic-fields.test.coffee | MollardMichael/scrumble | 27 | describe 'dynamicFields', ->
beforeEach module 'Scrumble.common'
beforeEach inject (
dynamicFields,
$rootScope,
sprintUtils,
trelloUtils
TrelloClient
) ->
@dynamicFields = dynamicFields
@$rootScope = $rootScope
@sprintUtils = sprintUtils
@trelloUtils = trelloUtils
TrelloCl... | 47716 | describe 'dynamicFields', ->
beforeEach module 'Scrumble.common'
beforeEach inject (
dynamicFields,
$rootScope,
sprintUtils,
trelloUtils
TrelloClient
) ->
@dynamicFields = dynamicFields
@$rootScope = $rootScope
@sprintUtils = sprintUtils
@trelloUtils = trelloUtils
TrelloCl... | true | describe 'dynamicFields', ->
beforeEach module 'Scrumble.common'
beforeEach inject (
dynamicFields,
$rootScope,
sprintUtils,
trelloUtils
TrelloClient
) ->
@dynamicFields = dynamicFields
@$rootScope = $rootScope
@sprintUtils = sprintUtils
@trelloUtils = trelloUtils
TrelloCl... |
[
{
"context": "to the user via the jQuery Noty plugin\n#\n# @author Marten Seemann <martenseemann@gmail.com>\n# @see http://needim.gi",
"end": 98,
"score": 0.9998373985290527,
"start": 84,
"tag": "NAME",
"value": "Marten Seemann"
},
{
"context": "he jQuery Noty plugin\n#\n# @author Ma... | assets/js/src/notification_handler.coffee | marten-seemann/oxid-lager-manager | 0 | # handle notifications displayed to the user via the jQuery Noty plugin
#
# @author Marten Seemann <martenseemann@gmail.com>
# @see http://needim.github.com/noty/
"use strict"
class window.NotificationHandler
# Constructor
#
# will instantaneously display the loading notification, if neccessary
#
# @param [B... | 46615 | # handle notifications displayed to the user via the jQuery Noty plugin
#
# @author <NAME> <<EMAIL>>
# @see http://needim.github.com/noty/
"use strict"
class window.NotificationHandler
# Constructor
#
# will instantaneously display the loading notification, if neccessary
#
# @param [Boolean] loading_state sh... | true | # handle notifications displayed to the user via the jQuery Noty plugin
#
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @see http://needim.github.com/noty/
"use strict"
class window.NotificationHandler
# Constructor
#
# will instantaneously display the loading notification, if neccessary
#
# @par... |
[
{
"context": "rent time as seed.\n constructor: (@seed) ->\n # Knuth and Lewis' improvements to Park and Miller's LCPR",
"end": 213,
"score": 0.6707061529159546,
"start": 208,
"tag": "NAME",
"value": "Knuth"
},
{
"context": " seed.\n constructor: (@seed) ->\n # Knuth and Lewi... | app/lib/world/rand.coffee | gugumiao/codecombat | 2 | # http://coffeescriptcookbook.com/chapters/math/generating-predictable-random-numbers
class Rand
@className: 'Rand'
# If created without a seed, uses current time as seed.
constructor: (@seed) ->
# Knuth and Lewis' improvements to Park and Miller's LCPRNG
@multiplier = 1664525
@modulo = 4294967296 # 2... | 10094 | # http://coffeescriptcookbook.com/chapters/math/generating-predictable-random-numbers
class Rand
@className: 'Rand'
# If created without a seed, uses current time as seed.
constructor: (@seed) ->
# <NAME> and L<NAME>' improvements to Park and Miller's LCPRNG
@multiplier = 1664525
@modulo = 4294967296 ... | true | # http://coffeescriptcookbook.com/chapters/math/generating-predictable-random-numbers
class Rand
@className: 'Rand'
# If created without a seed, uses current time as seed.
constructor: (@seed) ->
# PI:NAME:<NAME>END_PI and LPI:NAME:<NAME>END_PI' improvements to Park and Miller's LCPRNG
@multiplier = 16645... |
[
{
"context": "e to another object in the PDF object heirarchy\nBy Devon Govett\n###\n\nzlib = require 'zlib'\nsetImmediate = setImme",
"end": 103,
"score": 0.9997290372848511,
"start": 91,
"tag": "NAME",
"value": "Devon Govett"
}
] | lib/reference.coffee | goodeggs/pdfkit | 0 | ###
PDFReference - represents a reference to another object in the PDF object heirarchy
By Devon Govett
###
zlib = require 'zlib'
setImmediate = setImmediate ? process.nextTick # backfill for node <0.10
class PDFReference
constructor: (@id, @data = {}) ->
@gen = 0
@stream = null
@finalized... | 97832 | ###
PDFReference - represents a reference to another object in the PDF object heirarchy
By <NAME>
###
zlib = require 'zlib'
setImmediate = setImmediate ? process.nextTick # backfill for node <0.10
class PDFReference
constructor: (@id, @data = {}) ->
@gen = 0
@stream = null
@finalizedStream... | true | ###
PDFReference - represents a reference to another object in the PDF object heirarchy
By PI:NAME:<NAME>END_PI
###
zlib = require 'zlib'
setImmediate = setImmediate ? process.nextTick # backfill for node <0.10
class PDFReference
constructor: (@id, @data = {}) ->
@gen = 0
@stream = null
@f... |
[
{
"context": "ow: 1\n id: 'sdlkfj'\n name: 'calico'\n ,\n flow: 2\n id: ",
"end": 1336,
"score": 0.9104750156402588,
"start": 1330,
"tag": "NAME",
"value": "calico"
},
{
"context": "low: 2\n id: 'ssdf' \n name... | test/home/home-controller-spec.coffee | octoblu/blu-web-room | 1 | describe 'HomeController', ->
beforeEach ->
module 'blu'
inject ($controller, $q, $rootScope) ->
@q = $q
@getTriggers = @q.defer()
@triggerPromise = @q.defer()
@rootScope = $rootScope
@location = path: sinon.stub()
@triggerService =
getTriggers: sinon.stub().return... | 95825 | describe 'HomeController', ->
beforeEach ->
module 'blu'
inject ($controller, $q, $rootScope) ->
@q = $q
@getTriggers = @q.defer()
@triggerPromise = @q.defer()
@rootScope = $rootScope
@location = path: sinon.stub()
@triggerService =
getTriggers: sinon.stub().return... | true | describe 'HomeController', ->
beforeEach ->
module 'blu'
inject ($controller, $q, $rootScope) ->
@q = $q
@getTriggers = @q.defer()
@triggerPromise = @q.defer()
@rootScope = $rootScope
@location = path: sinon.stub()
@triggerService =
getTriggers: sinon.stub().return... |
[
{
"context": "Slack = require('slack-client')\ntoken = 'xoxb-5042459146-mKyVHVNRYWRl80BxTb3Kqftb'\nslack = new Slack(token, true, true)\n\nmakeMentio",
"end": 81,
"score": 0.9993857145309448,
"start": 41,
"tag": "KEY",
"value": "xoxb-5042459146-mKyVHVNRYWRl80BxTb3Kqftb"
}
] | src/slackbot.coffee | mt5225/plmisc | 0 | Slack = require('slack-client')
token = 'xoxb-5042459146-mKyVHVNRYWRl80BxTb3Kqftb'
slack = new Slack(token, true, true)
makeMention = (userId) ->
'<@' + userId + '>'
isDirect = (userId, messageText) ->
userTag = makeMention(userId)
messageText and messageText.length >= userTag.length and messageText.substr(0, u... | 1507 | Slack = require('slack-client')
token = '<KEY>'
slack = new Slack(token, true, true)
makeMention = (userId) ->
'<@' + userId + '>'
isDirect = (userId, messageText) ->
userTag = makeMention(userId)
messageText and messageText.length >= userTag.length and messageText.substr(0, userTag.length) == userTag
# ---
... | true | Slack = require('slack-client')
token = 'PI:KEY:<KEY>END_PI'
slack = new Slack(token, true, true)
makeMention = (userId) ->
'<@' + userId + '>'
isDirect = (userId, messageText) ->
userTag = makeMention(userId)
messageText and messageText.length >= userTag.length and messageText.substr(0, userTag.length) == user... |
[
{
"context": "t\"\n apiEndPoint: \"http://localhost\"\n jwt_secret: \"@#$%@$^^@#%$^#ASsd@#$%@$^^@#%$^#ASsd\"\n session:\n secret: \"Th#Hous#0fD$v!d!5$l!v3\"\n",
"end": 166,
"score": 0.8560214638710022,
"start": 129,
"tag": "KEY",
"value": "\"@#$%@$^^@#%$^#ASsd@#$%@$^^@#%$^#ASsd"
},
... | config/config.test.coffee | mattstone/StarterApp-Server | 0 | config =
appName: "Starter App"
port: 4000
appEndPoint: "http://localhost"
apiEndPoint: "http://localhost"
jwt_secret: "@#$%@$^^@#%$^#ASsd@#$%@$^^@#%$^#ASsd"
session:
secret: "Th#Hous#0fD$v!d!5$l!v3"
permissionLevels: # TODO: move to db
USER: 1
SUBSCRIBER: 2
ADMIN: 2000
mongodb:
uri... | 61561 | config =
appName: "Starter App"
port: 4000
appEndPoint: "http://localhost"
apiEndPoint: "http://localhost"
jwt_secret: <KEY>"
session:
secret: "<KEY>"
permissionLevels: # TODO: move to db
USER: 1
SUBSCRIBER: 2
ADMIN: 2000
mongodb:
uri : "mongodb://localhost/starterapp_test"
redis:... | true | config =
appName: "Starter App"
port: 4000
appEndPoint: "http://localhost"
apiEndPoint: "http://localhost"
jwt_secret: PI:KEY:<KEY>END_PI"
session:
secret: "PI:KEY:<KEY>END_PI"
permissionLevels: # TODO: move to db
USER: 1
SUBSCRIBER: 2
ADMIN: 2000
mongodb:
uri : "mongodb://localhost... |
[
{
"context": " attributes: {\n config: {}\n name: \"Unnamed\"\n }\n }\n\n App.server.create_doc(msg)\n ",
"end": 752,
"score": 0.8360385894775391,
"start": 745,
"tag": "NAME",
"value": "Unnamed"
}
] | cmdr_web/src/scripts/views/device_configure.coffee | wesleyan/cmdr-server | 2 | slinky_require('../core.coffee')
slinky_require('configure_list.coffee')
slinky_require('bind_view.coffee')
App.DevicesConfigureView = App.BindView.extend
initialize: () ->
App.rooms.bind "change:selection", @render, this
@configure_list = new App.ConfigureListView(App.devices)
@configure_list.bind "add"... | 65259 | slinky_require('../core.coffee')
slinky_require('configure_list.coffee')
slinky_require('bind_view.coffee')
App.DevicesConfigureView = App.BindView.extend
initialize: () ->
App.rooms.bind "change:selection", @render, this
@configure_list = new App.ConfigureListView(App.devices)
@configure_list.bind "add"... | true | slinky_require('../core.coffee')
slinky_require('configure_list.coffee')
slinky_require('bind_view.coffee')
App.DevicesConfigureView = App.BindView.extend
initialize: () ->
App.rooms.bind "change:selection", @render, this
@configure_list = new App.ConfigureListView(App.devices)
@configure_list.bind "add"... |
[
{
"context": " if @directory == \"\"\n @directory = \"/home/#{@username}\"\n\n super( @alias, @hostname, @directory, @u",
"end": 1150,
"score": 0.8309915065765381,
"start": 1141,
"tag": "USERNAME",
"value": "@username"
},
{
"context": "e}\"\n\n super( @alias, @hostna... | lib/model/sftp-host.coffee | urban-1/remote-edit-ni | 0 | Host = require './host'
RemoteFile = require './remote-file'
LocalFile = require './local-file'
Dialog = require '../view/dialog'
fs = require 'fs-plus'
ssh2 = require 'ssh2'
async = require 'async'
util = require 'util'
filesize = require 'file-size'
moment = require 'moment'
Serializable = require 'serializable'
Pat... | 147099 | Host = require './host'
RemoteFile = require './remote-file'
LocalFile = require './local-file'
Dialog = require '../view/dialog'
fs = require 'fs-plus'
ssh2 = require 'ssh2'
async = require 'async'
util = require 'util'
filesize = require 'file-size'
moment = require 'moment'
Serializable = require 'serializable'
Pat... | true | Host = require './host'
RemoteFile = require './remote-file'
LocalFile = require './local-file'
Dialog = require '../view/dialog'
fs = require 'fs-plus'
ssh2 = require 'ssh2'
async = require 'async'
util = require 'util'
filesize = require 'file-size'
moment = require 'moment'
Serializable = require 'serializable'
Pat... |
[
{
"context": " subjectCache: 1\n quiz:\n invitationId: '502bfa73516bcb3c600003e9'\n workflowId: '502a70",
"end": 1220,
"score": 0.6278331279754639,
"start": 1219,
"tag": "KEY",
"value": "5"
},
{
"context": " subjectCache: 1\n quiz:\n invitationId: '502bfa73516... | app/lib/config.coffee | murraycu/Galaxy-Zoo | 16 | Config =
test:
quizzesActive: false
apiHost: null
surveys:
candels:
id: '50217561516bcb0fda00000d'
workflowId: '50217499516bcb0fda000003'
sloan:
id: '50217561516bcb0fda00000e'
workflowId: '50217499516bcb0fda000002'
ukidss:
id: '5244909c3ae7402d5300... | 130531 | Config =
test:
quizzesActive: false
apiHost: null
surveys:
candels:
id: '50217561516bcb0fda00000d'
workflowId: '50217499516bcb0fda000003'
sloan:
id: '50217561516bcb0fda00000e'
workflowId: '50217499516bcb0fda000002'
ukidss:
id: '5244909c3ae7402d5300... | true | Config =
test:
quizzesActive: false
apiHost: null
surveys:
candels:
id: '50217561516bcb0fda00000d'
workflowId: '50217499516bcb0fda000003'
sloan:
id: '50217561516bcb0fda00000e'
workflowId: '50217499516bcb0fda000002'
ukidss:
id: '5244909c3ae7402d5300... |
[
{
"context": "Hello world wbox\"\n\n $scope.user =\n name: \"Wbox\"\n phone: \"12312312\"\n\n $scope.click = -",
"end": 157,
"score": 0.5139504075050354,
"start": 156,
"tag": "NAME",
"value": "W"
},
{
"context": "ello world wbox\"\n\n $scope.user =\n name: \"W... | app/assets/javascripts/wbox/controllers.coffee | arakcheev/console | 0 | define ['./services'], (services)->
"use strict"
WboxCtrl = ($scope,WboxFactory) ->
console.log "Hello world wbox"
$scope.user =
name: "Wbox"
phone: "12312312"
$scope.click = ->
WboxFactory.getUser().then(
(data) =>
console.debug "Promise returned #{data}"
,
... | 12852 | define ['./services'], (services)->
"use strict"
WboxCtrl = ($scope,WboxFactory) ->
console.log "Hello world wbox"
$scope.user =
name: "<NAME>box"
phone: "12312312"
$scope.click = ->
WboxFactory.getUser().then(
(data) =>
console.debug "Promise returned #{data}"
... | true | define ['./services'], (services)->
"use strict"
WboxCtrl = ($scope,WboxFactory) ->
console.log "Hello world wbox"
$scope.user =
name: "PI:NAME:<NAME>END_PIbox"
phone: "12312312"
$scope.click = ->
WboxFactory.getUser().then(
(data) =>
console.debug "Promise returne... |
[
{
"context": "###\nThe MIT License (MIT)\n\nCopyright (c) 2013 Michael Bertolacci\n\nPermission is hereby granted, free of charge, to",
"end": 64,
"score": 0.9997471570968628,
"start": 46,
"tag": "NAME",
"value": "Michael Bertolacci"
},
{
"context": "e for this service is <a href=\"h... | web.coffee | Delzon/lorem-rss-with-images | 1 | ###
The MIT License (MIT)
Copyright (c) 2013 Michael Bertolacci
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, ... | 221722 | ###
The MIT License (MIT)
Copyright (c) 2013 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publi... | true | ###
The MIT License (MIT)
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify... |
[
{
"context": " Component _.extend {}, @props,\n key: \"edit-group-#{key}\"\n onUpdate: @onUpdate\n DOM.",
"end": 1929,
"score": 0.9929641485214233,
"start": 1916,
"tag": "KEY",
"value": "edit-group-#{"
},
{
"context": "end {}, @props,\n key: \"... | src/components/edit.coffee | brianshaler/kerplunk-group | 0 | _ = require 'lodash'
React = require 'react'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
group: @props.group
identities: @props.group.identities
identityToAdd: null
selectIdentityToAdd: (identity) ->
@setState
identityToAdd: identity
addIdenti... | 23816 | _ = require 'lodash'
React = require 'react'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
group: @props.group
identities: @props.group.identities
identityToAdd: null
selectIdentityToAdd: (identity) ->
@setState
identityToAdd: identity
addIdenti... | true | _ = require 'lodash'
React = require 'react'
{DOM} = React
module.exports = React.createFactory React.createClass
getInitialState: ->
group: @props.group
identities: @props.group.identities
identityToAdd: null
selectIdentityToAdd: (identity) ->
@setState
identityToAdd: identity
addIdenti... |
[
{
"context": "e\n\n\tgetDisplay: =>\n\t\tnew LocaButton\n\t\t\tloca_key: \"example.tray.app.button\"\n\t\t\tonClick: =>\n\t\t\t\tCUI.alert(text: $$(\"example.t",
"end": 153,
"score": 0.9791451096534729,
"start": 130,
"tag": "KEY",
"value": "example.tray.app.button"
}
] | src/webfrontend/ExampleTrayApp.coffee | programmfabrik/easydb-example-plugin | 0 | class ExampleTrayApp extends TrayApp
is_allowed: =>
# always allow this
true
getDisplay: =>
new LocaButton
loca_key: "example.tray.app.button"
onClick: =>
CUI.alert(text: $$("example.tray.app.thank_you.md"), markdown: true)
ez5.session_ready ->
ez5.tray.registerApp(new ExampleTrayApp())
| 65374 | class ExampleTrayApp extends TrayApp
is_allowed: =>
# always allow this
true
getDisplay: =>
new LocaButton
loca_key: "<KEY>"
onClick: =>
CUI.alert(text: $$("example.tray.app.thank_you.md"), markdown: true)
ez5.session_ready ->
ez5.tray.registerApp(new ExampleTrayApp())
| true | class ExampleTrayApp extends TrayApp
is_allowed: =>
# always allow this
true
getDisplay: =>
new LocaButton
loca_key: "PI:KEY:<KEY>END_PI"
onClick: =>
CUI.alert(text: $$("example.tray.app.thank_you.md"), markdown: true)
ez5.session_ready ->
ez5.tray.registerApp(new ExampleTrayApp())
|
[
{
"context": "uth: (username, password) ->\n credentials = \"#{username}:#{password}\"\n basicCredentials = new Buffer(credentials",
"end": 3870,
"score": 0.9685224890708923,
"start": 3845,
"tag": "KEY",
"value": "\"#{username}:#{password}\""
}
] | main.coffee | poupotte/request-json | 0 | FormData = require "form-data"
fs = require "fs"
url = require "url"
http = require 'http'
https = require 'https'
mime = require "mime"
# Merge two objects in one. Values from the second object win over the first
# one.
merge = (obj1, obj2) ->
result = {}
result[key] = obj1[key] for key of obj1
if obj2?
... | 220601 | FormData = require "form-data"
fs = require "fs"
url = require "url"
http = require 'http'
https = require 'https'
mime = require "mime"
# Merge two objects in one. Values from the second object win over the first
# one.
merge = (obj1, obj2) ->
result = {}
result[key] = obj1[key] for key of obj1
if obj2?
... | true | FormData = require "form-data"
fs = require "fs"
url = require "url"
http = require 'http'
https = require 'https'
mime = require "mime"
# Merge two objects in one. Values from the second object win over the first
# one.
merge = (obj1, obj2) ->
result = {}
result[key] = obj1[key] for key of obj1
if obj2?
... |
[
{
"context": "window.hello).toBeDefined()\n expect(hello? 'Boris').toEqual 'Hello, Boris'\n\n it 'loads helper', ->",
"end": 120,
"score": 0.8319947719573975,
"start": 118,
"tag": "NAME",
"value": "is"
},
{
"context": "fined()\n expect(hello? 'Boris').toEqual 'Hello, Boris'\n\... | node_modules/grunt-contrib-testem/spec/basic/spec.coffee | dehuszar/resume-builder-fe | 1 | describe 'Environment', ->
it 'loads vendored js', ->
expect(window.hello).toBeDefined()
expect(hello? 'Boris').toEqual 'Hello, Boris'
it 'loads helper', ->
expect(window.helper).toBeDefined()
expect(helper?()).toEqual 'helper' | 67644 | describe 'Environment', ->
it 'loads vendored js', ->
expect(window.hello).toBeDefined()
expect(hello? 'Bor<NAME>').toEqual 'Hello, <NAME>'
it 'loads helper', ->
expect(window.helper).toBeDefined()
expect(helper?()).toEqual 'helper' | true | describe 'Environment', ->
it 'loads vendored js', ->
expect(window.hello).toBeDefined()
expect(hello? 'BorPI:NAME:<NAME>END_PI').toEqual 'Hello, PI:NAME:<NAME>END_PI'
it 'loads helper', ->
expect(window.helper).toBeDefined()
expect(helper?()).toEqual 'helper' |
[
{
"context": " email: email\n password: password\n timezone: timezone\n checkA",
"end": 856,
"score": 0.9980210661888123,
"start": 848,
"tag": "PASSWORD",
"value": "password"
},
{
"context": " return new AuthError(\"Wrong passw... | src/server/auth/controller.coffee | robintibor/rizzoma | 2 | async = require('async')
Conf = require('../conf').Conf
AuthCouchProcessor = require('./couch_processor').AuthCouchProcessor
UserCouchProcessor = require('../user/couch_processor').UserCouchProcessor
WelcomeWaveBuilder = require('../wave/welcome_wave').WelcomeWaveBuilder
MergeController = require('../user/merge_control... | 59342 | async = require('async')
Conf = require('../conf').Conf
AuthCouchProcessor = require('./couch_processor').AuthCouchProcessor
UserCouchProcessor = require('../user/couch_processor').UserCouchProcessor
WelcomeWaveBuilder = require('../wave/welcome_wave').WelcomeWaveBuilder
MergeController = require('../user/merge_control... | true | async = require('async')
Conf = require('../conf').Conf
AuthCouchProcessor = require('./couch_processor').AuthCouchProcessor
UserCouchProcessor = require('../user/couch_processor').UserCouchProcessor
WelcomeWaveBuilder = require('../wave/welcome_wave').WelcomeWaveBuilder
MergeController = require('../user/merge_control... |
[
{
"context": ".Batch)\n for j in [0...batchSize]\n key = \"row#{i}\"\n value = JSON.stringify\n index: i\n ",
"end": 503,
"score": 0.9987562894821167,
"start": 495,
"tag": "KEY",
"value": "row#{i}\""
},
{
"context": " = JSON.stringify\n index: i\n ... | demo/write-read.coffee | kyledrake/node-leveldb | 1 | assert = require 'assert'
leveldb = require '../lib'
console.log 'Creating test database'
path = '/tmp/wr.db'
batchSize = 100
totalSize = 100000
leveldb.open path, create_if_missing: true, (err, db) ->
assert.ifError err
start = Date.now()
i = 0
writeBenchStart = ->
console.log 'Serializing and insert... | 14266 | assert = require 'assert'
leveldb = require '../lib'
console.log 'Creating test database'
path = '/tmp/wr.db'
batchSize = 100
totalSize = 100000
leveldb.open path, create_if_missing: true, (err, db) ->
assert.ifError err
start = Date.now()
i = 0
writeBenchStart = ->
console.log 'Serializing and insert... | true | assert = require 'assert'
leveldb = require '../lib'
console.log 'Creating test database'
path = '/tmp/wr.db'
batchSize = 100
totalSize = 100000
leveldb.open path, create_if_missing: true, (err, db) ->
assert.ifError err
start = Date.now()
i = 0
writeBenchStart = ->
console.log 'Serializing and insert... |
[
{
"context": "me) \"top message\" \"bottom message\"\n#\n# Author:\n# lilybethshields\n# waynegraham\n\nUtil = require 'util'\n\nmemes =\n ",
"end": 242,
"score": 0.9992920160293579,
"start": 227,
"tag": "USERNAME",
"value": "lilybethshields"
},
{
"context": "ottom message\"\n#\n... | node_modules/hubot-memes/src/memes.coffee | shashankredemption/shitpostbot | 4 | # Description:
# Meme generator
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot meme list - List of memes and their codes
# hubot meme me (meme) "top message" "bottom message"
#
# Author:
# lilybethshields
# waynegraham
Util = require 'util'
memes =
"afraid": "'Afraid to Ask'"... | 182970 | # Description:
# Meme generator
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot meme list - List of memes and their codes
# hubot meme me (meme) "top message" "bottom message"
#
# Author:
# lilybethshields
# waynegraham
Util = require 'util'
memes =
"afraid": "'Afraid to Ask'"... | true | # Description:
# Meme generator
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot meme list - List of memes and their codes
# hubot meme me (meme) "top message" "bottom message"
#
# Author:
# lilybethshields
# waynegraham
Util = require 'util'
memes =
"afraid": "'Afraid to Ask'"... |
[
{
"context": "cle: \"the \" }\n cards:\n mustard: { name: \"Colonel Mustard\", type: \"suspect\" }\n white: { name: \"Mr",
"end": 930,
"score": 0.9995312690734863,
"start": 915,
"tag": "NAME",
"value": "Colonel Mustard"
},
{
"context": "rd\", type: \"suspect\" }\n ... | cs/App.coffee | jambolo/NotAClue | 0 | `
import Solver from './Solver'
import AccuseDialog from './AccuseDialog'
import CommlinkDialog from './CommlinkDialog'
import ConfirmDialog from './ConfirmDialog'
import ExportDialog from './ExportDialog'
import HandDialog from './HandDialog'
import ImportDialog from './ImportDialog'
import LogDialog from './LogDialo... | 141058 | `
import Solver from './Solver'
import AccuseDialog from './AccuseDialog'
import CommlinkDialog from './CommlinkDialog'
import ConfirmDialog from './ConfirmDialog'
import ExportDialog from './ExportDialog'
import HandDialog from './HandDialog'
import ImportDialog from './ImportDialog'
import LogDialog from './LogDialo... | true | `
import Solver from './Solver'
import AccuseDialog from './AccuseDialog'
import CommlinkDialog from './CommlinkDialog'
import ConfirmDialog from './ConfirmDialog'
import ExportDialog from './ExportDialog'
import HandDialog from './HandDialog'
import ImportDialog from './ImportDialog'
import LogDialog from './LogDialo... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9992899298667908,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-net-pipe-connect-errors.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... | 172399 | # 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": "send a form's data via AJAX regularly.\n\n Copyright Javi <elretirao@elretirao.net>\n This plugin is free so",
"end": 106,
"score": 0.9992444515228271,
"start": 102,
"tag": "NAME",
"value": "Javi"
},
{
"context": "form's data via AJAX regularly.\n\n Copyright Javi <elre... | app/assets/javascripts/jquery.autosave_form.js.coffee | javierv/41cero10asesores | 0 | ###
Autosave form is a wrapper for jQuery.form to send a form's data via AJAX regularly.
Copyright Javi <elretirao@elretirao.net>
This plugin is free software. See http://docs.jquery.com/License for conditions.
###
jQuery.fn.autosaveForm = (options) ->
defaults =
interval: 120000
jQuery.extend(defaults, ... | 197124 | ###
Autosave form is a wrapper for jQuery.form to send a form's data via AJAX regularly.
Copyright <NAME> <<EMAIL>>
This plugin is free software. See http://docs.jquery.com/License for conditions.
###
jQuery.fn.autosaveForm = (options) ->
defaults =
interval: 120000
jQuery.extend(defaults, options)
th... | true | ###
Autosave form is a wrapper for jQuery.form to send a form's data via AJAX regularly.
Copyright PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
This plugin is free software. See http://docs.jquery.com/License for conditions.
###
jQuery.fn.autosaveForm = (options) ->
defaults =
interval: 120000
jQuery.ex... |
[
{
"context": " 1\n\tslug: 'fincm3'\n\taliases: [ 'fincm3' ]\n\tname: 'Balena Fin (CM3)'\n\tarch: 'armv7hf'\n\tstate: 'released'\n\n\tinst",
"end": 682,
"score": 0.9264607429504395,
"start": 672,
"tag": "NAME",
"value": "Balena Fin"
}
] | fincm3.coffee | mfiumara/balena-raspberrypi | 0 | deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
FIN_DEBUG = "While not having the Fin board powered, connect your system to the board's DBG/PRG port via a micro-USB cable.."
FIN_POWER = "Power on the Fin by attaching power to either the Barrel... | 166248 | deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
FIN_DEBUG = "While not having the Fin board powered, connect your system to the board's DBG/PRG port via a micro-USB cable.."
FIN_POWER = "Power on the Fin by attaching power to either the Barrel... | true | deviceTypesCommon = require '@resin.io/device-types/common'
{ networkOptions, commonImg, instructions } = deviceTypesCommon
FIN_DEBUG = "While not having the Fin board powered, connect your system to the board's DBG/PRG port via a micro-USB cable.."
FIN_POWER = "Power on the Fin by attaching power to either the Barrel... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998857378959656,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Component/DependencyInjection/ServiceContainer.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
filesystem = use('fs')
GLOBAL_SERVICES = use('/app/config/services')
KERNEL_SERVICES =... | 81121 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
filesystem = use('fs')
GLOBAL_SERVICES = use('/app/config/services')
KERNEL_SERVICES = use('@Konsserto/Com... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
filesystem = use('fs')
GLOBAL_SERVICES = use('/app/config/services')
KERNEL_S... |
[
{
"context": " [{\n id: '1'\n key: 'f1'\n value: { type: 'link' }\n ",
"end": 584,
"score": 0.7747559547424316,
"start": 582,
"tag": "KEY",
"value": "f1"
},
{
"context": "{\n id: 'f1'\n key: 'f1'\n ... | src/tests/server/file/test_file_cleaner.coffee | LaPingvino/rizzoma | 88 | sinon = require('sinon-plus')
testCase = require('nodeunit').testCase
FileCleaner = require('../../../server/file/file_cleaner').FileCleaner
dataprovider = require('dataprovider')
module.exports =
FileCleanerTest: testCase
setUp: (callback) ->
@fileCleaner = new FileCleaner
callback... | 3267 | sinon = require('sinon-plus')
testCase = require('nodeunit').testCase
FileCleaner = require('../../../server/file/file_cleaner').FileCleaner
dataprovider = require('dataprovider')
module.exports =
FileCleanerTest: testCase
setUp: (callback) ->
@fileCleaner = new FileCleaner
callback... | true | sinon = require('sinon-plus')
testCase = require('nodeunit').testCase
FileCleaner = require('../../../server/file/file_cleaner').FileCleaner
dataprovider = require('dataprovider')
module.exports =
FileCleanerTest: testCase
setUp: (callback) ->
@fileCleaner = new FileCleaner
callback... |
[
{
"context": "setCardSetId(CardSet.Coreshatter)\n\t\t\tcard.name = \"Hideatsu the Ebon Ox\"\n\t\t\tcard.setDescription(\"Trial: Summon 7 minions ",
"end": 4312,
"score": 0.9913462400436401,
"start": 4292,
"tag": "NAME",
"value": "Hideatsu the Ebon Ox"
},
{
"context": "ard.factionId =... | app/sdk/cards/factory/coreshatter/faction2.coffee | willroberts/duelyst | 5 | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... | 15760 | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... | true | # do not add this file to a package
# it is specifically parsed by the package generation script
_ = require 'underscore'
moment = require 'moment'
Logger = require 'app/common/logger'
CONFIG = require('app/common/config')
RSX = require('app/data/resources')
Card = require 'app/sdk/cards/card'
Cards = require 'app/... |
[
{
"context": ": lod curves + phe x gen (as mean +/- 2 SE) plot\n# Karl W Broman\n\niplotScanone_ci = (widgetdiv, lod_data, pxg_data",
"end": 81,
"score": 0.9998399615287781,
"start": 68,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/htmlwidgets/lib/qtlcharts/iplotScanone_ci.coffee | cran/qtlcharts | 64 | # iplotScanone_ci: lod curves + phe x gen (as mean +/- 2 SE) plot
# Karl W Broman
iplotScanone_ci = (widgetdiv, lod_data, pxg_data, chartOpts) ->
markers = (x for x of pxg_data.chrByMarkers)
# chartOpts start
height = chartOpts?.height ? 530 # height of image in pixels
width... | 192713 | # iplotScanone_ci: lod curves + phe x gen (as mean +/- 2 SE) plot
# <NAME>
iplotScanone_ci = (widgetdiv, lod_data, pxg_data, chartOpts) ->
markers = (x for x of pxg_data.chrByMarkers)
# chartOpts start
height = chartOpts?.height ? 530 # height of image in pixels
width = char... | true | # iplotScanone_ci: lod curves + phe x gen (as mean +/- 2 SE) plot
# PI:NAME:<NAME>END_PI
iplotScanone_ci = (widgetdiv, lod_data, pxg_data, chartOpts) ->
markers = (x for x of pxg_data.chrByMarkers)
# chartOpts start
height = chartOpts?.height ? 530 # height of image in pixels
... |
[
{
"context": "ic functionality for our controllers.\n\n @author Sebastian Sachtleben\n###\nclass BaseController\n\n\t# OVERRIDE to register",
"end": 163,
"score": 0.9998833537101746,
"start": 143,
"tag": "NAME",
"value": "Sebastian Sachtleben"
}
] | app/assets/javascripts/engine/controllers/baseController.coffee | ssachtleben/herowar | 1 | app = require 'application'
popup = require 'popup'
###
The BaseController provides basic functionality for our controllers.
@author Sebastian Sachtleben
###
class BaseController
# OVERRIDE to register views, for special behavior just add views to app.views yourself
views: {}
# options is the arguments ... | 209113 | app = require 'application'
popup = require 'popup'
###
The BaseController provides basic functionality for our controllers.
@author <NAME>
###
class BaseController
# OVERRIDE to register views, for special behavior just add views to app.views yourself
views: {}
# options is the arguments array passed f... | true | app = require 'application'
popup = require 'popup'
###
The BaseController provides basic functionality for our controllers.
@author PI:NAME:<NAME>END_PI
###
class BaseController
# OVERRIDE to register views, for special behavior just add views to app.views yourself
views: {}
# options is the arguments ... |
[
{
"context": "# @author Gianluigi Mango\n# Comment Model\nmongoose = require 'mongoose'\n\nmo",
"end": 25,
"score": 0.9998734593391418,
"start": 10,
"tag": "NAME",
"value": "Gianluigi Mango"
}
] | dev/server/models/commentModel.coffee | knickatheart/mean-api | 0 | # @author Gianluigi Mango
# Comment Model
mongoose = require 'mongoose'
module.exports = mongoose.model 'Comment',
mongoose.Schema
parent: String,
data: String,
active: Number,
createdBy: String,
createdAt: String
'comments' | 39290 | # @author <NAME>
# Comment Model
mongoose = require 'mongoose'
module.exports = mongoose.model 'Comment',
mongoose.Schema
parent: String,
data: String,
active: Number,
createdBy: String,
createdAt: String
'comments' | true | # @author PI:NAME:<NAME>END_PI
# Comment Model
mongoose = require 'mongoose'
module.exports = mongoose.model 'Comment',
mongoose.Schema
parent: String,
data: String,
active: Number,
createdBy: String,
createdAt: String
'comments' |
[
{
"context": "hub.com/TrevorBurnham/Jitter\n\n Copyright (c) 2010 Trevor Burnham\n http://iterative.ly\n\n Based on command.coffee ",
"end": 184,
"score": 0.9999106526374817,
"start": 170,
"tag": "NAME",
"value": "Trevor Burnham"
},
{
"context": " http://iterative.ly\n\n Based on... | Workspace/QRef/NodeServer/node_modules/jitter/src/jitter.coffee | qrefdev/qref | 0 | ###
Jitter, a CoffeeScript compilation utility
The latest version and documentation, can be found at:
http://github.com/TrevorBurnham/Jitter
Copyright (c) 2010 Trevor Burnham
http://iterative.ly
Based on command.coffee by Jeremy Ashkenas
http://jashkenas.github.com/coffee-script/documentation/docs/comm... | 13188 | ###
Jitter, a CoffeeScript compilation utility
The latest version and documentation, can be found at:
http://github.com/TrevorBurnham/Jitter
Copyright (c) 2010 <NAME>
http://iterative.ly
Based on command.coffee by <NAME>
http://jashkenas.github.com/coffee-script/documentation/docs/command.html
Growl... | true | ###
Jitter, a CoffeeScript compilation utility
The latest version and documentation, can be found at:
http://github.com/TrevorBurnham/Jitter
Copyright (c) 2010 PI:NAME:<NAME>END_PI
http://iterative.ly
Based on command.coffee by PI:NAME:<NAME>END_PI
http://jashkenas.github.com/coffee-script/documentatio... |
[
{
"context": "esta).to.not.be.ok()\n testAdapter = { name: \"testa\" }\n Opentip.addAdapter testAdapter\n exp",
"end": 15684,
"score": 0.9843653440475464,
"start": 15679,
"tag": "NAME",
"value": "testa"
}
] | test/src/010-opentip.coffee | underscorebrody/opentip | 453 |
$ = jQuery
describe "Opentip", ->
adapter = null
beforeEach ->
adapter = Opentip.adapter
afterEach ->
elements = $(".opentip-container")
elements.remove()
describe "constructor()", ->
before ->
sinon.stub Opentip::, "_setup"
after ->
Opentip::_setup.restore()
it "argumen... | 200564 |
$ = jQuery
describe "Opentip", ->
adapter = null
beforeEach ->
adapter = Opentip.adapter
afterEach ->
elements = $(".opentip-container")
elements.remove()
describe "constructor()", ->
before ->
sinon.stub Opentip::, "_setup"
after ->
Opentip::_setup.restore()
it "argumen... | true |
$ = jQuery
describe "Opentip", ->
adapter = null
beforeEach ->
adapter = Opentip.adapter
afterEach ->
elements = $(".opentip-container")
elements.remove()
describe "constructor()", ->
before ->
sinon.stub Opentip::, "_setup"
after ->
Opentip::_setup.restore()
it "argumen... |
[
{
"context": "'handles unicode strings', (done) ->\n KEY = 'string'\n url_parts = URL.parse(MODEL_URL, true); _.",
"end": 1394,
"score": 0.5929843187332153,
"start": 1388,
"tag": "KEY",
"value": "string"
},
{
"context": " 'handles number strings', (done) ->\n KEY = 'nu... | test/spec/lib/json_utils.tests.coffee | dk-dev/backbone-orm | 54 | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, JSONUtils} = BackboneORM
URL = BackboneORM.modules.url
VALUES =
date: new Date()
string: "日本語"
number: 123456789
number... | 194810 | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, JSONUtils} = BackboneORM
URL = BackboneORM.modules.url
VALUES =
date: new Date()
string: "日本語"
number: 123456789
number... | true | assert = assert or require?('chai').assert
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, JSONUtils} = BackboneORM
URL = BackboneORM.modules.url
VALUES =
date: new Date()
string: "日本語"
number: 123456789
number... |
[
{
"context": "ser, 'expected user'\n user.email.should.eql 'foo@bar.com'\n done()\n",
"end": 1027,
"score": 0.9998416900634766,
"start": 1016,
"tag": "EMAIL",
"value": "foo@bar.com"
}
] | test/seed.coffee | TorchlightSoftware/axiom-mongoose | 0 | {join} = require 'path'
rel = (args...) -> join __dirname, '..', args...
should = require 'should'
axiom = require 'axiom'
_ = require 'lodash'
axiomMongoose = require '..'
describe 'Mongoose Seed', ->
before (done) ->
axiom.wireUpLoggers [{writer: 'console', level: 'warning'}]
axiom.init {timeout: 1200},... | 61752 | {join} = require 'path'
rel = (args...) -> join __dirname, '..', args...
should = require 'should'
axiom = require 'axiom'
_ = require 'lodash'
axiomMongoose = require '..'
describe 'Mongoose Seed', ->
before (done) ->
axiom.wireUpLoggers [{writer: 'console', level: 'warning'}]
axiom.init {timeout: 1200},... | true | {join} = require 'path'
rel = (args...) -> join __dirname, '..', args...
should = require 'should'
axiom = require 'axiom'
_ = require 'lodash'
axiomMongoose = require '..'
describe 'Mongoose Seed', ->
before (done) ->
axiom.wireUpLoggers [{writer: 'console', level: 'warning'}]
axiom.init {timeout: 1200},... |
[
{
"context": ">\n\t\t@manager = {\n\t\t\tid: \"666666\",\n\t\t\tfirst_name: \"Daenerys\"\n\t\t\tlast_name: \"Targaryen\"\n\t\t\temail: \"daenerys@ex",
"end": 455,
"score": 0.9997895359992981,
"start": 447,
"tag": "NAME",
"value": "Daenerys"
},
{
"context": "666666\",\n\t\t\tfirst_nam... | test/unit/coffee/Subscription/TeamInvitesHandlerTests.coffee | davidmehren/web-sharelatex | 0 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
expect = require("chai").expect
querystring = require 'querystring'
modulePath = "../../../../app/js/Features/Subscription/TeamInvitesHandler"
ObjectId = require("mongojs").ObjectId
Errors = require("../../../../app... | 75158 | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
expect = require("chai").expect
querystring = require 'querystring'
modulePath = "../../../../app/js/Features/Subscription/TeamInvitesHandler"
ObjectId = require("mongojs").ObjectId
Errors = require("../../../../app... | true | SandboxedModule = require('sandboxed-module')
should = require('chai').should()
sinon = require 'sinon'
expect = require("chai").expect
querystring = require 'querystring'
modulePath = "../../../../app/js/Features/Subscription/TeamInvitesHandler"
ObjectId = require("mongojs").ObjectId
Errors = require("../../../../app... |
[
{
"context": "sorry I ever had anything to do with it.\n > Erwin Schrödinger, Sorry\n foobar foobar\n foobar\n\n ",
"end": 2276,
"score": 0.9998116493225098,
"start": 2259,
"tag": "NAME",
"value": "Erwin Schrödinger"
},
{
"context": "1\n expect(tokens[2][... | spec/blocks/quote-markdown-grammar-spec.coffee | andrewcarver/atom-language-asciidoc | 45 | describe 'Quotes with Markdown style', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage 'language-asciidoc'
runs ->
grammar = atom.grammars.grammarForScopeName 'source.asciidoc'
it 'parses the grammar', ->
expect(grammar).toBeDefined()
expect(grammar.... | 71043 | describe 'Quotes with Markdown style', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage 'language-asciidoc'
runs ->
grammar = atom.grammars.grammarForScopeName 'source.asciidoc'
it 'parses the grammar', ->
expect(grammar).toBeDefined()
expect(grammar.... | true | describe 'Quotes with Markdown style', ->
grammar = null
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage 'language-asciidoc'
runs ->
grammar = atom.grammars.grammarForScopeName 'source.asciidoc'
it 'parses the grammar', ->
expect(grammar).toBeDefined()
expect(grammar.... |
[
{
"context": " new FormData()\n fd.append('key1', 'value1')\n fd.append('key2', 'value2')\n ",
"end": 2805,
"score": 0.656977653503418,
"start": 2804,
"tag": "KEY",
"value": "1"
},
{
"context": "ey1', 'value1')\n fd.append('key2', 'value2')\n ... | spec_app/spec/javascripts/up/params_spec.coffee | ktec/unpoly | 0 | describe 'up.params', ->
u = up.util
describe 'JavaScript functions', ->
encodeBrackets = (str) ->
str = str.replace(/\[/g, '%5B')
str = str.replace(/\]/g, '%5D')
str
beforeEach ->
jasmine.addMatchers
toEqualAfterEncodingBrackets: (util, customEqualityTesters) ->
... | 50944 | describe 'up.params', ->
u = up.util
describe 'JavaScript functions', ->
encodeBrackets = (str) ->
str = str.replace(/\[/g, '%5B')
str = str.replace(/\]/g, '%5D')
str
beforeEach ->
jasmine.addMatchers
toEqualAfterEncodingBrackets: (util, customEqualityTesters) ->
... | true | describe 'up.params', ->
u = up.util
describe 'JavaScript functions', ->
encodeBrackets = (str) ->
str = str.replace(/\[/g, '%5B')
str = str.replace(/\]/g, '%5D')
str
beforeEach ->
jasmine.addMatchers
toEqualAfterEncodingBrackets: (util, customEqualityTesters) ->
... |
[
{
"context": "###\nTranslation of gist https://gist.github.com/nimasdj/801b0b1a50112ea6a997\nTotal: 1223 extensions as of",
"end": 55,
"score": 0.9994850754737854,
"start": 48,
"tag": "USERNAME",
"value": "nimasdj"
},
{
"context": "']\n 'ttl' : ['text/turtle']\n 'turbot' : ['image/... | src/kermit/util/mimetypes.coffee | open-medicine-initiative/webcherries | 6 | ###
Translation of gist https://gist.github.com/nimasdj/801b0b1a50112ea6a997
Total: 1223 extensions as of 16 November 2015
###
byFileExtension =
'3dm' : ['x-world/x-3dmf']
'3dmf' : ['x-world/x-3dmf']
'3dml' : ['text/vnd.in3d.3dml']
'3ds' : ['image/x-3ds']
'3g2' : ['video/3gpp2']
'3gp' : ['video/3gpp']
'7z... | 101341 | ###
Translation of gist https://gist.github.com/nimasdj/801b0b1a50112ea6a997
Total: 1223 extensions as of 16 November 2015
###
byFileExtension =
'3dm' : ['x-world/x-3dmf']
'3dmf' : ['x-world/x-3dmf']
'3dml' : ['text/vnd.in3d.3dml']
'3ds' : ['image/x-3ds']
'3g2' : ['video/3gpp2']
'3gp' : ['video/3gpp']
'7z... | true | ###
Translation of gist https://gist.github.com/nimasdj/801b0b1a50112ea6a997
Total: 1223 extensions as of 16 November 2015
###
byFileExtension =
'3dm' : ['x-world/x-3dmf']
'3dmf' : ['x-world/x-3dmf']
'3dml' : ['text/vnd.in3d.3dml']
'3ds' : ['image/x-3ds']
'3g2' : ['video/3gpp2']
'3gp' : ['video/3gpp']
'7z... |
[
{
"context": "nsartorio.github.io/jquery-nice-select\n Made by Hernán Sartorio\n###\n\n(($) ->\n\n $.fn.niceSelect = ->\n # Create",
"end": 113,
"score": 0.9998893141746521,
"start": 98,
"tag": "NAME",
"value": "Hernán Sartorio"
}
] | wilbur/coffee/niceselect.coffee | thomasmeagher/Casper | 0 | ### jQuery Nice Select - v1.0
http://hernansartorio.github.io/jquery-nice-select
Made by Hernán Sartorio
###
(($) ->
$.fn.niceSelect = ->
# Create custom markup
@each ->
select = $(this)
if !select.next().hasClass('nice-select')
select.after '<div class="nice-select ' + (select.... | 99263 | ### jQuery Nice Select - v1.0
http://hernansartorio.github.io/jquery-nice-select
Made by <NAME>
###
(($) ->
$.fn.niceSelect = ->
# Create custom markup
@each ->
select = $(this)
if !select.next().hasClass('nice-select')
select.after '<div class="nice-select ' + (select.attr('cla... | true | ### jQuery Nice Select - v1.0
http://hernansartorio.github.io/jquery-nice-select
Made by PI:NAME:<NAME>END_PI
###
(($) ->
$.fn.niceSelect = ->
# Create custom markup
@each ->
select = $(this)
if !select.next().hasClass('nice-select')
select.after '<div class="nice-select ' + (se... |
[
{
"context": "\": [{ \"value\": \"1\" }],\n \"name\": {\"given\":[\"John\"], \"family\": [\"Smith\"]},\n \"gender\": \"M\",\n ",
"end": 435,
"score": 0.9998810291290283,
"start": 431,
"tag": "NAME",
"value": "John"
},
{
"context": "],\n \"name\": {\"given\":[\"Jo... | test/elm/executor/patients.coffee | luis1van/cql-execution-1 | 2 | # Born in 1980
module.exports.p1 = {
"resourceType": "Bundle",
"id": "example1",
"meta": {
"versionId": "1",
"lastUpdated": "2014-08-18T01:43:30Z"
},
"base": "http://example.com/base",
"entry" : [{
"resource": {
"id" : "1",
"meta" :{ "profile" : ["patient-qicore-qicore-patien... | 214887 | # Born in 1980
module.exports.p1 = {
"resourceType": "Bundle",
"id": "example1",
"meta": {
"versionId": "1",
"lastUpdated": "2014-08-18T01:43:30Z"
},
"base": "http://example.com/base",
"entry" : [{
"resource": {
"id" : "1",
"meta" :{ "profile" : ["patient-qicore-qicore-patien... | true | # Born in 1980
module.exports.p1 = {
"resourceType": "Bundle",
"id": "example1",
"meta": {
"versionId": "1",
"lastUpdated": "2014-08-18T01:43:30Z"
},
"base": "http://example.com/base",
"entry" : [{
"resource": {
"id" : "1",
"meta" :{ "profile" : ["patient-qicore-qicore-patien... |
[
{
"context": "done) ->\n testUser = new User\n username: 'testUser'\n password: 'testPass'\n email: 'testEma",
"end": 329,
"score": 0.9995346069335938,
"start": 321,
"tag": "USERNAME",
"value": "testUser"
},
{
"context": " User\n username: 'testUser'\n pas... | test/models/mdlUserTest.coffee | zodoz/EC2Manager | 0 | sinon = require 'sinon'
chai = require 'chai'
expect = chai.expect
mongoose = require 'mongoose'
mockgoose = require 'mockgoose'
User = require '../../src/models/mdlUser'
mockgoose mongoose
mongoose.connect 'mongodb://localhost/test'
describe 'User', ->
it '#save', (done) ->
testUser = new User
username: ... | 211603 | sinon = require 'sinon'
chai = require 'chai'
expect = chai.expect
mongoose = require 'mongoose'
mockgoose = require 'mockgoose'
User = require '../../src/models/mdlUser'
mockgoose mongoose
mongoose.connect 'mongodb://localhost/test'
describe 'User', ->
it '#save', (done) ->
testUser = new User
username: ... | true | sinon = require 'sinon'
chai = require 'chai'
expect = chai.expect
mongoose = require 'mongoose'
mockgoose = require 'mockgoose'
User = require '../../src/models/mdlUser'
mockgoose mongoose
mongoose.connect 'mongodb://localhost/test'
describe 'User', ->
it '#save', (done) ->
testUser = new User
username: ... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999157786369324,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/links.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 ClickToCopy from 'click-to-copy'
import * as React from 'react'
import { a, div, span } from 'react-dom-factories'
el = React.createElemen... | 75922 | # 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 ClickToCopy from 'click-to-copy'
import * as React from 'react'
import { a, div, span } from 'react-dom-factories'
el = React.createElement
exp... | 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 ClickToCopy from 'click-to-copy'
import * as React from 'react'
import { a, div, span } from 'react-dom-factories'
el = React.crea... |
[
{
"context": "sions to the PostScript language\n\t# file:///Users/Alhadis/Forks/GhostScript/doc/Language.htm#Additional_ope",
"end": 12423,
"score": 0.6912538409233093,
"start": 12416,
"tag": "NAME",
"value": "Alhadis"
}
] | grammars/postscript.cson | Alhadis/Atom-PostScriptPreview | 1 | name: "PostScript"
scopeName: "source.postscript"
fileTypes: [
"ps"
"eps", "epsf", "epsi"
"gsf", "pfa", "pfb", "t1", "t42"
"ai", "aia", "pdf"
"joboptions"
"AIAppResources"
"Adobe Illustrator Cloud Prefs"
"Adobe Illustrator Prefs"
"Tools Panel Presets"
"cidfmap", "Fontmap", "Fontmap.GS", "xlatmap"
"PPI_CUtils... | 57503 | name: "PostScript"
scopeName: "source.postscript"
fileTypes: [
"ps"
"eps", "epsf", "epsi"
"gsf", "pfa", "pfb", "t1", "t42"
"ai", "aia", "pdf"
"joboptions"
"AIAppResources"
"Adobe Illustrator Cloud Prefs"
"Adobe Illustrator Prefs"
"Tools Panel Presets"
"cidfmap", "Fontmap", "Fontmap.GS", "xlatmap"
"PPI_CUtils... | true | name: "PostScript"
scopeName: "source.postscript"
fileTypes: [
"ps"
"eps", "epsf", "epsi"
"gsf", "pfa", "pfb", "t1", "t42"
"ai", "aia", "pdf"
"joboptions"
"AIAppResources"
"Adobe Illustrator Cloud Prefs"
"Adobe Illustrator Prefs"
"Tools Panel Presets"
"cidfmap", "Fontmap", "Fontmap.GS", "xlatmap"
"PPI_CUtils... |
[
{
"context": "singers = {Jagger: \"Rock\", Elvis: \"Roll\"}\n",
"end": 17,
"score": 0.9995781779289246,
"start": 11,
"tag": "NAME",
"value": "Jagger"
},
{
"context": "singers = {Jagger: \"Rock\", Elvis: \"Roll\"}\n",
"end": 32,
"score": 0.99885493516922,
"start": 27,
... | spec/fixture/themes/default/javascripts/override.coffee | ryansobol/mango | 5 | singers = {Jagger: "Rock", Elvis: "Roll"}
| 172171 | singers = {<NAME>: "Rock", <NAME>: "Roll"}
| true | singers = {PI:NAME:<NAME>END_PI: "Rock", PI:NAME:<NAME>END_PI: "Roll"}
|
[
{
"context": "68802\nclient.attachChannel(channelId, { writeKey:'X0H0DM567K9B067G'})\n\nserialPort.on('open', ->\n console.log 'Seria",
"end": 436,
"score": 0.9996889233589172,
"start": 420,
"tag": "KEY",
"value": "X0H0DM567K9B067G"
}
] | app.coffee | knshetty/wthermometer-tap-decode-log | 0 | Com = require 'serialport'
ThingSpeakClient = require 'thingspeakclient'
serialPort = new Com.SerialPort("/dev/ttyUSB0", {
baudrate: 9600
parser: Com.parsers.readline('\n')
})
# Instantiate a ThinkSpeak IoT-cloud client
client = new ThingSpeakClient({ server:'https://api.thingspeak.com', useTimeoutMode: false})
# ... | 8064 | Com = require 'serialport'
ThingSpeakClient = require 'thingspeakclient'
serialPort = new Com.SerialPort("/dev/ttyUSB0", {
baudrate: 9600
parser: Com.parsers.readline('\n')
})
# Instantiate a ThinkSpeak IoT-cloud client
client = new ThingSpeakClient({ server:'https://api.thingspeak.com', useTimeoutMode: false})
# ... | true | Com = require 'serialport'
ThingSpeakClient = require 'thingspeakclient'
serialPort = new Com.SerialPort("/dev/ttyUSB0", {
baudrate: 9600
parser: Com.parsers.readline('\n')
})
# Instantiate a ThinkSpeak IoT-cloud client
client = new ThingSpeakClient({ server:'https://api.thingspeak.com', useTimeoutMode: false})
# ... |
[
{
"context": "et: 'test'\n S3_KEY: 'test'\n S3_SECRET: 'test'\n version =\n name: 'test'\n extension",
"end": 1509,
"score": 0.5127850770950317,
"start": 1505,
"tag": "KEY",
"value": "test"
}
] | test/store_test.coffee | Rafe/papercut | 33 | fs = require('fs')
path = require('path')
{ FileStore, S3Store , TestStore } = require('../lib/store')
describe 'FileStore', ->
store = ''
version = ''
beforeEach ->
store = new FileStore
extension: 'jpg'
directory: dir
url: '/images'
version =
name: 'test'
extension: 'jpg'... | 220186 | fs = require('fs')
path = require('path')
{ FileStore, S3Store , TestStore } = require('../lib/store')
describe 'FileStore', ->
store = ''
version = ''
beforeEach ->
store = new FileStore
extension: 'jpg'
directory: dir
url: '/images'
version =
name: 'test'
extension: 'jpg'... | true | fs = require('fs')
path = require('path')
{ FileStore, S3Store , TestStore } = require('../lib/store')
describe 'FileStore', ->
store = ''
version = ''
beforeEach ->
store = new FileStore
extension: 'jpg'
directory: dir
url: '/images'
version =
name: 'test'
extension: 'jpg'... |
[
{
"context": "ditProfile: @spy.editProfile\n changePassword: @spy.changePassword\n changeEmail: @spy.changeEmail\n }",
"end": 291,
"score": 0.6492918133735657,
"start": 280,
"tag": "PASSWORD",
"value": "@spy.change"
}
] | spec/javascripts/core/apps/profile/app-route.spec.coffee | houzelio/houzel | 2 | import Router from 'javascripts/core/apps/profile/app-route'
describe("Profile App Route", () ->
beforeAll ->
@spy = jasmine.createSpyObj('spy', ['editProfile', 'changePassword', 'changeEmail'])
controller = {
editProfile: @spy.editProfile
changePassword: @spy.changePassword
changeEmail: @... | 171841 | import Router from 'javascripts/core/apps/profile/app-route'
describe("Profile App Route", () ->
beforeAll ->
@spy = jasmine.createSpyObj('spy', ['editProfile', 'changePassword', 'changeEmail'])
controller = {
editProfile: @spy.editProfile
changePassword: <PASSWORD>Password
changeEmail: @s... | true | import Router from 'javascripts/core/apps/profile/app-route'
describe("Profile App Route", () ->
beforeAll ->
@spy = jasmine.createSpyObj('spy', ['editProfile', 'changePassword', 'changeEmail'])
controller = {
editProfile: @spy.editProfile
changePassword: PI:PASSWORD:<PASSWORD>END_PIPassword
... |
[
{
"context": "r templates, refer to the FAQ: https://github.com/bevry/docpad/wiki/FAQ\n\n\ttemplateData:\n\n\t\tcutTag: '<!-- ",
"end": 320,
"score": 0.9987694621086121,
"start": 315,
"tag": "USERNAME",
"value": "bevry"
},
{
"context": "name used in copyrights and meta data\n\t\t\tau... | docpad.coffee | interpaul/solidbuild.net | 0 | # The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that will be accessible via our templates
# To access one of these within our templates, refer to the FAQ: https://github.com/bevry... | 130538 | # The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that will be accessible via our templates
# To access one of these within our templates, refer to the FAQ: https://github.com/bevry... | true | # The DocPad Configuration File
# It is simply a CoffeeScript Object which is parsed by CSON
docpadConfig = {
# =================================
# Template Data
# These are variables that will be accessible via our templates
# To access one of these within our templates, refer to the FAQ: https://github.com/bevry... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990748763084412,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-read-stream-err.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... | 47333 | # 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": "###\nCopyright (c) 2014 Ramesh Nair (hiddentao.com)\n\nPermission is hereby granted, fr",
"end": 34,
"score": 0.9998831748962402,
"start": 23,
"tag": "NAME",
"value": "Ramesh Nair"
}
] | test/select.test.coffee | SimeonC/squel | 0 | ###
Copyright (c) 2014 Ramesh Nair (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish... | 69160 | ###
Copyright (c) 2014 <NAME> (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, dis... | true | ###
Copyright (c) 2014 PI:NAME:<NAME>END_PI (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge... |
[
{
"context": "ch/blob/master/src/helpers.coffee\n# Many thanks to Allan Berger, Jan Monschke, Martin Schürrer, Thomas Schranz, N",
"end": 134,
"score": 0.9998515844345093,
"start": 122,
"tag": "NAME",
"value": "Allan Berger"
},
{
"context": "/src/helpers.coffee\n# Many thanks to Alla... | src/utils/copy.coffee | nponeccop/socketstream | 0 | # Based on recursive copy functions from https://github.com/brunch/brunch/blob/master/src/helpers.coffee
# Many thanks to Allan Berger, Jan Monschke, Martin Schürrer, Thomas Schranz, Nik Graf
fs = require('fs')
path = require('path')
util = require('util')
# copy single file and executes callback when done
exports.co... | 225593 | # Based on recursive copy functions from https://github.com/brunch/brunch/blob/master/src/helpers.coffee
# Many thanks to <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
fs = require('fs')
path = require('path')
util = require('util')
# copy single file and executes callback when done
exports.copyFile = (source, destination) ... | true | # Based on recursive copy functions from https://github.com/brunch/brunch/blob/master/src/helpers.coffee
# Many thanks to PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
fs = require('fs')
path = require('path')
util = require('util')
# copy single file and... |
[
{
"context": "eature', { image_versions: ['wide'] })\n id: \"52b347c59c18db5aef000208\"\n published: true\n key: \"1\"\n name:",
"end": 413,
"score": 0.9864937663078308,
"start": 389,
"tag": "KEY",
"value": "52b347c59c18db5aef000208"
},
{
"context": "18db5aef00020... | src/desktop/test/models/featured_set.test.coffee | jo-rs/force | 0 | _ = require 'underscore'
should = require 'should'
Backbone = require 'backbone'
FeaturedLink = require '../../models/featured_link.coffee'
FeaturedSet = require '../../models/featured_set.coffee'
{ fabricate } = require '@artsy/antigravity'
describe 'FeaturedSet', ->
beforeEach ->
@set = new FeaturedSet
... | 24985 | _ = require 'underscore'
should = require 'should'
Backbone = require 'backbone'
FeaturedLink = require '../../models/featured_link.coffee'
FeaturedSet = require '../../models/featured_set.coffee'
{ fabricate } = require '@artsy/antigravity'
describe 'FeaturedSet', ->
beforeEach ->
@set = new FeaturedSet
... | true | _ = require 'underscore'
should = require 'should'
Backbone = require 'backbone'
FeaturedLink = require '../../models/featured_link.coffee'
FeaturedSet = require '../../models/featured_set.coffee'
{ fabricate } = require '@artsy/antigravity'
describe 'FeaturedSet', ->
beforeEach ->
@set = new FeaturedSet
... |
[
{
"context": "---------------------------------\np = new Person 'Robert', 'Paulson'\nlog p.full_name # Robert Paulson\nlog ",
"end": 1895,
"score": 0.9998712539672852,
"start": 1889,
"tag": "NAME",
"value": "Robert"
},
{
"context": "-----------------------\np = new Person 'Robert', '... | src/coffeescript-class-instance-properties.coffee | loveencounterflow/gaps-and-islands | 0 |
'use strict'
# thx to https://stackoverflow.com/a/15509083/256361
#===========================================================================================================
#
#-----------------------------------------------------------------------------------------------------------
log = console.log
#-----------... | 79851 |
'use strict'
# thx to https://stackoverflow.com/a/15509083/256361
#===========================================================================================================
#
#-----------------------------------------------------------------------------------------------------------
log = console.log
#-----------... | true |
'use strict'
# thx to https://stackoverflow.com/a/15509083/256361
#===========================================================================================================
#
#-----------------------------------------------------------------------------------------------------------
log = console.log
#-----------... |
[
{
"context": "ress in compact, human-readable format like\n # 2001:db8:8:66::1\n toString: ->\n stringParts = (part.toString(1",
"end": 6332,
"score": 0.9995831847190857,
"start": 6318,
"tag": "IP_ADDRESS",
"value": "01:db8:8:66::1"
},
{
"context": "xpanded format with all zeroe... | node_modules/ipaddr.js/src/ipaddr.coffee | joeschoeler13/homework10and11 | 341 | # Define the main object
ipaddr = {}
root = this
# Export for both the CommonJS and browser-like environment
if module? && module.exports
module.exports = ipaddr
else
root['ipaddr'] = ipaddr
# A generic CIDR (Classless Inter-Domain Routing) RFC1518 range matcher.
matchCIDR = (first, second, partSize, cidrBits) -... | 46300 | # Define the main object
ipaddr = {}
root = this
# Export for both the CommonJS and browser-like environment
if module? && module.exports
module.exports = ipaddr
else
root['ipaddr'] = ipaddr
# A generic CIDR (Classless Inter-Domain Routing) RFC1518 range matcher.
matchCIDR = (first, second, partSize, cidrBits) -... | true | # Define the main object
ipaddr = {}
root = this
# Export for both the CommonJS and browser-like environment
if module? && module.exports
module.exports = ipaddr
else
root['ipaddr'] = ipaddr
# A generic CIDR (Classless Inter-Domain Routing) RFC1518 range matcher.
matchCIDR = (first, second, partSize, cidrBits) -... |
[
{
"context": "\": null,\n \"author\": {\n \"name\": \"callin\",\n \"username\": \"callin\",\n \"",
"end": 763,
"score": 0.8906546235084534,
"start": 757,
"tag": "USERNAME",
"value": "callin"
},
{
"context": " \"name\": \"callin\",\n ... | gitlabApi.coffee | kranian/gitlabviewer | 0 | $ = require 'jquery'
_ = require 'lodash'
ipcRenderer = require('electron').ipcRenderer
token = ipcRenderer.sendSync('getToken')
maintenancePrjId = 19;
devPrjId = 2;
bmtPrjId = 15;
customerTypeLabelColor = '#44ad8e'
taskTypeLabelColor = '#428bca'
deptTypeLabelColor = '#d9534f'
priorityTypeLabelColor = '#ff0000'
mod... | 182200 | $ = require 'jquery'
_ = require 'lodash'
ipcRenderer = require('electron').ipcRenderer
token = ipcRenderer.sendSync('getToken')
maintenancePrjId = 19;
devPrjId = 2;
bmtPrjId = 15;
customerTypeLabelColor = '#44ad8e'
taskTypeLabelColor = '#428bca'
deptTypeLabelColor = '#d9534f'
priorityTypeLabelColor = '#ff0000'
mod... | true | $ = require 'jquery'
_ = require 'lodash'
ipcRenderer = require('electron').ipcRenderer
token = ipcRenderer.sendSync('getToken')
maintenancePrjId = 19;
devPrjId = 2;
bmtPrjId = 15;
customerTypeLabelColor = '#44ad8e'
taskTypeLabelColor = '#428bca'
deptTypeLabelColor = '#d9534f'
priorityTypeLabelColor = '#ff0000'
mod... |
[
{
"context": "# Copyright © 2013 All rights reserved\n# Author: nhim175@gmail.com\n\nModule = require '../module.coffee'\nLogger = req",
"end": 66,
"score": 0.9999118447303772,
"start": 49,
"tag": "EMAIL",
"value": "nhim175@gmail.com"
}
] | src/lib/gui/axes.coffee | nhim175/larva-game | 0 | # Copyright © 2013 All rights reserved
# Author: nhim175@gmail.com
Module = require '../module.coffee'
Logger = require '../../mixins/logger.coffee'
Axe = require '../axe.coffee'
class GUIAxes extends Module
@include Logger
logPrefix: 'GUIAxes'
axes: 0
constructor: (game) ->
@game = game
@me = @gam... | 6387 | # Copyright © 2013 All rights reserved
# Author: <EMAIL>
Module = require '../module.coffee'
Logger = require '../../mixins/logger.coffee'
Axe = require '../axe.coffee'
class GUIAxes extends Module
@include Logger
logPrefix: 'GUIAxes'
axes: 0
constructor: (game) ->
@game = game
@me = @game.add.grou... | true | # Copyright © 2013 All rights reserved
# Author: PI:EMAIL:<EMAIL>END_PI
Module = require '../module.coffee'
Logger = require '../../mixins/logger.coffee'
Axe = require '../axe.coffee'
class GUIAxes extends Module
@include Logger
logPrefix: 'GUIAxes'
axes: 0
constructor: (game) ->
@game = game
@me =... |
[
{
"context": " ported to CoffeeScript\n\t\tdebouncing function from John Hann\n\t\thttp://unscriptable.com/index.php/2009/03/20/de",
"end": 125,
"score": 0.9997718334197998,
"start": 116,
"tag": "NAME",
"value": "John Hann"
},
{
"context": "###\n\t@isLocalhost: () ->\n\t\thosts = ['l... | app/_src/utils.coffee | 14islands/14islands-com | 13 | class FOURTEEN.Utils
###
Debounce and SmartResize (in jQuery) ported to CoffeeScript
debouncing function from John Hann
http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
###
@debounce: (func, threshold, execAsap) ->
timeout = false
return debounced = ->
obj = this
args = a... | 62823 | class FOURTEEN.Utils
###
Debounce and SmartResize (in jQuery) ported to CoffeeScript
debouncing function from <NAME>
http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
###
@debounce: (func, threshold, execAsap) ->
timeout = false
return debounced = ->
obj = this
args = argu... | true | class FOURTEEN.Utils
###
Debounce and SmartResize (in jQuery) ported to CoffeeScript
debouncing function from PI:NAME:<NAME>END_PI
http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
###
@debounce: (func, threshold, execAsap) ->
timeout = false
return debounced = ->
obj = this
... |
[
{
"context": "\n setState(res, userState)\n\n robot.hear /login joshua/i, (res) ->\n userState = getState(res)\n if ",
"end": 836,
"score": 0.9486395716667175,
"start": 830,
"tag": "NAME",
"value": "joshua"
},
{
"context": "prState != 1\n return\n\n res.send \"GREET... | scripts/wopr.coffee | ftcjeff/hubot-pops | 0 | module.exports = (robot) ->
getState = (res) ->
state = res.message.user.id
woprState = robot.brain.get(state) or {woprState: 0}
return woprState
setState = (res, woprState) ->
state = res.message.user.id
robot.brain.set(state, woprState)
robot.hear /help games/i, (res) ->
res.send "'GAM... | 91428 | module.exports = (robot) ->
getState = (res) ->
state = res.message.user.id
woprState = robot.brain.get(state) or {woprState: 0}
return woprState
setState = (res, woprState) ->
state = res.message.user.id
robot.brain.set(state, woprState)
robot.hear /help games/i, (res) ->
res.send "'GAM... | true | module.exports = (robot) ->
getState = (res) ->
state = res.message.user.id
woprState = robot.brain.get(state) or {woprState: 0}
return woprState
setState = (res, woprState) ->
state = res.message.user.id
robot.brain.set(state, woprState)
robot.hear /help games/i, (res) ->
res.send "'GAM... |
[
{
"context": "# @file oldParticle.coffee\n# @Copyright (c) 2016 Taylor Siviter\n# This source code is licensed under the MIT Lice",
"end": 63,
"score": 0.9997237324714661,
"start": 49,
"tag": "NAME",
"value": "Taylor Siviter"
}
] | src/_deprecated/oldParticle.coffee | siviter-t/lampyridae.coffee | 4 | # @file oldParticle.coffee
# @Copyright (c) 2016 Taylor Siviter
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
class Lampyridae.OldParticle
### Construct and manage a generic circular particle.
#
# @param canvas [Object] Instance of Lampyri... | 40959 | # @file oldParticle.coffee
# @Copyright (c) 2016 <NAME>
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
class Lampyridae.OldParticle
### Construct and manage a generic circular particle.
#
# @param canvas [Object] Instance of Lampyridae.Canv... | true | # @file oldParticle.coffee
# @Copyright (c) 2016 PI:NAME:<NAME>END_PI
# This source code is licensed under the MIT License.
# For full information, see the LICENSE file in the project root.
class Lampyridae.OldParticle
### Construct and manage a generic circular particle.
#
# @param canvas [Object] Instance of L... |
[
{
"context": "# Copyright (C) 2016-present Arctic Ice Studio <development@arcticicestudio.com>\n# Copyright (C)",
"end": 46,
"score": 0.9034414291381836,
"start": 29,
"tag": "NAME",
"value": "Arctic Ice Studio"
},
{
"context": "# Copyright (C) 2016-present Arctic Ice Studio <developm... | lib/main.coffee | germanescobar/nord-atom-ui | 125 | # Copyright (C) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (C) 2016-present Sven Greb <development@svengreb.de>
# Project: Nord Atom UI
# Repository: https://github.com/arcticicestudio/nord-atom-ui
# License: MIT
root = document.documentElement;
module.exports =
activate: (s... | 173251 | # Copyright (C) 2016-present <NAME> <<EMAIL>>
# Copyright (C) 2016-present <NAME> <<EMAIL>>
# Project: Nord Atom UI
# Repository: https://github.com/arcticicestudio/nord-atom-ui
# License: MIT
root = document.documentElement;
module.exports =
activate: (state) ->
atom.config.observe 'nord-atom-ui.tabSizi... | true | # Copyright (C) 2016-present PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2016-present PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Project: Nord Atom UI
# Repository: https://github.com/arcticicestudio/nord-atom-ui
# License: MIT
root = document.documentElement;
module.exports =
activate... |
[
{
"context": " }),\n\t\t#\t\tJSON.stringify({ auth: { client_token: \"TempToken\" } })\n\t\t#\t]\n\n\t\t#\trequestorStub = new RequestorStu",
"end": 2646,
"score": 0.7126826643943787,
"start": 2637,
"tag": "PASSWORD",
"value": "TempToken"
}
] | tests/program_test.coffee | VeriShip/cubby | 2 | 'use strict'
should = require 'should'
events = require 'events'
Program = require '../src/program'
queryString = require 'querystring'
q = require 'q'
describe 'Program', ->
context '#constructor', ->
it 'should pass requestorObj to @requestor', ->
expectedValue = { }
target = new Program(expectedValue)
... | 126885 | 'use strict'
should = require 'should'
events = require 'events'
Program = require '../src/program'
queryString = require 'querystring'
q = require 'q'
describe 'Program', ->
context '#constructor', ->
it 'should pass requestorObj to @requestor', ->
expectedValue = { }
target = new Program(expectedValue)
... | true | 'use strict'
should = require 'should'
events = require 'events'
Program = require '../src/program'
queryString = require 'querystring'
q = require 'q'
describe 'Program', ->
context '#constructor', ->
it 'should pass requestorObj to @requestor', ->
expectedValue = { }
target = new Program(expectedValue)
... |
[
{
"context": "#\n# batman.js\n#\n# Created by Nick Small\n# Copyright 2011, Shopify\n#\n\n# The global namespa",
"end": 39,
"score": 0.9996547698974609,
"start": 29,
"tag": "NAME",
"value": "Nick Small"
},
{
"context": "ore', 'after']\n do (k, time) =>\n key = \"#{time}#{... | src/batman.coffee | nickjs/batman | 1 | #
# batman.js
#
# Created by Nick Small
# Copyright 2011, Shopify
#
# The global namespace, the `Batman` function will also create also create a new
# instance of Batman.Object and mixin all arguments to it.
Batman = (mixins...) ->
new Batman.Object mixins...
# Global Helpers
# -------
# `$typeOf` returns a string... | 215952 | #
# batman.js
#
# Created by <NAME>
# Copyright 2011, Shopify
#
# The global namespace, the `Batman` function will also create also create a new
# instance of Batman.Object and mixin all arguments to it.
Batman = (mixins...) ->
new Batman.Object mixins...
# Global Helpers
# -------
# `$typeOf` returns a string tha... | true | #
# batman.js
#
# Created by PI:NAME:<NAME>END_PI
# Copyright 2011, Shopify
#
# The global namespace, the `Batman` function will also create also create a new
# instance of Batman.Object and mixin all arguments to it.
Batman = (mixins...) ->
new Batman.Object mixins...
# Global Helpers
# -------
# `$typeOf` return... |
[
{
"context": "sages' }\n { fn:fetchPrivateMessages, key: 'privateMessages' }\n { fn:fetchBotChannel, key: 'bot' }\n",
"end": 2743,
"score": 0.5900523662567139,
"start": 2728,
"tag": "KEY",
"value": "privateMessages"
}
] | workers/social/lib/social/cache/socialapi.coffee | ezgikaysi/koding | 1 | async = require 'async'
SocialChannel = require '../models/socialapi/channel'
SocialMessage = require '../models/socialapi/message'
JAccount = require '../models/account'
KodingError = require '../error'
module.exports = (options = {}, callback) ->
{ client, entryPoint, params, session } = optio... | 86612 | async = require 'async'
SocialChannel = require '../models/socialapi/channel'
SocialMessage = require '../models/socialapi/message'
JAccount = require '../models/account'
KodingError = require '../error'
module.exports = (options = {}, callback) ->
{ client, entryPoint, params, session } = optio... | true | async = require 'async'
SocialChannel = require '../models/socialapi/channel'
SocialMessage = require '../models/socialapi/message'
JAccount = require '../models/account'
KodingError = require '../error'
module.exports = (options = {}, callback) ->
{ client, entryPoint, params, session } = optio... |
[
{
"context": "#\n#* $Id$\n#*\n#* Copyright 2014 Valentyn Kolesnikov\n#*\n#* Licensed under the Apache License, Version ",
"end": 50,
"score": 0.999854564666748,
"start": 31,
"tag": "NAME",
"value": "Valentyn Kolesnikov"
},
{
"context": ".\n#\n\n###*\nUkrainianToLatin utility class.\n... | src/main/resources/com/github/ukrainiantolatin/ukrainiantolatin.coffee | HappyFacade/ukrainiantolatin | 4 | #
#* $Id$
#*
#* Copyright 2014 Valentyn Kolesnikov
#*
#* 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... | 196846 | #
#* $Id$
#*
#* Copyright 2014 <NAME>
#*
#* Licensed under the Apache License, Version 2.0 (the "License");
#* you may not use this file except in compliance with the License.
#* You may obtain a copy of the License at
#*
#* http://www.apache.org/licenses/LICENSE-2.0
#*
#* Unless required by applicable law or agree... | true | #
#* $Id$
#*
#* Copyright 2014 PI:NAME:<NAME>END_PI
#*
#* Licensed under the Apache License, Version 2.0 (the "License");
#* you may not use this file except in compliance with the License.
#* You may obtain a copy of the License at
#*
#* http://www.apache.org/licenses/LICENSE-2.0
#*
#* Unless required by applicabl... |
[
{
"context": "er fabricate 'partner'\n @partner.set 'email', \"info@gagosian.com\"\n\n afterEach ->\n Backbone.sync.restore()\n\n d",
"end": 427,
"score": 0.9999121427536011,
"start": 410,
"tag": "EMAIL",
"value": "info@gagosian.com"
},
{
"context": "ld', ->\n @mailto.qu... | src/mobile/test/models/partner.coffee | kanaabe/force | 1 | urlParser = require 'url'
sinon = require 'sinon'
Backbone = require 'backbone'
Partner = require '../../models/partner'
PartnerLocations = require '../../collections/partner_locations'
Artist = require '../../models/artist'
{ fabricate } = require 'antigravity'
describe 'Partner', ->
beforeEach ->
sinon.stub B... | 166635 | urlParser = require 'url'
sinon = require 'sinon'
Backbone = require 'backbone'
Partner = require '../../models/partner'
PartnerLocations = require '../../collections/partner_locations'
Artist = require '../../models/artist'
{ fabricate } = require 'antigravity'
describe 'Partner', ->
beforeEach ->
sinon.stub B... | true | urlParser = require 'url'
sinon = require 'sinon'
Backbone = require 'backbone'
Partner = require '../../models/partner'
PartnerLocations = require '../../collections/partner_locations'
Artist = require '../../models/artist'
{ fabricate } = require 'antigravity'
describe 'Partner', ->
beforeEach ->
sinon.stub B... |
[
{
"context": "#\n# Copyright (c) 2012 Konstantin Bender.\n#\n# Permission is hereby granted, free of charge",
"end": 40,
"score": 0.9998638033866882,
"start": 23,
"tag": "NAME",
"value": "Konstantin Bender"
}
] | tests/test.coffee | konstantinbe/milk | 0 | #
# Copyright (c) 2012 Konstantin Bender.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish... | 220497 | #
# Copyright (c) 2012 <NAME>.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribut... | true | #
# Copyright (c) 2012 PI:NAME:<NAME>END_PI.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publ... |
[
{
"context": "ands:\n# hide ya kids - Hide `em!\n#\n# Author:\n# Joseph Huttner\n\nmodule.exports = (robot) ->\n robot.hear /hide y",
"end": 199,
"score": 0.9998790621757507,
"start": 185,
"tag": "NAME",
"value": "Joseph Huttner"
}
] | src/scripts/hideyakids.coffee | Reelhouse/hubot-scripts | 1,450 | # Description:
# Antoine Dodson's greatest hits... errr... only hit
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hide ya kids - Hide `em!
#
# Author:
# Joseph Huttner
module.exports = (robot) ->
robot.hear /hide ya kids/i, (msg) ->
msg.send "http://www.youtube.com/watch?v=hMtZfW2... | 63107 | # Description:
# Antoine Dodson's greatest hits... errr... only hit
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hide ya kids - Hide `em!
#
# Author:
# <NAME>
module.exports = (robot) ->
robot.hear /hide ya kids/i, (msg) ->
msg.send "http://www.youtube.com/watch?v=hMtZfW2z9dw"
| true | # Description:
# Antoine Dodson's greatest hits... errr... only hit
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hide ya kids - Hide `em!
#
# Author:
# PI:NAME:<NAME>END_PI
module.exports = (robot) ->
robot.hear /hide ya kids/i, (msg) ->
msg.send "http://www.youtube.com/watch?v=h... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9986017346382141,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "erver(options, (socket) ->\n options =\n host: \"127.0.0.1\"\n port: b.address().port\n... | test/simple/test-tls-inception.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... | 46339 | # 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": "\nnikita = require '@nikitajs/core'\n{tags, ssh, scratch} = require './test'\nthe",
"end": 28,
"score": 0.7176410555839539,
"start": 26,
"tag": "USERNAME",
"value": "js"
},
{
"context": "ystore: \"#{scratch}/keystore\"\n storepass: \"changeit\"\n caname: \... | packages/java/test/keystore_add.coffee | chibanemourad/node-nikita | 1 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'java.keystore_add', ->
describe 'cacert', ->
they 'create new cacerts file', ({ssh}) ->
nikita
ssh: ssh
.java.keystore_add
keys... | 114390 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'java.keystore_add', ->
describe 'cacert', ->
they 'create new cacerts file', ({ssh}) ->
nikita
ssh: ssh
.java.keystore_add
keys... | true |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'java.keystore_add', ->
describe 'cacert', ->
they 'create new cacerts file', ({ssh}) ->
nikita
ssh: ssh
.java.keystore_add
keys... |
[
{
"context": "\"../src/Api\"\napi = new Api\n username : \"test\"\n password : \"test\"\n account_id: \"test\"\n proj",
"end": 289,
"score": 0.9955647587776184,
"start": 285,
"tag": "USERNAME",
"value": "test"
},
{
"context": " = new Api\n username : \"test\"\n pa... | test/test-api.coffee | kvz/baseamp | 4 | should = require("chai").should()
debug = require("debug")("Baseamp:test-api")
util = require "util"
expect = require("chai").expect
fixture_dir = "#{__dirname}/fixtures"
port = 7000
Api = require "../src/Api"
api = new Api
username : "test"
password : "test"
accoun... | 102733 | should = require("chai").should()
debug = require("debug")("Baseamp:test-api")
util = require "util"
expect = require("chai").expect
fixture_dir = "#{__dirname}/fixtures"
port = 7000
Api = require "../src/Api"
api = new Api
username : "test"
password : "<PASSWORD>"
... | true | should = require("chai").should()
debug = require("debug")("Baseamp:test-api")
util = require "util"
expect = require("chai").expect
fixture_dir = "#{__dirname}/fixtures"
port = 7000
Api = require "../src/Api"
api = new Api
username : "test"
password : "PI:PASSWORD:<P... |
[
{
"context": " Copyright (c) 2011-#{(new Date()).getFullYear()} Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 742,
"score": 0.9998490214347839,
"start": 728,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | gulpfile.coffee | kmalakoff/knockback | 160 | path = require 'path'
_ = require 'underscore'
Queue = require 'queue-async'
Async = require 'async'
es = require 'event-stream'
gulp = require 'gulp'
gutil = require 'gulp-util'
webpack = require 'gulp-webpack-config'
rename = require 'gulp-rename'
uglify = require 'gulp-uglify'
header = require 'gulp-header'
mocha =... | 57176 | path = require 'path'
_ = require 'underscore'
Queue = require 'queue-async'
Async = require 'async'
es = require 'event-stream'
gulp = require 'gulp'
gutil = require 'gulp-util'
webpack = require 'gulp-webpack-config'
rename = require 'gulp-rename'
uglify = require 'gulp-uglify'
header = require 'gulp-header'
mocha =... | true | path = require 'path'
_ = require 'underscore'
Queue = require 'queue-async'
Async = require 'async'
es = require 'event-stream'
gulp = require 'gulp'
gutil = require 'gulp-util'
webpack = require 'gulp-webpack-config'
rename = require 'gulp-rename'
uglify = require 'gulp-uglify'
header = require 'gulp-header'
mocha =... |
[
{
"context": " #\n # Tag.\n #\n # Created by hector spc <hector@aerstudio.com>\n # Aer Studio \n # http:/",
"end": 40,
"score": 0.9908232092857361,
"start": 30,
"tag": "NAME",
"value": "hector spc"
},
{
"context": " #\n # Tag.\n #\n # Created by hector spc <hector@aerstudio.com... | src/models/tag_model.coffee | aerstudio/Phallanxpress | 1 | #
# Tag.
#
# Created by hector spc <hector@aerstudio.com>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# models/tag_model.js.coffee
#
class Phallanxpress.Tag extends Phallanxpress.Model
| 201505 | #
# Tag.
#
# Created by <NAME> <<EMAIL>>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# models/tag_model.js.coffee
#
class Phallanxpress.Tag extends Phallanxpress.Model
| true | #
# Tag.
#
# Created by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Aer Studio
# http://www.aerstudio.com
#
# Sun Mar 04 2012
#
# models/tag_model.js.coffee
#
class Phallanxpress.Tag extends Phallanxpress.Model
|
[
{
"context": "e_1}\", (data)=>\n data.user.name.assert_Is 'Joe'\n\n @.GET_Json \"/api/v1/team/#{project}/get",
"end": 818,
"score": 0.9993468523025513,
"start": 815,
"tag": "NAME",
"value": "Joe"
}
] | test/http/api/files.qa.test.coffee | DinisCruz-Dev/Maturity-Models-QA | 0 | Http_API = require '../../../src/_Test_APIs/Http-API'
describe 'http | api | files', ->
http_API = null
project = null
team = null
before ()->
http_API = new Http_API()
project = 'bsimm'
team = 'team-A'
it '/api/v1/files/list', (done)->
http_API.GET_Json '/api/v1/team/bsimm/lis... | 82102 | Http_API = require '../../../src/_Test_APIs/Http-API'
describe 'http | api | files', ->
http_API = null
project = null
team = null
before ()->
http_API = new Http_API()
project = 'bsimm'
team = 'team-A'
it '/api/v1/files/list', (done)->
http_API.GET_Json '/api/v1/team/bsimm/lis... | true | Http_API = require '../../../src/_Test_APIs/Http-API'
describe 'http | api | files', ->
http_API = null
project = null
team = null
before ()->
http_API = new Http_API()
project = 'bsimm'
team = 'team-A'
it '/api/v1/files/list', (done)->
http_API.GET_Json '/api/v1/team/bsimm/lis... |
[
{
"context": "'\n serviceURL: 'https://render.ostr.io'\n auth: 'APIUser:APIPass'\n\napp.use(spiderable.handler).use (req, r",
"end": 242,
"score": 0.994704008102417,
"start": 235,
"tag": "USERNAME",
"value": "APIUser"
},
{
"context": "iceURL: 'https://render.ostr.io'\n auth: 'APIU... | examples/connect.middleware.coffee | VeliovGroup/spiderable-middleware | 27 | connect = require 'connect'
http = require 'http'
app = connect()
Spiderable = require 'spiderable-middleware'
spiderable = new Spiderable
rootURL: 'http://example.com'
serviceURL: 'https://render.ostr.io'
auth: 'APIUser:APIPass'
app.use(spiderable.handler).use (req, res) ->
res.end 'Hello from... | 208893 | connect = require 'connect'
http = require 'http'
app = connect()
Spiderable = require 'spiderable-middleware'
spiderable = new Spiderable
rootURL: 'http://example.com'
serviceURL: 'https://render.ostr.io'
auth: 'APIUser:API<PASSWORD>'
app.use(spiderable.handler).use (req, res) ->
res.end 'Hell... | true | connect = require 'connect'
http = require 'http'
app = connect()
Spiderable = require 'spiderable-middleware'
spiderable = new Spiderable
rootURL: 'http://example.com'
serviceURL: 'https://render.ostr.io'
auth: 'APIUser:APIPI:PASSWORD:<PASSWORD>END_PI'
app.use(spiderable.handler).use (req, res) ... |
[
{
"context": "$http.post('/login', {email: data.email, password: data.password})\n loginPromise.then (resp) ->\n $",
"end": 1007,
"score": 0.9991476535797119,
"start": 994,
"tag": "PASSWORD",
"value": "data.password"
}
] | frontend/javascripts/welcome.js.coffee | MakerButt/chaipcr | 1 | App = angular.module 'WelcomeApp', []
App.config ['$httpProvider', ($httpProvider) ->
$httpProvider.defaults.headers.post['X-CSRF-Token'] = angular.element('meta[name="csrf-token"]').attr 'content'
$httpProvider.defaults.headers.post['X-Requested-With'] = 'XMLHttpRequest'
]
App.controller 'WelcomeCtrl', [
'$sco... | 142876 | App = angular.module 'WelcomeApp', []
App.config ['$httpProvider', ($httpProvider) ->
$httpProvider.defaults.headers.post['X-CSRF-Token'] = angular.element('meta[name="csrf-token"]').attr 'content'
$httpProvider.defaults.headers.post['X-Requested-With'] = 'XMLHttpRequest'
]
App.controller 'WelcomeCtrl', [
'$sco... | true | App = angular.module 'WelcomeApp', []
App.config ['$httpProvider', ($httpProvider) ->
$httpProvider.defaults.headers.post['X-CSRF-Token'] = angular.element('meta[name="csrf-token"]').attr 'content'
$httpProvider.defaults.headers.post['X-Requested-With'] = 'XMLHttpRequest'
]
App.controller 'WelcomeCtrl', [
'$sco... |
[
{
"context": "o=bar#\"\n email: \"http://localhost:3500/?email=brian@cypress.io\"\n heroku: \"https://example.herokuapp.com\"\n he",
"end": 655,
"score": 0.9999045729637146,
"start": 639,
"tag": "EMAIL",
"value": "brian@cypress.io"
},
{
"context": " expect(obj).to.deep.e... | packages/driver/test/cypress/integration/cypress/location_spec.coffee | Everworks/cypress | 3 | { _, Location, Promise } = Cypress
urls = {
blank: "about:blank"
cypress: "http://0.0.0.0:2020/__/#/tests/app.coffee"
signin: "http://localhost:2020/signin"
users: "http://localhost:2020/users/1"
google: "https://www.google.com"
ember: "http://localhost:2020/index.html#/posts"
app: "ht... | 11422 | { _, Location, Promise } = Cypress
urls = {
blank: "about:blank"
cypress: "http://0.0.0.0:2020/__/#/tests/app.coffee"
signin: "http://localhost:2020/signin"
users: "http://localhost:2020/users/1"
google: "https://www.google.com"
ember: "http://localhost:2020/index.html#/posts"
app: "ht... | true | { _, Location, Promise } = Cypress
urls = {
blank: "about:blank"
cypress: "http://0.0.0.0:2020/__/#/tests/app.coffee"
signin: "http://localhost:2020/signin"
users: "http://localhost:2020/users/1"
google: "https://www.google.com"
ember: "http://localhost:2020/index.html#/posts"
app: "ht... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.