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": "plit(' ')[1]\n\n form.set\n 'fullname': 'John Doe'\n\n expect(form.get 'margin').to.equal 2325 -",
"end": 1774,
"score": 0.9996998310089111,
"start": 1766,
"tag": "NAME",
"value": "John Doe"
},
{
"context": " expect(form.get 'name.firstName').to.eq... | test/form._.spec.coffee | nrako/formal | 2 | ### global describe, it, beforeEach ###
chai = require 'chai'
expect = chai.expect
Form = require '../lib/form'
FieldTypes = Form.FieldTypes
Field = require '../lib/field/field'
describe 'Form', ->
describe 'form constructor and field path and definition', ->
it 'supports dot notation for path accessors', ->
... | 23252 | ### global describe, it, beforeEach ###
chai = require 'chai'
expect = chai.expect
Form = require '../lib/form'
FieldTypes = Form.FieldTypes
Field = require '../lib/field/field'
describe 'Form', ->
describe 'form constructor and field path and definition', ->
it 'supports dot notation for path accessors', ->
... | true | ### global describe, it, beforeEach ###
chai = require 'chai'
expect = chai.expect
Form = require '../lib/form'
FieldTypes = Form.FieldTypes
Field = require '../lib/field/field'
describe 'Form', ->
describe 'form constructor and field path and definition', ->
it 'supports dot notation for path accessors', ->
... |
[
{
"context": "\n e.g. curl -D /tmp/h.txt -H \"x-forwarded-user: user\" -H \"x-forwarded-email: user@abc.com\" http://node",
"end": 127,
"score": 0.9970291256904602,
"start": 123,
"tag": "USERNAME",
"value": "user"
},
{
"context": "-H \"x-forwarded-user: user\" -H \"x-forwarded-ema... | config/routes.coffee | twhtanghk/restfile | 0 | module.exports =
routes:
###
get details of current login user
e.g. curl -D /tmp/h.txt -H "x-forwarded-user: user" -H "x-forwarded-email: user@abc.com" http://node-1337.service.consul:1337/user/me
###
'GET /user/:id':
controller: 'UserController'
action: 'findOne'
###
get list... | 148130 | module.exports =
routes:
###
get details of current login user
e.g. curl -D /tmp/h.txt -H "x-forwarded-user: user" -H "x-forwarded-email: <EMAIL>" http://node-1337.service.consul:1337/user/me
###
'GET /user/:id':
controller: 'UserController'
action: 'findOne'
###
get list of r... | true | module.exports =
routes:
###
get details of current login user
e.g. curl -D /tmp/h.txt -H "x-forwarded-user: user" -H "x-forwarded-email: PI:EMAIL:<EMAIL>END_PI" http://node-1337.service.consul:1337/user/me
###
'GET /user/:id':
controller: 'UserController'
action: 'findOne'
###
... |
[
{
"context": ", ->\n user = new User\n id: 1\n name: \"Someone\" \n \n # The model store shouldn't know about",
"end": 472,
"score": 0.9989557266235352,
"start": 465,
"tag": "NAME",
"value": "Someone"
},
{
"context": ", ->\n user = new User\n id: 1\n n... | test/spec_coffee/model_save_spec.coffee | kirkbowers/mvcoffee | 0 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity"
theUser.validates "name", test: "presence"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
describe "using the model save method", ->
beforeEach ->
store = new MVC... | 166922 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity"
theUser.validates "name", test: "presence"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
describe "using the model save method", ->
beforeEach ->
store = new MVC... | true | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
theUser.hasMany "activity"
theUser.validates "name", test: "presence"
theActivity = class Activity extends MVCoffee.Model
theActivity.belongsTo "user"
describe "using the model save method", ->
beforeEach ->
store = new MVC... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998427033424377,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/membrane/duplex.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 10057 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9993636012077332,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-child-process-spawnsync.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... | 136444 | # 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": "title: \"Welcome to <%= name %>\"\npermalink: \"/\"\n",
"end": 27,
"score": 0.8306341171264648,
"start": 23,
"tag": "NAME",
"value": "name"
}
] | app/templates/data/pages/start.cson | killercup/generator-silicon-zucchini | 0 | title: "Welcome to <%= name %>"
permalink: "/"
| 148820 | title: "Welcome to <%= <NAME> %>"
permalink: "/"
| true | title: "Welcome to <%= PI:NAME:<NAME>END_PI %>"
permalink: "/"
|
[
{
"context": "hr.setRequestHeader('Authorization', ('Token ' + 'fccb3a073f9e7e53e01838d4693d1302e5857cf3'))\n\n Backbone.sync.call(this, method, collec",
"end": 565,
"score": 0.9525273442268372,
"start": 525,
"tag": "PASSWORD",
"value": "fccb3a073f9e7e53e01838d4693d1302e5857cf3"
}
] | coffee/models/base/model.coffee | zedam/backbone_chaplin_api | 0 | define [
'chaplin'
], (Chaplin) ->
class Model extends Chaplin.Model
# Mixin a synchronization state machine.
# _.extend @prototype, Chaplin.SyncMachine
# initialize: ->
# super
# @on 'request', @beginSync
# @on 'sync', @finishSync
# @on 'error', @unsync
# Place your applic... | 17623 | define [
'chaplin'
], (Chaplin) ->
class Model extends Chaplin.Model
# Mixin a synchronization state machine.
# _.extend @prototype, Chaplin.SyncMachine
# initialize: ->
# super
# @on 'request', @beginSync
# @on 'sync', @finishSync
# @on 'error', @unsync
# Place your applic... | true | define [
'chaplin'
], (Chaplin) ->
class Model extends Chaplin.Model
# Mixin a synchronization state machine.
# _.extend @prototype, Chaplin.SyncMachine
# initialize: ->
# super
# @on 'request', @beginSync
# @on 'sync', @finishSync
# @on 'error', @unsync
# Place your applic... |
[
{
"context": " false\n __request_forgery_protection_token: 'form_token'\n __form_authenticity_token: 'secret'\n\n __",
"end": 5774,
"score": 0.43778908252716064,
"start": 5774,
"tag": "PASSWORD",
"value": ""
}
] | app/assets/javascripts/ultimate/helpers/url.js.coffee | evrone/ultimate-helpers | 2 | #= require ./base
#= require ./tag
#= require ./javascript
__char_encode = (char) -> "%#{char.charCodeAt(0).toString(16)}"
__escape_path = (str) -> str.replace(/[^*\-.0-9A-Z_a-z]/g, __char_encode).replace(/\+/g, '%20')
__string_encode = (str) -> _.map(str, (char) -> "&##{char.charCodeAt(0)};" ).join('')
@Ultimate.Hel... | 57119 | #= require ./base
#= require ./tag
#= require ./javascript
__char_encode = (char) -> "%#{char.charCodeAt(0).toString(16)}"
__escape_path = (str) -> str.replace(/[^*\-.0-9A-Z_a-z]/g, __char_encode).replace(/\+/g, '%20')
__string_encode = (str) -> _.map(str, (char) -> "&##{char.charCodeAt(0)};" ).join('')
@Ultimate.Hel... | true | #= require ./base
#= require ./tag
#= require ./javascript
__char_encode = (char) -> "%#{char.charCodeAt(0).toString(16)}"
__escape_path = (str) -> str.replace(/[^*\-.0-9A-Z_a-z]/g, __char_encode).replace(/\+/g, '%20')
__string_encode = (str) -> _.map(str, (char) -> "&##{char.charCodeAt(0)};" ).join('')
@Ultimate.Hel... |
[
{
"context": "acket: ->\n loginData =\n userName: @config.userName\n password: @config.password\n database: ",
"end": 12163,
"score": 0.8488771915435791,
"start": 12155,
"tag": "USERNAME",
"value": "userName"
},
{
"context": "=\n userName: @config.userName\n ... | node_modules/tedious/src-coffee/connection.coffee | srolfe/timetrackr | 2 | require('./buffertools')
Debug = require('./debug')
EventEmitter = require('events').EventEmitter
instanceLookup = require('./instance-lookup').instanceLookup
TYPE = require('./packet').TYPE
PreloginPayload = require('./prelogin-payload')
Login7Payload = require('./login7-payload')
Request = require('./request')
RpcReq... | 204738 | require('./buffertools')
Debug = require('./debug')
EventEmitter = require('events').EventEmitter
instanceLookup = require('./instance-lookup').instanceLookup
TYPE = require('./packet').TYPE
PreloginPayload = require('./prelogin-payload')
Login7Payload = require('./login7-payload')
Request = require('./request')
RpcReq... | true | require('./buffertools')
Debug = require('./debug')
EventEmitter = require('events').EventEmitter
instanceLookup = require('./instance-lookup').instanceLookup
TYPE = require('./packet').TYPE
PreloginPayload = require('./prelogin-payload')
Login7Payload = require('./login7-payload')
Request = require('./request')
RpcReq... |
[
{
"context": "->\n # A rule to validate input fields\n # @author Daniel Bartholomae\n class ValidatorRule\n # Create a new Validato",
"end": 326,
"score": 0.9998758435249329,
"start": 308,
"tag": "NAME",
"value": "Daniel Bartholomae"
}
] | src/rules/Rule.coffee | dbartholomae/node-validation-codes | 0 | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( [], ->
# A rule to validate input fields
# @author Daniel Barth... | 172155 | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( [], ->
# A rule to validate input fields
# @author <NAME>
cla... | true | ((modules, factory) ->
# Use define if amd compatible define function is defined
if typeof define is 'function' && define.amd
define modules, factory
# Use node require if not
else
module.exports = factory (require m for m in modules)...
)( [], ->
# A rule to validate input fields
# @author PI:NAME:<NAM... |
[
{
"context": "ns) for touch devices\n Based on the touch demo by Seb Lee-Delisle <http://seb.ly/>\n \n @class bkcore.controllers.T",
"end": 102,
"score": 0.9983980059623718,
"start": 87,
"tag": "NAME",
"value": "Seb Lee-Delisle"
},
{
"context": "class bkcore.controllers.TouchContr... | webInterface/game/bkcore.coffee/controllers/TouchController.coffee | ploh007/design-project | 1,017 | ###
TouchController (stick + buttons) for touch devices
Based on the touch demo by Seb Lee-Delisle <http://seb.ly/>
@class bkcore.controllers.TouchController
@author Thibaut 'BKcore' Despoulain <http://bkcore.com>
###
class TouchController
@isCompatible: ->
return ('ontouchstart' of document.documentE... | 80111 | ###
TouchController (stick + buttons) for touch devices
Based on the touch demo by <NAME> <http://seb.ly/>
@class bkcore.controllers.TouchController
@author <NAME> 'BKcore' <NAME> <http://bkcore.com>
###
class TouchController
@isCompatible: ->
return ('ontouchstart' of document.documentElement);
##... | true | ###
TouchController (stick + buttons) for touch devices
Based on the touch demo by PI:NAME:<NAME>END_PI <http://seb.ly/>
@class bkcore.controllers.TouchController
@author PI:NAME:<NAME>END_PI 'BKcore' PI:NAME:<NAME>END_PI <http://bkcore.com>
###
class TouchController
@isCompatible: ->
return ('ontouch... |
[
{
"context": "ghlighting in JavaScript\n#Copyright (C) 2007, 2008 gnombat@users.sourceforge.net\n#License: http://shjs.sourceforge.net/doc/gplv3.h",
"end": 99,
"score": 0.9998972415924072,
"start": 70,
"tag": "EMAIL",
"value": "gnombat@users.sourceforge.net"
}
] | doc/sh_main.coffee | lxe/io.coffee | 0 | #
#SHJS - Syntax Highlighting in JavaScript
#Copyright (C) 2007, 2008 gnombat@users.sourceforge.net
#License: http://shjs.sourceforge.net/doc/gplv3.html
#
sh_isEmailAddress = (url) ->
return false if /^mailto:/.test(url)
url.indexOf("@") isnt -1
sh_setHref = (tags, numTags, inputString) ->
url = inputString.subs... | 22531 | #
#SHJS - Syntax Highlighting in JavaScript
#Copyright (C) 2007, 2008 <EMAIL>
#License: http://shjs.sourceforge.net/doc/gplv3.html
#
sh_isEmailAddress = (url) ->
return false if /^mailto:/.test(url)
url.indexOf("@") isnt -1
sh_setHref = (tags, numTags, inputString) ->
url = inputString.substring(tags[numTags - 2... | true | #
#SHJS - Syntax Highlighting in JavaScript
#Copyright (C) 2007, 2008 PI:EMAIL:<EMAIL>END_PI
#License: http://shjs.sourceforge.net/doc/gplv3.html
#
sh_isEmailAddress = (url) ->
return false if /^mailto:/.test(url)
url.indexOf("@") isnt -1
sh_setHref = (tags, numTags, inputString) ->
url = inputString.substring(t... |
[
{
"context": "#Copyright [2011] [Ali Ok - aliok AT apache org]\n#\n#Licensed under the Apac",
"end": 25,
"score": 0.9998403191566467,
"start": 19,
"tag": "NAME",
"value": "Ali Ok"
}
] | flashcards-ui/coffee/aliok/flashcards/flashcards.coffee | aliok/flashcards | 6 | #Copyright [2011] [Ali Ok - aliok AT apache org]
#
#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 t... | 102700 | #Copyright [2011] [<NAME> - aliok AT apache org]
#
#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 t... | true | #Copyright [2011] [PI:NAME:<NAME>END_PI - aliok AT apache org]
#
#Licensed under the Apache License, Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#Unless required by applicable l... |
[
{
"context": "oUrl: null,\n interactive: {id: 1, name: \"test\"},\n authInfo: {provider: \"fakeprovider\",",
"end": 3437,
"score": 0.8007350564002991,
"start": 3433,
"tag": "NAME",
"value": "test"
},
{
"context": "provider: \"fakeprovider\", loggedIn: true, email: \... | spec/javascripts/iframe_saver_spec.coffee | sciencelabshs/lara | 0 | success_response =
status: 200,
responseText: '{}'
# this spec is very out of date with the current code
describe 'IFrameSaver', () ->
saver = null
request = null
iframePhone = jasmine.mockIframePhone
beforeEach () ->
iframePhone.install()
iframePhone.autoConnect ... | 104788 | success_response =
status: 200,
responseText: '{}'
# this spec is very out of date with the current code
describe 'IFrameSaver', () ->
saver = null
request = null
iframePhone = jasmine.mockIframePhone
beforeEach () ->
iframePhone.install()
iframePhone.autoConnect ... | true | success_response =
status: 200,
responseText: '{}'
# this spec is very out of date with the current code
describe 'IFrameSaver', () ->
saver = null
request = null
iframePhone = jasmine.mockIframePhone
beforeEach () ->
iframePhone.install()
iframePhone.autoConnect ... |
[
{
"context": "4fa'}\n\n @getDevice.yields null, {ipAddress: '192.168.1.1'}\n @updateDevice.yields null, @device\n ",
"end": 1151,
"score": 0.9996104836463928,
"start": 1140,
"tag": "IP_ADDRESS",
"value": "192.168.1.1"
},
{
"context": "iscoverWhitelist: [@fromDevice.uui... | test/lib/claimDevice-spec.coffee | Christopheraburns/projecttelemetry | 0 | describe 'claimDevice', ->
beforeEach ->
@updateDevice = sinon.stub()
@canConfigure = sinon.stub()
@getDevice = sinon.stub()
@canConfigure.returns true
@dependencies = {updateDevice: @updateDevice, canConfigure: @canConfigure, getDevice: @getDevice}
@sut = require '../../lib/claimDevice'
... | 169338 | describe 'claimDevice', ->
beforeEach ->
@updateDevice = sinon.stub()
@canConfigure = sinon.stub()
@getDevice = sinon.stub()
@canConfigure.returns true
@dependencies = {updateDevice: @updateDevice, canConfigure: @canConfigure, getDevice: @getDevice}
@sut = require '../../lib/claimDevice'
... | true | describe 'claimDevice', ->
beforeEach ->
@updateDevice = sinon.stub()
@canConfigure = sinon.stub()
@getDevice = sinon.stub()
@canConfigure.returns true
@dependencies = {updateDevice: @updateDevice, canConfigure: @canConfigure, getDevice: @getDevice}
@sut = require '../../lib/claimDevice'
... |
[
{
"context": "r the License.\n#\n\nclass MDNS\n @MDNS_ADDRESS = \"224.0.0.251\" #default ip\n @MDNS_PORT = 5353 #default p",
"end": 654,
"score": 0.9997417330741882,
"start": 643,
"tag": "IP_ADDRESS",
"value": "224.0.0.251"
}
] | lib/mdns/MDNSHelper.coffee | waitliu/flingd-coffee | 0 | #
# Copyright (C) 2013-2014, The OpenFlint Open Source Project
#
# 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... | 66153 | #
# Copyright (C) 2013-2014, The OpenFlint Open Source Project
#
# 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... | true | #
# Copyright (C) 2013-2014, The OpenFlint Open Source Project
#
# 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... |
[
{
"context": "###\n datepicker.js\n Copyright (C) by Nils Sommer, 2016\n https://github.com/nsommer/datepicker.js\n",
"end": 50,
"score": 0.9998887181282043,
"start": 39,
"tag": "NAME",
"value": "Nils Sommer"
},
{
"context": "ght (C) by Nils Sommer, 2016\n https://github.com/nsom... | coffee/banner.coffee | nsommer/datepicker.js | 0 | ###
datepicker.js
Copyright (C) by Nils Sommer, 2016
https://github.com/nsommer/datepicker.js
Released under the MIT license.
### | 197971 | ###
datepicker.js
Copyright (C) by <NAME>, 2016
https://github.com/nsommer/datepicker.js
Released under the MIT license.
### | true | ###
datepicker.js
Copyright (C) by PI:NAME:<NAME>END_PI, 2016
https://github.com/nsommer/datepicker.js
Released under the MIT license.
### |
[
{
"context": "alid\"\n input: \n token: \"testNewIdentifier\"\n starts: 33\n ends:",
"end": 1759,
"score": 0.8022050857543945,
"start": 1742,
"tag": "KEY",
"value": "testNewIdentifier"
},
{
"context": "fier\"\n input:... | src/coffee/validateNewIdentifier.spec.coffee | jameswilddev/influx7 | 1 | describe "validateNewIdentifier", ->
rewire = require "rewire"
describe "imports", ->
validateNewIdentifier = rewire "./validateNewIdentifier"
it "isIdentifier", -> (expect validateNewIdentifier.__get__ "isIdentifier").toBe require "./isIdentifier"
describe "on calling", ->
validateN... | 46675 | describe "validateNewIdentifier", ->
rewire = require "rewire"
describe "imports", ->
validateNewIdentifier = rewire "./validateNewIdentifier"
it "isIdentifier", -> (expect validateNewIdentifier.__get__ "isIdentifier").toBe require "./isIdentifier"
describe "on calling", ->
validateN... | true | describe "validateNewIdentifier", ->
rewire = require "rewire"
describe "imports", ->
validateNewIdentifier = rewire "./validateNewIdentifier"
it "isIdentifier", -> (expect validateNewIdentifier.__get__ "isIdentifier").toBe require "./isIdentifier"
describe "on calling", ->
validateN... |
[
{
"context": "eentrant so I'm adding an assert there\n # - Gabe, July 9 2018\n assert -> depToVersion['reac",
"end": 2685,
"score": 0.9828007221221924,
"start": 2681,
"tag": "NAME",
"value": "Gabe"
},
{
"context": " # in the middle of a forceUpdate\n # - Gab... | test/repo/lint-package-json.coffee | mehrdad-shokri/pagedraw | 3,213 | #!/usr/bin/env coffee
# Fails if any package.json deps start with an ^
# The ^ makes npm pick a version that number or higher, which
# can cause confusing bugs between team members
_l = require 'lodash'
chai = require 'chai'
assert = (condition) ->
chai.assert(condition(), condition.toString())
expect_has_no_u... | 161419 | #!/usr/bin/env coffee
# Fails if any package.json deps start with an ^
# The ^ makes npm pick a version that number or higher, which
# can cause confusing bugs between team members
_l = require 'lodash'
chai = require 'chai'
assert = (condition) ->
chai.assert(condition(), condition.toString())
expect_has_no_u... | true | #!/usr/bin/env coffee
# Fails if any package.json deps start with an ^
# The ^ makes npm pick a version that number or higher, which
# can cause confusing bugs between team members
_l = require 'lodash'
chai = require 'chai'
assert = (condition) ->
chai.assert(condition(), condition.toString())
expect_has_no_u... |
[
{
"context": "은 [**폴인 사이트**][2]에서 구매할 수 있다. \n \n 정선언 기자 jng.sunean@joongang.co.kr \n \n [1]: https:\\\\\\\\news.joins.com\\\\article\\\\2",
"end": 3993,
"score": 0.9998980164527893,
"start": 3968,
"tag": "EMAIL",
"value": "jng.sunean@joongang.co.kr"
}
] | _posts/notes/8ca5dd06-baa1-46b0-89ea-40386eaa8136.cson | rpblic/rpblic.github.io | 0 | createdAt: "2018-09-11T10:31:24.558Z"
updatedAt: "2018-09-27T05:14:37.578Z"
type: "MARKDOWN_NOTE"
folder: "5ccab513127047f4eb61"
title: ""
content: '''
---
layout: post
title: "회사도 인생도, 마지막을 결정하는 건 꿈의 크기" 유니콘 감별사 VC 김한준, 일의 의미를 말하다
category: Article
tags: ['Article', 'Passion', 'Insight']
---
[출처: 중앙일보... | 147422 | createdAt: "2018-09-11T10:31:24.558Z"
updatedAt: "2018-09-27T05:14:37.578Z"
type: "MARKDOWN_NOTE"
folder: "5ccab513127047f4eb61"
title: ""
content: '''
---
layout: post
title: "회사도 인생도, 마지막을 결정하는 건 꿈의 크기" 유니콘 감별사 VC 김한준, 일의 의미를 말하다
category: Article
tags: ['Article', 'Passion', 'Insight']
---
[출처: 중앙일보... | true | createdAt: "2018-09-11T10:31:24.558Z"
updatedAt: "2018-09-27T05:14:37.578Z"
type: "MARKDOWN_NOTE"
folder: "5ccab513127047f4eb61"
title: ""
content: '''
---
layout: post
title: "회사도 인생도, 마지막을 결정하는 건 꿈의 크기" 유니콘 감별사 VC 김한준, 일의 의미를 말하다
category: Article
tags: ['Article', 'Passion', 'Insight']
---
[출처: 중앙일보... |
[
{
"context": "\t\t@user = {\n\t\t\t_id: \"user-id-123\"\n\t\t\tfirst_name: \"Joe\"\n\t\t\tlast_name: \"Bloggs\"\n\t\t\temail: \"joe@example.co",
"end": 1002,
"score": 0.9998042583465576,
"start": 999,
"tag": "NAME",
"value": "Joe"
},
{
"context": "\"user-id-123\"\n\t\t\tfirst_name: \... | test/UnitTests/coffee/ConnectedUsers/ConnectedUsersManagerTests.coffee | ukasiu/web-sharelatex | 0 |
should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/ConnectedUsers/ConnectedUsersManager"
expect = require("chai").expect
tk = require("timekeeper")
de... | 26281 |
should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/ConnectedUsers/ConnectedUsersManager"
expect = require("chai").expect
tk = require("timekeeper")
de... | true |
should = require('chai').should()
SandboxedModule = require('sandboxed-module')
assert = require('assert')
path = require('path')
sinon = require('sinon')
modulePath = path.join __dirname, "../../../../app/js/Features/ConnectedUsers/ConnectedUsersManager"
expect = require("chai").expect
tk = require("timekeeper")
de... |
[
{
"context": "my'\n steamapi: 'dummy'\n aws_access_key_id: 'dummy'\n aws_secret_access_key: 'dummy'\n",
"end": 205,
"score": 0.5723594427108765,
"start": 200,
"tag": "KEY",
"value": "dummy"
},
{
"context": "ccess_key_id: 'dummy'\n aws_secret_access_key: 'dummy'\n",
"e... | config/test.coffee | SizzlingStats/sizzlingstats.com | 9 | module.exports =
cfg:
ENV: 'test'
mongo_url: process.env.MONGO_URL || 'mongodb://localhost/sizzlingstats-test'
secrets:
session: 'dummy'
steamapi: 'dummy'
aws_access_key_id: 'dummy'
aws_secret_access_key: 'dummy'
| 133263 | module.exports =
cfg:
ENV: 'test'
mongo_url: process.env.MONGO_URL || 'mongodb://localhost/sizzlingstats-test'
secrets:
session: 'dummy'
steamapi: 'dummy'
aws_access_key_id: '<KEY>'
aws_secret_access_key: '<KEY>'
| true | module.exports =
cfg:
ENV: 'test'
mongo_url: process.env.MONGO_URL || 'mongodb://localhost/sizzlingstats-test'
secrets:
session: 'dummy'
steamapi: 'dummy'
aws_access_key_id: 'PI:KEY:<KEY>END_PI'
aws_secret_access_key: 'PI:KEY:<KEY>END_PI'
|
[
{
"context": " keybox = self\n done null\n\n username = 'test'\n email = 'test@test.com'\n password = 'this is ",
"end": 308,
"score": 0.999133825302124,
"start": 304,
"tag": "USERNAME",
"value": "test"
},
{
"context": " done null\n\n username = 'test'\n email = ... | test/keybox.coffee | yinso/keybox | 1 | Keybox = require '../src/keybox'
fs = require 'fs'
describe 'keybox test', ->
keybox = null
filePath = './test.kbx'
it 'can init', (done) ->
Keybox.initialize {filePath: filePath}, (err, self) ->
if err
done err
else
keybox = self
done null
username = 'test'
email = ... | 21613 | Keybox = require '../src/keybox'
fs = require 'fs'
describe 'keybox test', ->
keybox = null
filePath = './test.kbx'
it 'can init', (done) ->
Keybox.initialize {filePath: filePath}, (err, self) ->
if err
done err
else
keybox = self
done null
username = 'test'
email = ... | true | Keybox = require '../src/keybox'
fs = require 'fs'
describe 'keybox test', ->
keybox = null
filePath = './test.kbx'
it 'can init', (done) ->
Keybox.initialize {filePath: filePath}, (err, self) ->
if err
done err
else
keybox = self
done null
username = 'test'
email = ... |
[
{
"context": "ath.random = (->\n seed = 49734321\n ->\n \n # Robert Jenkins' 32 bit integer hash function.\n seed = ((seed ",
"end": 3442,
"score": 0.9996160268783569,
"start": 3428,
"tag": "NAME",
"value": "Robert Jenkins"
}
] | deps/v8/benchmarks/base.coffee | lxe/io.coffee | 0 | # Copyright 2012 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... | 28213 | # Copyright 2012 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... | true | # Copyright 2012 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditi... |
[
{
"context": "led = false\n renderables = [{\n name: \"Alice\"\n $renderers: [{renderer: 'hbs', options: ",
"end": 2692,
"score": 0.9998360872268677,
"start": 2687,
"tag": "NAME",
"value": "Alice"
},
{
"context": "ntent: \"{{name}}\"\n },\n {\n nam... | tests/renderers_test.coffee | bahiamartins/stacktic | 1 | Renderers = require('../lib/Renderers')
HandlebarsRenderingEngine = require('../plugins/hbs/HandlebarsRenderingEngine')
HandlebarsRenderingEngine.configure({src: 'tests/_fixtures'}, {})
class GreeterRenderer
render: (content, context, done) ->
done(null, "Hi #{content}")
describe "Renderers", ->
describe "#r... | 52471 | Renderers = require('../lib/Renderers')
HandlebarsRenderingEngine = require('../plugins/hbs/HandlebarsRenderingEngine')
HandlebarsRenderingEngine.configure({src: 'tests/_fixtures'}, {})
class GreeterRenderer
render: (content, context, done) ->
done(null, "Hi #{content}")
describe "Renderers", ->
describe "#r... | true | Renderers = require('../lib/Renderers')
HandlebarsRenderingEngine = require('../plugins/hbs/HandlebarsRenderingEngine')
HandlebarsRenderingEngine.configure({src: 'tests/_fixtures'}, {})
class GreeterRenderer
render: (content, context, done) ->
done(null, "Hi #{content}")
describe "Renderers", ->
describe "#r... |
[
{
"context": "->\n\tif cfg is '' then cfg={host:'localhost',user:'scott',password:'kaylie',database:'hapi'}\n\tmysql = requ",
"end": 86,
"score": 0.9815781116485596,
"start": 81,
"tag": "USERNAME",
"value": "scott"
},
{
"context": "then cfg={host:'localhost',user:'scott',password:'ka... | chapters/chapter4/libs/db.coffee | scotthathaway/hapifw | 4 | query = (sql,log=false,cfg='') ->
if cfg is '' then cfg={host:'localhost',user:'scott',password:'kaylie',database:'hapi'}
mysql = require("promise-mysql")
_ = require("lodash")
mysql.createConnection(cfg).then((conn) ->
conn.query(sql).then((rows) ->
if rows==[]
return []
else
keys = _.keys(rows... | 168029 | query = (sql,log=false,cfg='') ->
if cfg is '' then cfg={host:'localhost',user:'scott',password:'<PASSWORD>',database:'hapi'}
mysql = require("promise-mysql")
_ = require("lodash")
mysql.createConnection(cfg).then((conn) ->
conn.query(sql).then((rows) ->
if rows==[]
return []
else
keys = _.keys(... | true | query = (sql,log=false,cfg='') ->
if cfg is '' then cfg={host:'localhost',user:'scott',password:'PI:PASSWORD:<PASSWORD>END_PI',database:'hapi'}
mysql = require("promise-mysql")
_ = require("lodash")
mysql.createConnection(cfg).then((conn) ->
conn.query(sql).then((rows) ->
if rows==[]
return []
else
... |
[
{
"context": "tional programming\n# style.\n#\n# Copyright (c) 2011 Olaf Delgado-Friedrichs (odf@github.com)\n# ------------------------------",
"end": 197,
"score": 0.9998899698257446,
"start": 174,
"tag": "NAME",
"value": "Olaf Delgado-Friedrichs"
},
{
"context": ".\n#\n# Copyright... | lib/functional.coffee | odf/pazy.js | 0 | # --------------------------------------------------------------------
# Various useful short functions that support a functional programming
# style.
#
# Copyright (c) 2011 Olaf Delgado-Friedrichs (odf@github.com)
# --------------------------------------------------------------------
exports = module?.exports or this... | 179487 | # --------------------------------------------------------------------
# Various useful short functions that support a functional programming
# style.
#
# Copyright (c) 2011 <NAME> (<EMAIL>)
# --------------------------------------------------------------------
exports = module?.exports or this.pazy ?= {}
# ---------... | true | # --------------------------------------------------------------------
# Various useful short functions that support a functional programming
# style.
#
# Copyright (c) 2011 PI:NAME:<NAME>END_PI (PI:EMAIL:<EMAIL>END_PI)
# --------------------------------------------------------------------
exports = module?.exports or... |
[
{
"context": "/rest/v3'\napp.constant 'ALLOCINE_PARTNER_TOKEN', 'yW5kcm9pZC12M3M'\n\napp.config (\n $locationProvider\n $stateProvid",
"end": 331,
"score": 0.8818044662475586,
"start": 316,
"tag": "PASSWORD",
"value": "yW5kcm9pZC12M3M"
},
{
"context": "herwise '/map'\n\n ParseProv... | src-public/app.coffee | nicgirault/allo-art-et-essai | 0 | 'use strict'
app = angular.module 'alloArtEtEssai', [
'ng'
'ngResource'
'ui.router'
'ui.bootstrap'
'app.templates'
'Parse'
'angulartics'
'angulartics.google.analytics'
'uiGmapgoogle-maps'
]
app.constant 'ALLOCINE_API_URL', 'http://api.allocine.fr/rest/v3'
app.constant 'ALLOCINE_PARTNER_TOKEN', 'yW5k... | 10548 | 'use strict'
app = angular.module 'alloArtEtEssai', [
'ng'
'ngResource'
'ui.router'
'ui.bootstrap'
'app.templates'
'Parse'
'angulartics'
'angulartics.google.analytics'
'uiGmapgoogle-maps'
]
app.constant 'ALLOCINE_API_URL', 'http://api.allocine.fr/rest/v3'
app.constant 'ALLOCINE_PARTNER_TOKEN', '<PAS... | true | 'use strict'
app = angular.module 'alloArtEtEssai', [
'ng'
'ngResource'
'ui.router'
'ui.bootstrap'
'app.templates'
'Parse'
'angulartics'
'angulartics.google.analytics'
'uiGmapgoogle-maps'
]
app.constant 'ALLOCINE_API_URL', 'http://api.allocine.fr/rest/v3'
app.constant 'ALLOCINE_PARTNER_TOKEN', 'PI:P... |
[
{
"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.9996663928031921,
"start": 64,
"tag": "USERNAME",
"value": "kzokm"
},
{
"context": "ps://github.com/kzokm/ga.js\n#\n# Copyright (c) 201... | lib/mutation_operator.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
###
{randomInt} = require './utils'
deprecated = require 'deprecated'
class MutationOperator
rand... | 59281 | ###
# 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
###
{randomInt} = require './utils'
deprecated = require 'deprecated'
class MutationOperator
randomL... | 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
###
{randomInt} = require './utils'
deprecated = require 'deprecated'
clas... |
[
{
"context": "###\nThe MIT License\n\nCopyright (c) 2015 Michalis Korakakis, Inc. https://github.com/mkorakakis.\n\nPermission ",
"end": 58,
"score": 0.9998841881752014,
"start": 40,
"tag": "NAME",
"value": "Michalis Korakakis"
},
{
"context": " 2015 Michalis Korakakis, Inc. https://... | lib/compare.coffee | davidferguson/drivelist-scanner | 0 | ###
The MIT License
Copyright (c) 2015 Michalis Korakakis, Inc. https://github.com/mkorakakis.
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 th... | 158995 | ###
The MIT License
Copyright (c) 2015 <NAME>, Inc. https://github.com/mkorakakis.
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 ... | true | ###
The MIT License
Copyright (c) 2015 PI:NAME:<NAME>END_PI, Inc. https://github.com/mkorakakis.
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 ... |
[
{
"context": "gramming for microcontrollers\n# Copyright (c) 2013 Jon Nordby <jononor@gmail.com>\n# MicroFlo may be freely dist",
"end": 90,
"score": 0.9998355507850647,
"start": 80,
"tag": "NAME",
"value": "Jon Nordby"
},
{
"context": "microcontrollers\n# Copyright (c) 2013 Jon Nord... | test/componentlib.coffee | microflo/microflo | 136 | ### MicroFlo - Flow-Based Programming for microcontrollers
# Copyright (c) 2013 Jon Nordby <jononor@gmail.com>
# MicroFlo may be freely distributed under the MIT license
###
isBrowser = -> return typeof process != 'undefined' and process.execPath and process.execPath.indexOf('node') != -1
componentlib = null
if isBrow... | 67883 | ### MicroFlo - Flow-Based Programming for microcontrollers
# Copyright (c) 2013 <NAME> <<EMAIL>>
# MicroFlo may be freely distributed under the MIT license
###
isBrowser = -> return typeof process != 'undefined' and process.execPath and process.execPath.indexOf('node') != -1
componentlib = null
if isBrowser()
chai =... | true | ### MicroFlo - Flow-Based Programming for microcontrollers
# Copyright (c) 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# MicroFlo may be freely distributed under the MIT license
###
isBrowser = -> return typeof process != 'undefined' and process.execPath and process.execPath.indexOf('node') != -1
componentlib =... |
[
{
"context": "s.thangNames = thangNames =\n \"Soldier M\": [\n \"William\"\n \"Lucas\"\n \"Marcus\"\n \"Robert\"\n \"Gordo",
"end": 70,
"score": 0.9997826218605042,
"start": 63,
"tag": "NAME",
"value": "William"
},
{
"context": " thangNames =\n \"Soldier M\": [\n ... | app/lib/world/names.coffee | TamoghnaGhosh/https-github.com-sidharth-codecombat | 1 | module.exports.thangNames = thangNames =
"Soldier M": [
"William"
"Lucas"
"Marcus"
"Robert"
"Gordon"
"Kirin"
"Theo"
"Roger"
"Roderick"
"Samson"
"Silas"
"Richard"
"Max"
"Jax"
"Dax"
"Mischa"
"Ronald"
"Tyrone"
"Thelonious"
"Miles"
"Bill"... | 20633 | module.exports.thangNames = thangNames =
"Soldier M": [
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
"<NAME>"
... | true | module.exports.thangNames = thangNames =
"Soldier M": [
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>END_PI"
"PI:NAME:<NAME>... |
[
{
"context": "}\r\n {\r\n name: '7am'\r\n time: 7\r\n }\r",
"end": 2695,
"score": 0.6775099039077759,
"start": 2693,
"tag": "NAME",
"value": "am"
},
{
"context": "}\r\n {\r\n name: '... | js/coffee/drm-calendar/drm-calendar.coffee | elr-utilities/elr-utilities | 0 | ###############################################################################
# Interactive JS Calendar
###############################################################################
# needs support for events with start and end dates and times
# needs support for events that recur a limited number of times
# n... | 211333 | ###############################################################################
# Interactive JS Calendar
###############################################################################
# needs support for events with start and end dates and times
# needs support for events that recur a limited number of times
# n... | true | ###############################################################################
# Interactive JS Calendar
###############################################################################
# needs support for events with start and end dates and times
# needs support for events that recur a limited number of times
# n... |
[
{
"context": "\t\tuserData =\n\t\t\temail: formData.email\n\t\t\tpassword: formData.pass\n\n\t\tuserId = Accounts.createUser userData\n\n\t\tRocke",
"end": 565,
"score": 0.999019205570221,
"start": 552,
"tag": "PASSWORD",
"value": "formData.pass"
},
{
"context": "hUserName: (formData... | rocketchat/server/methods/registerUser.coffee | Ritesh1991/mobile_app_server | 0 | Meteor.methods
registerUser: (formData) ->
if RocketChat.settings.get('Accounts_RegistrationForm') is 'Disabled'
throw new Meteor.Error 'registration-disabled', 'User registration is disabled'
else if RocketChat.settings.get('Accounts_RegistrationForm') is 'Secret URL' and (not formData.secretURL or formData.s... | 219516 | Meteor.methods
registerUser: (formData) ->
if RocketChat.settings.get('Accounts_RegistrationForm') is 'Disabled'
throw new Meteor.Error 'registration-disabled', 'User registration is disabled'
else if RocketChat.settings.get('Accounts_RegistrationForm') is 'Secret URL' and (not formData.secretURL or formData.s... | true | Meteor.methods
registerUser: (formData) ->
if RocketChat.settings.get('Accounts_RegistrationForm') is 'Disabled'
throw new Meteor.Error 'registration-disabled', 'User registration is disabled'
else if RocketChat.settings.get('Accounts_RegistrationForm') is 'Secret URL' and (not formData.secretURL or formData.s... |
[
{
"context": " the string return this:\n #\n # Sender Name <email@sender.com>\n displayAddress: (address, full = false) ->\n ",
"end": 656,
"score": 0.9999080896377563,
"start": 640,
"tag": "EMAIL",
"value": "email@sender.com"
},
{
"context": "s either the email adress eithe... | client/app/utils/message_utils.coffee | cozy-labs/emails | 58 | {ComposeActions} = require '../constants/app_constants'
ContactStore = require '../stores/contact_store'
QUOTE_STYLE = "margin-left: 0.8ex; padding-left: 1ex; border-left: 3px solid #34A6FF;"
# Style is required to clean pre and p styling in compose editor.
# It is removed by the visulasation iframe that's why w... | 131210 | {ComposeActions} = require '../constants/app_constants'
ContactStore = require '../stores/contact_store'
QUOTE_STYLE = "margin-left: 0.8ex; padding-left: 1ex; border-left: 3px solid #34A6FF;"
# Style is required to clean pre and p styling in compose editor.
# It is removed by the visulasation iframe that's why w... | true | {ComposeActions} = require '../constants/app_constants'
ContactStore = require '../stores/contact_store'
QUOTE_STYLE = "margin-left: 0.8ex; padding-left: 1ex; border-left: 3px solid #34A6FF;"
# Style is required to clean pre and p styling in compose editor.
# It is removed by the visulasation iframe that's why w... |
[
{
"context": "uide: true\n \"exception-reporting\":\n userId: \"3a901ed7-702f-439b-a3e8-aa196721c2be\"\n \"package-sync\":\n createOnChange: true\n f",
"end": 286,
"score": 0.6650506854057312,
"start": 251,
"tag": "PASSWORD",
"value": "a901ed7-702f-439b-a3e8-aa196721c2be"
}
] | .atom/config.cson | mrlesmithjr/dotfiles | 17 | "*":
core:
telemetryConsent: "no"
themes: [
"dracula-ui"
"dracula-syntax"
]
editor:
autoIndentOnPaste: false
fontFamily: "Fira Code"
fontSize: 18
showIndentGuide: true
"exception-reporting":
userId: "3a901ed7-702f-439b-a3e8-aa196721c2be"
"package-sync":
createOnCh... | 143225 | "*":
core:
telemetryConsent: "no"
themes: [
"dracula-ui"
"dracula-syntax"
]
editor:
autoIndentOnPaste: false
fontFamily: "Fira Code"
fontSize: 18
showIndentGuide: true
"exception-reporting":
userId: "3<PASSWORD>"
"package-sync":
createOnChange: true
forceOverw... | true | "*":
core:
telemetryConsent: "no"
themes: [
"dracula-ui"
"dracula-syntax"
]
editor:
autoIndentOnPaste: false
fontFamily: "Fira Code"
fontSize: 18
showIndentGuide: true
"exception-reporting":
userId: "3PI:PASSWORD:<PASSWORD>END_PI"
"package-sync":
createOnChange: t... |
[
{
"context": " ->\n setting =\n key: 'loginWithFacebook'\n value: true\n app.mo",
"end": 9523,
"score": 0.9974769949913025,
"start": 9506,
"tag": "KEY",
"value": "loginWithFacebook"
},
{
"context": "->\n setting1 =\... | test/unit/server/mocha/authentication/index.coffee | valueflowquality/gi-security-update | 0 | expect = require('chai').expect
sinon = require 'sinon'
proxyquire = require 'proxyquire'
path = require 'path'
permissionFilter = require './permissionFilter'
module.exports = () ->
describe 'Authentication', ->
describe 'Public', ->
dir = path.normalize __dirname + '../../../../../../server'
perm... | 124186 | expect = require('chai').expect
sinon = require 'sinon'
proxyquire = require 'proxyquire'
path = require 'path'
permissionFilter = require './permissionFilter'
module.exports = () ->
describe 'Authentication', ->
describe 'Public', ->
dir = path.normalize __dirname + '../../../../../../server'
perm... | true | expect = require('chai').expect
sinon = require 'sinon'
proxyquire = require 'proxyquire'
path = require 'path'
permissionFilter = require './permissionFilter'
module.exports = () ->
describe 'Authentication', ->
describe 'Public', ->
dir = path.normalize __dirname + '../../../../../../server'
perm... |
[
{
"context": " 'nl': 'slak'\n name:\n 'nl-BE': 'alee'\n 'de': 'hallo'\n expect(json).toEqu",
"end": 2027,
"score": 0.9780330657958984,
"start": 2023,
"tag": "NAME",
"value": "alee"
},
{
"context": " name:\n 'nl-BE': 'alee'\n 'de': 'ha... | src/spec/csv/exportmapping.spec.coffee | sphereio/sphere-category-sync | 1 | fs = require 'fs'
path = require 'path'
_ = require 'underscore'
ExportMapping = require '../../lib/csv/exportmapping'
describe 'ExportMapping', ->
describe '#constructor', ->
it 'should initialize', ->
expect(-> new ExportMapping()).toBeDefined()
describe '#validate', ->
it 'should map a simple en... | 66900 | fs = require 'fs'
path = require 'path'
_ = require 'underscore'
ExportMapping = require '../../lib/csv/exportmapping'
describe 'ExportMapping', ->
describe '#constructor', ->
it 'should initialize', ->
expect(-> new ExportMapping()).toBeDefined()
describe '#validate', ->
it 'should map a simple en... | true | fs = require 'fs'
path = require 'path'
_ = require 'underscore'
ExportMapping = require '../../lib/csv/exportmapping'
describe 'ExportMapping', ->
describe '#constructor', ->
it 'should initialize', ->
expect(-> new ExportMapping()).toBeDefined()
describe '#validate', ->
it 'should map a simple en... |
[
{
"context": "###\npostCtrl.coffee\nCopyright (C) 2014 ender xu <xuender@gmail.com>\n\nDistributed under terms of t",
"end": 47,
"score": 0.9995703101158142,
"start": 39,
"tag": "NAME",
"value": "ender xu"
},
{
"context": "###\npostCtrl.coffee\nCopyright (C) 2014 ender xu <xuender@gm... | src/web/cs/postsCtrl.coffee | xuender/mindfulness | 0 | ###
postCtrl.coffee
Copyright (C) 2014 ender xu <xuender@gmail.com>
Distributed under terms of the MIT license.
###
PostsCtrl = ($scope, $http, $log, $modal, ngTableParams, $filter, $q)->
### 帖子 ###
$log.debug '帖子'
$scope.$parent.name = 'post'
$scope.type = (id)->
for k of POST_TYPE
if k == id
... | 43006 | ###
postCtrl.coffee
Copyright (C) 2014 <NAME> <<EMAIL>>
Distributed under terms of the MIT license.
###
PostsCtrl = ($scope, $http, $log, $modal, ngTableParams, $filter, $q)->
### 帖子 ###
$log.debug '帖子'
$scope.$parent.name = 'post'
$scope.type = (id)->
for k of POST_TYPE
if k == id
return POS... | true | ###
postCtrl.coffee
Copyright (C) 2014 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
Distributed under terms of the MIT license.
###
PostsCtrl = ($scope, $http, $log, $modal, ngTableParams, $filter, $q)->
### 帖子 ###
$log.debug '帖子'
$scope.$parent.name = 'post'
$scope.type = (id)->
for k of POST_TYPE
... |
[
{
"context": "ss TimeBars extends _Base\n\tdefaults: \n\t\ttimeKey: \"ts\"\n\t\tcountKey: \"count\"\n\n\t\twidth: 700\n\t\theight: 300\n",
"end": 180,
"score": 0.8231475949287415,
"start": 178,
"tag": "KEY",
"value": "ts"
},
{
"context": "ds _Base\n\tdefaults: \n\t\ttimeKey: \"ts\"\n... | _src/js/timebars.coffee | mpneuried/tcs-charts | 1 | if module?.exports?
_Base = require( "./base.js" )
@d3 = require( "d3" )
else
_Base = window.tcscharts.Base
_TimeBars = class TimeBars extends _Base
defaults:
timeKey: "ts"
countKey: "count"
width: 700
height: 300
margin:
top: 20
right: 20
bottom: 10
left: 40
spacing: 3
barsColor: nu... | 181464 | if module?.exports?
_Base = require( "./base.js" )
@d3 = require( "d3" )
else
_Base = window.tcscharts.Base
_TimeBars = class TimeBars extends _Base
defaults:
timeKey: "<KEY>"
countKey: "<KEY>"
width: 700
height: 300
margin:
top: 20
right: 20
bottom: 10
left: 40
spacing: 3
barsColor:... | true | if module?.exports?
_Base = require( "./base.js" )
@d3 = require( "d3" )
else
_Base = window.tcscharts.Base
_TimeBars = class TimeBars extends _Base
defaults:
timeKey: "PI:KEY:<KEY>END_PI"
countKey: "PI:KEY:<KEY>END_PI"
width: 700
height: 300
margin:
top: 20
right: 20
bottom: 10
left: 40
... |
[
{
"context": "ast')\n\n# We use the [bluebird](https://github.com/petkaantonov/bluebird)\n# third-party module to provide a promi",
"end": 3338,
"score": 0.9995909929275513,
"start": 3326,
"tag": "USERNAME",
"value": "petkaantonov"
},
{
"context": "nce method\n # [nodeify](htt... | drivers/javascript/net.coffee | NicoHood/rethinkdb | 0 | # # Network (net.coffee)
#
# This module handles network and protocol related functionality for
# the driver. The classes defined here are:
#
# - `Connection`, which is an EventEmitter and the base class for
# - `TcpConnection`, the standard driver connection
# - `HttpConnection`, the connection type used by the webui
... | 206222 | # # Network (net.coffee)
#
# This module handles network and protocol related functionality for
# the driver. The classes defined here are:
#
# - `Connection`, which is an EventEmitter and the base class for
# - `TcpConnection`, the standard driver connection
# - `HttpConnection`, the connection type used by the webui
... | true | # # Network (net.coffee)
#
# This module handles network and protocol related functionality for
# the driver. The classes defined here are:
#
# - `Connection`, which is an EventEmitter and the base class for
# - `TcpConnection`, the standard driver connection
# - `HttpConnection`, the connection type used by the webui
... |
[
{
"context": "scriptions: null\n flows: []\n flow: null\n key: \"activate-power-mode.flow\"\n\n enable: ->\n @subscriptions = new Composite",
"end": 136,
"score": 0.9697783589363098,
"start": 112,
"tag": "KEY",
"value": "activate-power-mode.flow"
}
] | lib/flow-registry.coffee | kyl3r92/activate-power-mode | 4,172 | {CompositeDisposable} = require "atom"
module.exports =
subscriptions: null
flows: []
flow: null
key: "activate-power-mode.flow"
enable: ->
@subscriptions = new CompositeDisposable
@observeFlow()
@initList()
disable: ->
@subscriptions?.dispose()
@flowList?.dispose()
@flowList = nu... | 67579 | {CompositeDisposable} = require "atom"
module.exports =
subscriptions: null
flows: []
flow: null
key: "<KEY>"
enable: ->
@subscriptions = new CompositeDisposable
@observeFlow()
@initList()
disable: ->
@subscriptions?.dispose()
@flowList?.dispose()
@flowList = null
setDefaultFlo... | true | {CompositeDisposable} = require "atom"
module.exports =
subscriptions: null
flows: []
flow: null
key: "PI:KEY:<KEY>END_PI"
enable: ->
@subscriptions = new CompositeDisposable
@observeFlow()
@initList()
disable: ->
@subscriptions?.dispose()
@flowList?.dispose()
@flowList = null
... |
[
{
"context": "e17f6f?imageView2/2/w/200\"\n initialRoomName = \"夏力维和他的朋友们\"\n isLoadingMore = false\n base_rooms =",
"end": 5671,
"score": 0.6867448091506958,
"start": 5668,
"tag": "NAME",
"value": "夏力维"
},
{
"context": " if user_id == USER_ID\n msg_owner = \"wx... | index.coffee | hotpoor-for-Liwei/bangfer-web-chatroom | 0 | $ ->
$("#hotpoor_shares_qrcode_weixin_area").remove()
$("#hotpoor_shares").css
"position":"relative"
"paddingBottom":"0px"
"height":"100%"
$("#hotpoor_shares").append """
<style>
.comments_area{
width:100%;
height:calc(100% - 44px);
ove... | 8950 | $ ->
$("#hotpoor_shares_qrcode_weixin_area").remove()
$("#hotpoor_shares").css
"position":"relative"
"paddingBottom":"0px"
"height":"100%"
$("#hotpoor_shares").append """
<style>
.comments_area{
width:100%;
height:calc(100% - 44px);
ove... | true | $ ->
$("#hotpoor_shares_qrcode_weixin_area").remove()
$("#hotpoor_shares").css
"position":"relative"
"paddingBottom":"0px"
"height":"100%"
$("#hotpoor_shares").append """
<style>
.comments_area{
width:100%;
height:calc(100% - 44px);
ove... |
[
{
"context": "###\nCopyright (c) 2002-2013 \"Neo Technology,\"\nNetwork Engine for Objects in Lund AB [http://n",
"end": 43,
"score": 0.6368123292922974,
"start": 33,
"tag": "NAME",
"value": "Technology"
}
] | community/server/src/main/coffeescript/neo4j/webadmin/modules/databrowser/visualization/models/Filters.coffee | rebaze/neo4j | 1 | ###
Copyright (c) 2002-2013 "Neo Technology,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 o... | 74374 | ###
Copyright (c) 2002-2013 "Neo <NAME>,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of th... | true | ###
Copyright (c) 2002-2013 "Neo PI:NAME:<NAME>END_PI,"
Network Engine for Objects in Lund AB [http://neotechnology.com]
This file is part of Neo4j.
Neo4j is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either v... |
[
{
"context": " uuid: 'green-blue'\n token: 'blue-purple'\n toUuid: 'orange'\n fromUui",
"end": 580,
"score": 0.966088593006134,
"start": 569,
"tag": "PASSWORD",
"value": "blue-purple"
},
{
"context": " uuid: 'green-blue'\n ... | test/check-broadcast-sent-whitelist-spec.coffee | octoblu/meshblu-core-task-check-broadcast-sent-whitelist | 0 | http = require 'http'
CheckBroadcastSentWhitelist = require '../'
describe 'CheckBroadcastSentWhitelist', ->
beforeEach ->
@whitelistManager =
checkBroadcastSent: sinon.stub()
@sut = new CheckBroadcastSentWhitelist
whitelistManager: @whitelistManager
describe '->do', ->
describe 'when cal... | 117697 | http = require 'http'
CheckBroadcastSentWhitelist = require '../'
describe 'CheckBroadcastSentWhitelist', ->
beforeEach ->
@whitelistManager =
checkBroadcastSent: sinon.stub()
@sut = new CheckBroadcastSentWhitelist
whitelistManager: @whitelistManager
describe '->do', ->
describe 'when cal... | true | http = require 'http'
CheckBroadcastSentWhitelist = require '../'
describe 'CheckBroadcastSentWhitelist', ->
beforeEach ->
@whitelistManager =
checkBroadcastSent: sinon.stub()
@sut = new CheckBroadcastSentWhitelist
whitelistManager: @whitelistManager
describe '->do', ->
describe 'when cal... |
[
{
"context": "# iplotScanone_noeff: LOD curves (nothing else)\n# Karl W Broman\n\niplotScanone_noeff = (widgetdiv, data, chartOpts",
"end": 63,
"score": 0.9997490048408508,
"start": 50,
"tag": "NAME",
"value": "Karl W Broman"
}
] | inst/htmlwidgets/lib/qtlcharts/iplotScanone_noeff.coffee | Alanocallaghan/qtlcharts | 0 | # iplotScanone_noeff: LOD curves (nothing else)
# Karl W Broman
iplotScanone_noeff = (widgetdiv, data, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 450 # height of image in pixels
width = chartOpts?.width ? 900 # width of image in pix... | 24178 | # iplotScanone_noeff: LOD curves (nothing else)
# <NAME>
iplotScanone_noeff = (widgetdiv, data, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 450 # height of image in pixels
width = chartOpts?.width ? 900 # width of image in pixels
... | true | # iplotScanone_noeff: LOD curves (nothing else)
# PI:NAME:<NAME>END_PI
iplotScanone_noeff = (widgetdiv, data, chartOpts) ->
# chartOpts start
height = chartOpts?.height ? 450 # height of image in pixels
width = chartOpts?.width ? 900 # width of image... |
[
{
"context": "t version', opts, err\n return\n key = EJSON.stringify _.pick(\n res, 'ownerName', 're",
"end": 14444,
"score": 0.6218315958976746,
"start": 14440,
"tag": "KEY",
"value": "JSON"
},
{
"context": "reactive contenteditables\n # (https://github.com/Swa... | packages/nog-flow/nog-flow-ui.coffee | nogproject/nog | 0 | {defaultErrorHandler} = NogError
{escapeHtml} = NogFmt
{ NogFlow } = share
WorkspaceContent = new Mongo.Collection('workspaceContent')
routerPath = (route, opts) ->
href = FlowRouter.path route, opts
href = href.replace /%2F/g, '/'
href
iskind = (entry, kind) -> _.isObject(entry.meta[kind])
iskindDatalist = (... | 223576 | {defaultErrorHandler} = NogError
{escapeHtml} = NogFmt
{ NogFlow } = share
WorkspaceContent = new Mongo.Collection('workspaceContent')
routerPath = (route, opts) ->
href = FlowRouter.path route, opts
href = href.replace /%2F/g, '/'
href
iskind = (entry, kind) -> _.isObject(entry.meta[kind])
iskindDatalist = (... | true | {defaultErrorHandler} = NogError
{escapeHtml} = NogFmt
{ NogFlow } = share
WorkspaceContent = new Mongo.Collection('workspaceContent')
routerPath = (route, opts) ->
href = FlowRouter.path route, opts
href = href.replace /%2F/g, '/'
href
iskind = (entry, kind) -> _.isObject(entry.meta[kind])
iskindDatalist = (... |
[
{
"context": "#############\n#\n#\tMoocita collections\n# Created by Markus on 26/10/2015.\n#\n################################",
"end": 99,
"score": 0.9992696046829224,
"start": 93,
"tag": "NAME",
"value": "Markus"
}
] | server/publications/feedback.coffee | agottschalk10/worklearn | 0 | #######################################################
#
# Moocita collections
# Created by Markus on 26/10/2015.
#
#######################################################
#######################################################
# item header
#######################################################
###################... | 21207 | #######################################################
#
# Moocita collections
# Created by <NAME> on 26/10/2015.
#
#######################################################
#######################################################
# item header
#######################################################
###################... | true | #######################################################
#
# Moocita collections
# Created by PI:NAME:<NAME>END_PI on 26/10/2015.
#
#######################################################
#######################################################
# item header
#######################################################
#####... |
[
{
"context": "cs/#info.info\n\nFramer.Info =\n\ttitle: \"\"\n\tauthor: \"Tony\"\n\ttwitter: \"\"\n\tdescription: \"\"\n\n\n# Setup\n# Import",
"end": 146,
"score": 0.9990808963775635,
"start": 142,
"tag": "NAME",
"value": "Tony"
}
] | 55soundCloud.framer/app.coffee | gremjua-forks/100daysofframer | 26 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "Tony"
twitter: ""
description: ""
# Setup
# Import sketch file "soundCloud"
sketch = Framer.Importer.load("imported/soundCloud@1x")
Utils.globalLayers(sketch)
new BackgroundL... | 126756 | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "<NAME>"
twitter: ""
description: ""
# Setup
# Import sketch file "soundCloud"
sketch = Framer.Importer.load("imported/soundCloud@1x")
Utils.globalLayers(sketch)
new Backgroun... | true | # Project Info
# This info is presented in a widget when you share.
# http://framerjs.com/docs/#info.info
Framer.Info =
title: ""
author: "PI:NAME:<NAME>END_PI"
twitter: ""
description: ""
# Setup
# Import sketch file "soundCloud"
sketch = Framer.Importer.load("imported/soundCloud@1x")
Utils.globalLayers(sketch)... |
[
{
"context": " content: content\n author: author\n created_at: new Date()\n\n ",
"end": 2366,
"score": 0.9340375661849976,
"start": 2360,
"tag": "NAME",
"value": "author"
},
{
"context": "lone @get('authors')\n authors.pus... | shared/coffee/ck.model.coffee | encorelab/CommonKnowledge | 1 | if typeof exports isnt "undefined" and exports isnt null
# we're in node
jQuery = require("jquery")
_ = require("underscore")
Backbone = require("backbone")
Backbone.$ = jQuery
Drowsy = require("backbone.drowsy").Drowsy
#var Wakeful = require('Backbone.Drowsy/wakeful').Wakeful;
CK = {}
exports.CK =... | 27131 | if typeof exports isnt "undefined" and exports isnt null
# we're in node
jQuery = require("jquery")
_ = require("underscore")
Backbone = require("backbone")
Backbone.$ = jQuery
Drowsy = require("backbone.drowsy").Drowsy
#var Wakeful = require('Backbone.Drowsy/wakeful').Wakeful;
CK = {}
exports.CK =... | true | if typeof exports isnt "undefined" and exports isnt null
# we're in node
jQuery = require("jquery")
_ = require("underscore")
Backbone = require("backbone")
Backbone.$ = jQuery
Drowsy = require("backbone.drowsy").Drowsy
#var Wakeful = require('Backbone.Drowsy/wakeful').Wakeful;
CK = {}
exports.CK =... |
[
{
"context": "{x: 1.8*@width / 6, y: 1.2*@height / 3.5},\n \"autres\": {x: 3.1 *@width / 6, y: 1.4*@height / 3},\n ",
"end": 2263,
"score": 0.5924499034881592,
"start": 2257,
"tag": "NAME",
"value": "autres"
},
{
"context": ": {x: 3.1 * @width / 6, y: 1*@height / 3},\n ... | coffee/vis.coffee | JeanAbbiateci/art-for-dummies-bubbles | 1 |
class BubbleChart
constructor: (data) ->
@data = data
@width = 690
@height = 660
@tooltip = CustomTooltip("gates_tooltip", 185)
@center = {x: 2 * @width / 3, y: 1*@height / 3}
@year_centers = {
"2008": {x: 1.8 *@width / 6, y: 1*@height / 3},
"2009": {x: 3.13 *@width / 6, y: 1.05*... | 130759 |
class BubbleChart
constructor: (data) ->
@data = data
@width = 690
@height = 660
@tooltip = CustomTooltip("gates_tooltip", 185)
@center = {x: 2 * @width / 3, y: 1*@height / 3}
@year_centers = {
"2008": {x: 1.8 *@width / 6, y: 1*@height / 3},
"2009": {x: 3.13 *@width / 6, y: 1.05*... | true |
class BubbleChart
constructor: (data) ->
@data = data
@width = 690
@height = 660
@tooltip = CustomTooltip("gates_tooltip", 185)
@center = {x: 2 * @width / 3, y: 1*@height / 3}
@year_centers = {
"2008": {x: 1.8 *@width / 6, y: 1*@height / 3},
"2009": {x: 3.13 *@width / 6, y: 1.05*... |
[
{
"context": "n1up = (max ,i, done) ->\n keys = []\n keys.push \"f:test#{i}\"\n keys.push \"is:test#{i}\"\n keys.push \"ir:test#{i",
"end": 608,
"score": 0.9687022566795349,
"start": 597,
"tag": "KEY",
"value": "f:test#{i}\""
},
{
"context": " keys = []\n keys.push \"f:test#{i}... | test/load/imageloadtest.coffee | SchoolOfFreelancing/SureSpot | 1 | request = require("request")
http = require 'http'
assert = require("assert")
should = require("should")
redis = require("redis")
util = require("util")
fs = require("fs")
io = require 'socket.io-client'
async = require 'async'
_ = require 'underscore'
crypto = require 'crypto'
rc = redis.createClient()
#rc.select 1
... | 26180 | request = require("request")
http = require 'http'
assert = require("assert")
should = require("should")
redis = require("redis")
util = require("util")
fs = require("fs")
io = require 'socket.io-client'
async = require 'async'
_ = require 'underscore'
crypto = require 'crypto'
rc = redis.createClient()
#rc.select 1
... | true | request = require("request")
http = require 'http'
assert = require("assert")
should = require("should")
redis = require("redis")
util = require("util")
fs = require("fs")
io = require 'socket.io-client'
async = require 'async'
_ = require 'underscore'
crypto = require 'crypto'
rc = redis.createClient()
#rc.select 1
... |
[
{
"context": " response\n\n )\n return false\n\n @clientId = \"370442298553-1027sk5ib0e6h1s01j9k0tl8gs166k69.apps.googleusercontent.com\"\n # \"370442298553-0sd4gu24c5tbdhfvesi7ugjhvt0tfa",
"end": 1777,
"score": 0.9640110731124878,
"start": 1705,
"tag": "KEY",
"value": "370442298553-... | coffee/cybozu.coffee | c0ze/cybozu | 0 | class Cybozu
@refreshRate = 5 * 60 * 1000
@positiveKeywordsRegexes = []
@negativeKeywordsRegexes = []
initialize: () ->
refresh()
refresh: () ->
chrome.storage.sync.get null, (items) =>
icon_list = $("#content-wrapper > div.contentPersonalAdmin > div > table > tbody > tr > td > table > tbody >... | 2181 | class Cybozu
@refreshRate = 5 * 60 * 1000
@positiveKeywordsRegexes = []
@negativeKeywordsRegexes = []
initialize: () ->
refresh()
refresh: () ->
chrome.storage.sync.get null, (items) =>
icon_list = $("#content-wrapper > div.contentPersonalAdmin > div > table > tbody > tr > td > table > tbody >... | true | class Cybozu
@refreshRate = 5 * 60 * 1000
@positiveKeywordsRegexes = []
@negativeKeywordsRegexes = []
initialize: () ->
refresh()
refresh: () ->
chrome.storage.sync.get null, (items) =>
icon_list = $("#content-wrapper > div.contentPersonalAdmin > div > table > tbody > tr > td > table > tbody >... |
[
{
"context": "#\n# Copyright 2015 Volcra\n#\n# Licensed under the Apache License, Version 2.",
"end": 25,
"score": 0.9996498227119446,
"start": 19,
"tag": "NAME",
"value": "Volcra"
}
] | webpack.config.coffee | volcra/react-foundation | 0 | #
# Copyright 2015 Volcra
#
# 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... | 94122 | #
# 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 agreed to in writing, sof... | true | #
# 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 applicable law or agreed to i... |
[
{
"context": "r && membersError\n errorKey = 'private-space-members'\n maxMemberships = user.get('m",
"end": 3521,
"score": 0.9994081258773804,
"start": 3500,
"tag": "KEY",
"value": "private-space-members"
},
{
"context": "e if privateError\n ... | app/modules/projects/create/import/import-project.service.coffee | threefoldtech/Threefold-Circles-front | 0 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | 103639 | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... | true | ###
# Copyright (C) 2014-2018 Taiga Agile LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program ... |
[
{
"context": "=================================\n# Copyright 2014 Hatio, Lab.\n# Licensed under The MIT License\n# http://o",
"end": 67,
"score": 0.9197463989257812,
"start": 62,
"tag": "NAME",
"value": "Hatio"
}
] | src/spec/SpecInfographic.coffee | heartyoh/infopik | 0 | # ==========================================
# Copyright 2014 Hatio, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
], (dou, kin) ->
"use strict"
createView = (attributes) ->
new kin.Group(... | 200913 | # ==========================================
# Copyright 2014 <NAME>, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
], (dou, kin) ->
"use strict"
createView = (attributes) ->
new kin.Group... | true | # ==========================================
# Copyright 2014 PI:NAME:<NAME>END_PI, Lab.
# Licensed under The MIT License
# http://opensource.org/licenses/MIT
# ==========================================
define [
'dou'
'KineticJS'
], (dou, kin) ->
"use strict"
createView = (attributes) ->
... |
[
{
"context": "js\n\n PXL.js\n Benjamin Blundell - ben@pxljs.com\n http://pxljs.",
"end": 215,
"score": 0.9998075366020203,
"start": 198,
"tag": "NAME",
"value": "Benjamin Blundell"
},
{
"context": " PXL.js\n ... | src/util/log.coffee | OniDaito/pxljs | 1 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
Benjamin Blundell - ben@pxljs.com
http://pxljs.com
This software is released under the MIT Licenc... | 206438 | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
<NAME> - <EMAIL>
http://pxljs.com
This software is released under the MIT Licence. See LICENCE.tx... | true | ###
.__
_________ __| |
\____ \ \/ / |
| |_> > <| |__
| __/__/\_ \____/
|__| \/ js
PXL.js
PI:NAME:<NAME>END_PI - PI:EMAIL:<EMAIL>END_PI
http://pxljs.com
This software is released under th... |
[
{
"context": "###\njquery.slideMatrix v0.0.3\n(c) 2012 Ryan Lewis <ryanscottlewis@gmail.com> MIT License\n###\n\n(($, ",
"end": 49,
"score": 0.9998372793197632,
"start": 39,
"tag": "NAME",
"value": "Ryan Lewis"
},
{
"context": "##\njquery.slideMatrix v0.0.3\n(c) 2012 Ryan Lewis <ryan... | src/jquery.slideMatrix.coffee | RyanScottLewis/jquery-slideMatrix | 2 | ###
jquery.slideMatrix v0.0.3
(c) 2012 Ryan Lewis <ryanscottlewis@gmail.com> MIT License
###
(($, window) ->
$.fn.extend
slideMatrix: ->
optionsOrArgument = arguments[0]
switch optionsOrArgument
when 'slideTo'
argument = arguments[1]
currentItemPos = @currentItemPos... | 168152 | ###
jquery.slideMatrix v0.0.3
(c) 2012 <NAME> <<EMAIL>> MIT License
###
(($, window) ->
$.fn.extend
slideMatrix: ->
optionsOrArgument = arguments[0]
switch optionsOrArgument
when 'slideTo'
argument = arguments[1]
currentItemPos = @currentItemPos()
nextPos ... | true | ###
jquery.slideMatrix v0.0.3
(c) 2012 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> MIT License
###
(($, window) ->
$.fn.extend
slideMatrix: ->
optionsOrArgument = arguments[0]
switch optionsOrArgument
when 'slideTo'
argument = arguments[1]
currentItemPos = @curren... |
[
{
"context": " @game = new GamingAPI.Models.Game\n name: \"test1\"\n deck: \"My test description\"\n image: {",
"end": 330,
"score": 0.9967559576034546,
"start": 325,
"tag": "NAME",
"value": "test1"
},
{
"context": "ct(@view.$(\".js-game-name\").text()).toEqual \"Nam... | spec/javascripts/games/views/detailed_game_view_spec.js.coffee | Mack0856/gaming_api | 0 | describe "GamingAPI.Views.DetailedGameView", ->
beforeEach ->
@platform1 = new GamingAPI.Models.Platform({abbreviation: "XB1"})
@platform2 = new GamingAPI.Models.Platform({abbreviation: "PS4"})
@platform3 = new GamingAPI.Models.Platform({abbreviation: "PC"})
@game = new GamingAPI.Models.Game
na... | 67987 | describe "GamingAPI.Views.DetailedGameView", ->
beforeEach ->
@platform1 = new GamingAPI.Models.Platform({abbreviation: "XB1"})
@platform2 = new GamingAPI.Models.Platform({abbreviation: "PS4"})
@platform3 = new GamingAPI.Models.Platform({abbreviation: "PC"})
@game = new GamingAPI.Models.Game
na... | true | describe "GamingAPI.Views.DetailedGameView", ->
beforeEach ->
@platform1 = new GamingAPI.Models.Platform({abbreviation: "XB1"})
@platform2 = new GamingAPI.Models.Platform({abbreviation: "PS4"})
@platform3 = new GamingAPI.Models.Platform({abbreviation: "PC"})
@game = new GamingAPI.Models.Game
na... |
[
{
"context": "\nnikita = require '@nikitajs/core'\n{tags, ssh, scratch} = require '../test'\nth",
"end": 28,
"score": 0.6927008628845215,
"start": 23,
"tag": "USERNAME",
"value": "itajs"
},
{
"context": "solved.conf\"\n content:\n FallbackDNS: \"1.1.1.1\"\n reload: f... | packages/filetypes/test/systemd/resolved.coffee | chibanemourad/node-nikita | 1 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file.types.systemd.resolved', ->
they 'servers as a string', ({ssh}) ->
nikita
ssh: ssh
.file.types.systemd.resolved
target: "#{scratch}/re... | 186200 |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file.types.systemd.resolved', ->
they 'servers as a string', ({ssh}) ->
nikita
ssh: ssh
.file.types.systemd.resolved
target: "#{scratch}/re... | true |
nikita = require '@nikitajs/core'
{tags, ssh, scratch} = require '../test'
they = require('ssh2-they').configure ssh...
return unless tags.posix
describe 'file.types.systemd.resolved', ->
they 'servers as a string', ({ssh}) ->
nikita
ssh: ssh
.file.types.systemd.resolved
target: "#{scratch}/re... |
[
{
"context": "'''\nwatchOS : ClockFaces\n\n@auther Jungho song (threeword.com)\n@since 2016.11.23\n'''\nclass expor",
"end": 45,
"score": 0.9998582005500793,
"start": 34,
"tag": "NAME",
"value": "Jungho song"
},
{
"context": " (complications = []) ->\n\t\t@label.html = @name = \"심플\"... | modules/watchos-kit-clockfaces.coffee | framer-modules/watchos | 2 | '''
watchOS : ClockFaces
@auther Jungho song (threeword.com)
@since 2016.11.23
'''
class exports.ClockFaces extends Layer
'''
complications:
utilitarian: []
modular: []
circular: []
'''
# Constructor
constructor: (options = {}) ->
options.name ?= "ClockFaces"
options.backgroundColor ?= "black"
super o... | 30524 | '''
watchOS : ClockFaces
@auther <NAME> (threeword.com)
@since 2016.11.23
'''
class exports.ClockFaces extends Layer
'''
complications:
utilitarian: []
modular: []
circular: []
'''
# Constructor
constructor: (options = {}) ->
options.name ?= "ClockFaces"
options.backgroundColor ?= "black"
super option... | true | '''
watchOS : ClockFaces
@auther PI:NAME:<NAME>END_PI (threeword.com)
@since 2016.11.23
'''
class exports.ClockFaces extends Layer
'''
complications:
utilitarian: []
modular: []
circular: []
'''
# Constructor
constructor: (options = {}) ->
options.name ?= "ClockFaces"
options.backgroundColor ?= "black"
... |
[
{
"context": "{\n _id: App.server.createUUID()\n name: \"Unnamed\"\n belongs_to: App.rooms.selected.get('id')\n ",
"end": 604,
"score": 0.9771727919578552,
"start": 597,
"tag": "NAME",
"value": "Unnamed"
}
] | cmdr_web/src/scripts/views/action_configure.coffee | wesleyan/cmdr-server | 2 | slinky_require('../core.coffee')
slinky_require('configure_list.coffee')
slinky_require('bind_view.coffee')
App.ActionsConfigureView = App.BindView.extend
initialize: () ->
App.rooms.bind "change:selection", @render, this
@configure_list = new App.ConfigureListView(App.actions)
@configure_list.bind "add"... | 42081 | slinky_require('../core.coffee')
slinky_require('configure_list.coffee')
slinky_require('bind_view.coffee')
App.ActionsConfigureView = App.BindView.extend
initialize: () ->
App.rooms.bind "change:selection", @render, this
@configure_list = new App.ConfigureListView(App.actions)
@configure_list.bind "add"... | true | slinky_require('../core.coffee')
slinky_require('configure_list.coffee')
slinky_require('bind_view.coffee')
App.ActionsConfigureView = App.BindView.extend
initialize: () ->
App.rooms.bind "change:selection", @render, this
@configure_list = new App.ConfigureListView(App.actions)
@configure_list.bind "add"... |
[
{
"context": "/user/login/',{\n login: email\n password: password\n })\n\n signOut: () ->\n @$http.post('/v1/use",
"end": 1429,
"score": 0.9985442161560059,
"start": 1421,
"tag": "PASSWORD",
"value": "password"
},
{
"context": "ssword, newPassword) ->\n data =\n ... | src/app/services/data.service.coffee | pavelkuchin/tracktrains-ui | 0 | ###
The MIT License (MIT)
Copyright (c) 2015 TrackSeats.info
The data service intended to request and send data to server.
The simpliest http calls wrapper with basic logic
Methods:
signIn(email, password) - the user authentication call
signOut() - the call for close user session
getSession() -... | 112583 | ###
The MIT License (MIT)
Copyright (c) 2015 TrackSeats.info
The data service intended to request and send data to server.
The simpliest http calls wrapper with basic logic
Methods:
signIn(email, password) - the user authentication call
signOut() - the call for close user session
getSession() -... | true | ###
The MIT License (MIT)
Copyright (c) 2015 TrackSeats.info
The data service intended to request and send data to server.
The simpliest http calls wrapper with basic logic
Methods:
signIn(email, password) - the user authentication call
signOut() - the call for close user session
getSession() -... |
[
{
"context": "te('artwork', {\n partner: {\n id: 'catty-partner'\n }\n artists: [\n fabricate",
"end": 540,
"score": 0.676982045173645,
"start": 527,
"tag": "USERNAME",
"value": "catty-partner"
},
{
"context": " fabricate('artist', {\n ... | src/desktop/apps/artwork/components/artists/test/templates/index.coffee | kanaabe/force | 0 | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
{ fabricate } = require 'antigravity'
sinon = require 'sinon'
render = ->
filename = path.resolve __dirname, "../../index.jade"
jade.compile(
fs.readFileSync(filename),
{ filename: filename }
... | 32923 | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
{ fabricate } = require 'antigravity'
sinon = require 'sinon'
render = ->
filename = path.resolve __dirname, "../../index.jade"
jade.compile(
fs.readFileSync(filename),
{ filename: filename }
... | true | _ = require 'underscore'
jade = require 'jade'
cheerio = require 'cheerio'
path = require 'path'
fs = require 'fs'
{ fabricate } = require 'antigravity'
sinon = require 'sinon'
render = ->
filename = path.resolve __dirname, "../../index.jade"
jade.compile(
fs.readFileSync(filename),
{ filename: filename }
... |
[
{
"context": "customCoffee = new Coffee({\n functions: {\n marius: {\n color: 'red'\n },\n valjean: {",
"end": 195,
"score": 0.7971046566963196,
"start": 189,
"tag": "NAME",
"value": "marius"
},
{
"context": " marius: {\n color: 'red'\n },\n ... | test/src/cstest.coffee | sanyaade-teachings/spresensedroplet | 3 | helper = require '../../src/helper.coffee'
Coffee = require '../../src/languages/coffee.coffee'
asyncTest 'Parser configurability', ->
customCoffee = new Coffee({
functions: {
marius: {
color: 'red'
},
valjean: {},
eponine: {
value: true,
color: 'purplish'
},... | 167318 | helper = require '../../src/helper.coffee'
Coffee = require '../../src/languages/coffee.coffee'
asyncTest 'Parser configurability', ->
customCoffee = new Coffee({
functions: {
<NAME>: {
color: 'red'
},
<NAME>: {},
eponine: {
value: true,
color: 'purplish'
},
... | true | helper = require '../../src/helper.coffee'
Coffee = require '../../src/languages/coffee.coffee'
asyncTest 'Parser configurability', ->
customCoffee = new Coffee({
functions: {
PI:NAME:<NAME>END_PI: {
color: 'red'
},
PI:NAME:<NAME>END_PI: {},
eponine: {
value: true,
... |
[
{
"context": "key: 'entities'\npatterns: [\n\n # NOTE\n # Detect a singular ampe",
"end": 14,
"score": 0.6435309052467346,
"start": 6,
"tag": "KEY",
"value": "entities"
}
] | grammars/repositories/inlines/entities.cson | doc22940/language-markdown | 138 | key: 'entities'
patterns: [
# NOTE
# Detect a singular ampersand pre- and superceded by whitespace, so it doesn't get picked up erronously by language-html which marks it as invalid. This rule has no other purpose than to prevent the aforementioned.
{
match: '(?<=^|\\s)(&)(?=$|\\s|,|!|\\?|\\.)'
name: 'am... | 141040 | key: '<KEY>'
patterns: [
# NOTE
# Detect a singular ampersand pre- and superceded by whitespace, so it doesn't get picked up erronously by language-html which marks it as invalid. This rule has no other purpose than to prevent the aforementioned.
{
match: '(?<=^|\\s)(&)(?=$|\\s|,|!|\\?|\\.)'
name: 'amper... | true | key: 'PI:KEY:<KEY>END_PI'
patterns: [
# NOTE
# Detect a singular ampersand pre- and superceded by whitespace, so it doesn't get picked up erronously by language-html which marks it as invalid. This rule has no other purpose than to prevent the aforementioned.
{
match: '(?<=^|\\s)(&)(?=$|\\s|,|!|\\?|\\.)'
... |
[
{
"context": " (fs|fs-nt)', '#REQUIRED')\n .dat('<owner>John</owner>')\n .ele('node')\n .ent('",
"end": 821,
"score": 0.988315999507904,
"start": 817,
"tag": "NAME",
"value": "John"
},
{
"context": " .nod('repo', {'type': 'git'}, 'git://github.com/oozcitak... | test/basic/streamwriter.coffee | MarkCSmith/xmlbuilder-js | 0 | suite 'Creating XML with stream writer:', ->
hook = null
setup 'hook stdout.write', ->
hook = captureStream(process.stdout)
return
teardown 'unhook stdout.write', ->
hook.unhook()
return
test 'Plain text writer', ->
xml('root')
.dtd('hello.dtd', 'sys')
.ins('pub_border', 'th... | 18461 | suite 'Creating XML with stream writer:', ->
hook = null
setup 'hook stdout.write', ->
hook = captureStream(process.stdout)
return
teardown 'unhook stdout.write', ->
hook.unhook()
return
test 'Plain text writer', ->
xml('root')
.dtd('hello.dtd', 'sys')
.ins('pub_border', 'th... | true | suite 'Creating XML with stream writer:', ->
hook = null
setup 'hook stdout.write', ->
hook = captureStream(process.stdout)
return
teardown 'unhook stdout.write', ->
hook.unhook()
return
test 'Plain text writer', ->
xml('root')
.dtd('hello.dtd', 'sys')
.ins('pub_border', 'th... |
[
{
"context": "}, big_secret: 'SHHH'}\n ]\n [{password: 'pwd'}, {password: '[REDACTED]'}]\n [\n {b: ",
"end": 502,
"score": 0.9987567663192749,
"start": 499,
"tag": "PASSWORD",
"value": "pwd"
},
{
"context": "'}\n ]\n [{password: 'pwd'}, {password: '[RE... | test/loofah.coffee | Clever/loofah | 4 | _ = require 'underscore'
assert = require 'assert'
os = require 'os'
Scrubbers = require ("#{__dirname}/../lib/loofah")
user_scrub = (keywords) ->
return (object) ->
_.omit object, 'omit_this_key'
describe 'Loofah', ->
describe 'object_keys', ->
_.each [
[{a: 'non sensitive'}, {a: 'non sensitive'}]
... | 77227 | _ = require 'underscore'
assert = require 'assert'
os = require 'os'
Scrubbers = require ("#{__dirname}/../lib/loofah")
user_scrub = (keywords) ->
return (object) ->
_.omit object, 'omit_this_key'
describe 'Loofah', ->
describe 'object_keys', ->
_.each [
[{a: 'non sensitive'}, {a: 'non sensitive'}]
... | true | _ = require 'underscore'
assert = require 'assert'
os = require 'os'
Scrubbers = require ("#{__dirname}/../lib/loofah")
user_scrub = (keywords) ->
return (object) ->
_.omit object, 'omit_this_key'
describe 'Loofah', ->
describe 'object_keys', ->
_.each [
[{a: 'non sensitive'}, {a: 'non sensitive'}]
... |
[
{
"context": "verview Tests for no-empty-pattern rule.\n# @author Alberto Rodríguez\n###\n'use strict'\n\n#------------------------------",
"end": 81,
"score": 0.9998541474342346,
"start": 64,
"tag": "NAME",
"value": "Alberto Rodríguez"
}
] | src/tests/rules/no-empty-pattern.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Tests for no-empty-pattern rule.
# @author Alberto Rodríguez
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-empty-pa... | 195363 | ###*
# @fileoverview Tests for no-empty-pattern rule.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-empty-pattern'
{Rul... | true | ###*
# @fileoverview Tests for no-empty-pattern rule.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Requirements
#------------------------------------------------------------------------------
rule = require 'eslint/lib/rules/no-empty... |
[
{
"context": "\n # root key used in settings \n @settingsKey = 'au-cmsinn'\n @plugins = plugins\n # currently loaded plugin",
"end": 1374,
"score": 0.9950805902481079,
"start": 1365,
"tag": "KEY",
"value": "au-cmsinn"
}
] | lib/service.coffee | arillo/au-cmsinn | 0 | if Meteor.isServer
jQuery = {}
# var subs = new SubsManager();
###*
# Storage public interface used by AuCmsInn internally
#
# @param adapter specialized implementation
###
Storage = (adapter) ->
@adapter = adapter
@collection = @adapter.collection
@hooks =
'beforeInsert': []
'beforeUpdate': []
'b... | 140535 | if Meteor.isServer
jQuery = {}
# var subs = new SubsManager();
###*
# Storage public interface used by AuCmsInn internally
#
# @param adapter specialized implementation
###
Storage = (adapter) ->
@adapter = adapter
@collection = @adapter.collection
@hooks =
'beforeInsert': []
'beforeUpdate': []
'b... | true | if Meteor.isServer
jQuery = {}
# var subs = new SubsManager();
###*
# Storage public interface used by AuCmsInn internally
#
# @param adapter specialized implementation
###
Storage = (adapter) ->
@adapter = adapter
@collection = @adapter.collection
@hooks =
'beforeInsert': []
'beforeUpdate': []
'b... |
[
{
"context": "ext'/>)\n\n key = if globals.os is 'mac' then '⌘ + C' else 'Ctrl + C'\n\n expect(key).toEqual modal",
"end": 773,
"score": 0.9708335995674133,
"start": 768,
"tag": "KEY",
"value": "⌘ + C"
},
{
"context": " key = if globals.os is 'mac' then '⌘ + C' else 'Ctrl ... | client/app/lib/components/codeblock/test.coffee | ezgikaysi/koding | 1 | React = require 'kd-react'
expect = require 'expect'
globals = require 'globals'
CodeBlock = require './index'
TestUtils = require 'react-addons-test-utils'
describe 'CodeBlock', ->
{ Simulate, renderIntoDocument } = TestUtils
describe '::render', ->
it 'checks rendered modal prop type', ->
modal = ... | 143311 | React = require 'kd-react'
expect = require 'expect'
globals = require 'globals'
CodeBlock = require './index'
TestUtils = require 'react-addons-test-utils'
describe 'CodeBlock', ->
{ Simulate, renderIntoDocument } = TestUtils
describe '::render', ->
it 'checks rendered modal prop type', ->
modal = ... | true | React = require 'kd-react'
expect = require 'expect'
globals = require 'globals'
CodeBlock = require './index'
TestUtils = require 'react-addons-test-utils'
describe 'CodeBlock', ->
{ Simulate, renderIntoDocument } = TestUtils
describe '::render', ->
it 'checks rendered modal prop type', ->
modal = ... |
[
{
"context": "// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod",
"end": 163,
"score": 0.9998944997787476,
"start": 153,
"tag": "NAME",
"value": "Ian McEwan"
},
{
"context": " noise functions.\n// Author : Ian ... | shaders/NoiseShader.coffee | anandprabhakar0507/Kosmos | 46 | _common = """precision highp float;
//
// Description : Array and textureless GLSL 2D/3D/4D simplex
// noise functions.
// Author : Ian McEwan, Ashima Arts.
// Maintainer : ijm
// Lastmod : 20110822 (ijm)
// License : Copyright (C) 2011 Ashima Arts. All rights reserved.
// Di... | 167178 | _common = """precision highp float;
//
// Description : Array and textureless GLSL 2D/3D/4D simplex
// noise functions.
// Author : <NAME>, <NAME>.
// Maintainer : ijm
// Lastmod : 20110822 (ijm)
// License : Copyright (C) 2011 <NAME>ima Arts. All rights reserved.
// Distribu... | true | _common = """precision highp float;
//
// Description : Array and textureless GLSL 2D/3D/4D simplex
// noise functions.
// Author : PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI.
// Maintainer : ijm
// Lastmod : 20110822 (ijm)
// License : Copyright (C) 2011 PI:NAME:<NAME>END_PIima Arts. All ... |
[
{
"context": "# Description:\n# Applause from Orson Welles and others\n#\n# Dependencies:\n# None\n#\n# Configu",
"end": 45,
"score": 0.9966522455215454,
"start": 33,
"tag": "NAME",
"value": "Orson Welles"
},
{
"context": "ud|bravo|slow clap) - Get applause\n#\n# Author:\n# jos... | src/scripts/applause.coffee | Reelhouse/hubot-scripts | 2 | # Description:
# Applause from Orson Welles and others
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# (applause|applaud|bravo|slow clap) - Get applause
#
# Author:
# joshfrench
images = [
"http://assets0.ordienetworks.com/images/GifGuide/clapping/Kurtclapping.gif",
"http://assets0.ord... | 101771 | # Description:
# Applause from <NAME> and others
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# (applause|applaud|bravo|slow clap) - Get applause
#
# Author:
# joshfrench
images = [
"http://assets0.ordienetworks.com/images/GifGuide/clapping/Kurtclapping.gif",
"http://assets0.ordienetw... | true | # Description:
# Applause from PI:NAME:<NAME>END_PI and others
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# (applause|applaud|bravo|slow clap) - Get applause
#
# Author:
# joshfrench
images = [
"http://assets0.ordienetworks.com/images/GifGuide/clapping/Kurtclapping.gif",
"http://ass... |
[
{
"context": "', 'Cleric', 'Barbarian', 'Fighter']}\n {name: \"wraith\", statMult: 1.1, slotCost: 1, restrictL",
"end": 601,
"score": 0.8401570320129395,
"start": 595,
"tag": "NAME",
"value": "wraith"
},
{
"context": "1.1, slotCost: 1, restrictLevel: 55}\n {name: \"v... | src/character/spells/misc/Summon.coffee | jawsome/IdleLands | 3 |
Spell = require "../../base/Spell"
Event = require "../../../event/Event"
Equipment = require "../../../item/Equipment"
_ = require "lodash"
requireDir = require "require-dir"
classProtos = requireDir "../../classes"
baseStats = ['Str', 'Dex', 'Con', 'Agi', 'Int', 'Wis', 'Luck']
monsters =
Necromancer: [
{name... | 91977 |
Spell = require "../../base/Spell"
Event = require "../../../event/Event"
Equipment = require "../../../item/Equipment"
_ = require "lodash"
requireDir = require "require-dir"
classProtos = requireDir "../../classes"
baseStats = ['Str', 'Dex', 'Con', 'Agi', 'Int', 'Wis', 'Luck']
monsters =
Necromancer: [
{name... | true |
Spell = require "../../base/Spell"
Event = require "../../../event/Event"
Equipment = require "../../../item/Equipment"
_ = require "lodash"
requireDir = require "require-dir"
classProtos = requireDir "../../classes"
baseStats = ['Str', 'Dex', 'Con', 'Agi', 'Int', 'Wis', 'Luck']
monsters =
Necromancer: [
{name... |
[
{
"context": " </pre>\n \"\"\"\n\n\n tokens: ['CALL_START']\n\n lintToken: (token, tokenApi) ->\n [p",
"end": 785,
"score": 0.7953498959541321,
"start": 775,
"tag": "KEY",
"value": "CALL_START"
}
] | src/rules/missing_parseint_radix.coffee | UziTech/coffeelint | 13 | module.exports = class ParseintRadix
rule:
type: 'problem'
name: 'missing_parseint_radix'
level: 'warn'
message: 'parseInt is missing the radix argument'
description: """
This rule warns about using parseInt without a radix. From the MDN
developers re... | 47493 | module.exports = class ParseintRadix
rule:
type: 'problem'
name: 'missing_parseint_radix'
level: 'warn'
message: 'parseInt is missing the radix argument'
description: """
This rule warns about using parseInt without a radix. From the MDN
developers re... | true | module.exports = class ParseintRadix
rule:
type: 'problem'
name: 'missing_parseint_radix'
level: 'warn'
message: 'parseInt is missing the radix argument'
description: """
This rule warns about using parseInt without a radix. From the MDN
developers re... |
[
{
"context": " localStorage.removeItem key\n\n keys = [\n 'flowhub-avatar'\n 'flowhub-debug'\n 'flowhub-plan'\n ",
"end": 913,
"score": 0.7973220348358154,
"start": 899,
"tag": "KEY",
"value": "flowhub-avatar"
},
{
"context": "m key\n\n keys = [\n 'flowh... | components/LoadUserData.coffee | rishi229225111/noflo-ui | 0 | noflo = require 'noflo'
validate = (items, callback) ->
return callback null, items unless items['flowhub-user']
try
items['flowhub-user'] = JSON.parse items['flowhub-user']
catch e
return callback e
callback null, items
exports.getComponent = ->
c = new noflo.Component
c.inPorts.add 'start',
... | 73241 | noflo = require 'noflo'
validate = (items, callback) ->
return callback null, items unless items['flowhub-user']
try
items['flowhub-user'] = JSON.parse items['flowhub-user']
catch e
return callback e
callback null, items
exports.getComponent = ->
c = new noflo.Component
c.inPorts.add 'start',
... | true | noflo = require 'noflo'
validate = (items, callback) ->
return callback null, items unless items['flowhub-user']
try
items['flowhub-user'] = JSON.parse items['flowhub-user']
catch e
return callback e
callback null, items
exports.getComponent = ->
c = new noflo.Component
c.inPorts.add 'start',
... |
[
{
"context": "*\n# JSMapView - GoogleMaps manage class\n# Coded by kouichi.sakazaki 2013.10.03\n#*************************************",
"end": 108,
"score": 0.9983095526695251,
"start": 92,
"tag": "NAME",
"value": "kouichi.sakazaki"
}
] | JSKit/frameworks/JSMapKit.framework/JSMapView.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSMapView - GoogleMaps manage class
# Coded by kouichi.sakazaki 2013.10.03
#*****************************************
class JSMapView extends JSView
constructor: (frame)->
super(frame)
@delegate = @_self
@_map = undefined
@mapOptions =
center: new g... | 5472 | #*****************************************
# JSMapView - GoogleMaps manage class
# Coded by <NAME> 2013.10.03
#*****************************************
class JSMapView extends JSView
constructor: (frame)->
super(frame)
@delegate = @_self
@_map = undefined
@mapOptions =
center: new google.maps... | true | #*****************************************
# JSMapView - GoogleMaps manage class
# Coded by PI:NAME:<NAME>END_PI 2013.10.03
#*****************************************
class JSMapView extends JSView
constructor: (frame)->
super(frame)
@delegate = @_self
@_map = undefined
@mapOptions =
center: n... |
[
{
"context": "r the iTunes link to Single Ladies\n#\n# Author:\n# Jon Rohan <yes@jonrohan.codes>\n\nmodule.exports = (robot) ->",
"end": 183,
"score": 0.9998666048049927,
"start": 174,
"tag": "NAME",
"value": "Jon Rohan"
},
{
"context": " link to Single Ladies\n#\n# Author:\n# Jo... | src/itunes-search.coffee | swipswaps/hubot-itunes-search | 0 | # Description
# Search iTunes for music, and return previews
#
# Commands:
# hubot music single ladies - will search for the iTunes link to Single Ladies
#
# Author:
# Jon Rohan <yes@jonrohan.codes>
module.exports = (robot) ->
robot.respond /music( me)? (.+)/i, (msg) ->
query = msg.match[2]
country = ... | 50402 | # Description
# Search iTunes for music, and return previews
#
# Commands:
# hubot music single ladies - will search for the iTunes link to Single Ladies
#
# Author:
# <NAME> <<EMAIL>>
module.exports = (robot) ->
robot.respond /music( me)? (.+)/i, (msg) ->
query = msg.match[2]
country = process.env.HU... | true | # Description
# Search iTunes for music, and return previews
#
# Commands:
# hubot music single ladies - will search for the iTunes link to Single Ladies
#
# Author:
# PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
module.exports = (robot) ->
robot.respond /music( me)? (.+)/i, (msg) ->
query = msg.match[2]... |
[
{
"context": "#\n# Project's main unit\n#\n# Copyright (C) 2013 Nikolay Nemshilov\n#\n\nshow = ->\n element = document.creat",
"end": 64,
"score": 0.9998774528503418,
"start": 47,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | E002/hello-ie/src/hello_ie.coffee | lovely-io/lovely.io-show | 1 | #
# Project's main unit
#
# Copyright (C) 2013 Nikolay Nemshilov
#
show = ->
element = document.createElement('div')
element.id = 'hello-ie'
element.innerHTML = """
<div class="locker"></div>
<div class="dialog">
<h1>Warning!</h1>
<a href="#" onclick="Lovely.module('hello-ie'... | 70700 | #
# Project's main unit
#
# Copyright (C) 2013 <NAME>
#
show = ->
element = document.createElement('div')
element.id = 'hello-ie'
element.innerHTML = """
<div class="locker"></div>
<div class="dialog">
<h1>Warning!</h1>
<a href="#" onclick="Lovely.module('hello-ie').hide(); r... | true | #
# Project's main unit
#
# Copyright (C) 2013 PI:NAME:<NAME>END_PI
#
show = ->
element = document.createElement('div')
element.id = 'hello-ie'
element.innerHTML = """
<div class="locker"></div>
<div class="dialog">
<h1>Warning!</h1>
<a href="#" onclick="Lovely.module('hello-... |
[
{
"context": "### ^\nBSD 3-Clause License\n\nCopyright (c) 2017, Stephan Jorek\nAll rights reserved.\n\nRedistribution and use in s",
"end": 61,
"score": 0.9998389482498169,
"start": 48,
"tag": "NAME",
"value": "Stephan Jorek"
}
] | src/Repl.coffee | sjorek/goatee-script.js | 0 | ### ^
BSD 3-Clause License
Copyright (c) 2017, Stephan Jorek
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of cond... | 94319 | ### ^
BSD 3-Clause License
Copyright (c) 2017, <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions ... | true | ### ^
BSD 3-Clause License
Copyright (c) 2017, PI:NAME:<NAME>END_PI
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list ... |
[
{
"context": "# times - times loop for your coffee.\n#\n# Author: Veselin Todorov <hi@vesln.com>\n# Licensed under the MIT License.\n",
"end": 65,
"score": 0.9998748302459717,
"start": 50,
"tag": "NAME",
"value": "Veselin Todorov"
},
{
"context": "oop for your coffee.\n#\n# Author: V... | src/times.coffee | vesln/times | 1 | # times - times loop for your coffee.
#
# Author: Veselin Todorov <hi@vesln.com>
# Licensed under the MIT License.
# Dependencies.
package = require('package')(module)
# Simple forEach proxy
times = (number, cb) ->
collection = []
[1..number].forEach (el, index, array) ->
if 'function' != typeof cb
coll... | 130570 | # times - times loop for your coffee.
#
# Author: <NAME> <<EMAIL>>
# Licensed under the MIT License.
# Dependencies.
package = require('package')(module)
# Simple forEach proxy
times = (number, cb) ->
collection = []
[1..number].forEach (el, index, array) ->
if 'function' != typeof cb
collection.push cb... | true | # times - times loop for your coffee.
#
# Author: PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
# Licensed under the MIT License.
# Dependencies.
package = require('package')(module)
# Simple forEach proxy
times = (number, cb) ->
collection = []
[1..number].forEach (el, index, array) ->
if 'function' != typeo... |
[
{
"context": "##\n##\n## Forked from Jeff Mott's CryptoJS\n##\n## https://code.google.com/p/cryp",
"end": 30,
"score": 0.9998688697814941,
"start": 21,
"tag": "NAME",
"value": "Jeff Mott"
},
{
"context": " update : (lo,hi) =>\n for i in [lo...hi] by @bsiw\n @encrypt... | src/algbase.iced | CyberFlameGO/triplesec | 274 | ##
##
## Forked from Jeff Mott's CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray} = require './wordarray'
util = require './util'
#=======================================================================
#
# Abstract buffered block algorithm template.
#
# The property blockSize must be implemented... | 195234 | ##
##
## Forked from <NAME>'s CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray} = require './wordarray'
util = require './util'
#=======================================================================
#
# Abstract buffered block algorithm template.
#
# The property blockSize must be implemented in... | true | ##
##
## Forked from PI:NAME:<NAME>END_PI's CryptoJS
##
## https://code.google.com/p/crypto-js/
##
{WordArray} = require './wordarray'
util = require './util'
#=======================================================================
#
# Abstract buffered block algorithm template.
#
# The property blockSize must be ... |
[
{
"context": "###\nCopyright (c) 2014 Ramesh Nair (hiddentao.com)\n\nPermission is hereby granted, fr",
"end": 34,
"score": 0.9998819231987,
"start": 23,
"tag": "NAME",
"value": "Ramesh Nair"
},
{
"context": "es: [2014, '\"feb\"'] }, @inst.toParam()\n\n 'fix for hiddentao/squel#63':... | test/update.test.coffee | nlang/squel-hdb | 0 | ###
Copyright (c) 2014 Ramesh Nair (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish... | 94895 | ###
Copyright (c) 2014 <NAME> (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, dis... | true | ###
Copyright (c) 2014 PI:NAME:<NAME>END_PI (hiddentao.com)
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge... |
[
{
"context": "f422-62db-42dc-b1ce-37ca3393710f',\n 'name': 'Magus Repository',\n 'label': 'live',\n 'uri': 'http://arc",
"end": 1730,
"score": 0.8048432469367981,
"start": 1714,
"tag": "NAME",
"value": "Magus Repository"
},
{
"context": "f422-62db-42dc-b1ce-37ca3393710... | test/spec/controllers/main.coffee | TelekomCloud/postrider | 0 | 'use strict'
describe 'Controller: MainCtrl', ()->
# load the required module
beforeEach(angular.mock.module('restangular'))
# load the controller's module
beforeEach(module('postriderApp'))
# Initialize the controller and a mock scope
beforeEach( inject( ($injector, $controller, $rootScope) ->
scop... | 156765 | 'use strict'
describe 'Controller: MainCtrl', ()->
# load the required module
beforeEach(angular.mock.module('restangular'))
# load the controller's module
beforeEach(module('postriderApp'))
# Initialize the controller and a mock scope
beforeEach( inject( ($injector, $controller, $rootScope) ->
scop... | true | 'use strict'
describe 'Controller: MainCtrl', ()->
# load the required module
beforeEach(angular.mock.module('restangular'))
# load the controller's module
beforeEach(module('postriderApp'))
# Initialize the controller and a mock scope
beforeEach( inject( ($injector, $controller, $rootScope) ->
scop... |
[
{
"context": "# Copyright Joyent, Inc. and other Node contributors.\n#\n# Permission",
"end": 18,
"score": 0.9985572695732117,
"start": 12,
"tag": "NAME",
"value": "Joyent"
}
] | test/simple/test-http-expect-continue.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... | 57481 | # 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": "s.ProductHunt extends Columns.FeedColumn\n name: \"ProductHunt\"\n thumb: \"img/column-producthunt.png\"\n element:",
"end": 73,
"score": 0.6513082385063171,
"start": 62,
"tag": "NAME",
"value": "ProductHunt"
},
{
"context": "9480c4eefbeb981d56f310d\",\n clien... | src/columns/producthunt/ProductHunt.coffee | jariz/hackertab | 548 | class Columns.ProductHunt extends Columns.FeedColumn
name: "ProductHunt"
thumb: "img/column-producthunt.png"
element: "ph-item"
dataPath: "posts"
link: "https://www.producthunt.com"
dialog: "ph-dialog"
width: 1
attemptAdd: (successCallback) ->
chrome.permissions.request
origins: ['https://api... | 110109 | class Columns.ProductHunt extends Columns.FeedColumn
name: "<NAME>"
thumb: "img/column-producthunt.png"
element: "ph-item"
dataPath: "posts"
link: "https://www.producthunt.com"
dialog: "ph-dialog"
width: 1
attemptAdd: (successCallback) ->
chrome.permissions.request
origins: ['https://api.prod... | true | class Columns.ProductHunt extends Columns.FeedColumn
name: "PI:NAME:<NAME>END_PI"
thumb: "img/column-producthunt.png"
element: "ph-item"
dataPath: "posts"
link: "https://www.producthunt.com"
dialog: "ph-dialog"
width: 1
attemptAdd: (successCallback) ->
chrome.permissions.request
origins: ['ht... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998459815979004,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/nucleus/ktools.coffee | ts33kr/granite | 6 | ###
Copyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of co... | 39764 | ###
Copyright (c) 2013, <NAME> <<EMAIL>>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the foll... | true | ###
Copyright (c) 2013, PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
li... |
[
{
"context": "exports.certs = \n \"api.keybase.io\" : \"\"\"-----BEGIN CERTIFICATE-----\nMIIGmzCCBIOgAwIBAgIJAPzhpcIBaOeNMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYD\nVQQGEwJVUzELMAkGA1UECBMCTlkxETAPBgNVBAcTCE5ldyBZb3JrMRQwEgYDVQQK\nEwtLZXliYXNlIExMQzEXMBUGA1UECxMOQ2VydCBBdXRob3JpdHkxEzARBgNVBAMT\nCmtleWJhc2UuaW8xHDAaBgkq... | src/ca.iced | AngelKey/Angelkey.nodeclient | 151 | exports.certs =
"api.keybase.io" : """-----BEGIN CERTIFICATE-----
MIIGmzCCBIOgAwIBAgIJAPzhpcIBaOeNMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYD
VQQGEwJVUzELMAkGA1UECBMCTlkxETAPBgNVBAcTCE5ldyBZb3JrMRQwEgYDVQQK
EwtLZXliYXNlIExMQzEXMBUGA1UECxMOQ2VydCBBdXRob3JpdHkxEzARBgNVBAMT
CmtleWJhc2UuaW8xHDAaBgkqhkiG9w0BCQEWDWNhQGtleWJhc2UuaW8w... | 163208 | exports.certs =
"api.keybase.io" : """-----<KEY>
<KEY>
-----END CERTIFICATE-----
"""
| true | exports.certs =
"api.keybase.io" : """-----PI:KEY:<KEY>END_PI
PI:KEY:<KEY>END_PI
-----END CERTIFICATE-----
"""
|
[
{
"context": ".user =\n username : null\n password : null\n\n # ========================================",
"end": 757,
"score": 0.996767520904541,
"start": 753,
"tag": "PASSWORD",
"value": "null"
}
] | Projects/Mobile/Ionic Project/src/coffee/controllers/general/login/login-controller.coffee | carloshpds/MyOmakase | 0 | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'IonicProjectModelApp'
# =============================================
# LoginController
# =============================================
.controller 'LoginController', ['$scope'... | 191870 | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'IonicProjectModelApp'
# =============================================
# LoginController
# =============================================
.controller 'LoginController', ['$scope'... | true | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'IonicProjectModelApp'
# =============================================
# LoginController
# =============================================
.controller 'LoginController', ['$scope'... |
[
{
"context": "watchers = {\n \"besu\": {\n channel: \"besu-contributors\"\n regexes:",
"end": 20,
"score": 0.6946786642074585,
"start": 16,
"tag": "USERNAME",
"value": "besu"
},
{
"context": "No channels care about this build'\n\n brainKey = \"#{CIRCLE_NOTIFICATION_PREFIX}-... | scripts/circle-ci-notifications.coffee | shemnon/hyperledger-rocket-chat-hubot | 0 | watchers = {
"besu": {
channel: "besu-contributors"
regexes: [
/master/
/release-.*/
]
}
}
CIRCLE_NOTIFICATION_PREFIX = 'circle-ci-notify'
module.exports = (robot) ->
robot.router.post '/hubot/circleci', (req, res) ->
payload = req.body.payload
branch = payload.branch.toLowerCase... | 179542 | watchers = {
"besu": {
channel: "besu-contributors"
regexes: [
/master/
/release-.*/
]
}
}
CIRCLE_NOTIFICATION_PREFIX = 'circle-ci-notify'
module.exports = (robot) ->
robot.router.post '/hubot/circleci', (req, res) ->
payload = req.body.payload
branch = payload.branch.toLowerCase... | true | watchers = {
"besu": {
channel: "besu-contributors"
regexes: [
/master/
/release-.*/
]
}
}
CIRCLE_NOTIFICATION_PREFIX = 'circle-ci-notify'
module.exports = (robot) ->
robot.router.post '/hubot/circleci', (req, res) ->
payload = req.body.payload
branch = payload.branch.toLowerCase... |
[
{
"context": "lly installed packages\n#\n# Copyright (C) 2011-2012 Nikolay Nemshilov\n#\n\n#\n# Reads a file content in the current direct",
"end": 92,
"score": 0.9998883008956909,
"start": 75,
"tag": "NAME",
"value": "Nikolay Nemshilov"
}
] | cli/commands/publish.coffee | lovely-io/lovely.io-stl | 2 | #
# Updates all the locally installed packages
#
# Copyright (C) 2011-2012 Nikolay Nemshilov
#
#
# Reads a file content in the current directory
#
# @param {String} filename
# @return {String} file content
#
read = (filename)->
fs = require('fs')
filename = process.cwd() + "/" + filename
if fs.existsSync(... | 22050 | #
# Updates all the locally installed packages
#
# Copyright (C) 2011-2012 <NAME>
#
#
# Reads a file content in the current directory
#
# @param {String} filename
# @return {String} file content
#
read = (filename)->
fs = require('fs')
filename = process.cwd() + "/" + filename
if fs.existsSync(filename)
... | true | #
# Updates all the locally installed packages
#
# Copyright (C) 2011-2012 PI:NAME:<NAME>END_PI
#
#
# Reads a file content in the current directory
#
# @param {String} filename
# @return {String} file content
#
read = (filename)->
fs = require('fs')
filename = process.cwd() + "/" + filename
if fs.existsSy... |
[
{
"context": "#{@get('id')}\")\n .set('X-Xapp-Token': artsyXapp)\n .end (err, res) ->\n if err\n",
"end": 2127,
"score": 0.6451995372772217,
"start": 2121,
"tag": "PASSWORD",
"value": "syXapp"
},
{
"context": "#{@get('id')}\")\n .set('X-Xapp-Toke... | src/client/models/channel.coffee | craigspaeth/positron | 0 | _ = require 'underscore'
Backbone = require 'backbone'
sd = require('sharify').data
async = require 'async'
request = require 'superagent'
artsyXapp = require('artsy-xapp').token or ''
module.exports = class Channel extends Backbone.Model
urlRoot: "#{sd.API_URL}/channels"
isTeam: ->
@get('type') is 'team'
... | 32097 | _ = require 'underscore'
Backbone = require 'backbone'
sd = require('sharify').data
async = require 'async'
request = require 'superagent'
artsyXapp = require('artsy-xapp').token or ''
module.exports = class Channel extends Backbone.Model
urlRoot: "#{sd.API_URL}/channels"
isTeam: ->
@get('type') is 'team'
... | true | _ = require 'underscore'
Backbone = require 'backbone'
sd = require('sharify').data
async = require 'async'
request = require 'superagent'
artsyXapp = require('artsy-xapp').token or ''
module.exports = class Channel extends Backbone.Model
urlRoot: "#{sd.API_URL}/channels"
isTeam: ->
@get('type') is 'team'
... |
[
{
"context": "gin()\n data =\n email:form.email\n pwd:form.pwd\n console.debug 'making request', data\n axio",
"end": 580,
"score": 0.8235343098640442,
"start": 572,
"tag": "PASSWORD",
"value": "form.pwd"
}
] | v2/goalnet/front/browser_ext/src/popup/login/login.coffee | DaniloZZZ/GoalNet | 0 | import React, { Component } from 'react'
import L from 'react-dom-factories'
#import {Label} from '@smooth-ui/core-sc'
import { Form, Field } from 'react-final-form'
import axios from 'axios'
#import {debug_login} from '../../Utils/sessions.coffee'
L_ = React.createElement
import './login.less'
host = 'lykov.tech:8080... | 131914 | import React, { Component } from 'react'
import L from 'react-dom-factories'
#import {Label} from '@smooth-ui/core-sc'
import { Form, Field } from 'react-final-form'
import axios from 'axios'
#import {debug_login} from '../../Utils/sessions.coffee'
L_ = React.createElement
import './login.less'
host = 'lykov.tech:8080... | true | import React, { Component } from 'react'
import L from 'react-dom-factories'
#import {Label} from '@smooth-ui/core-sc'
import { Form, Field } from 'react-final-form'
import axios from 'axios'
#import {debug_login} from '../../Utils/sessions.coffee'
L_ = React.createElement
import './login.less'
host = 'lykov.tech:8080... |
[
{
"context": "equest Body example:\n {\n 'users':[ {'email': 'user1@user1.com',\n 'name': 'user1',\n ",
"end": 2492,
"score": 0.9998387694358826,
"start": 2477,
"tag": "EMAIL",
"value": "user1@user1.com"
},
{
"context": "mail': 'user1@user1.com',\n ... | server/restapi/restapi.coffee | sunboy/rchat | 0 | Api = new Restivus
useDefaultAuth: true
prettyJson: true
Api.addRoute 'version', authRequired: false,
get: ->
version = {api: '0.1', rocketchat: '0.5'}
status: 'success', versions: version
Api.addRoute 'publicRooms', authRequired: true,
get: ->
rooms = ChatRoom.find({ t: 'c' }, { sort: { msgs:-1 } }).fetc... | 121895 | Api = new Restivus
useDefaultAuth: true
prettyJson: true
Api.addRoute 'version', authRequired: false,
get: ->
version = {api: '0.1', rocketchat: '0.5'}
status: 'success', versions: version
Api.addRoute 'publicRooms', authRequired: true,
get: ->
rooms = ChatRoom.find({ t: 'c' }, { sort: { msgs:-1 } }).fetc... | true | Api = new Restivus
useDefaultAuth: true
prettyJson: true
Api.addRoute 'version', authRequired: false,
get: ->
version = {api: '0.1', rocketchat: '0.5'}
status: 'success', versions: version
Api.addRoute 'publicRooms', authRequired: true,
get: ->
rooms = ChatRoom.find({ t: 'c' }, { sort: { msgs:-1 } }).fetc... |
[
{
"context": "eCode] = {\n githubURL: \"https://github.com/codecombat/codecombat/blob/master/app/locale/#{languageCode}",
"end": 595,
"score": 0.9808774590492249,
"start": 585,
"tag": "USERNAME",
"value": "codecombat"
},
{
"context": "UK)\n ru: ['EagleTA', 'ImmortalJoker', ... | app/views/contribute/DiplomatView.coffee | michaelrn/codecombat | 5 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/diplomat'
{me} = require 'core/auth'
locale = require 'locale/locale'
module.exports = class DiplomatView extends ContributeClassView
id: 'diplomat-view'
template: template
initialize: ->
@contributorClassName = '... | 198146 | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/diplomat'
{me} = require 'core/auth'
locale = require 'locale/locale'
module.exports = class DiplomatView extends ContributeClassView
id: 'diplomat-view'
template: template
initialize: ->
@contributorClassName = '... | true | ContributeClassView = require './ContributeClassView'
template = require 'templates/contribute/diplomat'
{me} = require 'core/auth'
locale = require 'locale/locale'
module.exports = class DiplomatView extends ContributeClassView
id: 'diplomat-view'
template: template
initialize: ->
@contributorClassName = '... |
[
{
"context": "b, \"main\"\n username=process.argv[1]\n passphrase=process.argv[2]\n await login { username, email, passphrase },",
"end": 348,
"score": 0.725903332233429,
"start": 336,
"tag": "PASSWORD",
"value": "process.argv"
}
] | src/cmd.iced | pchara20/keybase-login_arg | 0 | read = require 'read'
{login} = require '../'
{make_esc} = require 'iced-error'
parse_email_or_username = (email_or_username) ->
if email_or_username.indexOf('@') > 0 then { email : email_or_username }
else { username : email_or_username }
exports.cmd = (cb) ->
esc = make_esc cb, "main"
username=process.argv[... | 42949 | read = require 'read'
{login} = require '../'
{make_esc} = require 'iced-error'
parse_email_or_username = (email_or_username) ->
if email_or_username.indexOf('@') > 0 then { email : email_or_username }
else { username : email_or_username }
exports.cmd = (cb) ->
esc = make_esc cb, "main"
username=process.argv[... | true | read = require 'read'
{login} = require '../'
{make_esc} = require 'iced-error'
parse_email_or_username = (email_or_username) ->
if email_or_username.indexOf('@') > 0 then { email : email_or_username }
else { username : email_or_username }
exports.cmd = (cb) ->
esc = make_esc cb, "main"
username=process.argv[... |
[
{
"context": "age that captures that emotion.\n# \n# Author:\n# missu \n\nmodule.exports = (robot) ->\n robot.hear /(.*) ",
"end": 283,
"score": 0.9843725562095642,
"start": 278,
"tag": "NAME",
"value": "missu"
}
] | scripts/panda-panda.coffee | missu/hubot-pandapanda | 3 | # Description
# listens for panda related trigger words and responds
#
# Dependencies:
# none
#
# Commands:
# sad panda, angry panda, frustrated panda, happy panda, hungry panda, kungfu panda - hubot will reply with an image that captures that emotion.
#
# Author:
# missu
module.exports = (robot) ->
robo... | 155041 | # Description
# listens for panda related trigger words and responds
#
# Dependencies:
# none
#
# Commands:
# sad panda, angry panda, frustrated panda, happy panda, hungry panda, kungfu panda - hubot will reply with an image that captures that emotion.
#
# Author:
# <NAME>
module.exports = (robot) ->
rob... | true | # Description
# listens for panda related trigger words and responds
#
# Dependencies:
# none
#
# Commands:
# sad panda, angry panda, frustrated panda, happy panda, hungry panda, kungfu panda - hubot will reply with an image that captures that emotion.
#
# Author:
# PI:NAME:<NAME>END_PI
module.exports = (r... |
[
{
"context": "rteilung elektrischer Energie},\n author={Schwab, A.J.},\n isbn={9783662553169},\n url={ht",
"end": 1229,
"score": 0.999850869178772,
"start": 1218,
"tag": "NAME",
"value": "Schwab, A.J"
},
{
"context": "rteilung elektrischer Energie},\n ... | spec/cite-manager-spec.coffee | smparker/atom-autocomplete-latex-cite | 4 | CiteManager = require '../lib/cite-manager'
path = require 'path'
fs = require 'fs-extra'
os = require 'os'
describe "When the CiteManger gets initialized", ->
manager = null
beforeEach ->
atom.project.setPaths([__dirname])
manager = new CiteManager()
waitsForPromise ->
manager.initialize()
i... | 93882 | CiteManager = require '../lib/cite-manager'
path = require 'path'
fs = require 'fs-extra'
os = require 'os'
describe "When the CiteManger gets initialized", ->
manager = null
beforeEach ->
atom.project.setPaths([__dirname])
manager = new CiteManager()
waitsForPromise ->
manager.initialize()
i... | true | CiteManager = require '../lib/cite-manager'
path = require 'path'
fs = require 'fs-extra'
os = require 'os'
describe "When the CiteManger gets initialized", ->
manager = null
beforeEach ->
atom.project.setPaths([__dirname])
manager = new CiteManager()
waitsForPromise ->
manager.initialize()
i... |
[
{
"context": " window.ini = new AppLauncherParser 'C:\\\\Users\\\\Tim\\\\Documents\\\\Rainmeter\\\\Skins\\\\SysTracker\\\\App Lau",
"end": 745,
"score": 0.999152421951294,
"start": 742,
"tag": "NAME",
"value": "Tim"
}
] | app/scripts/Main.coffee | kaiyote/rainmeter_launcher_config | 1 | MainCtrl =
view: (ctrl) -> [
m '.ctrlbar', [
m '.title', 'Config Launcher'
m '.close',
onclick: -> do ctrl.close
, 'x'
]
m '.tabs', [
m 'a.tab',
href: '#/add'
class: ctrl.isActive '/add'
, 'Add'
m 'a.tab',
href: '#/edit'
class: ct... | 126855 | MainCtrl =
view: (ctrl) -> [
m '.ctrlbar', [
m '.title', 'Config Launcher'
m '.close',
onclick: -> do ctrl.close
, 'x'
]
m '.tabs', [
m 'a.tab',
href: '#/add'
class: ctrl.isActive '/add'
, 'Add'
m 'a.tab',
href: '#/edit'
class: ct... | true | MainCtrl =
view: (ctrl) -> [
m '.ctrlbar', [
m '.title', 'Config Launcher'
m '.close',
onclick: -> do ctrl.close
, 'x'
]
m '.tabs', [
m 'a.tab',
href: '#/add'
class: ctrl.isActive '/add'
, 'Add'
m 'a.tab',
href: '#/edit'
class: ct... |
[
{
"context": " /email/i.test(it.attr('name'))\n action: -> \"fill@llthethings.org\"\n ,\n test: (it) -> it.is('[type=\"tel\"]') ",
"end": 772,
"score": 0.9999261498451233,
"start": 752,
"tag": "EMAIL",
"value": "fill@llthethings.org"
}
] | src/fill-all-the-things.coffee | searls/fill-all-the-things | 10 | ###
fill-all-the-things @@VERSION@@
Fills out forms with dummy data
site: https://searls.github.com/fill-all-the-things
@depend ../vendor/jquery-no-conflict.js
@depend ../vendor/underscore-no-conflict.js
###
f = window.FillAllTheThings ||= {}
( ($,_) ->
types = [
test: (it) -> it.is(':checkbox,:radio')
... | 163659 | ###
fill-all-the-things @@VERSION@@
Fills out forms with dummy data
site: https://searls.github.com/fill-all-the-things
@depend ../vendor/jquery-no-conflict.js
@depend ../vendor/underscore-no-conflict.js
###
f = window.FillAllTheThings ||= {}
( ($,_) ->
types = [
test: (it) -> it.is(':checkbox,:radio')
... | true | ###
fill-all-the-things @@VERSION@@
Fills out forms with dummy data
site: https://searls.github.com/fill-all-the-things
@depend ../vendor/jquery-no-conflict.js
@depend ../vendor/underscore-no-conflict.js
###
f = window.FillAllTheThings ||= {}
( ($,_) ->
types = [
test: (it) -> it.is(':checkbox,:radio')
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.