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": "# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.outsider.ne.kr/>\n# L",
"end": 35,
"score": 0.9998809695243835,
"start": 21,
"tag": "NAME",
"value": "JeongHoon Byun"
},
{
"context": "# Copyright (c) 2013 JeongHoon Byun aka \"Outsider\", <http://blog.o... | test/parser/js-parser.test.coffee | uppalapatisujitha/CodingConventionofCommitHistory | 421 | # Copyright (c) 2013 JeongHoon Byun aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
should = require 'should'
parser = require '../../src/parser/js-parser'
describe 'js-parser >', ->
describe 'comma >', ->
it 'check first comma #1', ->
... | 98104 | # Copyright (c) 2013 <NAME> aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
should = require 'should'
parser = require '../../src/parser/js-parser'
describe 'js-parser >', ->
describe 'comma >', ->
it 'check first comma #1', ->
convent... | true | # Copyright (c) 2013 PI:NAME:<NAME>END_PI aka "Outsider", <http://blog.outsider.ne.kr/>
# Licensed under the MIT license.
# <http://outsider.mit-license.org/>
should = require 'should'
parser = require '../../src/parser/js-parser'
describe 'js-parser >', ->
describe 'comma >', ->
it 'check first comma #1', ->... |
[
{
"context": "b}.{b}.{c}.{c}.{d}\"\nglobalContext =\n my_name: \"Wojciech Fraczak\"\n n: 172\n\nfn = buildTranslatorFn dict, globalC",
"end": 608,
"score": 0.9998134970664978,
"start": 592,
"tag": "NAME",
"value": "Wojciech Fraczak"
}
] | test.coffee | fraczak/re-write-js | 1 | {buildTranslatorFn} = require "./index.coffee"
build_dict = require "./build-dict.coffee"
dict =
"{}": (x) -> x
"1" : -> "one"
"I am {}": (x) ->
"I am #{x.toLocaleString()}"
"Success" : -> "Success"
"Today is {}" : ->
"Today is #{new Date().toLocaleString()}"
"{} apple(s)": (n) ... | 129404 | {buildTranslatorFn} = require "./index.coffee"
build_dict = require "./build-dict.coffee"
dict =
"{}": (x) -> x
"1" : -> "one"
"I am {}": (x) ->
"I am #{x.toLocaleString()}"
"Success" : -> "Success"
"Today is {}" : ->
"Today is #{new Date().toLocaleString()}"
"{} apple(s)": (n) ... | true | {buildTranslatorFn} = require "./index.coffee"
build_dict = require "./build-dict.coffee"
dict =
"{}": (x) -> x
"1" : -> "one"
"I am {}": (x) ->
"I am #{x.toLocaleString()}"
"Success" : -> "Success"
"Today is {}" : ->
"Today is #{new Date().toLocaleString()}"
"{} apple(s)": (n) ... |
[
{
"context": "###\nCopyright 2016 Balena\n\nLicensed under the Apache License, Version 2.0 (",
"end": 25,
"score": 0.9804084300994873,
"start": 19,
"tag": "NAME",
"value": "Balena"
}
] | lib/utils.coffee | resin-io-modules/resin-device-init | 3 | ###
Copyright 2016 Balena
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | 212003 | ###
Copyright 2016 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distribu... | true | ###
Copyright 2016 PI:NAME:<NAME>END_PI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
[
{
"context": "h) ->\n $scope.user =\n name: null\n password: null\n\n $scope.signup = (user) ->\n Auth.signup(user",
"end": 140,
"score": 0.9963943958282471,
"start": 136,
"tag": "PASSWORD",
"value": "null"
}
] | app/pages/signup/controller.coffee | asartalo/axya | 0 | "use strict"
angular.module 'axyaApp'
.controller 'SignupCtrl', ($scope, $state, Auth) ->
$scope.user =
name: null
password: null
$scope.signup = (user) ->
Auth.signup(user).then(
(resp) ->
$state.go('dashboard')
(err) ->
console.log err, err.data
)
| 97456 | "use strict"
angular.module 'axyaApp'
.controller 'SignupCtrl', ($scope, $state, Auth) ->
$scope.user =
name: null
password: <PASSWORD>
$scope.signup = (user) ->
Auth.signup(user).then(
(resp) ->
$state.go('dashboard')
(err) ->
console.log err, err.data
)
| true | "use strict"
angular.module 'axyaApp'
.controller 'SignupCtrl', ($scope, $state, Auth) ->
$scope.user =
name: null
password: PI:PASSWORD:<PASSWORD>END_PI
$scope.signup = (user) ->
Auth.signup(user).then(
(resp) ->
$state.go('dashboard')
(err) ->
console.log err, err.data
... |
[
{
"context": "###\n backbone-orm.js 0.5.12\n Copyright (c) 2013 Vidigami - https://github.com/vidigami/backbone-orm\n Lice",
"end": 58,
"score": 0.9990522861480713,
"start": 50,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": " Copyright (c) 2013 Vidigami - https://github.com/v... | src/cache/memory_store.coffee | michaelBenin/backbone-orm | 1 | ###
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.
###
_ = require 'underscore'
LRU = require 'lru-cache'
inflection = require 'inflection'
... | 81968 | ###
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.
###
_ = require 'underscore'
LRU = require 'lru-cache'
inflection = require 'inflection'
mo... | true | ###
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.
###
_ = require 'underscore'
LRU = require 'lru-cache'
inflection = require 'i... |
[
{
"context": "vc: cvcDots\n expiry: expiryDots\n name: 'Full Name'\n\n componentWillMount: ->\n # add special styl",
"end": 593,
"score": 0.9973412752151489,
"start": 584,
"tag": "NAME",
"value": "Full Name"
}
] | src/components/card-react-component.cjsx | redsift/card-react | 145 | React = require 'react'
createReactClass = require 'create-react-class'
Payment = require 'payment'
ClassNames = require 'classnames'
dot = String.fromCharCode('8226')
ccDots = dot + dot + dot + dot
cvcDots = dot + dot + dot
expiryDots = dot + dot + '/' + dot + dot
CardReact = createReactClass
displayName: "CardRe... | 146696 | React = require 'react'
createReactClass = require 'create-react-class'
Payment = require 'payment'
ClassNames = require 'classnames'
dot = String.fromCharCode('8226')
ccDots = dot + dot + dot + dot
cvcDots = dot + dot + dot
expiryDots = dot + dot + '/' + dot + dot
CardReact = createReactClass
displayName: "CardRe... | true | React = require 'react'
createReactClass = require 'create-react-class'
Payment = require 'payment'
ClassNames = require 'classnames'
dot = String.fromCharCode('8226')
ccDots = dot + dot + dot + dot
cvcDots = dot + dot + dot
expiryDots = dot + dot + '/' + dot + dot
CardReact = createReactClass
displayName: "CardRe... |
[
{
"context": "# Copyright (c) 2008-2013 Michael Dvorkin and contributors.\n#\n# Fat Free CRM is freely dist",
"end": 41,
"score": 0.9998599290847778,
"start": 26,
"tag": "NAME",
"value": "Michael Dvorkin"
}
] | app/assets/javascripts/admin/fields.js.coffee | cassioscabral/fat_free_crm | 1 | # Copyright (c) 2008-2013 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
#------------------------------------------------------------------------------
(($) ->
$('.fields select[... | 62139 | # Copyright (c) 2008-2013 <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
#------------------------------------------------------------------------------
(($) ->
$('.fields select[name="fie... | true | # Copyright (c) 2008-2013 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
#------------------------------------------------------------------------------
(($) ->
$('.fields se... |
[
{
"context": "age'\nbus = require('./event-bus')()\n\nTOKEN_KEY = 'commit-live:token'\nID_KEY = 'commit-live:id'\n\nmodule.exports = toke",
"end": 103,
"score": 0.9732964634895325,
"start": 86,
"tag": "KEY",
"value": "commit-live:token"
},
{
"context": "us')()\n\nTOKEN_KEY = 'commit-... | lib/token.coffee | commit-live-admin/dev-greyatom-ide | 5 | localStorage = require './local-storage'
bus = require('./event-bus')()
TOKEN_KEY = 'commit-live:token'
ID_KEY = 'commit-live:id'
module.exports = token = {
get: ->
localStorage.get(TOKEN_KEY)
set: (value) ->
localStorage.set(TOKEN_KEY, value)
bus.emit(TOKEN_KEY, value)
unset: ->
localStorage.... | 175163 | localStorage = require './local-storage'
bus = require('./event-bus')()
TOKEN_KEY = '<KEY>'
ID_KEY = '<KEY>'
module.exports = token = {
get: ->
localStorage.get(TOKEN_KEY)
set: (value) ->
localStorage.set(TOKEN_KEY, value)
bus.emit(TOKEN_KEY, value)
unset: ->
localStorage.delete(TOKEN_KEY)
... | true | localStorage = require './local-storage'
bus = require('./event-bus')()
TOKEN_KEY = 'PI:KEY:<KEY>END_PI'
ID_KEY = 'PI:KEY:<KEY>END_PI'
module.exports = token = {
get: ->
localStorage.get(TOKEN_KEY)
set: (value) ->
localStorage.set(TOKEN_KEY, value)
bus.emit(TOKEN_KEY, value)
unset: ->
localSto... |
[
{
"context": "# Copyright (c) Konode. All rights reserved.\n# This source code is subje",
"end": 22,
"score": 0.9979621171951294,
"start": 16,
"tag": "NAME",
"value": "Konode"
}
] | src/clientFilePage/clientAlerts.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
# PROTOTYPE FEATURE
# We assume for now there will only be 1 alert, as a simple textarea (content),
# which is initial... | 149633 | # 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
# PROTOTYPE FEATURE
# We assume for now there will only be 1 alert, as a simple textarea (content),
# which is initial... | 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
# PROTOTYPE FEATURE
# We assume for now there will only be 1 alert, as a simple textarea (content),
# wh... |
[
{
"context": "iverableRegExp.exec doc['_id']\n key = [Number(wbs[1]), Number(wbs[2]), Number(wbs[3])]\n\n emit genK",
"end": 259,
"score": 0.5922443270683289,
"start": 257,
"tag": "KEY",
"value": "bs"
},
{
"context": "eRegExp.exec doc['_id']\n key = [Number(wbs[1]), Number(wbs... | views/deliverablesByWbs/map.coffee | IKS/Proggis | 2 | (doc) ->
return unless doc['@type'] is 'deliverable'
return if doc['ignore']
deliverableRegExp = new RegExp "http://iks-project.eu/deliverable/(\\d+)\.(\\d+)\.(\\d*)"
genKey = (doc) ->
wbs = deliverableRegExp.exec doc['_id']
key = [Number(wbs[1]), Number(wbs[2]), Number(wbs[3])]
emit genKey(doc), do... | 58872 | (doc) ->
return unless doc['@type'] is 'deliverable'
return if doc['ignore']
deliverableRegExp = new RegExp "http://iks-project.eu/deliverable/(\\d+)\.(\\d+)\.(\\d*)"
genKey = (doc) ->
wbs = deliverableRegExp.exec doc['_id']
key = [Number(w<KEY>[1]), <KEY>w<KEY>[2]), <KEY>w<KEY>[3])]
emit genKey(doc... | true | (doc) ->
return unless doc['@type'] is 'deliverable'
return if doc['ignore']
deliverableRegExp = new RegExp "http://iks-project.eu/deliverable/(\\d+)\.(\\d+)\.(\\d*)"
genKey = (doc) ->
wbs = deliverableRegExp.exec doc['_id']
key = [Number(wPI:KEY:<KEY>END_PI[1]), PI:KEY:<KEY>END_PIwPI:KEY:<KEY>END_PI[2... |
[
{
"context": "rPassword: \"Zaktualizuj swoje hasło\"\n password: \"Hasło\"\n usernameOrEmail: \"Nazwa użytkownika lub email\"",
"end": 391,
"score": 0.758083701133728,
"start": 386,
"tag": "PASSWORD",
"value": "Hasło"
},
{
"context": "je hasło\"\n password: \"Hasło\"\n usernameOr... | client/t9n/polish.coffee | JutoApp/accounts-entry | 167 | pl =
signIn: "Zaloguj się"
signin: "zaloguj się"
signOut: "Wyloguj się"
signUp: "Zarejestruj się"
OR: "LUB"
forgotPassword: "Zapomniałeś hasła?"
emailAddress: "Adres email"
emailResetLink: "Wyślij email z linkiem do zmiany hasła"
dontHaveAnAccount: "Nie masz konta?"
resetYourPassword: "Ustaw nowe ha... | 80537 | pl =
signIn: "Zaloguj się"
signin: "zaloguj się"
signOut: "Wyloguj się"
signUp: "Zarejestruj się"
OR: "LUB"
forgotPassword: "Zapomniałeś hasła?"
emailAddress: "Adres email"
emailResetLink: "Wyślij email z linkiem do zmiany hasła"
dontHaveAnAccount: "Nie masz konta?"
resetYourPassword: "Ustaw nowe ha... | true | pl =
signIn: "Zaloguj się"
signin: "zaloguj się"
signOut: "Wyloguj się"
signUp: "Zarejestruj się"
OR: "LUB"
forgotPassword: "Zapomniałeś hasła?"
emailAddress: "Adres email"
emailResetLink: "Wyślij email z linkiem do zmiany hasła"
dontHaveAnAccount: "Nie masz konta?"
resetYourPassword: "Ustaw nowe ha... |
[
{
"context": "exposedProperties\nconfigmodule.clientSecretKey = \"b964dfab0b7d9fe43022e9584fd782f83e5fab11bb1a409464f5fbdebc62df6f\"\nconfigmodule.clientPublicKey = \"cab958a8f0402ebf",
"end": 487,
"score": 0.9997613430023193,
"start": 423,
"tag": "KEY",
"value": "b964dfab0b7d9fe43022e9584fd... | source/configmodule/configmodule.coffee | JhonnyJason/interface-tester-pwa-sources | 0 | configmodule = {name: "configmodule", uimodule: false}
#region logPrintFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["configmodule"]? then console.log "[configmodule]: " + arg
return
#endregion
########################################################
configmodule.initialize = () ->
log... | 157485 | configmodule = {name: "configmodule", uimodule: false}
#region logPrintFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["configmodule"]? then console.log "[configmodule]: " + arg
return
#endregion
########################################################
configmodule.initialize = () ->
log... | true | configmodule = {name: "configmodule", uimodule: false}
#region logPrintFunctions
log = (arg) ->
if allModules.debugmodule.modulesToDebug["configmodule"]? then console.log "[configmodule]: " + arg
return
#endregion
########################################################
configmodule.initialize = () ->
log... |
[
{
"context": "CODE\n# ==============================\n\nharry = new Harry\ntom = new Tom harry\ndick = new Dick harry\ncon",
"end": 193,
"score": 0.5277975797653198,
"start": 192,
"tag": "NAME",
"value": "H"
},
{
"context": "\n\nharry = new Harry\ntom = new Tom harry\ndick = new Dick... | GoF/classic/Behavioral/Mediator/CoffeeScript/client.coffee | irynaO/JavaScript-Design-Patterns | 293 | 'use strict'
Harry = require './API/Harry'
Tom = require './API/Tom'
Dick = require './API/Dick'
# ==============================
# CLIENT CODE
# ==============================
harry = new Harry
tom = new Tom harry
dick = new Dick harry
conversation = ""
conversation += tom.send "Could you lower the volume of your ... | 161894 | 'use strict'
Harry = require './API/Harry'
Tom = require './API/Tom'
Dick = require './API/Dick'
# ==============================
# CLIENT CODE
# ==============================
harry = new <NAME>arry
tom = new Tom harry
dick = new <NAME>ick harry
conversation = ""
conversation += tom.send "Could you lower the volum... | true | 'use strict'
Harry = require './API/Harry'
Tom = require './API/Tom'
Dick = require './API/Dick'
# ==============================
# CLIENT CODE
# ==============================
harry = new PI:NAME:<NAME>END_PIarry
tom = new Tom harry
dick = new PI:NAME:<NAME>END_PIick harry
conversation = ""
conversation += tom.sen... |
[
{
"context": " label : 'underline',\n key : 'bold',\n string : 'green',\n number : ",
"end": 4001,
"score": 0.9536123871803284,
"start": 3997,
"tag": "KEY",
"value": "bold"
}
] | src/vows/stylize.coffee | amccollum/ender-vows | 1 | vows.stylizers = stylizers = {}
vows.stylize = (ob) ->
s = new vows.stylizer(ob)
for arg in Array.prototype.slice.call(arguments)[1..]
s.stylize(arg)
return s
vows.format = (str) ->
str = str.replace /`([^`]+)`/g, (_, part) => vows.stylize(part).italic()
str = str.replace /\*([^... | 179856 | vows.stylizers = stylizers = {}
vows.stylize = (ob) ->
s = new vows.stylizer(ob)
for arg in Array.prototype.slice.call(arguments)[1..]
s.stylize(arg)
return s
vows.format = (str) ->
str = str.replace /`([^`]+)`/g, (_, part) => vows.stylize(part).italic()
str = str.replace /\*([^... | true | vows.stylizers = stylizers = {}
vows.stylize = (ob) ->
s = new vows.stylizer(ob)
for arg in Array.prototype.slice.call(arguments)[1..]
s.stylize(arg)
return s
vows.format = (str) ->
str = str.replace /`([^`]+)`/g, (_, part) => vows.stylize(part).italic()
str = str.replace /\*([^... |
[
{
"context": " b: 6\n name: \"child3\"\n }\n ]\n",
"end": 3294,
"score": 0.6852139234542847,
"start": 3288,
"tag": "NAME",
"value": "child3"
}
] | tree/test-tree.coffee | jneuendorf/js_utils | 1 | describe "Tree", () ->
describe "Tree", () ->
describe "creating a tree", () ->
it "Tree.new (== Tree.fromRecursive), defaults to Tree.newByChildRef", () ->
tree = JSUtils.Tree.new {
a: 10
b: 20
name: "root"
... | 222038 | describe "Tree", () ->
describe "Tree", () ->
describe "creating a tree", () ->
it "Tree.new (== Tree.fromRecursive), defaults to Tree.newByChildRef", () ->
tree = JSUtils.Tree.new {
a: 10
b: 20
name: "root"
... | true | describe "Tree", () ->
describe "Tree", () ->
describe "creating a tree", () ->
it "Tree.new (== Tree.fromRecursive), defaults to Tree.newByChildRef", () ->
tree = JSUtils.Tree.new {
a: 10
b: 20
name: "root"
... |
[
{
"context": " Console Player)\n\n critters:\n name : \"critters\"\n animated : false\n height : 80\n ",
"end": 5880,
"score": 0.9989222884178162,
"start": 5876,
"tag": "NAME",
"value": "crit"
},
{
"context": "sole Player)\n\n critters:\n name : \"... | app-src/config.coffee | hyperbotic/crowdgame-trivially | 0 | # ==================================================================================================================
Hy.Config =
AppId: "??"
platformAndroid: false
Production: false
kMaxRemotePlayers : 11
Dynamics:
panicAnswerTime: 3
revealAnswerTime: 3
maxNumQuestions: 50 # Max number of que... | 201808 | # ==================================================================================================================
Hy.Config =
AppId: "??"
platformAndroid: false
Production: false
kMaxRemotePlayers : 11
Dynamics:
panicAnswerTime: 3
revealAnswerTime: 3
maxNumQuestions: 50 # Max number of que... | true | # ==================================================================================================================
Hy.Config =
AppId: "??"
platformAndroid: false
Production: false
kMaxRemotePlayers : 11
Dynamics:
panicAnswerTime: 3
revealAnswerTime: 3
maxNumQuestions: 50 # Max number of que... |
[
{
"context": "cribed in the README:\n # https://github.com/AppGyver/PushNotifications/blob/master/README.md\n #\n # N",
"end": 3167,
"score": 0.9942229390144348,
"start": 3159,
"tag": "USERNAME",
"value": "AppGyver"
},
{
"context": "opers.google.com/project/composer-2\n # ... | testApp/app/controllers/plugin.coffee | AppGyver/steroids-js | 10 | class window.PluginController
# always put everything inside PhoneGap deviceready
document.addEventListener "deviceready", ->
# Make Navigation Bar to appear with a custom title text
steroids.navigationBar.show { title: "Plugin" }
now = new Date()
diff = now.getTime() - window.___START_TIME.getTi... | 159709 | class window.PluginController
# always put everything inside PhoneGap deviceready
document.addEventListener "deviceready", ->
# Make Navigation Bar to appear with a custom title text
steroids.navigationBar.show { title: "Plugin" }
now = new Date()
diff = now.getTime() - window.___START_TIME.getTi... | true | class window.PluginController
# always put everything inside PhoneGap deviceready
document.addEventListener "deviceready", ->
# Make Navigation Bar to appear with a custom title text
steroids.navigationBar.show { title: "Plugin" }
now = new Date()
diff = now.getTime() - window.___START_TIME.getTi... |
[
{
"context": "# Copyright 2016 Clement Bramy\n#\n# Licensed under the Apache License, Version 2.",
"end": 30,
"score": 0.9998596906661987,
"start": 17,
"tag": "NAME",
"value": "Clement Bramy"
}
] | lib/publishers/publisher.coffee | cbramy/snippy | 0 | # Copyright 2016 Clement Bramy
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 104297 | # Copyright 2016 <NAME>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
... | true | # Copyright 2016 PI:NAME:<NAME>END_PI
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writ... |
[
{
"context": "http'\n resolution: '@2x.png'\n accessToken: 'pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q'\n",
"end": 341,
"score": 0.9997044205665588,
"start": 277,
"tag": "KEY",
"value": "pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.hAMX5hSW-QnTeRCMAy9A8Q"
}
] | config/production.coffee | googoid/tile-cache | 0 | module.exports =
cacheLifetime: 48 * 60 * 60
port: 3005
mongodb: 'mongodb://localhost:27017/tile-cache'
tileServer:
hostname: 'b.tiles.mapbox.com'
path: '/v4/smarttaxi.c8c68db2/{zoom}/{x}/{y}{res}'
scheme: 'http'
resolution: '@2x.png'
accessToken: 'pk.eyJ1IjoibWFwYm94IiwiYSI6IlhHVkZmaW8ifQ.h... | 156473 | module.exports =
cacheLifetime: 48 * 60 * 60
port: 3005
mongodb: 'mongodb://localhost:27017/tile-cache'
tileServer:
hostname: 'b.tiles.mapbox.com'
path: '/v4/smarttaxi.c8c68db2/{zoom}/{x}/{y}{res}'
scheme: 'http'
resolution: '@2x.png'
accessToken: '<KEY>'
| true | module.exports =
cacheLifetime: 48 * 60 * 60
port: 3005
mongodb: 'mongodb://localhost:27017/tile-cache'
tileServer:
hostname: 'b.tiles.mapbox.com'
path: '/v4/smarttaxi.c8c68db2/{zoom}/{x}/{y}{res}'
scheme: 'http'
resolution: '@2x.png'
accessToken: 'PI:KEY:<KEY>END_PI'
|
[
{
"context": "d\"\n name: \"old_password\"\n key: \"old_password\"\n id: \"old_password\"\n floatingL",
"end": 356,
"score": 0.6401354670524597,
"start": 344,
"tag": "PASSWORD",
"value": "old_password"
},
{
"context": "d\"\n name: \"new_pa... | src/components/user/change_password.coffee | dwetterau/life | 2 | React = require 'react'
{FormPage} = require './form_page'
ChangePassword = React.createClass
displayName: 'ChangePassword'
render: () ->
React.createElement FormPage,
pageHeader: 'Change Password'
action: '/user/password'
inputs: [
{
type: "password"
name: "old_pa... | 132154 | React = require 'react'
{FormPage} = require './form_page'
ChangePassword = React.createClass
displayName: 'ChangePassword'
render: () ->
React.createElement FormPage,
pageHeader: 'Change Password'
action: '/user/password'
inputs: [
{
type: "password"
name: "old_pa... | true | React = require 'react'
{FormPage} = require './form_page'
ChangePassword = React.createClass
displayName: 'ChangePassword'
render: () ->
React.createElement FormPage,
pageHeader: 'Change Password'
action: '/user/password'
inputs: [
{
type: "password"
name: "old_pa... |
[
{
"context": "\"Welcome to the official Jeff Koons page on Artsy. Jeff Koons plays with ideas of taste, pleasure, celebrity, a",
"end": 1659,
"score": 0.9814559817314148,
"start": 1649,
"tag": "NAME",
"value": "Jeff Koons"
},
{
"context": "containEql \"<meta property=\\\"og:title\\\"... | desktop/apps/artist/test/meta.coffee | craigspaeth/_force-merge | 1 | fs = require 'fs'
jade = require 'jade'
sinon = require 'sinon'
path = require 'path'
Artist = require '../../../models/artist'
{ fabricate } = require 'antigravity'
artistJSON = require './fixtures'
helpers = require '../view_helpers'
Nav = require '../nav'
_ = require 'underscore'
describe 'Meta tags', ->
before -... | 99379 | fs = require 'fs'
jade = require 'jade'
sinon = require 'sinon'
path = require 'path'
Artist = require '../../../models/artist'
{ fabricate } = require 'antigravity'
artistJSON = require './fixtures'
helpers = require '../view_helpers'
Nav = require '../nav'
_ = require 'underscore'
describe 'Meta tags', ->
before -... | true | fs = require 'fs'
jade = require 'jade'
sinon = require 'sinon'
path = require 'path'
Artist = require '../../../models/artist'
{ fabricate } = require 'antigravity'
artistJSON = require './fixtures'
helpers = require '../view_helpers'
Nav = require '../nav'
_ = require 'underscore'
describe 'Meta tags', ->
before -... |
[
{
"context": "ets, (widget) ->\n Widget\n key: \"widget-#{widget.name}\"\n name: widget.name\n ",
"end": 444,
"score": 0.7812166213989258,
"start": 444,
"tag": "KEY",
"value": ""
}
] | src/components/widgets.coffee | brianshaler/kerplunk-blog-hexa | 0 | _ = require 'lodash'
React = require 'react'
Widget = require './widget'
{DOM} = React
module.exports = React.createFactory React.createClass
render: ->
widgets = [
{
name: 'Comments'
content: DOM.div null, 'hi'
}
{
name: 'Tags'
content: DOM.div null, 'hello'
... | 114035 | _ = require 'lodash'
React = require 'react'
Widget = require './widget'
{DOM} = React
module.exports = React.createFactory React.createClass
render: ->
widgets = [
{
name: 'Comments'
content: DOM.div null, 'hi'
}
{
name: 'Tags'
content: DOM.div null, 'hello'
... | true | _ = require 'lodash'
React = require 'react'
Widget = require './widget'
{DOM} = React
module.exports = React.createFactory React.createClass
render: ->
widgets = [
{
name: 'Comments'
content: DOM.div null, 'hi'
}
{
name: 'Tags'
content: DOM.div null, 'hello'
... |
[
{
"context": "# Copyright (C) 2013 John Judnich\n# Released under The MIT License - see \"LICENSE\" ",
"end": 33,
"score": 0.999872088432312,
"start": 21,
"tag": "NAME",
"value": "John Judnich"
}
] | shaders/NormalMapGeneratorShader.coffee | anandprabhakar0507/Kosmos | 46 | # Copyright (C) 2013 John Judnich
# Released under The MIT License - see "LICENSE" file for details.
frag = """precision highp float;
varying vec3 vPos;
varying vec3 vTangent;
varying vec3 vBinormal;
varying vec2 vUV;
uniform sampler2D sampler;
#define ONE_TEXEL (1.0/4096.0)
vec4 positionAndHeight(vec3 cubePos, v... | 224114 | # Copyright (C) 2013 <NAME>
# Released under The MIT License - see "LICENSE" file for details.
frag = """precision highp float;
varying vec3 vPos;
varying vec3 vTangent;
varying vec3 vBinormal;
varying vec2 vUV;
uniform sampler2D sampler;
#define ONE_TEXEL (1.0/4096.0)
vec4 positionAndHeight(vec3 cubePos, vec2 uv... | true | # Copyright (C) 2013 PI:NAME:<NAME>END_PI
# Released under The MIT License - see "LICENSE" file for details.
frag = """precision highp float;
varying vec3 vPos;
varying vec3 vTangent;
varying vec3 vBinormal;
varying vec2 vUV;
uniform sampler2D sampler;
#define ONE_TEXEL (1.0/4096.0)
vec4 positionAndHeight(vec3 cu... |
[
{
"context": "usEventName: 'popstate'\n refreshPageStorageKey: 'refreshPage:scrollTop'\n\n windowNavigationInitialize: ->\n if scrollT",
"end": 121,
"score": 0.9536093473434448,
"start": 100,
"tag": "KEY",
"value": "refreshPage:scrollTop"
}
] | app/assets/javascripts/evrobone/app-mixins/window-navigation.js.coffee | KODerFunk/evrobone | 7 | Evrobone.AppMixins.WindowNavigation =
popstateBusEventName: 'popstate'
refreshPageStorageKey: 'refreshPage:scrollTop'
windowNavigationInitialize: ->
if scrollTop = sessionStorage?.getItem(@refreshPageStorageKey)
@$window.scrollTop scrollTop
sessionStorage.removeItem @refreshPageStorageKey
@$... | 91610 | Evrobone.AppMixins.WindowNavigation =
popstateBusEventName: 'popstate'
refreshPageStorageKey: '<KEY>'
windowNavigationInitialize: ->
if scrollTop = sessionStorage?.getItem(@refreshPageStorageKey)
@$window.scrollTop scrollTop
sessionStorage.removeItem @refreshPageStorageKey
@$window.on 'popst... | true | Evrobone.AppMixins.WindowNavigation =
popstateBusEventName: 'popstate'
refreshPageStorageKey: 'PI:KEY:<KEY>END_PI'
windowNavigationInitialize: ->
if scrollTop = sessionStorage?.getItem(@refreshPageStorageKey)
@$window.scrollTop scrollTop
sessionStorage.removeItem @refreshPageStorageKey
@$win... |
[
{
"context": "and Coffeescript (Version 5)\n\n Copyright 2011-12, Ronald Holshausen (https://github.com/uglyog)\n Released under the ",
"end": 114,
"score": 0.9998854994773865,
"start": 97,
"tag": "NAME",
"value": "Ronald Holshausen"
},
{
"context": "ht 2011-12, Ronald Holshausen (... | src/header.coffee | mtoribio/clientside-haml-js | 19 | ###
clientside HAML compiler for Javascript and Coffeescript (Version 5)
Copyright 2011-12, Ronald Holshausen (https://github.com/uglyog)
Released under the MIT License (http://www.opensource.org/licenses/MIT)
###
root = this | 208001 | ###
clientside HAML compiler for Javascript and Coffeescript (Version 5)
Copyright 2011-12, <NAME> (https://github.com/uglyog)
Released under the MIT License (http://www.opensource.org/licenses/MIT)
###
root = this | true | ###
clientside HAML compiler for Javascript and Coffeescript (Version 5)
Copyright 2011-12, PI:NAME:<NAME>END_PI (https://github.com/uglyog)
Released under the MIT License (http://www.opensource.org/licenses/MIT)
###
root = this |
[
{
"context": " dist:\n options:\n mysqlHost: '10.6.22.97'\n redisHost: '10.6.25.201'\n src: ",
"end": 2579,
"score": 0.9996002316474915,
"start": 2569,
"tag": "IP_ADDRESS",
"value": "10.6.22.97"
},
{
"context": " mysqlHost: '10.6.22.97'\n ... | Gruntfile.coffee | zzhouj/node_framework | 6 | _ = require 'underscore'
path = require 'path'
prompt = require './utils/prompt'
myUtils = require './utils/myUtils'
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
init:
files: [
'package.json'
'restart.sh'
'config/index.json'
'route... | 213039 | _ = require 'underscore'
path = require 'path'
prompt = require './utils/prompt'
myUtils = require './utils/myUtils'
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
init:
files: [
'package.json'
'restart.sh'
'config/index.json'
'route... | true | _ = require 'underscore'
path = require 'path'
prompt = require './utils/prompt'
myUtils = require './utils/myUtils'
module.exports = (grunt) ->
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
init:
files: [
'package.json'
'restart.sh'
'config/index.json'
'route... |
[
{
"context": " \"vm_forwarding_email\":\"eswari@choochee.com\",\n \"dnd_enabled\":false",
"end": 1700,
"score": 0.9999251961708069,
"start": 1681,
"tag": "EMAIL",
"value": "eswari@choochee.com"
}
] | models/directory/fixture/add_bundles.coffee | signonsridhar/sridhar_hbs | 0 | define([ 'can_fixture'], (can)->
can.fixture('POST /bss/tenant?action=addbundles', (req, res)->
return `{
"response":{
"service":"addbundles",
"response_code":100,
"execution_time":20516,
"timestamp":"2013-12-18T21:03:27+0000",
... | 87504 | define([ 'can_fixture'], (can)->
can.fixture('POST /bss/tenant?action=addbundles', (req, res)->
return `{
"response":{
"service":"addbundles",
"response_code":100,
"execution_time":20516,
"timestamp":"2013-12-18T21:03:27+0000",
... | true | define([ 'can_fixture'], (can)->
can.fixture('POST /bss/tenant?action=addbundles', (req, res)->
return `{
"response":{
"service":"addbundles",
"response_code":100,
"execution_time":20516,
"timestamp":"2013-12-18T21:03:27+0000",
... |
[
{
"context": " git clone -q git://github.com/joshdmiller/ng-boilerplate \"#{instancesDir}/#{name}\"\n ",
"end": 4528,
"score": 0.9995385408401489,
"start": 4517,
"tag": "USERNAME",
"value": "joshdmiller"
},
{
"context": " <i>note: your sudo pas... | installpane.coffee | ellotheth/kodularjs.kdapp | 1 | kite = KD.getSingleton "kiteController"
{nickname} = KD.whoami().profile
appStorage = new AppStorage "kodularjs-installer", "1.0"
class InstallPane extends KodularJSPane
constructor:->
super
@form = new KDFormViewWithFields
callback : @bound "installAngularJS"
buttons ... | 139167 | kite = KD.getSingleton "kiteController"
{nickname} = KD.whoami().profile
appStorage = new AppStorage "kodularjs-installer", "1.0"
class InstallPane extends KodularJSPane
constructor:->
super
@form = new KDFormViewWithFields
callback : @bound "installAngularJS"
buttons ... | true | kite = KD.getSingleton "kiteController"
{nickname} = KD.whoami().profile
appStorage = new AppStorage "kodularjs-installer", "1.0"
class InstallPane extends KodularJSPane
constructor:->
super
@form = new KDFormViewWithFields
callback : @bound "installAngularJS"
buttons ... |
[
{
"context": "tem with other id', ->\n qItem =\n id: 'qiita2'\n body: \"ccc\"\n title: 'qiita1 updat",
"end": 717,
"score": 0.9949614405632019,
"start": 711,
"tag": "USERNAME",
"value": "qiita2"
},
{
"context": "tem = FactoryDog.build 'qiita-item',\n ... | application/api/test/commands/initialize/sync-items-test.coffee | CHU-BURA/clone-app-kobito-oss | 215 | require '../../spec-helper'
m = require('moment')
describe 'domains/commands', ->
context '#syncItem', ->
stubDatabases()
basetime = 'Mon Feb 23 2015 15:09:48 GMT+0900 (JST)'
future1 = 'Mon Feb 23 2015 15:10:00 GMT+0900 (JST)'
future2 = 'Mon Feb 23 2015 15:11:00 GMT+0900 (JST)'
beforeEach ->
... | 165254 | require '../../spec-helper'
m = require('moment')
describe 'domains/commands', ->
context '#syncItem', ->
stubDatabases()
basetime = 'Mon Feb 23 2015 15:09:48 GMT+0900 (JST)'
future1 = 'Mon Feb 23 2015 15:10:00 GMT+0900 (JST)'
future2 = 'Mon Feb 23 2015 15:11:00 GMT+0900 (JST)'
beforeEach ->
... | true | require '../../spec-helper'
m = require('moment')
describe 'domains/commands', ->
context '#syncItem', ->
stubDatabases()
basetime = 'Mon Feb 23 2015 15:09:48 GMT+0900 (JST)'
future1 = 'Mon Feb 23 2015 15:10:00 GMT+0900 (JST)'
future2 = 'Mon Feb 23 2015 15:11:00 GMT+0900 (JST)'
beforeEach ->
... |
[
{
"context": "username: conn[environment].user\n password: conn[environment].password\n changeLogFile: \"_wo",
"end": 1376,
"score": 0.9736809134483337,
"start": 1372,
"tag": "PASSWORD",
"value": "conn"
},
{
"context": "vironment].user\n password: conn[environmen... | src/lib/configuration.coffee | assignittous/knodeo_workshop | 0 | # configuration.coffee
utils = require('aitutils').aitutils
configuration = utils.configuration
cwd = process.env.PWD || process.cwd()
console.log configuration
exports.Configuration = {
forLiquibase: (database, environment, cliParameters, changelogOverride) ->
configuration.load("#{cwd}/config.workshop.cso... | 130683 | # configuration.coffee
utils = require('aitutils').aitutils
configuration = utils.configuration
cwd = process.env.PWD || process.cwd()
console.log configuration
exports.Configuration = {
forLiquibase: (database, environment, cliParameters, changelogOverride) ->
configuration.load("#{cwd}/config.workshop.cso... | true | # configuration.coffee
utils = require('aitutils').aitutils
configuration = utils.configuration
cwd = process.env.PWD || process.cwd()
console.log configuration
exports.Configuration = {
forLiquibase: (database, environment, cliParameters, changelogOverride) ->
configuration.load("#{cwd}/config.workshop.cso... |
[
{
"context": "# -*- coding: utf-8 -*-\n#\n# Copyright 2015 Roy Liu\n#\n# Licensed under the Apache License, Version 2.",
"end": 50,
"score": 0.9996466040611267,
"start": 43,
"tag": "NAME",
"value": "Roy Liu"
}
] | app/assets/javascripts/application.coffee | carsomyr/nurf-stats | 0 | # -*- coding: utf-8 -*-
#
# Copyright 2015 Roy Liu
#
# 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 ... | 117088 | # -*- coding: utf-8 -*-
#
# Copyright 2015 <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 | # -*- coding: utf-8 -*-
#
# Copyright 2015 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": "mEvents(\n -> Bacon.once({ bacon: Bacon.once(\"sir francis\")}).flatMapWithConcurrencyLimit(1, \".bacon\")\n ",
"end": 896,
"score": 0.9977118372917175,
"start": 885,
"tag": "NAME",
"value": "sir francis"
},
{
"context": ".flatMapWithConcurrencyLimit(1, \".bacon... | spec/specs/flatmapwithconcurrencylimit.coffee | ArtFacts/bacon.js | 0 | require("../../src/flatmapwithconcurrencylimit")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectStreamEvents,
error,
fromArray,
series,
semiunstable,
t
} = require("../SpecHelper")
describe "EventStream.flatMapWithConcurrencyLimit", ->
describe "limits the number of co... | 835 | require("../../src/flatmapwithconcurrencylimit")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectStreamEvents,
error,
fromArray,
series,
semiunstable,
t
} = require("../SpecHelper")
describe "EventStream.flatMapWithConcurrencyLimit", ->
describe "limits the number of co... | true | require("../../src/flatmapwithconcurrencylimit")
Bacon = require("../../src/core").default
expect = require("chai").expect
{
expectStreamEvents,
error,
fromArray,
series,
semiunstable,
t
} = require("../SpecHelper")
describe "EventStream.flatMapWithConcurrencyLimit", ->
describe "limits the number of co... |
[
{
"context": "IENT_ID=1234567890 \\\n# READMILL_CLIENT_SECRET=abcdefghijk \\\n# READMILL_CLIENT_CALLBACK=http://localhost",
"end": 852,
"score": 0.9017698168754578,
"start": 841,
"tag": "KEY",
"value": "abcdefghijk"
}
] | proxy.coffee | aron/annotator.readmill.js | 0 | # Crude proxy server for imitating implicit auth on the Readmill API. This
# allows a browser client to authenticate without requiring a local server
# to handle the authentication.
#
# This server requires four environment varibles to be present when running.
#
# PROXY_DOMAIN - Domain that the proxy is hosted on eg. (... | 164501 | # Crude proxy server for imitating implicit auth on the Readmill API. This
# allows a browser client to authenticate without requiring a local server
# to handle the authentication.
#
# This server requires four environment varibles to be present when running.
#
# PROXY_DOMAIN - Domain that the proxy is hosted on eg. (... | true | # Crude proxy server for imitating implicit auth on the Readmill API. This
# allows a browser client to authenticate without requiring a local server
# to handle the authentication.
#
# This server requires four environment varibles to be present when running.
#
# PROXY_DOMAIN - Domain that the proxy is hosted on eg. (... |
[
{
"context": "t for reverse engineering the protocol goes to\n @moosd - https://github.com/moosd/ReverseEngineeredMiLig",
"end": 110,
"score": 0.9995291829109192,
"start": 104,
"tag": "USERNAME",
"value": "@moosd"
},
{
"context": " protocol goes to\n @moosd - https://github.com... | src/bulb.coffee | jnordberg/milight-ble | 5 | ### Milight Bluetooth bulb control library. All credit for reverse engineering the protocol goes to
@moosd - https://github.com/moosd/ReverseEngineeredMiLightBluetooth ###
async = require 'async'
noble = require 'noble'
noop = ->
getId = (name) ->
num = (parseInt name[1...3], 16) & 0xff
num = num << 8
num... | 12057 | ### Milight Bluetooth bulb control library. All credit for reverse engineering the protocol goes to
@moosd - https://github.com/moosd/ReverseEngineeredMiLightBluetooth ###
async = require 'async'
noble = require 'noble'
noop = ->
getId = (name) ->
num = (parseInt name[1...3], 16) & 0xff
num = num << 8
num... | true | ### Milight Bluetooth bulb control library. All credit for reverse engineering the protocol goes to
@moosd - https://github.com/moosd/ReverseEngineeredMiLightBluetooth ###
async = require 'async'
noble = require 'noble'
noop = ->
getId = (name) ->
num = (parseInt name[1...3], 16) & 0xff
num = num << 8
num... |
[
{
"context": "\"Sayfalar\"\n \"posts\": \"Yazılar\"\n \"authors\": \"Yazarlar\"\n \"search\": \"Ara\"\n \"bookmarks\": \"Favoriler\"",
"end": 390,
"score": 0.9996938109397888,
"start": 382,
"tag": "NAME",
"value": "Yazarlar"
},
{
"context": " \"shared\": \"Paylaşıldı!\"\n... | lib/translations/tr.cson | RoeperSchool/lukeproject | 0 | "pullToRefresh": "Yenilemek için çekin!"
"retry": "Tekrar Dene"
"back": "Geri"
"error": "Bir şeyler ters gitti, lütfen tekrar deneyin."
"attemptToConnect": "Tekrar Bağlanılıyor"
"yes": "Evet"
"no" : "Hayır"
"emptyList" : "Burada bir şey yok!"
"menu":
"title": "Menü"
"home": "Ana Sayfa"
"tags": "Etiketler"
... | 122967 | "pullToRefresh": "Yenilemek için çekin!"
"retry": "Tekrar Dene"
"back": "Geri"
"error": "Bir şeyler ters gitti, lütfen tekrar deneyin."
"attemptToConnect": "Tekrar Bağlanılıyor"
"yes": "Evet"
"no" : "Hayır"
"emptyList" : "Burada bir şey yok!"
"menu":
"title": "Menü"
"home": "Ana Sayfa"
"tags": "Etiketler"
... | true | "pullToRefresh": "Yenilemek için çekin!"
"retry": "Tekrar Dene"
"back": "Geri"
"error": "Bir şeyler ters gitti, lütfen tekrar deneyin."
"attemptToConnect": "Tekrar Bağlanılıyor"
"yes": "Evet"
"no" : "Hayır"
"emptyList" : "Burada bir şey yok!"
"menu":
"title": "Menü"
"home": "Ana Sayfa"
"tags": "Etiketler"
... |
[
{
"context": ">\n activeClass = 'active'\n editorKey = 'comment'\n\n #重设编辑器的大小\n resizeCommentEditor = ()-",
"end": 2013,
"score": 0.9444513916969299,
"start": 2006,
"tag": "KEY",
"value": "comment"
}
] | src/js/comment/comment-directives.coffee | Kiteam/kiteam-angular | 0 | define [
'../ng-module'
'../utils'
'./views/comment-all.html'
'../../package/highlight/highlight.pack'
], (_module,_utils, _template, _hljs) ->
_module.directiveModule
#评论列表
.directive('commentList', ['$rootScope', '$stateParams', 'API', '$timeout', ($rootScope, $stateParams, API, $timeout)->
restric... | 68980 | define [
'../ng-module'
'../utils'
'./views/comment-all.html'
'../../package/highlight/highlight.pack'
], (_module,_utils, _template, _hljs) ->
_module.directiveModule
#评论列表
.directive('commentList', ['$rootScope', '$stateParams', 'API', '$timeout', ($rootScope, $stateParams, API, $timeout)->
restric... | true | define [
'../ng-module'
'../utils'
'./views/comment-all.html'
'../../package/highlight/highlight.pack'
], (_module,_utils, _template, _hljs) ->
_module.directiveModule
#评论列表
.directive('commentList', ['$rootScope', '$stateParams', 'API', '$timeout', ($rootScope, $stateParams, API, $timeout)->
restric... |
[
{
"context": "ored on user', (done) ->\n user = new User(salt: 'sodiumchloride')\n user.save( (err, theUser) ->\n return done(",
"end": 239,
"score": 0.8863686323165894,
"start": 225,
"tag": "PASSWORD",
"value": "sodiumchloride"
},
{
"context": "password\", (done) ->\n user = n... | server/test/units/user.coffee | unepwcmc/NRT | 0 | assert = require('chai').assert
Q = require('q')
User = require('../../models/user').model
helpers = require '../helpers'
suite('User')
test('Password salt values can be stored on user', (done) ->
user = new User(salt: 'sodiumchloride')
user.save( (err, theUser) ->
return done(err) if err?
assert.strict... | 119831 | assert = require('chai').assert
Q = require('q')
User = require('../../models/user').model
helpers = require '../helpers'
suite('User')
test('Password salt values can be stored on user', (done) ->
user = new User(salt: '<PASSWORD>')
user.save( (err, theUser) ->
return done(err) if err?
assert.strictEqua... | true | assert = require('chai').assert
Q = require('q')
User = require('../../models/user').model
helpers = require '../helpers'
suite('User')
test('Password salt values can be stored on user', (done) ->
user = new User(salt: 'PI:PASSWORD:<PASSWORD>END_PI')
user.save( (err, theUser) ->
return done(err) if err?
... |
[
{
"context": "###\n# @author Will Steinmetz\n# Express middleware to provide basic respond_to ",
"end": 28,
"score": 0.9998465776443481,
"start": 14,
"tag": "NAME",
"value": "Will Steinmetz"
},
{
"context": "ar to that\n# of Ruby on Rails\n# Copyright (c)2016, Will Steinmetz\n# Licen... | Gruntfile.coffee | willsteinmetz/express-respondsto | 1 | ###
# @author Will Steinmetz
# Express middleware to provide basic respond_to functionality similar to that
# of Ruby on Rails
# Copyright (c)2016, Will Steinmetz
# Licensed under the MIT license.
###
module.exports = (grunt) ->
grunt.initConfig(
pkg: require('./package.json')
coffee:
compile:
... | 154452 | ###
# @author <NAME>
# Express middleware to provide basic respond_to functionality similar to that
# of Ruby on Rails
# Copyright (c)2016, <NAME>
# Licensed under the MIT license.
###
module.exports = (grunt) ->
grunt.initConfig(
pkg: require('./package.json')
coffee:
compile:
options:
... | true | ###
# @author PI:NAME:<NAME>END_PI
# Express middleware to provide basic respond_to functionality similar to that
# of Ruby on Rails
# Copyright (c)2016, PI:NAME:<NAME>END_PI
# Licensed under the MIT license.
###
module.exports = (grunt) ->
grunt.initConfig(
pkg: require('./package.json')
coffee:
compi... |
[
{
"context": "###\n# Copyright (C) 2014 Andrey Antukh <niwi@niwi.be>\n# Copyright (C) 2014 Jesús Espino ",
"end": 38,
"score": 0.9998899698257446,
"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/user-settings/change-password.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
... | 200241 | ###
# 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": "g 'Beyond magical.'.green\n\tconsole.log 'Created by Etienne Pinchon (@etiennepinchon)'.green\n\tconsole.log 'Copyright ",
"end": 3408,
"score": 0.9998621940612793,
"start": 3393,
"tag": "NAME",
"value": "Etienne Pinchon"
},
{
"context": "l.'.green\n\tconsole.log 'Creat... | index.coffee | etiennepinchon/magixjs-npm | 0 | #!/usr/bin/env node
console.error = ->
##############################################################
# REQUIRE
prompt = require 'prompt'
program = require('commander')
colors = require('colors')
fs = require('fs-extra')
walk = require('walk')
path = require('path')
watcher = require('node-... | 114786 | #!/usr/bin/env node
console.error = ->
##############################################################
# REQUIRE
prompt = require 'prompt'
program = require('commander')
colors = require('colors')
fs = require('fs-extra')
walk = require('walk')
path = require('path')
watcher = require('node-... | true | #!/usr/bin/env node
console.error = ->
##############################################################
# REQUIRE
prompt = require 'prompt'
program = require('commander')
colors = require('colors')
fs = require('fs-extra')
walk = require('walk')
path = require('path')
watcher = require('node-... |
[
{
"context": "sted output\n\n###\nmodule.exports = [\n { \n id: \"8b94d8444351171180fa01b24e302bc215f21474\",\n authorName: \"Bee Wilkerson\",\n # relative",
"end": 420,
"score": 0.5744317770004272,
"start": 380,
"tag": "KEY",
"value": "8b94d8444351171180fa01b24e302bc215f21474"
}... | packages/git-time-machine/node_modules/git-log-utils/test/data/expectedCommitsForFile.coffee | jarednipper/atom-config | 1 | ###
this is the expected data for the first five commits of test-data/fiveCommits.txt.
Only the keys in these objects are tested against the actual first five commits read
from git log
this should remain static, but if you need to redo, use bin/gitLogJson.coffee test/lib/fiveCommits.txt
and replace array bel... | 197977 | ###
this is the expected data for the first five commits of test-data/fiveCommits.txt.
Only the keys in these objects are tested against the actual first five commits read
from git log
this should remain static, but if you need to redo, use bin/gitLogJson.coffee test/lib/fiveCommits.txt
and replace array bel... | true | ###
this is the expected data for the first five commits of test-data/fiveCommits.txt.
Only the keys in these objects are tested against the actual first five commits read
from git log
this should remain static, but if you need to redo, use bin/gitLogJson.coffee test/lib/fiveCommits.txt
and replace array bel... |
[
{
"context": " <div>\n Server Password: <input type='password' id='password'/>\n </div>\n <div>\n ",
"end": 2030,
"score": 0.9960342645645142,
"start": 2022,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "div>\n Application Password: <inp... | views/ServerView.coffee | Coconut-Data/tamarind | 0 | Backbone = require 'backbone'
Passphrase = require 'xkcd-passphrase'
crypto = require('crypto')
{ CognitoIdentityClient } = require("@aws-sdk/client-cognito-identity")
{ fromCognitoIdentityPool } = require("@aws-sdk/credential-provider-cognito-identity")
{DynamoDBClient,ScanCommand,PutItemCommand, CreateTableCommand,... | 58919 | Backbone = require 'backbone'
Passphrase = require 'xkcd-passphrase'
crypto = require('crypto')
{ CognitoIdentityClient } = require("@aws-sdk/client-cognito-identity")
{ fromCognitoIdentityPool } = require("@aws-sdk/credential-provider-cognito-identity")
{DynamoDBClient,ScanCommand,PutItemCommand, CreateTableCommand,... | true | Backbone = require 'backbone'
Passphrase = require 'xkcd-passphrase'
crypto = require('crypto')
{ CognitoIdentityClient } = require("@aws-sdk/client-cognito-identity")
{ fromCognitoIdentityPool } = require("@aws-sdk/credential-provider-cognito-identity")
{DynamoDBClient,ScanCommand,PutItemCommand, CreateTableCommand,... |
[
{
"context": "dynamic love to your reaver and wash duo\n# Author: Robbie Saunders http://eibbors.com/[/p/reavetard]\n# =============",
"end": 208,
"score": 0.9998704791069031,
"start": 193,
"tag": "NAME",
"value": "Robbie Saunders"
}
] | src/reavetard.coffee | eibbors/reavetard | 1 | # Reavetard - Reaver WPS (+Wash) extension scripts
# reavetard.coffee :: Module that brings all the little pieces together to make
# sweet, dynamic love to your reaver and wash duo
# Author: Robbie Saunders http://eibbors.com/[/p/reavetard]
# ===========================================================================... | 192680 | # Reavetard - Reaver WPS (+Wash) extension scripts
# reavetard.coffee :: Module that brings all the little pieces together to make
# sweet, dynamic love to your reaver and wash duo
# Author: <NAME> http://eibbors.com/[/p/reavetard]
# ==============================================================================
# Mo... | true | # Reavetard - Reaver WPS (+Wash) extension scripts
# reavetard.coffee :: Module that brings all the little pieces together to make
# sweet, dynamic love to your reaver and wash duo
# Author: PI:NAME:<NAME>END_PI http://eibbors.com/[/p/reavetard]
# ======================================================================... |
[
{
"context": "name = process.env.HUBOT_NS_API_EMAIL\n password = process.env.HUBOT_NS_API_PASSWORD\n auth = \"Basic \" + new Buff",
"end": 1603,
"score": 0.7538696527481079,
"start": 1592,
"tag": "PASSWORD",
"value": "process.env"
},
{
"context": "s.env.HUBOT_NS_API_EMAIL\n passwo... | src/scripts/train.coffee | mcollina/hubot-scripts | 1 | # A way to interact with the NS (Dutch Railways) API
#
# To configure, add HUBOT_NS_API_EMAIL and HUBOT_NS_API_PASSWORD to your Heroku config with "heroku config:add"
#
# hubot train disruptions <station> - Retrieve the list of disruptions near <station>.
# Please note: <station> can... | 147899 | # A way to interact with the NS (Dutch Railways) API
#
# To configure, add HUBOT_NS_API_EMAIL and HUBOT_NS_API_PASSWORD to your Heroku config with "heroku config:add"
#
# hubot train disruptions <station> - Retrieve the list of disruptions near <station>.
# Please note: <station> can... | true | # A way to interact with the NS (Dutch Railways) API
#
# To configure, add HUBOT_NS_API_EMAIL and HUBOT_NS_API_PASSWORD to your Heroku config with "heroku config:add"
#
# hubot train disruptions <station> - Retrieve the list of disruptions near <station>.
# Please note: <station> can... |
[
{
"context": "@isShowModal = false\n @data = [\n { name: 'AAA', amount: 2000 }\n { name: 'BBB', amount: 10 ",
"end": 159,
"score": 0.9515673518180847,
"start": 156,
"tag": "NAME",
"value": "AAA"
},
{
"context": " { name: 'AAA', amount: 2000 }\n { name: 'BBB', am... | src/extra/senior/SeniorModel.coffee | khirayama/hansonJavaScript | 10 | MicroModel = microModule.import('MicroModel')
class SeniorModel extends MicroModel
constructor: ->
@isShowModal = false
@data = [
{ name: 'AAA', amount: 2000 }
{ name: 'BBB', amount: 10 }
{ name: 'CCC', amount: 10000 }
]
addData: (item) ->
@data.push(item)
@set('data', @data)... | 16888 | MicroModel = microModule.import('MicroModel')
class SeniorModel extends MicroModel
constructor: ->
@isShowModal = false
@data = [
{ name: '<NAME>', amount: 2000 }
{ name: '<NAME>', amount: 10 }
{ name: '<NAME>', amount: 10000 }
]
addData: (item) ->
@data.push(item)
@set('data... | true | MicroModel = microModule.import('MicroModel')
class SeniorModel extends MicroModel
constructor: ->
@isShowModal = false
@data = [
{ name: 'PI:NAME:<NAME>END_PI', amount: 2000 }
{ name: 'PI:NAME:<NAME>END_PI', amount: 10 }
{ name: 'PI:NAME:<NAME>END_PI', amount: 10000 }
]
addData: (it... |
[
{
"context": "#########################\n#\n#\tMooqita\n# Created by Markus on 20/8/2017.\n#\n#################################",
"end": 87,
"score": 0.9995903968811035,
"start": 81,
"tag": "NAME",
"value": "Markus"
}
] | server/publications/user.coffee | agottschalk10/worklearn | 0 | #######################################################
#
# Mooqita
# Created by Markus on 20/8/2017.
#
#######################################################
#######################################################
Meteor.publish "my_profile", () ->
user_id = this.userId
filter =
owner_id: user_id
fields = visi... | 91985 | #######################################################
#
# Mooqita
# Created by <NAME> on 20/8/2017.
#
#######################################################
#######################################################
Meteor.publish "my_profile", () ->
user_id = this.userId
filter =
owner_id: user_id
fields = visi... | true | #######################################################
#
# Mooqita
# Created by PI:NAME:<NAME>END_PI on 20/8/2017.
#
#######################################################
#######################################################
Meteor.publish "my_profile", () ->
user_id = this.userId
filter =
owner_id: user_id
... |
[
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author supereggbert / htt",
"end": 17,
"score": 0.8818013668060303,
"start": 10,
"tag": "USERNAME",
"value": "mr.doob"
},
{
"context": "# @author mr.doob / http://mrdoob.com/\n# @author supereggbert / http://www.paulbrunt.co.uk... | source/javascripts/new_src/core/projector.coffee | andrew-aladev/three.js | 0 | # @author mr.doob / http://mrdoob.com/
# @author supereggbert / http://www.paulbrunt.co.uk/
# @author julianwa / https://github.com/julianwa
# @author aladjev.andrew@gmail.com
#= require new_src/core/matrix_4
#= require new_src/core/vector_3
#= require new_src/core/vector_4
#= require new_src/core/frustum
#= require n... | 38828 | # @author mr.doob / http://mrdoob.com/
# @author supereggbert / http://www.paulbrunt.co.uk/
# @author julianwa / https://github.com/julianwa
# @author <EMAIL>
#= require new_src/core/matrix_4
#= require new_src/core/vector_3
#= require new_src/core/vector_4
#= require new_src/core/frustum
#= require new_src/core/ray
... | true | # @author mr.doob / http://mrdoob.com/
# @author supereggbert / http://www.paulbrunt.co.uk/
# @author julianwa / https://github.com/julianwa
# @author PI:EMAIL:<EMAIL>END_PI
#= require new_src/core/matrix_4
#= require new_src/core/vector_3
#= require new_src/core/vector_4
#= require new_src/core/frustum
#= require new... |
[
{
"context": "onid, action: 'Validate', userid: cred.user, pass: cred.password}}, (err,resp,body) ->\n cred.loggedin=false\n ",
"end": 943,
"score": 0.9987649917602539,
"start": 930,
"tag": "PASSWORD",
"value": "cred.password"
},
{
"context": "\nnew Promise (next) ->\n Promp.ge... | index.coffee | 1upon0/nodejs-iitd-proxy-login | 1 | Prompt = require 'prompt'
Promise = require 'promise'
Request = require 'request'
cred =
url:'https://proxy22.iitd.ernet.in/cgi-bin/proxy.cgi'
loggedin: false
requestTimeout: 3000
retryTimeout: 2000
refreshTimeout: 120000
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
getSessionID = -> new Promise retry =... | 7008 | Prompt = require 'prompt'
Promise = require 'promise'
Request = require 'request'
cred =
url:'https://proxy22.iitd.ernet.in/cgi-bin/proxy.cgi'
loggedin: false
requestTimeout: 3000
retryTimeout: 2000
refreshTimeout: 120000
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
getSessionID = -> new Promise retry =... | true | Prompt = require 'prompt'
Promise = require 'promise'
Request = require 'request'
cred =
url:'https://proxy22.iitd.ernet.in/cgi-bin/proxy.cgi'
loggedin: false
requestTimeout: 3000
retryTimeout: 2000
refreshTimeout: 120000
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
getSessionID = -> new Promise retry =... |
[
{
"context": "eate_account\n 'screen_name': sn\n 'password': pw\n 'email': email\n 'name': sn\n , (err, data,",
"end": 643,
"score": 0.999187707901001,
"start": 641,
"tag": "PASSWORD",
"value": "pw"
}
] | app.coffee | ky0615/create-twitter-account | 4 | require 'colors'
path = require 'path'
fs = require 'fs'
yaml = require 'js-yaml'
config = yaml.safeLoad fs.readFileSync path.join __dirname, 'config.yml'
unless config
console.error 'I can not find the config file. Please copy the example file.'.red.underline
console.error ' hint:'
console.error ' ... | 176789 | require 'colors'
path = require 'path'
fs = require 'fs'
yaml = require 'js-yaml'
config = yaml.safeLoad fs.readFileSync path.join __dirname, 'config.yml'
unless config
console.error 'I can not find the config file. Please copy the example file.'.red.underline
console.error ' hint:'
console.error ' ... | true | require 'colors'
path = require 'path'
fs = require 'fs'
yaml = require 'js-yaml'
config = yaml.safeLoad fs.readFileSync path.join __dirname, 'config.yml'
unless config
console.error 'I can not find the config file. Please copy the example file.'.red.underline
console.error ' hint:'
console.error ' ... |
[
{
"context": " backbone-orm.js 0.7.14\n Copyright (c) 2013-2016 Vidigami\n License: MIT (http://www.opensource.org/license",
"end": 63,
"score": 0.9998732209205627,
"start": 55,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": "ses/mit-license.php)\n Source: https://github.com/... | src/relations/relation.coffee | dk-dev/backbone-orm | 54 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 Vidigami
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
BackboneORM = require '../cor... | 18669 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 <NAME>
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
BackboneORM = require '../core'... | true | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 PI:NAME:<NAME>END_PI
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
_ = require 'underscore'
Backbone = require 'backbone'
BackboneORM = req... |
[
{
"context": "configuration fields that\n\tKaffee uses.\n\n @author Fabian M. <mail.fabianm@gmail.com>\n###\nclass Configuration",
"end": 107,
"score": 0.9993400573730469,
"start": 99,
"tag": "NAME",
"value": "Fabian M"
},
{
"context": "n fields that\n\tKaffee uses.\n\n @author Fab... | kaffee/src/main/kaffee/configuration.coffee | fabianm/kaffee | 1 | ###
The Configuration class contains serveral configuration fields that
Kaffee uses.
@author Fabian M. <mail.fabianm@gmail.com>
###
class Configuration
@NAME: "Kaffee"
@VERSION: "0.3.3"
###
Default filename of the project configuration file.
###
@DEFAULT_PROJECT_CONFIG_FILE: "package.json"
###
T... | 5833 | ###
The Configuration class contains serveral configuration fields that
Kaffee uses.
@author <NAME>. <<EMAIL>>
###
class Configuration
@NAME: "Kaffee"
@VERSION: "0.3.3"
###
Default filename of the project configuration file.
###
@DEFAULT_PROJECT_CONFIG_FILE: "package.json"
###
The super project ... | true | ###
The Configuration class contains serveral configuration fields that
Kaffee uses.
@author PI:NAME:<NAME>END_PI. <PI:EMAIL:<EMAIL>END_PI>
###
class Configuration
@NAME: "Kaffee"
@VERSION: "0.3.3"
###
Default filename of the project configuration file.
###
@DEFAULT_PROJECT_CONFIG_FILE: "package.json"... |
[
{
"context": "#################\n# Copyright (C) 2014-2016 by Vaughn Iverson\n# meteor-file-job-sample-app is free software",
"end": 124,
"score": 0.9997797012329102,
"start": 110,
"tag": "NAME",
"value": "Vaughn Iverson"
}
] | sample.coffee | dev-alex-alex2006hw/mpointlook | 0 | ############################################################################
# Copyright (C) 2014-2016 by Vaughn Iverson
# meteor-file-job-sample-app is free software released under the MIT/X11 license.
# See included LICENSE file for details.
################################################################... | 153957 | ############################################################################
# Copyright (C) 2014-2016 by <NAME>
# meteor-file-job-sample-app is free software released under the MIT/X11 license.
# See included LICENSE file for details.
########################################################################... | true | ############################################################################
# Copyright (C) 2014-2016 by PI:NAME:<NAME>END_PI
# meteor-file-job-sample-app is free software released under the MIT/X11 license.
# See included LICENSE file for details.
##########################################################... |
[
{
"context": "Algorithm API for JavaScript\n# https://github.com/kzokm/ga.js\n#\n# Copyright (c) 2014 OKAMURA, Kazuhide\n#\n",
"end": 69,
"score": 0.9996821880340576,
"start": 64,
"tag": "USERNAME",
"value": "kzokm"
},
{
"context": "ps://github.com/kzokm/ga.js\n#\n# Copyright (c) 201... | lib/resolver.coffee | kzokm/ga.js | 4 | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 OKAMURA, Kazuhide
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
{EventEmitter} = require 'events'
class Resolver extends EventEmitter
constructor: (reproduct... | 68960 | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 <NAME>, <NAME>
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
{EventEmitter} = require 'events'
class Resolver extends EventEmitter
constructor: (reproduct, c... | true | ###
# Genetic Algorithm API for JavaScript
# https://github.com/kzokm/ga.js
#
# Copyright (c) 2014 PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI
#
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
###
{EventEmitter} = require 'events'
class Resolver extends EventEmitter
... |
[
{
"context": "-----------------------------\n# Copyright (c) 2012 Patrick Mueller\n#\n# Licensed under the Apache License, Version 2.",
"end": 117,
"score": 0.9998260736465454,
"start": 102,
"tag": "NAME",
"value": "Patrick Mueller"
}
] | lib/FileSet.coffee | pmuellr/offl-site | 1 | #-------------------------------------------------------------------------------
# Copyright (c) 2012 Patrick Mueller
#
# 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... | 179982 | #-------------------------------------------------------------------------------
# Copyright (c) 2012 <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/lice... | true | #-------------------------------------------------------------------------------
# Copyright (c) 2012 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.a... |
[
{
"context": "er destructuring from arrays and objects\n# @author Alex LaFroscia\n###\n'use strict'\n\n#------------------------------",
"end": 90,
"score": 0.9998181462287903,
"start": 76,
"tag": "NAME",
"value": "Alex LaFroscia"
}
] | src/tests/rules/prefer-destructuring.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Prefer destructuring from arrays and objects
# @author Alex LaFroscia
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/prefer-... | 83714 | ###*
# @fileoverview Prefer destructuring from arrays and objects
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/prefer-destruct... | true | ###*
# @fileoverview Prefer destructuring from arrays and objects
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require '../../rules/p... |
[
{
"context": " thing: 'foo',\n\n q: 'bar',\n\n name: 'Katzdale',\n\n remoteQueryChangeCount: 0,\n\n filter",
"end": 1720,
"score": 0.9994839429855347,
"start": 1712,
"tag": "NAME",
"value": "Katzdale"
},
{
"context": "undController.get('filter') -> {\"q\":\"ba... | addon/mixins/hash-bindings.coffee | realityendshere/ella-burn-ins | 1 | `import Ember from 'ember'`
###
@module emberella
@submodule emberella-mixins
###
get = Ember.get
keys = Object.keys
typeOf = Ember.typeOf
computed = Ember.computed
observer = Ember.observer
mixin = Ember.mixin
run = Ember.run
debounce = run.debounce
###
`HashBindingsMixin` combines attributes in the host object i... | 48932 | `import Ember from 'ember'`
###
@module emberella
@submodule emberella-mixins
###
get = Ember.get
keys = Object.keys
typeOf = Ember.typeOf
computed = Ember.computed
observer = Ember.observer
mixin = Ember.mixin
run = Ember.run
debounce = run.debounce
###
`HashBindingsMixin` combines attributes in the host object i... | true | `import Ember from 'ember'`
###
@module emberella
@submodule emberella-mixins
###
get = Ember.get
keys = Object.keys
typeOf = Ember.typeOf
computed = Ember.computed
observer = Ember.observer
mixin = Ember.mixin
run = Ember.run
debounce = run.debounce
###
`HashBindingsMixin` combines attributes in the host object i... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission ",
"end": 18,
"score": 0.9660224914550781,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-path.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... | 220924 | # 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": "#Language: Dutch\n#Translators: willemx\n\nnl =\n\n add: \"toevoegen\"\n and: \"en\"\n back: \"te",
"end": 38,
"score": 0.9971036314964294,
"start": 31,
"tag": "USERNAME",
"value": "willemx"
},
{
"context": "n\"\n and: \"en\"\n back: \"terug\"\n changePassword: \"... | t9n/nl.coffee | coWorkr-InSights/meteor-accounts-t9n | 80 | #Language: Dutch
#Translators: willemx
nl =
add: "toevoegen"
and: "en"
back: "terug"
changePassword: "Wachtwoord wijzigen"
choosePassword: "Wachtwoord kiezen"
clickAgree: "Door te registreren accepteert u onze"
configure: "Configureer"
createAccount: "Account aanmaken"
currentPassword: "Huidig wacht... | 89164 | #Language: Dutch
#Translators: willemx
nl =
add: "toevoegen"
and: "en"
back: "terug"
changePassword: "<PASSWORD>"
choosePassword: "<PASSWORD>"
clickAgree: "Door te registreren accepteert u onze"
configure: "Configureer"
createAccount: "Account aanmaken"
currentPassword: "<PASSWORD>"
dontHaveAnAcco... | true | #Language: Dutch
#Translators: willemx
nl =
add: "toevoegen"
and: "en"
back: "terug"
changePassword: "PI:PASSWORD:<PASSWORD>END_PI"
choosePassword: "PI:PASSWORD:<PASSWORD>END_PI"
clickAgree: "Door te registreren accepteert u onze"
configure: "Configureer"
createAccount: "Account aanmaken"
currentPas... |
[
{
"context": "###\n * https://github.com/jkuetemeier/gulp-tasks-common\n *\n * Copyright (c) 2014 Jörg K",
"end": 37,
"score": 0.9976932406425476,
"start": 26,
"tag": "USERNAME",
"value": "jkuetemeier"
},
{
"context": "temeier/gulp-tasks-common\n *\n * Copyright (c) 2014 Jörg Kütemei... | example/gulpfile.coffee | kuetemeier/gulp-tasks-common | 0 | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 Jörg Kütemeier
* Licensed under the MIT license.
###
# Load all required libraries.
gulp = require 'gulp'
common = require '..'
common.gulp_common(gulp)
gulp.task 'default', ['jshint']
| 37149 | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 <NAME>
* Licensed under the MIT license.
###
# Load all required libraries.
gulp = require 'gulp'
common = require '..'
common.gulp_common(gulp)
gulp.task 'default', ['jshint']
| true | ###
* https://github.com/jkuetemeier/gulp-tasks-common
*
* Copyright (c) 2014 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
# Load all required libraries.
gulp = require 'gulp'
common = require '..'
common.gulp_common(gulp)
gulp.task 'default', ['jshint']
|
[
{
"context": "nt called, amount '+amount\n hunts = [\n \"Met Jan\"\n \"Met Pieter\"\n \"Met de teamlei",
"end": 656,
"score": 0.5913830399513245,
"start": 653,
"tag": "NAME",
"value": "Met"
},
{
"context": "called, amount '+amount\n hunts = [\n \"Met... | server.coffee | twenteacademy/TAPhotoHunt | 1 | Timer = require 'timer'
Plugin = require 'plugin'
Db = require 'db'
Event = require 'event'
exports.onInstall = () !->
newHunt(5) # we'll start with 5 subjects
Event.create
unit: 'tahunts'
text: "Nieuwe TA-fotohunt: verdien punten, jee!"
exports.onUpgrade = !->
# apparently a timer did not... | 41256 | Timer = require 'timer'
Plugin = require 'plugin'
Db = require 'db'
Event = require 'event'
exports.onInstall = () !->
newHunt(5) # we'll start with 5 subjects
Event.create
unit: 'tahunts'
text: "Nieuwe TA-fotohunt: verdien punten, jee!"
exports.onUpgrade = !->
# apparently a timer did not... | true | Timer = require 'timer'
Plugin = require 'plugin'
Db = require 'db'
Event = require 'event'
exports.onInstall = () !->
newHunt(5) # we'll start with 5 subjects
Event.create
unit: 'tahunts'
text: "Nieuwe TA-fotohunt: verdien punten, jee!"
exports.onUpgrade = !->
# apparently a timer did not... |
[
{
"context": "reate\n\t\t###\n\t\tmollie.customers.create({\n\t\t\tname: \"Luke Skywalker\",\n\t\t\temail: \"luke@example.org\",\n\t\t\tmetadata: {\n\t\t",
"end": 339,
"score": 0.999895453453064,
"start": 325,
"tag": "NAME",
"value": "Luke Skywalker"
},
{
"context": "rs.create({\n\t\... | src/examples/11-new-customer.coffee | veselinoskih/mollie-test | 0 | ###
Example 11 - How to create a new customer in the Mollie API.
###
mollie = require("./mollie");
fs = require("fs");
class example
constructor: (request, response) ->
###
Customer creation parameters.
See: https://www.mollie.com/en/docs/reference/customers/create
###
mollie.customers.create({
na... | 86047 | ###
Example 11 - How to create a new customer in the Mollie API.
###
mollie = require("./mollie");
fs = require("fs");
class example
constructor: (request, response) ->
###
Customer creation parameters.
See: https://www.mollie.com/en/docs/reference/customers/create
###
mollie.customers.create({
na... | true | ###
Example 11 - How to create a new customer in the Mollie API.
###
mollie = require("./mollie");
fs = require("fs");
class example
constructor: (request, response) ->
###
Customer creation parameters.
See: https://www.mollie.com/en/docs/reference/customers/create
###
mollie.customers.create({
na... |
[
{
"context": "@fileoverview Tests for no-children-prop\n# @author Benjamin Stepp\n###\n\n'use strict'\n\n# ----------------------------",
"end": 72,
"score": 0.9998608827590942,
"start": 58,
"tag": "NAME",
"value": "Benjamin Stepp"
}
] | src/tests/rules/no-children-prop.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-children-prop
# @author Benjamin Stepp
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/no-chi... | 66839 | ###*
# @fileoverview Tests for no-children-prop
# @author <NAME>
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/no-children-pr... | true | ###*
# @fileoverview Tests for no-children-prop
# @author PI:NAME:<NAME>END_PI
###
'use strict'
# -----------------------------------------------------------------------------
# Requirements
# -----------------------------------------------------------------------------
rule = require 'eslint-plugin-react/lib/rules/... |
[
{
"context": "# Written by Nick Presta (nick@nickpresta.ca)\n# Released under the MIT lic",
"end": 24,
"score": 0.9998839497566223,
"start": 13,
"tag": "NAME",
"value": "Nick Presta"
},
{
"context": "# Written by Nick Presta (nick@nickpresta.ca)\n# Released under the MIT license.\n# ... | render.coffee | nickpresta/phantomjs-render-html | 1 | # Written by Nick Presta (nick@nickpresta.ca)
# Released under the MIT license.
# See: https://github.com/NickPresta/phantomjs-render-html
page = require('webpage').create()
system = require 'system'
usage = ->
console.log '''Usage: rasterize.coffee -url URL -paper [paperwidth*paperheight|paperformat] -format pdf -o... | 172215 | # Written by <NAME> (<EMAIL>)
# Released under the MIT license.
# See: https://github.com/NickPresta/phantomjs-render-html
page = require('webpage').create()
system = require 'system'
usage = ->
console.log '''Usage: rasterize.coffee -url URL -paper [paperwidth*paperheight|paperformat] -format pdf -output output [< ... | true | # Written by PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# Released under the MIT license.
# See: https://github.com/NickPresta/phantomjs-render-html
page = require('webpage').create()
system = require 'system'
usage = ->
console.log '''Usage: rasterize.coffee -url URL -paper [paperwidth*paperheight|paperformat] -... |
[
{
"context": "user =\n name: 'Werner Heisenberg'\n occupation: 'theoretical physicist'\n\ncurrentUs",
"end": 33,
"score": 0.9998682737350464,
"start": 16,
"tag": "NAME",
"value": "Werner Heisenberg"
}
] | documentation/examples/object_spread.coffee | Trott/coffeescript | 8,728 | user =
name: 'Werner Heisenberg'
occupation: 'theoretical physicist'
currentUser = { user..., status: 'Uncertain' }
| 191490 | user =
name: '<NAME>'
occupation: 'theoretical physicist'
currentUser = { user..., status: 'Uncertain' }
| true | user =
name: 'PI:NAME:<NAME>END_PI'
occupation: 'theoretical physicist'
currentUser = { user..., status: 'Uncertain' }
|
[
{
"context": "###\n grunt-deadlink\n https://github.com/lnyarl/grunt-deadlink\n\n Copyright (c) +2013 choi yongja",
"end": 48,
"score": 0.9996417164802551,
"start": 42,
"tag": "USERNAME",
"value": "lnyarl"
},
{
"context": "b.com/lnyarl/grunt-deadlink\n\n Copyright (c) +2013 choi ... | src/tasks/deadlink.coffee | gruntjs-updater/grunt-deadlink | 2 | ###
grunt-deadlink
https://github.com/lnyarl/grunt-deadlink
Copyright (c) +2013 choi yongjae
Licensed under the MIT license.
###
module.exports = (grunt) ->
util = (require './util')(grunt)
Logger = (require './logger')(grunt)
Checker = (require './checker')(grunt)
_ = grunt.util._
grunt.registerMu... | 163725 | ###
grunt-deadlink
https://github.com/lnyarl/grunt-deadlink
Copyright (c) +2013 <NAME>
Licensed under the MIT license.
###
module.exports = (grunt) ->
util = (require './util')(grunt)
Logger = (require './logger')(grunt)
Checker = (require './checker')(grunt)
_ = grunt.util._
grunt.registerMultiTas... | true | ###
grunt-deadlink
https://github.com/lnyarl/grunt-deadlink
Copyright (c) +2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
module.exports = (grunt) ->
util = (require './util')(grunt)
Logger = (require './logger')(grunt)
Checker = (require './checker')(grunt)
_ = grunt.util._
grunt.re... |
[
{
"context": "#{constants.keygen.expire}\"\n # \"Passphrase: #{passphrase}\"\n # \"%commit\"\n # ]\n # stdin = script.joi",
"end": 2567,
"score": 0.9935034513473511,
"start": 2557,
"tag": "PASSWORD",
"value": "passphrase"
}
] | util/index.iced | taterbase/node-keybase | 10 | triplesec = require 'triplesec'
constants = require '../constants'
crypto = require 'crypto'
{BufferOutStream} = require 'iced-spawn'
{master_ring} = require('gpg-wrapper').keyring
{make_esc} = require 'iced-error'
KeyManager = require('kbpgp').KeyManager
Encryptor = require('triplesec').Encryptor
class StatusParser
... | 47136 | triplesec = require 'triplesec'
constants = require '../constants'
crypto = require 'crypto'
{BufferOutStream} = require 'iced-spawn'
{master_ring} = require('gpg-wrapper').keyring
{make_esc} = require 'iced-error'
KeyManager = require('kbpgp').KeyManager
Encryptor = require('triplesec').Encryptor
class StatusParser
... | true | triplesec = require 'triplesec'
constants = require '../constants'
crypto = require 'crypto'
{BufferOutStream} = require 'iced-spawn'
{master_ring} = require('gpg-wrapper').keyring
{make_esc} = require 'iced-error'
KeyManager = require('kbpgp').KeyManager
Encryptor = require('triplesec').Encryptor
class StatusParser
... |
[
{
"context": "E_PR_USER\n\n process.env.GH_RELEASE_PR_TOKEN = 'bogus-token'\n process.env.GH_RELEASE_PR_USER = 'foo'\n\n ",
"end": 375,
"score": 0.964513897895813,
"start": 364,
"tag": "KEY",
"value": "bogus-token"
},
{
"context": " @user = @robot.brain.userForId('1', { ... | test/gh-release-pr-test.coffee | banyan/hubot-gh-release-pr | 3 | assert = require 'power-assert'
sinon = require 'sinon'
Hubot = require 'hubot'
TextMessage = Hubot.TextMessage
GitHubApi = require 'github'
describe 'gh-release-pr', ->
beforeEach (done) ->
@ghReleasePrToken = process.env.GH_RELEASE_PR_TOKEN
@ghReleasePrUser = process.env.GH_RELEASE_PR_U... | 86757 | assert = require 'power-assert'
sinon = require 'sinon'
Hubot = require 'hubot'
TextMessage = Hubot.TextMessage
GitHubApi = require 'github'
describe 'gh-release-pr', ->
beforeEach (done) ->
@ghReleasePrToken = process.env.GH_RELEASE_PR_TOKEN
@ghReleasePrUser = process.env.GH_RELEASE_PR_U... | true | assert = require 'power-assert'
sinon = require 'sinon'
Hubot = require 'hubot'
TextMessage = Hubot.TextMessage
GitHubApi = require 'github'
describe 'gh-release-pr', ->
beforeEach (done) ->
@ghReleasePrToken = process.env.GH_RELEASE_PR_TOKEN
@ghReleasePrUser = process.env.GH_RELEASE_PR_U... |
[
{
"context": "pEqual(subject(subject: {$type: 'Patient', name: 'maud',\n birthDate: {$gt: '1970'}}), 'subject:Patien",
"end": 1735,
"score": 0.9892005920410156,
"start": 1731,
"tag": "NAME",
"value": "maud"
}
] | fhir.js/test/querySpec.coffee | bethanysciences/NokiaFHIR | 24 | fhir = require('../src/middlewares/search')
assert = require('assert')
describe "linearizeParams:", ->
subject = fhir._query
it "simplest", ->
assert.deepEqual(subject(a:1,b:2) , [{param: 'a', value: [1]},{param: 'b',value: [2]}])
it "modifier", ->
assert.deepEqual(subject(a: {$exact: 2}) , [{param: 'a... | 126800 | fhir = require('../src/middlewares/search')
assert = require('assert')
describe "linearizeParams:", ->
subject = fhir._query
it "simplest", ->
assert.deepEqual(subject(a:1,b:2) , [{param: 'a', value: [1]},{param: 'b',value: [2]}])
it "modifier", ->
assert.deepEqual(subject(a: {$exact: 2}) , [{param: 'a... | true | fhir = require('../src/middlewares/search')
assert = require('assert')
describe "linearizeParams:", ->
subject = fhir._query
it "simplest", ->
assert.deepEqual(subject(a:1,b:2) , [{param: 'a', value: [1]},{param: 'b',value: [2]}])
it "modifier", ->
assert.deepEqual(subject(a: {$exact: 2}) , [{param: 'a... |
[
{
"context": "# ### begin original comment by jashkenas\n# The CoffeeScript parser is generated by [Jison]",
"end": 41,
"score": 0.9989407062530518,
"start": 32,
"tag": "USERNAME",
"value": "jashkenas"
},
{
"context": " parser is generated by [Jison](http://github.com/zaach/jison)\n#... | src/parser.coffee | chaosim/coffee-script | 1 | # ### begin original comment by jashkenas
# The CoffeeScript parser is generated by [Jison](http://github.com/zaach/jison)
# from this grammar file. Jison is a bottom-up parser generator, similar in
# style to [Bison](http://www.gnu.org/software/bison), implemented in JavaScript.
# It can recognize [LALR(1), LR(0), SLR... | 190609 | # ### begin original comment by jashkenas
# The CoffeeScript parser is generated by [Jison](http://github.com/zaach/jison)
# from this grammar file. Jison is a bottom-up parser generator, similar in
# style to [Bison](http://www.gnu.org/software/bison), implemented in JavaScript.
# It can recognize [LALR(1), LR(0), SLR... | true | # ### begin original comment by jashkenas
# The CoffeeScript parser is generated by [Jison](http://github.com/zaach/jison)
# from this grammar file. Jison is a bottom-up parser generator, similar in
# style to [Bison](http://www.gnu.org/software/bison), implemented in JavaScript.
# It can recognize [LALR(1), LR(0), SLR... |
[
{
"context": "se of redundant constructors in classes.\n# @author Alberto Rodríguez\n###\n'use strict'\n\n#------------------------------",
"end": 107,
"score": 0.9998620748519897,
"start": 90,
"tag": "NAME",
"value": "Alberto Rodríguez"
}
] | src/rules/no-useless-constructor.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Rule to flag the use of redundant constructors in classes.
# @author Alberto Rodríguez
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###*
# Checks whether a... | 67968 | ###*
# @fileoverview Rule to flag the use of redundant constructors in classes.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###*
# Checks whether a given arra... | true | ###*
# @fileoverview Rule to flag the use of redundant constructors in classes.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
###*
# Checks whethe... |
[
{
"context": "iterals instead of string concatenation.\n# @author Toru Nagashima\n###\n\n'use strict'\n\n#-----------------------------",
"end": 120,
"score": 0.999880313873291,
"start": 106,
"tag": "NAME",
"value": "Toru Nagashima"
}
] | src/rules/prefer-template.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview A rule to suggest using template literals instead of string concatenation.
# @author Toru Nagashima
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astU... | 142905 | ###*
# @fileoverview A rule to suggest using template literals instead of string concatenation.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
astUtils = r... | true | ###*
# @fileoverview A rule to suggest using template literals instead of string concatenation.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------... |
[
{
"context": "orker\n amqpUri: 'amqp://meshblu:judgementday@127.0.0.1'\n jobTimeoutSeconds: 1\n jobLogRedisUri:",
"end": 969,
"score": 0.9997367858886719,
"start": 960,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "ient = new MeshbluAmqp uuid: 'some-uuid',... | test/connect-firehose-spec.coffee | octoblu/meshblu-core-firehose-amqp | 0 | _ = require 'lodash'
async = require 'async'
FirehoseWorker = require '../src/firehose-worker'
MeshbluAmqp = require 'meshblu-amqp'
RedisNS = require '@octoblu/redis-ns'
redis = require 'ioredis'
describe 'connect firehose subscription', ->
beforeEach 'create redis connection... | 109443 | _ = require 'lodash'
async = require 'async'
FirehoseWorker = require '../src/firehose-worker'
MeshbluAmqp = require 'meshblu-amqp'
RedisNS = require '@octoblu/redis-ns'
redis = require 'ioredis'
describe 'connect firehose subscription', ->
beforeEach 'create redis connection... | true | _ = require 'lodash'
async = require 'async'
FirehoseWorker = require '../src/firehose-worker'
MeshbluAmqp = require 'meshblu-amqp'
RedisNS = require '@octoblu/redis-ns'
redis = require 'ioredis'
describe 'connect firehose subscription', ->
beforeEach 'create redis connection... |
[
{
"context": "ion Simple Pooling Module\n * @author Valiton GmbH, Bastian \"hereandnow\" Behrens\n###\n\n\n###*\n * 3rd library im",
"end": 96,
"score": 0.9998497366905212,
"start": 89,
"tag": "NAME",
"value": "Bastian"
},
{
"context": " Pooling Module\n * @author Valiton GmbH, Basti... | src/simplepool.coffee | valiton/node-simple-pool | 2 | ###*
* @name simple-pool
* @description Simple Pooling Module
* @author Valiton GmbH, Bastian "hereandnow" Behrens
###
###*
* 3rd library imports
###
randomInt = require('random-tools').randomInt
module.exports = class SimplePool
###*
* create a new SimplePool instance
*
* @memberOf global
*
* ... | 72719 | ###*
* @name simple-pool
* @description Simple Pooling Module
* @author Valiton GmbH, <NAME> "hereandnow" <NAME>
###
###*
* 3rd library imports
###
randomInt = require('random-tools').randomInt
module.exports = class SimplePool
###*
* create a new SimplePool instance
*
* @memberOf global
*
* @c... | true | ###*
* @name simple-pool
* @description Simple Pooling Module
* @author Valiton GmbH, PI:NAME:<NAME>END_PI "hereandnow" PI:NAME:<NAME>END_PI
###
###*
* 3rd library imports
###
randomInt = require('random-tools').randomInt
module.exports = class SimplePool
###*
* create a new SimplePool instance
*
* @... |
[
{
"context": " = require(\"stripe\") process.env.STRIPE_TOKEN or \"sk_test_lRsLtNDZ9EBsX2NrFx07H5mO\"\npending_charges = {}\n\nformat_page = (data) ->\n ",
"end": 265,
"score": 0.936449408531189,
"start": 233,
"tag": "KEY",
"value": "sk_test_lRsLtNDZ9EBsX2NrFx07H5mO"
},
{
"context":... | src/account/index.coffee | 1egoman/bag-node | 0 | User = require "../models/user_model"
Foodstuffs = require "../models/foodstuff_model"
Bag = require "../models/bag_model"
auth_ctrl = require "../controllers/auth_controller"
stripe = require("stripe") process.env.STRIPE_TOKEN or "sk_test_lRsLtNDZ9EBsX2NrFx07H5mO"
pending_charges = {}
format_page = (data) ->
"""
... | 36766 | User = require "../models/user_model"
Foodstuffs = require "../models/foodstuff_model"
Bag = require "../models/bag_model"
auth_ctrl = require "../controllers/auth_controller"
stripe = require("stripe") process.env.STRIPE_TOKEN or "<KEY>"
pending_charges = {}
format_page = (data) ->
"""
<html>
<head>
<t... | true | User = require "../models/user_model"
Foodstuffs = require "../models/foodstuff_model"
Bag = require "../models/bag_model"
auth_ctrl = require "../controllers/auth_controller"
stripe = require("stripe") process.env.STRIPE_TOKEN or "PI:KEY:<KEY>END_PI"
pending_charges = {}
format_page = (data) ->
"""
<html>
<h... |
[
{
"context": "er: 's3')\n (-> project.configure(access_key: 1234, secret_key: 1234)).should.not.throw()\n proj",
"end": 2297,
"score": 0.990706741809845,
"start": 2293,
"tag": "KEY",
"value": "1234"
},
{
"context": "> project.configure(access_key: 1234, secret_key: 1234)).s... | test/index.coffee | carrot/ship | 151 | path = require 'path'
fs = require 'fs'
yaml = require 'js-yaml'
nodefn = require 'when/node'
describe 'api', ->
describe 'constructor', ->
it 'should construct a new ship instance', ->
(-> new Ship(root: __dirname, deployer: 's3')).should.not.throw()
it 'should error if passed an invalid de... | 215243 | path = require 'path'
fs = require 'fs'
yaml = require 'js-yaml'
nodefn = require 'when/node'
describe 'api', ->
describe 'constructor', ->
it 'should construct a new ship instance', ->
(-> new Ship(root: __dirname, deployer: 's3')).should.not.throw()
it 'should error if passed an invalid de... | true | path = require 'path'
fs = require 'fs'
yaml = require 'js-yaml'
nodefn = require 'when/node'
describe 'api', ->
describe 'constructor', ->
it 'should construct a new ship instance', ->
(-> new Ship(root: __dirname, deployer: 's3')).should.not.throw()
it 'should error if passed an invalid de... |
[
{
"context": "fileoverview Tests for no-await-in-loop.\n# @author Nat Mote (nmote)\n###\n\n'use strict'\n\nrule = require '../../",
"end": 67,
"score": 0.9998597502708435,
"start": 59,
"tag": "NAME",
"value": "Nat Mote"
},
{
"context": "w Tests for no-await-in-loop.\n# @author Nat Mo... | src/tests/rules/no-await-in-loop.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-await-in-loop.
# @author Nat Mote (nmote)
###
'use strict'
rule = require '../../rules/no-await-in-loop'
{RuleTester} = require 'eslint'
path = require 'path'
error = messageId: 'unexpectedAwait', type: 'AwaitExpression'
ruleTester = new RuleTester parser: path.join __dirname, '../... | 200853 | ###*
# @fileoverview Tests for no-await-in-loop.
# @author <NAME> (nmote)
###
'use strict'
rule = require '../../rules/no-await-in-loop'
{RuleTester} = require 'eslint'
path = require 'path'
error = messageId: 'unexpectedAwait', type: 'AwaitExpression'
ruleTester = new RuleTester parser: path.join __dirname, '../..... | true | ###*
# @fileoverview Tests for no-await-in-loop.
# @author PI:NAME:<NAME>END_PI (nmote)
###
'use strict'
rule = require '../../rules/no-await-in-loop'
{RuleTester} = require 'eslint'
path = require 'path'
error = messageId: 'unexpectedAwait', type: 'AwaitExpression'
ruleTester = new RuleTester parser: path.join __d... |
[
{
"context": " @pizzaSurvey.addRowAtIndex({\n name: \"firstrow\",\n label: \"first row\",\n type: \"",
"end": 1840,
"score": 0.6028540134429932,
"start": 1832,
"tag": "NAME",
"value": "firstrow"
},
{
"context": " @pizzaSurvey.addRowAtIndex({\n ... | source/javascripts/spec/spec_xlform.coffee | dorey/xlform-builder | 1 | describe "xlform survey model (XLF.Survey)", ->
beforeEach ->
@pizzaSurvey = XLF.createSurveyFromCsv(PIZZA_SURVEY)
it "creates xlform", ->
xlf = new XLF.Survey name: "Sample"
expect(xlf).toBeDefined()
expect(xlf instanceof XLF.Survey).toBe(true)
expect(xlf.get("name")).toBe("Sample")
it "ens... | 48438 | describe "xlform survey model (XLF.Survey)", ->
beforeEach ->
@pizzaSurvey = XLF.createSurveyFromCsv(PIZZA_SURVEY)
it "creates xlform", ->
xlf = new XLF.Survey name: "Sample"
expect(xlf).toBeDefined()
expect(xlf instanceof XLF.Survey).toBe(true)
expect(xlf.get("name")).toBe("Sample")
it "ens... | true | describe "xlform survey model (XLF.Survey)", ->
beforeEach ->
@pizzaSurvey = XLF.createSurveyFromCsv(PIZZA_SURVEY)
it "creates xlform", ->
xlf = new XLF.Survey name: "Sample"
expect(xlf).toBeDefined()
expect(xlf instanceof XLF.Survey).toBe(true)
expect(xlf.get("name")).toBe("Sample")
it "ens... |
[
{
"context": "## Copyright (c) 2011, Chris Umbel\n##\n## Permission is hereby granted, free of charg",
"end": 34,
"score": 0.9998162984848022,
"start": 23,
"tag": "NAME",
"value": "Chris Umbel"
}
] | src/wordnet_file.coffee | khanali21/wordnet | 3 | ## Copyright (c) 2011, Chris Umbel
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, publish, ... | 176214 | ## Copyright (c) 2011, <NAME>
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, publish, distr... | true | ## Copyright (c) 2011, PI:NAME:<NAME>END_PI
##
## Permission is hereby granted, free of charge, to any person obtaining a copy
## of this software and associated documentation files (the "Software"), to deal
## in the Software without restriction, including without limitation the rights
## to use, copy, modify, merge, ... |
[
{
"context": ">\n *\n * Copyright (c) 2015 Ryan Gaus\n * Licensed under the MIT license.\n ",
"end": 2772,
"score": 0.9997830390930176,
"start": 2763,
"tag": "NAME",
"value": "Ryan Gaus"
}
] | Gruntfile.coffee | 1egoman/cena_app | 0 | 'use strict'
module.exports = (grunt) ->
# load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach (contrib) ->
grunt.log.ok [ contrib + ' is loaded' ]
grunt.loadNpmTasks contrib
config =
dist: 'dist'
src: 'src'
distTest: 'test/dist'
srcTest: 'test/src'
pkg: grunt.file... | 9569 | 'use strict'
module.exports = (grunt) ->
# load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach (contrib) ->
grunt.log.ok [ contrib + ' is loaded' ]
grunt.loadNpmTasks contrib
config =
dist: 'dist'
src: 'src'
distTest: 'test/dist'
srcTest: 'test/src'
pkg: grunt.file... | true | 'use strict'
module.exports = (grunt) ->
# load all grunt tasks
require('matchdep').filterDev('grunt-*').forEach (contrib) ->
grunt.log.ok [ contrib + ' is loaded' ]
grunt.loadNpmTasks contrib
config =
dist: 'dist'
src: 'src'
distTest: 'test/dist'
srcTest: 'test/src'
pkg: grunt.file... |
[
{
"context": "ame = \"markov\") ->\n @keyPrefix = \"#{modelName}:\"\n\n # Configure redis the same way that redi",
"end": 366,
"score": 0.5688269734382629,
"start": 366,
"tag": "KEY",
"value": ""
}
] | src/storage/redis.coffee | migstopheles/hubot-markov | 57 | Redis = require 'redis'
Url = require 'url'
# Markov storage implementation that uses redis hash keys to store the model.
class RedisStorage
# Create a storage module connected to Redis.
# Key prefix is used to isolate stored markov transitions from other keys in the database.
constructor: (@connStr, modelName ... | 200901 | Redis = require 'redis'
Url = require 'url'
# Markov storage implementation that uses redis hash keys to store the model.
class RedisStorage
# Create a storage module connected to Redis.
# Key prefix is used to isolate stored markov transitions from other keys in the database.
constructor: (@connStr, modelName ... | true | Redis = require 'redis'
Url = require 'url'
# Markov storage implementation that uses redis hash keys to store the model.
class RedisStorage
# Create a storage module connected to Redis.
# Key prefix is used to isolate stored markov transitions from other keys in the database.
constructor: (@connStr, modelName ... |
[
{
"context": "on\"\n null\n\n ## https://github.com/cypress-io/cypress/issues/65\n it \"provides the correct ",
"end": 17667,
"score": 0.9996018409729004,
"start": 17657,
"tag": "USERNAME",
"value": "cypress-io"
},
{
"context": " headers: {\n ... | packages/driver/test/cypress/integration/commands/xhr_spec.coffee | ahmedbera/cypress | 3 | _ = Cypress._
$ = Cypress.$
Promise = Cypress.Promise
describe "src/cy/commands/xhr", ->
before ->
cy
.visit("/fixtures/jquery.html")
.then (win) ->
h = $(win.document.head)
h.find("script").remove()
@head = h.prop("outerHTML")
@body = win.document.body.outerHTML
b... | 182202 | _ = Cypress._
$ = Cypress.$
Promise = Cypress.Promise
describe "src/cy/commands/xhr", ->
before ->
cy
.visit("/fixtures/jquery.html")
.then (win) ->
h = $(win.document.head)
h.find("script").remove()
@head = h.prop("outerHTML")
@body = win.document.body.outerHTML
b... | true | _ = Cypress._
$ = Cypress.$
Promise = Cypress.Promise
describe "src/cy/commands/xhr", ->
before ->
cy
.visit("/fixtures/jquery.html")
.then (win) ->
h = $(win.document.head)
h.find("script").remove()
@head = h.prop("outerHTML")
@body = win.document.body.outerHTML
b... |
[
{
"context": "nsteonOpenCloseSensorNode extends IsyNode\n key: 'insteonOpenCloseSensor'\n types: [[16, 2], [16, 17]]\n\n aspects:\n ope",
"end": 131,
"score": 0.8739693760871887,
"start": 109,
"tag": "KEY",
"value": "insteonOpenCloseSensor"
}
] | lib/adapters/isy/IsyInsteonOpenCloseSensorNode.coffee | monitron/jarvis-ha | 1 | IsyNode = require('./IsyNode')
module.exports = class IsyInsteonOpenCloseSensorNode extends IsyNode
key: 'insteonOpenCloseSensor'
types: [[16, 2], [16, 17]]
aspects:
openCloseSensor: {}
processData: (data) ->
if data.ST?
value = if data.ST == ' '
undefined
else if data.ST == '0'
... | 179203 | IsyNode = require('./IsyNode')
module.exports = class IsyInsteonOpenCloseSensorNode extends IsyNode
key: '<KEY>'
types: [[16, 2], [16, 17]]
aspects:
openCloseSensor: {}
processData: (data) ->
if data.ST?
value = if data.ST == ' '
undefined
else if data.ST == '0'
false
... | true | IsyNode = require('./IsyNode')
module.exports = class IsyInsteonOpenCloseSensorNode extends IsyNode
key: 'PI:KEY:<KEY>END_PI'
types: [[16, 2], [16, 17]]
aspects:
openCloseSensor: {}
processData: (data) ->
if data.ST?
value = if data.ST == ' '
undefined
else if data.ST == '0'
... |
[
{
"context": " player.item = undefined\n\n key = \"#{player.playerType}_bomb-#{bombId++}\"\n\n ",
"end": 676,
"score": 0.9559305906295776,
"start": 673,
"tag": "KEY",
"value": "\"#{"
},
{
"context": "em = undefined\n\n key = \"#{player.playerTy... | js/coffee/item_bomb.coffee | wjagodfrey/spaceJoust | 0 | bombId = 0
class item.Bomb extends Item
constructor: (@container, @key, @spawner, @xBounce, @yBounce) ->
color: colors.bomb.background
onHit: (col, ent) ->
if ent.type is 'Player' and !ent.item?
super(col, ent)
applyItem: (player) ->
if !player.item? #if player doesn't have an item
play... | 153874 | bombId = 0
class item.Bomb extends Item
constructor: (@container, @key, @spawner, @xBounce, @yBounce) ->
color: colors.bomb.background
onHit: (col, ent) ->
if ent.type is 'Player' and !ent.item?
super(col, ent)
applyItem: (player) ->
if !player.item? #if player doesn't have an item
play... | true | bombId = 0
class item.Bomb extends Item
constructor: (@container, @key, @spawner, @xBounce, @yBounce) ->
color: colors.bomb.background
onHit: (col, ent) ->
if ent.type is 'Player' and !ent.item?
super(col, ent)
applyItem: (player) ->
if !player.item? #if player doesn't have an item
play... |
[
{
"context": "c-4fb9-b9db-5583351f606e'\n DEFAULT_APP_SECRET = 'rtRPuoJZeGT5yiKQH6mFt9LZ1zMWFPb4z9olkJspfnPDygWukK_vjWuP'\n\n constructor: (options = {}) ->\n @_id = opt",
"end": 150,
"score": 0.9997045993804932,
"start": 94,
"tag": "KEY",
"value": "rtRPuoJZeGT5yiKQH6mFt9LZ1zMWFPb4z9olk... | cmu.coffee | ryhan/cmujs | 1 | class @API
DEFAULT_APP_ID = '9c55f614-c85c-4fb9-b9db-5583351f606e'
DEFAULT_APP_SECRET = 'rtRPuoJZeGT5yiKQH6mFt9LZ1zMWFPb4z9olkJspfnPDygWukK_vjWuP'
constructor: (options = {}) ->
@_id = options.id || DEFAULT_APP_ID
@_secret = options.secret || DEFAULT_APP_SECRET
@_api_endpoint = 'https://apis.scottyl... | 89708 | class @API
DEFAULT_APP_ID = '9c55f614-c85c-4fb9-b9db-5583351f606e'
DEFAULT_APP_SECRET = '<KEY>'
constructor: (options = {}) ->
@_id = options.id || DEFAULT_APP_ID
@_secret = options.secret || DEFAULT_APP_SECRET
@_api_endpoint = 'https://apis.scottylabs.org/v1/'
date = new Date()
@_current_se... | true | class @API
DEFAULT_APP_ID = '9c55f614-c85c-4fb9-b9db-5583351f606e'
DEFAULT_APP_SECRET = 'PI:KEY:<KEY>END_PI'
constructor: (options = {}) ->
@_id = options.id || DEFAULT_APP_ID
@_secret = options.secret || DEFAULT_APP_SECRET
@_api_endpoint = 'https://apis.scottylabs.org/v1/'
date = new Date()
... |
[
{
"context": "em_id = data.item_id\n\t\tfield = data.field\n\n\t\tkey = collection_name + item_id + field\n\t\tdownload_object = Session.get key\n\n\t\tif",
"end": 467,
"score": 0.7562378644943237,
"start": 442,
"tag": "KEY",
"value": "collection_name + item_id"
}
] | client/components/script/avatar.coffee | MooqitaSFH/worklearn | 0 | ###############################################################################
# Avatar
###############################################################################
###############################################################################
Template.avatar.helpers
is_downloading: () ->
inst = Template.insta... | 191422 | ###############################################################################
# Avatar
###############################################################################
###############################################################################
Template.avatar.helpers
is_downloading: () ->
inst = Template.insta... | true | ###############################################################################
# Avatar
###############################################################################
###############################################################################
Template.avatar.helpers
is_downloading: () ->
inst = Template.insta... |
[
{
"context": "= \"https://www.googleapis.com/customsearch/v1?key=AIzaSyD79lKLhaHzunEXAj_bYMkwVI3lx-dYdxM&cx=007414649059824118455:2qstsvfxe1o&searchType=i",
"end": 201,
"score": 0.9997024536132812,
"start": 162,
"tag": "KEY",
"value": "AIzaSyD79lKLhaHzunEXAj_bYMkwVI3lx-dYdxM"
}
] | app/controllers/requestHandlers.server.coffee | JanMP/image-search-abstraction-layer | 0 | request = require "request"
path = process.cwd()
SearchEntry = require path + "/app/models/searches.js"
urlStr = "https://www.googleapis.com/customsearch/v1?key=AIzaSyD79lKLhaHzunEXAj_bYMkwVI3lx-dYdxM&cx=007414649059824118455:2qstsvfxe1o&searchType=image&q="
module.exports = ->
search : (req, res) ->
query= ... | 169677 | request = require "request"
path = process.cwd()
SearchEntry = require path + "/app/models/searches.js"
urlStr = "https://www.googleapis.com/customsearch/v1?key=<KEY>&cx=007414649059824118455:2qstsvfxe1o&searchType=image&q="
module.exports = ->
search : (req, res) ->
query= req.params.query
offset = req.... | true | request = require "request"
path = process.cwd()
SearchEntry = require path + "/app/models/searches.js"
urlStr = "https://www.googleapis.com/customsearch/v1?key=PI:KEY:<KEY>END_PI&cx=007414649059824118455:2qstsvfxe1o&searchType=image&q="
module.exports = ->
search : (req, res) ->
query= req.params.query
... |
[
{
"context": "###\n# @author Will Steinmetz\n# jQuery notification plug-in inspired by the not",
"end": 28,
"score": 0.9998548626899719,
"start": 14,
"tag": "NAME",
"value": "Will Steinmetz"
},
{
"context": "ation style of Windows 8\n# Copyright (c)2013-2015, Will Steinmetz\n# Licens... | public/third_party/notific8/Gruntfile.coffee | pvndn/spa | 130 | ###
# @author Will Steinmetz
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, Will Steinmetz
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.initConfig(
pkg: require('./package.json')
)
... | 18136 | ###
# @author <NAME>
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, <NAME>
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.initConfig(
pkg: require('./package.json')
)
grunt.loadTas... | true | ###
# @author PI:NAME:<NAME>END_PI
# jQuery notification plug-in inspired by the notification style of Windows 8
# Copyright (c)2013-2015, PI:NAME:<NAME>END_PI
# Licensed under the BSD license.
# http://opensource.org/licenses/BSD-3-Clause
###
module.exports = (grunt) ->
grunt.initConfig(
pkg: require('./package... |
[
{
"context": ": lod curves + phe x gen (as mean +/- 2 SE) plot\n# Karl W Broman\n\niplotScanone_ci = (lod_data, pxg_data, chartOpts",
"end": 81,
"score": 0.9998499155044556,
"start": 68,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/charts/iplotScanone_ci.coffee | FourchettesDeInterActive/qtlcharts | 0 | # iplotScanone_ci: lod curves + phe x gen (as mean +/- 2 SE) plot
# Karl W Broman
iplotScanone_ci = (lod_data, pxg_data, chartOpts) ->
markers = (x for x of pxg_data.chrByMarkers)
# chartOpts start
height = chartOpts?.height ? 450 # height of image in pixels
wleft = chartOpts?.wleft ? 700 # width o... | 8159 | # iplotScanone_ci: lod curves + phe x gen (as mean +/- 2 SE) plot
# <NAME>
iplotScanone_ci = (lod_data, pxg_data, chartOpts) ->
markers = (x for x of pxg_data.chrByMarkers)
# chartOpts start
height = chartOpts?.height ? 450 # height of image in pixels
wleft = chartOpts?.wleft ? 700 # width of left ... | true | # iplotScanone_ci: lod curves + phe x gen (as mean +/- 2 SE) plot
# PI:NAME:<NAME>END_PI
iplotScanone_ci = (lod_data, pxg_data, chartOpts) ->
markers = (x for x of pxg_data.chrByMarkers)
# chartOpts start
height = chartOpts?.height ? 450 # height of image in pixels
wleft = chartOpts?.wleft ? 700 # ... |
[
{
"context": "window\n domain = tld document.domain\n key = '_hza'\n\n state = ->\n value = cookies.get key\n if",
"end": 324,
"score": 0.999322235584259,
"start": 319,
"tag": "KEY",
"value": "'_hza"
}
] | src/session.coffee | hanzo-io/track.js | 16 | {safariPrivateBrowsing, tld} = require './utils'
{document, window} = require './browser'
# Default session storage
localStorage = -> require 'store'
# Fallback to cookie storage to handle safari private browsing mode
cookies = ->
cookies = (require 'cookies-js') window
domain = tld document.domain
key = '... | 119363 | {safariPrivateBrowsing, tld} = require './utils'
{document, window} = require './browser'
# Default session storage
localStorage = -> require 'store'
# Fallback to cookie storage to handle safari private browsing mode
cookies = ->
cookies = (require 'cookies-js') window
domain = tld document.domain
key = <... | true | {safariPrivateBrowsing, tld} = require './utils'
{document, window} = require './browser'
# Default session storage
localStorage = -> require 'store'
# Fallback to cookie storage to handle safari private browsing mode
cookies = ->
cookies = (require 'cookies-js') window
domain = tld document.domain
key = P... |
[
{
"context": "foreEach ->\n @heroku = new Heroku\n key : \"deadbeef\"\n\n spyOn @heroku, \"request\"\n\n it \"should be a",
"end": 122,
"score": 0.8956020474433899,
"start": 114,
"tag": "KEY",
"value": "deadbeef"
}
] | node_modules/heroku/spec/apps.spec.coffee | equirk/CheckMate | 5 | describe "Apps", ->
{Heroku} = require "../src/heroku"
beforeEach ->
@heroku = new Heroku
key : "deadbeef"
spyOn @heroku, "request"
it "should be able to create a properly structured JSON file from params", ->
expected =
app :
name : "the-test-case"
actual = @heroku.app_p... | 6467 | describe "Apps", ->
{Heroku} = require "../src/heroku"
beforeEach ->
@heroku = new Heroku
key : "<KEY>"
spyOn @heroku, "request"
it "should be able to create a properly structured JSON file from params", ->
expected =
app :
name : "the-test-case"
actual = @heroku.app_para... | true | describe "Apps", ->
{Heroku} = require "../src/heroku"
beforeEach ->
@heroku = new Heroku
key : "PI:KEY:<KEY>END_PI"
spyOn @heroku, "request"
it "should be able to create a properly structured JSON file from params", ->
expected =
app :
name : "the-test-case"
actual = @he... |
[
{
"context": "\tresult.code\n\nheader = '''/*\n\ttoolkit.js\n\n\tAuthor: Robin Saxifrage\n\tLicense: Apache 2.0\n*/\n\n'''\n\nes5 = compileWithIn",
"end": 644,
"score": 0.9998216032981873,
"start": 629,
"tag": "NAME",
"value": "Robin Saxifrage"
}
] | build.coffee | robinsax/toolkit.js | 0 | # Build script.
#
# Will place toolkit.js and toolkit.min.js in the repository root.
#
fs = require 'fs'
ugly = require 'uglify-js'
coffee = require 'coffeescript'
babel = require 'babel-core'
compileWithIncludes = (filename) ->
contents = fs.readFileSync 'src/' + filename + '.coffee', 'utf-8'
contents = contents.... | 175183 | # Build script.
#
# Will place toolkit.js and toolkit.min.js in the repository root.
#
fs = require 'fs'
ugly = require 'uglify-js'
coffee = require 'coffeescript'
babel = require 'babel-core'
compileWithIncludes = (filename) ->
contents = fs.readFileSync 'src/' + filename + '.coffee', 'utf-8'
contents = contents.... | true | # Build script.
#
# Will place toolkit.js and toolkit.min.js in the repository root.
#
fs = require 'fs'
ugly = require 'uglify-js'
coffee = require 'coffeescript'
babel = require 'babel-core'
compileWithIncludes = (filename) ->
contents = fs.readFileSync 'src/' + filename + '.coffee', 'utf-8'
contents = contents.... |
[
{
"context": "tagelabs.com; mailto:' + (API.settings.log?.to ? 'mark@cottagelabs.com') + ')'\n 'User-Agent': 'OAB; mailto: joe@openacc",
"end": 492,
"score": 0.9999243021011353,
"start": 472,
"tag": "EMAIL",
"value": "mark@cottagelabs.com"
},
{
"context": "tagelabs.com') + ')'\n 'U... | server/use/crossref.coffee | leviathanindustries/noddy | 2 |
import moment from 'moment'
import Future from 'fibers/future'
# a crossref API client
# https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md
# http://api.crossref.org/works/10.1016/j.paid.2009.02.013
# crossref now prefers some identifying headers
header = {
#'User-Agent': (API.settings.name ? 'noddy... | 45871 |
import moment from 'moment'
import Future from 'fibers/future'
# a crossref API client
# https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md
# http://api.crossref.org/works/10.1016/j.paid.2009.02.013
# crossref now prefers some identifying headers
header = {
#'User-Agent': (API.settings.name ? 'noddy... | true |
import moment from 'moment'
import Future from 'fibers/future'
# a crossref API client
# https://github.com/CrossRef/rest-api-doc/blob/master/rest_api.md
# http://api.crossref.org/works/10.1016/j.paid.2009.02.013
# crossref now prefers some identifying headers
header = {
#'User-Agent': (API.settings.name ? 'noddy... |
[
{
"context": " \"user\": conf.user,\n \"password\": conf.password,\n \"port\": port\n })\n co",
"end": 4787,
"score": 0.9993323683738708,
"start": 4774,
"tag": "PASSWORD",
"value": "conf.password"
}
] | scripts-available/mysql.coffee | coredump/hoardd | 13 | Mysql = require 'mysql'
Fs = require 'fs'
Path = require 'path'
# To configure this plugin use the mysql.json file and put it on the scripts/ directory
# Also remember that the user must be able to use SHOW SLAVE STATUS, it needs the
# SUPER or REPLICATION CLIENT privileges, something like this:
# grant replicati... | 78576 | Mysql = require 'mysql'
Fs = require 'fs'
Path = require 'path'
# To configure this plugin use the mysql.json file and put it on the scripts/ directory
# Also remember that the user must be able to use SHOW SLAVE STATUS, it needs the
# SUPER or REPLICATION CLIENT privileges, something like this:
# grant replicati... | true | Mysql = require 'mysql'
Fs = require 'fs'
Path = require 'path'
# To configure this plugin use the mysql.json file and put it on the scripts/ directory
# Also remember that the user must be able to use SHOW SLAVE STATUS, it needs the
# SUPER or REPLICATION CLIENT privileges, something like this:
# grant replicati... |
[
{
"context": "m is 'counters')\n #testKey = \"#{item.name}:#{rec.id}\"\n #\n #if (countDictTe",
"end": 858,
"score": 0.710387647151947,
"start": 858,
"tag": "KEY",
"value": ""
}
] | src/provider/foundationdb/activerecord/functions/add.coffee | frisb/formalize | 2 | fdb = require('fdb').apiVersion(200)
deepak = require('deepak')(fdb)
countDictTest = {}
module.exports = (mechanism) ->
resolveKey = (rec, key) ->
resolvedKey = []
for subkey in key
if (typeof(subkey) is 'function')
# generate value from function
data = subkey(rec)
else
... | 223536 | fdb = require('fdb').apiVersion(200)
deepak = require('deepak')(fdb)
countDictTest = {}
module.exports = (mechanism) ->
resolveKey = (rec, key) ->
resolvedKey = []
for subkey in key
if (typeof(subkey) is 'function')
# generate value from function
data = subkey(rec)
else
... | true | fdb = require('fdb').apiVersion(200)
deepak = require('deepak')(fdb)
countDictTest = {}
module.exports = (mechanism) ->
resolveKey = (rec, key) ->
resolvedKey = []
for subkey in key
if (typeof(subkey) is 'function')
# generate value from function
data = subkey(rec)
else
... |
[
{
"context": "tringA, stringB, insert, remove, update);\n#\n# @see Levenshtein, Vladimir I. \"Binary codes capable of correcting d",
"end": 358,
"score": 0.944029688835144,
"start": 347,
"tag": "NAME",
"value": "Levenshtein"
},
{
"context": "gB, insert, remove, update);\n#\n# @see Le... | src/levenshtein.coffee | schulzch/edit-distance-js | 22 | {Mapping, zero, trackedMin} = require './util'
#
# Computes the Levenshtein distance.
#
# @example
# var stringA = "abcdef";
# var stringB = "abdfgh";
# var insert = remove = function(char) { return 1; };
# var update = function(charA, charB) { return charA !== charB ? 1 : 0; };
# levenshtein(stringA, stringB, insert,... | 4143 | {Mapping, zero, trackedMin} = require './util'
#
# Computes the Levenshtein distance.
#
# @example
# var stringA = "abcdef";
# var stringB = "abdfgh";
# var insert = remove = function(char) { return 1; };
# var update = function(charA, charB) { return charA !== charB ? 1 : 0; };
# levenshtein(stringA, stringB, insert,... | true | {Mapping, zero, trackedMin} = require './util'
#
# Computes the Levenshtein distance.
#
# @example
# var stringA = "abcdef";
# var stringB = "abdfgh";
# var insert = remove = function(char) { return 1; };
# var update = function(charA, charB) { return charA !== charB ? 1 : 0; };
# levenshtein(stringA, stringB, insert,... |
[
{
"context": "eUser\n profile:\n name: \"Kallie Emil\"\n username: \"kallie\"\n passw",
"end": 360,
"score": 0.9998605847358704,
"start": 349,
"tag": "NAME",
"value": "Kallie Emil"
},
{
"context": " name: \"Kallie Emil\"\n ... | server/fixtures.coffee | drobbins/kassebaum | 0 | if process.env.NODE_ENV is "development"
now = new Date().getTime()
hour = 1000 * 60 * 60 # ms * sec * min
day = hour * 24
week = day * 7
year = day * 365
now = now - 10 * hour
if Meteor.users.find().count() is 0
# Create Users
kallieId = Accounts.createUser
pro... | 110582 | if process.env.NODE_ENV is "development"
now = new Date().getTime()
hour = 1000 * 60 * 60 # ms * sec * min
day = hour * 24
week = day * 7
year = day * 365
now = now - 10 * hour
if Meteor.users.find().count() is 0
# Create Users
kallieId = Accounts.createUser
pro... | true | if process.env.NODE_ENV is "development"
now = new Date().getTime()
hour = 1000 * 60 * 60 # ms * sec * min
day = hour * 24
week = day * 7
year = day * 365
now = now - 10 * hour
if Meteor.users.find().count() is 0
# Create Users
kallieId = Accounts.createUser
pro... |
[
{
"context": "rver_name\n for key in ['listeners', 'slow_listeners', 'total_bytes_read', 'total_bytes_sent', 'title'",
"end": 2211,
"score": 0.7276904582977295,
"start": 2202,
"tag": "KEY",
"value": "listeners"
}
] | controllers/analytics/index.coffee | moul/tapas-icecast-analytics | 3 | url = require 'url'
config = require '../../config'
{Admin} = require 'icecast-admin'
lynx = require 'lynx'
metrics = new lynx config.statsd.host, config.statsd.port
metrics.increment "#{config.statsd.prefix}.run"
admins_key = []
admins = {}
tree = {}
isNumber = (n) -> return !isNaN(parseFloat(n)) && isFinite(n... | 75115 | url = require 'url'
config = require '../../config'
{Admin} = require 'icecast-admin'
lynx = require 'lynx'
metrics = new lynx config.statsd.host, config.statsd.port
metrics.increment "#{config.statsd.prefix}.run"
admins_key = []
admins = {}
tree = {}
isNumber = (n) -> return !isNaN(parseFloat(n)) && isFinite(n... | true | url = require 'url'
config = require '../../config'
{Admin} = require 'icecast-admin'
lynx = require 'lynx'
metrics = new lynx config.statsd.host, config.statsd.port
metrics.increment "#{config.statsd.prefix}.run"
admins_key = []
admins = {}
tree = {}
isNumber = (n) -> return !isNaN(parseFloat(n)) && isFinite(n... |
[
{
"context": "e input has an existing valid time on page load.\n\nTom (tomabuct@me.com)\n\n###\n\n(($) ->\n TIME_FORMAT = \"",
"end": 284,
"score": 0.9229885935783386,
"start": 281,
"tag": "NAME",
"value": "Tom"
},
{
"context": "ut has an existing valid time on page load.\n\nTom (to... | app/assets/javascripts/time_input.js.coffee | icanberk/Autolab | 2 | ###
Autolab Time Input 0.0.1 is a jQuery plugin that adds time validation to textfields using Moment.js
Usage:
<script src="moment.js" type="text/javascript">
<input type="text" data-provide="time">
For good UX, make sure the input has an existing valid time on page load.
Tom (tomabuct@me.com)
###
(($) ->
T... | 212476 | ###
Autolab Time Input 0.0.1 is a jQuery plugin that adds time validation to textfields using Moment.js
Usage:
<script src="moment.js" type="text/javascript">
<input type="text" data-provide="time">
For good UX, make sure the input has an existing valid time on page load.
<NAME> (<EMAIL>)
###
(($) ->
TIME_F... | true | ###
Autolab Time Input 0.0.1 is a jQuery plugin that adds time validation to textfields using Moment.js
Usage:
<script src="moment.js" type="text/javascript">
<input type="text" data-provide="time">
For good UX, make sure the input has an existing valid time on page load.
PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>E... |
[
{
"context": "egory_type\":\"series\",\"chanid\":1791,\"description\":\"Alexia enlists Troy's help to find her father.\",\"endtime",
"end": 3430,
"score": 0.999707818031311,
"start": 3424,
"tag": "NAME",
"value": "Alexia"
},
{
"context": "eries\",\"chanid\":1791,\"description\":\"Ale... | lib/assets/javascripts/use_block.js.coffee | emeyekayee/scheduled_resource | 0 | class @UseBlock
constructor: -> nil
class @ZTimeHeaderDayUseBlock extends UseBlock
constructor: -> nil
@process: (block) ->
@label block
@css_classes block
block
@label: (block) ->
block.label = block.title
@css_classes: (block) ->
# Could just as well come from server.
cla... | 76951 | class @UseBlock
constructor: -> nil
class @ZTimeHeaderDayUseBlock extends UseBlock
constructor: -> nil
@process: (block) ->
@label block
@css_classes block
block
@label: (block) ->
block.label = block.title
@css_classes: (block) ->
# Could just as well come from server.
cla... | true | class @UseBlock
constructor: -> nil
class @ZTimeHeaderDayUseBlock extends UseBlock
constructor: -> nil
@process: (block) ->
@label block
@css_classes block
block
@label: (block) ->
block.label = block.title
@css_classes: (block) ->
# Could just as well come from server.
cla... |
[
{
"context": "oller =\n\t\t\tgetLoggedInUserId: sinon.stub().returns(@user._id)\n\t\t@UserUpdater =\n\t\t\taddEmailAddress: sinon.s",
"end": 694,
"score": 0.9955607652664185,
"start": 689,
"tag": "USERNAME",
"value": "@user"
},
{
"context": "LoggedInUserId: sinon.stub().returns(@user... | test/unit/coffee/User/UserEmailsControllerTests.coffee | shyoshyo/web-sharelatex | 1 | sinon = require('sinon')
assertCalledWith = sinon.assert.calledWith
assertNotCalled = sinon.assert.notCalled
chai = require('chai')
should = chai.should()
assert = chai.assert
modulePath = "../../../../app/js/Features/User/UserEmailsController.js"
SandboxedModule = require('sandboxed-module')
MockRequest = require "../... | 208011 | sinon = require('sinon')
assertCalledWith = sinon.assert.calledWith
assertNotCalled = sinon.assert.notCalled
chai = require('chai')
should = chai.should()
assert = chai.assert
modulePath = "../../../../app/js/Features/User/UserEmailsController.js"
SandboxedModule = require('sandboxed-module')
MockRequest = require "../... | true | sinon = require('sinon')
assertCalledWith = sinon.assert.calledWith
assertNotCalled = sinon.assert.notCalled
chai = require('chai')
should = chai.should()
assert = chai.assert
modulePath = "../../../../app/js/Features/User/UserEmailsController.js"
SandboxedModule = require('sandboxed-module')
MockRequest = require "../... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.