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": "るとエラー\", ->\n process.env.REDIS_URL = 'redis://127.0.0.1:6379'\n process.env.SALESFORCE_CLIENT_ID = 'A",
"end": 1039,
"score": 0.999587893486023,
"start": 1030,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "AA'\n process.env.SALESFORCE_CLIENT... | test/index.coffee | co-meeting/botdock-helper | 0 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
BotDockHelper = require '../src/index'
fixture = require './fixture'
jsforce = require 'jsforce'
describe "botdock-helper", ->
beforeEach ->
# join時のレスポンス
@JOIN_RESPONSE = fixture.join... | 152084 | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
BotDockHelper = require '../src/index'
fixture = require './fixture'
jsforce = require 'jsforce'
describe "botdock-helper", ->
beforeEach ->
# join時のレスポンス
@JOIN_RESPONSE = fixture.join... | true | chai = require 'chai'
sinon = require 'sinon'
sinonChai = require 'sinon-chai'
expect = chai.expect
chai.use sinonChai
BotDockHelper = require '../src/index'
fixture = require './fixture'
jsforce = require 'jsforce'
describe "botdock-helper", ->
beforeEach ->
# join時のレスポンス
@JOIN_RESPONSE = fixture.join... |
[
{
"context": " \"tmp_gpg.trustdb\"\n keys :\n merkle : [\n \"03E146CDAF8136680AD566912A32340CEC8C9492\"\n ]\n testing_keys :\n # for testing purpose",
"end": 739,
"score": 0.9922549724578857,
"start": 699,
"tag": "KEY",
"value": "03E146CDAF8136680AD566912A32340CEC8C9492"
},... | src/constants.iced | substack/keybase-client | 1 |
exports.constants = constants =
version : 1
api_version : "1.0"
canonical_host : "keybase.io"
client_name : "keybase.io node.js client"
user_agent :
main : "Keybase-CLI"
details : "#{process.platform}; node.js #{process.versions.node}"
server :
host : "api.keybase.io"
port : 443
no_tls ... | 152668 |
exports.constants = constants =
version : 1
api_version : "1.0"
canonical_host : "keybase.io"
client_name : "keybase.io node.js client"
user_agent :
main : "Keybase-CLI"
details : "#{process.platform}; node.js #{process.versions.node}"
server :
host : "api.keybase.io"
port : 443
no_tls ... | true |
exports.constants = constants =
version : 1
api_version : "1.0"
canonical_host : "keybase.io"
client_name : "keybase.io node.js client"
user_agent :
main : "Keybase-CLI"
details : "#{process.platform}; node.js #{process.versions.node}"
server :
host : "api.keybase.io"
port : 443
no_tls ... |
[
{
"context": "s\n if c.id == id\n c.name = name\n equal = true\n break\n ",
"end": 1933,
"score": 0.9910433292388916,
"start": 1929,
"tag": "NAME",
"value": "name"
},
{
"context": "ses.push(\n id: id\n name:... | src/coffee/moodle.coffee | regisfaria/original-dashboard | 0 | ###
# moodle: moodle data
###
class Moodle
constructor: (options) ->
if options
options = @parse(options) if typeof options == 'string' && options.length
for key, value of options
@[key] = value
console.log('Moodle:', @)
syncTitle: (response) ->
$.ajax(
url: @url
success... | 88481 | ###
# moodle: moodle data
###
class Moodle
constructor: (options) ->
if options
options = @parse(options) if typeof options == 'string' && options.length
for key, value of options
@[key] = value
console.log('Moodle:', @)
syncTitle: (response) ->
$.ajax(
url: @url
success... | true | ###
# moodle: moodle data
###
class Moodle
constructor: (options) ->
if options
options = @parse(options) if typeof options == 'string' && options.length
for key, value of options
@[key] = value
console.log('Moodle:', @)
syncTitle: (response) ->
$.ajax(
url: @url
success... |
[
{
"context": "rap: true\n \"exception-reporting\":\n userId: \"ff26a91b-7a0f-442f-bb67-1e3ac881f968\"\n \"linter-ui-default\":\n panelHeight: 81\n \"tr",
"end": 450,
"score": 0.5744253396987915,
"start": 416,
"tag": "PASSWORD",
"value": "26a91b-7a0f-442f-bb67-1e3ac881f968"
}
] | atom/config.cson | rashedInt32/dotfiles | 0 | "*":
"autocomplete-python":
useKite: false
core:
disabledPackages: [
"autocomplete-paths"
"rainbow-tree"
]
telemetryConsent: "no"
themes: [
"atom-material-ui"
"one-dark-syntax"
]
editor:
fontFamily: "Dank Mono"
fontSize: 17
scrollPastEnd: true
showLi... | 107303 | "*":
"autocomplete-python":
useKite: false
core:
disabledPackages: [
"autocomplete-paths"
"rainbow-tree"
]
telemetryConsent: "no"
themes: [
"atom-material-ui"
"one-dark-syntax"
]
editor:
fontFamily: "Dank Mono"
fontSize: 17
scrollPastEnd: true
showLi... | true | "*":
"autocomplete-python":
useKite: false
core:
disabledPackages: [
"autocomplete-paths"
"rainbow-tree"
]
telemetryConsent: "no"
themes: [
"atom-material-ui"
"one-dark-syntax"
]
editor:
fontFamily: "Dank Mono"
fontSize: 17
scrollPastEnd: true
showLi... |
[
{
"context": "# @Author: Grégoire Puget <gregoirepuget>\n# @Date: 2017-02-10T11:04:04+01",
"end": 25,
"score": 0.9998684525489807,
"start": 11,
"tag": "NAME",
"value": "Grégoire Puget"
},
{
"context": "# @Author: Grégoire Puget <gregoirepuget>\n# @Date: 2017-02-10T11:04:04+01:00\... | snippets/snippets.cson | gregoirepuget/36pixelspackage | 0 | # @Author: Grégoire Puget <gregoirepuget>
# @Date: 2017-02-10T11:04:04+01:00
# @Email: gregoire@36pixels.fr
# @Project: firstpixel
# @Filename: snippets.cson
# @Last modified by: gregoirepuget
# @Last modified time: 2017-10-05T01:35:53+02:00
# @Copyright: All rights reserved 36 Pixels
# Your snippets
#
# Atom s... | 182875 | # @Author: <NAME> <gregoirepuget>
# @Date: 2017-02-10T11:04:04+01:00
# @Email: <EMAIL>
# @Project: firstpixel
# @Filename: snippets.cson
# @Last modified by: gregoirepuget
# @Last modified time: 2017-10-05T01:35:53+02:00
# @Copyright: All rights reserved 36 Pixels
# Your snippets
#
# Atom snippets allow you to ... | true | # @Author: PI:NAME:<NAME>END_PI <gregoirepuget>
# @Date: 2017-02-10T11:04:04+01:00
# @Email: PI:EMAIL:<EMAIL>END_PI
# @Project: firstpixel
# @Filename: snippets.cson
# @Last modified by: gregoirepuget
# @Last modified time: 2017-10-05T01:35:53+02:00
# @Copyright: All rights reserved 36 Pixels
# Your snippets
#
... |
[
{
"context": "Test', (t) =>\n await t\n .typeText(nameInput, 'Peter')\n .typeText(nameInput, 'Paker', { replace: tr",
"end": 232,
"score": 0.9995134472846985,
"start": 227,
"tag": "NAME",
"value": "Peter"
},
{
"context": "ext(nameInput, 'Peter')\n .typeText(nameInput, 'Pake... | test/fixture8.coffee | 1600133971/testcafe-template | 0 | import { Selector } from 'testcafe'
config = require('../config.json');
fixture `CoffeeScript Example`
.page `${config.url}`
nameInput = Selector '#developer-name'
test 'Test', (t) =>
await t
.typeText(nameInput, 'Peter')
.typeText(nameInput, 'Paker', { replace: true })
.typeText(nameInput, 'r', { ... | 179950 | import { Selector } from 'testcafe'
config = require('../config.json');
fixture `CoffeeScript Example`
.page `${config.url}`
nameInput = Selector '#developer-name'
test 'Test', (t) =>
await t
.typeText(nameInput, '<NAME>')
.typeText(nameInput, '<NAME>', { replace: true })
.typeText(nameInput, 'r', ... | true | import { Selector } from 'testcafe'
config = require('../config.json');
fixture `CoffeeScript Example`
.page `${config.url}`
nameInput = Selector '#developer-name'
test 'Test', (t) =>
await t
.typeText(nameInput, 'PI:NAME:<NAME>END_PI')
.typeText(nameInput, 'PI:NAME:<NAME>END_PI', { replace: true })
... |
[
{
"context": "###\n Author Nick McCready\n Intersection of Objects if the arrays have so",
"end": 28,
"score": 0.9997189044952393,
"start": 15,
"tag": "NAME",
"value": "Nick McCready"
}
] | bower_components/angular-google-maps-init/src/coffee/extensions/lodash.coffee | aditioan/naturapass | 2 | ###
Author Nick McCready
Intersection of Objects if the arrays have something in common each intersecting object will be returned
in an new array.
###
_.intersectionObjects = (array1, array2, comparison = undefined) ->
res = _.map array1, (obj1) =>
_.find array2, (obj2) =>
if compari... | 115231 | ###
Author <NAME>
Intersection of Objects if the arrays have something in common each intersecting object will be returned
in an new array.
###
_.intersectionObjects = (array1, array2, comparison = undefined) ->
res = _.map array1, (obj1) =>
_.find array2, (obj2) =>
if comparison?
... | true | ###
Author PI:NAME:<NAME>END_PI
Intersection of Objects if the arrays have something in common each intersecting object will be returned
in an new array.
###
_.intersectionObjects = (array1, array2, comparison = undefined) ->
res = _.map array1, (obj1) =>
_.find array2, (obj2) =>
if ... |
[
{
"context": "rage.getLocalStorageKeys()\n if key.indexOf('koding-editor') > -1\n delete global.localStorage[k",
"end": 4577,
"score": 0.6113534569740295,
"start": 4571,
"tag": "KEY",
"value": "oding-"
}
] | client/app/lib/localsynccontroller.coffee | ezgikaysi/koding | 1 | kd = require 'kd'
async = require 'async'
KDController = kd.Controller
remote = require('./remote').getInstance()
showError = require './util/showError'
FSHelper = require './util/fs/fshelper'
module.exports = class LocalSyncController extends KDController
constructor: ->
super
... | 12362 | kd = require 'kd'
async = require 'async'
KDController = kd.Controller
remote = require('./remote').getInstance()
showError = require './util/showError'
FSHelper = require './util/fs/fshelper'
module.exports = class LocalSyncController extends KDController
constructor: ->
super
... | true | kd = require 'kd'
async = require 'async'
KDController = kd.Controller
remote = require('./remote').getInstance()
showError = require './util/showError'
FSHelper = require './util/fs/fshelper'
module.exports = class LocalSyncController extends KDController
constructor: ->
super
... |
[
{
"context": "4 chars', (done) ->\n\t\t\trs.get {app: app1, token: \"lsdkjfslkfjsldfkj\"}, (err, resp) ->\n\t\t\t\terr.message.should.equal(\"I",
"end": 1207,
"score": 0.6082313060760498,
"start": 1190,
"tag": "PASSWORD",
"value": "lsdkjfslkfjsldfkj"
},
{
"context": "4 chars', (done)... | Server/node_modules/redis-sessions/test/test.coffee | jinMaoHuiHui/WhiteBoard | 0 | _ = require "lodash"
should = require "should"
async = require "async"
RedisSessions = require "../index"
describe 'Redis-Sessions Test', ->
rs = null
app1 = "test"
app2 = "TEST"
token1 = null
token2 = null
token3 = null
token4 = null
bulksessions = []
before (done) ->
done()
return
after (done) ->
... | 183411 | _ = require "lodash"
should = require "should"
async = require "async"
RedisSessions = require "../index"
describe 'Redis-Sessions Test', ->
rs = null
app1 = "test"
app2 = "TEST"
token1 = null
token2 = null
token3 = null
token4 = null
bulksessions = []
before (done) ->
done()
return
after (done) ->
... | true | _ = require "lodash"
should = require "should"
async = require "async"
RedisSessions = require "../index"
describe 'Redis-Sessions Test', ->
rs = null
app1 = "test"
app2 = "TEST"
token1 = null
token2 = null
token3 = null
token4 = null
bulksessions = []
before (done) ->
done()
return
after (done) ->
... |
[
{
"context": "owner = @store.createRecord \"owner\",\n name: \"test-owner-freddy\"\n ctx.owner.save()\n andThen =>\n owner = ct",
"end": 510,
"score": 0.9982241988182068,
"start": 493,
"tag": "USERNAME",
"value": "test-owner-freddy"
},
{
"context": "de an owner\"\n ass... | tests/acceptance/standard-use-test.coffee | foxnewsnetwork/autox | 0 | `import Ember from 'ember'`
`import { test } from 'qunit'`
`import moduleForAcceptance from '../../tests/helpers/module-for-acceptance'`
moduleForAcceptance 'Acceptance: StandardUse'
test 'visiting /', (assert) ->
@store = @application.__container__.lookup("service:store")
visit '/'
ctx = {}
andThen =>
a... | 52547 | `import Ember from 'ember'`
`import { test } from 'qunit'`
`import moduleForAcceptance from '../../tests/helpers/module-for-acceptance'`
moduleForAcceptance 'Acceptance: StandardUse'
test 'visiting /', (assert) ->
@store = @application.__container__.lookup("service:store")
visit '/'
ctx = {}
andThen =>
a... | true | `import Ember from 'ember'`
`import { test } from 'qunit'`
`import moduleForAcceptance from '../../tests/helpers/module-for-acceptance'`
moduleForAcceptance 'Acceptance: StandardUse'
test 'visiting /', (assert) ->
@store = @application.__container__.lookup("service:store")
visit '/'
ctx = {}
andThen =>
a... |
[
{
"context": " text page.title\n a href:'https://github.com/georgeOsdDev', target:'_blank', ->\n img style:'position",
"end": 491,
"score": 0.9994896650314331,
"start": 479,
"tag": "USERNAME",
"value": "georgeOsdDev"
},
{
"context": "\n text \"'s\"\n a href:'htt... | src/layouts/page.html.coffee | georgeOsdDev/slidepad | 7 | ---
layout: default
style: 'bootstrap'
---
div '.navbar.navbar-fixed-top', ->
div '.navbar-inner', ->
div '.container', ->
a '.brand', href:'/', ->
text "slidepad"
ul '.nav', ->
@getCollection('navmenus').toJSON().forEach (page) =>
li typeof:'sioc:Page', about:page.url, ".#{'... | 195528 | ---
layout: default
style: 'bootstrap'
---
div '.navbar.navbar-fixed-top', ->
div '.navbar-inner', ->
div '.container', ->
a '.brand', href:'/', ->
text "slidepad"
ul '.nav', ->
@getCollection('navmenus').toJSON().forEach (page) =>
li typeof:'sioc:Page', about:page.url, ".#{'... | true | ---
layout: default
style: 'bootstrap'
---
div '.navbar.navbar-fixed-top', ->
div '.navbar-inner', ->
div '.container', ->
a '.brand', href:'/', ->
text "slidepad"
ul '.nav', ->
@getCollection('navmenus').toJSON().forEach (page) =>
li typeof:'sioc:Page', about:page.url, ".#{'... |
[
{
"context": "tions =\n\tlayout: false\n\nsessionParams =\n\tsecret: '4159J3v6V4rX6y1O6BN3ASuG2aDN7q'\n\nroutes = () ->\n\t@use '/admin', adminController.",
"end": 672,
"score": 0.9997336268424988,
"start": 642,
"tag": "KEY",
"value": "4159J3v6V4rX6y1O6BN3ASuG2aDN7q"
}
] | init/application.coffee | winnlab/Optimeal | 0 | http = require 'http'
express = require 'express'
async = require 'async'
passport = require 'passport'
roles = require 'roles'
_ = require 'underscore'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
session = require 'express-session'
methodOverride = require 'method-override'
multer = req... | 31661 | http = require 'http'
express = require 'express'
async = require 'async'
passport = require 'passport'
roles = require 'roles'
_ = require 'underscore'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
session = require 'express-session'
methodOverride = require 'method-override'
multer = req... | true | http = require 'http'
express = require 'express'
async = require 'async'
passport = require 'passport'
roles = require 'roles'
_ = require 'underscore'
cookieParser = require 'cookie-parser'
bodyParser = require 'body-parser'
session = require 'express-session'
methodOverride = require 'method-override'
multer = req... |
[
{
"context": "st' ])\n@SECRET_KEY = (process.env.SECRET_KEY || 'v secure imo')\n",
"end": 114,
"score": 0.4898149371147156,
"start": 108,
"tag": "KEY",
"value": "secure"
}
] | server/config.coffee | sarenji/pokebattle-sim | 5 | @IS_LOCAL = (process.env.NODE_ENV in [ 'development', 'test' ])
@SECRET_KEY = (process.env.SECRET_KEY || 'v secure imo')
| 87880 | @IS_LOCAL = (process.env.NODE_ENV in [ 'development', 'test' ])
@SECRET_KEY = (process.env.SECRET_KEY || 'v <KEY> imo')
| true | @IS_LOCAL = (process.env.NODE_ENV in [ 'development', 'test' ])
@SECRET_KEY = (process.env.SECRET_KEY || 'v PI:KEY:<KEY>END_PI imo')
|
[
{
"context": "ON', ->\n before ->\n value = '{\"key\": \"Brand New\"}'\n\n after ->\n value = null\n\n it",
"end": 2264,
"score": 0.9976201057434082,
"start": 2255,
"tag": "KEY",
"value": "Brand New"
},
{
"context": "e\n expect(result).to.have.prop... | lib/utils.spec.coffee | kpunith8/gringotts | 0 | import Chaplin from 'chaplin'
import deadDeferred from './dead-deferred'
import {keys, openURL, getLocation,
setLocation, reloadLocation, urlJoin, tagBuilder, parseJSON, toBrowserDate,
toServerDate, mix, waitUntil, abortable, disposable,
excludeUrlParam, excludeUrlParams, compress, superValue} from './utils'
des... | 145048 | import Chaplin from 'chaplin'
import deadDeferred from './dead-deferred'
import {keys, openURL, getLocation,
setLocation, reloadLocation, urlJoin, tagBuilder, parseJSON, toBrowserDate,
toServerDate, mix, waitUntil, abortable, disposable,
excludeUrlParam, excludeUrlParams, compress, superValue} from './utils'
des... | true | import Chaplin from 'chaplin'
import deadDeferred from './dead-deferred'
import {keys, openURL, getLocation,
setLocation, reloadLocation, urlJoin, tagBuilder, parseJSON, toBrowserDate,
toServerDate, mix, waitUntil, abortable, disposable,
excludeUrlParam, excludeUrlParams, compress, superValue} from './utils'
des... |
[
{
"context": "tfix comprehension is wrapped in parens.\n# @author Julian Rosse\n###\n'use strict'\n\n#------------------------------",
"end": 132,
"score": 0.9998494982719421,
"start": 120,
"tag": "NAME",
"value": "Julian Rosse"
}
] | src/rules/postfix-comprehension-assign-parens.coffee | danielbayley/eslint-plugin-coffee | 21 | ###*
# @fileoverview Enforces that an assignment as the body of a postfix comprehension is wrapped in parens.
# @author Julian Rosse
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------... | 13084 | ###*
# @fileoverview Enforces that an assignment as the body of a postfix comprehension is wrapped in parens.
# @author <NAME>
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#------------------------------------------------------------------------------
isSi... | true | ###*
# @fileoverview Enforces that an assignment as the body of a postfix comprehension is wrapped in parens.
# @author PI:NAME:<NAME>END_PI
###
'use strict'
#------------------------------------------------------------------------------
# Helpers
#----------------------------------------------------------------------... |
[
{
"context": "nitializeFacebookSDK = ->\n FB.init\n appId : '663494370449454'\n version : 'v2.4'\n xfbml : true\n",
"end": 909,
"score": 0.7797020077705383,
"start": 894,
"tag": "KEY",
"value": "663494370449454"
}
] | app/assets/javascripts/articles.coffee | NUSComputingITCell/nuscomputing.com | 0 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$ ->
loadFacebookSDK()
bindFacebookEvents() unless window.fbEventsBound
bindFacebookEvents = ->
$(docu... | 70701 | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$ ->
loadFacebookSDK()
bindFacebookEvents() unless window.fbEventsBound
bindFacebookEvents = ->
$(docu... | true | # Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
$ ->
loadFacebookSDK()
bindFacebookEvents() unless window.fbEventsBound
bindFacebookEvents = ->
$(docu... |
[
{
"context": "\n# JSLocationManager - get location API\n# Coded by kouichi.sakazaki 2013.09.25\n#*************************************",
"end": 109,
"score": 0.9980325698852539,
"start": 93,
"tag": "NAME",
"value": "kouichi.sakazaki"
}
] | JSKit/frameworks/JSCoreLocation.framework/JSLocationManager.coffee | digitarhythm/codeJS | 0 | #*****************************************
# JSLocationManager - get location API
# Coded by kouichi.sakazaki 2013.09.25
#*****************************************
class JSLocationManager extends JSObject
constructor:->
super()
@_location = new JSLocation()
@_oldcoord = new JSLocation()
@_calcelID =... | 188910 | #*****************************************
# JSLocationManager - get location API
# Coded by <NAME> 2013.09.25
#*****************************************
class JSLocationManager extends JSObject
constructor:->
super()
@_location = new JSLocation()
@_oldcoord = new JSLocation()
@_calcelID = null
... | true | #*****************************************
# JSLocationManager - get location API
# Coded by PI:NAME:<NAME>END_PI 2013.09.25
#*****************************************
class JSLocationManager extends JSObject
constructor:->
super()
@_location = new JSLocation()
@_oldcoord = new JSLocation()
@_calcel... |
[
{
"context": "ew Backpack.Component { \n name: 'test'\n , parent: '#test'\n ",
"end": 986,
"score": 0.9986598491668701,
"start": 982,
"tag": "NAME",
"value": "test"
},
{
"context": " }).options\n expect(options.name).toEqual('test')... | spec/src/ComponentSpec.coffee | isabella232/backpack | 119 | describe "Backpack.Component", ->
beforeEach ->
@component = new Backpack.Component({hide: true})
describe "#initialize", ->
it "should create a <div>", ->
nodeName = @component.el.nodeName
expect(nodeName).toEqual('DIV')
it "should have a 'backpack-component' class", ->
hasClass ... | 20482 | describe "Backpack.Component", ->
beforeEach ->
@component = new Backpack.Component({hide: true})
describe "#initialize", ->
it "should create a <div>", ->
nodeName = @component.el.nodeName
expect(nodeName).toEqual('DIV')
it "should have a 'backpack-component' class", ->
hasClass ... | true | describe "Backpack.Component", ->
beforeEach ->
@component = new Backpack.Component({hide: true})
describe "#initialize", ->
it "should create a <div>", ->
nodeName = @component.el.nodeName
expect(nodeName).toEqual('DIV')
it "should have a 'backpack-component' class", ->
hasClass ... |
[
{
"context": "###\nmonome\nhttps://github.com/charlesholbrow/node-monome\n\nCopyright (c) 2013 Charles Holbrow\nL",
"end": 44,
"score": 0.9996158480644226,
"start": 30,
"tag": "USERNAME",
"value": "charlesholbrow"
},
{
"context": "com/charlesholbrow/node-monome\n\nCopyright (c) 2013 ... | src/lib/monome.coffee | CharlesHolbrow/monode | 13 | ###
monome
https://github.com/charlesholbrow/node-monome
Copyright (c) 2013 Charles Holbrow
Licensed under the MIT license.
###
'use strict'
events = require 'events'
makeGrid = require './grid'
osc = require './osc'
monome = undefined
PORT = 45450
module.exports = ->
if monome then return monome
... | 116158 | ###
monome
https://github.com/charlesholbrow/node-monome
Copyright (c) 2013 <NAME>
Licensed under the MIT license.
###
'use strict'
events = require 'events'
makeGrid = require './grid'
osc = require './osc'
monome = undefined
PORT = 45450
module.exports = ->
if monome then return monome
listen =... | true | ###
monome
https://github.com/charlesholbrow/node-monome
Copyright (c) 2013 PI:NAME:<NAME>END_PI
Licensed under the MIT license.
###
'use strict'
events = require 'events'
makeGrid = require './grid'
osc = require './osc'
monome = undefined
PORT = 45450
module.exports = ->
if monome then return mon... |
[
{
"context": "# * freshbooks-cli-invoice\n# * https://github.com/logankoester/freshbooks-cli-invoice\n# *\n# * Copyright (c) 2013",
"end": 64,
"score": 0.9995073080062866,
"start": 52,
"tag": "USERNAME",
"value": "logankoester"
},
{
"context": "/freshbooks-cli-invoice\n# *\n# * Copyr... | Gruntfile.coffee | logankoester/freshbooks-cli-invoice | 1 | #
# * freshbooks-cli-invoice
# * https://github.com/logankoester/freshbooks-cli-invoice
# *
# * Copyright (c) 2013 Logan Koester
# * Licensed under the MIT license.
#
path = require 'path'
module.exports = (grunt) ->
#
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
# C... | 102595 | #
# * freshbooks-cli-invoice
# * https://github.com/logankoester/freshbooks-cli-invoice
# *
# * Copyright (c) 2013 <NAME>
# * Licensed under the MIT license.
#
path = require 'path'
module.exports = (grunt) ->
#
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
# Coffeesc... | true | #
# * freshbooks-cli-invoice
# * https://github.com/logankoester/freshbooks-cli-invoice
# *
# * Copyright (c) 2013 PI:NAME:<NAME>END_PI
# * Licensed under the MIT license.
#
path = require 'path'
module.exports = (grunt) ->
#
# Project configuration.
grunt.initConfig
pkg: grunt.file.readJSON 'package.json'
... |
[
{
"context": "cher resync', ->\n\n getNock = ->\n nock 'http://127.0.0.1:4001'\n\n it 'should resync if index is outdated a",
"end": 3037,
"score": 0.9994025826454163,
"start": 3028,
"tag": "IP_ADDRESS",
"value": "127.0.0.1"
},
{
"context": "e:\n key: \"/key\"\n ... | node_modules/node-etcd/test/watcher.coffee | bugsysBugs/cote-workshop-secured | 0 | should = require 'should'
nock = require 'nock'
Etcd = require '../src/index'
Watcher = require '../src/watcher.coffee'
class FakeEtcd
constructor: ->
@stopped = false
@cb = ->
abort: -> {abort: => @stopped = true}
watch: (key, options, cb) ->
key.should.equal 'key'
@cb = cb
return @abort(... | 104889 | should = require 'should'
nock = require 'nock'
Etcd = require '../src/index'
Watcher = require '../src/watcher.coffee'
class FakeEtcd
constructor: ->
@stopped = false
@cb = ->
abort: -> {abort: => @stopped = true}
watch: (key, options, cb) ->
key.should.equal 'key'
@cb = cb
return @abort(... | true | should = require 'should'
nock = require 'nock'
Etcd = require '../src/index'
Watcher = require '../src/watcher.coffee'
class FakeEtcd
constructor: ->
@stopped = false
@cb = ->
abort: -> {abort: => @stopped = true}
watch: (key, options, cb) ->
key.should.equal 'key'
@cb = cb
return @abort(... |
[
{
"context": "name: \"Tom Adams\"\njob_title: \"Senior Content Designer\"\ngrade: 7\nsa",
"end": 16,
"score": 0.9998745322227478,
"start": 7,
"tag": "NAME",
"value": "Tom Adams"
},
{
"context": "\"Business Transformation Group\"\nmanager:\n name: \"Ben Holliday\"\n phone: \"0789 12... | app/data/users/tom.cson | dwpdigitaltech/DWPwelcome | 0 | name: "Tom Adams"
job_title: "Senior Content Designer"
grade: 7
salary: "£50,000"
pay_date: "29 February 2016"
annual_leave: 25
section: "User Experience and Design"
directorate: "Business Transformation Group"
manager:
name: "Ben Holliday"
phone: "0789 123 4567"
office: "Leeds, ONE"
role: [
"As a senior content ... | 64433 | name: "<NAME>"
job_title: "Senior Content Designer"
grade: 7
salary: "£50,000"
pay_date: "29 February 2016"
annual_leave: 25
section: "User Experience and Design"
directorate: "Business Transformation Group"
manager:
name: "<NAME>"
phone: "0789 123 4567"
office: "Leeds, ONE"
role: [
"As a senior content designer ... | true | name: "PI:NAME:<NAME>END_PI"
job_title: "Senior Content Designer"
grade: 7
salary: "£50,000"
pay_date: "29 February 2016"
annual_leave: 25
section: "User Experience and Design"
directorate: "Business Transformation Group"
manager:
name: "PI:NAME:<NAME>END_PI"
phone: "0789 123 4567"
office: "Leeds, ONE"
role: [
"A... |
[
{
"context": " # Hubot.Robot instance\n robot:\n name: 'Kitt'\n\n # Express request object\n request: ->\n ",
"end": 592,
"score": 0.7301884889602661,
"start": 588,
"tag": "NAME",
"value": "Kitt"
},
{
"context": "iable', ->\n process.env.HUBOT_SLACK_BOTNAME = 'Lon... | node_modules/hubot-slack/test/slack.coffee | goodship11/hubot-on-slack | 0 | ###################################################################
# Setup the tests
###################################################################
should = require 'should'
# Import our hero. Noop logging so that we don't clutter the test output
{Slack} = require '../src/slack'
Slack::log = ->
# Stub a few int... | 157213 | ###################################################################
# Setup the tests
###################################################################
should = require 'should'
# Import our hero. Noop logging so that we don't clutter the test output
{Slack} = require '../src/slack'
Slack::log = ->
# Stub a few int... | true | ###################################################################
# Setup the tests
###################################################################
should = require 'should'
# Import our hero. Noop logging so that we don't clutter the test output
{Slack} = require '../src/slack'
Slack::log = ->
# Stub a few int... |
[
{
"context": "dit> [limit] - Lookup reddit topic\n#\n# Author:\n# EnriqueVidal\n\nSelect = require( \"soupselect\" ).select\n\nlo",
"end": 199,
"score": 0.7938445806503296,
"start": 187,
"tag": "NAME",
"value": "EnriqueVidal"
}
] | src/scripts/reddit.coffee | contolini/hubot-scripts | 1,450 | # Description:
# None
#
# Dependencies:
# "soupselect: "0.2.0"
#
# Configuration:
# None
#
# Commands:
# hubot reddit (me) <reddit> [limit] - Lookup reddit topic
#
# Author:
# EnriqueVidal
Select = require( "soupselect" ).select
lookup_site = "http://www.reddit.com/"
module.exports = (robot)->
robo... | 198052 | # Description:
# None
#
# Dependencies:
# "soupselect: "0.2.0"
#
# Configuration:
# None
#
# Commands:
# hubot reddit (me) <reddit> [limit] - Lookup reddit topic
#
# Author:
# <NAME>
Select = require( "soupselect" ).select
lookup_site = "http://www.reddit.com/"
module.exports = (robot)->
robot.resp... | true | # Description:
# None
#
# Dependencies:
# "soupselect: "0.2.0"
#
# Configuration:
# None
#
# Commands:
# hubot reddit (me) <reddit> [limit] - Lookup reddit topic
#
# Author:
# PI:NAME:<NAME>END_PI
Select = require( "soupselect" ).select
lookup_site = "http://www.reddit.com/"
module.exports = (robot)-... |
[
{
"context": "ithout_inner_key =\n \"1\":\n id: \"1\",\n name: \"one\"\n \"2\":\n id: \"2\",\n name: \"two\"\n\nexpected_wi",
"end": 150,
"score": 0.960171639919281,
"start": 147,
"tag": "NAME",
"value": "one"
},
{
"context": "\",\n name: \"one\"\n \"2\":\n id: \... | test/slack.coffee | sdslabs/slack-utils | 2 | require '../loadenv.coffee'
slack = require "../api.coffee"
assert = require "assert"
expected_without_inner_key =
"1":
id: "1",
name: "one"
"2":
id: "2",
name: "two"
expected_with_inner_key =
"1": "one"
"2": "two"
list =
"list": [
id: "1",
name: "one"
,
id: "2",
... | 17649 | require '../loadenv.coffee'
slack = require "../api.coffee"
assert = require "assert"
expected_without_inner_key =
"1":
id: "1",
name: "<NAME>"
"2":
id: "2",
name: "<NAME>"
expected_with_inner_key =
"1": "<NAME>"
"2": "<NAME>"
list =
"list": [
id: "1",
name: "<NAME>"
,
... | true | require '../loadenv.coffee'
slack = require "../api.coffee"
assert = require "assert"
expected_without_inner_key =
"1":
id: "1",
name: "PI:NAME:<NAME>END_PI"
"2":
id: "2",
name: "PI:NAME:<NAME>END_PI"
expected_with_inner_key =
"1": "PI:KEY:<NAME>END_PI"
"2": "PI:KEY:<NAME>END_PI"
list =
"li... |
[
{
"context": "es are known as bulls.\n '''\n\n scientificName: '(Loxodonta africana)'\n mainImage: 'assets/fieldguide-content/mammals",
"end": 693,
"score": 0.9594764709472656,
"start": 675,
"tag": "NAME",
"value": "Loxodonta africana"
}
] | app/lib/field-guide-content/elephant.coffee | zooniverse/snapshot-wisconsin | 0 | module.exports =
label: 'African elephant'
description: '''
African elephants are the largest land animals on earth. The trunk, a muscular extension of the upper lip and nose, contains the nostrils and has two opposing extensions at its end that are used for communication and handling objects including food. Af... | 136303 | module.exports =
label: 'African elephant'
description: '''
African elephants are the largest land animals on earth. The trunk, a muscular extension of the upper lip and nose, contains the nostrils and has two opposing extensions at its end that are used for communication and handling objects including food. Af... | true | module.exports =
label: 'African elephant'
description: '''
African elephants are the largest land animals on earth. The trunk, a muscular extension of the upper lip and nose, contains the nostrils and has two opposing extensions at its end that are used for communication and handling objects including food. Af... |
[
{
"context": "#\t> File Name: discuss.coffee\n#\t> Author: LY\n#\t> Mail: ly.franky@gmail.com\n#\t> Created Time: T",
"end": 44,
"score": 0.9974496364593506,
"start": 42,
"tag": "USERNAME",
"value": "LY"
},
{
"context": "File Name: discuss.coffee\n#\t> Author: LY\n#\t> Mail: ly.frank... | server/db/models/discuss.coffee | wiiliamking/miac-website | 0 | # > File Name: discuss.coffee
# > Author: LY
# > Mail: ly.franky@gmail.com
# > Created Time: Thursday, December 04, 2014 PM02:11:09 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
DiscussionSchema = new Schema
type: String
title: String
content: String
up: N... | 107938 | # > File Name: discuss.coffee
# > Author: LY
# > Mail: <EMAIL>
# > Created Time: Thursday, December 04, 2014 PM02:11:09 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
DiscussionSchema = new Schema
type: String
title: String
content: String
up: Number
do... | true | # > File Name: discuss.coffee
# > Author: LY
# > Mail: PI:EMAIL:<EMAIL>END_PI
# > Created Time: Thursday, December 04, 2014 PM02:11:09 CST
mongoose = require 'mongoose'
Schema = mongoose.Schema
ObjectId = Schema.Types.ObjectId
DiscussionSchema = new Schema
type: String
title: String
content: String
up... |
[
{
"context": " user:\n data: [\n id: 1\n name: \"Bob\"\n primes: [1, 2, 3, 5, 7]\n ]\n \nd",
"end": 238,
"score": 0.9992029070854187,
"start": 235,
"tag": "NAME",
"value": "Bob"
},
{
"context": " user = User.find(1)\n expect(user.name).toBe(\"B... | test/spec_coffee/model_populate_with_non_knows_about_spec.coffee | kirkbowers/mvcoffee | 0 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
store = new MVCoffee.ModelStore
user: User
store.load
mvcoffee_version: "1.0.0"
models:
user:
data: [
id: 1
name: "Bob"
primes: [1, 2, 3, 5, 7]
]
describe "models with hierarchica... | 172462 | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
store = new MVCoffee.ModelStore
user: User
store.load
mvcoffee_version: "1.0.0"
models:
user:
data: [
id: 1
name: "<NAME>"
primes: [1, 2, 3, 5, 7]
]
describe "models with hierarch... | true | MVCoffee = require("../lib/mvcoffee")
theUser = class User extends MVCoffee.Model
store = new MVCoffee.ModelStore
user: User
store.load
mvcoffee_version: "1.0.0"
models:
user:
data: [
id: 1
name: "PI:NAME:<NAME>END_PI"
primes: [1, 2, 3, 5, 7]
]
describe "models... |
[
{
"context": " from Facebook on your timeline\n// @author Vadorequest\n// @supportURL https://github.com/Vadorequest",
"end": 234,
"score": 0.7881900668144226,
"start": 223,
"tag": "NAME",
"value": "Vadorequest"
},
{
"context": "Vadorequest\n// @supportURL https://git... | src/index.coffee | Vadorequest/fb-adblock-sponsored-chrome-extension | 0 | ###
// ==UserScript==
// @name Facebook AdBlock for your Timeline
// @namespace http://tampermonkey.net/
// @version 1.0.2
// @description Hide ads from Facebook on your timeline
// @author Vadorequest
// @supportURL https://github.com/Vadorequest/fb-adblock-timeline/issues
// @incl... | 117998 | ###
// ==UserScript==
// @name Facebook AdBlock for your Timeline
// @namespace http://tampermonkey.net/
// @version 1.0.2
// @description Hide ads from Facebook on your timeline
// @author <NAME>
// @supportURL https://github.com/Vadorequest/fb-adblock-timeline/issues
// @include ... | true | ###
// ==UserScript==
// @name Facebook AdBlock for your Timeline
// @namespace http://tampermonkey.net/
// @version 1.0.2
// @description Hide ads from Facebook on your timeline
// @author PI:NAME:<NAME>END_PI
// @supportURL https://github.com/Vadorequest/fb-adblock-timeline/issues... |
[
{
"context": "a blank per team key encryption kid\"\n\nusers: {\n \"herb\": {}\n \"basil\": {}\n \"rose\": {}\n}\n\nteams: {\n \"ca",
"end": 78,
"score": 0.987602949142456,
"start": 74,
"tag": "USERNAME",
"value": "herb"
},
{
"context": "eam key encryption kid\"\n\nusers: {\n \"... | teamchains/inputs/ptk_missing_enc_kid.iced | keybase/keybase-test-vectors | 4 | description: "Chain has a blank per team key encryption kid"
users: {
"herb": {}
"basil": {}
"rose": {}
}
teams: {
"cabal": {
links: [
type: "root"
signer: "herb"
members:
owner: ["herb"]
writer: ["basil"]
corruptors:
per_team_key: (section) ->
del... | 41671 | description: "Chain has a blank per team key encryption kid"
users: {
"herb": {}
"bas<NAME>": {}
"<NAME>": {}
}
teams: {
"cabal": {
links: [
type: "root"
signer: "herb"
members:
owner: ["herb"]
writer: ["<NAME>"]
corruptors:
per_team_key: (section) ->
... | true | description: "Chain has a blank per team key encryption kid"
users: {
"herb": {}
"basPI:NAME:<NAME>END_PI": {}
"PI:NAME:<NAME>END_PI": {}
}
teams: {
"cabal": {
links: [
type: "root"
signer: "herb"
members:
owner: ["herb"]
writer: ["PI:NAME:<NAME>END_PI"]
corruptors:... |
[
{
"context": "form of the big five, the bfi-s or bfi-soep\n# see: Lang, F. R., John, D., Luedtke, O., Schupp, J., & Wagner, G. G",
"end": 1876,
"score": 0.9992592334747314,
"start": 1866,
"tag": "NAME",
"value": "Lang, F. R"
},
{
"context": "ig five, the bfi-s or bfi-soep\n# see: Lan... | both/2_utils/personality/big_five.coffee | MooqitaSFH/worklearn | 0 | ###############################################################################
@big_five_40 = ["is the life of the party",
"feels little concern for others",
"is always prepared",
"gets stressed out easily",
"has a rich vocabulary",
"does not talk a lot",
"is interested in people",
"leaves ... | 8331 | ###############################################################################
@big_five_40 = ["is the life of the party",
"feels little concern for others",
"is always prepared",
"gets stressed out easily",
"has a rich vocabulary",
"does not talk a lot",
"is interested in people",
"leaves ... | true | ###############################################################################
@big_five_40 = ["is the life of the party",
"feels little concern for others",
"is always prepared",
"gets stressed out easily",
"has a rich vocabulary",
"does not talk a lot",
"is interested in people",
"leaves ... |
[
{
"context": "t_800_38a__f_5_5 = (T, cb) ->\n tv =\n key : [ '603deb1015ca71be2b73aef0857d7781'\n '1f352c073b6108d72d9810a30914dff4' ]",
"end": 329,
"score": 0.9997491836547852,
"start": 297,
"tag": "KEY",
"value": "603deb1015ca71be2b73aef0857d7781"
},
{
"context": "[ ... | test/files/aes_ctr.iced | CyberFlameGO/triplesec | 274 |
{WordArray} = require '../../lib/wordarray'
{AES} = require '../../lib/aes'
ctr = require '../../lib/ctr'
test_vec__nist_sp_800_38a__f_5_5 =
# See http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf
# Section F5.5
exports.sp_nist_800_38a__f_5_5 = (T, cb) ->
tv =
key : [ '603deb1015ca71be2b73aef... | 135838 |
{WordArray} = require '../../lib/wordarray'
{AES} = require '../../lib/aes'
ctr = require '../../lib/ctr'
test_vec__nist_sp_800_38a__f_5_5 =
# See http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf
# Section F5.5
exports.sp_nist_800_38a__f_5_5 = (T, cb) ->
tv =
key : [ '<KEY>'
'<KE... | true |
{WordArray} = require '../../lib/wordarray'
{AES} = require '../../lib/aes'
ctr = require '../../lib/ctr'
test_vec__nist_sp_800_38a__f_5_5 =
# See http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf
# Section F5.5
exports.sp_nist_800_38a__f_5_5 = (T, cb) ->
tv =
key : [ 'PI:KEY:<KEY>END_PI'
... |
[
{
"context": "xt.qualifier\n Description: \"Auto created by Litexa\"\n FunctionVersion: \"$LATEST\"\n lambdaC",
"end": 14582,
"score": 0.8764393925666809,
"start": 14576,
"tag": "NAME",
"value": "Litexa"
},
{
"context": "text.qualifier\n Description: \"Auto cr... | packages/litexa-deploy-aws/src/lambda.coffee | fboerncke/litexa | 1 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
fs = require 'fs'
path = require 'pat... | 83608 | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
fs = require 'fs'
path = require 'pat... | true | ###
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
# ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
###
fs = require 'fs'
path = require 'pat... |
[
{
"context": "#\n# Copyright 2015 Volcra\n#\n# Licensed under the Apache License, Version 2.",
"end": 25,
"score": 0.9996169209480286,
"start": 19,
"tag": "NAME",
"value": "Volcra"
}
] | gulpfile.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... | 136221 | #
# 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": "= (device) =>\n return unless device.name == 'Lyrebird'\n device.known = !!@knownDevices.get(device.",
"end": 1023,
"score": 0.8602724671363831,
"start": 1015,
"tag": "NAME",
"value": "Lyrebird"
}
] | client/mobile/app/coffee/modules/device/service.coffee | aeksco/ble-key | 0 | DeviceCollection = require './collection'
# # # # #
# DeviceService class definition
# Defines a Marionette.Service class to store
# Bluetooth devices found during scans
class DeviceService extends Marionette.Service
radioRequests:
'device model': 'model'
'device collection': 'collection'
radioEvents:
... | 124690 | DeviceCollection = require './collection'
# # # # #
# DeviceService class definition
# Defines a Marionette.Service class to store
# Bluetooth devices found during scans
class DeviceService extends Marionette.Service
radioRequests:
'device model': 'model'
'device collection': 'collection'
radioEvents:
... | true | DeviceCollection = require './collection'
# # # # #
# DeviceService class definition
# Defines a Marionette.Service class to store
# Bluetooth devices found during scans
class DeviceService extends Marionette.Service
radioRequests:
'device model': 'model'
'device collection': 'collection'
radioEvents:
... |
[
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/8/15 1",
"end": 16,
"score": 0.9986716508865356,
"start": 13,
"tag": "NAME",
"value": "易晓峰"
},
{
"context": "# Author: 易晓峰\n# E-mail: wvv8oo@gmail.com\n# Date: 6/8/15 11:48 AM\n# Description: 用户的活... | src/redis/stream.coffee | kiteam/kiteam | 0 | # Author: 易晓峰
# E-mail: wvv8oo@gmail.com
# Date: 6/8/15 11:48 AM
# Description: 用户的活动
_async = require 'async'
_ = require 'lodash'
_common = require '../common'
_connect = require './connect'
_config = _common.config
#获取成员活动的key
getKey = (member_id)->
"#{_config.redis.unique}:member_stream:#{member_id}... | 13786 | # Author: <NAME>
# E-mail: <EMAIL>
# Date: 6/8/15 11:48 AM
# Description: 用户的活动
_async = require 'async'
_ = require 'lodash'
_common = require '../common'
_connect = require './connect'
_config = _common.config
#获取成员活动的key
getKey = (member_id)->
"#{_config.redis.unique}:member_stream:#{member_id}"
#添加... | true | # Author: PI:NAME:<NAME>END_PI
# E-mail: PI:EMAIL:<EMAIL>END_PI
# Date: 6/8/15 11:48 AM
# Description: 用户的活动
_async = require 'async'
_ = require 'lodash'
_common = require '../common'
_connect = require './connect'
_config = _common.config
#获取成员活动的key
getKey = (member_id)->
"#{_config.redis.unique}:mem... |
[
{
"context": "# Proc.coffee\n#\n#\t© 2013 Dave Goehrig <dave@dloh.org>\n#\n\npgproc = require 'pgproc'\nquer",
"end": 37,
"score": 0.9998895525932312,
"start": 25,
"tag": "NAME",
"value": "Dave Goehrig"
},
{
"context": "# Proc.coffee\n#\n#\t© 2013 Dave Goehrig <dave@dloh.org>\n#\n\np... | lib/Proc.coffee | cthulhuology/opifex.pgproc | 1 | # Proc.coffee
#
# © 2013 Dave Goehrig <dave@dloh.org>
#
pgproc = require 'pgproc'
querystring = require 'querystring'
Proc = () ->
this["connect"] = (database,schema) ->
pgproc(database,schema)
this.send { connect: "ok" }
this["*"] = (method,args...) ->
args = args.map( querystring.unescape )
args.push( (ro... | 144498 | # Proc.coffee
#
# © 2013 <NAME> <<EMAIL>>
#
pgproc = require 'pgproc'
querystring = require 'querystring'
Proc = () ->
this["connect"] = (database,schema) ->
pgproc(database,schema)
this.send { connect: "ok" }
this["*"] = (method,args...) ->
args = args.map( querystring.unescape )
args.push( (row) => this.... | true | # Proc.coffee
#
# © 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
#
pgproc = require 'pgproc'
querystring = require 'querystring'
Proc = () ->
this["connect"] = (database,schema) ->
pgproc(database,schema)
this.send { connect: "ok" }
this["*"] = (method,args...) ->
args = args.map( querystring.unescape )... |
[
{
"context": "eleased under the MIT License.\n# It's developed by Darius Morawiec. 2013-2016\n#\n# https://github.com/nok/onedollar-c",
"end": 105,
"score": 0.9998461008071899,
"start": 90,
"tag": "NAME",
"value": "Darius Morawiec"
},
{
"context": "Darius Morawiec. 2013-2016\n#\n# ht... | src/onedollar.coffee | nok/onedollar-unistroke-coffee | 20 | # The library is Open Source Software released under the MIT License.
# It's developed by Darius Morawiec. 2013-2016
#
# https://github.com/nok/onedollar-coffeescript
#
# ---
#
# The $1 Gesture Recognizer is a research project by Wobbrock, Wilson and Li of
# the University of Washington and Microsoft Research. It descr... | 63802 | # The library is Open Source Software released under the MIT License.
# It's developed by <NAME>. 2013-2016
#
# https://github.com/nok/onedollar-coffeescript
#
# ---
#
# The $1 Gesture Recognizer is a research project by <NAME>, <NAME> <NAME> of
# the University of Washington and Microsoft Research. It describes a simp... | true | # The library is Open Source Software released under the MIT License.
# It's developed by PI:NAME:<NAME>END_PI. 2013-2016
#
# https://github.com/nok/onedollar-coffeescript
#
# ---
#
# The $1 Gesture Recognizer is a research project by PI:NAME:<NAME>END_PI, PI:NAME:<NAME>END_PI PI:NAME:<NAME>END_PI of
# the University o... |
[
{
"context": "if), mobile true olsun\n # https://github.com/blueimp/jQuery-File-Upload/wiki/Options -> to see options",
"end": 2605,
"score": 0.8986756801605225,
"start": 2598,
"tag": "USERNAME",
"value": "blueimp"
},
{
"context": "ique_id = password\n # file2.unique_... | app/assets/javascripts/s3_direct_upload.js.coffee | fatihtas/s3_direct_upload_customized | 2 |
#= require jquery-fileupload/basic
#= require jquery-fileupload/vendor/tmpl
$ = jQuery
$isOpera = !!window.opr && !!opr.addons || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0
$isChrome = !!window.chrome && (!!window.chrome.webstore)
$isFirefox = typeof InstallTrigger != 'undefined'
console.log('isFir... | 58528 |
#= require jquery-fileupload/basic
#= require jquery-fileupload/vendor/tmpl
$ = jQuery
$isOpera = !!window.opr && !!opr.addons || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0
$isChrome = !!window.chrome && (!!window.chrome.webstore)
$isFirefox = typeof InstallTrigger != 'undefined'
console.log('isFir... | true |
#= require jquery-fileupload/basic
#= require jquery-fileupload/vendor/tmpl
$ = jQuery
$isOpera = !!window.opr && !!opr.addons || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0
$isChrome = !!window.chrome && (!!window.chrome.webstore)
$isFirefox = typeof InstallTrigger != 'undefined'
console.log('isFir... |
[
{
"context": "s file is part of the Konsserto package.\n *\n * (c) Jessym Reziga <jessym@konsserto.com>\n *\n * For the full copyrig",
"end": 74,
"score": 0.9998769760131836,
"start": 61,
"tag": "NAME",
"value": "Jessym Reziga"
},
{
"context": "f the Konsserto package.\n *\n * (c) Je... | node_modules/konsserto/lib/src/Konsserto/Bundle/FrameworkBundle/Command/AssetsInstallCommand.coffee | konsserto/konsserto | 2 | ###
* This file is part of the Konsserto package.
*
* (c) Jessym Reziga <jessym@konsserto.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
cc = use('cli-color')
filesystem = use('fs')
path = use('path')
Table = use('cli-table'... | 33937 | ###
* This file is part of the Konsserto package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
cc = use('cli-color')
filesystem = use('fs')
path = use('path')
Table = use('cli-table');
Command = use('@... | true | ###
* This file is part of the Konsserto package.
*
* (c) PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
###
cc = use('cli-color')
filesystem = use('fs')
path = use('path')
Table = use('c... |
[
{
"context": "ore likely to be an offensive force.\n *\n * @name Bard\n * @magical\n * @support\n * @hp 50+[level*10]+[",
"end": 276,
"score": 0.9983078241348267,
"start": 272,
"tag": "NAME",
"value": "Bard"
}
] | src/character/classes/Bard.coffee | sadbear-/IdleLands | 0 |
Class = require "./../base/Class"
MessageCreator = require "../../system/MessageCreator"
`/**
* This class is a very supportive class. They sing their songs to buff their allies.
* If they have no allies, they are more likely to be an offensive force.
*
* @name Bard
* @magical
* @support
* @hp 50+[level... | 166439 |
Class = require "./../base/Class"
MessageCreator = require "../../system/MessageCreator"
`/**
* This class is a very supportive class. They sing their songs to buff their allies.
* If they have no allies, they are more likely to be an offensive force.
*
* @name <NAME>
* @magical
* @support
* @hp 50+[lev... | true |
Class = require "./../base/Class"
MessageCreator = require "../../system/MessageCreator"
`/**
* This class is a very supportive class. They sing their songs to buff their allies.
* If they have no allies, they are more likely to be an offensive force.
*
* @name PI:NAME:<NAME>END_PI
* @magical
* @support
... |
[
{
"context": "ew Delta(10, 10, [new RetainOp(0, 10, {authorId: 'Gandalf'})])\n console.assert(delta.isIdentity() == tru",
"end": 1309,
"score": 0.9037235379219055,
"start": 1302,
"tag": "NAME",
"value": "Gandalf"
},
{
"context": "new Delta(10, 10, [new RetainOp(0, 5, {authorId: 'G... | tests/isIdentity.coffee | tandem/tandem-core | 2 | # Copyright (c) 2012, Salesforce.com, Inc. 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 and t... | 12239 | # Copyright (c) 2012, Salesforce.com, Inc. 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 and t... | true | # Copyright (c) 2012, Salesforce.com, Inc. 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 and t... |
[
{
"context": "name = \"Joseph\"\nif name.length > 1 \n console.log \"Hello, #{name",
"end": 14,
"score": 0.9998114705085754,
"start": 8,
"tag": "NAME",
"value": "Joseph"
}
] | ch04/04-coffee/indent.coffee | gogosub77/node-webscraping | 0 | name = "Joseph"
if name.length > 1
console.log "Hello, #{name}!"
else
console.log "empty name"
| 55104 | name = "<NAME>"
if name.length > 1
console.log "Hello, #{name}!"
else
console.log "empty name"
| true | name = "PI:NAME:<NAME>END_PI"
if name.length > 1
console.log "Hello, #{name}!"
else
console.log "empty name"
|
[
{
"context": "e, version, worker) ->\n @tasks.push\n name: name\n version: version\n worker: worker\n\nmodu",
"end": 3211,
"score": 0.8930861949920654,
"start": 3207,
"tag": "NAME",
"value": "name"
}
] | index.coffee | RootPanel/Mallard | 1 | semver = require 'semver'
async = require 'async'
fs = require 'fs'
_ = require 'underscore'
logger = ->
args = _.toArray arguments
args.unshift '[Assort]'
console.log.apply @, args
versionFromFile = (filename = '.version', name = 'version') ->
return {
name: name
readVersion: (callback) ->
fs.... | 152646 | semver = require 'semver'
async = require 'async'
fs = require 'fs'
_ = require 'underscore'
logger = ->
args = _.toArray arguments
args.unshift '[Assort]'
console.log.apply @, args
versionFromFile = (filename = '.version', name = 'version') ->
return {
name: name
readVersion: (callback) ->
fs.... | true | semver = require 'semver'
async = require 'async'
fs = require 'fs'
_ = require 'underscore'
logger = ->
args = _.toArray arguments
args.unshift '[Assort]'
console.log.apply @, args
versionFromFile = (filename = '.version', name = 'version') ->
return {
name: name
readVersion: (callback) ->
fs.... |
[
{
"context": "e.js\", ->\n js.should.include \"(c) 2009-2012 Jeremy Ashkenas\"\n \n describe \"dont include jQuery\", ->\n ",
"end": 1144,
"score": 0.999893844127655,
"start": 1129,
"tag": "NAME",
"value": "Jeremy Ashkenas"
}
] | test/build.test.coffee | stratuseditor/fractus | 1 | should = require 'should'
bundle = require 'stratus-bundle'
bundle.testDir()
build = require '../src/build'
buildFractus = ->
return build(langs: ["Ruby"], theme: "Idlefingers")
describe "build", ->
describe "()", ->
it "sets a default theme", ->
build(langs: ["Ruby"]).theme.should.eql "Id... | 212017 | should = require 'should'
bundle = require 'stratus-bundle'
bundle.testDir()
build = require '../src/build'
buildFractus = ->
return build(langs: ["Ruby"], theme: "Idlefingers")
describe "build", ->
describe "()", ->
it "sets a default theme", ->
build(langs: ["Ruby"]).theme.should.eql "Id... | true | should = require 'should'
bundle = require 'stratus-bundle'
bundle.testDir()
build = require '../src/build'
buildFractus = ->
return build(langs: ["Ruby"], theme: "Idlefingers")
describe "build", ->
describe "()", ->
it "sets a default theme", ->
build(langs: ["Ruby"]).theme.should.eql "Id... |
[
{
"context": "e'\n\n###\nPackage documentation: https://github.com/mysqljs/mysql\n###\n\nPool = mysql.createPool(\n connectionL",
"end": 119,
"score": 0.9994539022445679,
"start": 112,
"tag": "USERNAME",
"value": "mysqljs"
},
{
"context": "mysql.server\n user: config.mysql.user\n ... | src/services/database.coffee | underc0de/korex-server | 0 | mysql = require 'mysql'
config = require '../../config/database'
###
Package documentation: https://github.com/mysqljs/mysql
###
Pool = mysql.createPool(
connectionLimit: 10
host: config.mysql.server
user: config.mysql.user
password: config.mysql.password
database: config.mysql.database
)
module.exports =
... | 119988 | mysql = require 'mysql'
config = require '../../config/database'
###
Package documentation: https://github.com/mysqljs/mysql
###
Pool = mysql.createPool(
connectionLimit: 10
host: config.mysql.server
user: config.mysql.user
password: <PASSWORD>
database: config.mysql.database
)
module.exports =
# Ping da... | true | mysql = require 'mysql'
config = require '../../config/database'
###
Package documentation: https://github.com/mysqljs/mysql
###
Pool = mysql.createPool(
connectionLimit: 10
host: config.mysql.server
user: config.mysql.user
password: PI:PASSWORD:<PASSWORD>END_PI
database: config.mysql.database
)
module.exp... |
[
{
"context": " person:\n job:\n name: \"Singer\"\n\n # Act\n result = _.flattenObj(obj)\n\n ",
"end": 8600,
"score": 0.9998058676719666,
"start": 8594,
"tag": "NAME",
"value": "Singer"
},
{
"context": " expect(result[\"person.job.name\"]).to.... | spec/underscore/underscore-extensions.spec.coffee | vtex/front.utils | 6 | expect = chai.expect
describe 'Underscore extensions', ->
describe 'formatCurrency', ->
it 'should return the value string with 2 decimals', ->
# Assert
expect(_.formatCurrency(123)).to.equal('123,00')
expect(_.formatCurrency(123.45)).to.equal('123,45')
expect(_.formatCurrency(123.451)).... | 144994 | expect = chai.expect
describe 'Underscore extensions', ->
describe 'formatCurrency', ->
it 'should return the value string with 2 decimals', ->
# Assert
expect(_.formatCurrency(123)).to.equal('123,00')
expect(_.formatCurrency(123.45)).to.equal('123,45')
expect(_.formatCurrency(123.451)).... | true | expect = chai.expect
describe 'Underscore extensions', ->
describe 'formatCurrency', ->
it 'should return the value string with 2 decimals', ->
# Assert
expect(_.formatCurrency(123)).to.equal('123,00')
expect(_.formatCurrency(123.45)).to.equal('123,45')
expect(_.formatCurrency(123.451)).... |
[
{
"context": "ave properties', ->\n @wine = new Wine name: 'Test'\n @wine.get('name').should.equal 'Test'\n ",
"end": 279,
"score": 0.5606542229652405,
"start": 275,
"tag": "NAME",
"value": "Test"
},
{
"context": " as properties', ->\n @wine = new Wine name: 'DOMAIN... | test/cases/model.coffee | arthur-xavier/diamond.js | 0 | # test/cases/model.coffee
should = require 'should'
Wine = require "#{dependencies}/models/wine"
Region = require "#{dependencies}/models/region"
describe 'Model', ->
#
describe 'properties', ->
#
it 'should have properties', ->
@wine = new Wine name: 'Test'
@wine.get('name').should.equal 'T... | 95735 | # test/cases/model.coffee
should = require 'should'
Wine = require "#{dependencies}/models/wine"
Region = require "#{dependencies}/models/region"
describe 'Model', ->
#
describe 'properties', ->
#
it 'should have properties', ->
@wine = new Wine name: '<NAME>'
@wine.get('name').should.equal ... | true | # test/cases/model.coffee
should = require 'should'
Wine = require "#{dependencies}/models/wine"
Region = require "#{dependencies}/models/region"
describe 'Model', ->
#
describe 'properties', ->
#
it 'should have properties', ->
@wine = new Wine name: 'PI:NAME:<NAME>END_PI'
@wine.get('name')... |
[
{
"context": "# Copyright 2013 Andrey Antukh <niwi@niwi.be>\n#\n# Licensed under the Apache Lice",
"end": 30,
"score": 0.9998828172683716,
"start": 17,
"tag": "NAME",
"value": "Andrey Antukh"
},
{
"context": "# Copyright 2013 Andrey Antukh <niwi@niwi.be>\n#\n# Licensed under the Apac... | mrfogg-front/app/coffee/plugins/urls.coffee | PIWEEK/mrfogg | 0 | # Copyright 2013 Andrey Antukh <niwi@niwi.be>
#
# 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... | 17690 | # Copyright 2013 <NAME> <<EMAIL>>
#
# 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 writi... | true | # Copyright 2013 PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>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 applica... |
[
{
"context": " '443'\n # Original non-wss relay:\n # host: '192.81.135.242'\n # port: 9902\n\n cookieName: \"snowflake-allow",
"end": 185,
"score": 0.9997716546058655,
"start": 171,
"tag": "IP_ADDRESS",
"value": "192.81.135.242"
}
] | proxy/config.coffee | NullHypothesis/snowflake | 0 | class Config
brokerUrl: 'snowflake-broker.bamsoftware.com'
relayAddr:
host: 'snowflake.bamsoftware.com'
port: '443'
# Original non-wss relay:
# host: '192.81.135.242'
# port: 9902
cookieName: "snowflake-allow"
# Bytes per second. Set to undefined to disable limit.
rateLimitBytes: undefin... | 189602 | class Config
brokerUrl: 'snowflake-broker.bamsoftware.com'
relayAddr:
host: 'snowflake.bamsoftware.com'
port: '443'
# Original non-wss relay:
# host: '192.168.3.11'
# port: 9902
cookieName: "snowflake-allow"
# Bytes per second. Set to undefined to disable limit.
rateLimitBytes: undefined... | true | class Config
brokerUrl: 'snowflake-broker.bamsoftware.com'
relayAddr:
host: 'snowflake.bamsoftware.com'
port: '443'
# Original non-wss relay:
# host: 'PI:IP_ADDRESS:192.168.3.11END_PI'
# port: 9902
cookieName: "snowflake-allow"
# Bytes per second. Set to undefined to disable limit.
rateL... |
[
{
"context": " \n# Copyright 2011 - 2013 Mark Masse (OSS project WRML.org) \n# ",
"end": 824,
"score": 0.9997768402099609,
"start": 814,
"tag": "NAME",
"value": "Mark Masse"
}
] | wrmldoc/js/app/config/marionette/application.coffee | wrml/wrml | 47 | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... | 31923 | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... | true | #
# WRML - Web Resource Modeling Language
# __ __ ______ __ __ __
# /\ \ _ \ \ /\ == \ /\ "-./ \ /\ \
# \... |
[
{
"context": "###\n# grunt-svg2storeicons\n# https://github.com/pem--/grunt-svg2storeicons\n#\n# copyright (c) 2013 pierr",
"end": 51,
"score": 0.9258320331573486,
"start": 48,
"tag": "USERNAME",
"value": "pem"
},
{
"context": "/pem--/grunt-svg2storeicons\n#\n# copyright (c) 2013 pie... | test/testDefaultOptions.coffee | gruntjs-updater/grunt-svg2storeicons | 0 | ###
# grunt-svg2storeicons
# https://github.com/pem--/grunt-svg2storeicons
#
# copyright (c) 2013 pierre-eric marchandet (pem-- <pemarchandet@gmail.com>)
# licensed under the mit licence.
###
'use strict'
assert = require 'assert'
fs = require 'fs'
path = require 'path'
EXPECTED_DEST = path.join 'tmp', 'default_opti... | 174247 | ###
# grunt-svg2storeicons
# https://github.com/pem--/grunt-svg2storeicons
#
# copyright (c) 2013 <NAME> (pem-- <<EMAIL>>)
# licensed under the mit licence.
###
'use strict'
assert = require 'assert'
fs = require 'fs'
path = require 'path'
EXPECTED_DEST = path.join 'tmp', 'default_options'
PROFILES = (require '../li... | true | ###
# grunt-svg2storeicons
# https://github.com/pem--/grunt-svg2storeicons
#
# copyright (c) 2013 PI:NAME:<NAME>END_PI (pem-- <PI:EMAIL:<EMAIL>END_PI>)
# licensed under the mit licence.
###
'use strict'
assert = require 'assert'
fs = require 'fs'
path = require 'path'
EXPECTED_DEST = path.join 'tmp', 'default_option... |
[
{
"context": "name: 'Zelus'\nscopeName: 'source.zelus'\ntype: 'tree-sitter'\npa",
"end": 12,
"score": 0.765693724155426,
"start": 7,
"tag": "NAME",
"value": "Zelus"
}
] | grammars/tree-sitter-zelus.cson | ismailbennani/language-zelus | 0 | name: 'Zelus'
scopeName: 'source.zelus'
type: 'tree-sitter'
parser: 'tree-sitter-zelus'
fileTypes: ["zls", "zli"]
comments:
start: '(* '
end: ' *)'
folds: [
{
type: 'comment'
}
{
start: {index: 0, type: '{'}
end: {index: -1, type: '}'}
}
{
start: {index: 0, type: '['}
end: {index: -... | 148458 | name: '<NAME>'
scopeName: 'source.zelus'
type: 'tree-sitter'
parser: 'tree-sitter-zelus'
fileTypes: ["zls", "zli"]
comments:
start: '(* '
end: ' *)'
folds: [
{
type: 'comment'
}
{
start: {index: 0, type: '{'}
end: {index: -1, type: '}'}
}
{
start: {index: 0, type: '['}
end: {index: ... | true | name: 'PI:NAME:<NAME>END_PI'
scopeName: 'source.zelus'
type: 'tree-sitter'
parser: 'tree-sitter-zelus'
fileTypes: ["zls", "zli"]
comments:
start: '(* '
end: ' *)'
folds: [
{
type: 'comment'
}
{
start: {index: 0, type: '{'}
end: {index: -1, type: '}'}
}
{
start: {index: 0, type: '['}
... |
[
{
"context": "xtends LayerInfo\n @shouldParse: (key) -> key is 'iOpa'\n\n constructor: (layer, length) ->\n super(lay",
"end": 134,
"score": 0.9813748002052307,
"start": 130,
"tag": "KEY",
"value": "iOpa"
}
] | lib/psd/layer_info/fill_opacity.coffee | aleczratiu/psd.js | 0 | LayerInfo = require '../layer_info.coffee'
module.exports = class FillOpacity extends LayerInfo
@shouldParse: (key) -> key is 'iOpa'
constructor: (layer, length) ->
super(layer, length)
@value = 255
parse: ->
@value = @file.readByte()
opacity: -> @value
| 31871 | LayerInfo = require '../layer_info.coffee'
module.exports = class FillOpacity extends LayerInfo
@shouldParse: (key) -> key is '<KEY>'
constructor: (layer, length) ->
super(layer, length)
@value = 255
parse: ->
@value = @file.readByte()
opacity: -> @value
| true | LayerInfo = require '../layer_info.coffee'
module.exports = class FillOpacity extends LayerInfo
@shouldParse: (key) -> key is 'PI:KEY:<KEY>END_PI'
constructor: (layer, length) ->
super(layer, length)
@value = 255
parse: ->
@value = @file.readByte()
opacity: -> @value
|
[
{
"context": "ength is 0\n key = keys[0]\n else\n key += \".#{keys[keys.length-1]}\"\n st += \" ? obj.#{key} : void 0\"\n st += \" : ",
"end": 1206,
"score": 0.9453484416007996,
"start": 1181,
"tag": "KEY",
"value": "\".#{keys[keys.length-1]}\""
}
] | sexprs_logic.coffee | chethiya/sexprs_logic | 0 | #compile cond s-expression to a test function
compile = (cond) ->
st = ''
gc = 0
dfs = (l, cond, tab) ->
oper = undefined
isMap = off
if (typeof cond is 'object') and (cond instanceof Array)
oper = cond[0].trim().toLowerCase()
else if typeof cond is 'object'
oper = 'and'
isMap = on
else
throw n... | 106789 | #compile cond s-expression to a test function
compile = (cond) ->
st = ''
gc = 0
dfs = (l, cond, tab) ->
oper = undefined
isMap = off
if (typeof cond is 'object') and (cond instanceof Array)
oper = cond[0].trim().toLowerCase()
else if typeof cond is 'object'
oper = 'and'
isMap = on
else
throw n... | true | #compile cond s-expression to a test function
compile = (cond) ->
st = ''
gc = 0
dfs = (l, cond, tab) ->
oper = undefined
isMap = off
if (typeof cond is 'object') and (cond instanceof Array)
oper = cond[0].trim().toLowerCase()
else if typeof cond is 'object'
oper = 'and'
isMap = on
else
throw n... |
[
{
"context": " = Ento()\n .attr('name')\n .build(name: \"John\")\n\n expect(JSON.stringify(obj)).be.like '{\"nam",
"end": 346,
"score": 0.9994021058082581,
"start": 342,
"tag": "NAME",
"value": "John"
},
{
"context": " expect(JSON.stringify(obj)).be.like '{\"name\":\"... | test/json_test.coffee | rstacruz/ento | 11 | require './setup'
describe 'json', ->
it 'ok with extra values', ->
obj = Ento().build(a: 1, b: 2)
expect(JSON.stringify(obj)).eql '{"a":1,"b":2}'
it 'keys', ->
obj = Ento().build(a: 1, b: 2)
expect(Object.keys(obj)).be.like ['a', 'b']
it 'defined attrs', ->
obj = Ento()
.attr('name'... | 137648 | require './setup'
describe 'json', ->
it 'ok with extra values', ->
obj = Ento().build(a: 1, b: 2)
expect(JSON.stringify(obj)).eql '{"a":1,"b":2}'
it 'keys', ->
obj = Ento().build(a: 1, b: 2)
expect(Object.keys(obj)).be.like ['a', 'b']
it 'defined attrs', ->
obj = Ento()
.attr('name'... | true | require './setup'
describe 'json', ->
it 'ok with extra values', ->
obj = Ento().build(a: 1, b: 2)
expect(JSON.stringify(obj)).eql '{"a":1,"b":2}'
it 'keys', ->
obj = Ento().build(a: 1, b: 2)
expect(Object.keys(obj)).be.like ['a', 'b']
it 'defined attrs', ->
obj = Ento()
.attr('name'... |
[
{
"context": " rich text editing jQuery UI widget\n# (c) 2011 Henri Bergius, IKS Consortium\n# Hallo may be freely distrib",
"end": 79,
"score": 0.999853789806366,
"start": 66,
"tag": "NAME",
"value": "Henri Bergius"
}
] | src/plugins/headings.coffee | GerHobbelt/hallo | 682 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 Henri Bergius, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget "IKS.halloheadings",
options:
editable: null
uuid: ''
formatBlocks: ["p", "h1", "h2", "h3"]
buttonCssClass:... | 221515 | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 <NAME>, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget "IKS.halloheadings",
options:
editable: null
uuid: ''
formatBlocks: ["p", "h1", "h2", "h3"]
buttonCssClass: null
... | true | # Hallo - a rich text editing jQuery UI widget
# (c) 2011 PI:NAME:<NAME>END_PI, IKS Consortium
# Hallo may be freely distributed under the MIT license
((jQuery) ->
jQuery.widget "IKS.halloheadings",
options:
editable: null
uuid: ''
formatBlocks: ["p", "h1", "h2", "h3"]
buttonCs... |
[
{
"context": "now the door is closed\n#\n# Author:\n# github.com/mattantonelli\n\nKEY = 'is-the-door-open'\n\nmodule.exports = (robo",
"end": 433,
"score": 0.9996298551559448,
"start": 420,
"tag": "USERNAME",
"value": "mattantonelli"
},
{
"context": "\n#\n# Author:\n# github.com/... | src/is-the-door-open.coffee | mattantonelli/hubot-is-the-door-open | 1 | # Description
# Keeps track of whether or not the door is open.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot is the door open? - tells you if the door is open
# hubot is the door closed? - tells you if the door is closed
# hubot the door is open - lets hubot know the door is... | 104757 | # Description
# Keeps track of whether or not the door is open.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot is the door open? - tells you if the door is open
# hubot is the door closed? - tells you if the door is closed
# hubot the door is open - lets hubot know the door is... | true | # Description
# Keeps track of whether or not the door is open.
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot is the door open? - tells you if the door is open
# hubot is the door closed? - tells you if the door is closed
# hubot the door is open - lets hubot know the door is... |
[
{
"context": "r = new ledger.utils.SecureLogReader('test_key', '1YnMY5FGugkuzJwdmbue9EtfsAFpQXcZy', 2, TEMPORARY)\n slw = new ledger.utils.Secu",
"end": 348,
"score": 0.9997614026069641,
"start": 315,
"tag": "KEY",
"value": "1YnMY5FGugkuzJwdmbue9EtfsAFpQXcZy"
},
{
"context": "w ... | app/spec/utils/logger/secure_log_spec.coffee | romanornr/ledger-wallet-crw | 173 | describe "Secure Log Writer/Reader", ->
slw = null
slr = null
@_errorHandler = (e) ->
fail "FileSystem Error. name: #{e.name} // message: #{e.message}"
l new Error().stack
beforeEach (done) ->
ledger.utils.Log.deleteAll TEMPORARY, ->
slr = new ledger.utils.SecureLogReader('test_key', '1YnMY... | 163805 | describe "Secure Log Writer/Reader", ->
slw = null
slr = null
@_errorHandler = (e) ->
fail "FileSystem Error. name: #{e.name} // message: #{e.message}"
l new Error().stack
beforeEach (done) ->
ledger.utils.Log.deleteAll TEMPORARY, ->
slr = new ledger.utils.SecureLogReader('test_key', '<KEY>... | true | describe "Secure Log Writer/Reader", ->
slw = null
slr = null
@_errorHandler = (e) ->
fail "FileSystem Error. name: #{e.name} // message: #{e.message}"
l new Error().stack
beforeEach (done) ->
ledger.utils.Log.deleteAll TEMPORARY, ->
slr = new ledger.utils.SecureLogReader('test_key', 'PI:KE... |
[
{
"context": "###\n * grunt-codo\n * https://github.com/frostney/grunt-codo\n *\n * Copyright (c) 2013 Johannes Stei",
"end": 48,
"score": 0.999344527721405,
"start": 40,
"tag": "USERNAME",
"value": "frostney"
},
{
"context": "b.com/frostney/grunt-codo\n *\n * Copyright (c) 2013 Joha... | Gruntfile.coffee | mgabrin/grunt-codo | 2 | ###
* grunt-codo
* https://github.com/frostney/grunt-codo
*
* Copyright (c) 2013 Johannes Stein
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
optio... | 208275 | ###
* grunt-codo
* https://github.com/frostney/grunt-codo
*
* Copyright (c) 2013 <NAME>
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
options: grun... | true | ###
* grunt-codo
* https://github.com/frostney/grunt-codo
*
* Copyright (c) 2013 PI:NAME:<NAME>END_PI
* Licensed under the MIT license.
###
"use strict"
module.exports = ( grunt ) ->
require( "matchdep" ).filterDev( "grunt-*" ).forEach grunt.loadNpmTasks
grunt.initConfig
coffeelint:
... |
[
{
"context": "e) ->\n \"#{name}が参加します!\"\n\n robberName: ->\n \"怪盗\"\n\n roleAndName: (name, roleName) ->\n \"#{name}",
"end": 585,
"score": 0.923904299736023,
"start": 583,
"tag": "NAME",
"value": "怪盗"
},
{
"context": " \"#{name}は#{roleName}です。\"\n\n seerName: ->\n ... | scripts/japaneseMessageManager.coffee | mpppk/hubot-onenight-werewolf | 1 | class JapaneseMessageManager
constructor: () ->
acceptingIsAlreadyFinished: () ->
"参加者受付は終了しています。次のゲームをお待ちください。"
alreadyGameStarted: () ->
"ゲームは既に開始しています。"
alreadyJoined: () ->
"既に参加中です。"
alreadyVoted: () ->
"既に投票済みです。"
errorOccurred: () ->
"エラーが発生しました。ゲームをやり直してください。"
finishAccep... | 179841 | class JapaneseMessageManager
constructor: () ->
acceptingIsAlreadyFinished: () ->
"参加者受付は終了しています。次のゲームをお待ちください。"
alreadyGameStarted: () ->
"ゲームは既に開始しています。"
alreadyJoined: () ->
"既に参加中です。"
alreadyVoted: () ->
"既に投票済みです。"
errorOccurred: () ->
"エラーが発生しました。ゲームをやり直してください。"
finishAccep... | true | class JapaneseMessageManager
constructor: () ->
acceptingIsAlreadyFinished: () ->
"参加者受付は終了しています。次のゲームをお待ちください。"
alreadyGameStarted: () ->
"ゲームは既に開始しています。"
alreadyJoined: () ->
"既に参加中です。"
alreadyVoted: () ->
"既に投票済みです。"
errorOccurred: () ->
"エラーが発生しました。ゲームをやり直してください。"
finishAccep... |
[
{
"context": "Bot = require 'telegram-bot-api'\ntoken = \"YOUR_TOKEN_HERE\"\nusername = \"\"\n\n#\n# Modules\n#\nsearchMo",
"end": 54,
"score": 0.7587089538574219,
"start": 50,
"tag": "KEY",
"value": "YOUR"
},
{
"context": " = require 'telegram-bot-api'\ntoken = \"YOUR_... | src/index.coffee | BirkhoffLee/quickSearchBot | 0 | Bot = require 'telegram-bot-api'
token = "YOUR_TOKEN_HERE"
username = ""
#
# Modules
#
searchModules = {}
searchModules.wiki = require "./modules/wiki.coffee"
searchModules.google = require "./modules/google.coffee"
bot = new Bot
token: token
updates:
enabled: true
bot.getMe()
.then (da... | 191597 | Bot = require 'telegram-bot-api'
token = "<KEY>_<KEY>_<KEY>"
username = ""
#
# Modules
#
searchModules = {}
searchModules.wiki = require "./modules/wiki.coffee"
searchModules.google = require "./modules/google.coffee"
bot = new Bot
token: token
updates:
enabled: true
bot.getMe()
.then (... | true | Bot = require 'telegram-bot-api'
token = "PI:KEY:<KEY>END_PI_PI:KEY:<KEY>END_PI_PI:KEY:<KEY>END_PI"
username = ""
#
# Modules
#
searchModules = {}
searchModules.wiki = require "./modules/wiki.coffee"
searchModules.google = require "./modules/google.coffee"
bot = new Bot
token: token
updates:
... |
[
{
"context": "$new()\n product = new Products(id: 123, name: \"foo\")\n\n ctrl = $controller \"products.ShowCtrl\",\n ",
"end": 247,
"score": 0.8270533680915833,
"start": 244,
"tag": "NAME",
"value": "foo"
}
] | client/test/unit/controllers/products/show_ctrl_spec.coffee | lucassus/angular-coffee-seed | 2 | describe "Controller `products.ShowCtrl`", ->
beforeEach module "myApp", ->
$scope = null
ctrl = null
beforeEach inject ($rootScope, $controller, Products) ->
$scope = $rootScope.$new()
product = new Products(id: 123, name: "foo")
ctrl = $controller "products.ShowCtrl",
$scope: $scope
... | 122541 | describe "Controller `products.ShowCtrl`", ->
beforeEach module "myApp", ->
$scope = null
ctrl = null
beforeEach inject ($rootScope, $controller, Products) ->
$scope = $rootScope.$new()
product = new Products(id: 123, name: "<NAME>")
ctrl = $controller "products.ShowCtrl",
$scope: $scope
... | true | describe "Controller `products.ShowCtrl`", ->
beforeEach module "myApp", ->
$scope = null
ctrl = null
beforeEach inject ($rootScope, $controller, Products) ->
$scope = $rootScope.$new()
product = new Products(id: 123, name: "PI:NAME:<NAME>END_PI")
ctrl = $controller "products.ShowCtrl",
$s... |
[
{
"context": "ess.env.DB_USER ? 'postgres'\n password: process.env.DB_PASSWORD\n database: process.env.DB ? 'gc'\n ",
"end": 416,
"score": 0.9983376264572144,
"start": 393,
"tag": "PASSWORD",
"value": "process.env.DB_PASSWORD"
}
] | storage/test/unit-geolog.coffee | foobert/gc | 1 | fs = require 'fs'
Promise = require 'bluebird'
{expect} = require 'chai'
describe 'geolog', ->
@timeout 5000
db = null
geologs = null
GL00001 = null
GL00002 = null
before Promise.coroutine ->
db = require('../lib/db')
host: process.env.DB_PORT_5432_TCP_ADDR ? 'localhost'
... | 183574 | fs = require 'fs'
Promise = require 'bluebird'
{expect} = require 'chai'
describe 'geolog', ->
@timeout 5000
db = null
geologs = null
GL00001 = null
GL00002 = null
before Promise.coroutine ->
db = require('../lib/db')
host: process.env.DB_PORT_5432_TCP_ADDR ? 'localhost'
... | true | fs = require 'fs'
Promise = require 'bluebird'
{expect} = require 'chai'
describe 'geolog', ->
@timeout 5000
db = null
geologs = null
GL00001 = null
GL00002 = null
before Promise.coroutine ->
db = require('../lib/db')
host: process.env.DB_PORT_5432_TCP_ADDR ? 'localhost'
... |
[
{
"context": " username : null\n password : null\n confirmPassword : null\n email ",
"end": 655,
"score": 0.985283613204956,
"start": 651,
"tag": "PASSWORD",
"value": "null"
},
{
"context": " password : null\n confirmPassword : n... | Projects/Web/AngularJS/src/coffee/controllers/general/sign-up/sign-up-controller.coffee | carloshpds/MyOmakase | 0 | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'MyAngularOmakase.controllers'
# =============================================
# SignUpController
# =============================================
.controller 'SignUpController',... | 112169 | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'MyAngularOmakase.controllers'
# =============================================
# SignUpController
# =============================================
.controller 'SignUpController',... | true | 'use strict'
# =============================================
# Module
# =============================================
angular.module 'MyAngularOmakase.controllers'
# =============================================
# SignUpController
# =============================================
.controller 'SignUpController',... |
[
{
"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.9995977878570557,
"start": 64,
"tag": "USERNAME",
"value": "kzokm"
},
{
"context": "ps://github.com/kzokm/ga.js\n#\n# Copyright (c) 201... | lib/version.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
###
module.exports =
full: '0.5.0'
major: 0
minor: 5
dot: 0
| 11819 | ###
# 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
###
module.exports =
full: '0.5.0'
major: 0
minor: 5
dot: 0
| 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
###
module.exports =
full: '0.5.0'
major: 0
minor: 5
dot: 0
|
[
{
"context": "\n#\n# Commands:\n# hubot scrum\n# hubot what is <username> doing today?\n# hubot scrum help\n#\n# Optional E",
"end": 318,
"score": 0.6556491851806641,
"start": 310,
"tag": "USERNAME",
"value": "username"
},
{
"context": "um die so we are making this now!\n#\n# A... | src/app.coffee | airbrake/hubot-scrum | 3 | # Description:
# Team members enter their scrum and scrumbot will send a summary.
#
# Dependencies:
# "cron": "",
# "time": ""
#
# Configuration:
# HUBOT_SCRUM_ROOM
# HUBOT_SCRUM_NOTIFY_AT
# HUBOT_SCRUM_CLEAR_AT
# TZ # eg. "America/Los_Angeles"
#
# Commands:
# hubot scrum
# hubot what is <username> ... | 93320 | # Description:
# Team members enter their scrum and scrumbot will send a summary.
#
# Dependencies:
# "cron": "",
# "time": ""
#
# Configuration:
# HUBOT_SCRUM_ROOM
# HUBOT_SCRUM_NOTIFY_AT
# HUBOT_SCRUM_CLEAR_AT
# TZ # eg. "America/Los_Angeles"
#
# Commands:
# hubot scrum
# hubot what is <username> ... | true | # Description:
# Team members enter their scrum and scrumbot will send a summary.
#
# Dependencies:
# "cron": "",
# "time": ""
#
# Configuration:
# HUBOT_SCRUM_ROOM
# HUBOT_SCRUM_NOTIFY_AT
# HUBOT_SCRUM_CLEAR_AT
# TZ # eg. "America/Los_Angeles"
#
# Commands:
# hubot scrum
# hubot what is <username> ... |
[
{
"context": "re is licensed under the MIT License.\n\n Copyright Fedor Indutny, 2011.\n\n Permission is hereby granted, free of c",
"end": 119,
"score": 0.9995109438896179,
"start": 106,
"tag": "NAME",
"value": "Fedor Indutny"
}
] | node_modules/index/lib/index/file-storage.coffee | beshrkayali/monkey-release-action | 12 | ###
File storage for Node Index Module
This software is licensed under the MIT License.
Copyright Fedor Indutny, 2011.
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 restric... | 203850 | ###
File storage for Node Index Module
This software is licensed under the MIT License.
Copyright <NAME>, 2011.
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, i... | true | ###
File storage for Node Index Module
This software is licensed under the MIT License.
Copyright PI:NAME:<NAME>END_PI, 2011.
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 ... |
[
{
"context": "o S3\", (done) ->\n uploader.upload(\n key: \"test.wat\"\n blob: new Blob [\"wat wat wat???\"], type: \"",
"end": 240,
"score": 0.9990794062614441,
"start": 232,
"tag": "KEY",
"value": "test.wat"
}
] | test/test.coffee | distri/s3-uploader | 0 | Uploader = require "../main"
policy = JSON.parse(localStorage.CCASPolicy)
uploader = Uploader policy
global.Q = require "q"
describe "uploader", ->
it "should upload some junk to S3", (done) ->
uploader.upload(
key: "test.wat"
blob: new Blob ["wat wat wat???"], type: "text/plain"
).then (url) -... | 119488 | Uploader = require "../main"
policy = JSON.parse(localStorage.CCASPolicy)
uploader = Uploader policy
global.Q = require "q"
describe "uploader", ->
it "should upload some junk to S3", (done) ->
uploader.upload(
key: "<KEY>"
blob: new Blob ["wat wat wat???"], type: "text/plain"
).then (url) ->
... | true | Uploader = require "../main"
policy = JSON.parse(localStorage.CCASPolicy)
uploader = Uploader policy
global.Q = require "q"
describe "uploader", ->
it "should upload some junk to S3", (done) ->
uploader.upload(
key: "PI:KEY:<KEY>END_PI"
blob: new Blob ["wat wat wat???"], type: "text/plain"
).th... |
[
{
"context": "###\n# Copyright 2015 Scott Brady\n# MIT License\n# https://github.com/scottbrady/xhr",
"end": 32,
"score": 0.9998846054077148,
"start": 21,
"tag": "NAME",
"value": "Scott Brady"
},
{
"context": "15 Scott Brady\n# MIT License\n# https://github.com/scottbrady/xhr-promise... | src/index.coffee | zeekay/xhr-promise | 0 | ###
# Copyright 2015 Scott Brady
# MIT License
# https://github.com/scottbrady/xhr-promise/blob/master/LICENSE
###
import Promise from 'broken'
import objectAssign from 'es-object-assign'
import parseHeaders from './parse-headers'
defaults =
method: 'GET'
headers: {}
data: null
username: null
pa... | 57110 | ###
# Copyright 2015 <NAME>
# MIT License
# https://github.com/scottbrady/xhr-promise/blob/master/LICENSE
###
import Promise from 'broken'
import objectAssign from 'es-object-assign'
import parseHeaders from './parse-headers'
defaults =
method: 'GET'
headers: {}
data: null
username: null
passwor... | true | ###
# Copyright 2015 PI:NAME:<NAME>END_PI
# MIT License
# https://github.com/scottbrady/xhr-promise/blob/master/LICENSE
###
import Promise from 'broken'
import objectAssign from 'es-object-assign'
import parseHeaders from './parse-headers'
defaults =
method: 'GET'
headers: {}
data: null
username: ... |
[
{
"context": "lbum_key) ->\n if album_key then album_key = \"https://motorbot.io/AlbumArt/\"+album_key+\".png\"\n playlistObj = {\n id:",
"end": 6274,
"score": 0.8785436749458313,
"start": 6243,
"tag": "KEY",
"value": "https://motorbot.io/AlbumArt/\"+"
},
{
"context"... | routes/api_routes/playlist.coffee | motorlatitude/MotorBot | 4 | express = require 'express'
router = express.Router()
ObjectID = require('mongodb').ObjectID
request = require('request')
async = require('async')
request = require 'request'
uid = require('rand-token').uid;
async = require 'async'
multer = require 'multer'
path = require 'path'
utilities = require './objects/APIUtili... | 90057 | express = require 'express'
router = express.Router()
ObjectID = require('mongodb').ObjectID
request = require('request')
async = require('async')
request = require 'request'
uid = require('rand-token').uid;
async = require 'async'
multer = require 'multer'
path = require 'path'
utilities = require './objects/APIUtili... | true | express = require 'express'
router = express.Router()
ObjectID = require('mongodb').ObjectID
request = require('request')
async = require('async')
request = require 'request'
uid = require('rand-token').uid;
async = require 'async'
multer = require 'multer'
path = require 'path'
utilities = require './objects/APIUtili... |
[
{
"context": "cess hits: [\n fabricate 'artwork', title: \"Andy Foobar's Finger Painting\"\n ]\n $('body').html()",
"end": 1380,
"score": 0.8068517446517944,
"start": 1369,
"tag": "NAME",
"value": "Andy Foobar"
},
{
"context": "][2].success [\n fabricate 'arti... | src/mobile/apps/artist/test/client.view.coffee | kanaabe/force | 0 | _ = require 'underscore'
Backbone = require 'backbone'
Artist = require '../../../models/artist'
Artworks = require '../../../collections/artworks'
FollowArtist = require '../../../models/follow_artist'
CurrentUser = require '../../../models/current_user'
{ fabricate } = require 'antigravity'
sinon = require 'sinon'
be... | 66782 | _ = require 'underscore'
Backbone = require 'backbone'
Artist = require '../../../models/artist'
Artworks = require '../../../collections/artworks'
FollowArtist = require '../../../models/follow_artist'
CurrentUser = require '../../../models/current_user'
{ fabricate } = require 'antigravity'
sinon = require 'sinon'
be... | true | _ = require 'underscore'
Backbone = require 'backbone'
Artist = require '../../../models/artist'
Artworks = require '../../../collections/artworks'
FollowArtist = require '../../../models/follow_artist'
CurrentUser = require '../../../models/current_user'
{ fabricate } = require 'antigravity'
sinon = require 'sinon'
be... |
[
{
"context": "\n# * Cloned from \"classie.js\"\n# * Copyright © 2014 David DeSandro (\"classie.js\"), Softlayer, an IBM Company\n# * Cod",
"end": 157,
"score": 0.9998248219490051,
"start": 143,
"tag": "NAME",
"value": "David DeSandro"
},
{
"context": "s helper functions from bonzo (h... | languages/coffeescript/unclassy.coffee | caleorourke/scrapyard | 0 | #
# * Unclassy
# * A library agnostic, extensible DOM utility for class helper functions
# *
# * Cloned from "classie.js"
# * Copyright © 2014 David DeSandro ("classie.js"), Softlayer, an IBM Company
# * Code and documentation licensed under MIT
#
# Usage
# 1. unclassy.has( elem, 'my-class' ) -> true/false
# 2. unclas... | 79885 | #
# * Unclassy
# * A library agnostic, extensible DOM utility for class helper functions
# *
# * Cloned from "classie.js"
# * Copyright © 2014 <NAME> ("classie.js"), Softlayer, an IBM Company
# * Code and documentation licensed under MIT
#
# Usage
# 1. unclassy.has( elem, 'my-class' ) -> true/false
# 2. unclassy.add( ... | true | #
# * Unclassy
# * A library agnostic, extensible DOM utility for class helper functions
# *
# * Cloned from "classie.js"
# * Copyright © 2014 PI:NAME:<NAME>END_PI ("classie.js"), Softlayer, an IBM Company
# * Code and documentation licensed under MIT
#
# Usage
# 1. unclassy.has( elem, 'my-class' ) -> true/false
# 2. ... |
[
{
"context": "-role` alias to jQuery.\n# Copy from jquery.role by Sasha Koss https://github.com/kossnocorp/role\n\nrewriteSelect",
"end": 127,
"score": 0.9998255968093872,
"start": 117,
"tag": "NAME",
"value": "Sasha Koss"
},
{
"context": "from jquery.role by Sasha Koss https://githu... | app/assets/javascripts/base/role.js.coffee | open-cook/ok-2018 | 0 | @by_role = (name) -> $ """[data-role='#{ name }']"""
# Add `@data-role` alias to jQuery.
# Copy from jquery.role by Sasha Koss https://github.com/kossnocorp/role
rewriteSelector = (context, name, pos) ->
original = context[name]
return unless original
context[name] = ->
arguments[pos] = arguments[pos].repla... | 45005 | @by_role = (name) -> $ """[data-role='#{ name }']"""
# Add `@data-role` alias to jQuery.
# Copy from jquery.role by <NAME> https://github.com/kossnocorp/role
rewriteSelector = (context, name, pos) ->
original = context[name]
return unless original
context[name] = ->
arguments[pos] = arguments[pos].replace(/... | true | @by_role = (name) -> $ """[data-role='#{ name }']"""
# Add `@data-role` alias to jQuery.
# Copy from jquery.role by PI:NAME:<NAME>END_PI https://github.com/kossnocorp/role
rewriteSelector = (context, name, pos) ->
original = context[name]
return unless original
context[name] = ->
arguments[pos] = arguments[... |
[
{
"context": "er.actual_value\n\n if algorithm.key is 'deeplearning'\n validationFrameParameter = findParamet",
"end": 4553,
"score": 0.6959859728813171,
"start": 4545,
"tag": "KEY",
"value": "learning"
},
{
"context": " = columnLabels\n else if algorithm.key i... | h2o-web/src/main/steam/scripts/create-model-dialog.coffee | My-Technical-Architect/h2o-3 | 1 | createTextboxControl = (parameter) ->
value = node$ parameter.actual_value
kind: 'textbox'
name: parameter.name
label: parameter.label
description: parameter.help
required: parameter.required
value: value
defaultValue: parameter.default_value
help: node$ 'Help goes here.'
isInvalid: node$ no
creat... | 209563 | createTextboxControl = (parameter) ->
value = node$ parameter.actual_value
kind: 'textbox'
name: parameter.name
label: parameter.label
description: parameter.help
required: parameter.required
value: value
defaultValue: parameter.default_value
help: node$ 'Help goes here.'
isInvalid: node$ no
creat... | true | createTextboxControl = (parameter) ->
value = node$ parameter.actual_value
kind: 'textbox'
name: parameter.name
label: parameter.label
description: parameter.help
required: parameter.required
value: value
defaultValue: parameter.default_value
help: node$ 'Help goes here.'
isInvalid: node$ no
creat... |
[
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmail.com>\nAll rights reserved.\n\nRedistri",
"end": 42,
"score": 0.9998452067375183,
"start": 24,
"tag": "NAME",
"value": "Alexander Cherniuk"
},
{
"context": "###\nCopyright (c) 2013, Alexander Cherniuk <ts33kr@gmai... | library/membrane/runtime.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... | 39418 | ###
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": "ull\n\n\n beforeEach ->\n options = { name: 'combo2x' }\n data = [\n { title: 'Fiat', valu",
"end": 236,
"score": 0.7817550897598267,
"start": 234,
"tag": "USERNAME",
"value": "2x"
},
{
"context": " with setValue method', ->\n combobox.setValue 'hon... | src/tests/components/combobox/test_combobox.coffee | dashersw/spark | 1 | goog = goog or goog = require: ->
goog.require 'spark.components.ComboBox'
goog.require 'goog.ui.MenuItem'
describe 'spark.components.ComboBox', ->
combobox = null
element = null
beforeEach ->
options = { name: 'combo2x' }
data = [
{ title: 'Fiat', value: 'fiat' }
{ title: 'For... | 37270 | goog = goog or goog = require: ->
goog.require 'spark.components.ComboBox'
goog.require 'goog.ui.MenuItem'
describe 'spark.components.ComboBox', ->
combobox = null
element = null
beforeEach ->
options = { name: 'combo2x' }
data = [
{ title: 'Fiat', value: 'fiat' }
{ title: 'For... | true | goog = goog or goog = require: ->
goog.require 'spark.components.ComboBox'
goog.require 'goog.ui.MenuItem'
describe 'spark.components.ComboBox', ->
combobox = null
element = null
beforeEach ->
options = { name: 'combo2x' }
data = [
{ title: 'Fiat', value: 'fiat' }
{ title: 'For... |
[
{
"context": "'/login', ->\n authenticated = @req.body.user is 'coffee' and @req.body.pass is 'mate'\n if authenticated\n",
"end": 394,
"score": 0.922696053981781,
"start": 388,
"tag": "USERNAME",
"value": "coffee"
},
{
"context": "@req.body.user is 'coffee' and @req.body.pass is '... | examples/simple_auth/app.coffee | kadirpekel/coffeemate | 2 | mate = require '../../coffeemate'
mate.cookieParser()
mate.bodyParser()
mate.context.authenticate = ->
authenticated = @req.cookies.authenticated is 'yes'
@redirect '/login' unless authenticated
return authenticated
mate.get '/', ->
@render 'main.eco' if @authenticate()
mate.get '/login', ->
@render 'logi... | 50106 | mate = require '../../coffeemate'
mate.cookieParser()
mate.bodyParser()
mate.context.authenticate = ->
authenticated = @req.cookies.authenticated is 'yes'
@redirect '/login' unless authenticated
return authenticated
mate.get '/', ->
@render 'main.eco' if @authenticate()
mate.get '/login', ->
@render 'logi... | true | mate = require '../../coffeemate'
mate.cookieParser()
mate.bodyParser()
mate.context.authenticate = ->
authenticated = @req.cookies.authenticated is 'yes'
@redirect '/login' unless authenticated
return authenticated
mate.get '/', ->
@render 'main.eco' if @authenticate()
mate.get '/login', ->
@render 'logi... |
[
{
"context": "dd inline style\n # refer: https://github.com/Karl33to/jquery.inlineStyler\n # TODO still too much r",
"end": 18107,
"score": 0.9992672204971313,
"start": 18099,
"tag": "USERNAME",
"value": "Karl33to"
},
{
"context": "te>'\n\n # make title\n title = ... | app/assets/javascripts/app.coffee | zenja/markever | 0 | "use strict"
markever = angular.module('markever', ['ngResource', 'ui.bootstrap', 'LocalStorageModule', 'angularUUID2'])
markever.controller 'EditorController',
['$scope', '$window', '$document', '$http', '$sce', '$interval',
'localStorageService', 'enmlRenderer', 'scrollSyncor', 'apiClient', 'noteManager', 'imageMa... | 93434 | "use strict"
markever = angular.module('markever', ['ngResource', 'ui.bootstrap', 'LocalStorageModule', 'angularUUID2'])
markever.controller 'EditorController',
['$scope', '$window', '$document', '$http', '$sce', '$interval',
'localStorageService', 'enmlRenderer', 'scrollSyncor', 'apiClient', 'noteManager', 'imageMa... | true | "use strict"
markever = angular.module('markever', ['ngResource', 'ui.bootstrap', 'LocalStorageModule', 'angularUUID2'])
markever.controller 'EditorController',
['$scope', '$window', '$document', '$http', '$sce', '$interval',
'localStorageService', 'enmlRenderer', 'scrollSyncor', 'apiClient', 'noteManager', 'imageMa... |
[
{
"context": " backbone-orm.js 0.7.14\n Copyright (c) 2013-2016 Vidigami\n License: MIT (http://www.opensource.org/license",
"end": 63,
"score": 0.9998787045478821,
"start": 55,
"tag": "NAME",
"value": "Vidigami"
},
{
"context": "ses/mit-license.php)\n Source: https://github.com/... | src/lib/queue.coffee | dk-dev/backbone-orm | 54 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 Vidigami
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
# TODO: handle double callbacks, to provide promise-like guarantees
module.exports = ... | 151972 | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 <NAME>
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
# TODO: handle double callbacks, to provide promise-like guarantees
module.exports = cl... | true | ###
backbone-orm.js 0.7.14
Copyright (c) 2013-2016 PI:NAME:<NAME>END_PI
License: MIT (http://www.opensource.org/licenses/mit-license.php)
Source: https://github.com/vidigami/backbone-orm
Dependencies: Backbone.js and Underscore.js.
###
# TODO: handle double callbacks, to provide promise-like guarantees
modul... |
[
{
"context": "pedia.org/wiki/UK_railway_stations)\n#\n# Author:\n# JamieMagee\n\nmodule.exports = (robot) ->\n robot.respond /tra",
"end": 487,
"score": 0.9971726536750793,
"start": 477,
"tag": "NAME",
"value": "JamieMagee"
}
] | src/scripts/nationalrail.coffee | ryantomlinson/hubot-scripts | 0 | # Description:
# Get National Rail live departure information
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_DEFAULT_STATION - set the default from station (nearest to your home/office)
#
# Commands:
# hubot: trains <departure station> to <arrival station>
# hubot: trains <arrival station>
# hubot: tra... | 84181 | # Description:
# Get National Rail live departure information
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_DEFAULT_STATION - set the default from station (nearest to your home/office)
#
# Commands:
# hubot: trains <departure station> to <arrival station>
# hubot: trains <arrival station>
# hubot: tra... | true | # Description:
# Get National Rail live departure information
#
# Dependencies:
# None
#
# Configuration:
# HUBOT_DEFAULT_STATION - set the default from station (nearest to your home/office)
#
# Commands:
# hubot: trains <departure station> to <arrival station>
# hubot: trains <arrival station>
# hubot: tra... |
[
{
"context": "offee\"\n\nclass SandwichAlly extends Spell\n name: \"Sandwich Ally\"\n @element = SandwichAlly::element = Spell::Elem",
"end": 177,
"score": 0.9967519640922546,
"start": 164,
"tag": "NAME",
"value": "Sandwich Ally"
},
{
"context": "epends on the sandwich made.\n ... | src/character/spells/combat-skills/sandwichArtist/SandwichAlly.coffee | sadbear-/IdleLands | 0 |
Spell = require "../../../base/Spell"
SandwichBuff = require "./SandwichBuff.coffee"
Cookie = require "./Cookie.coffee"
class SandwichAlly extends Spell
name: "Sandwich Ally"
@element = SandwichAlly::element = Spell::Element.physical
@tiers = SandwichAlly::tiers = [
`/**
* This skill feeds an ally. As... | 47863 |
Spell = require "../../../base/Spell"
SandwichBuff = require "./SandwichBuff.coffee"
Cookie = require "./Cookie.coffee"
class SandwichAlly extends Spell
name: "<NAME>"
@element = SandwichAlly::element = Spell::Element.physical
@tiers = SandwichAlly::tiers = [
`/**
* This skill feeds an ally. As for wh... | true |
Spell = require "../../../base/Spell"
SandwichBuff = require "./SandwichBuff.coffee"
Cookie = require "./Cookie.coffee"
class SandwichAlly extends Spell
name: "PI:NAME:<NAME>END_PI"
@element = SandwichAlly::element = Spell::Element.physical
@tiers = SandwichAlly::tiers = [
`/**
* This skill feeds an a... |
[
{
"context": "# author Alex Robson\n# copyright appendTo, 2012\n#\n# license MIT\n# Crea",
"end": 20,
"score": 0.9998298287391663,
"start": 9,
"tag": "NAME",
"value": "Alex Robson"
},
{
"context": "2012\n#\n# license MIT\n# Created February 2, 2012 by Alex Robson\n\namqp = require 'a... | examples/node-to-erlang/rest-api/rabbit.coffee | arobson/vorperl | 1 | # author Alex Robson
# copyright appendTo, 2012
#
# license MIT
# Created February 2, 2012 by Alex Robson
amqp = require 'amqp'
class Rabbit
constructor: (@server, onReady) ->
@defaultExchangeOptions =
type: "fanout"
autoDelete: true
@exchanges = {}
@queues = {}
@defaultQueueOptions =
autoDelet... | 160483 | # author <NAME>
# copyright appendTo, 2012
#
# license MIT
# Created February 2, 2012 by <NAME>
amqp = require 'amqp'
class Rabbit
constructor: (@server, onReady) ->
@defaultExchangeOptions =
type: "fanout"
autoDelete: true
@exchanges = {}
@queues = {}
@defaultQueueOptions =
autoDelete: true
... | true | # author PI:NAME:<NAME>END_PI
# copyright appendTo, 2012
#
# license MIT
# Created February 2, 2012 by PI:NAME:<NAME>END_PI
amqp = require 'amqp'
class Rabbit
constructor: (@server, onReady) ->
@defaultExchangeOptions =
type: "fanout"
autoDelete: true
@exchanges = {}
@queues = {}
@defaultQueueOptio... |
[
{
"context": "= require 'three'\n #\n # THREE.CSG\n # @author Chandler Prall <chandler.prall@gmail.com> http://chandler.prallf",
"end": 93,
"score": 0.9999006390571594,
"start": 79,
"tag": "NAME",
"value": "Chandler Prall"
},
{
"context": "\n #\n # THREE.CSG\n # @author C... | src/app/core/projects/csg/csg.Three.coffee | kaosat-dev/CoffeeSCad | 110 | define (require) ->
THREE = require 'three'
#
# THREE.CSG
# @author Chandler Prall <chandler.prall@gmail.com> http://chandler.prallfamily.com
# @modified by Mark Moissette
# Wrapper for Evan Wallace's CSG library (https://github.com/evanw/csg.js/)
# Provides CSG capabilities for Three.js models.
... | 76788 | define (require) ->
THREE = require 'three'
#
# THREE.CSG
# @author <NAME> <<EMAIL>> http://chandler.prallfamily.com
# @modified by <NAME>
# Wrapper for Evan Wallace's CSG library (https://github.com/evanw/csg.js/)
# Provides CSG capabilities for Three.js models.
#
# Provided under the MIT Lic... | true | define (require) ->
THREE = require 'three'
#
# THREE.CSG
# @author PI:NAME:<NAME>END_PI <PI:EMAIL:<EMAIL>END_PI> http://chandler.prallfamily.com
# @modified by PI:NAME:<NAME>END_PI
# Wrapper for Evan Wallace's CSG library (https://github.com/evanw/csg.js/)
# Provides CSG capabilities for Three.js ... |
[
{
"context": "elect Inside Brackets\":\r\n value: \"Përzgjidh Brenda Kllapash\"\r\n \"F&ind\":\r\n value: \"&Gjeni\"\r\n submenu:\r\n",
"end": 8153,
"score": 0.8077368140220642,
"start": 8138,
"tag": "NAME",
"value": "Brenda Kllapash"
},
{
"context": "anishme\"\r\n ... | def/sq/menu_linux.cson | erikbs/atom-i18n | 76 | Menu:
"&File":
value: "&Kartelë"
submenu:
"New &Window":
value: "&Dritare e Re"
"&New File":
value: "Karte&lë e Re"
"&Open File…":
value: "&Hapni Kartelë…"
"Open Folder…":
value: "Hapni Dosje…"
"Add Project Folder…":
value: "Sh... | 175351 | Menu:
"&File":
value: "&Kartelë"
submenu:
"New &Window":
value: "&Dritare e Re"
"&New File":
value: "Karte&lë e Re"
"&Open File…":
value: "&Hapni Kartelë…"
"Open Folder…":
value: "Hapni Dosje…"
"Add Project Folder…":
value: "Sh... | true | Menu:
"&File":
value: "&Kartelë"
submenu:
"New &Window":
value: "&Dritare e Re"
"&New File":
value: "Karte&lë e Re"
"&Open File…":
value: "&Hapni Kartelë…"
"Open Folder…":
value: "Hapni Dosje…"
"Add Project Folder…":
value: "Sh... |
[
{
"context": "ever have events happen. In general.\n *\n * @name Sanctified\n * @prerequisite Find a sacred item\n * @effect ",
"end": 144,
"score": 0.8301213383674622,
"start": 134,
"tag": "NAME",
"value": "Sanctified"
}
] | src/character/personalities/Sanctified.coffee | sadbear-/IdleLands | 3 |
Personality = require "../base/Personality"
`/**
* This personality makes you never have events happen. In general.
*
* @name Sanctified
* @prerequisite Find a sacred item
* @effect event probability drastically reduced
* @category Personalities
* @package Player
*/`
class Sanctified extends Personality... | 142416 |
Personality = require "../base/Personality"
`/**
* This personality makes you never have events happen. In general.
*
* @name <NAME>
* @prerequisite Find a sacred item
* @effect event probability drastically reduced
* @category Personalities
* @package Player
*/`
class Sanctified extends Personality
c... | true |
Personality = require "../base/Personality"
`/**
* This personality makes you never have events happen. In general.
*
* @name PI:NAME:<NAME>END_PI
* @prerequisite Find a sacred item
* @effect event probability drastically reduced
* @category Personalities
* @package Player
*/`
class Sanctified extends P... |
[
{
"context": "e == SYSTEM_USER and\n credentials.pass == conf.COUCH_PWD\n )\n req.session or= {}\n req",
"end": 411,
"score": 0.9611752033233643,
"start": 397,
"tag": "PASSWORD",
"value": "conf.COUCH_PWD"
}
] | src/middleware.coffee | cfpb/panthean-helpers | 1 | basic_auth = require('basic-auth')
module.exports =
auth: (conf) ->
SYSTEM_USER = conf.COUCHDB.SYSTEM_USER
(req, resp, next) ->
# look for admin credentials in basic auth, and if valid, login user as admin.
credentials = basic_auth(req)
if conf.DEV or
(
credentials and... | 14911 | basic_auth = require('basic-auth')
module.exports =
auth: (conf) ->
SYSTEM_USER = conf.COUCHDB.SYSTEM_USER
(req, resp, next) ->
# look for admin credentials in basic auth, and if valid, login user as admin.
credentials = basic_auth(req)
if conf.DEV or
(
credentials and... | true | basic_auth = require('basic-auth')
module.exports =
auth: (conf) ->
SYSTEM_USER = conf.COUCHDB.SYSTEM_USER
(req, resp, next) ->
# look for admin credentials in basic auth, and if valid, login user as admin.
credentials = basic_auth(req)
if conf.DEV or
(
credentials and... |
[
{
"context": "# Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public Li",
"end": 43,
"score": 0.9999103546142578,
"start": 29,
"tag": "EMAIL",
"value": "contact@ppy.sh"
}
] | resources/assets/coffee/react/profile-page/cover-selection.coffee | osu-katakuna/osu-katakuna-web | 5 | # Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { button, span } from 'react-dom-factories'
bn = 'profile-cover-selection'
export class CoverSelection ext... | 42607 | # Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { button, span } from 'react-dom-factories'
bn = 'profile-cover-selection'
export class CoverSelection extends Re... | true | # Copyright (c) ppy Pty Ltd <PI:EMAIL:<EMAIL>END_PI>. Licensed under the GNU Affero General Public License v3.0.
# See the LICENCE file in the repository root for full licence text.
import * as React from 'react'
import { button, span } from 'react-dom-factories'
bn = 'profile-cover-selection'
export class CoverSelec... |
[
{
"context": "\n]\n'firstLineMatch': '^#!.*\\\\bjaeger\\\\b'\n'name': 'Jaeger'\n'repository':\n\t'hex':\n\t\t'patterns': [\n\t\t\t{\n\t\t\t\t#",
"end": 105,
"score": 0.75380539894104,
"start": 99,
"tag": "NAME",
"value": "Jaeger"
}
] | grammars/jaeger.cson | PsichiX/language-jaeger | 2 | 'scopeName': 'source.jaeger'
'fileTypes': [
'jg'
]
'firstLineMatch': '^#!.*\\bjaeger\\b'
'name': 'Jaeger'
'repository':
'hex':
'patterns': [
{
# hex (integer) number
'match': '0x[a-fA-F0-9]+'
'name': 'constant.numeric.jaeger'
'patterns': [
{
'include': '#block_comment'
}
{
... | 102169 | 'scopeName': 'source.jaeger'
'fileTypes': [
'jg'
]
'firstLineMatch': '^#!.*\\bjaeger\\b'
'name': '<NAME>'
'repository':
'hex':
'patterns': [
{
# hex (integer) number
'match': '0x[a-fA-F0-9]+'
'name': 'constant.numeric.jaeger'
'patterns': [
{
'include': '#block_comment'
}
{
... | true | 'scopeName': 'source.jaeger'
'fileTypes': [
'jg'
]
'firstLineMatch': '^#!.*\\bjaeger\\b'
'name': 'PI:NAME:<NAME>END_PI'
'repository':
'hex':
'patterns': [
{
# hex (integer) number
'match': '0x[a-fA-F0-9]+'
'name': 'constant.numeric.jaeger'
'patterns': [
{
'include': '#block_comment'
... |
[
{
"context": " # Facebook passport bug, see: https://github.com/jaredhanson/passport-facebook/issues/12#issuecomment-5913711\n",
"end": 644,
"score": 0.9996870160102844,
"start": 633,
"tag": "USERNAME",
"value": "jaredhanson"
},
{
"context": "ves#galleries-institutions'\n '/artsy.ne... | lib/routers/hardcoded_redirects.coffee | l2succes/force | 0 | url = require 'url'
express = require 'express'
router = express.Router()
to = require '../to'
# Want to permanently redirect a specific route or route pattern?
# Put em' here:
redirects =
'/partners': '/galleries'
'/gallery': '/galleries'
'/institution': '/institutions'
'/filter/artworks': '/browse'
'/fil... | 30989 | url = require 'url'
express = require 'express'
router = express.Router()
to = require '../to'
# Want to permanently redirect a specific route or route pattern?
# Put em' here:
redirects =
'/partners': '/galleries'
'/gallery': '/galleries'
'/institution': '/institutions'
'/filter/artworks': '/browse'
'/fil... | true | url = require 'url'
express = require 'express'
router = express.Router()
to = require '../to'
# Want to permanently redirect a specific route or route pattern?
# Put em' here:
redirects =
'/partners': '/galleries'
'/gallery': '/galleries'
'/institution': '/institutions'
'/filter/artworks': '/browse'
'/fil... |
[
{
"context": "{\n usernameField: 'email',\n passwordField: 'password'\n }, (email, password, done) ->\n UserModel.fi",
"end": 444,
"score": 0.988252580165863,
"start": 436,
"tag": "PASSWORD",
"value": "password"
}
] | src/server/passport.coffee | yournal/YournalProject | 1 | module.exports = ($app, $injector, UserModel) ->
passport = require 'passport'
passport.serializeUser (user, done) ->
done null, user.id
passport.deserializeUser (id, done) ->
UserModel.findOne _id: id, '-salt -hashedPassword', (err, user) ->
done err, user
# Local strategy
LocalStrategy = re... | 12944 | module.exports = ($app, $injector, UserModel) ->
passport = require 'passport'
passport.serializeUser (user, done) ->
done null, user.id
passport.deserializeUser (id, done) ->
UserModel.findOne _id: id, '-salt -hashedPassword', (err, user) ->
done err, user
# Local strategy
LocalStrategy = re... | true | module.exports = ($app, $injector, UserModel) ->
passport = require 'passport'
passport.serializeUser (user, done) ->
done null, user.id
passport.deserializeUser (id, done) ->
UserModel.findOne _id: id, '-salt -hashedPassword', (err, user) ->
done err, user
# Local strategy
LocalStrategy = re... |
[
{
"context": " input value\", ->\n key = AESCrypt.key \"toomanysecrets\"\n base64key = key.toString \"base64\"\n\n e",
"end": 214,
"score": 0.9830889701843262,
"start": 200,
"tag": "KEY",
"value": "toomanysecrets"
},
{
"context": "tring \"base64\"\n\n expect... | test/aescrypt.coffee | nextorigin/aescrypt | 1 | {expect} = require "chai"
AESCrypt = require "../src/aescrypt"
describe "AESCrypt", ->
describe "#key", ->
it "should return a hash of the input value", ->
key = AESCrypt.key "toomanysecrets"
base64key = key.toString "base64"
expect(base64key).to.equal "Kz5yjBpdHvoDXDB8IvgOR/hw21eV4... | 122266 | {expect} = require "chai"
AESCrypt = require "../src/aescrypt"
describe "AESCrypt", ->
describe "#key", ->
it "should return a hash of the input value", ->
key = AESCrypt.key "<KEY>"
base64key = key.toString "base64"
expect(base64key).to.equal "<KEY>
describe "#salt", ->
it "... | true | {expect} = require "chai"
AESCrypt = require "../src/aescrypt"
describe "AESCrypt", ->
describe "#key", ->
it "should return a hash of the input value", ->
key = AESCrypt.key "PI:KEY:<KEY>END_PI"
base64key = key.toString "base64"
expect(base64key).to.equal "PI:KEY:<KEY>END_PI
des... |
[
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.",
"end": 17,
"score": 0.9441618919372559,
"start": 16,
"tag": "EMAIL",
"value": "j"
},
{
"context": "###\n# Copyright jtlebi.fr <admin@jtlebi.fr> and other contributors.\n#\n# Per",
"end": 25,
... | static/js/app/core/router.coffee | yadutaf/Weathermap-archive | 1 | ###
# Copyright jtlebi.fr <admin@jtlebi.fr> and other 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... | 71944 | ###
# Copyright <EMAIL>tlebi.fr <<EMAIL>> and other 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... | true | ###
# Copyright PI:EMAIL:<EMAIL>END_PItlebi.fr <PI:EMAIL:<EMAIL>END_PI> and other 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 limi... |
[
{
"context": "se.com/tutorials/ios-push-notifications\n # @author Michael Lin, Snaphappi Inc.\n###\n\nangular\n.module 'parse.push'",
"end": 440,
"score": 0.999489426612854,
"start": 429,
"tag": "NAME",
"value": "Michael Lin"
},
{
"context": "ectId', 'deviceType', 'installationId', '... | app/js/services/push-notify.coffee | mixersoft/ionic-parse-facebook-scaffold | 5 | 'use strict'
###*
# @ngdoc service
# @name parsePush
# @description wrapper for pushNotification plugin, register installation with push server on PARSE
# handle push notification events: adds badges, notifications to iOS notification panel
# for ParseJs Push configuration details, see:
# https://www.parse.c... | 32164 | 'use strict'
###*
# @ngdoc service
# @name parsePush
# @description wrapper for pushNotification plugin, register installation with push server on PARSE
# handle push notification events: adds badges, notifications to iOS notification panel
# for ParseJs Push configuration details, see:
# https://www.parse.c... | true | 'use strict'
###*
# @ngdoc service
# @name parsePush
# @description wrapper for pushNotification plugin, register installation with push server on PARSE
# handle push notification events: adds badges, notifications to iOS notification panel
# for ParseJs Push configuration details, see:
# https://www.parse.c... |
[
{
"context": "et URL'\n\n\t\tuserData =\n\t\t\temail: email\n\t\t\tpassword: pass\n\t\t\tinvitation: invitation\n\n\t\tuserId = Accounts.cr",
"end": 861,
"score": 0.9970410466194153,
"start": 857,
"tag": "PASSWORD",
"value": "pass"
}
] | server/methods/registerUser.coffee | mboozell/rocket-chat-example-package | 0 | Meteor.methods
registerUser: (formData) ->
if RocketChat.settings.get('Accounts_RegistrationForm') is 'Disabled'
throw new Meteor.Error 'registration-disabled', 'User registration is disabled'
{email, pass, name, inviteKey} = formData
invitation = email: false
if inviteKey
invitation = RocketChat.model... | 138318 | Meteor.methods
registerUser: (formData) ->
if RocketChat.settings.get('Accounts_RegistrationForm') is 'Disabled'
throw new Meteor.Error 'registration-disabled', 'User registration is disabled'
{email, pass, name, inviteKey} = formData
invitation = email: false
if inviteKey
invitation = RocketChat.model... | true | Meteor.methods
registerUser: (formData) ->
if RocketChat.settings.get('Accounts_RegistrationForm') is 'Disabled'
throw new Meteor.Error 'registration-disabled', 'User registration is disabled'
{email, pass, name, inviteKey} = formData
invitation = email: false
if inviteKey
invitation = RocketChat.model... |
[
{
"context": " Content: smsOptions.contents\n ClientId: 'vradbyxu'\n ClientSecret: 'ypaolptq'\n RegisteredD",
"end": 291,
"score": 0.9955958127975464,
"start": 283,
"tag": "USERNAME",
"value": "vradbyxu"
},
{
"context": "s\n ClientId: 'vradbyxu'\n ClientSe... | server/sms.coffee | Innarticles/mypikin | 0 | Meteor.methods sendMessage: (smsOptions) ->
@unblock()
console.log 'in sendMessage'
try
result = HTTP.call('GET', 'https://api.smsgh.com/v3/messages/send?', params:
From: smsOptions.From
To: smsOptions.phone
Content: smsOptions.contents
ClientId: 'vradbyxu'
ClientSecret: 'ypaolp... | 9714 | Meteor.methods sendMessage: (smsOptions) ->
@unblock()
console.log 'in sendMessage'
try
result = HTTP.call('GET', 'https://api.smsgh.com/v3/messages/send?', params:
From: smsOptions.From
To: smsOptions.phone
Content: smsOptions.contents
ClientId: 'vradbyxu'
ClientSecret: '<KEY>'... | true | Meteor.methods sendMessage: (smsOptions) ->
@unblock()
console.log 'in sendMessage'
try
result = HTTP.call('GET', 'https://api.smsgh.com/v3/messages/send?', params:
From: smsOptions.From
To: smsOptions.phone
Content: smsOptions.contents
ClientId: 'vradbyxu'
ClientSecret: 'PI:KEY... |
[
{
"context": "nds] = t\n key = tile_source.tile_xyz_to_key(x, y, z)\n tile = tile_source.tiles[key]\n i",
"end": 7385,
"score": 0.5308318734169006,
"start": 7385,
"tag": "KEY",
"value": ""
},
{
"context": "(x, y, z)\n parent_key = tile_source.tile_xyz_to_key(p... | bokehjs/src/coffee/models/tiles/tile_renderer.coffee | chinasaur/bokeh | 0 | import {ImagePool} from "./image_pool"
import {WMTSTileSource} from "./wmts_tile_source"
import {Renderer, RendererView} from "../renderers/renderer"
import {div} from "core/dom"
import * as p from "core/properties"
import {isString} from "core/util/types"
export class TileRendererView extends RendererView
initiali... | 76879 | import {ImagePool} from "./image_pool"
import {WMTSTileSource} from "./wmts_tile_source"
import {Renderer, RendererView} from "../renderers/renderer"
import {div} from "core/dom"
import * as p from "core/properties"
import {isString} from "core/util/types"
export class TileRendererView extends RendererView
initiali... | true | import {ImagePool} from "./image_pool"
import {WMTSTileSource} from "./wmts_tile_source"
import {Renderer, RendererView} from "../renderers/renderer"
import {div} from "core/dom"
import * as p from "core/properties"
import {isString} from "core/util/types"
export class TileRendererView extends RendererView
initiali... |
[
{
"context": "find all messages in references\n keys = references.map (mid) -> [mail.accountID, 'mid', mid]\n ",
"end": 5264,
"score": 0.6124908924102783,
"start": 5250,
"tag": "KEY",
"value": "references.map"
},
{
"context": "ences\n keys = references... | server/models/message.coffee | gelnior/cozy-emails | 0 | cozydb = require 'cozydb'
# Public: a mail address, used in {Message} schema
class MailAdress extends cozydb.Model
@schema:
name: String
address: String
class MailAttachment extends cozydb.Model
@schema: cozydb.NoSchema
# Public: Message
module.exports = class Message extends cozydb.CozyMod... | 85063 | cozydb = require 'cozydb'
# Public: a mail address, used in {Message} schema
class MailAdress extends cozydb.Model
@schema:
name: String
address: String
class MailAttachment extends cozydb.Model
@schema: cozydb.NoSchema
# Public: Message
module.exports = class Message extends cozydb.CozyMod... | true | cozydb = require 'cozydb'
# Public: a mail address, used in {Message} schema
class MailAdress extends cozydb.Model
@schema:
name: String
address: String
class MailAttachment extends cozydb.Model
@schema: cozydb.NoSchema
# Public: Message
module.exports = class Message extends cozydb.CozyMod... |
[
{
"context": "=\n mail : req.body.email\n password : req.body.password\n User.connect (client) ->\n User.get_u",
"end": 665,
"score": 0.9992121458053589,
"start": 648,
"tag": "PASSWORD",
"value": "req.body.password"
}
] | src/server/api/user.coffee | mauriciodelrio/lendme | 1 | User = new (require('../lib/pgconn').User)()
Cache = new (require('../lib/cache'))()
Session = new (require('../lib/session'))()
Mail = new (require('../lib/mail'))()
module.exports = () ->
all_users: ((req, res) ->
User.connect (client) ->
User.get_users client, (response) ->
res.send status: 'OK',... | 46047 | User = new (require('../lib/pgconn').User)()
Cache = new (require('../lib/cache'))()
Session = new (require('../lib/session'))()
Mail = new (require('../lib/mail'))()
module.exports = () ->
all_users: ((req, res) ->
User.connect (client) ->
User.get_users client, (response) ->
res.send status: 'OK',... | true | User = new (require('../lib/pgconn').User)()
Cache = new (require('../lib/cache'))()
Session = new (require('../lib/session'))()
Mail = new (require('../lib/mail'))()
module.exports = () ->
all_users: ((req, res) ->
User.connect (client) ->
User.get_users client, (response) ->
res.send status: 'OK',... |
[
{
"context": "service:session\")\n @userParams =\n email: \"test@test.test\"\n password: \"password123\"\n Cookies.remove",
"end": 526,
"score": 0.9998952150344849,
"start": 512,
"tag": "EMAIL",
"value": "test@test.test"
},
{
"context": " =\n email: \"test@test.t... | tests/acceptance/appointment-creation-test.coffee | simwms/apiv4 | 2 | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import startApp from '../../tests/helpers/start-app'`
module 'Acceptance: AppointmentCreation',
beforeEach: ->
@application = startApp()
###
Don't return anything, because QUnit looks for a .then
that is present on Ember.Application,... | 48540 | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import startApp from '../../tests/helpers/start-app'`
module 'Acceptance: AppointmentCreation',
beforeEach: ->
@application = startApp()
###
Don't return anything, because QUnit looks for a .then
that is present on Ember.Application,... | true | `import Ember from 'ember'`
`import { module, test } from 'qunit'`
`import startApp from '../../tests/helpers/start-app'`
module 'Acceptance: AppointmentCreation',
beforeEach: ->
@application = startApp()
###
Don't return anything, because QUnit looks for a .then
that is present on Ember.Application,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.