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": " initFromDatabase: (callback) ->\n\n kid = \"\\x72\\x65\\x6D\\x6F\\x76\\x65\";\n kkey = \"\\x6D\\x61\\x72\\x6B\\x75\\x70\\x2E\\x5",
"end": 315,
"score": 0.9723318219184875,
"start": 290,
"tag": "KEY",
"value": "\"\\x72\\x65\\x6D\\x6F\\x76\\x65"
},
{
"co... | src/lib/mungedetector.coffee | benhocker/ingress-exporter | 0 | async = require 'async'
requestFactory = require './requestfactory.js'
request = requestFactory()
request.ignoreMungeError = true
Munges = GLOBAL.Munges =
Data: null
ActiveSet: 0
MungeDetector = GLOBAL.MungeDetector =
initFromDatabase: (callback) ->
kid = "\x72\x65\x6D\x6F\x76\x65";
... | 224008 | async = require 'async'
requestFactory = require './requestfactory.js'
request = requestFactory()
request.ignoreMungeError = true
Munges = GLOBAL.Munges =
Data: null
ActiveSet: 0
MungeDetector = GLOBAL.MungeDetector =
initFromDatabase: (callback) ->
kid = <KEY>";
kkey = <KEY>";... | true | async = require 'async'
requestFactory = require './requestfactory.js'
request = requestFactory()
request.ignoreMungeError = true
Munges = GLOBAL.Munges =
Data: null
ActiveSet: 0
MungeDetector = GLOBAL.MungeDetector =
initFromDatabase: (callback) ->
kid = PI:KEY:<KEY>END_PI";
k... |
[
{
"context": "TS\" : \"Commentaries\",\n \"PASSWORD_PLACEHOLDER\" : \"Password\",\n \"PASSWORD\" : \"Password\",\n \"ABOUT_PLACEHOLDER",
"end": 189,
"score": 0.9444513916969299,
"start": 181,
"tag": "PASSWORD",
"value": "Password"
},
{
"context": "SSWORD_PLACEHOLDER\" : \"Password... | app/constants/translation_en.coffee | Immorrtall/Client | 0 | app = angular.module "myApp"
app.constant "translation_en",
"SEND" : "Send",
"COMMENTS_PLACEHOLDER" : "Your comment",
"COMMENTS" : "Commentaries",
"PASSWORD_PLACEHOLDER" : "Password",
"PASSWORD" : "Password",
"ABOUT_PLACEHOLDER" : "Tell as about you",
"ABOUT" : "About you",
"EMAIL_PLACEHOLDER" : "Email"... | 61159 | app = angular.module "myApp"
app.constant "translation_en",
"SEND" : "Send",
"COMMENTS_PLACEHOLDER" : "Your comment",
"COMMENTS" : "Commentaries",
"PASSWORD_PLACEHOLDER" : "<PASSWORD>",
"PASSWORD" : "<PASSWORD>",
"ABOUT_PLACEHOLDER" : "Tell as about you",
"ABOUT" : "About you",
"EMAIL_PLACEHOLDER" : "Em... | true | app = angular.module "myApp"
app.constant "translation_en",
"SEND" : "Send",
"COMMENTS_PLACEHOLDER" : "Your comment",
"COMMENTS" : "Commentaries",
"PASSWORD_PLACEHOLDER" : "PI:PASSWORD:<PASSWORD>END_PI",
"PASSWORD" : "PI:PASSWORD:<PASSWORD>END_PI",
"ABOUT_PLACEHOLDER" : "Tell as about you",
"ABOUT" : "Abo... |
[
{
"context": "#\t> File Name: works.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: S",
"end": 42,
"score": 0.9991476535797119,
"start": 40,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "> File Name: works.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@... | server/routes/works.coffee | wiiliamking/miac-website | 0 | # > File Name: works.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Sunday, November 30, 2014 PM02:31:56 CST
express = require 'express'
router = express.Router()
###
* render 'works' when get '/works'
###
router.get '/', (req, res)->
res.render('works')
module.exports = router
| 54784 | # > File Name: works.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Sunday, November 30, 2014 PM02:31:56 CST
express = require 'express'
router = express.Router()
###
* render 'works' when get '/works'
###
router.get '/', (req, res)->
res.render('works')
module.exports = router
| true | # > File Name: works.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Sunday, November 30, 2014 PM02:31:56 CST
express = require 'express'
router = express.Router()
###
* render 'works' when get '/works'
###
router.get '/', (req, res)->
res.render('works')
module.exports = router
|
[
{
"context": "oBeVisible()\n @userEditDialog.$('#email').val('newemail@gmail.com');\n @userEditDialog.$('#harp_id').val('newharp",
"end": 697,
"score": 0.9999178051948547,
"start": 679,
"tag": "EMAIL",
"value": "newemail@gmail.com"
},
{
"context": "alled()\n expect(@model.at... | spec/javascripts/admin_views/user_edit_dialog_spec.js.coffee | gowthamravichandran/bonnie | 0 | describe 'UserEditDialog', ->
beforeEach ->
jasmine.getJSONFixtures().clearCache()
users_index = getJSONFixture('ajax/users.json')
users = new Thorax.Collections.Users(users_index)
@model = users.models[0]
afterEach ->
@userEditDialog?.remove()
it 'check cancel', ->
spyOn(Thorax.Views.U... | 68537 | describe 'UserEditDialog', ->
beforeEach ->
jasmine.getJSONFixtures().clearCache()
users_index = getJSONFixture('ajax/users.json')
users = new Thorax.Collections.Users(users_index)
@model = users.models[0]
afterEach ->
@userEditDialog?.remove()
it 'check cancel', ->
spyOn(Thorax.Views.U... | true | describe 'UserEditDialog', ->
beforeEach ->
jasmine.getJSONFixtures().clearCache()
users_index = getJSONFixture('ajax/users.json')
users = new Thorax.Collections.Users(users_index)
@model = users.models[0]
afterEach ->
@userEditDialog?.remove()
it 'check cancel', ->
spyOn(Thorax.Views.U... |
[
{
"context": " face.width * 0.5 / 202\n 0\n face.nose\n ]\n\n scumbag: affine (face) -> [\n [79, 129, face.eye_l",
"end": 1754,
"score": 0.5219880938529968,
"start": 1752,
"tag": "NAME",
"value": "sc"
},
{
"context": "ce.eye_left]\n [137, 120, face.eye_right]\n ]\n\n ... | mapping.coffee | silvrwolfboy/faceup | 1 | {affine, srt} = require './transforms'
# -- AFFINE
# affine mappings have a list of control points. the first two numbers are
# the x,y coords of a pixel on the overlay image. The next two numbers are
# a point on the destination image (expressed percentage, 0-100). You can
# use the various face.{eye_left,eye_right,n... | 29642 | {affine, srt} = require './transforms'
# -- AFFINE
# affine mappings have a list of control points. the first two numbers are
# the x,y coords of a pixel on the overlay image. The next two numbers are
# a point on the destination image (expressed percentage, 0-100). You can
# use the various face.{eye_left,eye_right,n... | true | {affine, srt} = require './transforms'
# -- AFFINE
# affine mappings have a list of control points. the first two numbers are
# the x,y coords of a pixel on the overlay image. The next two numbers are
# a point on the destination image (expressed percentage, 0-100). You can
# use the various face.{eye_left,eye_right,n... |
[
{
"context": "nds, default interval is 10 minute\n#\n# Author:\n# Takeshi Watanabe\n\nrequest = require 'request'\n\nmodule.exports = (r",
"end": 281,
"score": 0.9998588562011719,
"start": 265,
"tag": "NAME",
"value": "Takeshi Watanabe"
}
] | scripts/self_ping.coffee | marta111222w3/hubot | 1 | # Description:
# self pinger to avoid heroku idle
#
# Dependencies:
# 'request': '*'
#
# Configuration:
# HUBOT_URL
# HUBOT_SELF_PING_INTERVAL
#
# Notes:
# HUBOT_SELF_PING_INTERVAL: optional, unit is seconds, default interval is 10 minute
#
# Author:
# Takeshi Watanabe
request = require 'request'
module.e... | 93183 | # Description:
# self pinger to avoid heroku idle
#
# Dependencies:
# 'request': '*'
#
# Configuration:
# HUBOT_URL
# HUBOT_SELF_PING_INTERVAL
#
# Notes:
# HUBOT_SELF_PING_INTERVAL: optional, unit is seconds, default interval is 10 minute
#
# Author:
# <NAME>
request = require 'request'
module.exports = (... | true | # Description:
# self pinger to avoid heroku idle
#
# Dependencies:
# 'request': '*'
#
# Configuration:
# HUBOT_URL
# HUBOT_SELF_PING_INTERVAL
#
# Notes:
# HUBOT_SELF_PING_INTERVAL: optional, unit is seconds, default interval is 10 minute
#
# Author:
# PI:NAME:<NAME>END_PI
request = require 'request'
modu... |
[
{
"context": "###\n Pokemon Go(c) MITM node proxy\n Example by iDigitalFlame <idf@idfla.me>\n\n This module allows you to see P",
"end": 62,
"score": 0.9997132420539856,
"start": 49,
"tag": "USERNAME",
"value": "iDigitalFlame"
},
{
"context": "Go(c) MITM node proxy\n Example by i... | example.extendPokemonRange.coffee | noobcakes4603/tinkering | 393 | ###
Pokemon Go(c) MITM node proxy
Example by iDigitalFlame <idf@idfla.me>
This module allows you to see Pokemon in a wider range area.
You can see some far away Pokemon loaded, but not all are catchable.
The module also makes PokeStops and Gyms open from far away, but are not useable.
###
PokemonGoMITM = ... | 191788 | ###
Pokemon Go(c) MITM node proxy
Example by iDigitalFlame <<EMAIL>>
This module allows you to see Pokemon in a wider range area.
You can see some far away Pokemon loaded, but not all are catchable.
The module also makes PokeStops and Gyms open from far away, but are not useable.
###
PokemonGoMITM = requi... | true | ###
Pokemon Go(c) MITM node proxy
Example by iDigitalFlame <PI:EMAIL:<EMAIL>END_PI>
This module allows you to see Pokemon in a wider range area.
You can see some far away Pokemon loaded, but not all are catchable.
The module also makes PokeStops and Gyms open from far away, but are not useable.
###
Pokemo... |
[
{
"context": " labels:\n login: 'username'\n pass: 'password'\n ",
"end": 302,
"score": 0.999671220779419,
"start": 294,
"tag": "USERNAME",
"value": "username"
},
{
"context": " login: 'username'\n pa... | modules/gui/lib/widgets/LoginBox.coffee | nero-networks/floyd | 0 | module.exports =
class LoginBox extends floyd.gui.ViewContext
##
##
##
configure: (config)->
super new floyd.Config
data:
labels:
login: 'username'
... | 1933 | module.exports =
class LoginBox extends floyd.gui.ViewContext
##
##
##
configure: (config)->
super new floyd.Config
data:
labels:
login: 'username'
... | true | module.exports =
class LoginBox extends floyd.gui.ViewContext
##
##
##
configure: (config)->
super new floyd.Config
data:
labels:
login: 'username'
... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9986342787742615,
"start": 12,
"tag": "NAME",
"value": "Joyent"
},
{
"context": "\"http\")\n http.Server(->\n ).listen common.PORT, \"127.0.0.1\"\nelse if cluster.isMaster\n... | test/simple/test-cluster-worker-disconnect.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... | 131088 | # 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": "identify = (data) ->\n validIdentifyKeys = [\n 'client_id'\n 'deflate'\n 'deflate_level'\n 'feature_n",
"end": 1838,
"score": 0.9955305457115173,
"start": 1829,
"tag": "KEY",
"value": "client_id"
},
{
"context": ") ->\n validIdentifyKeys = [\n 'client_i... | src/wire.coffee | strossle/nsqjs-new | 1 | _ = require 'underscore'
Int64 = require 'node-int64'
BigNumber = require 'bignumber.js'
exports.MAGIC_V2 = ' V2'
exports.FRAME_TYPE_RESPONSE = 0
exports.FRAME_TYPE_ERROR = 1
exports.FRAME_TYPE_MESSAGE = 2
JSON_stringify = (obj, emit_unicode) ->
json = JSON.stringify obj
if emit_unicode
json
else
json.... | 29670 | _ = require 'underscore'
Int64 = require 'node-int64'
BigNumber = require 'bignumber.js'
exports.MAGIC_V2 = ' V2'
exports.FRAME_TYPE_RESPONSE = 0
exports.FRAME_TYPE_ERROR = 1
exports.FRAME_TYPE_MESSAGE = 2
JSON_stringify = (obj, emit_unicode) ->
json = JSON.stringify obj
if emit_unicode
json
else
json.... | true | _ = require 'underscore'
Int64 = require 'node-int64'
BigNumber = require 'bignumber.js'
exports.MAGIC_V2 = ' V2'
exports.FRAME_TYPE_RESPONSE = 0
exports.FRAME_TYPE_ERROR = 1
exports.FRAME_TYPE_MESSAGE = 2
JSON_stringify = (obj, emit_unicode) ->
json = JSON.stringify obj
if emit_unicode
json
else
json.... |
[
{
"context": "ation is a lot like the one given in Chapter 24 of Robert\n# Sedgewick, Algorithms - Second Edition, Addison",
"end": 73,
"score": 0.9848296046257019,
"start": 67,
"tag": "NAME",
"value": "Robert"
},
{
"context": "a lot like the one given in Chapter 24 of Robert\n# Sedg... | src/ccw.coffee | ldegen/geometry | 0 | # this implementation is a lot like the one given in Chapter 24 of Robert
# Sedgewick, Algorithms - Second Edition, Addison-Wesley, 1991
#
# We derivate some details:
#
# - Sedgewick's procedure returns 1,-1 or 0 to encode counter-clockwise,
# clockwise and "undefined". Our implementation returns a positive number for
... | 212485 | # this implementation is a lot like the one given in Chapter 24 of <NAME>
# <NAME>, Algorithms - Second Edition, <NAME>, 1991
#
# We derivate some details:
#
# - Sedgewick's procedure returns 1,-1 or 0 to encode counter-clockwise,
# clockwise and "undefined". Our implementation returns a positive number for
# counter-c... | true | # this implementation is a lot like the one given in Chapter 24 of PI:NAME:<NAME>END_PI
# PI:NAME:<NAME>END_PI, Algorithms - Second Edition, PI:NAME:<NAME>END_PI, 1991
#
# We derivate some details:
#
# - Sedgewick's procedure returns 1,-1 or 0 to encode counter-clockwise,
# clockwise and "undefined". Our implementation... |
[
{
"context": "o curves with the horizontal and vertical slices\n# Karl W Broman\n\niheatmap = (widgetdiv, data, chartOpts) ->\n\n ",
"end": 105,
"score": 0.9997086524963379,
"start": 92,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/htmlwidgets/lib/qtlcharts/iheatmap.coffee | cran/qtlcharts | 64 | # iheatmap: Interactive heatmap, linked to curves with the horizontal and vertical slices
# Karl W Broman
iheatmap = (widgetdiv, data, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 800 # total height of chart
width = chartOpts?.width ? 800 # total width of char... | 52002 | # iheatmap: Interactive heatmap, linked to curves with the horizontal and vertical slices
# <NAME>
iheatmap = (widgetdiv, data, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 800 # total height of chart
width = chartOpts?.width ? 800 # total width of chart
h... | true | # iheatmap: Interactive heatmap, linked to curves with the horizontal and vertical slices
# PI:NAME:<NAME>END_PI
iheatmap = (widgetdiv, data, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 800 # total height of chart
width = chartOpts?.width ? 800 # total width ... |
[
{
"context": " expect(@resource.giftCardToken).toEqual('abc123')\n\n describe 'when primaryKey defined', ->",
"end": 3418,
"score": 0.97022545337677,
"start": 3412,
"tag": "KEY",
"value": "abc123"
},
{
"context": " @target = MyLibrary.GiftCard.build(token: 'abc12... | spec/associations/belongs_to.coffee | daniffig/active-resource.js | 95 | describe 'ActiveResource', ->
beforeEach ->
moxios.install(MyLibrary.interface.axios)
window.onSuccess = jasmine.createSpy('onSuccess')
window.onFailure = jasmine.createSpy('onFailure')
window.onCompletion = jasmine.createSpy('onCompletion')
afterEach ->
moxios.uninstall()
describe '::Assoc... | 72326 | describe 'ActiveResource', ->
beforeEach ->
moxios.install(MyLibrary.interface.axios)
window.onSuccess = jasmine.createSpy('onSuccess')
window.onFailure = jasmine.createSpy('onFailure')
window.onCompletion = jasmine.createSpy('onCompletion')
afterEach ->
moxios.uninstall()
describe '::Assoc... | true | describe 'ActiveResource', ->
beforeEach ->
moxios.install(MyLibrary.interface.axios)
window.onSuccess = jasmine.createSpy('onSuccess')
window.onFailure = jasmine.createSpy('onFailure')
window.onCompletion = jasmine.createSpy('onCompletion')
afterEach ->
moxios.uninstall()
describe '::Assoc... |
[
{
"context": "\nnikita = require '@nikitajs/core'\n{tags, ssh, db} = require './test'\nthey = r",
"end": 28,
"score": 0.7157999277114868,
"start": 23,
"tag": "USERNAME",
"value": "itajs"
},
{
"context": "e 'postgres_user_2'\n .db.user\n username: 'postgres_user_2'\n pass... | packages/db/test/schema.coffee | DanielJohnHarty/node-nikita | 1 |
nikita = require '@nikitajs/core'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
describe 'db.schema postgres', ->
return unless db.postgresql
they 'add new schema with no owner (existing db)', ({ssh}) ->
nikita
ssh: ssh
db: db.postgresql
... | 14650 |
nikita = require '@nikitajs/core'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
describe 'db.schema postgres', ->
return unless db.postgresql
they 'add new schema with no owner (existing db)', ({ssh}) ->
nikita
ssh: ssh
db: db.postgresql
... | true |
nikita = require '@nikitajs/core'
{tags, ssh, db} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.db
describe 'db.schema postgres', ->
return unless db.postgresql
they 'add new schema with no owner (existing db)', ({ssh}) ->
nikita
ssh: ssh
db: db.postgresql
... |
[
{
"context": "wordBlock: ->\n newPassword = $('<input type=\"password\" id=\"newPassword\" name=\"newPassword\">').addClass(",
"end": 1787,
"score": 0.9832077026367188,
"start": 1779,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "rent()\n newPasswordRepeate = $('<... | app/assets/javascripts/main.coffee | devosc00/payment | 0 | $ ->
materialsArray = []
$("#but").click ->
serverRoutes.controllers.Application.sendJsonOrder().ajax
contentType: "application/json"
success: (resp) ->
console.log resp.url + " " + resp.order
# # json = JSON.parse(resp)
# $.ajax
# contentType: "application/json"
# ... | 134749 | $ ->
materialsArray = []
$("#but").click ->
serverRoutes.controllers.Application.sendJsonOrder().ajax
contentType: "application/json"
success: (resp) ->
console.log resp.url + " " + resp.order
# # json = JSON.parse(resp)
# $.ajax
# contentType: "application/json"
# ... | true | $ ->
materialsArray = []
$("#but").click ->
serverRoutes.controllers.Application.sendJsonOrder().ajax
contentType: "application/json"
success: (resp) ->
console.log resp.url + " " + resp.order
# # json = JSON.parse(resp)
# $.ajax
# contentType: "application/json"
# ... |
[
{
"context": "reply\n\n\t\t\t\tquery = querystring.stringify\n\t\t\t\t\tkey: @getApiKey 'ipinfodb'\n\t\t\t\t\tip: address\n\t\t\t\t\tformat:",
"end": 1995,
"score": 0.5769926905632019,
"start": 1994,
"tag": "KEY",
"value": "@"
},
{
"context": "ery = querystring.stringify\n\t\t\t\t\tk... | src/modules/util/GeolocateModule.coffee | Darkblizer/kurea | 0 | module.exports = (Module) ->
Q = require 'q'
request = require 'request'
querystring = require 'querystring'
net = require 'net'
dns = require 'dns'
_ = str: require 'underscore.string'
class GeolocateModule extends Module
shortName: "Geolocate"
helpText:
default: "Lock onto the position of the target ad... | 147820 | module.exports = (Module) ->
Q = require 'q'
request = require 'request'
querystring = require 'querystring'
net = require 'net'
dns = require 'dns'
_ = str: require 'underscore.string'
class GeolocateModule extends Module
shortName: "Geolocate"
helpText:
default: "Lock onto the position of the target ad... | true | module.exports = (Module) ->
Q = require 'q'
request = require 'request'
querystring = require 'querystring'
net = require 'net'
dns = require 'dns'
_ = str: require 'underscore.string'
class GeolocateModule extends Module
shortName: "Geolocate"
helpText:
default: "Lock onto the position of the target ad... |
[
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>\n\ndescribe 'Distanc",
"end": 36,
"score": 0.999889075756073,
"start": 18,
"tag": "NAME",
"value": "Christopher Joakim"
},
{
"context": "# Copyright 2015, Christopher Joakim <christopher.joakim@gmail.co... | m26-js/test-src/m26_distance_spec.coffee | cjoakim/oss | 0 | # Copyright 2015, Christopher Joakim <christopher.joakim@gmail.com>
describe 'Distance', ->
it "should assume miles as UOM, and convert to other units", ->
d = new Distance(26.2)
expect(d.uom()).toBe(Constants.UOM_MILES)
expect(d.as_miles()).isWithin(0.0000000001, 26.2)
expect(d.as_kilometers()).isW... | 9676 | # Copyright 2015, <NAME> <<EMAIL>>
describe 'Distance', ->
it "should assume miles as UOM, and convert to other units", ->
d = new Distance(26.2)
expect(d.uom()).toBe(Constants.UOM_MILES)
expect(d.as_miles()).isWithin(0.0000000001, 26.2)
expect(d.as_kilometers()).isWithin(0.0000000001, 42.1648128)
... | true | # Copyright 2015, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
describe 'Distance', ->
it "should assume miles as UOM, and convert to other units", ->
d = new Distance(26.2)
expect(d.uom()).toBe(Constants.UOM_MILES)
expect(d.as_miles()).isWithin(0.0000000001, 26.2)
expect(d.as_kilometers()).isWithi... |
[
{
"context": "]\n configValue = configKeyValue[1]\n\n key = 'configure_' + configKey + '_' + msg.envelope.room\n msg.rob",
"end": 847,
"score": 0.9329301118850708,
"start": 836,
"tag": "KEY",
"value": "configure_'"
},
{
"context": "gKeyValue[1]\n\n key = 'configure_' + co... | scripts/actions/configure.coffee | banticscoop/hubot-natural | 147 | require 'coffeescript/register'
classifier = require '../bot/classifier'
security = require '../lib/security'
{ msgVariables, stringElseRandomKey, sendMessages,
loadConfigfile, getConfigFilePath } = require '../lib/common'
class Configure
constructor: (@interaction) ->
process: (msg) =>
if @interaction.ro... | 177258 | require 'coffeescript/register'
classifier = require '../bot/classifier'
security = require '../lib/security'
{ msgVariables, stringElseRandomKey, sendMessages,
loadConfigfile, getConfigFilePath } = require '../lib/common'
class Configure
constructor: (@interaction) ->
process: (msg) =>
if @interaction.ro... | true | require 'coffeescript/register'
classifier = require '../bot/classifier'
security = require '../lib/security'
{ msgVariables, stringElseRandomKey, sendMessages,
loadConfigfile, getConfigFilePath } = require '../lib/common'
class Configure
constructor: (@interaction) ->
process: (msg) =>
if @interaction.ro... |
[
{
"context": "ew Enforce style prop value is an object\n# @author David Petersen\n###\n'use strict'\n\n# -----------------------------",
"end": 83,
"score": 0.9998331665992737,
"start": 69,
"tag": "NAME",
"value": "David Petersen"
}
] | src/tests/rules/style-prop-object.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Enforce style prop value is an object
# @author David Petersen
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/style-prop-o... | 213431 | ###*
# @fileoverview Enforce style prop value is an object
# @author <NAME>
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/style-prop-object'
{... | true | ###*
# @fileoverview Enforce style prop value is an object
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# ------------------------------------------------------------------------------
# Requirements
# ------------------------------------------------------------------------------
rule = require '../../rules/style-... |
[
{
"context": " data =\n _id: 'org.couchdb.user:'+ req.param 'username'\n name: req.param 'username'\n password: req",
"end": 2785,
"score": 0.980932354927063,
"start": 2777,
"tag": "USERNAME",
"value": "username"
},
{
"context": "user:'+ req.param 'username'\n name: req.... | main.coffee | koostudios/couchpress | 7 | # Requires and Variables
fs = require 'fs'
exp = require 'express'
pass = require 'passport'
app = exp.createServer()
config = require('./config').config
Local = require('passport-local').Strategy
# Controllers
posts = require('./controllers/posts').posts
users = require('./controllers/users').users
uploads = require(... | 64554 | # Requires and Variables
fs = require 'fs'
exp = require 'express'
pass = require 'passport'
app = exp.createServer()
config = require('./config').config
Local = require('passport-local').Strategy
# Controllers
posts = require('./controllers/posts').posts
users = require('./controllers/users').users
uploads = require(... | true | # Requires and Variables
fs = require 'fs'
exp = require 'express'
pass = require 'passport'
app = exp.createServer()
config = require('./config').config
Local = require('passport-local').Strategy
# Controllers
posts = require('./controllers/posts').posts
users = require('./controllers/users').users
uploads = require(... |
[
{
"context": "aysLeft: 10\n degrade: true\n\n brie:\n name: \"Aged Brie\"\n quality: 0\n daysLeft: 2\n improveWithTi",
"end": 134,
"score": 0.9830999374389648,
"start": 125,
"tag": "NAME",
"value": "Aged Brie"
},
{
"context": "ers: [10, 5]\n expire: true\n\n cake:... | src/Data.coffee | Adelost/CodeKata-GildedRose-Redesign | 0 | exports.items =
vest:
name: "+5 Dexterity Vest"
quality: 20
daysLeft: 10
degrade: true
brie:
name: "Aged Brie"
quality: 0
daysLeft: 2
improveWithTime:
max: 50
elixir:
name: "Elixir of the Mongoose"
quality: 7
daysLeft: 5
degrade: true
sulfuras:
name: ... | 196506 | exports.items =
vest:
name: "+5 Dexterity Vest"
quality: 20
daysLeft: 10
degrade: true
brie:
name: "<NAME>"
quality: 0
daysLeft: 2
improveWithTime:
max: 50
elixir:
name: "Elixir of the Mongoose"
quality: 7
daysLeft: 5
degrade: true
sulfuras:
name: "Su... | true | exports.items =
vest:
name: "+5 Dexterity Vest"
quality: 20
daysLeft: 10
degrade: true
brie:
name: "PI:NAME:<NAME>END_PI"
quality: 0
daysLeft: 2
improveWithTime:
max: 50
elixir:
name: "Elixir of the Mongoose"
quality: 7
daysLeft: 5
degrade: true
sulfuras:... |
[
{
"context": "Cookies = require \"cookies\"\nkey = 'is-inverted'\n\nmodule.exports = (req, res, next) ->\n cookies ",
"end": 46,
"score": 0.994151771068573,
"start": 35,
"tag": "KEY",
"value": "is-inverted"
}
] | components/night_mode/middleware.coffee | 1aurabrown/ervell | 2 | Cookies = require "cookies"
key = 'is-inverted'
module.exports = (req, res, next) ->
cookies = new Cookies req, res
isInverted = cookies.get key
res.locals.sd.IS_INVERTED = true if isInverted is '1'
next() | 38132 | Cookies = require "cookies"
key = '<KEY>'
module.exports = (req, res, next) ->
cookies = new Cookies req, res
isInverted = cookies.get key
res.locals.sd.IS_INVERTED = true if isInverted is '1'
next() | true | Cookies = require "cookies"
key = 'PI:KEY:<KEY>END_PI'
module.exports = (req, res, next) ->
cookies = new Cookies req, res
isInverted = cookies.get key
res.locals.sd.IS_INVERTED = true if isInverted is '1'
next() |
[
{
"context": "kup(\"service:socket\")\n @userParams =\n email: \"acceptance-session-#{Math.random()}@test.co\"\n password: \"password123\"\n visit '/'\n\n andTh",
"end": 507,
"score": 0.9920468330383301,
"start": 464,
"tag": "EMAIL",
"value": "acceptance-session-#{Math.random()}@tes... | tests/acceptance/session-chan-test.coffee | foxnewsnetwork/autox | 0 | `import Ember from 'ember'`
`import { test } from 'qunit'`
`import moduleForAcceptance from '../../tests/helpers/module-for-acceptance'`
{RSVP} = Ember
moduleForAcceptance 'Acceptance: SessionChan'
test 'visiting /', (assert) ->
@store = @application.__container__.lookup("service:store")
@session = @application.__... | 57308 | `import Ember from 'ember'`
`import { test } from 'qunit'`
`import moduleForAcceptance from '../../tests/helpers/module-for-acceptance'`
{RSVP} = Ember
moduleForAcceptance 'Acceptance: SessionChan'
test 'visiting /', (assert) ->
@store = @application.__container__.lookup("service:store")
@session = @application.__... | true | `import Ember from 'ember'`
`import { test } from 'qunit'`
`import moduleForAcceptance from '../../tests/helpers/module-for-acceptance'`
{RSVP} = Ember
moduleForAcceptance 'Acceptance: SessionChan'
test 'visiting /', (assert) ->
@store = @application.__container__.lookup("service:store")
@session = @application.__... |
[
{
"context": "= require 'async'\nredis = require 'redis'\n\nKEY = 'test_migration_1'\n\nmodule.exports =\n up: (cb) ->\n redisClient ",
"end": 72,
"score": 0.8950101733207703,
"start": 56,
"tag": "KEY",
"value": "test_migration_1"
}
] | test/migration.coffee | goodeggs/node-migrate-redis | 1 | async = require 'async'
redis = require 'redis'
KEY = 'test_migration_1'
module.exports =
up: (cb) ->
redisClient = null
async.series [
(next) ->
redisClient = redis.createClient()
redisClient.on 'ready', next
(next) ->
redisClient.set KEY, Math.random(), next
], cb
... | 205045 | async = require 'async'
redis = require 'redis'
KEY = '<KEY>'
module.exports =
up: (cb) ->
redisClient = null
async.series [
(next) ->
redisClient = redis.createClient()
redisClient.on 'ready', next
(next) ->
redisClient.set KEY, Math.random(), next
], cb
down: (c... | true | async = require 'async'
redis = require 'redis'
KEY = 'PI:KEY:<KEY>END_PI'
module.exports =
up: (cb) ->
redisClient = null
async.series [
(next) ->
redisClient = redis.createClient()
redisClient.on 'ready', next
(next) ->
redisClient.set KEY, Math.random(), next
], c... |
[
{
"context": "thor, date, rating) =>\n\t\t\titem = '私'\n\t\t\tuserid = 'lol'+randItem [0..20]\n\t\t\tstoryid = userid+'_'+item\n\t\t",
"end": 8012,
"score": 0.9698610901832581,
"start": 8009,
"tag": "USERNAME",
"value": "lol"
},
{
"context": "g\n\t\t\t@log [@hanzi, hanzi2slot, @.clon... | templates/js/game.coffee | aoeu256/langmer | 0 | #dir = (ob) ->
# out = []
# for attr of ob
# out.push attr
# out.sort()
# out
"strict"
DEBUG = false
VERSION = 3
# if DEBUG is true
# Global = {obj:{}}
# Global.obj.__noSuchMethod__ = ((s) -> return ((s) -> null))
# $ = ->
# return Global.obj
Function::property = (prop, desc) ->
Object.defineProperty @... | 82184 | #dir = (ob) ->
# out = []
# for attr of ob
# out.push attr
# out.sort()
# out
"strict"
DEBUG = false
VERSION = 3
# if DEBUG is true
# Global = {obj:{}}
# Global.obj.__noSuchMethod__ = ((s) -> return ((s) -> null))
# $ = ->
# return Global.obj
Function::property = (prop, desc) ->
Object.defineProperty @... | true | #dir = (ob) ->
# out = []
# for attr of ob
# out.push attr
# out.sort()
# out
"strict"
DEBUG = false
VERSION = 3
# if DEBUG is true
# Global = {obj:{}}
# Global.obj.__noSuchMethod__ = ((s) -> return ((s) -> null))
# $ = ->
# return Global.obj
Function::property = (prop, desc) ->
Object.defineProperty @... |
[
{
"context": "'password',\n email: email\n password: password\n rememberMe: true\n\n Create_User: =>\n ",
"end": 1155,
"score": 0.999369204044342,
"start": 1147,
"tag": "PASSWORD",
"value": "password"
}
] | code/coffee/main.coffee | CurtisHumphrey/mobile_class_2014 | 1 | define (require) ->
ko = require 'knockout'
$ = require "jquery"
FireBase = require "firebase"
FirebaseSimpleLogin = require "firebase_login"
PAGES =
SETTINGS: "settings"
TIMERS: "timers"
LOGIN: "login"
class Main_App
constructor: ->
@page = ko.observable PAGES.TIMERS
@firebase... | 70723 | define (require) ->
ko = require 'knockout'
$ = require "jquery"
FireBase = require "firebase"
FirebaseSimpleLogin = require "firebase_login"
PAGES =
SETTINGS: "settings"
TIMERS: "timers"
LOGIN: "login"
class Main_App
constructor: ->
@page = ko.observable PAGES.TIMERS
@firebase... | true | define (require) ->
ko = require 'knockout'
$ = require "jquery"
FireBase = require "firebase"
FirebaseSimpleLogin = require "firebase_login"
PAGES =
SETTINGS: "settings"
TIMERS: "timers"
LOGIN: "login"
class Main_App
constructor: ->
@page = ko.observable PAGES.TIMERS
@firebase... |
[
{
"context": " 'genProp', ->\n # test\n context '(\"task1\", \"alice\")', ->\n # response\n it 'return todo pro",
"end": 172,
"score": 0.9083036780357361,
"start": 167,
"tag": "NAME",
"value": "alice"
},
{
"context": "urn todo prop', ->\n todo.genProp('task1', ... | test/lib/test_todo.coffee | NandanSharma/AIDetails | 0 | todo = require('../../lib/js/todo.js')
user = require('../../lib/js/user.js')
describe 'lib/todo.js', ->
describe 'genProp', ->
# test
context '("task1", "alice")', ->
# response
it 'return todo prop', ->
todo.genProp('task1', 'alice').should.eql(A.todoGenProp)
# test
context '("... | 125089 | todo = require('../../lib/js/todo.js')
user = require('../../lib/js/user.js')
describe 'lib/todo.js', ->
describe 'genProp', ->
# test
context '("task1", "<NAME>")', ->
# response
it 'return todo prop', ->
todo.genProp('task1', '<NAME>').should.eql(A.todoGenProp)
# test
context '... | true | todo = require('../../lib/js/todo.js')
user = require('../../lib/js/user.js')
describe 'lib/todo.js', ->
describe 'genProp', ->
# test
context '("task1", "PI:NAME:<NAME>END_PI")', ->
# response
it 'return todo prop', ->
todo.genProp('task1', 'PI:NAME:<NAME>END_PI').should.eql(A.todoGenPr... |
[
{
"context": "\"author_name\", \"title\", (p) -> p.author_name is 'Babe'),\n \"<option value=\\\"<Abe>\\\"><Abe",
"end": 6561,
"score": 0.5534284710884094,
"start": 6558,
"tag": "NAME",
"value": "abe"
},
{
"context": "me\", \"title\", disabled: (p) -> p.author_name in... | test/javascripts/tests/helpers/form_options_test.js.coffee | evrone/ultimate-helpers | 2 | #= require ultimate/underscore/underscore
#= require ultimate/underscore/underscore.string
#= require ultimate/underscore/underscore.outcasts
#= require vendors/backbone
#= require ultimate/helpers/form_options
module "Ultimate.Helpers.FormOptions"
_.extend @, Ultimate.Helpers.FormOptions
test "options_for_select", ... | 109648 | #= require ultimate/underscore/underscore
#= require ultimate/underscore/underscore.string
#= require ultimate/underscore/underscore.outcasts
#= require vendors/backbone
#= require ultimate/helpers/form_options
module "Ultimate.Helpers.FormOptions"
_.extend @, Ultimate.Helpers.FormOptions
test "options_for_select", ... | true | #= require ultimate/underscore/underscore
#= require ultimate/underscore/underscore.string
#= require ultimate/underscore/underscore.outcasts
#= require vendors/backbone
#= require ultimate/helpers/form_options
module "Ultimate.Helpers.FormOptions"
_.extend @, Ultimate.Helpers.FormOptions
test "options_for_select", ... |
[
{
"context": "orage = require 'core/storage'\nGPLUS_TOKEN_KEY = 'gplusToken'\n\n# gplus user object props to\nuserPropsToSave =\n",
"end": 168,
"score": 0.6977407336235046,
"start": 158,
"tag": "KEY",
"value": "gplusToken"
},
{
"context": "t props to\nuserPropsToSave =\n 'name.given... | app/core/social-handlers/GPlusHandler.coffee | SwimmingTiger/codecombat | 0 | CocoClass = require 'core/CocoClass'
{me} = require 'core/auth'
{backboneFailure} = require 'core/errors'
storage = require 'core/storage'
GPLUS_TOKEN_KEY = 'gplusToken'
# gplus user object props to
userPropsToSave =
'name.givenName': 'firstName'
'name.familyName': 'lastName'
'gender': 'gender'
'id': 'gplusID'... | 209575 | CocoClass = require 'core/CocoClass'
{me} = require 'core/auth'
{backboneFailure} = require 'core/errors'
storage = require 'core/storage'
GPLUS_TOKEN_KEY = '<KEY>'
# gplus user object props to
userPropsToSave =
'name.givenName': '<NAME>'
'name.familyName': '<NAME>'
'gender': 'gender'
'id': 'gplusID'
fieldsTo... | true | CocoClass = require 'core/CocoClass'
{me} = require 'core/auth'
{backboneFailure} = require 'core/errors'
storage = require 'core/storage'
GPLUS_TOKEN_KEY = 'PI:KEY:<KEY>END_PI'
# gplus user object props to
userPropsToSave =
'name.givenName': 'PI:NAME:<NAME>END_PI'
'name.familyName': 'PI:NAME:<NAME>END_PI'
'gend... |
[
{
"context": "u to send links to the RssToDoList service made by Gregory Paul (https://github.com/paulgreg) : \n#\n# http://rssto",
"end": 74,
"score": 0.9998859167098999,
"start": 62,
"tag": "NAME",
"value": "Gregory Paul"
},
{
"context": " service made by Gregory Paul (https://gith... | src/scripts/rsstodolist.coffee | mcollina/hubot-scripts | 1 | # Allows you to send links to the RssToDoList service made by Gregory Paul (https://github.com/paulgreg) :
#
# http://rsstodolist.appspot.com/
#
# hubot rtdl show <user_name> - Display the <user_name> RssToDoList feed url
# hubot rtdl add <user_name> <link> - Send the <link> to <user_name> RssToDoList feed
#
m... | 101470 | # Allows you to send links to the RssToDoList service made by <NAME> (https://github.com/paulgreg) :
#
# http://rsstodolist.appspot.com/
#
# hubot rtdl show <user_name> - Display the <user_name> RssToDoList feed url
# hubot rtdl add <user_name> <link> - Send the <link> to <user_name> RssToDoList feed
#
module.... | true | # Allows you to send links to the RssToDoList service made by PI:NAME:<NAME>END_PI (https://github.com/paulgreg) :
#
# http://rsstodolist.appspot.com/
#
# hubot rtdl show <user_name> - Display the <user_name> RssToDoList feed url
# hubot rtdl add <user_name> <link> - Send the <link> to <user_name> RssToDoList f... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998447299003601,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/material/normal.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 85636 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "word) ->\n @options.auth =\n user: username\n pass: password\n\n # Set digest auth",
"end": 2341,
"score": 0.9727195501327515,
"start": 2333,
"tag": "USERNAME",
"value": "username"
},
{
"context": "uth =\n user: username\n ... | main.coffee | cozy/request-json | 87 | request = require "request"
fs = require "fs"
url = require "url"
depd = require "depd"
deprecate = depd "request-json"
requestJson = module.exports
# Function to build a request json client instance.
requestJson.createClient = (url, options = {}) ->
new requestJson.JsonClient url, options
requestJson.newClien... | 208697 | request = require "request"
fs = require "fs"
url = require "url"
depd = require "depd"
deprecate = depd "request-json"
requestJson = module.exports
# Function to build a request json client instance.
requestJson.createClient = (url, options = {}) ->
new requestJson.JsonClient url, options
requestJson.newClien... | true | request = require "request"
fs = require "fs"
url = require "url"
depd = require "depd"
deprecate = depd "request-json"
requestJson = module.exports
# Function to build a request json client instance.
requestJson.createClient = (url, options = {}) ->
new requestJson.JsonClient url, options
requestJson.newClien... |
[
{
"context": " # Some comments\n\n [group1]\n\n key1a=\"value1a\"\n\n # comment\n key1b=1\n\n # Ad",
"end": 376,
"score": 0.9971988797187805,
"start": 369,
"tag": "KEY",
"value": "value1a"
},
{
"context": "## double comment = value\n key1b1 ... | packages/file/test/utils/ini/parse_multi_brackets.coffee | shivaylamba/meilisearch-gatsby-plugin-guide | 31 |
{ini} = require '../../../src/utils'
{tags} = require '../../test'
return unless tags.api
describe 'utils.ini.parse_multi_brackets', ->
describe 'multi brackets', ->
it 'parse style', ->
ini.parse_multi_brackets """
###########################################################################
... | 158452 |
{ini} = require '../../../src/utils'
{tags} = require '../../test'
return unless tags.api
describe 'utils.ini.parse_multi_brackets', ->
describe 'multi brackets', ->
it 'parse style', ->
ini.parse_multi_brackets """
###########################################################################
... | true |
{ini} = require '../../../src/utils'
{tags} = require '../../test'
return unless tags.api
describe 'utils.ini.parse_multi_brackets', ->
describe 'multi brackets', ->
it 'parse style', ->
ini.parse_multi_brackets """
###########################################################################
... |
[
{
"context": "r templates, refer to the FAQ: https://github.com/bevry/docpad/wiki/FAQ\n\n\ttemplateData:\n\n\t\t# Specify some",
"end": 320,
"score": 0.9992272257804871,
"start": 315,
"tag": "USERNAME",
"value": "bevry"
},
{
"context": "\t\t\"\"\"\n\n\t\t\t# The website author's name... | docpad.coffee | balupton/zurb-foundation.docpad | 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... | 39010 | # 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": " if sprints.length > 0\n key = \"BACKLOG.SPRINTS.ACTION_HIDE_CLOSED_SPRINTS\"\n else\n key = \"BACKLOG.",
"end": 5363,
"score": 0.9646686315536499,
"start": 5321,
"tag": "KEY",
"value": "BACKLOG.SPRINTS.ACTION_HIDE_CLOSED_SPRINTS"
... | app/coffee/modules/backlog/sprints.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | 209778 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... |
[
{
"context": "der widget script\n # by w3widgets\n #\n # Author: Lukasz Kokoszkiewicz\n #\n # Copyright © w3widgets 2013 All Rights Res",
"end": 94,
"score": 0.999830961227417,
"start": 74,
"tag": "NAME",
"value": "Lukasz Kokoszkiewicz"
}
] | public/plugin/responsive-slider/js/coffee/responsive-slider.coffee | FeedersProgramming/3DHorse | 1 | ###!
# Responsive Slider widget script
# by w3widgets
#
# Author: Lukasz Kokoszkiewicz
#
# Copyright © w3widgets 2013 All Rights Reserved
###
do ($ = jQuery) ->
# SLIDER CLASS DEFINITION
# =======================
Slider = ( element, options ) ->
@$element = element
@$slides = @$element.find( ... | 119640 | ###!
# Responsive Slider widget script
# by w3widgets
#
# Author: <NAME>
#
# Copyright © w3widgets 2013 All Rights Reserved
###
do ($ = jQuery) ->
# SLIDER CLASS DEFINITION
# =======================
Slider = ( element, options ) ->
@$element = element
@$slides = @$element.find( '.slides ul li... | true | ###!
# Responsive Slider widget script
# by w3widgets
#
# Author: PI:NAME:<NAME>END_PI
#
# Copyright © w3widgets 2013 All Rights Reserved
###
do ($ = jQuery) ->
# SLIDER CLASS DEFINITION
# =======================
Slider = ( element, options ) ->
@$element = element
@$slides = @$element.find( ... |
[
{
"context": "in Mykonos\n# bubot kostas bomb N\n#\n# Author:\n# Mateusz Kopij <sagasu>\n\nranipics = [\n \"https://dumkhum.com/w",
"end": 260,
"score": 0.999849796295166,
"start": 247,
"tag": "NAME",
"value": "Mateusz Kopij"
},
{
"context": "ubot kostas bomb N\n#\n# Author:\n... | scripts/kostas.coffee | sagasu/doc | 1 | # Description:
# Kostas requests
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot chori chori
# hubot whose Kostas favorite actress
# hubot how is Kostas doing in Mykonos
# bubot kostas bomb N
#
# Author:
# Mateusz Kopij <sagasu>
ranipics = [
"https://dumkhum.com/wp-content/... | 222198 | # Description:
# Kostas requests
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot chori chori
# hubot whose Kostas favorite actress
# hubot how is Kostas doing in Mykonos
# bubot kostas bomb N
#
# Author:
# <NAME> <sagasu>
ranipics = [
"https://dumkhum.com/wp-content/uploads... | true | # Description:
# Kostas requests
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot chori chori
# hubot whose Kostas favorite actress
# hubot how is Kostas doing in Mykonos
# bubot kostas bomb N
#
# Author:
# PI:NAME:<NAME>END_PI <sagasu>
ranipics = [
"https://dumkhum.com/wp-c... |
[
{
"context": "s GET, POST, PUT, and DELETE HTTP verbs. \r\n@author Nathan Klick\r\n@copyright QRef 2012\r\n@abstract\r\n###\r\nclass Rout",
"end": 108,
"score": 0.999775230884552,
"start": 96,
"tag": "NAME",
"value": "Nathan Klick"
}
] | Workspace/QRef/NodeServer/src/router/Route.coffee | qrefdev/qref | 0 | ###
Basic definition of a route that supports GET, POST, PUT, and DELETE HTTP verbs.
@author Nathan Klick
@copyright QRef 2012
@abstract
###
class Route
###
@property [Array<RouteMethod>] The array of HTTP methods to register with the express runtime.
###
methods: [{method: 'GET', path: null }, {method:... | 132362 | ###
Basic definition of a route that supports GET, POST, PUT, and DELETE HTTP verbs.
@author <NAME>
@copyright QRef 2012
@abstract
###
class Route
###
@property [Array<RouteMethod>] The array of HTTP methods to register with the express runtime.
###
methods: [{method: 'GET', path: null }, {method: 'POST... | true | ###
Basic definition of a route that supports GET, POST, PUT, and DELETE HTTP verbs.
@author PI:NAME:<NAME>END_PI
@copyright QRef 2012
@abstract
###
class Route
###
@property [Array<RouteMethod>] The array of HTTP methods to register with the express runtime.
###
methods: [{method: 'GET', path: null }, ... |
[
{
"context": "# Microbrew.it recipe editor\n# @author Torstein Thune\n# @copyright 2016 Microbrew.it\nmbit = angular.mod",
"end": 53,
"score": 0.9998703002929688,
"start": 39,
"tag": "NAME",
"value": "Torstein Thune"
}
] | app/Application.coffee | Microbrewit/microbrewit-recipe-calculator | 0 | # Microbrew.it recipe editor
# @author Torstein Thune
# @copyright 2016 Microbrew.it
mbit = angular.module('Microbrewit',
[
'ui.router'
]
)
mbit.config ($stateProvider, $urlRouterProvider, $locationProvider) ->
#For any unmatched url, redirect to /state1
$urlRouterProvider.otherwise '/'
$locationProvider.htm... | 213355 | # Microbrew.it recipe editor
# @author <NAME>
# @copyright 2016 Microbrew.it
mbit = angular.module('Microbrewit',
[
'ui.router'
]
)
mbit.config ($stateProvider, $urlRouterProvider, $locationProvider) ->
#For any unmatched url, redirect to /state1
$urlRouterProvider.otherwise '/'
$locationProvider.html5Mode t... | true | # Microbrew.it recipe editor
# @author PI:NAME:<NAME>END_PI
# @copyright 2016 Microbrew.it
mbit = angular.module('Microbrewit',
[
'ui.router'
]
)
mbit.config ($stateProvider, $urlRouterProvider, $locationProvider) ->
#For any unmatched url, redirect to /state1
$urlRouterProvider.otherwise '/'
$locationProvid... |
[
{
"context": "FailedAttempts += 1\n else\n @password = null\n @reconnect()\n ).on('keyboard-interactive",
"end": 3209,
"score": 0.9936204552650452,
"start": 3205,
"tag": "PASSWORD",
"value": "null"
},
{
"context": "callback(new Instance({instance: stream, password... | lib/ssh-module.coffee | Sakawa/cilkide | 6 | ###
This file contains a few classes: SSHModule, SFTP, and Instance.
SSHModule controls the core SSH-related functionality - it establishes
the SSH connection and provides the interface for other modules to get
SFTP and Instance objects.
###
Client = require('ssh2').Client
EventEmitter = require('events')
Debug = req... | 276 | ###
This file contains a few classes: SSHModule, SFTP, and Instance.
SSHModule controls the core SSH-related functionality - it establishes
the SSH connection and provides the interface for other modules to get
SFTP and Instance objects.
###
Client = require('ssh2').Client
EventEmitter = require('events')
Debug = req... | true | ###
This file contains a few classes: SSHModule, SFTP, and Instance.
SSHModule controls the core SSH-related functionality - it establishes
the SSH connection and provides the interface for other modules to get
SFTP and Instance objects.
###
Client = require('ssh2').Client
EventEmitter = require('events')
Debug = req... |
[
{
"context": "操作成功\"\n \"data\":\n\n \"accessKey\":\"fgdf\"\n \"accessToken\":\"fdgfd\"\n \"u",
"end": 7456,
"score": 0.9967242479324341,
"start": 7452,
"tag": "KEY",
"value": "fgdf"
},
{
"context": " \"accessKey\":\"fgdf\"\n \"... | fake.service.coffee | Ashley2014/hb.js | 0 | http = require('http');
url = require('url');
formidable = require('formidable')
util = require('util')
fs = require('fs-extra');
qs=require('querystring');
uuid = require('node-uuid');
_ = require('lodash');
#console.log(process.argv)
#console.log(formidable,util)
#fs.writeFileSync('test.txt', 'Hello fs!');
#
#os =... | 206721 | http = require('http');
url = require('url');
formidable = require('formidable')
util = require('util')
fs = require('fs-extra');
qs=require('querystring');
uuid = require('node-uuid');
_ = require('lodash');
#console.log(process.argv)
#console.log(formidable,util)
#fs.writeFileSync('test.txt', 'Hello fs!');
#
#os =... | true | http = require('http');
url = require('url');
formidable = require('formidable')
util = require('util')
fs = require('fs-extra');
qs=require('querystring');
uuid = require('node-uuid');
_ = require('lodash');
#console.log(process.argv)
#console.log(formidable,util)
#fs.writeFileSync('test.txt', 'Hello fs!');
#
#os =... |
[
{
"context": "\t\ttemplate = require('/app/views/message')(name: 'David')\n\t\t\texpect(template).to.be.an.instanceof($)\n\t\t\te",
"end": 3079,
"score": 0.989500105381012,
"start": 3074,
"tag": "NAME",
"value": "David"
},
{
"context": "f($)\n\t\t\texpect(template.html()).to.be.equal... | test/browser/data/test/Require.coffee | Carrooi/Node-Simq | 0 |
# rewrite module specific require
require = window.require
$ = require '/libs/jquery'
describe 'require', ->
beforeEach( ->
require.release()
)
afterEach( ->
require.release()
)
describe '#resolve()', ->
it 'should return same name for module', ->
expect(require.resolve('/app/Application.coffee'))... | 125830 |
# rewrite module specific require
require = window.require
$ = require '/libs/jquery'
describe 'require', ->
beforeEach( ->
require.release()
)
afterEach( ->
require.release()
)
describe '#resolve()', ->
it 'should return same name for module', ->
expect(require.resolve('/app/Application.coffee'))... | true |
# rewrite module specific require
require = window.require
$ = require '/libs/jquery'
describe 'require', ->
beforeEach( ->
require.release()
)
afterEach( ->
require.release()
)
describe '#resolve()', ->
it 'should return same name for module', ->
expect(require.resolve('/app/Application.coffee'))... |
[
{
"context": "is file is part of the ChinesePuzzle package.\n\n(c) Mathieu Ledru\n\nFor the full copyright and license information, ",
"end": 70,
"score": 0.9998635053634644,
"start": 57,
"tag": "NAME",
"value": "Mathieu Ledru"
}
] | Common/Bin/Data/coffee/Game/GameLayout.coffee | matyo91/ChinesePuzzle | 1 | ###
This file is part of the ChinesePuzzle package.
(c) Mathieu Ledru
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.GameZOrder =
BG: 0
UI: 1
Board: 2
Card: 3
MoveCard: 4
HintCard: 5
cpz.GameLayout = cc.Class.extend(
_la... | 72565 | ###
This file is part of the ChinesePuzzle package.
(c) <NAME>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.GameZOrder =
BG: 0
UI: 1
Board: 2
Card: 3
MoveCard: 4
HintCard: 5
cpz.GameLayout = cc.Class.extend(
_layoutRes... | true | ###
This file is part of the ChinesePuzzle package.
(c) PI:NAME:<NAME>END_PI
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
###
cpz.GameZOrder =
BG: 0
UI: 1
Board: 2
Card: 3
MoveCard: 4
HintCard: 5
cpz.GameLayout = cc.Class.extend... |
[
{
"context": "()\n\n tokenKey = \"#{tokenView.getId()}-#{tokenView.getKey()}\"\n @tokenViews[tokenKey] =",
"end": 4143,
"score": 0.9751898050308228,
"start": 4143,
"tag": "KEY",
"value": ""
}
] | lib/components/inputs/tokenizedinputview.coffee | usirin/kd | 62 | KD = require '../../core/kd'
KDContentEditableView = require './contenteditableview'
KDContextMenu = require '../contextmenu/contextmenu'
Encoder = require 'htmlencode'
module.exports = class KDTokenizedInput extends KDContentEditableView
constructor: (options = {}, data) ->
options.cssCl... | 84689 | KD = require '../../core/kd'
KDContentEditableView = require './contenteditableview'
KDContextMenu = require '../contextmenu/contextmenu'
Encoder = require 'htmlencode'
module.exports = class KDTokenizedInput extends KDContentEditableView
constructor: (options = {}, data) ->
options.cssCl... | true | KD = require '../../core/kd'
KDContentEditableView = require './contenteditableview'
KDContextMenu = require '../contextmenu/contextmenu'
Encoder = require 'htmlencode'
module.exports = class KDTokenizedInput extends KDContentEditableView
constructor: (options = {}, data) ->
options.cssCl... |
[
{
"context": "debug \"Connecting to \" + @serveraddress + \" as \" + @username + \"/\" + @password\n if @xapi\n @xap",
"end": 549,
"score": 0.871371865272522,
"start": 540,
"tag": "USERNAME",
"value": "@username"
},
{
"context": ": @serveraddress\n auth:\n ... | src/index.coffee | ratokeshi/meshblu-connector-xenserver | 0 | {EventEmitter} = require 'events'
debug = require('debug')('meshblu-connector-xenserver:index')
xenapi = require 'xen-api'
series = require 'run-series'
class Connector extends EventEmitter
constructor: ->
@xapi = null
mockXapi: (xapi) ->
getXapi: ->
return new Prom... | 18416 | {EventEmitter} = require 'events'
debug = require('debug')('meshblu-connector-xenserver:index')
xenapi = require 'xen-api'
series = require 'run-series'
class Connector extends EventEmitter
constructor: ->
@xapi = null
mockXapi: (xapi) ->
getXapi: ->
return new Prom... | true | {EventEmitter} = require 'events'
debug = require('debug')('meshblu-connector-xenserver:index')
xenapi = require 'xen-api'
series = require 'run-series'
class Connector extends EventEmitter
constructor: ->
@xapi = null
mockXapi: (xapi) ->
getXapi: ->
return new Prom... |
[
{
"context": "bj = new Leaf.Observable\n id: 1\n name: 'John'\n age: 27\n\n\n it 'should throw an exception ",
"end": 203,
"score": 0.9998276233673096,
"start": 199,
"tag": "NAME",
"value": "John"
},
{
"context": "ode, @$parent\n\n expect(@$parent).toHaveText 'JO... | spec/template/dom_generator_spec.coffee | creasty-sandbox/leaf | 0 |
describe 'new Leaf.Template.DOMGenerator(tree, obj, scope)', ->
DUMMY_TREE = []
DUMMY_OBJ = new Leaf.ObservableObject()
beforeEach ->
@obj = new Leaf.Observable
id: 1
name: 'John'
age: 27
it 'should throw an exception if neither `tree` nor `obj` are given', ->
ctx = -> new Leaf.Te... | 125717 |
describe 'new Leaf.Template.DOMGenerator(tree, obj, scope)', ->
DUMMY_TREE = []
DUMMY_OBJ = new Leaf.ObservableObject()
beforeEach ->
@obj = new Leaf.Observable
id: 1
name: '<NAME>'
age: 27
it 'should throw an exception if neither `tree` nor `obj` are given', ->
ctx = -> new Leaf.... | true |
describe 'new Leaf.Template.DOMGenerator(tree, obj, scope)', ->
DUMMY_TREE = []
DUMMY_OBJ = new Leaf.ObservableObject()
beforeEach ->
@obj = new Leaf.Observable
id: 1
name: 'PI:NAME:<NAME>END_PI'
age: 27
it 'should throw an exception if neither `tree` nor `obj` are given', ->
ctx ... |
[
{
"context": "\"weight\": 0.3\n },\n {\n \"name\": \"author.family\",\n \"weight\": 0.6\n },\n {\n \"nam",
"end": 552,
"score": 0.6232250928878784,
"start": 546,
"tag": "NAME",
"value": "family"
}
] | lib/cite-manager.coffee | smparker/atom-autocomplete-latex-cite | 4 | {watchPath, CompositeDisposable} = require 'atom'
promisify = require "promisify-node"
fs = promisify('fs')
glob = require 'glob'
path = require 'path'
Fuse = require 'fuse.js'
bibtexParse = require './lite-bibtex-parse'
referenceTools = require './reference-tools'
module.exports =
class CiteManager
fuseOptions =
... | 50953 | {watchPath, CompositeDisposable} = require 'atom'
promisify = require "promisify-node"
fs = promisify('fs')
glob = require 'glob'
path = require 'path'
Fuse = require 'fuse.js'
bibtexParse = require './lite-bibtex-parse'
referenceTools = require './reference-tools'
module.exports =
class CiteManager
fuseOptions =
... | true | {watchPath, CompositeDisposable} = require 'atom'
promisify = require "promisify-node"
fs = promisify('fs')
glob = require 'glob'
path = require 'path'
Fuse = require 'fuse.js'
bibtexParse = require './lite-bibtex-parse'
referenceTools = require './reference-tools'
module.exports =
class CiteManager
fuseOptions =
... |
[
{
"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.9998806118965149,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Vendor/Twig/Extension/TwigExtension.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.
###
path = use('path')
Security = use('/app/config/security')
Twig = use('ks-twig')
#
# Tw... | 198636 | ###
* 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.
###
path = use('path')
Security = use('/app/config/security')
Twig = use('ks-twig')
#
# TwigExtension
#
# @aut... | 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.
###
path = use('path')
Security = use('/app/config/security')
Twig = use('ks-twig'... |
[
{
"context": "config=\n\tmap:\n\t\tleaflet:\n\t\t\tkey: \"fe623ce312234f8f9333bbee72d4a176\"\n\t\t\tstyleId: 64657\n\t\t\tattribution: 'Map data &cop",
"end": 66,
"score": 0.9997576475143433,
"start": 34,
"tag": "KEY",
"value": "fe623ce312234f8f9333bbee72d4a176"
}
] | test/1/coffee/config.coffee | faradayio/crosslet | 61 | config=
map:
leaflet:
key: "fe623ce312234f8f9333bbee72d4a176"
styleId: 64657
attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://cloudmade.com">CloudMade</a>'
view:... | 14605 | config=
map:
leaflet:
key: "<KEY>"
styleId: 64657
attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://cloudmade.com">CloudMade</a>'
view:
center: [51.505, -0.09]... | true | config=
map:
leaflet:
key: "PI:KEY:<KEY>END_PI"
styleId: 64657
attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://cloudmade.com">CloudMade</a>'
view:
center: [5... |
[
{
"context": "# Copyright (c) 2015 Riceball LEE, MIT License\n#xtend = require(\"xt",
"end": 33,
"score": 0.999716579914093,
"start": 21,
"tag": "NAME",
"value": "Riceball LEE"
}
] | src/nosql-subkey.coffee | marwahaha/node-nosql-subkey | 0 | # Copyright (c) 2015 Riceball LEE, MIT License
#xtend = require("xtend")
#util = require("abstract-object/lib/util")
Errors = require("abstract-error")
EncodingNoSQL = require("nosql-encoding")
AbstractNoSQL = EncodingNoSQL.super_
#AbstractNoSQL = ... | 26301 | # Copyright (c) 2015 <NAME>, MIT License
#xtend = require("xtend")
#util = require("abstract-object/lib/util")
Errors = require("abstract-error")
EncodingNoSQL = require("nosql-encoding")
AbstractNoSQL = EncodingNoSQL.super_
#AbstractNoSQL = requir... | true | # Copyright (c) 2015 PI:NAME:<NAME>END_PI, MIT License
#xtend = require("xtend")
#util = require("abstract-object/lib/util")
Errors = require("abstract-error")
EncodingNoSQL = require("nosql-encoding")
AbstractNoSQL = EncodingNoSQL.super_
#AbstractNoSQL ... |
[
{
"context": ".Node = Em.Object.extend\n # Properties\n title: 'hullo'\n children: null\n disabled: false\n editing: fa",
"end": 140,
"score": 0.8148130774497986,
"start": 135,
"tag": "NAME",
"value": "hullo"
}
] | app/scripts/models/node.coffee | peteb/ember-jstree | 1 | root = exports ? this
##
# Wrapper object for nodes in the jstree component.
##
root.Node = Em.Object.extend
# Properties
title: 'hullo'
children: null
disabled: false
editing: false
parent: undefined
isOpen: false
##
# Constructor
##
init: ->
@children = Em.A()
##
# Returns jstree-... | 191078 | root = exports ? this
##
# Wrapper object for nodes in the jstree component.
##
root.Node = Em.Object.extend
# Properties
title: '<NAME>'
children: null
disabled: false
editing: false
parent: undefined
isOpen: false
##
# Constructor
##
init: ->
@children = Em.A()
##
# Returns jstree... | true | root = exports ? this
##
# Wrapper object for nodes in the jstree component.
##
root.Node = Em.Object.extend
# Properties
title: 'PI:NAME:<NAME>END_PI'
children: null
disabled: false
editing: false
parent: undefined
isOpen: false
##
# Constructor
##
init: ->
@children = Em.A()
##
# ... |
[
{
"context": "ts = [\n _id: \"000000000000000000000011\"\n name: \"Ann Arbor\"\n,\n _id: \"000000000000000000000012\"\n name: \"Gra",
"end": 71,
"score": 0.9998515844345093,
"start": 62,
"tag": "NAME",
"value": "Ann Arbor"
},
{
"context": "bor\"\n,\n _id: \"000000000000000000000... | src/test/fixtures/place.michigan.coffee | seelio/mongoose-quickfix | 0 | module.exports = [
_id: "000000000000000000000011"
name: "Ann Arbor"
,
_id: "000000000000000000000012"
name: "Grand Rapids"
,
_id: "000000000000000000000013"
name: "Detroit"
]
| 122438 | module.exports = [
_id: "000000000000000000000011"
name: "<NAME>"
,
_id: "000000000000000000000012"
name: "<NAME>"
,
_id: "000000000000000000000013"
name: "<NAME>"
]
| true | module.exports = [
_id: "000000000000000000000011"
name: "PI:NAME:<NAME>END_PI"
,
_id: "000000000000000000000012"
name: "PI:NAME:<NAME>END_PI"
,
_id: "000000000000000000000013"
name: "PI:NAME:<NAME>END_PI"
]
|
[
{
"context": "# Author: Josh Bass\n\nmathjs = require(\"mathjs\");\nReact = require(\"rea",
"end": 19,
"score": 0.9998772740364075,
"start": 10,
"tag": "NAME",
"value": "Josh Bass"
}
] | src/client/components/inventory/InventoryEdit.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, name: "", type: "", acquire_location: "", acquire_date: Moment(), cost: "0.00"... | 212063 | # Author: <NAME>
mathjs = require("mathjs");
React = require("react");
DatePicker = require("react-datepicker");
Moment = require("moment");
module.exports = React.createClass
getInitialState: ->
@default_state = {_id: undefined, name: "", type: "", acquire_location: "", acquire_date: Moment(), cost: "0.00", s... | 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, name: "", type: "", acquire_location: "", acquire_date: Moment(), c... |
[
{
"context": "lOptions or= {}\n options =\n 'https-address': \"127.0.0.1:#{HTTPS_PORT}\"\n 'tcp-address': \"127.0.0.1:#{TC",
"end": 538,
"score": 0.9997515082359314,
"start": 529,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "s': \"127.0.0.1:#{HTTPS_PORT}\"\n '... | test/tls_integration_test.coffee | upyun-dev/nsqjs | 0 | _ = require 'underscore'
async = require 'async'
child_process = require 'child_process'
{readFileSync} = require 'fs'
request = require 'request'
should = require 'should'
temp = require('temp').track()
nsq = require '../src/nsq'
TCP_PORT = 14150
HTTPS_PORT = 14152
CLIENT_CERT = readFileSync './test/clientcert.cer... | 147758 | _ = require 'underscore'
async = require 'async'
child_process = require 'child_process'
{readFileSync} = require 'fs'
request = require 'request'
should = require 'should'
temp = require('temp').track()
nsq = require '../src/nsq'
TCP_PORT = 14150
HTTPS_PORT = 14152
CLIENT_CERT = readFileSync './test/clientcert.cer... | true | _ = require 'underscore'
async = require 'async'
child_process = require 'child_process'
{readFileSync} = require 'fs'
request = require 'request'
should = require 'should'
temp = require('temp').track()
nsq = require '../src/nsq'
TCP_PORT = 14150
HTTPS_PORT = 14152
CLIENT_CERT = readFileSync './test/clientcert.cer... |
[
{
"context": ".ColumnsHider\n constructor: ->\n @store_key = 'cols'\n @data_el = $('#columns_hider_data')\n @col",
"end": 66,
"score": 0.9959959387779236,
"start": 62,
"tag": "KEY",
"value": "cols"
},
{
"context": " data[k].push to_i(el) if el\n unless data[@collec... | app/assets/javascripts/ab_admin/core/columns_hider.js.coffee | sktocha/ab_admin | 0 | class window.ColumnsHider
constructor: ->
@store_key = 'cols'
@data_el = $('#columns_hider_data')
@column_names = @columnNames()
@collection_name = window.location.href.match(/admin\/(\w+)/)?[1]
return unless @collection_name
@data = @getData()
@initDefaults()
@initButtons()
@initH... | 95002 | class window.ColumnsHider
constructor: ->
@store_key = '<KEY>'
@data_el = $('#columns_hider_data')
@column_names = @columnNames()
@collection_name = window.location.href.match(/admin\/(\w+)/)?[1]
return unless @collection_name
@data = @getData()
@initDefaults()
@initButtons()
@init... | true | class window.ColumnsHider
constructor: ->
@store_key = 'PI:KEY:<KEY>END_PI'
@data_el = $('#columns_hider_data')
@column_names = @columnNames()
@collection_name = window.location.href.match(/admin\/(\w+)/)?[1]
return unless @collection_name
@data = @getData()
@initDefaults()
@initButton... |
[
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## Licensed under the Apache Licen",
"end": 42,
"score": 0.9998520612716675,
"start": 34,
"tag": "NAME",
"value": "M. Hoppe"
},
{
"context": "############\n##\n## Copyright 2018 M. Hoppe & N. Justus\n##\n## L... | app/assets/javascripts/cable.coffee | LiScI-Lab/Guardian-of-Times | 3 | ############
##
## Copyright 2018 M. Hoppe & N. Justus
##
## 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... | 35174 | ############
##
## Copyright 2018 <NAME> & <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 ... | true | ############
##
## Copyright 2018 PI:NAME:<NAME>END_PI & 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... |
[
{
"context": "# Zhancheng Qian, February 2018\n\n# Modified from Sebastian Stiernb",
"end": 16,
"score": 0.9998846650123596,
"start": 2,
"tag": "NAME",
"value": "Zhancheng Qian"
},
{
"context": "# Zhancheng Qian, February 2018\n\n# Modified from Sebastian Stiernborg's cryptowidget\n#... | marketcap.widget.coffee | zhanchengqian/marketcapwidget | 3 | # Zhancheng Qian, February 2018
# Modified from Sebastian Stiernborg's cryptowidget
# Made possible with Coinmarketcap API (www.coinmarketcap.com)
command: "curl -s 'https://api.coinmarketcap.com/v1/global/'"
refreshFrequency: 5000
style: """
bottom:60px
left: 50px
color: #fff
font-family: Helvetica Neue
... | 88518 | # <NAME>, February 2018
# Modified from <NAME>'s cryptowidget
# Made possible with Coinmarketcap API (www.coinmarketcap.com)
command: "curl -s 'https://api.coinmarketcap.com/v1/global/'"
refreshFrequency: 5000
style: """
bottom:60px
left: 50px
color: #fff
font-family: Helvetica Neue
table
border-colla... | true | # PI:NAME:<NAME>END_PI, February 2018
# Modified from PI:NAME:<NAME>END_PI's cryptowidget
# Made possible with Coinmarketcap API (www.coinmarketcap.com)
command: "curl -s 'https://api.coinmarketcap.com/v1/global/'"
refreshFrequency: 5000
style: """
bottom:60px
left: 50px
color: #fff
font-family: Helvetica Ne... |
[
{
"context": " module', ->\n\n hubotHear = (message, userName = 'momo', tempo = 40) ->\n beforeEach (done) ->\n r",
"end": 529,
"score": 0.9992803335189819,
"start": 525,
"tag": "USERNAME",
"value": "momo"
},
{
"context": "ut (done), tempo\n\n hubot = (message, userName = '... | test/statuspage_hook_test.coffee | Gandi/hubot-statuspageio | 3 | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/statuspage_hook.coffee')
StatusPage = require '../lib/statuspage'
http = require('http')
nock = require('nock')
sinon = require('sinon')
chai ... | 75769 | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/statuspage_hook.coffee')
StatusPage = require '../lib/statuspage'
http = require('http')
nock = require('nock')
sinon = require('sinon')
chai ... | true | require('es6-promise').polyfill()
Helper = require('hubot-test-helper')
# helper loads a specific script if it's a file
helper = new Helper('../scripts/statuspage_hook.coffee')
StatusPage = require '../lib/statuspage'
http = require('http')
nock = require('nock')
sinon = require('sinon')
chai ... |
[
{
"context": "---------------------------------\n# Copyright 2013 Patrick Mueller\n# \n# Licensed under the Apache License, Version 2",
"end": 886,
"score": 0.9998265504837036,
"start": 871,
"tag": "NAME",
"value": "Patrick Mueller"
}
] | lib-src/server.coffee | pmuellr/jbuild | 1 | # Licensed under the Apache License. See footer for details.
child_process = require "child_process"
server = exports
#-------------------------------------------------------------------------------
server.start = (pidFile, program, args, options={}) ->
server.kill pidFile, ->
options.stdio ?= "inherit"... | 15169 | # Licensed under the Apache License. See footer for details.
child_process = require "child_process"
server = exports
#-------------------------------------------------------------------------------
server.start = (pidFile, program, args, options={}) ->
server.kill pidFile, ->
options.stdio ?= "inherit"... | true | # Licensed under the Apache License. See footer for details.
child_process = require "child_process"
server = exports
#-------------------------------------------------------------------------------
server.start = (pidFile, program, args, options={}) ->
server.kill pidFile, ->
options.stdio ?= "inherit"... |
[
{
"context": "#!/usr/bin/env coffee\n#\n# Author: Thibaut Despoulain\n\nfive = require 'johnny-five'\n\nboard = new five.B",
"end": 52,
"score": 0.999876856803894,
"start": 34,
"tag": "NAME",
"value": "Thibaut Despoulain"
}
] | lib/octoduino.coffee | BKcore/OctoDuino | 1 | #!/usr/bin/env coffee
#
# Author: Thibaut Despoulain
five = require 'johnny-five'
board = new five.Board()
board.on 'ready', ->
m = 45
M = 135
r = M - m
fps = 100
dt = 1000/fps
servo = new five.Servo(pin: 5, range: [m, M])
board.repl.inject servo: servo
servo.to m
@wait 1000, ->
t = 0
@lo... | 104571 | #!/usr/bin/env coffee
#
# Author: <NAME>
five = require 'johnny-five'
board = new five.Board()
board.on 'ready', ->
m = 45
M = 135
r = M - m
fps = 100
dt = 1000/fps
servo = new five.Servo(pin: 5, range: [m, M])
board.repl.inject servo: servo
servo.to m
@wait 1000, ->
t = 0
@loop dt, ->
... | true | #!/usr/bin/env coffee
#
# Author: PI:NAME:<NAME>END_PI
five = require 'johnny-five'
board = new five.Board()
board.on 'ready', ->
m = 45
M = 135
r = M - m
fps = 100
dt = 1000/fps
servo = new five.Servo(pin: 5, range: [m, M])
board.repl.inject servo: servo
servo.to m
@wait 1000, ->
t = 0
@... |
[
{
"context": "Client = new Sftp\n host: host\n username: username\n password: password\n logger: @logger\n\n ",
"end": 661,
"score": 0.9964598417282104,
"start": 653,
"tag": "USERNAME",
"value": "username"
},
{
"context": "ost: host\n username: username\n ... | src/coffee/sftp.coffee | wkrugiolka/sphere-stock-import | 0 | _ = require 'underscore'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
{Sftp} = require 'sphere-node-utils'
fsExistsAsync = (path) ->
new Promise (resolve, reject) ->
fs.exists path, (exists) ->
if exists
resolve(true)
else
resolve(false)
module.exports = class... | 151163 | _ = require 'underscore'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
{Sftp} = require 'sphere-node-utils'
fsExistsAsync = (path) ->
new Promise (resolve, reject) ->
fs.exists path, (exists) ->
if exists
resolve(true)
else
resolve(false)
module.exports = class... | true | _ = require 'underscore'
Promise = require 'bluebird'
fs = Promise.promisifyAll require('fs')
{Sftp} = require 'sphere-node-utils'
fsExistsAsync = (path) ->
new Promise (resolve, reject) ->
fs.exists path, (exists) ->
if exists
resolve(true)
else
resolve(false)
module.exports = class... |
[
{
"context": "uest')\n\t.demand('password').describe('password', 'Password')\n\t.argv\n\namqp = require '../amqp'\n{exec} = requi",
"end": 618,
"score": 0.9513000845909119,
"start": 610,
"tag": "PASSWORD",
"value": "Password"
},
{
"context": "\tport:port\n\t\tvhost:vhost\n\t\tlogin:l... | node_modules/core/node_modules/amqp-dl/test2src/firehose.coffee | vugutsa/Instagram-app | 1,108 | argv = require('optimist')
.usage(''+
'Test tracing/firehose message receipt.'+
'\nA firehose message is generated both when a message is published and when it is consumed.'+
'\nNOTE: this test will attempt to enable and then disable tracing for the vhost using rabbitmqctl.'
)
.demand('host').describe('host',... | 190636 | argv = require('optimist')
.usage(''+
'Test tracing/firehose message receipt.'+
'\nA firehose message is generated both when a message is published and when it is consumed.'+
'\nNOTE: this test will attempt to enable and then disable tracing for the vhost using rabbitmqctl.'
)
.demand('host').describe('host',... | true | argv = require('optimist')
.usage(''+
'Test tracing/firehose message receipt.'+
'\nA firehose message is generated both when a message is published and when it is consumed.'+
'\nNOTE: this test will attempt to enable and then disable tracing for the vhost using rabbitmqctl.'
)
.demand('host').describe('host',... |
[
{
"context": "orkflow.tasks[taskKey]\n taskDescription._key ?= Math.random()\n TaskComponent = tasks[taskDescription.type]",
"end": 1117,
"score": 0.9749086499214172,
"start": 1106,
"tag": "KEY",
"value": "Math.random"
}
] | app/classifier/tasks/combo/editor.cjsx | mbiesiad/Panoptes-Front-End | 72 | React = require 'react'
createReactClass = require 'create-react-class'
DragReorderable = require 'drag-reorderable'
NextTaskSelector = require '../next-task-selector'
ComboTaskEditor = createReactClass
getDefaultProps: ->
workflow: null
task: null
onChange: ->
componentWillMount: () ->
@props.tas... | 18339 | React = require 'react'
createReactClass = require 'create-react-class'
DragReorderable = require 'drag-reorderable'
NextTaskSelector = require '../next-task-selector'
ComboTaskEditor = createReactClass
getDefaultProps: ->
workflow: null
task: null
onChange: ->
componentWillMount: () ->
@props.tas... | true | React = require 'react'
createReactClass = require 'create-react-class'
DragReorderable = require 'drag-reorderable'
NextTaskSelector = require '../next-task-selector'
ComboTaskEditor = createReactClass
getDefaultProps: ->
workflow: null
task: null
onChange: ->
componentWillMount: () ->
@props.tas... |
[
{
"context": "export default\n name: 'Mars'\n type: 'planet'\n radius: 3389.9\n mass: 6.4185",
"end": 28,
"score": 0.9991470575332642,
"start": 24,
"tag": "NAME",
"value": "Mars"
},
{
"context": ".29257343}\n satellites:\n phobos:\n name: 'Phobos'\n type: 'moon'\n ... | src/data/bodies/mars.coffee | skepticalimagination/solaris-model | 5 | export default
name: 'Mars'
type: 'planet'
radius: 3389.9
mass: 6.4185e23
tilt: 25.19
elements:
format: 'jpl-1800-2050'
base: {a: 1.52371034, e: 0.09339410, i: 1.84969142, L: -4.55343205, lp: -23.94362959, node: 49.55953891}
cy: {a: 0.00001847, e: 0.00007882, i: -0.00813131, L: 19140.30268499, l... | 63518 | export default
name: '<NAME>'
type: 'planet'
radius: 3389.9
mass: 6.4185e23
tilt: 25.19
elements:
format: 'jpl-1800-2050'
base: {a: 1.52371034, e: 0.09339410, i: 1.84969142, L: -4.55343205, lp: -23.94362959, node: 49.55953891}
cy: {a: 0.00001847, e: 0.00007882, i: -0.00813131, L: 19140.30268499,... | true | export default
name: 'PI:NAME:<NAME>END_PI'
type: 'planet'
radius: 3389.9
mass: 6.4185e23
tilt: 25.19
elements:
format: 'jpl-1800-2050'
base: {a: 1.52371034, e: 0.09339410, i: 1.84969142, L: -4.55343205, lp: -23.94362959, node: 49.55953891}
cy: {a: 0.00001847, e: 0.00007882, i: -0.00813131, L: 1... |
[
{
"context": "ew Tests for no-dupe-class-members rule.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 83,
"score": 0.9998738169670105,
"start": 69,
"tag": "NAME",
"value": "Toru Nagashima"
}
] | src/tests/rules/no-dupe-class-members.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-dupe-class-members rule.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-dupe-... | 208446 | ###*
# @fileoverview Tests for no-dupe-class-members rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-dupe-class-me... | true | ###*
# @fileoverview Tests for no-dupe-class-members rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no... |
[
{
"context": "###\nRina 0.0.3\nCopyright (c) 2013-2014 aligo Kang\n\nReleased under the MIT license\n###\n\nresolved_mod",
"end": 49,
"score": 0.9997645020484924,
"start": 39,
"tag": "NAME",
"value": "aligo Kang"
}
] | src/rina.coffee | aligo/rina | 1 | ###
Rina 0.0.3
Copyright (c) 2013-2014 aligo Kang
Released under the MIT license
###
resolved_modules = {}
unresolved_modules = {}
required_links = {}
original_define = window.define
original_require = window.require
rina =
define: (name, deps, module_fn) ->
if typeof deps is 'function'
if typeof name ... | 6177 | ###
Rina 0.0.3
Copyright (c) 2013-2014 <NAME>
Released under the MIT license
###
resolved_modules = {}
unresolved_modules = {}
required_links = {}
original_define = window.define
original_require = window.require
rina =
define: (name, deps, module_fn) ->
if typeof deps is 'function'
if typeof name is '... | true | ###
Rina 0.0.3
Copyright (c) 2013-2014 PI:NAME:<NAME>END_PI
Released under the MIT license
###
resolved_modules = {}
unresolved_modules = {}
required_links = {}
original_define = window.define
original_require = window.require
rina =
define: (name, deps, module_fn) ->
if typeof deps is 'function'
if ty... |
[
{
"context": " {\n RaghavendhraK: {\n full_name: 'Raghavendra Karunanidhi',\n 'hh:mm': '10:40',\n in_hrs: '",
"end": 457,
"score": 0.9998857975006104,
"start": 434,
"tag": "NAME",
"value": "Raghavendra Karunanidhi"
},
{
"context": ": 640\n }\n... | test/unit_test/src/models/export2xl.coffee | RaghavendhraK/taiga-timesheet | 0 | Export2XL = require __dirname + '/../../../../src/models/export2xl'
data = {
'raghavendhrak-daily-sales': {
project: { id: 107486, name: 'Daily Sales' },
sprint: {
id: 58547,
name: 'Sprint 1',
from: '2016-02-11',
to: '2016-02-25'
},
user_stories: [{
subject: 'Check for t... | 190935 | Export2XL = require __dirname + '/../../../../src/models/export2xl'
data = {
'raghavendhrak-daily-sales': {
project: { id: 107486, name: 'Daily Sales' },
sprint: {
id: 58547,
name: 'Sprint 1',
from: '2016-02-11',
to: '2016-02-25'
},
user_stories: [{
subject: 'Check for t... | true | Export2XL = require __dirname + '/../../../../src/models/export2xl'
data = {
'raghavendhrak-daily-sales': {
project: { id: 107486, name: 'Daily Sales' },
sprint: {
id: 58547,
name: 'Sprint 1',
from: '2016-02-11',
to: '2016-02-25'
},
user_stories: [{
subject: 'Check for t... |
[
{
"context": "cription']}\n fullName: { type: 'string', title: 'Full Name', description: 'Ex.: \"Kithgard Dungeon\"' }\n desc",
"end": 353,
"score": 0.9855599403381348,
"start": 344,
"tag": "NAME",
"value": "Full Name"
},
{
"context": "'string', title: 'Full Name', description: 'Ex... | app/schemas/models/campaign.schema.coffee | Danielv123/codecombat | 0 | c = require './../schemas'
LevelSchema = require './level'
CampaignSchema = c.object
default:
type: 'hero'
c.extendNamedProperties CampaignSchema # name first
_.extend CampaignSchema.properties, {
i18n: {type: 'object', title: 'i18n', format: 'i18n', props: ['name', 'fullName', 'description']}
fullName: { ... | 3448 | c = require './../schemas'
LevelSchema = require './level'
CampaignSchema = c.object
default:
type: 'hero'
c.extendNamedProperties CampaignSchema # name first
_.extend CampaignSchema.properties, {
i18n: {type: 'object', title: 'i18n', format: 'i18n', props: ['name', 'fullName', 'description']}
fullName: { ... | true | c = require './../schemas'
LevelSchema = require './level'
CampaignSchema = c.object
default:
type: 'hero'
c.extendNamedProperties CampaignSchema # name first
_.extend CampaignSchema.properties, {
i18n: {type: 'object', title: 'i18n', format: 'i18n', props: ['name', 'fullName', 'description']}
fullName: { ... |
[
{
"context": " '@name <%= pkg.name %>.js\\n' +\n '@author Christoph Ono (chri@sto.ph or @gbks)\\n' +\n '@author Seba",
"end": 421,
"score": 0.9998871684074402,
"start": 408,
"tag": "NAME",
"value": "Christoph Ono"
},
{
"context": "g.name %>.js\\n' +\n '@author ... | Gruntfile.coffee | GerHobbelt/Wookmark-jQuery | 644 | module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-contrib-uglify'
grunt.loadNpmTasks 'grunt-contrib-jshint'
grunt.loadNpmTasks 'grunt-gh-pages'
grunt.loadNpmTasks 'grunt-docco'
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
banner: '/*!\n' +
... | 166141 | module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-contrib-uglify'
grunt.loadNpmTasks 'grunt-contrib-jshint'
grunt.loadNpmTasks 'grunt-gh-pages'
grunt.loadNpmTasks 'grunt-docco'
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
banner: '/*!\n' +
... | true | module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-contrib-uglify'
grunt.loadNpmTasks 'grunt-contrib-jshint'
grunt.loadNpmTasks 'grunt-gh-pages'
grunt.loadNpmTasks 'grunt-docco'
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
meta:
banner: '/*!\n' +
... |
[
{
"context": "rstName = firstName\n modifyUserData 'None', 'Larry', userData[0]\n modifyUserData 'Developer', '",
"end": 1413,
"score": 0.9994701147079468,
"start": 1408,
"tag": "NAME",
"value": "Larry"
},
{
"context": "', userData[0]\n modifyUserData 'Developer', 'Tom... | test/spec/teamboard/TeamBoardColumnSpec.coffee | CustomAgile/app-catalog | 31 | Ext = window.Ext4 || window.Ext
Ext.require ['Rally.apps.teamboard.TeamBoardCard']
describe 'Rally.apps.teamboard.TeamBoardColumn', ->
beforeEach ->
@cardboardHelper = Rally.test.helpers.CardBoard
helpers
createColumn: (config) ->
@column = @cardboardHelper.createColumn Ext.apply
attribute: ... | 45781 | Ext = window.Ext4 || window.Ext
Ext.require ['Rally.apps.teamboard.TeamBoardCard']
describe 'Rally.apps.teamboard.TeamBoardColumn', ->
beforeEach ->
@cardboardHelper = Rally.test.helpers.CardBoard
helpers
createColumn: (config) ->
@column = @cardboardHelper.createColumn Ext.apply
attribute: ... | true | Ext = window.Ext4 || window.Ext
Ext.require ['Rally.apps.teamboard.TeamBoardCard']
describe 'Rally.apps.teamboard.TeamBoardColumn', ->
beforeEach ->
@cardboardHelper = Rally.test.helpers.CardBoard
helpers
createColumn: (config) ->
@column = @cardboardHelper.createColumn Ext.apply
attribute: ... |
[
{
"context": "vices - return a list of services\n#\n# Authors:\n# Jesse Newland, Josh Nicols, Jacob Bednarz, Chris Lundquist, Chr",
"end": 365,
"score": 0.999833881855011,
"start": 352,
"tag": "NAME",
"value": "Jesse Newland"
},
{
"context": "a list of services\n#\n# Authors:\n# ... | src/scripts/pagerduty.coffee | jedioncrk/hubot-pager-maint | 0 | # Description:
# Interact with PagerDuty services, schedules, and incidents with Hubot.
#
# Commands:
# hubot pager maint <unix date> <minutes> - schedule a maintenance window for <date> <time> <minutes>
# hubot who's on call - return a list of services and who is on call for them
# hubot services - return a li... | 3829 | # Description:
# Interact with PagerDuty services, schedules, and incidents with Hubot.
#
# Commands:
# hubot pager maint <unix date> <minutes> - schedule a maintenance window for <date> <time> <minutes>
# hubot who's on call - return a list of services and who is on call for them
# hubot services - return a li... | true | # Description:
# Interact with PagerDuty services, schedules, and incidents with Hubot.
#
# Commands:
# hubot pager maint <unix date> <minutes> - schedule a maintenance window for <date> <time> <minutes>
# hubot who's on call - return a list of services and who is on call for them
# hubot services - return a li... |
[
{
"context": "export default\n name: 'Ceres'\n type: 'dwarfPlanet'\n radius: 476.2\n mass: 9.",
"end": 29,
"score": 0.9993568062782288,
"start": 24,
"tag": "NAME",
"value": "Ceres"
}
] | src/data/bodies/ceres.coffee | skepticalimagination/solaris-model | 5 | export default
name: 'Ceres'
type: 'dwarfPlanet'
radius: 476.2
mass: 9.393e20 # kg, wikipedia
tilt: 4 # wikipedia
elements:
format: 'jpl-sbdb'
base:
a: 2.767880825324262, e: 0.07568276766977486, i: 10.59240162556512
L: 420.0192342788, lp: 153.217647542, node: 80.30985818155804
day: {... | 85113 | export default
name: '<NAME>'
type: 'dwarfPlanet'
radius: 476.2
mass: 9.393e20 # kg, wikipedia
tilt: 4 # wikipedia
elements:
format: 'jpl-sbdb'
base:
a: 2.767880825324262, e: 0.07568276766977486, i: 10.59240162556512
L: 420.0192342788, lp: 153.217647542, node: 80.30985818155804
day: ... | true | export default
name: 'PI:NAME:<NAME>END_PI'
type: 'dwarfPlanet'
radius: 476.2
mass: 9.393e20 # kg, wikipedia
tilt: 4 # wikipedia
elements:
format: 'jpl-sbdb'
base:
a: 2.767880825324262, e: 0.07568276766977486, i: 10.59240162556512
L: 420.0192342788, lp: 153.217647542, node: 80.3098581815... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 197,
"score": 0.9998829960823059,
"start": 180,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | examples/curves.coffee | OniDaito/pxljs | 1 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for... | 60156 | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.txt for details
###
... | true | ### ABOUT
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under the MIT Licence. See LIC... |
[
{
"context": "\n branch: 'foobarbranch',\n authorName: 'Test Author',\n authorEmail: 'author@example.com'\n",
"end": 605,
"score": 0.5975510478019714,
"start": 601,
"tag": "NAME",
"value": "Test"
},
{
"context": " branch: 'foobarbranch',\n authorName: 'Test Auth... | tests/unit/components/builds-item-test.coffee | 2947721120/travis-web | 0 | `import { test, moduleForComponent } from 'ember-qunit'`
moduleForComponent 'builds-item', {
needs: ['helper:format-sha', 'helper:format-duration', 'helper:format-time',
'helper:format-message', 'helper:pretty-date', 'component:status-icon', 'component:request-icon']
}
test 'it renders', (assert) ->
at... | 18348 | `import { test, moduleForComponent } from 'ember-qunit'`
moduleForComponent 'builds-item', {
needs: ['helper:format-sha', 'helper:format-duration', 'helper:format-time',
'helper:format-message', 'helper:pretty-date', 'component:status-icon', 'component:request-icon']
}
test 'it renders', (assert) ->
at... | true | `import { test, moduleForComponent } from 'ember-qunit'`
moduleForComponent 'builds-item', {
needs: ['helper:format-sha', 'helper:format-duration', 'helper:format-time',
'helper:format-message', 'helper:pretty-date', 'component:status-icon', 'component:request-icon']
}
test 'it renders', (assert) ->
at... |
[
{
"context": "\nnikita = require '@nikitajs/core'\n{tags, ssh, ldap} = require './test'\nthey =",
"end": 28,
"score": 0.9127979278564453,
"start": 23,
"tag": "USERNAME",
"value": "itajs"
},
{
"context": ": ldap.url\n binddn: ldap.binddn\n passwd: ldap.passwd\n name: 'o... | packages/ldap/test/acl.coffee | chibanemourad/node-nikita | 1 |
nikita = require '@nikitajs/core'
{tags, ssh, ldap} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.ldap_acl
describe 'ldap.acl', ->
client = olcAccess = null
beforeEach (next) ->
client = ldap.createClient url: ldap.url
client.bind ldap.binddn, ldap.passwd, (err) ->... | 44186 |
nikita = require '@nikitajs/core'
{tags, ssh, ldap} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.ldap_acl
describe 'ldap.acl', ->
client = olcAccess = null
beforeEach (next) ->
client = ldap.createClient url: ldap.url
client.bind ldap.binddn, ldap.passwd, (err) ->... | true |
nikita = require '@nikitajs/core'
{tags, ssh, ldap} = require './test'
they = require('ssh2-they').configure ssh...
return unless tags.ldap_acl
describe 'ldap.acl', ->
client = olcAccess = null
beforeEach (next) ->
client = ldap.createClient url: ldap.url
client.bind ldap.binddn, ldap.passwd, (err) ->... |
[
{
"context": "afeEval -> require 'express'\n# logger = require 'morgan'\nbodyParser = allowUnsafeEval -> require 'body-pa",
"end": 236,
"score": 0.7991988062858582,
"start": 231,
"tag": "USERNAME",
"value": "organ"
},
{
"context": " app.use HttpProxy {\n \"^\\/mam\\/\": {host... | lib/emulator/debug-server.coffee | yezhiming/atom-chameleon | 3 | {EventEmitter} = require 'events'
path = require 'path'
fs = require 'fs'
_ = require 'underscore'
{allowUnsafeEval, allowUnsafeNewFunction} = require 'loophole'
express = allowUnsafeEval -> require 'express'
# logger = require 'morgan'
bodyParser = allowUnsafeEval -> require 'body-parser'
HttpProxy = require './prox... | 66122 | {EventEmitter} = require 'events'
path = require 'path'
fs = require 'fs'
_ = require 'underscore'
{allowUnsafeEval, allowUnsafeNewFunction} = require 'loophole'
express = allowUnsafeEval -> require 'express'
# logger = require 'morgan'
bodyParser = allowUnsafeEval -> require 'body-parser'
HttpProxy = require './prox... | true | {EventEmitter} = require 'events'
path = require 'path'
fs = require 'fs'
_ = require 'underscore'
{allowUnsafeEval, allowUnsafeNewFunction} = require 'loophole'
express = allowUnsafeEval -> require 'express'
# logger = require 'morgan'
bodyParser = allowUnsafeEval -> require 'body-parser'
HttpProxy = require './prox... |
[
{
"context": "Contains a test suite that contains tests\n\n@author Roelof Roos (https://github.com/roelofr)\n###\n\nJUnitNode = req",
"end": 66,
"score": 0.9998785853385925,
"start": 55,
"tag": "NAME",
"value": "Roelof Roos"
},
{
"context": "ns tests\n\n@author Roelof Roos (https://g... | lib/models/junit-testclass.coffee | roelofr/php-report | 0 | ###
Contains a test suite that contains tests
@author Roelof Roos (https://github.com/roelofr)
###
JUnitNode = require './junit-node'
Test = require './junit-test'
module.exports =
class TestClass extends JUnitNode
tests: null
constructor: (node) ->
super node
tests = []
for test i... | 112094 | ###
Contains a test suite that contains tests
@author <NAME> (https://github.com/roelofr)
###
JUnitNode = require './junit-node'
Test = require './junit-test'
module.exports =
class TestClass extends JUnitNode
tests: null
constructor: (node) ->
super node
tests = []
for test in nod... | true | ###
Contains a test suite that contains tests
@author PI:NAME:<NAME>END_PI (https://github.com/roelofr)
###
JUnitNode = require './junit-node'
Test = require './junit-test'
module.exports =
class TestClass extends JUnitNode
tests: null
constructor: (node) ->
super node
tests = []
f... |
[
{
"context": "er.\n# Unnecessary at all.\n# @license MIT\n# @author İsmail Demirbilek\n#\n\nmodule.exports = (grunt) ->\n\n grunt.loadNpmTa",
"end": 105,
"score": 0.9998824000358582,
"start": 88,
"tag": "NAME",
"value": "İsmail Demirbilek"
}
] | Gruntfile.coffee | egemsoft/kamuran | 1 | #!
# kamuran
# Random suggestion helper.
# Unnecessary at all.
# @license MIT
# @author İsmail Demirbilek
#
module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-chmod'
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
coffee:
app:
files:... | 163374 | #!
# kamuran
# Random suggestion helper.
# Unnecessary at all.
# @license MIT
# @author <NAME>
#
module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-chmod'
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
coffee:
app:
files:
... | true | #!
# kamuran
# Random suggestion helper.
# Unnecessary at all.
# @license MIT
# @author PI:NAME:<NAME>END_PI
#
module.exports = (grunt) ->
grunt.loadNpmTasks 'grunt-contrib-coffee'
grunt.loadNpmTasks 'grunt-chmod'
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
coffee:
app:
fil... |
[
{
"context": "ast_login.jid = jid\n @last_login.password = password\n\n unless jid\n jid = config.anon",
"end": 1716,
"score": 0.9986121654510498,
"start": 1708,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "\n @user = app.users.get_or_cr... | src/handlers/connection.coffee | surevine/buddycloud-webclient | 1 | { Connector } = require './connector'
class exports.ConnectionHandler extends Backbone.EventHandler
constructor: ->
@connected = false
@connector = new Connector(this) # before datahandler
@last_login = {}
# for debug purposes only
@bind "all", (status) -> app.debug "conne... | 154793 | { Connector } = require './connector'
class exports.ConnectionHandler extends Backbone.EventHandler
constructor: ->
@connected = false
@connector = new Connector(this) # before datahandler
@last_login = {}
# for debug purposes only
@bind "all", (status) -> app.debug "conne... | true | { Connector } = require './connector'
class exports.ConnectionHandler extends Backbone.EventHandler
constructor: ->
@connected = false
@connector = new Connector(this) # before datahandler
@last_login = {}
# for debug purposes only
@bind "all", (status) -> app.debug "conne... |
[
{
"context": "###\n# grunt/database.coffee\n#\n# © 2014 Dan Nichols\n# See LICENSE for more details\n#\n# Define our dat",
"end": 50,
"score": 0.9995181560516357,
"start": 39,
"tag": "NAME",
"value": "Dan Nichols"
}
] | grunt/database.coffee | dlnichols/h_media | 0 | ###
# grunt/database.coffee
#
# © 2014 Dan Nichols
# See LICENSE for more details
#
# Define our database configuration block for grunt
###
'use strict'
# External libs
mongoose = require 'mongoose'
debug = require('debug') 'hMedia:grunt:database'
###
# openMongo
#
# Open database (if it isn't already)
###
openMon... | 46112 | ###
# grunt/database.coffee
#
# © 2014 <NAME>
# See LICENSE for more details
#
# Define our database configuration block for grunt
###
'use strict'
# External libs
mongoose = require 'mongoose'
debug = require('debug') 'hMedia:grunt:database'
###
# openMongo
#
# Open database (if it isn't already)
###
openMongo = ... | true | ###
# grunt/database.coffee
#
# © 2014 PI:NAME:<NAME>END_PI
# See LICENSE for more details
#
# Define our database configuration block for grunt
###
'use strict'
# External libs
mongoose = require 'mongoose'
debug = require('debug') 'hMedia:grunt:database'
###
# openMongo
#
# Open database (if it isn't already)
##... |
[
{
"context": "de.js EventEmitter.\n#\n# microevent.js is copyright Jerome Etienne, and licensed under the MIT license:\n# https://gi",
"end": 181,
"score": 0.9995208978652954,
"start": 167,
"tag": "NAME",
"value": "Jerome Etienne"
},
{
"context": "ensed under the MIT license:\n# http... | src/client/rizzoma/utils/microevent.coffee | rizzoma/ShareJS | 4 | # This is a simple port of microevent.js to Coffeescript. I've changed the
# function names to be consistent with node.js EventEmitter.
#
# microevent.js is copyright Jerome Etienne, and licensed under the MIT license:
# https://github.com/jeromeetienne/microevent.js
nextTick = process?.nextTick || (fn) -> setTimeout ... | 101912 | # This is a simple port of microevent.js to Coffeescript. I've changed the
# function names to be consistent with node.js EventEmitter.
#
# microevent.js is copyright <NAME>, and licensed under the MIT license:
# https://github.com/jeromeetienne/microevent.js
nextTick = process?.nextTick || (fn) -> setTimeout fn, 0
c... | true | # This is a simple port of microevent.js to Coffeescript. I've changed the
# function names to be consistent with node.js EventEmitter.
#
# microevent.js is copyright PI:NAME:<NAME>END_PI, and licensed under the MIT license:
# https://github.com/jeromeetienne/microevent.js
nextTick = process?.nextTick || (fn) -> setTi... |
[
{
"context": ", 'build', 'bundleIdentifier', 'mobileprovision'\n'p12', 'p12_password', 'scheme', 'content_src', 'repos",
"end": 325,
"score": 0.9862791895866394,
"start": 322,
"tag": "PASSWORD",
"value": "p12"
},
{
"context": "d', 'bundleIdentifier', 'mobileprovision'\n'p12', 'p12_pa... | lib/build/ios-build-view.coffee | yezhiming/atom-chameleon | 3 | {$, $$, View, EditorView} = require 'atom'
{openFile} = require '../utils/dialog'
path = require 'path'
_ = require 'underscore'
url = require 'url'
AppRepoListView = require './app-repo-list-view'
{getResourcePath} = require '../utils/utils'
KEYS = ['title', 'version', 'build', 'bundleIdentifier', 'mobileprovision'... | 98071 | {$, $$, View, EditorView} = require 'atom'
{openFile} = require '../utils/dialog'
path = require 'path'
_ = require 'underscore'
url = require 'url'
AppRepoListView = require './app-repo-list-view'
{getResourcePath} = require '../utils/utils'
KEYS = ['title', 'version', 'build', 'bundleIdentifier', 'mobileprovision'... | true | {$, $$, View, EditorView} = require 'atom'
{openFile} = require '../utils/dialog'
path = require 'path'
_ = require 'underscore'
url = require 'url'
AppRepoListView = require './app-repo-list-view'
{getResourcePath} = require '../utils/utils'
KEYS = ['title', 'version', 'build', 'bundleIdentifier', 'mobileprovision'... |
[
{
"context": " clientSecret: process.env.LINKEDIN_SECRET or \"da0F5C3MH9eKXgim\"\n callbackURL: \"/auth/linkedin/callback\"\n s",
"end": 153,
"score": 0.8204688429832458,
"start": 137,
"tag": "KEY",
"value": "da0F5C3MH9eKXgim"
},
{
"context": "\"\n clientSecret: process.e... | config/oauth_keys.coffee | crueber/mean-coffee-starter | 0 | module.exports =
linkedin:
clientID: process.env.LINKEDIN_ID or "75g87qt5xvqois"
clientSecret: process.env.LINKEDIN_SECRET or "da0F5C3MH9eKXgim"
callbackURL: "/auth/linkedin/callback"
scope: [ "r_fullprofile", "r_emailaddress", "r_network" ]
passReqToCallback: true
google:
clientID: process.... | 59264 | module.exports =
linkedin:
clientID: process.env.LINKEDIN_ID or "75g87qt5xvqois"
clientSecret: process.env.LINKEDIN_SECRET or "<KEY>"
callbackURL: "/auth/linkedin/callback"
scope: [ "r_fullprofile", "r_emailaddress", "r_network" ]
passReqToCallback: true
google:
clientID: process.env.GOOGLE_... | true | module.exports =
linkedin:
clientID: process.env.LINKEDIN_ID or "75g87qt5xvqois"
clientSecret: process.env.LINKEDIN_SECRET or "PI:KEY:<KEY>END_PI"
callbackURL: "/auth/linkedin/callback"
scope: [ "r_fullprofile", "r_emailaddress", "r_network" ]
passReqToCallback: true
google:
clientID: proces... |
[
{
"context": " file.date\n author: file.author ? 'Koding'\n title: file.title\n description",
"end": 597,
"score": 0.6541087627410889,
"start": 594,
"tag": "NAME",
"value": "ing"
}
] | .metalsmith/plugins/feed.coffee | leeola/kdlearn | 40 | #
# # Create Feed
#
# Create a feed page
#
clone = require 'clone'
sanitizeHtml = require 'sanitize-html'
module.exports = (opts={}) ->
opts.collections ?= []
opts.metadata ?= {}
if opts.collection? then opts.collections.push opts.collection
if not opts.output?
console.warn 'feed requires ou... | 6152 | #
# # Create Feed
#
# Create a feed page
#
clone = require 'clone'
sanitizeHtml = require 'sanitize-html'
module.exports = (opts={}) ->
opts.collections ?= []
opts.metadata ?= {}
if opts.collection? then opts.collections.push opts.collection
if not opts.output?
console.warn 'feed requires ou... | true | #
# # Create Feed
#
# Create a feed page
#
clone = require 'clone'
sanitizeHtml = require 'sanitize-html'
module.exports = (opts={}) ->
opts.collections ?= []
opts.metadata ?= {}
if opts.collection? then opts.collections.push opts.collection
if not opts.output?
console.warn 'feed requires ou... |
[
{
"context": "\nutil = require 'alinex-util'\ntest = [\n {first: 'Johann Sebastion', last: 'Bach'}\n {first: 'Wolfgang Amadeus', las",
"end": 1042,
"score": 0.9997714161872864,
"start": 1026,
"tag": "NAME",
"value": "Johann Sebastion"
},
{
"context": "il'\ntest = [\n {first: 'Joha... | src/mod/array.coffee | alinex/node-util | 0 | ###
Array Methods
=================================================
###
###
Get the last element.
__Example:__
``` coffee
util = require 'alinex-util'
test = [ 1,2,3,4,5 ]
result = util.array.last test
```
This results to:
``` coffee
result = 5
```
@param {Array} array to read from
@param {Integer} back offset ch... | 8372 | ###
Array Methods
=================================================
###
###
Get the last element.
__Example:__
``` coffee
util = require 'alinex-util'
test = [ 1,2,3,4,5 ]
result = util.array.last test
```
This results to:
``` coffee
result = 5
```
@param {Array} array to read from
@param {Integer} back offset ch... | true | ###
Array Methods
=================================================
###
###
Get the last element.
__Example:__
``` coffee
util = require 'alinex-util'
test = [ 1,2,3,4,5 ]
result = util.array.last test
```
This results to:
``` coffee
result = 5
```
@param {Array} array to read from
@param {Integer} back offset ch... |
[
{
"context": "### (c) 2013 Maxim Litvinov ###\n\n$ ->\n\tcanvas = document.getElementById 'canv",
"end": 27,
"score": 0.9998039603233337,
"start": 13,
"tag": "NAME",
"value": "Maxim Litvinov"
}
] | 1/oxo.coffee | metalim/21 | 0 | ### (c) 2013 Maxim Litvinov ###
$ ->
canvas = document.getElementById 'canvas'
ctx = canvas.getContext '2d'
w=h=l=x0=y0=null
state = init_state = [
[null,null,null]
[null,null,null]
[null,null,null]
]
left = 9
turn = 1
checkWinner = ->
# horizontal
for row,y in state
if row[0]? and row[0]=... | 46502 | ### (c) 2013 <NAME> ###
$ ->
canvas = document.getElementById 'canvas'
ctx = canvas.getContext '2d'
w=h=l=x0=y0=null
state = init_state = [
[null,null,null]
[null,null,null]
[null,null,null]
]
left = 9
turn = 1
checkWinner = ->
# horizontal
for row,y in state
if row[0]? and row[0]==row[1] ... | true | ### (c) 2013 PI:NAME:<NAME>END_PI ###
$ ->
canvas = document.getElementById 'canvas'
ctx = canvas.getContext '2d'
w=h=l=x0=y0=null
state = init_state = [
[null,null,null]
[null,null,null]
[null,null,null]
]
left = 9
turn = 1
checkWinner = ->
# horizontal
for row,y in state
if row[0]? and r... |
[
{
"context": "or easy debugging:\n $('input[name=\"name\"]').val 'Jane Doe'\n $('input[name=\"email\"]').val 'jane@example.com",
"end": 1743,
"score": 0.9997763633728027,
"start": 1735,
"tag": "NAME",
"value": "Jane Doe"
},
{
"context": "').val 'Jane Doe'\n $('input[name=\"email\"... | src/desktop/apps/inquiry/client/routes/development.coffee | dzucconi/force | 0 | _ = require 'underscore'
{ ARTWORK } = require('sharify').data
User = require '../../../../models/user.coffee'
Artwork = require '../../../../models/artwork.coffee'
ArtworkInquiry = require '../../../../models/artwork_inquiry.coffee'
EmbeddedInquiryView = require '../../../../components/embedded_inquiry/view.coffee'
op... | 126403 | _ = require 'underscore'
{ ARTWORK } = require('sharify').data
User = require '../../../../models/user.coffee'
Artwork = require '../../../../models/artwork.coffee'
ArtworkInquiry = require '../../../../models/artwork_inquiry.coffee'
EmbeddedInquiryView = require '../../../../components/embedded_inquiry/view.coffee'
op... | true | _ = require 'underscore'
{ ARTWORK } = require('sharify').data
User = require '../../../../models/user.coffee'
Artwork = require '../../../../models/artwork.coffee'
ArtworkInquiry = require '../../../../models/artwork_inquiry.coffee'
EmbeddedInquiryView = require '../../../../components/embedded_inquiry/view.coffee'
op... |
[
{
"context": " localforage.setItem 'namesOfUnhappyEmployees', ['Peter', 'Michael', 'Samir'], ->\n window._testVal",
"end": 6123,
"score": 0.9998159408569336,
"start": 6118,
"tag": "NAME",
"value": "Peter"
},
{
"context": "age.setItem 'namesOfUnhappyEmployees', ['Peter', 'Micha... | test/test.api.coffee | azendoo/localForage | 0 | 'use strict'
# These tests are run for each possible browser/driver combo. Current, that's:
#
# * Gecko with IndexedDB
# * Gecko with localStorage
# * WebKit with localStorage
# * WebKit with WebSQL
#
# Because of CasperJS's lack of (to my knowledge) async testing utilies, we do
# some weird stuff with `waitForSel... | 46839 | 'use strict'
# These tests are run for each possible browser/driver combo. Current, that's:
#
# * Gecko with IndexedDB
# * Gecko with localStorage
# * WebKit with localStorage
# * WebKit with WebSQL
#
# Because of CasperJS's lack of (to my knowledge) async testing utilies, we do
# some weird stuff with `waitForSel... | true | 'use strict'
# These tests are run for each possible browser/driver combo. Current, that's:
#
# * Gecko with IndexedDB
# * Gecko with localStorage
# * WebKit with localStorage
# * WebKit with WebSQL
#
# Because of CasperJS's lack of (to my knowledge) async testing utilies, we do
# some weird stuff with `waitForSel... |
[
{
"context": " require 'validators/goal'\n\n killGoal = { name: 'Kill Guy', killGuy: ['Guy1', 'Guy2'], id:'killguy'}\n ",
"end": 137,
"score": 0.8404258489608765,
"start": 133,
"tag": "NAME",
"value": "Kill"
},
{
"context": "uire 'validators/goal'\n\n killGoal = { name: 'Kill Guy'... | test/app/lib/world/goal_manager.spec.coffee | vyz1194/codecombat | 1 | describe('World', ->
GoalManager = require 'lib/world/GoalManager'
#validator = require 'validators/goal'
killGoal = { name: 'Kill Guy', killGuy: ['Guy1', 'Guy2'], id:'killguy'}
saveGoal = { name: 'Save Guy', saveGuy: ['Guy1', 'Guy2'], id:'saveguy'}
getToLocGoal = { name: 'Go there', getToLocation: {target:'... | 20674 | describe('World', ->
GoalManager = require 'lib/world/GoalManager'
#validator = require 'validators/goal'
killGoal = { name: '<NAME> <NAME>', killGuy: ['Guy1', 'Guy2'], id:'killguy'}
saveGoal = { name: 'Save <NAME>', saveGuy: ['Guy1', 'Guy2'], id:'saveguy'}
getToLocGoal = { name: 'Go there', getToLocation: {... | true | describe('World', ->
GoalManager = require 'lib/world/GoalManager'
#validator = require 'validators/goal'
killGoal = { name: 'PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI', killGuy: ['Guy1', 'Guy2'], id:'killguy'}
saveGoal = { name: 'Save PI:NAME:<NAME>END_PI', saveGuy: ['Guy1', 'Guy2'], id:'saveguy'}
getToLocG... |
[
{
"context": "(\n ->\n name = Bacon.constant({first:\"jack\", last:\"bauer\"})\n stuff = later(1, { key:",
"end": 571,
"score": 0.9996928572654724,
"start": 567,
"tag": "NAME",
"value": "jack"
},
{
"context": " name = Bacon.constant({first:\"jack\", last:\"... | spec/specs/combinetemplate.coffee | ArtFacts/bacon.js | 0 | require("../../src/bus")
require("../../src/constant")
require("../../src/combinetemplate")
require("../../src/delay")
require("../../src/flatmap")
require("../../src/slidingwindow")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectPropertyEvents,
later,
once,
fromArray,
} = req... | 200554 | require("../../src/bus")
require("../../src/constant")
require("../../src/combinetemplate")
require("../../src/delay")
require("../../src/flatmap")
require("../../src/slidingwindow")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectPropertyEvents,
later,
once,
fromArray,
} = req... | true | require("../../src/bus")
require("../../src/constant")
require("../../src/combinetemplate")
require("../../src/delay")
require("../../src/flatmap")
require("../../src/slidingwindow")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectPropertyEvents,
later,
once,
fromArray,
} = req... |
[
{
"context": " type: 'artwork',\n artist: name: 'Van Gogh', slug: 'van-gogh'\n partner: name: 'Part",
"end": 1503,
"score": 0.9998587369918823,
"start": 1495,
"tag": "NAME",
"value": "Van Gogh"
},
{
"context": "$('body')\n items: @collection\n u... | src/desktop/components/article/test/image_set.test.coffee | jo-rs/force | 0 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
CurrentUser = require '../../../models/current_user'
fixtures = require '../../../test/helpers/fixtures.coffee'
sd = require('sharify').data
{ resolve } = require 'path'
{ fabricate } = require '@artsy/antigravity'
{ st... | 200404 | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
CurrentUser = require '../../../models/current_user'
fixtures = require '../../../test/helpers/fixtures.coffee'
sd = require('sharify').data
{ resolve } = require 'path'
{ fabricate } = require '@artsy/antigravity'
{ st... | true | _ = require 'underscore'
benv = require 'benv'
sinon = require 'sinon'
Backbone = require 'backbone'
CurrentUser = require '../../../models/current_user'
fixtures = require '../../../test/helpers/fixtures.coffee'
sd = require('sharify').data
{ resolve } = require 'path'
{ fabricate } = require '@artsy/antigravity'
{ st... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.9998682141304016,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | shaders/FarMapGeneratorShader.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
frag = """precision highp float;
varying vec3 vPos;
varying vec3 vTangent;
varying vec3 vBinormal;
""" + windowsCompatibilityUglyHacks.randomSeedDefString + """ //uniform vec3 randomSeed;
#define ONE_TEXEL (1.0/256.... | 191433 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
frag = """precision highp float;
varying vec3 vPos;
varying vec3 vTangent;
varying vec3 vBinormal;
""" + windowsCompatibilityUglyHacks.randomSeedDefString + """ //uniform vec3 randomSeed;
#define ONE_TEXEL (1.0/256.0)
v... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
frag = """precision highp float;
varying vec3 vPos;
varying vec3 vTangent;
varying vec3 vBinormal;
""" + windowsCompatibilityUglyHacks.randomSeedDefString + """ //uniform vec3 randomSeed;
#define ONE_TEXEL (... |
[
{
"context": "er position of the first property in JSX\n# @author Joachim Seminck\n###\n'use strict'\n\ndocsUrl = require 'eslint-plugi",
"end": 98,
"score": 0.9996344447135925,
"start": 83,
"tag": "NAME",
"value": "Joachim Seminck"
}
] | src/rules/jsx-first-prop-new-line.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Ensure proper position of the first property in JSX
# @author Joachim Seminck
###
'use strict'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ------------------------------------------------------------------------------
# Rule Definition
# --------------------------------------------... | 88966 | ###*
# @fileoverview Ensure proper position of the first property in JSX
# @author <NAME>
###
'use strict'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ------------------------------------------------------------------------------
# Rule Definition
# -----------------------------------------------------... | true | ###*
# @fileoverview Ensure proper position of the first property in JSX
# @author PI:NAME:<NAME>END_PI
###
'use strict'
docsUrl = require 'eslint-plugin-react/lib/util/docsUrl'
# ------------------------------------------------------------------------------
# Rule Definition
# ---------------------------------------... |
[
{
"context": "'\npubnub = require('pubnub').init\n publish_key: 'pub-c-6dd9f234-e11e-4345-92c4-f723de52df70'\n subscribe_key: 'sub-c-4c7f1748-ced1-11e2-a5be-",
"end": 182,
"score": 0.9997442364692688,
"start": 140,
"tag": "KEY",
"value": "pub-c-6dd9f234-e11e-4345-92c4-f723de52df70"
},
... | server/index.coffee | peterzen/pubnub-backbone | 12 | _ = require('underscore')._
Backbone = require 'backbone'
unicaster = require './unicaster'
pubnub = require('pubnub').init
publish_key: 'pub-c-6dd9f234-e11e-4345-92c4-f723de52df70'
subscribe_key: 'sub-c-4c7f1748-ced1-11e2-a5be-02ee2ddab7fe'
Todo = Backbone.Model.extend
defaults: () ->
{
title: "empty ... | 38905 | _ = require('underscore')._
Backbone = require 'backbone'
unicaster = require './unicaster'
pubnub = require('pubnub').init
publish_key: '<KEY>'
subscribe_key: '<KEY>'
Todo = Backbone.Model.extend
defaults: () ->
{
title: "empty todo..."
order: Todos.nextOrder()
done: false
}
toggle:... | true | _ = require('underscore')._
Backbone = require 'backbone'
unicaster = require './unicaster'
pubnub = require('pubnub').init
publish_key: 'PI:KEY:<KEY>END_PI'
subscribe_key: 'PI:KEY:<KEY>END_PI'
Todo = Backbone.Model.extend
defaults: () ->
{
title: "empty todo..."
order: Todos.nextOrder()
do... |
[
{
"context": "hant service\n#\n# September, 2013 year\n#\n# Author - Vladimir Andreev\n#\n# E-Mail: volodya@netfolder.ru\n\n# Required modu",
"end": 82,
"score": 0.9998760223388672,
"start": 66,
"tag": "NAME",
"value": "Vladimir Andreev"
},
{
"context": "013 year\n#\n# Author - Vladi... | src/merchant-service.coffee | listepo/webmoney | 1 | # WebMoney merchant service
#
# September, 2013 year
#
# Author - Vladimir Andreev
#
# E-Mail: volodya@netfolder.ru
# Required modules
BaseService = require('./base')
Signer = require('../signer')
#
class MerchantEnvelope1
#
@CLASSIC_HOST: 'merchant.webmoney.ru' # Host for classic authorization
@LIGHT_HOST: 'me... | 221255 | # WebMoney merchant service
#
# September, 2013 year
#
# Author - <NAME>
#
# E-Mail: <EMAIL>
# Required modules
BaseService = require('./base')
Signer = require('../signer')
#
class MerchantEnvelope1
#
@CLASSIC_HOST: 'merchant.webmoney.ru' # Host for classic authorization
@LIGHT_HOST: 'merchant.wmtransfer.com' ... | true | # WebMoney merchant service
#
# September, 2013 year
#
# Author - PI:NAME:<NAME>END_PI
#
# E-Mail: PI:EMAIL:<EMAIL>END_PI
# Required modules
BaseService = require('./base')
Signer = require('../signer')
#
class MerchantEnvelope1
#
@CLASSIC_HOST: 'merchant.webmoney.ru' # Host for classic authorization
@LIGHT_HOS... |
[
{
"context": "odule dependencies and configures app.\n#\n# Author: Trevor Helms\n###\n\n# Module dependencies\nbodyParser = require '",
"end": 76,
"score": 0.999764084815979,
"start": 64,
"tag": "NAME",
"value": "Trevor Helms"
},
{
"context": "ession settings\n\tapp.use session \n\t\... | boot/config.coffee | VTHacksCrowdBox/crowdblare-web | 1 | ###
# Loads module dependencies and configures app.
#
# Author: Trevor Helms
###
# Module dependencies
bodyParser = require 'body-parser'
validator = require 'express-validator'
Mandrill = require 'mandrill-api/mandrill'
autoload = require '../lib/autoload'
session = require 'express-session'
dotenv = require 'dotenv'... | 128504 | ###
# Loads module dependencies and configures app.
#
# Author: <NAME>
###
# Module dependencies
bodyParser = require 'body-parser'
validator = require 'express-validator'
Mandrill = require 'mandrill-api/mandrill'
autoload = require '../lib/autoload'
session = require 'express-session'
dotenv = require 'dotenv'
acl =... | true | ###
# Loads module dependencies and configures app.
#
# Author: PI:NAME:<NAME>END_PI
###
# Module dependencies
bodyParser = require 'body-parser'
validator = require 'express-validator'
Mandrill = require 'mandrill-api/mandrill'
autoload = require '../lib/autoload'
session = require 'express-session'
dotenv = require ... |
[
{
"context": "f warns.length\n API.mail.send\n from: 'alert@cottagelabs.com'\n to: 'alert@cottagelabs.com'\n subj",
"end": 17617,
"score": 0.9999309182167053,
"start": 17596,
"tag": "EMAIL",
"value": "alert@cottagelabs.com"
},
{
"context": " from: 'ale... | server/status.coffee | leviathanindustries/noddy | 2 |
import cpustat from 'cpu-stat'
import diskspace from 'diskspace'
import os from 'os'
import rsync from 'rsync'
import Future from 'fibers/future'
import fs from 'fs'
import moment from 'moment'
status_present = new API.collection 'status_present'
API.add 'status', get: () -> return API.status this.queryParams.em... | 187131 |
import cpustat from 'cpu-stat'
import diskspace from 'diskspace'
import os from 'os'
import rsync from 'rsync'
import Future from 'fibers/future'
import fs from 'fs'
import moment from 'moment'
status_present = new API.collection 'status_present'
API.add 'status', get: () -> return API.status this.queryParams.em... | true |
import cpustat from 'cpu-stat'
import diskspace from 'diskspace'
import os from 'os'
import rsync from 'rsync'
import Future from 'fibers/future'
import fs from 'fs'
import moment from 'moment'
status_present = new API.collection 'status_present'
API.add 'status', get: () -> return API.status this.queryParams.em... |
[
{
"context": "- - - - - - - - - - - - - - - #\n# Copyright © 2015 Michael Schloss #\n# Se",
"end": 274,
"score": 0.9996671676635742,
"start": 259,
"tag": "NAME",
"value": "Michael Schloss"
}
] | gulp/server-clean.coffee | jluchiji/tranzit | 0 | # --------------------------------------------------------------------------- #
# tranzit-server build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 Michael Schloss #
... | 855 | # --------------------------------------------------------------------------- #
# tranzit-server build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 <NAME> #
# See LIC... | true | # --------------------------------------------------------------------------- #
# tranzit-server build script. #
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #
# Copyright © 2015 PI:NAME:<NAME>END_PI ... |
[
{
"context": "ivr\",\n \"voicemail_forward_email\":\"sudha+3@choochee.com\",\n \"enable_voicemail_forward_emai",
"end": 564,
"score": 0.9999284744262695,
"start": 544,
"tag": "EMAIL",
"value": "sudha+3@choochee.com"
},
{
"context": "00,\n ... | models/group/fixture/add_group_members.coffee | signonsridhar/sridhar_hbs | 0 | define(['can_fixture'], (can)->
can.fixture('POST /bss/group?action=addgroupmembers', (req, resp)->
return `{
"response":{
"service":"addgroupmembers",
"response_code":100,
"execution_time":43,
"timestamp":"2013-11-14T18:03:43+0000",
... | 24131 | define(['can_fixture'], (can)->
can.fixture('POST /bss/group?action=addgroupmembers', (req, resp)->
return `{
"response":{
"service":"addgroupmembers",
"response_code":100,
"execution_time":43,
"timestamp":"2013-11-14T18:03:43+0000",
... | true | define(['can_fixture'], (can)->
can.fixture('POST /bss/group?action=addgroupmembers', (req, resp)->
return `{
"response":{
"service":"addgroupmembers",
"response_code":100,
"execution_time":43,
"timestamp":"2013-11-14T18:03:43+0000",
... |
[
{
"context": " context : context\n clientIP : '127.0.0.1'\n connection :\n delegate : accoun",
"end": 1761,
"score": 0.9997321367263794,
"start": 1752,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": " agree : 'on'\n passwor... | workers/social/testhelper/index.coffee | lionheart1022/koding | 0 | _ = require 'underscore'
hat = require 'hat'
async = require 'async'
JUser = require '../lib/social/models/user'
JGroup = require '../lib/social/models/group'
JAccount = require '../lib/social/models/account'
J... | 149035 | _ = require 'underscore'
hat = require 'hat'
async = require 'async'
JUser = require '../lib/social/models/user'
JGroup = require '../lib/social/models/group'
JAccount = require '../lib/social/models/account'
J... | true | _ = require 'underscore'
hat = require 'hat'
async = require 'async'
JUser = require '../lib/social/models/user'
JGroup = require '../lib/social/models/group'
JAccount = require '../lib/social/models/account'
J... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.