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": "uce module for presentation Theme\n- Image\n\n@auther threeword (dev@threeword.com)\n@since 2016.07.07\n@version 0.",
"end": 81,
"score": 0.9995003938674927,
"start": 72,
"tag": "USERNAME",
"value": "threeword"
},
{
"context": "or presentation Theme\n- Image\n\n@auther ... | modules/IntroThemeImage.coffee | framer-modules/intro | 4 | ###
Prototype introduce module for presentation Theme
- Image
@auther threeword (dev@threeword.com)
@since 2016.07.07
@version 0.2
###
{IntroTheme} = require "IntroTheme"
class IntroThemeImage extends IntroTheme
# CSS
_cssFont = "@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css); font-family: 'No... | 183248 | ###
Prototype introduce module for presentation Theme
- Image
@auther threeword (<EMAIL>)
@since 2016.07.07
@version 0.2
###
{IntroTheme} = require "IntroTheme"
class IntroThemeImage extends IntroTheme
# CSS
_cssFont = "@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css); font-family: 'Noto Sans KR... | true | ###
Prototype introduce module for presentation Theme
- Image
@auther threeword (PI:EMAIL:<EMAIL>END_PI)
@since 2016.07.07
@version 0.2
###
{IntroTheme} = require "IntroTheme"
class IntroThemeImage extends IntroTheme
# CSS
_cssFont = "@import url(http://fonts.googleapis.com/earlyaccess/notosanskr.css); font-family... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.9998482465744019,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/hyperlink.coffee | git-j/hallo | 0 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a hyperlink to the editable
((jQuery) ->
jQuery.widget 'IKS.hallohyperlink',
dropdownform: null
tmpid: 0
selected_row... | 136304 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a hyperlink to the editable
((jQuery) ->
jQuery.widget 'IKS.hallohyperlink',
dropdownform: null
tmpid: 0
selected_row: null
... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
# Plugin to minimalistic add a hyperlink to the editable
((jQuery) ->
jQuery.widget 'IKS.hallohyperlink',
dropdownform: null
tmpid: 0
selec... |
[
{
"context": "n: \"Leeds\"\nphase: \"beta\"\nfacing: \"internal\"\nsro: \"Charu Gorasia\"\nservice_man: \"Janet Wilkinson\"\nphase_history:\n ",
"end": 272,
"score": 0.999890148639679,
"start": 259,
"tag": "NAME",
"value": "Charu Gorasia"
},
{
"context": "ng: \"internal\"\nsro: \"Ch... | app/data/projects/real-time-earnings.cson | tsmorgan/dwp-ux-work | 0 | id: 10
name: "Wider use of RTI"
description: "Lets benefit processing staff get real time employment information about a claimant so that claims can be processed more accurately."
theme: "Fraud & Debt"
location: "Leeds"
phase: "beta"
facing: "internal"
sro: "Charu Gorasia"
service_man: "Janet Wilkinson"
phase_history:
... | 31210 | id: 10
name: "Wider use of RTI"
description: "Lets benefit processing staff get real time employment information about a claimant so that claims can be processed more accurately."
theme: "Fraud & Debt"
location: "Leeds"
phase: "beta"
facing: "internal"
sro: "<NAME>"
service_man: "<NAME>"
phase_history:
discovery: [
... | true | id: 10
name: "Wider use of RTI"
description: "Lets benefit processing staff get real time employment information about a claimant so that claims can be processed more accurately."
theme: "Fraud & Debt"
location: "Leeds"
phase: "beta"
facing: "internal"
sro: "PI:NAME:<NAME>END_PI"
service_man: "PI:NAME:<NAME>END_PI"
pha... |
[
{
"context": "e sent to\n#\n# Commands:\n#\n# Notes:\n#\n# Author:\n# Kimberly Munoz\n\ngist = require 'quick-gist'\nmoment = require 'mo",
"end": 619,
"score": 0.9997480511665344,
"start": 605,
"tag": "NAME",
"value": "Kimberly Munoz"
}
] | src/new-relic-alerts.coffee | cfpb/hubot-new-relic-alerts | 1 | # Description
# A hubot script to tell your team of today's New Relic warnings and violations
#
# Configuration:
# HUBOT_NEW_RELIC_INCIDENTS_PAGE - (Optional) This is the alerts page for incidents
# HUBOT_NEW_RELIC_API_KEY - Your API key for New Relic
# HUBOT_NEW_RELIC_POLICY_ID - (Optional) By default, it wil... | 85340 | # Description
# A hubot script to tell your team of today's New Relic warnings and violations
#
# Configuration:
# HUBOT_NEW_RELIC_INCIDENTS_PAGE - (Optional) This is the alerts page for incidents
# HUBOT_NEW_RELIC_API_KEY - Your API key for New Relic
# HUBOT_NEW_RELIC_POLICY_ID - (Optional) By default, it wil... | true | # Description
# A hubot script to tell your team of today's New Relic warnings and violations
#
# Configuration:
# HUBOT_NEW_RELIC_INCIDENTS_PAGE - (Optional) This is the alerts page for incidents
# HUBOT_NEW_RELIC_API_KEY - Your API key for New Relic
# HUBOT_NEW_RELIC_POLICY_ID - (Optional) By default, it wil... |
[
{
"context": "l.userId1}\",\n groupId: null\n name: 'New Name'\n , 400\n , null\n , done\n\n it '群",
"end": 4913,
"score": 0.8655315637588501,
"start": 4905,
"tag": "NAME",
"value": "New Name"
},
{
"context": " groupId: '5Vg2XCh9f'\n displ... | spec/groupSpec.coffee | liyujun1989/sealtalk-server | 0 | # 测试用例规则
# 1、有 groupId 参数的,检查群组是否存在
# 2、改变群组成员的,检查群组最大用户数上限
# 3、改变群组成员的,检查用户创建群组数上限
# 4、有群组名字参数的,检查群组名称上下限
# 5、有群组成员昵称参数的,检查群组名称上下限
# 6、有群组成员列表的,检查群组成员列表是否为空
# 7、有群组成员列表的,检查群组成员列表中是否有空值
# 8、根据业务场景,检查是否是群组创建者,有权限操作
# 9、所有参数,检查是否为空
describe '群组接口测试', ->
_global = null
memberIds1_2 = null
memberIds2_3 = null
bef... | 156677 | # 测试用例规则
# 1、有 groupId 参数的,检查群组是否存在
# 2、改变群组成员的,检查群组最大用户数上限
# 3、改变群组成员的,检查用户创建群组数上限
# 4、有群组名字参数的,检查群组名称上下限
# 5、有群组成员昵称参数的,检查群组名称上下限
# 6、有群组成员列表的,检查群组成员列表是否为空
# 7、有群组成员列表的,检查群组成员列表中是否有空值
# 8、根据业务场景,检查是否是群组创建者,有权限操作
# 9、所有参数,检查是否为空
describe '群组接口测试', ->
_global = null
memberIds1_2 = null
memberIds2_3 = null
bef... | true | # 测试用例规则
# 1、有 groupId 参数的,检查群组是否存在
# 2、改变群组成员的,检查群组最大用户数上限
# 3、改变群组成员的,检查用户创建群组数上限
# 4、有群组名字参数的,检查群组名称上下限
# 5、有群组成员昵称参数的,检查群组名称上下限
# 6、有群组成员列表的,检查群组成员列表是否为空
# 7、有群组成员列表的,检查群组成员列表中是否有空值
# 8、根据业务场景,检查是否是群组创建者,有权限操作
# 9、所有参数,检查是否为空
describe '群组接口测试', ->
_global = null
memberIds1_2 = null
memberIds2_3 = null
bef... |
[
{
"context": "e('feature', image_versions: ['wide'])\n id: \"52b347c59c18db5aef000208\"\n published: true\n key: \"1\"\n name:",
"end": 793,
"score": 0.9274258613586426,
"start": 769,
"tag": "KEY",
"value": "52b347c59c18db5aef000208"
}
] | src/desktop/apps/feature/test/templates/sets.coffee | kanaabe/force | 1 | jade = require 'jade'
path = require 'path'
fs = require 'fs'
benv = require 'benv'
{ fabricate } = require 'antigravity'
FeaturedSet = require '../../../../models/featured_set.coffee'
FeaturedLinks = require '../../../../collections/featured_links.coffee'
render = (templateName) ->
filename = path.resolve __dirname... | 211845 | jade = require 'jade'
path = require 'path'
fs = require 'fs'
benv = require 'benv'
{ fabricate } = require 'antigravity'
FeaturedSet = require '../../../../models/featured_set.coffee'
FeaturedLinks = require '../../../../collections/featured_links.coffee'
render = (templateName) ->
filename = path.resolve __dirname... | true | jade = require 'jade'
path = require 'path'
fs = require 'fs'
benv = require 'benv'
{ fabricate } = require 'antigravity'
FeaturedSet = require '../../../../models/featured_set.coffee'
FeaturedLinks = require '../../../../collections/featured_links.coffee'
render = (templateName) ->
filename = path.resolve __dirname... |
[
{
"context": "# Copyright (c) 2015 naymspace software (Dennis Nissen)\n#\n# Licensed under the Apache License, Version 2",
"end": 54,
"score": 0.9998742938041687,
"start": 41,
"tag": "NAME",
"value": "Dennis Nissen"
},
{
"context": " userService.setUser {\n id: 0,\n name: ... | src/app/components/sessions/sessions.controller.spec.coffee | ogumi/client | 0 | # Copyright (c) 2015 naymspace software (Dennis Nissen)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | 32880 | # Copyright (c) 2015 naymspace software (<NAME>)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | true | # Copyright (c) 2015 naymspace software (PI:NAME:<NAME>END_PI)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... |
[
{
"context": "----------------------------#\n# hello, my name is: SµNTtaX E®Rör #\n#----------------------------------#\n\n\n'this is",
"end": 71,
"score": 0.9988700747489929,
"start": 58,
"tag": "NAME",
"value": "SµNTtaX E®Rör"
}
] | node_modules/coffeeify/example/multiline_error.coffee | Jparw/olfa-link-21 | 157 | #----------------------------------#
# hello, my name is: SµNTtaX E®Rör #
#----------------------------------#
'this is very wrong. notice that the first line is''
longer' | 126723 | #----------------------------------#
# hello, my name is: <NAME> #
#----------------------------------#
'this is very wrong. notice that the first line is''
longer' | true | #----------------------------------#
# hello, my name is: PI:NAME:<NAME>END_PI #
#----------------------------------#
'this is very wrong. notice that the first line is''
longer' |
[
{
"context": "'valid', ->\n conn = await connect\n host: '127.0.0.1'\n privateKeyPath: '~/.ssh/id_ed25519'\n co",
"end": 122,
"score": 0.999678373336792,
"start": 113,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "nect\n host: '127.0.0.1'\n priv... | test/is.coffee | adaltas/node-ssh2-connect | 2 |
connect = require '../src'
describe 'connect.is', ->
it 'valid', ->
conn = await connect
host: '127.0.0.1'
privateKeyPath: '~/.ssh/id_ed25519'
connect.is(conn).should.be.true()
conn.end()
it 'invalid null', ->
conn = await connect
host: '127.0.0.1'
privateKeyPath: '~/... | 183806 |
connect = require '../src'
describe 'connect.is', ->
it 'valid', ->
conn = await connect
host: '127.0.0.1'
privateKeyPath: <KEY>'
connect.is(conn).should.be.true()
conn.end()
it 'invalid null', ->
conn = await connect
host: '127.0.0.1'
privateKeyPath: <KEY>'
conne... | true |
connect = require '../src'
describe 'connect.is', ->
it 'valid', ->
conn = await connect
host: '127.0.0.1'
privateKeyPath: PI:KEY:<KEY>END_PI'
connect.is(conn).should.be.true()
conn.end()
it 'invalid null', ->
conn = await connect
host: '127.0.0.1'
privateKeyPath: PI:... |
[
{
"context": "\"\n Is w, -> 'not a mail'\n )\n assert m('horo@gmail.com') is 'gmail'\n assert m('horo@hotmail.com') is ",
"end": 488,
"score": 0.9999275207519531,
"start": 474,
"tag": "EMAIL",
"value": "horo@gmail.com"
},
{
"context": "sert m('horo@gmail.com') is 'gmail... | node_modules/pat-mat/test/extension.coffee | prasanthbendra/ng-2 | 0 | assert = require('assert')
{
Match
Is
wildcard
parameter
} = require('../dest/api')
w = wildcard
p = parameter
{
matchReg
decorateRegExpPrototype
} = require('../dest/extension')
describe 'extension', ->
it 'matchReg should', ->
Email = matchReg(/(.+?)@(.+?)\..+/)
m = Match(
Is Email(w, 'gm... | 89242 | assert = require('assert')
{
Match
Is
wildcard
parameter
} = require('../dest/api')
w = wildcard
p = parameter
{
matchReg
decorateRegExpPrototype
} = require('../dest/extension')
describe 'extension', ->
it 'matchReg should', ->
Email = matchReg(/(.+?)@(.+?)\..+/)
m = Match(
Is Email(w, 'gm... | true | assert = require('assert')
{
Match
Is
wildcard
parameter
} = require('../dest/api')
w = wildcard
p = parameter
{
matchReg
decorateRegExpPrototype
} = require('../dest/extension')
describe 'extension', ->
it 'matchReg should', ->
Email = matchReg(/(.+?)@(.+?)\..+/)
m = Match(
Is Email(w, 'gm... |
[
{
"context": "'something'\n access_token_secret: 'to-dig-with'\n tokenMethod: 'basic'\n\n ",
"end": 3830,
"score": 0.5813224911689758,
"start": 3828,
"tag": "PASSWORD",
"value": "to"
},
{
"context": "omething'\n access_token_secret: 'to-di... | test/octoblu-channel-request-formatter-spec.coffee | octoblu/nanocyte-component-octoblu-channel-request-formatter | 1 | ReturnValue = require 'nanocyte-component-return-value'
OctobluChannelRequestFormatter = require '../src/octoblu-channel-request-formatter'
describe 'OctobluChannelRequestFormatter (message)', ->
beforeEach ->
@sut = new OctobluChannelRequestFormatter
it 'should exist', ->
expect(@sut).to.be.an.instanceOf... | 82657 | ReturnValue = require 'nanocyte-component-return-value'
OctobluChannelRequestFormatter = require '../src/octoblu-channel-request-formatter'
describe 'OctobluChannelRequestFormatter (message)', ->
beforeEach ->
@sut = new OctobluChannelRequestFormatter
it 'should exist', ->
expect(@sut).to.be.an.instanceOf... | true | ReturnValue = require 'nanocyte-component-return-value'
OctobluChannelRequestFormatter = require '../src/octoblu-channel-request-formatter'
describe 'OctobluChannelRequestFormatter (message)', ->
beforeEach ->
@sut = new OctobluChannelRequestFormatter
it 'should exist', ->
expect(@sut).to.be.an.instanceOf... |
[
{
"context": ">\n if params.password\n params.password = '******'\n return params\n\n\n _getCommandServicesToInject",
"end": 6332,
"score": 0.762450098991394,
"start": 6332,
"tag": "PASSWORD",
"value": ""
}
] | src/context/context.coffee | efacilitation/eventric | 150 | AggregateRepository = require 'eventric/aggregate_repository'
domainEventService = require 'eventric/domain_event/domain_event_service'
class Context
constructor: (@name) ->
EventBus = require 'eventric/event_bus'
Projection = require 'eventric/projection'
@_logger = require('eventric').getLogger()
... | 202597 | AggregateRepository = require 'eventric/aggregate_repository'
domainEventService = require 'eventric/domain_event/domain_event_service'
class Context
constructor: (@name) ->
EventBus = require 'eventric/event_bus'
Projection = require 'eventric/projection'
@_logger = require('eventric').getLogger()
... | true | AggregateRepository = require 'eventric/aggregate_repository'
domainEventService = require 'eventric/domain_event/domain_event_service'
class Context
constructor: (@name) ->
EventBus = require 'eventric/event_bus'
Projection = require 'eventric/projection'
@_logger = require('eventric').getLogger()
... |
[
{
"context": "module.exports =\n\tusername:\t'kermit'\n\tpassword:\t'kermit'\n\tserverurl:\t\"http://activiti",
"end": 35,
"score": 0.9996711611747742,
"start": 29,
"tag": "USERNAME",
"value": "kermit"
},
{
"context": "module.exports =\n\tusername:\t'kermit'\n\tpassword:\t'kermit'\n\... | env.coffee | dorissschoi/activiti-rest-api | 1 | module.exports =
username: 'kermit'
password: 'kermit'
serverurl: "http://activiti:8080/activiti-rest/service"
| 221561 | module.exports =
username: 'kermit'
password: '<PASSWORD>'
serverurl: "http://activiti:8080/activiti-rest/service"
| true | module.exports =
username: 'kermit'
password: 'PI:PASSWORD:<PASSWORD>END_PI'
serverurl: "http://activiti:8080/activiti-rest/service"
|
[
{
"context": "ame_to_show: \"Reference\"\n name_to_show_short: \"Simlr. Docmnt.\"\n parse_from_model: true\n parse_",
"end": 4452,
"score": 0.6282423734664917,
"start": 4449,
"tag": "NAME",
"value": "Sim"
}
] | src/glados/static/coffee/models/Document.coffee | BNext-IQT/glados-frontend-chembl-main-interface | 33 | Document = Backbone.Model.extend(DownloadModelOrCollectionExt).extend
entityName: 'Document'
entityNamePlural: 'Documents'
idAttribute: 'document_chembl_id'
initialize: ->
id = @get('id')
id ?= @get('document_chembl_id')
@set('id', id)
@set('document_chembl_id', id)
if @get('fetch_from_el... | 37469 | Document = Backbone.Model.extend(DownloadModelOrCollectionExt).extend
entityName: 'Document'
entityNamePlural: 'Documents'
idAttribute: 'document_chembl_id'
initialize: ->
id = @get('id')
id ?= @get('document_chembl_id')
@set('id', id)
@set('document_chembl_id', id)
if @get('fetch_from_el... | true | Document = Backbone.Model.extend(DownloadModelOrCollectionExt).extend
entityName: 'Document'
entityNamePlural: 'Documents'
idAttribute: 'document_chembl_id'
initialize: ->
id = @get('id')
id ?= @get('document_chembl_id')
@set('id', id)
@set('document_chembl_id', id)
if @get('fetch_from_el... |
[
{
"context": "id: 32\nname: \"Fit Notes\"\ndescription: \"Looking at how to get Fit Note inf",
"end": 23,
"score": 0.9998409152030945,
"start": 14,
"tag": "NAME",
"value": "Fit Notes"
},
{
"context": "isability\"\nlocation: \"Leeds\"\nphase: \"alpha\"\nsro: \"Kenny Robertson\"\nservi... | app/data/projects/fit-notes.cson | tsmorgan/dwp-ux-work | 0 | id: 32
name: "Fit Notes"
description: "Looking at how to get Fit Note information into the department more quickly to ensure customers receive the support they need."
theme: "Health & Disability"
location: "Leeds"
phase: "alpha"
sro: "Kenny Robertson"
service_man: "Liz Whitefield"
phase_history:
discovery: [
{
... | 182985 | id: 32
name: "<NAME>"
description: "Looking at how to get Fit Note information into the department more quickly to ensure customers receive the support they need."
theme: "Health & Disability"
location: "Leeds"
phase: "alpha"
sro: "<NAME>"
service_man: "<NAME>"
phase_history:
discovery: [
{
label: "Complete... | true | id: 32
name: "PI:NAME:<NAME>END_PI"
description: "Looking at how to get Fit Note information into the department more quickly to ensure customers receive the support they need."
theme: "Health & Disability"
location: "Leeds"
phase: "alpha"
sro: "PI:NAME:<NAME>END_PI"
service_man: "PI:NAME:<NAME>END_PI"
phase_history:
... |
[
{
"context": "t\",\n time_slots(20, days),\n organisations([\"Batman\", \"Spiderman\", \"Superman\", \"Evilman\"]),\n tasks",
"end": 79,
"score": 0.9857797622680664,
"start": 73,
"tag": "NAME",
"value": "Batman"
},
{
"context": "me_slots(20, days),\n organisations([\"Batm... | docs/prdef.coffee | IKS/Proggis | 2 | project("save-the-planet",
time_slots(20, days),
organisations(["Batman", "Spiderman", "Superman", "Evilman"]),
tasks([
[look_for_trouble=task("Look for Trouble"), make_some_trouble=task("Make some trouble")],
[find_evil=task("Find evil") , try_to_escape=task("Try to escape")],
[ca... | 126520 | project("save-the-planet",
time_slots(20, days),
organisations(["<NAME>", "<NAME>", "<NAME>", "<NAME>"]),
tasks([
[look_for_trouble=task("Look for Trouble"), make_some_trouble=task("Make some trouble")],
[find_evil=task("Find evil") , try_to_escape=task("Try to escape")],
[catch_ba... | true | project("save-the-planet",
time_slots(20, days),
organisations(["PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI", "PI:NAME:<NAME>END_PI"]),
tasks([
[look_for_trouble=task("Look for Trouble"), make_some_trouble=task("Make some trouble")],
[find_evil=task("Find evil") , ... |
[
{
"context": "s\n proxy: Boolean options.proxy\n for key in ['pts', 'tx', 'ty']\n if key of options\n obj[key] = options[",
"end": 3272,
"score": 0.9637264609336853,
"start": 3257,
"tag": "KEY",
"value": "pts', 'tx', 'ty"
}
] | client/tools/image.coffee | psvenk/cocreate | 0 | ## See modes.coffee for the image mode that uses this.
import {validUrl, proxyUrl} from '/lib/url'
import {currentRoom, currentPage} from '../AppState'
import {undoStack} from '../UndoStack'
export tryAddImage = (items, options) ->
## HTML <img> tag (as from dragging images) or <a href> tag
## (without nested <a>... | 15365 | ## See modes.coffee for the image mode that uses this.
import {validUrl, proxyUrl} from '/lib/url'
import {currentRoom, currentPage} from '../AppState'
import {undoStack} from '../UndoStack'
export tryAddImage = (items, options) ->
## HTML <img> tag (as from dragging images) or <a href> tag
## (without nested <a>... | true | ## See modes.coffee for the image mode that uses this.
import {validUrl, proxyUrl} from '/lib/url'
import {currentRoom, currentPage} from '../AppState'
import {undoStack} from '../UndoStack'
export tryAddImage = (items, options) ->
## HTML <img> tag (as from dragging images) or <a href> tag
## (without nested <a>... |
[
{
"context": "eUri\n uri: path\n auth:\n username: meshbluAuth.uuid\n password: meshbluAuth.token\n json: b",
"end": 681,
"score": 0.9096357226371765,
"start": 665,
"tag": "USERNAME",
"value": "meshbluAuth.uuid"
},
{
"context": " username: meshbluAut... | src/services/shadow-service.coffee | octoblu/gateblu-shadow-service | 0 | request = require 'request'
class ShadowService
constructor: ({@shadowServiceUri}) ->
proxyReal: ({meshbluAuth,body}, callback) =>
path = '/real/config'
@_proxy {meshbluAuth, body, path}, callback
proxyVirtual: ({meshbluAuth,body}, callback) =>
path = '/virtual/config'
@_proxy {meshbluAuth, bo... | 7220 | request = require 'request'
class ShadowService
constructor: ({@shadowServiceUri}) ->
proxyReal: ({meshbluAuth,body}, callback) =>
path = '/real/config'
@_proxy {meshbluAuth, body, path}, callback
proxyVirtual: ({meshbluAuth,body}, callback) =>
path = '/virtual/config'
@_proxy {meshbluAuth, bo... | true | request = require 'request'
class ShadowService
constructor: ({@shadowServiceUri}) ->
proxyReal: ({meshbluAuth,body}, callback) =>
path = '/real/config'
@_proxy {meshbluAuth, body, path}, callback
proxyVirtual: ({meshbluAuth,body}, callback) =>
path = '/virtual/config'
@_proxy {meshbluAuth, bo... |
[
{
"context": "re.PrivateKey)(privKey)\n\t\t\tpubKey = privateKeyObj.toPublicKey().toString()\n\t\t\twalletAddress = privateKeyObj.toAddress().to",
"end": 5662,
"score": 0.9312036037445068,
"start": 5640,
"tag": "KEY",
"value": "toPublicKey().toString"
}
] | js/services/counterparty.coffee | SwarmCorp/razzledazzle | 0 | 'use strict'
window.app.factory 'Counterparty', ($http, $q, $timeout, RestCounterparty, counterpartyUrl) ->
# dependencies
oldBitcore = require 'bitcoreOld'
bitcore = require 'bitcore'
transactionEncoding = 'multisig'
serverUrl = counterpartyUrl
useCounterwalletIo = true;
payloadDefaults =
jsonrpc: '2.0'
i... | 88305 | 'use strict'
window.app.factory 'Counterparty', ($http, $q, $timeout, RestCounterparty, counterpartyUrl) ->
# dependencies
oldBitcore = require 'bitcoreOld'
bitcore = require 'bitcore'
transactionEncoding = 'multisig'
serverUrl = counterpartyUrl
useCounterwalletIo = true;
payloadDefaults =
jsonrpc: '2.0'
i... | true | 'use strict'
window.app.factory 'Counterparty', ($http, $q, $timeout, RestCounterparty, counterpartyUrl) ->
# dependencies
oldBitcore = require 'bitcoreOld'
bitcore = require 'bitcore'
transactionEncoding = 'multisig'
serverUrl = counterpartyUrl
useCounterwalletIo = true;
payloadDefaults =
jsonrpc: '2.0'
i... |
[
{
"context": "# Copyright (c) 2008-2014 Michael Dvorkin and contributors.\n#\n# Fat Free CRM is freely dist",
"end": 41,
"score": 0.999862790107727,
"start": 26,
"tag": "NAME",
"value": "Michael Dvorkin"
}
] | app/assets/javascripts/crm_select2.js.coffee | HamiltonDevCo/fat_free_crm | 1,290 | # Copyright (c) 2008-2014 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
# Any select box with 'select... | 98603 | # Copyright (c) 2008-2014 <NAME> and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
# Any select box with 'select2' class ... | true | # Copyright (c) 2008-2014 PI:NAME:<NAME>END_PI and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
# Any select box with 's... |
[
{
"context": " backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n ",
"end": 102,
"score": 0.9997880458831787,
"start": 94,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/... | client/config_library_wrap.coffee | michaelBenin/backbone-orm | 1 | module.exports =
license: """
/*
backbone-orm.js 0.5.12
Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
*/
"""
| 70138 | module.exports =
license: """
/*
backbone-orm.js 0.5.12
Copyright (c) 2013 <NAME> - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
*/
"""
| true | module.exports =
license: """
/*
backbone-orm.js 0.5.12
Copyright (c) 2013 PI:NAME:<NAME>END_PI - https://github.com/vidigami/backbone-orm
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Dependencies: Backbone.js, Underscore.js, and Moment.js.
*/
"""
|
[
{
"context": " \"objectType\": \"person\",\n \"id\": \"trello.bilbobaggins\",\n \"displayName\": \"Bilbo Baggins\",\n ",
"end": 719,
"score": 0.9992478489875793,
"start": 700,
"tag": "USERNAME",
"value": "trello.bilbobaggins"
},
{
"context": " \"trello.b... | test/object_converter_test.coffee | craigambrose/trello-notification-to-activitystream2 | 1 | expect = require('chai').expect
fs = require('fs')
converter = require('../src/object_converter')
describe 'converting a single object', ->
loadFixture = (name) ->
JSON.parse(fs.readFileSync("./test/fixtures/notifications/#{name}.json"))
describe 'a commentCard event', ->
it 'builds a valid activity', ->
... | 98658 | expect = require('chai').expect
fs = require('fs')
converter = require('../src/object_converter')
describe 'converting a single object', ->
loadFixture = (name) ->
JSON.parse(fs.readFileSync("./test/fixtures/notifications/#{name}.json"))
describe 'a commentCard event', ->
it 'builds a valid activity', ->
... | true | expect = require('chai').expect
fs = require('fs')
converter = require('../src/object_converter')
describe 'converting a single object', ->
loadFixture = (name) ->
JSON.parse(fs.readFileSync("./test/fixtures/notifications/#{name}.json"))
describe 'a commentCard event', ->
it 'builds a valid activity', ->
... |
[
{
"context": "get,options} = {}\n\n beforeEach ->\n key = 'a'\n descriptor = format: 'String'\n source",
"end": 3493,
"score": 0.6274462938308716,
"start": 3492,
"tag": "KEY",
"value": "a"
},
{
"context": "er yields this Encoded JWT Header:\n #\n # eyJhbGc... | test/lib/jwtSpec.coffee | camfou/connect-jwt | 0 | # Test dependencies
cwd = process.cwd()
path = require 'path'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
# Assertions
chai.use sinonChai
chai.should()
# Code under test
JWT = require path.join cwd, 'lib/JWT'
base64url = ... | 161222 | # Test dependencies
cwd = process.cwd()
path = require 'path'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
# Assertions
chai.use sinonChai
chai.should()
# Code under test
JWT = require path.join cwd, 'lib/JWT'
base64url = ... | true | # Test dependencies
cwd = process.cwd()
path = require 'path'
chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
# Assertions
chai.use sinonChai
chai.should()
# Code under test
JWT = require path.join cwd, 'lib/JWT'
base64url = ... |
[
{
"context": "##\n knockback.js 1.2.3\n Copyright (c) 2011-2016 Kevin Malakoff.\n License: MIT (http://www.opensource.org/licens",
"end": 66,
"score": 0.9998067021369934,
"start": 52,
"tag": "NAME",
"value": "Kevin Malakoff"
},
{
"context": "ses/mit-license.php)\n Source: https:... | src/core/event-watcher.coffee | kmalakoff/knockback | 160 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 Kevin Malakoff.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneO... | 90703 | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 <NAME>.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and BackboneORM.
###
... | true | ###
knockback.js 1.2.3
Copyright (c) 2011-2016 PI:NAME:<NAME>END_PI.
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/kmalakoff/knockback
Dependencies: Knockout.js, Backbone.js, and Underscore.js (or LoDash.js).
Optional dependencies: Backbone.ModelRef.js and Bac... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9897300004959106,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/printButton.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
# Button component to open PrintPreviewPage window with @props.dataSet
load = (win) ->
$ = win.jQuery
React = win.Re... | 123429 | # 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
# Button component to open PrintPreviewPage window with @props.dataSet
load = (win) ->
$ = win.jQuery
React = win.Re... | 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
# Button component to open PrintPreviewPage window with @props.dataSet
load = (win) ->
$ = win.jQuery
... |
[
{
"context": " 'list'\n members:\n name: 'Name'\n params = serialize({Person:['a','b','c']",
"end": 5438,
"score": 0.6139079928398132,
"start": 5434,
"tag": "NAME",
"value": "Name"
},
{
"context": "ople:\n type: 'list'\n name: 'Per... | node_modules/grunt-aws/node_modules/aws-sdk/test/service_interface/query_param_serializer.spec.coffee | wcharczuk/katrinacaspelich.com | 1 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | 101500 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... | true | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"). You
# may not use this file except in compliance with the License. A copy of
# the License is located at
#
# http://aws.amazon.com/apache2.0/
#
# or in the "license" fil... |
[
{
"context": "################################################\n# MINDAY 0.009 Lykia\n# shape.coffee\n# Процедуры для р",
"end": 52,
"score": 0.723151683807373,
"start": 51,
"tag": "NAME",
"value": "M"
},
{
"context": "###################################\n# MINDAY 0.009 Lykia\n# shap... | shape.coffee | agershun/minday | 0 | ################################################
# MINDAY 0.009 Lykia
# shape.coffee
# Процедуры для работы с фигурами
################################################
shapes = []
margins = {}
paddings = {}
Idea::margin = ->
if @forma? and margins[@forma]? then return margins[@forma].call(@)
else
unless @place?... | 150720 | ################################################
# <NAME>INDAY 0.009 <NAME>
# shape.coffee
# Процедуры для работы с фигурами
################################################
shapes = []
margins = {}
paddings = {}
Idea::margin = ->
if @forma? and margins[@forma]? then return margins[@forma].call(@)
else
unless @... | true | ################################################
# PI:NAME:<NAME>END_PIINDAY 0.009 PI:NAME:<NAME>END_PI
# shape.coffee
# Процедуры для работы с фигурами
################################################
shapes = []
margins = {}
paddings = {}
Idea::margin = ->
if @forma? and margins[@forma]? then return margins[@forma... |
[
{
"context": "on - @@description\n# @@homepage\n#\n# Copyright 2014 Koji YAMADA and other contributors\n# Released under the MIT l",
"end": 86,
"score": 0.9997860193252563,
"start": 75,
"tag": "NAME",
"value": "Koji YAMADA"
}
] | nobushi.coffee | kou64yama/nobushi | 0 | ###!
# NobushiJS @@version - @@description
# @@homepage
#
# Copyright 2014 Koji YAMADA and other contributors
# Released under the MIT license.
# @@homepage/raw/master/LICENSE
###
# Haskell Prelude:
# https://hackage.haskell.org/package/base-4.7.0.2/docs/Prelude.html
'use strict'
root = @
nbs = (obj) ->
return ob... | 1494 | ###!
# NobushiJS @@version - @@description
# @@homepage
#
# Copyright 2014 <NAME> and other contributors
# Released under the MIT license.
# @@homepage/raw/master/LICENSE
###
# Haskell Prelude:
# https://hackage.haskell.org/package/base-4.7.0.2/docs/Prelude.html
'use strict'
root = @
nbs = (obj) ->
return obj if ... | true | ###!
# NobushiJS @@version - @@description
# @@homepage
#
# Copyright 2014 PI:NAME:<NAME>END_PI and other contributors
# Released under the MIT license.
# @@homepage/raw/master/LICENSE
###
# Haskell Prelude:
# https://hackage.haskell.org/package/base-4.7.0.2/docs/Prelude.html
'use strict'
root = @
nbs = (obj) ->
... |
[
{
"context": "ssages from Stockholm's foodtrucks\n#\n# Author:\n# Nevon\n\ncheerio = require \"cheerio\"\nurl = \"http://stockh",
"end": 310,
"score": 0.9913845062255859,
"start": 305,
"tag": "NAME",
"value": "Nevon"
}
] | src/foodtrucks.coffee | Nevon/hubot-stockholm-foodtrucks | 2 | # Description:
# Get the latest messages from each food truck in Stockholm Foodtrucks (stockholmfoodtrucks.nu)
#
# Configuration:
# None
#
# Dependencies:
# "cheerio": "1.13.x"
#
# Commands:
# hubot foodtrucks|food trucks - Gets you the latest messages from Stockholm's foodtrucks
#
# Author:
# Nevon
cheerio ... | 84180 | # Description:
# Get the latest messages from each food truck in Stockholm Foodtrucks (stockholmfoodtrucks.nu)
#
# Configuration:
# None
#
# Dependencies:
# "cheerio": "1.13.x"
#
# Commands:
# hubot foodtrucks|food trucks - Gets you the latest messages from Stockholm's foodtrucks
#
# Author:
# <NAME>
cheerio... | true | # Description:
# Get the latest messages from each food truck in Stockholm Foodtrucks (stockholmfoodtrucks.nu)
#
# Configuration:
# None
#
# Dependencies:
# "cheerio": "1.13.x"
#
# Commands:
# hubot foodtrucks|food trucks - Gets you the latest messages from Stockholm's foodtrucks
#
# Author:
# PI:NAME:<NAME>E... |
[
{
"context": "UserValues - User Value in localstorage\n# Coded by Hajime Oh-yake 2018.03.04\n#*************************************",
"end": 112,
"score": 0.99988853931427,
"start": 98,
"tag": "NAME",
"value": "Hajime Oh-yake"
}
] | JSKit/01_JSUserValues.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSUserValues - User Value in localstorage
# Coded by Hajime Oh-yake 2018.03.04
#*****************************************
class JSUserValues extends JSObject
constructor:->
super()
if (window.localStorage != null)
@uservalues = window.localStorage
else i... | 21458 | #*****************************************
# JSUserValues - User Value in localstorage
# Coded by <NAME> 2018.03.04
#*****************************************
class JSUserValues extends JSObject
constructor:->
super()
if (window.localStorage != null)
@uservalues = window.localStorage
else if (local... | true | #*****************************************
# JSUserValues - User Value in localstorage
# Coded by PI:NAME:<NAME>END_PI 2018.03.04
#*****************************************
class JSUserValues extends JSObject
constructor:->
super()
if (window.localStorage != null)
@uservalues = window.localStorage
... |
[
{
"context": "= require('mochainon')\nrindle = require('rindle')\njohnDoeFixture = require('./tokens.json').johndoe\nutil",
"end": 56,
"score": 0.5109537243843079,
"start": 52,
"tag": "USERNAME",
"value": "john"
},
{
"context": "indle')\njohnDoeFixture = require('./tokens.json').john... | tests/api-key.spec.coffee | josecoelho/balena-request | 0 | m = require('mochainon')
rindle = require('rindle')
johnDoeFixture = require('./tokens.json').johndoe
utils = require('../build/utils')
mockServer = require('mockttp').getLocal()
{ auth, request } = require('./setup')()
describe 'Request (api key):', ->
@timeout(10000)
beforeEach ->
mockServer.start()
afterE... | 97320 | m = require('mochainon')
rindle = require('rindle')
johnDoeFixture = require('./tokens.json').johndoe
utils = require('../build/utils')
mockServer = require('mockttp').getLocal()
{ auth, request } = require('./setup')()
describe 'Request (api key):', ->
@timeout(10000)
beforeEach ->
mockServer.start()
afterE... | true | m = require('mochainon')
rindle = require('rindle')
johnDoeFixture = require('./tokens.json').johndoe
utils = require('../build/utils')
mockServer = require('mockttp').getLocal()
{ auth, request } = require('./setup')()
describe 'Request (api key):', ->
@timeout(10000)
beforeEach ->
mockServer.start()
afterE... |
[
{
"context": ", ->\n code = \"\"\"\n var name = 'Josh';\n if (name == 'Peter') {\n ",
"end": 16097,
"score": 0.9992243051528931,
"start": 16093,
"tag": "NAME",
"value": "Josh"
},
{
"context": " var name = 'Josh';\n if (name ==... | tests/jasmine/client/unit/JSLessons/spec/JSExercisesSpec.coffee | Elfoslav/codermania | 56 | describe "JSExercises.checkExercise", ->
#arithmetic operators
Meteor.startup ->
Meteor.setTimeout(
describe 'Integer variables', ->
lesson = JSLessonsList._collection.findOne({id: '1c'})
it "should return true for Exercise 1 correct code", ->
code = """
console.log... | 4398 | describe "JSExercises.checkExercise", ->
#arithmetic operators
Meteor.startup ->
Meteor.setTimeout(
describe 'Integer variables', ->
lesson = JSLessonsList._collection.findOne({id: '1c'})
it "should return true for Exercise 1 correct code", ->
code = """
console.log... | true | describe "JSExercises.checkExercise", ->
#arithmetic operators
Meteor.startup ->
Meteor.setTimeout(
describe 'Integer variables', ->
lesson = JSLessonsList._collection.findOne({id: '1c'})
it "should return true for Exercise 1 correct code", ->
code = """
console.log... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998897314071655,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/projects/lightboxes.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 119994 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": " beforeEach ->\n Album.save { id: 1, name: 'Hi Scores', artist: 'Boards of Canada' }\n $httpBackend",
"end": 956,
"score": 0.9936912059783936,
"start": 947,
"tag": "NAME",
"value": "Hi Scores"
}
] | test/write_cache_introspection.test.coffee | goodeggs/angular-cached-resource | 152 | describe 'write cache introspection', ->
{Album, $httpBackend, $timeout} = {}
beforeEach ->
inject ($injector) ->
$cachedResource = $injector.get '$cachedResource'
$httpBackend = $injector.get '$httpBackend'
$timeout = $injector.get '$timeout'
Album = $cachedResource 'album', '/album/:i... | 204099 | describe 'write cache introspection', ->
{Album, $httpBackend, $timeout} = {}
beforeEach ->
inject ($injector) ->
$cachedResource = $injector.get '$cachedResource'
$httpBackend = $injector.get '$httpBackend'
$timeout = $injector.get '$timeout'
Album = $cachedResource 'album', '/album/:i... | true | describe 'write cache introspection', ->
{Album, $httpBackend, $timeout} = {}
beforeEach ->
inject ($injector) ->
$cachedResource = $injector.get '$cachedResource'
$httpBackend = $injector.get '$httpBackend'
$timeout = $injector.get '$timeout'
Album = $cachedResource 'album', '/album/:i... |
[
{
"context": "-----\n _setDefaultName: (n)->\n\n this.setName(@defaultName = n, true)\n\n this\n\n\n # ----------------------",
"end": 1194,
"score": 0.9301382899284363,
"start": 1183,
"tag": "USERNAME",
"value": "defaultName"
},
{
"context": " null\n else\n ... | app-src/player.coffee | hyperbotic/crowdgame-trivially | 0 | # ==================================================================================================================
class Player
_.extend Player, Hy.Utils.Observable
_.extend Player, Hy.Utils.Iterable
@kStatusActive = 1
@kStatusInactive = 2
@kKindConsole = 1
@kKindRemote = 2
kMaxPlayerNameLength = 8
... | 125405 | # ==================================================================================================================
class Player
_.extend Player, Hy.Utils.Observable
_.extend Player, Hy.Utils.Iterable
@kStatusActive = 1
@kStatusInactive = 2
@kKindConsole = 1
@kKindRemote = 2
kMaxPlayerNameLength = 8
... | true | # ==================================================================================================================
class Player
_.extend Player, Hy.Utils.Observable
_.extend Player, Hy.Utils.Iterable
@kStatusActive = 1
@kStatusInactive = 2
@kKindConsole = 1
@kKindRemote = 2
kMaxPlayerNameLength = 8
... |
[
{
"context": " assert.ok not rover.get(\"name\")\n m.set \"name\", \"Rover\"\n assert.equal m.get(\"name\"), \"Rover\"\n assert.e",
"end": 821,
"score": 0.5403600931167603,
"start": 816,
"tag": "NAME",
"value": "Rover"
},
{
"context": "d iterate properly', (assert) ->\n m.set \"n... | tests/unit/utils/error-map-test.coffee | foxnewsnetwork/ember-functional-validation | 4 | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import ErrorMap from 'ember-functional-validation/utils/error-map'`
m = null
module "Util: ErrorMap",
beforeEach: ->
m = ErrorMap.create()
test 'it should all exist', (assert) ->
assert.ok ErrorMap
test 'it should set and get correctly', (as... | 176781 | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import ErrorMap from 'ember-functional-validation/utils/error-map'`
m = null
module "Util: ErrorMap",
beforeEach: ->
m = ErrorMap.create()
test 'it should all exist', (assert) ->
assert.ok ErrorMap
test 'it should set and get correctly', (as... | true | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import ErrorMap from 'ember-functional-validation/utils/error-map'`
m = null
module "Util: ErrorMap",
beforeEach: ->
m = ErrorMap.create()
test 'it should all exist', (assert) ->
assert.ok ErrorMap
test 'it should set and get correctly', (as... |
[
{
"context": "o__: base = Applet.IconApplet.prototype\n\n name: 'Gracie'\n\n constructor:(orientation)->\n base._init.ca",
"end": 230,
"score": 0.9995641112327576,
"start": 224,
"tag": "NAME",
"value": "Gracie"
},
{
"context": "ome-info\")\n @set_applet_tooltip(_(\"Say Hell... | lib/TestApplet.coffee | darkoverlordofdata/Cin7Menu | 1 | Applet = imports.ui.applet
GLib = imports.gi.GLib
Util = imports.misc.util
Gettext = imports.gettext.domain('cinnamon-applets')
_ = Gettext.gettext
class TestApplet
__proto__: base = Applet.IconApplet.prototype
name: 'Gracie'
constructor:(orientation)->
base._init.call(this, orientation);
try
@se... | 104321 | Applet = imports.ui.applet
GLib = imports.gi.GLib
Util = imports.misc.util
Gettext = imports.gettext.domain('cinnamon-applets')
_ = Gettext.gettext
class TestApplet
__proto__: base = Applet.IconApplet.prototype
name: '<NAME>'
constructor:(orientation)->
base._init.call(this, orientation);
try
@se... | true | Applet = imports.ui.applet
GLib = imports.gi.GLib
Util = imports.misc.util
Gettext = imports.gettext.domain('cinnamon-applets')
_ = Gettext.gettext
class TestApplet
__proto__: base = Applet.IconApplet.prototype
name: 'PI:NAME:<NAME>END_PI'
constructor:(orientation)->
base._init.call(this, orientation);
... |
[
{
"context": "\n# License: MIT\n# Author: Maartyl (c) 2016\n# VERSION: 1.0.0\n\n\n## LIB\n###*\n# http://",
"end": 33,
"score": 0.9993873238563538,
"start": 26,
"tag": "NAME",
"value": "Maartyl"
}
] | scroll_drag.coffee | Maartyl/drag_scroll.js | 0 |
# License: MIT
# Author: Maartyl (c) 2016
# VERSION: 1.0.0
## LIB
###*
# http://stackoverflow.com/a/2381862/2692364
# Fire an event handler to the specified node.
# Event handlers can detect that the event was fired programatically
# by testing for a 'synthetic=true' property on the event object
# @param {HTMLNode} ... | 21720 |
# License: MIT
# Author: <NAME> (c) 2016
# VERSION: 1.0.0
## LIB
###*
# http://stackoverflow.com/a/2381862/2692364
# Fire an event handler to the specified node.
# Event handlers can detect that the event was fired programatically
# by testing for a 'synthetic=true' property on the event object
# @param {HTMLNode} n... | true |
# License: MIT
# Author: PI:NAME:<NAME>END_PI (c) 2016
# VERSION: 1.0.0
## LIB
###*
# http://stackoverflow.com/a/2381862/2692364
# Fire an event handler to the specified node.
# Event handlers can detect that the event was fired programatically
# by testing for a 'synthetic=true' property on the event object
# @para... |
[
{
"context": "ffee\n# entry point of the app\n# Copyright (c) 2015 Lu Wang <coolwanglu@gmail.com>\n\napp = require 'app'\nBrows",
"end": 71,
"score": 0.9971144199371338,
"start": 64,
"tag": "NAME",
"value": "Lu Wang"
},
{
"context": "ry point of the app\n# Copyright (c) 2015 Lu Wang ... | src/launcher.coffee | coolwanglu/neovim-e | 252 | # launcher.coffee
# entry point of the app
# Copyright (c) 2015 Lu Wang <coolwanglu@gmail.com>
app = require 'app'
BrowserWindow = require 'browser-window'
process.on 'uncaughtException', (error={}) ->
console.log error.message if error.message?
console.log error.stack if error.stack?
app.on 'window-all-closed... | 17840 | # launcher.coffee
# entry point of the app
# Copyright (c) 2015 <NAME> <<EMAIL>>
app = require 'app'
BrowserWindow = require 'browser-window'
process.on 'uncaughtException', (error={}) ->
console.log error.message if error.message?
console.log error.stack if error.stack?
app.on 'window-all-closed', -> app.quit... | true | # launcher.coffee
# entry point of the app
# Copyright (c) 2015 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
app = require 'app'
BrowserWindow = require 'browser-window'
process.on 'uncaughtException', (error={}) ->
console.log error.message if error.message?
console.log error.stack if error.stack?
app.on 'wi... |
[
{
"context": "alidate email\", ->\n expect(util.validateEmail \"test@example.com\").toBe true\n expect(util.validateEmail \"test.i",
"end": 5569,
"score": 0.9999257326126099,
"start": 5553,
"tag": "EMAIL",
"value": "test@example.com"
},
{
"context": "le.com\").toBe true\n ex... | test/unit/util.spec.coffee | Benzinga/MacGyver | 0 | describe "Mac Util", ->
# A reference to the util object to be used in each test.
util = null
beforeEach ->
# Load up dependent modules.
module "Mac.Util"
# Grab services.
inject ($injector) ->
util = $injector.get "util"
it "should trim string", ->
expect(util.trim " test").toBe... | 193715 | describe "Mac Util", ->
# A reference to the util object to be used in each test.
util = null
beforeEach ->
# Load up dependent modules.
module "Mac.Util"
# Grab services.
inject ($injector) ->
util = $injector.get "util"
it "should trim string", ->
expect(util.trim " test").toBe... | true | describe "Mac Util", ->
# A reference to the util object to be used in each test.
util = null
beforeEach ->
# Load up dependent modules.
module "Mac.Util"
# Grab services.
inject ($injector) ->
util = $injector.get "util"
it "should trim string", ->
expect(util.trim " test").toBe... |
[
{
"context": "# Copyright (C) 2012\tSaleem Abdul Hamid\n# \n# This file is part of Mundlejs.\n# \n# Mundlejs",
"end": 39,
"score": 0.9998770952224731,
"start": 21,
"tag": "NAME",
"value": "Saleem Abdul Hamid"
},
{
"context": "perty(prop) will break.\n# See: https://github.com/joyent/... | src/server.coffee | meelash/Mundlejs | 0 | # Copyright (C) 2012 Saleem Abdul Hamid
#
# This file is part of Mundlejs.
#
# Mundlejs 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... | 154628 | # Copyright (C) 2012 <NAME>
#
# This file is part of Mundlejs.
#
# Mundlejs 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 version.
#
# This... | true | # Copyright (C) 2012 PI:NAME:<NAME>END_PI
#
# This file is part of Mundlejs.
#
# Mundlejs 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 vers... |
[
{
"context": " },\n {\n name: getText('Thierry Mugler'),\n id:'CountPriority3'\n ",
"end": 1741,
"score": 0.9996728897094727,
"start": 1727,
"tag": "NAME",
"value": "Thierry Mugler"
}
] | client/coffee/views/pages/ReportClientPageView.coffee | HiPiH/App1 | 0 | #= require ../../core/baseView.coffee
class ReportClientPageView extends BaseView
###
# Возвращает необходимый темплейт
# @template {function}
###
template: JST['b-report-client-page']
constructor: (sendReport = true) ->
@._sendReport = sendReport
ReportClientPageView.__super_... | 189442 | #= require ../../core/baseView.coffee
class ReportClientPageView extends BaseView
###
# Возвращает необходимый темплейт
# @template {function}
###
template: JST['b-report-client-page']
constructor: (sendReport = true) ->
@._sendReport = sendReport
ReportClientPageView.__super_... | true | #= require ../../core/baseView.coffee
class ReportClientPageView extends BaseView
###
# Возвращает необходимый темплейт
# @template {function}
###
template: JST['b-report-client-page']
constructor: (sendReport = true) ->
@._sendReport = sendReport
ReportClientPageView.__super_... |
[
{
"context": "admin_server: 'domain.com'\n kadmin_principal: 'nikita/admin@DOMAIN.COM'\n kadmin_password: 'test'\n",
"end": 223,
"score": 0.5799123644828796,
"start": 220,
"tag": "USERNAME",
"value": "nik"
},
{
"context": ": 'nikita/admin@DOMAIN.COM'\n kadmin_password: 'test... | packages/krb5/test.sample.coffee | chibanemourad/node-nikita | 1 |
module.exports =
scratch: '/tmp/nikita-test-krb5'
tags:
krb5_addprinc: false
krb5_delprinc: false
krb5_ktadd: false
krb5:
realm: 'DOMAIN.COM'
kadmin_server: 'domain.com'
kadmin_principal: 'nikita/admin@DOMAIN.COM'
kadmin_password: 'test'
ssh: [
null
,
ssh: host: '127.0.0.1... | 214681 |
module.exports =
scratch: '/tmp/nikita-test-krb5'
tags:
krb5_addprinc: false
krb5_delprinc: false
krb5_ktadd: false
krb5:
realm: 'DOMAIN.COM'
kadmin_server: 'domain.com'
kadmin_principal: 'nikita/admin@DOMAIN.COM'
kadmin_password: '<PASSWORD>'
ssh: [
null
,
ssh: host: '127... | true |
module.exports =
scratch: '/tmp/nikita-test-krb5'
tags:
krb5_addprinc: false
krb5_delprinc: false
krb5_ktadd: false
krb5:
realm: 'DOMAIN.COM'
kadmin_server: 'domain.com'
kadmin_principal: 'nikita/admin@DOMAIN.COM'
kadmin_password: 'PI:PASSWORD:<PASSWORD>END_PI'
ssh: [
null
,
... |
[
{
"context": "dle.net/firebase/a221m6pb/\n# https://jsfiddle.net/andrevenancio/07j0p9ub/\n\nconfig = {\n apiKey: \"AIzaSyBcFB1TdT",
"end": 77,
"score": 0.9996623396873474,
"start": 64,
"tag": "USERNAME",
"value": "andrevenancio"
},
{
"context": "/andrevenancio/07j0p9ub/\n\nconfig ... | source/app/coffee/data/Services.coffee | andrevenancio/mod-synth.io | 30 | # http://jsfiddle.net/firebase/a221m6pb/
# https://jsfiddle.net/andrevenancio/07j0p9ub/
config = {
apiKey: "AIzaSyBcFB1TdT_ZLULA0PHSqKg4NHUZRFosJ4g",
authDomain: "mod-synth.firebaseapp.com",
databaseURL: "https://mod-synth.firebaseio.com",
storageBucket: "",
}
firebase.initializeApp(config);
class Ser... | 154229 | # http://jsfiddle.net/firebase/a221m6pb/
# https://jsfiddle.net/andrevenancio/07j0p9ub/
config = {
apiKey: "<KEY>",
authDomain: "mod-synth.firebaseapp.com",
databaseURL: "https://mod-synth.firebaseio.com",
storageBucket: "",
}
firebase.initializeApp(config);
class Services
@REFERENCE: firebase,
... | true | # http://jsfiddle.net/firebase/a221m6pb/
# https://jsfiddle.net/andrevenancio/07j0p9ub/
config = {
apiKey: "PI:KEY:<KEY>END_PI",
authDomain: "mod-synth.firebaseapp.com",
databaseURL: "https://mod-synth.firebaseio.com",
storageBucket: "",
}
firebase.initializeApp(config);
class Services
@REFERENCE... |
[
{
"context": "or e.stack\n cb e\n\n# <author>\n# <uri>acct:foo@example.com</uri>\n# </author>\nnormalizeAuthor = (req) ->\n ",
"end": 1420,
"score": 0.9996823072433472,
"start": 1405,
"tag": "EMAIL",
"value": "foo@example.com"
}
] | src/normalize.coffee | surevine/buddycloud-server | 0 | logger = require('./logger').makeLogger 'normalize'
errors = require('./errors')
NS_ATOM = "http://www.w3.org/2005/Atom"
NS_AS = "http://activitystrea.ms/spec/1.0/"
NS_THR = "http://purl.org/syndication/thread/1.0"
nodeRegexp = /^\/user\/([^\/]+)\/(.+)/
exports.normalizeItem = (req, oldItem, item, cb) ->
unless ... | 209813 | logger = require('./logger').makeLogger 'normalize'
errors = require('./errors')
NS_ATOM = "http://www.w3.org/2005/Atom"
NS_AS = "http://activitystrea.ms/spec/1.0/"
NS_THR = "http://purl.org/syndication/thread/1.0"
nodeRegexp = /^\/user\/([^\/]+)\/(.+)/
exports.normalizeItem = (req, oldItem, item, cb) ->
unless ... | true | logger = require('./logger').makeLogger 'normalize'
errors = require('./errors')
NS_ATOM = "http://www.w3.org/2005/Atom"
NS_AS = "http://activitystrea.ms/spec/1.0/"
NS_THR = "http://purl.org/syndication/thread/1.0"
nodeRegexp = /^\/user\/([^\/]+)\/(.+)/
exports.normalizeItem = (req, oldItem, item, cb) ->
unless ... |
[
{
"context": "terminal-tab-plus\"\n ]\n projectHome: \"/Users/chris/projects\"\n telemetryConsent: \"limited\"\n edi",
"end": 1060,
"score": 0.6426623463630676,
"start": 1057,
"tag": "NAME",
"value": "chr"
},
{
"context": "minal-tab-plus\"\n ]\n projectHome: \"/Users/... | atom/config.cson | chriswatrous/scripts | 2 | "*":
"atom-ide-ui":
"atom-ide-code-format":
formatOnSave: true
"autocomplete-plus":
extraWordCharacters: "-"
fileBlacklist: [
".*"
"*.txt"
"*.md"
"untitled"
]
autosave:
enabled: true
"bracket-colorizer": {}
"bracket-matcher":
autocompleteBrackets: false
... | 144302 | "*":
"atom-ide-ui":
"atom-ide-code-format":
formatOnSave: true
"autocomplete-plus":
extraWordCharacters: "-"
fileBlacklist: [
".*"
"*.txt"
"*.md"
"untitled"
]
autosave:
enabled: true
"bracket-colorizer": {}
"bracket-matcher":
autocompleteBrackets: false
... | true | "*":
"atom-ide-ui":
"atom-ide-code-format":
formatOnSave: true
"autocomplete-plus":
extraWordCharacters: "-"
fileBlacklist: [
".*"
"*.txt"
"*.md"
"untitled"
]
autosave:
enabled: true
"bracket-colorizer": {}
"bracket-matcher":
autocompleteBrackets: false
... |
[
{
"context": "::getAuth = ->\n return login: @login, password: @password, website: @website\n",
"end": 654,
"score": 0.988060712814331,
"start": 645,
"tag": "PASSWORD",
"value": "@password"
}
] | server/models/bankaccess.coffee | frankrousseau/kresus | 0 | americano = require 'americano'
BankAccount = require './bankaccount'
module.exports = BankAccess = americano.getModel 'bankaccess',
bank: String
login: String
password: String
website: String
BankAccess.all = (callback) ->
BankAccess.request "all", callback
BankAccess.allFromBank = (bank, callb... | 212472 | americano = require 'americano'
BankAccount = require './bankaccount'
module.exports = BankAccess = americano.getModel 'bankaccess',
bank: String
login: String
password: String
website: String
BankAccess.all = (callback) ->
BankAccess.request "all", callback
BankAccess.allFromBank = (bank, callb... | true | americano = require 'americano'
BankAccount = require './bankaccount'
module.exports = BankAccess = americano.getModel 'bankaccess',
bank: String
login: String
password: String
website: String
BankAccess.all = (callback) ->
BankAccess.request "all", callback
BankAccess.allFromBank = (bank, callb... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998883008956909,
"start": 25,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright... | public/taiga-front/app/coffee/modules/admin/project-profile.coffee | mabotech/maboss | 0 | ###
# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>
# Copyright (C) 2014 Jesús Espino Garcia <jespinog@gmail.com>
# Copyright (C) 2014 David Barragán Merino <bameda@dbarragan.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
... | 144208 | ###
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
# Copyright (C) 2014 <NAME> <<EMAIL>>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of... | true | ###
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero Gen... |
[
{
"context": "per'\n\nclass Wechat\n\tappId = 'appid'\n\tappsecret = 'secret'\n\ttoken = 'token'\n\t# 加密消息\n\tAESKey = 'aeskey' \n\n\tv",
"end": 168,
"score": 0.616119921207428,
"start": 162,
"tag": "KEY",
"value": "secret"
},
{
"context": "\n\tappId = 'appid'\n\tappsecret = 'secret'... | lib/wechat.coffee | jaxzhou/wexin | 1 |
WXCrypter = require './WXCrypter'
xml2js = require 'xml2js'
util = require 'util'
xmlHelper = require './xmlHelper'
class Wechat
appId = 'appid'
appsecret = 'secret'
token = 'token'
# 加密消息
AESKey = 'aeskey'
validateRequest = (req)->
signature = req.query.signature
timestamp = req.query.timestamp
nonce =... | 117793 |
WXCrypter = require './WXCrypter'
xml2js = require 'xml2js'
util = require 'util'
xmlHelper = require './xmlHelper'
class Wechat
appId = 'appid'
appsecret = '<KEY>'
token = '<KEY>'
# 加密消息
AESKey = 'aeskey'
validateRequest = (req)->
signature = req.query.signature
timestamp = req.query.timestamp
nonce = ... | true |
WXCrypter = require './WXCrypter'
xml2js = require 'xml2js'
util = require 'util'
xmlHelper = require './xmlHelper'
class Wechat
appId = 'appid'
appsecret = 'PI:KEY:<KEY>END_PI'
token = 'PI:KEY:<KEY>END_PI'
# 加密消息
AESKey = 'aeskey'
validateRequest = (req)->
signature = req.query.signature
timestamp = req.... |
[
{
"context": "'form')\n\n items =\n screenname: 'Screen name'\n fullname : \"Full name\"\n e",
"end": 129,
"score": 0.9899356365203857,
"start": 118,
"tag": "NAME",
"value": "Screen name"
},
{
"context": "screenname: 'Screen name'\n ... | ui/js/coffee/widget_preferences.coffee | jbampton/kibble | 3 | preferences = (json, state) ->
obj = document.createElement('form')
items =
screenname: 'Screen name'
fullname : "Full name"
email : "Email address"
tag : "Organisation filter tag"
token: "API token"
desc =
tag: "If set, on... | 214442 | preferences = (json, state) ->
obj = document.createElement('form')
items =
screenname: '<NAME>'
fullname : "<NAME>"
email : "Email address"
tag : "Organisation filter tag"
token: "API token"
desc =
tag: "If set, only sourc... | true | preferences = (json, state) ->
obj = document.createElement('form')
items =
screenname: 'PI:NAME:<NAME>END_PI'
fullname : "PI:NAME:<NAME>END_PI"
email : "Email address"
tag : "Organisation filter tag"
token: "API token"
desc =
... |
[
{
"context": "aster\", {###username: config.githubUser, password: config.githubPassword###}, ->\n\n writeNewContentToFile: (newItem) ->\n ",
"end": 7164,
"score": 0.9716255068778992,
"start": 7143,
"tag": "PASSWORD",
"value": "config.githubPassword"
}
] | src/system/ComponentDatabase.coffee | sadbear-/IdleLands | 0 |
Datastore = require "./DatabaseWrapper"
ObjectID = require("mongodb").ObjectID
_ = require "lodash"
_.str = require "underscore.string"
readdirp = require "readdirp"
fs = require "fs"
Party = require "../event/Party"
Q = require "q"
config = require "../../config.json"
class ComponentDatabase
itemStats: {}
ingr... | 90330 |
Datastore = require "./DatabaseWrapper"
ObjectID = require("mongodb").ObjectID
_ = require "lodash"
_.str = require "underscore.string"
readdirp = require "readdirp"
fs = require "fs"
Party = require "../event/Party"
Q = require "q"
config = require "../../config.json"
class ComponentDatabase
itemStats: {}
ingr... | true |
Datastore = require "./DatabaseWrapper"
ObjectID = require("mongodb").ObjectID
_ = require "lodash"
_.str = require "underscore.string"
readdirp = require "readdirp"
fs = require "fs"
Party = require "../event/Party"
Q = require "q"
config = require "../../config.json"
class ComponentDatabase
itemStats: {}
ingr... |
[
{
"context": " uiGmapGoogleMapApiProvider.configure {\n key: 'AIzaSyDf9HG--5bdFUPkBvCfaeyq2QhH_1HGTwU',\n v: '3.17',\n libraries: 'places,geometry'",
"end": 2831,
"score": 0.9997683763504028,
"start": 2792,
"tag": "KEY",
"value": "AIzaSyDf9HG--5bdFUPkBvCfaeyq2QhH_1HGTwU"
}
] | morphs/morphs.coffee | morphic-team/website | 0 | morphs = window.angular.module 'morphs', [
'ui.router',
'ui.bootstrap',
'ipCookie',
'uiGmapgoogle-maps',
'restangular',
'cgNotify',
'users',
'nav',
]
HEADER_NAME = 'Morphs-Handle-Errors-Generically';
specificallyHandleInProgress = false;
morphs.factory 'RequestsErrorHandler', ($q, $log, $injector) ->
... | 93611 | morphs = window.angular.module 'morphs', [
'ui.router',
'ui.bootstrap',
'ipCookie',
'uiGmapgoogle-maps',
'restangular',
'cgNotify',
'users',
'nav',
]
HEADER_NAME = 'Morphs-Handle-Errors-Generically';
specificallyHandleInProgress = false;
morphs.factory 'RequestsErrorHandler', ($q, $log, $injector) ->
... | true | morphs = window.angular.module 'morphs', [
'ui.router',
'ui.bootstrap',
'ipCookie',
'uiGmapgoogle-maps',
'restangular',
'cgNotify',
'users',
'nav',
]
HEADER_NAME = 'Morphs-Handle-Errors-Generically';
specificallyHandleInProgress = false;
morphs.factory 'RequestsErrorHandler', ($q, $log, $injector) ->
... |
[
{
"context": "oller extends App.ApplicationController\n @param 'firstName'\n @param 'lastName'\n",
"end": 79,
"score": 0.9784075021743774,
"start": 70,
"tag": "NAME",
"value": "firstName"
},
{
"context": "licationController\n @param 'firstName'\n @param 'lastName'\n",
"end": ... | test/example/app/controllers/server/usersController.coffee | jivagoalves/tower | 1 | class App.UsersController extends App.ApplicationController
@param 'firstName'
@param 'lastName'
| 209107 | class App.UsersController extends App.ApplicationController
@param '<NAME>'
@param '<NAME>'
| true | class App.UsersController extends App.ApplicationController
@param 'PI:NAME:<NAME>END_PI'
@param 'PI:NAME:<NAME>END_PI'
|
[
{
"context": " 'foo.co'\n uuid: 'foo'\n token: 'toalsk'\n }\n expect(=> new Meshblu {meshblu",
"end": 555,
"score": 0.995924174785614,
"start": 549,
"tag": "PASSWORD",
"value": "toalsk"
},
{
"context": "solveSrv: true, secure: false, uuid: '1', token: ... | node_modules/meshblu-firehose-socket.io/test/resolve-srv-spec.coffee | ratokeshi/endo-google-cloud-platform | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
SocketIO = require 'socket.io'
Meshblu = require '../src/firehose-socket-io'
describe 'Meshblu', ->
beforeEach ->
@server = new SocketIO 34715
afterEach ->
@server.close()
describe 'SRV resolve', ->
... | 35013 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
SocketIO = require 'socket.io'
Meshblu = require '../src/firehose-socket-io'
describe 'Meshblu', ->
beforeEach ->
@server = new SocketIO 34715
afterEach ->
@server.close()
describe 'SRV resolve', ->
... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
sinon = require 'sinon'
SocketIO = require 'socket.io'
Meshblu = require '../src/firehose-socket-io'
describe 'Meshblu', ->
beforeEach ->
@server = new SocketIO 34715
afterEach ->
@server.close()
describe 'SRV resolve', ->
... |
[
{
"context": "749edcd0a554bd94e301c651\",\n \"authorName\": \"Bee Wilkerson\",\n \"relativeDate\": \"6 days ago\",\n \"",
"end": 400,
"score": 0.999771237373352,
"start": 387,
"tag": "NAME",
"value": "Bee Wilkerson"
}
] | src/git-log-utils.coffee | littlebee/git-log-utils | 1 |
ChildProcess = require "child_process"
Path = require "path"
Fs = require "fs"
_ = require('underscore')
module.exports = class GitLogUtils
###
returns an array of javascript objects representing the commits that effected the requested file
with line stats, that looks like this:
[{
"id": ... | 99542 |
ChildProcess = require "child_process"
Path = require "path"
Fs = require "fs"
_ = require('underscore')
module.exports = class GitLogUtils
###
returns an array of javascript objects representing the commits that effected the requested file
with line stats, that looks like this:
[{
"id": ... | true |
ChildProcess = require "child_process"
Path = require "path"
Fs = require "fs"
_ = require('underscore')
module.exports = class GitLogUtils
###
returns an array of javascript objects representing the commits that effected the requested file
with line stats, that looks like this:
[{
"id": ... |
[
{
"context": "cksStats.setup\n testMode: false\n auth: 'MDI5NDQ0NDQ1MzYxZjkxMzUzODliOGEwNGYyYjA3M2U6'\n\n _createStatsAPIEvent: (r) ->\n # Post 'list",
"end": 12997,
"score": 0.9803696870803833,
"start": 12953,
"tag": "KEY",
"value": "MDI5NDQ0NDQ1MzYxZjkxMzUzODliOGEwNGYyYjA3M2U... | app/assets/javascripts/classes/player.js.coffee | kad1001/phishin | 0 | class @Player
constructor: ->
@Util = App.Util
@sm = soundManager
@sm_sound = {}
@preload_time = 5000
@preload_started = false
@active_track = ''
@invoked = false
@muted = false
@scrubbing = false
@last_volu... | 47847 | class @Player
constructor: ->
@Util = App.Util
@sm = soundManager
@sm_sound = {}
@preload_time = 5000
@preload_started = false
@active_track = ''
@invoked = false
@muted = false
@scrubbing = false
@last_volu... | true | class @Player
constructor: ->
@Util = App.Util
@sm = soundManager
@sm_sound = {}
@preload_time = 5000
@preload_started = false
@active_track = ''
@invoked = false
@muted = false
@scrubbing = false
@last_volu... |
[
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/1/15 9",
"end": 16,
"score": 0.9990084767341614,
"start": 13,
"tag": "NAME",
"value": "易晓峰"
},
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/1/15 9:27 AM\n# Description: 成员与硬... | src/schema/member_device.coffee | kiteam/kiteam | 0 | # Author: 易晓峰
# E-mail: wvv8oo@gmail.com
# Date: 6/1/15 9:27 AM
# Description: 成员与硬件设备之间的关系,一般用于绑定设备号进行推送
exports.schema =
name: "member_device"
fields:
#关联的用户id
member_id: {type: 'integer', index: true}
#设备号
device_id: ""
#设备类型
device_type: ""
#发生的日期
timestamp: 'bigInt... | 71089 | # Author: <NAME>
# E-mail: <EMAIL>
# Date: 6/1/15 9:27 AM
# Description: 成员与硬件设备之间的关系,一般用于绑定设备号进行推送
exports.schema =
name: "member_device"
fields:
#关联的用户id
member_id: {type: 'integer', index: true}
#设备号
device_id: ""
#设备类型
device_type: ""
#发生的日期
timestamp: 'bigInteger' | true | # Author: PI:NAME:<NAME>END_PI
# E-mail: PI:EMAIL:<EMAIL>END_PI
# Date: 6/1/15 9:27 AM
# Description: 成员与硬件设备之间的关系,一般用于绑定设备号进行推送
exports.schema =
name: "member_device"
fields:
#关联的用户id
member_id: {type: 'integer', index: true}
#设备号
device_id: ""
#设备类型
device_type: ""
#发生的日期... |
[
{
"context": "te\n region: 'us-west-2',\n accessKeyId: 'AKIAIWDQD4EBC33YVQVA',\n secretAccessKey: 'S7V212lEl+f1FrXt6la7tyg",
"end": 122,
"score": 0.9995817542076111,
"start": 102,
"tag": "KEY",
"value": "AKIAIWDQD4EBC33YVQVA"
},
{
"context": ": 'AKIAIWDQD4EBC33YVQVA',\... | app/assets/javascripts/database.js.coffee | IvanUkhov/stop-stealing-sheep | 0 | class Database
constructor: ->
AWS.config.update
region: 'us-west-2',
accessKeyId: 'AKIAIWDQD4EBC33YVQVA',
secretAccessKey: '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'
@connection = new AWS.DynamoDB()
load: (callback) ->
if @records
callback(@records)
return
@connecti... | 47153 | class Database
constructor: ->
AWS.config.update
region: 'us-west-2',
accessKeyId: '<KEY>',
secretAccessKey: '<KEY>'
@connection = new AWS.DynamoDB()
load: (callback) ->
if @records
callback(@records)
return
@connection.scan { TableName: 'StopStealingSheep' }, (error... | true | class Database
constructor: ->
AWS.config.update
region: 'us-west-2',
accessKeyId: 'PI:KEY:<KEY>END_PI',
secretAccessKey: 'PI:KEY:<KEY>END_PI'
@connection = new AWS.DynamoDB()
load: (callback) ->
if @records
callback(@records)
return
@connection.scan { TableName: 'St... |
[
{
"context": "est this stuff.\nUSER_DATA = {}\nUSER_DATA.login = 'TEST_' + (new Date).toISOString().replace /\\W/g, '_'\nU",
"end": 185,
"score": 0.8297309279441833,
"start": 181,
"tag": "USERNAME",
"value": "TEST"
},
{
"context": "rCase() + '@zooniverse.org'\nUSER_DATA.password = 'p... | test/project-creation.coffee | camallen/Panoptes-Front-End | 0 | test = require 'blue-tape'
auth = require '../app/api/auth'
apiClient = require '../app/api/client'
# We need to be logged in to test this stuff.
USER_DATA = {}
USER_DATA.login = 'TEST_' + (new Date).toISOString().replace /\W/g, '_'
USER_DATA.email = USER_DATA.login.toLowerCase() + '@zooniverse.org'
USER_DATA.password... | 83920 | test = require 'blue-tape'
auth = require '../app/api/auth'
apiClient = require '../app/api/client'
# We need to be logged in to test this stuff.
USER_DATA = {}
USER_DATA.login = 'TEST_' + (new Date).toISOString().replace /\W/g, '_'
USER_DATA.email = USER_DATA.login.toLowerCase() + '@zooniverse.org'
USER_DATA.password... | true | test = require 'blue-tape'
auth = require '../app/api/auth'
apiClient = require '../app/api/client'
# We need to be logged in to test this stuff.
USER_DATA = {}
USER_DATA.login = 'TEST_' + (new Date).toISOString().replace /\W/g, '_'
USER_DATA.email = USER_DATA.login.toLowerCase() + '@zooniverse.org'
USER_DATA.password... |
[
{
"context": "ject.create({bam: 'bam'})\n @attrs = {label: 'World', as: 'blog', url: 'http://test.host'}\n @for",
"end": 137,
"score": 0.9575487971305847,
"start": 132,
"tag": "NAME",
"value": "World"
}
] | spec/src/inputs/text_field_spec.coffee | spodlecki/formtastic-js | 0 | describe '#text', ->
describe 'generic', ->
beforeEach ->
@object = Object.create({bam: 'bam'})
@attrs = {label: 'World', as: 'blog', url: 'http://test.host'}
@form = new Formtastic(@object, @attrs, (f)-> f.input('post', as: 'text', input_html: {value: 'hello'}))
@el = $('<div>'+@form.rend... | 37660 | describe '#text', ->
describe 'generic', ->
beforeEach ->
@object = Object.create({bam: 'bam'})
@attrs = {label: '<NAME>', as: 'blog', url: 'http://test.host'}
@form = new Formtastic(@object, @attrs, (f)-> f.input('post', as: 'text', input_html: {value: 'hello'}))
@el = $('<div>'+@form.ren... | true | describe '#text', ->
describe 'generic', ->
beforeEach ->
@object = Object.create({bam: 'bam'})
@attrs = {label: 'PI:NAME:<NAME>END_PI', as: 'blog', url: 'http://test.host'}
@form = new Formtastic(@object, @attrs, (f)-> f.input('post', as: 'text', input_html: {value: 'hello'}))
@el = $('<d... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9987857341766357,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-net-server-try-ports.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... | 112497 | # 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": "d to parentWidget\n setting = {}\n setting.key = \"hist-mode\"\n setting.isInitialized = false\n\n # initializat",
"end": 1420,
"score": 0.9816234111785889,
"start": 1411,
"tag": "KEY",
"value": "hist-mode"
}
] | src/components/widgets-settings/hist-mode/hist-mode.directive.coffee | maestrano/impac-angular | 7 | module = angular.module('impac.components.widgets-settings.hist-mode',[])
module.controller('SettingHistModeCtrl', ($scope, $translate, $timeout, ImpacWidgetsSvc, ImpacTheming) ->
w = $scope.parentWidget
w.isHistoryMode = w.metadata && w.metadata.hist_parameters && w.metadata.hist_parameters.mode == 'history'
... | 13694 | module = angular.module('impac.components.widgets-settings.hist-mode',[])
module.controller('SettingHistModeCtrl', ($scope, $translate, $timeout, ImpacWidgetsSvc, ImpacTheming) ->
w = $scope.parentWidget
w.isHistoryMode = w.metadata && w.metadata.hist_parameters && w.metadata.hist_parameters.mode == 'history'
... | true | module = angular.module('impac.components.widgets-settings.hist-mode',[])
module.controller('SettingHistModeCtrl', ($scope, $translate, $timeout, ImpacWidgetsSvc, ImpacTheming) ->
w = $scope.parentWidget
w.isHistoryMode = w.metadata && w.metadata.hist_parameters && w.metadata.hist_parameters.mode == 'history'
... |
[
{
"context": "###\n The MIT License\n\n Copyright (c) 2012 Andrew Cantino\n Copyright (c) 2009 Andrew Cantino & Kyle Maxwell",
"end": 56,
"score": 0.9998502731323242,
"start": 42,
"tag": "NAME",
"value": "Andrew Cantino"
},
{
"context": "yright (c) 2012 Andrew Cantino\n Copyright (c)... | lib/js/core/dom.js.coffee | ContentMine/selectorgadget | 2 | ###
The MIT License
Copyright (c) 2012 Andrew Cantino
Copyright (c) 2009 Andrew Cantino & Kyle Maxwell
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... | 123282 | ###
The MIT License
Copyright (c) 2012 <NAME>
Copyright (c) 2009 <NAME> & <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... | true | ###
The MIT License
Copyright (c) 2012 PI:NAME:<NAME>END_PI
Copyright (c) 2009 PI:NAME:<NAME>END_PI & 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 restrictio... |
[
{
"context": " it 'should clone', ->\n object =\n name: 'hello'\n result = clone(object)\n expect(object).to",
"end": 763,
"score": 0.9094412922859192,
"start": 758,
"tag": "NAME",
"value": "hello"
},
{
"context": "ts', ->\n circular =\n prop:\n name: 'f... | spec/util-spec.coffee | m69/deref | 14 | uri = require('../lib/util/helpers')
clone = require('../lib/util/clone-obj')
describe 'resolveURL()', ->
it 'should replace the last segment', ->
expect(uri.resolveURL('a', 'b')).toBe 'b'
expect(uri.resolveURL('x/y', 'z')).toBe 'x/z'
expect(uri.resolveURL('m', 'n/o')).toBe 'n/o'
expect(uri.resolveUR... | 53590 | uri = require('../lib/util/helpers')
clone = require('../lib/util/clone-obj')
describe 'resolveURL()', ->
it 'should replace the last segment', ->
expect(uri.resolveURL('a', 'b')).toBe 'b'
expect(uri.resolveURL('x/y', 'z')).toBe 'x/z'
expect(uri.resolveURL('m', 'n/o')).toBe 'n/o'
expect(uri.resolveUR... | true | uri = require('../lib/util/helpers')
clone = require('../lib/util/clone-obj')
describe 'resolveURL()', ->
it 'should replace the last segment', ->
expect(uri.resolveURL('a', 'b')).toBe 'b'
expect(uri.resolveURL('x/y', 'z')).toBe 'x/z'
expect(uri.resolveURL('m', 'n/o')).toBe 'n/o'
expect(uri.resolveUR... |
[
{
"context": "ata.qs' }\n { key: 'data.headers' }\n { key: 'data.body' }\n]\n",
"end": 132,
"score": 0.6404778361320496,
"start": 132,
"tag": "KEY",
"value": ""
}
] | jobs/do-http-request/form.cson | octoblu/meshblu-connector-http-connector | 0 | angular: [
{ key: 'data.requestOptions' }
{ key: 'data.encoding' }
{ key: 'data.qs' }
{ key: 'data.headers' }
{ key: 'data.body' }
]
| 208463 | angular: [
{ key: 'data.requestOptions' }
{ key: 'data.encoding' }
{ key: 'data.qs' }
{ key: 'data.headers' }
{ key: 'data<KEY>.body' }
]
| true | angular: [
{ key: 'data.requestOptions' }
{ key: 'data.encoding' }
{ key: 'data.qs' }
{ key: 'data.headers' }
{ key: 'dataPI:KEY:<KEY>END_PI.body' }
]
|
[
{
"context": "eq.params[0]\n\n # Check the fs cache\n cache_key = id + ',' + path\n current_date = new Date()\n if fs_cache[cache_k",
"end": 1308,
"score": 0.7916107773780823,
"start": 1293,
"tag": "KEY",
"value": "id + ',' + path"
}
] | app.coffee | WrErase/h5-streamer | 1 | express = require('express')
stylus = require('stylus')
fs = require('fs')
config = require('./config/config')
port = process.env.PORT || 3000
app = express.createServer(express.logger())
app.configure( ->
app.set('views', __dirname + '/views')
app.use(express.methodOverride())
app.use(express.body... | 143878 | express = require('express')
stylus = require('stylus')
fs = require('fs')
config = require('./config/config')
port = process.env.PORT || 3000
app = express.createServer(express.logger())
app.configure( ->
app.set('views', __dirname + '/views')
app.use(express.methodOverride())
app.use(express.body... | true | express = require('express')
stylus = require('stylus')
fs = require('fs')
config = require('./config/config')
port = process.env.PORT || 3000
app = express.createServer(express.logger())
app.configure( ->
app.set('views', __dirname + '/views')
app.use(express.methodOverride())
app.use(express.body... |
[
{
"context": " JSView - base class of all view object\n# Coded by Hajime Oh-yake 2013.03.25\n#*************************************",
"end": 109,
"score": 0.9998884201049805,
"start": 95,
"tag": "NAME",
"value": "Hajime Oh-yake"
},
{
"context": " @setFrame(@_frame)\n @setBa... | JSKit/02_JSView.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSView - base class of all view object
# Coded by Hajime Oh-yake 2013.03.25
#*****************************************
class JSView extends JSResponder
constructor: (@_frame = JSRectMake(0, 0, 320, 240))->
super()
@_parent = null
@_viewSelector =... | 159816 | #*****************************************
# JSView - base class of all view object
# Coded by <NAME> 2013.03.25
#*****************************************
class JSView extends JSResponder
constructor: (@_frame = JSRectMake(0, 0, 320, 240))->
super()
@_parent = null
@_viewSelector = "#"+@_o... | true | #*****************************************
# JSView - base class of all view object
# Coded by PI:NAME:<NAME>END_PI 2013.03.25
#*****************************************
class JSView extends JSResponder
constructor: (@_frame = JSRectMake(0, 0, 320, 240))->
super()
@_parent = null
@_viewSele... |
[
{
"context": "tions\n c = @canonicalize action.a\n key = (@bin c).toString()\n unless seen[key]\n res.push action\n ",
"end": 1674,
"score": 0.918647289276123,
"start": 1655,
"tag": "KEY",
"value": "(@bin c).toString()"
}
] | src/games/tic-tac-toe.coffee | jordao76/aye-aye | 4 | # -------------------------------------------------------
[_, X, O] = [' ', 'X', 'O']
empty = [_,_,_
_,_,_
_,_,_]
class Board
constructor: (@a = empty) ->
rows: (a=@a) -> (a[i...i+3] for i in [0...3*3] by 3)
columns: (a=@a) -> ([a[i],a[i+3],a[i+6]] for i in [0...3])
diagonals: (a=@a) -> [[a[... | 140959 | # -------------------------------------------------------
[_, X, O] = [' ', 'X', 'O']
empty = [_,_,_
_,_,_
_,_,_]
class Board
constructor: (@a = empty) ->
rows: (a=@a) -> (a[i...i+3] for i in [0...3*3] by 3)
columns: (a=@a) -> ([a[i],a[i+3],a[i+6]] for i in [0...3])
diagonals: (a=@a) -> [[a[... | true | # -------------------------------------------------------
[_, X, O] = [' ', 'X', 'O']
empty = [_,_,_
_,_,_
_,_,_]
class Board
constructor: (@a = empty) ->
rows: (a=@a) -> (a[i...i+3] for i in [0...3*3] by 3)
columns: (a=@a) -> ([a[i],a[i+3],a[i+6]] for i in [0...3])
diagonals: (a=@a) -> [[a[... |
[
{
"context": "'skynet'\n uuid: meshbluJSON.uuid\n token: meshbluJSON.token\n # host: meshbluJSON.server\n # portNumb",
"end": 350,
"score": 0.942482054233551,
"start": 333,
"tag": "PASSWORD",
"value": "meshbluJSON.token"
}
] | server.coffee | octoblu/meshblu-edison-synergy | 0 | Cylon = require 'cylon'
_ = require 'lodash'
meshbluJSON = require './meshblu.json'
EdisonSensor = require './edison-sensor'
_.defaults meshbluJSON, {server: 'meshblu.octoblu.com', port: 443 }
Cylon.robot(
connections:
edison: adaptor: 'intel-iot'
skynet:
adaptor: 'skynet'
uuid: meshbluJSON.uuid
... | 202666 | Cylon = require 'cylon'
_ = require 'lodash'
meshbluJSON = require './meshblu.json'
EdisonSensor = require './edison-sensor'
_.defaults meshbluJSON, {server: 'meshblu.octoblu.com', port: 443 }
Cylon.robot(
connections:
edison: adaptor: 'intel-iot'
skynet:
adaptor: 'skynet'
uuid: meshbluJSON.uuid
... | true | Cylon = require 'cylon'
_ = require 'lodash'
meshbluJSON = require './meshblu.json'
EdisonSensor = require './edison-sensor'
_.defaults meshbluJSON, {server: 'meshblu.octoblu.com', port: 443 }
Cylon.robot(
connections:
edison: adaptor: 'intel-iot'
skynet:
adaptor: 'skynet'
uuid: meshbluJSON.uuid
... |
[
{
"context": "#\n# Commands:\n# \thubot quay status\n#\n# Author:\n# \tJonGretar\n#\nquerystring = require('querystring');\nquay_room",
"end": 179,
"score": 0.997744619846344,
"start": 170,
"tag": "NAME",
"value": "JonGretar"
}
] | src/scripts/quay.coffee | tagplay/hubot-quay | 1 | # Description:
# Quay.io support.
#
# Dependencies:
#
# Configuration:
# HUBOT_QUAY_SECRET
# HUBOT_QUAY_DEFAULT_ROOM
#
# Commands:
# hubot quay status
#
# Author:
# JonGretar
#
querystring = require('querystring');
quay_room = process.env.HUBOT_QUAY_DEFAULT_ROOM
quay_secret = process.env.HUBOT_QUAY_SECRET
buildin... | 92603 | # Description:
# Quay.io support.
#
# Dependencies:
#
# Configuration:
# HUBOT_QUAY_SECRET
# HUBOT_QUAY_DEFAULT_ROOM
#
# Commands:
# hubot quay status
#
# Author:
# <NAME>
#
querystring = require('querystring');
quay_room = process.env.HUBOT_QUAY_DEFAULT_ROOM
quay_secret = process.env.HUBOT_QUAY_SECRET
building =... | true | # Description:
# Quay.io support.
#
# Dependencies:
#
# Configuration:
# HUBOT_QUAY_SECRET
# HUBOT_QUAY_DEFAULT_ROOM
#
# Commands:
# hubot quay status
#
# Author:
# PI:NAME:<NAME>END_PI
#
querystring = require('querystring');
quay_room = process.env.HUBOT_QUAY_DEFAULT_ROOM
quay_secret = process.env.HUBOT_QUAY_SECR... |
[
{
"context": " value={@state.email}\n placeholder=\"carnegie@andrew.cmu.edu\"\n onChange={@onChangeEmail}\n ",
"end": 2064,
"score": 0.9999217391014099,
"start": 2041,
"tag": "EMAIL",
"value": "carnegie@andrew.cmu.edu"
}
] | public/src/queue.cjsx | jez/cmd-queue | 6 | _ = require 'underscore'
$ = require 'jquery'
moment = require 'moment'
React = require 'react/addons'
util = require './util.coffee'
{ AddButton, DoneButton } = require './buttons.cjsx'
{List, ListItem} = require './list.cjsx'
{Form, TextInput, Checkbox} = require './forms.cjsx'
Spot = React.create... | 63898 | _ = require 'underscore'
$ = require 'jquery'
moment = require 'moment'
React = require 'react/addons'
util = require './util.coffee'
{ AddButton, DoneButton } = require './buttons.cjsx'
{List, ListItem} = require './list.cjsx'
{Form, TextInput, Checkbox} = require './forms.cjsx'
Spot = React.create... | true | _ = require 'underscore'
$ = require 'jquery'
moment = require 'moment'
React = require 'react/addons'
util = require './util.coffee'
{ AddButton, DoneButton } = require './buttons.cjsx'
{List, ListItem} = require './list.cjsx'
{Form, TextInput, Checkbox} = require './forms.cjsx'
Spot = React.create... |
[
{
"context": "extends AbstractDialog\n PARAM_KEYS: [\"client_id\", \"redirect_uri\", \"client_secret\", \"response_type",
"end": 4111,
"score": 0.5995872020721436,
"start": 4109,
"tag": "KEY",
"value": "id"
}
] | components/soundcloud/src/sc/dialog.coffee | mizukai/sample | 91 | window.SC = SC.Helper.merge SC || {},
_dialogsPath: "/dialogs"
dialog: (dialogName, optionsOrCallback, callback) ->
a = SC.Helper.extractOptionsAndCallbackArguments(optionsOrCallback, callback)
options = a.options; callback = a.callback
options.callback = callback
options.redirect_uri = @options.re... | 27482 | window.SC = SC.Helper.merge SC || {},
_dialogsPath: "/dialogs"
dialog: (dialogName, optionsOrCallback, callback) ->
a = SC.Helper.extractOptionsAndCallbackArguments(optionsOrCallback, callback)
options = a.options; callback = a.callback
options.callback = callback
options.redirect_uri = @options.re... | true | window.SC = SC.Helper.merge SC || {},
_dialogsPath: "/dialogs"
dialog: (dialogName, optionsOrCallback, callback) ->
a = SC.Helper.extractOptionsAndCallbackArguments(optionsOrCallback, callback)
options = a.options; callback = a.callback
options.callback = callback
options.redirect_uri = @options.re... |
[
{
"context": "ustAsHtml('Created by <a href=\"https://github.com/tjumyk\" target=\"_blank\">Kelvin Miao</a>')\n\n $scope.form",
"end": 701,
"score": 0.9995541572570801,
"start": 695,
"tag": "USERNAME",
"value": "tjumyk"
},
{
"context": " href=\"https://github.com/tjumyk\" target=\"_... | gophotos/static/js/app.coffee | tjumyk/gophotos | 0 | angular.module 'app', ['ngRoute', 'ngSanitize']
.config ['$routeProvider', '$locationProvider', ($routeProvider, $locationProvider)->
$locationProvider.html5Mode(true)
$routeProvider
.when '/',
templateUrl: '/static/ui/home.html'
controller: 'HomeController'
.when '/shared/:sid',
templateU... | 46306 | angular.module 'app', ['ngRoute', 'ngSanitize']
.config ['$routeProvider', '$locationProvider', ($routeProvider, $locationProvider)->
$locationProvider.html5Mode(true)
$routeProvider
.when '/',
templateUrl: '/static/ui/home.html'
controller: 'HomeController'
.when '/shared/:sid',
templateU... | true | angular.module 'app', ['ngRoute', 'ngSanitize']
.config ['$routeProvider', '$locationProvider', ($routeProvider, $locationProvider)->
$locationProvider.html5Mode(true)
$routeProvider
.when '/',
templateUrl: '/static/ui/home.html'
controller: 'HomeController'
.when '/shared/:sid',
templateU... |
[
{
"context": " projectname: \"Foo\"\n logo: \"https://github.com/coderofsalvation/coffeerest-api/raw/master/coffeerest.png\"\n hos",
"end": 135,
"score": 0.9996771216392517,
"start": 119,
"tag": "USERNAME",
"value": "coderofsalvation"
},
{
"context": "/ HINT: use a REST client ... | test/model.coffee | coderofsalvation/coffeerest-api | 1 | module.exports = {
host: "localhost:4040"
doc:
version: 1
projectname: "Foo"
logo: "https://github.com/coderofsalvation/coffeerest-api/raw/master/coffeerest.png"
host: "http://mydomain.com"
homepage: "http://mydomain.com/about"
security: "Requests are authorized by adding a 'X-FOO-TOKEN: YOU... | 58515 | module.exports = {
host: "localhost:4040"
doc:
version: 1
projectname: "Foo"
logo: "https://github.com/coderofsalvation/coffeerest-api/raw/master/coffeerest.png"
host: "http://mydomain.com"
homepage: "http://mydomain.com/about"
security: "Requests are authorized by adding a 'X-FOO-TOKEN: YOU... | true | module.exports = {
host: "localhost:4040"
doc:
version: 1
projectname: "Foo"
logo: "https://github.com/coderofsalvation/coffeerest-api/raw/master/coffeerest.png"
host: "http://mydomain.com"
homepage: "http://mydomain.com/about"
security: "Requests are authorized by adding a 'X-FOO-TOKEN: YOU... |
[
{
"context": "]\n noConflict: true\n\n name: 'modName'\n kind: 'AMD'\n factoryBody:",
"end": 21534,
"score": 0.9187497496604919,
"start": 21531,
"tag": "NAME",
"value": "mod"
},
{
"context": " noConflict: true\n\n name: 'modN... | source/spec/fileResources/Module-spec.coffee | gaybro8777/uRequire | 103 | Module = require "../../code/fileResources/Module"
isLikeCode = require "../../code/codeUtils/isLikeCode"
isEqualCode = require "../../code/codeUtils/isEqualCode"
toCode = require "../../code/codeUtils/toCode"
# replace depStrings @ indexes with a String() having 'untrusted:true` property
untrust = (indexes, depsStri... | 191734 | Module = require "../../code/fileResources/Module"
isLikeCode = require "../../code/codeUtils/isLikeCode"
isEqualCode = require "../../code/codeUtils/isEqualCode"
toCode = require "../../code/codeUtils/toCode"
# replace depStrings @ indexes with a String() having 'untrusted:true` property
untrust = (indexes, depsStri... | true | Module = require "../../code/fileResources/Module"
isLikeCode = require "../../code/codeUtils/isLikeCode"
isEqualCode = require "../../code/codeUtils/isEqualCode"
toCode = require "../../code/codeUtils/toCode"
# replace depStrings @ indexes with a String() having 'untrusted:true` property
untrust = (indexes, depsStri... |
[
{
"context": " def=\"www.cherenkof.nl:8181\"\ntoken def=\"12345\"\n\nendfolder\n\"\"\"\n\nparse_props = ( lst, obj ) ->\n ",
"end": 2235,
"score": 0.9945918321609497,
"start": 2230,
"tag": "PASSWORD",
"value": "12345"
}
] | rba/www/aa3d/params.coffee | tamasgal/rba | 0 |
String.prototype.contains = (it) -> return @indexOf(it) != -1
#
# - a ^ before the callback name means it onFinishChange will be used
pardesc = """
folder Detector
bgColor def=000022 callback=setBackgroundColor
floorColor def=484830 callback=addFloor
floorOpacity def=0... | 62918 |
String.prototype.contains = (it) -> return @indexOf(it) != -1
#
# - a ^ before the callback name means it onFinishChange will be used
pardesc = """
folder Detector
bgColor def=000022 callback=setBackgroundColor
floorColor def=484830 callback=addFloor
floorOpacity def=0... | true |
String.prototype.contains = (it) -> return @indexOf(it) != -1
#
# - a ^ before the callback name means it onFinishChange will be used
pardesc = """
folder Detector
bgColor def=000022 callback=setBackgroundColor
floorColor def=484830 callback=addFloor
floorOpacity def=0... |
[
{
"context": "bbler.com/2.0/' +\n '?api_key=c513f3a2a2dad1d1a07021e181df1b1f' +\n '&format=json&method='\n ",
"end": 377,
"score": 0.9997400045394897,
"start": 345,
"tag": "KEY",
"value": "c513f3a2a2dad1d1a07021e181df1b1f"
},
{
"context": " ... | coffee/_trackSource.coffee | yayanheeh/yam | 468 | # global Requestor, History, Playlists
class TrackSource
@_defaultImageCover: 'images/cover_default_large.png'
@_itunesCommonUrl: 'http://itunes.apple.com/search' +
'?media=music&limit=100' +
'&entity='
@lastfmCommonUrl: 'http://ws.audioscrobbler.com/2.0/' +
... | 215898 | # global Requestor, History, Playlists
class TrackSource
@_defaultImageCover: 'images/cover_default_large.png'
@_itunesCommonUrl: 'http://itunes.apple.com/search' +
'?media=music&limit=100' +
'&entity='
@lastfmCommonUrl: 'http://ws.audioscrobbler.com/2.0/' +
... | true | # global Requestor, History, Playlists
class TrackSource
@_defaultImageCover: 'images/cover_default_large.png'
@_itunesCommonUrl: 'http://itunes.apple.com/search' +
'?media=music&limit=100' +
'&entity='
@lastfmCommonUrl: 'http://ws.audioscrobbler.com/2.0/' +
... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998416900634766,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/animation/skeleton.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 62577 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "Schema.virtual 'rooms'\n .get -> @_rooms\n .set (@_rooms) -> @_rooms\n\nTeamSchema.virtual 'members'\n ",
"end": 2107,
"score": 0.8068347573280334,
"start": 2107,
"tag": "USERNAME",
"value": ""
},
{
"context": "chema.virtual 'members'\n .get -> @_members\n .set (@_... | talk-api2x/server/schemas/team.coffee | ikingye/talk-os | 3,084 | ###*
* Indexes:
* - db.teams.ensureIndex({sourceId: 1, source: 1}, {unique: true, sparse: true, background: true})
* - db.teams.ensureIndex({inviteCode: 1}, {unique: true, sparse: true, background: true})
* - db.teams.ensureIndex({shortName: 1}, {unique: true, sparse: true, background: true})
###
{Schema} = require... | 224560 | ###*
* Indexes:
* - db.teams.ensureIndex({sourceId: 1, source: 1}, {unique: true, sparse: true, background: true})
* - db.teams.ensureIndex({inviteCode: 1}, {unique: true, sparse: true, background: true})
* - db.teams.ensureIndex({shortName: 1}, {unique: true, sparse: true, background: true})
###
{Schema} = require... | true | ###*
* Indexes:
* - db.teams.ensureIndex({sourceId: 1, source: 1}, {unique: true, sparse: true, background: true})
* - db.teams.ensureIndex({inviteCode: 1}, {unique: true, sparse: true, background: true})
* - db.teams.ensureIndex({shortName: 1}, {unique: true, sparse: true, background: true})
###
{Schema} = require... |
[
{
"context": "/_/ \\__/\\__/\n\n\n\n\n# MIT License\n\nCopyright (c) 2015 Bruce Davidson <darkoverlordofdata@gmail.com>\n\nPermission ",
"end": 326,
"score": 0.9998367428779602,
"start": 312,
"tag": "NAME",
"value": "Bruce Davidson"
},
{
"context": "IT License\n\nCopyright (c) ... | lib/index.coffee | darkoverlordofdata/score | 0 | ###
______ __ __
/_ __/__ __ _ ___ / /__ _/ /____
/ / / -_) ' \/ _ \/ / _ `/ __/ -_)
/_/ \__/_/_/_/ .__/_/\_,_/\__/\__/
___/_/ ______
/ ___/__ / _/ _/__ ___
_/ /__/ _ \/ _/ _/ -_) -_)
(_)___/\___/_//_/ \__/\__/
# MIT License
Copyright (c) 2015 Bruce Da... | 160277 | ###
______ __ __
/_ __/__ __ _ ___ / /__ _/ /____
/ / / -_) ' \/ _ \/ / _ `/ __/ -_)
/_/ \__/_/_/_/ .__/_/\_,_/\__/\__/
___/_/ ______
/ ___/__ / _/ _/__ ___
_/ /__/ _ \/ _/ _/ -_) -_)
(_)___/\___/_//_/ \__/\__/
# MIT License
Copyright (c) 2015 <NAME> &... | true | ###
______ __ __
/_ __/__ __ _ ___ / /__ _/ /____
/ / / -_) ' \/ _ \/ / _ `/ __/ -_)
/_/ \__/_/_/_/ .__/_/\_,_/\__/\__/
___/_/ ______
/ ___/__ / _/ _/__ ___
_/ /__/ _ \/ _/ _/ -_) -_)
(_)___/\___/_//_/ \__/\__/
# MIT License
Copyright (c) 2015 PI:NAME:... |
[
{
"context": "->\n for key, type of spec\n key = [name, key].join '.'\n short = shorthand key\n\n ",
"end": 9396,
"score": 0.5534869432449341,
"start": 9396,
"tag": "KEY",
"value": ""
},
{
"context": " for key, type of spec\n key = [name, key].join '.'... | src/model/attributes.coffee | thebigbrain/mathbox | 862 | ###
Custom attribute model
- Organizes attributes by trait in .attributes
- Provides constant-time .props / .get() access to flat dictionary
- Provides .get(key) with or without trait namespaces
- Change attributes with .set(key) or .set(dictionary)
- Validation is double-buffered and in-place to detect changes a... | 19276 | ###
Custom attribute model
- Organizes attributes by trait in .attributes
- Provides constant-time .props / .get() access to flat dictionary
- Provides .get(key) with or without trait namespaces
- Change attributes with .set(key) or .set(dictionary)
- Validation is double-buffered and in-place to detect changes a... | true | ###
Custom attribute model
- Organizes attributes by trait in .attributes
- Provides constant-time .props / .get() access to flat dictionary
- Provides .get(key) with or without trait namespaces
- Change attributes with .set(key) or .set(dictionary)
- Validation is double-buffered and in-place to detect changes a... |
[
{
"context": "########\n#######\n###\n Fit Composition 3D\n (C) あかつきみさき(みくちぃP)\n\n このスクリプトについて\n 3Dレイヤーをアクティブカメラを使用して,コン",
"end": 59,
"score": 0.9881301522254944,
"start": 52,
"tag": "NAME",
"value": "あかつきみさき"
}
] | Fit Composition 3D.coffee | MisakiAkatsuki/Fit-Composition-3D | 1 | ##########
#######
###
Fit Composition 3D
(C) あかつきみさき(みくちぃP)
このスクリプトについて
3Dレイヤーをアクティブカメラを使用して,コンポジションサイズにフィットするようにリサイズします.
使用方法
1.ファイル→スクリプト→スクリプトファイルの実行から実行.
動作環境
Adobe After Effects CS6以上
ライセンス
MIT License
バージョン情報
2016/11/05 Ver 2.1.0 Update
対応バージョンの変更.
2014/01/06 V... | 78464 | ##########
#######
###
Fit Composition 3D
(C) <NAME>(みくちぃP)
このスクリプトについて
3Dレイヤーをアクティブカメラを使用して,コンポジションサイズにフィットするようにリサイズします.
使用方法
1.ファイル→スクリプト→スクリプトファイルの実行から実行.
動作環境
Adobe After Effects CS6以上
ライセンス
MIT License
バージョン情報
2016/11/05 Ver 2.1.0 Update
対応バージョンの変更.
2014/01/06 Ve... | true | ##########
#######
###
Fit Composition 3D
(C) PI:NAME:<NAME>END_PI(みくちぃP)
このスクリプトについて
3Dレイヤーをアクティブカメラを使用して,コンポジションサイズにフィットするようにリサイズします.
使用方法
1.ファイル→スクリプト→スクリプトファイルの実行から実行.
動作環境
Adobe After Effects CS6以上
ライセンス
MIT License
バージョン情報
2016/11/05 Ver 2.1.0 Update
対応バージョンの変更.
... |
[
{
"context": "roperty '#{methodName}' to be a function\")\n\n\tkey = \"#{prefix}.#{methodName}\"\n\n\trealMethod = obj[methodName]\n\n\tsplitPrefix = pr",
"end": 251,
"score": 0.9293534755706787,
"start": 226,
"tag": "KEY",
"value": "\"#{prefix}.#{methodName}\""
}
] | timeAsyncMethod.coffee | j-licht/metrics-module | 0 |
module.exports = (obj, methodName, prefix, logger) ->
metrics = require('./metrics')
if typeof obj[methodName] != 'function'
throw new Error("[Metrics] expected object property '#{methodName}' to be a function")
key = "#{prefix}.#{methodName}"
realMethod = obj[methodName]
splitPrefix = prefix.split(".")
st... | 135495 |
module.exports = (obj, methodName, prefix, logger) ->
metrics = require('./metrics')
if typeof obj[methodName] != 'function'
throw new Error("[Metrics] expected object property '#{methodName}' to be a function")
key = <KEY>
realMethod = obj[methodName]
splitPrefix = prefix.split(".")
startPrefix = splitPre... | true |
module.exports = (obj, methodName, prefix, logger) ->
metrics = require('./metrics')
if typeof obj[methodName] != 'function'
throw new Error("[Metrics] expected object property '#{methodName}' to be a function")
key = PI:KEY:<KEY>END_PI
realMethod = obj[methodName]
splitPrefix = prefix.split(".")
startPref... |
[
{
"context": "ews/i_protocol')\n\n options = {\n journalname: \"testjournal\"\n }\n\n beforeEach (finish) ->\n console.log 'S",
"end": 334,
"score": 0.9672509431838989,
"start": 323,
"tag": "USERNAME",
"value": "testjournal"
},
{
"context": " kind: \"ADD_DEPOSIT\"\n... | test/test_ews.coffee | CmptAdam/buttercoin | 146 | Q = require('q')
stump = require('stump')
describe 'EWS', ->
EngineWebsocketServer = require('../lib/ews/ew_server')
EngineWebsocketSlave = require('../lib/ews/ew_slave')
WebsocketInitiator = require('../lib/ews/ws_initiator')
InitiatorProtocol = require('../lib/ews/i_protocol')
options = {
journalname... | 203027 | Q = require('q')
stump = require('stump')
describe 'EWS', ->
EngineWebsocketServer = require('../lib/ews/ew_server')
EngineWebsocketSlave = require('../lib/ews/ew_slave')
WebsocketInitiator = require('../lib/ews/ws_initiator')
InitiatorProtocol = require('../lib/ews/i_protocol')
options = {
journalname... | true | Q = require('q')
stump = require('stump')
describe 'EWS', ->
EngineWebsocketServer = require('../lib/ews/ew_server')
EngineWebsocketSlave = require('../lib/ews/ew_slave')
WebsocketInitiator = require('../lib/ews/ws_initiator')
InitiatorProtocol = require('../lib/ews/i_protocol')
options = {
journalname... |
[
{
"context": "###\n * @author \t\tAbdelhakim RAFIK\n * @version \tv1.0.1\n * @license \tMIT License\n * @",
"end": 33,
"score": 0.9998924136161804,
"start": 17,
"tag": "NAME",
"value": "Abdelhakim RAFIK"
},
{
"context": "nse \tMIT License\n * @copyright \tCopyright (c) 2021 Abdelhaki... | src/database/migrations/2021032400005-create-users.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 users table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Users',
id:
allowNull: false
aut... | 116191 | ###
* @author <NAME>
* @version v1.0.1
* @license MIT License
* @copyright Copyright (c) 2021 <NAME>
* @date Mar 2021
###
###
Create users table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Users',
id:
allowNull: false
autoIncrement: true
... | 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 users table migration
###
module.exports =
up: (queryInterface, Sequelize) ->
queryInterface.createTable 'Users',
id:
allowNull: false... |
[
{
"context": "##########################\n# Gulp Config\n# Author: matt@wintr.us @ WINTR\n#########################################",
"end": 95,
"score": 0.9999103546142578,
"start": 82,
"tag": "EMAIL",
"value": "matt@wintr.us"
},
{
"context": "##########\n# Gulp Config\n# Author: ma... | gulpfile.coffee | WikiEducationFoundation/WikiEduWizard | 1 | #########################################################
# Gulp Config
# Author: matt@wintr.us @ WINTR
#########################################################
#--------------------------------------------------------
# Requirements
#--------------------------------------------------------
gulp = require ... | 94657 | #########################################################
# Gulp Config
# Author: <EMAIL> @ WINTR
#########################################################
#--------------------------------------------------------
# Requirements
#--------------------------------------------------------
gulp = require 'gulp'... | true | #########################################################
# Gulp Config
# Author: PI:EMAIL:<EMAIL>END_PI @ WINTR
#########################################################
#--------------------------------------------------------
# Requirements
#--------------------------------------------------------
gulp =... |
[
{
"context": "lick', (e) ->\n stripeHandler.open\n name: 'Hack Club',\n description: constructStripeCheckout",
"end": 3305,
"score": 0.5220485329627991,
"start": 3301,
"tag": "NAME",
"value": "Hack"
}
] | app/assets/javascripts/donations.js.coffee | ad510/hackclub-website | 5 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
PENNY_COST_PER_STUDENT = 300;
IMPACT_DURATION_RECURRING = 'every month'
IMPACT_DURATION_ONE_TIME = 'for a mo... | 99568 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
PENNY_COST_PER_STUDENT = 300;
IMPACT_DURATION_RECURRING = 'every month'
IMPACT_DURATION_ONE_TIME = 'for a mo... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
PENNY_COST_PER_STUDENT = 300;
IMPACT_DURATION_RECURRING = 'every month'
IMPACT_DURATION_ONE_TIME = 'for a mo... |
[
{
"context": "onfig.host,\n user : config.user,\n password : config.password,\n database : config.database\n})\n\nmodule.export",
"end": 207,
"score": 0.730767548084259,
"start": 192,
"tag": "PASSWORD",
"value": "config.password"
}
] | src/database.coffee | technogeek00/hipchat-pokemon-go | 3 | mysql = require('mysql')
config = require('../config.json').mysql
connectionPool = mysql.createPool({
connectionLimit : 10,
host : config.host,
user : config.user,
password : config.password,
database : config.database
})
module.exports = connectionPool | 140147 | mysql = require('mysql')
config = require('../config.json').mysql
connectionPool = mysql.createPool({
connectionLimit : 10,
host : config.host,
user : config.user,
password : <PASSWORD>,
database : config.database
})
module.exports = connectionPool | true | mysql = require('mysql')
config = require('../config.json').mysql
connectionPool = mysql.createPool({
connectionLimit : 10,
host : config.host,
user : config.user,
password : PI:PASSWORD:<PASSWORD>END_PI,
database : config.database
})
module.exports = connectionPool |
[
{
"context": "erms of the MIT license.\nCopyright 2012 - 2015 (c) Markus Kohlhase <mail@markus-kohlhase.de>\n###\n\nkeys = [\n 'total'",
"end": 109,
"score": 0.9998958110809326,
"start": 94,
"tag": "NAME",
"value": "Markus Kohlhase"
},
{
"context": "cense.\nCopyright 2012 - 2015 (c)... | src/sloc.coffee | noscripter/sloc | 0 | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2015 (c) Markus Kohlhase <mail@markus-kohlhase.de>
###
keys = [
'total' # physical lines of code
'source' # lines of source
'comment' # lines with comments
'single' # lines with single-line comments
'block' #... | 97084 | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2015 (c) <NAME> <<EMAIL>>
###
keys = [
'total' # physical lines of code
'source' # lines of source
'comment' # lines with comments
'single' # lines with single-line comments
'block' # lines with block comment... | true | ###
This program is distributed under the terms of the MIT license.
Copyright 2012 - 2015 (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
###
keys = [
'total' # physical lines of code
'source' # lines of source
'comment' # lines with comments
'single' # lines with single-line comments
'block' ... |
[
{
"context": "get 'shows.query', {year: 2013, month: 8, apikey: 123456}, (err, _, results) ->\n expect(request.g",
"end": 826,
"score": 0.992360532283783,
"start": 820,
"tag": "KEY",
"value": "123456"
},
{
"context": "8'\n expect(queryParams.apikey).to.equal '123456... | test/pnet_test.coffee | benjreinhart/pnet | 2 | URL = require 'url'
pnet = require '../'
sinon = require 'sinon'
request = require 'request'
{expect} = require 'chai'
parseQueryString = (qs) ->
qs.split('&').reduce ((memo, pair) ->
[key, value] = pair.split('=')
memo[key] = value
memo
), {}
describe 'pnet', ->
afterEach ->
request.get.restore... | 166476 | URL = require 'url'
pnet = require '../'
sinon = require 'sinon'
request = require 'request'
{expect} = require 'chai'
parseQueryString = (qs) ->
qs.split('&').reduce ((memo, pair) ->
[key, value] = pair.split('=')
memo[key] = value
memo
), {}
describe 'pnet', ->
afterEach ->
request.get.restore... | true | URL = require 'url'
pnet = require '../'
sinon = require 'sinon'
request = require 'request'
{expect} = require 'chai'
parseQueryString = (qs) ->
qs.split('&').reduce ((memo, pair) ->
[key, value] = pair.split('=')
memo[key] = value
memo
), {}
describe 'pnet', ->
afterEach ->
request.get.restore... |
[
{
"context": "irtual/config'\n auth:\n username: 'team-uuid'\n password: 'team-token'\n json:\n ",
"end": 1597,
"score": 0.9987335205078125,
"start": 1588,
"tag": "USERNAME",
"value": "team-uuid"
},
{
"context": " username: 'team-uuid'\n ... | test/integration/virtual-config-event-spec.coffee | octoblu/shadow-service | 0 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
describe 'POST /virtual/config', ->
beforeEach (done) ->
@meshblu = shmock 0xb33f
meshbluConfig =
server: 'localhost'
port: 0xb33f
@server = new Server
port: undefi... | 157196 | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
describe 'POST /virtual/config', ->
beforeEach (done) ->
@meshblu = shmock 0xb33f
meshbluConfig =
server: 'localhost'
port: 0xb33f
@server = new Server
port: undefi... | true | http = require 'http'
request = require 'request'
shmock = require '@octoblu/shmock'
Server = require '../../src/server'
describe 'POST /virtual/config', ->
beforeEach (done) ->
@meshblu = shmock 0xb33f
meshbluConfig =
server: 'localhost'
port: 0xb33f
@server = new Server
port: undefi... |
[
{
"context": "extract_url || \"http://api.embed.ly/1/extract?key=86c28a410a104c8bb58848733c82f840&url=\"\n @default_loading_placeholder = opts.def",
"end": 1281,
"score": 0.9997474551200867,
"start": 1249,
"tag": "KEY",
"value": "86c28a410a104c8bb58848733c82f840"
}
] | bower_components/dante/app/assets/javascripts/dante/editor.js.coffee | MYSHLIFE/happy | 0 |
utils = Dante.utils
class Dante.Editor extends Dante.View
events:
"mouseup" : "handleMouseUp"
"keydown" : "handleKeyDown"
"keyup" : "handleKeyUp"
"paste" : "handlePaste"
"dblclick" : "handleDblclick"
"dragstart": "handleDrag"
"drop" : "handleDrag"
"click .graf--figure .a... | 40168 |
utils = Dante.utils
class Dante.Editor extends Dante.View
events:
"mouseup" : "handleMouseUp"
"keydown" : "handleKeyDown"
"keyup" : "handleKeyUp"
"paste" : "handlePaste"
"dblclick" : "handleDblclick"
"dragstart": "handleDrag"
"drop" : "handleDrag"
"click .graf--figure .a... | true |
utils = Dante.utils
class Dante.Editor extends Dante.View
events:
"mouseup" : "handleMouseUp"
"keydown" : "handleKeyDown"
"keyup" : "handleKeyUp"
"paste" : "handlePaste"
"dblclick" : "handleDblclick"
"dragstart": "handleDrag"
"drop" : "handleDrag"
"click .graf--figure .a... |
[
{
"context": "erplot -c \"select * from U.variables where key ~ 'harfb' order by key\" \"\"\"\n command = \"\"\"psql -U inter",
"end": 1206,
"score": 0.9971194267272949,
"start": 1201,
"tag": "KEY",
"value": "harfb"
}
] | dev/snippets/src/running-psql-from-node.coffee | loveencounterflow/hengist | 0 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'SNIPPETS/PSQL'
debug = CND.get_logger 'debug', badge
alert ... | 107765 |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'SNIPPETS/PSQL'
debug = CND.get_logger 'debug', badge
alert ... | true |
'use strict'
############################################################################################################
CND = require 'cnd'
rpr = CND.rpr
badge = 'SNIPPETS/PSQL'
debug = CND.get_logger 'debug', badge
alert ... |
[
{
"context": " 'this is a comment form'\n\ndata = [\n author: \"Pete Hunt\", text: \"This is one comment\"\n,\n author: \"Jordan",
"end": 734,
"score": 0.9998951554298401,
"start": 725,
"tag": "NAME",
"value": "Pete Hunt"
},
{
"context": "e Hunt\", text: \"This is one comment\"\... | coffee/main.coffee | mvc-works/coffee-react-dom | 1 |
dom = require './dom'
# need this unless `window.React.DOM` exists
# dom._init React.DOM
Comment = React.createClass
displayName: 'Comment'
render: ->
props = @props
dom -> @div className: 'comment',
@h2 className: 'comment-author', props.author
props.children
CommentList = React.createClass... | 66758 |
dom = require './dom'
# need this unless `window.React.DOM` exists
# dom._init React.DOM
Comment = React.createClass
displayName: 'Comment'
render: ->
props = @props
dom -> @div className: 'comment',
@h2 className: 'comment-author', props.author
props.children
CommentList = React.createClass... | true |
dom = require './dom'
# need this unless `window.React.DOM` exists
# dom._init React.DOM
Comment = React.createClass
displayName: 'Comment'
render: ->
props = @props
dom -> @div className: 'comment',
@h2 className: 'comment-author', props.author
props.children
CommentList = React.createClass... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.6586912870407104,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/EventPump.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./ComponentSelector'
], (dou, ComponentSelector) ->
"use strict"
control = (root, listener, ... | 186935 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./ComponentSelector'
], (dou, ComponentSelector) ->
"use strict"
control = (root, listener,... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'./ComponentSelector'
], (dou, ComponentSelector) ->
"use strict"
control = (r... |
[
{
"context": " an argument:\n\n ```js\n up.layer.accept({ name: 'Anna', email: 'anna@domain.tld' })\n ```\n\n To *dismis",
"end": 5826,
"score": 0.9950599074363708,
"start": 5822,
"tag": "NAME",
"value": "Anna"
},
{
"context": " ```js\n up.layer.accept({ name: 'Anna', email: 'a... | lib/assets/javascripts/unpoly/pages/closing-overlays.coffee | pfw/unpoly | 0 | ###**
Closing overlays
================
This page explains the many different ways to close an [overlay](/up.layer) in Unpoly.
In addition to making the overlay disappear, you may also communicate a result value back
to the parent layer. This is useful to branch off a complex user interaction into an over... | 119224 | ###**
Closing overlays
================
This page explains the many different ways to close an [overlay](/up.layer) in Unpoly.
In addition to making the overlay disappear, you may also communicate a result value back
to the parent layer. This is useful to branch off a complex user interaction into an over... | true | ###**
Closing overlays
================
This page explains the many different ways to close an [overlay](/up.layer) in Unpoly.
In addition to making the overlay disappear, you may also communicate a result value back
to the parent layer. This is useful to branch off a complex user interaction into an over... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999173283576965,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/_classes/timeago.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Timeago
constructor: ->
@observer = new MutationObserver (mutations) ->
# Third-party scripts may init conflicting versions of... | 6274 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Timeago
constructor: ->
@observer = new MutationObserver (mutations) ->
# Third-party scripts may init conflicting versions of jquery... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
class @Timeago
constructor: ->
@observer = new MutationObserver (mutations) ->
# Third-party scripts may init conflicting ver... |
[
{
"context": ",\n uri: authurl,\n body: {\n 'Username' : CTRLROOMLOGIN,\n 'Password': CTRLROOMPWD\n },\n json : ",
"end": 511,
"score": 0.9991199970245361,
"start": 498,
"tag": "USERNAME",
"value": "CTRLROOMLOGIN"
},
{
"context": " 'Username' : CTRLROOMLOGIN... | scripts/utils.coffee | sambhav228/AAE-Chat-bot | 3 | request = require 'request'
http = require 'http'
fs = require 'fs'
CTRLROOMURL = process.env.CTRLROOMURL
CTRLROOMLOGIN = process.env.CTRLROOMLOGIN
CTRLROOMPWD = process.env.CTRLROOMPWD
CTRLROOMAUTHURL = process.env.CTRLROOMAUTHURL
URLBASE = CTRLROOMURL+"/v1"
#
module.exports.apicall = (urlext,postdata,msg,robot,... | 67661 | request = require 'request'
http = require 'http'
fs = require 'fs'
CTRLROOMURL = process.env.CTRLROOMURL
CTRLROOMLOGIN = process.env.CTRLROOMLOGIN
CTRLROOMPWD = process.env.CTRLROOMPWD
CTRLROOMAUTHURL = process.env.CTRLROOMAUTHURL
URLBASE = CTRLROOMURL+"/v1"
#
module.exports.apicall = (urlext,postdata,msg,robot,... | true | request = require 'request'
http = require 'http'
fs = require 'fs'
CTRLROOMURL = process.env.CTRLROOMURL
CTRLROOMLOGIN = process.env.CTRLROOMLOGIN
CTRLROOMPWD = process.env.CTRLROOMPWD
CTRLROOMAUTHURL = process.env.CTRLROOMAUTHURL
URLBASE = CTRLROOMURL+"/v1"
#
module.exports.apicall = (urlext,postdata,msg,robot,... |
[
{
"context": "t.format()).to.deep.equal {\n id: 'calvin'\n startTime: '2016-09-28T16:00:00Z'\n ",
"end": 1914,
"score": 0.9953305125236511,
"start": 1908,
"tag": "NAME",
"value": "calvin"
},
{
"context": "t.format()).to.deep.equal {\n id: '... | test/models/event-spec.coffee | octoblu/groundhog-day-service | 0 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
moment = require 'moment'
sinon = require 'sinon'
Event = require '../../src/models/event'
NON_RECURRING_TODAY = require '../fixtures/non-recurring-today.cson'
NON_RECURRING_TODAY_WE_ARE_IN_IT = require '..... | 67977 | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
moment = require 'moment'
sinon = require 'sinon'
Event = require '../../src/models/event'
NON_RECURRING_TODAY = require '../fixtures/non-recurring-today.cson'
NON_RECURRING_TODAY_WE_ARE_IN_IT = require '..... | true | {afterEach, beforeEach, describe, it} = global
{expect} = require 'chai'
moment = require 'moment'
sinon = require 'sinon'
Event = require '../../src/models/event'
NON_RECURRING_TODAY = require '../fixtures/non-recurring-today.cson'
NON_RECURRING_TODAY_WE_ARE_IN_IT = require '..... |
[
{
"context": "vent usage of unnecessary double quotes.\n# @author Julian Rosse\n###\n'use strict'\n\n{isString} = require 'lodash'\n{",
"end": 87,
"score": 0.9998595714569092,
"start": 75,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/no-unnecessary-double-quotes.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prevent usage of unnecessary double quotes.
# @author Julian Rosse
###
'use strict'
{isString} = require 'lodash'
{find} = require 'lodash/fp'
#------------------------------------------------------------------------------
# Rule Definition
#-------------------------------------------------------... | 82077 | ###*
# @fileoverview Prevent usage of unnecessary double quotes.
# @author <NAME>
###
'use strict'
{isString} = require 'lodash'
{find} = require 'lodash/fp'
#------------------------------------------------------------------------------
# Rule Definition
#-------------------------------------------------------------... | true | ###*
# @fileoverview Prevent usage of unnecessary double quotes.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
{isString} = require 'lodash'
{find} = require 'lodash/fp'
#------------------------------------------------------------------------------
# Rule Definition
#-----------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.