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": "ogin: (custom_tag) ->\n @_send('login', {userId: @username, password: @password}, custom_tag)\n return\n\n ",
"end": 3587,
"score": 0.9708515405654907,
"start": 3578,
"tag": "USERNAME",
"value": "@username"
},
{
"context": "\n @_send('login', {userId: @usernam... | src/xapi-wrapper.coffee | pgorzelany/xapi-wrapper | 2 | Connector = require('xapi-connector')
Emitter = require('events').EventEmitter
print = (msg) -> console.log(msg)
class Wrapper
constructor: (@server_url, @conn_port, @stream_port, @username, @password) ->
@conn_status = 0
@stream_status = 0
@_req_id = 0
@_stream_session_id = null
@_requests = {}... | 161578 | Connector = require('xapi-connector')
Emitter = require('events').EventEmitter
print = (msg) -> console.log(msg)
class Wrapper
constructor: (@server_url, @conn_port, @stream_port, @username, @password) ->
@conn_status = 0
@stream_status = 0
@_req_id = 0
@_stream_session_id = null
@_requests = {}... | true | Connector = require('xapi-connector')
Emitter = require('events').EventEmitter
print = (msg) -> console.log(msg)
class Wrapper
constructor: (@server_url, @conn_port, @stream_port, @username, @password) ->
@conn_status = 0
@stream_status = 0
@_req_id = 0
@_stream_session_id = null
@_requests = {}... |
[
{
"context": "\n createdNew: no\n else\n key = @_createHash(url)\n @_insert\n key: key\n ",
"end": 1363,
"score": 0.7981189489364624,
"start": 1350,
"tag": "KEY",
"value": "@_createHash("
}
] | src/unique-shortener.coffee | valiton/node-unique-shortener | 3 | _ = require 'lodash'
base62 = require 'base62'
farmhash = require 'farmhash'
module.exports = class UniqueShortener
httpRegex = /(^$)|(^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$)/i
###*
* create a new Test_lib instance,
*
* @memberOf global
*
* @... | 17559 | _ = require 'lodash'
base62 = require 'base62'
farmhash = require 'farmhash'
module.exports = class UniqueShortener
httpRegex = /(^$)|(^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$)/i
###*
* create a new Test_lib instance,
*
* @memberOf global
*
* @... | true | _ = require 'lodash'
base62 = require 'base62'
farmhash = require 'farmhash'
module.exports = class UniqueShortener
httpRegex = /(^$)|(^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(([0-9]{1,5})?\/.*)?$)/i
###*
* create a new Test_lib instance,
*
* @memberOf global
*
* @... |
[
{
"context": "###\n termap - Terminal Map Viewer\n by Michael Strassburger <codepoet@cpan.org>\n\n Simple pixel to barille ch",
"end": 60,
"score": 0.9998748898506165,
"start": 40,
"tag": "NAME",
"value": "Michael Strassburger"
},
{
"context": " - Terminal Map Viewer\n by Michael... | src/BrailleBuffer.coffee | 82ndAirborneDiv/mapsc | 1 | ###
termap - Terminal Map Viewer
by Michael Strassburger <codepoet@cpan.org>
Simple pixel to barille character mapper
Implementation inspired by node-drawille (https://github.com/madbence/node-drawille)
* added color support
* added text label support
* general optimizations
Will either be merged int... | 191800 | ###
termap - Terminal Map Viewer
by <NAME> <<EMAIL>>
Simple pixel to barille character mapper
Implementation inspired by node-drawille (https://github.com/madbence/node-drawille)
* added color support
* added text label support
* general optimizations
Will either be merged into node-drawille or becom... | true | ###
termap - Terminal Map Viewer
by PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Simple pixel to barille character mapper
Implementation inspired by node-drawille (https://github.com/madbence/node-drawille)
* added color support
* added text label support
* general optimizations
Will either be merge... |
[
{
"context": "token-manager')\n\nDEFAULT_ADMIN_USER =\n email: 'loopback-with-admin@example.com'\n id: 'loopback-with-admin-user-id'\n passwo",
"end": 132,
"score": 0.9999200701713562,
"start": 101,
"tag": "EMAIL",
"value": "loopback-with-admin@example.com"
},
{
"context": "... | src/server/admin-token-manager.coffee | CureApp/loopback-with-admin | 13 | ____ = require('debug')('loopback-with-admin:admin-token-manager')
DEFAULT_ADMIN_USER =
email: 'loopback-with-admin@example.com'
id: 'loopback-with-admin-user-id'
password: 'admin-user-password' # No worry, noone can login through REST API.
ONE_YEAR = 60 * 60 * 24 * 365
DEFAULT_TOKEN = 'loopback-with-adm... | 78631 | ____ = require('debug')('loopback-with-admin:admin-token-manager')
DEFAULT_ADMIN_USER =
email: '<EMAIL>'
id: 'loopback-with-admin-user-id'
password: '<PASSWORD>' # No worry, noone can login through REST API.
ONE_YEAR = 60 * 60 * 24 * 365
DEFAULT_TOKEN = '<PASSWORD>'
promisify = (fn) ->
new Promise (... | true | ____ = require('debug')('loopback-with-admin:admin-token-manager')
DEFAULT_ADMIN_USER =
email: 'PI:EMAIL:<EMAIL>END_PI'
id: 'loopback-with-admin-user-id'
password: 'PI:PASSWORD:<PASSWORD>END_PI' # No worry, noone can login through REST API.
ONE_YEAR = 60 * 60 * 24 * 365
DEFAULT_TOKEN = 'PI:PASSWORD:<PASS... |
[
{
"context": "SharedObject = (obj)->\n obj.$$hashKey=\"cb_#{uuid++}\"\n return obj\n\nmodule.exports = Browser\n",
"end": 18939,
"score": 0.6626254916191101,
"start": 18926,
"tag": "KEY",
"value": "cb_#{uuid++}\""
}
] | src/api/browser.coffee | bladepan/cloudbrowser | 0 | Async = require('async')
lodash = require('lodash')
Components = require('../server/components')
User = require('../server/user')
cloudbrowserError = require('../shared/cloudbrowser_error')
{areArgsValid} = require('./utils')
routes = require('../server/application_manager/routes')
uuid = 0
# Permission ch... | 9133 | Async = require('async')
lodash = require('lodash')
Components = require('../server/components')
User = require('../server/user')
cloudbrowserError = require('../shared/cloudbrowser_error')
{areArgsValid} = require('./utils')
routes = require('../server/application_manager/routes')
uuid = 0
# Permission ch... | true | Async = require('async')
lodash = require('lodash')
Components = require('../server/components')
User = require('../server/user')
cloudbrowserError = require('../shared/cloudbrowser_error')
{areArgsValid} = require('./utils')
routes = require('../server/application_manager/routes')
uuid = 0
# Permission ch... |
[
{
"context": "Each ->\n co =>\n yield @room.user.say 'alice', '@hubot bikeshedding'\n yield new Promise",
"end": 653,
"score": 0.5896881818771362,
"start": 648,
"tag": "NAME",
"value": "alice"
}
] | test/bikeshed_test.coffee | hubot-scripts/hubot-bikeshed | 3 | chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
co = require('co')
Helper = require('hubot-test-helper')
helper = new Helper('../src/bikeshed.coffee')
expect = chai.expect
describe 'bikeshed', ->
beforeEach ->
@robot =
respond: sinon.spy()
hear: sinon.spy()
@room ... | 117713 | chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
co = require('co')
Helper = require('hubot-test-helper')
helper = new Helper('../src/bikeshed.coffee')
expect = chai.expect
describe 'bikeshed', ->
beforeEach ->
@robot =
respond: sinon.spy()
hear: sinon.spy()
@room ... | true | chai = require 'chai'
sinon = require 'sinon'
chai.use require 'sinon-chai'
co = require('co')
Helper = require('hubot-test-helper')
helper = new Helper('../src/bikeshed.coffee')
expect = chai.expect
describe 'bikeshed', ->
beforeEach ->
@robot =
respond: sinon.spy()
hear: sinon.spy()
@room ... |
[
{
"context": "\n\n <input id=\"name\" type='text' placeholder='Your Name' value={nameVal}\n onKeyDown={onKeyDown} onInput",
"end": 421,
"score": 0.5178046822547913,
"start": 417,
"tag": "NAME",
"value": "Name"
}
] | client/Name.coffee | cyechow/cocreate | 181 | import React from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import storage from './lib/storage'
export name = new storage.StringVariable 'name', ''
export Name = React.memo ->
nameVal = useTracker ->
name.get()
, []
onKeyDown = (e) ->
e.stopPropagation() # avoid width setting hotkey
... | 118479 | import React from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import storage from './lib/storage'
export name = new storage.StringVariable 'name', ''
export Name = React.memo ->
nameVal = useTracker ->
name.get()
, []
onKeyDown = (e) ->
e.stopPropagation() # avoid width setting hotkey
... | true | import React from 'react'
import {useTracker} from 'meteor/react-meteor-data'
import storage from './lib/storage'
export name = new storage.StringVariable 'name', ''
export Name = React.memo ->
nameVal = useTracker ->
name.get()
, []
onKeyDown = (e) ->
e.stopPropagation() # avoid width setting hotkey
... |
[
{
"context": "newData.pass, (hash) ->\n newData.pass = hash\n # append date stamp when record was c",
"end": 1428,
"score": 0.8927034139633179,
"start": 1424,
"tag": "PASSWORD",
"value": "hash"
},
{
"context": "counts.find { $and: [ {\n email: email\n pass... | app/modules/account-manager.coffee | VirsixInc/newBrainrushLMS | 0 | crypto = require('crypto')
MongoDB = require('mongodb').Db
Server = require('mongodb').Server
moment = require('moment')
dbPort = 27017
dbHost = 'localhost'
dbName = 'node-login'
### establish the database connection ###
db = new MongoDB(dbName, new Server(dbHost, dbPort, auto_reconnect: true), w: 1)
db.open (e, d) -... | 175460 | crypto = require('crypto')
MongoDB = require('mongodb').Db
Server = require('mongodb').Server
moment = require('moment')
dbPort = 27017
dbHost = 'localhost'
dbName = 'node-login'
### establish the database connection ###
db = new MongoDB(dbName, new Server(dbHost, dbPort, auto_reconnect: true), w: 1)
db.open (e, d) -... | true | crypto = require('crypto')
MongoDB = require('mongodb').Db
Server = require('mongodb').Server
moment = require('moment')
dbPort = 27017
dbHost = 'localhost'
dbName = 'node-login'
### establish the database connection ###
db = new MongoDB(dbName, new Server(dbHost, dbPort, auto_reconnect: true), w: 1)
db.open (e, d) -... |
[
{
"context": "###\n\t网易音乐下载解析 By Jixun\n\t尝试使用 Coffee Script 写\n###\n\nid: 'music.163',\nname:",
"end": 22,
"score": 0.8951253890991211,
"start": 17,
"tag": "NAME",
"value": "Jixun"
},
{
"context": "arCode !! 参数2 的 index 会玩坏返回值\n\t(dfsid) ->\n\t\tkey = [ 51, 103, 111, 56, 38, 36, 56,... | src/host/music.163.coffee | ningfei/cuwcl4c | 0 | ###
网易音乐下载解析 By Jixun
尝试使用 Coffee Script 写
###
id: 'music.163',
name: '网易音乐下载解析',
host: 'music.163.com',
noSubHost: yes,
noFrame: no,
dl_icon: yes,
css: `<% ~com.163.music.dl.css %>`,
onStart: ->
@regPlayer()
# 优先使用 HTML5 播放器, 如果没有再考虑 Flash 支援
unsafeExec ->
fakePlatForm = navigator.platform + "--Fake-mac"
O... | 3101 | ###
网易音乐下载解析 By <NAME>
尝试使用 Coffee Script 写
###
id: 'music.163',
name: '网易音乐下载解析',
host: 'music.163.com',
noSubHost: yes,
noFrame: no,
dl_icon: yes,
css: `<% ~com.163.music.dl.css %>`,
onStart: ->
@regPlayer()
# 优先使用 HTML5 播放器, 如果没有再考虑 Flash 支援
unsafeExec ->
fakePlatForm = navigator.platform + "--Fake-mac"
... | true | ###
网易音乐下载解析 By PI:NAME:<NAME>END_PI
尝试使用 Coffee Script 写
###
id: 'music.163',
name: '网易音乐下载解析',
host: 'music.163.com',
noSubHost: yes,
noFrame: no,
dl_icon: yes,
css: `<% ~com.163.music.dl.css %>`,
onStart: ->
@regPlayer()
# 优先使用 HTML5 播放器, 如果没有再考虑 Flash 支援
unsafeExec ->
fakePlatForm = navigator.platform + "... |
[
{
"context": "{\n id: 1\n name: \"brian\"",
"end": 24,
"score": 0.9997234344482422,
"start": 19,
"tag": "NAME",
"value": "brian"
}
] | system-tests/projects/todos/tests/_fixtures/bad_coffee.coffee | justinforbes/cypress | 39,773 | {
id: 1
name: "brian" | 101896 | {
id: 1
name: "<NAME>" | true | {
id: 1
name: "PI:NAME:<NAME>END_PI" |
[
{
"context": " 'mailto': (test)->\n check test, 'mailto:mduerst@ifi.unizh.ch'\n\n 'news': (test)->\n check test, ",
"end": 1237,
"score": 0.9999290704727173,
"start": 1217,
"tag": "EMAIL",
"value": "mduerst@ifi.unizh.ch"
},
{
"context": "eck test, 'foo://exam... | test.old/test-URL.coffee | minodisk/muon | 1 | {muon} = require '../lib/muon.js'
{URL} = muon.net
url = require 'url'
check = (test, urlStr, parseQueryString = false)->
obj = url.parse(urlStr, parseQueryString)
if parseQueryString and obj.search is ''
delete obj.search
obj.origin = "#{obj.protocol}#{if obj.slashes then '//' else ''}#{if obj.auth? then obj... | 193801 | {muon} = require '../lib/muon.js'
{URL} = muon.net
url = require 'url'
check = (test, urlStr, parseQueryString = false)->
obj = url.parse(urlStr, parseQueryString)
if parseQueryString and obj.search is ''
delete obj.search
obj.origin = "#{obj.protocol}#{if obj.slashes then '//' else ''}#{if obj.auth? then obj... | true | {muon} = require '../lib/muon.js'
{URL} = muon.net
url = require 'url'
check = (test, urlStr, parseQueryString = false)->
obj = url.parse(urlStr, parseQueryString)
if parseQueryString and obj.search is ''
delete obj.search
obj.origin = "#{obj.protocol}#{if obj.slashes then '//' else ''}#{if obj.auth? then obj... |
[
{
"context": "ngs.findOne({space: Session.get(\"spaceId\"), key: \"contacts_no_force_phone_users\"})\n\t\t\t\t\t\treturn setting?.values || []\n\t\t\t\toptiona",
"end": 288,
"score": 0.9699528813362122,
"start": 259,
"tag": "KEY",
"value": "contacts_no_force_phone_users"
}
] | creator/packages/steedos-creator/client/views/contacts_settings_no_force_phone_modal.coffee | yicone/steedos-platform | 42 | Template.contacts_settings_no_force_phone_modal.helpers
users_schema: ()->
fields =
users:
autoform:
type: 'selectuser'
multiple: true
defaultValue: ()->
setting = db.space_settings.findOne({space: Session.get("spaceId"), key: "contacts_no_force_phone_users"})
return setting?.values... | 161612 | Template.contacts_settings_no_force_phone_modal.helpers
users_schema: ()->
fields =
users:
autoform:
type: 'selectuser'
multiple: true
defaultValue: ()->
setting = db.space_settings.findOne({space: Session.get("spaceId"), key: "<KEY>"})
return setting?.values || []
optional: fal... | true | Template.contacts_settings_no_force_phone_modal.helpers
users_schema: ()->
fields =
users:
autoform:
type: 'selectuser'
multiple: true
defaultValue: ()->
setting = db.space_settings.findOne({space: Session.get("spaceId"), key: "PI:KEY:<KEY>END_PI"})
return setting?.values || []
... |
[
{
"context": "y 500, ->\n counter = 3\n for key, i in ['zero', 'one', 'two']\n for time in [0...i]\n req = http",
"end": 738,
"score": 0.508097231388092,
"start": 735,
"tag": "KEY",
"value": "one"
},
{
"context": "->\n counter = 3\n for key, i in ['zero', 'one', 'two']\n ... | test/test-ping.coffee | Artear/pixel-ping | 0 | {parse} = require 'url'
http = require 'http'
querystring = require 'querystring'
{spawn} = require 'child_process'
server = http.createServer (req, res) ->
params = parse req.url, true
if params.path is '/endpoint'
req.on 'data', (chunk) ->
data = querystring.parse chunk.toString()
... | 65641 | {parse} = require 'url'
http = require 'http'
querystring = require 'querystring'
{spawn} = require 'child_process'
server = http.createServer (req, res) ->
params = parse req.url, true
if params.path is '/endpoint'
req.on 'data', (chunk) ->
data = querystring.parse chunk.toString()
... | true | {parse} = require 'url'
http = require 'http'
querystring = require 'querystring'
{spawn} = require 'child_process'
server = http.createServer (req, res) ->
params = parse req.url, true
if params.path is '/endpoint'
req.on 'data', (chunk) ->
data = querystring.parse chunk.toString()
... |
[
{
"context": "nd style from the model', ->\n model = { name: 'red' }\n @render 'div[style:color=name]', model\n ",
"end": 149,
"score": 0.6412132382392883,
"start": 146,
"tag": "NAME",
"value": "red"
}
] | test/integration/styles.spec.coffee | varvet/serenade.js | 5 | require './../spec_helper'
describe 'Styles', ->
beforeEach ->
@setupDom()
it 'get bound style from the model', ->
model = { name: 'red' }
@render 'div[style:color=name]', model
expect(@body.querySelector('div').style.color).to.eql('red')
it 'changes bound style as they are changed', ->
mod... | 94106 | require './../spec_helper'
describe 'Styles', ->
beforeEach ->
@setupDom()
it 'get bound style from the model', ->
model = { name: '<NAME>' }
@render 'div[style:color=name]', model
expect(@body.querySelector('div').style.color).to.eql('red')
it 'changes bound style as they are changed', ->
... | true | require './../spec_helper'
describe 'Styles', ->
beforeEach ->
@setupDom()
it 'get bound style from the model', ->
model = { name: 'PI:NAME:<NAME>END_PI' }
@render 'div[style:color=name]', model
expect(@body.querySelector('div').style.color).to.eql('red')
it 'changes bound style as they are cha... |
[
{
"context": "er',\n '$scope'\n ($scope) ->\n $scope.aa = \"gonzalo\"\n",
"end": 109,
"score": 0.6720887422561646,
"start": 105,
"tag": "NAME",
"value": "zalo"
}
] | app/modules/products/controllers/productsCtrl.coffee | gonzadocarmo/mataderos-distrib | 0 | angular.module('products').controller 'ProductsController',
'$scope'
($scope) ->
$scope.aa = "gonzalo"
| 24939 | angular.module('products').controller 'ProductsController',
'$scope'
($scope) ->
$scope.aa = "gon<NAME>"
| true | angular.module('products').controller 'ProductsController',
'$scope'
($scope) ->
$scope.aa = "gonPI:NAME:<NAME>END_PI"
|
[
{
"context": "# @author alteredq / http://alteredqualia.com/\n# @author aladjev.and",
"end": 18,
"score": 0.9853934645652771,
"start": 10,
"tag": "USERNAME",
"value": "alteredq"
},
{
"context": "hor alteredq / http://alteredqualia.com/\n# @author aladjev.andrew@gmail.com\n\nclass _Ma... | source/javascripts/new_src/core/math.coffee | andrew-aladev/three.js | 0 | # @author alteredq / http://alteredqualia.com/
# @author aladjev.andrew@gmail.com
class _Math
# Clamp value to range <a, b>
@clamp: (x, a, b) ->
if (x < a) then a else (if (x > b) then b else x)
# Clamp value to range <a, inf)
@clampBottom: (x, a) ->
if x < a then a else x
# Linear mapping from ra... | 1114 | # @author alteredq / http://alteredqualia.com/
# @author <EMAIL>
class _Math
# Clamp value to range <a, b>
@clamp: (x, a, b) ->
if (x < a) then a else (if (x > b) then b else x)
# Clamp value to range <a, inf)
@clampBottom: (x, a) ->
if x < a then a else x
# Linear mapping from range <a1, a2> to r... | true | # @author alteredq / http://alteredqualia.com/
# @author PI:EMAIL:<EMAIL>END_PI
class _Math
# Clamp value to range <a, b>
@clamp: (x, a, b) ->
if (x < a) then a else (if (x > b) then b else x)
# Clamp value to range <a, inf)
@clampBottom: (x, a) ->
if x < a then a else x
# Linear mapping from rang... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9990046620368958,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-fs-sync-fd-leak.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... | 23760 | # 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": "moduleInst = null\n\ntestListA = [\n\t{ id: 1, name: \"A\" },\n\t{ id: 2, name: \"B\" },\n\t{ id: 3, name: \"C\" },",
"end": 110,
"score": 0.8653497099876404,
"start": 109,
"tag": "NAME",
"value": "A"
},
{
"context": "ListA = [\n\t{ id: 1, name: \"A\" },\n\t{ id: 2, nam... | _src/test/main.coffee | mpneuried/sortcoll | 2 | should = require('should')
sortcoll = require( "../." )
_moduleInst = null
testListA = [
{ id: 1, name: "A" },
{ id: 2, name: "B" },
{ id: 3, name: "C" },
{ id: 4, name: "A" }
]
testListB = [
{ id: 13, name: "Foo", age: 42 },
{ id: 1337, name: "Bar", age: 666 },
{ id: 42, name: "Fizz", age: 23 },
{ id: 23, ... | 225160 | should = require('should')
sortcoll = require( "../." )
_moduleInst = null
testListA = [
{ id: 1, name: "<NAME>" },
{ id: 2, name: "<NAME>" },
{ id: 3, name: "<NAME>" },
{ id: 4, name: "A" }
]
testListB = [
{ id: 13, name: "<NAME>", age: 42 },
{ id: 1337, name: "<NAME>", age: 666 },
{ id: 42, name: "<NAME>",... | true | should = require('should')
sortcoll = require( "../." )
_moduleInst = null
testListA = [
{ id: 1, name: "PI:NAME:<NAME>END_PI" },
{ id: 2, name: "PI:NAME:<NAME>END_PI" },
{ id: 3, name: "PI:NAME:<NAME>END_PI" },
{ id: 4, name: "A" }
]
testListB = [
{ id: 13, name: "PI:NAME:<NAME>END_PI", age: 42 },
{ id: 1337... |
[
{
"context": "[\n\tname: 'Testing'\n\tapiKey: 'ENV:TESTING_API_KEY'\n\tscripts:\n\t\t'WebS",
"end": 17,
"score": 0.9076297283172607,
"start": 10,
"tag": "NAME",
"value": "Testing"
}
] | testing.cson | shubs/api-store | 8 | [
name: 'Testing'
apiKey: 'ENV:TESTING_API_KEY'
scripts:
'WebSearch Tests.js': 'testing/WebSearch Tests.js'
] | 73281 | [
name: '<NAME>'
apiKey: 'ENV:TESTING_API_KEY'
scripts:
'WebSearch Tests.js': 'testing/WebSearch Tests.js'
] | true | [
name: 'PI:NAME:<NAME>END_PI'
apiKey: 'ENV:TESTING_API_KEY'
scripts:
'WebSearch Tests.js': 'testing/WebSearch Tests.js'
] |
[
{
"context": "###\n\nMasonJS\nAuthor: Drew Dahlman\nVersion: 2.0.3\nLicense: MIT\n\nCopyright (c) 2015 D",
"end": 33,
"score": 0.9998735189437866,
"start": 21,
"tag": "NAME",
"value": "Drew Dahlman"
},
{
"context": "an\nVersion: 2.0.3\nLicense: MIT\n\nCopyright (c) 2015 Drew Dahlman\... | src/mason.coffee | JackEasons/Mason | 429 | ###
MasonJS
Author: Drew Dahlman
Version: 2.0.3
License: MIT
Copyright (c) 2015 Drew Dahlman
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... | 18052 | ###
MasonJS
Author: <NAME>
Version: 2.0.3
License: MIT
Copyright (c) 2015 <NAME>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to u... | true | ###
MasonJS
Author: PI:NAME:<NAME>END_PI
Version: 2.0.3
License: MIT
Copyright (c) 2015 PI:NAME:<NAME>END_PI
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
withou... |
[
{
"context": "er.connect\n user: config.username\n password: config.password\n host: config.smtp.host\n ssl: config.smtp.s",
"end": 430,
"score": 0.9992981553077698,
"start": 415,
"tag": "PASSWORD",
"value": "config.password"
},
{
"context": "il}>\"\n to: \"#{config.na... | src/email/send.coffee | Michaellino/Angular | 0 | # This script will send an image as an email attachment to the
# user himself. The receiving part of this is in read.coffee
# Install EmailJS with `npm install emailjs`
email = require "emailjs"
# You need a config file with your email settings
fs = require "fs"
config = JSON.parse fs.readFileSync "#{process.cwd()}... | 2209 | # This script will send an image as an email attachment to the
# user himself. The receiving part of this is in read.coffee
# Install EmailJS with `npm install emailjs`
email = require "emailjs"
# You need a config file with your email settings
fs = require "fs"
config = JSON.parse fs.readFileSync "#{process.cwd()}... | true | # This script will send an image as an email attachment to the
# user himself. The receiving part of this is in read.coffee
# Install EmailJS with `npm install emailjs`
email = require "emailjs"
# You need a config file with your email settings
fs = require "fs"
config = JSON.parse fs.readFileSync "#{process.cwd()}... |
[
{
"context": "mon')\n\ntest 'sparse-test', [\n {\n Name: 'Bob'\n Location: 'Sweden'\n Age: 14\n }",
"end": 74,
"score": 0.9998664855957031,
"start": 71,
"tag": "NAME",
"value": "Bob"
},
{
"context": "weden'\n Age: 14\n }\n {\n Name: 'Ali... | test/sparse_test.coffee | SBeyeMHP/node-xlsx-writestream | 42 | test = require('./common')
test 'sparse-test', [
{
Name: 'Bob'
Location: 'Sweden'
Age: 14
}
{
Name: 'Alice'
}
]
| 31449 | test = require('./common')
test 'sparse-test', [
{
Name: '<NAME>'
Location: 'Sweden'
Age: 14
}
{
Name: '<NAME>'
}
]
| true | test = require('./common')
test 'sparse-test', [
{
Name: 'PI:NAME:<NAME>END_PI'
Location: 'Sweden'
Age: 14
}
{
Name: 'PI:NAME:<NAME>END_PI'
}
]
|
[
{
"context": "###\n# Copyright 2013, 2014, 2015 Simon Lydell\n# X11 (“MIT”) Licensed. (See LICENSE.)\n###\n\nautop",
"end": 45,
"score": 0.9998388290405273,
"start": 33,
"tag": "NAME",
"value": "Simon Lydell"
}
] | node_modules/autoprefixer-brunch/src/index.coffee | sheriffderek/basic-style | 0 | ###
# Copyright 2013, 2014, 2015 Simon Lydell
# X11 (“MIT”) Licensed. (See LICENSE.)
###
autoprefixer = require "autoprefixer-core"
module.exports = class Autoprefixer
brunchPlugin: yes
type: "stylesheet"
extension: "css"
defaultEnv: "*"
constructor: (@config)->
options = @config.plugins.autoprefixer ?... | 194830 | ###
# Copyright 2013, 2014, 2015 <NAME>
# X11 (“MIT”) Licensed. (See LICENSE.)
###
autoprefixer = require "autoprefixer-core"
module.exports = class Autoprefixer
brunchPlugin: yes
type: "stylesheet"
extension: "css"
defaultEnv: "*"
constructor: (@config)->
options = @config.plugins.autoprefixer ? {}
... | true | ###
# Copyright 2013, 2014, 2015 PI:NAME:<NAME>END_PI
# X11 (“MIT”) Licensed. (See LICENSE.)
###
autoprefixer = require "autoprefixer-core"
module.exports = class Autoprefixer
brunchPlugin: yes
type: "stylesheet"
extension: "css"
defaultEnv: "*"
constructor: (@config)->
options = @config.plugins.autopr... |
[
{
"context": " id = Accounts.createUser\n username: \"admin\"\n email: \"jho.xray@gmail.com\"\n pass",
"end": 628,
"score": 0.9472655057907104,
"start": 623,
"tag": "USERNAME",
"value": "admin"
},
{
"context": "ateUser\n username: \"admin\"\n e... | main.coffee | superstringsoftware/meteorology | 0 | tl = TLog.getLogger()
@Posts = new Meteor.Collection 'posts'
@allowAdmin = (uid)-> if Meteor.users.findOne(uid)?.securityProfile?.globalRole is "admin" then true else false
if Meteor.isServer
au = Meteor.users.find({"securityProfile.globalRole": "admin"}).count()
Posts.allow
insert: allowAdmin
update: all... | 77783 | tl = TLog.getLogger()
@Posts = new Meteor.Collection 'posts'
@allowAdmin = (uid)-> if Meteor.users.findOne(uid)?.securityProfile?.globalRole is "admin" then true else false
if Meteor.isServer
au = Meteor.users.find({"securityProfile.globalRole": "admin"}).count()
Posts.allow
insert: allowAdmin
update: all... | true | tl = TLog.getLogger()
@Posts = new Meteor.Collection 'posts'
@allowAdmin = (uid)-> if Meteor.users.findOne(uid)?.securityProfile?.globalRole is "admin" then true else false
if Meteor.isServer
au = Meteor.users.find({"securityProfile.globalRole": "admin"}).count()
Posts.allow
insert: allowAdmin
update: all... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9994263052940369,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-domain-multi.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... | 7697 | # Copyright <NAME>, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, me... | true | # Copyright PI:NAME:<NAME>END_PI, Inc. and other Node contributors.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, co... |
[
{
"context": " ->\n repos =\n getOriginURL: -> 'git@some-url.com:some/project'\n\n integration.handleReposito",
"end": 581,
"score": 0.9820050597190857,
"start": 565,
"tag": "EMAIL",
"value": "git@some-url.com"
},
{
"context": "s)\n\n repos =\n ... | spec/gitlab-integration-spec.coffee | blakawk/gitlab-integration | 22 | nock = require 'nock'
describe 'GitLab Integration', ->
integration = null
project = null
beforeEach ->
project =
getPath: -> '/some/project'
integration = require '../lib/gitlab-integration'
integration.gitlab =
jasmine.createSpyObj 'gitlab', [
... | 68220 | nock = require 'nock'
describe 'GitLab Integration', ->
integration = null
project = null
beforeEach ->
project =
getPath: -> '/some/project'
integration = require '../lib/gitlab-integration'
integration.gitlab =
jasmine.createSpyObj 'gitlab', [
... | true | nock = require 'nock'
describe 'GitLab Integration', ->
integration = null
project = null
beforeEach ->
project =
getPath: -> '/some/project'
integration = require '../lib/gitlab-integration'
integration.gitlab =
jasmine.createSpyObj 'gitlab', [
... |
[
{
"context": "oBe 'http://1.2.3.4'\n expect buildUrl 'http', '1:2::3:4'\n .toBe 'http://[1:2::3:4]'\n it 'should h",
"end": 1284,
"score": 0.9994689226150513,
"start": 1278,
"tag": "IP_ADDRESS",
"value": "1:2::3"
},
{
"context": " buildUrl 'http', '1:2::3:4'\n .toBe 'ht... | proxy/spec/util.spec.coffee | ahf/snowflake | 1 | ###
jasmine tests for Snowflake utils
###
describe 'BuildUrl', ->
it 'should parse just protocol and host', ->
expect(buildUrl('http', 'example.com')).toBe 'http://example.com'
it 'should handle different ports', ->
expect buildUrl 'http', 'example.com', 80
.toBe 'http://example.com'
expect build... | 102642 | ###
jasmine tests for Snowflake utils
###
describe 'BuildUrl', ->
it 'should parse just protocol and host', ->
expect(buildUrl('http', 'example.com')).toBe 'http://example.com'
it 'should handle different ports', ->
expect buildUrl 'http', 'example.com', 80
.toBe 'http://example.com'
expect build... | true | ###
jasmine tests for Snowflake utils
###
describe 'BuildUrl', ->
it 'should parse just protocol and host', ->
expect(buildUrl('http', 'example.com')).toBe 'http://example.com'
it 'should handle different ports', ->
expect buildUrl 'http', 'example.com', 80
.toBe 'http://example.com'
expect build... |
[
{
"context": "for lazy loading images\r\n\r\nCopyright (c) 2007-2013 Mika Tuupola\r\n\r\nLicensed under the MIT license:\r\nhttp://www.op",
"end": 106,
"score": 0.9998944401741028,
"start": 94,
"tag": "NAME",
"value": "Mika Tuupola"
}
] | dev/coffee/main/inclusion-jquery.lazy.coffee | ADHDboy/testwev | 27 | ###
$Lazy load
Lazy Load - jQuery plugin for lazy loading images
Copyright (c) 2007-2013 Mika Tuupola
Licensed under the MIT license:
http://www.opensource.org/licenses/mit-license.php
Project home:
http://www.appelsiini.net/projects/lazyload
Version: 1.9.3
###
(($, window, document, undefined_) ->
... | 93669 | ###
$Lazy load
Lazy Load - jQuery plugin for lazy loading images
Copyright (c) 2007-2013 <NAME>
Licensed under the MIT license:
http://www.opensource.org/licenses/mit-license.php
Project home:
http://www.appelsiini.net/projects/lazyload
Version: 1.9.3
###
(($, window, document, undefined_) ->
$wind... | true | ###
$Lazy load
Lazy Load - jQuery plugin for lazy loading images
Copyright (c) 2007-2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license:
http://www.opensource.org/licenses/mit-license.php
Project home:
http://www.appelsiini.net/projects/lazyload
Version: 1.9.3
###
(($, window, document, undefine... |
[
{
"context": "e in conjunction with the scss mixin\n#\n# @author Olivier Bossel <olivier.bossel@gmail.com>\n# @created 20.01.16\n#",
"end": 184,
"score": 0.9998512864112854,
"start": 170,
"tag": "NAME",
"value": "Olivier Bossel"
},
{
"context": "with the scss mixin\n#\n# @author ... | node_modules/sugarcss/coffee/sugar-DOMNodeInserted.coffee | hagsey/nlpt2 | 0 | ###
# Sugar-domnodeinserted.js
#
# This little js file allow you to detect when an element has been inserted in the page in conjunction with the scss mixin
#
# @author Olivier Bossel <olivier.bossel@gmail.com>
# @created 20.01.16
# @updated 20.01.16
# @version 1.0.0
###
((factory) ->
if typeof define == 'function... | 178147 | ###
# Sugar-domnodeinserted.js
#
# This little js file allow you to detect when an element has been inserted in the page in conjunction with the scss mixin
#
# @author <NAME> <<EMAIL>>
# @created 20.01.16
# @updated 20.01.16
# @version 1.0.0
###
((factory) ->
if typeof define == 'function' and define.amd
# AMD.... | true | ###
# Sugar-domnodeinserted.js
#
# This little js file allow you to detect when an element has been inserted in the page in conjunction with the scss mixin
#
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# @created 20.01.16
# @updated 20.01.16
# @version 1.0.0
###
((factory) ->
if typeof define == 'func... |
[
{
"context": "log error\n\nif Meteor.isServer\n\tS3.config =\n\t\tkey:\"yourkey\"\n\t\tsecret:\"yoursecret\"\n\t\tbucket:\"yourbucket\"\n\t\t# ",
"end": 526,
"score": 0.5707787275314331,
"start": 519,
"tag": "KEY",
"value": "yourkey"
},
{
"context": "r.isServer\n\tS3.config =\n\t\tke... | example/basic/basic.coffee | jeanfredrik/meteor-s3 | 219 | if Meteor.isClient
Template.basic.helpers
"files": -> S3.collection.find()
Template.basic.events
"click button.upload": (event) ->
S3.upload
files:$("input.file_bag")[0].files
(error,result) ->
if error
console.log "Unable to upload"
else
console.log result
"click button.delet... | 200990 | if Meteor.isClient
Template.basic.helpers
"files": -> S3.collection.find()
Template.basic.events
"click button.upload": (event) ->
S3.upload
files:$("input.file_bag")[0].files
(error,result) ->
if error
console.log "Unable to upload"
else
console.log result
"click button.delet... | true | if Meteor.isClient
Template.basic.helpers
"files": -> S3.collection.find()
Template.basic.events
"click button.upload": (event) ->
S3.upload
files:$("input.file_bag")[0].files
(error,result) ->
if error
console.log "Unable to upload"
else
console.log result
"click button.delet... |
[
{
"context": "analytics.graphs\n\n margin = 20\n keyHeight = 20\n xAxisHeight = 20\n yAxisWidth = 40\n cont",
"end": 10178,
"score": 0.6249411106109619,
"start": 10176,
"tag": "KEY",
"value": "20"
}
] | app/views/editor/campaign/CampaignLevelView.coffee | cihatislamdede/codecombat | 4,858 | require('app/styles/editor/campaign/campaign-level-view.sass')
CocoView = require 'views/core/CocoView'
Level = require 'models/Level'
LevelSession = require 'models/LevelSession'
ModelModal = require 'views/modal/ModelModal'
User = require 'models/User'
utils = require 'core/utils'
module.exports = class CampaignLeve... | 14661 | require('app/styles/editor/campaign/campaign-level-view.sass')
CocoView = require 'views/core/CocoView'
Level = require 'models/Level'
LevelSession = require 'models/LevelSession'
ModelModal = require 'views/modal/ModelModal'
User = require 'models/User'
utils = require 'core/utils'
module.exports = class CampaignLeve... | true | require('app/styles/editor/campaign/campaign-level-view.sass')
CocoView = require 'views/core/CocoView'
Level = require 'models/Level'
LevelSession = require 'models/LevelSession'
ModelModal = require 'views/modal/ModelModal'
User = require 'models/User'
utils = require 'core/utils'
module.exports = class CampaignLeve... |
[
{
"context": ", 'sync'\n\n @currentUser = new CurrentUser(id: \"user_id\", email: \"a@b.c\")\n sd.API_URL = \"http://localh",
"end": 606,
"score": 0.8440365195274353,
"start": 599,
"tag": "USERNAME",
"value": "user_id"
},
{
"context": "rentUser = new CurrentUser(id: \"user_id\"... | src/desktop/test/models/artwork_collection.coffee | kanaabe/force | 1 | sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
Artwork = require '../../models/artwork'
Artworks = require '../../collections/artworks'
ArtworkCollection = require '../../models/artwork_collection'
CurrentUser = require '../../models/current_user'
benv = require 'benv'
sd = require('sha... | 208046 | sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
Artwork = require '../../models/artwork'
Artworks = require '../../collections/artworks'
ArtworkCollection = require '../../models/artwork_collection'
CurrentUser = require '../../models/current_user'
benv = require 'benv'
sd = require('sha... | true | sinon = require 'sinon'
should = require 'should'
Backbone = require 'backbone'
Artwork = require '../../models/artwork'
Artworks = require '../../collections/artworks'
ArtworkCollection = require '../../models/artwork_collection'
CurrentUser = require '../../models/current_user'
benv = require 'benv'
sd = require('sha... |
[
{
"context": "name:\"\n \"sync password\" : \"Password:\"\n \"sync help\" : \"Are ",
"end": 9048,
"score": 0.9977520108222961,
"start": 9040,
"tag": "PASSWORD",
"value": "Password"
}
] | client/app/locales/en.coffee | Noctisae/cozy-series | 0 | module.exports =
"default calendar name" : "my calendar"
"Add" : "Add"
"event" : "Event"
"create event" : "Event creation"
"edit event" : "Event edition"
"edit" ... | 117398 | module.exports =
"default calendar name" : "my calendar"
"Add" : "Add"
"event" : "Event"
"create event" : "Event creation"
"edit event" : "Event edition"
"edit" ... | true | module.exports =
"default calendar name" : "my calendar"
"Add" : "Add"
"event" : "Event"
"create event" : "Event creation"
"edit event" : "Event edition"
"edit" ... |
[
{
"context": "\n beforeEach ->\n player = new Player(\"Jin\")\n oldState = new GameState\n oldSta",
"end": 536,
"score": 0.9982751607894897,
"start": 533,
"tag": "NAME",
"value": "Jin"
},
{
"context": "ull\n\n beforeEach ->\n player = new Player(\"Ze... | spec/javascripts/game_state_spec.js.coffee | fcbajao/connect-4 | 0 | $ = require("jquery")
GameState = require("game_state")
Player = require("player")
describe "GameState", ->
state = null
describe "constructor", ->
describe "previous state was not given", ->
beforeEach ->
state = new GameState
it "sets grid with empty columns (x's contains empty y's)", -... | 180152 | $ = require("jquery")
GameState = require("game_state")
Player = require("player")
describe "GameState", ->
state = null
describe "constructor", ->
describe "previous state was not given", ->
beforeEach ->
state = new GameState
it "sets grid with empty columns (x's contains empty y's)", -... | true | $ = require("jquery")
GameState = require("game_state")
Player = require("player")
describe "GameState", ->
state = null
describe "constructor", ->
describe "previous state was not given", ->
beforeEach ->
state = new GameState
it "sets grid with empty columns (x's contains empty y's)", -... |
[
{
"context": "###\n backbone-sql.js 0.5.7\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-sql\n Lice",
"end": 57,
"score": 0.9991560578346252,
"start": 49,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/vi... | src/connection.coffee | michaelBenin/backbone-sql | 1 | ###
backbone-sql.js 0.5.7
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-sql
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
_ = require 'underscore'
Knex = require 'knex'
ConnectionPool = require 'backbone-orm/lib/connection_pool'
DatabaseUrl = require 'backbone-orm/li... | 90281 | ###
backbone-sql.js 0.5.7
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-sql
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
_ = require 'underscore'
Knex = require 'knex'
ConnectionPool = require 'backbone-orm/lib/connection_pool'
DatabaseUrl = require 'backbone-orm/lib/... | true | ###
backbone-sql.js 0.5.7
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-sql
License: MIT (http://www.opensource.org/licenses/mit-license.php)
###
_ = require 'underscore'
Knex = require 'knex'
ConnectionPool = require 'backbone-orm/lib/connection_pool'
DatabaseUrl = require 'bac... |
[
{
"context": ",\n id: 'mapbox.streets',\n accessToken: 'pk.eyJ1IjoicmVwc2FqamoiLCJhIjoiY2phZTRyaHloMXNieDMzcjF2czdxZmFwMSJ9.Xd4rx5sAMSeK60eO_Qq2yA'\n }).addTo(window.monster_map);\n\n L.marker([\n ",
"end": 1678,
"score": 0.9845934510231018,
"start": 1588,
"tag": "KEY",
"value":... | app/assets/javascripts/monster_details.coffee | sillevl/ludejo | 0 | $(".monsters.show").ready ->
monster = {
id: $("#monster_detail_map").data("monster-id"),
image: $("#monster_detail_map").data("monster-image"),
longitude: $("#monster_detail_map").data("monster-latitude"),
latitude: $("#monster_detail_map").data("monster-longitude")
}
window.monster_map =... | 8616 | $(".monsters.show").ready ->
monster = {
id: $("#monster_detail_map").data("monster-id"),
image: $("#monster_detail_map").data("monster-image"),
longitude: $("#monster_detail_map").data("monster-latitude"),
latitude: $("#monster_detail_map").data("monster-longitude")
}
window.monster_map =... | true | $(".monsters.show").ready ->
monster = {
id: $("#monster_detail_map").data("monster-id"),
image: $("#monster_detail_map").data("monster-image"),
longitude: $("#monster_detail_map").data("monster-latitude"),
latitude: $("#monster_detail_map").data("monster-longitude")
}
window.monster_map =... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9955520629882812,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/hotCodeReplace.coffee | LogicalOutcomes/KoNote | 1 | # Copyright (c) Konode. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Tools for implementing hot code replace.
#
# This module provides methods for snapshotting a React render tree.
#
# ... | 24997 | # Copyright (c) <NAME>. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Tools for implementing hot code replace.
#
# This module provides methods for snapshotting a React render tree.
#
# ... | true | # Copyright (c) PI:NAME:<NAME>END_PI. All rights reserved.
# This source code is subject to the terms of the Mozilla Public License, v. 2.0
# that can be found in the LICENSE file or at: http://mozilla.org/MPL/2.0
# Tools for implementing hot code replace.
#
# This module provides methods for snapshotting a React ren... |
[
{
"context": "to']\n choices:\n aa:\n label: 'Aardvark'\n description: 'Basically a long-nose ra",
"end": 2045,
"score": 0.5770446062088013,
"start": 2037,
"tag": "NAME",
"value": "Aardvark"
}
] | app/classifier/mock-data.coffee | camallen/Panoptes-Front-End | 0 | apiClient = require '../api/client'
# This is just a blank image for testing drawing tools.
BLANK_IMAGE = ['data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgAQMAAAA',
'PH06nAAAABlBMVEXMzMyWlpYU2uzLAAAAPUlEQVR4nO3BAQ0AAADCoPdPbQ43oAAAAAAAAAAAAA',
'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgzwCX4AAB9Dl2RwAAAABJRU5Er... | 192749 | apiClient = require '../api/client'
# This is just a blank image for testing drawing tools.
BLANK_IMAGE = ['data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgAQMAAAA',
'PH06nAAAABlBMVEXMzMyWlpYU2uzLAAAAPUlEQVR4nO3BAQ0AAADCoPdPbQ43oAAAAAAAAAAAAA',
'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgzwCX4AAB9Dl2RwAAAABJRU5Er... | true | apiClient = require '../api/client'
# This is just a blank image for testing drawing tools.
BLANK_IMAGE = ['data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgAQMAAAA',
'PH06nAAAABlBMVEXMzMyWlpYU2uzLAAAAPUlEQVR4nO3BAQ0AAADCoPdPbQ43oAAAAAAAAAAAAA',
'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgzwCX4AAB9Dl2RwAAAABJRU5Er... |
[
{
"context": "'\n type: 'string'\n default: '127.0.0.1'\n\n port:\n title: 'TCP port'\n ",
"end": 801,
"score": 0.9997719526290894,
"start": 792,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "fault: 830\n\n username:\n ... | lib/netconf.coffee | nokia/atom-netconf | 15 | ###
netconf.coffee
Copyright (c) 2016 Nokia
Note:
This file is part of the netconf package for the ATOM Text Editor.
Licensed under the MIT license
See LICENSE.md delivered with this project for more information.
###
{CompositeDisposable} = require 'atom'
ncclient = require './ncclient'
NetconfToolbar =... | 114535 | ###
netconf.coffee
Copyright (c) 2016 Nokia
Note:
This file is part of the netconf package for the ATOM Text Editor.
Licensed under the MIT license
See LICENSE.md delivered with this project for more information.
###
{CompositeDisposable} = require 'atom'
ncclient = require './ncclient'
NetconfToolbar =... | true | ###
netconf.coffee
Copyright (c) 2016 Nokia
Note:
This file is part of the netconf package for the ATOM Text Editor.
Licensed under the MIT license
See LICENSE.md delivered with this project for more information.
###
{CompositeDisposable} = require 'atom'
ncclient = require './ncclient'
NetconfToolbar =... |
[
{
"context": "\njQuery Waypoints - v2.0.5\nCopyright (c) 2011-2014 Caleb Troughton\nLicensed under the MIT license.\nhttps://github.co",
"end": 70,
"score": 0.9998724460601807,
"start": 55,
"tag": "NAME",
"value": "Caleb Troughton"
},
{
"context": "icensed under the MIT license.\nhtt... | html/coffee/waypoints.coffee | sebastianmaier/sebastianmaier.net | 152 | ###!
jQuery Waypoints - v2.0.5
Copyright (c) 2011-2014 Caleb Troughton
Licensed under the MIT license.
https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
###
((root, factory) ->
if typeof define is 'function' and define.amd
define 'waypoints', ['jquery'], ($) ->
factory $, root
el... | 206992 | ###!
jQuery Waypoints - v2.0.5
Copyright (c) 2011-2014 <NAME>
Licensed under the MIT license.
https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
###
((root, factory) ->
if typeof define is 'function' and define.amd
define 'waypoints', ['jquery'], ($) ->
factory $, root
else
fa... | true | ###!
jQuery Waypoints - v2.0.5
Copyright (c) 2011-2014 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
https://github.com/imakewebthings/jquery-waypoints/blob/master/licenses.txt
###
((root, factory) ->
if typeof define is 'function' and define.amd
define 'waypoints', ['jquery'], ($) ->
factory $, root... |
[
{
"context": "pOption.click()\n modal.inputs.username.setValue username\n modal.inputs.password.setValue '123'\n moda",
"end": 383,
"score": 0.8638009428977966,
"start": 375,
"tag": "USERNAME",
"value": "username"
},
{
"context": "alue username\n modal.inputs.password.set... | features/step_definitions/inbox.coffee | eribeiro9/CoLabs | 0 | require.call this, '../lib/util.coffee'
app = require '../lib/app.coffee'
modal = app.modals.loginOrRegister
nav = app.views.nav
module.exports = ->
@When /^I create user "(.*)"$/, (username) ->
if !nav.links.signIn.isDisplayed()
nav.buttons.collapse.click()
nav.links.signIn.click()
modal.inputs.s... | 31221 | require.call this, '../lib/util.coffee'
app = require '../lib/app.coffee'
modal = app.modals.loginOrRegister
nav = app.views.nav
module.exports = ->
@When /^I create user "(.*)"$/, (username) ->
if !nav.links.signIn.isDisplayed()
nav.buttons.collapse.click()
nav.links.signIn.click()
modal.inputs.s... | true | require.call this, '../lib/util.coffee'
app = require '../lib/app.coffee'
modal = app.modals.loginOrRegister
nav = app.views.nav
module.exports = ->
@When /^I create user "(.*)"$/, (username) ->
if !nav.links.signIn.isDisplayed()
nav.buttons.collapse.click()
nav.links.signIn.click()
modal.inputs.s... |
[
{
"context": "e'\n publicKey: 'node'\n privateKey: 'node'\n ))\n\n http.get '/not_found', (err, res",
"end": 1023,
"score": 0.6240950226783752,
"start": 1019,
"tag": "KEY",
"value": "node"
},
{
"context": "on\n merchantId: 'node'\n publicKey: 'no... | spec/integration/braintree/http_spec.coffee | StreamCo/braintree_node | 0 | require('../../spec_helper')
braintree = specHelper.braintree
{Config} = require('../../../lib/braintree/config')
{Http} = require('../../../lib/braintree/http')
{Environment} = require('../../../lib/braintree/environment')
describe "Http", ->
describe "request", ->
it "returns a ServerError for 500s", (done) -... | 32555 | require('../../spec_helper')
braintree = specHelper.braintree
{Config} = require('../../../lib/braintree/config')
{Http} = require('../../../lib/braintree/http')
{Environment} = require('../../../lib/braintree/environment')
describe "Http", ->
describe "request", ->
it "returns a ServerError for 500s", (done) -... | true | require('../../spec_helper')
braintree = specHelper.braintree
{Config} = require('../../../lib/braintree/config')
{Http} = require('../../../lib/braintree/http')
{Environment} = require('../../../lib/braintree/environment')
describe "Http", ->
describe "request", ->
it "returns a ServerError for 500s", (done) -... |
[
{
"context": "---------------------------------\n# Copyright 2013 I.B.M.\n# \n# Licensed under the Apache License, Version ",
"end": 3182,
"score": 0.999767005443573,
"start": 3177,
"tag": "NAME",
"value": "I.B.M"
}
] | lib-src/coffee/node/middleware.coffee | pmuellr/nodprof | 6 | # Licensed under the Apache License. See footer for details.
path = require "path"
express = require "express"
Services = require("./services").Services
logger = require "../common/logger"
utils = require "../common/utils"
config = require "./config"
WWWDIR = path.join __dirname, "../../www"
VENDOR = pa... | 212120 | # Licensed under the Apache License. See footer for details.
path = require "path"
express = require "express"
Services = require("./services").Services
logger = require "../common/logger"
utils = require "../common/utils"
config = require "./config"
WWWDIR = path.join __dirname, "../../www"
VENDOR = pa... | true | # Licensed under the Apache License. See footer for details.
path = require "path"
express = require "express"
Services = require("./services").Services
logger = require "../common/logger"
utils = require "../common/utils"
config = require "./config"
WWWDIR = path.join __dirname, "../../www"
VENDOR = pa... |
[
{
"context": "DRESS\"\n user: \"YOUR_MYSQL_USER\"\n password: \"YOUR_MYSQL_PASSWORD\"\n database: \"YOUR_MYSQL_DB\"\n\n \n ###*\n Mongo",
"end": 1676,
"score": 0.9994156956672668,
"start": 1657,
"tag": "PASSWORD",
"value": "YOUR_MYSQL_PASSWORD"
},
{
"context": " host: \"l... | config/connections.coffee | Negaihoshi/sails-starter-toolkit | 2 | ###*
Connections
(sails.config.connections)
`Connections` are like "saved settings" for your adapters. What's the difference between
a connection and an adapter, you might ask? An adapter (e.g. `sails-mysql`) is generic--
it needs some additional information to work (e.g. your database host, password, user, etc.)
A ... | 147669 | ###*
Connections
(sails.config.connections)
`Connections` are like "saved settings" for your adapters. What's the difference between
a connection and an adapter, you might ask? An adapter (e.g. `sails-mysql`) is generic--
it needs some additional information to work (e.g. your database host, password, user, etc.)
A ... | true | ###*
Connections
(sails.config.connections)
`Connections` are like "saved settings" for your adapters. What's the difference between
a connection and an adapter, you might ask? An adapter (e.g. `sails-mysql`) is generic--
it needs some additional information to work (e.g. your database host, password, user, etc.)
A ... |
[
{
"context": "'use strict'\n#\n# Ethan Mick\n# Demonstate a long running task\n#\nprocess.on 'me",
"end": 27,
"score": 0.9997745156288147,
"start": 17,
"tag": "NAME",
"value": "Ethan Mick"
}
] | test/fixtures/worker3.coffee | ethanmick/coffee-mule | 0 | 'use strict'
#
# Ethan Mick
# Demonstate a long running task
#
process.on 'message', (message)->
setTimeout ->
process.send('done')
, 5000
process.send('READY')
| 111955 | 'use strict'
#
# <NAME>
# Demonstate a long running task
#
process.on 'message', (message)->
setTimeout ->
process.send('done')
, 5000
process.send('READY')
| true | 'use strict'
#
# PI:NAME:<NAME>END_PI
# Demonstate a long running task
#
process.on 'message', (message)->
setTimeout ->
process.send('done')
, 5000
process.send('READY')
|
[
{
"context": ">\n data.section.get('title').should.equal 'Vennice Biennalez'\n\n it 'fetches related articles for article in",
"end": 1354,
"score": 0.982366681098938,
"start": 1337,
"tag": "NAME",
"value": "Vennice Biennalez"
}
] | test/models/article.coffee | kanaabe/microgravity | 0 | _ = require 'underscore'
Q = require 'bluebird-q'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Article = require '../../models/article.coffee'
sinon = require 'sinon'
fixtures = require '../helpers/fixtures.coffee'
describe "Article", ->
beforeEach ->
@article = new Article fixtures.articl... | 177242 | _ = require 'underscore'
Q = require 'bluebird-q'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Article = require '../../models/article.coffee'
sinon = require 'sinon'
fixtures = require '../helpers/fixtures.coffee'
describe "Article", ->
beforeEach ->
@article = new Article fixtures.articl... | true | _ = require 'underscore'
Q = require 'bluebird-q'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Article = require '../../models/article.coffee'
sinon = require 'sinon'
fixtures = require '../helpers/fixtures.coffee'
describe "Article", ->
beforeEach ->
@article = new Article fixtures.articl... |
[
{
"context": " options =\n auth:\n username: 'irritable-captian'\n password: 'poop-deck'\n json",
"end": 2395,
"score": 0.9994602799415588,
"start": 2378,
"tag": "USERNAME",
"value": "irritable-captian"
},
{
"context": "rname: 'irritable-captia... | test/integration/search-token-spec.coffee | iotrentil/meshblu-core-protocol-adapter-http | 0 | _ = require 'lodash'
UUID = require 'uuid'
request = require 'request'
Server = require '../../src/server'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
{ JobManagerResponder } = require 'meshbl... | 64591 | _ = require 'lodash'
UUID = require 'uuid'
request = require 'request'
Server = require '../../src/server'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
{ JobManagerResponder } = require 'meshbl... | true | _ = require 'lodash'
UUID = require 'uuid'
request = require 'request'
Server = require '../../src/server'
Redis = require 'ioredis'
RedisNS = require '@octoblu/redis-ns'
{ JobManagerResponder } = require 'meshbl... |
[
{
"context": "###\nCopyright (c) 2014, Groupon\nAll rights reserved.\n\nRedistribution and use in s",
"end": 31,
"score": 0.9569953680038452,
"start": 24,
"tag": "NAME",
"value": "Groupon"
}
] | src/server/models/receiver.coffee | Mefiso/greenscreen | 729 | ###
Copyright (c) 2014, Groupon
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following discla... | 164699 | ###
Copyright (c) 2014, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclai... | true | ###
Copyright (c) 2014, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the fol... |
[
{
"context": "rname, \"fixtures\"\n\nconnString = \"mongodb://heroku:flk3ungh0x3anflx1bab@staff.mongohq.com:10092/app1321916260066\"\nexpectedCommand = \"mongor",
"end": 168,
"score": 0.9998781085014343,
"start": 130,
"tag": "EMAIL",
"value": "flk3ungh0x3anflx1bab@staff.mongohq.com"
},
{... | test/makeRestoreCommand.coffee | Radiergummi/mongo-utils | 6 | assert = require "assert"
path = require "path"
fixturesDir = path.resolve __dirname, "fixtures"
connString = "mongodb://heroku:flk3ungh0x3anflx1bab@staff.mongohq.com:10092/app1321916260066"
expectedCommand = "mongorestore '--db' 'app1321916260066' '--host' 'staff.mongohq.com:10092' '--username' 'heroku' '--password'... | 11646 | assert = require "assert"
path = require "path"
fixturesDir = path.resolve __dirname, "fixtures"
connString = "mongodb://heroku:<EMAIL>:10092/app1321916260066"
expectedCommand = "mongorestore '--db' 'app1321916260066' '--host' 'staff.mongohq.com:10092' '--username' 'heroku' '--password' '<PASSWORD>' '--drop' '#{fixtu... | true | assert = require "assert"
path = require "path"
fixturesDir = path.resolve __dirname, "fixtures"
connString = "mongodb://heroku:PI:EMAIL:<EMAIL>END_PI:10092/app1321916260066"
expectedCommand = "mongorestore '--db' 'app1321916260066' '--host' 'staff.mongohq.com:10092' '--username' 'heroku' '--password' 'PI:PASSWORD:<P... |
[
{
"context": " dataType: \"jsonp\"\n data:\n user: 'user'\n password: 'pass'\n msisdn: to\n ",
"end": 240,
"score": 0.9627045392990112,
"start": 236,
"tag": "USERNAME",
"value": "user"
},
{
"context": " data:\n user: 'user'\n password... | _attachments/models/Message.coffee | chrisekelley/coconut-kiwi-demo | 2 | class Message extends Backbone.Model
url: "/message"
sendSMS: (options) ->
to = (@get "to").replace(/^07/,"2557")
$.ajax
url: 'https://CHANGEME/bulksms/dispatch.php'
dataType: "jsonp"
data:
user: 'user'
password: 'pass'
msisdn: to
message: @get "text"
... | 135702 | class Message extends Backbone.Model
url: "/message"
sendSMS: (options) ->
to = (@get "to").replace(/^07/,"2557")
$.ajax
url: 'https://CHANGEME/bulksms/dispatch.php'
dataType: "jsonp"
data:
user: 'user'
password: '<PASSWORD>'
msisdn: to
message: @get "text"... | true | class Message extends Backbone.Model
url: "/message"
sendSMS: (options) ->
to = (@get "to").replace(/^07/,"2557")
$.ajax
url: 'https://CHANGEME/bulksms/dispatch.php'
dataType: "jsonp"
data:
user: 'user'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
msisdn: to
me... |
[
{
"context": "011<br />\n# Publication date: 06/17/2011<br />\n#\t\tPierre Corsini (pcorsini@polytech.unice.fr)<br />\n#\t\tNicolas Dup",
"end": 81,
"score": 0.9998836517333984,
"start": 67,
"tag": "NAME",
"value": "Pierre Corsini"
},
{
"context": "ication date: 06/17/2011<br />\n#\t... | src/Analyzer.coffee | Ndpnt/CoffeeTouch.js | 1 | # Copyright (c) 2011<br />
# Publication date: 06/17/2011<br />
# Pierre Corsini (pcorsini@polytech.unice.fr)<br />
# Nicolas Dupont (npg.dupont@gmail.com)<br />
# Nicolas Fernandez (fernande@polytech.unice.fr)<br />
# Nima Izadi (nim.izadi@gmail.com)<br />
# And supervised by Raphaël Bellec (r.bellec@structure-co... | 60816 | # Copyright (c) 2011<br />
# Publication date: 06/17/2011<br />
# <NAME> (<EMAIL>)<br />
# <NAME> (<EMAIL>)<br />
# <NAME> (<EMAIL>)<br />
# <NAME> (<EMAIL>)<br />
# And supervised by <NAME> (<EMAIL>)<br />
# Analyse a gesture and "notify" the @targetElement that "a given gesture" has been made.<br />
# Params:<b... | true | # Copyright (c) 2011<br />
# Publication date: 06/17/2011<br />
# PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)<br />
# PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)<br />
# PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)<br />
# PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)<br />
# And supervised by PI:NAME:<NAME>E... |
[
{
"context": "\nnikita = require '@nikitajs/core'\n{tags, ssh, scratch} = require '../test'\nth",
"end": 28,
"score": 0.5227403044700623,
"start": 26,
"tag": "USERNAME",
"value": "js"
},
{
"context": "tags.ipa\n\nipa =\n principal: 'admin'\n password: 'admin_pw'\n referer: 'https:... | packages/ipa/test/user/show.coffee | chibanemourad/node-nikita | 0 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.ipa
ipa =
principal: 'admin'
password: 'admin_pw'
referer: 'https://ipa.nikita/ipa'
url: 'https://ipa.nikita/ipa/session/json'
describe 'ipa.user.show', ->
they 'get ... | 36119 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.ipa
ipa =
principal: 'admin'
password: '<PASSWORD>'
referer: 'https://ipa.nikita/ipa'
url: 'https://ipa.nikita/ipa/session/json'
describe 'ipa.user.show', ->
they 'ge... | true |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.ipa
ipa =
principal: 'admin'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
referer: 'https://ipa.nikita/ipa'
url: 'https://ipa.nikita/ipa/session/json'
describe 'ipa.user.sho... |
[
{
"context": "pi.soundcloud.com/tracks/321/stream?secret_token=s-123\"), \"http://api.soundcloud.com/tracks/321/stream?s",
"end": 912,
"score": 0.5772311687469482,
"start": 909,
"tag": "KEY",
"value": "123"
},
{
"context": "pi.soundcloud.com/tracks/321/stream?secret_token=s-123&clien... | components/soundcloud/test/sc/stream-test.coffee | mizukai/sample | 91 | module "SC.whenStreamingReady"
asyncTest "should be able to handle multiple calls in a row", 2, ->
SC.whenStreamingReady ->
ok 1, "first was called"
SC.whenStreamingReady ->
ok 1, "second was called"
start()
module "SC._prepareStreamUrl"
test "should resolve id to /tracks/id/stream", ->
equal SC._p... | 98579 | module "SC.whenStreamingReady"
asyncTest "should be able to handle multiple calls in a row", 2, ->
SC.whenStreamingReady ->
ok 1, "first was called"
SC.whenStreamingReady ->
ok 1, "second was called"
start()
module "SC._prepareStreamUrl"
test "should resolve id to /tracks/id/stream", ->
equal SC._p... | true | module "SC.whenStreamingReady"
asyncTest "should be able to handle multiple calls in a row", 2, ->
SC.whenStreamingReady ->
ok 1, "first was called"
SC.whenStreamingReady ->
ok 1, "second was called"
start()
module "SC._prepareStreamUrl"
test "should resolve id to /tracks/id/stream", ->
equal SC._p... |
[
{
"context": "e = @attributes[i].value\n if key.startsWith('on-')\n if !value?\n @$.off(key.substr(",
"end": 5343,
"score": 0.7835335731506348,
"start": 5340,
"tag": "KEY",
"value": "on-"
}
] | base.coffee | kornalius/hazel | 1 | { $, toRedraw, redrawing, hazeling, ccss, css, vdom, contents, renderable, div } = require('./hazel.coffee')
{ fromHTML, create, diff, patch } = vdom
{ relative } = css
# Kaffa = require('../kaffa/dist/kaffa.js')
Kaffa = require('../kaffa/kaffa.coffee')
{ Class } = Kaffa
_isEvent = (name) ->
name.startsWith('@')
... | 197383 | { $, toRedraw, redrawing, hazeling, ccss, css, vdom, contents, renderable, div } = require('./hazel.coffee')
{ fromHTML, create, diff, patch } = vdom
{ relative } = css
# Kaffa = require('../kaffa/dist/kaffa.js')
Kaffa = require('../kaffa/kaffa.coffee')
{ Class } = Kaffa
_isEvent = (name) ->
name.startsWith('@')
... | true | { $, toRedraw, redrawing, hazeling, ccss, css, vdom, contents, renderable, div } = require('./hazel.coffee')
{ fromHTML, create, diff, patch } = vdom
{ relative } = css
# Kaffa = require('../kaffa/dist/kaffa.js')
Kaffa = require('../kaffa/kaffa.coffee')
{ Class } = Kaffa
_isEvent = (name) ->
name.startsWith('@')
... |
[
{
"context": " continue if !year || !month || !val\n key = \"#{year}/#{\"0#{month}\".substr(-2)}\"\n @dataset[key] = val\n min = key if min ",
"end": 2160,
"score": 0.92247074842453,
"start": 2125,
"tag": "KEY",
"value": "\"#{year}/#{\"0#{month}\".substr(-2)}\""
}
] | src/app.coffee | sunny4381/economy-trend-index | 0 | class SearchForm
constructor: (el)->
@el = el
$(el).on 'submit', (e) =>
e.preventDefault()
@submit()
$("#{@el} .input-month").datepicker({
format: 'yyyy/mm'
viewMode: 'months'
minViewMode: 'months'
language: 'ja'
})
default_type = $("#{@el} a.economic-index-t... | 95533 | class SearchForm
constructor: (el)->
@el = el
$(el).on 'submit', (e) =>
e.preventDefault()
@submit()
$("#{@el} .input-month").datepicker({
format: 'yyyy/mm'
viewMode: 'months'
minViewMode: 'months'
language: 'ja'
})
default_type = $("#{@el} a.economic-index-t... | true | class SearchForm
constructor: (el)->
@el = el
$(el).on 'submit', (e) =>
e.preventDefault()
@submit()
$("#{@el} .input-month").datepicker({
format: 'yyyy/mm'
viewMode: 'months'
minViewMode: 'months'
language: 'ja'
})
default_type = $("#{@el} a.economic-index-t... |
[
{
"context": "orgName: 'Arizona Geological Survey'\n orgEmail: 'metadata@usgin.org'\n defaultMetadataContact:\n OrganizationName: ",
"end": 118,
"score": 0.9999201893806458,
"start": 100,
"tag": "EMAIL",
"value": "metadata@usgin.org"
},
{
"context": "mation:\n Phone: '520-7... | src/organization-config.coffee | usgin/metadata-server | 0 | module.exports =
orgUrl: 'http://azgs.az.gov'
orgName: 'Arizona Geological Survey'
orgEmail: 'metadata@usgin.org'
defaultMetadataContact:
OrganizationName: 'Arizona Geological Survey'
ContactInformation:
Phone: '520-770-3500'
email: 'metadata@azgs.az.gov'
Address:
Street: '416 ... | 18699 | module.exports =
orgUrl: 'http://azgs.az.gov'
orgName: 'Arizona Geological Survey'
orgEmail: '<EMAIL>'
defaultMetadataContact:
OrganizationName: 'Arizona Geological Survey'
ContactInformation:
Phone: '520-770-3500'
email: '<EMAIL>'
Address:
Street: '416 W. Congress St. Ste. 100... | true | module.exports =
orgUrl: 'http://azgs.az.gov'
orgName: 'Arizona Geological Survey'
orgEmail: 'PI:EMAIL:<EMAIL>END_PI'
defaultMetadataContact:
OrganizationName: 'Arizona Geological Survey'
ContactInformation:
Phone: '520-770-3500'
email: 'PI:EMAIL:<EMAIL>END_PI'
Address:
Street:... |
[
{
"context": "rses any AP data\n# that they spit out \n# Author: Robbie Saunders http://eibbors.com/[/p/reavetard]\n# =============",
"end": 180,
"score": 0.9998588562011719,
"start": 165,
"tag": "NAME",
"value": "Robbie Saunders"
}
] | src/wash.coffee | eibbors/reavetard | 1 | # Reavetard - Reaver WPS (+Wash) extension scripts
# wash.coffee :: Module that spawns wash child processes and parses any AP data
# that they spit out
# Author: Robbie Saunders http://eibbors.com/[/p/reavetard]
# ==============================================================================
# Module dependencies
#... | 29529 | # Reavetard - Reaver WPS (+Wash) extension scripts
# wash.coffee :: Module that spawns wash child processes and parses any AP data
# that they spit out
# Author: <NAME> http://eibbors.com/[/p/reavetard]
# ==============================================================================
# Module dependencies
# --------... | true | # Reavetard - Reaver WPS (+Wash) extension scripts
# wash.coffee :: Module that spawns wash child processes and parses any AP data
# that they spit out
# Author: PI:NAME:<NAME>END_PI http://eibbors.com/[/p/reavetard]
# ==============================================================================
# Module dependenc... |
[
{
"context": " indicatorGutter)\n\n\nindicatorData = [\n\t{\n\t\tname: \"Ounces\",\n\t},\n\t{\n\t\tname: \"Cups\",\n\t},\n]\n\n\n\n# Design Compon",
"end": 400,
"score": 0.9994551539421082,
"start": 394,
"tag": "NAME",
"value": "Ounces"
},
{
"context": "atorData = [\n\t{\n\t\tname: \... | src/public/framer.framer/app.coffee | jmanhart/personal-portfolio-17 | 0 |
# Style Variables ----------------------------------
spacer = 20
blue = "#383838"
lightBlue = "#BBB9B9"
otherBlue = "#DBDBDB"
# Data ---------------------------------------------
actionAmount = 0
gutter = 10
indicators = []
indicatorChevOffset = 50
indicatorGutter = 10
indicatorSize = 8
indicatorContWidth = (2 * ind... | 38552 |
# Style Variables ----------------------------------
spacer = 20
blue = "#383838"
lightBlue = "#BBB9B9"
otherBlue = "#DBDBDB"
# Data ---------------------------------------------
actionAmount = 0
gutter = 10
indicators = []
indicatorChevOffset = 50
indicatorGutter = 10
indicatorSize = 8
indicatorContWidth = (2 * ind... | true |
# Style Variables ----------------------------------
spacer = 20
blue = "#383838"
lightBlue = "#BBB9B9"
otherBlue = "#DBDBDB"
# Data ---------------------------------------------
actionAmount = 0
gutter = 10
indicators = []
indicatorChevOffset = 50
indicatorGutter = 10
indicatorSize = 8
indicatorContWidth = (2 * ind... |
[
{
"context": "# 'distance' module example project V1.0\n# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn\n",
"end": 56,
"score": 0.9998852014541626,
"start": 46,
"tag": "NAME",
"value": "Marc Krenn"
},
{
"context": "example project V1.0\n# by Marc Krenn, Sept. 2015 | ... | distanceExample.framer/app.coffee | marckrenn/framer-distance | 7 | # 'distance' module example project V1.0
# by Marc Krenn, Sept. 2015 | marc.krenn@gmail.com | @marc_krenn
# Include module
distance = require "distance"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
# Create layer
layerA = new Layer
width: 100
height: 100
backgroundColor: "#fff"
borderRadi... | 57618 | # 'distance' module example project V1.0
# by <NAME>, Sept. 2015 | <EMAIL> | @marc_krenn
# Include module
distance = require "distance"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
# Create layer
layerA = new Layer
width: 100
height: 100
backgroundColor: "#fff"
borderRadius: "100%"
# Dem... | true | # 'distance' module example project V1.0
# by PI:NAME:<NAME>END_PI, Sept. 2015 | PI:EMAIL:<EMAIL>END_PI | @marc_krenn
# Include module
distance = require "distance"
# Set background
bg = new BackgroundLayer backgroundColor: "#28affa"
# Create layer
layerA = new Layer
width: 100
height: 100
backgroundColor: "#fff"... |
[
{
"context": ").then (s3Options) ->\n key = s3Options.folder + (new Date()).getTime() + '-' +\n S3Uploader",
"end": 1254,
"score": 0.561073899269104,
"start": 1253,
"tag": "KEY",
"value": "+"
},
{
"context": "en (s3Options) ->\n key = s3Options.folder + (new Date()).... | app/js/features/transmit/transmit_service.coffee | wallpond/song-a-day-ionic | 0 | ###
A simple example service that returns some data.
###
angular.module("songaday")
.factory "TransmitService",($rootScope,$firebaseObject,
$firebaseArray,FBURL,S3Uploader, ngS3Config,SongService,AccountService) ->
# Might use a resource here that returns a JSON array
ref = new Firebase(FBURL+'songs').limit(4... | 105445 | ###
A simple example service that returns some data.
###
angular.module("songaday")
.factory "TransmitService",($rootScope,$firebaseObject,
$firebaseArray,FBURL,S3Uploader, ngS3Config,SongService,AccountService) ->
# Might use a resource here that returns a JSON array
ref = new Firebase(FBURL+'songs').limit(4... | true | ###
A simple example service that returns some data.
###
angular.module("songaday")
.factory "TransmitService",($rootScope,$firebaseObject,
$firebaseArray,FBURL,S3Uploader, ngS3Config,SongService,AccountService) ->
# Might use a resource here that returns a JSON array
ref = new Firebase(FBURL+'songs').limit(4... |
[
{
"context": "###\n# gettext for jQuery\n#\n# Copyright (c) 2008 Sabin Iacob (m0n5t3r) <iacobs@m0n5t3r.info>\n# This program is",
"end": 59,
"score": 0.9998281598091125,
"start": 48,
"tag": "NAME",
"value": "Sabin Iacob"
},
{
"context": "t for jQuery\n#\n# Copyright (c) 2008 Sabin Ia... | index.coffee | printercu/jquery.gettext | 3 | ###
# gettext for jQuery
#
# Copyright (c) 2008 Sabin Iacob (m0n5t3r) <iacobs@m0n5t3r.info>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option)... | 103654 | ###
# gettext for jQuery
#
# Copyright (c) 2008 <NAME> (m0n5t3r) <<EMAIL>>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later versio... | true | ###
# gettext for jQuery
#
# Copyright (c) 2008 PI:NAME:<NAME>END_PI (m0n5t3r) <PI:EMAIL:<EMAIL>END_PI>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at ... |
[
{
"context": "#\n# BelongsTo 'user', User, -> @where(username: 'foo')\n# leads to\n# user: -> relation = @bel",
"end": 222,
"score": 0.9989226460456848,
"start": 219,
"tag": "USERNAME",
"value": "foo"
},
{
"context": "related.forEach (obj) ->\n key = \"#... | src/relations.coffee | bgaeddert/bookshelf-schema | 44 | ###
#
# BelongsTo 'user', User
# leads to
# user: -> @belongsTo User
#
# BelongsTo User
# leads to
# <User.name.toLowerCase()>: -> @belongsTo User
#
# BelongsTo 'user', User, -> @where(username: 'foo')
# leads to
# user: -> relation = @belongsTo(User); f.call(relation)
#
# class User e... | 177231 | ###
#
# BelongsTo 'user', User
# leads to
# user: -> @belongsTo User
#
# BelongsTo User
# leads to
# <User.name.toLowerCase()>: -> @belongsTo User
#
# BelongsTo 'user', User, -> @where(username: 'foo')
# leads to
# user: -> relation = @belongsTo(User); f.call(relation)
#
# class User e... | true | ###
#
# BelongsTo 'user', User
# leads to
# user: -> @belongsTo User
#
# BelongsTo User
# leads to
# <User.name.toLowerCase()>: -> @belongsTo User
#
# BelongsTo 'user', User, -> @where(username: 'foo')
# leads to
# user: -> relation = @belongsTo(User); f.call(relation)
#
# class User e... |
[
{
"context": "te <username> - Deactivate account\n#\n# Author:\n# Pablo M.\n\nxml2js = require 'xml2js'\nutil = require 'util'",
"end": 501,
"score": 0.9996581673622131,
"start": 494,
"tag": "NAME",
"value": "Pablo M"
},
{
"context": ">\n bdusername = msg.match[1]\n bdpasswor... | src/bydesign.coffee | Ev1l/bydesign.coffee | 0 | # Description:
# Manage ByDesign Accounts using Hubot
#
# Dependencies:
# "xml2js": "0.1.14"
#
# Configuration:
# HUBOT_BYDESIGN_API_HOST
# HUBOT_BYDESIGN_API_PATH
# HUBOT_BYDESIGN_API_ACTION
# HUBOT_BYDESIGN_API_USERNAME
# HUBOT_BYDESIGN_API_PASSWORD
#
# Commands:
# hubot bydesign activate <username> -... | 30833 | # Description:
# Manage ByDesign Accounts using Hubot
#
# Dependencies:
# "xml2js": "0.1.14"
#
# Configuration:
# HUBOT_BYDESIGN_API_HOST
# HUBOT_BYDESIGN_API_PATH
# HUBOT_BYDESIGN_API_ACTION
# HUBOT_BYDESIGN_API_USERNAME
# HUBOT_BYDESIGN_API_PASSWORD
#
# Commands:
# hubot bydesign activate <username> -... | true | # Description:
# Manage ByDesign Accounts using Hubot
#
# Dependencies:
# "xml2js": "0.1.14"
#
# Configuration:
# HUBOT_BYDESIGN_API_HOST
# HUBOT_BYDESIGN_API_PATH
# HUBOT_BYDESIGN_API_ACTION
# HUBOT_BYDESIGN_API_USERNAME
# HUBOT_BYDESIGN_API_PASSWORD
#
# Commands:
# hubot bydesign activate <username> -... |
[
{
"context": "ext Completions converted from https://github.com/Southclaw/pawn-sublime-language\n# Converter created by Rena",
"end": 100,
"score": 0.999620258808136,
"start": 91,
"tag": "USERNAME",
"value": "Southclaw"
},
{
"context": "hclaw/pawn-sublime-language\n# Converter create... | snippets/irc.cson | Wuzi/language-pawn | 4 | # IRC Plugin Atom Snippets from Sublime Text Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by Renato "Hii" Garcia.
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'IRC_Connect':
'prefix': 'IRC_Connect'
... | 156445 | # IRC Plugin Atom Snippets from Sublime Text Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by <NAME> "<NAME>" <NAME>.
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
'IRC_Connect':
'prefix': 'IRC_Connect'... | true | # IRC Plugin Atom Snippets from Sublime Text Completions converted from https://github.com/Southclaw/pawn-sublime-language
# Converter created by PI:NAME:<NAME>END_PI "PI:NAME:<NAME>END_PI" PI:NAME:<NAME>END_PI.
# Repo: https://github.com/Renato-Garcia/sublime-completions-to-atom-snippets
'.source.pwn, .source.inc':
... |
[
{
"context": "[]\n\nscenarios.push new Scenario \n id: 0\n name: 'foo1'\n code: 'foo = \"fo222o\"'\n leadspace: ''\n\nscena",
"end": 199,
"score": 0.4111767113208771,
"start": 196,
"tag": "NAME",
"value": "foo"
},
{
"context": "\nscenarios.push new Scenario \n id: 0\n name: 'fo... | domain/specifications/services/specs/buildTest.spec.coffee | wearefractal/spex | 0 | #>> Setup
require 'should'
buildTest = require '../buildTest'
Scenario = require '../../models/Scenario'
#>> Given some Scenarios
scenarios = []
scenarios.push new Scenario
id: 0
name: 'foo1'
code: 'foo = "fo222o"'
leadspace: ''
scenarios.push new Scenario
id: 1
name: 'foo2'
code: 'foo2 = (foo) ->... | 120824 | #>> Setup
require 'should'
buildTest = require '../buildTest'
Scenario = require '../../models/Scenario'
#>> Given some Scenarios
scenarios = []
scenarios.push new Scenario
id: 0
name: '<NAME>1'
code: 'foo = "fo222o"'
leadspace: ''
scenarios.push new Scenario
id: 1
name: 'foo2'
code: 'foo2 = (foo)... | true | #>> Setup
require 'should'
buildTest = require '../buildTest'
Scenario = require '../../models/Scenario'
#>> Given some Scenarios
scenarios = []
scenarios.push new Scenario
id: 0
name: 'PI:NAME:<NAME>END_PI1'
code: 'foo = "fo222o"'
leadspace: ''
scenarios.push new Scenario
id: 1
name: 'foo2'
code:... |
[
{
"context": "ship (belongsTo)', (done) ->\n related_key = 'reverses'\n related_id_accessor = 'reverse_ids'\n\n ",
"end": 6300,
"score": 0.9583751559257507,
"start": 6292,
"tag": "KEY",
"value": "reverses"
}
] | test/spec/node/migrations/directory.node.tests.coffee | dk-dev/backbone-orm | 54 | path = require 'path'
assert = assert or require?('chai').assert
NodeUtils = require '../../../lib/node_utils'
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneOR... | 70107 | path = require 'path'
assert = assert or require?('chai').assert
NodeUtils = require '../../../lib/node_utils'
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneOR... | true | path = require 'path'
assert = assert or require?('chai').assert
NodeUtils = require '../../../lib/node_utils'
BackboneORM = window?.BackboneORM; try BackboneORM or= require?('backbone-orm') catch; try BackboneORM or= require?('../../../../backbone-orm')
{_, Backbone, Queue, Utils, JSONUtils, Fabricator} = BackboneOR... |
[
{
"context": "Start world\n Gotham.World.start()\n\n banList = [\"128.39.202.89\"]\n server = Gotham.SocketServer\n server.setBanl",
"end": 971,
"score": 0.9997466802597046,
"start": 958,
"tag": "IP_ADDRESS",
"value": "128.39.202.89"
}
] | GOTHAM/Backend/src/Main.coffee | perara/gotham | 0 | ##########################################################
##
## Require Stuff
##
##########################################################
## Third Party
performance = require 'performance-now'
log = require('log4js').getLogger("Main")
# Extensions
require './Tools/JSON.coffee'
# Gotham Party
SocketServer = require... | 84364 | ##########################################################
##
## Require Stuff
##
##########################################################
## Third Party
performance = require 'performance-now'
log = require('log4js').getLogger("Main")
# Extensions
require './Tools/JSON.coffee'
# Gotham Party
SocketServer = require... | true | ##########################################################
##
## Require Stuff
##
##########################################################
## Third Party
performance = require 'performance-now'
log = require('log4js').getLogger("Main")
# Extensions
require './Tools/JSON.coffee'
# Gotham Party
SocketServer = require... |
[
{
"context": " to return, throws, break, and continue.\n# @author Joel Feenstra\n###\n'use strict'\n\n#------------------------------",
"end": 116,
"score": 0.9998413920402527,
"start": 103,
"tag": "NAME",
"value": "Joel Feenstra"
}
] | src/rules/no-unreachable.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Checks for unreachable code due to return, throws, break, and continue.
# @author Joel Feenstra
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###*
# Checks ... | 90871 | ###*
# @fileoverview Checks for unreachable code due to return, throws, break, and continue.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###*
# Checks whether... | true | ###*
# @fileoverview Checks for unreachable code due to return, throws, break, and continue.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###*
# ... |
[
{
"context": "###\nDocxgen.coffee\nCreated by Edgar HIPP\n###\n\nDocUtils=require('./docUtils')\nImgManager=re",
"end": 40,
"score": 0.9998876452445984,
"start": 30,
"tag": "NAME",
"value": "Edgar HIPP"
}
] | coffee/docxgen.coffee | ssured/docxtemplater | 0 | ###
Docxgen.coffee
Created by Edgar HIPP
###
DocUtils=require('./docUtils')
ImgManager=require('./imgManager')
DocXTemplater=require('./docxTemplater')
JSZip=require('jszip')
fs= require('fs')
module.exports=class DocxGen
templatedFiles=["word/document.xml","word/footer1.xml","word/footer2.xml","word/footer3.xml","w... | 67036 | ###
Docxgen.coffee
Created by <NAME>
###
DocUtils=require('./docUtils')
ImgManager=require('./imgManager')
DocXTemplater=require('./docxTemplater')
JSZip=require('jszip')
fs= require('fs')
module.exports=class DocxGen
templatedFiles=["word/document.xml","word/footer1.xml","word/footer2.xml","word/footer3.xml","word/... | true | ###
Docxgen.coffee
Created by PI:NAME:<NAME>END_PI
###
DocUtils=require('./docUtils')
ImgManager=require('./imgManager')
DocXTemplater=require('./docxTemplater')
JSZip=require('jszip')
fs= require('fs')
module.exports=class DocxGen
templatedFiles=["word/document.xml","word/footer1.xml","word/footer2.xml","word/foote... |
[
{
"context": "@fileoverview Tests for max-params rule.\n# @author Ilya Volodin\n###\n\n'use strict'\n\n#-----------------------------",
"end": 70,
"score": 0.9997814297676086,
"start": 58,
"tag": "NAME",
"value": "Ilya Volodin"
}
] | src/tests/rules/max-params.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for max-params rule.
# @author Ilya Volodin
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/max-params'
{RuleTest... | 6207 | ###*
# @fileoverview Tests for max-params rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/max-params'
{RuleTester} = ... | true | ###*
# @fileoverview Tests for max-params rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/max-params'
{... |
[
{
"context": " Safari/537.17\"\n\n constructor: (@username=null, @password=null) ->\n\n setUsername: (username) ->",
"end": 489,
"score": 0.852112889289856,
"start": 485,
"tag": "USERNAME",
"value": "null"
},
{
"context": "37.17\"\n\n constructor: (@username=null, @password... | src/nest-api.coffee | Tommylans/node-nest-api | 8 | https = require 'https'
queryString = require 'querystring'
url = require 'url'
util = require 'util'
NEST_API_HOSTNAME = 'home.nest.com'
NEST_API_PORT = 443
NEST_API_LOGIN_PATH = '/user/login'
class NestApi
username = null
password = null
session = {}
@userAgent: "Mozilla/5.... | 155805 | https = require 'https'
queryString = require 'querystring'
url = require 'url'
util = require 'util'
NEST_API_HOSTNAME = 'home.nest.com'
NEST_API_PORT = 443
NEST_API_LOGIN_PATH = '/user/login'
class NestApi
username = null
password = null
session = {}
@userAgent: "Mozilla/5.... | true | https = require 'https'
queryString = require 'querystring'
url = require 'url'
util = require 'util'
NEST_API_HOSTNAME = 'home.nest.com'
NEST_API_PORT = 443
NEST_API_LOGIN_PATH = '/user/login'
class NestApi
username = null
password = null
session = {}
@userAgent: "Mozilla/5.... |
[
{
"context": "###\n* @author Robert Kolatzek\n * The MIT License (MIT)\n *\n * Copyright (c)",
"end": 29,
"score": 0.9998644590377808,
"start": 14,
"tag": "NAME",
"value": "Robert Kolatzek"
},
{
"context": "he MIT License (MIT)\n *\n * Copyright (c) 2015 Dr. Robert Kolatzek\n *... | src/de.coffee | SULB/GNDcoffeine | 0 | ###
* @author Robert Kolatzek
* The MIT License (MIT)
*
* Copyright (c) 2015 Dr. Robert Kolatzek
*
* 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, includin... | 163862 | ###
* @author <NAME>
* The MIT License (MIT)
*
* Copyright (c) 2015 Dr. <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitati... | true | ###
* @author PI:NAME:<NAME>END_PI
* The MIT License (MIT)
*
* Copyright (c) 2015 Dr. PI:NAME:<NAME>END_PI
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction... |
[
{
"context": "ftBorder), rightBorder)\n\n\tcoordinateMatrix = {\n\t\t'Amphail': {x: 38.67, y: 71.96},\n\t\t'Ascore': {x: 88.44, y:",
"end": 1805,
"score": 0.9990251660346985,
"start": 1798,
"tag": "NAME",
"value": "Amphail"
},
{
"context": "eMatrix = {\n\t\t'Amphail': {x: 38.67, y: 7... | assets/js/location_map.coffee | kraatob/dnd5e_story_skt | 1 | ---
---
up.compiler '.location-map', ($map, currentLocation) ->
ZOOMFACTOR = 2.5
isZoomed = false
initialize = ->
initializeDom()
initializeHandlers()
initializeDom = ->
@$wrapper = $("<div class='location-map--image-wrapper'></div>")
@$mapImage = $('<img src="/images/karte/faerun_north.jpg" class="locat... | 152041 | ---
---
up.compiler '.location-map', ($map, currentLocation) ->
ZOOMFACTOR = 2.5
isZoomed = false
initialize = ->
initializeDom()
initializeHandlers()
initializeDom = ->
@$wrapper = $("<div class='location-map--image-wrapper'></div>")
@$mapImage = $('<img src="/images/karte/faerun_north.jpg" class="locat... | true | ---
---
up.compiler '.location-map', ($map, currentLocation) ->
ZOOMFACTOR = 2.5
isZoomed = false
initialize = ->
initializeDom()
initializeHandlers()
initializeDom = ->
@$wrapper = $("<div class='location-map--image-wrapper'></div>")
@$mapImage = $('<img src="/images/karte/faerun_north.jpg" class="locat... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998916387557983,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/database/seeders/2021032400000-demo-pharmacy.coffee | AbdelhakimRafik/Pharmalogy-API | 0 | ###
* @author Abdelhakim RAFIK
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 Abdelhakim RAFIK
* @date Mar 2021
###
###
Create demo data for pharmacies
###
module.exports =
up: (queryInterface, Sequelize) ->
# create demo data
demoData = []
cities = ["Fez","Tangier","Mar... | 162339 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
###
Create demo data for pharmacies
###
module.exports =
up: (queryInterface, Sequelize) ->
# create demo data
demoData = []
cities = ["Fez","Tangier","Marrakesh","Salé","Mekn... | true | ###
* @author PI:NAME:<NAME>END_PI
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 PI:NAME:<NAME>END_PI
* @date Mar 2021
###
###
Create demo data for pharmacies
###
module.exports =
up: (queryInterface, Sequelize) ->
# create demo data
demoData = []
cities = ["Fez","Tangi... |
[
{
"context": "------------------------------------------\n* Name: Jednotka - Multipurpose Website HTML Template\n* Author: ht",
"end": 139,
"score": 0.997738242149353,
"start": 131,
"tag": "NAME",
"value": "Jednotka"
},
{
"context": "ML Template\n* Author: http://themeforest.net/user... | assets/scripts/_theme.js.coffee | vlp-dev/vlp-theme | 0 | ###
* --------------------------------------------------------------------------------------------------------------------
* Name: Jednotka - Multipurpose Website HTML Template
* Author: http://themeforest.net/user/BublinaStudio
* Version: 1.6
* --------------------------------------------------------------------------... | 90782 | ###
* --------------------------------------------------------------------------------------------------------------------
* Name: <NAME> - Multipurpose Website HTML Template
* Author: http://themeforest.net/user/BublinaStudio
* Version: 1.6
* ----------------------------------------------------------------------------... | true | ###
* --------------------------------------------------------------------------------------------------------------------
* Name: PI:NAME:<NAME>END_PI - Multipurpose Website HTML Template
* Author: http://themeforest.net/user/BublinaStudio
* Version: 1.6
* --------------------------------------------------------------... |
[
{
"context": "pect(model.set).toHaveBeenCalledWith\n name: 'New Name'\n contains: 'Old Name'\n category_i",
"end": 2946,
"score": 0.6847773194313049,
"start": 2943,
"tag": "NAME",
"value": "New"
},
{
"context": "l = new DotLedger.Models.SortingRule\n name: 'Foobar... | spec/javascripts/dot_ledger/views/sorting_rule/form_spec.js.coffee | malclocke/dotledger | 0 | describe "DotLedger.Views.SortingRules.Form", ->
createView = (model = new DotLedger.Models.SortingRule())->
categories = new DotLedger.Collections.Categories [
{
id: 11
name: 'Category One'
type: 'Essential'
}
{
id: 22
name: 'Category Two'
type: '... | 120932 | describe "DotLedger.Views.SortingRules.Form", ->
createView = (model = new DotLedger.Models.SortingRule())->
categories = new DotLedger.Collections.Categories [
{
id: 11
name: 'Category One'
type: 'Essential'
}
{
id: 22
name: 'Category Two'
type: '... | true | describe "DotLedger.Views.SortingRules.Form", ->
createView = (model = new DotLedger.Models.SortingRule())->
categories = new DotLedger.Collections.Categories [
{
id: 11
name: 'Category One'
type: 'Essential'
}
{
id: 22
name: 'Category Two'
type: '... |
[
{
"context": "# copyright 2015 by mike lodato (zvxryb@gmail.com)\n# this work is subject to the ",
"end": 31,
"score": 0.9998587369918823,
"start": 20,
"tag": "NAME",
"value": "mike lodato"
},
{
"context": "# copyright 2015 by mike lodato (zvxryb@gmail.com)\n# this work is subject to... | src/math/system.coffee | zvxryb/openjscad-solve | 1 | # copyright 2015 by mike lodato (zvxryb@gmail.com)
# this work is subject to the terms of the MIT license
define ['math/expr'], (Expr) ->
class SolveError
constructor: (@message, @cause) ->
@name = @constructor.name
@stack = (new Error()).stack
class OverdeterminedError extends SolveError
constructor: -... | 33592 | # copyright 2015 by <NAME> (<EMAIL>)
# this work is subject to the terms of the MIT license
define ['math/expr'], (Expr) ->
class SolveError
constructor: (@message, @cause) ->
@name = @constructor.name
@stack = (new Error()).stack
class OverdeterminedError extends SolveError
constructor: ->
super('ov... | true | # copyright 2015 by PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# this work is subject to the terms of the MIT license
define ['math/expr'], (Expr) ->
class SolveError
constructor: (@message, @cause) ->
@name = @constructor.name
@stack = (new Error()).stack
class OverdeterminedError extends SolveError
... |
[
{
"context": "# @fileoverview Tests for eol-last rule.\n# @author Nodeca Team <https://github.com/nodeca>\n###\n'use strict'\n\n#--",
"end": 67,
"score": 0.9897341132164001,
"start": 56,
"tag": "NAME",
"value": "Nodeca Team"
},
{
"context": "t rule.\n# @author Nodeca Team <https://gi... | src/tests/rules/eol-last.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for eol-last rule.
# @author Nodeca Team <https://github.com/nodeca>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rul... | 211430 | ###*
# @fileoverview Tests for eol-last rule.
# @author <NAME> <https://github.com/nodeca>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/eo... | true | ###*
# @fileoverview Tests for eol-last rule.
# @author PI:NAME:<NAME>END_PI <https://github.com/nodeca>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslin... |
[
{
"context": "#\n# Copyright (C) 2016 yanni4night.com\n# a.coffee\n#\n# changelog\n# 2016-08-18[12:50:49]:r",
"end": 38,
"score": 0.9955409169197083,
"start": 23,
"tag": "EMAIL",
"value": "yanni4night.com"
},
{
"context": "angelog\n# 2016-08-18[12:50:49]:revised\n#\n# @author yanni4n... | test/fixtures/a.coffee | pantojs/time-panto | 0 | #
# Copyright (C) 2016 yanni4night.com
# a.coffee
#
# changelog
# 2016-08-18[12:50:49]:revised
#
# @author yanni4night@gmail.com
# @version 0.1.0
# @since 0.1.0
#
| 49877 | #
# Copyright (C) 2016 <EMAIL>
# a.coffee
#
# changelog
# 2016-08-18[12:50:49]:revised
#
# @author <EMAIL>
# @version 0.1.0
# @since 0.1.0
#
| true | #
# Copyright (C) 2016 PI:EMAIL:<EMAIL>END_PI
# a.coffee
#
# changelog
# 2016-08-18[12:50:49]:revised
#
# @author PI:EMAIL:<EMAIL>END_PI
# @version 0.1.0
# @since 0.1.0
#
|
[
{
"context": "\n bar:\n fruit: apple\n name: steve\n sport: baseball\n \"\"\"\n .toE",
"end": 1415,
"score": 0.9985499382019043,
"start": 1410,
"tag": "NAME",
"value": "steve"
},
{
"context": "ual foo: 'whatever', bar: (fruit: 'apple', nam... | node_modules/docpad/node_modules/yamljs/test/spec/YamlSpec.coffee | Vladimir37/Sanelotto_site | 0 |
unless YAML?
YAML = require '../../src/Yaml'
# Parsing
#
describe 'Parsed YAML Collections', ->
it 'can be simple sequence', ->
expect YAML.parse """
- apple
- banana
- carrot
"""
.toEqual ['apple', 'banana', 'carrot']
it 'can be nested sequences', ->
... | 93779 |
unless YAML?
YAML = require '../../src/Yaml'
# Parsing
#
describe 'Parsed YAML Collections', ->
it 'can be simple sequence', ->
expect YAML.parse """
- apple
- banana
- carrot
"""
.toEqual ['apple', 'banana', 'carrot']
it 'can be nested sequences', ->
... | true |
unless YAML?
YAML = require '../../src/Yaml'
# Parsing
#
describe 'Parsed YAML Collections', ->
it 'can be simple sequence', ->
expect YAML.parse """
- apple
- banana
- carrot
"""
.toEqual ['apple', 'banana', 'carrot']
it 'can be nested sequences', ->
... |
[
{
"context": " backbone-orm.js 0.7.14\n Copyright (c) 2013-2016 Vidigami\n License: MIT (http://www.opensource.org/license",
"end": 63,
"score": 0.9998770952224731,
"start": 55,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": "ses/mit-license.php)\n Source: https://github.com/... | src/lib/iteration_utils.coffee | dk-dev/backbone-orm | 54 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 Vidigami
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
# @nodoc
nextTick = process?.nextTick or (require 'underscore').defer
module.exports... | 64068 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 <NAME>
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
# @nodoc
nextTick = process?.nextTick or (require 'underscore').defer
module.exports =... | true | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 PI:NAME:<NAME>END_PI
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
# @nodoc
nextTick = process?.nextTick or (require 'underscore').defer
mo... |
[
{
"context": " (name, age) ->\n user = {\n name: name,\n age: age\n }\n \n ",
"end": 144,
"score": 0.9957616329193115,
"start": 140,
"tag": "NAME",
"value": "name"
}
] | src/models/Users.coffee | leonardolopesinf/coffee-script-server | 0 | import Database from '../database/Database'
db = new Database()
class Users
create: (name, age) ->
user = {
name: name,
age: age
}
return db.insert('users', user)
update: (columns, id) -> db.update('users', columns, id)
delete: (id) -> db.dele... | 121419 | import Database from '../database/Database'
db = new Database()
class Users
create: (name, age) ->
user = {
name: <NAME>,
age: age
}
return db.insert('users', user)
update: (columns, id) -> db.update('users', columns, id)
delete: (id) -> db.de... | true | import Database from '../database/Database'
db = new Database()
class Users
create: (name, age) ->
user = {
name: PI:NAME:<NAME>END_PI,
age: age
}
return db.insert('users', user)
update: (columns, id) -> db.update('users', columns, id)
delete:... |
[
{
"context": ": 'String'\n email: 'String'\n password: 'String'\n apiSecret: 'String'\n countryCode: 'St",
"end": 319,
"score": 0.9957296252250671,
"start": 313,
"tag": "PASSWORD",
"value": "String"
},
{
"context": " return next(err)\n user.passwor... | server/models/users.coffee | GoIncremental/gi-security | 0 | crypto = require 'crypto'
bcrypt = require 'bcrypt'
gi = require 'gi-util'
module.exports = (dal, options) ->
SALT_WORK_FACTOR = 10
modelDefinition =
name: 'User'
schemaDefinition:
systemId: 'ObjectId'
firstName: 'String'
lastName: 'String'
email: 'String'
password: 'String'... | 33073 | crypto = require 'crypto'
bcrypt = require 'bcrypt'
gi = require 'gi-util'
module.exports = (dal, options) ->
SALT_WORK_FACTOR = 10
modelDefinition =
name: 'User'
schemaDefinition:
systemId: 'ObjectId'
firstName: 'String'
lastName: 'String'
email: 'String'
password: '<PASSWO... | true | crypto = require 'crypto'
bcrypt = require 'bcrypt'
gi = require 'gi-util'
module.exports = (dal, options) ->
SALT_WORK_FACTOR = 10
modelDefinition =
name: 'User'
schemaDefinition:
systemId: 'ObjectId'
firstName: 'String'
lastName: 'String'
email: 'String'
password: 'PI:PASS... |
[
{
"context": "s.env.HUBOT_QQ_ID or 2769546520\n password: process.env.HUBOT_QQ_PASS\n groupname: process.env.HUBOT_QQ_GROUP or 'q",
"end": 654,
"score": 0.9993192553520203,
"start": 629,
"tag": "PASSWORD",
"value": "process.env.HUBOT_QQ_PASS"
}
] | src/hubot-qq.coffee | lsc20051426/qqbot | 2 | {Robot, Adapter, EnterMessage, LeaveMessage, TextMessage} = require('hubot')
auth = require "../src/qqauth"
api = require "../src/qqapi"
QQBot= require "../src/qqbot"
defaults = require "../src/defaults"
class QQHubotAdapter extends Adapter
send: (envelope, strings...) ->
@robot.logger.info "hubot is sending ... | 148025 | {Robot, Adapter, EnterMessage, LeaveMessage, TextMessage} = require('hubot')
auth = require "../src/qqauth"
api = require "../src/qqapi"
QQBot= require "../src/qqbot"
defaults = require "../src/defaults"
class QQHubotAdapter extends Adapter
send: (envelope, strings...) ->
@robot.logger.info "hubot is sending ... | true | {Robot, Adapter, EnterMessage, LeaveMessage, TextMessage} = require('hubot')
auth = require "../src/qqauth"
api = require "../src/qqapi"
QQBot= require "../src/qqbot"
defaults = require "../src/defaults"
class QQHubotAdapter extends Adapter
send: (envelope, strings...) ->
@robot.logger.info "hubot is sending ... |
[
{
"context": "> path.join component, file\n\t\t\t\t\tkey = path.join component, componentType\n\t\t\t\t\tcompo[key] = [] if ",
"end": 1137,
"score": 0.8148002624511719,
"start": 1128,
"tag": "KEY",
"value": "path.join"
}
] | tasks/bower/bower.coffee | webmaster89898/CaryLandholt-fatarrow | 0 | fs = require 'fs'
q = require 'q'
path = require 'path'
{BOWER_DIRECTORY, BOWER_FILE} = require '../constants'
{BOWER_COMPONENTS} = require '../../config/bower'
pkg = require '../../package.json'
module.exports = (gulp, plugins) -> ->
{onError} = require('../events') plugins
# we only want the bower task to run ones... | 190494 | fs = require 'fs'
q = require 'q'
path = require 'path'
{BOWER_DIRECTORY, BOWER_FILE} = require '../constants'
{BOWER_COMPONENTS} = require '../../config/bower'
pkg = require '../../package.json'
module.exports = (gulp, plugins) -> ->
{onError} = require('../events') plugins
# we only want the bower task to run ones... | true | fs = require 'fs'
q = require 'q'
path = require 'path'
{BOWER_DIRECTORY, BOWER_FILE} = require '../constants'
{BOWER_COMPONENTS} = require '../../config/bower'
pkg = require '../../package.json'
module.exports = (gulp, plugins) -> ->
{onError} = require('../events') plugins
# we only want the bower task to run ones... |
[
{
"context": "ipple extends Skill\n target: TARGET_DIR8\n key: 'cripple'\n name: 'cripple'\n mp: 0\n cooldown: 10\n\n run:",
"end": 65,
"score": 0.9956731796264648,
"start": 58,
"tag": "KEY",
"value": "cripple"
},
{
"context": "l\n target: TARGET_DIR8\n key: 'cripple'\n name... | js/skills/cripple.coffee | ktchernov/7drl-lion.github.io | 27 | class Cripple extends Skill
target: TARGET_DIR8
key: 'cripple'
name: 'cripple'
mp: 0
cooldown: 10
run: (dir) ->
true
# register_skill 'cripple', Cripple
| 165993 | class Cripple extends Skill
target: TARGET_DIR8
key: '<KEY>'
name: '<KEY>'
mp: 0
cooldown: 10
run: (dir) ->
true
# register_skill 'cripple', Cripple
| true | class Cripple extends Skill
target: TARGET_DIR8
key: 'PI:KEY:<KEY>END_PI'
name: 'PI:NAME:<KEY>END_PI'
mp: 0
cooldown: 10
run: (dir) ->
true
# register_skill 'cripple', Cripple
|
[
{
"context": "nts(show_move_comments, {\n csrfToken: \"foobar\",\n target: \"/foo/\"\n })\n\n aft",
"end": 490,
"score": 0.6345034837722778,
"start": 484,
"tag": "PASSWORD",
"value": "foobar"
}
] | game/static/spirit/scripts/test/suites/move_comments-spec.coffee | Yoann-Vie/esgi-hearthstone | 3 | describe "move_comments plugin tests", ->
show_move_comments = null
plugin_move_comments = null
isHidden = stModules.utils.isHidden
beforeEach ->
fixtures = jasmine.getFixtures()
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures('move_comments.html')
show_move... | 107065 | describe "move_comments plugin tests", ->
show_move_comments = null
plugin_move_comments = null
isHidden = stModules.utils.isHidden
beforeEach ->
fixtures = jasmine.getFixtures()
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures('move_comments.html')
show_move... | true | describe "move_comments plugin tests", ->
show_move_comments = null
plugin_move_comments = null
isHidden = stModules.utils.isHidden
beforeEach ->
fixtures = jasmine.getFixtures()
fixtures.fixturesPath = 'base/test/fixtures/'
loadFixtures('move_comments.html')
show_move... |
[
{
"context": " name:\n en: 'hello'\n de: 'Hallo'\n expect(json).toEqual [ 'ciao', 'Hallo' ]\n\n",
"end": 1539,
"score": 0.714374840259552,
"start": 1534,
"tag": "NAME",
"value": "Hallo"
},
{
"context": " 'nl': 'slak'\n name:\n 'nl-BE': '... | src/spec/csv/exportmapping.spec.coffee | celeste-horgan/sphere-category-sync | 0 | _ = require 'underscore'
ExportMapping = require '../../lib/csv/exportmapping'
describe 'ExportMapping', ->
describe '#constructor', ->
it 'should initialize', ->
expect(-> new ExportMapping()).toBeDefined()
describe '#validate', ->
it 'should map a simple entry', ->
ex = new ExportMapping [ ... | 128189 | _ = require 'underscore'
ExportMapping = require '../../lib/csv/exportmapping'
describe 'ExportMapping', ->
describe '#constructor', ->
it 'should initialize', ->
expect(-> new ExportMapping()).toBeDefined()
describe '#validate', ->
it 'should map a simple entry', ->
ex = new ExportMapping [ ... | true | _ = require 'underscore'
ExportMapping = require '../../lib/csv/exportmapping'
describe 'ExportMapping', ->
describe '#constructor', ->
it 'should initialize', ->
expect(-> new ExportMapping()).toBeDefined()
describe '#validate', ->
it 'should map a simple entry', ->
ex = new ExportMapping [ ... |
[
{
"context": " requireTLS: true\n authMethod: ''\n user: 'user'\n password: 'password'\n recipients: []\n\n s",
"end": 232,
"score": 0.7480193376541138,
"start": 228,
"tag": "USERNAME",
"value": "user"
},
{
"context": " authMethod: ''\n user: 'user'\n password:... | src/bin/recipes/config.workshop.template.cson | assignittous/knodeo_workshop | 0 | version: "0.1.9"
logging:
events: ["info","error","warn","debug","info","error","warn","shell"]
notifications:
email:
port: 465
host: 'localhost'
secure: true
requireTLS: true
authMethod: ''
user: 'user'
password: 'password'
recipients: []
slack:
webhook_url: ''
liquibase:
... | 146743 | version: "0.1.9"
logging:
events: ["info","error","warn","debug","info","error","warn","shell"]
notifications:
email:
port: 465
host: 'localhost'
secure: true
requireTLS: true
authMethod: ''
user: 'user'
password: '<PASSWORD>'
recipients: []
slack:
webhook_url: ''
liquibase:... | true | version: "0.1.9"
logging:
events: ["info","error","warn","debug","info","error","warn","shell"]
notifications:
email:
port: 465
host: 'localhost'
secure: true
requireTLS: true
authMethod: ''
user: 'user'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
recipients: []
slack:
webhook_... |
[
{
"context": "'\n 'Wharrimean is:'\n 'Examples:'\n 'Givun '\n 'Youse know when youse got '\n 'Wun '",
"end": 197,
"score": 0.9942393898963928,
"start": 192,
"tag": "NAME",
"value": "Givun"
}
] | settings/language-gherkin_en-Scouse.cson | mackoj/language-gherkin-i18n | 17 | '.text.gherkin.feature.en-Scouse':
'editor':
'completions': [
'Feature:'
'Dis is what went down:'
'The thing of it is:'
'Wharrimean is:'
'Examples:'
'Givun '
'Youse know when youse got '
'Wun '
'Youse know like when '
'Dun '
'Den youse gotta '
... | 194927 | '.text.gherkin.feature.en-Scouse':
'editor':
'completions': [
'Feature:'
'Dis is what went down:'
'The thing of it is:'
'Wharrimean is:'
'Examples:'
'<NAME> '
'Youse know when youse got '
'Wun '
'Youse know like when '
'Dun '
'Den youse gotta '
... | true | '.text.gherkin.feature.en-Scouse':
'editor':
'completions': [
'Feature:'
'Dis is what went down:'
'The thing of it is:'
'Wharrimean is:'
'Examples:'
'PI:NAME:<NAME>END_PI '
'Youse know when youse got '
'Wun '
'Youse know like when '
'Dun '
'Den you... |
[
{
"context": "ubot\n# pipeline.\n#\n# @author Kevin Netherton\n#\n# @requires NPM:request-promise\n# @requir",
"end": 134,
"score": 0.9998505711555481,
"start": 119,
"tag": "NAME",
"value": "Kevin Netherton"
},
{
"context": " this:\n # docker-regist... | scripts/request.coffee | bcgov/pipeline-bot | 7 | ###*
# @fileOverview Wrapper methods to openshift to be used in a hubot
# pipeline.
#
# @author Kevin Netherton
#
# @requires NPM:request-promise
# @requires NPM:lodash
# @requires NPM:oboe
#
###
request = require('request-promise')
_ = require('lodash')
oboe = require('oboe')
##... | 148038 | ###*
# @fileOverview Wrapper methods to openshift to be used in a hubot
# pipeline.
#
# @author <NAME>
#
# @requires NPM:request-promise
# @requires NPM:lodash
# @requires NPM:oboe
#
###
request = require('request-promise')
_ = require('lodash')
oboe = require('oboe')
###*
# Clas... | true | ###*
# @fileOverview Wrapper methods to openshift to be used in a hubot
# pipeline.
#
# @author PI:NAME:<NAME>END_PI
#
# @requires NPM:request-promise
# @requires NPM:lodash
# @requires NPM:oboe
#
###
request = require('request-promise')
_ = require('lodash')
oboe = require('oboe'... |
[
{
"context": " pet_status: \"petStatus\"\n pet_name: \"petName\"\n\n expect(@result.messagePropertyMap).",
"end": 3275,
"score": 0.7801046371459961,
"start": 3272,
"tag": "NAME",
"value": "pet"
},
{
"context": "h ->\n @parameters = [\n { name: \"... | test/parser/swagger-2-to-proxy-config-spec.coffee | octoblu/swagger-device-generator | 0 | _ = require 'lodash'
Swagger2ToProxyConfig = require '../../parser/swagger-2-to-proxy-config'
describe 'Swagger2ToProxyConfig', ->
beforeEach ->
@petsSwagger = require '../samples/swagger/pets-resolved.json'
@sut = new Swagger2ToProxyConfig @petsSwagger
it 'should exist', ->
expect(@sut).to.exist
de... | 134489 | _ = require 'lodash'
Swagger2ToProxyConfig = require '../../parser/swagger-2-to-proxy-config'
describe 'Swagger2ToProxyConfig', ->
beforeEach ->
@petsSwagger = require '../samples/swagger/pets-resolved.json'
@sut = new Swagger2ToProxyConfig @petsSwagger
it 'should exist', ->
expect(@sut).to.exist
de... | true | _ = require 'lodash'
Swagger2ToProxyConfig = require '../../parser/swagger-2-to-proxy-config'
describe 'Swagger2ToProxyConfig', ->
beforeEach ->
@petsSwagger = require '../samples/swagger/pets-resolved.json'
@sut = new Swagger2ToProxyConfig @petsSwagger
it 'should exist', ->
expect(@sut).to.exist
de... |
[
{
"context": "alStorageService) ->\n\n user = {}\n COOKIE_KEY = \"KIISSTOKEN\"\n\n handleLogin = (theUser) ->\n localStorageSe",
"end": 150,
"score": 0.9992319345474243,
"start": 140,
"tag": "KEY",
"value": "KIISSTOKEN"
}
] | js/services/user_service.coffee | c0ze/kiiss | 0 | ---
---
app.factory 'UserService', ['$rootScope', 'localStorageService', ($rootScope, localStorageService) ->
user = {}
COOKIE_KEY = "KIISSTOKEN"
handleLogin = (theUser) ->
localStorageService.set(COOKIE_KEY, theUser.getAccessToken())
user = theUser
$rootScope.$emit 'login', theUser
@logout = ()... | 87757 | ---
---
app.factory 'UserService', ['$rootScope', 'localStorageService', ($rootScope, localStorageService) ->
user = {}
COOKIE_KEY = "<KEY>"
handleLogin = (theUser) ->
localStorageService.set(COOKIE_KEY, theUser.getAccessToken())
user = theUser
$rootScope.$emit 'login', theUser
@logout = () ->
... | true | ---
---
app.factory 'UserService', ['$rootScope', 'localStorageService', ($rootScope, localStorageService) ->
user = {}
COOKIE_KEY = "PI:KEY:<KEY>END_PI"
handleLogin = (theUser) ->
localStorageService.set(COOKIE_KEY, theUser.getAccessToken())
user = theUser
$rootScope.$emit 'login', theUser
@log... |
[
{
"context": "ple.com',\n GIT_BRANCH: \"master\",\n GIT_COMMIT: \"3f93f2e4ddcf5a216d314d507e8579e99b21c8fb\",\n BUILD_ID: \"1\",\n BUILD_NUMBER: \"2\"\n}\n\nmodule.",
"end": 124,
"score": 0.6682659387588501,
"start": 85,
"tag": "PASSWORD",
"value": "f93f2e4ddcf5a216d314d507e8579e99b21c8f... | test/fixtures/jenkins.coffee | holyshared/ci-detector | 3 | env = {
JENKINS_URL: 'http://example.com',
GIT_BRANCH: "master",
GIT_COMMIT: "3f93f2e4ddcf5a216d314d507e8579e99b21c8fb",
BUILD_ID: "1",
BUILD_NUMBER: "2"
}
module.exports = env
| 197267 | env = {
JENKINS_URL: 'http://example.com',
GIT_BRANCH: "master",
GIT_COMMIT: "3<PASSWORD>",
BUILD_ID: "1",
BUILD_NUMBER: "2"
}
module.exports = env
| true | env = {
JENKINS_URL: 'http://example.com',
GIT_BRANCH: "master",
GIT_COMMIT: "3PI:PASSWORD:<PASSWORD>END_PI",
BUILD_ID: "1",
BUILD_NUMBER: "2"
}
module.exports = env
|
[
{
"context": "emory \" + @display_name()\n else if key == \"fs.disk.usage\"\n \"Disk Usage (%) on \" + br + @get(\"tags\"",
"end": 1716,
"score": 0.7349315881729126,
"start": 1706,
"tag": "KEY",
"value": "disk.usage"
}
] | app/assets/javascripts/models/metric.js.coffee | chetan/bixby-manager | 2 |
namespace 'Bixby.model', (exports, top) ->
class exports.Metric extends Stark.Model
@key: "metric"
params: [ { name: "metric", set_id: true }, "host" ]
urlRoot: ->
host_id = @host_id || @get("host_id")
"/rest/hosts/#{host_id}/metrics"
url: ->
s = super() + "?"
if @get("sta... | 47225 |
namespace 'Bixby.model', (exports, top) ->
class exports.Metric extends Stark.Model
@key: "metric"
params: [ { name: "metric", set_id: true }, "host" ]
urlRoot: ->
host_id = @host_id || @get("host_id")
"/rest/hosts/#{host_id}/metrics"
url: ->
s = super() + "?"
if @get("sta... | true |
namespace 'Bixby.model', (exports, top) ->
class exports.Metric extends Stark.Model
@key: "metric"
params: [ { name: "metric", set_id: true }, "host" ]
urlRoot: ->
host_id = @host_id || @get("host_id")
"/rest/hosts/#{host_id}/metrics"
url: ->
s = super() + "?"
if @get("sta... |
[
{
"context": "# OT storage for CouchDB\n# Author: Max Ogden (@maxogden)\n#\n# The couchdb database contains two",
"end": 44,
"score": 0.9998608827590942,
"start": 35,
"tag": "NAME",
"value": "Max Ogden"
},
{
"context": "# OT storage for CouchDB\n# Author: Max Ogden (@maxogden)\n#\n# ... | public/coffee/ide/editor/sharejs/vendor/server/db/couchdb.coffee | mickaobrien/web-sharelatex | 88 | # OT storage for CouchDB
# Author: Max Ogden (@maxogden)
#
# The couchdb database contains two kinds of documents:
#
# - Document snapshots have a key which is doc:the document name
# - Document ops have a random key, but docName: defined.
request = require('request').defaults json: true
# Helper method to parse erro... | 2582 | # OT storage for CouchDB
# Author: <NAME> (@maxogden)
#
# The couchdb database contains two kinds of documents:
#
# - Document snapshots have a key which is doc:the document name
# - Document ops have a random key, but docName: defined.
request = require('request').defaults json: true
# Helper method to parse errors ... | true | # OT storage for CouchDB
# Author: PI:NAME:<NAME>END_PI (@maxogden)
#
# The couchdb database contains two kinds of documents:
#
# - Document snapshots have a key which is doc:the document name
# - Document ops have a random key, but docName: defined.
request = require('request').defaults json: true
# Helper method to... |
[
{
"context": "/functions/basename\n # + original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)\n # + ",
"end": 474,
"score": 0.9999046921730042,
"start": 455,
"tag": "NAME",
"value": "Kevin van Zonneveld"
},
{
"context": "n.vanzonneveld.net)\n ... | views/util.coffee | dtjm/opensource.textdropapp.com | 1 | unless window.Util?
window.Util =
# Default options
# ---------------
defaults:
# What to insert when pressing `<Tab>`. (Used in the checkTab
# method.)
tab: " "
# ### basename
#
# Returns the filename component of the path
... | 120012 | unless window.Util?
window.Util =
# Default options
# ---------------
defaults:
# What to insert when pressing `<Tab>`. (Used in the checkTab
# method.)
tab: " "
# ### basename
#
# Returns the filename component of the path
... | true | unless window.Util?
window.Util =
# Default options
# ---------------
defaults:
# What to insert when pressing `<Tab>`. (Used in the checkTab
# method.)
tab: " "
# ### basename
#
# Returns the filename component of the path
... |
[
{
"context": "#*\n# @fileoverview Tests for radix rule.\n# @author James Allardice\n###\n\n'use strict'\n\n#-----------------------------",
"end": 68,
"score": 0.9998774528503418,
"start": 53,
"tag": "NAME",
"value": "James Allardice"
}
] | src/tests/rules/radix.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for radix rule.
# @author James Allardice
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/radix'
{RuleTester} = r... | 39852 | ###*
# @fileoverview Tests for radix rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/radix'
{RuleTester} = require 'e... | true | ###*
# @fileoverview Tests for radix rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/radix'
{RuleTester... |
[
{
"context": "inspire\n#\n# Known Issues:\n# none\n#\n# Author:\n# Riley Mills\n\nUtil = require \"util\"\n\nmodule.exports = (robot) ",
"end": 168,
"score": 0.9997950792312622,
"start": 157,
"tag": "NAME",
"value": "Riley Mills"
}
] | Hubot/inspirobot.coffee | FaytLeingod007/JabbR | 3 | # Description:
# Inspirational
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# inspire
#
# Known Issues:
# none
#
# Author:
# Riley Mills
Util = require "util"
module.exports = (robot) =>
robot.respond /inspire/i, (msg) ->
msg.http('http://inspirobot.me/api?generate=true')
.... | 127004 | # Description:
# Inspirational
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# inspire
#
# Known Issues:
# none
#
# Author:
# <NAME>
Util = require "util"
module.exports = (robot) =>
robot.respond /inspire/i, (msg) ->
msg.http('http://inspirobot.me/api?generate=true')
.get()... | true | # Description:
# Inspirational
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# inspire
#
# Known Issues:
# none
#
# Author:
# PI:NAME:<NAME>END_PI
Util = require "util"
module.exports = (robot) =>
robot.respond /inspire/i, (msg) ->
msg.http('http://inspirobot.me/api?generate=true'... |
[
{
"context": "tokenArray.length - 1 ] then tokenArray.push ''\n\t# Amy -> [ a, m, i ] -> [ '', a, m, i, '' ]\n\n\tfor i in ",
"end": 1600,
"score": 0.9808356761932373,
"start": 1597,
"tag": "NAME",
"value": "Amy"
}
] | digester.flavored.ru.coffee | joedski/word-generator-sketching | 2 | ###
Digester: Flavored Rule Generator
####
exports.digest = ( corpusText ) -> # :Array<Rule>
digestWords breakIntoWords corpusText
breakIntoWords = ( corpusText ) -> # :Array<String>
# Unfortunately, since orthography is arbitrary, there's no real uniform way to do this,
# although with options this could cover th... | 23470 | ###
Digester: Flavored Rule Generator
####
exports.digest = ( corpusText ) -> # :Array<Rule>
digestWords breakIntoWords corpusText
breakIntoWords = ( corpusText ) -> # :Array<String>
# Unfortunately, since orthography is arbitrary, there's no real uniform way to do this,
# although with options this could cover th... | true | ###
Digester: Flavored Rule Generator
####
exports.digest = ( corpusText ) -> # :Array<Rule>
digestWords breakIntoWords corpusText
breakIntoWords = ( corpusText ) -> # :Array<String>
# Unfortunately, since orthography is arbitrary, there's no real uniform way to do this,
# although with options this could cover th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.